File: /home/dronicaehy/www/HTML_Dinapsis/lib/tdvplayer.js
(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=["­",'<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 window.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,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(){var TDV=window["TDV"]||(window["TDV"]={});(function(){(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={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},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)}).call(TDV)})();function i(a){throw a;}var n=void 0,p=!0,q=null,z=!1;function D(){return function(){}}function N(a){return function(b){this[a]=b}}function P(a){return function(){return this[a]}}function Q(a){return function(){return a}}
(function(){function a(a){this.pj=a;this.pn=q;this.Ic={}}function b(){this.xi={};this.xi[b.SCRIPT_URL]=[];this.xi[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.xi[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.xi[b.HLS_URL]="lib/Hls.js";this.xi[b.CURSORS_DIR_URL]="lib/cursors";this.xi[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.xi[b.BACKGROUND_PRELOAD_ENABLED]=n}function c(){this.mz=[];this.VF=[];this.zfa=[];this.FC=q}function e(a){return"[object Array]"==Object.prototype.toString.call(a)}function d(a){return 0<=
j.search(a.toLowerCase())}var g=window.TDV=window.TDV||{},j=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.c5=function(){return{MAJOR:"0",MINOR:"1118"}};c.prototype.g1=function(){if(this.FC)for(;0<this.mz.length;){var a=this.mz[0];this.mz=this.mz.slice(1);this.VF.push(a);this.Caa(a)}};c.prototype.i_=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.lca=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
a=a[a.length-1]);return this.i_(a.src)};c.prototype.Caa=function(a){var g=this,f=a.pj.get(b.SELECTED_SCRIPT_URL);setTimeout(function(){var b=document.createElement("script");b.type="text/javascript";b.src=f;document.getElementsByTagName("head")[0].appendChild(b);g.FC.Goa(a)},1)};c.prototype.defineScript=c.prototype.mqa=function(a){for(var g=[],f=this.lca(),d=0;d<this.VF.length;d++){var c=this.VF[d],o=this.i_(c.pj.get(b.SELECTED_SCRIPT_URL));o==f?(c.pj.set(b.SCRIPT_DATA,a),c.eoa(new this.FC(c,c.pj)),
this.zfa.push(c)):g.push(o)}this.VF=g};c.prototype.create=c.prototype.create=function(a){var d=a.get(b.SCRIPT_URL),d=e(d)?this.hga(d):"string"===typeof d?d:"script.js";a.set(b.SELECTED_SCRIPT_URL,d);a=new g.c8(a);this.mz.push(a);this.g1();return a};c.prototype.setPlayerClass=c.prototype.doa=function(a){this.FC=a;this.g1()};c.prototype.getOrientation=c.prototype.Vl=function(){var a=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==a||"portrait-secondary"==a||
0===a||180==a?g.va.iJ:"landscape-primary"==a||"landscape-secondary"==a||90==a||-90==a?g.va.hJ:window.innerWidth<window.innerHeight?g.va.iJ:g.va.hJ};c.prototype.hga=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var f=a[b];if(e(f)){if(this.N2(f[0]))return f[1]}else if("string"===typeof f)return f}return a[0][1]}return"script.js"};c.prototype.N2=function(a){if("string"===typeof a){var b=a.match(/^\s*default\s*$/);if(b)return p;if(b=a.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.Dd==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.Ss==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]),g;switch(b[1]){case "<":g=function(a,b){return a<b};break;case ">":g=function(a,b){return a>b};break;case "=":g=function(a,b){return a==b};break;case "<=":g=function(a,b){return a<=b};break;case ">=":g=function(a,b){return a>=b}}return g(screen.width,
a)&&g(screen.height,f)||this.T5&&g(screen.width,f)&&g(screen.height,a)}return z}if(e(a)){for(b=0;b<a.length;b++)if(!this.N2(a[b]))return z;return p}return z};c.prototype.ORIENTATION_LANDSCAPE=c.prototype.hJ="landscape";c.prototype.ORIENTATION_PORTRAIT=c.prototype.iJ="portrait";c.prototype.OS_IOS=c.prototype.uC="ios";c.prototype.OS_ANDROID=c.prototype.jJ="android";c.prototype.OS_WINDOWS=c.prototype.TU="windows";c.prototype.OS_WINDOWS_PHONE=c.prototype.nJ="windows_phone";c.prototype.OS_MACOSX=c.prototype.kJ=
"osx";c.prototype.OS_LINUX=c.prototype.SU="linux";c.prototype.OS_QNX=c.prototype.mJ="qnx";c.prototype.OS_OTHER=c.prototype.lJ="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.Iw="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.nI="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.mI="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.lI="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.oI="other";c.prototype.BROWSER_SAFARI_IOS=c.prototype.nh="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.cC=
"opera";c.prototype.BROWSER_SAFARI=c.prototype.Mk="safari";c.prototype.BROWSER_CHROME=c.prototype.ni="chrome";c.prototype.BROWSER_EDGE=c.prototype.qq="edge";c.prototype.BROWSER_MSIE=c.prototype.rq="msie";c.prototype.BROWSER_ANDROID=c.prototype.Dw="android";c.prototype.BROWSER_MOZILLA=c.prototype.bC="mozilla";c.prototype.BROWSER_OTHER=c.prototype.kI="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.Gw="samsunginternet";c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.xt="oculusbrowser";
c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.Hw="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.dC="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.Ew="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.wt="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.Fw="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.sq="tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.wt=
"chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.eC="firefox_reality";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.fC="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.pI=-1;c.prototype.DEVICE_IPHONE=c.prototype.tI="iphone";c.prototype.DEVICE_IPAD=c.prototype.Kw="ipad";c.prototype.DEVICE_IPOD=c.prototype.uI="ipod";c.prototype.DEVICE_OTHER=c.prototype.vI="other";c.prototype.os=c.prototype.Dd=d("iphone")||d("ipad")||d("ipod")?c.prototype.uC:d("qnx")?c.prototype.mJ:d("android")?
c.prototype.jJ:d("windows phone")?c.prototype.nJ:d("windows")?c.prototype.TU:d("mac_powerpc")?c.prototype.kJ:d("macintosh")?1<navigator.maxTouchPoints?c.prototype.uC:c.prototype.kJ:d("linux")||d("x11")?c.prototype.SU:c.prototype.lJ;c.prototype.browser=c.prototype.browser=d("ipad")||d("iphone")||d("ipod")||d("macintosh")&&1<navigator.maxTouchPoints?c.prototype.nh:d("opera")?c.prototype.cC:d("edge")?c.prototype.qq:d("chrome")||d("crmo")?c.prototype.ni:d("android")?c.prototype.Dw:d("safari")?c.prototype.Mk:
d("trident")||d("msie")?c.prototype.rq:!d("compatible")&&d("mozilla")?c.prototype.bC:c.prototype.kI;c.prototype.browserType=c.prototype.Kv=c.prototype.browser==c.prototype.nh||c.prototype.browser==c.prototype.ni||c.prototype.browser==c.prototype.Dw||c.prototype.browser==c.prototype.Mk||d("webkit")?c.prototype.Iw:c.prototype.browser==c.prototype.cC||d("opera")?c.prototype.nI:d("trident")||d("msie")?c.prototype.mI:!d("compatible")&&d("mozilla")?c.prototype.lI:c.prototype.oI;c.prototype.browserSubtype=
c.prototype.od=d("oculusbrowser")&&d("mobile vr")?c.prototype.xt:d("samsungbrowser")&&d("android")?d("mobile vr")?c.prototype.Hw:c.prototype.Gw:d("ipad")||d("iphone")||d("ipod")?d("crios")?c.prototype.dC:d("safari")&&d("version")&&!navigator.Yqa?c.prototype.Ew:c.prototype.Fw:d("electron")?c.prototype.sq:d("chrome")&&d("wv")?c.prototype.wt:d("edg/")?c.prototype.XT:!d("compatible")&&d("mozilla")&&d("mobile vr")?c.prototype.eC:c.prototype.fC;c.prototype.browserVersion=c.prototype.h4=function(){if(c.prototype.browser==
c.prototype.rq){var a=j.match(/MSIE ([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1]);a=j.match(/Trident\/.*rv:([0-9]{1,}[.0-9]{0,})/);if(a!=q)return parseFloat(a[1])}return c.prototype.pI}();c.prototype.device=c.prototype.Ss=d("ipad")||d("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Kw:d("iphone")?c.prototype.tI:d("ipod")?c.prototype.uI:c.prototype.vI;var k;a:{switch(c.prototype.Dd){case c.prototype.jJ:case c.prototype.uC:case c.prototype.nJ:case c.prototype.mJ:k=p;break a}k=z}c.prototype.mobile=
c.prototype.T5=k;g.PlayerAPI=g.va=new c;b.prototype.append=b.prototype.append=function(a,g,f){a==b.SCRIPT_URL&&("undefined"==typeof f&&(f=g,g="default"),g=[g,f]);e(this.xi[a])||(this.xi[a]=[]);this.xi[a].push(g)};b.prototype.set=b.prototype.set=function(a,b){this.xi[a]=b};b.prototype.get=b.prototype.get=function(a){return this.xi[a]};b.SCRIPT_URL=b.SCRIPT_URL="ScriptURL";b.SCRIPT_DATA=b.SCRIPT_DATA="ScriptData";b.FLASH_EXPRESS_INSTALLER_URL=b.FLASH_EXPRESS_INSTALLER_URL="FlashExpressInstallerURL";
b.FLASH_AUDIO_PLAYER_URL=b.FLASH_AUDIO_PLAYER_URL="FlashAudioPlayerURL";b.FLASH_VIDEO_PLAYER_URL=b.FLASH_VIDEO_PLAYER_URL="FlashVideoPlayerURL";b.FLASH_PANORAMA_PLAYER_URL=b.FLASH_PANORAMA_PLAYER_URL="FlashPanoramaPlayerURL";b.THREE_JS_WEBGL_URL=b.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";b.WEBVR_POLYFILL_URL=b.WEBVR_POLYFILL_URL="WebVRPolyfillURL";b.CAPTURA_VIEWER_URL=b.CAPTURA_VIEWER_URL="CapturaViewerURL";b.DASH_URL=b.DASH_URL="DashURL";b.HLS_URL=b.HLS_URL="HlsURL";b.CONTAINER=b.CONTAINER="Container";
b.SELECTED_SCRIPT_URL=b.SELECTED_SCRIPT_URL="SelectedScriptURL";b.BASE_DIR_URL=b.BASE_DIR_URL="BaseDirURL";b.QUERY_STRING_PARAMETERS=b.QUERY_STRING_PARAMETERS="QueryStringParameters";b.CURSORS_DIR_URL=b.CURSORS_DIR_URL="CursorsDirURL";b.BACKGROUND_PRELOAD_ENABLED=b.BACKGROUND_PRELOAD_ENABLED="BackgroundPreloadEnabled";b.ACTIVE_VIDEO_ELEMENT=b.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";b.SERVICE_WORKER_URL=b.SERVICE_WORKER_URL="ServiceWorkerURL";b.PINCH_TO_ZOOM_ENABLED=b.X7="PinchToZoomEnabled";g.PlayerSettings=
g.PlayerSettings=b;g.PlayerEvent=g.pJ=function(a,b,f,g){this.name=a;this.data=this.originalEvent=b;this.sourceClassName=f[f.length-1];this.sourceClassPath=f;this.sourceId=g};a.prototype.eoa=N("pn");a.prototype["delete"]=function(){this.pn&&(this.pn.clear(),this.pn=q)};a.prototype.getById=a.prototype.sqa=function(a){return this.pn?this.pn.qla(a):q};a.prototype.getByClassName=a.prototype.Pl=function(a){return this.pn?this.pn.X4(a):[]};a.prototype.createInstance=a.prototype.Up=function(a){return this.pn.Up(a)};
a.prototype.bind=a.prototype.bind=function(a,b,f,g){var d=a.split(":"),a=d[0],d=1<d.length?d[1]:"*";this.Ic[a]=this.Ic[a]||{};this.Ic[a][d]=this.Ic[a][d]||[];this.Ic[a][d].push({handler:b,context:f,immediate:g});return this};a.prototype.unbind=a.prototype.unbind=function(a,b,f,g){var d=a.split(":"),a=d[0],d=1<d.length?d[1]:"*";if(a in this.Ic&&d in this.Ic[a]){for(var c=[],j=this.Ic[a][d],e=0;e<j.length;e++){var k=j[e];(k.handler!=b||k.context!=f||k.immediate!=g)&&c.push(k)}this.Ic[a][d]=c}};a.prototype.bindOnObject=
a.prototype.fqa=function(a,b,f,g,d){return this.bind(b+":"+this.zM(a),f,g,d)};a.prototype.unbindOnObject=a.prototype.hra=function(a,b,f,g,d){return this.unbind(b+":"+this.zM(a),f,g,d)};a.prototype.bindOnObjectsOf=a.prototype.gqa=function(a,b,f,g,d){return this.bind(b+":"+this.pM(a),f,g,d)};a.prototype.unbindOnObjectsOf=a.prototype.ira=function(a,b,f,g,d){return this.unbind(b+":"+this.pM(a),f,g,d)};a.prototype.trigger=function(a){if(a.name in this.Ic){this.xx(a,p);var b=this;setTimeout(function(){b.xx(a,
z)},0)}};a.prototype.xx=function(a,b){for(var f=this.Iba(a,b),g=0;g<f.length;g++)try{f[g].handler.call(f[g].context||window,a)}catch(d){setTimeout(function(){i(d)},0)}};a.prototype.Iba=function(a,b){var f=[];if(a.name in this.Ic){for(var g=[],d=0;d<a.sourceClassPath.length;d++)g.push(this.pM(a.sourceClassPath[d]));a.sourceId&&g.push(this.zM(a.sourceId));g.push("*");for(var c=this.Ic[a.name],d=0;d<g.length;d++)for(var j=c[g[d]]||[],k=0;k<j.length;k++)!!j[k].immediate==!!b&&f.push(j[k])}return f};a.prototype.zM=
function(a){return"instance("+a+")"};a.prototype.pM=function(a){return"className("+a+")"};g.Player=g.c8=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(p)});
(function(){(function(){function a(a,b){return a.j$?o(b).chain():b}function b(a){return"\\"+T[a]}function c(a){function b(f){return a[f]}var f="(?:"+o.keys(a).join("|")+")",g=RegExp(f),d=RegExp(f,"g");return function(a){return a=q==a?"":""+a,g.test(a)?a.replace(d,b):a}}function e(a,b,f,g){if(a===b)return 0!==a||1/a===1/b;if(q==a||q==b)return a===b;a instanceof o&&(a=a.Ns);b instanceof o&&(b=b.Ns);var d=F.call(a);if(d!==F.call(b))return z;switch(d){case "[object RegExp]":case "[object String]":return""+
a==""+b;case "[object Number]":return+a!==+a?+b!==+b:0===+a?1/+a===1/b:+a===+b;case "[object Date]":case "[object Boolean]":return+a===+b}d="[object Array]"===d;if(!d){if("object"!=typeof a||"object"!=typeof b)return z;var h=a.constructor,c=b.constructor;if(h!==c&&(!o.isFunction(h)||!(h instanceof h&&o.isFunction(c)&&c instanceof c))&&"constructor"in a&&"constructor"in b)return z}f=f||[];g=g||[];for(h=f.length;h--;)if(f[h]===a)return g[h]===b;if(f.push(a),g.push(b),d){if(h=a.length,h!==b.length)return z;
for(;h--;)if(!e(a[h],b[h],f,g))return z}else{var l,d=o.keys(a);if(h=d.length,o.keys(b).length!==h)return z;for(;h--;)if(l=d[h],!o.has(b,l)||!e(a[l],b[l],f,g))return z}return f.pop(),g.pop(),p}function d(a,b,f,g,d){if(!(g instanceof b))return a.apply(f,d);b=m(a.prototype);a=a.apply(b,d);return o.mw(a)?a:b}function g(a,b,f,d){for(var h=[],c=0,d=d||0,l=E(a);l>d;d++){var j=a[d];if(k(j)&&(o.isArray(j)||o.isArguments(j))){b||(j=g(j,b,f));var e=0,m=j.length;for(h.length+=m;m>e;)h[c++]=j[e++]}else f||(h[c++]=
j)}return h}function j(a){return function(b,f,g){var d={};return f=l(f,g),o.each(b,function(g,h){var c=f(g,h,b);a(d,g,c)}),d}}function k(a){a=E(a);return"number"==typeof a&&0<=a&&R>=a}function h(a){return function(b){return q==b?n:b[a]}}function m(a){if(!o.mw(a))return{};if(G)return G(a);s.prototype=a;a=new s;return s.prototype=q,a}function f(a,b){return function(f){var g=arguments.length;if(2>g||q==f)return f;for(var d=1;g>d;d++)for(var h=arguments[d],c=a(h),o=c.length,l=0;o>l;l++){var j=c[l];b&&
f[j]!==n||(f[j]=h[j])}return f}}function l(a,b,f){return q==a?o.identity:o.isFunction(a)?r(a,b,f):o.mw(a)?o.ES(a):o.h6(a)}function r(a,b,f){if(b===n)return a;switch(q==f?3:f){case 1:return function(f){return a.call(b,f)};case 2:return function(f,g){return a.call(b,f,g)};case 3:return function(f,g,d){return a.call(b,f,g,d)};case 4:return function(f,g,d,h){return a.call(b,f,g,d,h)}}return function(){return a.apply(b,arguments)}}function o(a){return a instanceof o?a:this instanceof o?void(this.Ns=a):
new o(a)}function s(){}function t(a){return function(b,f,g,d){var f=r(f,d,4),h=!k(b)&&o.keys(b),c=(h||b).length,l=0<a?0:c-1;3>arguments.length&&(g=b[h?h[l]:l],l+=a);for(var j=f,e=g;0<=l&&c>l;l+=a)var m=h?h[l]:l,e=j(e,b[m],m,b);return e}}function u(a){return function(b,f,g){for(var f=l(f,g),g=E(b),d=0<a?0:g-1;0<=d&&g>d;d+=a)if(f(b[d],d,b))return d;return-1}}function v(a,b,f){return function(g,d,h){var c=0,l=E(g);if("number"==typeof h)0<a?c=0<=h?h:Math.max(h+l,c):l=0<=h?Math.min(h+1,l):h+l+1;else if(f&&
h&&l)return h=f(g,d),g[h]===d?h:-1;if(d!==d)return h=b(B.call(g,c,l),o.isNaN),0<=h?h+c:-1;for(h=0<a?c:l-1;0<=h&&l>h;h+=a)if(g[h]===d)return h;return-1}}function x(a,b){var f=H.length,g=a.constructor,g=o.isFunction(g)&&g.prototype||C,d="constructor";for(o.has(a,d)&&!o.contains(b,d)&&b.push(d);f--;)d=H[f],d in a&&a[d]!==g[d]&&!o.contains(b,d)&&b.push(d)}var y=this,A=y.EJ,w=Array.prototype,C=Object.prototype,J=w.push,B=w.slice,F=C.toString,K=C.hasOwnProperty,I=Array.isArray,L=Object.keys,M=Function.prototype.bind,
G=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.wka&&(exports=module.wka=o),exports.EJ=o):y.EJ=o;o.VERSION="1.8.3";o.Fqa=function(a,b){return l(a,b,1/0)};var R=Math.pow(2,53)-1,E=h("length");o.each=o.forEach=function(a,b,f){var b=r(b,f),g;if(k(a)){f=0;for(g=a.length;g>f;f++)b(a[f],f,a)}else{var d=o.keys(a),f=0;for(g=d.length;g>f;f++)b(a[d[f]],d[f],a)}return a};o.map=o.jqa=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=Array(g),h=0;g>h;h++){var c=
f?f[h]:h;d[h]=b(a[c],c,a)}return d};o.reduce=o.pqa=o.Aqa=t(1);o.reduceRight=o.qqa=t(-1);o.find=o.detect=function(a,b,f){var g;return g=k(a)?o.v4(a,b,f):o.Aka(a,b,f),g!==n&&-1!==g?a[g]:n};o.filter=o.select=function(a,b,f){var g=[];return b=l(b,f),o.each(a,function(a,f,d){b(a,f,d)&&g.push(a)}),g};o.reject=function(a,b,f){return o.filter(a,o.a6(l(b)),f)};o.every=o.all=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=0;g>d;d++){var h=f?f[d]:d;if(!b(a[h],h,a))return z}return p};o.some=
o.any=function(a,b,f){for(var b=l(b,f),f=!k(a)&&o.keys(a),g=(f||a).length,d=0;g>d;d++){var h=f?f[d]:d;if(b(a[h],h,a))return p}return z};o.contains=o.yqa=o.include=function(a,b,f,g){return k(a)||(a=o.values(a)),("number"!=typeof f||g)&&(f=0),0<=o.indexOf(a,b,f)};o.invoke=function(a,b){var f=B.call(arguments,2),g=o.isFunction(b);return o.map(a,function(a){var d=g?b:a[b];return q==d?d:d.apply(a,f)})};o.pluck=function(a,b){return o.map(a,o.h6(b))};o.nra=function(a,b){return o.filter(a,o.ES(b))};o.oqa=
function(a,b){return o.find(a,o.ES(b))};o.max=function(a,b,f){var g,d=-1/0,h=-1/0;if(q==b&&q!=a)for(var a=k(a)?a:o.values(a),c=0,j=a.length;j>c;c++)f=a[c],f>d&&(d=f);else b=l(b,f),o.each(a,function(a,f,c){g=b(a,f,c);(g>h||g===-1/0&&d===-1/0)&&(d=a,h=g)});return d};o.min=function(a,b,f){var g,d=1/0,h=1/0;if(q==b&&q!=a)for(var a=k(a)?a:o.values(a),c=0,j=a.length;j>c;c++)f=a[c],d>f&&(d=f);else b=l(b,f),o.each(a,function(a,f,c){g=b(a,f,c);(h>g||1/0===g&&1/0===d)&&(d=a,h=g)});return d};o.toa=function(a){for(var b=
k(a)?a:o.values(a),f=b.length,g=Array(f),d=0;f>d;d++)a=o.random(0,d),a!==d&&(g[d]=g[a]),g[a]=b[d];return g};o.sample=function(a,b,f){return q==b||f?(k(a)||(a=o.values(a)),a[o.random(a.length-1)]):o.toa(a).slice(0,Math.max(0,b))};o.sortBy=function(a,b,f){return b=l(b,f),o.pluck(o.map(a,function(a,f,g){return{value:a,index:f,o4:b(a,f,g)}}).sort(function(a,b){var f=a.o4,g=b.o4;if(f!==g){if(f>g||f===n)return 1;if(g>f||g===n)return-1}return a.index-b.index}),"value")};o.groupBy=j(function(a,b,f){o.has(a,
f)?a[f].push(b):a[f]=[b]});o.zqa=j(function(a,b,f){a[f]=b});o.lqa=j(function(a,b,f){o.has(a,f)?a[f]++:a[f]=1});o.toArray=function(a){return a?o.isArray(a)?B.call(a):k(a)?o.map(a,o.identity):o.values(a):[]};o.size=function(a){return q==a?0:k(a)?a.length:o.keys(a).length};o.Sqa=function(a,b,f){var b=l(b,f),g=[],d=[];return o.each(a,function(a,f,h){(b(a,f,h)?g:d).push(a)}),[g,d]};o.first=o.head=o.ara=function(a,b,f){return q==a?n:q==b||f?a[0]:o.Mla(a,a.length-b)};o.Mla=function(a,b){return B.call(a,
0,Math.max(0,a.length-(q==b?1:b)))};o.last=function(a,b,f){return q==a?n:q==b||f?a[a.length-1]:o.rest(a,Math.max(0,a.length-b))};o.rest=o.$qa=o.nqa=function(a,b,f){return B.call(a,q==b||f?1:b)};o.compact=function(a){return o.filter(a,o.identity)};o.flatten=function(a,b){return g(a,b,z)};o.without=function(a){return o.difference(a,B.call(arguments,1))};o.uniq=o.unique=function(a,b,f,g){o.isBoolean(b)||(g=f,f=b,b=z);q!=f&&(f=l(f,g));for(var g=[],d=[],h=0,c=E(a);c>h;h++){var j=a[h],e=f?f(j,h,a):j;b?
(h&&d===e||g.push(j),d=e):f?o.contains(d,e)||(d.push(e),g.push(j)):o.contains(g,j)||g.push(j)}return g};o.union=function(){return o.uniq(g(arguments,p,p))};o.intersection=function(a){for(var b=[],f=arguments.length,g=0,d=E(a);d>g;g++){var h=a[g];if(!o.contains(b,h)){for(var c=1;f>c&&o.contains(arguments[c],h);c++);c===f&&b.push(h)}}return b};o.difference=function(a){var b=g(arguments,p,p,1);return o.filter(a,function(a){return!o.contains(b,a)})};o.zip=function(){return o.Joa(arguments)};o.Joa=function(a){for(var b=
a&&o.max(a,E).length||0,f=Array(b),g=0;b>g;g++)f[g]=o.pluck(a,g);return f};o.object=function(a,b){for(var f={},g=0,d=E(a);d>g;g++)b?f[a[g]]=b[g]:f[a[g][0]]=a[g][1];return f};o.v4=u(1);o.Bka=u(-1);o.sortedIndex=function(a,b,f,g){for(var f=l(f,g,1),b=f(b),g=0,d=E(a);d>g;){var h=Math.floor((g+d)/2);f(a[h])<b?g=h+1:d=h}return g};o.indexOf=v(1,o.v4,o.sortedIndex);o.lastIndexOf=v(-1,o.Bka);o.range=function(a,b,f){q==b&&(b=a||0,a=0);for(var f=f||1,b=Math.max(Math.ceil((b-a)/f),0),g=Array(b),d=0;b>d;d++,
a+=f)g[d]=a;return g};o.bind=function(a,b){function f(){return d(a,f,b,this,g.concat(B.call(arguments)))}if(M&&a.bind===M)return M.apply(a,B.call(arguments,1));o.isFunction(a)||i(new TypeError("Bind must be called on a function"));var g=B.call(arguments,2);return f};o.OS=function(a){function b(){for(var g=0,h=f.length,c=Array(h),l=0;h>l;l++)c[l]=f[l]===o?arguments[g++]:f[l];for(;g<arguments.length;)c.push(arguments[g++]);return d(a,b,this,this,c)}var f=B.call(arguments,1);return b};o.bindAll=function(a){var b,
f,g=arguments.length;1>=g&&i(Error("bindAll must be passed function names"));for(b=1;g>b;b++)f=arguments[b],a[f]=o.bind(a[f],a);return a};o.memoize=function(a,b){function f(g){var d=f.Uja,h=""+(b?b.apply(this,arguments):g);return o.has(d,h)||(d[h]=a.apply(this,arguments)),d[h]}return f.Uja={},f};o.delay=function(a,b){var f=B.call(arguments,2);return setTimeout(function(){return a.apply(q,f)},b)};o.defer=o.OS(o.delay,o,1);o.throttle=function(a,b,f){function g(){j=f.jma===z?0:o.now();l=q;c=a.apply(d,
h);l||(d=h=q)}var d,h,c,l=q,j=0;f||(f={});return function(){var e=o.now();j||f.jma!==z||(j=e);var k=b-(e-j);return d=this,h=arguments,0>=k||k>b?(l&&(clearTimeout(l),l=q),j=e,c=a.apply(d,h),l||(d=h=q)):l||f.era===z||(l=setTimeout(g,k)),c}};o.debounce=function(a,b,f){function g(){var e=o.now()-l;b>e&&0<=e?d=setTimeout(g,b-e):(d=q,f||(j=a.apply(c,h),d||(c=h=q)))}var d,h,c,l,j;return function(){c=this;h=arguments;l=o.now();var e=f&&!d;return d||(d=setTimeout(g,b)),e&&(j=a.apply(c,h),c=h=q),j}};o.wrap=
function(a,b){return o.OS(b,a)};o.a6=function(a){return function(){return!a.apply(this,arguments)}};o.compose=function(){var a=arguments,b=a.length-1;return function(){for(var f=b,g=a[b].apply(this,arguments);f--;)g=a[f].call(this,g);return g}};o.after=function(a,b){return function(){return 1>--a?b.apply(this,arguments):n}};o.before=function(a,b){var f;return function(){return 0<--a&&(f=b.apply(this,arguments)),1>=a&&(b=q),f}};o.once=o.OS(o.before,2);var O=!{toString:q}.propertyIsEnumerable("toString"),
H="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");o.keys=function(a){if(!o.mw(a))return[];if(L)return L(a);var b=[],f;for(f in a)o.has(a,f)&&b.push(f);return O&&x(a,b),b};o.CR=function(a){if(!o.mw(a))return[];var b=[],f;for(f in a)b.push(f);return O&&x(a,b),b};o.values=function(a){for(var b=o.keys(a),f=b.length,g=Array(f),d=0;f>d;d++)g[d]=a[b[d]];return g};o.Jqa=function(a,b,f){for(var b=l(b,f),g=o.keys(a),d=g.length,h={},c=0;d>c;c++)f=g[c],h[f]=b(a[f],
f,a);return h};o.Rqa=function(a){for(var b=o.keys(a),f=b.length,g=Array(f),d=0;f>d;d++)g[d]=[b[d],a[b[d]]];return g};o.C5=function(a){for(var b={},f=o.keys(a),g=0,d=f.length;d>g;g++)b[a[f[g]]]=f[g];return b};o.functions=o.Nqa=function(a){var b=[],f;for(f in a)o.isFunction(a[f])&&b.push(f);return b.sort()};o.extend=f(o.CR);o.t4=o.assign=f(o.keys);o.Aka=function(a,b,f){for(var b=l(b,f),g,f=o.keys(a),d=0,h=f.length;h>d;d++)if(g=f[d],b(a[g],g,a))return g};o.vma=function(a,b,f){var d,h,c={},l=a;if(q==
l)return c;o.isFunction(b)?(h=o.CR(l),d=r(b,f)):(h=g(arguments,z,z,1),d=function(a,b,f){return b in f},l=Object(l));for(var j=0,e=h.length;e>j;j++){var k=h[j],m=l[k];d(m,k,l)&&(c[k]=m)}return c};o.Oqa=function(a,b,f){if(o.isFunction(b))b=o.a6(b);else var d=o.map(g(arguments,z,z,1),String),b=function(a,b){return!o.contains(d,b)};return o.vma(a,b,f)};o.defaults=f(o.CR,p);o.create=function(a,b){var f=m(a);return b&&o.t4(f,b),f};o.clone=function(a){return o.mw(a)?o.isArray(a)?a.slice():o.extend({},a):
a};o.tap=function(a,b){return b(a),a};o.ama=function(a,b){var f=o.keys(b),g=f.length;if(q==a)return!g;for(var d=Object(a),h=0;g>h;h++){var c=f[h];if(b[c]!==d[c]||!(c in d))return z}return p};o.isEqual=function(a,b){return e(a,b)};o.isEmpty=function(a){return q==a?p:k(a)&&(o.isArray(a)||o.isString(a)||o.isArguments(a))?0===a.length:0===o.keys(a).length};o.isElement=function(a){return!(!a||1!==a.nodeType)};o.isArray=I||function(a){return"[object Array]"===F.call(a)};o.mw=function(a){var b=typeof a;
return"function"===b||"object"===b&&!!a};o.each("Arguments,Function,String,Number,Date,RegExp,Error".split(","),function(a){o["is"+a]=function(b){return F.call(b)==="[object "+a+"]"}});o.isArguments(arguments)||(o.isArguments=function(a){return o.has(a,"callee")});"function"!=typeof/./&&"object"!=typeof Int8Array&&(o.isFunction=function(a){return"function"==typeof a||z});o.Bqa=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};o.isNaN=function(a){return o.isNumber(a)&&a!==+a};o.isBoolean=function(a){return a===
p||a===z||"[object Boolean]"===F.call(a)};o.isNull=function(a){return q===a};o.isUndefined=function(a){return a===n};o.has=function(a,b){return q!=a&&K.call(a,b)};o.noConflict=function(){return y.EJ=A,this};o.identity=function(a){return a};o.kqa=function(a){return function(){return a}};o.noop=D();o.h6=h;o.Tqa=function(a){return q==a?D():function(b){return a[b]}};o.ES=o.Kqa=function(a){return a=o.t4({},a),function(b){return o.ama(b,a)}};o.times=function(a,b,f){for(var g=Array(Math.max(0,a)),b=r(b,
f,1),f=0;a>f;f++)g[f]=b(f);return g};o.random=function(a,b){return q==b&&(b=a,a=0),a+Math.floor(Math.random()*(b-a+1))};o.now=Date.now||function(){return(new Date).getTime()};var I={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},U=o.C5(I);o.escape=c(I);o.unescape=c(U);o.result=function(a,b,f){b=q==a?n:a[b];return b===n&&(b=f),o.isFunction(b)?b.call(a):b};var V=0;o.uniqueId=function(a){var b=++V+"";return a?a+b:b};o.Eoa={evaluate:/<%([\s\S]+?)%>/g,Qla:/<%=([\s\S]+?)%>/g,
escape:/<%-([\s\S]+?)%>/g};var S=/(.)^/,T={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},W=/\\|'|\r|\n|\u2028|\u2029/g;o.template=function(a,f,g){function d(a){return l.call(this,a,o)}!f&&g&&(f=g);var f=o.defaults({},f,o.Eoa),h=0,c="__p+='";a.replace(RegExp([(f.escape||S).source,(f.Qla||S).source,(f.evaluate||S).source].join("|")+"|$","g"),function(f,g,d,o,l){return c+=a.slice(h,l).replace(W,b),h=l+f.length,g?c+="'+\n((__t=("+g+"))==null?'':_.escape(__t))+\n'":d?c+="'+\n((__t=("+
d+"))==null?'':__t)+\n'":o&&(c+="';\n"+o+"\n__p+='"),f});c+="';\n";f.i7||(c="with(obj||{}){\n"+c+"}\n");c="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+c+"return __p;\n";try{var l=new Function(f.i7||"obj","_",c)}catch(j){i((j.source=c,j))}return d.source="function("+(f.i7||"obj")+"){\n"+c+"}",d};o.chain=function(a){a=o(a);return a.j$=p,a};o.mixin=function(b){o.each(o.functions(b),function(f){var g=o[f]=b[f];o.prototype[f]=function(){var b=[this.Ns];return J.apply(b,
arguments),a(this,g.apply(o,b))}})};o.mixin(o);o.each("pop,push,reverse,shift,sort,splice,unshift".split(","),function(b){var f=w[b];o.prototype[b]=function(){var g=this.Ns;return f.apply(g,arguments),"shift"!==b&&"splice"!==b||0!==g.length||delete g[0],a(this,g)}});o.each(["concat","join","slice"],function(b){var f=w[b];o.prototype[b]=function(){return a(this,f.apply(this.Ns,arguments))}});o.prototype.value=P("Ns");o.prototype.valueOf=o.prototype.toJSON=o.prototype.value;o.prototype.toString=function(){return""+
this.Ns};"function"==typeof define&&define.Zpa&&define("jo",[],function(){return o})}).call(this)}).call(window.TDV||(window.TDV={}));define("underscore-min",D());define("cI",["underscore-min"],function(){return window.TDV._.noConflict()});
define("jd",[],function(){return{ga:function(a){return a+"_change"},nc:"default",pb:"mouseDown",tc:"mouseMove",Hb:"mouseUp",Lq:"mouseWheel",U:"click",zU:"doubleClick",Qc:"rollOver",oc:"rollOut",Bj:"mouseEnter",mf:"mouseLeave",ph:"pointerOver",rpa:"pointerOut",bV:"pointerDown",cV:"pointerUp",ri:"pointerClick",bJ:"gestureStart",C7:"gestureChange",aJ:"gestureEnd",D7:"gestureRotate",yt:"gestureScale",bc:"progress",uq:"close",OPEN:"open",Uk:"select",qb:"resize",rI:"changing",W:"change",lm:"stateChange",
O:"loaded",jd:"loadingError",lo:"start",td:"stop",ko:"play",vC:"pause",Rb:"ready",sj:"begin",ta:"end",Yoa:"cancel",bg:"press",qh:"release",Mq:"repeatEnd",Tk:"scroll",rC:"movementChange",Xoa:"beforeShow",WT:"beforeHide",INIT:"init",Df:"show",yg:"hide",At:"showEnd",Kq:"hideEnd",J7:"loadingScript",b8:"processingScript",o7:"applicationSet"}});define("bI",[],function(){return function(a,b){this.name=a;this.source=n;this.data=b}});
define("iA",[],function(){function a(){this.me=[];this.Cl=[]}a.prototype.OD=function(a){for(var c=0;c<this.me.length;c++)if(this.me[c]==a)return c;return-1};a.prototype.set=function(a,c){var e=this.OD(a);0<=e?this.Cl[e]=c:(this.me.push(a),this.Cl.push(c))};a.prototype.m5=function(a){return 0<=this.OD(a)};a.prototype.get=function(a){a=this.OD(a);if(0<=a)return this.Cl[a]};a.prototype.keys=function(){return this.me.slice()};a.prototype.values=function(){return this.Cl.slice()};a.prototype.length=function(){return this.me.length};
a.prototype.clear=function(a){a=this.OD(a);0<=a&&(this.me.splice(a,1),this.Cl.splice(a,1))};a.prototype.each=function(a,c){for(var e=0;e<this.me.length;e++)a.call(c,this.me[e],this.Cl[e])};return a});
define("fh",["require","cI","jd"],function(a){function b(a){var b=d[a];if(b)return b;if("string"!=typeof a)return d[a]=function(){return a};var h=(b=g.exec(a))&&parseFloat(b[1]);switch(b&&b[4]&&b[4].toLowerCase()){case "vw":return d[a]=function(a){return a*h};case "vh":return d[a]=function(a,b){return b*h};case "vmin":return d[a]=function(a,b,g){return g*h};case "vmax":return d[a]=function(a,b,g,d){return d*h};default:return d[a]=function(){return a}}}function c(a){this.ua=a;this.Nv=this.Nv.bind(this);
this.ua.bind(e.qb,this.hb,this,p);this.SP={};this.Cm=[];this.hb()}a("cI");var e=a("jd");c.prototype.hb=function(){this.pja();for(var a in this.SP)this.Nv(this.SP[a]);this.Cm.forEach(this.Nv)};c.prototype.pja=function(){var a=this.ua.$a();this.QG=0.01*this.ua.ya();this.OG=0.01*a;this.V3=Math.min(this.QG,this.OG);this.U3=Math.max(this.QG,this.OG)};c.prototype.Nv=function(a){a(this.QG,this.OG,this.V3,this.U3)};c.prototype.Jja=function(a){this.Cm.push(a)};c.prototype.Lma=function(a){a=this.Cm.indexOf(a);
0<=a&&this.Cm.splice(a,1)};c.prototype.Nja=function(a,g,d,c){function f(b,f,c,e){g.call(a,d,l(b,f,c,e))}var l=b(c);this.SP[a.Qo+"."+d]=f;f(this.QG,this.OG,this.V3,this.U3)};c.Ac={};c.get=function(a){var b=a.Qo,g=c.Ac[b];g||(g=new c(a),c.Ac[b]=g);return g};var d={},g=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
define("hE",[],function(){function a(a,b){var d=a.split(b),g=d[0];(d=d.slice(1).join(b))&&(d=b+d);return[g,d]}var b=window.URL||D();b.Eh=document.createElement("a");b.H5=function(a){if(b.F5(a)){var e=window.location.protocol+"//"+window.location.hostname;return a.substring(0,e.length)!=e}return z};b.nq=function(a,e){if(b.dma(a))a=window.location.protocol+a;else if(!b.F5(a)&&!b.qB(a)){if(e)if(0==a.indexOf("/")){var d=e.indexOf("//"),g="";0<=d&&(g=e.substr(0,d+2),e=e.substr(d+2));d=e.indexOf("/");0<
d&&(e=e.substr(0,d));a=g+e+a}else a=e+a;b.Eh.href=a;a=b.Eh.href}return a};b.Wla=function(){switch(window.location.protocol){case "http:":case "https:":return p;default:return z}};b.dma=function(a){return 0===a.indexOf("//")};b.F5=function(a){var b=a.indexOf("://");return 3<=b&&5>=b?p:0==a.indexOf("filesystem:")};b.qB=function(a){return 0==a.indexOf("data:")};b.getDirectory=function(a){a=b.nq(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+"/"};b.gh=function(a){b.Qu||
(b.Qu=b.UY());return b.Qu[a]!==n};b.Qn=function(a){b.Qu||(b.Qu=b.UY());return b.Qu[a]};b.Iv=function(b,e){if(!e)return b;var d=a(b,"#"),g=d[1],d=a(d[0],"?"),j=d[0],d=d[1];return 0<=d.indexOf(e)?b:j+(d+(d?"&":"?")+e)+g};b.parse=function(a){b.Eh.href=a;a={};a.protocol=b.Eh.protocol;a.hostname=b.Eh.hostname;a.port=b.Eh.port;a.pathname=b.Eh.pathname;a.search=b.Eh.search;a.hash=b.Eh.hash;a.host=b.Eh.host;var e=a.pathname?a.pathname.lastIndexOf("."):-1;a.xka=0<=e?a.pathname.substr(e).toLowerCase():"";return a};
b.hqa=function(a){return a.protocol+"//"+a.hostname+a.pathname+a.search+a.hash};b.getExtension=function(a){var a=b.parse(a).pathname,e=a.lastIndexOf(".");return 0<=e?a.substr(e,a.length):""};b.Ol=function(a,e){switch((b.Qn(a)||"").toLowerCase()){case "false":case "0":case "no":case "n":return z;case "true":case "1":case "yes":case "y":return p;default:return e}};b.$ka=function(){var a=parseInt(b.Qn("dvs"));return isNaN(a)?10:a};b.mH=function(a){a=parseFloat(b.Qn(a));return isNaN(a)?n:a};b.Qu=q;b.UY=
function(){for(var a={},b=window.location.search.substring(1).split("&"),d=0;d<b.length;d++){var g=b[d].split("=");a[decodeURIComponent(g[0])]=1<g.length?decodeURIComponent(g[1]):q}return a};return b});
define("hb",["require","cI","jquery.mod"],function(a){var b=a("cI"),c=a("jquery.mod"),e={Lla:function(a,b){function d(){}d.prototype=b.prototype;a.prototype=new d;a.prototype.constructor=a},Pja:function(a,b){b.forEach(function(b){Object.getOwnPropertyNames(b.prototype).forEach(function(d){a.prototype[d]=b.prototype[d]})})},extend:function(){var a=arguments[0],b=arguments[arguments.length-1],d=Array.prototype.slice.call(arguments,1,arguments.length-1);e.Lla(b,a);e.Pja(b,d);return b},deferred:function(a,
d){return function(){var c=arguments;b.defer(function(){a.apply(d,c)})}},Wn:function(a,d){var c=z;return function(){c||(c=p,b.defer(function(){c=z;a.apply(d||window)}))}},memoize:function(a,b,d,h){a.Hy||(a.Hy=[],a.PN=[]);for(var c=a.Hy,f=0,l=c.length;f<l;f++){var e=c[f];if(h.length==e.length){for(var o=p,s=0,t=h.length;s<t&&o;s++)o=e[s]==h[s];if(o)return a.PN[f]}}d=d.apply(window,h);a.Hy.length==b&&(a.Hy.shift(),a.PN.shift());a.Hy.push(h);a.PN.push(d);return d},nu:[],eqa:function(a,b){var d=e.oaa();
window[d]=function(){a.apply(b,arguments)};e.nu.push({handler:a,context:b,callback:d});return d},tqa:function(a,b){for(var d=0;d<e.nu.length;d++){var h=e.nu[d];if(h.handler==a&&h.context==b)return h.callback}},gra:function(a,b){for(var d=0;d<e.nu.length;d++){var h=e.nu[d];if(h.handler==a&&h.context==b)return h=h.callback,e.nu.splice(d,1),delete window[h],h}},oaa:function(){var a;do a="__callback_"+e.j6(8);while(window[a]);return a},j6:function(a){for(var b=[],d=0;d<a;d++)b.push(Math.floor(16*Math.random()).toString(16));
return b.join("")},vka:function(a){e.Cu=c("<div></div>");e.Cu.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?e.Cu.css({top:0}):e.Cu.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(e.Cu);console.log=function(a){e.log(a)}}},d;e.log=function(a){if(a!=d){d=a;try{e.Cu?c("<div></div>").text(a).prependTo(e.Cu):console.log(a)}catch(b){}}};
e.Uqa=function(a){this.gM.push(a)};e.gM=[];e.debug=function(a,b){try{b.apply(this,arguments)}catch(d){e.FH(a,d),i(d)}};e.FH=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.gM.length;d++)this.gM[d](b)};e.clone=function(a,b){var b=b||0,d=new a.constructor,h;for(h in a)if(a.hasOwnProperty(h)){var c=a[h];0<b&&c&&"object"===typeof c&&(c=e.clone(c,b-1));d[h]=c}return d};return e});
define("di","require,jquery.mod,cI,iA,fh,hE,hb".split(","),function(a){function b(a,b){this.Ut=a;this.OK=b;this.lz=q;this.tO={};this.oO=this.Yq=this.Nt=n;this.H0=[];this.yA=this.Js=n;this.G0=[];this.Pz=this.xs=n;this.F0={};this.Jy=n;this.D0=[];this.Go=n;this.E0=[];this.To=n;this.HZ=this.JZ=z}var c=a("jquery.mod"),e=a("cI"),d=a("iA"),g=a("fh"),j=a("hE"),k=a("hb");b.prototype.B=function(a){this.lz=a;this.kX();this.mX();this.IK();return this};b.prototype.ila=function(){if(this.lz)return b.Pl(this.lz)};
b.prototype.Vv=P("Ut");b.prototype.eB=function(){return this.Oo()?this.Pm().eB().concat(this.Ut):[this.Ut]};b.prototype.K=function(a){this.tO=a;this.kX();return this};b.prototype.hasAttributes=function(){return this.z4().length>0};b.prototype.hasAttribute=function(a){return this.WR(a)?p:z};b.prototype.z4=function(){this.Nt==n&&this.HX();return this.Nt};b.prototype.Vna=function(){this.oO=["definitions"];return this};b.prototype.R4=function(){if(this.oO)return this.oO;if(this.Oo())this.Pm().R4();else return[]};
b.prototype.WR=function(a){this.Yq==n&&this.HX();return this.Yq[a]};b.prototype.oj=function(a){this.H0=a;this.A$();return this};b.prototype.Fla=function(){return this.b5().length>0};b.prototype.b5=function(){this.Js==n&&this.LX();return this.Js};b.prototype.tla=function(){this.yA==n&&this.LX();return this.yA};b.prototype.bo=function(a){this.G0=a;this.y$();return this};b.prototype.Ela=function(){return this.Z4().length>0};b.prototype.Z4=function(){this.xs==n&&this.KX();return this.xs};b.prototype.rla=
function(){this.Pz==n&&this.KX();return this.Pz};b.prototype.mc=function(a){this.D0=a;this.IK();return this};b.prototype.Bla=function(){return this.ZR().length>0};b.prototype.j5=function(a){this.Go==n&&this.qD();return e(this.Go).contains(a)};b.prototype.ZR=function(){this.Go==n&&this.qD();return this.Go};b.prototype.jh=function(a){this.E0=a;this.IK();return this};b.prototype.Dla=function(){return this.dS().length>0};b.prototype.l5=function(a){this.To==n&&this.qD();return e(this.To).contains(a)};
b.prototype.dS=function(){this.To==n&&this.qD();return this.To};b.prototype.ug=function(a){this.F0=a;this.mX();return this};b.prototype.P4=function(){this.Jy==n&&this.gaa();return this.Jy};b.prototype.Dna=function(){this.JZ=p;return this};b.prototype.K4=function(){return this.JZ||this.Oo()&&this.Pm().K4()};b.prototype.Up=function(a,b,f,g){this.wfa(b,f);var d=this.OK,c;c=g&&g.length>0?new (k.extend(d,function(){d.apply(this,g)})):new d;c.set("application",a);c.set("baseDirectoy",b);c.set("queryStringParameters",
f);c.set("class",this.Vv());return c};b.prototype.wfa=function(a,b){if(!this.HZ){this.HZ=p;this.qaa(a,b);this.Raa()}};b.prototype.qaa=function(a,b){if(this.Fla()||this.Ela()){var f=this.OK.prototype,d=this.tla(),c=this.rla(),o=f.set;f.set=function(f,e){d[f]&&(!e||!j.qB(e))?o.call(this,f,j.Iv(j.nq(e,a),b)):c[f]?g.get(this.get("application")).Nja(this,o,f,e):o.call(this,f,e)}}};b.prototype.Raa=function(){var a=this.OK.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.Bla()||
this.Dla()){a.bind=a.bind;a.getBindings=a.cB;a.hasBindings=a.h5;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.Vv()};a.getClassPath=function(){return b.eB()};var f=this.P4(),g;for(g in f)a[g]=f[g]};b.prototype.kX=function(){this.Yq=this.Nt=n};b.prototype.HX=function(){this.Nt=[];this.Yq={};for(var a in this.tO){this.Nt.push(a);this.Yq[a]=b.tM(this.tO[a])}if(this.Oo())for(var g=this.Pm(),f=g.z4(),d=0;d<f.length;d++){a=f[d];if(!this.Yq[a]){this.Nt.push(a);this.Yq[a]=g.WR(a)}}};
b.prototype.A$=function(){this.yA=n};b.prototype.LX=function(){this.Js=this.H0.slice();if(this.Oo())this.Js=e(this.Js).union(this.Pm().b5());this.yA={};for(var a=0;a<this.Js.length;a++)this.yA[this.Js[a]]=p};b.prototype.y$=function(){this.Pz=n};b.prototype.KX=function(){this.xs=this.G0.slice();if(this.Oo())this.xs=e(this.xs).union(this.Pm().Z4());this.Pz={};for(var a=0;a<this.xs.length;a++)this.Pz[this.xs[a]]=p};b.prototype.IK=function(){this.To=this.Go=n};b.prototype.qD=function(){this.Go=this.D0.slice();
this.To=this.E0.slice();if(this.Oo()){this.Go=e(this.Go).union(this.Pm().ZR());this.To=e(this.To).union(this.Pm().dS())}};b.prototype.mX=function(){this.Jy=n};b.prototype.gaa=function(){this.Jy=e(this.F0).clone();this.Oo()&&e(this.Jy).defaults(this.Pm().P4())};b.prototype.Oo=function(){return this.lz?p:z};b.prototype.Pm=function(){return b.Pl(this.lz)};b.iX=new d;b.hX=new d;b.Xpa={};b.A=function(a,g){var f=new b(a,g);b.iX.set(a,f);b.hX.set(g,f);return f};b.Pl=function(a){return b.iX.get(a)};b.Ika=
function(a){return b.hX.get(a)};b.tb=function(a,g){var f=b.Pl(a);if(e(g).isNull())return p;if(g&&g.constructor)for(var d=b.Ika(g.constructor);d;){if(d==f)return p;d=d.ila()}return z};b.tM=function(a){switch(a){case "string":case "code":return b.Wha;case "number":return b.Rda;case "bool":return b.I9;case "color":return b.G$;case "percent":return b.hfa;case "size":return b.xha;case "identifier":return b.Rca;case "array":return b.tW;case "dict":return b.ifa;case "*":return b.Laa;default:if(b.kda(a))switch(b.wba(a)){case "array":var g=
b.tM(b.vY(a));return function(a,f){for(var a=b.tW(a,f),d=0;d<a.length;d++)a[d]=g(a[d],f);return a};case "enum":var f=b.wY(a);return b.xba(f);case "or":var f=b.wY(a),d=e(f).map(function(a){return b.tM(a)});return function(a,b){for(var f=0;f<d.length;f++)try{return d[f](a,b)}catch(g){}i("Invalid value")};default:i("Invalid type validator definition: "+a)}else return b.Mj(function(f){return b.tb(a,f)})}};b.kda=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.wba=function(a){return a.substring(0,
a.indexOf("["))};b.vY=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.wY=function(a){for(var a=b.vY(a),g=[],f="",d=0,c=0;c<a.length;c++){var o=a.charAt(c),f=f+o;switch(o){case "[":d++;break;case "]":d--;break;case ",":if(d==0){g.push(f.substr(0,f.length-1));f=""}}}f!=""&&g.push(f);return e(g).map(function(a){return b.Eia(a)})};b.Eia=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Mj=function(a){return function(g,f){if(!a(g)){typeof g!="string"&&i("Invalid value");g=b.Paa(g,
f);a(g)||i("Invalid value")}return g}};b.Paa=function(a,b){return function(){return eval(a)}.call(b)};b.Laa=function(a){return a};b.Rda=b.Mj(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.Wha=b.Mj(function(a){return typeof a=="string"||a===q});b.I9=b.Mj(function(a){return a===p||a===z});b.tW=b.Mj(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.xba=function(a){return b.Mj(function(b){return e(a).contains(b)})};b.FD=function(a,b){return e(a).isString()&&
b.test(a)};b.Rca=b.Mj(function(a){return b.FD(a,/^[a-z][a-z0-9_]*$/i)});b.hfa=b.Mj(function(a){return b.FD(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.xha=b.Mj(function(a){return b.FD(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.G$=b.Mj(function(a){return b.FD(a,/^#[0-9a-f]{6}$/i)});b.ifa=b.Mj(function(a){try{return c.isPlainObject(a)}catch(b){return z}});return b});
define("he",[],function(){function a(){var a=g.length,b=g.splice(0,a);d+=a;for(var c=0;c<a;c++){var h=b[c];h&&h()}}var b=window.MutationObserver,c=window.Promise,e=0,d=0,g=[],j;setInterval(function(){0<g.length&&100<(new Date).getTime()-k&&a()},100);var k,h;c&&(h=new c(function(a){a()}));b&&(j=document.createTextNode(""),(new b(a)).observe(j,{characterData:p}));return{CB:function(d,f){if(f>0||!b&&!c)return~setTimeout(d,f||1);if(g.length==0){c?h.then(a):j.textContent=e;k=(new Date).getTime()}e++;g.push(d);
return e-1},cancel:function(a){if(a<0)clearTimeout(~a);else{var b=a-d;if(b>=0){g[b]||i("invalid async handle: "+a);g[b]=q}}}}});
define("dT",["cI","he","bI","hb"],function(a,b,c,e){function d(){this.Ic={}}d.prototype.bind=function(a,b,d,c,e){a===n&&i("Event name undefined");b===n&&i("Event handler undefined");a in this.Ic||(this.Ic[a]=[]);this.Ic[a].push({handler:b,handlerDef:e||b,context:d||this,immediate:c?p:z});return this};d.prototype.unbind=function(b,d,c){if(b in this.Ic){var c=c||this,h=a(this.Ic[b]).select(function(a){return a.handler!=d||a.context!=c});0<h.length?this.Ic[b]=h:delete this.Ic[b]}return this};d.prototype.g7=
function(){this.Ic={}};d.prototype.trigger=function(a,b){var d="string"==typeof a,h=d?a:a.name;h in this.Ic&&(d&&(a=new c(a,b)),a.source=this,this.xx(a,p),h in this.Ic&&this.raa(a));return this};d.prototype.raa=function(a){d.tD.push({caller:this,event:a});d.EL||(d.EL=p,b.CB(d.OX))};d.tD=[];d.EL=z;d.OX=function(){for(var a=(new Date).getTime()+1E3;d.tD.length;){var c=d.tD.shift();d.prototype.xx.call(c.caller,c.event,z);if((new Date).getTime()>a)break}0<d.tD.length?b.CB(d.OX,1):d.EL=z};d.prototype.h5=
function(a){return a in this.Ic};d.prototype.cB=function(a,b){for(var d=[],c=this.Ic[a]||[],e=0;e<c.length;e++){var f=c[e];(b===n||f.immediate==b)&&d.push(f.handlerDef)}return d};d.prototype.xx=function(a,b){if(a.name in this.Ic)for(var d=this.Ic[a.name],c=0;c<d.length;c++){var m=d[c];if(m.immediate==b)try{m.handler.call(m.context,a)}catch(f){e.FH("Exception handling event "+a.name,f)}}};return d});
define("hu",["jd","hb","bI","dT"],function(a,b,c,e){b=b.extend(e,function(){e.call(this);this.px={}});b.prototype.set=function(a,b){this.px[a]!=b&&(this.px[a]=b,this.k3(a))};b.prototype.k3=function(b){this.trigger(new c(a.ga(b)))};b.prototype.get=function(a,b){var c=this.px[a];return c!==n?c:b};return b});
define("el",[],function(){function a(a,c,e){this.set("undefined"!=typeof a?a:0,"undefined"!=typeof c?c:0,"undefined"!=typeof e?e:0)}a.prototype.set=function(a,c,e){this.x=a;this.y=c;this.z=e};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(a){a.Hv(this)};a.prototype.project=function(a){a.project(this)};return a});
define("a",["hb","el"],function(a,b){var c=a.extend(b,function(a,d,g){b.call(this,a,d,g)});c.prototype.clone=function(){return new c(this.x,this.y,this.z)};c.prototype.lc=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.$b=function(){return 0==this.y&&0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};c.prototype.hS=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.normalize=function(){var a=this.hS();1!=a&&(this.x/=
a,this.y/=a,this.z/=a)};c.prototype.ZA=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.nka=function(a){var b=this.z*a.x-this.x*a.z,g=this.x*a.y-this.y*a.x;this.x=this.y*a.z-this.z*a.y;this.y=b;this.z=g};c.Xp=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.Gka=function(a){return new c(Math.cos(0)*Math.sin(a),Math.sin(0),Math.cos(0)*Math.cos(a))};return c});
define("fO","require,hb,hu,jd,di,a".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("di"),g=a("a"),a=b.extend(c,function(){c.call(this);this.gR=this.Hm=n});d.A("AdjacentPanorama",a).B("Object").K({yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"}).jh([e.Uk]);a.prototype.D4=function(){if(this.Hm===n){for(this.Hm=this.JY()-this.get("yaw");this.Hm>180;)this.Hm=this.Hm-360;for(;this.Hm<-180;)this.Hm=this.Hm+360}return this.Hm};a.prototype.Uka=function(){if(this.gR===
n)this.gR=g.Gka(this.JY()*Math.PI/180);return this.gR};a.prototype.Wja=function(){return this.get("yaw")!==n&&this.get("backwardYaw")!==n};a.prototype.JY=function(){return this.get("backwardYaw")-180};return a});define("es",[],function(){return{L:"stopped",T:"playing",Gc:"paused"}});define("dl",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("ImageResource",b).B("Object").K({levels:"array[ImageResourceLevel]"});return b});
define("cQ","require,hb,jd,es,dl,di".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("es"),d=a("dl"),a=a("di"),b=b.extend(d,function(){d.call(this);this.set("state",e.L);this.set("autoplay",p);this.set("repeat",0);this.set("visibleOnStop",p);this.set("finalFrame","last")});b.prototype.play=function(){this.set("state",e.T)};b.prototype.pause=function(){this.set("state",e.Gc)};b.prototype.stop=function(){this.set("state",e.L)};a.A("AnimatedImageResource",b).B("ImageResource").K({autoplay:"bool",
finalFrame:"enum[first, last]",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]",visibleOnStop:"bool"}).mc([c.ta,c.Mq]).ug({pause:b.prototype.pause,play:b.prototype.play,stop:b.prototype.stop});b.prototype.$v=function(a,b,c){b||(b=1);c||(c=1);return d.prototype.$v.call(this,a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
define("fi",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.cv=a===n?p:a;this.Au=this.uk=this.sk=this.G=n;this.set("enabled",p);this.set("selected",z)});c.A("HotspotMapOverlay",a).B("MapOverlay").K({areas:"array[HotspotMapOverlayArea]",enabled:"bool",image:"HotspotMapOverlayImage",map:"HotspotMapOverlayMap",rollOverDisplay:"bool",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.aH(this.cv):q}return this.G};a.prototype.W4=function(){if(this.sk===n){var a=this.get("rollOverImage");this.sk=a?a.aH(this.cv):q}return this.sk};a.prototype.Y4=function(){if(this.uk===n){var a=this.get("selectedImage");this.uk=a?a.aH(this.cv):q}return this.uk};a.prototype.ela=function(){if(this.Au===n){this.Au=[];var a=this.getItem();a&&this.Au.push(a);(a=this.W4())&&this.Au.push(a);
(a=this.Y4())&&this.Au.push(a)}return this.Au};return a});define("da",["hb","di","fi"],function(a,b,c){a=a.extend(c,function(){c.call(this,p)});b.A("AreaHotspotMapOverlay",a).B("HotspotMapOverlay");return a});define("iQ",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("AudioResource",a).B("Object").K({mp3Url:"string",oggUrl:"string"}).oj(["mp3Url","oggUrl"]);return a});define("bS",[],function(){return{Pw:"inAdvance",aU:"delayed"}});
define("N",[],function(){return{nC:"grab",sU:"grabbing",N7:"move",JU:"move-n",KU:"move-ne",AU:"move-e",NU:"move-se",MU:"move-s",OU:"move-sw",PU:"move-w",LU:"move-nw",O7:"move-ew",Q7:"move-ns",P7:"move-nesw",R7:"move-nwse",CU:"move-fast-n",DU:"move-fast-ne",BU:"move-fast-e",GU:"move-fast-se",FU:"move-fast-s",HU:"move-fast-sw",IU:"move-fast-w",EU:"move-fast-nw",Td:"hand",nc:"default",Ow:"inherit"}});
define("eA",["require","jd"],function(a){function b(){this.eg=[]}var c=a("jd");b.prototype.register=function(a){this.O8(a);this.eg.push(a);a.get("pressed")&&this.U1(a)};b.prototype.YB=function(a){this.Lfa(a)};b.prototype.O8=function(a){a.bind(c.bg,this.u_,this,p)};b.prototype.Lfa=function(a){a.unbind(c.bg,this.u_,this)};b.prototype.u_=function(a){this.U1(a.source)};b.prototype.U1=function(a){this.eg.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.YB(a);var g=this.Xe(b);
a.RJ=g;g.register(a)};b.YB=function(a){a.RJ&&(a.RJ.YB(a),delete a.RJ)};b.Xe=function(a){return this.xZ[a]||(this.xZ[a]=new b)};b.xZ={};return b});define("cH",[],function(){return{uc:"push",rh:"toggle"}});define("eO",[],function(){return{Pq:"visible",tU:"hidden",Tk:"scroll"}});define("en",[],function(){return{nc:n,q:"over",sa:"pressed",Ra:"pressedOver",C:"selected"}});define("dy",[],function(){return{Qc:"rollOver",ALWAYS:"always"}});
window.lpa=function(a,b,c){function e(a,f,d,g){var c,h,o,l=b.createElement("div"),j=b.body,e=j?j:b.createElement("body");if(parseInt(d,10))for(;d--;)o=b.createElement("div"),o.id=g?g[d]:"modernizr"+(d+1),l.appendChild(o);return c=['­<style id="smodernizr">',a,"</style>"].join(""),l.id="modernizr",(j?l:e).innerHTML+=c,e.appendChild(l),j||(e.style.background="",k.appendChild(e)),h=f(l,a),j?l.parentNode.removeChild(l):e.parentNode.removeChild(e),!!h}function d(a,b){for(var f in a){var d=a[f];if(!~(""+
d).indexOf("-")&&m[d]!==c)return"pfx"==b?d:p}return z}function g(a,b,f){var g=a.charAt(0).toUpperCase()+a.slice(1),h=(a+" "+l.join(g+" ")+g).split(" ");if("string"===typeof b||"undefined"===typeof b)b=d(h,b);else{h=(a+" "+r.join(g+" ")+g).split(" ");a:{var a=h,o;for(o in a)if(g=b[a[o]],g!==c){b=f===z?a[o]:"function"===typeof g?g.bind(f||b):g;break a}b=z}}return b}var j={},k=b.documentElement,h=b.createElement("modernizr"),m=h.style,f=["","-webkit-","-moz-","-o-","-ms-"],l=["Webkit","Moz","O","ms"],
r=["webkit","moz","o","ms"],h={},o=[],s=o.slice,t,u={}.hasOwnProperty,v;"undefined"!==typeof u&&"undefined"!==typeof u.call?v=function(a,b){return u.call(a,b)}:v=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 g=D();g.prototype=f.prototype;var g=new g,c=f.apply(g,d.concat(s.call(arguments)));return Object(c)===c?c:g}return f.apply(a,d.concat(s.call(arguments)))}var f=
this;"function"!=typeof f&&i(new TypeError);var d=s.call(arguments,1);return b});h.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")};h.webgl=function(){return!!a.Ipa};h.touch=function(){var b;return"ontouchstart"in a?b=p:e(["@media (",f.join("touch-enabled),("),"modernizr){#modernizr{top:9px;position:absolute}}"].join(""),function(a){b=9===a.offsetTop}),b};h.csstransforms3d=function(){var a=!!g("perspective");return a&&"webkitPerspective"in k.style&&e("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",
function(b){a=9===b.offsetLeft&&3===b.offsetHeight}),a};h.video=function(){var a=b.createElement("video"),f=z;try{if(f=!!a.canPlayType)f=new Boolean(f),f.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),f.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),f.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return f};h.audio=function(){var a=b.createElement("audio"),f=z;try{if(f=!!a.canPlayType)f=new Boolean(f),f.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,
""),f.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),f.lra=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),f.Iqa=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return f};for(var x in h)v(h,x)&&(t=x.toLowerCase(),j[t]=h[x](),o.push((j[t]?"":"no-")+t));j.Oja=function(a,b){if("object"==typeof a)for(var f in a)v(a,f)&&j.Oja(f,a[f]);else a=a.toLowerCase(),j[a]===c&&(b="function"==typeof b?b():b,j[a]=b)};m.cssText="";return h=q,j.DA="2.6.1",j.Wpa=
f,j.Qpa=r,j.Ppa=l,j.cra=function(a){return d([a])},j.bra=g,j.dra=e,j}(this,this.document);define("Modernizr",D());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
define("r",["require","modernizr.mod","hb","hE"],function(a){function b(){}var c=a("modernizr.mod"),e=a("hb"),d=a("hE");b.qi=TDV.va.uC;b.UT=TDV.va.jJ;b.DJ=TDV.va.TU;b.Hpa=TDV.va.nJ;b.L7=TDV.va.kJ;b.hpa=TDV.va.SU;b.tpa=TDV.va.mJ;b.lJ=TDV.va.lJ;b.Iw=TDV.va.Iw;b.nI=TDV.va.nI;b.mI=TDV.va.mI;b.lI=TDV.va.lI;b.oI=TDV.va.oI;b.nh=TDV.va.nh;b.cC=TDV.va.cC;b.Mk=TDV.va.Mk;b.ni=TDV.va.ni;b.qq=TDV.va.qq;b.rq=TDV.va.rq;b.Dw=TDV.va.Dw;b.bC=TDV.va.bC;b.kI=TDV.va.kI;b.Gw=TDV.va.Gw;b.xt=TDV.va.xt;b.Hw=TDV.va.Hw;b.Ew=
TDV.va.Ew;b.dC=TDV.va.dC;b.wt=TDV.va.wt;b.Fw=TDV.va.Fw;b.sq=TDV.va.sq;b.XT=TDV.va.XT;b.eC=TDV.va.eC;b.fC=TDV.va.fC;b.pI=TDV.va.pI;b.tI=TDV.va.tI;b.Kw=TDV.va.Kw;b.uI=TDV.va.uI;b.vI=TDV.va.vI;b.Jo=function(a){a="force_"+a;if(d.gh("debug")&&d.gh(a))return d.Qn(a)};b.fba=b.Jo("os");b.Dd=function(){return b.fba||TDV.va.Dd};b.aba=b.Jo("browser");b.browser=function(){return b.aba||TDV.va.browser};b.bba=b.Jo("browser_type");b.Kv=function(){return b.bba||TDV.va.Kv};b.kY=b.Jo("browser_subtype");b.od=function(){return b.kY?
b.kY:TDV.va.od};b.cba=b.Jo("browser_version");b.h4=function(){return b.cba||TDV.va.h4};b.eba=b.Jo("device");b.Ss=function(){return b.eba||TDV.va.Ss};b.Wa=function(){return TDV.va.T5};b.Saa=function(){for(var a=navigator.userAgent.toLowerCase(),b=["SM-G960","SM-G965"],d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return p;return z}();b.kba=function(){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,SM-G970,SM-G973,SM-G975,SM-G977,SM-N970,SM-N975".split(","),
d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return p;return z}();b.lY=b.Jo("gearvrcompatible");b.bB=function(){return b.lY!==n?"true"==b.lY:b.kba};b.m$=b.browser()!=b.ni||0>navigator.userAgent.indexOf("; wv")?z:p;b.dba=!!b.Jo("chromewebview");b.l4=function(){return b.dba||b.m$};b.jf=function(){return b.od()==b.xt||b.od()==b.Hw||b.od()==b.eC};b.I5=function(){return b.jf()&&b.bB()};b.sz=n;b.Cma=function(){b.sz===n&&(b.sz=parseInt(d.Qn("sts")),isNaN(b.sz)&&(b.sz=b.jf()&&!b.Saa?512:b.Wa()&&
b.Dd()==b.qi?512:b.Wa()?256:1024));return b.sz};b.Oca=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||z;b.xH=function(){return b.Oca};b.fZ=function(){var a={e5:"unknown",Mqa:1},b=document.createElement("canvas");if(b&&(b=b.getContext("webgl")||b.getContext("experimental-webgl"))){var d=b.getExtension("WEBGL_debug_renderer_info");d&&(a.e5=b.getParameter(d.UNMASKED_RENDERER_WEBGL));
a.nma=b.getParameter(b.MAX_TEXTURE_SIZE)}return a}();b.wla=function(){return b.fZ};b.h9=function(){var a=b.fZ.e5.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.$pa=function(){return b.h9};b.rda=b.Ss()==b.Kw?p:z;b.$p=function(){return b.rda};var g;b.browser()==b.Mk&&(g=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.ega=g;b.Zma=function(){return b.ega};b.xda=c.touch||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&
0<navigator.maxTouchPoints?p:z;b.NT=function(){return b.xda};b.Ci=c.touch?b.Dd()==b.DJ?z:p:z;b.OT=function(){return b.Ci};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.Kv(),"browserSubtype: "+b.od(),"device: "+b.Ss(),"isMobile: "+b.Wa(),"gearVRCompatibleDevice: "+b.bB(),"chromeWebView: "+b.l4(),"touchDevice"+b.NT(),"touchEnabled"+b.OT()].join(", ")};b.log=function(){e.log("browser: "+b.browser());e.log("browserType: "+b.Kv());e.log("browserSubtype: "+b.od());e.log("device: "+
b.Ss());e.log("isMobile: "+b.Wa());e.log("gearVRCompatibleDevice: "+b.bB());e.log("chromeWebView: "+b.l4());e.log("touchDevice: "+b.NT());e.log("touchEnabled: "+b.OT())};return b});
define("hw",["require","r"],function(a){function b(){for(;m.length;)m.shift()();document.body.removeEventListener("click",b,p);document.body.removeEventListener("touchstart",d,p);document.body.removeEventListener("touchmove",e,p);document.body.removeEventListener("touchend",c,p);k=z}function c(){h&&b()}function e(){h=z}function d(){h=p;j.Dd()==j.qi&&b()}function g(){document.body.addEventListener("click",b,p);document.body.addEventListener("touchstart",d,p);document.body.addEventListener("touchmove",
e,p);document.body.addEventListener("touchend",c,p)}var j=a("r"),k=z,h=z,m=[];return{fI:function(){b()},k7:function(a){m.push(a);k||(k=p,document.body?g():document.addEventListener("DOMContentLoaded",g))},Zqa:function(a){a=m.indexOf(a);0<=a&&m.splice(a,1)}}});define("eU",[],function(){return{M7:7,aC:6,pC:5,Rk:4,hV:3,oJ:2,ZU:1,ipa:0}});define("S",[],function(){return{eJ:"horizontal",zJ:"vertical"}});
define("jq",[],function(){return{xV:"auto",wV:"auto",gV:"1",VU:"2",UU:"auto",aC:"2",$T:"3",ZT:"auto",fV:"3",pV:"100",xV:"1",wV:"auto",gV:"1",VU:"2",UU:"auto",aC:"2",$T:"3",ZT:"auto",fV:"5",pV:"100",apa:"101",y7:999998,Gpa:999999,H7:1E6}});define("eg",[],function(){var a=1,b={};return{css:function(c,e){var d=c.__duqid;d===n&&(d=a.toString(),c.__duqid=d,a++);var d=b[d]||(b[d]={e:c,s:{}}),g;for(g in e)d.s[g]=e[g]},Ema:function(){for(var a in b){var e=b[a],d=e.e.style,e=e.s,g;for(g in e)d[g]=e[g]}b={}}}});
define("bo",["require"],function(){return{Cla:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},c4:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},Dka:function(a,b,c){var e=document.createElement("canvas");e.width=b;e.height=c;c=e.getContext("2d");c.translate(b,0);c.scale(-1,1);c.drawImage(a,0,0);a.src=e.toDataURL()}}});
define("fo",["require","r","hE","he"],function(a){function b(a,b,d,c,e){this.url=a;this.Pe=b;this.time=d;this.woa=c;this.Xja=e}var c=a("r");URL=a("hE");async=a("he");b.prototype.loaded=function(){e.KP(this.url);e.xp(this)};b.prototype.cancel=function(){e.xp(this)};var e={wp:[],cl:[],Yz:[],XQ:q,QZ:{},add:function(a,d,c,h){a=new b(a,d,(new Date).getTime(),c,h);this.wp.push(a);this.M();return a},X6:function(a){this.Yz.push(a);this.M()},W6:function(a){var b=this.Yz,a=b.indexOf(a);0<=a&&b.splice(a,1);
this.M()}};if(c.od()==c.sq)e.ST=Q(p),e.KP=D();else if(!URL.gh("debug")||!URL.Ol("disable-cache")){e.ST=function(a){return this.QZ[a]||!!window.localStorage&&!!window.localStorage.getItem("tdvp_"+a)};var d=z;e.KP=function(a){this.QZ[a]=p;try{window.localStorage&&window.localStorage.setItem("tdvp_"+a,p)}catch(b){if(!d){d=p;try{window.localStorage&&localStorage.clear()}catch(c){}}}}}else e.ST=Q(z),e.KP=D();e.M=function(){this.XQ||(this.XQ=async.CB(e.Uia))};e.Uia=function(){e.XQ=q;for(var a=this.iga(),
b=0,d=this.cl.length;b<d;b++){var c=this.cl[b];0>a.indexOf(c)&&c.Xja()}var m=this.cl;this.cl=a;b=0;for(d=this.cl.length;b<d;b++)c=this.cl[b],0>m.indexOf(c)&&c.woa()}.bind(e);e.yha=function(){this.wp.sort(function(a,b){return a.Pe-b.Pe||b.time-a.time});this.Yz.sort(function(a,b){return a-b})};e.iga=function(){this.yha();var a=[];if(this.wp.length)for(var b=this.Yz.length?this.Yz[0]:this.wp[0].Pe,d=0;10>d&&d<this.wp.length&&this.wp[d].Pe<=b;d++)a.push(this.wp[d]);return a};e.xp=function(a){var b=this.wp,
a=b.indexOf(a);0<=a&&b.splice(a,1);this.M()};return e});
define("gE","require,hb,bI,dT,jd,eU,hE,bo,fo".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("dT"),d=a("jd"),g=a("eU"),j=a("hE"),k=a("bo"),h=a("fo"),a=b.extend(e,function(a){e.call(this);this.sn=a||g.M7;this.ba=this.R=this.fb=this.Ab=q;this.$o=z;this.av=this.Fi=q;this.LF=0;this.dN=[];this.aE=this.aE.bind(this);this.bE=this.bE.bind(this)});a.prototype.load=function(a){this.cancel();this.Ab=a;this.LF=0;this.D1()};a.prototype.D1=function(){this.Fi=h.add(this.Ab,this.sn,this.Fha.bind(this),this.g$.bind(this))};
a.prototype.cancel=function(){if(this.Fi){this.Fi.cancel();this.Fi=q}this.jX()};a.prototype.Zla=function(){return!!this.fb&&!this.$o||this.av};a.prototype.Sn=P("$o");a.prototype.Bd=function(a){if(a){a=this.fb.cloneNode(p);this.dN.push(a);return a}return this.fb};a.prototype.Fc=P("R");a.prototype.rd=P("ba");a.prototype.Oe=P("Ab");a.prototype.Fha=function(){this.fb=this.caa(this.Ab)};a.prototype.g$=function(){this.Zla()&&this.jX()};a.prototype.jX=function(){if(this.fb){if(this.av){clearTimeout(this.av);
this.av=q}for(this.$o=z;this.dN.length;)this.UX(this.dN.shift());this.UX(this.fb);this.fb=q}};a.prototype.S8=function(a){a.addEventListener("load",this.aE);a.addEventListener("error",this.bE)};a.prototype.t1=function(a){a.removeEventListener("load",this.aE);a.removeEventListener("error",this.bE)};a.prototype.aE=function(){this.Fi.loaded();this.Fi=q;this.t1(this.fb);this.$o=p;this.R=this.fb.width;this.ba=this.fb.height;k.Cla(this.Ab)&&k.Dka(this.fb,this.R,this.ba);this.trigger(new c(d.O))};a.prototype.bE=
function(){this.cancel();if(this.LF<l){this.LF++;this.av=setTimeout(function(){this.av=q;this.D1()}.bind(this),Math.pow(2,this.LF)*1E3)}else this.trigger(new c(d.jd))};a.prototype.caa=function(a){var b;if(f.length>0)b=f.pop();else{b=document.createElement("img");if(j.H5(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.S8(b);b.src=a;return b};a.prototype.UX=function(a){this.t1(a);a.parentNode&&a.parentNode.removeChild(a);
a.src="";f.length>m&&f.push(a)};var m=100,f=[],l=5;a.Y6=function(a){return h.ST(a)};return a});
define("eb","require,cI,jquery.mod,jd,eU,S,jq,eg,gE".split(","),function(a){function b(){this.Fj=this.Hj=this.Ij=this.Gj=this.ym=this.xm=this.Am=this.zm=0;this.MC=this.OC=this.PC=this.NC="";this.zb=1;this.nf=n;this.kr=[];this.SK=[];this.PK=j.zJ;this.bD=z;this.YD=n;this.Be=q;this.MM=this.rR=0;this.Va=document.createElement("canvas");this.Va.setAttribute("tdvlayer","background");this.v=e(this.Va);h.css(this.Va,{position:"absolute",left:0,top:0,"z-index":k.aC,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.Gd=p}var c=a("cI"),e=a("jquery.mod"),d=a("jd"),g=a("eU"),j=a("S"),k=a("jq"),h=a("eg"),m=a("gE");b.prototype.setSize=function(a,b){if(this.rR!=a||this.MM!=b){this.rR=a||0;this.MM=b||0;this.Gd=p}};b.prototype.D6=function(a){if(this.Wj!=a){this.Wj=a;this.Gd=p}};b.prototype.jb=P("v");b.prototype.gB=P("Va");b.prototype.Ana=function(a){if(this.YD!=a){if(this.Be){this.Be.unbind(d.O,this.Ro,this);this.Be.cancel();this.Be=q}if(this.YD=a){this.Be=
new m(g.hV);this.Be.bind(d.O,this.Ro,this);this.Be.load(this.YD)}this.Gd=p}};b.prototype.kT=function(a){if(this.zm!=a){this.zm=a;this.Gd=p}};b.prototype.lT=function(a){if(this.Am!=a){this.Am=a;this.Gd=p}};b.prototype.fT=function(a){if(this.xm!=a){this.xm=a;this.Gd=p}};b.prototype.gT=function(a){if(this.ym!=a){this.ym=a;this.Gd=p}};b.prototype.iT=function(a){if(this.Gj!=a){this.Gj=a;this.Gd=p}};b.prototype.mT=function(a){if(this.Ij!=a){this.Ij=a;this.Gd=p}};b.prototype.jT=function(a){if(this.Hj!=a){this.Hj=
a;this.Gd=p}};b.prototype.hT=function(a){if(this.Fj!=a){this.Fj=a;this.Gd=p}};b.prototype.hna=function(a){if(this.NC!=a){this.NC=a;this.Gd=p}};b.prototype.jna=function(a){if(this.PC!=a){this.PC=a;this.Gd=p}};b.prototype.ina=function(a){if(this.OC!=a){this.OC=a;this.Gd=p}};b.prototype.gna=function(a){if(this.MC!=a){this.MC=a;this.Gd=p}};b.prototype.ji=function(a){if(this.zb!=a){this.zb=a;this.Gd=p}};b.prototype.di=P("zb");b.prototype.uw=function(a){if(!c.isEqual(this.nf,a)){this.nf=a;c(a).isArray()||
(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.w6(a)}};b.prototype.w6=function(a){if(!c.isEqual(this.kr,a)){this.kr=a;this.Gd=p}};b.prototype.mna=function(a){if(this.Opa!=a){this.SK=a;this.Gd=p}};b.prototype.lna=function(a){if(this.PK!=a){this.PK=a;this.Gd=p}};b.prototype.Ro=function(){this.Gd=p;this.ee()};b.prototype.ee=function(){if(this.Gd){this.M();this.Gd=z}};b.prototype.M=function(){var a=Math.max(0,this.rR-(this.Gj+this.Hj)),b=Math.max(0,this.MM-(this.Ij+this.Fj)),d=this.v.get(0);
d.width=a;d.height=b;var d=d.getContext("2d"),g=this.Z9(),h=g.length>0,e=this.Be&&this.Be.Sn(),k=this.Gj>0&&this.NC||this.Ij>0&&this.PC||this.Hj>0&&this.OC||this.Fj>0&&this.MC,k=h||e||k;if(h){var m;m=this.PK==j.eJ?d.createLinearGradient(0,0,a,0):d.createLinearGradient(0,0,0,b);c(g).forEach(function(a){m.addColorStop(a.ratio,a.color)});d.fillStyle=m;d.fillRect(0,0,a,b);this.bD=p}else if(this.bD){d.clearRect(0,0,a,b);this.bD=z}if(e){d.drawImage(this.Be.Bd(),0,0,a,b);this.bD=p}this.Va.style.opacity=
this.zb;this.Va.style.filter="alpha(opacity="+Math.round(this.zb*100)+")";this.Va.style["-ms-filter"]="alpha(opacity="+Math.round(this.zb*100)+")";this.Va.style.borderTopLeftRadius=this.zm+"px";this.Va.style.borderTopRightRadius=this.Am+"px";this.Va.style.borderBottomLeftRadius=this.xm+"px";this.Va.style.borderBottomRightRadius=this.ym+"px";this.Va.style.borderLeft=this.LD(this.Gj,this.NC);this.Va.style.borderTop=this.LD(this.Ij,this.PC);this.Va.style.borderRight=this.LD(this.Hj,this.OC);this.Va.style.borderBottom=
this.LD(this.Fj,this.MC);this.Va.style.width=a+"px";this.Va.style.height=b+"px";this.Va.style.cursor="inherit";this.Va.style.display=k?"block":"none";if(this.Va.clientWidth===0&&a!==0){this.Va.style.width=0;this.Va.style.width=a+"px"}};b.prototype.LD=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.Z9=function(){var a=[];if(this.kr.length>0){for(var b=this.kr.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),d=this.Y9(),d=[].concat([0],d,[1]),g=0;g<b.length;g++){var c=
d[g];c>=0&&a.push({color:b[g],ratio:c})}for(g=0;g<a.length-1;)a[g].ratio==a[g+1].ratio&&a[g].color==a[g+1].color?a.splice(g,1):g++;for(g=1;g<a.length-1;)a[g-1].ratio==a[g+1].ratio?a.splice(g,1):g++}return a};b.prototype.Y9=function(){var a=this.kr.length,b;for(b=this.SK.length>0?c(this.SK).map(function(a){return Math.min(1,Math.max(0,a))}):a==1?[0.5]:c(c.range(a)).map(function(b,d){return 1*d/(a-1)});b.length<a;)b.push(1);b.length>a&&b.splice(a,b.length-a);return b};return b});
define("cl",["jquery.mod","jq","eg"],function(a,b,c){function e(){this.cF=this.eF=this.fF=this.dF=this.Fj=this.Hj=this.Ij=this.Gj=0;this.jz=this.Wj=p;this.kR=this.YM=0;this.Y=p;this.Ez=document.createElement("div");this.Ez.setAttribute("tdvlayer","content");this.M1=a(this.Ez);c.css(this.Ez,{position:"absolute"});this.lD=document.createElement("div");this.CX=a(this.lD);c.css(this.lD,{position:"absolute"});this.M1.append(this.CX)}e.prototype.append=function(a){this.CX.append(a)};e.prototype.e4=function(a){this.lD.appendChild(a)};
e.prototype.jb=P("M1");e.prototype.gB=P("Ez");e.prototype.yna=function(a){this.YM!=a&&(this.YM=a,this.Y=p)};e.prototype.ooa=function(a){this.kR!=a&&(this.kR=a,this.Y=p)};e.prototype.Zv=function(){return this.dF+this.Gj};e.prototype.dw=function(){return this.fF+this.Ij};e.prototype.cw=function(){return this.eF+this.Hj};e.prototype.Tv=function(){return this.cF+this.Fj};e.prototype.yw=function(a){this.jz!=a&&(this.jz=a,this.Y=p)};e.prototype.Yna=function(a){this.dF!=a&&(this.dF=a,this.Y=p)};e.prototype.$na=
function(a){this.fF!=a&&(this.fF=a,this.Y=p)};e.prototype.Zna=function(a){this.eF!=a&&(this.eF=a,this.Y=p)};e.prototype.Xna=function(a){this.cF!=a&&(this.cF=a,this.Y=p)};e.prototype.iT=function(a){this.Gj!=a&&(this.Gj=a,this.Y=p)};e.prototype.mT=function(a){this.Ij!=a&&(this.Ij=a,this.Y=p)};e.prototype.jT=function(a){this.Hj!=a&&(this.Hj=a,this.Y=p)};e.prototype.hT=function(a){this.Fj!=a&&(this.Fj=a,this.Y=p)};e.prototype.D6=function(a){this.Wj!=a&&(this.Wj=a,this.Y=p)};e.prototype.ee=function(){this.Y&&
(this.M(),this.Y=z)};e.prototype.M=function(){c.css(this.Ez,{overflow:this.jz?"visible":"hidden","z-index":this.Wj?b.$T:b.ZT,left:this.Zv()+"px",top:this.dw()+"px",right:this.cw()+"px",bottom:this.Tv()+"px",cursor:"inherit"});c.css(this.lD,{left:-this.YM+"px",top:-this.kR+"px",right:this.jz?0:"initial",bottom:this.jz?0:"initial",cursor:"inherit"})};return e});
define("gl",["cI","jquery.mod","hb","jq","eg"],function(a,b,c,e,d){function g(){this.ba=this.R=this.aa=this.$=n;this.ym=this.xm=this.Am=this.zm=0;this.Wc=z;this.XM=0;this.jR=4;this.vK=6;this.$P=0;this.nf="#000000";this.zb=1;this.Va=document.createElement("div");this.Va.setAttribute("tdvlayer","shadow");this.v=b(this.Va);d.css(this.Va,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Y=z}g.prototype.jb=P("v");g.prototype.gB=P("Va");g.prototype.kT=function(a){this.zm!=a&&(this.zm=a,this.Y=
p)};g.prototype.lT=function(a){this.Am!=a&&(this.Am=a,this.Y=p)};g.prototype.fT=function(a){this.xm!=a&&(this.xm=a,this.Y=p)};g.prototype.gT=function(a){this.ym!=a&&(this.ym=a,this.Y=p)};g.prototype.ji=function(a){this.zb!=a&&(this.zb=a,this.Y=p)};g.prototype.di=P("zb");g.prototype.Qe=function(a){this.Wc!=a&&(this.Wc=a,this.Y=p)};g.prototype.xna=function(a){this.XM!=a&&(this.XM=a,this.Y=p)};g.prototype.noa=function(a){this.jR!=a&&(this.jR=a,this.Y=p)};g.prototype.fna=function(a){this.vK!=a&&(this.vK=
a,this.Y=p)};g.prototype.hoa=function(a){this.$P!=a&&(this.$P=a,this.Y=p)};g.prototype.uw=function(a){this.nf!=a&&(this.nf=a,this.Y=p)};g.prototype.ee=function(){this.Y&&(this.M(),this.Y=z)};g.prototype.M=function(){var a=this.XM+"px "+this.jR+"px "+this.vK+"px "+this.$P+"px "+this.nf;this.Va.style.display=this.Wc?"block":"none";this.Va.style.boxShadow=a;this.Va.style["-webkit-box-shadow"]=a;this.Va.style["-moz-box-shadow"]=a;this.Va.style.borderTopLeftRadius=this.zm+"px";this.Va.style.borderTopRightRadius=
this.Am+"px";this.Va.style.borderBottomLeftRadius=this.xm+"px";this.Va.style.borderBottomRightRadius=this.ym+"px";this.Va.style.filter="alpha(opacity="+Math.round(100*this.zb)+")";this.Va.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.zb)+")";this.Va.style.opacity=this.zb;this.Va.style.zIndex=e.gV};return g});
define("ie","require,jquery.mod,cI,hb,hu,N,jd,eb,cl,gl,jq,bI,eg,r".split(","),function(a){var b=a("jquery.mod");a("cI");var c=a("hb"),e=a("hu"),d=a("N"),g=a("jd"),j=a("eb"),k=a("cl"),h=a("gl"),m=a("jq"),f=a("bI"),l=a("eg");a("r");var r=c.extend(e,function(){e.call(this);this.Qo=r.Qo++;this.ZK=this.xc=this.sO=this.iz=this.UP=this.v=this.Va=q;this.m3=this.CZ=z;this.P=this.ua=q;this.ba=this.R=this.Wr=this.Vr=0;this.Vo=this.Wc=z;this.sZ=p;this.Fy=this.Gy=this.Og=this.Pg=0;this.zb=1;this.ye=d.nc;this.set("inView",
z);this.set("toolTip",n);this.us(p);this.MP(p)});r.prototype.Mc=N("Ut");r.prototype.toString=function(){return"["+this.v.attr("tdvclass")+"::"+this.Qo+"]"};r.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.eb=P("ua");r.prototype.Fp=function(a){(this.ua=a)&&this.eN();this.zv();this.trigger(g.o7)};r.prototype.jb=function(){this.v=b(this.Om());this.jb=P("v");return this.v};r.prototype.Om=function(){this.Va=document.createElement("div");this.Va.setAttribute("id",
this.Qo);this.Ut&&this.Va.setAttribute("tdvclass",this.Ut);l.css(this.Va,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Om=P("Va");return this.Va};r.prototype.Hg=function(){this.UP=new h;this.Hg=P("UP");return this.UP};r.prototype.kb=function(){this.xc=new j;this.kb=P("xc");return this.xc};r.prototype.mu=function(){this.iz=document.createElement("div");this.iz.setAttribute("tdvlayer","overShadow");l.css(this.iz,{position:"absolute",left:0,top:0,cursor:"inherit"});
this.mu=P("iz");return this.iz};r.prototype.DM=function(){this.sO=b(this.mu());this.DM=P("sO");return this.sO};r.prototype.Ka=function(){this.ZK=new k;this.Ka=P("ZK");return this.ZK};r.prototype.getParent=P("P");r.prototype.ya=P("R");r.prototype.$a=P("ba");r.prototype.Ala=function(){return this.R!==n&&this.ba!==n};r.prototype.qd=function(){return this.R-this.Ka().Zv()-this.Ka().cw()};r.prototype.pd=function(){return this.ba-this.Ka().dw()-this.Ka().Tv()};r.prototype.dh=function(){return this.Ka().Zv()};
r.prototype.Rl=function(){return this.Ka().dw()};r.prototype.Ql=function(){return this.Ka().cw()};r.prototype.Wv=function(){return this.Ka().Tv()};r.prototype.Qe=function(a){if(this.Wc!=a){this.Wc=a;this.Ub();if(this.P){this.P.Ga();this.P.rc()}this.zv()}};r.prototype.zv=function(){var a=z;this.ua&&this.Wc&&this.di()>0&&(this==this.ua?a=p:this.P&&(a=this.P.Vo));this.Vo!=a&&this.jK(a)};r.prototype.jK=function(a){this.Vo=a;this.set("inView",a);this.Vo?this.trigger(new f(g.Df)):this.trigger(new f(g.yg))};
r.prototype.Uga=function(a){if(this.sZ!=a){this.sZ=a;this.P&&this.P.rc()}};r.prototype.Rga=function(a){if(this.iu!=a){this.iu=a;this.Ga()}};r.prototype.Qga=function(a){if(this.hu!=a){this.hu=a;this.Ga()}};r.prototype.Pga=function(a){if(this.gu!=a){this.gu=a;this.Ga()}};r.prototype.Oga=function(a){if(this.fu!=a){this.fu=a;this.Ga()}};r.prototype.Sga=function(a){if(this.Ah!=a){this.Ah=a;if(this.Ah!=n)this.Oh=n;this.Ga()}};r.prototype.Nga=function(a){if(this.Br!=a){this.Br=a;if(this.Br!=n)this.Nh=n;
this.Ga()}};r.prototype.dha=function(a){if(this.Oh!=a){this.Oh=a;if(this.Oh!=n)this.Ah=n;this.Ga()}};r.prototype.$ga=function(a){if(this.Nh!=a){this.Nh=a;if(this.Nh!=n)this.Br=n;this.Ga()}};r.prototype.Wga=function(a){if(this.Ym!=a){if(a!=n)this.pF=n;this.Ym=a;this.P&&this.P.rc();this.Ga()}};r.prototype.qha=function(a){if(this.Cn!=a){if(a!=n)this.rF=n;this.Cn=a;this.P&&this.P.rc();this.Ga()}};r.prototype.eha=function(a){if(this.zz!=a){if(a!=n)this.qF=n;this.zz=a;this.P&&this.P.rc();this.Ga()}};r.prototype.Hga=
function(a){if(this.qx!=a){if(a!=n)this.oF=n;this.qx=a;this.P&&this.P.rc();this.Ga()}};r.prototype.aha=function(a){if(this.pF!=a){if(a!=n)this.Ym=n;this.pF=a;this.P&&this.P.rc();this.Ga()}};r.prototype.cha=function(a){if(this.rF!=a){if(a!=n)this.Cn=n;this.rF=a;this.P&&this.P.rc();this.Ga()}};r.prototype.bha=function(a){if(this.qF!=a){if(a!=n)this.zz=n;this.qF=a;this.P&&this.P.rc();this.Ga()}};r.prototype.Zga=function(a){if(this.oF!=a){if(a!=n)this.qx=n;this.oF=a;this.P&&this.P.rc();this.Ga()}};r.prototype.Kga=
function(a){if(this.yo!=a){this.yo=a;this.P&&this.P.rc()}};r.prototype.Lga=function(a){if(this.zo!=a){this.zo=a;this.P&&this.P.rc()}};r.prototype.Xl=function(){return isNaN(this.Ah)?this.Pg:this.Ah};r.prototype.Wl=function(){return isNaN(this.Br)?this.Og:this.Br};r.prototype.eca=function(){return isNaN(this.Qaa)?this.ZZ:this.Qaa};r.prototype.Ul=function(){return isNaN(this.iu)?this.Gy:this.iu};r.prototype.Nn=function(){return isNaN(this.hu)?this.Fy:this.hu};r.prototype.qH=function(){return isNaN(this.gu)?
1E4:this.gu};r.prototype.pH=function(){return isNaN(this.fu)?1E4:this.fu};r.prototype.g2=function(a){if(this.GM()!=a){this.Ka().Yna(a);this.Ga()}};r.prototype.GM=function(){return this.Ka().dF};r.prototype.i2=function(a){if(this.IM()!=a){this.Ka().$na(a);this.Ga()}};r.prototype.IM=function(){return this.Ka().fF};r.prototype.h2=function(a){if(this.HM()!=a){this.Ka().Zna(a);this.Ga()}};r.prototype.HM=function(){return this.Ka().eF};r.prototype.f2=function(a){if(this.FM()!=a){this.Ka().Xna(a);this.Ga()}};
r.prototype.FM=function(){return this.Ka().cF};r.prototype.OB=function(a){if(this.Vr!=a){this.Vr=a;this.rg()}};r.prototype.PB=function(a){if(this.Wr!=a){this.Wr=a;this.rg()}};r.prototype.ji=function(a){if(this.zb!=a){this.zb=a;l.css(this.mu(),{filter:"alpha(opacity="+Math.round(this.zb*100)+") ",opacity:this.zb});this.zv();this.rg()}};r.prototype.di=P("zb");r.prototype.Ega=function(a){if(this.kb().zm!=a){this.Hg().kT(a);this.kb().kT(a)}};r.prototype.uba=function(){return this.kb().zm};r.prototype.Fga=
function(a){if(this.kb().Am!=a){this.Hg().lT(a);this.kb().lT(a)}};r.prototype.vba=function(){return this.kb().Am};r.prototype.wga=function(a){if(this.kb().xm!=a){this.Hg().fT(a);this.kb().fT(a)}};r.prototype.sba=function(){return this.kb().xm};r.prototype.xga=function(a){if(this.kb().ym!=a){this.Hg().gT(a);this.kb().gT(a)}};r.prototype.tba=function(){return this.kb().ym};r.prototype.Aga=function(a){if(this.kb().Gj!=a){this.kb().iT(a);this.Ka().iT(a);this.Ga()}};r.prototype.yY=function(){return this.kb().Gj};
r.prototype.Gga=function(a){if(this.kb().Ij!=a){this.kb().mT(a);this.Ka().mT(a);this.Ga()}};r.prototype.AY=function(){return this.kb().Ij};r.prototype.Cga=function(a){if(this.kb().Hj!=a){this.kb().jT(a);this.Ka().jT(a);this.Ga()}};r.prototype.zY=function(){return this.kb().Hj};r.prototype.yga=function(a){if(this.kb().Fj!=a){this.kb().hT(a);this.Ka().hT(a);this.Ga()}};r.prototype.xY=function(){return this.kb().Fj};r.prototype.zga=function(a){this.kb().hna(a)};r.prototype.Dga=function(a){this.kb().jna(a)};
r.prototype.Bga=function(a){this.kb().ina(a)};r.prototype.vga=function(a){this.kb().gna(a)};r.prototype.bG=function(a){this.Hg().Qe(a)};r.prototype.kha=function(a){this.Hg().xna(a)};r.prototype.nha=function(a){this.Hg().noa(a)};r.prototype.iha=function(a){this.Hg().fna(a)};r.prototype.mha=function(a){this.Hg().hoa(a)};r.prototype.lha=function(a){this.Hg().ji(a)};r.prototype.jha=function(a){this.Hg().uw(a)};r.prototype.sga=function(a){this.qba()!=a&&this.kb().ji(a)};r.prototype.qba=function(){return this.kb().di()};
r.prototype.oga=function(a){this.pba()!=a&&this.kb().uw(a)};r.prototype.pba=function(){return this.kb().nf};r.prototype.qga=function(a){this.kb().mna(a)};r.prototype.pga=function(a){this.kb().lna(a)};r.prototype.rga=function(a){this.kb().Ana(a)};r.prototype.Gp=function(a){if(this.ye!=a){this.ye=a;this.rg()}};r.prototype.us=function(a){if(this.Wj!=a){this.Wj=a;l.css(this.mu(),{"z-index":this.Wj?m.VU:m.UU});this.Ka().D6(this.Wj);this.rg()}};r.prototype.MP=function(a){if(this.O0!=a){this.O0=a;l.css(this.Om(),
{"z-index":this.O0?m.xV:m.wV});this.rg()}};r.prototype.Dj=function(){this.zv();this.oB()};r.prototype.Rh=function(){this.zv()};r.prototype.oP=D();r.prototype.eN=function(){this.oB();this.Ub();this.Ga();this.rc();this.rg()};r.prototype.cn=function(){this.Fy=this.Gy=this.Og=this.Pg=0;this.ZZ=n};r.prototype.oB=function(){var a=this.eb();a&&a.Lt.oB(this)};r.prototype.Ub=function(){var a=this.eb();a&&a.Lt.Ub(this)};r.prototype.Ga=function(){var a=this.eb();a&&a.Lt.Ga(this)};r.prototype.rc=function(){var a=
this.eb();a&&a.Lt.rc(this)};r.prototype.rg=function(){var a=this.eb();a&&a.Lt.rg(this)};r.prototype.PM=function(){var a=isNaN(this.pF)&&isNaN(this.Ym),b=isNaN(this.qF)&&isNaN(this.zz);return isNaN(this.Ah)&&isNaN(this.Oh)&&(a||b)?p:z};r.prototype.gZ=function(){var a=isNaN(this.rF)&&isNaN(this.Cn),b=isNaN(this.oF)&&isNaN(this.qx);return isNaN(this.Br)&&isNaN(this.Nh)&&(a||b)?p:z};r.prototype.gja=function(){this.cn();var a=this.eca();if(a){var b=this.PM(),f=this.gZ();if(b&&!f){b=this.pd();if(b!=0){this.Pg=
b*a+this.dh()+this.Ql();this.Og=b+this.Rl()+this.Wv()}}else if(!b&&f){b=this.qd();if(b!=0){this.Og=b/a+this.dh()+this.Ql();this.Pg=b+this.dh()+this.Ql()}}}if(!isNaN(this.iu)&&this.Pg<this.iu)this.Pg=this.iu;if(!isNaN(this.gu)&&this.Pg>this.gu)this.Pg=this.gu;if(!isNaN(this.hu)&&this.Og<this.hu)this.Og=this.hu;if(!isNaN(this.fu)&&this.Og>this.fu)this.Og=this.fu};r.prototype.Ha=function(){if(!this.m3){this.m3=p;var a=this.Om(),b=this.mu();a.appendChild(this.Hg().gB());a.appendChild(b);b.appendChild(this.kb().gB());
b.appendChild(this.Ka().gB())}};r.prototype.Loa=function(){this.gja();var a=this.Xl(),b=this.Wl(),f=this.Ul(),d=this.Nn();if(a!=this.Xda||b!=this.Wda||f!=this.Tda||d!=this.Sda||this.Oh!=this.Vda||this.Nh!=this.Uda){this.Xda=a;this.Wda=b;this.Tda=f;this.Sda=d;this.Vda=this.Oh;this.Uda=this.Nh;return p}return z};r.prototype.ca=function(){this.rg()};r.prototype.mh=D();r.prototype.v6=function(a,b,d,c){if(this.$!=a||this.aa!=b||this.R!=d||this.ba!=c){this.$=a;this.aa=b;this.R=d;this.ba=c;this.kb().setSize(this.R,
this.ba);this.rc();this.rg();this.trigger(new f(g.qb))}};r.prototype.ee=function(){var a=this.Om(),b=this.mu();if(this.Wc){b.style.width=this.R+"px";b.style.height=this.ba+"px";a.style.left=this.$+this.Vr+"px";a.style.top=this.aa+this.Wr+"px";a.style.width=this.R+"px";a.style.height=this.ba+"px";a.style.visibility="inherit";a.style.overflow="visible";a.style.cursor=this.ua&&this.ua.AL.A4(this.ye);if(b.clientWidth===0&&this.R!==0){a.style.width=0;a.style.width=this.R+"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.Hg().ee();this.kb().ee();this.Ka().ee();if(!this.CZ){this.CZ=p;this.uZ()}};r.prototype.uZ=function(){this.trigger(g.INIT)};r.prototype.ola=function(a){var a=a.jb().offset(),b=this.jb().offset(),f={};f.left=b.left-a.left;f.top=b.top-a.top;if(this.ua){f.left=f.left/this.ua.Nu;f.top=f.top/this.ua.Nu}return f};r.Qo=0;return r});
define("E","require,cI,hb,jd,bI,en,ie".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("en"),j=a("ie"),k=c.extend(j,function(){this.Rf={};this.un=this.mY=n;this.vp={};this.jY=p;this.B2={};j.call(this);this.saa();this.na();this.Mc("UICustomizable");this.Ub()});k.Xa={visible:p,includeInLayout:p,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:z,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};k.prototype.saa=function(){this.B2[g.Ra]=g.sa};k.prototype.na=function(){this.yi(k.Xa)};k.prototype.yi=function(a){for(var b in a){var f=a[b],d=f&&f.length;!d||typeof f=="string"?this.f(b,f):d==1?this.f(b,f[0]):d==2?this.h(b,f[0],f[1]):d==3&&this.h(b,f[0],f[1],f[2])}};k.prototype.f=function(a,b){this.Rf[a]={i:p,d:b}};k.prototype.ica=function(){var a=[],b;for(b in this.Rf)a.push(b);
return a};k.prototype.h=function(a,b,f,d){this.vp[b]||(this.vp[b]={});this.f(a,d);this.vp[b][f]=a};k.prototype.kv=function(a,b){if(b)this.mY=a;else if(this.mY!=n)return;if(this.un!=a){var f=this.vp[this.un];if(f)for(var d in f)(this.Rf[d]||(this.Rf[d]={})).i=p;this.un=a;if(f=this.vp[this.un])for(d in f)(this.Rf[d]||(this.Rf[d]={})).i=p;this.Ub()}};k.prototype.Q=function(a){if(b(a).isString())this.set(a,n);else{var d=a;for(a in d)this.set(a,d[a])}};k.prototype.set=function(a,d){var f=this.Rf[a];if(f){d==
n&&(d=f.d);if(!b.isEqual(this.get(a),d)){a=="state"&&this.kv(d,p);j.prototype.set.call(this,a,d);f.i=p;this.Ub()}}else j.prototype.set.call(this,a,d)};k.prototype.get=function(a,b){switch(a){case "actualWidth":return this.ya();case "actualHeight":return this.$a();default:var f=j.prototype.get.call(this,a);if(f===n){var d=this.Rf[a];d&&(f=d.d);f===n&&(f=b)}return f}};k.prototype.sW=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.m(a[b]))return p;return z};k.prototype.m=function(a){if((this.Rf[a]||{}).i)return p;if(this.un!==n){a=this.vp[this.un][a];return!!(this.Rf[a]||{}).i}};k.prototype.vs=function(a){(this.Rf[a]||(this.Rf[a]={})).i=p;this.Ub()};k.prototype.o=function(a){(this.Rf[a]||
(this.Rf[a]={})).i=z;if(this.un!=n)(a=this.vp[this.un][a])&&((this.Rf[a]||(this.Rf[a]={})).i=z)};k.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var f=arguments[b],d=this.un;d;){if(a=this.vp[d][f]){a=this.get(a);if(a!=n&&a!=q)return a}d=this.B2[d]}a=this.get(f);if(a!=n&&a!=q)return a}};k.prototype.VP=function(a){a.source.unbind(e.ta,this.VP,this);this.trigger(new d(e.At))};k.prototype.VM=function(a){a.source.unbind(e.ta,this.VM,this);this.trigger(new d(e.Kq))};k.prototype.ca=function(){if(this.jY)this.jY=
z;else if(this.m("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.ct(this)){b.unbind(e.ta,a?this.VM:this.VP,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.ct(this)){this.o("visible");b.bind(e.ta,a?this.VP:this.VM,this);b.play(this)}}else this.trigger(new d(a?e.At:e.Kq))}if(this.m("visible")){this.Qe(this.j("visible"));this.o("visible")}if(this.m("includeInLayout")){this.Uga(this.j("includeInLayout"));this.o("includeInLayout")}if(this.m("left")){b=
this.j("left");a=k.jj(b);b=a===n?b:n;this.aha(a);this.Wga(b);this.o("left")}if(this.m("top")){b=this.j("top");a=k.jj(b);b=a===n?b:n;this.cha(a);this.qha(b);this.o("top")}if(this.m("right")){b=this.j("right");a=k.jj(b);b=a===n?b:n;this.bha(a);this.eha(b);this.o("right")}if(this.m("bottom")){b=this.j("bottom");a=k.jj(b);b=a===n?b:n;this.Zga(a);this.Hga(b);this.o("bottom")}if(this.m("centerX")){this.Kga(this.j("centerX"));this.o("centerX")}if(this.m("centerY")){this.Lga(this.j("centerY"));this.o("centerY")}if(this.m("width")){b=
this.j("width");a=k.jj(b);b=a===n?b:n;this.dha(a);this.Sga(b);this.o("width")}if(this.m("height")){b=this.j("height");a=k.jj(b);b=a===n?b:n;this.$ga(a);this.Nga(b);this.o("height")}if(this.m("minWidth")){b=this.j("minWidth");this.Rga(b);this.o("minWidth")}if(this.m("minHeight")){b=this.j("minHeight");this.Qga(b);this.o("minHeight")}if(this.m("maxWidth")){b=this.j("maxWidth");this.Pga(b);this.o("maxWidth")}if(this.m("maxHeight")){b=this.j("maxHeight");this.Oga(b);this.o("maxHeight")}if(this.m("paddingLeft")){this.g2(this.j("paddingLeft"));
this.o("paddingLeft")}if(this.m("paddingTop")){this.i2(this.j("paddingTop"));this.o("paddingTop")}if(this.m("paddingRight")){this.h2(this.j("paddingRight"));this.o("paddingRight")}if(this.m("paddingBottom")){this.f2(this.j("paddingBottom"));this.o("paddingBottom")}a=z;if(this.m("borderRadius")){this.o("borderRadius");a=p}b=z;if(this.m("borderLeftRadius")){this.o("borderLeftRadius");b=p}var f=z;if(this.m("borderTopRadius")){this.o("borderTopRadius");f=p}var g=z;if(this.m("borderRightRadius")){this.o("borderRightRadius");
g=p}var c=z;if(this.m("borderBottomRadius")){this.o("borderBottomRadius");c=p}if(this.m("borderTopLeftRadius")||f||b||a){this.Ega(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.o("borderTopLeftRadius")}if(this.m("borderTopRightRadius")||f||g||a){this.Fga(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.o("borderTopRightRadius")}if(this.m("borderBottomLeftRadius")||c||b||a){this.wga(this.j("borderBottomLeftRadius","borderLeftRadius",
"borderBottomRadius","borderRadius"));this.o("borderBottomLeftRadius")}if(this.m("borderBottomRightRadius")||c||g||a){this.xga(this.j("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius"));this.o("borderBottomRightRadius")}a=z;if(this.m("borderSize")){this.o("borderSize");a=p}if(this.m("borderLeftSize")||a){this.Aga(this.j("borderLeftSize","borderSize"));this.o("borderLeftSize")}if(this.m("borderTopSize")||a){this.Gga(this.j("borderTopSize","borderSize"));this.o("borderTopSize")}if(this.m("borderRightSize")||
a){this.Cga(this.j("borderRightSize","borderSize"));this.o("borderRightSize")}if(this.m("borderBottomSize")||a){this.yga(this.j("borderBottomSize","borderSize"));this.o("borderBottomSize")}a=z;if(this.m("borderColor")){this.o("borderColor");a=p}if(this.m("borderLeftColor")||a){this.zga(this.j("borderLeftColor","borderColor"));this.o("borderLeftColor")}if(this.m("borderTopColor")||a){this.Dga(this.j("borderTopColor","borderColor"));this.o("borderTopColor")}if(this.m("borderRightColor")||a){this.Bga(this.j("borderRightColor",
"borderColor"));this.o("borderRightColor")}if(this.m("borderBottomColor")||a){this.vga(this.j("borderBottomColor","borderColor"));this.o("borderBottomColor")}if(this.m("shadow")){this.bG(this.j("shadow"));this.o("shadow")}if(this.m("shadowHorizontalLength")){this.kha(this.j("shadowHorizontalLength"));this.o("shadowHorizontalLength")}if(this.m("shadowVerticalLength")){this.nha(this.j("shadowVerticalLength"));this.o("shadowVerticalLength")}if(this.m("shadowBlurRadius")){this.iha(this.j("shadowBlurRadius"));
this.o("shadowBlurRadius")}if(this.m("shadowSpread")){this.mha(this.j("shadowSpread"));this.o("shadowSpread")}if(this.m("shadowColor")){this.jha(this.j("shadowColor"));this.o("shadowColor")}a=z;if(this.m("opacity")){this.ji(this.j("opacity"));this.o("opacity");a=p}if(this.m("shadowOpacity")||a){this.lha(this.j("shadowOpacity","opacity"));this.o("shadowOpacity")}if(this.m("backgroundOpacity")){this.sga(this.j("backgroundOpacity"));this.o("backgroundOpacity")}if(this.m("backgroundColor")){this.oga(this.j("backgroundColor"));
this.o("backgroundColor")}if(this.m("backgroundColorRatios")){this.qga(this.j("backgroundColorRatios"));this.o("backgroundColorRatios")}if(this.m("backgroundColorDirection")){this.pga(this.j("backgroundColorDirection"));this.o("backgroundColorDirection")}if(this.m("backgroundImageUrl")){this.rga(this.j("backgroundImageUrl"));this.o("backgroundImageUrl")}j.prototype.ca.call(this)};k.jj=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
return k});define("fX",["cI","hb","bI"],function(a,b,c){return b.extend(c,function(b,d,g){a.isNumber(d)||(d=1);a.isNumber(g)||(g=0);c.call(this,b);this.scale=d;this.rotation=g})});define("jg",["cI","hb","bI"],function(a,b,c){return b.extend(c,function(a,b,g,j,k,h,m){c.call(this,a);this.x=b;this.y=g;this.pageX=j;this.pageY=k;this.In=h;this.OR=m})});
define("d","require,jquery.mod,cI,hb,jd,en,hw,E,fX,jg,eg,r,hE".split(","),function(a){var b=a("jquery.mod"),c=a("cI"),e=a("hb"),d=a("jd"),g=a("en"),j=a("hw"),k=a("E"),h=a("fX"),m=a("jg");a("eg");var f=a("r"),a=a("hE"),l=e.extend(k,function(){k.call(this);this.Mc("UIComponent");this.AD=[];this.Ky=[];this.Baa=500;this.Lb=1;this.Ci=f.OT();this.ny=this.Um=this.hE=z;this.set("propagateClick",p)});l.Xa={autoRolledOver:z,autoPressed:z,contentOpaque:p,cursor:n,inheritedCursor:n,inheritedInteractionEnabled:p,
rollOverOpacity:[g.q,"opacity"],rollOverShadow:[g.q,"shadow"]};c.defaults(l.Xa,k.Xa);l.prototype.na=function(){this.yi(l.Xa)};l.prototype.GW=function(){this.k2(p)};l.prototype.FW=function(){this.k2(z)};l.prototype.DW=function(){this.jv(p)};l.prototype.EW=function(){this.jv(z)};l.prototype.Kz=function(a){if(this.Um!=a){this.Um=a;this.Nd()}};l.prototype.jv=function(a){if(this.ny!=a){this.ny=a;this.Nd()}};l.prototype.k2=function(a){if(this.hE!=a){this.hE=a;this.Nd()}};l.prototype.Nd=function(){this.Um?
this.kv(g.C):this.ny&&this.hE?this.kv(g.Ra):this.ny?this.kv(g.sa):this.hE?this.kv(g.q):this.kv(g.nc)};l.prototype.trigger=function(){k.prototype.trigger.apply(this,arguments)};l.prototype.f3=function(a){this.trigger(new m(d.pb,a.x,a.y,a.pageX,a.pageY))};l.prototype.g3=function(a){this.trigger(new m(d.tc,a.x,a.y,a.pageX,a.pageY))};l.prototype.h3=function(a){this.trigger(new m(d.Hb,a.x,a.y,a.pageX,a.pageY))};l.prototype.xia=function(a,b){this.trigger(new m(d.Lq,a.x,a.y,a.pageX,a.pageY,b.In,b.OR))};
l.prototype.b3=function(a){this.trigger(new m(d.U,a.x,a.y,a.pageX,a.pageY))};l.prototype.c3=function(a){this.trigger(new m(d.zU,a.x,a.y,a.pageX,a.pageY))};l.prototype.zia=function(){this.trigger(new m(d.Qc))};l.prototype.yia=function(){this.trigger(new m(d.oc))};l.prototype.via=function(){this.trigger(new m(d.Bj))};l.prototype.wia=function(){this.trigger(new m(d.mf))};l.prototype.uia=function(a,b){this.trigger(new h(d.bJ,a,b))};l.prototype.sia=function(a,b){this.trigger(new h(d.C7,a,b))};l.prototype.tia=
function(a,b){this.trigger(new h(d.aJ,a,b))};l.prototype.d3=function(a){this.trigger(new h(d.D7,n,a))};l.prototype.e3=function(a){this.trigger(new h(d.yt,a))};l.prototype.wQ=function(a){a.stopImmediatePropagation();this.eu(["touchend"]);if(this.pN(a))this.dP(a);else{this.vZ();this.n1(a,p)}};l.prototype.n1=function(a,b){var f=this.ay(a);b&&this.mia(f);this.f3(f);this.P&&this.P.n1(a,b&&this.get("propagateClick"))};l.prototype.vQ=function(a){a.preventDefault();a.stopImmediatePropagation();this.pN(a)?
this.bP(a):this.m1(a)};l.prototype.m1=function(a){var b=this.ay(a);this.lia(b);this.g3(b);this.P&&this.P.m1(a)};l.prototype.EY=function(a,b){var f=a.pageX-b.pageX,d=a.pageY-b.pageY;return Math.sqrt(f*f+d*d)};l.prototype.Pp=function(a,b){this.Ox(["touchend"]);b!==z&&a.preventDefault();a.stopImmediatePropagation();this.pN(a)?this.cP(a):this.l1(a,this.FZ());this.lx()};l.prototype.l1=function(a,b){this.h3(this.ay(a));this.kia(b);this.P&&this.P.l1(a)};l.prototype.mia=function(a){this.bind(d.oc,this.X2,
this,p);this.Bs=a};l.prototype.lia=function(a){if(this.Bs){var a=this.EY(this.Bs,a),b;if(f.Wa()){b=this.eb();b=Math.min(b.ya(),b.$a())*0.01;b=l.D8*b}else b=l.J8;a>b&&this.uQ()}};l.prototype.kia=function(a){if(this.Bs){this.b3(this.Bs);a&&this.c3(this.Bs);this.uQ()}};l.prototype.uQ=function(){if(this.Bs){this.unbind(d.oc,this.X2,this);this.Bs=n}};l.prototype.X2=function(){this.uQ()};l.prototype.oM=function(a){this.eu(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.dP(a)};
l.prototype.dP=function(a){var b=this.yM(a);this.Tu=b;this.uia(b.scale,b.rotation);this.P&&this.P.dP(a)};l.prototype.pY=function(a){a.preventDefault();a.stopImmediatePropagation();this.bP(a)};l.prototype.bP=function(a){var b=this.yM(a,this.Tu),f=b.rotation-this.Tu.rotation,d=b.scale/this.Tu.scale;this.Tu=b;this.Lb=this.Lb*d;for(this.Ad=this.Ad+f;this.Ad>180;)this.Ad=this.Ad-360;for(;this.Ad<-180;)this.Ad=this.Ad+360;this.sia(this.Lb,this.Ad);f!=0&&this.d3(this.Ad);d!=1&&this.e3(this.Lb);this.P&&this.P.bP(a)};
l.prototype.rY=function(a){this.Ox(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.cP(a)};l.prototype.cP=function(a){var b=this.yM(a),f=b.rotation-this.Tu.rotation,b=b.scale/this.Tu.scale;this.Lb=this.Lb*b;for(this.Ad=this.Ad+f;this.Ad>180;)this.Ad=this.Ad-360;for(;this.Ad<-180;)this.Ad=this.Ad+360;this.tia(this.Lb,this.Ad);f!=0&&this.d3(this.Ad);b!=1&&this.e3(this.Lb);this.P&&this.P.cP(a)};l.prototype.TN=function(a){this.eu(["mouseup"]);a.stopImmediatePropagation();
this.vZ();this.h1(a,p);r&&this.Gda(a.ctrlKey)};l.prototype.h1=function(a,b){var f=this.Gr(a);b&&this.E$(f);this.f3(f);this.P&&this.P.h1(a,b&&this.get("propagateClick"))};l.prototype.UN=function(a){a.preventDefault();a.stopImmediatePropagation();this.eb().vw(this);this.i1(a)};l.prototype.i1=function(a){var b=this.Gr(a);this.D$(b);this.g3(b);this.P&&this.P.i1(a)};l.prototype.JE=function(a){this.Ox(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.j1(a,this.FZ())};l.prototype.j1=function(a,
b){this.h3(this.Gr(a));this.C$(b);this.P&&this.P.j1(a,b)};l.prototype.E$=function(a){this.bind(d.oc,this.qX,this,p);this.jr=a};l.prototype.D$=function(a){this.jr&&this.EY(this.jr,a)>l.y8&&this.NK()};l.prototype.C$=function(a){if(this.jr){this.b3(this.jr);a&&this.c3(this.jr);this.NK()}};l.prototype.NK=function(){if(this.jr){this.unbind(d.oc,this.qX,this);this.jr=n}};l.prototype.qX=function(){this.NK()};l.prototype.c_=function(a){if(this.ua.b_){a.preventDefault();a.stopImmediatePropagation();this.k1(a)}};
l.prototype.$W=Q(z);l.prototype.k1=function(a){var b=this.Gr(a),f=this.Xba(a);this.P&&!this.$W(f.In)&&this.P.k1(a);this.xia(b,f)};l.prototype.Gr=function(a){return this.qM(a.pageX,a.pageY)};l.prototype.Xba=function(a){var a=window.event||a.originalEvent||a,b={};b.In=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.OR=a.wheelDelta?a.wheelDelta*0.01:b.In;return b};l.prototype.ay=function(a){var b=this.vM(a);return this.yfa=a=b===n?this.qM(a.pageX,a.pageY):b.length==0?this.yfa:this.qM(b[0].pageX,b[0].pageY)};
l.prototype.pN=function(a){a=this.vM(a);return!!(a&&a.length>1)};l.prototype.vM=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.qM=function(a,b){var f=this.jb().offset(),d=this.ua.Nu,g={};g.x=(a-f.left)/d;g.y=(b-f.top)/d;g.pageX=a/d;g.pageY=b/d;g.c6=a;g.d6=b;return g};l.prototype.yM=function(a,b){if(a.originalEvent.scale!==n||a.originalEvent.rotation!==n)return{scale:a.originalEvent.scale,rotation:a.originalEvent.rotation};if(b){var f=
this.LY(a);return{scale:b.scale*f/b.touchesDistance,rotation:0,touchesDistance:f}}return{scale:1,rotation:0,touchesDistance:this.LY(a)}};l.prototype.LY=function(a){var b=this.vM(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};l.prototype.eu=function(a){this.AD=c(this.AD).union(a);for(var a=this.KY(a),b=0;b<a.length;b++){var f=a[b];f.target.bind(f.name,f.handler)}};l.prototype.vZ=function(){this.Ky.push((new Date).getTime());
this.Ky=this.Ky.slice(-2)};l.prototype.FZ=function(){var a=(new Date).getTime();if(this.Ky.length>1){var b=this.Ky.slice(-2)[0];if(a-b<=this.Baa)return p}return z};l.prototype.Ox=function(a){this.AD=c(this.AD).difference(a);for(var a=this.KY(a),b=0;b<a.length;b++){var f=a[b];f.target.unbind(f.name,f.handler)}};l.prototype.KY=function(a){this.gY||(this.gY=this.uM());for(var b=[],f=0;f<a.length;f++)b=b.concat(this.gY[a[f]]);return b};l.prototype.uM=function(){var a=this.jb(),f=b(document),d=b(window);
return{touchstart:[{target:a,name:"touchstart",handler:this.qe(this.wQ)}],touchmove:[{target:a,name:"touchmove",handler:this.qe(this.vQ)}],touchend:[{target:a,name:"touchend",handler:this.qe(this.Pp,p)},{target:f,name:"touchend",handler:this.qe(this.Pp,p)},{target:a,name:"touchcancel",handler:this.qe(this.Pp,p)},{target:f,name:"touchcancel",handler:this.qe(this.Pp,p)}],gesturestart:[{target:a,name:"gesturestart",handler:this.qe(this.oM)}],gesturechange:[{target:a,name:"gesturechange",handler:this.qe(this.pY)}],
gestureend:[{target:a,name:"gestureend",handler:this.qe(this.rY)}],mousedown:[{target:a,name:"mousedown",handler:this.qe(this.TN)}],mousemove:[{target:a,name:"mousemove",handler:this.qe(this.UN)}],mouseup:[{target:a,name:"mouseup",handler:this.qe(this.JE,p)},{target:d,name:"mouseup",handler:this.qe(this.JE,p)}],mousewheel:[{target:a,name:"mousewheel",handler:this.qe(this.c_)},{target:a,name:"DOMMouseScroll",handler:this.qe(this.c_)}]}};l.prototype.qe=function(a,b){var f=this;return function(){b&&
j.fI();l.AA=l.AA+1;var d=a.apply(f,arguments);l.AA=l.AA-1;return d}};l.prototype.ca=function(){if(this.m("autoRolledOver")){this.unbind(d.Qc,this.GW,this);this.unbind(d.oc,this.FW,this);if(this.j("autoRolledOver")){this.bind(d.Qc,this.GW,this);this.bind(d.oc,this.FW,this)}this.o("autoRolledOver")}if(this.m("autoPressed")){this.unbind(d.pb,this.DW);this.unbind(d.Hb,this.EW);if(this.j("autoPressed")){this.bind(d.pb,this.DW);this.bind(d.Hb,this.EW)}this.o("autoPressed")}var a=z;if(this.m("contentOpaque")){a=
p;this.o("contentOpaque")}if(this.m("inheritedInteractionEnabled")){a=p;this.o("inheritedInteractionEnabled")}if(this.m("backgroundOpacity")||this.m("backgroundColor"))a=p;k.prototype.ca.call(this);if(a){var b=this.kb(),b=b.di()>0&&b.kr.length>0,f=this.j("contentOpaque");this.ts(this.j("inheritedInteractionEnabled")&&(f||b))}if(a||this.m("cursor")||this.m("inheritedCursor")){this.o("cursor");this.o("inheritedCursor");this.KC?this.Gp(this.j("cursor")):this.Gp(this.j("inheritedCursor"))}};l.prototype.ts=
function(a){if(this.KC!=a){(this.KC=a)?this.eu(l.hW):this.Ox(l.hW);this.lx()}};l.prototype.lx=function(){this.Om().style["pointer-events"]=this.KC?"all":"none"};l.prototype.Gda=function(a){if(a){for(var a=[],b=this;b;){a.push(b);b=b.getParent()}console.log(a.map(function(a){return a.px}))}else console.log(this.px)};l.kw=function(){return l.AA>0};l.hW=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);f.Dd()!=f.qi&&(a=a.concat(["mousedown","mousemove","mousewheel"]));return a}();
l.AA=0;l.Lpa=1E3;l.J8=10;l.D8=5;l.y8=10;var r=a.Ol("debug");return l});define("W",[],function(){return{qa:"left",Pa:"right",sc:"center",cb:"top",bb:"bottom",ac:"middle"}});define("c",[],function(){return{TT:"absolute",we:"horizontal",io:"grid",Te:"vertical"}});define("bJ",[],function(){return function(a){this.zf=a;this.height=this.width=this.y=this.x=0}});define("cu",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("bw",["W","bJ","cu"],function(a,b,c){function e(){this.sb=q;this.Yg=a.cb;this.Jg=a.qa;this.Ks=this.Qm=0}e.prototype.B6=function(a){this.Qm!=a&&(this.Qm=a,this.Bc())};e.prototype.ZH=function(a){this.Ks!=a&&(this.Ks=a,this.Bc())};e.prototype.R6=function(a){this.sb=a;this.Bc()};e.prototype.xw=function(a){this.Jg!=a&&(this.Jg=a,this.Bc())};e.prototype.zw=function(a){this.Yg!=a&&(this.Yg=a,this.Bc())};e.prototype.uB=function(){return new c};e.prototype.update=function(){var a=this.T$();this.yv(a);
this.Mga(a)};e.prototype.yv=function(a){this.lA(a);this.kA(a)};e.prototype.PD=function(){for(var a=this.dZ(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("includeInLayout")&&b.push(e)}return b};e.prototype.dZ=function(){for(var a=this.sb.Na(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("visible")&&b.push(e)}return b};e.prototype.T$=function(){for(var a=this.dZ(),g=[],c=0;c<a.length;c++)g.push(new b(a[c]));return g};e.prototype.Mga=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.zf.v6(c.x,c.y,c.width,
c.height)}};e.prototype.Bc=function(){this.sb&&this.sb.Ga()};return e});
define("cp",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.uB=function(){for(var a=new e,b=this.PD(),c=0;c<b.length;c++){var k=b[c],h=k.Ym,m=k.zz,f=0;isNaN(h)||(f+=h);isNaN(m)||(f+=m);a.width=Math.max(f+k.Xl(),a.width);a.minWidth=Math.max(f+k.Ul(),a.minWidth);h=k.Cn;m=k.qx;f=0;isNaN(h)||(f+=h);isNaN(m)||(f+=m);a.height=Math.max(f+k.Wl(),a.height);a.minHeight=Math.max(f+k.Nn(),a.minHeight)}b=this.sb.dh()+this.sb.Ql();a.width+=b;a.minWidth+=b;b=this.sb.Rl()+
this.sb.Wv();a.height+=b;a.minHeight+=b;return a};a.prototype.yv=function(a){this.lA(a);this.kA(a)};a.prototype.yv=function(a){for(var b=this.sb.qd(),c=this.sb.pd(),e=0;e<a.length;e++){var h=a[e],m=h.zf,f=m.Ym;if(isNaN(f)){var l=m.pF;isNaN(l)||(f=Math.round(0.01*l*b))}l=m.zz;if(isNaN(l)){var r=m.qF;isNaN(r)||(l=Math.round(0.01*r*b))}var r=m.yo,o=m.Ah;if(isNaN(o)){var s=m.Oh;isNaN(s)?!isNaN(f)&&!isNaN(l)&&(o=b-f-l):o=Math.round(0.01*s*b)}s=m.Cn;if(isNaN(s)){var t=m.rF;isNaN(t)||(s=Math.round(0.01*
t*c))}t=m.qx;if(isNaN(t)){var u=m.oF;isNaN(u)||(t=Math.round(0.01*u*c))}var u=m.zo,v=m.Br;if(isNaN(v)){var x=m.Nh;isNaN(x)?!isNaN(s)&&!isNaN(t)&&(v=c-s-t):v=Math.round(0.01*x*c)}h.width=isNaN(o)?m.Xl():Math.max(m.Ul(),Math.min(m.qH(),o));h.height=isNaN(v)?m.Wl():Math.max(m.Nn(),Math.min(m.pH(),v));h.x=!isNaN(f)&&!isNaN(l)?Math.round(f+0.5*(b-l-f-h.width)):isNaN(f)?isNaN(l)?isNaN(r)?0:0.5*b+r-0.5*h.width:b-l-h.width:f;h.y=!isNaN(s)&&!isNaN(t)?Math.round(s+0.5*(c-t-s-h.height)):isNaN(s)?isNaN(t)?isNaN(u)?
0:0.5*c+u-0.5*h.height:c-t-h.height:s}};return a});
define("gw",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.oy=this.py=this.qy=this.Or=this.Vm=this.Wm=this.sy=this.Xo=this.Ah=n});a.prototype.una=function(a){this.Ah!=a&&(this.Ah=a,this.Bc())};a.prototype.Fna=function(a){this.Wm!=a&&(this.Wm=a,this.Wm!=n&&(this.Xo=n),this.Bc())};a.prototype.Ena=function(a){this.Vm!=a&&(this.Vm=a,this.Vm!=n&&(this.sy=n),this.Bc())};a.prototype.Nna=function(a){this.Xo!=a&&(this.Xo=a,this.Wm!=n&&(this.Wm=n),this.Bc())};a.prototype.Mna=
function(a){this.sy!=a&&(this.sy=a,this.Vm!=n&&(this.Vm=n),this.Bc())};a.prototype.Kna=function(a){this.Or!=a&&(this.Or=a,this.Bc())};a.prototype.Jna=function(a){this.qy!=a&&(this.qy=a,this.Bc())};a.prototype.Ina=function(a){this.py!=a&&(this.py=a,this.Bc())};a.prototype.Hna=function(a){this.oy!=a&&(this.oy=a,this.Bc())};a.prototype.uB=function(){for(var a=new e,b=this.PD(),c=0,k=0;k<b.length;k++)b[k].get("includeInLayout")&&c++;if(!isNaN(this.Xo)){isNaN(this.Or)||(a.minWidth=this.Or);for(k=0;k<b.length;k++){var h=
b[k].Ul();isNaN(h)||(a.minWidth=Math.max(h,a.minWidth))}}if(isNaN(this.Wm))for(k=0;k<b.length;k++)h=b[k].Xl(),isNaN(h)||(a.width=Math.max(h,a.width));else a.width=this.Wm;if(isNaN(this.Vm))for(k=0;k<b.length;k++)h=b[k].Wl(),isNaN(h)||(a.height=Math.max(h,a.height));else a.height=this.Vm;isNaN(this.Xo)?isNaN(this.Ah)?b=Math.ceil(Math.sqrt(c)):(b=this.Ah-this.sb.dh()-this.sb.Ql(),b=Math.max(1,Math.floor((b+this.Qm)/(a.width+this.Qm)))):b=Math.max(1,Math.floor(100/this.Xo));c=Math.ceil(c/b);a.width=
a.width*b+Math.max(0,b-1)*this.Qm+this.sb.dh()+this.sb.Ql();a.minWidth=a.minWidth+this.sb.dh()+this.sb.Ql();a.height=a.height*c+Math.max(0,c-1)*this.Ks+this.sb.Rl()+this.sb.Wv();a.minHeight=0;return a};a.prototype.yv=function(a){for(var g,c,e=[],h=[],m=0;m<a.length;m++)c=a[m].zf,c.get("includeInLayout")?e.push(a[m]):h.push(a[m]);var f=e.length,l=this.sb.qd(),r=this.Qm,o;if(isNaN(this.Wm))if(isNaN(this.Xo)){for(m=a=0;m<e.length;m++)c=e[m].zf,a=Math.max(c.Ul(),c.Xl(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
Math.floor(100/this.Xo)),a=(l-(a-1)*r)/a,m=z,!isNaN(this.py)&&this.py<a&&(a=this.py,m=p),!isNaN(this.Or)&&this.Or>a&&(a=this.Or,m=p),m)a=Math.max(1,Math.floor((l+r)/(a+r))),a=(l-(a-1)*r)/a}else a=this.Wm;a=Math.max(1,a);o=Math.max(1,Math.floor(0.001+(l+r)/(a+r)));var m=o*a,s=o*(a+r)-r,t=0;if(l>=s)switch(this.Jg){case b.Pa:t=l-s;break;case b.sc:t=Math.round(0.5*(l-s));break;default:t=0}for(var l=[],s=[],u=0;u<o;u++)c=Math.round(m/(o-u)),m-=c,s.push(t),t+=c+r,l.push(c);t=this.sb.pd();u=this.Ks;if(isNaN(this.Vm))if(isNaN(this.sy)){r=
1;for(m=0;m<e.length;m++)c=e[m].zf,r=Math.max(c.Nn(),c.Wl(),r)}else{if(r=Math.max(1,100/this.sy),r=(t-(r-1)*u)/r,m=z,!isNaN(this.oy)&&this.oy<r&&(r=this.oy,m=p),!isNaN(this.qy)&&this.qy>r&&(r=this.qy,m=p),m)r=Math.max(1,Math.floor((t+u)/(r+u))),r=(t-(r-1)*u)/r}else r=this.Vm;m=Math.max(1,Math.ceil(f/o));g=m*r;var f=m*(r+u)-u,v=0;if(t>=f)switch(this.Yg){case b.bb:v=t-f;break;case b.ac:v=Math.round(0.5*(t-f))}f=[];t=[];for(c=0;c<m;c++){var x=Math.round(g/(m-c));g-=x;t.push(v);v+=x+u;f.push(x)}for(m=
0;m<e.length;m++)g=e[m],u=m%o,c=Math.floor(m/o),g.x=s[u],g.width=l[u],g.y=t[c],g.height=f[c];for(m=0;m<h.length;m++)g=h[m],g.x=0,g.width=Math.round(a),g.y=0,g.height=Math.round(r)};return a});
define("gY",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.uB=function(){for(var a=new e,b=this.PD(),c=0;c<b.length;c++){var k=b[c];a.height=Math.max(k.Wl(),a.height);a.minHeight=Math.max(k.Nn(),a.minHeight);a.width+=k.Xl();a.minWidth+=k.Ul()}b=Math.max(0,b.length-1)*this.Qm+this.sb.dh()+this.sb.Ql();a.width+=b;a.minWidth+=b;b=this.sb.Rl()+this.sb.Wv();a.height+=b;a.minHeight+=b;return a};a.prototype.yv=function(a){this.lA(a);this.kA(a)};a.prototype.lA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].zf.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Qm,e=this.sb.qd()-c,h=this.sb.pd(),b=e,m=0,f=[],c=0;c<a.length;c++){var l=a[c],r=l.zf,o=r.Nh;l.height=isNaN(o)?r.Wl():Math.max(r.Nn(),Math.min(r.pH(),Math.round(0.01*h*o)));o=r.Oh;isNaN(o)?(l.width=r.Xl(),b-=l.width):r.get("includeInLayout")?(m+=o,f.push(l)):l.width=Math.max(r.Ul(),Math.min(r.qH(),Math.round(0.01*e*o)))}c=Math.max(0,b-0.01*e*m);b-=c;do{a=z;e=Math.max(0,0<m?b/m:0);h=[];for(c=m=0;c<f.length;c++){var l=
f[c],r=l.zf,o=Math.round(r.Oh*e),s=r.Ul(),t=r.qH();o<s?(l.width=s,b-=l.width,a=p):o>t?(l.width=t,b-=l.width,a=p):(m+=r.Oh,h.push(l))}f=h}while(a);for(c=0;c<f.length;c++)l=f[c],r=l.zf,e=Math.max(0,0<m?b/m:0),l.width=Math.round(r.Oh*e),b-=l.width,m-=r.Oh};a.prototype.kA=function(a){for(var g=this.Qm,c=this.sb.qd(),e=this.sb.pd(),h=0,m=0,f=0;f<a.length;f++){var l=a[f];l.zf.get("includeInLayout")&&(h+=a[f].width,m++)}h+=g*(m-1);if(c>=h)switch(this.Jg){case b.Pa:c-=h;break;case b.sc:c=Math.round(0.5*(c-
h));break;default:c=0}else c=0;for(f=0;f<a.length;f++)if(l=a[f],l.zf.get("includeInLayout")){if(e>=l.height)switch(this.Yg){case b.bb:l.y=e-l.height;break;case b.ac:l.y=Math.round(0.5*(e-l.height));break;default:l.y=0}else l.y=0;l.x=c;c+=l.width+g}else l.x=0,l.y=0};return a});
define("cb",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.uB=function(){for(var a=new e,b=this.PD(),c=0;c<b.length;c++){var k=b[c];a.width=Math.max(k.Xl(),a.width);a.minWidth=Math.max(k.Ul(),a.minWidth);a.height+=k.Wl();a.minHeight+=k.Nn()}b=Math.max(0,b.length-1)*this.Ks+this.sb.Rl()+this.sb.Wv();a.height+=b;a.minHeight+=b;b=this.sb.dh()+this.sb.Ql();a.width+=b;a.minWidth+=b;return a};a.prototype.yv=function(a){this.lA(a);this.kA(a)};a.prototype.lA=function(a){for(var b=
0,c=0;c<a.length;c++)a[c].zf.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Ks,e=this.sb.qd(),h=this.sb.pd()-c,b=h,m=0,f=[],c=0;c<a.length;c++){var l=a[c],r=l.zf,o=r.Oh;l.width=isNaN(o)?r.Xl():Math.max(r.Ul(),Math.min(r.qH(),Math.round(0.01*e*o)));o=r.Nh;isNaN(o)?(l.height=r.Wl(),b-=l.height):r.get("includeInLayout")?(m+=o,f.push(l)):l.height=Math.max(r.Nn(),Math.min(r.pH(),Math.round(0.01*h*o)))}c=Math.max(0,b-0.01*h*m);b-=c;do{a=z;e=Math.max(0,0<m?b/m:0);h=[];for(c=m=0;c<f.length;c++){var l=
f[c],r=l.zf,o=Math.round(r.Nh*e),s=r.Nn(),t=r.pH();o<s?(l.height=s,b-=l.height,a=p):o>t?(l.height=t,b-=l.height,a=p):(m+=r.Nh,h.push(l))}f=h}while(a);for(c=0;c<f.length;c++)l=f[c],r=l.zf,e=Math.max(0,0<m?b/m:0),l.height=Math.round(r.Nh*e),b-=l.height,m-=r.Nh};a.prototype.kA=function(a){for(var g=this.Ks,c=this.sb.qd(),e=this.sb.pd(),h=0,m=0,f=0;f<a.length;f++){var l=a[f];l.zf.get("includeInLayout")&&(h+=l.height,l.width>c&&(c=l.width),m++)}h+=g*(m-1);if(e>=h)switch(this.Yg){case b.bb:e-=h;break;case b.ac:e=
Math.round(0.5*(e-h));break;default:e=0}else e=0;for(f=0;f<a.length;f++)if(l=a[f],l.zf.get("includeInLayout")){switch(this.Jg){case b.Pa:l.x=c-l.width;break;case b.sc:l.x=Math.round(0.5*(c-l.width));break;default:l.x=0}l.y=e;e+=l.height+g}else l.x=0,l.y=0};return a});
define("m","hb,cI,d,E,W,bS,c,cp,gw,gY,cb".split(","),function(a,b,c,e,d,g,j,k,h,m,f){var l=a.extend(c,function(){c.call(this);this.Mc("BaseContainer");this.Di=q;this.Pb=[];this.Jj=[];this.Hx=g.aU;this.set("contentOpaque",z)});l.Xa={children:[[]],childrenInteractionEnabled:p,gap:0,horizontalAlign:d.qa,itemHeight:n,itemMaxHeight:n,itemMaxWidth:n,itemMinHeight:n,itemMinWidth:n,itemWidth:n,layout:j.TT,verticalAlign:d.cb};b.defaults(l.Xa,c.Xa);l.prototype.na=function(){this.yi(l.Xa)};l.prototype.set=function(a,
b){a=="children"?this.lj(b):a=="creationPolicy"?this.nna(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Na():a=="creationPolicy"?this.Hx:c.prototype.get.call(this,a,b)};l.prototype.nna=function(a){if(this.Hx!=a){this.Hx=a;this.EQ()}};l.prototype.lj=function(a){for(var f=this.Na(),a=a||[],g=b(f).difference(a),c=0;c<g.length;c++)this.removeChild(g[c]);f=b(a).difference(f);for(c=0;c<f.length;c++)this.pa(f[c]);for(c=0;c<a.length;c++)this.hi(a[c],c)};l.prototype.Na=
P("Pb");l.prototype.pa=function(a){a.getParent()&&a.getParent().removeChild(a);this.Pb.push(a);a.P=this;this.vW(a);a.MP(this.Wj);this.Jj.push(a);this.EQ();a.Dj()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.Rh();a.P=q;if(b(this.Jj).contains(a))this.Jj=b.without(this.Jj,a);else{a.jb().detach();a.Fp(q);this.Ga();this.rc()}this.Pb=b.without(this.Pb,a);a.oP()}};l.prototype.k6=function(){b(this.Na()).forEach(function(a){this.removeChild(a)})};l.prototype.dB=function(a){return b(this.Pb).indexOf(a)};
l.prototype.hi=function(a,f){var c=this.dB(a);c<0&&i("Can't set index. This is not a child of this container");var g=this.Pb.slice();g.splice(c,1);g.splice(f,0,a);if(!b.isEqual(this.Pb,g)){this.Pb=g;if(!b(this.Jj).contains(a)){c=this.dB(a);a.jb().detach();for(var d=g=q,h=c-1;h>=0&&!g;h--)b(this.Jj).contains(this.Pb[h])||(g=this.Pb[h]);for(h=c+1;h<this.Pb.length&&!d&&!g;h++)b(this.Jj).contains(this.Pb[h])||(d=this.Pb[h]);g?a.jb().insertAfter(g.jb()):d?a.jb().insertBefore(d.jb()):this.Ka().e4(a.Om());
this.rc()}}};l.prototype.ts=function(a){c.prototype.ts.call(this,a);this.q3()};l.prototype.q3=function(){b(this.Pb).forEach(function(a){this.vW(a)},this)};l.prototype.vW=function(a){a.set("inheritedInteractionEnabled",this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.lx=function(){c.prototype.lx.call(this);this.Pb.forEach(function(a){a.lx()})};l.prototype.us=function(a){c.prototype.us.call(this,a);b(this.Pb).forEach(function(a){a.MP(this.Wj)},this)};l.prototype.jK=
function(a){c.prototype.jK.call(this,a);b(this.Na()).forEach(function(a){a.zv()});this.EQ()};l.prototype.Fp=function(a){c.prototype.Fp.call(this,a);b(this.Na()).forEach(function(f){b(this.Jj).contains(f)||f.Fp(a)},this)};l.prototype.EQ=function(){if((this.Hx==g.aU&&this.Vo||this.Hx==g.Pw)&&this.Jj.length>0){b(this.Jj).forEach(function(a){this.Ka().e4(a.Om());a.Fp(this.eb())},this);this.Jj=[];this.Ga();this.rc()}};l.prototype.LB=function(a){if(this.Di!=a){this.Di&&this.Di.R6(q);(this.Di=a)&&this.Di.R6(this)}};
l.prototype.ca=function(){var a=z,b=this.j("layout");if(this.m("layout")){switch(b){case j.io:this.LB(new h);break;case j.we:this.LB(new m);break;case j.Te:this.LB(new f);break;default:this.LB(new k)}this.o("layout");a=p}var g=this.Di;if(this.m("horizontalAlign")||a){g.xw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")||a){g.zw(this.j("verticalAlign"));this.o("verticalAlign")}if(this.m("gap")||a){if(b==j.io){g.B6(this.j("gap"));g.ZH(this.j("gap"))}else b==j.we?g.B6(this.j("gap")):
b==j.Te&&g.ZH(this.j("gap"));this.o("gap")}if(b==j.io){if(this.m("itemWidth")||a){var d=this.j("itemWidth"),l=e.jj(d);l!==n?g.Nna(l):g.Fna(d);this.o("itemWidth")}if(this.m("itemHeight")||a){d=this.j("itemHeight");l=e.jj(d);l!==n?g.Mna(l):g.Ena(d);this.o("itemHeight")}if(this.m("itemMinWidth")){g.Kna(this.j("itemMinWidth"));this.o("itemMinWidth")}if(this.m("itemMinHeight")){g.Jna(this.j("itemMinHeight"));this.o("itemMinHeight")}if(this.m("itemMaxWidth")){g.Ina(this.j("itemMaxWidth"));this.o("itemMaxWidth")}if(this.m("itemMaxHeight")){g.Hna(this.j("itemMaxHeight"));
this.o("itemMaxHeight")}}if(this.m("childrenInteractionEnabled")){this.o("childrenInteractionEnabled");this.q3()}this.Ta(["cursor"],{cursor:"inheritedCursor"},this.Pb,p,z);c.prototype.ca.call(this);b==j.io&&g.una(this.Ah)};l.prototype.Ta=function(a,b,f,g,c){for(var d=0;d<a.length;d++){var h=a[d];if(!g||this.m(h)){for(var l=0;l<f.length;l++)f[l].set(b[h]?b[h]:h,this.j(h));c&&this.o(h)}}};l.prototype.cn=function(){if(this.Di){var a=this.Di.uB();this.Pg=a.width;this.Og=a.height;this.Gy=a.minWidth;this.Fy=
a.minHeight}else c.prototype.cn.call(this)};l.prototype.mh=function(){this.Di&&this.Di.update(this);c.prototype.mh.call(this)};return l});
define("jf",["jquery.mod","hb","jq","eg"],function(a,b,c,e){function d(b,d){this.bu=b;this.nf="#000000";this.zb=0.5;this.R=10;this.dp=5;this.yc=d;this.mD=this.vO=this.Vc=0;this.rW=this.Wc=this.QC=z;this.Y=p;this.Xt=document.createElement("div");this.Xt.setAttribute("tdvlayer","scrollbar");this.Bx=a(this.Xt);e.css(this.Xt,{position:"absolute","z-index":c.fV});this.nx=document.createElement("div");this.pK=a(this.nx);e.css(this.nx,{position:"absolute",left:0,top:0});this.Bx.append(this.pK)}d.prototype.Fc=
function(){return this.Bx.width()};d.prototype.rd=function(){return this.Bx.height()};d.prototype.Oa=function(a){this.Vc!=a&&(this.Vc=a,this.I1(),this.Y=p)};d.prototype.bw=P("Vc");d.prototype.setSize=function(a,b){this.vO=a;this.mD=b;this.I1();this.Y=p};d.prototype.Qe=function(a){this.Wc!=a&&(this.Wc=a,this.Y=p)};d.prototype.u6=function(a){this.QC!=a&&(this.QC=a,this.Y=p)};d.prototype.uw=function(a){this.nf!=a&&(this.nf=a,this.Y=p)};d.prototype.ji=function(a){this.zb!=a&&(this.zb=a,this.Y=p)};d.prototype.SB=
function(a){this.R!=a&&(this.R=a,this.Y=p)};d.prototype.G6=function(a){this.dp!=a&&(this.dp=a,this.Y=p)};d.prototype.ee=function(){this.Y&&(this.rW!=this.Wc&&(this.Wc?this.yc.append(this.Bx):this.Bx.detach(),this.rW=this.Wc),this.M(),this.Y=z)};d.prototype.M=function(){var a=Math.round(100*this.vO/this.mD),b=Math.round(100*this.Vc/this.mD);e.css(this.Xt,{filter:"alpha(opacity="+Math.round(100*this.zb)+")",opacity:this.zb,display:this.Wc?"block":"none"});e.css(this.nx,{backgroundColor:this.nf,"border-radius":Math.floor(this.R/
2)+"px"});this.bu==d.we?(e.css(this.Xt,{left:this.dp+"px",right:(this.QC?this.R:0)+this.dp+"px",height:this.R+"px",bottom:this.dp+"px"}),e.css(this.nx,{left:b+"%",width:a+"%",height:this.R+"px"})):(e.css(this.Xt,{top:this.dp+"px",right:this.dp+"px",width:this.R+"px",bottom:(this.QC?this.R:0)+this.dp+"px"}),e.css(this.nx,{top:b+"%",width:this.R+"px",height:a+"%"}))};d.prototype.I1=function(){var a=this.mD-this.vO;0>this.Vc?this.Vc=0:this.Vc>a&&(this.Vc=a)};d.we="horizontal";d.Te="vertical";return d});
define("gi",["hb","jf"],function(a,b){return a.extend(b,function(a){b.call(this,b.we,a)})});define("cR",["hb","jf"],function(a,b){return a.extend(b,function(a){b.call(this,b.Te,a)})});
define("R",["require"],function(){function a(){}function b(c){var f=j;j=[];a.rS=p;var g=c-a.Pd,g=1<g?100>g?g:100:1;a.Pd=c;for(c=0;c<f.length;c++){var h=f[c];h.callback.call(h.context,g)}a.rS=z;k=0<j.length?d(b):n}var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame,e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||
window.msCancelAnimationFrame,d=c,g=e,j=[],k=n,h=z;a.za=function(a,f){for(var c=0;c<j.length;c++){var g=j[c];if(g.callback==a&&g.context==f)return}j.push({callback:a,context:f});!h&&k===n&&(k=d(b))};a.yT=function(a){h!=a&&((h=a)?k!==n&&(g(k),k=n):0<j.length&&(k=d(b)))};a.XH=function(a,f){a=a||c;f=f||e;d!=a&&(k!==n&&(g(k),k=a(b)),d=a,g=f)};a.cT=function(){a.XH(q,q)};a.Pd=(new Date).getTime();a.rS=z;return a});
define("iS",[],function(){function a(a){var b={SR:function(b,c,d,f){d=0>=d?0:d>=f?1:d/f;0.5>d?d=Math.pow(2*d,a):(d=1-Math.pow(1-(2*d-1),a),d+=1);return b+(c-b)*0.5*d}};b.JS=e(a);return b}function b(a){var b={SR:function(b,c,d,f){return b+(c-b)*(1-Math.pow(1-(0>=d?0:d>=f?1:d/f),a))}};b.JS=e(a);return b}function c(a){var b={SR:function(b,c,d,f){return b+(c-b)*Math.pow(0>=d?0:d>=f?1:d/f,a)}};b.JS=e(a);return b}function e(a){return function(b,c,d){b=Math.abs(c-b);return 1>b/d?0:1/(1-Math.pow((b-d)/b,
1/a))}}function d(g,d,e){this.gg=q;switch(g){case "quad_in":this.gg=c(2);break;case "quad_out":this.gg=b(2);break;case "quad_in_out":this.gg=a(2);break;case "cubic_in":this.gg=c(3);break;case "cubic_out":this.gg=b(3);break;case "cubic_in_out":this.gg=a(3);break;case "quart_in":this.gg=c(4);break;case "quart_out":this.gg=b(4);break;case "quart_in_out":this.gg=a(4);break;case "quint_in":this.gg=c(5);break;case "quint_out":this.gg=b(5);break;case "quint_in_out":this.gg=a(5);break;default:this.gg=c(1)}this.Im=
d.slice();this.Tb=0;this.Cb=this.Io(d,e);this.GL={};for(g=0;g<this.Im.length;g++)this.GL[this.Im[g].name]=d[g].aB}d.prototype.Pka=function(){for(var a=0;a<this.Im.length;a++)if("hfov"==this.Im[a].name)return this.Im[a];return q};d.prototype.ab=function(a){return this.GL[a]};d.prototype.Cd=function(){return this.Tb>=this.Cb};d.prototype.Mn=P("Cb");d.prototype.setTime=function(a){this.Tb=Math.min(Math.max(0,a),this.Cb);for(a=0;a<this.Im.length;a++){var b=this.Im[a];this.GL[b.name]=this.gg.SR(b.aB,b.bI,
this.Tb,this.Cb)}};d.prototype.Ua=function(a){this.setTime(this.Tb+a)};d.prototype.Io=function(a,b,c){for(var d=[],e=0;e<this.Im.length;e++){var f=this.Im[e],l=c?c:f.mma;l!==n&&0<l&&d.push(this.gg.JS(f.aB,f.bI,l/1E3))}if(0<d.length){a=d[0];for(e=1;e<d.length;e++)a=Math.max(a,d[e]);return 0<b?Math.max(b,a):a}return 0<b?b:this.Io(a,b,1E3)};return d});define("bh",[],function(){return function(a,b,c,e){this.name=a;this.aB=b;this.bI=c;this.mma=e}});
define("iO","require,cI,hb,jd,bI,eO,dy,m,gi,cR,R,iS,bh".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("eO"),j=a("dy"),k=a("m"),h=a("gi"),m=a("cR"),f=a("R"),l=a("iS"),r=a("bh"),o=c.extend(k,function(){k.call(this);this.Mc("Container");this.Eb=this.Xb=this.xd=this.$d=this.Ja=this.Ba=this.EX=this.DX=0;this.kN=this.qN=this.Rg=this.Qg=z;this.yX=0;this.WK=this.VK=n;this.YK=this.XK=0;this.Dp=q;this.bF=g.tU;this.No=z;this.TD=q;this.Bl=z;this.LG=q});o.Xa={overflow:g.Pq,scrollBarColor:"#000000",
scrollBarWidth:10,scrollBarMargin:5,scrollBarOpacity:0.5,scrollBarVisible:j.Qc};b.defaults(o.Xa,k.Xa);o.prototype.Qj=function(){this.TD=new h(this.DM());this.TD.pK.bind("mousedown touchstart",b.bind(this.xca,this));this.Qj=P("TD");return this.TD};o.prototype.Sj=function(){this.LG=new m(this.DM());this.LG.pK.bind("mousedown touchstart",b.bind(this.tja,this));this.Sj=P("LG");return this.LG};o.prototype.scrollIntoView=function(a){var b=a.$,b=Math.min(b,Math.max(b+a.ya()-this.$d,this.Xb)),f=a.aa,a=Math.min(f,
Math.max(f+a.$a()-this.xd,this.Eb));this.scrollTo(b,a)};o.prototype.scrollTo=function(a,b){var f=this.Xb;a>this.Xb?this.$C()&&(f=Math.min(a,this.Ba-this.$d)):a<this.Xb&&this.ZC()&&(f=Math.max(a,0));var c=this.Eb;b>this.Eb?this.YC()&&(c=Math.min(b,this.Ja-this.xd)):b<this.Eb&&this.aD()&&(c=Math.max(b,0));this.Uz(f,c)};o.prototype.r6=function(){if(this.YC()){for(var a=Math.max(0,this.Ja-this.xd),b=Math.min(a,this.Eb+this.xd*0.5),f=a=Math.min(a,this.Eb+this.xd),c=this.Na().slice(),d=c.shift();c.length;d=
c.shift())if(d.get("visible")){var g=d.aa;g+d.$a()>this.Eb+this.xd&&g>=b&&g<a&&g<f&&(f=g)}this.Uz(this.Xb,f)}};o.prototype.YC=function(){return this.XW()&&this.Eb+this.xd<this.Ja};o.prototype.t6=function(){if(this.aD()){for(var a=Math.max(0,this.Eb-this.xd),b=Math.max(0,this.Eb-this.xd*0.5),f=a,c=this.Na().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.aa,d=g+d.$a();g<this.Eb&&d>=a+this.xd&&d<b+this.xd&&d>f+this.xd&&(f=d-this.xd)}this.Uz(this.Xb,f)}};o.prototype.aD=function(){return this.XW()&&
this.Eb>0};o.prototype.s6=function(){if(this.$C()){for(var a=Math.max(0,this.Ba-this.$d),b=Math.min(a,this.Xb+this.$d*0.5),f=a=Math.min(a,this.Xb+this.$d),c=this.Na().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.$;g+d.ya()>this.Xb+this.$d&&g>=b&&g<a&&g<f&&(f=g)}this.Uz(f,this.Eb)}};o.prototype.$C=function(){return this.WW()&&this.Xb+this.$d<this.Ba};o.prototype.scrollLeft=function(){if(this.ZC()){for(var a=Math.max(0,this.Xb-this.$d),b=Math.max(0,this.Xb-this.$d*0.5),f=a,
c=this.Na().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.$,d=g+d.ya();g<this.Xb&&d>=a+this.$d&&d<b+this.$d&&d>f+this.$d&&(f=d-this.$d)}this.Uz(f,this.Eb)}};o.prototype.ZC=function(){return this.WW()&&this.Xb>0};o.prototype.Uz=function(a,b){this.Qg=this.Xb!=a;this.Rg=this.Eb!=b;this.zl();this.Dp=new l("cubic_in_out",[new r("hScrollPosition",this.Xb,a),new r("vScrollPosition",this.Eb,b)],500);f.za(this.bK,this)};o.prototype.XW=function(){return this.Bl&&this.xd<this.Ja};o.prototype.WW=
function(){return this.No&&this.$d<this.Ba};o.prototype.na=function(){this.yi(o.Xa)};o.prototype.N$=function(){this.qN=p;this.zl()};o.prototype.M$=function(){this.qN=z;this.zl()};o.prototype.xca=function(){this.Qg=p};o.prototype.tja=function(){this.Rg=p};o.prototype.J$=function(a){if(this.Qg||this.Rg){this.eb().bind(e.tc,this.wX,this);this.eb().bind(e.Hb,this.xX,this);this.Ao=a.pageX;this.Bo=a.pageY;this.zl()}else this.zX(a)};o.prototype.wX=function(a){if(this.Qg){var b=(a.pageX-this.Ao)*this.Ba/
this.Qj().Fc();this.Xb=this.Xb+b}else if(this.Rg){b=(a.pageY-this.Bo)*this.Ja/this.Sj().rd();this.Eb=this.Eb+b}this.Ao=a.pageX;this.Bo=a.pageY;this.Fn()};o.prototype.xX=function(){this.eb().unbind(e.tc,this.wX,this);this.eb().unbind(e.Hb,this.xX,this);this.Rg=this.Qg=z;this.zl()};o.prototype.$W=function(a){return this.Bl&&(a>0&&this.Eb>0||a<0&&this.Eb<this.Ja-this.xd)?p:z};o.prototype.L$=function(a){if(this.Bl){this.Eb=this.Eb-a.In*this.xd*0.1;this.Fn()}};o.prototype.zX=function(a){if(this.No||this.Bl){this.eb().bind(e.tc,
this.AX,this);this.eb().bind(e.Hb,this.BX,this);this.kN=p;this.Ao=a.pageX;this.Bo=a.pageY;this.zl();this.Vca()}};o.prototype.AX=function(a){var b=a.pageX-this.Ao,f=a.pageY-this.Bo;if(!this.Qg&&!this.Rg&&b*b+f*f>25){this.Qg=this.No;this.Rg=this.Bl;this.zl()}if(this.Qg||this.Rg){this.Xb=this.Xb-b;this.Eb=this.Eb-f;this.Ao=a.pageX;this.Bo=a.pageY;this.Fn();this.Qia()}};o.prototype.BX=function(){this.eb().unbind(e.tc,this.AX,this);this.eb().unbind(e.Hb,this.BX,this);this.kN=z;this.zl();var a=Math.max(Math.abs(this.XK/
0.001),Math.abs(this.YK/0.001));this.Dp=new l("linear",[new r("hScrollPosition",this.Xb,this.Xb-0.5*this.XK*a),new r("vScrollPosition",this.Eb,this.Eb-0.5*this.YK*a)],a);f.za(this.bK,this)};o.prototype.Vca=function(){this.VK=this.Ao;this.WK=this.Bo};o.prototype.Qia=function(){var a=(new Date).getTime(),b=a-this.yX;if(b>10){this.yX=a;this.XK=(this.Ao-this.VK)/b;this.YK=(this.Bo-this.WK)/b;this.VK=this.Ao;this.WK=this.Bo}};o.prototype.bK=function(a){if(this.Dp&&!this.Dp.Cd()&&(this.Qg||this.Rg)){this.Dp.Ua(a);
if(this.Qg){this.Xb=this.Dp.ab("hScrollPosition");if(this.Xb<0||this.Xb>this.Ba-this.$d)this.Qg=z}if(this.Rg){this.Eb=this.Dp.ab("vScrollPosition");if(this.Eb<0||this.Eb>this.Ja-this.xd)this.Rg=z}this.Fn();f.za(this.bK,this)}else{this.Rg=this.Qg=z;this.Dp=q;this.zl()}};o.prototype.Fn=function(){this.Xb=this.No?Math.max(0,Math.min(this.Ba-this.$d,this.Xb)):0;this.Eb=this.Bl?Math.max(0,Math.min(this.Ja-this.xd,this.Eb)):0;this.Qj().Oa(this.Xb);this.Sj().Oa(this.Eb);this.Ka().yna(this.Xb);this.Ka().ooa(this.Eb);
this.rg();if(this.a1!=this.Xb||this.b1!=this.Eb){this.a1!==n&&this.b1!==n&&this.trigger(new d(e.Tk));this.a1=this.Xb;this.b1=this.Eb}};o.prototype.zl=function(){var a;a=this.get("scrollBarVisible")==j.ALWAYS?p:this.Ci?this.Qg||this.Rg||this.kN:this.Qg||this.Rg||this.qN;this.Qj().Qe(this.No&&a);this.Sj().Qe(this.Bl&&a);this.rg()};o.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.K$){this.K$=p;if(this.Ci)this.bind(e.pb,this.zX,this);else{this.bind(e.pb,this.J$,this);this.bind(e.Qc,this.N$,
this);this.bind(e.oc,this.M$,this);this.bind(e.Lq,this.L$,this)}}};o.prototype.ca=function(){if(this.m("overflow")){this.bF=this.j("overflow");this.o("overflow");this.rc()}if(this.m("scrollBarColor")){this.Qj().uw(this.j("scrollBarColor"));this.Sj().uw(this.j("scrollBarColor"));this.o("scrollBarColor")}if(this.m("scrollBarWidth")){this.Qj().SB(this.j("scrollBarWidth"));this.Sj().SB(this.j("scrollBarWidth"));this.o("scrollBarWidth")}if(this.m("scrollBarMargin")){this.Qj().G6(this.j("scrollBarMargin"));
this.Sj().G6(this.j("scrollBarMargin"));this.o("scrollBarMargin")}if(this.m("scrollBarOpacity")){this.Qj().ji(this.j("scrollBarOpacity"));this.Sj().ji(this.j("scrollBarOpacity"));this.o("scrollBarOpacity")}k.prototype.ca.call(this)};o.prototype.mh=function(){k.prototype.mh.call(this);this.Sia();this.dja();this.bja();this.zl();this.rg()};o.prototype.Sia=function(){for(var a=0,b=0,f=0,c=0,d=this.Na(),g=0;g<d.length;g++){var h=d[g];if(h.get("visible")){c=Math.min(c,h.$);f=Math.min(f,h.aa);a=Math.max(a,
h.$+h.ya());b=Math.max(b,h.aa+h.$a())}}this.DX=c;this.EX=f;this.Ba=a;this.Ja=b};o.prototype.dja=function(){if(this.bF==g.Pq){this.$d=this.Ba;this.xd=this.Ja}else{this.$d=Math.min(this.qd(),this.Ba);this.xd=Math.min(this.pd(),this.Ja)}};o.prototype.bja=function(){var a=this.DX<0||this.EX<0||this.Ba>this.$d||this.Ja>this.xd;if(this.bF==g.Tk){this.No=this.$d<this.Ba;var b=(this.Bl=this.xd<this.Ja)&&this.No;this.Qj().setSize(this.$d,this.Ba);this.Qj().u6(b);this.Sj().setSize(this.xd,this.Ja);this.Sj().u6(b);
this.Ka().yw(!a)}else{this.Bl=this.No=z;this.bF==g.Pq?this.Ka().yw(p):this.Ka().yw(!a)}this.Fn()};o.prototype.ee=function(){this.Sj().ee();this.Qj().ee();k.prototype.ee.call(this)};return o});define("I",[],function(){return{Te:"vertical",we:"horizontal"}});define("cX",["require"],function(){return{Vp:function(a){return!a?"":a.split(",").map(function(a){return a.trim()}).filter(function(a){return""!=a}).map(function(a){"'"!=a[0]&&'"'!=a[0]&&(a="'"+a+"'");return a}).join(", ")}}});
define("fB","require,jquery.mod,cI,hb,W,I,d,eg,cX".split(","),function(a){function b(a){var b=a.Uh.width(),c=a.Uh.height();a.get("fontStyle")=="italic"&&(b=b+c*1/5);return Math.round(b)}var c=a("jquery.mod"),e=a("cI"),d=a("hb"),g=a("W"),j=a("I"),k=a("d");a("eg");var h=a("cX"),a=d.extend(k,function(){k.call(this);this.Mc("Label");this.Uh=this.Rz=q});a.Xa={};a.prototype.na=function(){k.prototype.na.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");
this.f("horizontalAlign",g.qa);this.f("verticalAlign",g.ac);this.f("direction",j.we);this.f("text","");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.Uh){this.Rz=document.createElement("span");this.Uh=c(this.Rz);this.ZP({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var a=this.Ka();a.yw(z);a.append(this.Uh)}};a.prototype.cn=function(){k.prototype.cn.call(this);var a=this.Ka();this.Pg=b(this)+a.Zv()+a.cw();this.Og=this.Uh.height()+a.dw()+a.Tv();m(this)};a.prototype.ca=function(){var a,b={};if(this.m("direction")||this.m("text")){switch(this.j("direction")){case j.Te:b["line-height"]="100%";this.Uh.html(this.Uh.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]="normal";this.Uh.text(this.j("text"));
this.Uh.html(this.Uh.html().split(" ").join(" "))}this.o("direction");this.o("text");setTimeout(function(){this.Ga();this.rc()}.bind(this),0)}if(this.m("fontFamily")){a=this.j("fontFamily");e(a).isString()||(a="");b.fontFamily=h.Vp(a);this.o("fontFamily");this.Ga();this.rc()}if(this.m("fontSize")){a=this.j("fontSize");e(a).isNumber()?a=a+"px":e(a).isString()||(a="");b.fontSize=a;this.o("fontSize");this.Ga();this.rc()}if(this.m("fontColor")){a=this.j("fontColor");e(a).isString()||(a="");b.color=
a;this.o("fontColor")}if(this.m("fontWeight")){a=this.j("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"}b.fontWeight=a;this.o("fontWeight");this.Ga();this.rc()}if(this.m("fontStyle")){a=this.j("fontStyle");switch(a){case "italic":case "normal":break;default:a="normal"}b.fontStyle=a;this.o("fontStyle");this.Ga();this.rc()}if(this.m("textDecoration")){a=
this.j("textDecoration");switch(a){case "underline":case "overline":case "line-through":case "none":break;default:a="none"}b.textDecoration=a;this.o("textDecoration");this.Ga();this.rc()}if(this.m("horizontalAlign")){this.rc();this.o("horizontalAlign")}if(this.m("verticalAlign")){this.rc();this.o("verticalAlign")}a=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(e(a).any(function(a){return this.m(a)},this)){var c={};e(a).each(function(a){c[a]=
this.j(a);this.o(a)},this);b["-moz-text-shadow"]=b["-webkit-text-shadow"]=b["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.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(c.textShadowHorizontalLength,
-c.textShadowVerticalLength)/Math.PI)*45;b.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*c.textShadowOpacity).toString(16)).slice(-2)+c.textShadowColor.substr(1,6)+",direction="+a+")";this.Ka().yw((c.textShadowHorizontalLength>0||c.textShadowVerticalLength>0||c.textShadowBlurRadius>0)&&c.textShadowOpacity>0)}this.ZP(b);k.prototype.ca.call(this)};a.prototype.mh=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case g.qa:a.left=
"0";break;case g.Pa:this.ee();a.left=this.qd()-b(this)+"px";break;case g.sc:this.ee();a.left=Math.max(0,Math.round((this.qd()-b(this))*0.5))+"px"}switch(this.j("verticalAlign")){case g.cb:a.top="0";break;case g.bb:this.ee();a.top=this.pd()-this.Rz.clientHeight+"px";break;case g.ac:this.ee();a.top=Math.max(0,Math.round((this.pd()-this.Rz.clientHeight)*0.5))+"px"}this.ZP(a)};a.prototype.ZP=function(a){var b=this.Rz.style,c;for(c in a)b[c]=a[c]};var m=function(){function a(){!h&&c()&&(h=setTimeout(function(){h=
q;var c=(new Date).getTime()-5E3,d;for(d in g){var e=g[d];e.timestamp<c&&delete g[d];var l=e.label;(e.width!=b(l)||e.height!=l.Uh.height())&&l.Ga()}a()},500))}function c(){for(var a in g)return p;return z}var d=1,g={},h=q;return function(c){c.f_||(c.f_=d++);g[c.f_]={label:c,timestamp:(new Date).getTime(),width:b(c),height:c.Uh.height()};a()}}();return a});
define("hs","require,hb,cI,bS,N,jd,bI,eA,cH,eO,en,iO,fB".split(","),function(a){var b=a("hb"),c=a("cI"),e=a("bS"),d=a("N"),g=a("jd"),j=a("bI"),k=a("eA"),h=a("cH"),m=a("eO"),f=a("en"),l=a("iO"),r=a("fB"),o=b.extend(l,function(){l.call(this);this.Ze=this.ia=q;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",e.Pw);this.set("overflow",m.tU);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",d.Td)});o.prototype.na=function(){l.prototype.na.call(this);
this.f("label");this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength");this.f("layout","horizontal");this.f("iconWidth");this.f("iconHeight");this.f("iconBeforeLabel");this.f("gap",5);this.f("mode",h.uc);this.f("buttonGroup");this.f("paddingLeft",5);this.f("paddingTop",5);
this.f("paddingRight",5);this.f("paddingBottom",5);this.f("pressed");this.h("rollOverOpacity",f.q,"opacity");this.h("rollOverIconWidth",f.q,"iconWidth");this.h("rollOverIconHeight",f.q,"iconHeight");this.h("rollOverFontSize",f.q,"fontSize");this.h("rollOverFontColor",f.q,"fontColor");this.h("rollOverFontWeight",f.q,"fontWeight");this.h("rollOverFontStyle",f.q,"fontStyle");this.h("rollOverTextDecoration",f.q,"textDecoration");this.h("rollOverTextShadowBlurRadius",f.q,"textShadowBlurRadius");this.h("rollOverTextShadowColor",
f.q,"textShadowColor");this.h("rollOverTextShadowHorizontalLength",f.q,"textShadowHorizontalLength");this.h("rollOverTextShadowOpacity",f.q,"textShadowOpacity");this.h("rollOverTextShadowVerticalLength",f.q,"textShadowVerticalLength");this.h("rollOverBorderSize",f.q,"borderSize");this.h("rollOverBorderLeftSize",f.q,"borderLeftSize");this.h("rollOverBorderTopSize",f.q,"borderTopSize");this.h("rollOverBorderRightSize",f.q,"borderRightSize");this.h("rollOverBorderBottomSize",f.q,"borderBottomSize");
this.h("rollOverBorderColor",f.q,"borderColor");this.h("rollOverBorderLeftColor",f.q,"borderLeftColor");this.h("rollOverBorderTopColor",f.q,"borderTopColor");this.h("rollOverBorderRightColor",f.q,"borderRightColor");this.h("rollOverBorderBottomColor",f.q,"borderBottomColor");this.h("rollOverShadow",f.q,"shadow");this.h("rollOverShadowHorizontalLength",f.q,"shadowHorizontalLength");this.h("rollOverShadowVerticalLength",f.q,"shadowVerticalLength");this.h("rollOverShadowBlurRadius",f.q,"shadowBlurRadius");
this.h("rollOverShadowSpread",f.q,"shadowSpread");this.h("rollOverShadowOpacity",f.q,"shadowOpacity");this.h("rollOverShadowColor",f.q,"shadowColor");this.h("rollOverBackgroundOpacity",f.q,"backgroundOpacity");this.h("rollOverBackgroundColor",f.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",f.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",f.q,"backgroundColorDirection");this.h("pressedLabel",f.sa,"label");this.h("pressedOpacity",f.sa,"opacity");this.h("pressedIconWidth",
f.sa,"iconWidth");this.h("pressedIconHeight",f.sa,"iconHeight");this.h("pressedFontSize",f.sa,"fontSize");this.h("pressedFontColor",f.sa,"fontColor");this.h("pressedFontWeight",f.sa,"fontWeight");this.h("pressedFontStyle",f.sa,"fontStyle");this.h("pressedTextDecoration",f.sa,"textDecoration");this.h("pressedTextShadowBlurRadius",f.sa,"textShadowBlurRadius");this.h("pressedTextShadowColor",f.sa,"textShadowColor");this.h("pressedTextShadowHorizontalLength",f.sa,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
f.sa,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",f.sa,"textShadowVerticalLength");this.h("pressedBorderSize",f.sa,"borderSize");this.h("pressedBorderLeftSize",f.sa,"borderLeftSize");this.h("pressedBorderTopSize",f.sa,"borderTopSize");this.h("pressedBorderRightSize",f.sa,"borderRightSize");this.h("pressedBorderBottomSize",f.sa,"borderBottomSize");this.h("pressedBorderColor",f.sa,"borderColor");this.h("pressedBorderLeftColor",f.sa,"borderLeftColor");this.h("pressedBorderTopColor",
f.sa,"borderTopColor");this.h("pressedBorderRightColor",f.sa,"borderRightColor");this.h("pressedBorderBottomColor",f.sa,"borderBottomColor");this.h("pressedShadow",f.sa,"shadow");this.h("pressedShadowHorizontalLength",f.sa,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",f.sa,"shadowVerticalLength");this.h("pressedShadowBlurRadius",f.sa,"shadowBlurRadius");this.h("pressedShadowSpread",f.sa,"shadowSpread");this.h("pressedShadowOpacity",f.sa,"shadowOpacity");this.h("pressedShadowColor",
f.sa,"shadowColor");this.h("pressedBackgroundOpacity",f.sa,"backgroundOpacity");this.h("pressedBackgroundColor",f.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",f.sa,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",f.sa,"backgroundColorDirection");this.h("pressedLabel",f.Ra,"label");this.h("pressedRollOverOpacity",f.Ra,"opacity");this.h("pressedRollOverIconWidth",f.Ra,"iconWidth");this.h("pressedRollOverIconHeight",f.Ra,"iconHeight");this.h("pressedRollOverFontSize",
f.Ra,"fontSize");this.h("pressedRollOverFontColor",f.Ra,"fontColor");this.h("pressedRollOverFontWeight",f.Ra,"fontWeight");this.h("pressedRollOverFontStyle",f.Ra,"fontStyle");this.h("pressedRollOverTextDecoration",f.Ra,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",f.Ra,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",f.Ra,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",f.Ra,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
f.Ra,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",f.Ra,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",f.Ra,"borderSize");this.h("pressedRollOverBorderLeftSize",f.Ra,"borderLeftSize");this.h("pressedRollOverBorderTopSize",f.Ra,"borderTopSize");this.h("pressedRollOverBorderRightSize",f.Ra,"borderRightSize");this.h("pressedRollOverBorderBottomSize",f.Ra,"borderBottomSize");this.h("pressedRollOverBorderColor",f.Ra,"borderColor");this.h("pressedRollOverBorderLeftColor",
f.Ra,"borderLeftColor");this.h("pressedRollOverBorderTopColor",f.Ra,"borderTopColor");this.h("pressedRollOverBorderRightColor",f.Ra,"borderRightColor");this.h("pressedRollOverBorderBottomColor",f.Ra,"borderBottomColor");this.h("pressedRollOverShadow",f.Ra,"shadow");this.h("pressedRollOverShadowHorizontalLength",f.Ra,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",f.Ra,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",f.Ra,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
f.Ra,"shadowSpread");this.h("pressedRollOverShadowOpacity",f.Ra,"shadowOpacity");this.h("pressedRollOverShadowColor",f.Ra,"shadowColor");this.h("pressedRollOverBackgroundOpacity",f.Ra,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",f.Ra,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",f.Ra,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",f.Ra,"backgroundColorDirection")};o.prototype.gL=D();o.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.Ze){this.Ze=
this.gL();this.pa(this.Ze)}if(!this.ia){this.ia=new r;this.pa(this.ia)}};o.prototype.sx=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new j(g.qh))}else{this.set("pressed",p);this.trigger(new j(g.bg))}};o.prototype.ca=function(){var a=z;if(this.m("mode")){if(this.j("mode")==h.uc){this.unbind(g.U,this.sx,this,p);this.set("autoPressed",p)}else{this.bind(g.U,this.sx,this,p);this.set("autoPressed",z)}this.o("mode");a=p}if(a||this.m("pressed"))this.j("mode")==h.rh?this.jv(this.j("pressed")==
p):a&&this.jv(z);if(this.m("label")){a=this.j("label");this.ia.set("text",a);this.ia.set("visible",a?p:z);this.o("label")}this.Ta(o.OV,o.PV,[this.ia],p,p);if(this.m("iconBeforeLabel")){this.j("iconBeforeLabel")==z?this.hi(this.ia,0):this.hi(this.Ze,0);this.o("iconBeforeLabel")}if(this.m("iconWidth")){this.Ze.set("width",this.j("iconWidth"));this.o("iconWidth")}if(this.m("iconHeight")){this.Ze.set("height",this.j("iconHeight"));this.o("iconHeight")}if(this.m("buttonGroup")){(a=this.j("buttonGroup"))?
k.register(this,a):k.YB(this);this.o("buttonGroup")}this.Ta(["horizontalAlign","verticalAlign"],{},[this.Ze],p,z);l.prototype.ca.call(this)};o.OV=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];o.PV={};c(o.OV).each(function(a){o.PV[a]=a});return o});
define("fY",["require","hb","hs","di","jd"],function(a){var b=a("hb"),c=a("hs"),e=a("di"),a=a("jd"),b=b.extend(c,function(){c.call(this)});e.A("BaseButton",b).B("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]"}).bo(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).mc([a.bg,a.qh]).jh([a.U]);return b});
define("hA",[],function(){return{NONE:"none",jm:"fill",fe:"fit_inside",Ok:"fit_outside",Aj:"fit_to_width",ag:"fit_to_height",s7:"custom"}});
define("hN","require,cI,jquery.mod,hb,jd,eU,r,W,hA,d,eg,gE".split(","),function(a){function b(a){this.BK=a;this.Cc=[];this.Ag=q}var c=a("cI"),e=a("jquery.mod"),d=a("hb"),g=a("jd"),j=a("eU"),k=a("r"),h=a("W"),m=a("hA"),f=a("d"),l=a("eg"),r=a("gE");b.Eh=document.createElement("a");b.prototype.I$=function(a){b.Eh.href=a;return b.Eh.href};b.prototype.load=function(a,b,f){a=this.I$(a);if(this.Ag&&!this.Ag.Sn()){this.Ag.cancel();this.Cc=c(this.Cc).without(this.Ag)}if(this.Ag=c(this.Cc).find(function(b){return b.Oe()==
a}))this.Cc=c(this.Cc).without(this.Ag);else{this.Ag=new r(j.hV);this.Ag.load(a)}for(this.Cc.splice(0,0,this.Ag);this.Cc.length>this.BK;)this.Cc.pop().cancel();if(b){var d=this.Ag,h=function(){b.call(f||window,d.Bd(),d.Fc(),d.rd())};this.Ag.Sn()?h():this.Ag.bind(g.O,h)}};b.prototype.clear=function(){this.Cc.forEach(function(a){a.cancel()});this.Ag=q};a=d.extend(f,function(a){f.call(this);this.Mc("Image");this.BK=a||1;this.bR=z;this.Jg=h.qa;this.UD=z;this.Yg=h.cb;this.NG=z;this.Dc=m.NONE;this.xP=z;
this.Ku=this.Lu=0;this.cN=this.qO=z;this.Ja=this.Ba=0;this.Fm=z;this.KN=this.Kg=this.fb=this.$D=this.ZD=q;this.bind(g.qb,this.Sca,this);this.bind(g.Df,this.Tca,this)});a.prototype.CM=function(){this.KN=new b(this.BK);this.CM=P("KN");return this.KN};a.prototype.na=function(){f.prototype.na.call(this);this.f("horizontalAlign",h.qa);this.f("verticalAlign",h.cb);this.f("scaleMode",m.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.bR=p;this.Ub()}f.prototype.set.call(this,a,b)};
a.prototype.xw=function(a){if(this.Jg!=a){this.Jg=a;this.UD=p;this.Ub()}};a.prototype.zw=function(a){if(this.Yg!=a){this.Yg=a;this.NG=p;this.Ub()}};a.prototype.mq=function(a){if(this.Dc!=a){this.Dc=a;this.xP=p;this.Ub();this.Ga()}};a.prototype.Sca=function(){this.Fm=p;this.Ub()};a.prototype.Tca=function(){this.H3()};var o={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"none",
"-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};k.browser()==k.ni&&k.Wa()&&(o.transform="translate3d(0,0,0)");a.prototype.wW=function(a,b,f){this.Lu=b?b:0;this.Ku=f?f:0;if(this.fb){this.fb.remove();this.fb=q}if(this.Kg=a){this.fb=e(this.Kg);l.css(this.Kg,o);this.ZD.append(this.fb)}this.qO=this.cN=p;this.Ub();this.Ga();this.fb&&this.trigger(g.O)};a.prototype.Ha=function(){f.prototype.Ha.call(this);if(!this.ZD){this.$D=document.createElement("div");this.ZD=e(this.$D);
l.css(this.$D,{position:"static",overflow:"hidden",cursor:"inherit"});this.Ka().append(this.ZD)}};a.prototype.cn=function(){this.Pg=this.Lu+this.dh()+this.Ql();this.Og=this.Ku+this.Rl()+this.Wv();this.ZZ=this.Lu==0&&this.Ku==0?0:this.Lu/this.Ku;this.Fy=this.Gy=0};a.prototype.ca=function(){if(this.m("scaleMode")){this.mq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("horizontalAlign")){this.xw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")){this.zw(this.j("verticalAlign"));
this.o("verticalAlign")}if(this.sW())this.Fm=p;f.prototype.ca.call(this);this.H3();if(this.Ala()){var a=z;if(this.xP||this.qO||this.Fm){var b=this.qd(),c=this.pd(),d=this.Lu,g=this.Ku,e,k;if(d==0||g==0)k=e=0;else switch(this.Dc){case m.NONE:e=d;k=g;break;case m.jm:e=b;k=c;break;case m.fe:if(d*c>g*b){e=b;k=g*b/d}else{e=d*c/g;k=c}break;case m.Ok:if(d*c>g*b){e=d*c/g;k=c}else{e=b;k=g*b/d}break;case m.Aj:e=b;k=g*b/d;break;case m.ag:e=d*c/g;k=c}if(this.Ba!=e||this.Ja!=k){this.Ba=e;this.Ja=k;a=p}this.qO=
this.xP=z}if(a||this.Fm||this.cN){this.NG=this.UD=p;this.Kg&&l.css(this.Kg,{width:this.Ba+"px",height:this.Ja+"px",visibility:"inherit"});l.css(this.$D,{width:this.qd()+"px",height:this.pd()+"px","border-top-left-radius":this.RD(this.uba(),this.AY(),this.yY())+"px","border-top-right-radius":this.RD(this.vba(),this.AY(),this.zY())+"px","border-bottom-left-radius":this.RD(this.sba(),this.xY(),this.yY())+"px","border-bottom-right-radius":this.RD(this.tba(),this.xY(),this.zY())+"px"});this.Ga();this.cN=
this.Fm=z}if(this.UD&&this.Kg){switch(this.Jg){case h.qa:l.css(this.Kg,{"margin-left":0,"margin-right":this.qd()-this.Ba+"px"});break;case h.Pa:l.css(this.Kg,{"margin-left":this.qd()-this.Ba+"px","margin-right":0});break;case h.sc:l.css(this.Kg,{"margin-left":Math.floor((this.qd()-this.Ba)*0.5)+"px","margin-right":Math.ceil((this.qd()-this.Ba)*0.5)+"px"})}this.UD=z}if(this.NG&&this.Kg){switch(this.Yg){case h.cb:l.css(this.Kg,{"margin-top":0,"margin-bottom":this.pd()-this.Ja+"px"});break;case h.bb:l.css(this.Kg,
{"margin-top":this.pd()-this.Ja+"px","margin-bottom":0});break;case h.ac:l.css(this.Kg,{"margin-top":Math.floor((this.pd()-this.Ja)*0.5)+"px","margin-bottom":Math.ceil((this.pd()-this.Ja)*0.5)+"px"})}this.NG=z}}};a.prototype.H3=function(){if(this.bR){var a=this.get("url");if(a)this.CM().load(a,this.wW,this);else{this.CM().clear();this.wW(q,0,0)}this.bR=z}};a.prototype.RD=function(a,b,f){if(!a)return 0;var c=0;b&&(c=Math.max(c,b));f&&(c=Math.max(c,f));return Math.max(0,a-c)};return a});
define("dG",["hb","hA","en","hs","hN"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.na=function(){e.prototype.na.call(this);this.f("iconURL");this.h("rollOverIconURL",c.q,"iconURL");this.h("pressedIconURL",c.sa,"iconURL");this.h("pressedRollOverIconURL",c.Ra,"iconURL")};a.prototype.gL=function(){var a=new d(3);a.set("scaleMode",b.fe);return a};a.prototype.ca=function(){if(this.m("iconURL")){var a=this.j("iconURL");this.Ze.set("url",a);this.Ze.set("visible",a?p:z);this.o("iconURL")}e.prototype.ca.call(this)};
return a});define("dF",["hb","dG","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Button",a).B("BaseButton").K({iconURL:"string",rollOverIconURL:"string",pressedIconURL:"string",pressedRollOverIconURL:"string"}).oj(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
define("fa",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this);this.set("angle",0);this.set("rotate",z);this.set("inertia",z)});a.A("CapPanoramaOverlay",b).B("PanoramaOverlay").K({angle:"number",distance:"number",hfov:"number",image:"ImageResource",inertia:"bool",rotate:"bool",useHandCursor:"bool"}).mc([e.Qc,e.oc,e.Bj,e.mf]).jh([e.U]);return b});
define("eQ",["hb","di","fa"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("CeilingCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("bH","cI,jquery.mod,hb,jd,bI,d".split(","),function(a,b,c,e,d,g){a=c.extend(g,function(){g.call(this);this.Mc("Canvas");this.VL=p;this.u=q;this.bind(e.qb,this.h$,this)});a.prototype.h$=function(){this.AH()};a.prototype.AH=function(){this.VL=p;this.rg()};a.prototype.Ha=function(){g.prototype.Ha.call(this);if(!this.u){this.u=b("<canvas/>");this.u.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.Ka().append(this.u)}};a.prototype.ca=function(){this.sW()&&this.AH();g.prototype.ca.call(this)};
a.prototype.ee=function(){if(this.VL){this.VL=z;var a=this.u.get(0);a.width=this.qd();a.height=this.pd();this.Koa()}g.prototype.ee.call(this)};a.prototype.Tka=function(){return this.u.get(0).width};a.prototype.Ska=function(){return this.u.get(0).height};a.prototype.Rka=function(){return this.u.get(0).getContext("2d")};a.prototype.Koa=function(){this.trigger(new d(e.W))};return a});
define("gp",["hb","jd","en","hs","bH"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.mh=function(){e.prototype.mh.call(this)};a.prototype.na=function(){e.prototype.na.call(this);this.f("iconColor");this.h("rollOverIconColor",c.q,"iconColor");this.h("pressedIconColor",c.sa,"iconColor");this.h("pressedRollOverIconColor",c.Ra,"iconColor")};a.prototype.gL=function(){var a=new d;a.bind(b.W,this.h7,this,p);return a};a.prototype.ca=function(){this.m("iconColor")&&(this.Ze.AH(),this.o("iconColor"));
e.prototype.ca.call(this)};a.prototype.Kba=function(){return this.j("iconColor")};a.prototype.Lba=function(){return this.Ze.Rka()};a.prototype.Nba=function(){return this.Ze.Tka()};a.prototype.Mba=function(){return this.Ze.Ska()};a.prototype.h7=D();return a});
define("dL",["hb","gp","W","en"],function(a,b,c,e){a=a.extend(b,function(){b.call(this);this.Q({horizontalAlign:c.sc,verticalAlign:c.ac})});a.prototype.na=function(){b.prototype.na.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",e.q,"iconLineWidth");this.h("pressedIconLineWidth",e.sa,"iconLineWidth");this.h("pressedRollOverIconLineWidth",e.Ra,"iconLineWidth")};a.prototype.Uba=function(){return this.j("iconLineWidth")};a.prototype.ca=function(){this.m("iconLineWidth")&&(this.Ze.AH(),
this.o("iconLineWidth"));b.prototype.ca.call(this)};a.prototype.h7=function(){var a=this.Lba(),b=this.Kba(),c=this.Nba(),e=this.Mba(),h=this.Uba();a.clearRect(0,0,c,e);a.lineWidth=h||1;a.strokeStyle=b||"#000000";a.beginPath();a.moveTo(0,0);a.lineTo(c,e);a.moveTo(0,e);a.lineTo(c,0);a.closePath();a.stroke()};return a});
define("fM",["hb","dL","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("CloseButton",a).B("BaseButton").K({iconColor:"color",iconLineWidth:"number",rollOverIconColor:"color",rollOverIconLineWidth:"number",pressedIconColor:"color",pressedIconLineWidth:"number",pressedRollOverIconColor:"color",pressedRollOverIconLineWidth:"number"});return a});
define("ht",["cI","hb","iO","di"],function(a,b,c,e){a=b.extend(c,function(){c.call(this)});e.A("Container",a).B("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]"}).ug({scrollTo:function(a,b){c.prototype.scrollTo.call(this,a,b)}});return a});
define("hj",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),e=a("di"),a=b.extend(c,function(){c.call(this);this.S=q});e.A("PanoramaFrame",a).B("Object").K({thumbnailUrl:"string",snapshots:"array[PanoramaSnapshot]",overlays:"array[PanoramaOverlay]"}).oj(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.EM();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":if(this.S)return this.S.get(a,b)}return c.prototype.get.call(this,a,b)};a.prototype.EM=
function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.YP(a)};a.prototype.YP=function(a){if(this.ov===n||this.rE!=a){var b=function(a){return e.tb("PopupPanoramaOverlay",a)},c=function(a){return e.tb("LensFlarePanoramaOverlay",a)};this.rE=a;this.ov=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.ov};a.prototype.Qja=N("S");a.prototype.aw=P("S");return a});
define("iU",["require","hb","di","hj"],function(a){var b=a("hb"),c=a("di"),e=a("hj"),a=b.extend(e,function(){e.call(this)});c.A("CubicPanoramaFrame",a).B("PanoramaFrame").K({cube:"ImageResource",stereoCube:"ImageResource",front:"ImageResource",left:"ImageResource",back:"ImageResource",right:"ImageResource",top:"ImageResource",bottom:"ImageResource"});return a});
define("hp","require,jquery.mod,modernizr.mod,hb,r,hE".split(","),function(a){function b(){}a("jquery.mod");var c=a("modernizr.mod"),e=a("hb"),d=a("r"),a=a("hE");b.Bca=function(){try{if(c.audio&&c.audio.mp3)return p}catch(a){}return z};b.Cca=function(){try{if(c.audio&&c.audio.ogg)return p}catch(a){}return z};b.Fca=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.Pca=function(){if(d.browser()==d.nh){var a=d.xH();if(a>=10&&a<11||a>=11.3)return p}return z};b.Gca=function(){return d.browser()==d.Mk||d.browser()==d.nh?p:z};b.hZ=function(){try{if(c.video&&c.video.h264)return p}catch(a){}return z};b.Dca=function(){try{if(c.video&&c.video.ogg)return p}catch(a){}return z};b.Eca=function(){try{if(c.video&&c.video.webm)return p}catch(a){}return z};b.Rpa=Q(p);b.Hca=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return p}catch(a){}try{if(c.webgl&&
document.createElement("canvas").getContext("experimental-webgl"))return p}catch(b){}return z};b.log=function(){e.log("css transforms 3d: "+b.KR);e.log("webgl: "+b.webgl);e.log("html5 audio: "+b.v5);e.log("html5 video: "+b.y5)};b.Xha=function(){return["css3d:"+b.KR,"webgl:"+b.webgl,"html5audio:"+b.v5,"html5video:"+b.y5].join(" ")};b.x5=b.Cca();b.w5=b.Bca();b.v5=b.x5||b.w5;b.pS=b.Dca();b.vH=b.hZ();b.wH=b.Eca();b.z5=b.Pca();b.mS=b.Gca();b.k5=b.mS||b.hZ()&&b.Fca();b.y5=b.pS||b.vH||b.wH;b.KR=p;b.webgl=
b.Hca();a.gh("debug")&&a.gh("capabilities")&&b.log();b.summary=b.Xha();return b});
define("P",["require","hp"],function(a){a("hp");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAA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IoGXPOOQchhBBCCCGEUFLqmHMOQgghhBBCCCGl1DnnIIQQQgghhBBCSqlzzkEIIYQQQgghhJRSCCGEEEIIIYQQQggppZRCCCGEEEIIIZQSUkophRBCCCWEEkoIJaSUUgohhBBCKaWEUkJJKaUUQgillFBKKaGUkFJKKaUQQiillFBKKSWllFJKJZRSSikllFBKSimllEoooZRQSimllJRSSimVUkopJZRSSgkppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUEkpJKaWUUkqllFBKKaWUUlJKKaWUSgqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBABSAQAAQiillFJKKTWMUUoppZRSihyklFJKKaWUUkoppZRSSimVUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKAcDdFw6APhM2rI5wUjQWWGjISgAgFQAAMIYxxphyzjmllHPOOQadlEgp5yB0TkopPYQQQgidhJR6ByGEEEIpKfUYQyghlJRS67GGTjoIpbTUaw8hhJRaaqn3HjKoKKWSUu89tVBSainG3ntLJbPSWmu9595LKinG2nrvObeSUkwtFgBgEuEAgLhgw+oIJ0VjgYWGrAIAYgAACEMMQkgppZRSSinGGGOMMcYYY4wxxhhjjDHGGGOMMQEAgAkOAAABVrArs7Rqo7ipk7zog8AndMRmZMilVMzkRNAjNdRiJdihFdzgBWChISsBADIAAMRRrDXGXitiGISSaiwNQYxBibllxijlJObWKaWUk1hTyJRSzFmKJXRMKUYpphJCxpSkGGOMKXTSWs49t1RKCwAAgCAAwECEzAQCBVBgIAMADhASpACAwgJDx3AREJBLyCgwKBwTzkmnDQBAECIzRCJiMUhMqAaKiukAYHGBIR8AMjQ20i4uoMsAF3Rx14EQghCEIBYHUEACDk644Yk3POEGJ+gUlToQAAAAAAAIAHgAAEg2gIhoZuY4Ojw+QEJERkhKTE5QUlQEAAAAAAAQAD4AAJIVICKamTmODo8PkBCREZISkxOUFJUAAEAAAQA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Cccc88ehQ6ti2Nk4cGTnt8UUtbWO9j5WHEdmHh+7C9wIRcbudjS9CXjM7kaocWm3CfsmIKfZpvtHUVaURZ6uy8pxxLmzR5SEHNsXspeo+DDzw4x9MaFSHm6tIyWiFempO9P2dtOMiWnTObTzx19O+Msvi/htb6NqsZ/O3s7eMiJWj9dTFq5AEM9w6Lh/X076mm6aA9sCSIoJAHo13PxwXzBABvcU8c/u7iQHUUTgzNM0Wo1dlmJRzDKZSAAAAAAwJwLO5a/4yl+5v++H209u/94v13Pn59nDcvtSL21xLUpndfvy7VA5//w4f27LOL795PYo+f7974+SXupFFhk591zTOL79eH98nts4eItR07Oe9axnPeuZE0CZ27tPW1u3OzOKit91rOe+1K7jFmVbZRyPx0AxaDGNyYnJp/7+eXL7yaB/9H/Pku1wvejpgenJsPvz+/+mrSgjkevxerzVlbPImoxrYbKeY8BJsnrRY89KMmG12IoUvs3b7eanpycFiVHdouYWg8lsNmt1FS+33+9zIiFVOq5jbU9nZ1MABYA2AQAAAAAAg0MAAAkAAACfd/skAWoWAKqz3++H+/T0pGA6hrVD9XUrrc4zc3Nzc/r9sOZyIGq6bDnpYwKensDQ9y/K37+cAFtbW3TudhWOtwZzlstb/X5/a6vf72/x5+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK"};a.src=
a.ogg;return a});
define("jc",["require","hb"],function(a){function b(a){return e[j][a]||e.en[a]||a}var c=a("hb"),e={de:{"enable-audio-prompt":"Audio aktivieren?","enable-video-prompt":"Video aktivieren?","enable-video-audio-prompt":"Video und Audio aktivieren?",yes:"ja",no:"nein","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zum Ziehen und Loslassen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu verschieben","dont-display-again":"Diese Info nicht mehr anzeigen","enter-fullscreen":"Vollbildmodus aktivieren",
"exit-fullscreen":"Vollbild verlassen","giroscope-disabled-safari-request-permission":"<div>Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts sind f\u00fcr diese Seite deaktiviert.</div>\n<div>Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden.</div>","giroscope-disabled-safari-toggle-on":'<div>Der Zugriff auf Bewegung und Ausrichtung Ihres Ger\u00e4ts ist f\u00fcr diese Seite deaktiviert.</div>\n<div>Um diese Webseite richtig anzuzeigen, deaktivieren Sie die Ausrichtungssperre bitte wie folgt:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Greifen Sie \u00fcber https auf diese Webseite zu.</li>\n<li>In den Einstellungen Ihres Ger\u00e4ts: "Einstellungen> Safari> Datenschutz und Sicherheit" aktivieren Sie: "Zugriff auf Bewegung und Orientierung".</li>\n<li>Aktualisieren Sie den Browser.</li>\n</ul>',
"giroscope-disabled-http":"<div>Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.</div>",mute:"Deaktiviere audio",unmute:"Audio aktivieren","web-server-required":"Diese Virtual Tour kann nicht von einem lokalen Laufwerk abgespielt werden. Laden Sie Ihre Tour ins Internet und versuchen Sie es erneut.\nAlternativ, ziehen Sie die htm Datei (oder den ganzen Tour Ordner) auf das Icon der Tour Viewer App, um die Tour direkt lokal abzuspielen."},
en:{"enable-audio-prompt":"Enable audio?","enable-video-prompt":"Enable video?","enable-video-audio-prompt":"Enable video and audio?",yes:"yes",no:"no",cancel:"Cancel","change-to-drag-and-release":"Change control mode to Drag and Release","change-to-click-and-move":"Change control mode to Click and Move","dont-display-again":"Don't display this info again",download:"Download",downloaded:"This tour is downloaded for offline playing.",downloading:"Downloading","download-failed":"Download failed","download-tour":"Download Tour for offline playing",
"delete-downloaded":"Delete","refresh-downloaded":"Refresh","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","enter-fullscreen":"Enter fullscreen","exit-fullscreen":"Exit fullscreen","giroscope-disabled-safari-request-permission":"<div>Your device's motion and orientation access and VR mode are disabled for this site.</div>\n<div>To properly see this webpage, please click continue and accept the permission request if prompted.</div>",
"giroscope-disabled-safari-toggle-on":'<div>Your device\'s motion and orientation access and VR mode are disabled for this site.</div>\n<div>To properly see this webpage, please enable it:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Access you device\'s settings: "Settings > Safari > Privacy & Security" and toggle on: "Motion & Orientation Access".</li>\n<li>Refresh the browser.</li>\n</ul>',"giroscope-disabled-http":"<div>You are accessing this webpage through http so your device's motion and orientation access and VR mode are disabled, please access it through https to enable them.</div>",
mute:"Mute",unmute:"Unmute","web-server-required":"This virtual tour cannot be played from a local drive. Please upload it to the internet and try again.\nIf you prefer, drag the htm file (or the entire folder of the tour) onto the icon of the TourViewer app.","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","use-cardboard":"Use Cardboard","samsung-internet-vr-app-info":"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 need to make Samsung Internet your default browser.",
"launch-default-browser":"Launch in default browser","samsung-internet-vr-info":"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.","exit-vr":"Exit VR","cardboard-v1":"If you are not sure, which Cardboard version you're using, select the default hotspot control. You'll then simply gaze at a hotspot and wait until the action is triggered.",
"use-default-cardboard":"Use Default","cardboard-v2":"If you have a Cardboard v2 headset, which comes with a button, you can gaze at a hotspot and press the button to trigger its action.","use-cardboard-v2":"Use Cardboard v2","enter-vr":"Enter VR content","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","rotate-device":"Please, rotate your device"},es:{"enable-audio-prompt":"\u00bfActivar audio?","enable-video-prompt":"\u00bfActivar v\u00eddeo?","enable-video-audio-prompt":"\u00bfActivar v\u00eddeo y audio?",
yes:"si",no:"no","change-to-drag-and-release":"Cambiar el modo de control a arrastrar y soltar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover","dont-display-again":"No volver a mostrar esta informaci\u00f3n",download:"Descargar",downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.",downloading:"Descargando","download-failed":"La descarga ha fallado","download-tour":"Descargar el tour para reproducirlo sin conexi\u00f3n","delete-downloaded":"Borrar",
"refresh-downloaded":"Actualizar","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.","storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.","storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa","exit-fullscreen":"Salir de pantalla completa",
"giroscope-disabled-safari-request-permission":"<div>El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.</div>\n<div>Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra.</div>","giroscope-disabled-safari-toggle-on":'<div>El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.</div>\n<div>Para ver correctamente la p\u00e1gina web por favor habil\u00edtelo:</div>\n<ul style="display:inline-block; text-align:left;">\n<li>Acceda a esta p\u00e1gina web a por https.</li>\n<li>Acceda a los ajustes del dispositivo : "Ajustes > Safari > Privacidad y Seguridad" y active: "Acceso al movimiento y la orientaci\u00f3n".</li>\n<li>Recargue el navegador.</li>\n</ul>',
"giroscope-disabled-http":"<div>Est\u00e1 accedindo a esta p\u00e1gina web por http por lo que el acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabilitado, por favor acceda por https.</div>",mute:"Silenciar",unmute:"Habilitar sonido","web-server-required":"Este tour virtual no puede reproducirse desde una unidad local. Por favor s\u00fabalo a internet y pruebe de nuevo.\nSi lo prefiere puede arrastrar el archivo html o la carpeta con el tour sobre el icono de la aplicaci\u00f3n Tour Viewer de su escritorio.",
"use-cardboard-info":"Puede usar unas gafas compatibles con Google Cardboard para ver este contenido en VR.","use-cardboard":"Usar Cardboard","samsung-internet-vr-app-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, necesita hacer Samsung Internet su navegador por defecto.","launch-default-browser":"Lanzar en el navegador por defecto","samsung-internet-vr-info":"Si tiene unas gafas Gear VR compatibles con este dispositivo y tiene instalado Samsung Internet for VR puede usarlo para ver este contenido en VR, solo tiene que poner ahora el dispositivo en las gafas.",
"exit-vr":"Salir de VR","cardboard-v1":"Si no esta seguro de que versi\u00f3n de Cardboard debe usar escoja la selecci\u00f3n de hotspot por defecto. Solo tendr\u00e1 que apuntar al hotspot y esperar para que se ejecute la acci\u00f3n.","use-default-cardboard":"Usar versi\u00f3n por defecto","cardboard-v2":"Si tiene unas gafas Cardboard v2, que vienen con un bot\u00f3n, puede apuntar al hotspot y pulsar el bot\u00f3n para que se ejecute su acci\u00f3n.","use-cardboard-v2":"Usar Cardboard v2","enter-vr":"Entrar al contenido VR",
"use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR","rotate-device":"Por favor, gire el dispositivo"},fr:{"enable-audio-prompt":"Activer l'audio?","enable-video-prompt":"Activer la vid\u00e9o?","enable-video-audio-prompt":"Activer l'audio? et la vid\u00e9o?",yes:"oui",no:"non","change-to-drag-and-release":"Changer le mode de contr\u00f4le pour faire glisser et rel\u00e2cher","change-to-click-and-move":"Changer le mode de contr\u00f4le pour cliquer et d\u00e9placer","dont-display-again":"Ne plus afficher cette information",
"enter-fullscreen":"Passer en mode plein \u00e9cran","exit-fullscreen":"Quitter le mode plein \u00e9cran",mute:"D\u00e9sactiver l'audio","giroscope-disabled-safari-request-permission":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour ce site.</div>\n<div>Pour voir correctement cette page Web, veuillez cliquer sur Continuer et accepter la demande d'autorisation si elle est affich\u00e9e.</div>","giroscope-disabled-safari-toggle-on":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour ce site.</div>\n<div>Pour voir correctement cette page Web, vous devez:</div>\n<ul style=\"display:inline-block; text-align:left;\">\n<li>Acc\u00e9der \u00e0 cette page via une page s\u00e9curis\u00e9e https.</li>\n<li>Acc\u00e9dez aux param\u00e8tres de votre appareil: R\u00e9glages > Safari > Confidentialit\u00e9 et s\u00e9curit\u00e9, puis activez : Mouvement et orientation.</li>\n<li>Actualiser le navigateur.</li>\n</ul>",
"giroscope-disabled-http":"<div>L'acc\u00e8s aux mouvements et \u00e0 l'orientation de votre appareil est d\u00e9sactiv\u00e9 pour cette page Web. Veuillez y acc\u00e9der via https.</div>",unmute:"Activer l'audio"},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?","enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e \u0438 \u0432\u0438\u0434\u0435\u043e?",
yes:"\u0434\u0430",no:"\u043d\u0435\u0442","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u044c \u0438 \u043e\u0442\u043f\u0443\u0441\u0442\u0438\u0442\u044c","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u0447\u0442\u043e\u0431\u044b \u0449\u0435\u043b\u043a\u043d\u0443\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c",
"enter-fullscreen":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c","exit-fullscreen":"\u0412\u044b\u0445\u043e\u0434 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",mute:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a",unmute:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"},
it:{"enable-audio-prompt":"Abilita l'audio?","enable-video-prompt":"Abilita il video?","enable-video-audio-prompt":"Abilita audio e video?",yes:"s\u00ec",no:"no","change-to-drag-and-release":"Cambia la modalit\u00e0 di controllo per trascinare e rilasciare","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare","enter-fullscreen":"Entra a schermo intero","exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",mute:"Disabilita audio",unmute:"Abilita audio"},
pt:{"enable-audio-prompt":"Ativar \u00e1udio","enable-video-prompt":"Ativar v\u00eddeo?","enable-video-audio-prompt":"Ativar v\u00eddeo e \u00e1udio?",yes:"sim",no:"n\u00e3o","change-to-drag-and-release":"Alterar o modo de controle para arrastar e soltar","change-to-click-and-move":"Alterar o modo de controle para clicar e mover","enter-fullscreen":"Entrar em tela cheia","exit-fullscreen":"Sair da tela cheia",mute:"Desativar \u00e1udio",unmute:"Ativar \u00e1udio"},zh:{"enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f",
"enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","enable-video-audio-prompt":"\u542f\u7528\u89c6\u9891\u548c\u97f3\u9891\uff1f",yes:"\u662f",no:"\u5426",cancel:"\u53d6\u6d88","change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d","dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f",download:"\u4e0b\u8f7d",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002",
downloading:"\u6b63\u5728\u4e0b\u8f7d","download-failed":"\u4e0b\u8f7d\u5931\u8d25","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e","delete-downloaded":"\u5220\u9664","refresh-downloaded":"\u5237\u65b0","storage-not-provided-bookmark":"\u88c5\u7f6e\u5185\u6c38\u4e45\u5b58\u50a8\u88ab\u62d2\u7edd\u3002\u5c1d\u8bd5\u5c06\u6b64\u7f51\u9875\u6dfb\u52a0\u4e3a\u4e66\u7b7e\uff0c \u5e76\u91cd\u65b0\u52a0\u8f7d\u3002","storage-not-provided-launch-from-homescreen":"\u8bf7\u4ece\u4e3b\u5c4f\u5e55\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002",
"storage-not-provided-launch-from-desktop":"\u8bf7\u4ece\u684c\u9762\u70b9\u51fb\u56fe\u6807\uff0c\u91cd\u65b0\u542f\u52a8\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u4e0b\u8f7d\u3002","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f","giroscope-disabled-safari-request-permission":"<div>\u8be5\u7ad9\u70b9\u5df2\u7981\u7528\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002</div>\n<div>\u8981\u6b63\u786e\u67e5\u770b\u6b64\u7f51\u9875\uff0c\u8bf7\u5355\u51fb\u7ee7\u7eed\uff0c\u5e76\u5728\u51fa\u73b0\u63d0\u793a\u65f6\u63a5\u53d7\u8bb8\u53ef\u8bf7\u6c42\u3002</div>",
"giroscope-disabled-http":"<div>\u60a8\u6b63\u5728\u901a\u8fc7http(\u672a\u52a0\u5bc6)\u8bbf\u95ee\u6b64\u7f51\u9875\uff0c\u56e0\u6b64\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8bf7\u901a\u8fc7https(\u52a0\u5bc6)\u5bf9\u5176\u8fdb\u884c\u542f\u7528\u3002</div>",mute:"\u9759\u97f3",unmute:"\u53d6\u6d88\u9759\u97f3","web-server-required":"\u6b64\u5168\u666f\u6f2b\u6e38\u65e0\u6cd5\u4ece\u672c\u5730\u9a71\u52a8\u5668\u4e0a\u64ad\u653e\u3002 \u8bf7\u5c06\u5176\u4e0a\u4f20\u5230\u4e92\u8054\u7f51\u670d\u52a1\u5668\uff0c\u7136\u540e\u91cd\u8bd5\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9884\u89c8\uff0c\u53ef\u4ee5\u5c06htm\u6587\u4ef6\uff08\u6216\u5168\u666f\u6f2b\u6e38\u7684\u6574\u4e2a\u6587\u4ef6\u5939\uff09\u62d6\u5230TourViewer\u5e94\u7528\u7a0b\u5e8f\u7684\u56fe\u6807\u4e0a\u3002"}};
e["zh-tw"]=e["zh-hk"]=e["zh-mo"]={"enable-audio-prompt":"\u5141\u8a31\u8072\u97f3\u64ad\u653e?","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","enable-video-audio-prompt":"\u5141\u8a31\u5f71\u7247\u53ca\u8072\u97f3\u64ad\u653e?",yes:"\u662f",no:"\u5426",cancel:"\u53d6\u6d88","change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",
"dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f",download:"\u4e0b\u8f09",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002",downloading:"\u6b63\u5728\u4e0b\u8f09","download-failed":"\u4e0b\u8f09\u5931\u6557","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e","delete-downloaded":"\u522a\u9664","refresh-downloaded":"\u91cd\u65b0\u6574\u7406","storage-not-provided-bookmark":"\u88dd\u7f6e\u5167\u6c38\u4e45\u5b58\u5132\u88ab\u62d2\u7d55\u3002\u8acb\u5617\u8a66\u5c07\u6b64\u7db2\u9801\u65b0\u589e\u70ba\u66f8\u7c64\uff0c\u4e26\u91cd\u65b0\u8f09\u5165\u3002\r\n",
"storage-not-provided-launch-from-homescreen":"\u8acb\u4e3b\u9801\u9762\u87a2\u5e55\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002\r\n","storage-not-provided-launch-from-desktop":"\u8acb\u5f9e\u684c\u9762\u9ede\u64ca\u5716\u793a\uff0c\u91cd\u65b0\u555f\u52d5\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u4e0b\u8f09\u3002","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",
"giroscope-disabled-safari-request-permission":"<div>\u8a72\u7db2\u7ad9\u5df2\u7981\u7528\u60a8\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002</div>\n<div>\u8981\u6b63\u78ba\u67e5\u770b\u672c\u7db2\u9801\uff0c\u8acb\u55ae\u64ca\u7e7c\u7e8c\uff0c\u4e26\u5728\u51fa\u73fe\u63d0\u793a\u6642\u63a5\u53d7\u8a31\u53ef\u8acb\u6c42\u3002</div>","giroscope-disabled-http":"<div>\u60a8\u6b63\u5728\u901a\u904ehttp(\u672a\u52a0\u5bc6)\u700f\u89bd\u672c\u7db2\u9801\uff0c\u56e0\u6b64\u8a2d\u5099\u7684\u904b\u52d5\u548c\u65b9\u5411\u53d6\u7528\u6b0a\u9650\uff0c\u4ee5\u53caVR\u6a21\u5f0f\u5747\u5df2\u7981\u7528\uff0c\u8acb\u53e6\u901a\u904ehttps(\u52a0\u5bc6)\u7db2\u5740\u5c0d\u5176\u9032\u884c\u555f\u7528\u3002</div>",
mute:"\u975c\u97f3",unmute:"\u53d6\u6d88\u975c\u97f3","web-server-required":"\u672c\u865b\u64ec\u5c0e\u89bd\u7121\u6cd5\u5728\u672c\u5730\u96fb\u8166\u4e0a\u64ad\u653e\u3002 \u8acb\u5c07\u5176\u4e0a\u50b3\u5230\u7db2\u969b\u7db2\u8def\u4f3a\u670d\u5668\uff0c\u7136\u5f8c\u91cd\u8a66\u3002\n\u5982\u679c\u9700\u8981\u672c\u5730\u9810\u89bd\uff0c\u8acb\u5c07htm\u6a94\u6848\uff08\u6216\u865b\u64ec\u5c0e\u89bd\u7684\u6574\u500b\u8cc7\u6599\u593e\uff09\u62d6\u653e\u5230TourViewer\u61c9\u7528\u7a0b\u793a\u7684\u5716\u793a\u4e0a\u3002"};
e.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","enable-video-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a \u0648\u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627",no:"\u0644\u0627","change-to-drag-and-release":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0633\u062d\u0628 \u0648\u0627\u0644\u0625\u0641\u0631\u0627\u062c",
"change-to-click-and-move":"\u062a\u063a\u064a\u064a\u0631 \u0648\u0636\u0639 \u0627\u0644\u062a\u062d\u0643\u0645 \u0644\u0644\u0646\u0642\u0631 \u0648\u0627\u0644\u062a\u062d\u0631\u0643","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",mute:"\u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u0635\u0648\u062a",
unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a"};e.ja={"enable-audio-prompt":"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",yes:"\u306f\u3044",no:"\u3044\u3044\u3048",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","change-to-drag-and-release":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30ea\u30ea\u30fc\u30b9\u306b\u5909\u66f4",
"change-to-click-and-move":"\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30e2\u30fc\u30c9\u3092\u30af\u30ea\u30c3\u30af\uff06\u30e0\u30fc\u30d6\u306b\u5909\u66f4","dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044",download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",downloaded:"\u3053\u306e\u30c4\u30a2\u30fc\u306f\u3001\u30aa\u30d5\u30e9\u30a4\u30f3\u3067\u518d\u751f\u3059\u308b\u305f\u3081\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3092\u3059\u308b",downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d",
"download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","delete-downloaded":"\u524a\u9664","refresh-downloaded":"\u66f4\u65b0","storage-not-provided-bookmark":"\u6c38\u7d9a\u7684\u306a\u4fdd\u5b58\u304c\u62d2\u5426\u3055\u308c\u305f\u3002\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3001\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044",
"storage-not-provided-launch-from-homescreen":"\u30db\u30fc\u30e0\u753b\u9762\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","storage-not-provided-launch-from-desktop":"\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u30a2\u30a4\u30b3\u30f3\u304b\u3089\u30c4\u30a2\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b",
"exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b","giroscope-disabled-safari-request-permission":"<div>\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002</div>\n<div>\u3053\u306eWeb\u30da\u30fc\u30b8\u3092\u6b63\u3057\u304f\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u300eOK\u300f\u3092\u30af\u30ea\u30c3\u30af\u3057\u300e\u8a31\u53ef\u300f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u5165\u308c\u3066\u304f\u3060\u3055\u3044</div>",
"giroscope-disabled-http":"<div>\u3053\u306eWeb\u30da\u30fc\u30b8\u306b\u300ehttp\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3054\u5229\u7528\u7aef\u672b\u306e\u30e2\u30fc\u30b7\u30e7\u30f3\u3068\u753b\u9762\u306e\u5411\u304d\u3078\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u305a\u3001VR\u30e2\u30fc\u30c9\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u300ehttps\u300f\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u6709\u52b9\u306b\u3057\u3066\u304f\u3060\u3055\u3044</div>",
mute:"\u30df\u30e5\u30fc\u30c8",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","web-server-required":"\u3053\u306e\u30d0\u30fc\u30c1\u30e3\u30eb\u30c4\u30a2\u30fc\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30c9\u30e9\u30a4\u30d6\u304b\u3089\u518d\u751f\u3067\u304d\u307e\u305b\u3093\u3002\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u306b\u63a5\u7d9a\u3057\u3001\u3082\u3046\u4e00\u5ea6\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\n\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001htm\u30d5\u30a1\u30a4\u30eb\uff08\u307e\u305f\u306f\u30c4\u30a2\u30fc\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u5168\u4f53\uff09\u3092\u300eTourViewer\u300f\u30a2\u30d7\u30ea\u306e\u30a2\u30a4\u30b3\u30f3\u306b\u30c9\u30e9\u30c3\u30b0\u3057\u307e\u3059",
"use-cardboard-info":"\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u4e92\u63db\u6027\u306e\u3042\u308b\u4efb\u610f\u306eGoogle Cardboard\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u5229\u7528\u3067\u304d\u307e\u3059","use-cardboard":"Cardboard\u5229\u7528","samsung-internet-vr-app-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u300eSamsung Internet\u300f\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059",
"launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","samsung-internet-vr-info":"\u3053\u306e\u7aef\u672b\u3068\u4e92\u63db\u6027\u306e\u3042\u308bVR\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u6a5f\u5668\u3092\u304a\u6301\u3061\u3067\u3001VR\u7528\u306e\u300eSamsung Internet\u300f\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u308b\u5834\u5408\u3002VR\u30d3\u30e5\u30fc\u3067\u3053\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u3092\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u306b\u88c5\u7740\u3059\u308b\u3060\u3051\u3067\u3059",
"exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","cardboard-v1":"\u4f7f\u7528\u3057\u3066\u3044\u308bCardboard\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\u3002\uff08\u4e00\u90e8\u52d5\u4f5c\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"use-default-cardboard":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528","cardboard-v2":"\u30dc\u30bf\u30f3\u304c\u4ed8\u5c5e\u3057\u3066\u3044\u308bCardboard v2\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u304a\u6301\u3061\u306e\u5834\u5408\u3002\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u64cd\u4f5c\u3067\u304d\u307e\u3059\u3002\uff08\u4e00\u90e8\u64cd\u4f5c\u51fa\u6765\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"use-cardboard-v2":"Cardboard v2\u5229\u7528","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","use-safari-for-vr":"\u3053\u306e\u30c4\u30a2\u30fc\u3092VR\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u3001Safari\u30d6\u30e9\u30a6\u30b6\u306e\u5229\u7528\u3092\u304a\u52e7\u3081\u3057\u307e\u3059","rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044"};e.nl={"enable-audio-prompt":"Audio inschakelen?","enable-video-prompt":"Video inschakelen?",
"enable-video-audio-prompt":"Audio en video inschakelen?",yes:"Ja",no:"Nee","change-to-drag-and-release":"Verander de besturingsmodus om te slepen en los te laten","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen","enter-fullscreen":"Voer het volledige scherm in","exit-fullscreen":"Verlaat volledig scherm",mute:"Schakel audio uit",unmute:"Schakel audio in"};e.sv={"enable-audio-prompt":"Aktivera ljud?","enable-video-prompt":"Aktivera video?","enable-video-audio-prompt":"Aktivera ljud och video?",
yes:"ja",no:"Nej","change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta","enter-fullscreen":"Ange fullsk\u00e4rm","exit-fullscreen":"Avsluta fullsk\u00e4rmen",mute:"Inaktivera ljud",unmute:"Aktivera ljud"};e.no={"enable-audio-prompt":"Aktiver lyd?","enable-video-prompt":"Aktiver video?","enable-video-audio-prompt":"Aktiver lyd og video?",yes:"ja",no:"Nei","change-to-drag-and-release":"Endre kontrollmodus for \u00e5 dra og slippe ut",
"change-to-click-and-move":"Endre kontrollmodus for \u00e5 klikke og flytte","enter-fullscreen":"Skriv inn fullskjerm","exit-fullscreen":"Avslutt fullskjerm",mute:"Deaktiver lyden",unmute:"Aktiver lyd"};e.fi={"enable-audio-prompt":"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?","enable-video-prompt":"Ota video k\u00e4ytt\u00f6\u00f6n?","enable-video-audio-prompt":"Ota \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?",yes:"Joo",no:"ei","change-to-drag-and-release":"Muuta ohjaustilaa vet\u00e4m\u00e4ll\u00e4 ja vapauttamalla",
"change-to-click-and-move":"Muuta ohjaustilaa napsauttamalla ja siirt\u00e4m\u00e4ll\u00e4","enter-fullscreen":"Anna koko n\u00e4ytt\u00f6","exit-fullscreen":"Poistu koko n\u00e4yt\u00f6st\u00e4",mute:"Poista \u00e4\u00e4ni k\u00e4yt\u00f6st\u00e4",unmute:"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n"};e.da={"enable-audio-prompt":"Aktiv\u00e9r lyd?","enable-video-prompt":"Aktiv\u00e9r video?","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?",yes:"Ja",no:"ingen","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe",
"change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte","enter-fullscreen":"Indtast fuldsk\u00e6rm","exit-fullscreen":"Afslut fuldsk\u00e6rm",mute:"Deaktiver lyd",unmute:"Aktiv\u00e9r lyd"};e.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;","enable-video-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5 \u03ba\u03b1\u03b9 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;",
yes:"\u039d\u03b1\u03af",no:"\u03cc\u03c7\u03b9","change-to-drag-and-release":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03c3\u03cd\u03c1\u03b5\u03c4\u03b5 \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03b1\u03c0\u03b5\u03bb\u03b5\u03c5\u03b8\u03b5\u03c1\u03ce\u03c3\u03b5\u03c4\u03b5","change-to-click-and-move":"\u0391\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03b7 \u03bb\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b5\u03bb\u03ad\u03b3\u03c7\u03bf\u03c5 \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03ba\u03ac\u03bd\u03b5\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03ba\u03b1\u03b9 \u03bd\u03b1 \u03bc\u03b5\u03c4\u03b1\u03ba\u03b9\u03bd\u03b7\u03b8\u03b5\u03af\u03c4\u03b5",
"enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7","exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5"};
e.tr={"enable-audio-prompt":"Ses aktif edilsin mi?","enable-video-prompt":"Video aktif edilsin mi?","enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?",yes:"evet",no:"hay\u0131r","change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin","enter-fullscreen":"Tam ekran yap","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak",
unmute:"Sesi etkinle\u015ftir"};e.hr={"enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?","enable-video-prompt":"Omogu\u0107ite videozapis?","enable-video-audio-prompt":"Omogu\u0107iti videozapis i zvuk?",yes:"Da",no:"Ne","change-to-drag-and-release":"Promijenite na\u010din upravljanja u povla\u010denje i otpu\u0161tanje","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti","enter-fullscreen":"Unesite cijeli zaslon","exit-fullscreen":"Iza\u0111ite s punog zaslona",
mute:"nijem",unmute:"Uklju\u010di mikrofon"};var d=function(){var a=window.navigator,b=["language","browserLanguage","systemLanguage","userLanguage"],c,f,d=[],g=a.languages;if(Array.isArray(g))for(c=0;c<g.length;c++)if((f=g[c])&&f.length)f=f.toLowerCase(),-1==d.indexOf(f)&&d.push(f);for(c=0;c<b.length;c++)if((f=a[b[c]])&&f.length)f=f.toLowerCase(),-1==d.indexOf(f)&&d.push(f);return d}(),g=Object.keys(e),j=function(){for(var a=0;a<d.length;a++){var b=d[a];if(0<=g.indexOf(b))return b;b=b.substr(0,2);
if(0<=g.indexOf(b))return b}return"en"}();b.log=function(){c.log("translation lang: "+j);c.log("browser lang: "+d.join(", "))};return b});
define("fj",["require","hp"],function(a){var a=a("hp"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3A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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};b.src=
!a.vH&&a.wH?b.webm:b.W5;return b});
define("bR",["require","fj","r","hE"],function(a){function b(a){var b=document.createElement("video");b.setAttribute("playsinline","playsinline");b.src=g.src;var c=b.play();if(c){var d=z;c.then(function(){d=p;b.pause();a(z)})["catch"](function(){d||a(p)})}else b.pause(),a(z)}function c(a){var b=z,c=document.createElement("video");c.src="";(c=c.play())?c["catch"](function(a){b="NotAllowedError"!==a.name}).then(function(){a(!b)}):a(p)}function e(a){m=a;k=p;d()}function d(){for(;h.length;)h.shift().call(window,m)}
var g=a("fj"),j=a("r");a("hE");var k=z,h=[],m;(function(){j.browser()==j.Mk&&11<=j.Zma()?e(p):j.browser()==j.nh?b(e):c(function(a){a?b(e):e(z)})})();return{test:function(a){h.push(a);k&&d()}}});
define("hm",["require","jc","d","hw","bR"],function(a){function b(a,b){this.Gv=a;this.Gn=b;this.media=0;this.n6=[];this.rk=this.rk.bind(this)}function c(){this.R3=[];this.AW=[];this.Wq=[];this.oo={};this.oo[j]=n;this.oo[k]=n;this.rk=this.rk.bind(this);this.dR=this.dR.bind(this);g.test(function(a){a?d.k7(this.dR):this.rk(k|j,p)}.bind(this))}var e=a("jc");a("d");var d=a("hw"),g=a("bR");c.prototype.l7=function(a){this.oo[k]?a.call(this,p):this.R3.push(a)};c.prototype.Qoa=function(a){this.oo[j]?a.call(this,
p):this.AW.push(a)};c.prototype.Tma=function(a,b){this.xn(j,a,b)};c.prototype.bT=function(a,b){this.xn(k,a,b)};c.prototype.qoa=function(){this.oo[k]=n};c.prototype.dR=function(){var a=k|j;this.Wq.forEach(function(b){a&=~b.media});this.sm(a,p)};c.prototype.xn=function(a,b,f){this.oo[a]===n&&this.b9(b,f).bm(a)};c.prototype.rk=function(a,b){this.f$();this.sm(a,b)};c.prototype.sm=function(a,b){a&k&&(this.oo[k]=b,this.R3.forEach(function(a){a.call(window,b)}));a&j&&(this.oo[j]=b,this.AW.forEach(function(a){a.call(window,
b)}))};c.prototype.f$=function(){var a=this.Wq;this.Wq=[];a.forEach(function(a){a.cancel()})};c.prototype.b9=function(a,c){for(var f=q,d=0;d<this.Wq.length&&!f;d++)this.Wq[d].Gv==a&&(f=this.Wq[d]);f||(f=new b(a,this.rk),this.Wq.push(f));0>f.n6.indexOf(c)&&f.n6.push(c);return f};var j=1,k=2;b.prototype.bm=function(a){0===(a&this.media)&&(this.media|=a,"button"==this.Gv.get("mediaActivationMode")?this.Gv.KG.Uma(this.rk):this.Gv.GE.show(this.Vba(this.media),this.rk))};b.prototype.cancel=function(){this.Gv.KG.$ja(this.rk);
this.Gv.GE.hide(this.rk)};b.prototype.rk=function(a){this.Gn(this.media,a!==z);this.media=0};b.prototype.Vba=function(a){return a==(j|k)?e("enable-video-audio-prompt"):a==k?e("enable-video-prompt"):e("enable-audio-prompt")};return new c});
define("eu",["require","jd","bI","dT"],function(a){function b(){var a;a=d?!g:!document[k];j.visible!=a&&(j.visible=a,j.trigger(new e(c.W)))}var c=a("jd"),e=a("bI"),d=z,g=z,j=new (a("dT"));j.visible=p;for(var k,h,a=["hidden","msHidden","webkitHidden"],m=["visibilitychange","msvisibilitychange","webkitvisibilitychange"],f=0;f<a.length;f++)"undefined"!==typeof document[a[f]]&&(k=a[f],h=m[f]);k===n||"undefined"===typeof document[k]?(k="hidden",document[k]=z,h=function(){document[k]=z;b()},a=function(){document[k]=
p;b()},document.addEventListener?(window.addEventListener("focus",h,p),window.addEventListener("blur",a,p)):(document.attachEvent("onfocusin",h),document.attachEvent("onfocusout",a))):document.addEventListener(h,b,z);j.SH=function(a){(d=a)&&(g=z);b()};window.addEventListener("vrdisplayblur",function(){g=p;b()},p);window.addEventListener("vrdisplayfocus",function(){g=z;b()},p);return j});
define("eR","require,cI,hb,jd,es,eU,bI,dT,P,fo,d,hm,eu".split(","),function(a){a("cI");var b=a("hb"),c=a("jd"),e=a("es"),d=a("eU"),g=a("bI"),j=a("dT"),k=a("P"),h=a("fo"),m=a("d"),f=a("hm"),l=a("eu"),r=k.src,a=b.extend(j,function(){j.call(this);this.Li=this.Li.bind(this);this.gl=this.gl.bind(this);this.ln=this.ln.bind(this);this.Xr=this.Xr.bind(this);this.SJ=this.SJ.bind(this);this.Qz=[];this.Ot="";this.vm=e.L;this.Ur=n;this.Zq=z;this.Ug=e.L;this.sp="";this.kl=n;this.wr=z;this.Ud="inactive";l.bind(c.W,
this.pR,this);this.OE=n;this.nK=z;this.wc=document.createElement("audio");this.wc.autobuffer="autobuffer";this.wc.gt="auto";this.wc.addEventListener("progress",this.Li,z);this.wc.addEventListener("ended",this.gl,p);this.wc.addEventListener("pause",this.ln,z);this.wc.addEventListener("canplaythrough",this.Xr,z);f.Qoa(this.SJ)});a.prototype.SJ=function(a){if(this.Ud=="asking")this.Ud="inactive";a?this.sm():this.ua.set("mute",p)};a.prototype.eT=N("ua");a.prototype.play=function(a,b){this.sp=a;this.kl=
b;this.Jz(e.T)};a.prototype.stop=function(){this.Jz(e.L)};a.prototype.fj=function(){return this.wc&&this.wc.currentTime||0};a.prototype.ki=function(a){this.wc.volume=a};a.prototype.Jz=function(a){this.Ug=a;this.Ud=="activated"?l.visible&&this.ol():this.Ud=="inactive"&&(m.kw()?this.sm():this.Ug!=e.L?this.kx():this.ol())};a.prototype.kx=function(){this.Ud="asking";f.Tma(this.ua,this)};a.prototype.Li=function(){if(this.kl!==n){this.wc.currentTime=this.kl;this.kl=n}};a.prototype.ln=function(){if(this.vm==
e.T||this.Zq&&this.Ur==e.T)!isNaN(this.wc.duration)&&this.wc.currentTime==this.wc.duration?this.gl():l.visible&&this.wc.play()};a.prototype.gl=function(){if(this.vm==e.T||this.Zq&&this.Ur==e.T){this.Si(z);this.vm=e.L;this.trigger(new g(c.ta))}};a.prototype.Xr=function(){this.nK=p;this.mA();this.Si(z)};a.prototype.pR=function(){l.visible?this.Ug&&this.jda?this.ol():this.vm==e.T&&this.wc.play():this.vm==e.T&&this.wc.pause()};a.prototype.sm=function(){if(this.Ud=="inactive"||this.Ud=="asking"){this.Ud=
"activating";this.l2(r);this.S0(function(){this.Ud="activated";this.wc.pause();this.ol()}.bind(this),function(){this.Ud="inactive";this.kx()}.bind(this))}};a.prototype.ol=function(){this.Ug!=e.L&&this.lga(this.sp,this.kl);this.mga(this.Ug);this.kl=this.Ug=this.sp=n};a.prototype.lga=function(a,b){this.l2(a||"");this.wc.currentTime!=b&&this.nga(b)};a.prototype.nga=function(a){try{this.wc.currentTime=a}catch(b){}this.OE=a;this.mA()};a.prototype.mA=function(){if(this.nK&&this.OE!==n){try{this.wc.currentTime=
this.OE}catch(a){}this.OE=n}};a.prototype.mga=function(a){this.Ur=a;this.Zq||this.zF()};a.prototype.zF=function(){if(this.vm!=this.Ur)if(this.Ur==e.T||this.Ur==e.Gc&&this.vm!=e.T){this.Zq=p;this.Si(this.Ot!=r&&this.Ot!=""?p:z);var a=function(){if(this.Zq){this.vm=e.T;this.Zq=z;this.zF()}}.bind(this),b=function(){this.Zq=z;this.Si(z);setTimeout(function(){this.zF()}.bind(this),100)}.bind(this);this.S0(a,b)}else{this.Si(z);this.wc.pause();this.vm=this.Ur;this.zF()}};a.prototype.S0=function(a,b){function f(){if(!d){k();
b&&b()}}function c(){d=p;k();a&&a()}var d=z,g=2E3,h,e=function(){g=Math.min(g*2,8E3);h=setTimeout(e,g);this.wc.play()}.bind(this),l=function(){this.wc.addEventListener("play",c,z);this.wc.addEventListener("error",f,z);h=setTimeout(e,g)}.bind(this),k=function(){this.wc.removeEventListener("play",c,z);this.wc.removeEventListener("error",f,z);clearTimeout(h)}.bind(this);l();(l=this.wc.play())&&l["catch"](f)};a.prototype.l2=function(a){if(this.Ot!=a){this.nK=z;this.Ot=a;this.wc.src=this.Ot?this.Ot:k.src}};
a.prototype.Si=function(a){if(this.wr!=a)(this.wr=a)?h.X6(d.pC):h.W6(d.pC)};return a});
define("fb",["require","cI","hE"],function(a){var b=a("cI"),c=a("hE"),a={is:function(a,d){var g=c.parse(a).xka;return b(d).contains(g)},qB:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},sC:[".mp4",".m4v",".m4p"],CC:[".webm"],RU:[".ogv",".ogg"],S7:[".mpg",".mpeg"],I7:[".jpg",".jpeg"],Pk:[".m3u8"],QU:[".mpd"],Z7:[".png"],E7:[".gif"],p7:[".bmp"]};a.F7=[].concat(a.I7,a.Z7,a.E7,a.p7);a.Cw=[].concat(a.Pk,a.QU);a.CJ=[].concat(a.Cw,a.sC,a.CC,a.RU,a.S7,a.Pk,a.QU);a.G7=["data:image/"];
return a});
define("bF",["require","hE"],function(a){function b(){this.uE=this.GN=q;this.Cm=[];this.cl=z;this.Yo=n}var c=a("hE");b.prototype.Rn=function(a,b){this.GN=c.nq(a);this.uE=b;this.M()};b.prototype.load=function(a,b){var c={};c.call=a;c.context=b||window;this.Cm.push(c);this.Yo||(this.Yo=this.PY());this.M()};b.prototype.Sn=function(){return this.Yo!==n};b.prototype.M=function(){0<this.Cm.length&&(this.Yo!==n?this.xaa():this.GN&&this.zy())};b.prototype.zy=function(){if(!(this.cl||this.Yo!==n)){this.cl=
p;var a=document.createElement("script");a.type="text/javascript";a.src=this.GN;document.getElementsByTagName("head")[0].appendChild(a);this.X3()}};b.prototype.X3=function(){var a=this.PY();if(a===n){var b=this;setTimeout(function(){b.X3()},250)}else this.Yo=a,this.cl=z,this.M()};b.prototype.PY=function(){if(this.uE){for(var a=window,b=0;b<this.uE.length&&a!==n;b++)a=a[this.uE[b]];return a}};b.prototype.xaa=function(){for(;0<this.Cm.length;){var a=this.Cm.pop();a.call.call(a.context,this.Yo)}};return{zV:new b,
Pk:new b,Rn:function(a){this.Pk.Rn(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.zV.Rn(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
define("cW","require,hb,jd,es,eU,bI,dT,hp,r,fb,bF,fo,hE,d,hm,eu,fj".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("es"),d=a("eU"),g=a("bI"),j=a("dT"),k=a("hp"),h=a("r"),m=a("fb"),f=a("bF"),l=a("fo"),r=a("hE"),o=a("d"),s=a("hm"),t=a("eu"),u=a("fj"),v=b.extend(j,function(){j.call(this);this.gl=this.gl.bind(this);this.ln=this.ln.bind(this);this.lO=this.lO.bind(this);this.Xr=this.Xr.bind(this);this.YN=this.YN.bind(this);this.dO=this.dO.bind(this);this.TJ=this.TJ.bind(this);this.Ji=this.Ji.bind(this);
this.XN=this.XN.bind(this);this.Qz=[];this.Wh=q;this.Vb=[];this.dd=z;this.bj=1;this.wr=z;this.ep=this.mR=this.FA=this.aj=n;this.Ms=z;this.Ug=e.L;this.dA=this.kl=this.BO=this.sp=this.CO=n;this.ua=this.ld=q;this.t=document.createElement("video");this.PE=n;this.lR=z;this.n2();t.bind(c.W,this.pR,this);this.Ud="inactive";s.l7(this.TJ)});v.prototype.n2=function(){for(this.t.parentNode&&this.t.parentNode.removeChild(this.t);this.t.children.length;)this.t.removeChild(this.t.children[0]);this.t.autoplay=z;
this.t.autobuffer="autobuffer";this.t.gt=h.browser()==h.nh?"metadata":"none";this.t.setAttribute("preload",h.browser()==h.nh?"metadata":"none");this.t.setAttribute("webkit-playsinline","true");this.t.setAttribute("playsinline","true");this.t.addEventListener("ended",this.gl,p);this.t.addEventListener("pause",this.ln,z);this.t.addEventListener("stalled",this.ln,z);this.t.addEventListener("waiting",this.ln,z);this.t.addEventListener("timeupdate",this.lO,z);this.t.addEventListener("loadedmetadata",this.dO,
p);this.t.addEventListener("canplay",this.YN,p);this.t.addEventListener("canplaythrough",this.Xr,z);this.t.textTracks.addEventListener("addtrack",this.XN,z);this.QP()};v.prototype.clear=function(){this.pX();this.t=q};v.prototype.Pv=function(a,b,f){if(this.nB())try{a.drawImage(this.t,0,0,b,f);return}catch(c){}a.fillRect(0,0,b,f)};v.prototype.play=function(a,b,f,c,d){this.ua=a;this.sp=b;this.CO=f;this.kl=c;this.BO=d;this.Jz(e.T)};v.prototype.stop=function(){this.Jz(e.L)};v.prototype.ei=P("aj");v.prototype.nB=
function(){return this.t.readyState==this.t.HAVE_NOTHING||this.t.readyState==this.t.HAVE_METADATA||this.t.currentTime===0?z:p};v.prototype.Xf=function(a){if(this.dd!=a){this.dd=a;this.QP()}};v.prototype.ki=function(a){if(this.bj!=a){this.bj=a;this.QP()}};v.prototype.QP=function(){this.t.muted=this.bj===0||this.dd;this.t.volume=this.dd?0:this.bj};v.prototype.Jz=function(a){this.Ug=a;this.Ud=="activated"?t.visible&&this.ol():this.Ud=="inactive"&&(this.ua&&this.Aca()?this.L8():this.ua&&o.kw()?this.sm():
this.ua&&this.Ug!=e.L?this.kx():this.ol())};v.prototype.fj=function(){return this.t&&this.t.currentTime||0};v.prototype.Mn=function(){return this.t&&this.t.duration||0};v.prototype.Fc=function(){return this.t&&this.t.videoWidth||0};v.prototype.rd=function(){return this.t&&this.t.videoHeight||0};v.prototype.kx=function(){if(this.ua){this.Ud="requested";s.bT(this.ua,this)}};v.prototype.Aca=function(){var a=this.tY();return a&&(!a.currentSrc||a.paused)&&!a.muted?p:z};v.prototype.tY=function(){return this.ua.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};
v.prototype.L8=function(){this.t=this.tY();this.n2();this.sm()};v.prototype.ln=function(){(this.aj==e.T||this.Ms&&this.ep==e.T)&&!this.t.hasAttribute("loop")&&!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.gl();this.DG()};v.prototype.TJ=function(a){if(this.Ud=="requested")this.Ud="inactive";a&&this.sm()};v.prototype.sm=function(){if(this.Ud=="inactive"||this.Ud=="requested"){this.Ud="activating";this.cG(q,q,0,z,function(){this.GO(function(){this.t.pause();this.Ud=
"activated";this.ol()}.bind(this),function(){this.Ud="inactive";this.kx(this.ua)}.bind(this))}.bind(this))}};v.prototype.ed=function(){this.trigger(new g(v.lf))};v.prototype.lO=function(){this.trigger(new g(v.WI))};v.prototype.dO=function(){this.F3();this.trigger(new g(v.im));this.trigger(new g(v.w7));!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.gl()};v.prototype.YN=function(){this.DG()};v.prototype.Xr=function(){this.lR=p;this.mA();this.DG();this.Si(z)};v.prototype.gl=
function(){if(this.aj==e.T||this.Ms&&this.ep==e.T){this.Si(z);this.aj=e.L;this.t.paused||this.t.pause();this.trigger(new g(v.Cf))}};v.prototype.XN=function(){this.F3()};v.prototype.pR=function(){t.visible?this.Ug&&this.jda?this.ol():this.aj==e.T&&this.t.play():this.aj==e.T&&this.t.pause()};v.prototype.ol=function(){if(this.G1(this.sp)&&!f.Pk.Sn())f.Pk.load(this.ol,this);else{var a=function(){this.o2(this.Ug);this.kl=this.Ug=this.CO=this.sp=this.BO=n}.bind(this);this.Ug==e.T?this.cG(this.sp,this.CO,
this.kl,this.BO,a):this.FA===n?this.cG(q,q,0,z,a):h.browser()==h.qq?this.cG(q,q,0,z,a):this.o2(this.Ug)}};v.prototype.cG=function(a,b,f,c,d){a=a||q;b=b||q;this.sha(c);if(this.FA!==a||this.mR!=b){this.aj=e.L;this.y9(a,b,f,d)}else{this.PP(f);d()}};v.prototype.rha=function(a){a&&!this.t.hasAttribute("crossorigin")?this.t.setAttribute("crossorigin","anonymous"):!a&&this.t.hasAttribute("crossorigin")&&this.t.removeAttribute("crossorigin")};v.prototype.sha=function(a){a&&!this.t.hasAttribute("loop")?this.t.setAttribute("loop",
""):!a&&this.t.hasAttribute("loop")&&this.t.removeAttribute("loop")};v.prototype.PP=function(a){try{this.t.currentTime=a}catch(b){}if(h.browser()!=h.rq&&h.browser()!=h.qq){this.PE=a;this.mA()}};v.prototype.mA=function(){if(this.lR&&this.PE!==n){try{this.t.currentTime=this.PE}catch(a){}this.PE=n}};v.prototype.DG=function(){this.aj==e.T&&t.visible&&this.t.paused&&this.t.readyState>=3&&this.GO(D(),this.Uea.bind(this))};v.prototype.Uea=function(){if(h.browser()!=h.qq){s.qoa();s.l7(this.DG.bind(this));
setTimeout(function(){s.bT(this.ua,this)}.bind(this),0)}};v.prototype.Ji=function(){this.S1(this.Wh.track.activeCues)};v.prototype.S1=function(a){a||(a=[]);if(!(this.Vb.length==0&&a.length==0)){this.Vb=Array.prototype.slice.call(a);this.trigger(v.ve,this.Vb)}};v.prototype.pX=function(){if(this.ld){this.ld.destroy();this.ld=q}this.Zfa();this.$fa()};v.prototype.y9=function(a,b,f,c){this.pX();this.lR=z;this.rha(!!a&&r.H5(a));this.G1(a)?this.l9(a,b,f,c):this.v9(a,b,f,c)};v.prototype.G1=function(a){return m.is(a,
m.Pk)&&!k.mS};v.prototype.l9=function(a,b,c,d){var g=f.Pk.Yo;this.FA=a;this.mR=b;var e=r.Ol("debughls",z),l=(navigator.connection?Math.max(navigator.connection.downlink,2):2)*1048576,k=l*0.66,j={debug:e,startPosition:c===0?-1:c,levelLoadingTimeOut:6E4,startLevel:-1,autoStartLoad:z,abrEwmaDefaultEstimate:l};this.Si(p);this.ld=new g(j);this.ld.loadSource(a);this.ld.attachMedia(this.t);var m=function(){this.ld.off(g.Events.MANIFEST_PARSED,m);if(navigator.connection){var a=this.ld.levels.filter(function(a){return a.bitrate<=
l});if(a.length){a.sort(function(a,b){return b.width-a.width});this.ld.startLevel=this.ld.levels.indexOf(a[0])}a=this.ld.levels.filter(function(a){return a.bitrate<=k});if(a.length){a.sort(function(a,b){return b.width-a.width});this.ld.config.minAutoBitrate=a[0].bitrate-1}if(h.Wa()){a=this.ld.levels.filter(function(a){return a.width<=3840&&a.height<=1920});if(a.length){a.sort(function(a,b){return b.width-a.width});this.ld.autoLevelCapping=this.ld.levels.indexOf(a[0])}}if(e){console.log("bandwidth:",
l,"lowBandwidth:",k);console.log("levels",this.ld.levels);console.log("startLevel",this.ld.levels[this.ld.startLevel]);console.log("minLevel",this.ld.levels[this.ld.minAutoLevel])}}this.ld.startLoad(c===0?-1:c);c!=0&&this.PP(c);b&&this.pW(b);d()}.bind(this);this.ld.on(g.Events.MANIFEST_PARSED,m);this.ld.on(g.Events.dpa,function(a,b){b.fatal&&b.type==g.ErrorTypes.jpa&&this.ld.recoverMediaError()}.bind(this))};v.prototype.v9=function(a,b,f,c){this.FA=a;this.mR=b;if(a)this.WJ(a);else{this.WJ(u.webm,
"video/webm");this.WJ(u.W5,"video/mp4")}b&&this.pW(b);this.t.load();f!=0&&this.PP(f);c()};v.prototype.WJ=function(a,b){var f=document.createElement("source");b||(b=this.wca(a));if(b)f.type=b;r.qB(a)||(a=r.Iv(a,"swbypass=true"));f.src=a;this.t.appendChild(f);this.Qz.push(f)};v.prototype.wca=function(a){switch(r.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"}};v.prototype.Zfa=
function(){for(;this.Qz&&this.Qz.length;){var a=this.Qz.shift();a.src="";this.t.removeChild(a)}};v.prototype.pW=function(a){this.Wh=document.createElement("track");this.Wh.kind="subtitles";this.Wh.src=a;this.t.appendChild(this.Wh)};v.prototype.$fa=function(){if(this.Wh){this.Wh.track.removeEventListener("cuechange",this.Ji);this.Wh.track.mode="disabled";this.Wh.src="";this.t.removeChild(this.Wh);this.Wh=q;this.S1([])}};v.prototype.F3=function(){for(var a=0;a<this.t.textTracks.length;a++){var b=this.t.textTracks[a];
b.removeEventListener("cuechange",this.Ji);b.mode=this.Wh&&b==this.Wh.track?"hidden":"disabled";b.mode=="hidden"&&b.addEventListener("cuechange",this.Ji)}};v.prototype.o2=function(a){this.ep=a;this.Ms||this.AF()};v.prototype.AF=function(){if(this.aj!=this.ep)if(this.ep==e.T||this.ep==e.L&&this.aj!=e.T){this.Ms=p;this.Si(this.FA?p:z);var a=function(){if(this.Ms){this.aj=e.T;this.Ms=z;this.OP(p);this.AF()}}.bind(this),b=function(){this.Ms=z;this.Si(z);this.OP(z);setTimeout(function(){this.AF()}.bind(this),
100)}.bind(this);this.GO(a,b)}else{this.Si(z);this.OP(z);this.t.pause();if(this.ep==e.L)this.t.currentTime=0;this.aj=this.ep;this.AF()}};v.prototype.Si=function(a){if(this.wr!=a)(this.wr=a)?l.X6(d.pC):l.W6(d.pC)};v.prototype.OP=function(a){if(!!this.dA!=a)if(this.dA){clearInterval(this.dA);this.dA=q}else{var b=this;this.dA=setInterval(function(){b.ed()},16)}};v.prototype.GO=function(a,b){function f(){if(!d){k();b&&b()}}function c(){d=p;k();a&&a()}var d=z,g=2E3,h,e=function(){g=Math.min(g*2,8E3);h=
setTimeout(e,g);this.t.play()}.bind(this),l=function(){this.t.addEventListener("play",c,z);this.t.addEventListener("error",f,z);h=setTimeout(e,g)}.bind(this),k=function(){this.t.removeEventListener("play",c,z);this.t.removeEventListener("error",f,z);clearTimeout(h)}.bind(this);l();(l=this.t.play())&&l["catch"](f)};v.lf="time update";v.WI="time update native";v.im="duration update";v.w7="size update";v.Cf="end";v.ve="cueChange";return v});
define("dN","require,hb,cI,jd,es,bI,dT,r,hE,cW".split(","),function(a){function b(a){this.N=a;this.G=q;this.zu=(new Date).getTime()}var c=a("hb"),e=a("cI"),d=a("jd"),g=a("es"),j=a("bI"),k=a("dT"),h=a("r"),m=a("hE"),f=a("cW");b.prototype.vS=function(){return this.G==q};b.prototype.item=P("G");b.prototype.Fka=function(){this.G.BS(this.N);this.G=q};b.prototype.Noa=function(a){this.G=a;this.G.QR(this.N);this.zu=(new Date).getTime()};var l=c.extend(k,function(){k.call(this);var a=h.Dd()==h.qi?1:m.$ka();
this.Ip=[];for(var c=0;c<a;c++)this.Ip.push(new b(new f));this.Sf=[];this.k=g.L});l.prototype.ct=function(){return this.YY().length>0};l.prototype.XS=function(a){this.Sf=[a].concat(e(this.Sf).without(a));this.FO()};l.prototype.TG=function(a){this.Sf.push(a);this.FO()};l.prototype.yB=function(a){this.Sf=e(this.Sf).without(a);this.FO()};l.prototype.FO=function(){var a=this.Sf.slice(0,this.Ip.length);this.YY().forEach(function(b){a.indexOf(b.item())<0&&b.Fka()});this.nb(a.length>0?g.T:g.L);a.forEach(function(a){this.Oba(a)||
this.Fba().Noa(a)}.bind(this));this.Gba().forEach(function(a){a.N.stop()})};l.prototype.nb=function(a){if(this.k!=a){this.k=a;this.trigger(new j(this.k==g.L?d.td:d.lo))}};l.prototype.Fba=function(){var a=this.Ip.filter(function(a){return a.vS()});if(a.length){h.browser()==h.Mk&&a.sort(function(a,b){return a.zu-b.zu});return a[0]}return q};l.prototype.Gba=function(){return this.Ip.filter(function(a){return a.vS()})};l.prototype.YY=function(){return this.Ip.filter(function(a){return!a.vS()})};l.prototype.Oba=
function(a){for(var b=0;b<this.Ip.length;b++)if(this.Ip[b].item()==a)return this.Ip[b];return q};l.fN=q;l.bind=function(){var a=l.Xe();a.bind.apply(a,arguments)};l.unbind=function(){var a=l.Xe();a.unbind.apply(a,arguments)};l.ct=function(){return l.Xe().ct()};l.TG=function(a){l.Xe().TG(a)};l.XS=function(a){l.Xe().XS(a)};l.yB=function(a){l.Xe().yB(a)};l.Co=function(){if(l.fN===q)l.fN=new l;return l.fN};l.Xe=l.Co;l.Co();return l});
define("eV","require,cI,jd,bI,eR,r,dN".split(","),function(a){var b=a("cI"),c=a("jd"),e=a("bI"),d=a("eR"),g=a("r"),j=a("dN"),a={eN:function(){this.ua=q;this.W0=g.Dd()==g.qi?1:5;this.Pda=g.Wa()?z:p;this.ne=[];for(var a=0;a<this.W0;a++){var b=new d;b.bind(c.ta,this.VE,this,p);this.ne.push(b)}this.HW=this.ne.slice();this.ml={};this.Su=[];j.bind(c.lo,this.M,this,p);j.bind(c.td,this.M,this,p);this.b$=g.od()!=g.Gw&&g.od()!=g.Hw},eT:function(a){this.ua=a;this.ne.forEach(function(b){b.eT(a)});this.M()},K6:function(a,
b){if(a.dd!=b){a.Xf(b);this.LQ(a);this.M()}},ki:function(a,b){if(a.bj!=b){a.ki(b);this.LQ(a);this.M()}},LQ:function(a){a.wa&&a.wa.ki(a.dd?0:a.bj)},add:function(a){if(!this.AZ(a)){this.Bfa(a);this.M()}},remove:function(a){if(this.AZ(a)){this.xp(a);this.M()}},M:function(){var a=this.Yba(),c=b.difference(this.Su,a),a=b.difference(a,this.Su);c.forEach(this.y1.bind(this));a.forEach(this.a9.bind(this))},y1:function(a){var c=a.wa;a.setTime(c.fj());a.N6(q);c.stop();this.HW.push(c);this.Su=b(this.Su).without(a)},
a9:function(a){var b=this.HW.shift();a.N6(b);this.LQ(a);b.play(a.Oe(),a.getTime());this.Su.push(a)},VE:function(a){var d=a.source,a=b(this.Su).find(function(a){return a.wa==d});this.y1(a);a.xE?this.Nda(a):this.xp(a);a.setTime(0);a.trigger(new e(c.ta));this.M()},Bfa:function(a){var b=a.sn;this.ml[b]==n&&(this.ml[b]=[]);this.ml[b].splice(0,0,a)},AZ:function(a){return this.ml&&b(this.ml[a.sn]).contains(a)},Yba:function(){if(!this.ua||!this.b$&&j.ct())return[];var a=b(this.ml).keys();a.sort(function(a,
b){return b-a});for(var c=[],d=0;d<a.length;d++)for(var f=this.ml[a[d]],g=0;g<f.length;g++){var e=f[g];if(this.Pda||!this.pda(e)){c.push(e);if(c.length==this.W0)return c}}return c},pda:function(a){return a.dd||a.bj==0},xp:function(a){var c=a.sn,d=this.ml[c];if(d){a=b(d).indexOf(a);if(a>=0){d.splice(a,1);d.length==0&&delete this.ml[c]}}},Nda:function(a){var c=this.ml[a.sn];if(c){var d=b(c).indexOf(a);if(d>=0){c.splice(d,1);c.push(a)}}}};a.eN();return a});
define("go",["require","hb","dT"],function(a){var b=a("hb"),c=a("dT"),a=b.extend(c,function(a,b){c.call(this);this.Ab=a;this.sn=b;this.Tb=0;this.dd=this.xE=z;this.wa=q;this.bj=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.Ab+" priority:"+this.sn+" time:"+this.Tb+" loop:"+this.xE+")"};a.prototype.Oe=P("Ab");a.prototype.setTime=N("Tb");a.prototype.getTime=P("Tb");a.prototype.tT=N("xE");a.prototype.Xf=N("dd");a.prototype.ki=N("bj");a.prototype.N6=N("wa");return a});
define("dm","require,hb,jd,bI,hu,es,eV,go".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("hu"),g=a("es"),j=a("eV"),k=a("go"),a=b.extend(d,function(a,b){d.call(this);this.set("state",g.L);this.G=new k(a,b);this.G.setTime(0);this.G.bind(c.ta,this.f0,this,p)});a.prototype.clear=function(){j.remove(this.G);this.G.unbind(c.ta,this.f0,this,p);this.set("state",g.L)};a.prototype.play=function(){j.add(this.G);this.set("state",g.T)};a.prototype.pause=function(){j.remove(this.G);this.get("state")==
g.T&&this.set("state",g.Gc)};a.prototype.stop=function(){j.remove(this.G);this.G.setTime(0);this.set("state",g.L)};a.prototype.tT=function(a){this.G.tT(a)};a.prototype.bq=function(){j.K6(this.G,p)};a.prototype.tt=function(){j.K6(this.G,z)};a.prototype.ki=function(a){j.ki(this.G,a)};a.prototype.f0=function(){this.G.xE||this.set("state",g.L);this.trigger(new e(c.ta))};return a});
define("fE",["require","dm","hp"],function(a){function b(){}var c=a("dm"),e=a("hp");b.W7=3;b.V7=2;b.U7=2;b.l8=1;b.Toa="mp3";b.Voa="ogg";b.Uoa="none";b.create=function(a,g,e){return new c(b.bna(a,g),e)};b.bna=function(a,b){return a&&e.w5?a:b&&e.x5?b:a||b};return b});
define("fG","require,hb,jd,es,hu,bI,di,fE".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("es"),d=a("hu"),g=a("bI"),j=a("di"),k=a("fE"),h=b.extend(d,function(a){d.call(this);this.set("state",e.L);this.sn=a||k.l8;this.ui=n});h.hd="stateChange";j.A("Audio",h).B("Object").K({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).ug({play:function(){this.lg()},pause:function(){this.lk()},stop:function(){this.Vi()}}).mc([c.ta,h.hd]);h.prototype.Sv=function(){if(this.ui==n){var a=
this.get("audio");if(a){this.ui=k.create(a.get("mp3Url"),a.get("oggUrl"),this.sn);a=function(){this.ui.tT(this.get("loop",z))};a.call(this);this.bind(c.ga("loop"),a,this);a=function(){this.get("application").get("mute",z)?this.ui.bq():this.ui.tt()};a.call(this);this.get("application").bind(c.ga("mute"),a,this,p);a=function(){this.set("state",this.ui.get("state"))};a.call(this);this.ui.bind(c.ga("state"),a,this,p);this.ui.bind(c.ta,this.aea,this,p)}else this.ui=q}return this.ui};h.prototype.set=function(a,
b){if(a=="state"){var c=this.get("state"),k=this.ui?this.ui.get("state"):e.L;k!=c&&this.trigger(new g(h.hd,{oldState:c,state:k}))}d.prototype.set.call(this,a,b)};h.prototype.Pn=function(){return[]};h.prototype.aea=function(){this.trigger(new g(c.ta))};h.prototype.lg=function(){var a=this.Sv();a&&a.play()};h.prototype.Vi=function(){var a=this.Sv();a&&a.stop()};h.prototype.lk=function(){var a=this.Sv();a&&a.pause()};return h});
define("fz",["hb","di","fG"],function(a,b,c){a=a.extend(c,function(a){c.call(this,a)});b.A("MediaAudio",a).B("Audio").K({autoplay:"bool"});return a});define("jr",["hb","di","fz","fE"],function(a,b,c,e){a=a.extend(c,function(){c.call(this,e.U7)});b.A("PanoramaAudio",a).B("MediaAudio");return a});define("ex",["hb","jr","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("DirectionalPanoramaAudio",a).B("PanoramaAudio").K({yaw:"number",pitch:"number",maximumAngle:"number"});return a});
define("eX",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("DistancePanoramaCameraMovement",b).B("DistanceRotationalCameraMovement");return b});define("eo",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("DistanceRotationalCameraMovement",b).B("RotationalCameraMovement").K({hfovDelta:"number",pitchDelta:"number",yawDelta:"number"});return b});
define("t","require,cI,jd,hb,bI,dT".split(","),function(a){function b(a,b,c,d,m){this.Rm=q;this.WN=a;this.Fd=e.ga(this.WN);this.zca=b;this.Fa=c||window;this.Uca=d;this.h_=m;this.lN=z}var c=a("cI"),e=a("jd"),d=a("hb");a("bI");a("dT");b.prototype.unwatch=function(){this.tP(q)};b.prototype.tP=function(a){c(this.NY()).each(function(a){a&&a.unbind(this.Fd,this.cX,this)},this);this.Rm=a;c(this.NY()).each(function(a){a&&a.bind(this.Fd,this.cX,this,this.Uca)},this);this.H1()};b.prototype.NY=function(){return this.Rm?
c(this.Rm).isArray()?this.Rm:[this.Rm]:[]};b.prototype.H1=function(){this.h_&&this.h_.tP(this.Jba())};b.prototype.Jba=function(){return this.Rm==q?q:c(this.Rm).isArray()?c(this.Rm).map(function(a){return a?a.get(this.WN):q},this):this.Rm.get(this.WN)};b.prototype.cX=function(a){if(!this.lN){try{this.lN=p;this.H1();this.zca.call(this.Fa,a)}catch(b){d.FH("ChangeWatcher._changeHandler",b)}this.lN=z}};b.watch=function(a,d,e,h,m){c.isString(d)&&(d=d.split("."));typeof m=="undefined"&&(m=z);if(d.length>
0){d=new b(d[0],e,h,m,b.watch(q,d.slice(1),e,h,m));d.tP(a);return d}return q};return b});
define("jp",["jquery.mod","hb","jd","d"],function(a,b,c,e){var d=b.extend(e,function(){e.call(this);this.Mc("DropDownArrow");this.u=q;this.Fm=p;this.bind(c.qb,this.Kaa,this)});d.prototype.na=function(){e.prototype.na.call(this);this.f("color","#000000");this.f("direction",d.wI)};d.prototype.Kaa=function(){this.Fm=p;this.Ub()};d.prototype.Ha=function(){e.prototype.Ha.call(this);this.u||(this.u=a("<canvas/>"),this.u.css({position:"absolute",left:0,top:0}),this.Ka().append(this.u))};d.prototype.ca=function(){var a=
z;this.m("color")&&(a=p,this.o("color"));this.m("direction")&&(a=p,this.o("direction"));this.Fm&&(a=p,this.Fm=z);if(a){var a=this.qd(),b=this.pd(),c=this.j("color"),h=this.j("direction"),m=[0.5*a,0,a],h=h==d.wI?[b,0,0]:[0,b,b],f=this.u.get(0);f.width=a;f.height=b;f=f.getContext("2d");f.clearRect(0,0,a,b);f.beginPath();f.moveTo(m[0],h[0]);f.lineTo(m[1],h[1]);f.lineTo(m[2],h[2]);f.fillStyle=c;f.fill()}e.prototype.ca.call(this)};d.wI="down";d.bpa="up";return d});
define("eL","hb,bI,W,N,jd,c,en,iO,jp,fB".split(","),function(a,b,c,e,d,g,j,k,h,m){a=a.extend(k,function(){k.call(this);this.Mc("DropDownButton");this.po=this.ia=q;this.AN=p;this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("cursor",e.Td);this.bind(d.U,this.WL,this)});a.prototype.na=function(){k.prototype.na.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
5);this.f("arrowGap",5);this.f("shadow",z);this.f("layout",g.we);this.f("verticalAlign",c.ac);this.f("borderRadius",5);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("backgroundColorDirection","vertical");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");
this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.h("rollOverBorderColor",j.q,"borderColor");this.h("rollOverArrowColor",j.q,"arrowColor");this.h("rollOverBackgroundColor",j.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",j.q,"backgroundColorRatios");this.h("rollOverShadow",j.q,"shadow");this.h("pressedBorderColor",j.sa,"borderColor");this.h("pressedArrowColor",
j.sa,"arrowColor");this.h("pressedBackgroundColor",j.sa,"backgroundColor");this.h("pressedBackgroundColorRatios",j.sa,"backgroundColorRatios");this.h("pressedShadow",j.sa,"shadow");this.h("pressedRollOverBorderColor",j.Ra,"borderColor");this.h("pressedRollOverArrowColor",j.Ra,"arrowColor");this.h("pressedRollOverBackgroundColor",j.Ra,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",j.Ra,"backgroundColorRatios");this.h("pressedRollOverShadow",j.Ra,"shadow");this.h("pressedBorderColor",
j.C,"borderColor");this.h("pressedArrowColor",j.C,"arrowColor");this.h("pressedBackgroundColor",j.C,"backgroundColor");this.h("pressedBackgroundColorRatios",j.C,"backgroundColorRatios");this.h("pressedShadow",j.C,"shadow")};a.prototype.set=function(a,b){if(a=="label"&&this.get("label")!=b){this.AN=p;this.Ub()}k.prototype.set.call(this,a,b)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.ia){this.ia=new m;this.ia.set("width","100%");this.pa(this.ia)}if(!this.po){this.po=new h;this.po.set("direction",
h.wI);this.pa(this.po)}};a.prototype.WL=function(){this.open();this.trigger(new b(d.OPEN))};a.prototype.open=function(){this.unbind(d.U,this.WL,this);this.Kz(p)};a.prototype.close=function(){this.bind(d.U,this.WL,this);this.Kz(z)};a.prototype.ca=function(){if(this.AN){this.ia.set("text",this.get("label"));this.AN=z}this.Ta(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
"textShadowOpacity"],{},[this.ia],p,p);if(this.m("arrowGap")){this.set("gap",this.j("arrowGap"));this.o("arrowGap")}if(this.m("arrowColor")){this.po.set("color",this.j("arrowColor"));this.o("arrowColor")}if(this.m("arrowBeforeLabel")){this.j("arrowBeforeLabel")==p?this.hi(this.po,0):this.hi(this.ia,0);this.o("arrowBeforeLabel")}if(this.m("arrowWidth")){this.po.set("width",this.j("arrowWidth"));this.o("arrowWidth")}if(this.m("arrowHeight")){this.po.set("height",this.j("arrowHeight"));this.o("arrowHeight")}k.prototype.ca.call(this)};
return a});define("eB",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Xa={layout:e.Te};a.defaults(d.Xa,c.Xa);d.prototype.na=function(){this.yi(d.Xa)};return d});
define("hi","require,hb,bI,W,N,eO,jd,iO,eB,fB".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("W"),d=a("N"),g=a("eO"),j=a("jd"),k=a("iO"),h=a("eB"),m=a("fB"),a=b.extend(k,function(){k.call(this);this.Mc("DropDownPopup");this.Ob=q;this.SC=z;this.Ca=q;this.uy=[];this.Op=p});a.prototype.open=function(a){this.Ob=a;this.SC=p;this.eb().hi(this,this.eb().Na().length-1);this.set("overIndex",-1);this.set("visible",p);this.bind(j.pb,this.Jb,this);this.eb().bind(j.Hb,this.a_,this);this.eb().bind(j.qb,this.hb,
this)};a.prototype.close=function(){this.Ob=q;this.SC=p;this.set("visible",z);this.Ca.set("overflow",g.Pq);this.Ca.set("contentOpaque",p);this.unbind(j.pb,this.Jb,this);this.eb().unbind(j.Hb,this.a_,this);this.eb().bind(j.qb,this.hb,this)};a.prototype.Ha=function(){k.prototype.Ha.call(this);if(!this.Ca){this.Ca=new h;this.Ca.set("overflow",g.Pq);this.Ca.bind(j.qb,this.hb,this);this.Ca.bind(j.Tk,this.Cp,this);this.pa(this.Ca)}};a.prototype.hb=function(){this.z3()};a.prototype.Jb=function(){this.yP=
z};a.prototype.Cp=function(){this.yP=p};a.prototype.a_=function(){this.get("overIndex")==-1&&(!this.yP||!this.Ci)&&this.trigger(new c(j.uq));this.yP=z};a.prototype.qea=function(a){this.set("overIndex",this.BM(a.source))};a.prototype.rea=function(a){a=this.BM(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.pea=function(a){a=this.BM(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(j.Uk))};a.prototype.BM=function(a){for(var b=0;b<this.uy.length;b++)if(this.uy[b]==
a)return b;return-1};a.prototype.na=function(){k.prototype.na.call(this);this.f("visible",z);this.f("width","100%");this.f("height","100%");this.f("includeInLayout",z);this.f("items",[]);this.f("selectedIndex",-1);this.f("overIndex",-1);this.f("popUpGap",0);this.f("popUpBackgroundColor");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");this.f("popUpFontColor");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("popUpShadow",
p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("fontFamily");this.f("fontSize");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("buttonWidth")};a.prototype.ca=function(){var a=
z,b=z;if(this.m("items")){for(var a=this.j("items")||[],c=this.uy.length;c<a.length;c++){var g=new m;g.Q({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:d.Td});g.bind(j.Bj,this.qea,this);g.bind(j.mf,this.rea,this);g.bind(j.U,this.pea,this);this.uy.push(g)}g=this.Ca.Na();for(c=a.length;c<g.length;c++)this.Ca.removeChild(g[c]);for(c=g.length;c<a.length;c++)this.Ca.pa(this.uy[c]);for(c=0;c<a.length;c++)g[c].set("text",a[c]);this.o("items");b=a=p}if(this.m("selectedIndex")){this.o("selectedIndex");
a=p}for(var e=["horizontalAlign","popUpBackgroundOpacity","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight","popUpPaddingTop","fontFamily","fontSize","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],c=0;c<e.length;c++){g=e[c];if(this.m(g)){this.o(g);b=p}}if(b){e={fontFamily:this.j("fontFamily"),fontSize:this.j("fontSize"),fontWeight:this.j("fontWeight"),fontStyle:this.j("fontStyle"),
horizontalAlign:this.j("horizontalAlign"),textDecoration:this.j("textDecoration"),textShadowColor:this.j("textShadowColor"),textShadowHorizontalLength:this.j("textShadowHorizontalLength"),textShadowVerticalLength:this.j("textShadowVerticalLength"),textShadowBlurRadius:this.j("textShadowBlurRadius"),textShadowOpacity:this.j("textShadowOpacity"),paddingBottom:this.j("popUpPaddingBottom"),paddingLeft:this.j("popUpPaddingLeft"),paddingRight:this.j("popUpPaddingRight"),paddingTop:this.j("popUpPaddingTop"),
backgroundOpacity:this.j("popUpBackgroundOpacity")};g=this.Ca.Na();for(c=0;c<g.length;c++)g[c].Q(e)}e=["selectedIndex","overIndex","popUpBackgroundColor","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor"];for(c=0;c<e.length;c++){g=e[c];if(this.m(g)){this.o(g);a=p}}if(a)for(var a=this.j("popUpBackgroundColor"),e=this.j("rollOverPopUpBackgroundColor")||a,b=this.j("selectedPopUpBackgroundColor")||a,h=this.j("popUpFontColor"),
u=this.j("rollOverPopUpFontColor")||h,v=this.j("selectedPopUpFontColor")||h,x=this.j("selectedIndex"),y=this.j("overIndex"),g=this.Ca.Na(),c=0;c<g.length;c++)c==x?g[c].Q({fontColor:v,backgroundColor:b}):c==y?g[c].Q({fontColor:u,backgroundColor:e}):g[c].Q({fontColor:h,backgroundColor:a});if(this.SC||this.m("popUpGap")||this.m("buttonWidth")){this.Ob&&this.Ca.set("minWidth",this.Ob.ya());this.o("popUpGap");this.z3();this.SC=z}this.Ta(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength",
"popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Ca],p,p);this.p3();k.prototype.ca.call(this)};a.prototype.z3=function(){if(this.Ob){var a=this.eb(),b=this.Ob.ola(a),c=this.Ob.ya(),d=this.Ob.$a(),h=this.j("popUpGap"),
k=this.Ca.Ba,j=this.Ca.Ja,m=a.$a()-(b.top+d+h)-5,x=b.top-5-h,y=this.j("horizontalAlign");if(j<=m){this.Op=p;this.Ca.set("top",b.top+d+h);this.Ca.set("maxHeight",n);this.Ca.set("overflow",g.Pq)}else if(j<=x){this.Op=z;this.Ca.set("top",b.top-j-h);this.Ca.set("maxHeight",n);this.Ca.set("overflow",g.Pq)}else{if(m>=x){this.Op=p;this.Ca.set("top",b.top+d+h);this.Ca.set("maxHeight",m)}else{this.Op=z;this.Ca.set("top",b.top-x+h);this.Ca.set("maxHeight",x)}this.Ca.set("overflow",g.Tk)}d=y==e.sc?b.left+Math.round((c-
k)*0.5):y==e.Pa?b.left+c-k:b.left;d<0?d=b.left:b.left+k>a.ya()&&(d=b.left+c-k);this.Ca.set("left",d);this.p3()}};a.prototype.p3=function(){var a=this.j("popUpBorderRadius");this.Ca.Q({borderTopRadius:this.Op?0:a,borderBottomRadius:this.Op?a:0});for(var b=this.Ca.Na(),c=0;c<b.length;c++){var d=c==0,g=c==b.length-1;b[c].Q({borderTopRadius:!this.Op&&d?a:0,borderBottomRadius:this.Op&&g?a:0})}};return a});
define("jl","require,hb,bI,jd,iO,eL,hi".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("jd"),d=a("iO"),g=a("eL"),j=a("hi"),a=b.extend(d,function(){d.call(this);this.Mc("DropDown");this.ny=z;this.Ob=this.Of=q;this.u2=p;this.Kc=-1;this.Xg=z});a.prototype.na=function(){d.prototype.na.call(this);this.f("prompt","");this.f("label","");this.f("items",[]);this.f("selectedIndex",-1);this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",5);this.f("arrowGap",5);this.f("borderRadius",5);
this.f("borderSize",1);this.f("backgroundColorDirection","vertical");this.f("horizontalAlign","left");this.f("paddingLeft",5);this.f("paddingTop",5);this.f("paddingRight",5);this.f("paddingBottom",5);this.f("fontFamily");this.f("fontSize");this.f("fontColor","#555555");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowVerticalLength");this.f("textShadowBlurRadius");this.f("textShadowOpacity");this.f("popUpGap",
0);this.f("popUpBorderRadius");this.f("popUpPaddingBottom",2);this.f("popUpPaddingLeft",5);this.f("popUpPaddingRight",5);this.f("popUpPaddingTop",2);this.f("popUpShadow",p);this.f("popUpShadowBlurRadius");this.f("popUpShadowColor");this.f("popUpShadowHorizontalLength");this.f("popUpShadowOpacity");this.f("popUpShadowSpread");this.f("popUpShadowVerticalLength");this.f("popUpBackgroundColor","#FFFFFF");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");
this.f("popUpFontColor","#555555");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("borderColor","#AAAAAA");this.f("arrowColor","#000000");this.f("backgroundColor",["#FAFAFA","#E5E5E5"]);this.f("backgroundColorRatios",[0,1]);this.f("shadow",z);this.f("rollOverBorderColor");this.f("rollOverArrowColor");this.f("rollOverBackgroundColor");this.f("rollOverBackgroundColorRatios");this.f("rollOverShadow");this.f("pressedBorderColor");this.f("pressedArrowColor");this.f("pressedBackgroundColor");
this.f("pressedBackgroundColorRatios");this.f("pressedShadow");this.f("pressedRollOverBorderColor");this.f("pressedRollOverArrowColor");this.f("pressedRollOverBackgroundColor");this.f("pressedRollOverBackgroundColorRatios");this.f("pressedRollOverShadow")};a.prototype.Ha=function(){d.prototype.Ha.call(this);if(!this.Ob){this.Ob=new g;this.Ob.bind(e.qb,this.eea,this);this.Ob.bind(e.OPEN,this.Aea,this);this.Ob.bind(e.uq,this.ZN,this);this.Ob.bind(e.yg,this.dea,this);this.Ob.set("width","100%");this.Ob.set("height",
"100%");this.pa(this.Ob)}if(!this.Of){this.Of=new j;this.Of.bind(e.uq,this.ZN,this);this.Of.bind(e.Uk,this.Oea,this);this.eb().pa(this.Of)}};a.prototype.eea=function(){this.u2=p;this.Ub()};a.prototype.Aea=function(){this.Ob.open();this.Of.set("selectedIndex",this.get("selectedIndex"));this.Of.open(this.Ob)};a.prototype.ZN=function(){this.Ob.close();this.Of.close()};a.prototype.dea=function(){this.Ob.close();this.Of.close()};a.prototype.Oea=function(){this.set("selectedIndex",this.Of.get("selectedIndex"));
this.ZN();this.Xg=p};a.prototype.ca=function(){var a=z;if(this.m("prompt")||this.m("label")){a=p;this.o("label");this.o("prompt")}if(this.m("selectedIndex")||this.m("items")){var a=p,b=this.j("selectedIndex"),g=this.j("items");b>=0&&b>=g.length&&(b=-1);this.set("selectedIndex",b);this.Of.set("items",this.j("items"));this.Of.set("selectedIndex",this.j("selectedIndex"));this.o("items");this.o("selectedIndex");if(this.Xg){this.Xg=z;this.trigger(new c(e.W))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
a=b<0?this.j("prompt"):this.j("items")[b]}this.Ob.set("label",a)}if(this.u2){this.Of.set("minWidth",this.Ob.ya());this.Of.set("buttonWidth",this.Ob.ya())}this.Ta(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.Ob,this.Of],p,p);this.Ta(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Of],p,p);this.Ta(["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.Ob],p,p);d.prototype.ca.call(this)};return a});
define("dB","require,hb,t,jd,jl,di,cI".split(","),function(a){var b=a("hb"),c=a("t"),e=a("jd"),d=a("jl"),g=a("di"),j=a("cI"),a=b.extend(d,function(){d.call(this);this.wb=q;this.KZ=[];this.bind(e.W,this.hea,this)});g.A("DropDown",a).B("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"}).bo(["fontSize"]);a.prototype.set=function(a,b){if(a=="playList"){if(this.wb)for(this.wb.unbind("change",this.mn,this);this.KZ.length;)this.KZ.shift().unwatch();if(this.wb=b){c.watch(this.wb,"items.label",
this.zG,this);c.watch(this.wb,"items.media.label",this.zG,this);this.zG();this.wb.bind("change",this.mn,this);this.mn()}else this.zG()}else d.prototype.set.call(this,a,b)};a.prototype.zG=function(){this.wb?this.set("items",j(this.wb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.mn=function(){this.set("selectedIndex",this.wb.get("selectedIndex"))};a.prototype.hea=function(){this.wb&&this.wb.set("selectedIndex",this.get("selectedIndex"))};
return a});
define("cS","hb,hu,jd,bI,R,iS,bh".split(","),function(a,b,c,e,d,g,j){var k={},h=a.extend(b,function(){b.call(this);this.Cb=n;this.xk=[];this.k="stopped";this.set("easing","linear");this.set("duration",1E3)});h.prototype.play=function(a){a||(a=k);if(!this.ct(a))if(this.k=="stopped"||this.xk.indexOf(a)<0){this.k="playing";this.xk.push(a);this.ke=0;this.Cb=Math.max(this.get("duration",1E3),1);this.je=new g(this.get("easing","linear"),[new j("pos",0,1)],this.Cb);this.je.setTime(this.ke);this.nv();this.Hp();
this.wF()}else this.k="playing"};h.prototype.reverse=function(){target||(target=k);if(!this.cma())if(this.k=="stopped"||this.xk.indexOf(target)<0){this.k="playingReverse";this.xk.push(target);this.ke=this.Cb=Math.max(this.get("duration",1E3),0);this.je=new g(this.get("easing","linear"),[new j("pos",0,1)],this.Cb);this.je.setTime(this.ke);this.nv();this.Hp();this.wF()}else this.k="playingReverse"};h.prototype.end=function(){if(this.k!="stopped"){this.ke=this.Cb;this.Hp();this.wF()}};h.prototype.ct=
function(a){return this.k=="playing"&&this.xk.indexOf(a)>=0};h.prototype.cma=function(){return this.k=="playingReverse"&&this.xk.indexOf(target)>=0};h.prototype.$e=function(a){if(this.k!="stopped"){this.ke=this.k=="playing"?Math.min(this.Cb,this.ke+a):Math.max(0,this.ke-a);this.je.setTime(this.ke);this.Hp();this.wF()}};h.prototype.bw=function(){return this.je.ab("pos")};h.prototype.Fo=function(a){if(this.xk)for(var b=0;b<this.xk.length;b++)a.call(this,this.xk[b],b)};h.prototype.nv=function(){this.trigger(new e(h.nU))};
h.prototype.Hp=function(){this.trigger(new e(h.hU))};h.prototype.lv=function(){this.trigger(new e(h.Cf))};h.prototype.mv=function(){this.trigger(new e(h.mU))};h.prototype.wF=function(){if(this.k=="playingReverse"&&this.ke<=0){this.mv();this.k="stopped";this.xk=[]}else if(this.k=="playing"&&this.ke>=this.Cb){this.lv();this.k="stopped";this.xk=[]}else this.k!="stopped"&&d.za(this.$e,this)};h.nU="start";h.hU="frame";h.Cf="end";h.mU="reverseEnd";return h});
define("be",["hb","jd","bI","di","cS"],function(a,b,c,e,d){a=a.extend(d,function(){d.call(this)});e.A("Effect",a).B("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]"}).jh([d.nU,d.hU,d.Cf,d.mU]).ug({play:function(){return d.prototype.play.apply(this,arguments)},reverse:function(){return d.prototype.reverse.apply(this,arguments)},getPosition:function(){return d.prototype.bw.apply(this,
arguments)}});return a});
define("X",["hb","cS"],function(a,b){var c=a.extend(b,function(){b.call(this);this.$J=this.YJ=q});c.prototype.nv=function(){b.prototype.nv.call(this);this.YJ=[];this.$J=[];this.Fo(function(a){this.YJ.push(this.get("alphaFrom",a.di()));this.$J.push(this.get("alphaTo",a.di()))});this.FF()};c.prototype.Hp=function(){b.prototype.Hp.call(this);this.FF()};c.prototype.FF=function(){this.Fo(function(a,b){var c=this.YJ[b],c=c+(this.$J[b]-c)*this.bw(),j=0<a.di()&&a.Wc;!j&&0<c?(a.ji(0),a.Qe(p),a.ji(c)):0==c?
(a.Qe(z),a.ji(1)):a.ji(c)})};c.prototype.lv=function(){this.FF();b.prototype.lv.call(this)};c.prototype.mv=function(){this.FF();b.prototype.mv.call(this)};return c});define("is",["hb","X"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("iE",["hb","is","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeInEffect",a).B("Effect");return a});
define("iG",["hb","X"],function(a,b){return a.extend(b,function(){b.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("gc",["hb","iG","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("FadeOutEffect",a).B("Effect");return a});
define("bQ",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this);this.set("enabled",p);this.set("interactionEnabled",p);this.set("enabledInCardboard",z);this.set("enabledInStandard",p);this.set("items",[]);this.set("rollOverItems",[]);this.set("maps",[]);this.set("rollOverMaps",[]);this.set("areas",[]);this.set("fadeInDuration",200);this.set("fadeOutDuration",200);this.Vd=[]});a.A("HotspotPanoramaOverlay",b).B("PanoramaOverlay").K({centerOverDisplay:"bool",
rollOverDisplay:"bool",useHandCursor:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",rollOverEffect:"Effect",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]]"});b.prototype.set=function(a,b){switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.Yfa(),this.Vd=[]}c.prototype.set.call(this,a,b);switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.get("rollOverEffect")&&this.get("areas",[]).length&&this.c9()}};b.prototype.c9=function(){this.get("areas",[]).forEach(function(a){a.bind(e.Qc,
this.r_,this,p);a.bind(e.oc,this.q_,this,p)}.bind(this))};b.prototype.Yfa=function(){this.get("areas",[]).forEach(function(a){a.unbind(e.Qc,this.r_,this,p);a.unbind(e.oc,this.q_,this,p)}.bind(this))};b.prototype.r_=function(a){0>this.Vd.indexOf(a.source)&&(this.Vd.push(a.source),1==this.Vd.length&&(a=this.get("rollOverEffect"))&&a.play())};b.prototype.q_=function(a){a=this.Vd.indexOf(a.source);0<=a&&(this.Vd.splice(a,1),0==this.Vd.length&&(a=this.get("rollOverEffect"))&&a.reverse())};return b});
define("hO",["require","hb","di","bQ"],function(a){var b=a("hb"),c=a("di"),e=a("bQ"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlay",a).B("HotspotPanoramaOverlay");return a});
define("q",["hb","hu","di","jd"],function(a,b,c,e){a=a.extend(b,function(){b.call(this);this.set("displayTooltipInTouchScreens",p)});c.A("HotspotPanoramaOverlayArea",a).B("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",displayTooltipInTouchScreens:"bool",useHandCursor:"bool"}).mc([e.Qc,e.oc,e.Bj,e.mf]).jh([e.U]);return a});define("dx",["di","q"],function(a,b){a.A("FlatHotspotPanoramaOverlayArea",b).B("HotspotPanoramaOverlayArea");return b});
define("cF",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(a,b,g,j,k){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);g!==n&&this.set("roll",g);this.set("opacity",j!==n?j:1);k!==n&&this.set("timestamp",k)});a.A("FlatPanoramaOverlayPlaybackPosition",b).B("Object").K({opacity:"number",pitch:"number",roll:"number",timestamp:"number",yaw:"number"});return b});
define("dS",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(a,b,g,j,k,h,m,f,l){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);g!==n&&this.set("rotationX",g);j!==n&&this.set("rotationY",j);k!==n&&this.set("roll",k);h!==n&&this.set("hfov",h);m!==n&&this.set("vfov",m);this.set("opacity",f!==n?f:1);l!==n&&this.set("timestamp",l)});a.A("PanoramaOverlayPlaybackPosition",b).B("Object").K({opacity:"number",yaw:"number",pitch:"number",rotationX:"number",
rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
define("G",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(a,b,g,j,k,h,m){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);g!==n&&this.set("rotationX",g);j!==n&&this.set("rotationY",j);k!==n&&this.set("rotationZ",k);h!==n&&this.set("hfov",h);m!==n&&this.set("timestamp",m)});a.A("PopupPanoramaOverlayPlaybackPosition",b).B("Object").K({yaw:"number",pitch:"number",rotationX:"number",rotationY:"number",rotationZ:"number",hfov:"number",timestamp:"number"});
return b});
define("gy",["require","hu","cF","dS","G"],function(a){var b=a("hu"),c=a("cF"),e=a("dS"),d=a("G");return{Wka:function(a){return this.JM(a,this.Yaa)},sH:function(a){return this.JM(a,this.nfa)},mla:function(a){return this.JM(a,this.ufa)},Yaa:function(a){return new c(b.prototype.get.call(a,"yaw",0),b.prototype.get.call(a,"pitch",0),b.prototype.get.call(a,"roll",0),b.prototype.get.call(a,"opacity",1),0)},nfa:function(a){function c(d,e){return b.prototype.get.call(a,d,e)}return new e(c("yaw",0),c("pitch",
0),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",c("vfov")===n?45:n),c("vfov"),c("opacity",1),0)},ufa:function(a){function c(d,e){return b.prototype.get.call(a,d,e)}return new d(c("yaw",0),c("pitch",0),c("rotationX",0),c("rotationY",0),c("rotationZ",0),c("hfov",45),0)},JM:function(a,c){var d=b.prototype.get.call(a,"playbackPositions")||[];return 0<d.length?d.slice().sort(function(a,b){return a.get("timestamp")-b.get("timestamp")||d.indexOf(a)-d.indexOf(b)}):[c(a)]}}});
define("fJ","require,hb,hu,jd,di,gy".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("di"),g=a("gy"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Ld=n});d.A("FlatHotspotPanoramaOverlayImageBase",a).B("Object").K({distance:"number",height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",offsetX:"number",offsetY:"number",opacity:"number",pitch:"number",playbackPositions:"array[FlatPanoramaOverlayPlaybackPosition]",roll:"number",
scale:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",verticalAlign:"enum[bottom, middle, top]",width:"number",yaw:"number"}).mc([e.Df,e.yg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ld===n)this.Ld=g.Wka(this);return this.Ld}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.Ld=n;d=p}c.prototype.set.call(this,
a,b);d&&a!="playbackPositions"&&this.trigger(e.ga("playbackPositions"))};return a});define("o",["require","hb","di","fJ"],function(a){var b=a("hb"),c=a("di"),e=a("fJ"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlayImage",a).B("FlatHotspotPanoramaOverlayImageBase");return a});
define("cD",["require","hb","di","fJ"],function(a){var b=a("hb"),c=a("di"),e=a("fJ"),a=b.extend(e,function(){e.call(this)});c.A("FlatHotspotPanoramaOverlayMap",a).B("FlatHotspotPanoramaOverlayImageBase");return a});define("cn",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Xa={layout:e.io};a.defaults(d.Xa,c.Xa);d.prototype.na=function(){this.yi(d.Xa)};return d});
define("gf",["cI","hb","cn","di"],function(a,b,c,e){a=b.extend(c,function(){c.call(this)});e.A("GridContainer",a).B("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("fR","require,cI,jquery.mod,bI,dT,jd,eU,hE,gE,fo,hb".split(","),function(a){function b(){}function c(a){this.Hma=a;this.ij=[];this.Pe=0}var e=a("cI");a("jquery.mod");var d=a("bI"),g=a("dT"),j=a("jd"),k=a("eU"),h=a("hE"),m=a("gE"),f=a("fo"),l=a("hb").extend(g,function(a){g.call(this);this.url=a;this.YS=this.Pe=0;this.status=l.vJ;this.fo=q});l.prototype.LS=function(a){this.YS=this.YS+a};l.prototype.nw=function(a){this.Pe=this.Pe+a};l.prototype.start=function(){this.status=l.yC;m.Y6(this.url)?
this.$o():this.Fi=f.add(this.url,k.aC,this.kga.bind(this),this.ZW.bind(this))};l.prototype.kga=function(){this.fo=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.fo.open("GET",this.url);this.fo.onreadystatechange=function(){this.fo.readyState>3&&this.$o()}.bind(this);this.fo.send()};l.prototype.ZW=function(){if(this.fo){this.fo.abort();this.fo=q}};l.prototype.stop=function(){if(this.status==l.yC){this.status=l.vJ;this.ZW();this.Fi&&this.Fi.cancel()}};l.prototype.$o=
function(){this.fo=q;if(this.Fi){this.Fi.loaded();this.Fi=q}this.status=l.g8;this.trigger(new d(j.O))};l.vJ="not loaded";l.yC="loading";l.g8="loaded";c.prototype.Lja=function(a){a.forEach(function(a){if(this.ij.indexOf(a)<0){this.ij.push(a);a.nw(this.Pe);a.LS(1)}}.bind(this))};c.prototype.Oma=function(a){var b=this.ij;this.ij=[];b.forEach(function(b){if(a.indexOf(b)<0)this.ij.push(b);else{b.nw(-this.Pe);b.LS(-1)}}.bind(this))};c.prototype.Jma=function(){this.ij.forEach(function(a){a.nw(-this.Pe);
a.LS(-1)}.bind(this));this.ij=[];this.Pe=0};c.prototype.nw=function(a){this.Pe=this.Pe+a;this.ij.forEach(function(b){b.nw(a)})};b.cc=[];b.s1=[];b.gba=0;b.d4=function(a,b){this.DF(a).Lja(b.map(function(a){return this.G(a)}.bind(this)));this.hG();this.M()};b.Rma=function(a,b){this.DF(a).Oma(b.map(function(a){return this.G(a)}.bind(this)));this.hG();this.M()};b.Kma=function(a){this.DF(a).Jma();this.hG();this.M()};b.HH=function(a,b){this.DF(a).nw(b);this.hG();this.M()};b.hG=function(){this.cc.sort(function(a,
b){return b.Pe-a.Pe})};b.M=function(a){if(this.enabled()&&(a||!this.Al))if(a){this.Al&&clearTimeout(this.Al);this.Al=q;var a=this.Qba(),b=this.Rba();e(a).difference(b).forEach(function(a){a.stop()});e(b).difference(a).forEach(function(a){a.start()})}else this.Al=setTimeout(function(){this.Al=q;this.M(p)}.bind(this),1E3)};b.Al=q;b.Qba=function(){return this.cc.filter(function(a){return a.status==l.yC})};b.Rba=function(){for(var a=this.Sba(),b=[],c=0;c<this.cc.length&&b.length<a;c++){var f=this.cc[c];
f.YS>0&&(f.status==l.vJ||f.status==l.yC)&&b.push(f)}return b};b.Sba=function(){return this.gba>0?0:1};b.DF=function(a){var b=e(this.s1).find(function(b){return b.Hma==a});if(!b){b=new c(a);this.s1.push(b)}return b};b.G=function(a){var b=e(this.cc).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(j.O,this.M,this);this.cc.push(b)}return b};b.enabled=function(a){if(a===n)return b.vaa||b.waa?z:b.$L!==n?b.$L:b.Z;b.Z=a};b.Z=p;b.CT=function(a){b.$L=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
b.$L=n;b.waa=h.Ol("disable-background-preload",z);b.vaa=z;return b});define("cN",["hb","hu","di","fR"],function(a,b,c,e){var d=a.extend(b,function(){b.call(this);this.RQ=a.Wn(this.RQ,this)});c.A("Media",d).B("Object").K({label:"string",thumbnailUrl:"string"}).oj(["thumbnailUrl"]);d.prototype.RQ=function(){e.d4(this,this.Pn())};d.prototype.Pn=function(){return[]};d.prototype.Qma=function(){e.Kma(this)};d.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.RQ()};return d});
define("fr",["require","cI","hb","di","cN"],function(a){a("cI");var b=a("hb"),c=a("di"),e=a("cN"),a=b.extend(e,function(){e.call(this);this.rE=this.ov=n;this.set("distanceToFloor",1.7)});c.A("Panorama",a).B("Media").K({adjacentPanoramas:"array[AdjacentPanorama]",audios:"array[PanoramaAudio]",cardboardMenu:"Menu",flipImageHorizontally:"bool",frames:"array[PanoramaFrame]",distanceToFloor:"number",hfov:"number",hfovMax:"number",hfovMin:"or[number,percent]",mapLocations:"array[PanoramaMapLocation]",overlays:"array[PanoramaOverlay]",
partial:"bool",pitch:"number",vfov:"number",vrMenu:"Menu"});a.prototype.get=function(a,b){switch(a){case "overlays":return this.EM();case "frames":return this.Eba()}return e.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){switch(a){case "cardboardMenu":this.set("vrMenu",b)}e.prototype.set.call(this,a,b)};a.prototype.EM=function(){var a=e.prototype.get.call(this,"overlays");a||(a=[]);return this.YP(a)};a.prototype.YP=function(a){if(this.ov===n||this.rE!=a){var b=function(a){return c.tb("PopupPanoramaOverlay",
a)},e=function(a){return c.tb("LensFlarePanoramaOverlay",a)};this.rE=a;this.ov=[].concat(a.filter(function(a){return!(b(a)||e(a))}),a.filter(e),a.filter(b))}return this.ov};a.prototype.t5=function(){return 0<this.get("overlays").filter(function(a){return c.tb("TripodCapPanoramaOverlay",a)}).length};a.prototype.i5=function(){return 0<this.get("overlays").filter(function(a){return c.tb("CeilingCapPanoramaOverlay",a)}).length};a.prototype.E5=function(){if(!this.D5())return z;var a=this.get("pitch",0),
b=this.get("vfov",180);if(179.9<=b)return p;var c=this.i5()?90:a+0.5*b,a=this.t5()?-90:a-0.5*b;return 179.9<=c-a?p:z};a.prototype.D5=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.J4=Q(0);a.prototype.Eba=function(){var a=e.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.Qja(this)}.bind(this));return a};return a});
define("im",["require","hb","di","fr"],function(a){var b=a("hb"),c=a("di"),e=a("fr"),a=b.extend(e,function(){e.call(this)});c.A("HDRPanorama",a).B("Panorama").K({minimumLuminance:"number",maximumLuminance:"number",luminanceChangeTime:"number",maxLuminanceChangeSpeed:"number"});a.prototype.J4=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
define("hx",["hb","hu","di","jd"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});c.A("HotspotMapOverlayArea",a).B("Object").K({mapColor:"or[color,enum[image,transparent,any]]",toolTip:"string",useHandCursor:"bool"}).mc([e.Qc,e.oc]).jh([e.U]);return a});
define("hy",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),e=b.extend(c,function(){c.call(this)});a.A("ImageResourceLevel",e).B("Object").K({url:"string",width:"number",height:"number",grayscale:"bool",tags:"or[array[enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]], enum[preload,mobile,ipadpro,oculusgo,mobilevr,ondemand]]"}).oj(["url"]);e.prototype.get=function(a,b){switch(a){case "tags":var j=c.prototype.get.call(this,a);j||(j=[]);Array.isArray(j)||(j=[j]);0>j.indexOf(e.mm)&&
c.prototype.get.call(this,"grayscale")&&(j=j.concat([e.mm]));return j}return c.prototype.get.call(this,a,b)};e.prototype.s5=function(a){return 0<=this.get("tags").indexOf(a)};e.mm="preload";e.mV="mobile";e.lV="ipadpro";e.nV="mobilevr";e.yJ="ondemand";return e});
define("dO",["require","hy","r","hE"],function(a){var b=a("hy"),c=a("r"),e=a("hE");return{Ck:function(a){return this.$v(a,"load")},Ys:function(a){return this.$v(a,"preload")},fw:function(a){return this.Ck(a)!=this.Ys(a)},$v:function(a,b){var c=a.get("levels")||[],e=this.oba(c),e=this.hca(b,e),c=this.Vaa(c,b),h=this.TY(c,e[0],e[1],this.fca(b));h||(h=this.TY(c,e[0],e[1],n));return h},Vaa:function(a,g){"preload"==g?a=this.DD(a,b.mm):"load"==g&&(a=this.Uaa(a,b.mm));c.$p()&&(a=this.DD(a,b.lV));c.jf()&&
(a=this.DD(a,b.nV));c.Wa()&&(a=this.DD(a,b.mV));return a},oba:function(a){if(0==a.length)return 1;a.sort(function(a,b){return b.get("width")-a.get("width")});return a[0].get("width")/a[0].get("height")},hca:function(a,b){if("preload"==a)return[0,0];var e=1E4;this.$aa()||(c.jf()?e=2048:c.$p()?e=1280:c.Wa()&&(e=1024));return 1>b?[e*b,e]:[e,e/b]},fca:function(a){if("load"==a)return z},$aa:function(){return c.$p()&&e.Ol("recent_ipad_use_max_res",z)},DD:function(a,b){var c=a.filter(function(a){return a.s5(b)});
0==c.length&&(c=a);return c},Uaa:function(a,b){var c=a.filter(function(a){return!a.s5(b)});0==c.length&&(c=a);return c},TY:function(a,b,c,e){function h(a){return Math.abs(a.get("width")*a.get("height")-b*c)}a=a.filter(function(a){return e!==n&&e!=a.get("grayscale",z)?z:p});if(0==a.length)return q;a.sort(function(a,b){return h(a)-h(b)});return a[0]}}});
define("x","require,hb,hu,di,dO,W,hA".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("di"),d=a("dO"),g=a("W"),j=a("hA"),a=b.extend(c,function(){c.call(this);this.set("x",0);this.set("y",0);this.set("offsetX",0);this.set("offsetY",0);this.set("width",0);this.set("height",0);this.set("scaleMode",j.jm);this.set("horizontalAlign",g.sc);this.set("verticalAlign",g.ac)});e.A("HotspotMapOverlayImageBase",a).B("Object").K({height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",
offsetX:"number",offsetY:"number",scaleMode:"enum[none, fill, fit_inside, fit_outside, fit_to_width, fit_to_height]",verticalAlign:"enum[bottom, middle, top]",width:"number",x:"number",y:"number"});a.prototype.Ck=function(){return this.get("image")?d.Ck(this.get("image")):q};a.prototype.Ys=function(){return this.get("image")?d.Ys(this.get("image")):q};return a});define("hc",["hb","bI"],function(a,b){return a.extend(b,function(a,e){b.call(this,a);this.ih=e})});
define("bB",["require","hb","hu","jd","hc"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("hc"),a=b.extend(c,function(){c.call(this);this.zA=[];this.md=n;this.k="initial"});a.prototype.Dk=P("zA");a.prototype.S6=function(a){this.zA!=a&&(this.zA=a,this.$o=this.md=n)};a.prototype.Qna=function(a){this.md!==a&&(this.k="loading",this.md=a,this.trigger(new d(e.bc,this.md)))};a.prototype.sT=function(){"loaded"!==this.k&&(this.k="loaded",this.trigger(e.O))};a.prototype.tna=function(){"loaded"!==this.k&&
(this.k="error",this.trigger(e.jd))};return a});define("ch",["hb","bB"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.gf=a});c.prototype.Wf=P("gf");c.uV="map";c.vV="overlay";return c});define("gj",["hb","ch"],function(a,b){var c=a.extend(b,function(a,c,g){b.call(this,b.vV);this.cfa=a;this.$=c;this.aa=g});c.prototype.eh=P("$");c.prototype.fh=P("aa");c.tV="image";c.sV="fov";return c});
define("hv",["hb","gj"],function(a,b){var c=a.extend(b,function(a,c,g,j,k,h,m,f,l,r,o){b.call(this,b.tV,c,g);this.Ab=a;this.K1=j;this.Vr=k;this.Wr=h;this.R=m;this.ba=f;this.Dc=l;this.Jg=r;this.Yg=o;this.zA=[a]});c.prototype.Oe=P("Ab");c.prototype.Fc=P("R");c.prototype.rd=P("ba");return c});
define("ev","require,hb,di,x,dO,hv".split(","),function(a){var b=a("hb"),c=a("di"),e=a("x");LevelUtil=a("dO");ImageOverlay=a("hv");a=b.extend(e,function(){e.call(this);this.Zo=n});c.A("HotspotMapOverlayImage",a).B("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Oc()};a.prototype.Oc=function(a){if(this.Zo===n)this.Zo=this.aH(a);return this.Zo};a.prototype.aH=function(a){var b=this.get("image");if(b){b=LevelUtil.Ck(b);return new ImageOverlay(b.get("url"),this.get("x"),this.get("y"),
a,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))}return q};return a});define("A",["require","hb","di","x"],function(a){var b=a("hb"),c=a("di"),e=a("x"),a=b.extend(e,function(){e.call(this)});c.A("HotspotMapOverlayMap",a).B("HotspotMapOverlayImageBase");return a});
define("dR","require,hb,hu,jd,di,gy".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("di"),g=a("gy"),a=b.extend(c,function(){c.call(this);this.set("opacity",1);this.set("scale",1);this.Ld=n});d.A("HotspotPanoramaOverlayImageBase",a).B("Object").K({yaw:"number",pitch:"number",roll:"number",rotationX:"number",rotationY:"number",hfov:"number",vfov:"number",distance:"number",horizontalAlign:"enum[center, left, right]",verticalAlign:"enum[bottom, middle, top]",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",
opacity:"number",scale:"number",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).mc([e.Df,e.yg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ld===n)this.Ld=g.sH(this);return this.Ld}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.Ld=n;d=p}c.prototype.set.call(this,
a,b);d&&a!="playbackPositions"&&this.trigger(e.ga("playbackPositions"))};return a});define("hn",["require","hb","di","dR"],function(a){var b=a("hb"),c=a("di"),e=a("dR"),a=b.extend(e,function(){e.call(this)});c.A("HotspotPanoramaOverlayImage",a).B("HotspotPanoramaOverlayImageBase");return a});define("K",["require","hb","di","dR"],function(a){var b=a("hb"),c=a("di"),e=a("dR"),a=b.extend(e,function(){e.call(this)});c.A("HotspotPanoramaOverlayMap",a).B("HotspotPanoramaOverlayImageBase");return a});
define("hd",[],function(){function a(a){for(var b={},a=a.split(","),c=0;c<a.length;c++)b[a[c]]=p;return b}var b=/^<([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,c=/^<\/([-A-Za-z0-9_]+\:?[-A-Za-z0-9_]*)[^>]*>/,e=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,d=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),g=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"),
j=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"),k=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),h=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),m=a("script,style");return function(a,l){function r(a,b,c,f){b=b.toLowerCase();if(g[b])for(;u.last()&&j[u.last()];)o(0,u.last());k[b]&&
u.last()==b&&o(0,b);(f=d[b]||!!f)||u.push(b);if(l.start){var m=[];c.replace(e,function(a,b,c,f,d){a=c?c:f?f:d?d:h[b]?b:"";m.push({name:b,value:a,RR:a.replace(/(^|[^\\])"/g,'$1\\"')})});l.start&&l.start(b,m,f)}}function o(a,b){if(b){b=b.toLowerCase();for(c=u.length-1;0<=c&&u[c]!=b;c--);}else var c=0;if(0<=c){for(var f=u.length-1;f>=c;f--)l.end&&l.end(u[f]);u.length=c}}var s,t,u=[],v=a;for(u.last=function(){return this[this.length-1]};a;){t=p;if(!u.last()||!m[u.last()]){if(0==a.indexOf("<\!--"))s=a.indexOf("--\>"),
0<=s&&(l.eka&&l.eka(a.substring(4,s)),a=a.substring(s+3),t=z);else if(0==a.indexOf("</")){if(s=a.match(c))a=a.substring(s[0].length),s[0].replace(c,o),t=z}else if(0==a.indexOf("<")&&(s=a.match(b)))a=a.substring(s[0].length),s[0].replace(b,r),t=z;t&&(s=a.indexOf("<"),t=0>s?a:a.substring(0,s),a=0>s?"":a.substring(s),l.SA&&l.SA(t))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.SA&&l.SA(b);return""}),o(0,
u.last());a==v&&i("Parse Error: "+a);v=a}o()}});
define("dv","require,jquery.mod,cI,hb,jd,bI,dT,r,hd".split(","),function(a){var b=a("jquery.mod");a("cI");var c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),j=a("r"),k=a("hd"),h=c.extend(g,function(a){g.call(this);this.yc=b(a);this.Dz=[];this.Do=q});h.prototype.Pla=function(a){a&&a.toLowerCase().indexOf("<script")>=0?j.Kv()==j.Iw?this.Yca(a):this.Xca(a):this.Wca(a)};h.prototype.Wca=function(a){this.yc.empty();a&&this.yc.append(a);this.wG()};h.prototype.Yca=function(a){this.yc.empty();var c=this.yc,d=q,g=
[],e=q;new k(a,{start:function(a,g,h){if(a=="script"){for(var h=n,k=0;k<g.length&&h===n;k++){var j=g[k];if(j.name=="src")h=j.value}e={parent:c,previousSibling:d,src:h,content:""}}else{for(var m={},k=0;k<g.length;k++){j=g[k];m[j.name]=j.value}g=b("<"+a+"/>");g.attr(m);c.append(g);if(h)d=g;else{c=g;d=q}}},SA:function(a){e?e.content=e.content+a:c.append(a)},end:function(a){if(a=="script"){g.push(e);e=q}else{d=c;c=c.parent()}}});this.Dz=g;this.vE()};h.prototype.Xca=function(a){function f(){g++;return d+
g}this.yc.empty();var d="fragment_"+c.j6(6)+"_",g=0,e=f(),h=[e],j=n,u=[],v=q,x="";new k(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}v={parentClsName:h[h.length-1],previousSiblingClsName:j,src:c,content:""}}else{x=x+("<"+a);for(var g=f(),e=z,a=0;a<b.length;a++){d=b[a];if(d.name=="class"){d.RR=d.RR+(" "+g);e=p}x=x+(" "+d.name+'="'+d.RR+'"')}e||(x=x+(' class="'+g+'"'));if(c){x=x+"/>";j=g}else{x=x+">";h.push(g);j=n}}},SA:function(a){v?
v.content=v.content+a:x=x+a},end:function(a){if(a=="script"){u.push(v);v=q}else{j=h[h.length-1];h.pop()}}});this.yc.get(0).innerHTML=x;this.yc.addClass(e);for(a=0;a<u.length;a++){var y=u[a],A=y.parentClsName;delete y.parentClsName;j=y.previousSiblingClsName;delete y.previousSiblingClsName;y.parent=b("."+A);y.previousSibling=j?b("."+j):q}this.yc.removeClass(e);this.Dz=u;this.vE()};h.prototype.vE=function(){if(!this.Do)if(this.Dz.length>0){this.Do=this.Dz[0];this.Dz.splice(0,1);var a=this.Do.src;if(a){var c=
this;h.Ada(a,function(){c.RZ()},function(){c.Fda()})}else{var d=this.Do.parent,a=this.Do.previousSibling,g;g=a?a.next():d.children(":first");a=document.write;document.write=g.length?function(a){g.before(a)}:function(a){d.append(a)};b.globalEval(this.Do.content);document.write=a;this.RZ()}}else this.wG()};h.prototype.Fda=function(){this.Do=q;this.vE()};h.prototype.RZ=function(){this.Do=q;this.vE()};h.prototype.wG=function(){this.trigger(new d(e.ta))};h.PZ={};h.Ada=function(a,c,d){h.PZ[a]?c.call(window):
b.ajax({url:a,async:z,dataType:"script",error:d,success:function(){h.PZ[a]=p;c.call(window)}})};return h});
define("hR",["hb","jd","bI","dT"],function(a,b,c,e){a=a.extend(e,function(a,b){e.call(this);this.fda=a;this.Z=b;this.Xi=q});a.prototype.bind=function(){var a=e.prototype.bind.apply(this,arguments);this.uA();return a};a.prototype.unbind=function(){var a=e.prototype.unbind.apply(this,arguments);this.uA();return a};a.prototype.start=function(){this.Z=p;this.uA()};a.prototype.stop=function(){this.Z=z;this.uA()};a.prototype.mO=function(){this.trigger(new c(b.nc))};a.prototype.uA=function(){if(this.Z&&
this.h5(b.nc)){if(this.Xi==q){var a=this;this.Xi=setTimeout(function(){a.Xi=q;a.mO();a.uA()},this.fda)}}else this.Xi!=q&&(clearTimeout(this.Xi),this.Xi=q)};return a});
define("gZ","require,jquery.mod,cI,hb,jd,fh,W,d,dv,cX,hR".split(","),function(a){var b=a("jquery.mod"),c=a("cI"),e=a("hb"),d=a("jd"),g=a("fh"),j=a("W"),k=a("d"),h=a("dv"),m=a("cX"),a=a("hR"),f=e.extend(k,function(){k.call(this);this.Mc("HTML");this.ir=f.EC;this.d1=this.e1=0;this.v2=(new Date).getTime();this.wD=this.Hf=q;this.Mt=this.Mt.bind(this);this.dK=[]});f.prototype.na=function(){k.prototype.na.call(this);this.f("content");this.f("horizontalAlign",j.qa);this.f("verticalAlign",j.ac);this.f("fontFamily");
this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textAlign");this.f("textDecoration");this.f("textShadowBlurRadius",3);this.f("textShadowColor","#000000");this.f("textShadowHorizontalLength",0);this.f("textShadowOpacity",0);this.f("textShadowVerticalLength",0)};f.prototype.Fp=function(a){this.ua&&g.get(this.ua).Lma(this.Mt);k.prototype.Fp.call(this,a);if(this.ua){g.get(this.ua).Jja(this.Mt);g.get(this.ua).Nv(this.Mt)}};f.prototype.Ha=function(){k.prototype.Ha.call(this);
if(!this.wD){this.Hf=document.createElement("div");this.wD=b(this.Hf);this.LL({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var a=this.Ka();a.yw(z);a.append(this.wD);this.nZ=new h(this.wD);this.nZ.bind(d.ta,this.Mca,this,p);this.bind(d.qb,this.oZ,this)}};f.prototype.ca=function(){var a={},b=z;this.m("visible")&&(b=p);if(this.m("content")){this.nZ.Pla(this.j("content"));this.o("content");b=p}if(this.m("fontFamily")){b=this.j("fontFamily");c(b).isString()||(b="");a.fontFamily=
m.Vp(b);this.o("fontFamily");b=p}if(this.m("fontSize")){b=this.j("fontSize");c(b).isNumber()?b=b+"px":c(b).isString()||(b="");a.fontSize=b;this.o("fontSize");b=p}if(this.m("fontColor")){b=this.j("fontColor");c(b).isString()||(b="");a.color=b;this.o("fontColor");b=p}if(this.m("fontWeight")){b=this.j("fontWeight");switch(b){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:b="normal"}a.fontWeight=
b;this.o("fontWeight");b=p}if(this.m("fontStyle")){b=this.j("fontStyle");switch(b){case "italic":case "normal":break;default:b="normal"}a.fontStyle=b;this.o("fontStyle");b=p}if(this.m("textDecoration")){b=this.j("textDecoration");switch(b){case "underline":case "overline":case "line-through":case "none":break;default:b="none"}a.textDecoration=b;this.o("textDecoration");b=p}if(this.m("textAlign")){b=this.j("textAlign");switch(b){case "left":case "right":case "center":case "justify":break;default:b=
""}a["text-align"]=b;this.o("textAlign");b=p}var f=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(c(f).any(function(a){return this.m(a)},this)){var d={};c(f).each(function(a){d[a]=this.j(a);this.o(a)},this);a["-moz-text-shadow"]=a["-webkit-text-shadow"]=a["text-shadow"]=[d.textShadowHorizontalLength+"px",d.textShadowVerticalLength+"px",d.textShadowBlurRadius+"px","rgba("+parseInt("0x"+d.textShadowColor.substr(1,2))+", "+parseInt("0x"+
d.textShadowColor.substr(3,2))+", "+parseInt("0x"+d.textShadowColor.substr(5,2))+", "+d.textShadowOpacity+")"].join(" ");f=d.textShadowVerticalLength==0&&this.j("textShadowHorizontalLength")==0?135:Math.round(4*Math.atan2(d.textShadowHorizontalLength,-d.textShadowVerticalLength)/Math.PI)*45;a.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*d.textShadowOpacity).toString(16)).slice(-2)+d.textShadowColor.substr(1,6)+",direction="+f+")"}c(["paddingTop","paddingRight","paddingBottom",
"paddingLeft"]).any(function(a){return this.m(a)},this)&&(b=p);this.LL(a);b&&this.g_();k.prototype.ca.call(this)};f.prototype.g_=function(){this.oZ();this.Ga();this.j("visible")&&this.j("content")?this.Gz(f.DV):this.Gz(f.EC)};f.prototype.Pp=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;k.prototype.Pp.call(this,a,!b)};f.prototype.cn=function(){k.prototype.cn.call(this);var a=this.Ka();this.Pg=this.Hf.clientWidth+a.Zv()+a.cw();this.Og=this.Hf.clientHeight+
a.dw()+a.Tv()};f.prototype.g2=function(a){if(this.GM()!=a){this.Hf.style.paddingLeft=a+"px";this.Ga()}};f.prototype.GM=function(){return parseInt(this.Hf.style.paddingLeft)||0};f.prototype.i2=function(a){if(this.IM()!=a){this.Hf.style.paddingTop=a+"px";this.Ga()}};f.prototype.IM=function(){return parseInt(this.Hf.style.paddingTop)||0};f.prototype.h2=function(a){if(this.HM!=a){this.Hf.style.paddingRight=a+"px";this.Ga()}};f.prototype.HM=function(){return parseInt(this.Hf.style.paddingRight)||0};f.prototype.f2=
function(a){if(this.FM()!=a){this.Hf.style.paddingBottom=a+"px";this.Ga()}};f.prototype.FM=function(){return parseInt(this.Hf.style.paddingBottom)||0};f.prototype.Mca=function(){this.dK=Array.prototype.slice.call(this.Hf.querySelectorAll("*[style]")).map(function(a){var b={};b.uka=a;b.style=a.getAttribute("style");return b}).filter(function(a){return l.test(a.style)}).map(function(a){for(var b=a.style,c=[];;){var f=l.exec(b);if(f){c.push(function(a){return function(){return a}}(b.substr(0,f.index+
1)));c.push(function(a,b){switch(b){case "vw":return function(b){return Math.round(b*a)+"px"};case "vh":return function(b,c){return Math.round(c*a)+"px"};case "vmin":return function(b,c,f){return Math.round(f*a)+"px"};case "vmax":return function(b,c,f){return Math.round(f*a)+"px"}}}(parseFloat(f[1]),f[3].toLowerCase()));b=b.substr(f.index+f[0].length)}else{c.push(function(a){return function(){return a}}(b));a.functions=c;return a}}});this.ua&&g.get(this.ua).Nv(this.Mt)};f.prototype.Mt=function(a,
b,c,f){if(this.dK.length!=0){this.dK.forEach(function(d){var g=d.functions.map(function(d){return d(a,b,c,f)}).join("");d.uka.setAttribute("style",g)});this.g_()}};f.prototype.oZ=function(){var a={width:"auto",height:"auto"},b=this.Ka();if(!this.PM()){this.Pg!=this.R&&this.Ga();var c=this.R-(b.Zv()+b.cw());c>0&&(a.width=c+"px")}if(!this.gZ()){this.Og!=this.ba&&this.Ga();b=this.ba-(b.dw()+b.Tv());b>0&&(a.height=b+"px")}this.LL(a)};f.prototype.x_=function(){var a=this.Hf.clientWidth,b=this.Hf.clientHeight;
if(this.e1!=a||this.d1!=b){this.e1=a;this.d1=b;this.Ga();this.Gz(f.DV)}else{a=(new Date).getTime()-this.v2;a>f.I8?this.Gz(f.x8):a>f.H8&&this.Gz(f.w8)}};f.prototype.bga=function(){this.v2=(new Date).getTime()};f.prototype.Gz=function(a){this.ir==f.$oa&&this.bga();if(this.ir!=a){this.ir!=f.EC&&f.fX[this.ir].unbind(d.nc,this.x_,this);this.ir=a;this.ir!=f.EC&&f.fX[this.ir].bind(d.nc,this.x_,this,p)}};f.prototype.LL=function(a){var b=this.Hf.style,c;for(c in a)b[c]=a[c]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
f.EC="stopped";f.x8="slow";f.w8="normal";f.DV="fast";f.I8=3E4;f.H8=5E3;f.fX={slow:new a(2E3,p),normal:new a(500,p),fast:new a(100,p)};return f});
define("gu",["hb","gZ","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("HTML",a).B("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"}).bo(["fontSize"]);return a});define("b",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Xa={layout:e.TT};a.defaults(d.Xa,c.Xa);d.prototype.na=function(){this.yi(d.Xa)};return d});
define("fw",["hb","eO","b","gZ"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.Po=q;this.set("contentOpaque",p)});a.prototype.na=function(){c.prototype.na.call(this);this.f("overflow",b.Tk);this.f("html")};a.prototype.Ha=function(){c.prototype.Ha.call(this);this.Po==q&&(this.Po=new e,this.Po.Q({left:0}),this.pa(this.Po))};a.prototype.ca=function(){this.Po.set("width",this.PM()?n:"100%");this.m("html")&&(this.Po.set("content",this.j("html")),this.o("html"));this.Ta(["paddingLeft","paddingTop",
"paddingRight","paddingBottom"],{},[this.Po],p,p);this.Ta(["cursor"],{},[this.Po],p,z);c.prototype.ca.call(this)};return a});define("bc",["require","hb","fw","di"],function(a){var b=a("hb"),c=a("fw"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("HTMLText",b).B("UIComponent").K({html:"string",overflow:"enum[scroll, hidden, visible]",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]"});return b});
define("gs","require,jquery.mod,hb,jd,bI,hE,eA,N,hA,en,cH,hN".split(","),function(a){function b(a,b,c){return function(f){var d;d=b=="mouse"?this.Gr(f):this.ay(f);this.EZ(d)?a.call(this,f):c=="release"?a.call(this,f):this.hba(d,f)}}var c=a("jquery.mod"),e=a("hb"),d=a("jd"),g=a("bI"),j=a("hE"),k=a("eA"),h=a("N"),m=a("hA"),f=a("en"),l=a("cH"),r=a("hN"),o=j.gh("debug"),a=e.extend(r,function(){r.call(this,3);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",h.Td);this.set("scaleMode",
m.fe);this.QK=document.createElement("canvas");this.QK.width=1;this.QK.height=1;this.RK=this.QK.getContext("2d");this.RK.globalCompositeOperation="copy";this.iM=z;this.bind(d.oc,this.Qca,this)});a.prototype.na=function(){r.prototype.na.call(this);this.f("buttonGroup");this.f("mode",l.uc);this.f("pressed");this.f("iconURL");this.f("transparencyActive");this.h("rollOverOpacity",f.q,"opacity");this.h("rollOverIconURL",f.q,"iconURL");this.h("pressedOpacity",f.sa,"opacity");this.h("pressedIconURL",f.sa,
"iconURL");this.h("pressedRollOverOpacity",f.Ra,"opacity");this.h("pressedRollOverIconURL",f.Ra,"iconURL")};a.prototype.oM=b(r.prototype.oM,"touch","capture");a.prototype.pY=b(r.prototype.mba,"touch");a.prototype.rY=b(r.prototype.mba,"touch","release");a.prototype.wQ=b(r.prototype.wQ,"touch","capture");a.prototype.vQ=b(r.prototype.vQ,"touch");a.prototype.Pp=b(r.prototype.Pp,"touch","release");a.prototype.TN=b(r.prototype.TN,"mouse","capture");a.prototype.UN=function(a){var b=this.Gr(a);if(this.EZ(b)||
this.iM){r.prototype.UN.call(this,a);this.set("cursor",h.Td)}else{this.iM=p;if(b=this.MY(b)){c(b).trigger(this.rX(a));a.preventDefault();a.stopImmediatePropagation()}this.IY(b)=="pointer"?this.set("cursor",h.Td):this.set("cursor",h.nc);this.iM=z}};a.prototype.Qca=function(){this.set("cursor",h.Td)};a.prototype.JE=b(r.prototype.JE,"mouse","release");a.prototype.EZ=function(a){if(!this.fb)return z;var b=this.fb.offset(),c=a.c6-b.left,f=this.fb.width(),a=a.d6-b.top,b=this.fb.height();if(c>=0&&a>=0&&
c<f&&a<b){if(this.get("transparencyActive")||o)return p;c=c*this.Lu/f;f=a*this.Ku/b;this.RK.drawImage(this.fb.get(0),c,f,1,1,0,0,1,1);if(this.RK.getImageData(0,0,1,1).data[3]>0)return p}return z};a.prototype.hba=function(a,b){var f=this.MY(a);if(f){c(f).trigger(this.rX(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.MY=function(a){var b=this.Om(),c=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.c6,a.d6);setTimeout(function(){b.style.pointerEvents=
c},0);return a};a.prototype.rX=function(a){return c.extend(c.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.IY=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.IY(a.parentElement))}else b="default";return b};a.prototype.sx=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new g(d.qh))}else{this.set("pressed",
p);this.trigger(new g(d.bg))}};a.prototype.ca=function(){var a=z;if(this.m("backgroundOpacityy")||this.m("backgroundColor"))a=p;if(this.m("iconURL")){this.set("url",this.j("iconURL"));this.o("iconURL")}var b=z;if(this.m("mode")){if(this.j("mode")==l.uc){this.unbind(d.U,this.sx,this,p);this.set("autoPressed",p)}else{this.bind(d.U,this.sx,this,p);this.set("autoPressed",z)}this.o("mode");b=p}if(b||this.m("pressed"))this.j("mode")==l.rh?this.jv(this.j("pressed")==p):b&&this.jv(z);if(this.m("buttonGroup")){(b=
this.j("buttonGroup"))?k.register(this,b):k.YB(this);this.o("buttonGroup")}r.prototype.ca.call(this);if(a){a=this.kb();if(a.di()==0||a.kr.length==0){a.ji(0.001);a.w6(["#000000"])}}};return a});
define("eN",["hb","gs","di","jd"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});c.A("IconButton",a).B("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"}).oj(["iconURL","rollOverIconURL",
"pressedIconURL"]).mc([e.bg,e.qh]).jh([e.U]);return a});define("il",["hb","di","fi"],function(a,b,c){a=a.extend(c,function(){c.call(this,z)});b.A("IconHotspotMapOverlay",a).B("HotspotMapOverlay");return a});
define("iN",["hb","hN","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Image",a).B("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]"}).oj(["url"]);return a});
define("fH",["hb","fB","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Label",a).B("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"}).bo(["fontSize"]);return a});define("bk",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this);this.set("bleaching",0);this.set("bleachingDistance",0.4)});a.A("LensFlarePanoramaOverlay",b).B("PanoramaOverlay").K({yaw:"number",pitch:"number",bleaching:"number",bleachingDistance:"number"});return b});
define("iR",["require","hb","di","fr"],function(a){var b=a("hb"),c=a("di"),e=a("fr"),a=b.extend(e,function(){e.call(this)});c.A("LivePanorama",a).B("Panorama").K({frameDisplayTime:"number",frameTransitionTime:"number"});return a});
define("bW",["hb","ch"],function(a,b){var c=a.extend(b,function(a,c,g,j,k,h){b.call(this,b.uV);this.Ab=a;this.R=c;this.ba=g;this.Dc=j;this.hM=k;this.jk=h.slice()});c.prototype.Dk=function(){for(var a=[this.Ab],b=0;b<this.jk.length;b++)a=a.concat(this.jk[b].Dk());return a};c.prototype.Oe=P("Ab");c.prototype.Fc=P("R");c.prototype.rd=P("ba");return c});
define("ii","require,cI,hb,di,hA,cN,dO,bW".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("di"),d=a("hA"),g=a("cN"),j=a("dO"),k=a("bW"),a=c.extend(g,function(){g.call(this);this.Zo=this.VO=n});e.A("Map",a).B("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"});a.prototype.fw=function(){return!(!this.get("image")||!j.fw(this.get("image")))};a.prototype.Ys=function(){return this.get("image")&&j.Ys(this.get("image"))};a.prototype.Ck=function(){return this.get("image")&&j.Ck(this.get("image"))};a.prototype.V4=function(){if(this.VO==n)this.VO=this.fw()?new k(this.Ys().get("url"),this.get("width"),
this.get("height"),this.get("scaleMode",d.vq),this.get("flipImageHorizontally",z),[]):q;return this.VO};a.prototype.Oc=function(){if(this.Zo==n)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.ela()}));this.Zo=new k(this.Ck().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",d.vq),this.get("flipImageHorizontally",z),a)}else this.Zo=q;return this.Zo};a.prototype.Pn=function(){return[].concat(this.ND(this.V4()),this.ND(this.Oc()))};
a.prototype.ND=function(a){return a?a.Dk():[]};return a});define("gR",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MapOverlay",a).B("Object");return a});
define("hX","hb,cI,jd,bI,dT,cH".split(","),function(a,b,c,e,d,g){a=a.extend(d,function(a,b,e){d.call(this);this.vX=a;this.Afa=b;this.KW=e||g.uc;this.eg=[];this.xo={};this.xo.mode=this.KW;this.KW==g.rh&&(this.xo.pressed=z);this.vX.bind(c.ga(b),this.o1,this);this.o1()});a.prototype.o1=function(){var a=this.vX.get(this.Afa);a||(a=[]);b.isArray(a)||(a=[a]);this.Iga(a)};a.prototype.Iga=function(a){var d=b.difference(this.eg,a);b(d).each(function(a){a.unbind(c.bg,this.QW,this,p);a.unbind(c.qh,this.RW,this,
p);a.unbind(c.U,this.JW,this,p);a.unbind(c.pb,this.LW,this,p);a.unbind(c.Hb,this.MW,this,p)},this);d=b.difference(a,this.eg);b(d).each(function(a){a.Q(this.xo);a.bind(c.bg,this.QW,this,p);a.bind(c.qh,this.RW,this,p);a.bind(c.U,this.JW,this,p);a.bind(c.pb,this.LW,this,p);a.bind(c.Hb,this.MW,this,p)},this);this.eg=a};a.prototype.QW=function(){this.trigger(new e(c.bg))};a.prototype.RW=function(){this.trigger(new e(c.qh))};a.prototype.JW=function(){this.trigger(new e(c.U))};a.prototype.LW=function(){this.trigger(new e(c.pb))};
a.prototype.MW=function(){this.trigger(new e(c.Hb))};a.prototype.set=function(a,c){this.xo[a]=c;b(this.eg).each(function(a){a.Q(this.xo)},this)};return a});
define("dW","require,cI,hb,jd,bI,en,N,b,d,is,iG".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("en"),j=a("N"),k=a("b"),h=a("d");a("is");a("iG");var m=c.extend(k,function(){k.call(this);this.Mc("PlaybackBar");this.Vg=this.md=q;this.He=[];this.vF=z;this.OO=this.fs=n;this.gQ=z});m.Xa={cursor:j.Td,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:p,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:p,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:p,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:n,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(m.Xa,k.Xa);m.prototype.na=function(){this.yi(m.Xa)};m.prototype.Ha=function(){k.prototype.Ha.call(this);(!this.md||!this.Vg)&&this.bind(e.qb,this.ofa,this,p);if(this.md==q){this.md=new h;this.md.Q({left:"0",height:"100%",
cursor:j.Td});this.pa(this.md)}if(this.Vg==q){this.Vg=new h;this.Vg.Q({left:"0",cursor:j.Td});this.Vg.bind(e.qb,this.rfa,this,p);this.Vg.bind(e.pb,this.pfa,this,p);this.eb().bind(e.tc,this.V0,this,p);this.bind(e.U,this.mfa,this,p);this.Vg.bind(e.Hb,this.qfa,this,p);this.pa(this.Vg)}var a=this.get("steps")||0;if(this.He.length!=a){for(;this.He.length>a;)this.uaa(this.He.pop());for(;this.He.length<a;)this.He.push(this.maa());this.Ta(m.aW,m.NJ,this.He,z,p);this.E3();this.UQ();this.hi(this.Vg,this.Na().length-
1)}};m.prototype.maa=function(){var a=new f;a.Q({cursor:j.Td});a.bind(e.U,this.C2,this,p);a.bind(e.qb,this.D2,this,p);this.pa(a);return a};m.prototype.uaa=function(a){a.unbind(e.U,this.C2,this,p);a.unbind(e.qb,this.D2,this,p);this.removeChild(a)};m.prototype.ca=function(){var a=z;if(this.m("position")||this.m("duration")){this.o("position");this.o("duration");a=p}if(this.m("selectedStep")){this.o("selectedStep");this.E3()}if(this.m("steps")){this.o("steps");this.oB()}this.Ta(m.GJ,m.Yw,[this.md],p,
p);this.Ta(m.E8,m.XV,[this.Vg],p,p);this.Ta(m.aW,m.NJ,this.He,p,p);k.prototype.ca.call(this);a&&this.CG()};m.prototype.E3=function(){var a=this.get("selectedStep");this.He.forEach(function(b,c){b.RB(c===a)});this.Vg.set("visible",a===n)};m.prototype.CG=function(){var a=this.ya(),b=this.Vg.ya(),c=this.Vg.$a(),f=this.Io(),d=this.cca(),g=d*a/f,a=Math.round((this.vF?this.fs:d)*a/f-b*0.5),a=Math.max(0,Math.min(a,this.qd()-b)),b=Math.round(this.pd()*0.5-c*0.5);this.Vg.Q({left:a,top:b});this.md.set("width",
Math.round(g))};m.prototype.rfa=function(){this.CG()};m.prototype.pfa=function(a){this.vF=p;this.OO=a.pageX;this.fs=this.j("position")};m.prototype.V0=function(a){if(this.vF){var b=a.pageX-this.OO;this.OO=a.pageX;var a=this.ya(),c=this.Io();this.fs=Math.max(0,Math.min(c,this.fs+c*b/a));this.CG();if(this.get("liveDragging")){this.set("position",this.fs);this.trigger(new d(e.W))}}};m.prototype.qfa=function(a){this.V0(a);this.vF=z;if(!this.get("liveDragging")){this.set("position",this.fs);this.trigger(new d(e.W))}this.fs=
n};m.prototype.mfa=function(a){if(!this.gQ){var b=this.ya();this.set("position",this.Io()*a.x/b);this.trigger(new d(e.W))}};m.prototype.D2=function(){this.UQ()};m.prototype.ofa=function(){this.UQ();this.CG()};m.prototype.UQ=function(){for(var a=this.ya(),b=this.$a(),c=this.$,f=this.getParent().ya()-(c+a),d=0,g=this.He.length;d<g;d++){var e=this.He[d],h=e.ya();e.Q({left:d==0&&c==0?0:d==g-1&&f==0?a-h:Math.round(a*d/(g-1)-h*0.5),top:Math.round(b*0.5-e.$a()*0.5)})}};m.prototype.C2=function(a){a=this.He.indexOf(a.source);
this.set("position",this.Io()*a/(this.He.length-1));this.gQ=p;this.trigger(new d(e.W));setTimeout(function(){this.gQ=z}.bind(this),0)};m.prototype.Io=function(){var a=this.j("duration");return!a?1:a};m.prototype.cca=function(){return Math.max(0,Math.min(this.Io(),this.j("position")))};m.Yw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};m.GJ=b(m.Yw).keys();m.XV={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"};m.E8=b(m.XV).keys();m.NJ={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"};m.aW=b(m.NJ).keys();var f=
c.extend(h,function(){h.call(this)});f.prototype.RB=function(a){this.Kz(a)};f.prototype.na=function(){h.prototype.na.call(this);this.f("backgroundColor");this.f("backgroundColorDirection");this.f("backgroundColorRatios");this.f("borderColor");this.f("borderRadius");this.f("borderSize");this.f("opacity");this.f("width");this.f("height");this.f("shadow");this.f("shadowBlurRadius");this.f("shadowColor");this.f("shadowHorizontalLength");this.f("shadowOpacity");this.f("shadowSpread");this.f("shadowVerticalLength");
this.h("selectedBackgroundColor",g.C,"backgroundColor");this.h("selectedBackgroundColorDirection",g.C,"backgroundColorDirection");this.h("selectedBackgroundColorRatios",g.C,"backgroundColorRatios");this.h("selectedBorderColor",g.C,"borderColor");this.h("selectedBorderRadius",g.C,"borderRadius");this.h("selectedBorderSize",g.C,"borderSize");this.h("selectedOpacity",g.C,"opacity");this.h("selectedWidth",g.C,"width");this.h("selectedHeight",g.C,"height");this.h("selectedShadow",g.C,"shadow");this.h("selectedShadowBlurRadius",
g.C,"shadowBlurRadius");this.h("selectedShadowColor",g.C,"shadowColor");this.h("selectedShadowHorizontalLength",g.C,"shadowHorizontalLength");this.h("selectedShadowOpacity",g.C,"shadowOpacity");this.h("selectedShadowSpread",g.C,"shadowSpread");this.h("selectedShadowVerticalLength",g.C,"shadowVerticalLength")};f.prototype.ca=function(){h.prototype.ca.call(this)};return m});
define("v",["cI","hb","b","d"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this);this.Mc("ProgressBar")});d.Xa={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n};a.defaults(d.Xa,c.Xa);d.prototype.na=function(){this.yi(d.Xa)};d.prototype.Ha=function(){c.prototype.Ha.call(this);this.md==q&&(this.md=new e,this.md.Q({left:"0",width:"0%",height:"100%"}),this.pa(this.md))};
d.prototype.ca=function(){this.m("percent")&&(this.md.set("width",Math.round(this.j("percent"))+"%"),this.o("percent"));this.Ta(d.GJ,d.Yw,[this.md],p,p);c.prototype.ca.call(this)};d.Yw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};d.GJ=a(d.Yw).keys();return d});
define("gH",["require","cI","hb","t"],function(a){var b=a("cI"),c=a("hb"),e=a("t");return{Qt:[],Le:function(a,b,c,e){this.iW(a,b,c,e,z)},Ypa:function(a,b,c,e){this.iW(a,b,c,e,p)},iW:function(a,g,j,k,h){function m(){for(var b=[],f=0;f<g.length;f++)try{b.push(a.get(g[f]))}catch(e){b.push(n),c.FH("BindingsHandler._addBinding",e)}j.apply(this,b)}b.isArray(g)||(g=[g]);var m=h?c.Wn(m,this.Fa):m.bind(this.Fa),f=[];b.forEach(g,function(b){f.push(e.watch(a,b,m))},this);this.Qt.push({Soa:f,host:a,g6:g,g5:j});
k&&m()},kf:function(a,c,e){var k=b(this.Qt).select(function(h){return h.g5==e&&h.host==a&&b.isEqual(h.g6,c)});b(k).forEach(function(a){b(a.Soa).forEach(function(a){a.unwatch()})});this.Qt=b.difference(this.Qt,k)},Vqa:function(){for(;0<this.Qt.length;){var a=b.first(this.Qt);this.kf(a.host,a.g6,a.g5)}}}});
define("iu",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},y4:function(b,e,d){var e=e*a,b=-b*a,g=d*a,d=Math.cos(b/2),b=Math.sin(b/2),j=Math.cos(g/2),g=Math.sin(g/2),k=Math.cos(e/2),e=Math.sin(e/2),h={};h.w=d*j*k-b*g*e;h.x=d*j*e+b*g*k;h.y=b*j*k+d*g*e;h.z=d*g*k-b*j*e;return h},MT:function(a){var e=a.x*a.y+a.z*a.w,d={};if(0.499<e)d.Ia=-2*Math.atan2(a.x,a.w),d.$c=-Math.PI/2,d.pitch=0;else if(-0.499>e)d.Ia=2*Math.atan2(a.x,a.w),d.$c=Math.PI/2,d.pitch=
0;else{var g=a.x*a.x,j=a.z*a.z;d.Ia=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*j);d.$c=-Math.asin(2*e);d.pitch=Math.atan2(2*a.x*a.w-2*a.y*a.z,1-2*g-2*j);d.pitch=Math.min(Math.PI/2,Math.max(-Math.PI/2,d.pitch))}d.Ia*=b;d.pitch*=b;d.$c*=-b;return d},Ia:function(a){var e=a.x*a.y+a.z*a.w;return 0.499<e?-2*Math.atan2(a.x,a.w)*b:-0.499>e?2*Math.atan2(a.x,a.w)*b:-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*a.z*a.z)*b}}});
define("iF",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(a,c){this.x=a||0;this.y=c||0};a.Vector2.prototype={constructor:a.Vector2,set:function(a,c){this.x=a;this.y=c;return this},copy:function(a){this.x=a.x;this.y=a.y;return this}};a.Vector3=function(a,c,e){this.x=a||0;this.y=c||0;this.z=e||0};a.Vector3.prototype={constructor:a.Vector3,set:function(a,c,e){this.x=a;this.y=c;this.z=e;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.Y5(1/a):this.z=this.y=this.x=0;return this},Y5:function(a){this.x*=a;this.y*=a;this.z*=a},applyQuaternion:function(a){var c=this.x,e=this.y,d=this.z,g=a.x,j=a.y,k=a.z,a=a.w,h=a*c+j*d-k*e,m=a*e+k*c-g*d,f=a*d+g*e-j*c,c=-g*c-j*e-k*d;this.x=h*a+c*-g+m*-k-f*-j;this.y=m*a+c*-j+f*-g-h*-k;this.z=f*a+c*-k+h*-j-m*-g;return this},rka:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z},oka:function(a,c){var e=a.x,d=a.y,g=a.z,j=c.x,k=c.y,h=c.z;this.x=d*h-g*k;this.y=g*j-e*h;this.z=e*k-d*j;return this}};a.Quaternion=function(a,c,e,d){this.x=a||0;this.y=c||0;this.z=e||0;this.w=d!==n?d:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(a,c,e,d){this.x=a;this.y=c;this.z=e;this.w=d;return this},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=a.w;return this},x6:function(a,c,e){var d=Math.cos(a/2),g=Math.cos(c/2),j=Math.cos(e/2),a=Math.sin(a/2),c=Math.sin(c/
2),e=Math.sin(e/2);this.x=a*g*j+d*c*e;this.y=d*c*j-a*g*e;this.z=d*g*e-a*c*j;this.w=d*g*j+a*c*e;return this},setFromAxisAngle:function(a,c){var e=c/2,d=Math.sin(e);this.x=a.x*d;this.y=a.y*d;this.z=a.z*d;this.w=Math.cos(e);return this},multiply:function(a){return this.X5(this,a)},X5:function(a,c){var e=a.x,d=a.y,g=a.z,j=a.w,k=c.x,h=c.y,m=c.z,f=c.w;this.x=e*f+j*k+d*m-g*h;this.y=d*f+j*h+g*k-e*m;this.z=g*f+j*m+e*h-d*k;this.w=j*f-e*k-d*h-g*m;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},uoa:function(a,c){if(0===c)return this;if(1===c)return this.copy(a);var e=this.x,d=this.y,g=this.z,j=this.w,k=j*a.w+e*a.x+d*a.y+g*a.z;0>k?(this.w=-a.w,this.x=-a.x,this.y=-a.y,this.z=-a.z,k=-k):this.copy(a);if(1<=k)return this.w=j,this.x=e,this.y=d,this.z=g,this;var h=Math.acos(k),
m=Math.sqrt(1-k*k);if(0.001>Math.abs(m))return this.w=0.5*(j+this.w),this.x=0.5*(e+this.x),this.y=0.5*(d+this.y),this.z=0.5*(g+this.z),this;k=Math.sin((1-c)*h)/m;h=Math.sin(c*h)/m;this.w=j*k+this.w*h;this.x=e*k+this.x*h;this.y=d*k+this.y*h;this.z=g*k+this.z*h;return this},y6:function(){var b,c;return function(e,d){b===n&&(b=new a.Vector3);c=e.rka(d)+1;1.0E-6>c?(c=0,Math.abs(e.x)>Math.abs(e.z)?b.set(-e.y,e.x,0):b.set(0,-e.z,e.y)):b.oka(e,d);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
return this}}()};return a});
define("ds",["require","jd","bI","dT","iF"],function(a){function b(){m||(m=p,o=new h.Vector3(0,0,1),s=new h.Quaternion,t=new h.Quaternion(-Math.sqrt(0.5),0,0,Math.sqrt(0.5)),u=new h.Quaternion,e(),window.addEventListener("orientationchange",e,z),window.addEventListener("deviceorientation",d,z),c())}function c(){if(v&&!(l===n||r===n)){v=z;var a=h.degToRad*r;u.x6(h.degToRad*l.beta,h.degToRad*l.alpha,-(h.degToRad*l.gamma));u.multiply(t);u.multiply(s.setFromAxisAngle(o,-a));x||(y++,5<=y&&(x=p,f.trigger(new j(g.Rb))));
f.trigger(new j(g.W))}}function e(){r=window.orientation||0;v=p;c()}function d(a){l=a;v=p;c()}var g=a("jd"),j=a("bI"),k=a("dT"),h=a("iF"),m=z,f=new k,l,r,o,s,t,u,v,x=z,y=0;b.prototype.Vl=function(){c();return u};b.prototype.bind=function(){f.bind.apply(f,arguments)};b.prototype.unbind=function(){f.unbind.apply(f,arguments)};b.prototype.stop=function(){window.removeEventListener("orientationchange",e,z);window.removeEventListener("deviceorientation",d,z)};return b});
define("fA","require,jd,bI,dT,r,iF".split(","),function(a){function b(a){this.ima=a;this.LR=new d;this.bH=new d;this.TS=new d;this.Us=new m.Quaternion;this.SS=new m.Quaternion;this.a4=new m.Quaternion;this.L5=z;this.dH=new m.Vector3;this.GS=new m.Vector3;this.xla=new m.Quaternion}function c(){this.V5=z;this.U5=0;this.OA=new m.Vector3;this.uH=new m.Vector3;this.filter=new b(l);this.Ama=new e(r);this.jw=o.jw();this.hj=o.hj();o.YR();this.zS=o.Tla();this.fH=new m.Quaternion;o.hj()?this.fH.setFromAxisAngle(new m.Vector3(1,
0,0),Math.PI/2):this.fH.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);this.uS=new m.Quaternion;this.Bw=new m.Quaternion;this.rma=new m.Quaternion;this.rma.setFromAxisAngle(new m.Vector3(0,0,1),-window.orientation*Math.PI/180);this.Q6();o.Xla()&&this.fH.multiply(this.uS);this.o6=new m.Quaternion;this.jw=o.jw();this.hj=o.hj();this.Sla=o.YR()>=66;this.et=this.et.bind(this);this.wB=this.wB.bind(this);this.vB=this.vB.bind(this);screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",
this.et):window.addEventListener("orientationchange",this.et);this.zS?window.addEventListener("deviceorientation",this.wB):window.addEventListener("devicemotion",this.vB)}function e(a){this.Bma=a;this.MH=new m.Quaternion;this.qw=q;this.q4=new m.Quaternion;this.xB=new m.Quaternion}function d(a,b){this.set(a,b)}var g=a("jd"),j=a("bI"),k=a("dT"),h=a("r"),m=a("iF"),f=new k,l=0.98,r=0.04;b.prototype.Ija=function(a,b){this.LR.set(a,b)};b.prototype.Kja=function(a,b){this.bH.set(a,b);o.ema(b-this.TS.aI)&&
this.Yma();this.TS.copy(this.bH)};b.prototype.Yma=function(){if(this.L5){var a=this.yla(this.bH.sample,this.bH.aI-this.TS.aI);this.xla.multiply(a);this.Us.copy(this.SS);this.Us.multiply(a);a=new m.Quaternion;a.copy(this.Us);a.inverse();this.dH.set(0,0,-1);this.dH.applyQuaternion(a);this.dH.normalize();this.GS.copy(this.LR.sample);this.GS.normalize();a=new m.Quaternion;a.y6(this.dH,this.GS);a.inverse();var b=new m.Quaternion;b.copy(this.Us);b.multiply(a);this.Us.uoa(b,1-this.ima);this.SS.copy(this.Us)}else{this.a4=
this.Gja(this.LR.sample);this.SS.copy(this.a4);this.L5=p}};b.prototype.Vl=P("Us");b.prototype.Gja=function(a){var b=new m.Vector3;b.copy(a);b.normalize();a=new m.Quaternion;a.y6(new m.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.yla=function(a,b){var c=new m.Quaternion,f=new m.Vector3;f.copy(a);f.normalize();c.setFromAxisAngle(f,a.length()*b);return c};c.prototype.stop=function(){screen&&screen.orientation&&screen.orientation.addEventListener&&screen.orientation.removeEventListener("change",
this.et);window.removeEventListener("orientationchange",this.et);window.removeEventListener("deviceorientation",this.wB);window.removeEventListener("devicemotion",this.vB)};c.prototype.bw=Q(q);c.prototype.Vl=function(){var a=n;if(this.zS&&this.uD){this.s4=this.s4||function(){var a=(new m.Quaternion).setFromAxisAngle(new m.Vector3(0,0,-1),0),b=new m.Quaternion;this.UF=="landscape-secondary"?b.setFromAxisAngle(new m.Vector3(0,1,0),Math.PI/-2):b.setFromAxisAngle(new m.Vector3(0,1,0),Math.PI/2);return a.multiply(b)}();
this.r4=this.r4||function(){var a=new m.Quaternion;a.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.uD,b=new m.Quaternion;b.copy(a);b.multiply(this.r4);b.multiply(this.o6);b.multiply(this.Bw);b.X5(this.s4,b);if(this.ora){b.x=0;b.z=0;b.normalize()}this.JH[0]=b.x;this.JH[1]=b.y;this.JH[2]=b.z;this.JH[3]=b.w;return this.JH}a=this.Ama.nla(this.filter.Vl(),this.uH,this.qw);b=new m.Quaternion;b.copy(this.fH);b.multiply(this.o6);b.multiply(a);b.multiply(this.Bw);return b};c.prototype.wB=
function(a){this.uD=this.uD||new m.Quaternion;var b=a.alpha,c=a.dqa,a=a.rqa,b=(b||0)*Math.PI/180,c=(c||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.uD.x6(c,b,-a)};c.prototype.vB=function(a){var b=a.rotationRate;if(b){var c=a.accelerationIncludingGravity,a=a.timeStamp/1E3;this.jw&&(a=a/1E3);var d=a-this.qw;if(d<=o.xU||d>o.wU)this.qw=a;else{this.OA.set(-c.x,-c.y,-c.z);this.uH.set(b.alpha,b.beta,b.gamma);(this.hj||this.jw||this.Sla)&&this.uH.Y5(Math.PI/180);this.filter.Ija(this.OA,a);this.filter.Kja(this.uH,
a);this.qw=a;if(!this.V5){this.U5++;if(this.U5>=5){this.V5=p;f.trigger(new j(g.Rb))}}this.UF!=this.B4()&&this.et();f.trigger(new j(g.W))}}else{this.zS=p;window.addEventListener("deviceorientation",this.wB);window.removeEventListener("devicemotion",this.vB)}};c.prototype.bind=function(){f.bind.apply(f,arguments)};c.prototype.unbind=function(){f.unbind.apply(f,arguments)};c.prototype.et=function(){this.Q6();f.trigger(new j(g.W))};c.prototype.Q6=function(){this.Bw.set(0,0,0,1);this.UF=this.B4();switch(this.UF){case "landscape-primary":this.Bw.setFromAxisAngle(new m.Vector3(0,
0,1),-Math.PI/2);break;case "landscape-secondary":this.Bw.setFromAxisAngle(new m.Vector3(0,0,1),Math.PI/2)}this.uS.copy(this.Bw);this.uS.inverse()};c.prototype.B4=function(){var a=screen.orientation&&screen.orientation.type;if(!a)switch(window.orientation){case 0:a="portrait-primary";break;case 90:a="landscape-primary";break;case -90:a="landscape-secondary";break;case 180:a="portrait-secondary"}a=="landscape-primary"&&(this.OA.z>4.9||this.OA.z<-4.9?a=this.UF||a:this.OA.x>0&&(a="landscape-secondary"));
return a};e.prototype.nla=function(a,b,c){if(!this.qw){this.MH.copy(a);this.qw=c;return a}c=new m.Vector3;c.copy(b);c.normalize();b=b.length();if(b<m.degToRad*20){this.xB.copy(a);this.MH.copy(a);return this.xB}this.q4.setFromAxisAngle(c,b*this.Bma);this.xB.copy(this.MH);this.xB.multiply(this.q4);this.MH.copy(a);return this.xB};d.prototype.set=function(a,b){this.sample=a;this.aI=b};d.prototype.copy=function(a){this.set(a.sample,a.aI)};var o={xU:0.001,wU:1,ema:function(a){return isNaN(a)||a<=o.xU||
a>o.wU?z:p}};o.hj=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();o.Dqa=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();o.jw=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();o.YR=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),b=a?parseInt(a[1],10):q;return function(){return b}}();o.Tla=function(){var a=
z;if(o.YR()===65){var b=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(b)var b=b[1].split("."),c=b[3],a=parseInt(b[2],10)===3325&&parseInt(c,10)<148}else"getVRDisplays"in navigator&&h.browser()==h.ni&&h.bB()&&h.od()==h.fC&&(a=p);return function(){return a}}();o.Xla=function(){return window.orientation==90||window.orientation==-90};return c});
define("it","require,hb,jd,bI,dT,iu,r,ds,fA,iF,hE".split(","),function(a){function b(){function a(){r=p;f.trigger(new e(c.W))}function b(){var f;w&&(d||!l)?f=s:l&&(f=g);if(o!=f){if(o){o.unbind(c.W,a);o.stop()}if(o=f){o.bind(c.W,a,this,p);a()}}}var d=j.Dd()==j.qi||m.gh("debug")&&m.Qn("sensor")=="deviceorientation",g=new h,l=z;g.bind(c.Rb,function(){l=p;b()},this,p);var s=new k,w=z;s.bind(c.Rb,function(){w=p;b()},this,p)}a("hb");var c=a("jd"),e=a("bI"),d=a("dT"),g=a("iu"),j=a("r"),k=a("ds"),h=a("fA");
a("iF");var m=a("hE"),f=new d,l={},r=z,o;l.$S=function(a){if(j.Dd()==j.qi&&l.disabled&&DeviceMotionEvent.requestPermission){var c=z,f=z;DeviceOrientationEvent.requestPermission().then(function(a){if(a==="granted"){f=p;d()}});DeviceMotionEvent.requestPermission().then(function(a){if(a==="granted"){c=p;d()}});var d=function(){if(l.disabled&&c&&f){l.disabled=z;b();a&&a()}}}};l.bind=function(a,b){f.bind(c.W,a,b)};l.unbind=function(a,b){f.unbind(c.W,a,b)};l.qma=function(){return r};l.Vl=function(){r=z;
if(o){var a=o.Vl(),a=g.MT(a);return{yaw:a.Ia,pitch:a.pitch,roll:a.$c}}return{yaw:0,pitch:0,roll:0}};if(j.Dd()==j.DJ||j.Dd()==j.L7){l.available=z;l.disabled=z}else if(j.Dd()==j.UT&&j.browser()==j.ni&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=p;l.disabled=p}else if(j.Dd()==j.qi){l.available=p;l.disabled=p;if(j.xH()>=13&&DeviceMotionEvent.requestPermission)l.$S();else{var s=function(){window.removeEventListener("deviceorientation",s,z);l.disabled=z;b()};window.addEventListener("deviceorientation",
s,z)}}else{l.available=window.DeviceMotionEvent!=n;l.disabled=z}l.available&&!l.disabled&&b();return l});define("hQ",["require"],function(){return{zpa:"single",FRONT:"front",qa:"left",BACK:"back",Pa:"right",cb:"top",bb:"bottom"}});
define("eq",["require","hQ"],function(a){var a=a("hQ"),b={},c=Math.PI/180,e=new THREE.Matrix4;new THREE.Matrix4;var d=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];b.Bf=Math.pow(10,3);b.sI=0.5*b.Bf;b.f8=b.Bf;b.oV=[a.FRONT,a.Pa,a.BACK,a.qa,a.cb,a.bb];b.n4=function(a,c){for(var d=b.Bf,e=b.sI,m=a*c,f=this.Co(),l=[],r=0,o=6*m;r<o;r++)l.push(r);var r=[],s=m;r.push(this.Jt(f,a,c,-e,+e,-e,+d,0,-d,0,l.slice(0,s)));o=s;s+=m;r.push(this.Jt(f,a,
c,+e,+e,-e,0,+d,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Jt(f,a,c,+e,+e,+e,-d,0,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Jt(f,a,c,-e,+e,+e,0,-d,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Jt(f,a,c,-e,+e,+e,+d,0,0,-d,l.slice(o,s)));o=s;r.push(this.Jt(f,a,c,-e,-e,-e,+d,0,0,+d,l.slice(o,s+m)));f.mergeVertices();f.computeFaceNormals();f.userData.type="cube";f.userData.u5=a;f.userData.j7=c;f.userData.xma=r;return f};b.XA=function(){var a=this.Co();this.oW(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();a.computeFaceNormals();
a.userData.type="plane";return a};b.M6=function(a,b,c,d,e){var f=a.faceVertexUvs[0][0];f[0].x=b;f[0].y=c+e;f[1].x=b;f[1].y=c;f[2].x=b+d;f[2].y=c;f=a.faceVertexUvs[0][1];f[0].x=b;f[0].y=c+e;f[1].x=b+d;f[1].y=c;f[2].x=b+d;f[2].y=c+e;a.jra=p};b.Xv=function(){return b.sI};b.S4=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.T4=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.rH=function(a){return Math.max(Math.min(3.539647*a-6.669366*a*a+4.7454*a*a*a,b.sI),0.1)};b.Co=function(){var a=new THREE.Geometry;a.userData=
{};return a};b.Jt=function(a,b,c,d,e,f,l,r,o,s,t){for(var u={},v=0,x=0;x<c;x++){u[x]={};for(var y=0;y<b;y++)this.oW(a,d+l*y/b+0*x/c,e+0*y/b+o*x/c,f+r*y/b+s*x/c,l/b,0/b,r/b,0/c,o/c,s/c,t[v]),u[x][y]=a.faces.slice(a.faces.length-2,a.faces.length),v+=1}return u};b.wqa=function(a,b,c){b=0.5*b/Math.tan(0.5*c);e.copy(a);a=d[0];a.x=0;a.y=0;a.z=0;a.applyMatrix4(e);var c=Math.sqrt(a.x*a.x+a.y*a.y+a.z*a.z),h=b/a.z,m=d[1];m.x=a.x*h;m.y=a.y*h;m.z=b;return c/Math.sqrt(m.x*m.x+m.y*m.y+m.z*m.z)};b.gla=function(a,
c,d){e.copy(c.matrixWorldInverse).multiply(d);switch(a.userData.type){case "cube":return b.qca(a,e,c.projectionMatrix);default:return b.rca(a)}};b.bla=function(a,c,d){switch(a.userData.type){case "plane":return b.aca(a,c,d);default:return q}};b.oW=function(a,b,c,d,e,f,l,r,o,s,t){var u=a.vertices.length;a.vertices.push(new THREE.Vector3(b,c,d));a.vertices.push(new THREE.Vector3(b+r,c+o,d+s));a.vertices.push(new THREE.Vector3(b+e+r,c+f+o,d+l+s));a.vertices.push(new THREE.Vector3(b+e,c+f,d+l));a.faces.push(new THREE.Face3(u,
u+1,u+2,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);a.faces.push(new THREE.Face3(u,u+2,u+3,q,q,t));a.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)])};b.aca=function(a,b,c){var e=a.faces[0],m=a.faces[1],f=d[0],l=d[1],r=d[2];f.copy(a.vertices[e.a]).applyMatrix4(b);l.copy(a.vertices[m.c]).applyMatrix4(b);r.copy(a.vertices[e.b]).applyMatrix4(b);var b=l.x-f.x,m=l.y-f.y,o=l.z-f.z,l=r.x-f.x,s=r.y-f.y,
r=r.z-f.z,t=m*r-o*s,u=o*l-b*r,v=b*s-m*l,x=c.direction.x*t+c.direction.y*u+c.direction.z*v;if(0!=x&&(v=-(t*(c.origin.x-f.x)+u*(c.origin.y-f.y)+v*(c.origin.z-f.z))/x,!(0>=v)))return t=c.origin.x+c.direction.x*v-f.x,u=c.origin.y+c.direction.y*v-f.y,f=c.origin.z+c.direction.z*v-f.z,c=(b*t+m*u+o*f)/(b*b+m*m+o*o),f=(l*t+s*u+r*f)/(l*l+s*s+r*r),b=a.faceVertexUvs[0][0][0],m=a.faceVertexUvs[0][1][2],l=a.faceVertexUvs[0][0][1],a=b.x+(m.x-b.x)*c+(l.x-b.x)*f,b=b.y+(m.y-b.y)*c+(l.y-b.y)*f,0>c||1<c||0>f||1<f?n:
{Hoa:a,Ooa:b,materialIndex:e.materialIndex}};b.qca=function(a,c,d){var e=Array.prototype.concat.apply([],a.userData.xma.map(function(e){return b.WY(c,d,e,a.vertices,0,0,a.userData.u5,a.userData.j7).map(function(a){return a.materialIndex})}));return b.cZ(e)};b.rca=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.cZ(a)};b.cZ=function(a){var b={};a.forEach(function(a){b[a]=p});var a=[],c;for(c in b)a.push(c);return a};b.WY=function(a,c,d,e,m,f,l,r){var o=[];if(b.aia(a,c,e[d[f][m][0].a],
e[d[f+r-1][m][0].b],e[d[f+r-1][m+l-1][0].c],e[d[f][m+l-1][1].c]))if(1==l&&1==r)o.push(d[f][m][0]);else{f=1<r?[f,f+Math.ceil(0.5*r),f+r]:[f,f+r];m=1<l?[m,m+Math.ceil(0.5*l),m+l]:[m,m+l];for(l=1;l<f.length;l++)for(var r=f[l-1],s=f[l]-r,t=1;t<m.length;t++)var u=m[t-1],o=o.concat(b.WY(a,c,d,e,u,r,m[t]-u,s))}return o};b.aia=function(a,b,c,e,m,f){var l=[q,q,q,q,q];d[0].copy(c).applyMatrix4(a);d[1].copy(e).applyMatrix4(a);d[2].copy(m).applyMatrix4(a);d[3].copy(f).applyMatrix4(a);c=0;e=4;for(a=0;4>a;a++){var m=
d[(a+3)%4],f=d[a],r=d[(a+1)%4];if(0>=f.z)l[c++]=f;else{if(0>=m.z){var o=d[e++],s=m.z/(m.z-f.z);o.x=m.x+(f.x-m.x)*s;o.y=m.y+(f.y-m.y)*s;o.z=-1.0E-5;l[c++]=o}0>=r.z&&(o=d[e++],s=f.z/(f.z-r.z),o.x=f.x+(r.x-f.x)*s,o.y=f.y+(r.y-f.y)*s,o.z=-1.0E-5,l[c++]=o)}}if(2<c){for(a=0;a<c;a++)l[a].applyMatrix4(b);a=0;for(b=c-2;a<b;a++)if(c=l[a],e=l[a+1],m=l[a+2],!(1<c.x&&1<e.x&&1<m.x||-1>c.x&&-1>e.x&&-1>m.x||1<c.y&&1<e.y&&1<m.y||-1>c.y&&-1>e.y&&-1>m.y))return p}return z};b.JR=function(a,d,e,h,m){for(var f=a*c,l=0.5*
-f+0.5*Math.PI,r=d*c,o=0.5*(Math.PI-r)-e*c,s=0.5*b.f8,t=64/Math.PI,u=Math.max(2,Math.ceil(f/h*t)),t=Math.max(2,Math.ceil(r/m*t)),v=h*u,x=m*t,y=this.Co(),A=0,w=[],C=0;C<=x;C++){for(var J=[],B=o+C*r/x,F=0;F<=v;F++){var K=-(l+F*f/v);y.vertices.push(new THREE.Vector3(-s*Math.cos(K)*Math.sin(B),+s*Math.cos(B),+s*Math.sin(K)*Math.sin(B)));J.push(A++)}w.push(J)}for(l=f=0;l<m;l++){r=l*t;for(o=0;o<h;o++){s=o*u;for(C=0;C<t;C++){v=1-C/t;x=1-(C+1)/t;for(F=0;F<u;F++){var A=F/u,J=(F+1)/u,B=w[r+C][s+F],K=w[r+C+
1][s+F+1],I=w[r+C][s+F+1];y.faces.push(new THREE.Face3(B,w[r+C+1][s+F],K,q,q,f));y.faceVertexUvs[0].push([new THREE.Vector2(A,v),new THREE.Vector2(A,x),new THREE.Vector2(J,x)]);y.faces.push(new THREE.Face3(B,K,I,q,q,f));y.faceVertexUvs[0].push([new THREE.Vector2(A,v),new THREE.Vector2(J,x),new THREE.Vector2(J,v)])}}f++}}y.mergeVertices();y.computeFaceNormals();y.userData.type="sphere";y.userData.Pc=a;y.userData.Jk=d;y.userData.pitch=e;y.userData.u5=h;y.userData.j7=m;return y};return b});
define("bv",["require"],function(){return{tq:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1CsTuZkcw6gJnVOhViVyMzlGM+lnsG04rIjNJIUlRSJyPdMCm8kxpFpfx3QzOc7UAUgDN8Rm8pIWe62rmYnbTEaY+CvZwy2xmbxEuU9quCk2kxcM7osKborN5AW6VEia3vJfdExISCKY5r+wvclVqT9rnGFSDuzrOh7LZF1kjaNltfPoqrhG7Txq20IE6VdZMwlg+R+qhEnROUTZ9nFMYs/VwGKkHkngGvfISUlOXeKcPaIG4OguYtKQ6tnDmKzcJwoWUyk3AjdUT+fGYEAw9UixrEnmKI15EJPMfdLBUrQbR1VpPUgjpyWipE1KHUlyeAyTHd6QZcjG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6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pOZlnOfM1d9Vg8shYaq1yeNNfMdAhuV4l8kdUpTe5OrS3OeOpcpAju62trcghq3gMDY4d9IkY7gijrcifLRUkOhKjdmBrd0fWp+8xdKJsejAzd7E0+aTsNZ5oNTwVlrDHid8hZ4wWX1bjtVCpdSpqquINUgldb2sJTOipaqIlaFefZfMZXNrjLRLaoo1aI1kRl6an6W5b3s+UnLdWmPlu7ybdpBVmr+yhYlYU3CLmraxbYKtSmBvYR20AAAAJnRSTlMADRUdLSTtHFmoOi7dUODF681AbUnWbL+wlWSAmnm8NIajjKeLetZ4Pp0AAF5LSURBVHja7JpLbuJ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hggQUWWGCBBRZYYIEFFlhgCbAqc1DGYnA/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==",
i8:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADcCAMAAADA8VqlAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQL8QgO/fn89gMHAgUI+vkrzZGQAAB8pJREFUeNrtXduW2yAM5H63zf9/bdukjdYBjI0t4KHz1Obsnp0INJKQjMl//MeM4I7MDaM4mRk6xo1MDB9/Q5B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uNHs6shgP2pEpanK1GB21NaPWtgsMnNlXEHs6+b38Wx+d5CIzGafSj3c1jaLm2fa5qxih+wM7gBLRE6aVGNbOn5ww8tgNqkS+R0esqPJJ66bxpZb9NDK20HiomlssWxf1hu70bS2Bjve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
r8:115,Fpa:117}});
define("ig","require,jquery.mod,hb,jd,bI,dT,r".split(","),function(a){var b=a("jquery.mod"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),a=a("r");if(a.od()!=a.Fw){var j=function(a){return a.requestFullscreen||a.msRequestFullscreen||a.mozRequestFullScreen||a.webkitRequestFullscreen},k=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},h=document.createElement("div");if(a=!(j(h)||k())){var m;try{m=window.self===window.top}catch(f){m=
z}a=!m}if(a){var l=c.extend(g,function(a){g.call(this);this.v=a}),r=p;l.pT=function(a){r=a=="out_of_frame"};l.prototype.available=function(){return r};l.prototype.bh=function(){this.toggle()};l.prototype.Od=D();l.prototype.toggle=function(){r&&window.open(window.self.location.href,"_blank")};l.prototype.enabled=function(){return l.enabled()};l.enabled=Q(z);l.Nl=Q(q);l.Od=D();return l}l=c.extend(g,function(a){g.call(this);this.v=a;this.xn=j(a);this.e$=k();this.Z=this.sM();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",
function(){c.oQ()});b(window).bind("resize",function(){c.oQ()})});l.pT=D();l.prototype.available=function(){return!(!j(this.v||h)&&!k())};l.prototype.bh=function(){this.enabled()||this.toggle()};l.prototype.Od=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){this.enabled()?this.e$.call(document):this.xn.call(this.v);this.oQ()};l.prototype.enabled=function(){return this.Z&&this.sM()};l.prototype.sM=function(){return this.v===l.Nl()};l.prototype.oQ=function(){var a=this.sM();
if(this.Z!=a){this.Z=a;this.trigger(new d(e.W))}};l.enabled=function(){return!!l.Nl()};l.Nl=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};l.Od=function(){l.enabled()&&k().call(document)}}else{l=c.extend(g,function(a){g.call(this);this.v=a});l.prototype.available=Q(p);l.prototype.bh=function(){this.enabled()||this.toggle()};l.prototype.Od=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){if(this.enabled()){o();
l.Ho=q}else{l.Ho&&l.Ho.Od();o();var a=s();a.push("fullscreen");t(a);l.Ho=this}this.trigger(new d(e.W))};l.prototype.enabled=function(){return this==l.Ho};l.enabled=function(){return!!l.Nl()};l.Nl=function(){return l.Ho&&l.Ho.v};l.Od=function(){l.enabled()&&l.Ho.Od()};l.pT=D();l.Ho=q;var o=function(){for(var a=s(),b=[],c=0;c<a.length;c++)a[c]!="fullscreen"&&b.push(a[c]);t(b)},s=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]},t=function(a){window.location.hash="#"+
(a.length?a.join("&"):"")}}return l});
define("fx","require,jquery.mod,hb,jc,r,hE,jq,bv,ig".split(","),function(a){function b(a,b){this.zja=a;this.O$=b;this.lQ=[];this.Ef=q;this.Nz=z}var c=a("jquery.mod"),e=a("hb"),d=a("jc"),g=a("r"),j=a("hE"),k=a("jq"),h=a("bv"),m=a("ig"),f="color:#000; font-family:Arial, Helvetica, sans-serif;",l="",r="border-color:#b2b2b2;",o=r,s="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",t="vertical-align:middle; padding:0;",
u='<img style="width:33vmin;" src="'+h.tq+'"/>',v='<img style="width:24vmin;" src="'+h.tq+'"/>',x='<img style="width:34vmin;" src="'+h.qI+'"/>',y='<img style="width:34vmin;" src="'+h.B7+'"/>',A='<img style="width:24vmin;" src="'+h.d8+'"/>';if(g.Wa()){s=s+" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;";f=f+" font-size:3.6vmin; line-height:4.3vmin;";l=l+" margin:5vmin 0;";r=r+" margin:5vmin 0;";o=o+" margin:3vmin 0;";t=t+" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"}else s=
s+" font-size:19px; padding:17px 34px;";l=l+f;b.prototype.fL=function(){if(!this.Ef){this.Ef=c("<div/>");this.Ef.css({position:"fixed","z-index":k.H7,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Ef.html(this.O$);c(this.Ef).find("button").on("click",function(a){this.cea(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.HP=function(a,b){var c={},f;for(f in b)c[f]=a.css(f);this.lQ.push({$el:a,css:c});a.css(b)};b.prototype.cga=
function(){for(;this.lQ.length;){var a=this.lQ.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,f){if(!this.Nz){this.fL();this.FX=a||D();this.YW=b||D();a=this.Dba();if(a===n){this.Nz=p;var d=this,a=c(m.Nl()||document.body);if(f!==p)a.children().each(function(){d.HP(c(this),{visibility:"hidden"})});else{this.HP(a,{overflow:"hidden"});a.children().each(function(){d.HP(c(this),{position:"absolute","z-index":0})})}a.append(this.Ef)}else{this.Nz=z;a?this.FX():this.YW()}}};b.prototype.hide=function(){if(this.Nz){this.Nz=
z;this.Ef.detach();this.cga()}};b.prototype.Dba=function(){var a;try{a=window.localStorage&&window.localStorage.getItem(this.HY())}catch(b){}if(a=="true")return p;if(a=="false")return z};b.prototype.X1=function(a){try{window.localStorage.setItem(this.HY(),a?"true":"false")}catch(b){}};b.prototype.HY=function(){return this.zja+"DontDisplay:"+window.location.pathname};b.prototype.cea=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();if(a=="tdvvriw_continue"){this.FX();b&&this.X1(p)}else if(a==
"tdvvriw_cancel"){this.YW();b&&this.X1(z)}};var a=e.extend(b,function(){var a=['<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>',u,'<div style="'+l+'">'+d("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">'+d("use-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",'<div style="'+l+'">','<div style="margin-bottom:2vmin;">'+
d("samsung-internet-vr-app-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+d("launch-default-browser")+"</button></div>","</div>",y,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n");b.call(this,"ChromeAppInfoWindow",a)}),w=e.extend(b,
function(){var a=['<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>',u,'<div style="'+l+'">'+d("use-cardboard-info")+"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>",'<hr style="'+r+'">',"<div>",'<div style="'+l+'">','<div style="margin-bottom:2vmin;">'+d("samsung-internet-vr-info")+"</div>","</div>",y,"</div>\n</div></div>",
'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n");b.call(this,"SamsungInternetInfoWindow",a)}),C=e.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>',
y,'<div style="'+l+'">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="'+s+'" id="tdvvriw_cancel">OK</button></div>',"</div>\n</div></div>"].join("\n"))}),J=e.extend(b,function(){var a=['<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="'+
l+'"></div>','<div style="text-align:center;"><button style="'+s+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue">'+d("exit-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"ExternalVRDisplayVRInfoWindow",a)});J.prototype.fL=function(){b.prototype.fL.call(this);j.Ol("vrv")===p&&this.Ef.css({background:"none"})};var B=e.extend(b,function(){var a;a=g.browser()==g.nh?window.location.protocol!="https:"?d("giroscope-disabled-http"):window.DeviceMotionEvent.requestPermission?
d("giroscope-disabled-safari-request-permission"):d("giroscope-disabled-safari-toggle-on"):d("giroscope-disabled-http");a=['<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>','<div style="'+l+'">',a,"</div>",'<div><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"GiroscopeDisabledInfoWindow",a)}),F=e.extend(b,function(){var a=['<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>',u,'<div style="'+l+'">'+d("use-cardboard-info")+
'</div><div><button style="'+s+'" id="tdvvriw_continue">'+d("use-cardboard")+"</button></div>","</div>",'<hr style="'+r+'">',"<div>",y,'<div style="'+l+'">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="'+s+'" id="tdvvriw_cancel">Use Carmel web browser</button></div>',"</div>\n</div></div>"].join("\n");b.call(this,"CarmelInstallationPromptVRInfoWindow",a)}),K=e.extend(b,
function(){var a=['<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>',u,'<div style="'+f+' margin:2vmin 0;">'+d("cardboard-v1")+"</div>",'<div><button style="'+s+'" id="tdvvriw_cancel">'+d("use-default-cardboard")+"</button></div>","</div>",'<hr style="'+o+'">',"<div>",'<div style="'+f+' margin-bottom:2vmin;">'+d("cardboard-v2")+"</div>",'<div><button style="'+s+
'" id="tdvvriw_continue">'+d("use-cardboard-v2")+"</button></div>",x,"</div>\n</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"CardboardV2InfoWindow",a)}),I=e.extend(b,function(){var a=['<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="'+l+'"></div>','<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">'+d("enter-vr")+"</button></div>","</div></div>"].join("\n");b.call(this,"EnterVRInfoWindow",a)}),L=e.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="'+l+'">Preparing VR...</div>',"</div></div>"].join("\n"))}),
M=e.extend(b,function(){var a=['<div style="position: absolute; top: 7vmin; right:5vmin; ">',v,'</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;">',A,'<div style="'+l+'">'+d("use-safari-for-vr")+"</div>",'<div style="text-align:center;"><button style="'+s+'" id="tdvvriw_continue">OK</button></div>',"</div></div>",'<div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
l+'">','<input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+t+'"><label for="tdvvriw_dontdisplay">Don\'t display this info again</label>',"</div>"].join("\n");b.call(this,"UseSafariVRInfoWindow",a)}),e=e.extend(b,function(){var a=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+h.tq+'"/>','</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="'+h.Vw+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+d("rotate-device")+"</div>","</div>\n</div>"].join("\n");b.call(this,"RotateVRInfoWindow",a)}),G={};G.e8=new w;G.ypa=new C;G.epa=new J;G.Zoa=new F;G.cpa=new I;G.spa=new L;G.o8=new M;G.Vw=new e;G.rU=new B;G.r7=new a;G.qI=new K;return G});define("cc",["require"],function(){return{tq:"Cardboard",t8:"WebVR",u8:"WebXR"}});
define("eF",["require","hp","r","fb"],function(a){var b=a("hp"),c=a("r"),e=a("fb"),d={gma:function(a){return this.tB(a)||this.O5(a)?p:z},nm:function(){var a=c.Cma();d.nm=function(){return a};return a},O5:function(a){return"string"==typeof a&&e.is(a,e.CJ)?p:z},Cqa:function(a){return this.wS(a)||this.xS(a)?p:z},xS:function(a){return"string"==typeof a&&(e.is(a,e.F7)||e.qB(a,e.G7))?p:z},tB:function(a){return!!a&&!!a.tagName&&"VIDEO"==a.tagName},J5:function(a){return"string"==typeof a&&e.is(a,e.Pk)||this.tB(a)&&
e.is(a.currentSrc,e.Pk)?p:z},fma:function(a){return"string"==typeof a&&e.is(a,e.CJ)||this.tB(a)&&e.is(a.currentSrc,e.CJ)?p:z},wS:function(a){return!!a&&!!a.tagName&&"IMG"==a.tagName},G5:function(a){return!!a&&!!a.tagName&&"CANVAS"==a.tagName},U4:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},N5:function(a){return 0!==a&&0===(a&a-1)},Ula:function(){return c.browser()==c.Mk},$la:function(){return c.browser()==c.rq},hj:function(){return c.Dd()==c.qi},Poa:function(a){if(d.$la())return p;
if(d.hj())if(d.J5(a)){if(!b.z5)return p}else if(12>c.xH()||a&&a.videoWidth&&a.videoHeight&&589824>=a.videoWidth*a.videoHeight)return p;return z},Ila:function(){return d.Ula()||d.hj()},Hla:function(){return d.hj()&&b.z5&&11>c.xH()}},g=z;d.B5=function(){g=z};d.Rla=function(){return g};d.kna=function(){g=p};d.m4=function(a){var b={alpha:p,depth:p,stencil:p,antialias:z,premultipliedAlpha:p,preserveDrawingBuffer:z,powerPreference:"default",failIfMajorPerformanceCaveat:z,xrCompatible:p};return a.getContext("webgl",
b)||a.getContext("experimental-webgl",b)};return d});
define("cA","require,hb,jquery.mod,cI,jc,bv,jd,r,d,is,iG".split(","),function(a){function b(){this.Wc=z;this.eA=q;this.ba=this.R=100;this.$M=this.Ze=n;this.aN=100;this.v=document.createElement("div");this.v.style.opacity=0;this.v.style.display="none";this.v.style.fra="opacity 0.3s";this.v.addEventListener("transitionend",this.xQ.bind(this));this.xc=document.createElement("div");this.xc.style.hasOwnProperty("backdropFilter")?this.xc.style.backdropFilter="blur(8px)":this.xc.style.backgroundColor="rgba(0, 0, 0, 0.6)";
this.xc.style.position="absolute";this.xc.style.left=0;this.xc.style.top=0;this.xc.style.right=0;this.xc.style.bottom=0;this.v.appendChild(this.xc);this.fb=document.createElement("img");this.fb.style.cursor="pointer";this.fb.style.position="absolute";this.fb.style.left="50%";this.fb.style.top="50%";this.fb.style.transform="translate(-50%, -50%)";this.v.appendChild(this.fb);this.Ct=d(this.v)}function c(a,b){this.reason=a;this.Gn=b}var e=a("hb"),d=a("jquery.mod");a("cI");a("jc");var g=a("bv");EventName=
a("jd");Device=a("r");UIComponent=a("d");FadeInEffect=a("is");FadeOutEffect=a("iG");var j=e.extend(UIComponent,function(){UIComponent.call(this);this.Mc("UserInteractionWindow");this.ib=q;this.sl=[];var a=new FadeInEffect;a.set("duration",500);a.set("easing","cubic_in");var b=new FadeOutEffect;b.set("duration",500);b.set("easing","cubic_out");this.Q({contentOpaque:p,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z});this.bind(EventName.qb,this.fR,this,p);this.bind(EventName.U,this.sja,
this,p)});j.prototype.fR=function(){this.ib&&this.ib.setSize(this.qd(),this.pd())};j.prototype.sja=function(){var a=this.sl.slice();this.sl=[];this.FG();a.forEach(function(a){a.Gn.call(a.context)})};j.prototype.Ha=function(){UIComponent.prototype.Ha.call(this);if(!this.ib){this.ib=new b;this.ib.setSize(this.qd(),this.pd());this.ib.Qe(p);this.Ka().append(this.ib.jb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.FG()}};j.prototype.Dj=function(){UIComponent.prototype.Dj.call(this);
this.getParent().bind(EventName.qb,this.fR,this,p);j.V8(this)};j.prototype.Rh=function(){this.getParent().unbind(EventName.qb,this.fR,this,p);UIComponent.prototype.Rh.call(this);j.Rfa(this)};j.prototype.Uma=function(a){this.xn(h,a)};j.prototype.aT=function(a){this.xn(k,a)};j.prototype.xn=function(a,b){this.sl.push(new c(a,b));this.sl.sort(function(a,b){return m[a.reason]-m[b.reason]});this.FG()};j.prototype.$ja=function(a){this.cancel(h,a)};j.prototype.Yja=function(){this.cancel(k,n)};j.prototype.cancel=
function(a,b){var c=this.jca(a,b);c>=0&&this.Xfa(c)};j.prototype.NW=function(){this.LC(p)};j.prototype.RC=function(){this.LC(z)};j.prototype.jca=function(a,b){for(var c=0;c<this.sl.length;c++){var d=this.sl[c];if(d.reason==a&&d.Gn==b)return c}return-1};j.prototype.FG=function(){if(this.ib){var a=this.sca();if(a){switch(a.reason){case k:this.ib.qT(b.uU);break;case h:this.ib.qT(b.cJ)}this.set("visible",p)}else this.set("visible",z)}};j.prototype.Xfa=function(a){this.sl.splice(a,1);a==this.sl.length&&
this.FG()};j.prototype.sca=function(){return this.sl.length>0?this.sl[0]:q};var k="vr",h="play",m={};m[k]=0;m[h]=1;b.prototype.jb=P("Ct");b.prototype.setSize=function(a,b){if(this.R!==a||this.ba!==b){this.R=a;this.ba=b;this.IG()}};b.prototype.Qe=function(a){if(this.Wc!=a){this.Wc=a;if(this.eA){clearTimeout(this.eA);this.eA=q}if(this.Wc){this.v.style.display="block";this.v.style.opacity=0;this.eA=setTimeout(function(){this.eA=q;this.v.style.opacity=1}.bind(this),30)}else this.v.style.opacity=0}};b.prototype.qT=
function(a){if(this.Ze!=a){this.Ze=a;this.Yia()}};b.prototype.xQ=function(){if(!this.Wc)this.v.style.display="none"};b.prototype.Yia=function(){switch(this.Ze){case b.cJ:this.$M=g.ko;this.aN=g.Y7;break;case b.uU:this.$M=g.p8;this.aN=g.r8}this.fb.src=this.$M;this.IG()};b.prototype.IG=function(){if(Device.Wa()){this.fb.style.maxWidth=Math.round(this.R*0.5)+"px";this.fb.style.width="20vmin"}else{this.fb.style.maxWidth=Math.round(this.R*0.33)+"px";this.fb.style.width=this.aN+"px"}};b.cJ="play";b.uU="vr";
j.WU=b;j.Ac=[];j.AO=[];j.V8=function(a){j.Ac.push(a);j.AO.forEach(function(b){j.wZ(a,b)});j.AO=[]};j.Rfa=function(a){j.Ac.splice(j.Ac.indexOf(a),1)};j.ready=function(){return j.Ac.length>0};j.aT=function(a){j.Ac.length?j.Ac.forEach(function(b){j.wZ(b,a)}):j.AO.push(a)};j.wZ=function(a,b){a.aT(function(){j.Ac.forEach(function(b){b!=a&&b.Yja()});b()})};return j});
define("iV",["require"],function(){var a={pi:{}};a.pi.NONE="none";a.pi.qa="left";a.pi.Pa="right";a.s8=function(){this.y=this.x=0;this.height=this.width=1};a.yV=function(){this.eye=a.pi.NONE;this.viewport=new a.s8;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.A7=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.kH=[]};a.K7=function(){this.$A=q;this.ej=200;this.ci=100;this.hH=1};return a});
define("cE",["require"],function(){return{mC:"gaze",$I:"gaze_click"}});
define("ew","require,hb,eF,dT,cA,iV,r,fx,hE,cE".split(","),function(a){var b=a("hb"),c=a("eF"),e=a("dT"),d=a("cA"),g=a("iV"),j=a("r"),k=a("fx"),h=a("hE"),m=a("cE"),a=b.extend(e,function(){e.call(this);this.O1=m.mC;this.qs=[];this.Eg=new g.A7;this.sf=new g.yV;this.sf.eye=g.pi.qa;this.wf=new g.yV;this.wf.eye=g.pi.Pa;this.Eg.views=[this.sf,this.wf];this.dc=new g.K7});a.prototype.Rn=D();a.prototype.bh=D();a.prototype.Od=D();a.prototype.oH=P("dc");a.prototype.Sl=P("Eg");a.prototype.za=D();a.prototype.isPresenting=
D();a.prototype.Wf=D();a.prototype.tH=P("O1");a.prototype.Zs=D();a.prototype.Fv=function(a){this.qs.indexOf(a)<0&&this.qs.push(a)};a.prototype.ZS=function(a){this.qs.splice(this.qs.indexOf(a),1);this.Zs()==a&&this.Od()};a.prototype.gca=function(){return this.qs.length>0?this.qs[this.qs.length-1]:q};a.prototype.AP=function(){var a=this.gca();if(a==q){a=document.createElement("canvas");a=c.m4(a);this.Fv(a)}return a};a.prototype.JF=function(a){d.aT(a)};a.prototype.WP=function(a){if(j.od()==j.wt){this.nP();
k.r7.show(a,function(){this.kW()}.bind(this))}else j.bB()&&j.od()==j.Gw?k.e8.show(a):j.od()==j.dC?k.o8.show(a):a()};a.prototype.BP=function(a){var b=function(b){this.O1=b;a()}.bind(this);!j.Wa()||j.jf()?b(m.mC):h.Qn("cardboard_version")=="1"?b(m.mC):h.Qn("cardboard_version")=="2"?b(m.$I):k.qI.show(function(){b(m.$I)}.bind(this),function(){b(m.mC)}.bind(this))};a.prototype.kW=function(){this.nP();var a=this.iZ();a.push("vr");this.uW(a)};a.prototype.nP=function(){this.uW(this.iZ().filter(function(a){return a!=
"vr"}))};a.prototype.iZ=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]};a.prototype.uW=function(a){window.location.hash="#"+(a.length?a.join("&"):"")};return a});
define("p",["require","jquery.mod","ig"],function(a){function b(){f.get(0)==document.body&&j.height(window.innerHeight)}function c(a,b){var c={},f;for(f in b)c[f]=a.css(f);l.push({$el:a,css:c});a.css(b)}function e(a){this.v=a}var d=a("jquery.mod"),g=a("ig");e.prototype.bh=function(){this.enabled()||this.toggle()};e.prototype.Od=function(){this.enabled()&&this.toggle()};e.prototype.toggle=function(){this.enabled()?e.cancel():e.bm(this.v)};e.prototype.enabled=function(){return e.enabled(this.v)};var j=
d("<div/>").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),k=d("<div/>"),h=q,m=q,f=q,l=[],r=q;e.bm=function(a){if(a!==h){e.cancel();h=a;var l=g.Nl()||document.body;m=d(a);f=d(l);k.insertAfter(m);m.appendTo(j);f.children().each(function(){c(d(this),{visibility:"hidden"})});c(m,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});l==document.body?c(j,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,padding:0}):c(j,{position:"absolute",
left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});j.appendTo(f);b();r=setInterval(b,300)}};e.cancel=function(){if(h){j.detach();m.insertBefore(k);for(k.detach();l.length;){var a=l.pop();a.$el.css(a.css)}f=m=h=q;l=[];clearInterval(r)}};e.enabled=function(a){return h==a};return e});
define("gV","require,hb,jd,bI,dT,jc,bv".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("jc"),a=a("bv"),j=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+a.tq+'"/>','</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"),k=j+['<img style="width:22vmin" src="'+a.Vw+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
g("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",h=j+['<img style="width:13vmin; vertical-align:middle;" src="'+a.i8+'"/>','<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(d,function(){d.call(this);this.Sg=this.vi=this.wi=this.vy=this.wy=this.CN=this.DN=n;
this.cE=z;this.Cp=this.PO=this.BN=this.yc=q;this.oY=[];this.uZ=this.rs=z;this.hb=this.hb.bind(this)});b.prototype.bm=function(){if(!this.rs){this.rs=p;this.dL();window.addEventListener("resize",this.hb);document.body.appendChild(this.yc);document.body.appendChild(this.Cp);this.Vha=document.body.style.overflow;document.body.style.overflow="auto";this.fz()}};b.prototype.cancel=function(){if(this.rs){this.rs=z;window.removeEventListener("resize",this.hb);document.body.style.overflow=this.Vha;document.body.removeChild(this.yc);
document.body.removeChild(this.Cp);this.Z1(z)}};b.prototype.enabled=P("cE");b.prototype.dL=function(){if(!this.yc){this.yc=this.pD({position:"fixed",top:0,left:0,zIndex:9999998},p);this.yc.id="tdvminuictr";this.PO=this.pD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,k);this.yc.appendChild(this.PO);this.BN=this.pD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,h);this.yc.appendChild(this.BN);this.Cp=this.pD({position:"absolute",top:0,left:0,
right:0,height:"999999999vmax",zIndex:9999999},z);this.Cp.id="tdvminuiscrl";this.Cp.addEventListener("touchend",this.hb)}};b.prototype.pD=function(a,b,c){var d=document.createElement("div");this.Hz(d,a);c!==n&&this.Tga(d,c);b&&this.oY.push(d);return d};b.prototype.hb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.iO.bind(this),a)}.bind(this))};b.prototype.iO=function(){(this.wi!=window.innerWidth||this.vi!=window.innerHeight)&&this.fz()};b.prototype.fz=function(){this.wi=window.innerWidth;
this.vi=window.innerHeight;this.Sg=this.wi>this.vi?"landscape":"portrait";var a;if(this.Sg=="landscape"){if(this.DN&&this.CN&&this.uda(this.DN,this.CN)&&(!this.wy&&!this.vy||this.vda(this.wy,this.vy))){this.wy=this.wi;this.vy=this.vi}if(this.qda()){this.wy=this.wi;this.vy=this.vi}this.DN=this.wi;this.CN=this.vi;a=this.wy==this.wi&&this.vy==this.vi}else a=z;this.oY.forEach(function(a){a.style.height=this.vi+"px";a.style.width=this.wi+"px"}.bind(this));var b=this.rs&&this.Sg=="portrait",c=this.rs&&
this.Sg=="landscape"&&!a,d=this.rs&&this.Sg=="landscape";this.Hz(this.yc,{display:b||c?"block":"none"});this.Hz(this.PO,{display:b?"block":"none"});this.Hz(this.BN,{display:c?"block":"none"});this.Hz(this.Cp,{display:d?"block":"none",right:c?0:"99.9%"});this.Z1(a)};b.prototype.Z1=function(a){if(this.YF!=q){clearTimeout(this.YF);this.YF=q}if(this.cE!=a)this.YF=setTimeout(function(){this.YF=q;(this.cE=a)?this.trigger(new e(c.sj)):this.trigger(new e(c.ta));this.trigger(new e(c.W))}.bind(this),a?1E3:
0)};b.prototype.qda=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(d){c=Math.min(c,Math.abs(100-100*a*d[1]/(b*d[0])))});return c<=1?p:z};b.prototype.uda=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.vda=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Hz=function(a,b){for(var c in b)a.style[c]=
b[c]};b.prototype.Tga=function(a,b){a.innerHTML=b};return new b});
define("jh",["require","r","cW","dN"],function(a){var b=a("r"),c=a("cW"),e=a("dN");if(b.browser()==b.nh){a=function(){this.Ma=q};a.prototype.QR=function(a){this.Ma=a;this.Ma.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD0xMCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIwLjAgcWNvbXA9MC42MCBxc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AAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",0,
z);this.Ma.bind(c.WI,this.ed,this,p)};a.prototype.BS=function(){this.Ma.unbind(c.WI,this.ed,this,p);this.Ma=q};a.prototype.ed=function(){0.5<this.Ma.fj()&&this.Ma.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjd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AAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",
Math.random(),z)};var d=z,g=new a;return{enable:function(){d||(d=p,e.TG(g))},disable:function(){d&&(d=z,e.yB(g))}}}return b.browser()==b.ni?(a=function(){this.Ma=q},a.prototype.QR=function(a){this.Ma=a;this.Ma.play(q,q,0,p)},a.prototype.BS=function(){this.Ma=q},d=z,g=new a,{enable:function(){d||(d=p,e.TG(g))},disable:function(){d&&(d=z,e.yB(g))}}):{enable:D(),disable:D()}});
define("gB",["require","jquery.mod","jc","bv"],function(a){function b(){this.Ef=q;this.Z=z;this.hb=this.hb.bind(this);this.vi=this.wi=this.Sg=n}var c=a("jquery.mod"),e=a("jc"),d=a("bv");b.prototype.Co=function(){this.Ef||(this.Ef=c("<div/>"),this.Ef.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.Ef.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
d.tq+'"/>','</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="'+d.Vw+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+e("rotate-device")+"</div>","</div>\n</div>"].join("\n")))};b.prototype.show=function(a){this.Z||(this.Z=p,this.Co(),
c(a).append(this.Ef),c(window).on("resize",this.hb),this.fz())};b.prototype.hide=function(){this.Z&&(this.Z=z,c(window).off("resize",this.hb),this.Ef.detach())};b.prototype.hb=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.iO.bind(this),a)}.bind(this))};b.prototype.iO=function(){(this.wi!=window.innerWidth||this.vi!=window.innerHeight)&&this.fz()};b.prototype.fz=function(){this.wi=window.innerWidth;this.vi=window.innerHeight;this.Sg=this.wi>this.vi?"landscape":"portrait";this.Ef.toggle("landscape"!=
this.Sg)};return new b});
define("gO","require,hb,jd,bI,eq,hp,r,it,fx,bF,cc,ew,d,R,ig,p,gV,jh,gB".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("eq"),g=a("hp"),j=a("r"),k=a("it"),h=a("fx"),m=a("bF"),f=a("cc"),l=a("ew"),r=a("d"),o=a("R"),s=a("ig"),t=a("p"),u=a("gV"),v=a("jh"),x=a("gB"),y=b.extend(l,function(){l.call(this);this.Qf=this.be=this.Ke=this.Az=this.Zm=this.pg=this.Fb=q;this.gf=f.tq;this.za=this.za.bind(this)});y.prototype.Rn=function(a){if(this.ly()){var b=function(b){if(this.Fb=b.length?b[0]:q){this.Fb.depthNear=
0.1;this.Fb.depthFar=2*d.Bf;this.pg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",this.WO.bind(this),z);u.bind(c.ta,this.Od.bind(this))}a(!!this.Fb)}.bind(this),f=window.WebVRConfig||(window.WebVRConfig={});f.BUFFER_SCALE=y.Lv;f.ALWAYS_APPEND_POLYFILL_DISPLAY=p;f.LOCK_ORIENTATION=z;m.zV.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(z)};y.prototype.bh=function(){!this.isPresenting()&&!this.be&&this.ws(function(){this.WP(function(){this.BP(function(){if(!this.isPresenting()&&
!this.be){this.be=this.AP();this.TP();this.Fb.requestPresent([{source:this.be.canvas}]).then(function(){this.Qf=this.be;this.be=q;j.od()!=j.Ew&&x.show(s.Nl());this.Wu();this.IA()}.bind(this))["catch"](function(){this.be=q;this.bA()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};y.prototype.Od=function(){this.isPresenting()&&this.Fb.exitPresent()};y.prototype.za=function(a){return this.Fb.requestAnimationFrame(function(b){var c=this.Wu();c&&this.Os();a(b);c&&this.Fb.submitFrame()}.bind(this))};
y.prototype.isPresenting=function(){return!!this.Fb&&this.Fb.isPresenting};y.prototype.Zs=P("Qf");y.prototype.Wf=P("gf");y.prototype.WO=function(){if(this.isPresenting())o.XH(this.za,this.Fb.cancelAnimationFrame.bind(this.Fb));else{o.cT();(this.Qf||this.be)&&this.bA()}this.trigger(new e(c.W))};y.prototype.ly=function(){return k.available&&g.webgl&&j.Wa()&&j.Ss()!=j.Kw};y.prototype.ws=function(a){if(k.disabled)h.rU.show(function(){k.$S(function(){this.ws(a)}.bind(this))});else if(s.enabled()||!r.kw()){s.Od();
this.JF(function(){this.ws(a)}.bind(this))}else a()};y.prototype.TP=function(){t.bm(this.be.canvas);j.od()==j.Fw?this.kW():v.enable();j.od()==j.Ew&&u.bm()};y.prototype.Wu=function(){this.Fb.getFrameData(this.pg);if(!this.pg.pose||!this.pg.pose.orientation)return z;this.Zm=this.Fb.getEyeParameters("left");this.Az=this.Fb.getEyeParameters("right");var a=this.Fb.getLayers();this.Ke=a&&a.length&&a[0]||q;return!this.Ke?z:p};y.prototype.IA=function(){this.dc.$A=q;this.dc.ej=this.Zm.renderWidth*2;this.dc.ci=
this.Zm.renderHeight;this.dc.hH=1};y.prototype.Os=function(){var a=this.pg.pose;this.Eg.orientation.fromArray(a&&a.orientation||A);this.Eg.position.fromArray(a&&a.position||w);this.uR()};y.prototype.uR=function(){this.sf.position.fromArray(this.Zm.offset);this.sf.orientation.fromArray(A);this.sf.projectionMatrix.fromArray(this.pg.leftProjectionMatrix);this.sf.viewport.x=Math.round(this.dc.ej*this.Ke.leftBounds[0]);this.sf.viewport.y=Math.round(this.dc.ci*this.Ke.leftBounds[1]);this.sf.viewport.width=
Math.round(this.dc.ej*this.Ke.leftBounds[2]);this.sf.viewport.height=Math.round(this.dc.ci*this.Ke.leftBounds[3]);this.wf.position.fromArray(this.Az.offset);this.wf.orientation.fromArray(A);this.wf.projectionMatrix.fromArray(this.pg.rightProjectionMatrix);this.wf.viewport.x=Math.round(this.dc.ej*this.Ke.rightBounds[0]);this.wf.viewport.y=Math.round(this.dc.ci*this.Ke.rightBounds[1]);this.wf.viewport.width=Math.round(this.dc.ej*this.Ke.rightBounds[2]);this.wf.viewport.height=Math.round(this.dc.ci*
this.Ke.rightBounds[3])};y.prototype.bA=function(){this.nP();this.Qf=this.be=q;u.cancel();t.cancel();v.disable();x.hide()};y.Lv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var A=[0,0,0,1],w=[0,0,0];return y});
define("fC","require,hb,bI,jd,r,cc,ew,eq,d,R,p".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("jd"),d=a("r"),g=a("cc"),j=a("ew"),k=a("eq"),h=a("d"),m=a("R"),f=a("p"),a=b.extend(j,function(){j.call(this);this.Qf=this.be=this.Ke=this.Az=this.Zm=this.pg=this.Fb=q;this.za=this.za.bind(this)});a.prototype.Rn=function(a){if(this.ly()){var b=function(b){if(this.Fb=b.length?b[0]:q){this.Fb.depthNear=0.1;this.Fb.depthFar=2*k.Bf;this.pg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",
this.WO.bind(this),z);window.addEventListener("vrdisplayactivate",this.Z0.bind(this));window.addEventListener("vrdisplaydeactivate",this.Od.bind(this))}a(!!this.Fb)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(z)};a.prototype.bh=function(){!this.isPresenting()&&!this.be&&this.ws(function(){this.WP(function(){this.BP(function(){!this.isPresenting()&&!this.be&&this.Z0()}.bind(this))}.bind(this))}.bind(this))};a.prototype.Od=function(){this.isPresenting()&&this.Fb.exitPresent()};
a.prototype.za=function(a){return this.Fb.requestAnimationFrame(function(b){var c=this.Wu();c&&this.Os();a(b);c&&this.Fb.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Fb&&this.Fb.isPresenting};a.prototype.Zs=P("Qf");a.prototype.Wf=function(){return g.t8};a.prototype.ly=function(){return"getVRDisplays"in navigator};a.prototype.WO=function(){if(this.isPresenting()){m.XH(this.za,this.Fb.cancelAnimationFrame.bind(this.Fb));this.Wu()&&this.Os()}else{m.cT();(this.Qf||this.be)&&
this.bA()}this.trigger(new c(e.W))};a.prototype.ws=function(a){h.kw()?a():this.JF(function(){a()})};a.prototype.Z0=function(){this.be=this.AP();this.TP();this.Fb.requestPresent([{source:this.be.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Qf=this.be;this.be=q;this.Wu()&&this.Os()}.bind(this))["catch"](function(){this.be=q;this.bA()}.bind(this))};a.prototype.TP=function(){f.bm(this.be.canvas)};a.prototype.Wu=function(){this.Fb.getFrameData(this.pg);if(!this.pg.pose||!this.pg.pose.orientation)return z;
this.Zm=this.Fb.getEyeParameters("left");this.Az=this.Fb.getEyeParameters("right");var a=this.Fb.getLayers();this.Ke=a&&a.length&&a[0]||q;return!this.Ke?z:p};a.prototype.Os=function(){this.IA();var a=this.pg.pose;this.Eg.orientation.fromArray(a&&a.orientation||l);this.Eg.position.fromArray(a&&a.position||r);this.uR()};a.prototype.IA=function(){this.dc.$A=q;this.dc.ej=this.Zm.renderWidth*2;this.dc.ci=this.Zm.renderHeight;this.dc.hH=d.jf()?2048/this.dc.ci:1};a.prototype.uR=function(){this.sf.position.fromArray(this.Zm.offset);
this.sf.orientation.fromArray(l);this.sf.projectionMatrix.fromArray(this.pg.leftProjectionMatrix);var a=this.Ke.leftBounds&&this.Ke.leftBounds.length==4?this.Ke.leftBounds:o;this.sf.viewport.x=Math.round(this.dc.ej*a[0]);this.sf.viewport.y=Math.round(this.dc.ci*a[1]);this.sf.viewport.width=Math.round(this.dc.ej*a[2]);this.sf.viewport.height=Math.round(this.dc.ci*a[3]);this.wf.position.fromArray(this.Az.offset);this.wf.orientation.fromArray(l);this.wf.projectionMatrix.fromArray(this.pg.rightProjectionMatrix);
a=this.Ke.rightBounds&&this.Ke.rightBounds.length==4?this.Ke.rightBounds:s;this.wf.viewport.x=Math.round(this.dc.ej*a[0]);this.wf.viewport.y=Math.round(this.dc.ci*a[1]);this.wf.viewport.width=Math.round(this.dc.ej*a[2]);this.wf.viewport.height=Math.round(this.dc.ci*a[3])};a.prototype.bA=function(){this.Qf=this.be=q;f.cancel()};var l=[0,0,0,1],r=[0,0,0],o=[0,0,0.5,1],s=[0.5,0,0.5,1];return a});
define("gK","require,hb,bI,jd,r,cc,ew,eq,d,R,p,hw".split(","),function(a){function b(a){setTimeout(a,10)}var c=a("hb"),e=a("bI"),d=a("jd"),g=a("r"),j=a("cc"),k=a("ew"),h=a("eq"),m=a("d"),f=a("R"),l=a("p"),r=a("hw"),o=c.extend(k,function(){k.call(this);this.Ps=this.KA=this.$h=this.Qf=q;this.hv="stopped";this.za=this.za.bind(this);this.GP=this.GP.bind(this);this.zP=this.zP.bind(this);this.M3=z;r.k7(function(){b(function(){this.M3=p}.bind(this))}.bind(this))});o.prototype.Rn=function(a){if(this.ly())this.eia().then(function(b){b?
a(p):a(z)})["catch"](function(){a(z)});else a(z)};o.prototype.bh=function(){this.hv=="stopped"&&this.ws(function(){this.WP(function(){this.BP(function(){this.hv=="stopped"&&setTimeout(function(){this.Nha()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};o.prototype.Nha=function(){this.hv="starting";this.trigger(new e(d.W));f.yT(p);navigator.xr.requestSession("immersive-vr").then(function(a){this.$h=a;this.$h.addEventListener("end",this.GP);this.$h.addEventListener("select",this.zP);return this.$h.requestReferenceSpace("local")}.bind(this)).then(function(a){this.KA=
a;this.Qf=this.AP();return this.Qf.makeXRCompatible()}.bind(this)).then(function(){l.bm(this.Qf.canvas);var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.$h),a=Math.max(a,1);g.I5()?a=a*1:g.jf()?a=a*1.42222:g.Wa()&&(a=a*o.Lv);this.Ps=new XRWebGLLayer(this.$h,this.Qf,{antialias:z,framebufferScaleFactor:a});this.$h.updateRenderState({baseLayer:this.Ps,depthNear:0.1,depthFar:2*h.Bf});this.IA();this.hv="started";f.XH(this.za,this.$h.cancelAnimationFrame.bind(this.$h));f.yT(z)}.bind(this))["catch"](function(){f.yT(z);
this.R1();this.trigger(new e(d.W))}.bind(this))};o.prototype.Od=function(){this.isPresenting()&&this.$h.end()};o.prototype.za=function(a){return this.$h.requestAnimationFrame(function(b,c){this.wR=c;this.Os();a(b)}.bind(this))};o.prototype.isPresenting=function(){return this.hv!="stopped"};o.prototype.Wf=function(){return j.u8};o.prototype.Zs=P("Qf");o.prototype.ly=function(){return"xr"in navigator};o.prototype.eia=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):
"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};o.prototype.ws=function(a){g.od()==g.xt?this.M3?a():m.kw()?b(a):this.JF(function(){b(a)}):m.kw()?a():this.JF(function(){a()})};o.prototype.GP=function(){f.cT();this.R1();this.trigger(new e(d.W))};o.prototype.zP=function(){this.trigger(new e(d.Uk))};o.prototype.R1=function(){this.Ps=this.KA=this.$h=this.Qf=q;this.hv="stopped";l.cancel()};o.prototype.IA=function(){this.dc.$A=this.Ps.framebuffer;this.dc.ej=
this.Ps.framebufferWidth;this.dc.ci=(g.od()==g.xt?2:1)*this.Ps.framebufferHeight;this.dc.hH=1};o.prototype.Os=function(){var a=this.wR.getViewerPose(this.KA),b=a&&a.transform.orientation||s;this.Eg.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||t;this.Eg.position.set(b.x,b.y,b.z);for(var a=this.wR.getViewerPose(this.KA.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var f=a.views[c],d;if(f.eye=="left")d=this.sf;else if(f.eye=="right")d=this.wf;else continue;b=f.transform.position;
d.position.set(b.x,b.y,b.z);b=f.transform.orientation;d.orientation.set(b.x,b.y,b.z,b.w);d.projectionMatrix.fromArray(f.projectionMatrix);f=this.Ps.getViewport(f);d.viewport.x=f.x;d.viewport.y=f.y;d.viewport.width=f.width;d.viewport.height=f.height}var g=[];this.$h.inputSources.forEach(function(a){if(a.targetRayMode=="tracked-pointer"&&a.gamepad){var b=a.gamepad;if(!b.pose)b.sS=this.wR.getPose(a.targetRaySpace,this.KA);if(!b.hand)b.Nla=a.handedness;if(!b.id)b.Ola=b.mapping+" "+a.handedness;g.push(b)}}.bind(this));
this.Eg.kH=g};o.Lv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var s={x:0,y:0,z:0,w:1},t={x:0,y:0,z:0};return o});
define("bb","require,jd,dT,r,it,hE,gO,cE,cc,iV,fC,gK,eu".split(","),function(a){function b(a,c){if(a.length){var f=new a[0];f.Rn(function(d){d?c(f):b(a.slice(1),c)})}else c(q)}var c=a("jd"),e=a("dT"),d=a("r"),g=a("it"),j=a("hE"),k=a("gO"),h=a("cE"),m=a("cc"),f=a("iV"),l=a("fC"),r=a("gK"),o=a("eu"),s=z,t=[],u=new e;u.pi=f.pi;u.j8=h;u.Epa=m;u.available=Q(p);u.Sl=Q(q);u.oH=Q(q);u.isPresenting=Q(z);u.bh=function(){s=p};u.Od=function(){s=z};u.uqa=Q(q);u.Fv=function(a){t.indexOf(a)<0&&t.push(a)};u.ZS=function(a){a=
t.indexOf(a);a==-1||t.splice(a,1)};u.foa=function(a){k.Lv=a;r.Lv=a};u.kla=function(){return k.Lv};u.Wf=Q(q);u.tH=Q(q);u.log=function(){u.available()?u.Wf()?utils.log("VR: "+u.Wf()):utils.log("VR: not ready"):utils.log("VR: not available");utils.log("gyroscope: "+g.available)};a=d.browser()==d.ni&&!d.Wa()?[r,l,k]:d.I5()?[r,l]:j.Qn("vr_mode")=="cardboard"?[k]:[l,r,k];b(a,function(a){if(a){a.bind(c.W,function(){u.trigger(c.W)},u,p);a.bind(c.Uk,function(){u.trigger(c.Uk)},u,p);u.available=Q(p);u.oH=function(){return a.oH()};
u.Sl=function(){return a.Sl()};u.isPresenting=function(){return a.isPresenting()};u.bh=function(){a.bh()};u.Od=function(){a.Od()};u.Zs=function(){return a.Zs()};u.Fv=function(b){a.Fv(b)};u.ZS=function(b){a.ZS(b)};u.Wf=function(){return a.Wf()};u.tH=function(){return a.tH()};t.forEach(function(b){a.Fv(b)});s&&a.bh()}else u.available=Q(z)});u.bind(c.W,function(){o.SH(u.isPresenting())},window,p);return u});
define("cz","require,jd,he,dT,R,bb".split(","),function(a){function b(a){this.kD=a;this.If=q;this.zK={};for(a=0;a<this.kD.buttons.length;a++)this.zK[this.kD.buttons[a]]=z;this.yK=0;this.tp=q;this.ls=[new THREE.Quaternion,new THREE.Quaternion];this.ks=this.ls[0];this.Pf=[new THREE.Vector3,new THREE.Vector3];this.Vc=this.Pf[0]}function c(a,b,c){this.Jla=a;this.buttons=b;this.Dma=c}function e(){if(!(w||y==f.Pd)){y=f.Pd;var a,c=l.isPresenting()&&l.Sl();if(a=c&&c.kH&&c.kH.length?c.kH:navigator.getGamepads&&
navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].z6(q);for(c=0;c<a.length;c++){var g=a[c];if(g&&(g.pose||g.sS)){var e=g.id||g.Ola,k=x[e];if(!k){var m;a:{m=e;for(var j=0;j<r.length;j++){var t=r[j];if(m.indexOf(s[t].Jla)==0){m=t;break a}}m=n}m&&u.push(k=x[e]=new b(s[m]))}k&&x[e].z6(g)}}(a=v)&&!v.yS()&&(v=q);for(c=0;c<u.length;c++){k=u[c];if(k.yS()&&k.pressed()){v=k;break}}if(!v)for(c=0;c<u.length;c++){k=u[c];if(k.yS()){if(k.hand()==o){v=k;break}v||(v=k)}}a!=v&&h.CB(d)}}}function d(){t.trigger(k.W)}
function g(){e()}function j(){if(l.isPresenting()){if(A){clearInterval(A);A=q}e();A=setInterval(g,500)}else if(A){clearInterval(A);A=q}}var k=a("jd"),h=a("he"),m=a("dT"),f=a("R"),l=a("bb"),r=["oculus go","oculus touch","xr-standard","gear vr","daydream","vive","vive focus","microsoft","unknown"],o="right",s={};s["oculus go"]=new c("Oculus Go",["trackpad","trigger"],"trigger");s["oculus touch"]=new c("Oculus Touch",["thumbstick","trigger","grip","abutton","bbutton","surface"],"trigger");s["xr-standard"]=
new c("xr-standard",["trigger","grip","unknow_button_0","thumbstick","abutton","bbutton","unknow_button"],"trigger");s["gear vr"]=new c("Gear VR",["trackpad","trigger"],"trigger");s.daydream=new c("Daydream Controller",["trackpad","menu","system"],"trackpad");s.vive=new c("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");s["vive focus"]=new c("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");s.microsoft=new c("Spatial Controller (Spatial Interaction Source)",["thumbstick",
"trigger","grip","menu","thumbpad"],"trigger");s.unknown=new c("",[],n);b.prototype.z6=function(a){if(this.If=a){this.yca=this.If.hand||this.If.Nla;if(this.If.pose){this.tp=this.If.pose;if(this.tp.orientation){this.ks=this.ls[0]==this.ks?this.ls[1]:this.ls[0];this.ks.fromArray(this.tp.orientation)}if(this.tp.position){this.Vc=this.Pf[0]==this.Vc?this.Pf[1]:this.Pf[0];this.Vc.fromArray(this.tp.position)}else this.Vc=q}else if(this.If.sS){this.tp=this.If.sS.transform;this.ks=this.ls[0]==this.ks?this.ls[1]:
this.ls[0];this.ks.copy(this.tp.orientation);this.Vc=this.Pf[0]==this.Vc?this.Pf[1]:this.Pf[0];this.Vc.copy(this.tp.position)}for(var a=0,b=Math.min(this.If.buttons.length,this.If.buttons.length);a<b;a++)this.zK[this.kD.buttons[a]]=this.If.buttons[a].pressed;for(a=this.yK=0;a<this.If.buttons.length;a++)this.If.buttons[a].pressed&&this.yK++}};b.prototype.pulse=function(a,b){var c=this.If&&this.If.hapticActuators;(c=c&&c.length&&c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.yS=function(){return!!this.If};
b.prototype.hand=P("yca");b.prototype.quaternion=P("ks");b.prototype.position=P("Vc");b.prototype.pressed=function(a){a||(a=this.kD.Dma);return!a?this.yK>0:this.zK[a]};var t=new m;t.all=function(){e();return u};t.GH=function(){e();return v};t.qa="left";t.Pa=o;var u=[],v=q,x={},y=n,A=q,w=URL.Ol("disable-controller",z);l.bind(k.W,j);j();return t});
define("cf",["require","el","a"],function(a){function b(a,b){this.Ed=a||new c(0,0,0);this.sg=b||new c(1,0,0)}var c=a("el"),e=a("a");b.prototype.clone=function(){return new b(this.Ed.clone(),this.sg.clone())};b.prototype.apply=function(a){a.Hv(this.Ed);a.Hv(this.sg)};b.prototype.ula=function(){return e.Xp(this.Ed,this.sg)};return b});
define("fc",["cf","el"],function(a,b){function c(a,b,c){this.R=a||100;this.ba=b||100;this.la=c||Math.PI;this.aP=n;this.Xk=p}c.prototype.IB=function(a){this.la!=a&&(this.la=a,this.Xk=p)};c.prototype.Yp=P("la");c.prototype.SB=function(a){this.R!=a&&(this.R=a,this.Xk=p)};c.prototype.Fc=P("R");c.prototype.A6=function(a){this.ba!=a&&(this.ba=a,this.Xk=p)};c.prototype.rd=P("ba");c.prototype.project=function(a){if(0!=a.z){this.B3();var b=1/a.z,c=this.aP*b;a.x=0.5*this.R-a.x*c;a.y=0.5*this.ba-a.y*c;a.z=b}};
c.prototype.unproject=function(c){this.B3();return new a(new b(0,0,0),new b(0.5*this.R-c.x,0.5*this.ba-c.y,this.aP))};c.prototype.B3=function(){this.Xk&&(this.aP=0.5*this.R/Math.tan(0.5*this.la),this.Xk=z)};return c});
define("ji",["require"],function(){function a(){this.$c=this.pitch=this.Ia=0;this.Me=this.Pc=90;this.WG=this.IR=this.height=this.width=100;this.PS=1;this.Gb=z;this.lh=0;this.IH=z;this.gw=this.zB=p;this.$g=this.Re=q;this.enabled=z;this.Pd=0}a.prototype.clone=function(){var b=new a;b.Ia=this.Ia;b.pitch=this.pitch;b.$c=this.$c;b.Pc=this.Pc;b.Me=this.Me;b.width=this.width;b.height=this.height;b.IR=this.IR;b.WG=this.WG;b.PS=this.PS;b.Gb=this.Gb;b.lh=this.lh;b.IH=this.IH;b.zB=this.zB;b.gw=this.gw;b.Re=
this.Re;b.$g=this.$g;b.enabled=this.enabled;b.Pd=this.Pd;return b};return a});
define("cr","require,jquery.mod,cI,jd,W,R,cX".split(","),function(a){function b(a){this.GT=a;this.element=document.createElement("div");this.KT=document.createElement("span");this.element.appendChild(this.KT);this.KT.innerHTML=a.text.split("<br>").join("\n").split("\n").map(e).join("<br>");this.YG=z}function c(a){this.F=a;this.rA=g.throttle(this.rA.bind(this),100);this.sA=g.throttle(this.sA.bind(this),100);this.v=document.createElement("div");this.v.style.position="absolute";this.v.style.left=0;this.v.style.top=
0;this.v.style.right=0;this.v.style.bottom=0;this.v.style.zIndex=1;this.v.style.cursor="inherit";this.v.style.display="none";this.Ct=d(this.v);this.Tg=document.createElement("div");this.Tg.style.position="absolute";this.Tg.style.left=0;this.Tg.style.right=0;this.Tg.style.zIndex=1;this.Tg.style.cursor="inherit";this.v.appendChild(this.Tg);this.Jp=q;this.qv=[];this.De=[];this.xO={};this.Cv=k.bb;this.F.bind(j.ga("subtitlesEnabled"),this.HQ,this);c.XU.forEach(function(a){this.F.bind(j.ga(a),this.rA,this)}.bind(this));
c.YU.forEach(function(a){this.F.bind(j.ga(a),this.sA,this)}.bind(this));this.HQ();this.rA();this.sA()}function e(a){f.innerHTML=a;return f.innerText}var d=a("jquery.mod"),g=a("cI"),j=a("jd"),k=a("W"),h=a("R"),m=a("cX");c.prototype.clear=function(){this.DT(q);if(this.F){this.F.unbind(j.ga("subtitlesEnabled"),this.HQ,this);c.XU.forEach(function(a){this.F.unbind(j.ga(a),this.rA,this)}.bind(this));c.YU.forEach(function(a){this.F.unbind(j.ga(a),this.sA,this)}.bind(this));this.F=q}};c.prototype.jb=P("Ct");
c.prototype.DT=function(a){if(this.Jp!=a){this.Jp&&this.Jp.unbind(j.ga("activeSubtitles"),this.l_,this,p);(this.Jp=a)&&this.Jp.bind(j.ga("activeSubtitles"),this.l_,this,p)}};c.prototype.l_=function(){this.pha(this.Jp&&this.Jp.get("activeSubtitles")||[])};c.prototype.HQ=function(){this.Z=this.F.get("subtitlesEnabled");this.VQ()};c.prototype.rA=function(){this.Cv=this.Yx("subtitlesVerticalAlign",[k.cb,k.ac,k.bb],k.bb);this.Tg.style["text-align"]=this.Yx("subtitlesHorizontalAlign",[k.qa,k.Pa,k.sc],k.sc);
this.Tg.style.bottom=this.Cv==k.bb?this.jg("subtitlesBottom",0):"";this.Tg.style.top=this.Cv==k.cb?this.jg("subtitlesTop",0):this.Cv==k.ac?"50%":"";this.Tg.style.transform=this.Cv==k.ac?"translate(0, -50%)":"";this.VQ()};c.prototype.sA=function(){var a={};a["background-color"]=this.KM("subtitlesBackgroundColor","subtitlesBackgroundOpacity");a.border=[this.jg("subtitlesBorderSize"),"solid",this.Xe("subtitlesBorderColor")].join(" ");a["box-shadow"]=this.Xe("subtitlesShadow",z)?[this.jg("subtitlesShadowHorizontalLength"),
this.jg("subtitlesShadowVerticalLength"),this.jg("subtitlesShadowBlurRadius"),this.KM("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";a.display="inline-block";a["font-family"]=m.Vp(this.Xe("subtitlesFontFamily"));a["font-size"]=this.jg("subtitlesFontSize");a.color=this.Xe("subtitlesFontColor");a["font-weight"]=this.Yx("subtitlesFontWeight",["bold","bolder","lighter","100","200","300","400","500","600","700","800","900","normal"],"normal");a["font-style"]=this.Yx("subtitlesFontStyle",
["italic","normal"],"normal");a["margin-bottom"]=this.jg("subtitlesGap");a.opacity=this.Xe("subtitlesOpacity");a["padding-top"]=this.jg("subtitlesPaddingTop");a["padding-bottom"]=this.jg("subtitlesPaddingBottom");a["padding-left"]=this.jg("subtitlesPaddingLeft");a["padding-right"]=this.jg("subtitlesPaddingRight");a.position="relative";a["text-align"]=this.Yx("subtitlesHorizontalAlign",["left","right","center"],"center");a["text-decoration"]=this.Xe("subtitlesTextDecoration",["underline","overline",
"line-through","none"],"none");a["text-shadow"]=[this.jg("subtitlesTextShadowHorizontalLength"),this.jg("subtitlesTextShadowVerticalLength"),this.jg("subtitlesTextShadowBlurRadius"),this.KM("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.xO=a;this.s9()};c.prototype.pha=function(a){this.qv=a;this.VQ()};c.prototype.VQ=function(){for(var a=this.Z?this.qv:[],c=this.De.length-1;c>=0;c--){var f=this.De[c];if(a.indexOf(f.GT)>=0)break;this.Tg.removeChild(f.element)}for(var d=
[],g=z;c>=0;c--){f=this.De[c];if(!f.YG&&a.indexOf(f.GT)<0){f.YG=p;f.element.style.visibility="hidden";g=p}d.splice(0,0,f)}g&&h.za(this.uX,this);this.De=d;var e=this.De.filter(function(a){return!a.YG}).map(function(a){return a.GT});a.filter(function(a){return e.indexOf(a)<0}).forEach(function(a){a=new b(a);this.xW(a);this.Cv==k.bb&&this.De.length>0?this.Tg.insertBefore(a.element,this.De[this.De.length-1].element):this.Tg.appendChild(a.element);this.De.push(a)}.bind(this));this.v.style.display=this.De.length>
0?"block":"none"};c.prototype.uX=function(a){for(var b=z,a=Math.round(200*a/1E3),c=0;c<this.De.length;c++){var f=this.De[c];if(f.YG){b=p;if(a>=f.element.clientHeight){a=a-f.element.clientHeight;this.Tg.removeChild(f.element);this.De.splice(c,1);c--}else{f.element.style.height=f.element.clientHeight-a+"px";break}}}b&&h.za(this.uX,this)};c.prototype.s9=function(){this.De.forEach(this.xW.bind(this))};c.prototype.xW=function(a){for(var b in this.xO)a.KT.style[b]=this.xO[b]};c.prototype.Xe=function(a,
b){return this.F.get(a,b)};c.prototype.jg=function(a,b){var c=this.F.get(a,b);isNaN(c)||(c=Math.round(c)+"px");return c};c.prototype.Yx=function(a,b,c){a=this.F.get(a);return b.indexOf(a)<0?c:a};c.prototype.KM=function(a,b,c,f){a=this.F.get(a,c);b=this.F.get(b,f);return"rgba("+parseInt("0x"+a.substr(1,2))+", "+parseInt("0x"+a.substr(3,2))+", "+parseInt("0x"+a.substr(5,2))+", "+b+")"};c.XU=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];c.YU=["subtitlesBackgroundColor",
"subtitlesBackgroundOpacity","subtitlesBorderColor","subtitlesBorderSize","subtitlesFontFamily","subtitlesFontColor","subtitlesFontSize","subtitlesFontStyle","subtitlesFontWeight","subtitlesGap","subtitlesOpacity","subtitlesPaddingTop","subtitlesPaddingBottom","subtitlesPaddingLeft","subtitlesPaddingRight","subtitlesShadow","subtitlesShadowBlurRadius","subtitlesShadowHorizontalLength","subtitlesShadowVerticalLength","subtitlesShadowColor","subtitlesTextDecoration","subtitlesTextShadowBlurRadius",
"subtitlesTextShadowColor","subtitlesTextShadowHorizontalLength","subtitlesTextShadowOpacity","subtitlesTextShadowVerticalLength"];var f=document.createElement("div");return c});
define("hk",["require","hb","cr"],function(a){var b=a("hb"),c=a("cr"),a=b.extend(c,function(a,b){c.call(this,a);this.Pi=b;this.Pi.bind(EventName.ga("panorama"),this.fO,this);this.fO()});a.prototype.clear=function(){this.Pi&&(this.Pi.unbind(EventName.ga("panorama"),this.fO,this),this.Pi=q);c.prototype.clear.call(this)};a.prototype.fO=function(){this.DT(this.Pi.get("panorama"))};return a});
define("gP",["require","r"],function(a){var b=a("r"),a={},c=180/Math.PI,e=Math.PI/180;a.gj=function(a,b,c){return this.WA(a,b,c)};a.fm=function(a,b,c){return this.WA(a,c,b)};a.WA=function(a,b,j){return 2*Math.atan(j*Math.tan(0.5*a*e)/b)*c};a.vqa=function(a){return b.browser()==b.Dw?Math.max(a,20):a};return a});define("cs",["require"],function(){return{Lk:0,qa:1,Pa:2}});
define("gN",["require","eU"],function(a){function b(){this.status=b.tC;this.VS=this.ht=0;this.US=[]}a("eU");b.LOADING="loading";b.O="loaded";b.tC="not loaded";return b});
define("gX","require,cI,hb,bI,jd,gE,gN".split(","),function(a){function b(){this.eY={};this.cc=[];this.bp=[];this.Cc={}}var c=a("cI"),e=a("hb");a("bI");var d=a("jd"),g=a("gE"),j=a("gN");b.prototype.JT=function(a){for(var a=a.Dk(),b=0,c=a.length;b<c;b++)if(this.Xx(a[b]).status!=j.O)return z;return p};b.prototype.Tn=function(a,b){this.cc.push(a);this.W8(a,b)};b.prototype.li=function(a,b){var d=c(this.cc).indexOf(a);d<0&&i("Unloading item not loaded");this.cc.splice(d,1);this.Sfa(a,b)};b.prototype.Bd=
function(a,b){return this.Cc[a].Bd(b)};b.prototype.W8=function(a,b){this.bp.push(a);for(var c=a.Dk(),f=0,d=c.length;f<d;f++){var g=c[f],e=this.Xx(g);e.ht++;e.US.push(b);if(e.status==j.tC){e.status=j.LOADING;this.Eda(g,Math.min.apply(Math,e.US))}}this.w3()};b.prototype.Sfa=function(a,b){this.bp=c(this.bp).without(a);for(var d=a.Dk(),f=0,g=d.length;f<g;f++){var e=d[f],o=this.Xx(e);o.ht--;var s=o.US,t=s.indexOf(b);t>=0&&s.splice(t,1);if(o.ht==0&&o.status!=j.tC){o.status=j.tC;o.VS=0;this.Jia(e)}}};b.prototype.w3=
function(a){for(var a=(a==n?this.bp:this.QY(a)).slice(),b=0;b<a.length;b++){for(var d=a[b],f=d.Dk(),g=0,e=0,o=f.length,s=0;s<f.length;s++){var t=this.Xx(f[s]),g=g+t.VS;t.status==j.O&&e++}d.Qna(g/o);if(e==o){d.sT();this.bp=c(this.bp).without(d)}}};b.prototype.Xx=function(a){var b=this.eY[a];b||(this.eY[a]=b=new j);return b};b.prototype.QY=function(a){for(var b=[],d=0;d<this.bp.length;d++){var f=this.bp[d];c(f.Dk()).contains(a)&&b.push(f)}return b};b.prototype.Eda=function(a,b){var c=new g(b);this.Cc[a]=
c;c.bind(d.O,this.Uy,this,p);c.bind(d.jd,this.Vy,this,p);c.load(a)};b.prototype.Jia=function(a){var b=this.Cc[a];delete this.Cc[a];b.unbind(d.O,this.Uy,this);b.unbind(d.jd,this.Vy,this);b.cancel()};b.prototype.Uy=function(a){var a=a.source.Oe(),b=this.Xx(a);b.VS=100;b.status=j.O;this.w3(a)};b.prototype.Vy=function(a){for(var a=a.source.Oe(),b=this.QY(a),c=0;c<b.length;c++){var f=b[c];this.li(f);f.tna()}e.log("Error loading: "+a)};b.Yc=new b;return b.Yc});
define("iB",["require","gX","eF","r"],function(a){var b=a("gX"),c=a("eF"),e=a("r"),d={SN:n,Tna:N("SN"),FL:n,qna:N("FL"),createTexture:function(){var a=new THREE.Texture;a.image=d.Yv();a.userData={};a.userData.d7={};return a},cka:function(a){a.image!=this.Yv()&&(a.image=this.Yv(),a.needsUpdate=p)},eI:function(a,b){b=this.Hka(b);a.generateMipmaps=this.d$(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,!c.N5(b.width)||!c.N5(b.height)?(a.fl||(a.fl=document.createElement("canvas"),a.fl.pG=
p),a.image=a.fl,a.fl.Ya=b,a.image.width=c.U4(b.width),a.image.height=c.U4(b.height),a.image.getContext("2d").drawImage(b,0,0,a.image.width,a.image.height)):a.image=b;else if(a.minFilter=THREE.LinearFilter,c.tB(b)&&c.Poa(b)){a.Vj||(a.Vj=document.createElement("canvas"),a.eda=a.Vj.getContext("2d"),a.Vj.pG=p);var e=b.videoWidth;c.hj()&&(e=Math.min(3168,e));var h=e*b.videoHeight/b.videoWidth;if(a.Vj.width!=e||a.Vj.height!=h)a.Vj.width=e,a.Vj.height=h;b.readyState>=b.HAVE_CURRENT_DATA&&a.eda.drawImage(b,
0,0,e,h);a.image=a.Vj}else a.image=b;a.fl&&a.image!=a.fl&&(d.cH(a.fl),delete a.fl);a.needsUpdate=p;if((e=d.kS(a))&&e.Eqa)e.needsUpdate=p;c.B5()},Hka:function(a){a?c.xS(a)?a=b.Bd(a,z):c.O5(a)?a=this.Yv():c.tB(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.Yv()):a=this.Yv();return a},kka:function(a,b,d,e,m){var f=document.createElement("canvas");f.width=c.nm();f.height=c.nm();f.pG=p;var l=f.getContext("2d");if(!l)return q;l.drawImage(a,b,d,e,m,0,0,c.nm(),c.nm());
this.gH(f);return f},cH:function(a){c.G5(a)&&a.pG&&(delete a.pG,a.width=0,a.height=0)},dispose:function(a){a.Vj&&a.Vj!=a.image&&this.cH(a.Vj);a.image&&this.cH(a.image);a.dispose()},joa:function(a,b){a.userData.d7.material=b},kS:function(a){return a.userData.d7.material},Vja:function(a){return c.wS(a)},p4:function(a){c.xS(a)&&(a=b.Bd(a,z));c.wS(a)&&this.gH(a)},gH:function(a){var b=document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");d.gH=function(a){c.drawImage(a,0,0,1,1,
0,0,1,1)};return d.gH(a)},CL:q,Yv:function(){if(!this.CL){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.CL=a}return this.CL},d$:function(a){if(c.gma(a)||c.G5(a))return z;if(e.Wa()){if(this.SN!==n)return this.SN}else if(this.FL!==n)return this.FL;return z}};return d});
define("bD",["require","eF","iB"],function(a){function b(a){this.XB=(a=c.J5(a))&&c.Ila();this.pB=a&&c.Hla();this.Tp=0;this.Il=n;this.TA=this.UA=0}var c=a("eF"),e=a("iB"),d={iS:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},Bk:function(a,b){a||(a=e.createTexture());b||(b=new d.tj);return b.Wma()?this.ika(a,b):this.$G(a)},$G:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.yW(b);return b},ika:function(a,b){var c={uniforms:{},transparent:p};c.uniforms.texture=
{type:"sampler2D",value:a};a.flipY=!b.XB;c.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(b.XB?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.pB||b.Tp||b.Il){var d=[],e=[],d=d.concat(["uniform sampler2D texture;","uniform float opacity;","varying vec2 vUV;"]);c.uniforms.opacity={type:"float",value:1};e=e.concat([" vec4 color = texture2D(texture, vUV);"," float alpha = color.a * opacity;"]);if(b.Tp){var f=
a.image.width,l=a.image.height,r=0.5*Math.min(f,l)*b.Tp;c.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(r/f,r/l)};d=d.concat(["uniform vec2 blendingLimit;"]);e=e.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));".split(","))}b.Il&&
(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.Il.substr(1,2),16)/255,parseInt(b.Il.substr(3,2),16)/255,parseInt(b.Il.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.UA},c.uniforms.chromaSmoothing={type:"f",value:b.TA},d=d.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),e=e.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;".split("{")));
e=e.concat(["\tgl_FragColor = vec4(color"+(b.pB?".bgr":".rgb")+", alpha);"]);a.format=THREE.RGBAFormat;c.fragmentShader=[].concat(d,["void main() {"],e,["}"]).join("\n")}else c.fragmentShader="uniform sampler2D texture;\nvarying vec2 vUV;\nvoid main() {\n\tgl_FragColor = texture2D(texture, vUV);\n}";c=new THREE.ShaderMaterial(c);this.yW(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=d.iS(a);b&&e.dispose(b);a.dispose()})},yW:function(a){a.side=THREE.DoubleSide;
a.transparent=p;a.depthTest=z;a.needsUpdate=p;a.userData={};a.userData.R5={};e.joa(d.iS(a),a)},wT:function(a,b){a.userData.R5.HS=b},N4:function(a){return a.userData.R5.HS}};b.prototype.Wma=function(){return this.XB||this.pB||this.Tp||this.Il};b.prototype.isEqual=function(a){return this.XB===a.XB&&this.pB===a.pB&&this.Tp===a.Tp&&this.Il===a.Il&&this.UA===a.UA&&this.TA===a.TA};d.tj=b;return d});
define("cP",["require","eq","bD"],function(a){function b(a){return Array.isArray(a)?a:a?[a]:[]}var c=a("eq"),e=a("bD"),d={create:function(a,c){var d=new THREE.Mesh(a,c);d.overdraw=z;d.matrixAutoUpdate=z;d.userData.Vn={};d.userData.Vn.attributes={};b(c).forEach(function(a){e.wT(a,d)});return d},gka:function(a){var b=new THREE.Group;d.forEach(a,function(a){b.add(a)});return b},vT:function(a,c){b(c).forEach(function(a){e.wT(a,q)});e.dispose(a.material);a.material=c;b(c).forEach(function(b){e.wT(b,a)})},
Zp:function(a){return b(a.material)},hla:function(a,b){if(a.layers.mask&b.layers.mask){var e=d.Zp(a);return c.gla(a.geometry,b,a.matrixWorld).map(function(a){return e[a]})}return[]},eS:function(a,b){var k=[];d.Af(a,function(a){var g=d.Zp(a);b.forEach(function(b){var d=c.bla(a.geometry,a.matrixWorld,b);if(d){var j=e.iS(g[d.materialIndex]),b=j.image;b==j.fl&&(b=j.fl.Ya);j=Math.round(d.Hoa*b.width-0.5);j=0>j?0:j>b.width-1?b.width-1:j;d=Math.round((1-d.Ooa)*b.height-0.5);d=0>d?0:d>b.height-1?b.height-
1:d;k.push({x:j,y:d,source:b})}})});return k},P6:function(a,b){d.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},ut:"panoramaId",vt:"panoramaFrameId",VT:"panoramaOverlayId",jI:"levelIndex",setAttribute:function(a,b,c){d.Af(a,function(a){a.userData.Vn.attributes[b]=c})},getAttribute:function(a,b){return a.userData.Vn.attributes[b]},u4:function(a,b,c){for(var d=[],e=0,f=a.length;e<f;e++){var l=a[e];l.userData.Vn.attributes[b]!==c&&d.push(l)}return d},eH:function(a,b,c){for(var d=[],
e=0,f=a.length;e<f;e++){var l=a[e];l.userData.Vn.attributes[b]===c&&d.push(l)}return d},f5:function(a,b){for(var c={},d=0,e=a.length;d<e;d++){var f=a[d],l=f.userData.Vn.attributes[b];l!==n&&(c[l]||(c[l]=[])).push(f)}return c},VR:function(a){a=a.userData.Vn.alpha;return a===n?1:a},ad:function(a,b){d.Af(a,function(a){a.userData.Vn.alpha=b;d.Zp(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},Ll:function(a,b){d.Af(a,function(a){a.matrix.copy(b);
a.matrixWorldNeedsUpdate=p})},d5:function(a){return a.renderOrder},ET:function(a,b){d.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){d.Af(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=n);a.material&&(e.dispose(a.material),a.material=n)})},Tl:function(a){var b=[];d.Af(a,function(a){b.push(a)});return b},forEach:function(a,b){Array.isArray(a)?a.forEach(b):a&&a.isObject3D&&(a.isMesh||"Group"==a.type)&&b(a)},Af:function(a,b){if(Array.isArray(a))for(var c=0,e=a.length;c<e;c++)d.Af(a[c],
b);else if(a&&a.children){c=0;for(e=a.children.length;c<e;c++)d.Af(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return d});define("H",["require","cP"],function(a){var b=a("cP");return{Tl:function(a){var e=[];a.children&&a.children.forEach(function(a){b.Af(a,function(a){a.userData&&a.userData.Vn&&e.push(a)})});return e},oT:function(a,b){a.userData.VG=b},XR:function(a){return a.userData.VG||[]},Uv:function(a){return a.userData.VG&&0<a.userData.VG.length&&a.userData.VG[0]||q}}});
define("T","require,bb,r,cs,H,eF".split(","),function(a){function b(){if(e.Wa()){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=window.devicePixelRatio||1,b=[screen.width*b,screen.height*b].sort(function(a,b){return b-a}),b=[b[0]/a[0],b[1]/a[1]].sort()[0];if(b!==Infinity)return b}return window.devicePixelRatio}var c=a("bb"),e=a("r"),d=a("cs"),g=a("H"),j=a("eF"),k=180/
Math.PI;return{T7:function(a,c){var f,d;this.setSize=function(b,c){if(f!=b||d!=c){f=b;d=c;a.setSize(b,c)}};this.start=function(f){g.oT(f,[c]);a.setPixelRatio(b())};this.stop=D();this.fov=function(){return c.fov};this.RT=D();this.$g=function(){return c};this.render=function(b,f,d){a.setRenderTarget(f);d&&a.clear();a.render(b,c)}},q8:function(a,b){var f,e,j,o,s=new THREE.Vector2,t=new THREE.PerspectiveCamera;t.layers.enable(d.qa);var u=new THREE.PerspectiveCamera;u.layers.enable(d.Pa);this.start=function(b){a.getSize(s);
f=a.getPixelRatio();e=s.width;j=s.height;o=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var d=c.oH();d.$A&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,d.$A);a.setClearColor(0,1);a.setDrawingBufferSize(d.ej,d.ci,d.hH);g.oT(b,[t,u])};this.stop=function(){a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,o);a.setClearColor(0,0);a.setDrawingBufferSize(e,j,f)};this.setSize=function(a,b){e=a;j=b};this.fov=function(){return u.fov};this.$g=function(){return u};this.RT=
function(){b.updateProjectionMatrix();b.updateMatrixWorld();c.Sl().views.forEach(function(a){var f=a.eye==c.pi.qa?t:a.eye==c.pi.Pa?u:q;if(f){b.matrixWorld.decompose(f.position,f.quaternion,f.scale);f.applyQuaternion(a.orientation);f.translateOnAxis(a.position,1);f.projectionMatrix.copy(a.projectionMatrix);f.fov=2*Math.atan(1/f.projectionMatrix.elements[5])*k}})};this.render=function(b,f,d){var e=b.autoUpdate;if(e){b.updateMatrixWorld();b.autoUpdate=z}if(f){a.setRenderTarget(f);f.scissorTest=p}else{a.setRenderTarget(q);
a.setScissorTest(p)}(a.autoClear||d)&&a.clear();c.Sl().views.forEach(function(d){var e=d.eye==c.pi.qa?t:d.eye==c.pi.Pa?u:q;if(e){if(f){f.viewport.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);f.scissor.set(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}else{a.setViewport(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height);a.setScissor(d.viewport.x,d.viewport.y,d.viewport.width,d.viewport.height)}a.render(b,e)}});a.getSize(s);if(f){f.viewport.set(0,0,s.width,
s.height);f.scissor.set(0,0,s.width,s.height);f.scissorTest=z;a.setRenderTarget(q)}else{a.setViewport(0,0,s.width,s.height);a.setScissorTest(z)}if(e)b.autoUpdate=p}},k8:function(a,c){var f,e,k=1,o=new THREE.CubeCamera(0.1,1E4,1024);o.layers.enable(d.Lk);o.layers.enable(d.qa);var s=new THREE.ShaderMaterial;s.uniforms={tCube:{value:o.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};s.fragmentShader="uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldPosition;\nvoid main() {\n\tgl_FragColor = textureCube( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) );\n\tgl_FragColor.a *= opacity;\n}\n";
s.vertexShader="varying vec3 vWorldPosition;\n#include <common>\nvoid main() {\n\tvWorldPosition = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}\n";s.side=THREE.BackSide;s.depthWrite=z;s.transparent=p;s.depthTest=z;s.needsUpdate=p;var t=new THREE.Mesh(new THREE.SphereBufferGeometry(5,64,64),s);t.overdraw=z;t.matrixAutoUpdate=z;t.renderOrder=1E3;var u=new THREE.Matrix4;this.nt=function(a){k=a};this.setSize=
function(b,c){if(f!=b||e!=c)a.setSize(f=b,e=c)};this.start=function(f){f.add(t);f.add(o);f.traverse(function(a){if(a.layers.test(o.layers)){a.userData.AS=a.layers.mask;a.layers.mask=o.layers.mask}});o.visible=p;t.visible=p;g.oT(f,[c]);a.setClearColor(16777215,1);a.setPixelRatio(b())};this.stop=function(b){a.setClearColor(0,0);b.traverse(function(a){if(a.userData.AS!==n){a.layers.mask=a.userData.AS;delete a.userData.AS}});o.visible=z;t.visible=z;b.remove(t);b.remove(o)};this.fov=function(){return c.fov};
this.RT=function(){if(k>0){t.matrix.copy(c.matrixWorld);t.matrix.multiply(u.makeTranslation(0,0,-k*5));t.matrixWorldNeedsUpdate=p}};this.$g=function(){return c};var v=0;this.render=function(b,f,d){if(k>0){v++;if(!j.Rla()||v%10==0){j.kna();t.visible=z;o.update(a,b);t.visible=p}}a.setRenderTarget(f);d&&a.clear();a.render(b,c)}}}});
define("k",["require"],function(){function a(a,b){this.g=a;this.A1=b;this.xz=new THREE.CustomRenderPass(b);this.SF=new THREE.SavePass;this.uo=new THREE.ShaderPass(THREE.q7,"tDiffuse1");this.uo.uniforms.tDiffuse2.value=this.SF.renderTarget.texture;this.uo.uniforms.mixRatio.value=0.8;this.A0=new THREE.ShaderPass(THREE.CopyShader);this.A0.fq=p;this.mr=new THREE.EffectComposer(a);this.mr.addPass(this.xz);this.mr.addPass(this.uo);this.mr.addPass(this.SF);this.mr.addPass(this.A0);this.TK=this.UK=this.dn=
n;this.I6(z)}var b=new THREE.Vector2;a.prototype.destroy=function(){this.mr=this.uo=this.SF=this.xz=this.A1=this.g=q};a.prototype.I6=function(a){if(this.dn!==a){this.dn=a;this.xz.fq=!this.dn;this.uo.fq=this.dn;this.SF.enabled=this.dn;if(this.uo.enabled=this.dn)this.uo.uniforms.mixRatio.value=0;this.lM=3}};a.prototype.render=function(a,e){if(this.dn){this.g.getSize(b);if(this.UK!==b.width||this.TK!==b.height)this.UK=b.width,this.TK=b.height,this.mr.setSize(this.UK,this.TK);this.xz.dT=a;this.xz.$g=
e;this.dn&&0<this.lM&&(this.lM--,0===this.lM&&(this.uo.uniforms.mixRatio.value=0.65));this.mr.render()}else this.A1(this.g,a,e,q,z)};THREE.q7={uniforms:{tDiffuse1:{value:q},tDiffuse2:{value:q},mixRatio:{value:0.5},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_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() {\n\tvec4 texel1 = texture2D( tDiffuse1, vUv );\n\tvec4 texel2 = texture2D( tDiffuse2, vUv );\n\tgl_FragColor = opacity * mix( texel1, texel2, mixRatio );\n}"};
THREE.CopyShader={uniforms:{tDiffuse:{value:q},opacity:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\n\tvUv = uv;\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float opacity;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel = texture2D( tDiffuse, vUv );\n\tgl_FragColor = opacity * texel;\n}"};THREE.EffectComposer=function(a,b){this.am=a;if(b===n){var d={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,
format:THREE.RGBAFormat,stencilBuffer:z},g=a.getSize(new THREE.Vector2);this.nk=a.getPixelRatio();this.R=g.width;this.ba=g.height;b=new THREE.WebGLRenderTarget(this.R*this.nk,this.ba*this.nk,d);b.texture.name="EffectComposer.rt1"}else this.nk=1,this.R=b.width,this.ba=b.height;this.rw=b;this.sw=b.clone();this.sw.texture.name="EffectComposer.rt2";this.$B=this.rw;this.AB=this.sw;this.fq=p;this.cq=[];THREE.CopyShader===n&&console.error("THREE.EffectComposer relies on THREE.CopyShader");THREE.ShaderPass===
n&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.fka=new THREE.ShaderPass(THREE.CopyShader);this.dka=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.AB;this.AB=this.$B;this.$B=a},addPass:function(a){this.cq.push(a);a.setSize(this.R*this.nk,this.ba*this.nk)},insertPass:function(a,b){this.cq.splice(b,0,a)},Yla:function(a){for(a+=1;a<this.cq.length;a++)if(this.cq[a].enabled)return z;return p},render:function(a){a===n&&(a=this.dka.getDelta());
var b=this.am.getRenderTarget(),d=z,g,j,k=this.cq.length;for(j=0;j<k;j++)if(g=this.cq[j],g.enabled!==z){g.fq=this.fq&&this.Yla(j);g.render(this.am,this.$B,this.AB,a,d);if(g.MS){if(d){var h=this.am.getContext(),m=this.am.state.buffers.stencil;m.setFunc(h.NOTEQUAL,1,4294967295);this.fka.render(this.am,this.$B,this.AB,a);m.setFunc(h.EQUAL,1,4294967295)}this.swapBuffers()}THREE.MaskPass!==n&&(g instanceof THREE.MaskPass?d=p:g instanceof THREE.ClearMaskPass&&(d=z))}this.am.setRenderTarget(b)},reset:function(a){a===
n&&(a=this.am.getSize(new THREE.Vector2),this.nk=this.am.getPixelRatio(),this.R=a.width,this.ba=a.height,a=this.rw.clone(),a.setSize(this.R*this.nk,this.ba*this.nk));this.rw.dispose();this.sw.dispose();this.rw=a;this.sw=a.clone();this.$B=this.rw;this.AB=this.sw},setSize:function(a,b){this.R=a;this.ba=b;var d=this.R*this.nk,g=this.ba*this.nk;this.rw.setSize(d,g);this.sw.setSize(d,g);for(var j=0;j<this.cq.length;j++)this.cq[j].setSize(d,g)},setPixelRatio:function(a){this.nk=a;this.setSize(this.R,this.ba)}});
THREE.Pass=function(){this.MS=this.enabled=p;this.fq=this.clear=z};Object.assign(THREE.Pass.prototype,{setSize:D(),render:function(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}});THREE.Pass.FullScreenQuad=function(){function a(b){this.FE=new THREE.Mesh(d,b)}var b=new THREE.OrthographicCamera(-1,1,1,-1,0,1),d=new THREE.PlaneBufferGeometry(2,2);Object.defineProperty(a.prototype,"material",{get:function(){return this.FE.material},set:function(a){this.FE.material=a}});
Object.assign(a.prototype,{dispose:function(){this.FE.geometry.dispose()},render:function(a){a.render(this.FE,b)}});return a}();THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.Sma=a;this.$g=this.dT=q;this.clear=p;this.MS=this.clearDepth=z};THREE.CustomRenderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.CustomRenderPass,render:function(a,b,d){b=a.autoClear;a.autoClear=z;this.Sma(a,this.dT,this.$g,this.fq?q:d,this.clear);a.autoClear=b}});THREE.ShaderPass=
function(a,b){THREE.Pass.call(this);this.TB=b!==n?b:"tDiffuse";a instanceof THREE.ShaderMaterial?(this.uniforms=a.uniforms,this.material=a):a&&(this.uniforms=THREE.UniformsUtils.clone(a.uniforms),this.material=new THREE.ShaderMaterial({defines:Object.assign({},a.defines),uniforms:this.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader}));this.jH=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,
render:function(a,b,d){this.uniforms[this.TB]&&(this.uniforms[this.TB].value=d.texture);this.jH.material=this.material;this.fq?a.setRenderTarget(q):(a.setRenderTarget(b),this.clear&&a.clear(a.aqa,a.bqa,a.cqa));this.jH.render(a)}});THREE.SavePass=function(a){THREE.Pass.call(this);THREE.CopyShader===n&&console.error("THREE.SavePass relies on THREE.CopyShader");var b=THREE.CopyShader;this.TB="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(b.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,
vertexShader:b.vertexShader,fragmentShader:b.fragmentShader});this.renderTarget=a;this.renderTarget===n&&(this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBFormat,stencilBuffer:z}),this.renderTarget.texture.name="SavePass.rt");this.MS=z;this.jH=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,
render:function(a,b,d){this.uniforms[this.TB]&&(this.uniforms[this.TB].value=d.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.jH.render(a)}});return a});
define("cU","require,jquery.mod,gP,iu,cs,T,eq,k,eF,bb".split(","),function(a){function b(){this.v=c("<div/>");this.v.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,cursor:"inherit"});this.Sc=new THREE.PerspectiveCamera(90,16/9,0.1,2*k.Bf);this.Sc.layers.enable(g.qa);this.rD=new THREE.PerspectiveCamera;this.dv=new THREE.Scene;window.dT=this.dv;window.Bpa=THREE;this.dv.add(this.Sc);this.g=q;this.zu=n;this.hs=this.pf=this.aQ=this.qR=this.pP=q}var c=a("jquery.mod"),e=a("gP"),d=a("iu"),
g=a("cs"),j=a("T"),k=a("eq"),h=a("k"),m=a("eF"),f=a("bb");b.prototype.Uv=P("rD");b.prototype.Jka=function(){return this.pf.fov(this.Sc)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.jb=P("v");b.prototype.Mka=function(){return this.g?this.g.domElement.width:this.v.width()};b.prototype.Lka=function(){return this.g?this.g.domElement.height:this.v.height()};b.prototype.update=function(a){this.hja(a);this.Via(a);this.Pia(a);this.fja(a)};b.prototype.render=function(){this.Xu()};
b.prototype.hja=function(a){if(a.enabled){this.zu=(new Date).getTime();this.g||this.uha(a)}};b.prototype.uha=function(a){if(!this.g&&a.enabled){l++;var b=this.jb().get(0),c={precision:"mediump",alpha:p};if(l==1&&a.Gb){a=f.Zs();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=m.m4(c.canvas)}this.g=new THREE.WebGLRenderer(c);this.g.setClearColor(0,0);b.appendChild(this.g.domElement);this.hs=new h(this.g,function(a,b,c,f,d){this.pf.render(b,f,d)}.bind(this));this.aQ=
new j.T7(this.g,this.Sc);this.E2=new j.k8(this.g,this.Sc);this.qR=new j.q8(this.g,this.Sc);f.Fv(this.g.getContext());this.pP=setInterval(this.dia.bind(this),1E3)}};b.prototype.dia=function(){(new Date).getTime()>this.zu+2E3&&this.t$()};b.prototype.t$=function(){if(!this.g){l--;clearInterval(this.pP);this.pf=this.aQ=this.qR=this.pP=q;this.hs.destroy();this.hs=q;f.Wqa(this.g.domElement);this.jb().get(0).removeChild(this.g.domElement);this.g.dispose();this.g=q}};b.prototype.Pia=function(a){this.Sc.quaternion.copy(d.y4(a.Ia,
a.pitch,a.$c));this.Sc.fov=e.gj(a.Pc,a.width,a.height);this.Sc.aspect=a.width/a.height;this.Sc.updateProjectionMatrix();this.Sc.updateMatrixWorld();this.pf&&this.pf.RT();this.pf&&this.rD.copy(this.pf.$g());this.rD.updateProjectionMatrix();this.rD.updateMatrixWorld()};b.prototype.Via=function(a){var b=a.Gb?this.qR:a.lh>0?this.E2:this.aQ;if(this.pf!=b){this.pf&&this.pf.stop(this.dv);(this.pf=b)&&this.pf.start(this.dv)}if(this.pf){this.pf.setSize(a.width,a.height);this.pf==this.E2&&this.pf.nt(a.lh)}};
b.prototype.fja=function(a){this.hs&&this.hs.I6(a.IH)};b.prototype.Xu=function(){this.hs&&this.hs.render(this.dv,this.Sc)};var l=0;return b});
define("fD",["require","hb","dT","eF"],function(a){var b=a("hb"),c=a("dT"),e=a("eF"),a=b.extend(c,function(){c.call(this);this.P=this.rb=q;this.Pb=[];this.GG=z;this.Py=q;this.Hh=[this];this.Cl={};this.Xk={};this.cy=z;this.eP={};this.fP={};this.Vk(["blendingActive"]);this.P8();this.set("alpha",1);this.set("translationX",0);this.set("translationY",0);this.set("translationZ",0);this.set("deltaYaw",0);this.set("deltaPitch",0);this.set("deltaRoll",0);this.set("flipHorizontally",z);this.set("index",0)});
a.prototype.P8=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.eP[a]=p}.bind(this))};a.prototype.Vk=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.fP[a]=p}.bind(this))};a.prototype.set=function(a,b){this.Cl[a]!==b&&(this.fP[a]&&this.Pb.forEach(function(c){c.set(a,b)}),this.j9(a,b),this.IP(a))};a.prototype.get=function(a){return this.Cl[a]};a.prototype.IP=function(a){this.Xk[a]||
(this.Xk[a]=p,this.cy||(this.cy=p,this.Kb()),this.eP[a]&&this.Pb.forEach(function(b){b.IP(a)}))};a.prototype.w$=function(){this.cy&&(this.cy=z,this.Xk={})};a.prototype.D=function(){if(this.cy)for(var a=0;a<arguments.length;a++)if(this.Xk[arguments[a]])return p;return z};a.prototype.j9=function(a,b){this.Cl[a]=b};a.prototype.Na=P("Pb");a.prototype.lj=function(a){for(var b=a||[],c=this.Pb.slice(),a=b.length!=c.length,e=0;e<b.length&&!a;e++)a=b[e]!=c[e];a&&(a=c.filter(function(a){return-1==b.indexOf(a)}),
e=b.filter(function(a){return-1==c.indexOf(a)}),this.Pb=b,a.forEach(function(a){a.ZF(q)}),e.forEach(function(a){a.remove();a.ZF(this)}.bind(this)),this.Kb())};a.prototype.ZF=function(a){this.P!=a&&(this.P&&this.Rh(),(this.P=a)&&this.Dj(),this.NP(this.P&&this.P.rb))};a.prototype.Dj=function(){for(var a in this.P.eP)this.IP(a);for(a in this.P.fP)this.set(a,this.P.get(a))};a.prototype.Rh=D();a.prototype.NP=function(a){this.rb!=a&&(a||this.Yb(),(this.rb=a)&&this.Wb(),this.Pb.forEach(function(a){a.NP(this.rb)}.bind(this)))};
a.prototype.Wb=function(){this.e9()};a.prototype.Yb=function(){this.Ofa()};a.prototype.e9=function(){this.Hh.forEach(function(a){this.rb.Py.add(a,this)}.bind(this))};a.prototype.Ofa=function(){this.Hh.forEach(function(a){this.rb.Py.remove(a,this)}.bind(this))};a.prototype.cj=function(){this.P&&this.P.DR(this)};a.prototype.DR=function(a){var b=this.Pb.indexOf(a);-1==b&&i("Child not found");b!=this.Pb.length-1&&(this.Pb.splice(b,1),this.Pb.push(a),this.Kb())};a.prototype.yka=function(a){var b=this.Pb.indexOf(a);
-1==b&&i("Child not found");this.Pb.splice(b,1);a.ZF(q);this.Kb()};a.prototype.appendChild=function(a){a.remove();this.Pb.push(a);a.ZF(this);this.Kb()};a.prototype.remove=function(){this.P&&this.P.yka(this)};a.prototype.nj=D();a.prototype.Kb=function(){this.GG||(this.GG=p,this.P&&this.P.Kb(this))};a.prototype.B$=function(){this.GG=z};a.prototype.M=function(){this.D("alpha")&&this.set("composedAlpha",this.get("alpha")*(this.P?this.P.get("composedAlpha"):1));this.D("translationX","translationY","translationZ")&&
(this.set("composedTranslationX",this.get("translationX")+(this.P?this.P.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.P?this.P.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.P?this.P.get("composedTranslationZ"):0)));this.D("deltaYaw","deltaPitch","deltaRoll")&&(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.P?this.P.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+
(this.P?this.P.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.P?this.P.get("composedDeltaRoll"):0)),e.B5())};return a});
define("hS","require,hb,jd,dT,cP,H".split(","),function(a){function b(a,b){return a.reduce(function(a,c){return a?p:!!(b.layers.mask&c.layers.mask)},z)}function c(a){a=g(a).loaded;return a===n?z:a}function e(a){a=g(a).Hja;return a===n?p:a}function d(a){a=g(a).Rja;return a===n?z:a}function g(a){return a.userData.pma||(a.userData.pma={})}var j=a("hb"),k=a("jd"),h=a("dT"),m=a("cP"),f=a("H"),a=j.extend(h,function(){h.call(this);this.k=n;this.QN=z});a.prototype.update=function(a){var b=a.Gb&&this.k&&!this.k.Gb;
this.k=a.clone();this.QN||(b?this.Kca():this.aja())};a.prototype.aja=function(){var a=z,g=f.XR(this.k.Re),h=f.Tl(this.k.Re);m.eH(h,m.vt,n).forEach(function(c){var f=b(g,c)&&m.VR(c)>0&&e(c);if(c.visible!=f){c.visible=f;a=p}});var h=m.u4(h,m.vt,n),h=m.f5(h,m.ut),j;for(j in h){var t=h[j],u=g.map(Q(z));t.sort(function(a,b){return m.d5(b)-m.d5(a)});var v=t.some(d);t.forEach(function(f){var d=b(g,f)&&m.VR(f)>0&&e(f)&&(!v||c(f));if(d){for(var d=p,h=v||c(f)&&m.VR(f)>0.999,k=0;k<g.length;k++)if(f.layers.mask&
g[k].layers.mask&&!u[k]){d=z;h&&(u[k]=p)}d=!d}if(f.visible!=d){f.visible=d;a=p}})}a&&this.trigger(k.W)};a.prototype.Kca=function(){this.QN=p;f.Tl(this.k.Re).forEach(function(a){a.visible=z});setTimeout(function(){this.QN=z;this.update(this.k)}.bind(this),300);this.trigger(k.W)};a.sT=function(a,b){g(a).loaded=b};a.setActive=function(a,b){g(a).Hja=b};a.ena=function(a,b){m.Af(a,function(a){g(a).Rja=b})};return a});
define("gA","require,hb,jd,eU,dT,hS,bD,cP,H,r".split(","),function(a){function b(a){return(a=a.userData.rj)&&!(!a.IS&&!a.FS)}function c(a){return a.userData.rj||(a.userData.rj={})}function e(a){return c(a).rt}function d(a){return c(a).enabled||z}function g(a){return!e(a).CS()}var j=a("hb"),k=a("jd");a("eU");var h=a("dT"),m=a("hS"),f=a("bD"),l=a("cP"),r=a("H"),o=a("r"),s=j.extend(h,function(){h.call(this);this.Bu=[];this.ap=[];this.It=[];this.k=n;this.Al=q;this.Av=this.Av.bind(this)});s.prototype.update=
function(a){this.k=a.clone();this.Kia()?this.Av():this.x3()};s.prototype.x3=function(){if(!this.Al)this.Al=setTimeout(this.Av,1E3)};var t=Math.PI/180;s.prototype.Kia=function(){var a=this.k.lh>0?1E3:this.k.WG/Math.tan(Math.min(this.k.Me*0.5,89.99)*t),f=r.XR(this.k.Re),e=r.Tl(this.k.Re).filter(b),g=e.filter(d),h={},h=l.u4(g,l.vt,n),h=l.f5(h,l.vt);h.none=l.eH(g,l.vt,n);var g=[],k;for(k in h)for(var j=h[k],o=0,u=j.length;o<u;o++){var K=j[o];(c(K).IS||s.qC)==s.km&&g.push(K)}for(var I=0,L=f.length;I<L;I++){var M=
f[I];for(k in h){for(var j=h[k],G=q,R=Number.NEGATIVE_INFINITY,E=q,O=Number.POSITIVE_INFINITY,o=0,u=j.length;o<u;o++){K=j[o];if(K.layers.mask&M.layers.mask&&(c(K).IS||s.qC)==s.qC){var H=c(K).wma*90;if(H<a&&H>R){G=K;R=H}else if(H>=a&&H<O){E=K;O=H}}}if(this.k.Gb&&E&&G)R>0.75*a?g.push(G):g.push(E);else{E&&g.indexOf(E)<0&&g.push(E);G&&g.indexOf(G)<0&&g.push(G)}}}a=[];for(f=0;f<g.length;f++){k=g[f];a.indexOf(k)<0&&a.push(k)}g=a;a:{a=this.It;f=g;for(k=0;k<a.length;k++)if(f.indexOf(a[k])<0){a=z;break a}for(k=
0;k<f.length;k++)if(a.indexOf(f[k])<0){a=z;break a}a=p}a=!a;this.It=g;o=0;for(u=e.length;o<u;o++){K=e[o];d(K)&&m.setActive(K,this.It.indexOf(K)>=0)}return a};s.prototype.Av=function(){this.Al=q;for(var a=[],b=[],f=[],d=(new Date).getTime()-u,e=r.XR(this.k.Re),h=r.Tl(this.k.Re),m=0,j=h.length;m<j;m++){var o=h[m],t=o.userData.rj;if(t){var I=l.Zp(o);if(t.enabled){var L=[];if(this.It.indexOf(o)>=0){if(this.k.lh>0||(c(o).FS||s.fJ)==s.Qk)L=I;else for(var M=0,G=e.length;M<G;M++){var R=l.hla(o,e[M]);if(M==
0)L=R;else for(var E=0,O=R.length;E<O;E++){var H=R[E];L.indexOf(H)<0&&L.push(H)}}E=0;for(O=L.length;E<O;E++){H=L[E];(H.userData.rj||(H.userData.rj={})).P5=d}}this.kK(o,L);E=0;for(O=t.Gk.length;E<O;E++)a.push(t.Gk[E]);E=0;for(O=t.Yn.length;E<O;E++)b.push(t.Yn[E])}else{t.Yn||this.kK(o,[]);E=0;for(O=t.Yn.length;E<O;E++){H=t.Yn[E];t.Gk.indexOf(H)<0&&b.push(H)}}E=0;for(O=I.length;E<O;E++)f.push(I[E])}}m=[];E=0;for(O=this.ap.length;E<O;E++){H=this.ap[E];f.indexOf(H)<0?H.userData.rj.rt.unload():g(H)?this.LP(H,
z):m.push(H)}this.ap=m;E=Math.max(s.S5(),Math.round(b.length*1.25))-a.length;if(this.ap.length>E){this.ap.sort(function(a,b){return c(a).P5-c(b).P5});m=this.ap.splice(0,this.ap.length-E);E=0;for(O=m.length;E<O;E++){H=m[E];H.userData.rj.rt.unload();this.LP(H,z)}}b=[];m=0;for(j=this.It.length;m<j;m++){o=this.It[m];t=o.userData.rj;t.Gk.length>0&&b.push(o)}f=Number.POSITIVE_INFINITY;m=0;for(j=b.length;m<j;m++){o=b[m];t=o.userData.rj;E=t.Pe;E=E!==n?E:Number.POSITIVE_INFINITY;E<f&&(f=E)}a=[];m=0;for(j=
b.length;m<j;m++){o=b[m];t=o.userData.rj;E=t.Pe;E=E!==n?E:Number.POSITIVE_INFINITY;if(E==f){R=t.Gk;E=0;for(O=R.length;E<O;E++){H=R[E];a.push(H)}}}E=0;for(O=this.Bu.length;E<O;E++){H=this.Bu[E];if(a.indexOf(H)<0){H=H.userData.rj.rt;H.unbind(k.O,this.qQ,this,p);H.unbind(k.jd,this.rQ,this,p);H.Zja()}}m=this.Bu;this.Bu=a;j=this.Bu.slice();E=0;for(O=j.length;E<O;E++){H=j[E];if(m.indexOf(H)<0){H=H.userData.rj.rt;H.bind(k.O,this.qQ,this,p);H.bind(k.jd,this.rQ,this,p);H.load()}}};s.prototype.qQ=function(a){this.R2(a.source);
this.trigger(k.O)};s.prototype.rQ=function(a){this.R2(a.source)};s.prototype.R2=function(a){a.unbind(k.O,this.qQ,this,p);a.unbind(k.jd,this.rQ,this,p);var b=a.material(),f=this.Bu,d=f.indexOf(b);d>=0&&f.splice(d,1);this.ap.push(b);this.LP(b,p);a=a.HS();c(a).Gk.indexOf(b)>=0&&this.kK(a,c(a).Yn);this.x3()};s.prototype.kK=function(a,b){var f=c(a).Yn,f=f?f.length:n,d=c(a).Gk,d=d?d.length:n;c(a).Yn=b;c(a).Gk=b.filter(g);m.sT(a,c(a).Gk.length==0&&(c(a).FS||s.fJ)==s.Qk);var e=c(a).Yn,e=e?e.length:n,h=c(a).Gk,
h=h?h.length:n;if(d!==h||f!==e)a.dispatchEvent({type:k.bc,ih:e?100-100*h/e:100});d!==h&&h===0&&a.dispatchEvent({type:k.O})};s.prototype.LP=function(a,c){if(c!=a.visible){var d=f.N4(a),g=l.getAttribute(d,l.ut),h=l.getAttribute(d,l.jI);if(g===n||h===n)a.visible=c;else{for(var k=r.Tl(this.k.Re).filter(b),g=l.eH(k,l.ut,g),h=l.eH(g,l.jI,h),m=l.Zp(d).indexOf(a),d=h.map(function(a){return l.Zp(a)[m]}),h=c,g=0;g<d.length&&h;g++)h=h&&e(d[g]).CS();for(g=0;g<d.length;g++)d[g].visible=h}}};s.S5=function(){var a;
if(o.Wa()){o.Dd();a=384}else a=1536;a=128;s.S5=function(){return a};return a};s.re=function(a,b){l.Af(a,function(a){c(a).enabled=b})};s.enabled=d;s.QB=function(a,b){l.Af(a,function(a){c(a).wma=b})};s.Qk="all";s.fJ="in view";s.jq=function(a,b){l.Af(a,function(a){c(a).FS=b})};s.km="always";s.qC="on demand";s.kq=function(a,b){l.Af(a,function(a){c(a).IS=b})};s.WH=function(a,b){l.Af(a,function(a){c(a).Pe=b})};s.NB=function(a,b){l.Af(a,function(a){c(a).Lqa=b;l.Zp(a).forEach(function(a){e(a).Pna(b)})})};
s.Hqa=function(a){return 100-100*c(a).Gk.length/c(a).Yn.length};s.Gqa=function(a){return c(a).Gk.length==0};s.em=function(a,b){(c(a).rt=b)&&(a.visible=b.CS())};s.rt=e;var u=(new Date).getTime();return s});
define("f","require,hb,fD,cP,H,gA,hS".split(","),function(a){var b=a("hb"),c=a("fD"),e=a("cP"),d=a("H"),g=a("gA"),j=a("hS"),a=b.extend(c,function(){c.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",q);this.set("meshGroup",q);this.set("camera",q)});a.prototype.Yk=function(){return[]};a.prototype.Yb=function(){e.dispose(this.get("meshGroup"));e.P6(this.get("meshGroup"),q);this.set("meshGroup",q);c.prototype.Yb.call(this)};a.prototype.M=function(a){c.prototype.M.call(this,
a);this.set("camera",d.Uv(a.Re));this.set("webglScene",a.Re);if(!this.get("meshGroup")){this.set("meshGroup",e.gka(this.Yk()));this.get("meshGroup").userData.Qqa=this}this.D("webglScene","meshGroup")&&e.P6(this.get("meshGroup"),this.get("webglScene"));this.En();this.Bv(a);this.ZQ();this.D("loadingActive","meshGroup")&&g.re(this.get("meshGroup"),this.get("loadingActive"));this.D("blendingActive","meshGroup")&&j.ena(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.En=function(){this.D("composedAlpha",
"meshGroup")&&this.Xq()};a.prototype.Xq=function(){e.ad(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Bv=function(){i("Must be overridden in descendants.")};a.prototype.ZQ=function(){if(this.D("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){e.ET(a,this.get("index")+b/c.length)}.bind(this))}};return a});
define("bY","require,hb,jd,eU,dT,bD,iB".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("eU"),d=a("dT"),g=a("bD"),j=a("iB"),k=b.extend(d,function(){d.call(this);this.gf=n;this.yl=j.createTexture();this.k=k.Ww;this.Ay=e.Rk});k.prototype.type=P("gf");k.prototype.texture=P("yl");k.prototype.material=function(){return this.yl&&j.kS(this.yl)};k.prototype.HS=function(){var a=this.yl&&j.kS(this.yl);return a&&g.N4(a)};k.prototype.Pna=N("Ay");k.prototype.load=function(){if(this.k==k.Ww){this.k=k.xC;this.sK()}};
k.prototype.Zja=function(){if(this.lma()){this.k==k.xC?this.nG():this.Wz();this.k=k.Ww}};k.prototype.unload=function(){if(this.k!=k.Ww){this.k==k.xC?this.nG():this.k==k.uJ?this.Wz():this.Rp();this.k=k.Ww}};k.prototype.sK=D();k.prototype.nG=D();k.prototype.qK=D();k.prototype.Wz=D();k.prototype.Rp=function(){j.cka(this.texture)};k.prototype.lma=function(){return this.k==k.xC||this.k==k.uJ};k.prototype.CS=function(){return this.k==k.tJ||this.k==k.jV};k.prototype.dispose=function(){j.dispose(this.yl);
this.yl=q};k.prototype.Gu=function(a){this.k=a?k.uJ:k.jV;a?this.qK():this.trigger(c.jd)};k.prototype.m_=function(){this.k=k.tJ;this.trigger(c.O)};k.Ww="initial";k.xC="loading";k.uJ="adding";k.jV="error loading";k.tJ="added";k.m8="custom";k.n8="image tile";k.Cpa="image animation";k.Dpa="video 360";return k});
define("dj","require,hb,jd,bB,gX,iB,bY".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bB"),d=a("gX"),g=a("iB"),j=a("bY"),a=b.extend(j,function(a){j.call(this);this.gf=j.m8;this.Ab=a;if(!this.Ab)this.k=j.tJ;this.Ge=this.yd=q});a.prototype.wg=function(a){this.Ge=a;g.eI(this.yl,this.Ge)};a.prototype.Bd=function(){return d.Bd(this.Ab)};a.prototype.update=function(){g.eI(this.yl,this.Ge)};a.prototype.sK=function(){this.Ab?this.iL():this.Gu(p)};a.prototype.nG=function(){this.Km()};a.prototype.qK=
function(){this.m_()};a.prototype.Rp=function(){this.Km()};a.prototype.dispose=function(){this.Km();j.prototype.dispose.call(this)};a.prototype.af=function(){this.Gu(p)};a.prototype.fp=function(){this.Gu(z)};a.prototype.iL=function(){if(!this.yd){this.yd=new e;this.yd.S6([this.Ab]);this.yd.bind(c.O,this.af,this,p);this.yd.bind(c.jd,this.fp,this,p);d.Tn(this.yd,this.Ay)}};a.prototype.Km=function(){if(this.yd){this.yd.unbind(c.O,this.af,this,p);this.yd.unbind(c.jd,this.fp,this,p);d.li(this.yd,this.Ay);
this.yd=q}};return a});
define("gq",["require","gP","W","hA"],function(a){var b=a("gP"),c=a("W"),e=a("hA"),d=180/Math.PI,g=Math.PI/180;return{aS:function(a,b,d,g,f,l,r){b||(b=a*g/d);f||(f=e.jm);var o={};switch(f){case e.jm:o.width=a;o.height=b;break;case e.NONE:o.width=d;o.height=g;break;case e.fe:o.width=Math.min(b*d/g,a);o.height=Math.min(a*g/d,b);break;case e.Ok:o.width=Math.max(b*d/g,a);o.height=Math.max(a*g/d,b);break;case e.Aj:o.width=a;o.height=a*g/d;break;case e.ag:o.width=b*d/g,o.height=b}o.width>a?(o.co=a/o.width,
o.WB=l==c.qa?0:l==c.Pa?1-o.co:0.5*(1-o.co),o.width=a):(o.WB=0,o.co=1);o.height>b?(o.eo=b/o.height,o.ZB=r==c.cb?1-o.eo:r==c.bb?0:0.5*(1-o.eo),o.height=b):(o.ZB=0,o.eo=1);return o},jS:function(a,k,h,m,f,l,r,o){k||(k=b.gj(a,h,m));f||(f=e.jm);l||(l=4096/360);var s={};switch(f){case e.jm:s.Pc=a;s.Jk=k;break;case e.NONE:s.Pc=2*Math.atan2(0.5*h,45*l)*d;s.Jk=b.gj(s.Pc,h,m);break;case e.fe:s.Pc=Math.min(b.fm(k,h,m),a);s.Jk=Math.min(b.gj(a,h,m),k);break;case e.Ok:s.Pc=Math.max(b.fm(k,h,m),a);s.Jk=Math.max(b.gj(a,
h,m),k);break;case e.Aj:s.Pc=a;s.Jk=b.gj(a,h,m);break;case e.ag:s.Pc=b.fm(k,h,m),s.Jk=k}s.Pc>a?(s.co=Math.tan(0.5*a*g)*h/Math.tan(0.5*s.Pc*g)/h,s.WB=r==c.qa?0:r==c.Pa?1-s.co:0.5*(1-s.co),s.Pc=a):(s.WB=0,s.co=1);s.Jk>k?(s.eo=Math.tan(0.5*k*g)*m/Math.tan(0.5*s.Jk*g)/m,s.ZB=o==c.cb?1-s.eo:o==c.bb?0:0.5*(1-s.eo),s.Jk=k):(s.ZB=0,s.eo=1);return s}}});
define("fT","require,hb,eU,eq,bD,cP,f,dj,gq,gA,gP,iu,W".split(","),function(a){var b=a("hb"),c=a("eU"),e=a("eq"),d=a("bD"),g=a("cP"),j=a("f"),k=a("dj"),h=a("gq"),m=a("gA"),f=a("gP"),l=a("iu"),r=a("W"),o=new THREE.Matrix4,s=Math.PI/180,t=b.extend(j,function(){j.call(this);this.set("tag","Plane");this.set("distance",n);this.set("textureSource",q);this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("contentWidth",
100);this.set("contentHeight",100);this.set("hfov",n);this.set("vfov",q);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("attachToCamera",z);this.set("materialConfig",this.Yj=new d.tj);this.Vx=this.eL();this.Qp=new THREE.Matrix4;this.qf=new THREE.Matrix4;this.gs=new THREE.Matrix4;this.Lm=new THREE.Matrix4;this.tk=new THREE.Matrix4;this.mK=new THREE.Matrix4;this.zW=new THREE.Quaternion;this.Cx=new THREE.Matrix4;this.rx=new THREE.Matrix4;this.Dx=new THREE.Matrix4;
this.wo=new THREE.Matrix4;this.ge=new THREE.Matrix4});t.pq=0;t.gm=1;t.prototype.M=function(a){j.prototype.M.call(this,a);this.vA();this.WQ()};t.prototype.vA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Yj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.Tl(a)[t.gm];g.vT(a,this.Gx());this.Xq()}}};t.prototype.WQ=function(){if(this.D("hfov","vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var a=
h.jS(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));e.M6(this.Vx[t.gm],a.WB,a.ZB,a.co,a.eo)}};t.prototype.Yk=function(){return[t.pq,t.gm].map(function(a){var b=a==t.pq?this.$K():this.Gx(),a=g.create(this.Vx[a],b);m.jq(a,m.Qk);m.kq(a,m.km);m.NB(a,c.oJ);m.WH(a,1);return a}.bind(this))};t.prototype.Gx=function(){var a=this.get("textureSource")||new k;
this.Yj=this.get("materialConfig");var b=d.Bk(a.texture(),this.Yj);m.em(b,a);return[b]};t.prototype.$K=function(){var a=new k,b=d.Bk(a.texture());m.em(b,a);return[b]};t.prototype.eL=function(){return[e.XA(),e.XA()]};t.prototype.Rj=function(a){return g.eS(this.get("meshGroup"),a)};t.prototype.Bv=function(a){var b=z;if(this.D("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Qp.makeTranslation(-this.get("composedTranslationX")*0.5*e.Bf,this.get("composedTranslationY")*0.5*
e.Bf,this.get("composedTranslationZ")*0.5*e.Bf);b=p}if(this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.qf.makeRotationY(-a.Ia*s);this.qf.multiply(o.makeRotationX(-this.get("composedDeltaPitch")*s));this.qf.multiply(o.makeRotationY(this.get("composedDeltaYaw")*s));this.qf.multiply(o.makeRotationY(a.Ia*s));b=p}if(this.D("yaw","pitch")){this.gs.makeRotationY(-this.get("yaw")*s);this.gs.multiply(o.makeRotationX(this.get("pitch")*s));b=p}if(this.D("distance","flipHorizontally",
"scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX","composedTranslationY","composedTranslationZ")){var c=this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?e.rH(this.get("distance")):e.Xv();this.Lm.makeTranslation(0,0,-c);var d=this.get("contentWidth"),k=this.get("contentHeight"),m=this.get("hfov"),j=this.get("vfov")||f.gj(m,d,k),J=(this.get("flipHorizontally")?
-1:1)*this.get("scale"),B=this.get("scale"),F=this.get("scaleMode"),K=this.get("panoramaPixelsPerDegree"),b=this.get("horizontalAlign")||r.sc,I=this.get("verticalAlign")||r.ac,d=h.jS(m,j,d,k,F,K,b,I),m=J*e.S4(c,m),j=B*e.T4(c,j);this.rx.makeScale(m,j,1);J=J*e.S4(c,d.Pc);c=B*e.T4(c,d.Jk);this.Dx.makeScale(J,c,1);this.Cx.makeTranslation(b==r.qa?-(m-J)*0.5:b==r.Pa?(m-J)*0.5:0,I==r.cb?(j-c)*0.5:I==r.bb?-(j-c)*0.5:0,0);b=p}if(this.D("rotationX","rotationY","rotationZ","roll")){this.tk.makeRotationZ(this.get("roll")*
s);this.tk.multiply(o.makeRotationY(this.get("rotationY")*s));this.tk.multiply(o.makeRotationX(this.get("rotationX")*s));this.tk.multiply(o.makeRotationZ(this.get("rotationZ")*s));b=p}this.set("cameraYaw",a.Ia);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.$c);if(this.get("attachToCamera")&&this.D("cameraYaw","cameraPitch","cameraRoll")){this.zW.copy(l.y4(a.Ia,a.pitch,a.$c));this.mK.makeRotationFromQuaternion(this.zW);b=p}else if(this.D("attachToCamera")){this.mK.identity();b=p}if(b||this.D("meshGroup")){this.ge.copy(this.Qp);
this.ge.multiply(this.qf);this.ge.multiply(this.mK);this.ge.multiply(this.gs);this.ge.multiply(this.Lm);this.ge.multiply(this.tk);this.wo.copy(this.ge);this.wo.multiply(this.rx);this.ge.multiply(this.Cx);this.ge.multiply(this.Dx);a=g.Tl(this.get("meshGroup"));g.Ll(a[t.pq],this.wo);g.Ll(a[t.gm],this.ge)}};return t});
define("cv","require,hb,jd,dT,iB,R".split(","),function(a){function b(){if(!m){m=p;k.za(c,q)}}function c(){for(m=z;h.length;){var a=h.shift();a.add();if(a.oma())break}h.length&&b()}var e=a("hb"),d=a("jd"),g=a("dT"),j=a("iB"),k=a("R"),h=[],m=z,f=e.extend(g,function(a,b){g.call(this);this.texture=a;this.source=b});f.prototype.oma=function(){return!this.source.gW&&j.Vja(this.source)};f.prototype.p4=function(){if(!this.source.gW){j.p4(this.source);this.source.gW=p}};f.prototype.add=function(){j.eI(this.texture,
this.source);this.trigger(d.O)};f.prototype.remove=function(){var a=h.indexOf(this);a>=0&&h.splice(a,1);j.eI(this.texture,q)};return{add:function(a,c){var d=new f(a,c);h.push(d);b();return d}}});
define("hW","require,hb,jd,bB,gX,cv,bY".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bB"),d=a("gX"),g=a("cv");TextureSource=a("bY");a=b.extend(TextureSource,function(a){TextureSource.call(this);this.gf=TextureSource.n8;this.Ab=a;this.Ge=this.Uu=this.yd=q});a.prototype.Bd=P("Ge");a.prototype.sK=function(){this.iL()};a.prototype.nG=function(){this.Km()};a.prototype.qK=function(){this.kaa()};a.prototype.Wz=function(){this.Km();this.JL()};a.prototype.Rp=function(){this.Km();this.JL()};a.prototype.dispose=
function(){this.Km();this.JL();TextureSource.prototype.dispose.call(this)};a.prototype.af=function(){this.Ge=d.Bd(this.Ab);this.Gu(p)};a.prototype.fp=function(){this.Gu(z)};a.prototype.n_=function(){this.m_()};a.prototype.iL=function(){if(!this.yd){this.yd=new e;this.yd.S6([this.Ab]);this.yd.bind(c.O,this.af,this,p);this.yd.bind(c.jd,this.fp,this,p);d.Tn(this.yd,this.Ay)}};a.prototype.Km=function(){if(this.yd){this.yd.unbind(c.O,this.af,this,p);this.yd.unbind(c.jd,this.fp,this,p);d.li(this.yd,this.Ay);
this.yd=q}};a.prototype.kaa=function(){this.Uu=g.add(this.yl,this.Ge);this.Uu.bind(c.O,this.n_,this,p)};a.prototype.JL=function(){if(this.Uu){this.Uu.unbind(c.O,this.n_,this,p);this.Uu.remove();this.Uu=q}};return a});
define("eW",["require"],function(){function a(){this.Qo=b++;this.Dy="_map_"+this.Qo+"_key";this.nE={};this.me=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var d;0>this.me.indexOf(a)&&this.me.push(a);if("object"===typeof a&&a!==q){if(d=a[this.Dy],!d){d=this.Dy;for(var g=[],j=0;8>j;j++)g.push(Math.floor(16*Math.random()).toString(16));d=a[d]=g.join("")}}else d=a;this.nE[d]=b;this.length=this.me.length};a.prototype.get=function(a){return this.nE["object"===typeof a&&a!==q?a[this.Dy]:
a]};a.prototype.m5=function(a){return 0<=this.me.indexOf(a)};a.prototype.remove=function(a){var b=this.me.indexOf(a);0>b||(this.me.splice(b,1),"object"===typeof a&&a!==q?(b=a[this.Dy],delete a[this.Dy]):b=a,delete this.nE[b],this.length=this.me.length)};a.prototype.forEach=function(a){this.me.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.me.length;)this.remove(this.me.pop());this.me=this.nE=q};return a});
define("gv",["require","hb","dT","eW"],function(a){function b(){this.Ts=[]}var c=a("hb"),e=a("dT"),d=a("eW"),a=c.extend(e,function(a){e.call(this);this.Fd=a;this.Ac=[];this.Sm=new d;this.HA=[];this.XL=[];this.Fu=this.Fu.bind(this)});a.prototype.gd=function(a){this.Ac.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Fd,this.Fu):a.unbind?a.unbind(this.Fd,this.Fu,this,p):i("invalid instance type")}.bind(this));this.Ac=a.slice();this.Ac.forEach(function(a){a.addEventListener?a.addEventListener(this.Fd,
this.Fu):a.bind?a.bind(this.Fd,this.Fu,this,p):i("invalid instance type");this.Sm.m5(a)||this.Sm.set(a,new b)}.bind(this));this.FQ()};a.prototype.dispose=function(){this.gd([]);this.Ac=q;this.Sm.dispose();this.XL=this.HA=this.Sm=q};a.prototype.mi=function(a){this.HA.push(a);this.FQ();return this};a.prototype.Fk=function(a){this.XL.push(a);return this};a.prototype.Jn=function(a){this.Ac.forEach(function(b){a(b,this.Sm.get(b).Ts)}.bind(this))};a.prototype.gi=function(a){a=this.Sm.get(a).Ts;return 0==
a.length?q:a[a.length-1]};a.prototype.Fu=function(a){var b=a.target||a.source;if(b=this.Sm&&this.Sm.get(b))b.Ts.push(a),this.XL.forEach(function(b){b(a,this)}.bind(this)),this.FQ()};a.prototype.FQ=function(){if(0!=this.Ac.length){for(var a=0;a<this.Ac.length;a++)if(0==this.Sm.get(this.Ac[a]).Ts.length)return;this.HA.length&&(a=this.HA.slice(),this.HA=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
define("bt",["require","di"],function(a){var b=a("di"),c={get:function(a){return a.K8||(a.K8=this.Waa(a))},Waa:function(a){if(b.tb("CubicPanoramaFrame",a))return a.get("stereoCube")?c.Nq:a.get("cube")?c.jo:c.oh;if(b.tb("SphericPanoramaFrame",a)){if(a.get("stereoSphere")){var d=a.get("hfov"),g=a.get("vfov"),j=a.get("stereoSphere").get("levels"),a=Math.max.apply(Math,j.map(function(a){return a.get("width")})),j=Math.max.apply(Math,j.map(function(a){return a.get("height")}));return 2==Math.round(j/g/
(a/d))?c.Oq:c.Bt}return c.Sk}},Nq:"stereoCube_12_1",jo:"monoCube_6_1",oh:"monoCube_1_1",Sk:"monoSphere_1_1",Oq:"stereoSphere_1_2",Bt:"stereoSphere_2_1"};return c});
define("in","require,di,hy,cs,hQ,bt,gq,hp,r,fb,hA,gE".split(","),function(a){function b(a,b,c){return a.split(b).join(c).split(encodeURI(b)).join(c)}function c(){var a=w.$p()&&URL.Ol("recent_ipad_use_max_res",z);c=function(){return a};return a}function e(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")}function d(a,b){var f=1E4;c()||(w.jf()?f=2048:w.$p()?f=1280:w.Wa()&&(f=1024));switch(a){case x.jo:return[6*f,f];case x.oh:return[f,
f];case x.Nq:return[12*f,f]}switch(a){case x.Oq:b=b*2;break;case x.Bt:b=b*0.5}return b>2?[f*4,f*4/b]:[f*2*b,f*2]}function g(a){if(c())return[n,n];switch(a){case x.jo:if(w.jf()||w.Wa())return[18432,1536];break;case x.Oq:if(w.jf())return[5352,5352];if(w.Wa())return[6086,6086];break;case x.Sk:if(w.jf())return[7168,3584];if(w.Wa()&&w.$p())return[8192,4096]}return[n,n]}function j(a,b){var c=g(b);return a.filter(function(a){return c[0]!==n&&a.get("width")>c[0]||c[1]!==n&&a.get("height")>c[1]?z:p})}function k(){if(w.$p())return t.lV;
if(w.jf())return t.nV;if(w.Wa())return t.mV}function h(a){a.sort(function(a,b){return a.get("width")-b.get("width")});return a}function m(a,b){function c(a){return Math.abs(a.get("width")*a.get("height")-b[0]*b[1])}a.sort(function(a,b){return c(a)-c(b)});return a.length&&a[0]||q}function f(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)<0});return a.length?a:c!==n?c:[]}function l(a,b,c){a=a.filter(function(a){return a.get("tags").indexOf(b)>=0});return a.length?a:c!==n?c:[]}function r(a,
b){switch(b){case x.Nq:return a.get("stereoCube").get("levels");case x.jo:return a.get("cube").get("levels");case x.oh:return a.get("front").get("levels");case x.Sk:return a.get("sphere").get("levels");case x.Oq:case x.Bt:return a.get("stereoSphere").get("levels")}}function o(a){for(var b=[],c=0;c<a.length;c++){var f=a[c];b.indexOf(f)<0&&b.push(f)}return b}var s=a("di"),t=a("hy"),u=a("cs"),v=a("hQ"),x=a("bt"),y=a("gq"),A=a("hp"),w=a("r"),C=a("fb"),J=a("hA"),B=a("gE"),F={O4:function(a){a=a.get("frames");
if(a.length==0)return 1;var b=a[0],a=x.get(b)==x.Sk&&s.tb("Video360Resource",b.get("sphere"))?[F.lS(b)]:F.gS(b,z);return Math.max.apply(Math,a.map(function(a){return F.jla(b,a)}))},jla:function(a,b){var b=F.$R(a,b,v.FRONT),c=b.get("width"),f=a.aw().get("hfov",360);switch(x.get(a)){case x.Nq:return c/1080;case x.jo:return c/540;case x.oh:return c/90;case x.Sk:return c/f;case x.Oq:return c/f;case x.Bt:return c/(2*f)}},mB:function(a,b,c){c||(c=z);if(s.tb("Panorama",a)){c=a.get("flipImageHorizontally",
z);return o(Array.prototype.concat.apply([],a.get("frames").map(function(a){return F.mB(a,b,c)})))}if(s.tb("PanoramaFrame",a)){if(x.get(a)==x.Sk&&s.tb("Video360Resource",a.get("sphere")))return F.mB(F.lS(a),b);var f=F.gS(a,b)[0],c=a.get("flipImageHorizontally",z);if(x.get(a)==x.oh){var d=[v.FRONT,v.qa,v.BACK,v.Pa,v.cb,v.bb];return Array.prototype.concat.apply([],d.map(function(d){return(d=F.$R(a,f,d))?F.mB(d,b,c):[]}))}return F.mB(f,b,c)}if(s.tb("Video360ResourceLevel",a)){var e=a.get("posterURL");
return e?[e]:[]}if(s.tb("TiledImageResourceLevel",a)){var g=[],e=Math.round(a.get("width")/a.get("height")),h;if(e==1)h=x.oh;else if(e==12)h=x.kpa;else if(e==6)h=x.jo;else return[];var l=e==12?[u.Pa,u.qa]:[u.Lk],d=[v.Pa,v.qa,v.cb,v.bb,v.FRONT,v.BACK],k=a.get("colCount",e)/e,m=a.get("rowCount",1);l.forEach(function(b){d.forEach(function(f){for(var d=0;d<m;d++)for(var e=0;e<k;e++)g.push(F.a5(a,h,b,f,c,m,d,e))})});return g}return s.tb("ImageResourceLevel",a)?[a.get("url")]:[]},gS:function(a,b){var c=
x.get(a),f=this.zba(a);if(f){if(b&&!this.BZ(f)){c=this.XY(a);if(c!=f)return[c,f]}return[f]}f=l(r(a,c),t.yJ);if(f.length>0)return h(f);f=this.dca(a);if(b&&!this.BZ(f)){c=this.XY(a);if(c!=f)return[c,f]}return[f]},bma:function(a){return a.get("tags").indexOf(t.yJ)>=0},$R:function(a,b,c){if(x.get(a)!=x.oh)return b;var f;switch(c){case v.FRONT:f=a.get("front");break;case v.qa:f=a.get("left");break;case v.BACK:f=a.get("back");break;case v.Pa:f=a.get("right");break;case v.cb:f=a.get("top");break;case v.bb:f=
a.get("bottom")}a=f&&f.get("levels")||[];if(a.length==0)return q;a=a.filter(function(a){return a.get("width")==b.get("width")&&a.get("height")==b.get("height")&&a.get("grayscale",z)==b.get("grayscale",z)&&a.get("colCount",1)==b.get("colCount",1)&&a.get("rowCount",1)==b.get("rowCount",1)});return a[0]},a5:function(a,c,f,d,e,g,h,l){var a=a.get("url"),k=0;a.indexOf("{eye}")>=0||a.indexOf(encodeURI("{eye}"))>=0?a=b(a,"{eye}",G[f]):k=k+6*(e?L:I)[f];a.indexOf("{face}")>=0||a.indexOf(encodeURI("{face}"))>=
0?a=b(a,"{face}",M[d]):c!=x.oh&&(k=k+K[d]);a=b(a,"{row}",h);return a=b(a,"{column}",l+k*g)},lla:function(a,b){return F.QD(a.get("image").get("levels"),90,90,J.fe,b)},Nka:function(a,b){return F.QD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},Zka:function(a,b){return F.QD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},vla:function(a,b){return F.QD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},QD:function(a,
b,d,e,g){var a=f(a,t.mm,a),j=k();j&&(a=l(a,j,a));j=1E4;c()||(w.jf()?j=2048:w.$p()?j=1280:w.Wa()&&(j=1024));var o=h(a)[a.length-1],b=y.jS(b,d,o.get("width"),o.get("height"),e,g);return m(a,[b.Pc*j/90,b.Jk*j/90])},Vka:function(a){var b=a.get("image").get("levels"),b=f(b,t.mm,b),c=k();c&&(b=l(b,c,b));c=h(b)[b.length-1];a=y.aS(a.get("width"),a.get("height"),c.get("width"),c.get("height"),a.get("scaleMode"));return m(b,[a.width,a.height])},lS:function(a){var b;w.Dd()==w.qi?b=[3168,1584]:w.Wa()&&(b=[3840,
1920]);var c=(w.Wa()?800:5E3)*1E3,f=[];A.mS&&f.push({type:C.Cw,$l:n});A.k5&&f.push({type:C.Cw,$l:b});A.vH&&f.push({type:C.sC,$l:b});A.wH&&f.push({type:C.CC,$l:b});A.pS&&f.push({type:C.RU,$l:b});f.push({type:C.sC,$l:b});f.push({type:C.CC,$l:b});A.k5&&f.push({type:C.Cw,$l:n});f.push({type:C.sC,$l:n});f.push({type:C.CC,$l:n});for(var a=r(a,x.get(a)).slice(),d=0;d<f.length;d++){var e=f[d].type;b=f[d].$l;var g=a.filter(function(a){return!C.is(a.get("url"),e)?z:!b?p:a.get("width")<=b[0]&&a.get("height")<=
b[1]});e!=C.Cw&&g.sort(function(a,b){return Math.abs(c-a.get("bitrate"))-Math.abs(c-b.get("bitrate"))});if(g.length)return g[0]}return q},XY:function(a){var b=x.get(a),a=r(a,b),a=j(a,b),a=l(a,t.mm,a);(b=k())&&(a=l(a,b,a));return m(a,[0,0])},dca:function(a){var b=x.get(a),a=r(a,b),a=j(a,b),a=f(a,t.mm,a),c=k();c&&(a=l(a,c,a));b=d(b,e(a));return m(a,b)},zba:function(a){var b=k();if(!b)return q;var c=x.get(a),a=r(a,c),a=j(a,c),a=f(a,t.mm,a),a=l(a,b);if(a.length==0)return q;b=d(c,e(a));return m(a,b)},
BZ:function(a){return a.get("tags").indexOf(t.yJ)>=0?z:w.od()==w.sq?p:B.Y6(a.get("url"))}},K=function(){var a={};a[v.Pa]=0;a[v.qa]=1;a[v.cb]=2;a[v.bb]=3;a[v.FRONT]=4;a[v.BACK]=5;return a}(),I=function(){var a={};a[u.Pa]=0;a[u.qa]=1;a[u.Lk]=0;return a}(),L=function(){var a={};a[u.Pa]=1;a[u.qa]=0;a[u.Lk]=0;return a}(),M=function(){var a={};a[v.Pa]="r";a[v.qa]="l";a[v.cb]="u";a[v.bb]="d";a[v.FRONT]="f";a[v.BACK]="b";return a}(),G=function(){var a={};a[u.qa]="l";a[u.Pa]="r";a[u.Lk]="b";return a}();return F});
define("cT",["require"],function(){function a(a){this.Ge=a;"CANVAS"==a.tagName?this.u=a:(this.u=document.createElement("canvas"),this.u.width=a.width,this.u.height=a.height);this.Fa=this.u.getContext("2d");this.Fa.globalCompositeOperation="copy";this.u!=a&&this.Fa.drawImage(a,0,0,a.width,a.height)}function b(a,b,c){try{if(a instanceof CanvasRenderingContext2D)return a.getImageData(b,c,1,1).data;if(a.tagName&&"CANVAS"==a.tagName)return a.getContext("2d").getImageData(b,c,1,1).data;e.drawImage(a,b,
c,1,1,0,0,1,1);return e.getImageData(0,0,1,1).data}catch(d){return[0,0,0,0]}}a.prototype.transparent=function(b,c){return a.transparent(this.Fa,b,c)};a.prototype.Ik=function(b,c){return a.Ik(this.Fa,b,c)};a.prototype.info=function(b,c){return a.info(this.Fa,b,c)};a.prototype.dispose=function(){this.u!=this.Ge&&(this.u.width=this.u.height=0);this.Ge=this.u=this.Fa=q};a.transparent=function(b,c,d){return!a.Ik(b,c,d)};a.Ik=function(a,c,d){return a.tagName&&"VIDEO"==a.tagName?p:0<b(a,c,d)[3]};a.info=
function(a,c,e){a=b(a,c,e);c=a[3];return{Ik:0<c,opacity:c,color:"#"+d[a[0]]+d[a[1]]+d[a[2]]}};var c=document.createElement("canvas");c.width=c.height=1;var e=c.getContext("2d");e.globalCompositeOperation="copy";var d=function(){for(var a=Array(256),b=0;16>b;b++)a[b]="0"+b.toString(16);for(;256>b;b++)a[b]=b.toString(16);return a}();return a});
define("hl","require,hb,gH,jd,di,fT,hW,gv,in,cT,hc".split(","),function(a){function b(a,b,f,d,e,g){for(a=(a-b)/g;f+180<d;)d=d-360;for(;f-180>d;)d=d+360;f=(f-d)/g;return f=a<-0.1||a>0.1?c(e,f,Math.abs(1/(1500*a))):c(e,f,0.08)}function c(a,b,c){a=(b-a)*(1-c);Math.abs(a)<1.0E-5&&(a=0);return b-a}var e=a("hb"),d=a("gH"),g=a("jd"),j=a("di"),k=a("fT"),h=a("hW"),m=a("gv"),f=a("in"),l=a("cT"),r=a("hc"),a=e.extend(k,function(a){k.call(this);this.n=a;this.Hh.push(this.n);this.bf=this.bf.bind(this);this.gf=
j.tb("CeilingCapPanoramaOverlay",this.n)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.gf=="tripod"?-90:90);this.Ni=z;this.js=this.ZO=this.uz=n;this.vfa=this.gf=="tripod"?1:-1;this.kd=this.mg=this.Zd=q});a.prototype.Wb=function(){k.prototype.Wb.call(this);this.Zd=(new m(g.O)).mi(this.ak.bind(this));this.mg=(new m(g.bc)).Fk(this.Yr.bind(this));d.Le(this.n,["angle","distance","hfov","image","inertia","rotate"],this.bf,p)};a.prototype.Yb=function(){this.kd&&this.kd.dispose();this.kd=
q;this.Zd.dispose();this.mg.dispose();d.kf(this.n,["angle","distance","hfov","image","inertia","rotate"],this.Upa);k.prototype.Yb.call(this)};a.prototype.bf=function(){this.set("angle",this.n.get("angle"));this.set("distance",this.n.get("distance"));this.set("hfov",this.n.get("hfov"));this.set("image",this.n.get("image"));this.set("inertia",this.n.get("inertia"));this.set("rotate",this.n.get("rotate"))};a.prototype.Yk=function(){var a=k.prototype.Yk.call(this);this.Zd.gd(a);this.mg.gd(a);return a};
a.prototype.M=function(a){this.pA();this.HG(a);k.prototype.M.call(this,a)};a.prototype.pA=function(){if(this.D("image")){var a=f.Nka(this.n,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new h(a.get("url")));this.set("contentWidth",a.get("width"));this.set("contentHeight",a.get("height"))}};a.prototype.ak=function(){this.kd&&this.kd.dispose();this.kd=new l(this.get("textureSource").Bd());this.trigger(g.Rb);this.trigger(g.O)};a.prototype.Yr=function(a,b){var c=0;b.Jn(function(a){(a=
b.gi(a))&&(c=c+a.ih)});this.trigger(new r(g.bc,c/b.Ac.length))};a.prototype.HG=function(a){this.set("rendererYaw",a.Ia);if(this.D("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&&this.D("rendererYaw")){var c=this.get("angle"),f=this.get("rotate"),d=this.get("inertia"),e=this.vfa*a.Ia;f&&(c=c+e);var g=0,h=c-e;if(this.uz!==n){if(d)if(f){g=b(e,this.js,c,this.uz,this.ZO,a.Pd);c=this.uz+g*a.Pd}else{g=b(e,this.js,h,this.c1,this.ZO,a.Pd);h=this.c1+g*a.Pd;c=h+e}this.uz!=c&&this.Kb()}this.c1=
h;this.uz=c;this.ZO=g;this.js=e;this.set("rotationZ",-c)}};a.prototype.nj=function(a){if(a.Fd==g.ph){var b=!a.ah()&this.Mp(a);if(b){a.Qs(this.n);this.n.get("useHandCursor")&&a.Rs(this.n);a.ai(this.get("distance"))}if(this.Ni!=b){this.Ni=b;this.n.trigger(this.Ni?g.Qc:g.oc);a.lw()&&this.n.trigger(this.Ni?g.Bj:g.mf)}}else if(a.Fd==g.ri&&!a.ah()&this.Mp(a)){this.n.cB(g.U).length>1&&a.iq(this.n);a.ai(this.get("distance"));this.n.trigger(g.U)}};a.prototype.Mp=function(a){return this.Rj(a.vn).some(function(a){return this.kd&&
this.kd.Ik(a.x,a.y)}.bind(this))};return a});
define("cx","require,hb,eU,eq,bD,cP,f,dj,gq,gA,W".split(","),function(a){var b=a("hb"),c=a("eU"),e=a("eq"),d=a("bD"),g=a("cP"),j=a("f"),k=a("dj"),h=a("gq"),m=a("gA"),f=a("W"),l=new THREE.Matrix4,r=Math.PI/180,o=b.extend(j,function(){j.call(this);this.set("tag","FlatPlane");this.set("distance",n);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",n);this.set("offsetY",n);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("rotationZ",0);this.set("contentWidth",
100);this.set("contentHeight",100);this.set("scale",1);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("materialConfig",this.Yj=new d.tj);this.Vx=this.eL();this.Qp=new THREE.Matrix4;this.qf=new THREE.Matrix4;this.gs=new THREE.Matrix4;this.Lm=new THREE.Matrix4;this.St=new THREE.Matrix4;this.ev=new THREE.Matrix4;this.Eu=new THREE.Matrix4;this.tk=new THREE.Matrix4;this.Cx=new THREE.Matrix4;this.rx=new THREE.Matrix4;this.Dx=new THREE.Matrix4;this.wo=new THREE.Matrix4;
this.ge=new THREE.Matrix4;this.Tt=new THREE.Matrix4;this.er=new THREE.Vector3});o.pq=0;o.gm=1;o.prototype.M=function(a){j.prototype.M.call(this,a);this.vA();this.WQ()};o.prototype.vA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Yj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.Tl(a)[o.gm];g.vT(a,this.Gx());this.Xq()}}};o.prototype.WQ=function(){if(this.D("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var a=
h.aS(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));e.M6(this.Vx[o.gm],a.WB,a.ZB,a.co,a.eo)}};o.prototype.Yk=function(){return[o.pq,o.gm].map(function(a){var b=a==o.pq?this.$K():this.Gx(),a=g.create(this.Vx[a],b);m.jq(a,m.Qk);m.kq(a,m.km);m.NB(a,c.oJ);m.WH(a,1);return a}.bind(this))};o.prototype.Gx=function(){var a=this.get("textureSource")||new k;this.Yj=this.get("materialConfig");
var b=d.Bk(a.texture(),this.Yj);m.em(b,a);return[b]};o.prototype.$K=function(){var a=new k,b=d.Bk(a.texture());m.em(b,a);return[b]};o.prototype.eL=function(){return[e.XA(),e.XA()]};o.prototype.Rj=function(a){return g.eS(this.get("meshGroup"),a)};o.prototype.Bv=function(a){var b=z;if(this.D("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Qp.makeTranslation(-this.get("composedTranslationX")*0.5*e.Bf,this.get("composedTranslationY")*0.5*e.Bf,this.get("composedTranslationZ")*
0.5*e.Bf);b=p}if(this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.qf.makeRotationY(-a.Ia*r);this.qf.multiply(l.makeRotationX(-this.get("composedDeltaPitch")*r));this.qf.multiply(l.makeRotationY(this.get("composedDeltaYaw")*r));this.qf.multiply(l.makeRotationY(a.Ia*r));b=p}if(this.D("yaw","pitch")){this.gs.makeRotationY(-this.get("yaw")*r);this.gs.multiply(l.makeRotationX(this.get("pitch")*r));b=p}this.D("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&
this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?e.rH(this.get("distance")):e.Xv());if(this.D("z")){this.Lm.makeTranslation(0,0,-this.get("z"));b=p}if(b){this.Tt.copy(this.Qp);this.Tt.multiply(this.qf);this.Tt.multiply(this.gs);this.Tt.multiply(this.Lm)}var c=z;this.set("rendererYaw",a.Ia);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.$c);this.set("rendererCameraFOV",a.Me);this.set("rendererWidth",
a.width);this.set("rendererHeight",a.height);a.Me&&this.D("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Me*r*0.5)*this.get("z")*2);if(a.Me&&(b||this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(a.Gb){this.St.copy(this.Tt);this.ev.identity()}else{c=a.$g;this.St.copy(c.matrixWorld);this.er.setFromMatrixPosition(c.matrixWorld);this.er.applyMatrix4(this.Tt);this.er.applyMatrix4(c.matrixWorldInverse);
var d=-10,k=-10;if(this.er.z<0){this.er.applyMatrix4(c.projectionMatrix);d=this.er.x*0.5;k=this.er.y*0.5}var m=this.get("rendererHeightZ");this.ev.makeTranslation(d*m*c.aspect,k*m,0)}c=p}if(this.D("roll")){this.tk.makeRotationZ(this.get("roll")*r);c=p}if(a.Me&&(b||this.D("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally"))){var b=a.Gb?1024:a.height,c=this.get("scale")*this.get("rendererHeightZ")/
b*(a.Gb?2:1),m=this.get("width"),k=this.get("height"),j=this.get("contentWidth"),w=this.get("contentHeight"),d=(this.get("flipHorizontally")?-1:1)*c,C=this.get("scaleMode"),a=this.get("horizontalAlign")||f.sc,b=this.get("verticalAlign")||f.ac,j=h.aS(m,k,j,w,C,a,b),m=d*m,k=c*k;this.rx.makeScale(m,k,1);d=d*j.width;c=c*j.height;this.Dx.makeScale(d,c,1);this.Cx.makeTranslation(a==f.qa?-(m-d)*0.5:a==f.Pa?(m-d)*0.5:0,b==f.cb?(k-c)*0.5:b==f.bb?-(k-c)*0.5:0,0);c=p}if(this.D("width","height","offsetX","offsetY")){a=
0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.Eu.makeTranslation(a,b,0);c=p}if(c){this.ge.copy(this.St);this.ge.multiply(this.Lm);this.ge.multiply(this.ev);this.ge.multiply(this.tk);this.wo.copy(this.ge);this.wo.multiply(this.rx);this.wo.multiply(this.Eu);this.ge.multiply(this.Cx);this.ge.multiply(this.Dx);this.ge.multiply(this.Eu);a=g.Tl(this.get("meshGroup"));g.Ll(a[o.pq],this.wo);g.Ll(a[o.gm],this.ge)}};return o});
define("dQ",["require","jd","es"],function(a){function b(a,b){this.Ej=a;this.yb=b;this.Wc=z;this.N8();this.U8()}var c=a("jd"),e=a("es");b.prototype.clear=function(){this.Kfa();this.Qfa();this.Ej.set("state",e.L);this.yb=this.Ej=q};b.prototype.Qe=function(a){this.Wc!=a&&(this.Wc=a,this.yG())};b.prototype.H_=function(){this.yb.Qd(this.Ej.get("state"))};b.prototype.G_=function(){this.yG()};b.prototype.E_=function(){this.Ej.trigger(c.Mq)};b.prototype.D_=function(){this.Ej.trigger(c.ta)};b.prototype.F_=
function(){this.Ej.set("state",this.yb.ei())};b.prototype.yG=function(){this.Ej.get("autoplay")&&this.yb.Qd(this.Wc?e.T:e.L)};b.prototype.N8=function(){this.Ej.bind(c.ga("state"),this.H_,this,p);this.Ej.bind(c.ga("autoplay"),this.G_,this,p)};b.prototype.Kfa=function(){this.Ej.unbind(c.ga("state"),this.H_,this,p);this.Ej.unbind(c.ga("autoplay"),this.G_,this,p)};b.prototype.U8=function(){this.yb.bind(c.Mq,this.E_,this,p);this.yb.bind(c.ta,this.D_,this,p);this.yb.bind(c.lm,this.F_,this,p)};b.prototype.Qfa=
function(){this.yb.unbind(c.Mq,this.E_,this,p);this.yb.unbind(c.ta,this.D_,this,p);this.yb.unbind(c.lm,this.F_,this,p)};return b});
define("iy",["require","r"],function(a){function b(){this.Pf=n;this.su=this.ds=0;this.Y=p;this.tX=this.U2=this.nY=n;this.Wc=z}var a=a("r"),c=Math.PI/180,e=a.browser()==a.nh?[-0.5,0]:[0,0];b.prototype.VH=function(a){this.Pf!=a&&(this.Pf=a,this.Y=p)};b.prototype.UH=function(a){if(a<this.ds+e[0]||a>this.ds+e[1])this.ds=a,this.Y=p};b.prototype.get=function(a,b){b!==n||(b=p);this.Y&&(this.M(),this.Y=z);var c=this.nY.get(a)||0,e=(this.U2.get(a)||0)-c;b&&(180<e?e-=360:-180>e&&(e+=360));return c+e*this.tX};
b.prototype.di=function(){return this.get("opacity",z)};b.prototype.$s=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Pf[0].get("hfov")||this.Pf[0].get("vfov");return Math.tan(0.5*a*c)/Math.tan(0.5*b*c)};b.prototype.M=function(){for(var a=this.su,b,c=this.Pf.length-1,e,h;;){b=Math.min(a+1,c);e=this.aZ(a);h=this.aZ(b);if(e<=this.ds&&this.ds<=h)break;if(e>this.ds){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.nY=this.Pf[a];this.U2=this.Pf[b];a=h-e;this.tX=0<a?(this.ds-e)/a:
0};b.prototype.aZ=function(a){return this.Pf[a].get("timestamp")};return b});
define("iC",["require"],function(){function a(a){return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]}function b(a,b){return Math.max(Math.abs(a[0]-b[0]),Math.abs(a[1]-b[1]),Math.abs(a[2]-b[2]))}var c={ana:function(c,d,g){if(c&&0==c.indexOf("#")){var j=a(c),k=n,h=256;d.forEach(function(c){if(c&&0==c.indexOf("#")){var f=b(j,a(c));f<h&&(k=c,h=f)}});if(k&&h<=g)return k}return c},E4:function(c,d){return b(a(c),a(d))}};c.NS=a;return c});
define("Q","require,hb,jd,es,bI,dT,R".split(","),function(a){function b(a,b,c,d){this.qS=a;this.src=a.src;this.OH=b;this.VA=c;this.iH=d;this.Ws=this.qS.width/this.VA;this.Vs=this.qS.height/this.OH}var c=a("hb"),e=a("jd"),d=a("es");a("bI");var g=a("dT"),j=a("R"),a=c.extend(g,function(a,c,h,m,j,t,u){g.call(this);this.le=new b(a,c,h,j);this.C1=t;this.ke=m;this.iY=u;this.tG=this.ke*this.le.iH;this.u=document.createElement("canvas");this.u.width=this.le.Ws;this.u.height=this.le.Vs;this.Fa=this.u.getContext("2d");
this.Fa.globalCompositeOperation="copy";this.k=d.L;this.GF=this.Zk=0;this.lL=n;this.We=k.bm(this.le);this.We.bind(e.W,this.Dg,this,p);this.Dg()});a.prototype.Qd=function(a){if(this.k!=a){if(a==d.Gc){if(this.k!=d.T)return}else if(a==d.T){if(this.k==d.L)this.Zk=this.GF=0}else if(a==d.L&&(this.Zk!=0||this.GF==0)){this.Zk=this.iY?0:this.tG-0.1;this.Dg()}this.k=a;j.za(this.$e,this);this.trigger(e.lm)}};a.prototype.ei=P("k");a.prototype.$e=function(a){if(this.k==d.T){this.Zk=Math.min(this.Zk+a,this.We.We.length*
this.ke);if(this.Zk>=this.tG){this.GF++;if(this.C1&&this.GF==this.C1){this.Qd(d.L);this.Zk=this.iY?0:this.tG-0.1;this.trigger(e.ta)}else{this.Zk=this.Zk%this.tG;this.trigger(e.Mq)}}this.Dg();this.k==d.T&&j.za(this.$e,this)}};a.prototype.clear=function(){this.Qd(d.L);this.u.width=this.u.height=0;this.u=q;k.Ima(this.le);this.le=q};a.prototype.Dg=function(){var a=Math.floor(this.Zk/this.ke);if(this.lL!=a&&a<this.We.We.length){this.lL=a;this.Fa.drawImage(this.We.get(this.lL),0,0);this.trigger(e.W)}};
b.prototype.isEqual=function(a){return this.src==a.src&&this.OH==a.OH&&(this.VA=a.VA)&&(this.Ws=a.Ws)&&(this.Vs=a.Vs)&&(this.iH=a.iH)};var k={Kf:[],F8:2E3,bm:function(a){a=this.Xe(a);a.ht++;this.I2(a);return a.frames},Ima:function(a){a=this.Xe(a);a.ht--;a.ht==0&&this.Cha(a)},Xe:function(a){for(var b=0;b<this.Kf.length;b++)if(this.Kf[b].Eka.isEqual(a))return this.Kf[b];b={};b.Eka=a;b.frames=new h(a);b.ht=0;this.Kf.push(b);return b},Cha:function(a){this.I2(a);a.NR=setTimeout(function(){k.taa(a)},k.F8)},
I2:function(a){if(a.NR){clearTimeout(a.NR);a.NR=q}},taa:function(a){this.Kf.splice(this.Kf.indexOf(a),1);a.frames.clear()}},h=c.extend(g,function(a){g.call(this);this.le=a;this.We=[];m.add(this)});h.prototype.clear=function(){m.remove(this);this.We.forEach(function(a){a.width=0;a.height=0});this.We=q};h.prototype.get=function(a){return this.We[a]};h.prototype.zka=function(){var a=this.We.length%this.le.VA,b=Math.floor(this.We.length/this.le.VA)%this.le.OH,c=document.createElement("canvas");c.width=
this.le.Ws;c.height=this.le.Vs;var d=c.getContext("2d");d.globalCompositeOperation="copy";d.drawImage(this.le.qS,a*this.le.Ws,b*this.le.Vs,this.le.Ws,this.le.Vs,0,0,this.le.Ws,this.le.Vs);h.Zaa(c);this.We.push(c);this.trigger(e.W)};h.Zaa=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 m={Kf:[],tQ:q,add:function(a){this.Kf.push(a);this.L1()},remove:function(a){this.Kf=this.Kf.filter(function(b){return b!=
a})},L1:function(){if(!this.tQ)this.tQ=setTimeout(function(){this.tQ=q;this.mO()}.bind(this),40)},mO:function(){if(this.Kf.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Kf.filter(function(a){return a.We.length==0}),b=b.length>0?b[0]:this.Kf[0];b.zka();if(b.We.length==b.le.iH){this.Kf.splice(this.Kf.indexOf(b),1);if(this.Kf.length==0)return}}this.L1()}}};return a});
define("ge","require,hb,gH,jd,di,cP,cx,dQ,iy,dj,iC,cT,in,Q,eW".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var e=a("hb"),d=a("gH"),g=a("jd"),j=a("di"),k=a("cP"),h=a("cx"),m=a("dQ"),f=a("iy"),l=a("dj"),r=a("iC"),o=a("cT"),s=a("in"),t=a("Q"),u=new (a("eW")),v=0,a=e.extend(h,function(a){h.call(this);this.set("tag","FlatHotspotImage");this.set("visible",z);this.set("playbackPositions",
q);this.set("image",q);this.set("beamEnabled",z);this.set("state",q);this.set("visibleOnStop",p);this.set("id","flat_hs_image_"+v++);this.n=a;this.Hh.push(this.n);this.bf=this.bf.bind(this);this.Ih=this.Ih.bind(this);this.xb=new f;this.fy=this.cd=this.uh=this.yb=q;this.Vd=[];this.kd=q});a.prototype.C6=function(a){if(this.cd!=a){this.cd&&d.kf(this.cd,["areas"],this.Ih,p);(this.cd=a)&&d.Le(this.cd,["areas"],this.Ih,p)}};a.prototype.Wb=function(){h.prototype.Wb.call(this);d.Le(this.n,["horizontalAlign",
"verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.bf,p);this.cd&&d.Le(this.cd,["areas"],this.Ih,p)};a.prototype.Yb=function(){this.zx();this.cd&&d.kf(this.cd,["areas"],this.Ih,p);d.kf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.bf);h.prototype.Yb.call(this)};a.prototype.bf=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));
this.set("verticalAlign",this.n.get("verticalAlign"));this.set("scale",this.n.get("scale"));this.set("scaleMode",this.n.get("scaleMode"));this.set("width",this.n.get("width"));this.set("height",this.n.get("height"));this.set("offsetX",this.n.get("offsetX",this.n.get("width")*0.5));this.set("offsetY",this.n.get("offsetY",this.n.get("height")*0.5));this.set("distance",this.n.get("distance"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("image",this.n.get("image"))};a.prototype.Ih=
function(){var a=this.cd.get("areas",[]);this.fy=j.tb("FlatHotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.M=function(a){this.Zu=a.Ia;this.Yu=a.pitch;this.Es();this.pA();this.qA();h.prototype.M.call(this,a)};a.prototype.qA=function(){if(this.D("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){k.setAttribute(a,k.ut,this.get("panoramaId"));k.setAttribute(a,k.VT,this.get("id"))}.bind(this))}};a.prototype.Es=function(){if(this.D("playbackPositions",
"currentTime")){this.xb.VH(this.get("playbackPositions"));this.xb.UH(this.get("currentTime"));this.set("yaw",this.xb.get("yaw"));this.set("pitch",this.xb.get("pitch"));this.set("roll",this.xb.get("roll"));this.set("alpha",this.xb.di())}};a.prototype.pA=function(){if(this.D("image")){this.zx();var a=s.Vka(this.n);this.set("textureSource",new l(a.get("url")));this.XJ()}};a.prototype.En=function(){this.D("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&
this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=PlaybackState.L));this.D("composedAlpha","meshGroup","inView")&&k.ad(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.D("inView")&&this.n.trigger(this.get("inView")?g.Df:g.yg);this.uh&&this.uh.Qe(this.get("inView"))};a.prototype.zx=function(){if(this.uh){this.uh.clear();this.uh=q}if(this.yb){this.yb.unbind(g.W,this.hy,this,p);this.yb.unbind(g.lm,this.iy,this,p);this.yb.clear();this.yb=q}if(this.kd){this.kd.dispose();
this.kd=q}if(this.get("textureSource")){this.ps();this.set("textureSource",q)}};a.prototype.Ro=function(){this.ps();var a,b=this.get("image");if(j.tb("AnimatedImageResource",b)){this.yb=new t(this.get("textureSource").Bd(),b.get("rowCount",1),b.get("colCount",1),b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.yb.u;this.yb.bind(g.lm,this.iy,this,p);this.yb.bind(g.W,this.hy,this,p);this.uh=new m(b,this.yb);this.set("visibleOnStop",
b.get("visibleOnStop"));this.set("state",this.yb.ei())}else{a=this.get("textureSource").Bd();this.kd=new o(a);this.get("textureSource").wg(a);this.set("visibleOnStop",p);this.set("state",q)}this.En();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").wg(a);this.trigger(g.Rb);this.trigger(g.O)};a.prototype.jy=function(){this.ps();this.trigger(g.Rb);this.trigger(g.O)};a.prototype.iy=function(){this.set("state",this.yb.ei())};a.prototype.hy=function(){this.get("textureSource").update();
this.Kb()};a.prototype.XJ=function(){var a=this.get("textureSource");a.bind(g.O,this.Ro,this,p);a.bind(g.jd,this.jy,this,p)};a.prototype.ps=function(){var a=this.get("textureSource");a.unbind(g.O,this.Ro,this,p);a.unbind(g.jd,this.jy,this,p)};a.prototype.nj=function(a){if(a.Fd==g.ph){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.ah()?this.Wx(a):[];if(b.length>0){a.Qs(b);this.Zi(b)&&a.Rs(b);a.ai(this.get("distance"));var c=this.oa(b,a.aq());c&&a.BR(c,this.Np(a.aq()))}this.XF(b,a.lw(),a.aq())}else if(a.Fd==
g.ri){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.ah()?this.Wx(a):[];if(b.length>0){var f=z;b.forEach(function(a){a.trigger(g.U);!f&&a.cB(g.U).length>1&&(f=p)});a.ai(this.get("distance"));f&&a.iq(b)}}};a.prototype.Fr=function(a){return this.kd&&this.kd.Ge==a.source?this.kd.info(a.x,a.y):o.info(a.source,a.x,a.y)};a.prototype.Wx=function(a){var b=this.Rj(a.vn);return b.length==0?[]:this.fy.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Fr(a).Ik}.bind(this)):
c=="transparent"?b.every(function(a){return!this.Fr(a).Ik}.bind(this)):c&&c[0]=="#"?b.some(function(a){return r.E4(this.Fr(a).color,c)<10}.bind(this)):z}.bind(this))};a.prototype.XF=function(a,b,c){this.Vd.forEach(function(f){if(a.indexOf(f)<0){var d=u.get(f)-1;u.set(f,d);if(d==0){f.trigger(g.oc,{RA:c});b&&f.trigger(g.mf)}}});var f=this.Vd;this.Vd=a;this.Vd.forEach(function(a){if(f.indexOf(a)<0){var d=(u.get(a)||0)+1;u.set(a,d);if(d==1){a.trigger(g.Qc,{RA:c});b&&a.trigger(g.Bj)}}})};a.prototype.oa=
function(a,b){for(var c="",f=a.length-1;f>=0&&c=="";f--){var d=a[f];if(!b||d.get("displayTooltipInTouchScreens")&&this.rb.F.get("displayTooltipInTouchScreens")!==z)c=d.get("toolTip","")}return c};a.prototype.Np=function(a){if(a){var a=this.get("yaw")-this.Zu,b=this.get("pitch")-this.Yu;return Math.sqrt(a*a+b*b)}return 0};a.prototype.Zi=function(a){for(var b=this.cd.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("hC","require,hb,gH,jd,fD,gv,r,iS,bh,hc".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("fD"),g=a("gv");a("r");var j=a("iS"),k=a("bh"),h=a("hc"),a=b.extend(d,function(a){d.call(this);this.n=a;this.Hh.push(this.n);this.ZE=this.ZE.bind(this);this.YE=this.YE.bind(this);this.$E=this.$E.bind(this);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",z);this.set("centerOver",z);this.set("enabled",p);this.set("visible",z);this.set("alpha",
0);this.set("inVR",z);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",z);this.set("rollOverDisplay",z);this.set("loadingActive",z);this.gK=this.hK=this.Qi=this.jc=this.Hd=q;this.Vd=[];this.fK=[];this.Zg=q});a.prototype.Wb=function(){this.Hd=(new g(e.O)).mi(this.Qy.bind(this));this.jc=(new g(e.bc)).Fk(this.Ry.bind(this));this.Qi=(new g(e.Rb)).mi(this.fea.bind(this));this.hK=(new g(e.Qc)).Fk(this.$da.bind(this));
this.gK=(new g(e.oc)).Fk(this.Zda.bind(this));d.prototype.Wb.call(this);c.Le(this.n,["items","rollOverItems","maps","rollOverMaps"],this.ZE,p);c.Le(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.$E,p);c.Le(this.n,["areas"],this.YE,p)};a.prototype.Yb=function(){this.wv([],this.Vd);this.CQ([],this.fK);this.Hd.dispose();this.jc.dispose();this.Qi.dispose();this.hK.dispose();this.gK.dispose();c.kf(this.n,
["items","rollOverItems","maps","rollOverMaps"],this.ZE);c.kf(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.$E);c.kf(this.n,["areas"],this.YE);d.prototype.Yb.call(this)};a.prototype.ZE=function(){this.set("items",this.rb.On(this.n.get("items",[])));this.set("rollOverItems",this.rb.On(this.n.get("rollOverItems",[])));this.set("maps",this.rb.On(this.n.get("maps",[])));this.set("rollOverMaps",this.rb.On(this.n.get("rollOverMaps",
[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.C6(this.n)}.bind(this));this.lj(a);this.Hd.gd(a);this.jc.gd(a);this.Qi.gd(a)};a.prototype.$E=function(){this.set("fadeInDuration",this.n.get("fadeInDuration"));this.set("fadeOutDuration",this.n.get("fadeOutDuration"));this.set("enabled",this.n.get("enabled",p));this.set("enabledInVR",this.n.get("enabledInVR"));this.set("enabledInStandard",this.n.get("enabledInStandard",
p));this.set("centerOverDisplay",this.n.get("centerOverDisplay"));this.set("rollOverDisplay",this.n.get("rollOverDisplay",z));this.set("interactionEnabled",this.n.get("interactionEnabled",p))};a.prototype.YE=function(){var a=this.n.get("areas");this.hK.gd(a);this.gK.gd(a)};a.prototype.M=function(a){this.En(a);d.prototype.M.call(this,a);this.Is(a)};a.prototype.Is=function(a){this.set("inVR",a.Gb);this.set("hotspotsEnabled",a.gw);if(this.D("items","rollOverItems","maps","rollOverMaps","over","centerOver",
"inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")){var b=a=z,c=this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard")),d=this.get("interactionEnabled");if(c){a=this.get("centerOver")&&!this.get("inVR");b=this.get("over")||a;a=!this.get("rollOverDisplay")&&!this.get("centerOverDisplay")||this.get("over")&&this.get("rollOverDisplay")||
a&&this.get("centerOverDisplay")!==z&&this.get("rollOverDisplay")}this.get("rollOverItems").forEach(function(a){a.set("visible",b);a.set("beamEnabled",c&&b&&d)});var e=this.get("rollOverItems").length==0;this.get("items").forEach(function(a){a.set("visible",e||!b);a.set("beamEnabled",c&&(e||!b)&&d)});this.get("rollOverMaps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",c&&b&&d)});var g=this.get("rollOverMaps").length==0;this.get("maps").forEach(function(a){a.set("visible",z);a.set("beamEnabled",
c&&(g||!b)&&d)});this.set("visible",a)}if(this.D("visible")){var a=this.get("alpha"),h=this.get("visible")?1:0,u=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(a-h);this.Zg=new j("linear",[new k("alpha",a,h)],Math.max(u,1));this.Kb()}};a.prototype.En=function(a){if(this.Zg){if(this.Zg.Cd())this.Zg=q;else{this.Zg.Ua(a.Pd);this.set("alpha",this.Zg.ab("alpha"))}this.Kb()}};a.prototype.Qy=function(){this.Ak();this.trigger(e.O)};a.prototype.fea=function(){this.Ak();
this.trigger(e.Rb)};a.prototype.Ry=function(){this.Ak()};a.prototype.Ak=function(){var a=0;this.jc.Jn(function(b){var c=0,d;this.Hd.gi(b)?c=100:(d=this.jc.gi(b))&&(c=d.ih);a=a+c}.bind(this));this.trigger(new h(e.bc,a/this.jc.Ac.length))};a.prototype.$da=function(a){a.data.RA?this.CQ([a.source],[]):this.wv([a.source],[])};a.prototype.Zda=function(a){a.data.RA?this.CQ([],[a.source]):this.wv([],[a.source])};a.prototype.wv=function(a,b){this.o3(this.Vd,a,b);this.set("over",this.Vd.length>0)};a.prototype.CQ=
function(a,b){this.o3(this.fK,a,b);this.set("centerOver",this.fK.length>0)};a.prototype.o3=function(a,b,c){b||(b=[]);c||(c=[]);c.forEach(function(b){b=a.indexOf(b);b>=0&&a.splice(b,1)});b.forEach(function(b){a.indexOf(b)<0&&a.push(b)})};return a});
define("gb","require,hb,gH,jd,es,di,cP,fT,dQ,iy,dj,iC,cT,in,Q,eW".split(","),function(a){function b(a){a=a.get("mapColor");return a=="image"||a=="transparent"||a=="any"}function c(a){a=a.get("mapColor");return a!="image"&&a!="transparent"&&a!="any"}var e=a("hb"),d=a("gH"),g=a("jd"),j=a("es"),k=a("di"),h=a("cP"),m=a("fT"),f=a("dQ"),l=a("iy"),r=a("dj"),o=a("iC"),s=a("cT"),t=a("in"),u=a("Q"),v=new (a("eW")),x=0,a=e.extend(m,function(a){m.call(this);this.set("tag","HotspotImage");this.set("visible",z);
this.set("playbackPositions",q);this.set("image",q);this.set("beamEnabled",z);this.set("state",q);this.set("visibleOnStop",p);this.set("id","hs_image_"+x++);this.n=a;this.Hh.push(this.n);this.bf=this.bf.bind(this);this.Ih=this.Ih.bind(this);this.xb=new l;this.fy=this.cd=this.uh=this.yb=q;this.Vd=[];this.kd=q});a.prototype.C6=function(a){if(this.cd!=a){this.cd&&d.kf(this.cd,["areas"],this.Ih,p);(this.cd=a)&&d.Le(this.cd,["areas"],this.Ih,p)}};a.prototype.Wb=function(){m.prototype.Wb.call(this);d.Le(this.n,
["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.bf,p);this.cd&&d.Le(this.cd,["areas"],this.Ih,p)};a.prototype.Yb=function(){this.XF([]);this.zx();this.cd&&d.kf(this.cd,["areas"],this.Ih,p);d.kf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.bf);m.prototype.Yb.call(this)};a.prototype.bf=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));this.set("verticalAlign",this.n.get("verticalAlign"));
this.set("scaleMode",this.n.get("scaleMode"));this.set("distance",this.n.get("distance"));this.set("scale",this.n.get("scale"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("image",this.n.get("image"))};a.prototype.Ih=function(){var a=this.cd.get("areas",[]);this.fy=k.tb("HotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.M=function(a){this.Zu=a.Ia;this.Yu=a.pitch;this.Es();this.pA();this.qA();m.prototype.M.call(this,a)};a.prototype.qA=function(){if(this.D("meshGroup",
"panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){h.setAttribute(a,h.ut,this.get("panoramaId"));h.setAttribute(a,h.VT,this.get("id"))}.bind(this))}};a.prototype.Es=function(){if(this.D("playbackPositions","currentTime")){this.xb.VH(this.get("playbackPositions"));this.xb.UH(this.get("currentTime"));this.set("yaw",this.xb.get("yaw"));this.set("pitch",this.xb.get("pitch"));this.set("roll",this.xb.get("roll"));this.set("rotationX",this.xb.get("rotationX"));this.set("rotationY",
this.xb.get("rotationY"));this.set("hfov",this.xb.get("hfov"));this.set("vfov",this.xb.get("vfov"));this.set("alpha",this.xb.di())}};a.prototype.pA=function(){if(this.D("image")){this.zx();var a=t.Zka(this.n,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new r(a.get("url")));this.XJ()}};a.prototype.En=function(){this.D("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=
j.L));this.D("composedAlpha","meshGroup","inView")&&h.ad(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.D("inView")&&this.n.trigger(this.get("inView")?g.Df:g.yg);this.uh&&this.uh.Qe(this.get("inView"))};a.prototype.zx=function(){if(this.uh){this.uh.clear();this.uh=q}if(this.yb){this.yb.unbind(g.W,this.hy,this,p);this.yb.unbind(g.lm,this.iy,this,p);this.yb.clear();this.yb=q}if(this.kd){this.kd.dispose();this.kd=q}if(this.get("textureSource")){this.ps();this.set("textureSource",
q)}};a.prototype.Ro=function(){this.ps();var a,b=this.get("image");if(k.tb("AnimatedImageResource",b)){this.yb=new u(this.get("textureSource").Bd(),b.get("rowCount",1),b.get("colCount",1),b.get("frameDuration"),b.get("frameCount",b.get("rowCount",1)*b.get("colCount",1)),b.get("repeat"),b.get("finalFrame")=="first");a=this.yb.u;this.yb.bind(g.lm,this.iy,this,p);this.yb.bind(g.W,this.hy,this,p);this.uh=new f(b,this.yb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.yb.ei())}else{a=
this.get("textureSource").Bd();this.kd=new s(a);this.set("visibleOnStop",p);this.set("state",q)}this.En();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").wg(a);this.trigger(g.Rb);this.trigger(g.O)};a.prototype.jy=function(){this.ps();this.trigger(g.Rb);this.trigger(g.O)};a.prototype.iy=function(){this.set("state",this.yb.ei())};a.prototype.hy=function(){this.get("textureSource").update();this.Kb()};a.prototype.XJ=function(){var a=this.get("textureSource");
a.bind(g.O,this.Ro,this,p);a.bind(g.jd,this.jy,this,p)};a.prototype.ps=function(){var a=this.get("textureSource");a.unbind(g.O,this.Ro,this,p);a.unbind(g.jd,this.jy,this,p)};a.prototype.nj=function(a){if(a.Fd==g.ph){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.ah()?this.Wx(a):[];if(b.length>0){a.Qs(b);this.Zi(b)&&a.Rs(b);a.ai(this.get("distance"));var c=this.oa(b,a.aq());c&&a.BR(c,this.Np(a.aq()))}this.XF(b,a.lw(),a.aq())}else if(a.Fd==g.ri){b=this.get("beamEnabled")&&this.get("alpha")>
0&&!a.ah()?this.Wx(a):[];if(b.length>0){var f=z;b.forEach(function(a){a.trigger(g.U);!f&&a.cB(g.U).length>1&&(f=p)});a.ai(this.get("distance"));f&&a.iq(b)}}};a.prototype.Fr=function(a){return this.kd&&this.kd.Ge==a.source?this.kd.info(a.x,a.y):s.info(a.source,a.x,a.y)};a.prototype.Wx=function(a){var b=this.Rj(a.vn);return b.length==0?[]:this.fy.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Fr(a).Ik}.bind(this)):c=="transparent"?b.every(function(a){return!this.Fr(a).Ik}.bind(this)):
c&&c[0]=="#"?b.some(function(a){return o.E4(this.Fr(a).color,c)<10}.bind(this)):z}.bind(this))};a.prototype.XF=function(a,b,c){this.Vd.forEach(function(f){if(a.indexOf(f)<0){var d=v.get(f)-1;v.set(f,d);if(d==0){f.trigger(g.oc,{RA:c});b&&f.trigger(g.mf)}}});var f=this.Vd;this.Vd=a;this.Vd.forEach(function(a){if(f.indexOf(a)<0){var d=(v.get(a)||0)+1;v.set(a,d);if(d==1){a.trigger(g.Qc,{RA:c});b&&a.trigger(g.Bj)}}})};a.prototype.oa=function(a,b){for(var c="",f=a.length-1;f>=0&&c=="";f--){var d=a[f];if(!b||
d.get("displayTooltipInTouchScreens")&&this.rb.F.get("displayTooltipInTouchScreens")!==z)c=d.get("toolTip","")}return c};a.prototype.Np=function(a){if(a){var a=this.get("yaw")-this.Zu,b=this.get("pitch")-this.Yu;return Math.sqrt(a*a+b*b)}return 0};a.prototype.Zi=function(a){for(var b=this.cd.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
define("eE",["require","el","a"],function(a){function b(a,b,e){this.Ed=a||new c(0,0,0);this.sg=b||new c(1,0,0);this.ft=e||new c(0,1,0)}var c=a("el"),e=a("a");b.prototype.clone=function(){return new b(this.Ed.clone(),this.sg.clone(),this.ft.clone())};b.prototype.apply=function(a){a.Hv(this.Ed);a.Hv(this.sg);a.Hv(this.ft)};b.prototype.intersection=function(a){var b=e.Xp(a.Ed,a.sg),j=e.Xp(this.Ed,a.Ed),k=e.Xp(this.Ed,this.sg);k.nka(e.Xp(this.Ed,this.ft));b=b.ZA(k);if(0!=b)return j=-k.ZA(j)/b,new c(a.Ed.x+
(a.sg.x-a.Ed.x)*j,a.Ed.y+(a.sg.y-a.Ed.y)*j,a.Ed.z+(a.sg.z-a.Ed.z)*j)};b.prototype.WS=function(a){var b=e.Xp(this.Ed,this.sg),j=e.Xp(this.Ed,this.ft),a=e.Xp(this.Ed,a);return new c(a.ZA(b)/b.hS(),a.ZA(j)/j.hS(),0)};return b});
define("dp",[],function(){function a(a){a%=e;0>a&&(a+=e);return j[a*d|0]}function b(a){a%=e;0>a&&(a+=e);return g[a*d|0]}function c(){this.identity()}c.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.ue=this.te=this.se=0};c.prototype.clone=function(){var a=new c;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.se=this.se;a.te=this.te;
a.ue=this.ue;return a};c.prototype.concat=function(a){var b=this.m11,c=this.m12,d=this.m13,e=this.m21,g=this.m22,k=this.m23,j=this.m31,u=this.m32,v=this.m33,x=this.se,y=this.te,A=this.ue;this.m11=b*a.m11+c*a.m21+d*a.m31;this.m12=b*a.m12+c*a.m22+d*a.m32;this.m13=b*a.m13+c*a.m23+d*a.m33;this.m21=e*a.m11+g*a.m21+k*a.m31;this.m22=e*a.m12+g*a.m22+k*a.m32;this.m23=e*a.m13+g*a.m23+k*a.m33;this.m31=j*a.m11+u*a.m21+v*a.m31;this.m32=j*a.m12+u*a.m22+v*a.m32;this.m33=j*a.m13+u*a.m23+v*a.m33;this.se=x*a.m11+y*
a.m21+A*a.m31+a.se;this.te=x*a.m12+y*a.m22+A*a.m32+a.te;this.ue=x*a.m13+y*a.m23+A*a.m33+a.ue};c.prototype.translate=function(a,b,c){this.se+=a;this.te+=b;this.ue+=c};c.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.se*=a;this.te*=b;this.ue*=c};c.prototype.Zn=function(c){var d=a(c),c=b(c),f=this.m12*d+this.m13*c,e=this.m22*c-this.m23*d,g=this.m22*d+this.m23*c,k=this.m32*c-this.m33*d,j=this.m32*d+this.m33*
c,t=this.te*c-this.ue*d,u=this.te*d+this.ue*c;this.m12=this.m12*c-this.m13*d;this.m13=f;this.m22=e;this.m23=g;this.m32=k;this.m33=j;this.te=t;this.ue=u};c.prototype.gq=function(c){var d=a(c),c=b(c),f=-this.m11*d+this.m13*c,e=this.m21*c+this.m23*d,g=-this.m21*d+this.m23*c,k=this.m31*c+this.m33*d,j=-this.m31*d+this.m33*c,t=this.se*c+this.ue*d,u=-this.se*d+this.ue*c;this.m11=this.m11*c+this.m13*d;this.m13=f;this.m21=e;this.m23=g;this.m31=k;this.m33=j;this.se=t;this.ue=u};c.prototype.hq=function(c){var d=
a(c),c=b(c),f=this.m11*d+this.m12*c,e=this.m21*c-this.m22*d,g=this.m21*d+this.m22*c,k=this.m31*c-this.m32*d,j=this.m31*d+this.m32*c,t=this.se*c-this.te*d,u=this.se*d+this.te*c;this.m11=this.m11*c-this.m12*d;this.m12=f;this.m21=e;this.m22=g;this.m31=k;this.m32=j;this.se=t;this.te=u};c.prototype.rotate=function(a,b,c){this.Zn(a);this.gq(b);this.hq(c)};c.prototype.C5=function(){var a=this.Oka();if(0==a)return z;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.se=-(b.se*this.m11+b.te*this.m21+b.ue*this.m31);this.te=-(b.se*this.m12+b.te*this.m22+b.ue*this.m32);this.ue=-(b.se*this.m13+b.te*this.m23+b.ue*this.m33);return p};c.prototype.Oka=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)};c.prototype.Hv=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.te,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.ue;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.se;a.y=b;a.z=c};for(var e=2*Math.PI,d=18E4/e,g=new Float32Array(18E4),j=new Float32Array(18E4),k=0;18E4>k;k++)g[k]=Math.cos(k/d),j[k]=Math.sin(k/d);return c});
define("ct","require,gP,fc,cf,el,eE,dp,hA".split(","),function(a){var b=a("gP"),c=a("fc"),e=a("cf"),d=a("el"),g=a("eE"),j=a("dp"),k=a("hA"),h=Math.PI/180,m=new j,f=new c,l=new g,r=new d;return{get:function(a,b,c,e,g,l,k,j){a=a*h;b=b*h;b=new d(Math.sin(-a)*Math.cos(b),Math.sin(b),Math.cos(-a)*Math.cos(b));m.identity();m.gq(c*h);m.hq(g*h);m.Zn(e*h);b.apply(m);if(b.z>0){f.SB(k);f.A6(j);f.IB(l*h);f.project(b);return b}return q},kra:function(a,c,f,d,e,g,j,A,w,C,J,B,F,K){K||(K=k.jm);F||(F=b.gj(B,C,J));
B||(B=b.fm(F,C,J));var I=C*0.5/Math.tan(B*0.5*h),L=I*Math.tan(B*0.5*h)*2,M=I*Math.tan(F*0.5*h)*2;l.Ed.set(+L*0.5,+M*0.5,0);l.sg.set(-L*0.5,+M*0.5,0);l.ft.set(+L*0.5,-M*0.5,0);m.identity();m.hq(-w*h);m.Zn(-j*h);m.gq(A*h);m.translate(0,0,I);m.hq(-g*h);m.Zn(-e*h);m.gq(-d*h);m.gq(f.lc()*h);m.hq(f.ce()*h);m.Zn(f.$b()*h);l.apply(m);r.set(a,c,0);e=l.intersection(f.unproject(r));d={x:n,y:n,xScaled:n,yScaled:n};if(e&&e.z>0){e=l.WS(e);d.xScaled=d.x=e.x/L;d.yScaled=d.y=e.y/M}if(K!=k.jm){var G,R;switch(K){case k.fe:G=
Math.min(b.fm(F,C,J),B);R=Math.min(b.gj(B,C,J),F);break;case k.Ok:G=Math.max(b.fm(F,C,J),B);R=Math.max(b.gj(B,C,J),F);break;case k.Aj:G=B;R=b.gj(B,C,J);break;case k.ag:G=b.fm(F,C,J);R=F}if(G!=B||R!=F){L=I*Math.tan(G*0.5*h)*2;M=I*Math.tan(R*0.5*h)*2;l.Ed.set(+L*0.5,+M*0.5,0);l.sg.set(-L*0.5,+M*0.5,0);l.ft.set(+L*0.5,-M*0.5,0);l.apply(m);r.set(a,c,0);if((e=l.intersection(f.unproject(r)))&&e.z>0){e=l.WS(e);d.xScaled=e.x/L;d.yScaled=e.y/M}}}return d},iqa:function(a,b,c,f,g,k,j){j=g*0.5/Math.tan(j*0.5*
h);l.Ed.set(+g*0.5,+k*0.5,j);l.sg.set(-g*0.5,+k*0.5,j);l.ft.set(+g*0.5,-k*0.5,j);m.identity();m.hq(-f*h);m.Zn(-c*h);m.gq(-b*h);m.gq(a.lc()*h);m.hq(a.ce()*h);m.Zn(a.$b()*h);l.apply(m);a=new e(new d(0,0,0),new d(0,0,1));if((a=l.intersection(a))&&a.z>0){a=l.WS(a);return{x:a.x/g,y:a.y/k}}return q}}});
define("dw",["require","hb","eq","f","cP"],function(a){var b=a("hb"),c=a("eq"),e=a("f"),d=a("cP"),g=new THREE.Matrix4,j=Math.PI/180,a=b.extend(e,function(){e.call(this);this.set("tag","Frame");this.Qp=new THREE.Matrix4;this.qf=new THREE.Matrix4;this.Bz=new THREE.Matrix4;this.Ii=new THREE.Matrix4});a.prototype.M=function(a){e.prototype.M.call(this,a)};a.prototype.Bv=function(a){var b=z;this.D("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Qp.makeTranslation(0.5*-this.get("composedTranslationX")*
c.Bf,0.5*this.get("composedTranslationY")*c.Bf,0.5*this.get("composedTranslationZ")*c.Bf),b=p);this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.qf.makeRotationY(-a.Ia*j),this.qf.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*j)),this.qf.multiply(g.makeRotationY(this.get("composedDeltaYaw")*j)),this.qf.multiply(g.makeRotationY(a.Ia*j)),b=p);this.D("flipHorizontally")&&(this.Bz.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=p);if(b||this.D("meshGroup"))this.Ii.copy(this.Qp),
this.Ii.multiply(this.qf),this.Ii.multiply(this.Bz),d.Ll(this.get("meshGroup"),this.Ii)};return a});
define("jk",["require","hb","gX","iB","hW"],function(a){var b=a("hb"),c=a("gX"),e=a("iB"),d=a("hW"),a=b.extend(d,function(a,b,c,e,m){d.call(this,a.get("url"));this.$=b;this.aa=c;this.R=e;this.ba=m;this.wda=0!=this.$||0!=this.aa||this.R!=a.get("width")||this.ba!=a.get("height")});a.prototype.af=function(){this.wda?(this.naa(),this.Km(),this.Gu(!!this.Ge)):d.prototype.af.call(this)};a.prototype.Wz=function(){d.prototype.Wz.call(this);this.KL()};a.prototype.Rp=function(){d.prototype.Rp.call(this);this.KL()};
d.prototype.dispose=function(){d.prototype.dispose.call(this);this.KL()};a.prototype.naa=function(){var a=c.Bd(this.Ab);this.Ge=e.kka(a,this.$,this.aa,this.R,this.ba)};a.prototype.KL=function(){this.Ge&&(e.cH(this.Ge),this.Ge=q)};return a});
define("dU","require,di,cs,hQ,eF,dj,hW,jk,eq,bD,cP,bt,in,gA,r".split(","),function(a){var b=a("di"),c=a("cs"),e=a("hQ"),d=a("eF"),g=a("dj"),j=a("hW"),k=a("jk"),h=a("eq"),m=a("bD"),f=a("cP"),l=a("bt"),r=a("in"),o=a("gA"),s=a("r"),t={hka:function(a,b){var c=l.get(a);switch(c){case l.Nq:case l.jo:case l.oh:return this.$$(c,a,b);case l.Sk:case l.Oq:case l.Bt:return this.baa(c,a,b)}},mka:function(a,b){var d=a.get("hfov"),e=a.get("vfov"),g=a.get("pitch"),l=a.get("width"),k=b.get("posterURL"),r=new j(k),
k=m.$G(r.texture());o.em(k,r);k.visible=z;e=h.JR(d,e,g,1,1);e=f.create(e,[k]);o.QB(e,l/d);e.layers.set(c.Lk);return e},lka:function(a,b){var d=a.get("hfov"),e=a.get("vfov"),l=a.get("pitch"),k=a.get("width"),j=b.get("url"),r=new g,j=m.Bk(r.texture(),new m.tj(j));o.em(j,r);j.visible=p;e=h.JR(d,e,l,1,1);e=f.create(e,[j]);o.QB(e,k/d);e.layers.set(c.Lk);return e},jka:function(a){var b=[e.Pa,e.qa,e.cb,e.bb,e.FRONT,e.BACK].map(function(){var b=new g;b.wg(t.oca(a));var c=m.Bk(b.texture());o.em(c,b);c.visible=
p;return c}),d=h.n4(1,1),b=f.create(d,b);o.QB(b,256/90);b.layers.set(c.Lk);return b},XP:{},oca:function(a){if(!t.XP[a]){var b=document.createElement("canvas");b.width=b.height=256;var c=b.getContext("2d");c.fillStyle=a;c.fillRect(0,0,b.width,b.height);t.XP[a]=b}return t.XP[a]},$$:function(a,g,k){var j=a==l.Nq?[c.Pa,c.qa]:[c.Lk],m=g.get("flipImageHorizontally");m&&(j=j.reverse());var s=a==l.oh?1:6*j.length,t=k.get("width")/s,J=k.get("height"),B,F;if(b.tb("TiledImageResourceLevel",k)){B=k.get("colCount",
s)/s;F=k.get("rowCount",1)}else if(this.F1(a,k)){B=Math.ceil(t/d.nm());F=Math.ceil(J/d.nm())}else F=B=1;var K=[e.Pa,e.qa,e.cb,e.bb,e.FRONT,e.BACK];return j.map(function(c,d){var e=Array(6);K.forEach(function(f,j){var o=r.$R(g,k,f);if(b.tb("TiledImageResourceLevel",k))e[h.oV.indexOf(f)]=this.Z$(o,a,c,f,m,B,F);else{var s=a==l.oh?0:Math.round((d*K.length+j)*t),y=B>1||F>1||a!=l.oh?t>256?1:0.5:0;e[h.oV.indexOf(f)]=this.IX(o,B,F,s,0,t,J,y)}}.bind(this));var j=Array.prototype.concat.apply([],e),s=h.n4(B,
F),j=f.create(s,j);j.layers.set(c);o.QB(j,t/90);return j}.bind(this))},baa:function(a,b,e){var g=a==l.Sk?[c.Lk]:[c.qa,c.Pa];b.get("flipImageHorizontally")&&(g=g.reverse());var k=e.get("width"),j=e.get("height"),m=b.get("hfov"),r=b.get("vfov"),s=b.get("pitch"),t=Math.round(k/m/(j/r)),K=Math.round(k/t),I=Math.round(j/Math.round(j/r/(k/m))),L=(a=this.F1(a,e))?Math.ceil(K/d.nm()):1,M=a?Math.ceil(I/d.nm()):1;return g.map(function(a,b){var c=this.IX(e,L,M,b%t*K,Math.floor(b/t)*I,K,I),d=h.JR(m,r,s,L,M),
c=f.create(d,c);c.layers.set(a);o.QB(c,K/m);return c}.bind(this))},F1:function(a,b){switch(a){case l.Nq:case l.jo:case l.Oq:case l.Bt:return p;case l.oh:return z;case l.Sk:return s.wla().nma<Math.max(b.get("width"),b.get("height"))?p:d.hj()||s.Wa()?z:s.od()==s.sq?p:z}},IX:function(a,b,c,f,d,e,h,l){l||(l=0);for(var j=[],r=0;r<c;r++)for(var s=d+l+(h-2*l)*r/c,t=d+l+(h-2*l)*(r+1)/c,L=0;L<b;L++){var M=f+l+(e-2*l)*L/b,G=f+l+(e-2*l)*(L+1)/b,M=a?new k(a,M,s,G-M,t-s):new g,G=m.$G(M.texture());o.em(G,M);j.push(G)}return j},
Z$:function(a,b,c,f,d,e,h){for(var l=[],k=0;k<h;k++)for(var s=0;s<e;s++){var t;t=a?new j(r.a5(a,b,c,f,d,h,k,s)):new g;var I=m.$G(t.texture());o.em(I,t);I.visible=z;l.push(I)}return l}};return t});
define("cg","require,hb,jd,dw,gv,dU,gA".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("dw"),d=a("gv"),g=a("dU"),j=a("gA"),a=b.extend(e,function(a){e.call(this);this.nf=a;this.set("tag","SolidFrame");this.Zd=q});a.prototype.Wb=function(){this.Zd=(new d(c.O)).mi(this.af.bind(this));e.prototype.Wb.call(this)};a.prototype.Yb=function(){this.Zd.dispose();e.prototype.Yb.call(this)};a.prototype.Yk=function(){var a=[g.jka(this.nf)];j.kq(a,j.km);j.jq(a,j.Qk);this.Zd.gd(a);return a};a.prototype.af=function(){this.trigger(c.Rb);
this.trigger(c.O)};return a});
define("gh","require,hb,eU,eq,bD,cP,H,f,dj,gA".split(","),function(a){var b=a("hb"),c=a("eU"),e=a("eq"),d=a("bD"),g=a("cP");a("H");var j=a("f"),k=a("dj"),h=a("gA");new THREE.Matrix4;var m=Math.PI/180,a=b.extend(j,function(){j.call(this);this.set("tag","Sprite");this.set("distance",n);this.set("textureSource",q);this.set("width",100);this.set("height",100);this.set("offsetX",n);this.set("offsetY",n);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.set("materialConfig",this.Yj=new d.tj);
this.lba=e.XA();this.Lm=new THREE.Matrix4;this.St=new THREE.Matrix4;this.ev=new THREE.Matrix4;this.Eu=new THREE.Matrix4;this.tk=new THREE.Matrix4;this.Bz=new THREE.Matrix4;this.Ii=new THREE.Matrix4});a.prototype.M=function(a){j.prototype.M.call(this,a);this.vA()};a.prototype.vA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Yj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");a&&g.Af(a,function(a){g.vT(a,this.JX())}.bind(this))}};a.prototype.Yk=function(){var a=
g.create(this.lba,this.JX());h.jq(a,h.Qk);h.kq(a,h.km);h.NB(a,c.oJ);h.WH(a,1);return[a]};a.prototype.JX=function(){var a=this.get("textureSource")||new k;this.Yj=this.get("materialConfig");var b=d.Bk(a.texture(),this.Yj);h.em(b,a);return[b]};a.prototype.Rj=function(a){return g.eS(this.get("meshGroup"),a)};a.prototype.Bv=function(a){var b=z;this.set("rendererYaw",a.Ia);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.$c);this.set("rendererCameraFOV",a.Me);this.set("rendererWidth",a.width);
this.set("rendererHeight",a.height);this.set("inVR",a.Gb);this.D("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?e.rH(this.get("distance")):e.Xv());if(this.D("z")){this.Lm.makeTranslation(0,0,-this.get("z"));centerMatrixChanged=p}a.Me&&this.D("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Me*m*0.5)*this.get("z")*
2);if(a.$g&&this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.St.copy(a.$g.matrixWorld);var b=this.get("rendererHeightZ"),c=b*a.$g.aspect,c=(this.get("centerX")-a.width*0.5)*c/a.width*0.5,b=(a.height*0.5-this.get("centerY"))*b/a.height*0.5;this.ev.makeTranslation(c,b,0);b=p}if(this.D("roll")){this.tk.makeRotationZ(this.get("roll")*m);b=p}if(a.Me&&(centerMatrixChanged||this.D("rendererHeight",
"inVR","rendererHeightZ","width","height","flipHorizontally"))){b=a.Gb?512/a.height:1;a=(this.get("flipHorizontally")?-1:1)*this.get("width")*b;b=this.get("height")*b;this.Bz.makeScale(a,b,1);b=p}if(this.D("width","height","offsetX","offsetY")){a=0.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.Eu.makeTranslation(a,b,0);b=p}if(b){this.Ii.copy(this.St);this.Ii.multiply(this.Lm);this.Ii.multiply(this.ev);this.Ii.multiply(this.tk);this.Ii.multiply(this.Bz);
this.Ii.multiply(this.Eu);g.Ll(this.get("meshGroup"),this.Ii)}};return a});
define("em",["require","iC"],function(a){function b(a,c,g,j,k,h){this.Ui=c;this.u=document.createElement("canvas");this.u.width=this.Ui;this.u.height=this.Ui;switch(a){case b.Jw:this.Faa(g,j,k,h);break;case b.oC:this.Gaa(g,j,k,h)}}var c=a("iC");b.prototype.Fc=P("Ui");b.prototype.rd=P("Ui");b.prototype.Faa=function(a,b,g,j){for(var k=0.5*this.Ui,h=0.5*this.Ui,m=0.5*this.Ui,f=this.u.getContext("2d"),b=c.NS(b),l=f.createRadialGradient(k,h,0,k,h,m),r=0;r<g.length;r++)l.addColorStop(j[r],"rgba("+b[0]+
","+b[1]+","+b[2]+","+g[r]+")");f.fillStyle=l;f.globalAlpha=a;f.beginPath();f.arc(k,h,m,0,2*Math.PI,p);f.closePath();f.fill()};b.prototype.Gaa=function(a,b,g,j){var k=0.5*this.Ui,h=0.5*this.Ui,m=0.5*this.Ui,f=this.u.getContext("2d");f.clearRect(0,0,this.Ui,this.Ui);for(var l=c.NS(b),r=f.createRadialGradient(k,h,0,k,h,m),b=0;b<g.length;b++)r.addColorStop(j[b],"rgba("+l[0]+","+l[1]+","+l[2]+","+g[b]+")");f.fillStyle=r;f.globalAlpha=a;f.beginPath();for(b=0;6>b;b++)g=45*Math.PI/180+2*Math.PI*b/6,a=k+
Math.cos(g)*m,g=h+Math.sin(g)*m,0==b?f.moveTo(a,g):f.lineTo(a,g);f.closePath();f.fill()};b.Jw="circle";b.oC="hexagon";return b});
define("io","require,hb,gH,jd,ct,fD,cg,gh,em,dj".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("ct"),g=a("fD"),j=a("cg"),k=a("gh"),h=a("em"),m=a("dj"),a=b.extend(g,function(a){g.call(this);this.n=a;this.Hh.push(this.n);this.bf=this.bf.bind(this);this.set("tag","LensFlare");this.iK=this.Q$();this.Nc=this.paa();this.lj(this.iK.concat([this.Nc]))});a.prototype.Wb=function(){g.prototype.Wb.call(this);this.trigger(e.Rb);this.trigger(e.O);c.Le(this.n,["yaw","pitch","bleaching","bleachingDistance"],
this.bf,p)};a.prototype.Yb=function(){c.kf(this.n,["yaw","pitch","bleaching","bleachingDistance"],this.bf,p);g.prototype.Yb.call(this)};a.prototype.bf=function(){this.set("yaw",this.n.get("yaw"));this.set("pitch",this.n.get("pitch"));this.set("bleaching",this.n.get("bleaching"));this.set("bleachingDistance",this.n.get("bleachingDistance"))};a.prototype.M=function(a){g.prototype.M.call(this,a);this.set("rendererYaw",a.Ia);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.$c);this.set("rendererCameraFOV",
a.Me);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Gb);if(this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR","yaw","pitch","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var b=a.Ia+this.get("composedDeltaYaw"),c=a.pitch+this.get("composedDeltaPitch"),e=a.$c+this.get("composedDeltaRoll"),h=0,k=0,j,m,y,A;if(!a.Gb)if(b=d.get(this.get("yaw"),this.get("pitch"),b,c,e,a.Me,a.width,a.height)){m=
a.width*0.5;A=a.height*0.5;j=b.x;y=b.y;m=(m-j)*2;A=(A-y)*2;k=Math.sqrt(m*m+A*A);h=Math.sqrt(a.width*a.width,a.height*a.height);a=Math.min(a.width,a.height);h=Math.max(0,Math.min(0.7,1-k/h));b=this.get("bleaching");a=1-Math.max(0,Math.min(1,k/(a*this.get("bleachingDistance"))));k=b*a}for(a=0;a<this.iK.length;a++){b=this.iK[a];b.set("alpha",h);if(h>0){b.set("centerX",j+m*f[a].position);b.set("centerY",y+A*f[a].position)}}this.Nc.set("alpha",k)}};a.prototype.Q$=function(){return f.map(function(a){var b=
(new h(a.form,a.qt,a.opacity,a.color,a.at,a.bt)).u,c=new m;c.wg(b);b=new k;b.set("textureSource",c);b.set("width",a.size);b.set("height",a.size);b.set("offsetX",a.size*0.5);b.set("offsetY",a.size*0.5);return b})};a.prototype.paa=function(){return new j("#ffffff")};var f=[{form:h.oC,position:0.1,size:52,qt:128,opacity:0.8,color:"#FCFCFC",at:[1,0.5],bt:[0,0.866]},{form:h.oC,position:0.2,size:52,qt:128,opacity:0.6,color:"#C8FCC8",at:[1,0.5],bt:[0,0.866]},{form:h.Jw,position:0.36,size:112,qt:128,opacity:0.5,
color:"#C8C8FC",at:[1,0.9,0.6,0],bt:[0,0.2,0.4,1]},{form:h.Jw,position:0.47,size:32,qt:128,opacity:0.3,color:"#96C8AF",at:[1,1,0],bt:[0,0.9,1]},{form:h.Jw,position:0.65,size:52,qt:128,opacity:0.7,color:"#FCFCFC",at:[0.7,0.7,0.2,0],bt:[0,0.1,0.4,1]},{form:h.oC,position:0.88,size:128,qt:128,opacity:0.4,color:"#AF96C8",at:[1,0.5],bt:[0,0.866]},{form:h.Jw,position:1,size:33,qt:128,opacity:0.8,color:"#C89696",at:[0.8,0.8,0.6,0],bt:[0,0.2,0.4,1]}];return a});
define("bp",["require","cX"],function(a){function b(a,b,k){d.style.fontFamily=e.Vp(b.fontFamily);d.style.fontSize=b.fontSize;d.style.fontWeight=b.fontWeight;d.style.fontStyle=b.fontStyle;d.innerHTML=a;document.body.appendChild(d);var h=new c(Math.ceil(d.clientWidth),Math.ceil(d.clientHeight));document.body.removeChild(d);k&&(k.font=b.fontSize+" "+e.Vp(b.fontFamily),a=k.measureText(a).width,h.height*=a/h.width,h.width=a);return h}function c(a,b){this.width=a;this.height=b}var e=a("cX"),d=document.createElement("div");
d.style.display="inline-block";d.style.margin=0;d.style.padding=0;d.style.whiteSpace="nowrap";b.kV=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.Apa=c;return b});
define("ik",["require","bp","cX"],function(a){function b(a,b){this.Ca=a;this.I0=5;this.cc=b.map(function(b){return new c(a,b)});this.wu=this.xu=this.Dm=this.Em=0;this.MQ();this.u=document.createElement("canvas");this.u.width=this.Em;this.u.height=this.Dm;this.Fa=this.u.getContext("2d");this.Y=p;this.Kc=this.B0=-1}function c(a,b){this.dt=a;this.item=b;this.label=b.get("label");this.fontFamily=this.dt.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.dt.get("backgroundColor",
"#000000");this.p6=this.dt.get("rollOverBackgroundColor",this.backgroundColor);this.cna=this.dt.get("selectedBackgroundColor",this.p6);this.w4=this.dt.get("fontColor","#000000");this.q6=this.dt.get("rollOverFontColor",b.w4);this.dna=this.dt.get("selectedFontColor",b.q6);this.a7=this.Z6=this.b7=this.c7=this.height=this.width=this.left=this.top=0;this.status=z;this.tS=p}var e=a("bp"),d=a("cX");c.prototype.Moa=function(){var a=new e.kV;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;a=e(this.label,
a);this.c7=a.width;this.b7=a.height};c.prototype.ioa=function(a){this.status!=a&&(this.status=a,this.tS=p)};c.prototype.ska=function(a){if(this.tS){this.tS=z;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.w4;break;case "over":b=this.p6;c=this.q6;break;case "selected":b=this.cna,c=this.dna}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.font=
this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+d.Vp(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.Z6),Math.round(this.a7));return p}return z};b.prototype.Fc=P("Em");b.prototype.rd=P("Dm");b.prototype.MQ=function(){var a=0,b=0;this.cc.forEach(function(c){c.Moa();a=Math.max(c.c7,a);b=Math.max(c.b7,b)});this.xu=a+2*this.I0;this.wu=b+2*this.I0;var c=0,d=0,e=0;this.cc.forEach(function(a){20<=e&&(e=0,d+=this.xu,c=0);a.left=d;a.top=c;a.Z6=d+0.5*this.xu;
a.a7=c+0.5*this.wu;a.width=this.xu;a.height=this.wu;e+=1;c+=this.wu}.bind(this));this.Em=Math.ceil(this.cc.length/20)*this.xu;this.Dm=Math.min(20,this.cc.length)*this.wu};b.prototype.update=function(){for(var a=z,b=0;b<this.cc.length;b++)this.cc[b].ioa(this.B0==b?"over":this.Kc==b?"selected":"normal"),a=this.cc[b].ska(this.Fa)||a;return a};b.prototype.I4=function(a,b){var c=-1;0<=a&&a<this.Em&&0<=b&&b<this.Dm&&(c=20*Math.floor(a/this.xu)+Math.floor(b/this.wu),c>=this.cc.length&&(c=-1));return c};
b.prototype.xT=N("B0");b.prototype.BT=N("Kc");b.prototype.clear=function(){this.cc=this.u=this.Fa=this.Ca=q};return b});
define("dK","require,hb,jd,fT,ik,dj,iS,bh".split(","),function(a){function b(a,b){var c=(b-a)*0.98;Math.abs(c)<1.0E-5&&(c=0);return b-c}var c=a("hb"),e=a("jd"),d=a("fT"),g=a("ik"),j=a("dj"),k=a("iS"),h=a("bh"),a=c.extend(d,function(a){d.call(this);this.Ca=a;this.u=q;this.Lp=this.Wi=this.$O=this.rn=n;this.bX=20;this.vd=q;this.zb=this.Ca.get("opacity",0.5);this.hz=this.Ca.get("rollOverOpacity",this.zb);this.Ida=1;this.Kda=0.66;this.set("tag","MenuButton");this.set("visible",z);this.set("over",z);this.set("centerDistance",
n)});a.prototype.M=function(a){this.xf(a);this.oA(a);this.tA(a);this.Is(a);d.prototype.M.call(this,a)};a.prototype.xf=function(){if(this.get("visible")){if(!this.u){this.get("textureSource")||this.set("textureSource",new j);this.u=new g(this.Ca,[this.Ca]);this.get("textureSource").wg(this.u.u);this.set("contentWidth",this.u.Fc());this.set("contentHeight",this.u.rd());this.set("hfov",2*Math.atan2(this.u.Fc()*0.5,300)*f);this.set("distance",this.Ca.get("distance"))}if(this.u.update()){this.get("textureSource").update();
this.Kb()}this.D("over")&&this.u.xT(this.get("over")?0:-1)}};a.prototype.oA=function(a){if(this.D("visible"))this.vd=new k("linear",[new h("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,n)],300);if(this.vd)this.vd.Cd()?this.vd=q:this.vd.Ua(a.Pd)};a.prototype.tA=function(a){if(this.get("visible")||this.vd){this.Wi=a.Ia;this.Lp=Math.min(90,Math.max(-90,this.bX+this.bX-a.pitch));if(this.D("visible")&&this.get("visible")){this.set("yaw",a.Ia);this.set("pitch",a.pitch)}else{for(;this.Wi+
180<this.rn;)this.rn=this.rn-360;for(;this.Wi-180>this.rn;)this.rn=this.rn+360;var c=(this.Wi-this.rn)/a.Pd,f=(this.Lp-this.$O)/a.Pd,d=Math.atan2(f,c),f=Math.sqrt(f*f+c*c),f=Math.min(f,10*m),c=Math.cos(d)*f,d=Math.sin(d)*f;this.set("yaw",b(this.get("yaw"),this.Wi+c));this.set("pitch",b(this.get("pitch"),this.Lp+d))}this.rn=this.Wi;this.$O=this.Lp;d=this.get("yaw")-a.Ia;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(d*d+a*a))}};a.prototype.Is=function(){if(!this.get("visible")&&!this.vd)this.set("alpha",
0);else if(this.D("over","centerDistance")||this.vd){var a=this.get("over")?this.hz:this.zb,b=this.Kda,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Ida-b);a=a+(1-c)*(this.hz-a)}if(this.vd){a=a*this.vd.ab("displayCoef");b=b*this.vd.ab("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.nj=function(a){if(a.Fd==e.ph){var b=z;this.get("visible")&&!a.ah()&&(b=this.Rj(a.vn).length>0);if(b){a.Qs(this.Ca);a.Rs(this.Ca);a.ai(this.get("distance"))}if(this.get("over")!=
b){this.get("over")&&this.Ca.trigger(e.oc);this.set("over",b);this.get("over")&&this.Ca.trigger(e.Qc)}}else if(a.Fd==e.ri&&this.get("visible")&&!a.ah()&&this.Rj(a.vn).length>0){a.iq(this.Ca);this.Ca.trigger(e.U);this.trigger(e.U)}};var m=Math.PI/180,f=180/Math.PI;return a});
define("fW","require,hb,jd,fT,ik,dj,iS,bh".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("fT"),d=a("ik"),g=a("dj"),j=a("iS"),k=a("bh"),a=b.extend(e,function(a,b){e.call(this);this.Ca=a;this.Iy=b;this.u=q;this.$O=this.rn=n;this.vd=q;this.zb=this.Ca.get("opacity",0.5);this.hz=this.Ca.get("rollOverOpacity",this.zb);this.set("textureSource",new g);this.u=new d(this.Ca,b);this.set("tag","MenuPanel");this.get("textureSource").wg(this.u.u);this.set("contentWidth",this.u.Fc());this.set("contentHeight",
this.u.rd());this.set("hfov",2*Math.atan2(this.u.Fc()*0.5,300)*h);this.set("distance",this.Ca.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.RX=z});a.prototype.Wb=function(){e.prototype.Wb.call(this)};a.prototype.Yb=function(){e.prototype.Yb.call(this)};a.prototype.M=function(a){this.xf(a);this.oA(a);this.tA(a);e.prototype.M.call(this,a)};a.prototype.xf=function(){this.D("selectedIndex")&&this.u.xT(this.get("selectedIndex"));this.D("overIndex")&&this.u.xT(this.get("overIndex"));
if(this.u.update()){this.get("textureSource").update();this.Kb()}};a.prototype.oA=function(a){if(!this.vd&&!this.RX)this.vd=new j("linear",[new k("alpha",0,1,n),new k("scale",0,1,n),new k("yaw",a.Ia,this.get("yaw"),n),new k("pitch",a.pitch,this.get("pitch"),n)],300);if(this.vd)if(this.vd.Cd()){this.RX=p;this.vd=q}else this.vd.Ua(a.Pd)};a.prototype.tA=function(){if(this.vd){var a=this.get("overIndex")<0?this.zb:this.hz;this.set("alpha",a*this.vd.ab("alpha"));this.set("scale",this.vd.ab("scale"));this.set("yaw",
this.vd.ab("yaw"));this.set("pitch",this.vd.ab("pitch"))}else if(this.D("overIndex")){a=this.get("overIndex")<0?this.zb:this.hz;this.set("alpha",a)}};a.prototype.nj=function(a){if(a.Fd==c.ph){var b=-1;if(!a.ah()){var d=this.Rj(a.vn).filter(function(a){return a.source==this.u.u}.bind(this));d.length>0&&(b=this.u.I4(d[0].x,d[0].y))}if(b>=0){a.Qs(this.Iy[b]);a.Rs(this.Iy[b]);a.ai(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.Qc):this.trigger(c.oc));if(this.get("overIndex")!=
b){this.get("overIndex")>=0&&this.Iy[this.get("overIndex")].trigger(c.oc);this.set("overIndex",b);this.get("overIndex")>=0&&this.Iy[this.get("overIndex")].trigger(c.Qc)}}else if(a.Fd==c.ri&&!a.ah()){d=this.Rj(a.vn).filter(function(a){return a.source==this.u.u}.bind(this));if(d.length>0){b=this.u.I4(d[0].x,d[0].y);if(b>=0){d=this.Iy[b];this.set("selectedIndex",b);a.iq(d);a.ai(this.get("distance"));d.trigger(c.U);this.trigger(c.U,{item:d})}}}};var h=180/Math.PI;return a});
define("dI",["require","hb","jd","fD","fW"],function(a){var b=a("hb"),c=a("jd"),e=a("fD"),d=a("fW"),a=b.extend(e,function(a){e.call(this);this.Ca=a;this.op=[];this.Mu=q;this.set("tag","MenuPanels");this.set("visible",z)});a.prototype.M=function(a){this.D("visible")&&this.get("visible")&&(this.set("yaw",a.Ia),this.set("pitch",a.pitch),this.nW(this.Ca));e.prototype.M.call(this,a)};a.prototype.nW=function(a){var a=new d(this.Ca,a.get("children",[])),b=this.get("yaw");this.Na().forEach(function(a){b+=
a.get("hfov")+j});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.Y8(a);this.appendChild(a)};a.prototype.w1=function(a){this.Na().slice(a).forEach(function(a){this.Vfa(a);a.remove()}.bind(this));this.op=this.op.filter(function(a){return 0<=this.Na().indexOf(a)}.bind(this))};a.prototype.Y8=function(a){a.bind(c.Qc,this.N0,this,p);a.bind(c.oc,this.M0,this,p);a.bind(c.U,this.L0,this,p)};a.prototype.Vfa=function(a){a.unbind(c.Qc,this.N0,this,p);a.unbind(c.oc,this.M0,this,p);a.unbind(c.U,this.L0,this,
p)};a.prototype.N0=function(a){0>this.op.indexOf(a.source)&&(this.op.push(a.source),1==this.op.length&&this.nX())};a.prototype.M0=function(a){a=this.op.indexOf(a.source);0<=a&&(this.op.splice(a,1),0==this.op.length&&this.Yga())};a.prototype.L0=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.w1(this.Na().indexOf(b)+1),this.nW(a)):this.sX()};a.prototype.sX=function(){this.set("visible",z);this.w1(0);this.nX();this.trigger(c.uq)};a.prototype.nX=function(){this.Mu&&(clearTimeout(this.Mu),
this.Mu=q)};a.prototype.Yga=function(){this.Mu||(this.Mu=setTimeout(function(){this.Mu=q;this.sX()}.bind(this),g))};var g=3E3,j=1;return a});
define("dP","require,hb,jd,fD,dK,dI".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("fD"),d=a("dK");MenuPanels=a("dI");a=b.extend(e,function(a){e.call(this);this.n=a;this.Hh.push(this.n);this.set("tag","Menu");this.set("visible",z);this.Ob=new d(this.n);this.Ob.bind(c.U,this.K9,this,z);this.De=new MenuPanels(this.n);this.De.bind(c.uq,this.dfa,this,z);this.lj([this.Ob,this.De])});a.prototype.Wb=function(){e.prototype.Wb.call(this);this.trigger(c.Rb);this.trigger(c.O)};a.prototype.M=function(a){this.set("visible",
a.Gb);if(this.D("visible")){this.Ob.set("visible",this.get("visible"));this.De.set("visible",z)}e.prototype.M.call(this,a)};a.prototype.K9=function(){this.Ob.set("visible",z);this.De.set("visible",p)};a.prototype.dfa=function(){this.Ob.set("visible",this.get("visible"))};return a});
define("J","require,hb,gH,jd,hc,fD,gv,in,fR".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("hc"),g=a("fD"),j=a("gv"),k=a("in"),h=a("fR"),m=0,a=b.extend(g,function(a){g.call(this);this.n=a;this.Hh.push(this.n);this.RE=this.RE.bind(this);this.Ce=this.Ce.bind(this);this.QE=this.QE.bind(this);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",z);this.set("blendingActive",p);this.set("currentTime",0);this.set("adjacentPanoramas",
[]);this.set("preloadEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("id","panorama_"+m++);this.yF=[];this.Qi=this.jc=this.Hd=q;this.lj([this.We=new f,this.jk=new l])});a.prototype.Wb=function(){this.Hd=(new j(e.O)).mi(this.ak.bind(this));this.jc=(new j(e.bc)).Fk(this.Yr.bind(this));this.Qi=(new j(e.Rb)).mi(this.jea.bind(this));g.prototype.Wb.call(this);c.Le(this.n,["currentTime"],this.RE,p);c.Le(this.n,["frames","overlays","vrMenu","adjacentPanoramas"],this.Ce,p);c.Le(this.n,["adjacentPanoramas"],
this.QE,p)};a.prototype.Yb=function(){this.Hd.dispose();this.jc.dispose();this.Qi.dispose();g.prototype.Yb.call(this);c.kf(this.n,["currentTime"],this.RE);c.kf(this.n,["frames","overlays","vrMenu","flipImageHorizontally"],this.Ce);c.kf(this.n,["adjacentPanoramas"],this.QE);this.iQ()};a.prototype.Ce=function(){var a=this.rb.On(this.n.get("frames"));a.forEach(function(a){a.set("panoramaId",this.get("id"));a.set("flipHorizontally",this.n.get("flipImageHorizontally"))}.bind(this));var b=this.rb.On(this.n.get("overlays"));
this.n.get("vrMenu")&&b.push(this.rb.On(this.n.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.Hd.gd(a.concat(b));this.jc.gd(a.concat(b));this.Qi.gd(a);this.We.lj(a);this.jk.lj(b);this.set("panoramaPixelsPerDegree",k.O4(this.n));this.u3()};a.prototype.RE=function(){this.set("currentTime",this.n.get("currentTime",0))};a.prototype.QE=function(){this.set("adjacentPanoramas",this.n.get("adjacentPanoramas",[]))};a.prototype.ak=function(){this.Ak();this.trigger(e.O)};
a.prototype.jea=function(){this.Ak();this.trigger(e.Rb)};a.prototype.Yr=function(){this.Ak()};a.prototype.Ak=function(){var a=0;this.jc.Jn(function(b){var c=0,d;this.Hd.gi(b)?c=100:(d=this.jc.gi(b))&&(c=d.ih);a=a+c}.bind(this));this.trigger(new d(e.bc,a/this.jc.Ac.length))};a.prototype.M=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",this.rb.wa.get("backgroundPreloadEnabled")!==z);this.set("preloadEnabled",a.zB);this.D("adjacentPanoramas","loadingActive",
"preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?this.Iha():this.iQ());this.D("index")&&this.u3();g.prototype.M.call(this,a)};a.prototype.Iha=function(){this.iQ();this.yF=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,k.mB(a,this.get("preloadEnabled"))]}.bind(this));this.yF.forEach(function(a){h.d4(a[0],a[1]);h.HH(a[0],1)})};a.prototype.iQ=function(){this.yF.forEach(function(a){h.HH(a[0],-1);h.Rma(a[0],a[1])});
this.yF=[]};a.prototype.u3=function(){var a=this.get("index");this.We.Na().forEach(function(b,c,d){b.set("panoramaIndex",a);b.set("frameIndex",c);b.set("frameCount",d.length)})};var f=b.extend(g,function(){g.call(this);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});f.prototype.M=function(a){this.Na().forEach(function(a,b,c){a.set("frontFrame",c[c.length-1])});g.prototype.M.call(this,a)};var l=b.extend(g,
function(){g.call(this);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});return a});
define("bi",["require","hb","dw","cP"],function(a){var b=a("hb"),c=a("dw"),e=a("cP"),d=0,a=b.extend(c,function(){c.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+d++)});a.prototype.M=function(a){c.prototype.M.call(this,a);this.qA()};a.prototype.ZQ=function(){if(this.D("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
d=this.get("frameCount"),m=a.children.length;a.children.forEach(function(a,g){e.ET(a,b+(g+c/d)/m)}.bind(this))}}};a.prototype.qA=function(){if(this.D("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){e.setAttribute(a,e.ut,this.get("panoramaId"));e.setAttribute(a,e.jI,b);e.setAttribute(a,e.vt,this.get("id"))}.bind(this))}};return a});
define("iI","require,hb,gH,jd,eU,fD,bi,gv,in,dU,gA,hc".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("eU"),g=a("fD"),j=a("bi"),k=a("gv"),h=a("in"),m=a("dU"),f=a("gA"),l=a("hc"),a=b.extend(j,function(a){j.call(this);this.set("tag","ImagePanoramaFrame");this.Y0=p;this.n=a;this.Hh.push(this.n);this.mg=this.Zd=this.Qi=q;this.IN=[];this.Ce=this.Ce.bind(this);this.Vk(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.lj([this.jk=new r])});a.prototype.Wb=function(){this.Qi=
new k(e.O);this.Zd=new k(e.O);this.mg=new k(e.bc);j.prototype.Wb.call(this);c.Le(this.n,["overlays"],this.Ce,p)};a.prototype.Yb=function(){this.Qi.dispose();this.Zd.dispose();this.mg.dispose();c.kf(this.n,["overlays"],this.Ce);j.prototype.Yb.call(this)};a.prototype.Ce=function(){this.jk.lj(this.rb.On(this.n.get("overlays")));this.n3()};a.prototype.n3=function(){this.Zd.gd([].concat(this.IN,this.jk.Na()));this.mg.gd([].concat(this.IN,this.jk.Na()))};a.prototype.Yk=function(){var a=[],b=[],c=[];h.gS(this.n,
this.Y0).forEach(function(e,g){var l=m.hka(this.n,e);if(h.bma(e)){if(g==0){a=a.concat(l);b=b.concat(l)}f.kq(l,g==0?f.km:f.qC);f.jq(l,g==0?f.Qk:f.fJ)}else{g==0&&(a=a.concat(l));b=b.concat(l);f.kq(l,f.km);f.jq(l,f.Qk)}f.NB(l,g==0?d.ZU:d.Rk);f.WH(l,g);c=c.concat(l)}.bind(this));this.Qi.gd(a);this.IN=b;this.n3();this.Zd.mi(this.ak.bind(this));this.Qi.mi(this.Jea.bind(this));this.mg.Fk(this.Yr.bind(this));this.trigger(new l(e.bc,0));return c};a.prototype.Jea=function(){this.trigger(e.Rb)};a.prototype.ak=
function(){this.trigger(e.O)};a.prototype.M=function(a){this.Y0=a.zB;this.cja();j.prototype.M.call(this,a)};a.prototype.cja=function(){var a=this.get("frontFrame");if(this.D("frontFrame")||a&&a.D("alpha"))this.jk.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.Yr=function(){var a=0;this.mg.Jn(function(b){var c=0,d;this.Zd.gi(b)?c=100:(d=this.mg.gi(b))&&(c=d.ih);a=a+c}.bind(this));this.trigger(new l(e.bc,a/this.mg.Ac.length))};var r=b.extend(g,function(){g.call(this);this.Vk(["loadingActive",
"panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("tag","Group")});return a});define("dD",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this)});b.ve="cueChange";a.A("VideoCue",b).B("Object").K({startTime:"number",endTime:"number"}).mc([e.sj,e.ta]);return b});define("j",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
define("hh",["require"],function(){function a(a,e,d){this.Ab=a;this.T2=e;this.Xd=d||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.Xd==b};a.prototype.isEqual=function(a){return this.Ab==a.Ab&&this.T2==a.T2&&this.Xd==a.Xd};return a});
define("M","require,hb,bI,dT,es,cW,j,hh,dN".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("dT"),d=a("es"),g=a("cW"),j=a("j"),k=a("hh"),h=a("dN"),m=b.extend(e,function(a,b,c){e.call(this);this.ua=a;this.Ab=b;this.M2=c;this.k=d.L;this.Bg=this.Cb=0;this.dd=z;this.bj=1;this.u=this.Ma=q;this.ix=[]});m.prototype.Qd=function(a){if(this.k!=a&&!(a==d.Gc&&this.k!=d.T)){this.k=a;if(this.k==d.T)h.XS(this);else{h.yB(this);this.k==d.L&&this.oha()}this.Dia()}};m.prototype.ei=P("k");m.prototype.Mn=P("Cb");m.prototype.ww=
function(a){this.Bg=a;if(this.Ma){this.Ma.nB()&&this.$X();this.Ma.play(this.ua,this.Ab,this.M2,this.Bg)}};m.prototype.fj=P("Bg");m.prototype.ki=function(a){this.bj=a;this.Ma&&this.Ma.ki(a)};m.prototype.Xf=function(a){this.dd=a;this.Ma&&this.Ma.Xf(a)};m.prototype.Pv=function(a,b,c){this.Ma&&this.Ma.nB()?this.Ma.Pv(a,b,c):this.u?a.drawImage(this.u,0,0,b,c):a.fillRect(0,0,b,c)};m.prototype.lH=function(){return this.Ma&&this.Ma.nB()?new k(this.Ab,this.Ma.fj(),this.Ma.t):this.u?new k(this.Ab,this.Bg,this.u):
new k(this.Ab,this.Bg,q)};m.prototype.QR=function(a){this.Ma=a;setTimeout(function(){this.Ma&&this.Ma.bind(g.Cf,this.Sy,this,p)}.bind(this),0);this.Ma.bind(g.lf,this.ed,this,p);this.Ma.bind(g.im,this.gn,this,p);this.Ma.bind(g.ve,this.Ji,this,p);this.Ma.Xf(this.dd);this.Ma.ki(this.bj);this.Ma.play(this.ua,this.Ab,this.M2,this.Bg)};m.prototype.BS=function(){this.Ma.nB()&&this.$X();this.Bg=this.Ma.fj();this.Ma.unbind(g.Cf,this.Sy,this,p);this.Ma.unbind(g.lf,this.ed,this,p);this.Ma.unbind(g.im,this.gn,
this,p);this.Ma.unbind(g.ve,this.Ji,this,p);this.Ma=q};m.prototype.clear=function(){this.v$()};m.prototype.$X=function(){if(!this.u)this.u=document.createElement("canvas");this.u.width=this.Ma.Fc();this.u.height=this.Ma.rd();this.Ma.Pv(this.u.getContext("2d"),this.u.width,this.u.height)};m.prototype.v$=function(){if(this.u){this.u.width=0;this.u.height=0;this.u=q}};m.prototype.gn=function(){this.Cb=this.Ma.Mn();this.qia()};m.prototype.ed=function(){this.Cb!=this.Ma.Mn()&&this.gn();this.Bg=this.Ma.fj();
this.l3()};m.prototype.Ji=function(){this.ix=this.Ma.Vb.map(function(a){for(var b=q,c=0;c<this.ix.length&&!b;c++)this.ix[c].cue==a&&(b=this.ix[c]);b||(b=new j(a));return b}.bind(this));this.trigger(new c(m.ve))};m.prototype.Sy=function(){this.Qd(d.L);this.ria()};m.prototype.oha=function(){this.Bg=0;this.l3()};m.prototype.l3=function(){this.trigger(new c(m.lf))};m.prototype.qia=function(){this.trigger(new c(m.im))};m.prototype.ria=function(){this.trigger(new c(m.Cf))};m.prototype.Dia=function(){this.trigger(new c(m.hd))};
m.lf="time update";m.im="duration update";m.hd="state change";m.Cf="end";m.ve="cue change";return m});
define("hI","require,cI,jd,bI,es,dD,M".split(","),function(a){function b(a,b){this.fd=a;this.N=b;this.Nf=z;this.of=[];this.yh=this.au=n;this.Vb=[];this.tK();this.cL();this.Vz();this.cf()}function c(a,b,c){this.time=a;this.cue=b;this.action=c}var e=a("cI"),d=a("jd"),g=a("bI"),j=a("es"),k=a("dD"),h=a("M");b.prototype.clear=function(){this.yx();this.of=[];this.BQ();this.N=this.fd=q};b.prototype.tK=function(){this.N.bind(h.lf,this.ed,this,p);this.N.bind(h.hd,this.cf,this,p);this.N.bind(h.Cf,this.hk,this,
p)};b.prototype.BQ=function(){this.N.unbind(h.lf,this.ed,this,p);this.N.unbind(h.hd,this.cf,this,p);this.N.unbind(h.Cf,this.hk,this,p)};b.prototype.cf=function(){var a=this.N.ei()!=j.L;if(this.Nf!=a)(this.Nf=a)?this.Vz():this.yx()};b.prototype.hk=function(){this.Dv()};b.prototype.ed=function(){this.Dv()};b.prototype.Vz=function(){this.yh=this.au=0};b.prototype.Dv=function(){if(this.N&&this.Nf){var a=this.Vb.slice(),b=this.N.fj(),c=b-this.au;if(c<0){this.Vb=[];this.yh=0}c=c>=0&&c<2;this.au=b;var h;
for(h=this.yh;h<this.of.length;h++)if(this.of[h].time>b)break;for(;this.yh<h;this.yh++){b=this.of[this.yh];if(b.action=="start"){this.Vb=e(this.Vb).union([b.cue]);c&&b.cue.trigger(new g(d.sj))}else{this.Vb=e(this.Vb).difference([b.cue]);c&&b.cue.trigger(new g(d.ta))}}(a.length!=this.Vb.length||e(a).intersection(this.Vb).length!=this.Vb.length)&&this.jA()}};b.prototype.yx=function(){if(this.Vb.length>0){this.Vb=[];this.jA()}};b.prototype.jA=function(){this.fd.trigger(new g(k.ve,{activeCues:this.Vb.slice()}))};
b.prototype.cL=function(){this.of=[];var a=this.fd.get("cues",[]);e(a).each(function(a){this.of.push(new c(a.get("startTime",0),a,"start"));this.of.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.of.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("hr",["require","jd","es","bI","M"],function(a){function b(a,b,c){this.wa=a;this.fd=b;this.N=c;this.N.ww(this.Bg=this.fd.get("currentTime",0));this.N.Xf(this.dd=this.wa.get("mute",z));this.N.Qd(this.k=this.fd.get("state",e.L));this.Cb=this.N.Mn();this.Z8();this.f9();this.tm()}var c=a("jd"),e=a("es"),d=a("bI"),g=a("M");b.prototype.clear=function(){this.Wfa();this.aga();this.wn();this.N.Qd(e.L);this.fd.set("state",e.L);this.fd.set("currentTime",0);this.fd.set("duration",n)};b.prototype.v0=function(){var a=
this.fd.get("state",e.L);this.k!=a&&this.N.Qd(this.k=a)};b.prototype.u0=function(){var a=this.fd.get("currentTime",0);this.Bg!=a&&this.N.ww(this.Bg=a)};b.prototype.e0=function(){var a=this.wa.get("mute",0);this.dd!=a&&this.N.Xf(this.dd=a)};b.prototype.r0=function(){this.fd.set("currentTime",this.Bg=this.N.fj())};b.prototype.p0=function(){this.fd.set("duration",this.Cb=this.N.Mn())};b.prototype.q0=function(){this.fd.set("state",this.k=this.N.ei())};b.prototype.s0=function(){this.fd.get("loop")&&(this.N.ww(this.Bg=
0),this.N.Qd(this.k=e.T));this.fd.trigger(new d(c.ta))};b.prototype.Z8=function(){this.wa.bind(c.ga("mute"),this.e0,this,p)};b.prototype.Wfa=function(){this.wa.unbind(c.ga("mute"),this.e0,this,p)};b.prototype.f9=function(){this.fd.bind(c.ga("state"),this.v0,this,p);this.fd.bind(c.ga("currentTime"),this.u0,this,p)};b.prototype.aga=function(){this.fd.unbind(c.ga("state"),this.v0,this,p);this.fd.unbind(c.ga("currentTime"),this.u0,this,p)};b.prototype.tm=function(){this.N.bind(g.lf,this.r0,this,p);this.N.bind(g.im,
this.p0,this,p);this.N.bind(g.hd,this.q0,this,p);this.N.bind(g.Cf,this.s0,this,p)};b.prototype.wn=function(){this.N.unbind(g.lf,this.r0,this,p);this.N.unbind(g.im,this.p0,this,p);this.N.unbind(g.hd,this.q0,this,p);this.N.unbind(g.Cf,this.s0,this,p)};return b});
define("i",["require","M"],function(a){function b(a,b){this.fd=a;this.N=b;this.VJ=[];this.tK();this.Ji()}var c=a("M");b.prototype.clear=function(){this.u$();this.BQ();this.N=this.fd=q};b.prototype.tK=function(){this.N.bind(c.ve,this.Ji,this,p)};b.prototype.BQ=function(){this.N.unbind(c.ve,this.Ji,this,p)};b.prototype.Ji=function(){this.fd.set("activeSubtitles",this.VJ=this.N.ix)};b.prototype.u$=function(){this.fd.get("activeSubtitles")==this.VJ&&this.fd.set("activeSubtitles",this.VJ=[])};return b});
define("cK",["require","M"],function(a){function b(){}var c=a("M");b.create=function(a,b,g){return new c(a,b,g)};return b});
define("cy","require,hb,jd,eU,es,bi,gv,in,dU,hI,hr,cP,gA,i,cK,M,hc".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("eU"),d=a("es"),g=a("bi"),j=a("gv"),k=a("in"),h=a("dU"),m=a("hI"),f=a("hr"),l=a("cP"),r=a("gA"),o=a("i"),s=a("cK"),t=a("M"),u=a("hc"),a=b.extend(g,function(a){g.call(this);this.n=a;this.Hh.push(this.n);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",n);this.set("atStart",n);this.$m=k.lS(this.n);this.mg=
this.Zd=this.yf=this.N=this.up=this.Ev=q});a.prototype.Wb=function(){this.Zd=(new j(c.O)).mi(this.ak.bind(this));this.mg=(new j(c.bc)).Fk(this.Yr.bind(this));this.N=s.create(this.rb.wa,this.$m.get("url"),this.n.get("sphere").get("subtitlesURL"));this.Kj=new m(this.n.aw(),this.N);this.Za=new f(this.rb.wa,this.n.aw(),this.N);this.Zz=new o(this.n.aw(),this.N);this.tm();g.prototype.Wb.call(this)};a.prototype.Yb=function(){this.Zd.dispose();this.mg.dispose();this.wn();this.Kj.clear();this.Kj=q;this.Za.clear();
this.Za=q;this.Zz.clear();this.Zz=q;this.N.clear();this.yf=this.N=q;g.prototype.Yb.call(this)};a.prototype.Yk=function(){var a=[];a.push(this.Ev=h.lka(this.n,this.$m));this.wja=r.rt(l.Zp(this.Ev)[0]);r.kq(this.Ev,r.km);r.jq(this.Ev,r.Qk);if(this.$m.get("posterURL")){a.push(this.up=h.mka(this.n,this.$m));r.kq(this.up,r.km);r.jq(this.up,r.Qk);r.NB(this.up,e.ZU)}this.Zd.gd(a);this.mg.gd(a);this.trigger(new u(c.bc,0));return a};a.prototype.M=function(a){var b=this.N.lH();this.set("frameEmpty",b.isEmpty());
this.set("atStart",!(this.get("currentTime")>1));g.prototype.M.call(this,a);if(!this.yf||!this.yf.isEqual(b)){this.yf=b;this.wja.wg(this.yf.Xd);this.Kb()}else this.N.ei()==d.T&&this.Kb()};a.prototype.En=function(){if(this.D("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.up&&this.get("frameEmpty")&&this.get("atStart")){l.ad(this.up,this.get("composedAlpha"));l.ad(this.Ev,0)}else{this.up&&l.ad(this.up,0);l.ad(this.Ev,this.get("composedAlpha"))}};a.prototype.ak=function(){this.trigger(c.Rb);
this.trigger(c.O)};a.prototype.Yr=function(a,b){var d=0;b.Jn(function(a){(a=b.gi(a))&&(d=d+a.ih)});this.trigger(new u(c.bc,d/b.Ac.length))};a.prototype.cf=function(){this.Kb()};a.prototype.ed=function(){this.Kb()};a.prototype.tm=function(){this.N.bind(t.lf,this.ed,this,p);this.N.bind(t.hd,this.cf,this,p)};a.prototype.wn=function(){this.N.unbind(t.lf,this.ed,this,p);this.N.unbind(t.hd,this.cf,this,p)};return a});
define("ja","require,hb,jd,fT,dj,gv,hc".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("fT"),d=a("dj");EventAggregator=a("gv");ProgressEvent=a("hc");a=b.extend(e,function(){e.call(this);this.set("tag","CustomPlane");this.set("source",q);this.set("sourceUpdated",z);this.jc=this.Zd=q});a.prototype.Wb=function(){this.Zd=(new EventAggregator(c.O)).mi(this.ak.bind(this));this.jc=(new EventAggregator(c.O)).Fk(this.Li.bind(this));e.prototype.Wb.call(this)};a.prototype.Yb=function(){this.Zd.dispose();
this.jc.dispose();e.prototype.Yb.call(this)};a.prototype.M=function(a){if(this.D("source","sourceUpdated")){var b=this.get("textureSource");b||this.set("textureSource",b=new d);this.D("source")&&b.wg(this.get("source"));this.D("sourceUpdated")&&(b.update(),this.set("sourceUpdated",z))}e.prototype.M.call(this,a);if(this.D("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Zd.gd(a);this.jc.gd(a)}}};a.prototype.ak=function(){this.trigger(c.Rb);this.trigger(c.O)};a.prototype.Li=
function(a,b){var d=0;b.Jn(function(a){(a=b.gi(a))&&(d=d+a.ih)});this.trigger(new ProgressEvent(c.bc,d/b.Ac.length))};return a});
define("cm","require,hb,jd,fT,hW,gv,hc".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("fT"),d=a("hW"),g=a("gv"),j=a("hc"),a=b.extend(e,function(){e.call(this);this.set("tag","ImagePlane");this.set("url",q);this.jc=this.Hd=q});a.prototype.Wb=function(){this.Hd=(new g(c.O)).mi(this.ak.bind(this));this.jc=(new g(c.bc)).Fk(this.Li.bind(this));e.prototype.Wb.call(this)};a.prototype.Yb=function(){this.Hd.dispose();this.jc.dispose();e.prototype.Yb.call(this)};a.prototype.M=function(a){if(this.D("url")){var b=
this.get("url");this.set("textureSource",b?new d(b):q)}e.prototype.M.call(this,a);if(this.D("meshGroup")){a=(a=this.get("meshGroup"))&&a.children||[];if(a.length){this.Hd.gd(a);this.jc.gd(a)}}};a.prototype.ak=function(){this.trigger(c.Rb);this.trigger(c.O)};a.prototype.Li=function(a,b){var d=0;b.Jn(function(a){(a=b.gi(a))&&(d=d+a.ih)});this.trigger(new j(c.bc,d/b.Ac.length))};return a});
define("bg","require,hb,gH,jd,es,fD,cg,ja,cm,hr,iy,gv,in,cT,hA,E,hc,iS,bh,cK,M".split(","),function(a){function b(a,b){for(var c=a-b;c>180;)c=c-360;for(;c<-180;)c=c+360;return c+b}var c=a("hb"),e=a("gH"),d=a("jd"),g=a("es"),j=a("fD"),k=a("cg"),h=a("ja"),m=a("cm"),f=a("hr"),l=a("iy"),r=a("gv"),o=a("in"),s=a("cT");a("hA");var t=a("E"),u=a("hc"),v=a("iS"),x=a("bh"),y=a("cK"),A=a("M"),w=Math.PI/180,a=c.extend(j,function(a){j.call(this);this.n=a;this.Hh.push(this.n);this.Ce=this.Ce.bind(this);this.Vk(["loadingActive",
"currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",z);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("loadingActive",z);this.set("frameEmpty",p);this.set("state",g.L);this.set("itemVisible","none");this.set("visible",z);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",z);this.set("gazeOver",z);this.set("video",q);this.set("image",q);this.xc=this.t=this.Ya=this.jc=this.Hd=q;this.xb=new l;this.wm=this.Wo=this.Zg=this.yf=this.N=
q});a.prototype.Wb=function(){this.Hd=(new r(d.O)).mi(this.Qy.bind(this));this.jc=(new r(d.bc)).Fk(this.Ry.bind(this));j.prototype.Wb.call(this);this.R$();this.appendChild(this.xc);e.Le(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Ce,p)};a.prototype.Yb=function(){this.Hd.dispose();this.jc.dispose();e.kf(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.Ce);this.Px();
this.Qx();this.TX();j.prototype.Yb.call(this)};a.prototype.Ce=function(){this.set("image",this.n.get("image"));this.set("video",this.n.get("video"));this.set("state",this.n.get("state"));this.set("visible",this.n.get("visible"));this.set("popupDistance",this.n.get("popupDistance"));this.set("popupMaxWidth",this.n.get("popupMaxWidth"));this.set("popupMaxHeight",this.n.get("popupMaxHeight"));this.set("playbackPositions",this.n.get("playbackPositions"))};a.prototype.M=function(a){this.Zu=a.Ia;this.Yu=
a.pitch;this.DQ(a);this.Es(a);this.YQ(a);this.Is(a);this.$ia(a);this.Mia(a);j.prototype.M.call(this,a)};a.prototype.Es=function(){if(this.D("playbackPositions","currentTime")){this.xb.VH(this.get("playbackPositions"));this.xb.UH(this.get("currentTime"));this.set("sourceYaw",this.xb.get("yaw"));this.set("sourcePitch",this.xb.get("pitch"));this.set("sourceRotationX",this.xb.get("rotationX"));this.set("sourceRotationY",this.xb.get("rotationY"));this.set("sourceRotationZ",this.xb.get("rotationZ"));this.set("sourceHFOV",
this.xb.get("hfov"))}};a.prototype.DQ=function(){if(this.D("video","image")){var a=[this.xc];if(this.D("image")){this.hL();this.Ya&&a.push(this.Ya)}if(this.D("video")){this.jL();this.t&&a.push(this.t)}this.Hd.gd(a);this.jc.gd(a);this.lj(a)}};a.prototype.YQ=function(){if(this.N){var a=this.N.lH();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.yf||a&&!this.yf.isEqual(a)){this.yf=a;this.t.set("source",this.yf.Xd);this.t.set("sourceUpdated",p);this.Kb()}else this.N.ei()==g.T&&this.Kb()}else this.set("frameEmpty",
z)};a.prototype.Is=function(a){this.set("inVR",a.Gb);this.set("hotspotsEnabled",a.gw);this.set("rendererYaw",a.Ia);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.$c);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("rendererHFOV",a.Pc);if(this.D("visible")){var c=this.get("visiblePosition"),f=this.get("visible")?1:0,e=Math.max(1,this.n.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(f-c)),h=this.n.get(this.get("visible")?"showEasing":"hideEasing");
this.Zg=new v(h,[new x("position",c,f)],e);this.get("visible")||this.N&&this.N.Qd(g.L)}if(this.Zg){if(this.Zg.Cd()){this.Zg=q;if(this.get("visible")){this.n.trigger(d.At);this.n.get("autoplay")&&this.N&&this.N.Qd(g.T)}else this.n.trigger(d.Kq)}else this.Zg.Ua(a.Pd);if(this.Zg){this.set("visiblePosition",this.Zg.ab("position"));this.Kb()}}c=z;if(c=a.Gb?this.D("visible"):this.D("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth",
"popupMaxHeight","sourceHFOV")){this.set("targetImageScale",this.$Y(this.Ya,a));this.set("targetVideoScale",this.$Y(this.t,a));this.set("targetYaw",b(this.get("rendererYaw"),this.get("sourceYaw")));this.set("targetPitch",this.get("rendererPitch"));this.set("targetRotationZ",b(a.Gb?0:this.get("rendererRoll"),this.get("sourceRotationZ")))}if(this.D("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){var f=this.get("visiblePosition"),l=this.get("targetYaw")*
f+this.get("sourceYaw")*(1-f),k=this.get("targetPitch")*f+this.get("sourcePitch")*(1-f),j=this.get("sourceRotationX")*(1-f),m=this.get("sourceRotationY")*(1-f),r=this.get("targetRotationZ")*f+this.get("sourceRotationZ")*(1-f),a=Math.min(1,2*f),o=this.get("popupDistance"),s=this.get("sourceHFOV"),c=this.get("targetImageScale")*f+(1-f),f=this.get("targetVideoScale")*f+(1-f);this.set("alpha",a);this.Ya&&this.Ya.set("scale",c);this.t&&this.t.set("scale",f);[].concat(this.t?[this.t]:[],this.Ya?[this.Ya]:
[]).forEach(function(a){a.set("yaw",l);a.set("pitch",k);a.set("rotationX",j);a.set("rotationY",m);a.set("rotationZ",r);a.set("distance",o);a.set("hfov",s)})}};a.prototype.$ia=function(a){if(this.D("frameEmpty","state","image","video")){var b="none";this.t&&(!this.Ya||!this.get("frameEmpty")&&this.get("state")!=g.L)?b="video":this.Ya&&(b="image");this.set("itemVisible",b)}if(this.D("itemVisible")){this.get("itemVisible")!="video"&&this.N&&this.N.Qd(g.L);var b=this.Ya?this.Ya.get("alpha"):0,c=this.t?
this.t.get("alpha"):0,d=this.get("itemVisible")=="image"?1:0,f=this.get("itemVisible")=="video"?1:0,e=this.get("itemVisible")=="video"?1:Math.max(Math.abs(d-b),Math.abs(f-c))*200;this.Wo=new v("linear",[new x("imageAlpha",b,d),new x("videoAlpha",c,f)],e)}if(this.Wo){this.Wo.Cd()?this.Wo=q:this.Wo.Ua(a.Pd);if(this.Wo){this.Ya&&this.Ya.set("alpha",this.Wo.ab("imageAlpha"));this.t&&this.t.set("alpha",this.Wo.ab("videoAlpha"));this.Kb()}}};a.prototype.Mia=function(a){if(this.D("gazeOver","inVR")){this.lX();
this.get("inVR")&&this.n.get("lookAwayToHide")&&!this.get("gazeOver")&&this.Gha()}if(a.Gb&&this.n.get("darkenBackground")&&this.n.get("lookAwayToHide")){if(this.D("visible")&&this.get("visible")){this.xc.set("alpha",0.8);this.wm=q}if(this.D("gazeOver"))this.wm=new v(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.xc.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.n.get("lookAwayToHideTime"))}else{this.wm=q;this.xc.set("alpha",a.Gb&&this.n.get("darkenBackground")?
0.8:0)}if(this.wm){this.wm.Cd()?this.wm=q:this.wm.Ua(a.Pd);if(this.wm){this.xc.set("alpha",this.wm.ab("alpha"));this.Kb()}}};a.prototype.Gha=function(){this.lX();this.wE=setTimeout(function(){this.wE=q;this.n.set("visible",z)}.bind(this),this.n.get("lookAwayToHideTime"))};a.prototype.lX=function(){if(this.wE){clearTimeout(this.wE);this.wE=q}};a.prototype.$Y=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),d=t.jj(c),c=d!==n?this.get("rendererWidth")*(this.rZ?0.5:1)*d/100:c,d=this.get("popupMaxHeight",
"100%"),f=t.jj(d),d=f!==n?this.get("rendererHeight")*f/100:d,c=Math.min(c/a.get("contentWidth"),d/a.get("contentHeight")),c=a.get("contentWidth")*c,d=this.get("inVR")?b.Me:this.get("rendererHFOV");return Math.tan(d*0.5*w)*c/this.get("rendererWidth")/Math.tan(this.get("sourceHFOV")*0.5*w)};a.prototype.hL=function(){this.Px();if(this.get("image")){var a=o.lla(this.n,this.get("panoramaPixelsPerDegree"));this.Ya=new m;this.Ya.set("url",a.get("url"));this.Ya.set("contentWidth",a.get("width"));this.Ya.set("contentHeight",
a.get("height"));this.Ya.set("alpha",0)}};a.prototype.Px=function(){if(this.Ya){this.Ya.remove();this.Ya=q}};a.prototype.jL=function(){this.Qx();if(this.get("video")){this.t=new h;this.t.set("contentWidth",this.get("video").get("width"));this.t.set("contentHeight",this.get("video").get("height"));this.t.set("alpha",0);this.N=y.create(this.rb.wa,this.get("video").Oe());this.Za=new f(this.rb.wa,this.n,this.N);this.tm()}};a.prototype.Qx=function(){if(this.t){this.wn();this.Za.clear();this.Za=q;this.N.clear();
this.yf=this.N=q;this.t.remove();this.t=q}};a.prototype.R$=function(){this.TX();this.xc=new k("#000000")};a.prototype.TX=function(){if(this.xc){this.xc.remove();this.xc=q}};a.prototype.Qy=function(){this.trigger(d.Rb);this.trigger(d.O)};a.prototype.Ry=function(a,b){var c=0;b.Jn(function(a){var b=0,d;this.Hd.gi(a)?b=100:(d=this.jc.gi(a))&&(b=d.ih);c=c+b}.bind(this));this.trigger(new u(d.bc,c/b.Ac.length))};a.prototype.cf=function(){this.Kb()};a.prototype.ed=function(){this.Kb()};a.prototype.hk=function(){this.n.trigger(d.ta)};
a.prototype.tm=function(){this.N.bind(A.lf,this.ed,this,p);this.N.bind(A.hd,this.cf,this,p);this.N.bind(A.Cf,this.hk,this,p)};a.prototype.wn=function(){this.N.unbind(A.lf,this.ed,this,p);this.N.unbind(A.hd,this.cf,this,p);this.N.unbind(A.Cf,this.hk,this,p)};a.prototype.nj=function(a){if(a.Fd==d.ph){if(!a.ah()&&this.get("visible")){a.iq(this.n);this.set("over",this.Mp(a));this.set("gazeOver",this.bia(a))}else this.set("over",z);if(this.get("over")){a.Qs(this.n);a.lw()&&a.Rs(this.n);a.ai(this.get("popupDistance"))}if(this.D("over")){this.n.trigger(this.get("over")?
d.Qc:d.oc);a.lw()&&this.n.trigger(this.get("over")?d.Bj:d.mf)}}else if(a.Fd==d.ri&&!a.ah()&&this.get("visible")){a.iq(this.n);a.ai(this.get("popupDistance"));this.Mp(a)?a.Vla()||this.n.trigger(d.U):this.n.set("visible",z)}};a.prototype.Mp=function(a){return this.P2(a.vn)};a.prototype.bia=function(a){a=a.Ux;return!!a&&this.P2([a])};a.prototype.P2=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Ya).Rj(a),b=0;b<a.length;b++){var c=a[b];if(s.Ik(c.source,c.x,
c.y))return p}return z};return a});
define("dZ","require,hb,eW,jd,bI,fD".split(","),function(a){var b=a("hb"),c=a("eW"),e=a("jd"),d=a("bI"),g=a("fD"),j=b.extend(g,function(a,b,d,f){g.call(this);this.wa=a;this.F=b;this.Pi=d;this.g=f;this.Py=new c;this.NP(this);this.set("tag","Root")});j.prototype.hf=function(a){return this.Py.get(a)};j.prototype.all=function(){for(var a=[],b=[this];b.length>0;){var c=b.pop();a.push(c);for(var d=c.Pb.length-1;d>=0;d--)b.push(c.Pb[d])}return a};j.prototype.update=function(a){var b=this.all(),c=b.length,
d;for(d=0;d<c;d++)b[d].B$();for(d=0;d<c;d++)b[d].set("index",d);for(d=0;d<c;d++)b[d].M(a);for(d=0;d<c;d++)b[d].w$()};j.prototype.Kb=function(){this.GG||this.trigger(new d(e.W));g.prototype.Kb.call(this)};j.prototype.On=function(a){return Array.isArray(a)?a.map(this.On.bind(this)):this.Py.get(a)||j.factory.create(a)};return j});
define("de","require,hb,gH,jd,es,bD,fD,ja,cm,hI,hr,iy,gv,in,cT,hc,iS,bh,cK,M".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("es"),g=a("bD"),j=a("fD"),k=a("ja"),h=a("cm"),m=a("hI"),f=a("hr"),l=a("iy"),r=a("gv"),o=a("in"),s=a("cT"),t=a("hc"),u=a("iS"),v=a("bh"),x=a("cK"),y=a("M"),a=b.extend(j,function(a){j.call(this);this.n=a;this.Hh.push(this.n);this.Ce=this.Ce.bind(this);this.Vk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",
p);this.set("inVR",z);this.set("overlaysEnabled",p);this.set("enabledInVR",p);this.set("enabledInStandard",p);this.set("interactionEnabled",p);this.set("centerOverDisplay",z);this.set("loadingActive",z);this.set("frameEmpty",p);this.set("state",d.L);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",n);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.jc=this.Hd=q;this.Ni=z;this.t=this.Ya=q;this.S3=z;this.xb=new l;this.yf=this.Za=this.N=q;this.Nm=[]});a.prototype.Wb=
function(){this.Hd=(new r(e.O)).mi(this.Qy.bind(this));this.jc=(new r(e.bc)).Fk(this.Ry.bind(this));j.prototype.Wb.call(this);c.Le(this.n,["playbackPositions","blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Ce,p)};a.prototype.Yb=function(){this.Hd.dispose();this.jc.dispose();c.kf(this.n,["playbackPositions","blending",
"chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.Ce);this.Px();this.Qx();j.prototype.Yb.call(this)};a.prototype.Ce=function(){this.set("image",this.n.get("image"));this.set("video",this.n.get("video"));this.set("enabled",this.n.get("enabled"));this.set("enabledInStandard",this.n.get("enabledInStandard"));this.set("enabledInVR",
this.n.get("enabledInVR"));this.set("fadeInDuration",this.n.get("fadeInDuration"));this.set("fadeOutDuration",this.n.get("fadeOutDuration"));this.set("interactionEnabled",this.n.get("interactionEnabled"));this.set("state",this.n.get("state"));this.set("videoVisibleOnStop",this.n.get("videoVisibleOnStop"));this.set("scaleMode",this.n.get("scaleMode"));this.set("distance",this.n.get("distance"));this.set("playbackPositions",this.n.get("playbackPositions"));this.set("blending",this.n.get("blending"));
this.set("chromaColor",this.n.get("chromaColor"));this.set("chromaThreshold",this.n.get("chromaThreshold"));this.set("chromaSmoothing",this.n.get("chromaSmoothing"))};a.prototype.M=function(a){this.Zu=a.Ia;this.Yu=a.pitch;this.DQ();this.Nia();this.Es();this.YQ();j.prototype.M.call(this,a);this.yG(a);this.Is(a)};a.prototype.Es=function(){if(this.D("playbackPositions","currentTime")){this.xb.VH(this.get("playbackPositions"));this.xb.UH(this.get("currentTime"));this.set("yaw",this.xb.get("yaw"));this.set("pitch",
this.xb.get("pitch"));this.set("roll",this.xb.get("roll"));this.set("rotationX",this.xb.get("rotationX"));this.set("rotationY",this.xb.get("rotationY"));this.set("hfov",this.xb.get("hfov"));this.set("vfov",this.xb.get("vfov"));this.set("alpha",this.xb.di())}this.D("yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Na().forEach(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));a.set("roll",this.get("roll"));a.set("rotationX",
this.get("rotationX"));a.set("rotationY",this.get("rotationY"));a.set("hfov",this.get("hfov"));a.set("vfov",this.get("vfov"));a.set("scaleMode",this.get("scaleMode"));a.set("distance",this.get("distance"))}.bind(this))};a.prototype.DQ=function(){if(this.D("video","image")){var a=[];if(this.D("image")){this.hL();this.Ya&&a.push(this.Ya)}if(this.D("video")){this.jL();this.t&&a.push(this.t)}this.lj(a);this.Hd.gd(a);this.jc.gd(a)}};a.prototype.Nia=function(){if(this.D("video","image","blending","chromaColor",
"chromaThreshold","chromaSmoothing")){if(this.t){var a=new g.tj(this.get("video").Oe());a.Tp=this.get("blending");a.Il=this.get("chromaColor");a.UA=this.get("chromaThreshold");a.TA=this.get("chromaSmoothing");this.t.set("materialConfig",a)}if(this.Ya){a=new g.tj;a.Tp=this.get("blending");a.Il=this.get("chromaColor");a.UA=this.get("chromaThreshold");a.TA=this.get("chromaSmoothing");this.Ya.set("materialConfig",a)}}};a.prototype.YQ=function(){var a=this.N&&this.N.lH();this.set("frameEmpty",!!a&&a.isEmpty());
if(!this.yf||a&&!this.yf.isEqual(a)){this.yf=a;this.t.set("source",this.yf.Xd);this.t.set("sourceUpdated",p);this.Kb()}else this.N.ei()==d.T&&this.Kb()};a.prototype.yG=function(){this.D("video","composedAlpha")?this.n.get("autoplay")&&this.get("composedAlpha")>0&&this.n.set("state",d.T):this.D("itemVisible")&&this.get("itemVisible")!="video"&&this.N&&this.N.Qd(d.L)};a.prototype.Is=function(a){this.set("inVR",a.Gb);this.set("hotspotsEnabled",a.gw);var b=this.get("itemVisible");if(this.D("frameEmpty",
"state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var c="none";if(this.get("hotspotsEnabled")&&this.get("enabled")&&(!this.get("inVR")||this.get("enabledInVR"))&&(this.get("inVR")||this.get("enabledInStandard"))){this.t&&(!this.Ya||!this.get("frameEmpty")&&(this.get("state")!=d.L||this.S3&&this.get("videoVisibleOnStop")))?c="video":this.Ya&&(c="image");if(this.get("state")!=d.L)this.S3=p}this.set("itemVisible",c);this.set("beamEnabled",
c!="none"&&this.get("interactionEnabled"))}if(this.D("itemVisible")){var c=this.get("itemVisible")!="none",c=c==(b!="none")?100:c?this.get("fadeInDuration"):this.get("fadeOutDuration"),f=this.Ya?this.Ya.get("alpha"):0,e=this.t?this.t.get("alpha"):0,b=[{video:e,image:f}];if(this.get("itemVisible")=="video"){b.push({video:1,image:f,time:c*(1-e)});b.push({video:1,image:0,time:50*(f-0)})}else if(this.get("itemVisible")=="image"){b.push({video:e,image:1,time:c*(1-f)});b.push({video:0,image:1,time:50*(e-
0)})}else b.push({video:0,image:0,time:Math.max(e,f,1/c)*c});this.Nm=[];for(c=1;c<b.length;c++)b[c].time>0&&this.Nm.push(new u("linear",[new v("imageAlpha",b[c-1].image,b[c].image),new v("videoAlpha",b[c-1].video,b[c].video)],b[c].time))}if(this.Nm.length>0){this.Nm[0].Cd()?this.Nm.shift():this.Nm[0].Ua(a.Pd);if(this.Nm.length>0){this.Ya&&this.Ya.set("alpha",this.Nm[0].ab("imageAlpha"));this.t&&this.t.set("alpha",this.Nm[0].ab("videoAlpha"));this.Kb()}}};a.prototype.hL=function(){this.Px();if(this.get("image")){var a=
o.vla(this.n,this.get("panoramaPixelsPerDegree"));this.Ya=new h;this.Ya.set("url",a.get("url"));this.Ya.set("contentWidth",a.get("width"));this.Ya.set("contentHeight",a.get("height"));this.Ya.set("alpha",0)}};a.prototype.Px=function(){if(this.Ya){this.Ya.remove();this.Ya=q}};a.prototype.jL=function(){this.Qx();if(this.get("video")){this.t=new k;this.t.set("contentWidth",this.get("video").get("width"));this.t.set("contentHeight",this.get("video").get("height"));this.t.set("alpha",0);this.N=x.create(this.rb.wa,
this.get("video").Oe());this.Kj=new m(this.n,this.N);this.Za=new f(this.rb.wa,this.n,this.N);this.tm()}};a.prototype.Qx=function(){if(this.t){this.wn();this.Za.clear();this.Za=q;this.Kj.clear();this.Kj=q;this.N.clear();this.yf=this.N=q;this.t.remove();this.t=q}};a.prototype.Qy=function(){this.trigger(e.Rb);this.trigger(e.O)};a.prototype.Ry=function(a,b){var c=0;b.Jn(function(a){(a=b.gi(a))&&(c=c+a.ih)});this.trigger(new t(e.bc,c/b.Ac.length))};a.prototype.cf=function(){this.Kb()};a.prototype.ed=function(){this.Kb()};
a.prototype.tm=function(){this.N.bind(y.lf,this.ed,this,p);this.N.bind(y.hd,this.cf,this,p)};a.prototype.wn=function(){this.N.unbind(y.lf,this.ed,this,p);this.N.unbind(y.hd,this.cf,this,p)};a.prototype.nj=function(a){if(a.Fd==e.ph){var b=!a.ah()&this.Mp(a);if(b){a.Qs(this.n);this.n.get("useHandCursor")&&a.Rs(this.n);a.ai(this.get("distance"));var c=this.oa(a.aq());c&&a.BR(c,this.Np(a.aq()))}if(this.Ni!=b){this.Ni=b;this.n.trigger(this.Ni?e.Qc:e.oc);a.lw()&&this.n.trigger(this.Ni?e.Bj:e.mf)}}else if(a.Fd==
e.ri&&!a.ah()&this.Mp(a)){this.n.cB(e.U).length>1&&a.iq(this.n);a.ai(this.get("distance"));this.n.trigger(e.U)}};a.prototype.Mp=function(a){if(this.get("beamEnabled"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Ya).Rj(a.vn),b=0;b<a.length;b++){var c=a[b];if(s.Ik(c.source,c.x,c.y))return p}return z};a.prototype.oa=function(a){return!a||this.n.get("displayTooltipInTouchScreens")&&this.rb.F.get("displayTooltipInTouchScreens")!==z?this.n.get("toolTip",""):""};a.prototype.Np=function(a){if(a){var a=
this.get("yaw")-this.Zu,b=this.get("pitch")-this.Yu;return Math.sqrt(a*a+b*b)}return 0};return a});
define("cC","require,di,fD,hl,ge,hC,gb,io,dP,J,iI,cy,bg,dZ,de,bt".split(","),function(a){function b(a,b){Array.isArray(b)||(b=[b]);for(var d=0;d<b.length;d++)if(c.tb(b[d],a))return p;return z}var c=a("di"),e=a("fD"),d=a("hl"),g=a("ge"),j=a("hC"),k=a("gb"),h=a("io"),m=a("dP"),f=a("J"),l=a("iI"),r=a("cy"),o=a("bg"),s=a("dZ"),t=a("de"),u=a("bt"),a={};s.factory=a;a.create=function(a){if(a instanceof e)return a;if(b(a,["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new f(a);if(b(a,["CubicPanoramaFrame",
"SphericPanoramaFrame"]))return u.get(a)==u.Sk&&b(a.get("sphere"),"Video360Resource")?new r(a):new l(a);if(b(a,"HotspotPanoramaOverlay"))return new j(a);if(b(a,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new k(a);if(b(a,"Menu"))return new m(a);if(b(a,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new d(a);if(b(a,["FlatHotspotPanoramaOverlayImage","FlatHotspotPanoramaOverlayMap"]))return new g(a);if(b(a,["LensFlarePanoramaOverlay"]))return new h(a);if(b(a,
["PopupPanoramaOverlay"]))return new o(a);if(b(a,["VideoPanoramaOverlay"]))return new t(a);i("Invalid script object")};return a});
define("iZ",["require"],function(){var a={Q4:function(b,c,e,d,g,j){return a.Kka(b,2*(c/d)-1,2*-(e/g)+1,j)},Kka:function(a,c,e,d){d||(d=new THREE.Ray);d.origin.setFromMatrixPosition(a.matrixWorld);d.direction.set(c,e,0.5).unproject(a).sub(d.origin).normalize();return d},Yka:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0);c.direction.set(0,0,-1).applyQuaternion(a.quaternion);return c},Xka:function(a,c){c||(c=new THREE.Ray);c.origin.set(0,0,0).applyMatrix4(a);c.direction.set(0,0,-1).applyMatrix4(a).sub(c.origin).normalize();
return c}};return a});
define("dJ",["require"],function(){function a(a){this.nf=this.jZ(a.get("vrPointerColor"));this.DP=this.jZ(a.get("vrPointerSelectionColor"));this.Dn=this.zp([0,0,0],0);this.fG=this.zp([0,0,0],0.125);this.zaa=this.zp(this.nf,1);this.Aaa=this.zp(this.DP,1);this.q$=this.zp(this.DP,1);this.p$=this.zp(this.nf,0.5);this.n$=this.zp(this.nf,1);this.o$=this.zp(this.DP,1);this.Dm=this.Em=64;this.cK=4E3;this.VX=0.1;this.zg=0.16;this.Ti=0.04;this.gX=this.eD=0.68-this.Ti;this.dD=1-this.Ti;this.u=document.createElement("canvas");
this.u.width=this.Em;this.u.height=this.Dm;this.Fa=this.u.getContext("2d");this.Ni=this.dX=z;this.xy=this.rO=n;this.Kt=0}a.prototype.jZ=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.zp=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Wna=function(a,c){this.Ni=a;this.rO=c};a.prototype.QH=N("dX");a.prototype.Fc=P("Em");a.prototype.rd=P("Dm");a.prototype.update=function(a){return this.dX?this.Daa(a):
this.Ni?this.Iaa():this.Haa()};a.prototype.fD=function(){this.Fa.clearRect(0,0,this.Em,this.Dm)};a.prototype.Haa=function(){if("initial"==this.xy)return z;this.fD();this.ZX(this.zaa);this.xy="initial";return p};a.prototype.Iaa=function(){if(this.rO===n){if("over"==this.xy)return z;this.fD();this.ZX(this.Aaa)}else this.bfa(this.rO);this.xy="over";return p};a.prototype.Daa=function(a){for(this.Kt+=a;this.Kt>this.cK;)this.Kt-=this.cK;this.k$(this.Kt/this.cK);this.xy="changing";return p};a.prototype.ZX=
function(a){this.Dg(this.VX+this.Ti,0,this.Dn,this.fG,0,2*Math.PI);this.Dg(this.VX,0,this.Dn,a,0,2*Math.PI)};a.prototype.Jaa=function(a){this.Dg(this.eD-0.5*(this.zg+this.Ti),this.zg+this.Ti,this.fG,this.Dn,0,2*Math.PI);this.Dg(this.eD-0.5*this.zg,this.zg,this.p$,this.Dn,0,2*Math.PI);this.Dg(this.eD-0.5*this.zg,this.zg,this.q$,this.Dn,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.Eaa=function(a,c){this.Dg(this.gX-0.5*(this.zg+this.Ti),this.zg+this.Ti,this.fG,this.Dn,0,2*Math.PI);this.Dg(this.gX-0.5*
this.zg,this.zg,this.n$,this.Dn,0,2*Math.PI);a=(0.5+2*a)*Math.PI;for(c=(0.5+2*c)*Math.PI;c<a;)c+=2*Math.PI;var e=a-this.Ti/(2*this.dD*Math.PI),d=c+this.Ti/(2*this.dD*Math.PI);Math.abs(d-e+2*Math.PI)<2*this.Ti&&(e=0,d=c);this.Dg(this.dD-0.5*(this.zg+this.Ti),this.zg+this.Ti,this.fG,this.Dn,e,d);this.Dg(this.dD-0.5*this.zg,this.zg,this.o$,this.Dn,a,c)};a.prototype.Dg=function(a,c,e,d,g,j){var k=Math.round(0.5*this.Em),h=Math.round(0.5*this.Dm),m=Math.min(k,h),a=Math.round(a*m),f=this.Fa;f.xqa=f.mra=
p;f.lineWidth=c*m;f.strokeStyle=e;f.fillStyle=d;f.beginPath();f.arc(k,h,a,g,j,z);f.stroke();f.fill()};a.prototype.k$=function(a){this.fD();var c;0.25>a?(c=a/0.25,a=0.5*c):0.5>a?(c=(a-0.25)/0.25,a=0.5+c,c=1+0.5*c):0.75>a?(c=(a-0.5)/0.25,a=0.5+0.5*c,c=0.5+c):(a=c=(a-0.75)/0.25,c=0.5+0.5*c);this.Eaa(a,c)};a.prototype.bfa=function(a){this.fD();this.Jaa(a)};return a});
define("hG","require,hb,cP,fT,dJ,dj".split(","),function(a){var b=a("hb"),c=a("cP"),e=a("fT"),d=a("dJ"),g=a("dj"),a=b.extend(e,function(){e.call(this);this.u=q;this.set("tag","Reticle");this.set("changing",z);this.set("over",z);this.set("overProgress",n);this.set("visible",p);this.set("attachToCamera",p)});a.prototype.M=function(a){this.xf(a);this.tA(a);e.prototype.M.call(this,a)};a.prototype.xf=function(a){if(!this.u){this.set("textureSource",new g);this.u=new d(this.rb.F);this.get("textureSource").wg(this.u.u);
this.set("contentWidth",this.u.Fc());this.set("contentHeight",this.u.rd());this.set("hfov",6);this.set("distance",this.rb.F.get("vrPointerDistance"))}this.D("changing")&&this.u.QH(this.get("changing"));this.D("over","overProgress")&&this.u.Wna(this.get("over"),this.get("overProgress"));this.u.update(a.Pd)&&this.get("textureSource").update();this.get("changing")&&this.Kb()};a.prototype.tA=function(){this.cj()};a.prototype.En=function(){this.D("composedAlpha","meshGroup","visible")&&this.Xq()};a.prototype.Xq=
function(){c.ad(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("U","require,jquery.mod,cI,jd,r,jq,cX".split(","),function(a){function b(a){this.ua=a;this.Y2=this.ua.Ci;this.ua.bind(d.tc,this.Jh,this);this.v=c("<span></span>");this.v.css({position:"absolute","z-index":j.pV,"text-align":"center",display:"none"});g.Wa()||this.v.css({"pointer-events":"none"});this.xc=c("<span></span>");this.xc.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.v.append(this.xc);this.qG=c("<span></span>");this.qG.css({position:"relative"});this.v.append(this.qG);
this.Xi=this.dE=this.fg=q;this.K0=this.J0=n;this.uu=z;this.Z2=n}var c=a("jquery.mod"),e=a("cI"),d=a("jd"),g=a("r"),j=a("jq"),k=a("cX"),h={toolTip:n,toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,toolTipFontFamily:"Segoe UI",toolTipFontSize:12,toolTipFontColor:"#606060",toolTipFontWeight:"normal",toolTipFontStyle:"normal",toolTipHorizontalAlign:"center",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};b.prototype.jb=P("v");b.prototype.vw=function(a){if(!this.Y2){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.jD();
this.fg&&e(e(h).keys()).each(function(a){this.fg.unbind(d.ga(a),this.hO,this)},this);if(this.fg=a){e(e(h).keys()).each(function(a){this.fg.bind(d.ga(a),this.hO,this)},this);this.hO()}}};b.prototype.soa=function(a,b){this.fg=a;this.Z2=b;this.jE()||(this.uu?this.t2():this.z2())};b.prototype.r2=function(a,b,c,d,e){this.Lia(a);this.qG.html(this.pca(b));var b=this.v.outerWidth(),g=this.v.outerHeight();if(e){c=c-this.v.width()*0.5;d=d-this.v.height()*0.5}c=Math.max(Math.min(c,this.ua.ya()-b-3),3);d=Math.max(Math.min(d,
this.ua.$a()-g-3),3);this.v.css("left",c+"px");this.v.css("top",d+"px");this.v.css("display","inline");this.uu=p;e?this.Aha(a,c,d):this.hQ()};b.prototype.hide=function(){this.jD();this.hQ();this.v.css("display","none");this.uu=z};b.prototype.hO=function(){this.fg.get("toolTip")?this.jE()||(this.uu?this.s2():this.z2()):this.jE()?this.jD():this.uu&&this.hide()};b.prototype.Jh=function(a){this.J0=a.pageX;this.K0=a.pageY};b.prototype.s2=function(){var a=this.J0,b=this.K0+25;this.r2(this.fg,this.fg.get("toolTip"),
a,b,z)};b.prototype.t2=function(){var a=this.fg.jb().offset();this.r2(this.fg,this.Z2,a.left+this.fg.ya()*0.5,a.top+this.fg.$a()*0.5,p)};b.prototype.jE=function(){return this.Xi!=q};b.prototype.z2=function(){var a=this.fg&&this.fg.get("toolTipDisplayTime");if(a===n||a===q)a=h.toolTipDisplayTime;this.jD();this.Xi=setTimeout(function(){this.Xi=q;this.Y2?this.t2():this.s2()}.bind(this),a)};b.prototype.jD=function(){if(this.jE()){clearTimeout(this.Xi);this.Xi=q}};b.prototype.Aha=function(a,b,c){this.hQ();
var d=function(){this.v.css("display",this.uu&&!this.lda(a,b,c)?"inline":"none")}.bind(this);this.dE=setInterval(d,300);d()};b.prototype.hQ=function(){if(this.dE){clearInterval(this.dE);this.dE=q}};b.prototype.Lia=function(a){function b(c){var d=a.get(c);return d===n?h[c]:d}var c={};c.opacity=b("toolTipOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipOpacity")*100)+")";c.paddingTop=b("toolTipPaddingTop")+"px";c.paddingBottom=b("toolTipPaddingBottom")+"px";c.paddingLeft=b("toolTipPaddingLeft")+
"px";c.paddingRight=b("toolTipPaddingRight")+"px";c["text-align"]=b("toolTipHorizontalAlign");this.v.css(c);c={};c.opacity=b("toolTipBackgroundOpacity");c.filter=c["-ms-filter"]="alpha(opacity="+Math.round(b("toolTipBackgroundOpacity")*100)+")";c["background-color"]=b("toolTipBackgroundColor");c.border=[b("toolTipBorderSize")+"px","solid",b("toolTipBorderColor")].join(" ");var d=b("toolTipShadowColor");c["-moz-box-shadow"]=c["-webkit-box-shadow"]=c["box-shadow"]=[b("toolTipShadowHorizontalLength")+
"px",b("toolTipShadowVerticalLength")+"px",b("toolTipShadowBlurRadius")+"px",b("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+d.substr(1,2))+", "+parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+d.substr(5,2))+", "+b("toolTipShadowOpacity")+")"].join(" ");c["-moz-border-radius"]=c["-webkit-border-radius"]=c.borderRadius=b("toolTipBorderRadius")+"px";this.xc.css(c);c={};c["font-family"]=k.Vp(b("toolTipFontFamily"));d=b("toolTipFontSize");e(d).isNumber()?d=d+"px":e(d).isString()||(d="");c["font-size"]=
d;c["font-weight"]=b("toolTipFontWeight");c["font-style"]=b("toolTipFontStyle");c.color=b("toolTipFontColor");d=b("toolTipTextShadowColor");c["-moz-text-shadow"]=c["-webkit-text-shadow"]=c["text-shadow"]=[b("toolTipTextShadowHorizontalLength")+"px",b("toolTipTextShadowVerticalLength")+"px",b("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+d.substr(1,2))+", "+parseInt("0x"+d.substr(3,2))+", "+parseInt("0x"+d.substr(5,2))+", "+b("toolTipTextShadowOpacity")+")"].join(" ");var g=b("toolTipTextShadowVerticalLength")==
0&&b("toolTipTextShadowHorizontalLength")==0?135:Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-b("toolTipTextShadowVerticalLength"))/Math.PI)*45;c.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a}(255*b("toolTipTextShadowOpacity"))+d.substr(1,6)+",direction="+g+")";this.qG.css(c)};b.prototype.lda=function(a,b,c){for(var b=document.elementsFromPoint(b,c),a=a.jb()[0],c=this.ua.jb()[0],d=0;d<b.length;d++){var e=b[d];
if(a==e||a.contains(e))break;if(!this.v[0].contains(e)&&c.contains(e)){var g=window.getComputedStyle(e);if(g.display!="none"&&g.visibility!="hidden"&&(e.tagName=="CANVAS"?1:this.H$(g.backgroundColor))*g.opacity>0.33)return p}}return z};b.prototype.H$=function(a){if(!a)return 0;var a=a.toLowerCase(),b=a.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return b?parseFloat(b[1]):a.match(/transparent/)?0:1};b.prototype.pca=function(a){for(var a=a.split("\n"),b=0;b<a.length;b++)a[b]=this.Oaa(a[b]);
return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.Oaa=function(a){b.bW.nodeValue=a;return b.YV.innerHTML};b.t7=h;b.YV=document.createElement("pre");b.bW=document.createTextNode("");b.YV.appendChild(b.bW);b.Jpa=600;return b});
define("bT",["require","U","bp","cX"],function(a){function b(a,b){this.F=a;this.cA=b;this.tha()}var c=a("U"),e=a("bp"),d=a("cX");b.prototype.Fc=function(){return this.u.width};b.prototype.rd=function(){return this.u.height};b.prototype.tha=function(){this.u=document.createElement("canvas");var a=this.u.getContext("2d"),b=this.cA.split("\n"),c=this.Yd("toolTipBackgroundColor"),h=this.Yd("toolTipBackgroundOpacity"),m=this.Yd("toolTipBorderRadius"),f=this.Yd("toolTipBorderColor"),l=this.Yd("toolTipBorderSize");
this.Yd("toolTipDisplayTime");var r=this.Yd("toolTipFontFamily"),o=this.Yd("toolTipFontSize"),s=this.Yd("toolTipFontColor"),t=this.Yd("toolTipFontWeight"),u=this.Yd("toolTipFontStyle"),v=this.Yd("toolTipPaddingBottom"),x=this.Yd("toolTipPaddingLeft"),y=this.Yd("toolTipPaddingTop"),A=this.Yd("toolTipPaddingRight"),w=this.Yd("toolTipOpacity"),C=this.Yd("toolTipTextShadowBlurRadius"),J=this.Yd("toolTipTextShadowColor"),B=this.Yd("toolTipTextShadowHorizontalLength"),F=this.Yd("toolTipTextShadowVerticalLength"),
K=this.Yd("toolTipTextShadowOpacity"),I=new e.kV;I.fontFamily=r;I.fontSize=o+(isNaN(o)?"":"px");I.fontWeight=t;I.fontStyle=u;var L=b.map(function(b){return e(b,I,a)}),M=0,G=0;L.forEach(function(a){M=Math.max(a.width,M);G+=a.height});var R=1<b.length?0.25*(G/b.length):0,G=G+(b.length-1)*R,A=l+x+M+A+l,v=l+y+G+v+l;this.u=document.createElement("canvas");a=this.u.getContext("2d");this.u.width=A;this.u.height=v;a.globalAlpha=w;a.strokeStyle=f;a.fillStyle="transparent"===c?"rgba(0,0,0,0)":this.mW(h,c);
a.lineWidth=l;a.beginPath();a.moveTo(m,0);a.lineTo(A-m,0);a.quadraticCurveTo(A,0,A,m);a.lineTo(A,v-m);a.quadraticCurveTo(A,v,A-m,v);a.lineTo(m,v);a.quadraticCurveTo(0,v,0,v-m);a.lineTo(0,m);a.quadraticCurveTo(0,0,m,0);a.closePath();a.fill();0<l&&a.stroke();a.fillStyle=s;a.font=t+" "+("normal"!=u?u+" ":"")+o+(isNaN(o)?"":"px")+" "+d.Vp(r);a.shadowColor=this.mW(K,J);a.shadowOffsetX=B;a.shadowOffsetY=F;a.shadowBlur=C;a.textBaseline="middle";a.textAlign="center";var E=l+x+0.5*M,O=l+y;b.forEach(function(b,
c){a.fillText(b,Math.round(E),Math.round(O+0.5*L[c].height));O+=L[c].height+R})};b.prototype.Yd=function(a){var b=this.F.get(a);return b===n?c.t7[a]:b};b.prototype.mW=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("jb","require,hb,eq,fT,bT,dj".split(","),function(a){var b=a("hb"),c=a("eq"),e=a("fT"),d=a("bT"),g=a("dj"),a=b.extend(e,function(){e.call(this);this.u=q;this.set("tag","ToolTip");this.set("text","");this.$i=new THREE.Vector3(0,0,-c.Xv())});a.prototype.M=function(a){this.xf(a);e.prototype.M.call(this,a)};a.prototype.xf=function(a){if(!this.u||this.D("text")){this.get("textureSource")||this.set("textureSource",new g);this.u=new d(this.rb.F,this.get("text"));this.get("textureSource").wg(this.u.u);
this.set("contentWidth",this.u.Fc());this.set("contentHeight",this.u.rd());this.set("hfov",2*Math.atan2(this.u.Fc()*0.5,600)*j);this.set("distance",this.rb.F.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.$i.applyMatrix4(b);(this.$i.x!=0||this.$i.z!=0)&&this.set("yaw",j*Math.atan2(this.$i.x,-this.$i.z));(this.$i.y!=0||this.$i.z!=0)&&this.set("pitch",j*Math.atan2(this.$i.y,Math.sqrt(this.$i.z*this.$i.z+this.$i.x*this.$i.x))+k)}else{this.set("yaw",a.Ia);this.set("pitch",a.pitch+h)}}};
var j=180/Math.PI,k=2,h=5;return a});define("iL",["require","iZ","H"],function(a){function b(a,b){this.gf=a;this.g=b;this.Ux=q}var c=a("iZ"),e=a("H");b.prototype.update=D();b.prototype.clear=D();b.prototype.Wf=P("gf");b.prototype.xM=function(){var a=this.k.Re&&e.Uv(this.k.Re);return this.Ux=a?c.Yka(a,this.Ux):q};b.zC="gaze";b.AJ="gaze_click";b.BJ="laser";b.AC="mouse";b.BC="touch";return b});
define("dn",["require","iL"],function(a){function b(a,b,c,e){this.pk=a;this.vn=b;this.Ux=c;this.Fd=e;this.aX=[];this.Lh=[];this.cR=[];this.oa="";this.Np=Number.MAX_VALUE}function c(a){return a===n?[]:Array.isArray(a)?a:[a]}var e=a("iL");b.prototype.lw=function(){return this.pk.Wf()==e.AC};b.prototype.aq=function(){return this.pk.Wf()==e.BC};b.prototype.Vla=function(){return this.pk.Wf()==e.zC};b.prototype.Rs=function(a){this.cR=this.cR.concat(c(a))};b.prototype.Aw=function(){return 0<this.cR.length};
b.prototype.Qs=function(a){this.Lh=this.Lh.concat(c(a))};b.prototype.ai=function(a){if(a&&(this.vD===n||this.vD>a))this.vD=a};b.prototype.BR=function(a,b){if(""==this.oa||this.Np>b)this.oa=a,this.Np=b};b.prototype.UB=P("oa");b.prototype.iq=function(a){this.aX=c(a)};b.prototype.ah=function(){return 0<this.aX.length};return b});
define("bN","require,hb,jd,iZ,H,hG,jb,dn,iL".split(","),function(a){var b=a("hb"),c=a("jd");a("iZ");a("H");var e=a("hG"),d=a("jb"),g=a("dn"),j=a("iL"),a=b.extend(j,function(a){j.call(this,j.zC,a);this.vf=this.k=q;this.Lh=[];this.sG=q;this.C0=n;this.zd=new e;this.g.add(this.zd);this.pe="";this.oa=q;this.P1=this.g.F.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.kQ();this.g.remove(this.zd);this.zd=q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=
a;this.zd.set("changing",a.XG);this.Yh()};a.prototype.Vt=function(){this.ef(this.Ye(c.ri));this.zd.set("over",z)};a.prototype.Yh=function(){var a=this.Ye(c.ph);this.ef(a);this.vk(a.UB());var b;a:{b=this.Lh;for(var d=a.Lh,f=0;f<b.length;f++)if(d.indexOf(b[f])<0){b=z;break a}for(f=0;f<d.length;f++)if(b.indexOf(d[f])<0){b=z;break a}b=p}if(!b){this.kQ();this.zd.set("over",z);this.Lh=a.Lh;if(this.Lh.length){this.zd.set("over",a.Aw());this.zd.set("overProgress",0);this.Mha()}}};a.prototype.vk=function(a){if(this.pe!=
a){this.pe&&this.g.remove(this.oa);if(this.pe=a){this.oa=new d(this.pe);this.oa.set("text",this.pe);this.g.add(this.oa)}}};a.prototype.ef=function(a){this.g.lB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.nj(a)}.bind(this))};a.prototype.Ye=function(a){this.vf=this.xM();return new g(this,this.vf?[this.vf]:[],this.vf,a)};a.prototype.kQ=function(){this.sG&&(clearInterval(this.sG),this.sG=q)};a.prototype.Mha=function(){this.C0=(new Date).getTime();this.sG=setInterval(this.nea.bind(this),
100)};a.prototype.nea=function(){var a=(new Date).getTime()-this.C0;if(a>=this.P1){this.kQ();this.Vt()}else this.zd.set("overProgress",a/this.P1)};return a});
define("ha","require,hb,jd,hG,jb,dn,iL,bb".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("hG"),d=a("jb"),g=a("dn"),j=a("iL"),k=a("bb"),a=b.extend(j,function(a){j.call(this,j.AJ,a);this.vf=this.k=q;this.zd=new e;this.g.add(this.zd);this.pe="";this.oa=q;this.uG=this.uG.bind(this);document.body.addEventListener("touchend",this.uG);k.bind(c.Uk,this.W3,this,p)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.uG);k.unbind(c.Uk,this.W3,this,p);this.g.remove(this.zd);
this.zd=q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=a;this.zd.set("changing",a.XG);this.Yh()};a.prototype.uG=function(){this.Vt()};a.prototype.W3=function(){this.Vt()};a.prototype.Vt=function(){this.ef(this.Ye(c.ri));this.zd.set("over",z)};a.prototype.Yh=function(){var a=this.Ye(c.ph);this.ef(a);this.vk(a.UB());this.zd.set("over",a.Aw())};a.prototype.vk=function(a){if(this.pe!=a){this.pe&&this.g.remove(this.oa);if(this.pe=a){this.oa=new d(this.pe);this.oa.set("text",
this.pe);this.g.add(this.oa)}}};a.prototype.ef=function(a){this.g.lB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.nj(a)}.bind(this))};a.prototype.Ye=function(a){this.vf=this.xM();return new g(this,this.vf?[this.vf]:[],this.vf,a)};return a});
define("gL","require,hb,eq,bD,cP,dj,f,iC".split(","),function(a){var b=a("hb"),c=a("eq"),e=a("bD"),d=a("cP"),g=a("dj"),j=a("f"),k=a("iC"),h=new THREE.Matrix4,m=Math.PI/180,a=b.extend(j,function(){j.call(this);this.set("tag","Laser");this.set("matrix",q);this.set("over",z);this.set("pressed",z);this.set("intersectionDistance",0);this.set("visible",z);this.set("attachToCamera",z);this.hP=this.vz=this.pl=this.gP=q;new THREE.Matrix4;this.iP=new THREE.Matrix4;this.iP.multiply(h.makeRotationX(-90*m));this.iP.multiply(h.makeTranslation(0,
f*0.5,0));this.yD=this.QL=this.xD=this.Mm=this.PL=q;new THREE.Matrix4;this.RL=new THREE.Matrix4;this.Ex=this.OL=this.NL=q;new THREE.Matrix4;this.or=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.or[0].multiply(h.makeRotationX(-90*m));this.or[0].multiply(h.makeTranslation(0,-r*0.5,0));this.or[1].multiply(h.makeRotationX(-90*m));this.or[1].multiply(h.makeTranslation(0,-r*0.5,-l*0.5));this.or[2].multiply(h.makeRotationX(-90*m));this.or[2].multiply(h.makeTranslation(0,-r*0.5,-l))});a.prototype.M=
function(a){j.prototype.M.call(this,a);this.rja();this.Av()};a.prototype.rja=function(){if(this.D("visible"))this.get("meshGroup").visible=this.get("visible")};a.prototype.Av=function(){if(this.D("over","pressed")){this.t3();this.C3()}};var f=0.35,l=0.012,r=0.1;a.prototype.Yk=function(){this.OL=d.create(new THREE.SphereGeometry(2.3,32,32),this.U$());this.QL=d.create(new THREE.SphereGeometry(2,32,32),this.V$());this.hP=d.create(new THREE.CylinderGeometry(0.003,0.003,f,8),this.laa());this.Zt=[];this.Zt.push(d.create(new THREE.CylinderGeometry(l,
l,r,32),this.bL()));this.Zt.push(d.create(new THREE.BoxGeometry(2*l,r,l),this.bL()));this.Zt.push(d.create(new THREE.CylinderGeometry(l,l,r,32),this.bL()));return[this.OL,this.QL,this.hP].concat(this.Zt)};a.prototype.U$=function(){if(this.NL==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.wg(a);this.NL=e.Bk(c.texture(),new e.tj);b.fillStyle="rgba(0, 0, 0, 0.75)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.NL]};a.prototype.V$=
function(){if(this.PL==q){this.Mm=document.createElement("canvas");this.Mm.width=this.Mm.height=256;this.xD=this.Mm.getContext("2d");this.yD=new g;this.yD.wg(this.Mm);this.PL=e.Bk(this.yD.texture(),new e.tj);this.t3()}return[this.PL]};a.prototype.t3=function(){this.xD.fillStyle=this.BY();this.xD.clearRect(0,0,this.Mm.width,this.Mm.height);this.xD.fillRect(0,0,this.Mm.width,this.Mm.height);this.yD.update()};a.prototype.laa=function(){if(this.gP==q){this.pl=document.createElement("canvas");this.pl.width=
this.pl.height=256;this.vz=this.pl.getContext("2d");this.jP=new g;this.jP.wg(this.pl);this.gP=e.Bk(this.jP.texture(),new e.tj);this.C3()}return[this.gP]};a.prototype.C3=function(){var a=k.NS(this.BY()).join(", "),b=this.vz.createLinearGradient(0,0,0,this.pl.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");b.addColorStop(1,"rgba("+a+", 1)");this.vz.fillStyle=b;this.vz.clearRect(0,0,this.pl.width,this.pl.height);this.vz.fillRect(0,0,this.pl.width,this.pl.height);this.jP.update()};
a.prototype.bL=function(){if(this.Ex==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.wg(a);this.Ex=e.Bk(c.texture(),new e.tj);b.fillStyle="rgba(64, 64, 64, 1)";b.clearRect(0,0,a.width,a.height);b.fillRect(0,0,a.width,a.height)}return[this.Ex,this.Ex,this.Ex]};a.prototype.Bv=function(){var a=z,b=z,f=z;if(this.D("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.rH(b):c.Xv(),e=b/c.Xv();this.RL.makeTranslation(0,0,-b);this.RL.multiply(h.makeScale(e,
e,e));b=p}if(this.D("matrix"))f=b=a=p;if(b){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.RL);d.Ll(this.QL,h);d.Ll(this.OL,h)}if(a){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.iP);d.Ll(this.hP,h)}if(f){b=this.get("matrix");for(a=0;a<this.Zt.length;a++){h.identity();b&&h.multiply(b);h.multiply(this.or[a]);d.Ll(this.Zt[a],h)}}};a.prototype.ZQ=function(){if(this.D("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.ET(a,this.get("index"))}.bind(this))}};
a.prototype.BY=function(){return this.get("pressed")?this.rb.F.get("vrPointerSelectionColor"):this.get("over")?this.rb.F.get("vrPointerOverColor"):this.rb.F.get("vrPointerColor")};return a});
define("cM","require,hb,jd,iZ,gL,hG,jb,dn,iL,cz,bb,iu".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("iZ"),d=a("gL"),g=a("hG"),j=a("jb"),k=a("dn"),h=a("iL"),m=a("cz"),f=a("bb"),l=a("iu"),r=new THREE.Matrix4,o=Math.PI/180,a=b.extend(h,function(a){h.call(this,h.BJ,a);this.vf=this.k=q;this.Lh=[];this.Lg=new d;this.g.add(this.Lg);this.zd=new g;this.g.add(this.zd);this.Wg=z;this.pe="";this.oa=q;this.Gg=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.Lg);this.g.remove(this.zd);
this.zd=this.Lg=q;this.oa&&this.g.remove(this.oa);this.oa=q};a.prototype.update=function(a){this.k=a;this.zd.set("changing",a.XG);this.zd.set("visible",a.XG);var b=m.GH();if(b){var c=b.quaternion(),d=b.position(),e=f.Sl().position,g=l.Ia(f.Sl().orientation);this.Gg.identity();if(d){this.Gg.multiply(r.makeRotationY((g-a.Ia)*o));this.Gg.multiply(r.makeTranslation(-e.x,-e.y,-e.z));this.Gg.multiply(r.makeTranslation(d.x,d.y,d.z));this.Gg.multiply(r.makeRotationFromQuaternion(c))}else{this.Gg.multiply(r.makeRotationY(-a.Ia*
o));b.hand()==m.qa?this.Gg.multiply(r.makeTranslation(-0.2,-0.4,0)):this.Gg.multiply(r.makeTranslation(0.2,-0.4,0));this.Gg.multiply(r.makeRotationY(g*o));this.Gg.multiply(r.makeRotationFromQuaternion(c));this.Gg.multiply(r.makeTranslation(0,0,-0.3))}this.Lg.set("matrix",q);this.Lg.set("matrix",this.Gg);this.Lg.set("pressed",b.pressed());this.Lg.set("visible",p)}else this.Lg.set("visible",z);this.Yh();a=!!b&&b.pressed();if(this.Wg!=a){this.Wg&&this.Vt();this.Wg=a}this.Lg.cj();this.zd.cj()};a.prototype.Vt=
function(){var a=this.Ye(c.ri);this.ef(a);this.Lg.set("over",p);this.Lg.set("intersectionDistance",a.vD);(a=m.GH())&&a.pulse(0.6,50)};a.prototype.Yh=function(){var a=this.Ye(c.ph);this.ef(a);this.vk(a.UB());var b;a:{b=this.Lh;for(var d=a.Lh,f=0;f<b.length;f++)if(d.indexOf(b[f])<0){b=z;break a}for(f=0;f<d.length;f++)if(b.indexOf(d[f])<0){b=z;break a}b=p}if(!b&&(a.Aw()||this.Lg.get("over"))){this.Lh=a.Lh;(b=m.GH())&&b.pulse(0.6,5)}this.Lg.set("over",a.Aw());this.Lg.set("intersectionDistance",a.vD)};
a.prototype.vk=function(a){if(this.pe!=a){this.pe&&this.g.remove(this.oa);if(this.pe=a){this.oa=new j(this.pe);this.oa.set("text",this.pe);this.oa.set("matrix",q);this.oa.set("matrix",this.Gg);this.g.add(this.oa)}}};a.prototype.ef=function(a){this.g.lB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.nj(a)}.bind(this))};a.prototype.Ye=function(a){this.vf=e.Xka(this.Gg,this.vf);return new k(this,[this.vf],this.xM(),a)};return a});
define("fP","require,hb,jd,iZ,H,dn,iL,N".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("iZ"),d=a("H"),g=a("dn"),j=a("iL"),k=a("N"),a=b.extend(j,function(a){j.call(this,j.AC,a);this.g.F.bind(c.tc,this.Fh,this,p);this.g.F.bind(c.mf,this.$Z,this,p);this.g.F.bind(c.pb,this.Jb,this,p);this.g.F.bind(c.Hb,this.Lf,this,p);this.qn=this.Qh=this.hc=this.gc=n;this.vf=this.k=q;this.Zi=z;this.oa=""});a.prototype.clear=function(){this.g.F.unbind(c.tc,this.Fh,this,p);this.g.F.unbind(c.mf,this.$Z,this,p);this.g.F.unbind(c.pb,
this.Jb,this,p);this.g.F.unbind(c.Hb,this.Lf,this,p);this.Zi&&(this.g.pw(k.Td),this.Zi=z);this.vk("")};a.prototype.update=function(a){this.k=a;this.OQ()};a.prototype.Fh=function(a){this.gc=a.x;this.hc=a.y;this.PQ()};a.prototype.$Z=function(){this.hc=this.gc=n;this.PQ()};a.prototype.Jb=function(a){this.gc=this.Qh=a.x;this.hc=this.qn=a.y;this.ef(this.Ye(c.bV))};a.prototype.Lf=function(a){this.gc=a.x;this.hc=a.y;this.ef(this.Ye(c.cV));this.sN(this.Qh,this.qn,this.gc,this.hc)&&this.ef(this.Ye(c.ri))};
a.prototype.OQ=function(){if(!this.zk)this.zk=setTimeout(function(){this.zk=q;this.Yh()}.bind(this),300)};a.prototype.PQ=function(){if(this.zk){clearTimeout(this.zk);this.zk=q}this.Yh()};a.prototype.Yh=function(){var a=this.Ye(c.ph);this.ef(a);this.vk(a.UB());if(this.Zi!=a.Aw()){this.Zi&&this.g.pw(k.Td);(this.Zi=a.Aw())&&this.g.NH(k.Td)}};a.prototype.vk=function(a){if(this.oa!=a){this.oa=a;this.g.F.set("toolTip",this.oa)}};a.prototype.ef=function(a){this.g.lB().sort(function(a,b){return b.get("index")-
a.get("index")}).forEach(function(b){b.nj(a)}.bind(this))};a.prototype.Ye=function(a){return new g(this,this.SD(),q,a)};a.prototype.SD=function(){if(this.gc!==n&&this.hc!==n&&this.k.Re){var a=d.Uv(this.k.Re);if(a){this.vf=e.Q4(a,this.gc,this.hc,this.k.width,this.k.height,this.vf);return[this.vf]}}return[]};a.prototype.sN=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
define("ed","require,hb,jd,iZ,H,dn,iL".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("iZ"),d=a("H"),g=a("dn"),j=a("iL"),a=b.extend(j,function(a){j.call(this,j.BC,a);this.g.F.bind(c.pb,this.Jb,this,p);this.g.F.bind(c.Hb,this.Lf,this,p);this.qn=this.Qh=this.hc=this.gc=n;this.k=q;this.i$=Array(k.length);this.tfa=Array(h.length);this.oa="";this.Yh=this.Yh.bind(this)});a.prototype.clear=function(){this.g.F.unbind(c.pb,this.Jb,this,p);this.g.F.unbind(c.Hb,this.Lf,this,p);this.vk("")};a.prototype.update=
function(a){this.k=a;this.OQ()};a.prototype.Jb=function(a){this.gc=this.Qh=a.x;this.hc=this.qn=a.y;this.ef(this.Ye(c.bV))};a.prototype.Lf=function(a){this.gc=a.x;this.hc=a.y;this.ef(this.Ye(c.cV));this.sN(this.Qh,this.qn,this.gc,this.hc)&&this.ef(this.Ye(c.ri))};a.prototype.OQ=function(){if(!this.zk)this.zk=setTimeout(this.Yh,300)};a.prototype.PQ=function(){if(this.zk){clearTimeout(this.zk);this.zk=q}this.Yh()};a.prototype.Yh=function(){this.zk=q;var a=this.Ye(c.ph);this.ef(a);this.vk(a.UB())};a.prototype.vk=
function(a){if(this.oa!=a){this.oa=a;a=this.g.F;if(!a.get("toolTipDisabled")){var b=a.eb().oa;this.oa?b.soa(a,this.oa):b.hide()}}};a.prototype.ef=function(a){this.g.lB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.nj(a)}.bind(this))};a.prototype.Ye=function(a){var b;b=a==c.ph?this.SD(this.k.width*0.5,this.k.height*0.5,k,this.i$):this.SD(this.gc,this.hc,h,this.tfa);return new g(this,b,q,a)};a.prototype.SD=function(a,b,c,g){var h=this.k.Re&&d.Uv(this.k.Re);if(h){var k=
this.k.width,j=this.k.height,u=Math.min(k,j)/100;c.forEach(function(c,d){g[d]=e.Q4(h,a+c[0]*u,b+c[1]*u,k,j,g[d])});return g}return[]};a.prototype.sN=function(a,b,c,d){a=c-a;b=d-b;b=Math.sqrt(a*a+b*b);d=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100);return b<=d};var k=function(){for(var a=[],b=-5;b<=5;b++)for(var c=-5;c<=5;c++){var d=Math.sqrt(c*c+b*b);d<5&&a.push([c,b,d])}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 a.map(function(a){return[a[0],a[1]]})}(),h=function(){for(var a=[],b=0;b<5;b++)for(var c=-2+4*b/4,d=0;d<5;d++){var e=-2+4*d/4,g=Math.sqrt(e*e+c*c);g<=2&&a.push([e,c,g])}a.sort(function(a,b){return a[2]-b[2]});return a.map(function(a){return[a[0],a[1]]})}();return a});
define("ey","require,bN,ha,cM,fP,iL,ed".split(","),function(a){var b=a("bN"),c=a("ha"),e=a("cM"),d=a("fP"),g=a("iL"),j=a("ed");return{create:function(a,h){switch(a){case g.zC:return new b(h);case g.AJ:return new c(h);case g.BJ:return new e(h);case g.AC:return new d(h);case g.BC:return new j(h)}}}});
define("jt",["require","N"],function(a){function b(a){this.sb=a;this.Sf=[]}var c=a("N");b.prototype.push=function(a){this.Sf.push(a);this.M()};b.prototype.pop=function(a){for(var b=this.Sf.length-1;0<=b;b--)if(this.Sf[b]==a){this.Sf.splice(b,1);this.M();break}};b.prototype.clear=function(){0<this.Sf.length&&(this.sb.set("cursor",c.nc),this.Sf=[])};b.prototype.M=function(){this.sb.set("cursor",0<this.Sf.length?this.Sf[this.Sf.length-1]:c.nc)};return b});
define("dc","require,hb,gH,jd,bI,d,N,r,cz,fc,ji,hk,cU,cC,dZ,ey,iL,jt,hS,gA,gP,bb,R".split(","),function(a){var b=a("hb"),c=a("gH"),e=a("jd"),d=a("bI"),g=a("d"),j=a("N"),k=a("r"),h=a("cz"),m=a("fc"),f=a("ji"),l=a("hk"),r=a("cU"),o=a("cC"),s=a("dZ"),t=a("ey"),u=a("iL"),v=a("jt"),x=a("hS"),y=a("gA"),A=a("gP"),w=a("bb"),C=a("R"),J=Math.PI/180,B=b.extend(g,function(a,b,d){g.call(this);this.Mc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",j.Ow);this.set("layout","absolute");this.wa=a;this.F=
b;this.Pi=d;this.zL=new v(b);this.pk=q;this.k=new f;this.rb=new s(this.wa,this.F,this.Pi,this);this.rb.bind(e.W,this.za,this,p);this.ql=new r;this.k.Re=this.ql.dv;this.k.$g=this.ql.Uv();this.MZ=(new Date).getTime();this.Ka().append(this.ql.jb());this.qv=new l(b,d);this.Ka().append(this.qv.jb());this.Q2=new y;this.Q2.bind(e.O,this.Rea,this,p);this.k_=new x;this.k_.bind(e.W,this.zea,this,p);this.KD=new m(this.k.width,this.k.height,this.k.Pc*J);this.bind(e.qb,this.hb,this,p);this.bind(e.Df,this.ek,this,
p);this.bind(e.yg,this.bk,this,p);w.bind(e.W,this.Mi,this,p);h.bind(e.W,this.lea,this,p);c.Le(this.Pi,["hotspotsEnabled","preloadEnabled"],function(){this.k.gw=this.Pi.get("hotspotsEnabled");this.k.zB=this.Pi.get("preloadEnabled");this.za()}.bind(this),p);this.Mi();c.Le(this.wa,["defaultVRPointer"],this.EG.bind(this));this.EG()});B.prototype.create=function(a){return o.create(a)};B.prototype.add=function(a){this.rb.appendChild(a)};B.prototype.remove=function(a){(a=this.rb.hf(a))&&a.remove()};B.prototype.hf=
function(a){return this.rb.hf(a)};B.prototype.lB=function(){return this.rb.all()};B.prototype.H6=function(a){this.k.IH=a};B.prototype.NH=function(a){this.zL.push(a)};B.prototype.pw=function(a){this.zL.pop(a)};B.prototype.QH=function(a){this.k.XG=a;this.za()};B.prototype.getPixelRatio=function(){return this.ql.getPixelRatio()};B.prototype.EG=function(){var a;a=this.k.Gb?h.GH()&&this.wa.get("defaultVRPointer")=="laser"?u.BJ:w.tH()==w.j8.$I?u.AJ:u.zC:k.Wa()?u.BC:u.AC;if(!(this.pk&&this.pk.Wf()==a)){this.pk&&
this.pk.clear();this.pk=t.create(a,this);this.pk.update(this.k)}};B.prototype.Rh=function(){this.zL.clear();g.prototype.Rh.call(this)};B.prototype.hb=function(){var a=this.ya(),c=this.$a();if(this.k.width!=a||this.k.height!=c)if(!a||!c)b.log("Invalid size values: "+a+" "+c);else{this.k.width=a;this.k.height=c;this.KD.SB(this.k.width);this.KD.A6(this.k.height);this.za()}};B.prototype.ek=function(){this.k.enabled=p;this.za()};B.prototype.bk=function(){this.k.enabled=z;this.za()};B.prototype.Mi=function(){this.k.Gb=
w.isPresenting();this.EG();this.za()};B.prototype.lea=function(){this.EG();this.za()};B.prototype.Rea=function(){this.za()};B.prototype.zea=function(){this.za()};B.prototype.nt=function(a){if(this.k.lh!=a){this.k.lh=a;this.za()}};B.prototype.Oa=function(a,c,d,f){if(this.k.Ia!=a||this.k.pitch!=c||this.k.$c!=d||this.k.Pc!=f)if(isNaN(a)||isNaN(c)||isNaN(d)||!f)b.log("Invalid position values: "+a+" "+c+" "+d+" "+f);else{this.k.Ia=a;this.k.pitch=c;this.k.$c=d;this.k.Pc=f;this.KD.IB(this.k.Pc*J);this.za()}};
B.prototype.lc=function(){return this.k.Ia};B.prototype.$b=function(){return this.k.pitch};B.prototype.ce=function(){return this.k.$c};B.prototype.Ne=function(){return this.k.Pc};B.prototype.TR=function(){return this.k.Gb?this.k.Me:A.fm(this.k.Me,this.k.width,this.k.height)};B.prototype.UR=function(){return this.k.Me};B.prototype.unproject=function(a){return this.KD.unproject(a)};B.prototype.za=function(){C.za(this.$e,this)};B.prototype.$e=function(){if(C.rS){var a=(new Date).getTime(),b=Math.max(1,
Math.min(a-this.MZ,33));this.MZ=a;this.trigger(new d(B.UI,{frameTime:b}));if(this.k.enabled){this.k.Pd=b;this.ql.update(this.k);this.k.IR=this.ql.Mka();this.k.WG=this.ql.Lka();this.k.Me=this.ql.Jka();this.k.PS=this.ql.getPixelRatio();this.rb.update(this.k);this.Q2.update(this.k);this.k_.update(this.k);this.pk.update(this.k);this.ql.render()}}else this.za()};B.UI="render start";return B});
define("ic",["require","hb","cr"],function(a){var b=a("hb"),c=a("cr"),a=b.extend(c,function(a,b){c.call(this,a);this.N=b;this.N.bind(EventName.ga("video"),this.nO,this);this.nO()});a.prototype.clear=function(){this.N&&(this.N.unbind(EventName.ga("video"),this.nO,this),this.N=q);c.prototype.clear.call(this)};a.prototype.nO=function(){this.DT(this.N.get("video"))};return a});
define("br","require,jquery.mod,hb,jd,bI,dT,hA,es,R,i,M,cK".split(","),function(a){var b=a("jquery.mod"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),j=a("hA"),k=a("es"),h=a("R"),m=a("i"),f=a("M"),l=a("cK"),a=c.extend(g,function(a,c){g.call(this);this.ua=a;this.G=c;this.v=document.createElement("div");this.Ct=b(this.v);this.Xd=q;this.wa=l.create(this.ua,this.G.Oe(),this.G.sla());this.wa.bind(f.lf,this.ed,this,p);this.wa.bind(f.im,this.gn,this,p);this.wa.bind(f.hd,this.cf,this,p);this.wa.bind(f.Cf,this.Sy,
this,p);this.Zz=new m(this.G.t,this.wa);this.Eg=q;this.dg=0;this.ZJ=p;this.Sa=this.Qa=100;this.nr=p});a.prototype.clear=function(){this.Zz.clear();this.Zz=q;this.wa.unbind(f.lf,this.ed,this,p);this.wa.unbind(f.im,this.gn,this,p);this.wa.unbind(f.hd,this.cf,this,p);this.wa.unbind(f.Cf,this.Sy,this,p);this.wa.clear();this.Ct=this.v=this.Xd=this.wa=q};a.prototype.jb=P("Ct");a.prototype.getItem=P("G");a.prototype.ad=function(a){if(this.dg!=a){this.dg=a;this.ZJ=p}};a.prototype.cm=function(a,b){if(this.Qa!=
a||this.Sa!=b){this.Qa=a;this.Sa=b;this.nr=p}};a.prototype.bq=function(){this.wa.Xf(p)};a.prototype.tt=function(){this.wa.Xf(z)};a.prototype.play=function(){this.wa.Qd(k.T)};a.prototype.pause=function(){this.wa.Qd(k.Gc)};a.prototype.stop=function(){this.wa.Qd(k.L)};a.prototype.ki=function(a){this.wa.ki(a)};a.prototype.fj=function(){return this.wa.fj()};a.prototype.ww=function(a){this.wa.ww(a)};a.prototype.Mn=function(){return this.wa.Mn()};a.prototype.render=function(){if(this.nr){this.nr=z;var a=
this.G.Fc(),b=this.G.rd(),c,d;switch(this.G.Dc){case j.NONE:c=a;d=b;break;case j.Aj:c=this.Qa;d=b*this.Qa/a;break;case j.ag:d=this.Sa;c=a*this.Sa/b;break;case j.Ok:if(a*this.Sa>b*this.Qa){d=this.Sa;c=a*this.Sa/b}else{c=this.Qa;d=b*this.Qa/a}break;default:if(a*this.Sa>b*this.Qa){c=this.Qa;d=b*this.Qa/a}else{d=this.Sa;c=a*this.Sa/b}}this.t9(Math.round((this.Qa-c)*0.5),Math.round((this.Sa-d)*0.5),Math.round(c),Math.round(d));this.sP()}if(this.ZJ){this.ZJ=z;this.Xq(this.dg)}};a.prototype.t9=function(a,
b,c,d){this.v.style.position="absolute";this.v.style.left=a+"px";this.v.style.top=b+"px";this.v.style.width=c+"px";this.v.style.height=d+"px"};a.prototype.Xq=function(a){if(a==0)this.v.style.display="none";else if(a==1){this.v.style.display="block";this.v.style.filter="";this.v.style.opacity=""}else{this.v.style.display="block";this.v.style.filter="alpha(opacity="+Math.round(a*100)+")";this.v.style.opacity=a}};a.prototype.cf=function(){this.nA();this.sP()};a.prototype.sP=function(){h.za(this.Yda,
this)};a.prototype.Yda=function(){this.nA();this.wa&&this.wa.ei()==k.T&&this.sP()};a.prototype.Sy=function(){this.nA();this.trigger(new d(e.ta))};a.prototype.ed=function(){this.nA();this.trigger(new d(e.W))};a.prototype.gn=function(){this.nA();this.trigger(new d(e.W))};a.prototype.nA=function(){var a=q;if(this.wa){a=this.wa.lH();if(!this.Eg||!this.Eg.isEqual(a)){this.Eg=a;a=this.Eg.Xd}else a=this.Xd}if(this.Xd!=a){var b=this.Xd;if(this.Xd=a){this.Xd.removeAttribute("style");this.Xd.style.position=
"absolute";this.Xd.style.left=0;this.Xd.style.top=0;this.Xd.style.width="100%";this.Xd.style.height="100%";this.v.appendChild(this.Xd)}b&&this.v.removeChild(b)}};return a});
define("hD","require,cI,jquery.mod,hb,jd,bI,N,d,cA,ic,br".split(","),function(a){var b=a("cI"),c=a("jquery.mod"),e=a("hb"),d=a("jd"),g=a("bI"),j=a("N"),k=a("d"),h=a("cA"),m=a("ic"),f=a("br"),a=e.extend(k,function(a,b,f){k.call(this);this.wa=a;this.F=b;this.N=f;this.Mc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",j.Ow);this.bind(d.qb,this.hb,this,p);this.bind(d.Df,this.ek,this,p);this.bind(d.yg,this.bk,this,p);this.ys=z;this.B1=c("<div/>");this.qv=new m(b,f);this.pz=new h.WU;this.pz.qT(h.WU.cJ);
this.HO=z;[this.B1,this.qv.jb(),this.pz.jb()].forEach(function(a,b){this.Ka().append(a);a.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":b})}.bind(this));this.qg=z;this.ne=[];this.QQ()});a.prototype.PA=function(a){a=new f(this.eb(),a);a.cm(this.ya(),this.$a());a.bind(d.ta,this.VE,this,p);a.bind(d.W,this.d0,this,p);this.B1.append(a.jb());this.ne.push(a);this.qg=p;this.QQ()};a.prototype.removeItem=function(a){if(a=this.Oj(a)){if(this.CK==a)this.CK=this.VW=q;this.ne=
b.without(this.ne,a);a.unbind(d.ta,this.VE,this);a.unbind(d.W,this.d0,this,p);a.jb().detach();a.clear();this.qg=p;this.QQ()}};a.prototype.uma=function(a){this.Oj(a).pause()};a.prototype.e6=function(a){this.Oj(a).play()};a.prototype.zoa=function(a){this.Oj(a).stop()};a.prototype.fS=function(a){return this.Oj(a).fj()};a.prototype.rT=function(a,b){this.Oj(a).ww(b)};a.prototype.cla=function(a){return this.Oj(a).Mn()};a.prototype.Z5=function(a){this.Oj(a).bq()};a.prototype.Ioa=function(a){this.Oj(a).tt()};
a.prototype.tg=function(a,b){this.Oj(a).ad(b)};a.prototype.QA=function(a){if(a=this.Oj(a)){this.ne=b.without(this.ne,a);this.ne.push(a);this.qg=p}};a.prototype.coa=function(a){if(this.HO!=a){this.HO=a;this.pz.Qe(a)}};a.prototype.QQ=function(){this.pz.Qe(this.HO&&this.ne.length>0)};a.prototype.render=function(){this.rl&&this.Xu()};a.prototype.Xu=function(){if(this.ys){this.ys=z;for(var a=this.ya(),b=this.$a(),c=0;c<this.ne.length;c++)this.ne[c].cm(a,b);this.pz.setSize(a,b)}if(this.qg){this.qg=z;for(c=
0;c<this.ne.length;c++)this.ne[c].jb().css("z-index",c+1)}for(c=0;c<this.ne.length;c++)this.ne[c].render()};a.prototype.Oj=function(a){if(this.VW==a)return this.CK;for(var b=q,c=0;c<this.ne.length&&!b;c++)this.ne[c].getItem()==a&&(b=this.ne[c]);this.VW=a;return this.CK=b};a.prototype.hb=function(){this.ys=p;this.render()};a.prototype.ek=function(){this.rl=p;this.render()};a.prototype.bk=function(){this.rl=z};a.prototype.d0=function(a){this.Xg(a.source.getItem())};a.prototype.VE=function(a){this.wG(a.source.getItem())};
a.prototype.wG=function(a){this.trigger(new g(d.ta,{item:a}))};a.prototype.Xg=function(a){this.trigger(new g(d.W,{item:a}))};return a});
define("bd","require,cI,hb,jd,es,bI,di,hX,dW,v,dc,hD,cH,bS,en,iO".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("es"),g=a("bI"),j=a("di"),k=a("hX"),h=a("dW"),m=a("v"),f=a("dc"),l=a("hD"),r=a("cH"),o=a("bS"),s=a("en"),t=a("iO"),u=c.extend(t,function(){t.call(this);this.set("childrenInteractionEnabled",p);this.set("contentOpaque",p);this.set("creationPolicy",o.Pw);this.set("vrPointerColor","#ffffff");this.set("vrPointerOverColor","#007acc");this.set("vrPointerSelectionColor","#ff6600");
this.set("vrPointerDistance",2);this.set("vrPointerSelectionTime",1200);this.set("doubleClickAction","toggle_fullscreen");this.set("subtitlesEnabled",p);this.$k=this.ic=this.CD=this.oe=q;this.LO=this.ll=z;this.df=d.L;this.sh=this.th=q;this.bind(u.aV,this.Hea,this);this.bind(u.$U,this.Fea,this);this.bind(e.pb,this.Gea,this);this.ER=new k(this,"buttonPause",r.rh);this.ER.bind(e.U,this.Iu,this);this.ER.set("state",s.nc);this.GR=new k(this,"buttonPlay",r.rh);this.GR.bind(e.U,this.Ju,this);this.GR.set("state",
s.nc);this.FR=new k(this,"buttonPlayPause",r.rh);this.FR.bind(e.U,this.Cea,this);this.FR.set("state",s.nc);this.HR=new k(this,"buttonStop",r.rh);this.HR.bind(e.U,this.as,this);this.HR.set("state",s.sa);this.Tja=new k(this,"buttonRestart",r.uc);this.Tja.bind(e.U,this.$r,this);this.UG=new k(this,"buttonToggleSubtitles",r.rh);this.UG.bind(e.bg,function(){this.set("subtitlesEnabled",p)},this,p);this.UG.bind(e.qh,function(){this.set("subtitlesEnabled",z)},this,p);this.bind(e.ga("subtitlesEnabled"),function(){this.UG.set("pressed",
this.get("subtitlesEnabled"))},this);this.UG.set("pressed",this.get("subtitlesEnabled"));this.ida=c.Wn(this.qja,this);this.bind(e.zU,this.Vea,this,p)});j.A("ViewerArea",u).B("UIComponent").K({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleSubtitles:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",cardboardPointerColor:"color",cardboardPointerSelectionTime:"number",cardboardPointerSelectionColor:"color",cardboardPointerDistance:"number",externalPlaybackBar:"PlaybackBar",vrPointerColor:"color",vrPointerOverColor:"color",vrPointerSelectionTime:"number",vrPointerSelectionColor:"color",vrPointerDistance:"number",transitionMode:"enum[blending, fade_out_fade_in]",
transitionDuration:"number",blendingTransitionDuration:"number",disolveTransitionDuration:"number",displayTooltipInTouchScreens:"bool",doubleClickAction:"enum[toggle_fullscreen, none]",firstTransitionDuration:"number",translationTransitionDuration:"number",translationTransitionEnabled:"bool",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",playbackState:"enum[stopped, playing, paused]",
subtitlesBackgroundColor:"color",subtitlesBackgroundOpacity:"number",subtitlesBorderColor:"color",subtitlesBorderSize:"number",subtitlesBottom:"or[number, percent]",subtitlesEnabled:"bool",subtitlesFontFamily:"string",subtitlesFontColor:"color",subtitlesFontSize:"or[number, size]",subtitlesFontStyle:"enum[italic, normal]",subtitlesFontWeight:"enum[bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900, normal]",subtitlesGap:"number",subtitlesHorizontalAlign:"enum[left, center, right]",
subtitlesOpacity:"number",subtitlesPaddingTop:"number",subtitlesPaddingBottom:"number",subtitlesPaddingLeft:"number",subtitlesPaddingRight:"number",subtitlesShadow:"bool",subtitlesShadowBlurRadius:"number",subtitlesShadowColor:"color",subtitlesShadowOpacity:"number",subtitlesShadowHorizontalLength:"number",subtitlesShadowVerticalLength:"number",subtitlesTextDecoration:"enum[underline, overline, line-through, none]",subtitlesTextShadowBlurRadius:"number",subtitlesTextShadowColor:"color",subtitlesTextShadowHorizontalLength:"number",
subtitlesTextShadowOpacity:"number",subtitlesTextShadowVerticalLength:"number",subtitlesTop:"or[number, percent]",subtitlesVerticalAlign:"enum[top, middle, bottom]"}).ug({play:function(){this.Ju()},pause:function(){this.Iu()},stop:function(){this.as()},restart:function(){this.$r()}});u.Xa={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:z,externalPlaybackBar:n,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:z,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,
subtitlesBackgroundColor:"#000000",subtitlesBackgroundOpacity:1,subtitlesBorderColor:n,subtitlesBorderSize:0,subtitlesBottom:"10%",subtitlesFontFamily:n,subtitlesFontColor:"#ffffff",subtitlesFontSize:"12px",subtitlesFontStyle:n,subtitlesFontWeight:n,subtitlesGap:10,subtitlesHorizontalAlign:"center",subtitlesOpacity:1,subtitlesPaddingTop:5,subtitlesPaddingBottom:5,subtitlesPaddingLeft:5,subtitlesPaddingRight:5,subtitlesShadow:z,subtitlesShadowBlurRadius:n,subtitlesShadowHorizontalLength:0,subtitlesShadowVerticalLength:0,
subtitlesShadowColor:"#000000",subtitlesShadowOpacity:0,subtitlesTextDecoration:n,subtitlesTextShadowBlurRadius:n,subtitlesTextShadowColor:"#000000",subtitlesTextShadowHorizontalLength:0,subtitlesTextShadowOpacity:0,subtitlesTextShadowVerticalLength:0,subtitlesTop:n,subtitlesVerticalAlign:"bottom",transitionDuration:500,blendingTransitionDuration:n,disolveTransitionDuration:n,translationTransitionDuration:n,translationTransitionEnabled:p,toolTipEnabled:p};b.defaults(u.Xa,t.Xa);u.prototype.set=function(a,
b){if(a=="playbackState"){b=this.df;if(this.get(a)!=b){this.LO=p;this.ida()}}switch(a){case "toolTipEnabled":this.set("toolTipDisabled",b===z);break;case "cardboardPointerDistance":this.set("vrPointerDistance",b);break;case "cardboardPointerColor":this.set("vrPointerColor",b);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",b);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",b)}t.prototype.set.call(this,a,b)};u.prototype.na=function(){this.yi(u.Xa)};
u.prototype.Ha=function(){t.prototype.Ha.call(this);if(this.oe==q){this.oe=new m;this.pa(this.oe)}if(this.ic==q){this.ic=new h;this.ic.bind(e.W,this.IO,this,p);this.pa(this.ic)}};u.prototype.ala=P("ic");u.prototype.mh=function(){t.prototype.mh.call(this);var a=this.Na(),c=b(a).find(function(a){return a instanceof f}),d=b(a).find(function(a){return a instanceof l}),e=this.oe&&this.dB(this.oe)>=0?this.oe:q,g=this.ic&&this.dB(this.ic)>=0?this.ic:q;b([{child:c,index:0},{child:d,index:c?1:0},{child:g,
index:a.length-(e?2:1)},{child:e,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.dB(b)!=a&&this.hi(b,a)},this)};u.prototype.ca=function(){if(this.m("externalProgressBar")){(this.CD=this.j("externalProgressBar"))?this.removeChild(this.oe):this.pa(this.oe);this.o("externalProgressBar");b(u.ZV).each(function(a){this.vs(a)},this)}this.Ta(u.A8,u.NV,[this.oe],p,p);var a=[this.oe];this.CD&&a.push(this.CD);this.Ta(u.ZV,u.$V,a,p,p);if(this.m("externalPlaybackBar")){this.$k&&this.$k.unbind(e.W,
this.IO,this,p);(this.$k=this.j("externalPlaybackBar"))?this.removeChild(this.ic):this.pa(this.ic);this.$k&&this.$k.bind(e.W,this.IO,this,p);this.o("externalPlaybackBar");b(u.VV).each(function(a){this.vs(a)},this)}this.Ta(u.z8,u.MV,[this.ic],p,p);a=[this.ic];this.$k&&a.push(this.$k);this.Ta(u.VV,u.WV,a,p,p);t.prototype.ca.call(this)};u.prototype.qja=function(){if(this.LO){this.LO=z;this.ER.set("state",this.df==d.Gc?s.sa:s.nc);this.GR.set("state",this.df==d.T||this.df==d.Gc?s.sa:s.nc);this.FR.set("state",
this.df==d.T?s.sa:s.nc);this.HR.set("state",this.df==d.L?s.sa:s.nc)}};u.prototype.nb=function(a){this.df=a;this.set("playbackState",a)};u.prototype.Iu=function(){this.df==d.Gc?this.lg():this.lk()};u.prototype.Ju=function(){this.lg()};u.prototype.Cea=function(){this.df==d.T?this.lk():this.lg()};u.prototype.as=function(){this.Vi()};u.prototype.$r=function(){this.Vi();this.lg()};u.prototype.Vea=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.eb();(a=a&&a.Fg)&&a.available()&&
a.toggle()}};u.prototype.lg=function(){this.sh&&this.sh.play()};u.prototype.lk=function(){this.sh&&this.sh.pause()};u.prototype.Vi=function(){this.sh&&this.sh.stop()};u.prototype.Hea=function(a){this.T1(a.data.player)};u.prototype.Fea=function(a){this.th==a.data.player&&this.T1(q)};u.prototype.Gea=function(){u.$n(this)};u.prototype.T1=function(a){if(this.th!=a){this.th&&this.th.$n(z);this.sh&&this.sh.unbind(e.ga("state"),this.UJ,this);this.xfa=this.th;(this.th=a)&&this.th.$n(!!this.Kr);(this.sh=this.th&&
this.th.c$?this.th:q)&&this.sh.bind(e.ga("state"),this.UJ,this,p);this.UJ()}};u.prototype.$n=function(a){this.Kr=a;this.th&&this.th.$n(!!this.Kr)};u.prototype.Roa=function(){return!this.xfa};u.prototype.UJ=function(){this.sh?this.nb(this.sh.get("state")):this.nb(d.L)};u.prototype.IO=function(){var a=(this.$k?this.$k:this.ic).get("position");this.trigger(new g(u.RI,{position:a}))};u.NV={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.A8=b(u.NV).keys();u.$V={progressPercent:"percent",progressVisible:"visible"};u.ZV=b(u.$V).keys();u.MV={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.z8=b(u.MV).keys();u.WV={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.VV=b(u.WV).keys();u.qJ="requestByPlayer";u.aV="playerShow";u.$U="playerHide";u.RI="playbackBarPositionChange";u.yu=q;u.$n=function(a){if(u.yu!=a){u.yu&&u.yu.$n(z);u.yu=a;u.yu&&u.yu.$n(p)}};return u});
define("ca","hb,hu,jd,bI,di,bd".split(","),function(a,b,c,e,d,g){var j=a.extend(b,function(a){b.call(this);this.c$=a;this.Oz=this.dl=q});j.Se="mediaShow";j.xg="mediaHide";j.prototype.$n=D();j.prototype.dG=function(a){if(this.dl!=a){if(this.dl){this.dl.unbind(g.qJ,this.T3,this);this.dl.unbind(g.RI,this.uF,this)}if(this.dl=a){this.dl.bind(g.qJ,this.T3,this);this.dl.bind(g.RI,this.uF,this)}}};j.prototype.HF=function(){this.dl.trigger(new e(g.qJ,{player:this}))};j.prototype.T3=function(a){a.data.player!=
this&&this.Xz()};j.prototype.uF=D();j.prototype.Xz=D();j.prototype.EE=function(a){this.trigger(new e(j.Se,{media:a}));this.Oz=this.dl;this.Oz.trigger(new e(g.aV,{player:this}))};j.prototype.DE=function(a){this.trigger(new e(j.xg,{media:a}));if(this.Oz){this.Oz.trigger(new e(g.$U,{player:this}));this.Oz=q}};return j});
define("fp","hb,hu,jd,bI,di,hX,ca,bd,es,cH,en".split(","),function(a,b,c,e,d,g,j,k,h,m,f){var l=a.extend(j,function(){j.call(this,p);this.ll=z;this.fQ=p;this.k=h.L;this.xK=new g(this,"buttonPlayPause",m.rh);this.xK.bind(c.bg,this.Dea,this,p);this.xK.bind(c.qh,this.Eea,this,p);this.OW=new g(this,"buttonPause",m.uc);this.OW.bind(c.U,this.Iu,this,p);this.PW=new g(this,"buttonPlay",m.uc);this.PW.bind(c.U,this.Ju,this,p);this.SW=new g(this,"buttonStop",m.uc);this.SW.bind(c.U,this.as,this,p);this.U9=new g(this,
"buttonRestart",m.uc);this.U9.bind(c.U,this.$r,this,p);this.zZ=a.Wn(this.eja,this);this.zZ()});l.prototype.set=function(a,b){a!="state"&&j.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){switch(a){case "state":return this.k}return j.prototype.get.call(this,a,b)};l.prototype.eja=function(){if(this.fQ){this.fQ=z;this.OW.set("state",this.k==h.Gc?f.sa:f.nc);this.PW.set("state",this.k==h.T||this.k==h.Gc?f.sa:f.nc);this.xK.set("pressed",this.k==h.T);this.SW.set("state",this.k==h.L?f.sa:f.nc)}};
l.prototype.iv=function(a){if(this.ll!=a)(this.ll=a)||this.nb(h.L)};l.prototype.nb=function(a){var b=this.k;this.k=a;j.prototype.set.call(this,"state",a);if(b!=this.k){this.fQ=p;this.zZ();this.trigger(new e(l.hd,{oldState:b,state:this.k}))}};l.prototype.Iu=function(){this.ll&&(this.k==h.Gc?this.lg():this.lk())};l.prototype.Ju=function(){this.ll&&this.lg()};l.prototype.Dea=function(){this.ll&&this.lg()};l.prototype.Eea=function(){this.ll&&this.lk()};l.prototype.as=function(){this.ll&&this.Vi()};l.prototype.$r=
function(){if(this.ll){this.Vi();this.lg()}};l.prototype.lg=D();l.prototype.lk=D();l.prototype.Vi=D();l.hd="stateChange";return l});define("gm",[],function(){return{vq:"constrained",z7:"free_drag",fpa:"free_drag_and_rotation",xJ:"sync_with_field_of_view"}});
define("gI",["hb","gm","hA"],function(a,b,c){function e(){this.Y=p;this.aa=this.$=0.5;this.ob=0;this.ka=1;this.Dc=c.fe;this.Gh=b.vq;this.ON=this.RN=1;this.ec=this.fc=this.vh=this.wh=100;this.Sh=e.Rq}e.prototype.p5=function(){return this.Sh!==e.Rq};e.prototype.o5=function(){return this.Sh&e.Dt?p:z};e.prototype.q5=function(){return this.Sh&e.Et?p:z};e.prototype.r5=function(){return this.Sh&e.Uq?p:z};e.prototype.n5=function(){return this.Sh&e.Qq?p:z};e.prototype.eh=function(){this.Zh();return this.$};
e.prototype.fh=function(){this.Zh();return this.aa};e.prototype.Ek=function(){this.Zh();return this.ka};e.prototype.Rv=function(){this.Zh();return this.ob};e.prototype.EB=function(a,b,c,e,h){this.fc=a;this.ec=b;this.Dc=c;this.RN=e;this.ON=h;this.aa=this.$=0.5;this.ob=0;this.ka=e;this.Y=p};e.prototype.Oa=function(a,b,c,e){this.$=a;this.aa=b;this.ob=c;this.ka=e;this.Y=p};e.prototype.Hk=function(a){this.Gh=a;this.Y=p};e.prototype.setSize=function(a,b){this.wh=a;this.vh=b;this.Y=p};e.prototype.Zh=function(){if(this.Y){this.Y=
z;var a=e.Rq;this.ka>this.ON?(this.ka=this.ON,a|=e.B8):this.ka<this.RN&&(this.ka=this.RN,a|=e.C8);var g,j,k,h;if(this.Gh==b.vq){switch(this.Dc){case c.NONE:j=this.fc;h=this.ec;break;case c.Aj:j=this.wh;h=this.ec*this.wh/this.fc;break;case c.ag:j=this.fc*this.vh/this.ec;h=this.vh;break;case c.Ok:this.fc*this.vh>this.ec*this.wh?(j=this.fc*this.vh/this.ec,h=this.vh):(j=this.wh,h=this.ec*this.wh/this.fc);break;default:case c.fe:this.fc*this.vh>this.ec*this.wh?(j=this.wh,h=this.ec*this.wh/this.fc):(j=
this.fc*this.vh/this.ec,h=this.vh)}j*=this.ka;h*=this.ka;g=Math.min(0.5*this.wh/j,0.5);j=Math.max(1-0.5*this.wh/j,0.5);k=Math.min(0.5*this.vh/h,0.5);h=Math.max(1-0.5*this.vh/h,0.5)}else g=0,j=1,k=0,h=1;this.$<g?(this.$=g,a|=e.Dt):this.$>j&&(this.$=j,a|=e.Et);this.aa<k?(this.aa=k,a|=e.Uq):this.aa>h&&(this.aa=h,a|=e.Qq);if((this.Gh==b.vq||this.Gh==b.z7)&&0!=this.ob)this.ob=0,a|=e.G8;this.Sh=a}};e.Rq=0;e.Dt=1;e.Et=2;e.Uq=4;e.Qq=8;e.C8=16;e.B8=32;e.G8=64;return e});
define("dV",[],function(){function a(){this.Sx=0.1;this.sD=this.nL=this.rL=this.qL=this.yL=this.mL=this.wL=this.vL=this.NA=this.AR=this.Vq=this.aK=this.LA=this.xR=this.JA=this.vR=0}a.prototype.RH=N("Sx");a.prototype.J6=function(a,c,e,d,g,j,k,h){this.vR=a;this.xR=c;this.aK=e;this.AR=d;this.JA+=g;this.LA+=j;this.Vq+=k;this.NA+=h};a.prototype.Zc=function(){return 0!=this.vL||0!=this.wL||0!=this.mL||0!=this.yL||0!=this.vR||0!=this.xR||0!=this.aK||0!=this.AR||0!=this.JA||0!=this.LA||0!=this.Vq||0!=this.NA};
a.prototype.Ua=function(a){a=1E3/a;this.qL=this.zD(this.vL/a,this.vR/a+this.JA,this.Sx);this.rL=this.zD(this.wL/a,this.xR/a+this.LA,this.Sx);this.nL=this.zD(this.mL/a,this.aK/a+this.Vq,this.Sx);this.sD=this.zD(this.yL/a,this.AR/a+this.NA,this.Sx);this.vL=this.qL*a;this.wL=this.rL*a;this.mL=this.nL*a;this.yL=this.sD*a;this.NA=this.Vq=this.LA=this.JA=0};a.prototype.zD=function(a,c,e){return 0==c?this.je(a,c,e):c};a.prototype.je=function(a,c,e){a=(c-a)*(1-e);0.01>Math.abs(a)&&(a=0);return c-a};return a});
define("ea",["hb","jd","bI","dT","hA"],function(a,b,c,e){var d=a.extend(e,function(){e.call(this);this.du=7;this.LE=this.oN=z;this.NE=n;this.ob=0;this.ka=1;this.ec=this.fc=100;this.pE=1;this.RO=p;this.SO=z;this.Fja=p;this.zR=z;this.Aa=q});d.prototype.FB=N("du");d.prototype.Qd=function(a,b,c,d){this.ob=a;this.ka=b;this.fc=c;this.ec=d};d.prototype.goa=function(a){this.RO=a;this.$F(this.RO&&!!this.Aa)};d.prototype.DB=function(a){this.Aa!=a&&(this.$F(z),this.RP(z),this.Kl(),this.Aa=a,this.$F(this.RO&&
!!this.Aa),this.RP(this.Fja&&!!this.Aa))};d.prototype.Kl=function(){this.$F(z);this.RP(z);this.Aa=q};d.prototype.$F=function(a){this.SO!=a&&((this.SO=a)?this.G9():this.Gia())};d.prototype.RP=function(a){this.zR!=a&&((this.zR=a)?this.H9():this.Hia())};d.prototype.G9=function(){this.Aa.bind(b.pb,this.Jb,this,p);this.Aa.bind(b.tc,this.Fh,this,p);this.Aa.bind(b.Hb,this.Lf,this,p)};d.prototype.Gia=function(){this.Aa.unbind(b.pb,this.Jb,this);this.Aa.unbind(b.tc,this.Fh,this);this.Aa.unbind(b.Hb,this.Lf,
this)};d.prototype.H9=function(){this.Aa.bind(b.Lq,this.Tr,this,p);this.Aa.bind(b.yt,this.Er,this,p)};d.prototype.Hia=function(){this.Aa.unbind(b.Lq,this.Tr,this);this.Aa.unbind(b.yt,this.Er,this)};d.prototype.Jb=function(a){this.Hha(a)};d.prototype.Fh=function(a){this.y3(a)};d.prototype.Lf=function(){this.dM()};d.prototype.Tr=function(a){this.$Q(a)};d.prototype.Er=function(a){this.aR(a)};d.prototype.Hha=function(a){this.oN=p;this.LE=z;this.NE=a;this.y3(a)};d.prototype.y3=function(a){if(this.oN){var b=
a.pageX-this.NE.pageX,e=a.pageY-this.NE.pageY;this.LE||(Math.sqrt(b*b+e*e)>this.du?this.LE=p:b=e=0);this.LE&&(this.NE=a);a=this.ob*Math.PI/180;this.trigger(new c(d.wj,{xDelta:-((b*Math.cos(a)+e*Math.sin(a))/this.fc),yDelta:-((e*Math.cos(a)-b*Math.sin(a))/this.ec)}))}};d.prototype.dM=function(){this.oN=z};d.prototype.aR=function(a){if(this.pE!=a.scale){this.dM();var b=this.pE;this.pE=a.scale;this.trigger(new c(d.zj,{zoomDelta:this.ka*this.pE/b-this.ka}))}};d.prototype.$Q=function(a){0!=a.In&&(this.dM(),
this.trigger(new c(d.zj,{zoomDelta:0.1*this.ka*a.OR})))};d.wj="position change";d.zj="zoom change";d.xpa="vieport navigation";d.wpa="relative navigation";d.vpa="relative exponential navigation";d.upa="dragging";return d});define("fZ",[],function(){return{rJ:"rotateClockwise",sJ:"rotateCounterClockwise",om:"zoomIn",pm:"zoomOut",td:"stop"}});
define("iw","hb,bI,dT,hA,dV,ea,fZ,jd".split(","),function(a,b,c,e,d,g,j){var k=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.bl=this.CF=this.Z=z;this.aa=this.$=0.5;this.ob=0;this.ka=1;this.ec=this.fc=100;this.Dc=e.vq;this.gb=new d;this.Da=new g;if(this.g.Ci){this.Da.FB(k.OJ);this.gb.RH(k.PJ)}else{this.Da.FB(0);this.gb.RH(1)}this.Da.bind(g.wj,this.vea,this,p);this.Da.bind(g.zj,this.jp,this,p)});k.prototype.clear=function(){this.Da.unbind(g.wj,this.Pqa,this,p);this.Da.unbind(g.zj,this.jp,
this,p);this.Da.Kl();this.g=this.H=this.gb=this.Da=q};k.prototype.vg=function(a){switch(a){case j.rJ:this.mb(0,0,+k.JJ,0,0,0,0,0);break;case j.sJ:this.mb(0,0,-k.JJ,0,0,0,0,0);break;case j.om:this.mb(0,0,0,+k.Zw,0,0,0,0);break;case j.pm:this.mb(0,0,0,-k.Zw,0,0,0,0);break;case j.td:this.mb(0,0,0,0,0,0,0,0)}};k.prototype.Oa=function(a,b,c,d,e,g){this.$=a;this.aa=b;this.ob=c;this.ka=d;this.fc=e;this.ec=g;this.Da.Qd(this.ob,this.ka,this.fc,this.ec)};k.prototype.Zc=function(){return this.Z&&this.gb.Zc()};
k.prototype.Ua=function(a){this.gb.Ua(a);this.H.Oa(this.$+this.gb.qL,this.aa+this.gb.rL,this.ob+this.gb.nL,this.ka+this.gb.sD);this.$=this.H.eh();this.aa=this.H.fh();this.ob=this.H.Rv();this.ka=this.H.Ek()};k.prototype.JB=function(a){this.bl=a;this.Da.goa(!this.bl)};k.prototype.re=function(a){(this.Z=a)?this.Da.DB(this.g.getParent()):this.Da.Kl()};k.prototype.vea=function(a){this.mb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};k.prototype.jp=function(a){this.mb(0,0,0,0,0,0,0,a.data.zoomDelta)};k.prototype.mb=
function(a,b,c,d,e,g,k,j){this.gb.J6(a,b,c,d,e,g,k,j);this.Uf()};k.prototype.Uf=function(){this.trigger(new b(k.Zf))};k.Zf="position change request";k.OJ=7;k.PJ=0.2;k.Zw=0.5;k.JJ=30;return k});
define("hV","hb,bI,dT,iS,bh,dV,ea,fZ,jd".split(","),function(a,b,c,e,d,g,j,k){var h=a.extend(c,function(a,b){c.call(this);this.g=a;this.H=b;this.Z=z;this.aa=this.$=0.5;this.ob=0;this.ka=1;this.ec=this.fc=100;this.J=q;this.YL=p;this.lb=q;this.hF=0;this.xl=this.Bn=this.An=n;this.gb=new g;this.Da=new j;if(this.g.Ci){this.Da.FB(h.OJ);this.gb.RH(h.PJ)}else{this.Da.FB(0);this.gb.RH(1)}this.Da.bind(j.zj,this.jp,this,p)});h.prototype.Sna=function(a,b){this.fc=a;this.ec=b;this.JG()};h.prototype.ao=function(a){if(this.lb!=
a){this.lb=a;this.hF=n;this.JG()}};h.prototype.mj=function(a,b){if(this.lb==a){this.hF=b;this.JG()}};h.prototype.JG=function(){var a,b,c;if(this.lb&&this.hF!=n){a=this.lb.get("x",0)/this.fc;b=this.lb.get("y",0)/this.ec;c=-(this.hF+this.lb.get("angle",0))}else c=b=a=n;if(this.xl!=c){this.xl=c;this.Uf()}if(this.An!=a||this.Bn!=b){this.An=a;this.Bn=b;this.hda();this.Uf()}};h.prototype.hda=function(){this.YL=p;this.Uf()};h.prototype.oA=function(){if(this.YL||this.J&&this.J.Cd()){this.YL=z;this.J=q;if(this.An!=
n&&this.Bn!=n&&this.xl!=n){for(var a=this.xl-this.ob;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.$!=this.An||this.aa!=this.Bn)this.J=new e("quad_in_out",[new d("x",this.$,this.An,1),new d("y",this.aa,this.Bn,1),new d("angleDif",a,a,360)],500);else if(this.xl!=this.ob)this.J=new e("quad_in_out",[new d("x",this.$,this.$,1),new d("y",this.aa,this.aa,1),new d("angleDif",a,0,360)],500)}}};h.prototype.clear=function(){this.Da.unbind(j.zj,this.jp,this,p);this.Da.Kl();this.g=this.H=this.J=this.gb=this.Da=
q};h.prototype.vg=function(a){switch(a){case k.om:this.mb(+h.Zw,0);break;case k.pm:this.mb(-h.Zw,0);break;case k.td:this.mb(0,0)}};h.prototype.Oa=function(a,b,c,d,e,g){this.$=a;this.aa=b;this.ob=c;this.ka=d;this.Da.Qd(this.ob,this.ka,e,g)};h.prototype.Zc=function(){return this.Z&&(this.J||this.gb.Zc()||this.An!=n&&this.$!=this.An||this.Bn!=n&&this.aa!=this.Bn||this.xl!=n&&this.ob!=this.xl)?p:z};h.prototype.Ua=function(a){this.oA();if(this.J){this.J.Ua(a);this.$=this.J.ab("x");this.aa=this.J.ab("y");
this.ob=this.xl-this.J.ab("angleDif")}else{if(this.An!=n)this.$=this.An;if(this.Bn!=n)this.aa=this.Bn;if(this.xl!=n)this.ob=this.xl}this.gb.Ua(a);this.H.Oa(this.$,this.aa,this.ob,this.ka+this.gb.sD);this.$=this.H.eh();this.aa=this.H.fh();this.ob=this.H.Rv();this.ka=this.H.Ek()};h.prototype.re=function(a){if(this.Z=a){this.Da.DB(this.g.getParent());this.JG()}else this.Da.Kl()};h.prototype.jp=function(a){this.mb(0,a.data.zoomDelta)};h.prototype.mb=function(a,b){this.gb.J6(0,0,0,a,0,0,0,b);this.Uf()};
h.prototype.Uf=function(){this.trigger(new b(h.Zf))};h.Zf="position change request";h.OJ=7;h.PJ=0.2;h.Zw=0.5;h.JJ=30;return h});
define("iJ","hb,bI,dT,gm,hA,gI,iw,hV,jd".split(","),function(a,b,c,e,d,g,j,k,h){var m=a.extend(c,function(a){c.call(this);this.g=a;this.g.bind(h.qb,this.hb,this);this.Gh=e.vq;this.lb=q;this.aa=this.$=0.5;this.ob=0;this.ka=1;this.ma=q;this.QF=this.PF=this.Hl=this.Gl=z;this.Vh=p;this.Z=z;this.H=new g;this.H.Hk(this.Gh);this.La=new j(this.g,this.H);this.La.bind(j.Zf,this.nn,this,p);this.ff=new k(this.g,this.H);this.ff.bind(k.Zf,this.nn,this,p);this.EF()});m.prototype.clear=function(){this.La.unbind(j.Zf,
this.nn,this);this.La.clear();this.La=q;this.ff.unbind(k.Zf,this.nn,this);this.ff.clear();this.ma=this.H=this.ff=q;this.g.unbind(h.qb,this.hb,this);this.g=q};m.prototype.stop=function(){this.Qb=this.ma=q;this.Z=z;this.La.re(z);this.ff.re(z);this.zn(0,0,0,0)};m.prototype.start=function(a){var b=a.ma,c=b.get("width",100),e=b.get("height",100),g=b.get("scaleMode",d.fe),h=b.get("minimumZoomFactor",1),k=b.get("maximumZoomFactor",1),j=b.get("initialZoomFactor",1);this.ma=b;this.Z=p;this.Qb=a.getItem();
this.zn(0,0,0,0);this.ff.Sna(c,e);this.H.EB(c,e,g,h,k);this.H.Oa(0.5,0.5,0,j);this.g.KB(this.Qb,this.H.eh(),this.H.fh(),this.H.Rv(),this.H.Ek());this.EF()};m.prototype.vg=function(a){this.La.vg(a);this.ff.vg(a)};m.prototype.Hk=function(a){if(this.Gh!=a){this.Gh=a;this.H.Hk(a);this.EF()}};m.prototype.ao=function(a){if(this.lb!=a){this.lb=a;this.ff.ao(a);this.EF()}};m.prototype.JB=function(a){this.La&&this.La.JB(a)};m.prototype.mj=function(a,b,c,d){this.ff.mj(a,b,c,d)};m.prototype.Xn=function(a){if(this.Z)if(this.ff.Zc()){this.ff.Ua(a);
this.Th(this.ff.$,this.ff.aa,this.ff.ob,this.ff.ka);this.fa()}else if(this.La.Zc()){this.La.Ua(a);this.Th(this.La.$,this.La.aa,this.La.ob,this.La.ka);this.fa()}else this.zn(0,0,0,0)};m.prototype.Zb=function(){if(this.Qb){var a=this.g.jB(this.Qb),b=this.g.kB(this.Qb),c=this.g.nH(this.Qb),d=this.g.L4(this.Qb),e=this.g.iB(this.Qb),g=this.g.hB(this.Qb),h=a-this.$,k=b-this.aa,j=c-this.ob,m=d-this.ka;this.$=a;this.aa=b;this.ob=c;this.ka=d;this.zn(h,k,j,m);this.ff.Oa(a,b,c,d,e,g);this.La.Oa(a,b,c,d,e,g)}};
m.prototype.EF=function(){if(this.Gh==e.xJ&&this.lb!=q&&this.lb.get("map")==this.ma){this.La.re(z);this.ff.re(p)}else{this.La.re(p);this.ff.re(z)}};m.prototype.nn=function(){this.fa()};m.prototype.hb=function(){this.H.setSize(this.g.ya(),this.g.$a());this.fa()};m.prototype.fa=function(){this.trigger(new b(m.ra))};m.prototype.Th=function(a,b,c,d){this.g.KB(this.Qb,a,b,c,d)};m.prototype.zn=function(a,c,d,e){a=z;if(this.Hl!=e<0){this.Hl=!this.Hl;a=p}if(this.Gl!=e>0){this.Gl=!this.Gl;a=p}if(this.PF!=
this.Vq>0){this.PF=!this.PF;a=p}if(this.QF!=this.Vq<0){this.QF=!this.QF;a=p}if(this.Vh!=(e==0)){this.Vh=!this.Vh;a=p}a&&this.trigger(new b(m.Yf,{rotatingClockwise:this.PF,rotatingCounterClockwise:this.QF,zoomingIn:this.Gl,zoomingOut:this.Hl,stopped:this.Vh}))};m.ra="request frame";m.Yf="movement change";return m});
define("ej",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(a,b,g){c.call(this);a!==n&&this.set("yaw",a);b!==n&&this.set("pitch",b);g!==n&&this.set("hfov",g)});a.A("RotationalCameraPosition",b).B("Object").K({stereographicFactor:"number",yaw:"number",pitch:"number",hfov:"number"});return b});
define("bM",["require","hb","ej","di"],function(a){var b=a("hb"),c=a("ej"),a=a("di"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraPosition",b).B("RotationalCameraPosition");return b});
define("gd","hb,bI,dT,bM,hA,gI,jd".split(","),function(a,b,c,e,d,g){var j=a.extend(c,function(a,b){c.call(this);this.F=a;this.g=b;this.H=new g;this.Ee=[];this.V=j.ti;this.Ue=this.ze=q;this.Yi=this.F.get("transitionDuration");this.Xh=n});j.prototype.Hk=function(a){this.H.Hk(a)};j.prototype.YA=function(a){a.rB()&&this.LK();this.Ee.push(a);this.UE()};j.prototype.hide=function(){this.LK();this.Ee.push(q);this.UE()};j.prototype.clear=function(){this.V=j.ti;this.LK();this.Mfa();this.lP();this.g=q};j.prototype.Zb=
function(a){if(this.V!=j.ti&&(this.V==j.rm||this.V==j.cx)){this.Xh=this.Xh+a;a=Math.min(1,this.Xh/this.Yi);this.V==j.rm?this.g.tg(this.ze.getItem(),a):this.g.tg(this.Ue.getItem(),1-a);this.Xh<this.Yi?this.fa():this.V==j.rm?this.bM():this.cM()}};j.prototype.UE=function(){if(this.V==j.ti){for(;this.Ee.length>0&&this.i9(this.Ee[0],this.Ue);)this.Ee.shift();this.Ee.length>0&&this.so()}};j.prototype.i9=function(a,b){return a==b||!!a&&!!b&&a.isEqual(b)};j.prototype.so=function(){this.Ue&&(!this.Ee[0]||
this.Ee[0].rB())&&this.trigger(new b(j.yq,{map:this.Ue.ma}));if(this.F.get("transitionMode","blending")=="fade_out_fade_in"&&this.Ue&&this.Ee[0].rB())this.ox();else(this.ze=this.Ee.shift())?this.rK():this.Ue&&this.ox()};j.prototype.rK=function(){this.Q8();this.ze.rB()&&this.uga();this.Xh=0;this.V=j.rm;this.fa()};j.prototype.bM=function(){this.lP();this.Ue=this.ze;this.ze=q;this.zr()};j.prototype.ox=function(){this.Xh=0;this.V=j.cx;this.fa()};j.prototype.cM=function(){this.lP();this.Ue=q;this.zr()};
j.prototype.zr=function(){this.V=j.ti;this.Ue&&this.Ue.rB()&&this.trigger(new b(j.zq,{map:this.Ue.ma}));this.Ee.length==0?this.Ue&&this.trigger(new b(j.JI,{level:this.Ue})):this.so()};j.prototype.uga=function(){var a=this.ze.ma;this.ze.$v();this.H.EB(a.get("width",100),a.get("height",100),a.get("scaleMode",d.fe),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.H.Oa(0.5,0.5,0,a.get("initialZoomFactor",1));this.g.KB(this.ze.getItem(),this.H.eh(),this.H.fh(),this.H.Rv(),this.H.Ek())};
j.prototype.fa=function(){this.trigger(new b(j.ra))};j.prototype.LK=function(){for(;this.Ee.length>0;){var a=this.Ee.shift();a&&this.g.li(a.getItem())}};j.prototype.Q8=function(){if(this.ze){this.g.PA(this.ze.getItem());this.g.QA(this.ze.getItem());this.g.tg(this.ze.getItem(),0);this.trigger(new b(j.II,{level:this.ze}))}};j.prototype.lP=function(){if(this.Ue){this.g.removeItem(this.Ue.getItem());this.trigger(new b(j.iC,{level:this.Ue}));this.g.li(this.Ue.getItem());this.Ue=q}};j.prototype.Mfa=function(){if(this.ze){this.g.removeItem(this.ze.getItem());
this.trigger(new b(j.iC,{level:this.ze}));this.g.li(this.ze.getItem());this.ze=q}};j.ti="stopped";j.rm="blending";j.cx="disolving";j.ra="request frame";j.II="level added";j.iC="level removed";j.JI="level fully displayed";j.zq="map show";j.yq="map hide";return j});
define("gS",[],function(){function a(a,c){this.ma=a;this.Ya=a.get("image");this.gf=c;this.mN=n}a.prototype.getItem=function(){switch(this.gf){case a.wC:return this.ma.V4();default:return this.ma.Oc()}};a.prototype.$v=function(){switch(this.gf){case a.wC:return this.ma.Ys();default:return this.ma.Ck()}};a.prototype.rB=function(){return this.mN===n?0==this.H4():this.mN};a.prototype.Cna=N("mN");a.prototype.sB=function(){return this.gf==a.vU};a.prototype.isEqual=function(a){return a&&this.ma==a.map&&
this.gf==a.type};a.prototype.H4=function(){return this.gf==a.wC||this.ma.fw()?0:1};a.prototype.C4=function(){return this.ma.fw()?2:1};a.wC="preload";a.vU="load";return a});
define("fy","require,hb,bI,dT,jd,gS,r".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("dT"),d=a("jd"),g=a("gS"),j=a("r"),k=b.extend(e,function(a){e.call(this);this.g=a;this.Ee=[];this.Nx=this.Qr=this.Wd=q;this.Lr=z;this.qE=q});k.prototype.clear=function(){this.stop();this.g=q};k.prototype.kma=function(a){if(this.qE!=a){this.stop();a.fw()&&j.Wa()&&this.Ee.push(new g(a,g.wC));this.Ee.push(new g(a,g.vU));this.UE()}};k.prototype.stop=function(){this.qE=q;this.Ee=[];this.H2();if(this.Lr){this.Lr=z;
this.zQ();this.g.li(this.Wd.getItem());this.Wd=q;this.trigger(new c(k.jC))}};k.prototype.UE=function(){this.Lr||this.JN()};k.prototype.JN=function(){if(this.Ee.length>0){this.Wd=this.Ee.shift();if(!this.Lr){this.Lr=p;this.trigger(new c(k.hC,{level:this.Wd,percent:0}))}this.B9();this.g.Tn(this.Wd.getItem());this.g.JT(this.Wd.getItem())&&this.aO()}else if(this.Lr){this.Lr=z;this.trigger(new c(k.jC))}};k.prototype.aO=function(){this.zQ();this.Bha();this.Wd=q;this.JN()};k.prototype.Bha=function(){this.H2();
this.Qr=this.Wd;var a=this;this.Nx=setTimeout(function(){a.Nx=q;a.gea()},500)};k.prototype.gea=function(){var a=this.Qr.ma;this.Qr.Cna(a!=this.qE);this.qE=a;this.trigger(new c(k.KI,{level:this.Qr}));this.Qr=q};k.prototype.H2=function(){if(this.Nx!=q){clearTimeout(this.Nx);this.Nx=q;this.g.li(this.Qr.getItem());this.Qr=q}};k.prototype.z_=function(){this.zQ();this.Wd=q;this.JN()};k.prototype.A_=function(a){this.trigger(new c(k.hC,{level:this.Wd,percent:a.ih}))};k.prototype.B9=function(){var a=this.Wd.getItem();
a.bind(d.O,this.aO,this);a.bind(d.jd,this.z_,this);a.bind(d.bc,this.A_,this)};k.prototype.zQ=function(){var a=this.Wd.getItem();a.unbind(d.O,this.aO,this);a.unbind(d.jd,this.z_,this);a.unbind(d.bc,this.A_,this)};k.hC="level loading progress";k.KI="level loaded";k.jC="load stopped";return k});
define("bO",["require"],function(){function a(a,c){this.x=a;this.y=c}a.prototype.rotate=function(a){var c=Math.cos(a),a=Math.sin(a),e=this.x*a+this.y*c;this.x=this.x*c-this.y*a;this.y=e;return this};a.prototype.translate=function(a,c){this.x+=a;this.y+=c;return this};a.prototype.scale=function(a,c){this.x*=a;this.y*=c;return this};return a});
define("hP",["require","hA","W"],function(a){function b(a,b,j){this.Ge=a;this.x2=b;this.w2=j;this.Dc=c.jm;this.Jg=e.sc;this.Yg=e.ac}var c=a("hA"),e=a("W");b.prototype.mq=N("Dc");b.prototype.xw=N("Jg");b.prototype.zw=N("Yg");b.prototype.Pv=function(a,b,j){var k=this.x2,h=this.w2,m,f;switch(this.Dc){case c.NONE:f=m=1;break;case c.fe:m=f=Math.min(b/k,j/h);break;case c.Ok:m=f=Math.max(b/k,j/h);break;case c.Aj:m=f=b/k;break;case c.ag:m=f=j/h;break;default:m=b/k,f=j/h}var l=b/m;m=Math.min(this.x2*m,b);
l=Math.min(l,k);switch(this.Jg){case e.qa:sX=tX=0;break;case e.Pa:tX=b-m;sX=k-l;break;default:tX=0.5*(b-m),sX=0.5*(k-l)}b=j/f;f=Math.min(this.w2*f,j);b=Math.min(b,h);switch(this.Yg){case e.cb:h=j=0;break;case e.bb:j-=f;h-=b;break;default:j=0.5*(j-f),h=0.5*(h-b)}a.drawImage(this.Ge,Math.round(sX),Math.round(h),Math.round(l+sX-Math.round(sX)),Math.round(b+h-Math.round(h)),Math.round(tX),Math.round(j),Math.round(m+tX-Math.round(tX)),Math.round(f+j-Math.round(j)))};return b});
define("hF","require,jd,eU,bO,gE,hP".split(","),function(a){function b(a,b,d,f){this.g=a;this.ma=b;this.fc=this.ma.get("width");this.ec=this.ma.get("height");this.Qb=this.ma.Oc();this.lZ=d;this.Bi=f;this.Ir=q;if(this.Bi){this.cv=this.lZ.cv;this.R=this.Bi.get("width");this.ba=this.Bi.get("height");this.$=this.Bi.get("x",0);this.aa=this.Bi.get("y",0);this.Vr=this.Bi.get("offsetX",0);this.Wr=this.Bi.get("offsetY",0);if(this.$m=this.Bi.Ck()){this.Be=new g(e.Rk);this.Be.load(this.$m.get("url"));this.Be.bind(c.O,
this.U_,this)}}else this.Be=q}var c=a("jd"),e=a("eU"),d=a("bO"),g=a("gE"),j=a("hP");b.prototype.clear=function(){this.Bi=this.lZ=this.Qb=this.ma=this.g=q;if(this.Be){this.Be.unbind(c.O,this.U_,this);this.Be.cancel();this.Be=q}this.Ir=q};b.prototype.M4=function(a,b){this.mZ=n;if(this.Ir&&a!=n&&b!=n){var c=this.g.ya()*0.5,f=this.g.$a()*0.5,e=this.g.nH(this.Qb)*Math.PI/180,g=this.g.iB(this.Qb),j=this.g.hB(this.Qb),s=this.g.jB(this.Qb),t=this.g.kB(this.Qb),u=new d(a,b);u.translate(-c,-f);u.rotate(-e);
u.scale(1/g,1/j);u.translate(s,t);u.scale(this.fc,this.ec);u.translate(-this.$,-this.aa);if(!this.cv){u.rotate(e);u.scale(g/this.fc,j/this.ec)}u.translate(this.Vr,this.Wr);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.Ir.width&&u>=0&&u<this.Ir.height){u=(this.Ir.width*u+c)*4;c=this.Ir.data;this.mZ=c[u+3]>0?"#"+this.AK(c[u+0])+this.AK(c[u+1])+this.AK(c[u+2]):"transparent"}}return this.mZ};b.prototype.U_=function(){var a=new j(this.Be.Bd(),this.$m.get("width"),this.$m.get("height"));a.mq(this.Bi.get("scaleMode"));
a.xw(this.Bi.get("horizontalAlign"));a.zw(this.Bi.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.R);b.height=Math.round(this.ba);var c=b.getContext("2d");a.Pv(c,b.width,b.height);this.Ir=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.AK=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
define("gQ","require,cI,hb,jd,bI,dT,iC,hF,N,iS,bh".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),j=a("iC"),k=a("hF"),h=a("N"),m=a("iS"),f=a("bh"),l=c.extend(g,function(a,b,c){g.call(this);this.g=a;this.ma=b;this.ib=c;this.G=this.ib.getItem();this.sk=this.ib.W4();this.uk=this.ib.Y4();this.Um=this.Tm=n;this.F=this.g.getParent();this.F.bind(e.tc,this.Jh,this);this.F.bind(e.mf,this.Wy,this);this.F.bind(e.pb,this.ip,this);this.F.bind(e.Hb,this.Xy,this);c.bind(e.ga("selected"),
this.j0,this);c.bind(e.ga("enabled"),this.iea,this);this.yE=new k(this.g,this.ma,this.ib,this.ib.get("map",q));this.AE=new k(this.g,this.ma,this.ib,this.ib.get("rollOverMap",this.ib.get("map",q)));this.BE=new k(this.g,this.ma,this.ib,this.ib.get("selectedMap",this.ib.get("rollOverMap",this.ib.get("map",q))));this.VD=new k(this.g,this.ma,this.ib,this.ib.get("image",q));this.WD=new k(this.g,this.ma,this.ib,this.ib.get("rollOverImage",this.ib.get("image",q)));this.XD=new k(this.g,this.ma,this.ib,this.ib.get("selectedImage",
this.ib.get("rollOverImage",this.ib.get("image",q))));this.hc=this.gc=n;this.xv=q;this.um=[];this.jx=[];this.xe={};this.VZ=[];this.NM=z;this.Zi=this.ib.get("useHandCursor")==p;this.J=q;this.pv=n;this.WF=this.NF=this.kE=0;a=this.ib.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],d=c.get("mapColor");if(d){d=d.toLowerCase();if(this.xe[d]===n){this.xe[d]=[];this.VZ.push(d)}this.xe[d].push(c)}}if(this.G){this.g.SG(this.ma.Oc(),this.G);this.g.tg(this.G,this.kE)}if(this.sk){this.g.SG(this.ma.Oc(),this.sk);
this.g.tg(this.sk,this.NF)}if(this.uk){this.g.SG(this.ma.Oc(),this.uk);this.g.tg(this.uk,this.WF)}this.Mz("none");this.JQ();this.a2(z);this.b2(this.ib.get("selected"))});l.prototype.clear=function(){this.F.unbind(e.tc,this.Jh,this);this.F.unbind(e.mf,this.Wy,this);this.F.unbind(e.pb,this.ip,this);this.F.unbind(e.Hb,this.Xy,this);this.F=q;this.yE&&this.yE.clear();this.yE=q;this.AE&&this.AE.clear();this.AE=q;this.BE&&this.BE.clear();this.BE=q;this.VD&&this.VD.clear();this.VD=q;this.WD&&this.WD.clear();
this.WD=q;this.XD&&this.XD.clear();this.XD=q;this.um=[];this.Tm=z;this.JQ();this.jx=[];this.xe={};this.K2();this.xA();this.ma=this.g=q;this.ib.unbind(e.ga("selected"),this.j0,this);this.uk=this.sk=this.G=this.ib=q};l.prototype.match=function(a){return this.ib==a};l.prototype.Zb=function(a){this.tu(z);if(this.J){this.J.Ua(a);this.kE=this.J.ab("itemAlpha");this.NF=this.J.ab("rollOverItemAlpha");this.WF=this.J.ab("selectedItemAlpha");this.G&&this.g.tg(this.G,this.kE);this.sk&&this.g.tg(this.sk,this.NF);
this.uk&&this.g.tg(this.uk,this.WF);this.J.Cd()?this.J=q:this.fa()}};l.prototype.ip=function(a){this.gc=a.x-this.F.dh();this.hc=a.y-this.F.Rl();this.tu(p);this.jx=this.um.slice()};l.prototype.Jh=function(a){this.gc=a.x-this.F.dh();this.hc=a.y-this.F.Rl();this.tu(p)};l.prototype.Xy=function(a){this.gc=a.x-this.F.dh();this.hc=a.y-this.F.Rl();this.tu(p);a=b.intersection(this.jx,this.um);this.jx=[];this.yQ(a,"click")};l.prototype.Wy=function(){this.hc=this.gc=n;this.tu(p);this.jx=this.um.slice()};l.prototype.j0=
function(){this.b2(this.ib.get("selected"))};l.prototype.iea=function(){this.tu(p);this.Nd();this.fa()};l.prototype.tu=function(a){this.yZ=p;a?this.wv():this.sda()||this.Oha()};l.prototype.Oha=function(){this.K2();var a=this;this.xv=setTimeout(function(){a.xv=q;a.wv()},200)};l.prototype.sda=function(){return this.xv?p:z};l.prototype.K2=function(){if(this.xv){clearTimeout(this.xv);this.xv=q}};l.prototype.wv=function(){if(this.yZ){this.yZ=z;var a=this.um,c=this.nba();this.um=c;if(!this.F.Ci){this.yQ(b.difference(c,
a),"rollOver");this.a2(c.length>0);this.yQ(b.difference(a,c),"rollOut");this.xA()}}};l.prototype.xA=function(){for(var a="",b=0;b<this.um.length&&!a;b++){var c=this.um[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.oa!=a){this.oa&&this.g.zma(this.oa);(this.oa=a)&&this.g.Gma(this.oa)}};l.prototype.JQ=function(){var a=this.Tm&&(this.Zi||b(this.um).any(function(a){return a.get("useHandCursor")==p}));if(this.NM!=a)(this.NM=a)?this.g.NH(h.Td):this.g.pw(h.Td)};l.prototype.nba=function(){if(this.ib.get("enabled")===
z)return[];var a=[],b=this.Um?this.BE:this.Tm?this.AE:this.yE;if(b)if(b=b.M4(this.gc,this.hc)){this.xe.any&&(a=a.concat(this.xe.any));b=="transparent"&&this.xe.transparent&&(a=a.concat(this.xe.transparent));if(b!="transparent"){a=this.xe[b]?a.concat(this.xe[b]):a.concat(this.xe[j.ana(b,this.VZ,5)]||[]);this.xe.image&&(a=a.concat(this.xe.image))}}if(b=this.Um?this.XD:this.Tm?this.WD:this.VD)if(b=b.M4(this.gc,this.hc)){this.xe.any&&(a=a.concat(this.xe.any));b=="transparent"&&this.xe.transparent&&(a=
a.concat(this.xe.transparent));b!="transparent"&&this.xe.image&&(a=a.concat(this.xe.image))}for(var b=[],c=0;c<a.length;c++){var d=a[c];b.indexOf(d)<0&&b.push(d)}return b};l.prototype.yQ=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new d(b))};l.prototype.a2=function(a){if(this.Tm!=a){this.Tm=a;this.trigger(new d(l.EI));this.Nd();this.JQ();this.fa()}};l.prototype.b2=function(a){if(this.Um!=a){this.Um=a;this.Nd();this.fa()}};l.prototype.Nd=function(){(this.Tm||this.ib.get("rollOverDisplay")!=
p)&&this.ib.get("enabled")!==z?this.Um?this.Mz("selected"):this.Tm?this.Mz("roll over"):this.Mz("visible"):this.Mz("none")};l.prototype.Mz=function(a){if(this.pv!=a){this.pv=a;var c,d;if(b(["selected"]).contains(this.pv)&&this.uk){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.pv)&&this.sk){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.pv)){a=1;d=c=0}else a=d=c=0;var e=this.kE,g=this.NF,h=this.WF,l=this.pv=="none"?"quad_out":"quad_in",k=Math.max(200*Math.abs(a-
e),200*Math.abs(c-g),200*Math.abs(d-h));this.J=new m(l,[new f("itemAlpha",e,a),new f("rollOverItemAlpha",g,c),new f("selectedItemAlpha",h,d)],k)}};l.prototype.fa=function(){this.trigger(new d(l.ra))};l.ra="request frame";l.EI="is over update";return l});define("ib",["hb","gj"],function(a,b){var c=a.extend(b,function(a,c,g,j,k,h,m){b.call(this,b.sV,a,c);this.Zca=g;this.$ca=j;this.$ea=k;this.afa=h;this.Lb=m;this.zA=[]});c.prototype.$s=P("Lb");return c});
define("dz","hb,jd,bI,dT,bO,ib".split(","),function(a,b,c,e,d,g){var j=a.extend(e,function(a,c,d){e.call(this);this.g=a;this.F=this.g.getParent();this.F.bind(b.pb,this.ip,this,p);this.F.bind(b.tc,this.Jh,this,p);this.F.bind(b.mf,this.Wy,this,p);this.ma=c;this.fc=this.ma.get("width");this.ec=this.ma.get("height");this.Dfa=Math.sqrt(this.fc*this.fc+this.ec*this.ec)*this.ma.get("fieldOfViewOverlayRadiusScale",1);this.Qb=this.ma.Oc();this.lb=d;this.Ou=this.lb.get("x",0);this.Pu=this.lb.get("y",0);this.gF=
this.lb.get("angle",0);this.G=this.eaa();this.bl=z;this.ea=0;this.la=Math.PI*0.5;this.Jb=z;this.hc=this.gc=n;this.g.SG(this.ma.Oc(),this.G)});j.prototype.L6=function(a,b){this.ea=a+this.gF-90;this.la=b;this.fa()};j.prototype.clear=function(){this.F.unbind(b.pb,this.ip,this);this.F.unbind(b.tc,this.Jh,this);this.F.unbind(b.mf,this.Wy,this);this.F=q;this.g.Mma(this.ma.Oc(),this.G);this.G=this.lb=this.Qb=this.ma=this.g=q};j.prototype.Zb=function(){this.g.Gna(this.G,this.ea,this.la)};j.prototype.eaa=
function(){return new g(this.Ou,this.Pu,this.ma.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.ma.get("fieldOfViewOverlayInsideOpacity",0),this.ma.get("fieldOfViewOverlayOutsideColor","#000000"),this.ma.get("fieldOfViewOverlayOutsideOpacity",0),this.ma.get("fieldOfViewOverlayRadiusScale",1))};j.prototype.fa=function(){this.trigger(new c(j.ra))};j.prototype.KQ=function(){var a=z;if(this.gc!=n&&this.hc!=n){var b=this.g.ya()*0.5,e=this.g.$a()*0.5,f=this.g.nH(this.Qb)*Math.PI/180,g=this.g.iB(this.Qb),
r=this.g.hB(this.Qb),o=this.g.jB(this.Qb),s=this.g.kB(this.Qb),a=new d(this.gc,this.hc);a.translate(-b,-e);a.rotate(-f);a.scale(1/g,1/r);a.translate(o,s);a.scale(this.fc,this.ec);a.translate(-this.Ou,-this.Pu);a.rotate(-this.ea*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.Dfa&&Math.abs(b)<this.la*0.5}if(this.bl!=a){this.bl=a;this.trigger(new c(j.gJ,{inFOV:this.bl}))}};j.prototype.Kla=P("bl");j.prototype.ip=function(a){this.gc=a.x;this.hc=
a.y;this.Jb=p;this.KQ()};j.prototype.Jh=function(a){if(!this.Jb){this.gc=a.x;this.hc=a.y;this.KQ()}};j.prototype.Wy=function(){this.hc=this.gc=n;this.Jb=z;this.KQ()};j.ra="request frame";j.gJ="mouse in fov change";return j});
define("iW","cI,hb,bI,dT,fi,gQ,dz,N".split(","),function(a,b,c,e,d,g,j,k){var h=b.extend(e,function(a){e.call(this);this.g=a;this.Ey=[];this.Uj=[];this.Bh=[];this.Oi=this.lb=q});h.prototype.clear=function(){for(var a=0;a<this.Uj.length;a++)this.Uj[a].clear();for(a=0;a<this.Bh.length;a++)this.Bh[a].clear();this.g=this.Ey=this.lb=this.Bh=this.Uj=q};h.prototype.YA=function(a){a.sB()&&this.X8(a.ma)};h.prototype.oS=function(a){a.sB()&&this.Tfa(a.ma)};h.prototype.ao=function(a){if(this.lb!=a){this.lb&&
this.u1(this.lb.get("map"));this.lb=a;this.Oi=q;if(this.lb){a=this.lb.get("map");this.nN(a)&&this.jW(a)}}};h.prototype.mj=function(a,b,c,d){this.Oi={yaw:b,pitch:c,hfov:d};for(c=0;c<this.Bh.length;c++){var e=this.Bh[c];if(e.lb==a){e.L6(b,d);break}}};h.prototype.X8=function(a){if(!this.nN(a)){this.Ey.push(a);this.T8(a);this.jW(a)}};h.prototype.Tfa=function(b){if(this.nN(b)){this.Ey=a(this.Ey).without(b);this.Pfa(b);this.u1(b)}};h.prototype.nN=function(b){return a(this.Ey).indexOf(b)>=0};h.prototype.Zb=
function(a){for(var b=0;b<this.Uj.length;b++)this.Uj[b].Zb(a);for(b=0;b<this.Bh.length;b++)this.Bh[b].Zb(a)};h.prototype.T8=function(a){for(var b=a.get("overlays",[]),c=0;c<b.length;c++){var e=b[c];if(e instanceof d){e=new g(this.g,a,e);e.bind(g.ra,this.fa,this,p);e.bind(g.EI,this.fE,this,p);this.Uj.push(e)}}this.fE()};h.prototype.jW=function(a){if(this.lb&&this.lb.get("map")==a&&this.lb.get("visible")!==z){a=new j(this.g,a,this.lb);a.bind(j.ra,this.fa,this,p);a.bind(j.gJ,this.SE,this,p);this.Bh.push(a);
this.Oi&&a.L6(this.Oi.yaw,this.Oi.hfov)}this.SE()};h.prototype.Pfa=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],d=0;d<this.Uj.length;d++){var e=this.Uj[d];if(e.match(c)){e.unbind(g.ra,this.fa,this);e.unbind(g.EI,this.fE,this);e.clear();this.Uj.splice(d,1);break}}this.fE()};h.prototype.u1=function(a){for(var b=0;b<this.Bh.length;b++){var c=this.Bh[b];if(c.ma==a){c.unbind(j.ra,this.fa,this);c.unbind(j.gJ,this.SE,this);c.clear();this.Bh.splice(b,1);break}}this.SE()};h.prototype.fE=
function(){for(var a=z,b=0;b<this.Uj.length&&!a;b++)a=this.Uj[b].Tm;this.g.getParent().set("cursor",a?k.Td:k.nc)};h.prototype.fa=function(){this.trigger(new c(h.ra))};h.prototype.SE=function(){for(var a=z,b=0;b<this.Bh.length;b++)this.Bh[b].Kla()&&(a=p);this.trigger(new c(h.DI,{inFOV:a}))};h.ra="request frame";h.DI="in fov change";return h});
define("w","hb,jd,bI,dT,gm,bO".split(","),function(a,b,c,e,d,g){var j=a.extend(e,function(a){e.call(this);this.g=a;this.F=this.g.getParent();this.F.bind(b.tc,this.Jh,this,p);this.F.bind(b.pb,this.ip,this,p);this.F.bind(b.Hb,this.Xy,this,p);this.ma=q;this.Qb=this.ec=this.fc=n;this.lb=q;this.gF=this.Pu=this.Ou=n;this.bl=z;this.hc=this.gc=this.Gh=n;this.Jb=z;this.ea=0});j.prototype.clear=function(){this.F.unbind(b.tc,this.Jh,this);this.F.unbind(b.pb,this.ip,this);this.F.unbind(b.Hb,this.Xy,this);this.g=
this.lb=this.Qb=this.ma=this.F=q};j.prototype.JB=function(a){this.bl=a;this.GQ()};j.prototype.YA=function(a){a.sB()&&this.e2(a.ma)};j.prototype.oS=function(a){a.sB()&&this.ma==a.ma&&this.e2(q)};j.prototype.e2=function(a){if(this.ma!=a)if(this.ma=a){this.fc=this.ma.get("width");this.ec=this.ma.get("height");this.Qb=this.ma.Oc()}else{this.ec=this.fc=n;this.Qb=q}};j.prototype.ao=function(a){if(this.lb!=a)if(this.lb=a){this.Ou=this.lb.get("x",0);this.Pu=this.lb.get("y",0);this.gF=this.lb.get("angle",
0)}else this.gF=this.Pu=this.Ou=n};j.prototype.mj=function(a,b){if(this.lb==a)this.ea=b};j.prototype.Hk=N("Gh");j.prototype.ip=function(a){this.gc=a.x;this.hc=a.y;this.Jb=p;this.GQ()};j.prototype.Jh=function(a){this.gc=a.x;this.hc=a.y;if(this.UL){a=this.SY();this.trigger(new c(j.$f,{yawDelta:a-this.ob}));this.ob=a}};j.prototype.Xy=function(a){this.gc=a.x;this.hc=a.y;this.Jb=z;this.GQ()};j.prototype.GQ=function(){var a=this.Jb&&this.lb&&this.ma&&(this.Gh==d.xJ||this.bl);if(this.UL!=a)if(this.UL=a)this.ob=
this.SY()};j.prototype.SY=function(){var a=this.g.ya()*0.5,b=this.g.$a()*0.5,c=new g(this.gc,this.hc);c.translate(-a,-b);if(this.Gh==d.xJ)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.nH(this.Qb)*Math.PI/180,b=this.g.iB(this.Qb),f=this.g.hB(this.Qb),e=this.g.jB(this.Qb),j=this.g.kB(this.Qb);c.rotate(-a);c.scale(1/b,1/f);c.translate(e,j);c.scale(this.fc,this.ec);c.translate(-this.Ou,-this.Pu);return Math.atan2(c.y,c.x)*180/Math.PI};j.$f="request yaw change";return j});
define("dg",["hb","bI","dT","R"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.Z=p;this.Pj=z;this.g=a});d.prototype.clear=function(){this.Z=z;this.g=q};d.prototype.za=function(){this.Pj||(this.Pj=p,e.za(this.$e,this))};d.prototype.$e=function(a){this.Z&&(this.Pj=z,this.trigger(new b(d.xj,{frameTime:a})),this.trigger(new b(d.yj,{frameTime:a})),this.g.render())};d.xj="frameStart";d.yj="positionSet";return d});
define("ci","require,hb,jd,bI,dT,iJ,gd,fy,iW,w,dg".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("iJ"),j=a("gd"),k=a("fy"),h=a("iW"),m=a("w"),f=a("dg"),l=b.extend(d,function(a,b){d.call(this);this.F=a;this.g=b;this.lF=q;this.pc=new f(this.g);this.Id=new k(this.g);this.X=new j(this.F,this.g);this.ha=new g(this.g);this.kk=new h(this.g);this.il=new m(this.g);this.F.bind(c.Df,this.y0,this,p);this.pc.bind(f.xj,this.lp,this,p);this.pc.bind(f.yj,this.mp,this,p);this.Id.bind(k.jC,
this.Ty,this);this.Id.bind(k.KI,this.O_,this);this.Id.bind(k.hC,this.P_,this);this.X.bind(j.ra,this.Sb,this,p);this.X.bind(j.II,this.M_,this,p);this.X.bind(j.iC,this.Q_,this,p);this.X.bind(j.JI,this.N_,this,p);this.X.bind(j.yq,this.gp,this,p);this.X.bind(j.zq,this.hp,this,p);this.ha.bind(g.ra,this.Sb,this,p);this.ha.bind(g.Yf,this.ck,this);this.kk.bind(h.ra,this.Sb,this,p);this.kk.bind(h.DI,this.I_,this,p);this.il.bind(m.$f,this.ez,this,p);this.cY=z});l.prototype.Hk=function(a){this.ha.Hk(a);this.X.Hk(a);
this.il.Hk(a)};l.prototype.clear=function(){this.cY=p;this.Id.clear();this.pc.clear();this.ha.clear();this.X.clear();this.kk.clear();this.il.clear();this.F.unbind(c.Df,this.y0,this);this.Id.unbind(k.jC,this.Ty,this);this.Id.unbind(k.KI,this.O_,this);this.Id.unbind(k.hC,this.P_,this);this.pc.unbind(f.xj,this.lp,this);this.pc.unbind(f.yj,this.mp,this);this.X.unbind(j.ra,this.Sb,this);this.X.unbind(j.II,this.M_,this);this.X.unbind(j.iC,this.Q_,this);this.X.unbind(j.JI,this.N_,this);this.X.unbind(j.yq,
this.gp,this);this.X.unbind(j.zq,this.hp,this);this.ha.unbind(g.x7,this.Sb,this);this.ha.unbind(g.Yf,this.ck,this);this.kk.unbind(h.ra,this.Sb,this);this.kk.unbind(h.DI,this.I_,this);this.il.unbind(m.$f,this.ez,this);this.F=this.g=this.il=this.kk=this.X=this.ha=this.pc=this.Id=q};l.prototype.y0=function(){if(this.lF){this.F6(this.lF);this.lF=q}};l.prototype.F6=function(a){this.F.Vo?this.Id.kma(a):this.lF=a};l.prototype.jt=function(){this.Id.stop();this.ha.stop();this.X.hide()};l.prototype.vg=function(a){this.ha.vg(a)};
l.prototype.ao=function(a){if(!this.cY){this.ha.ao(a);this.kk.ao(a);this.il.ao(a)}};l.prototype.mj=function(a,b,c,d){this.ha.mj(a,b,c,d);this.kk.mj(a,b,c,d);this.il.mj(a,b,c,d)};l.prototype.P_=function(a){var b=a.data.level,a=(a.data.percent+100*b.H4())/b.C4();this.trigger(new e(l.Nk,{percent:a}))};l.prototype.O_=function(a){a=a.data.level;this.ha.stop();this.X.YA(a)};l.prototype.Ty=function(){this.trigger(new e(l.xq))};l.prototype.Sb=function(){this.pc.za()};l.prototype.lp=function(a){this.ha.Xn(a.data.frameTime)};
l.prototype.mp=function(a){a=a.data.frameTime;this.X.Zb(a);this.ha.Zb(a);this.kk.Zb(a)};l.prototype.M_=function(a){a=a.data.level;this.kk.YA(a);this.il.YA(a)};l.prototype.Q_=function(a){a=a.data.level;this.kk.oS(a);this.il.oS(a)};l.prototype.N_=function(a){a=a.data.level;a.sB()&&this.ha.start(a)};l.prototype.I_=function(a){a=a.data.inFOV;this.ha.JB(a);this.il.JB(a)};l.prototype.hp=function(a){this.trigger(new e(l.zq,{map:a.data.map}))};l.prototype.gp=function(a){this.trigger(new e(l.yq,{map:a.data.map}))};
l.prototype.ck=function(a){this.trigger(new e(l.Yf,a.data))};l.prototype.ez=function(a){this.trigger(new e(l.$f,{yawDelta:a.data.yawDelta}))};l.Yf="movementChange";l.xq="loadingEnd";l.Nk="loadingProgress";l.zq="mapShow";l.yq="mapHide";l.$f="requestYawChange";return l});
define("eG",["require","jquery.mod"],function(a){function b(a,b){this.G=a;this.P=b;this.yy=0;this.ul=this.tl=0.5;this.Ad=0;this.zb=1;this.Cn=this.Ym=this.ba=this.R=0;this.Lb=1;this.gN=this.jN=p;this.v=c("<canvas/>");this.u=this.v.get(0);this.Fa=this.u.getContext("2d")}var c=a("jquery.mod");b.prototype.getItem=P("G");b.prototype.Qv=function(a){return this.G==a?this:q};b.prototype.cj=function(){this.P&&this.P.DR(this)};b.prototype.ad=function(a){this.Xga(a)};b.prototype.c2=function(a){this.yy!=a&&(this.yy=
a,this.P&&this.P.CH())};b.prototype.Xga=function(a){this.zb!=a&&(this.zb=a,this.BH())};b.prototype.aG=function(a){this.Ad!=a&&(this.Ad=a,this.BH())};b.prototype.Lz=function(a,b){if(this.R!=a||this.ba!=b)this.R=a,this.ba=b,this.yH()};b.prototype.Th=function(a,b){if(this.Ym!=a||this.Cn!=b)this.Ym=a,this.Cn=b,this.BH()};b.prototype.BH=function(){this.P&&this.P.zH()};b.prototype.Ub=function(){this.jN=p};b.prototype.ca=function(){this.jN&&(this.jN=z,this.Je())};b.prototype.Je=D();b.prototype.yH=function(){this.gN=
p;this.BH()};b.prototype.dI=function(){if(this.gN){this.gN=z;if(this.u.width!=this.R||this.u.height!=this.ba)this.u.width=Math.round(this.R),this.u.height=Math.round(this.ba);this.Fa.clearRect(0,0,this.u.width,this.u.height);this.xf()}};b.prototype.xf=D();b.prototype.tka=function(a){if(0<this.zb&&1<=this.R&&1<=this.ba){a.save();var b=Math.round(this.Ym),c=Math.round(this.Cn),j=Math.round(this.R*this.tl),k=Math.round(this.ba*this.ul);a.scale(this.Lb,this.Lb);a.translate(b+j,c+k);a.rotate(this.Ad*Math.PI/
180);a.globalAlpha=this.zb;a.drawImage(this.u,-j,-k);a.restore()}};return b});
define("hT",["require","cI","hb","eG"],function(a){var b=a("cI"),c=a("hb"),e=a("eG"),a=c.extend(e,function(a,b){e.call(this,a,b);this.ub=[];this.RG=q;this.qg=p});a.prototype.b4=function(a){(a=this.aL(a))||i("Container renderer can't create child renderer for an item");this.ub.push(a);this.CH();this.zH()};a.prototype.aL=D();a.prototype.l6=function(a){if(a=this.Ml(a))this.ub=b.without(this.ub,a),this.CH(),this.zH()};a.prototype.Qv=function(a){for(var b=e.prototype.Qv.call(this,a),c=0;c<this.ub.length&&
!b;c++)b=this.ub[c].Qv(a);return b};a.prototype.Ml=function(a){for(var b=q,c=0;c<this.ub.length&&!b;c++)this.ub[c].getItem()==a&&(b=this.ub[c]);return b};a.prototype.DR=function(a){this.ub=b.without(this.ub,a);this.ub.push(a);this.CH();this.zH()};a.prototype.CH=function(){this.qg=p;this.Ub()};a.prototype.zH=function(){this.yH()};a.prototype.ca=function(){e.prototype.ca.call(this);for(var a=0;a<this.ub.length;a++)this.ub[a].ca()};a.prototype.Je=function(){if(this.qg){this.qg=z;for(var a=[],b=0;b<this.ub.length;b++){var c=
this.ub[b];a.push({l:c.yy,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.RG=[];for(b=0;b<a.length;b++)this.RG.push(a[b].r);this.yH()}e.prototype.Je.call(this)};a.prototype.dI=function(){for(var a=0;a<this.ub.length;a++)this.ub[a].dI();e.prototype.dI.call(this)};a.prototype.xf=function(){for(var a=0;a<this.RG.length;a++)this.RG[a].tka(this.Fa);e.prototype.xf.call(this)};return a});
define("C",["require","hb","eG"],function(a){var b=a("hb"),c=a("eG"),a=b.extend(c,function(a,b){c.call(this,a,b)});a.prototype.TH=D();return a});
define("ft",["require","hb","C"],function(a){var b=a("hb"),c=a("C"),a=b.extend(c,function(a,b){c.call(this,a,b);this.kF=this.P.getItem().Fc();this.jF=this.P.getItem().rd();this.Lb=2;this.bu=0;this.la=0.5*Math.PI;this.hN=this.iN=p;this.Ng=1;this.eE=p;this.c2(1)});a.prototype.TH=function(a,b){this.Ng!=b&&(this.Ng=b,this.eE=p,this.Ub())};a.prototype.vna=function(a,b){this.la!=b&&(this.la=b,this.iN=p,this.Ub());this.bu!=a&&(this.bu=a,this.hN=p,this.Ub())};a.prototype.Je=function(){this.iN&&(this.iN=z,
this.yH());if(this.eE||this.hN){this.hN=this.eE=z;this.Lb=Math.max(1,Math.ceil(Math.sqrt(this.kF*this.kF+this.jF*this.jF))/4096);var a=this.Ng/this.Lb,b=this.G.eh()*a,g=this.G.fh()*a,j=a*this.jF,a=Math.max(b,a*this.kF-b),j=Math.max(g,j-g),j=2*Math.ceil(Math.sqrt(a*a+j*j)),k=this.bu*Math.PI/180,a=Math.cos(k),k=Math.sin(k),b=b-this.tl*j-(0.5-this.tl)*j*a+(0.5-this.ul)*j*k,g=g-this.ul*j-(0.5-this.ul)*j*a-(0.5-this.tl)*j*k;this.eE=z;this.Th(b,g);this.Lz(j,j);this.aG(this.bu)}c.prototype.Je.call(this)};
a.prototype.xf=function(){var a=this.G.$ca,b=this.G.afa;if(0<b||0<a){var g=this.Ng*this.kF,j=this.Ng*this.jF,g=Math.ceil(Math.sqrt(g*g+j*j))*this.G.$s()/this.Lb,j=Math.round(0.5*this.R),k=Math.round(0.5*this.ba),h=this.la*Math.PI/180,m=0.5*-h,h=m+h;0<b&&(this.Fa.fillStyle=this.G.$ea,this.Fa.globalAlpha=b,this.Fa.rect(0,0,this.R,this.ba),this.Fa.fill(),this.Fa.globalCompositeOperation="destination-out",this.Fa.fillStyle="#FFFFFF",this.Fa.globalAlpha=1,this.Fa.beginPath(),this.Fa.moveTo(j,k),this.Fa.arc(j,
k,g,m,h,z),this.Fa.lineTo(j,k),this.Fa.closePath(),this.Fa.fill(),this.Fa.globalCompositeOperation="source-over");0<a&&(this.Fa.fillStyle=this.G.Zca,this.Fa.globalAlpha=a,this.Fa.beginPath(),this.Fa.moveTo(j,k),this.Fa.arc(j,k,g,m,h,z),this.Fa.lineTo(j,k),this.Fa.closePath(),this.Fa.fill())}c.prototype.xf.call(this)};return a});
define("h",["require","hb","C","gX","hP"],function(a){var b=a("hb"),c=a("C"),e=a("gX"),d=a("hP"),a=b.extend(c,function(a,b){c.call(this,a,b);this.c2(this.G.K1?0:2);this.fb=e.Bd(this.G.Oe());this.TF=new d(this.fb,this.fb.width,this.fb.height);this.TF.mq(this.G.Dc);this.TF.zw(this.G.Yg);this.TF.xw(this.G.Jg);this.Cy=0;this.Ng=1;this.MN=p});a.prototype.TH=function(a,b){if(this.Cy!=a||this.Ng!=b)this.Cy=a,this.Ng=b,this.MN=p,this.Ub()};a.prototype.Je=function(){if(this.MN){this.MN=z;var a=this.G.eh(),
b=this.G.fh(),d=this.G.Fc(),e=this.G.rd(),m=this.G.Vr,f=this.G.Wr;if(this.G.K1)this.aG(0),this.Th((a-m)*this.Ng,(b-f)*this.Ng),this.Lz(d*this.Ng,e*this.Ng);else{var l=Math.cos(-this.Cy*Math.PI/180),r=Math.sin(-this.Cy*Math.PI/180),a=a*this.Ng-this.tl*d-(m-this.tl*d)*l+(f-this.ul*e)*r,b=b*this.Ng-this.ul*e-(f-this.ul*e)*l-(m-this.tl*d)*r;this.aG(-this.Cy);this.Th(a,b);this.Lz(d,e)}}c.prototype.Je.call(this)};a.prototype.xf=function(){this.TF.Pv(this.Fa,this.u.width,this.u.height);c.prototype.xf.call(this)};
return a});
define("fg","require,hb,hA,gX,ch,gj,ft,h,hT".split(","),function(a){var b=a("hb"),c=a("hA"),e=a("gX"),d=a("ch"),g=a("gj"),j=a("ft"),k=a("h"),h=a("hT"),a=b.extend(h,function(a,b){h.call(this,a,b,a.jk);this.Ba=this.G.Fc();this.Ja=this.G.rd();this.Dc=this.G.Dc;this.ED=this.G.hM;this.Sa=this.Qa=100;this.nr=p;this.aa=this.$=0.5;this.ob=0;this.ka=1;this.rz=p;this.Jc=1;this.fb=e.Bd(this.G.Oe())});a.prototype.aL=function(a){a.Wf()!=d.vV&&i("Invalid item type");switch(a.cfa){case g.sV:a=new j(a,this);break;
case g.tV:a=new k(a,this);break;default:a=q}a&&a.TH(this.ob,this.Jc*this.ka);return a};a.prototype.eh=P("$");a.prototype.fh=P("aa");a.prototype.Rv=P("ob");a.prototype.Ek=P("ka");a.prototype.ya=function(){return Math.round(this.Ba*this.ka*this.Jc)};a.prototype.$a=function(){return Math.round(this.Ja*this.ka*this.Jc)};a.prototype.cm=function(a,b){if(this.Qa!=a||this.Sa!=b){this.Qa=a;this.Sa=b;this.nr=p;this.Ub()}};a.prototype.Oa=function(a,b,c,d){if(this.$!=a||this.aa!=b||this.ob!=c||this.ka!=d){this.$=
a;this.aa=b;this.ob=c;this.ka=d;this.rz=p;this.Ub()}};a.prototype.Je=function(){if(this.nr){this.nr=z;switch(this.Dc){case c.NONE:this.Jc=1;break;case c.Aj:this.Jc=this.Qa/this.Ba;break;case c.ag:this.Jc=this.Sa/this.Ja;break;case c.Ok:this.Jc=this.Ba*this.Sa>this.Ja*this.Qa?this.Sa/this.Ja:this.Qa/this.Ba;break;default:this.Jc=this.Ba*this.Sa>this.Ja*this.Qa?this.Qa/this.Ba:this.Sa/this.Ja}this.rz=p}if(this.rz){this.rz=z;var a=this.ya(),b=this.$a(),d=Math.cos(this.ob*Math.PI/180),e=Math.sin(this.ob*
Math.PI/180);this.Th(this.Qa*0.5-this.tl*a+(this.tl-this.$)*d*a-(this.ul-this.aa)*e*b,this.Sa*0.5-this.ul*b+(this.ul-this.aa)*d*b+(this.tl-this.$)*e*a);this.aG(this.ob);this.Lz(a,b);for(a=0;a<this.ub.length;a++)this.ub[a].TH(this.ob,this.Jc*this.ka)}h.prototype.Je.call(this)};a.prototype.xf=function(){var a=Math.round(this.R),b=Math.round(this.ba);if(this.ED){this.Fa.save();this.Fa.translate(a,0);this.Fa.scale(-1,1);this.Fa.drawImage(this.fb,0,0,a,b);this.Fa.restore()}else this.Fa.drawImage(this.fb,
0,0,a,b);h.prototype.xf.call(this)};return a});
define("ep","require,cI,hb,ch,hT,fg".split(","),function(a){a("cI");var b=a("hb"),c=a("ch"),e=a("hT"),d=a("fg"),a=b.extend(e,function(){e.call(this,q,q);this.HK=p});a.prototype.jb=P("v");a.prototype.render=function(){this.ca();this.dI()};a.prototype.aL=function(a){a.Wf()!=c.uV&&i("Invalid item type");a=new d(a,this);a.cm(this.R,this.ba);a.Oa(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Lz(a,b);this.HK=p;this.Ub()};a.prototype.Je=function(){if(this.HK){this.HK=z;for(var a=0;a<this.ub.length;a++)this.ub[a].cm(this.R,
this.ba)}e.prototype.Je.call(this)};return a});
define("gC","require,cI,hb,jd,eU,gX,ep,bb,N,d".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("eU"),g=a("gX"),j=a("ep"),k=a("bb"),h=a("N"),m=a("d"),a=c.extend(m,function(){m.call(this);this.Mc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.Ow);this.Eo=[];this.As=[];this.oa="";this.tf=new j;this.Ka().append(this.tf.jb());this.bind(e.qb,this.hb,this,p);this.bind(e.Df,this.ek,this,p);this.bind(e.yg,this.bk,this,p);k.bind(e.W,this.SQ,this,p);this.rl=this.qP=z});a.prototype.Tn=
function(a){g.Tn(a,d.Rk)};a.prototype.JT=function(a){return g.JT(a)};a.prototype.li=function(a){g.li(a,d.Rk)};a.prototype.PA=function(a){this.tf.b4(a)};a.prototype.removeItem=function(a){this.tf.l6(a)};a.prototype.SG=function(a,b){this.tf.Ml(a).b4(b)};a.prototype.Mma=function(a,b){var c=this.tf.Ml(a);c&&c.l6(b)};a.prototype.QA=function(a){this.tf.Qv(a).cj()};a.prototype.tg=function(a,b){this.tf.Qv(a).ad(b)};a.prototype.KB=function(a,b,c,d,e){this.tf.Ml(a).Oa(b,c,d,e)};a.prototype.Gna=function(a,b,
c){this.tf.Qv(a).vna(b,c)};a.prototype.jB=function(a){return this.tf.Ml(a).eh()};a.prototype.kB=function(a){return this.tf.Ml(a).fh()};a.prototype.nH=function(a){return this.tf.Ml(a).Rv()};a.prototype.L4=function(a){return this.tf.Ml(a).Ek()};a.prototype.iB=function(a){return this.tf.Ml(a).ya()};a.prototype.hB=function(a){return this.tf.Ml(a).$a()};a.prototype.render=function(){this.rl&&this.tf.render()};a.prototype.NH=function(a){this.Eo.push(a);this.r3()};a.prototype.pw=function(a){a=b(this.Eo).lastIndexOf(a);
a>=0&&this.Eo.splice(a,1);this.r3()};a.prototype.r3=function(){var a;a=this.Eo.length>0?this.Eo[this.Eo.length-1]:h.nc;this.getParent().set("cursor",a)};a.prototype.hD=function(){if(this.Eo.length>0){this.getParent().set("cursor",h.nc);this.Eo=[]}};a.prototype.Gma=function(a){this.As.push(a);this.xA()};a.prototype.zma=function(a){a=b(this.As).lastIndexOf(a);a>=0&&this.As.splice(a,1);this.xA()};a.prototype.xA=function(){var a=this.As.length==0?"":this.As[this.As.length-1]||"";if(this.oa!=a){this.oa=
a;this.getParent().set("toolTip",this.oa)}};a.prototype.z$=function(){this.oa&&this.getParent().set("toolTip","");this.oa="";this.As=[]};a.prototype.Rh=function(){this.z$();this.hD();m.prototype.Rh.call(this)};a.prototype.hb=function(){this.tf.setSize(this.ya(),this.$a());this.render()};a.prototype.ek=function(){this.qP=p;this.SQ()};a.prototype.bk=function(){this.qP=z;this.SQ()};a.prototype.SQ=function(){var a=this.qP&&!k.isPresenting();if(this.rl!=a)(this.rl=a)&&this.render()};return a});
define("D","cI,hb,hu,bI,di,hX,ca,fp,ci,fZ,gC,jd,cH,en".split(","),function(a,b,c,e,d,g,j,k,h,m,f,l,r,o){var s=b.extend(j,function(){j.call(this,"map");this.ME=this.LN=this.og=z;this.Oi=this.lb=this.p=this.g=q;this.xo={};for(var a in s.qm)this.xo[a]=this.S$(a);this.Uc=b.Wn(this.Je,this)});d.A("MapPlayer",s).B("Object").K({map:"Map",viewerArea:"ViewerArea",movementMode:"enum[constrained, free_drag, free_drag_and_rotation, sync_with_field_of_view]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRotateCounterClockwise:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).mc([l.rC]).ug({stop:function(){this.mb(m.td)},rotateClockwise:function(){this.mb(m.rJ)},rotateCounterClockwise:function(){this.mb(m.sJ)},zoomIn:function(){this.mb(m.om)},zoomOut:function(){this.mb(m.pm)}});s.prototype.set=function(a,
b){if(this.get(a)!=b){switch(a){case "map":this.LN=p;this.Uc();break;case "viewerArea":this.og=p;this.Uc();break;case "panoramaMapLocation":this.zO=p;this.Uc();break;case "movementMode":this.ME=p;this.Uc()}j.prototype.set.call(this,a,b)}};s.prototype.S$=function(a){var b=s.qm[a],a=new g(this,a,r.uc);a.bind(l.pb,function(){this.mb(b.movement)},this);b.stopOnRelease&&a.bind(l.Hb,function(){this.mb(m.td)},this);return a};s.prototype.Mja=function(a){this.Oi=q;this.set("map",a.get("map"));this.set("panoramaMapLocation",
a)};s.prototype.Pma=function(a){this.get("panoramaMapLocation")==a&&this.set("panoramaMapLocation",q)};s.prototype.mj=function(a,b,c,d){this.p?this.p.mj(a,b,c,d):this.Oi={yaw:b,pitch:c,hfov:d}};s.prototype.Je=function(){if(this.og){this.og=z;this.ur();this.get("viewerArea")&&this.pr();this.dG(this.get("viewerArea"))}if(this.p){if(this.LN){this.LN=z;var a=this.get("map");if(a){this.HF();this.p.F6(a)}else this.p.jt();this.zO=this.ME=p}if(this.zO){this.zO=z;a=this.get("panoramaMapLocation");this.p.ao(a);
a&&this.Oi&&this.p.mj(a,this.Oi.yaw,this.Oi.pitch,this.Oi.hfov)}if(this.ME){this.ME=z;this.p.Hk(this.get("movementMode"))}}};s.prototype.Xz=function(){this.set("map",q)};s.prototype.pr=function(){var a=this.get("viewerArea");this.g=new f;this.g.Q({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new h(a,this.g);this.p.bind(h.Yf,this.ck,this);this.p.bind(h.Nk,this.hn,this);this.p.bind(h.xq,this.Hu,this);this.p.bind(h.zq,this.hp,this);this.p.bind(h.yq,this.gp,this);this.p.bind(h.$f,this.ez,this,
p)};s.prototype.ur=function(){if(this.g){this.p.unbind(h.Yf,this.ck,this);this.p.unbind(h.Nk,this.hn,this);this.p.unbind(h.xq,this.Hu,this);this.p.unbind(h.zq,this.hp,this);this.p.unbind(h.yq,this.gp,this);this.p.unbind(h.$f,this.ez,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q}};s.prototype.hp=function(a){this.EE(a.data.map)};s.prototype.gp=function(a){this.DE(a.data.map)};s.prototype.ck=function(a){for(var b in s.qm)this.xo[b].set("state",a.data[s.qm[b].pressedOn]?o.sa:o.nc);
this.trigger(new e(l.rC,a.data))};s.prototype.ez=function(a){this.trigger(new e(s.$f,{yawDelta:a.data.yawDelta}))};s.prototype.hn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,progressVisible:p})};s.prototype.Hu=function(){this.g.getParent().set("progressVisible",z)};s.prototype.mb=function(a){this.p&&this.p.vg(a)};s.qm={buttonRotateClockwise:{movement:m.rJ,pressedOn:"rotatingClockwise",stopOnRelease:p},buttonRotateCounterClockwise:{movement:m.sJ,pressedOn:"rotatingCounterClockwise",
stopOnRelease:p},buttonZoomIn:{movement:m.om,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:m.pm,pressedOn:"zoomingOut",stopOnRelease:p}};s.$f="requestYawChange";return s});
define("cG",["hb","hu","jd","bI","di"],function(a,b,c,e,d){a=a.extend(b,function(){b.call(this);this.Nf=z});d.A("PlayListItem",a).B("Object").K({media:"Media",label:"string"}).mc([c.lo,c.sj,c.td,c.ta]);a.prototype.start=function(){this.trigger(new e(c.lo))};a.prototype.stop=function(){this.VB()};a.prototype.VB=function(){this.trigger(new e(c.td))};a.prototype.Jv=function(){this.Nf=p;this.trigger(new e(c.sj))};a.prototype.end=function(){this.Nf=z;this.trigger(new e(c.ta))};return a});
define("ju",["hb","di","ca","cG"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("MapPlayListItem",a).B("PlayListItem").K({media:"Map",player:"MapPlayer"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Se,this.hp,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",q);e.prototype.stop.call(this)};a.prototype.hp=function(){this.get("player").unbind(c.Se,
this.hp,this);this.get("player").bind(c.xg,this.gp,this);this.Jv()};a.prototype.gp=function(){this.get("player").unbind(c.xg,this.gp,this);this.end()};return a});
define("iM",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this);this.set("distance",2)});a.A("Menu",b).B("MenuItem").K({backgroundColor:"color",rollOverBackgroundColor:"color",selectedBackgroundColor:"color",opacity:"number",rollOverOpacity:"number",fontFamily:"string",fontColor:"color",rollOverFontColor:"color",selectedFontColor:"color",distance:"number"}).mc([e.Qc,e.oc]).jh([e.U]);return b});
define("n",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("MenuItem",b).B("Object").K({label:"string",children:"array[MenuItem]"}).mc([e.Qc,e.oc]).jh([e.U]);return b});
define("gG",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("MovementPhotoCamera",a).B("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("eT",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("Object",a).K({id:"identifier",data:"*"});return a});define("bL",[],function(){var a={wq:"drag_acceleration",hm:"drag_rotation"};a.yU=a.wq;a.qV=a.hm;return a});define("jm",["hb","bI"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.LH=this.hI=this.dq=this.oq=0})});define("dk",["hb","bI"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.nS=this.Gla=0})});
define("dr","require,hb,cI,jd,bI,dT,bL,jm,dk".split(","),function(a){function b(a,b){return a*b}function c(a){var b=a>0?1:-1;return b*(Math.pow(10,b*a)-1)/9}function e(a,b){return Math.min(Math.max(a/b,-1),1)}var d=a("hb");a("cI");var g=a("jd"),j=a("bI"),k=a("dT"),h=a("bL"),m=a("jm"),f=a("dk"),l=d.extend(k,function(){k.call(this);this.XZ=this.YZ=1800;this.du=7;this.Lda=this.nia=0;this.iE=z;this.Bp=n;this.Sr=h.yU;this.a3=h.qV;this.du=0;this.RF=n;this.BA=z;this.Pt=q;this.Hr=3;this.la=90;this.TL=this.zs=
this.Lb=1;this.ic=this.Aa=q;this.qz=z});l.prototype.nT=function(a){this.YZ=a.get("manualRotationSpeed");this.XZ=a.get("manualRotationSpeed");this.Hr=a.get("manualZoomSpeed");this.TL=a.get("draggingFactor")};l.prototype.lq=function(a){this.Sr=a;this.TQ()};l.prototype.ot=function(a){this.a3=a;this.TQ()};l.prototype.IB=function(a){this.la=a;this.zs=this.la/90};l.prototype.DB=function(a){this.Kl();if(a){this.Aa=a;if(this.ic=a.ala&&a.ic){this.ic.bind(g.pb,this.T0,this,p);this.ic.bind(g.Hb,this.U0,this,
p)}this.Aa.bind(g.pb,this.Jb,this,p);this.Aa.bind(g.tc,this.Fh,this,p);this.Aa.bind(g.Hb,this.Lf,this,p);this.Aa.bind(g.Lq,this.Tr,this,p);this.Aa.eb().get("settings").get(TDV.PlayerSettings.X7)!==z&&this.Aa.bind(g.yt,this.Er,this,p);this.Aa.bind(g.bJ,this.sY,this,p);this.Aa.bind(g.aJ,this.qY,this,p);this.TQ()}};l.prototype.Kl=function(){if(this.Aa!=q){if(this.ic){this.ic.unbind(g.pb,this.T0,this);this.ic.unbind(g.Hb,this.U0,this);this.ic=q}this.Aa.unbind(g.pb,this.Jb,this);this.Aa.unbind(g.tc,this.Fh,
this);this.Aa.unbind(g.Hb,this.Lf,this);this.Aa.unbind(g.Lq,this.Tr,this);this.Aa.unbind(g.yt,this.Er,this);this.Aa.unbind(g.bJ,this.sY,this);this.Aa.unbind(g.aJ,this.qY,this);this.Aa=q;this.BD()}};l.prototype.TQ=function(){if(this.Aa)if(this.Aa.Ci){this.RF=this.a3;this.du=this.nia}else{this.RF=this.Sr;this.du=this.Lda}};l.prototype.T0=function(){this.qz=p};l.prototype.U0=function(){this.qz=z};l.prototype.Jb=function(a){if(!this.qz){this.Lha(a);this.eQ()}};l.prototype.Fh=function(a){this.qz||this.HG(a)};
l.prototype.Lf=function(){if(!this.qz){this.eM();this.BD()}};l.prototype.Tr=function(a){this.$Q(a);this.eQ(500)};l.prototype.sY=function(){this.eQ()};l.prototype.Er=function(a){this.aR(a)};l.prototype.qY=function(){this.BD()};l.prototype.Lha=function(a){this.iE=p;this.Bp=a;this.HG(a)};l.prototype.HG=function(a){if(this.iE)switch(this.RF){case h.wq:this.lja(a);break;case h.hm:this.kja(a)}};l.prototype.lja=function(a){this.D3(+b(c(e(Math.abs(a.x-this.Bp.x)<3?0:a.x-this.Bp.x,this.Aa.ya())),this.YZ*this.zs),
-b(c(e(Math.abs(a.y-this.Bp.y)<3?0:a.y-this.Bp.y,this.Aa.$a())),this.XZ*this.zs))};l.prototype.kja=function(a){this.jja(-b(e(a.x-this.Bp.x,this.Aa.ya()),this.la*this.TL),+b(e(a.y-this.Bp.y,this.Aa.ya()),this.la*this.TL));this.Bp=a};l.prototype.eM=function(){if(this.iE){this.iE=z;switch(this.RF){case h.wq:this.D3(0,0)}}};l.prototype.D3=function(a,b){var c=new m(l.Mw);c.oq=a;c.dq=b;this.trigger(c)};l.prototype.jja=function(a,b){var c=new m(l.Mw);c.hI=a;c.LH=b;this.trigger(c)};l.prototype.aR=function(a){if(this.Lb!=
a.scale){this.eM();var b=this.Lb;this.Lb=a.scale;a=new f(l.zj);a.nS=this.la*b/this.Lb-this.la;this.trigger(a)}};l.prototype.$Q=function(a){if(a.In!=0){this.eM();var b=new f(l.zj);b.nS=this.la*-a.In*this.Hr/100;this.trigger(b)}};l.prototype.eQ=function(a){var b=this.Pt!=q;this.G2();if(a&&(b||!this.BA)){var c=this;this.Pt=setTimeout(function(){c.Pt=q;c.BD()},a)}if(!this.BA){this.BA=p;this.trigger(new j(l.Sd))}};l.prototype.BD=function(){this.G2();if(this.BA){this.BA=z;this.trigger(new j(l.Rd))}};l.prototype.G2=
function(){if(this.Pt!=q){clearTimeout(this.Pt);this.Pt=q}};l.Mw="rotation change";l.zj="zoom change";l.Sd="user interaction start";l.Rd="user interaction end";return l});
define("co",["require","r"],function(a){function b(){this.Qha=e.Wa()?0.066:0.1;this.Oda=0.5;this.Dha=e.Wa()?0.066:0.1;this.Eja=0.1;this.kG=this.mG=z;this.reset()}function c(a,b,c){a=(b-a)*(1-c);0.01>Math.abs(a)&&(a=0);return b-a}var e=a("r");b.prototype.reset=function(){this.oL=this.pL=this.Ix=this.qr=this.Kx=this.tL=this.sL=this.xL=this.ou=this.Hr=this.MF=this.OF=this.mk=this.oz=this.Fl=this.MA=0};b.prototype.O6=function(a,b,c,e,h,m,f,l,r){return this.MA!=a||(this.oz=b)||this.OF!=c||0!=e||0!=h||
this.kG!=f||this.e_!=l||this.mG!=r?(this.MA=a,this.oz=b,this.OF=c,this.Fl+=e,this.mk+=h,this.MF+=m,this.kG=f,this.e_=l,this.mG=r,p):z};b.prototype.roa=function(a,b){return this.Hr!=a||0!=b?(this.Hr=a,this.ou+=b,p):z};b.prototype.Zc=function(){return 0!=this.xL||0!=this.sL||0!=this.tL||0!=this.Kx||0!=this.MA||0!=this.oz||0!=this.OF||0!=this.Hr||0!=this.Fl||0!=this.mk||0!=this.ou};b.prototype.Ua=function(a){var a=1E3/a,b=this.xL/a,e=this.MA/a+this.Fl;this.Fl=0;var k=this.sL/a,h=this.oz/a+this.mk;this.mk=
0;var m=this.tL/a,f=this.OF/a+this.MF;this.MF=0;var l=this.Hr+this.ou*a;this.ou=0;var r=0==e&&0==h&&0==f,o=0==b&&0==k&&0==m;this.kG&&o&&!r||this.mG&&r&&!o||this.e_&&!r&&!o?(r=r?this.Qha:o?this.Dha:this.Oda,this.qr=c(b,e,r),this.Ix=c(k,h,r),this.pL=c(m,f,r)):(this.qr=e,this.Ix=h,this.pL=f);b=0==this.Kx;e=0==l;this.Kx=this.kG&&b&&!e||this.mG&&e&&!b?c(this.Kx,l,this.Eja):l;this.xL=this.qr*a;this.sL=this.Ix*a;this.tL=this.pL*a;this.oL=this.Kx/a};return b});
define("V","jquery.mod,hb,d,dr,co,R,jd".split(","),function(a,b,c,e,d,g,j){b=b.extend(c,function(){c.call(this);this.Mc("Renderer");this.u=a("<canvas></canvas>");this.u.css({position:"absolute",left:0,top:0});this.Ka().append(this.u);this.So=q;this.ea=this.su=this.pu=this.qu=0;this.Nf=z;this.sfa=150;this.gy=0;this.Ch=q;this.bind(j.qb,this.hb,this,p);this.Da=new e;this.Da.Xqa(720);this.Da.FB(0);this.Da.lq("drag_rotation");this.Da.IB(360);this.Da.bind(e.Mw,this.Nea,this);this.gb=new d});b.prototype.Bna=
function(a,b,c){this.So=a;this.qu=b;this.pu=c;this.su=Math.floor(this.So.length*this.ea/360);this.uP();this.Da.DB(this);this.fa()};b.prototype.bka=function(){this.So=q;this.wl();this.uP();this.Da.Kl()};b.prototype.play=function(){this.Nf=p;this.fa()};b.prototype.Nea=function(a){this.wl();this.gb.O6(a.oq,a.dq,0,a.hI,a.LH,0,z,p);this.fa()};b.prototype.bO=function(){this.play()};b.prototype.$e=function(a){if(this.So)if(this.gb.Zc()){this.Nf=z;this.gb.Ua(a);this.qW(this.gb.qr);this.fa()}else if(this.Nf){this.qW(this.sfa*
a/1E3);this.fa()}else this.vu()||this.Tz()};b.prototype.U6=function(a){for(this.ea=a;this.ea<0;)this.ea=this.ea+360;for(;this.ea>=360;)this.ea=this.ea-360;this.Zia()};b.prototype.Zia=function(){if(this.So){var a=Math.floor(this.So.length*this.ea/360);if(this.su!=a){this.su=a;this.r1()}}};b.prototype.qW=function(a){this.U6(this.ea+a)};b.prototype.hb=function(){this.uP()};b.prototype.uP=function(){var a=this.u.get(0);if(this.qu==0||this.pu==0){a.width=0;a.height=0}else{var b=this.qd(),c=this.pd();if(c*
this.qu>b*this.pu){a.width=b;a.height=this.pu*b/this.qu}else{a.height=c;a.width=this.qu*c/this.pu}this.u.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.r1()}};b.prototype.r1=function(){if(this.So){var a=this.u.get(0),b=this.So[this.su];a.getContext("2d").drawImage(b,0,0,this.qu,this.pu,0,0,a.width,a.height)}};b.prototype.vu=function(){return this.Ch?p:z};b.prototype.Tz=function(){this.wl();if(this.gy>0){var a=this;this.Ch=setTimeout(function(){a.Ch=q;a.bO()},
this.gy)}};b.prototype.wl=function(){if(this.Ch){clearTimeout(this.Ch);this.Ch=q}};b.prototype.fa=function(){g.za(this.$e,this)};return b});
define("hL","require,jquery.mod,cI,hb,jd,eU,bI,di,dO,v,V,iO,gE".split(","),function(a){a("jquery.mod");var b=a("cI"),c=a("hb"),e=a("jd"),d=a("eU"),g=a("bI"),j=a("di");a("dO");ProgressBar=a("v");Renderer=a("V");Container=a("iO");ImageLoader=a("gE");a=c.extend(Container,function(){Container.call(this);this.Cc=this.Dh=this.oe=this.g=q;this.bind(e.Df,this.ek,this);this.bind(e.yg,this.bk,this)});j.A("Object3D",a).B("UIComponent").K({frames:"array[ImageResource]",yaw:"number"}).mc([e.O]);a.prototype.Ha=
function(){Container.prototype.Ha.call(this);if(!this.g){this.g=new Renderer;this.g.Q({left:0,top:0,right:0,bottom:0});this.pa(this.g)}if(!this.oe){this.oe=new ProgressBar;this.oe.Q({left:0,bottom:0,right:0,height:20,visible:z});this.pa(this.oe)}};a.prototype.ek=function(){this.zy()};a.prototype.bk=function(){this.Vi()};a.prototype.zy=function(){this.oe.set("percent",0);this.oe.set("visible",p);this.g.U6(this.get("yaw"));var a=this.get("frames",[]);this.Dh=[];this.Cc=[];for(var b=0;b<a.length;b++){this.Dh.push(Level.Ck(a[b]));
var c=new ImageLoader(d.Rk);c.bind(e.O,this.Uy,this);c.bind(e.jd,this.Vy,this);this.Cc.push(c)}for(b=0;b<a.length;b++)this.Cc[b].load(this.Dh[b].get("url"))};a.prototype.Uy=function(){var a=b(this.Cc).filter(function(a){return a.Sn()});this.oe.set("percent",100*a.length/this.Cc.length);a.length==this.Cc.length&&this.af()};a.prototype.Vy=D();a.prototype.af=function(){this.oe.set("visible",z);var a=this.Dh[0].get("width",this.Cc[0].Fc()),c=this.Dh[0].get("height",this.Cc[0].rd());this.g.Bna(b(this.Cc).map(function(a){return a.Bd()}),
a,c);this.trigger(new g(e.O))};a.prototype.Vi=function(){if(this.Cc){this.oe.set("visible",z);this.g.bka();this.Cc=b(this.Cc).each(function(a){a.unbind(e.O,this.Uy,this);a.unbind(e.jd,this.Vy,this);a.cancel()});this.Dh=this.Cc=q}};return a});
define("ez","require,hb,hu,di,bM,ej".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("di"),d=a("bM"),g=a("ej"),j=b.extend(c,function(){c.call(this);this.set("initialPosition",new g);this.set("draggingFactor",1);this.set("manualRotationSpeed",1800);this.set("manualZoomSpeed",1);this.set("automaticRotationSpeed",10);this.set("automaticZoomSpeed",10)});e.A("RotationalCamera",j).B("Object").K({displayOriginPosition:"RotationalCameraDisplayPosition",displayMovements:"array[TargetRotationalCameraDisplayMovement]",
initialPosition:"RotationalCameraPosition",initialSequence:"RotationalCameraSequence",idleSequence:"RotationalCameraSequence",sequences:"array[RotationalCameraSequence]",timeToIdle:"number",manualDraggingFactor:"number",manualRotationSpeed:"number",manualZoomSpeed:"number",automaticRotationSpeed:"number",automaticZoomSpeed:"number"});a=b.extend(j,function(){j.call(this);this.set("initialPosition",new d)});e.A("PanoramaCamera",a).B("RotationalCamera");return a});
define("hB",["require","hb","ej","di"],function(a){var b=a("hb"),c=a("ej"),a=a("di"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("RotationalCameraDisplayPosition",b).B("RotationalCameraPosition").K({stereographicFactor:"number"});return b});define("hU",["require","hb","hB","di"],function(a){var b=a("hb"),c=a("hB"),a=a("di"),b=b.extend(c,function(){c.apply(this,arguments)});a.A("PanoramaCameraDisplayPosition",b).B("RotationalCameraDisplayPosition");return b});
define("Z",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaCameraMovement",b).B("RotationalCameraMovement");return b});
define("gT","require,hb,hu,bI,di,jd".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("bI"),d=a("di"),g=a("jd"),a=b.extend(c,function(){c.call(this)});a.prototype.play=function(){this.trigger(new e(g.ko))};a.prototype.pause=function(){this.trigger(new e(g.vC))};d.A("RotationalCameraSequence",a).B("Object").K({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}).ug({pause:a.prototype.pause,
play:a.prototype.play}).mc([g.ta,g.Mq]);return a});define("bm",["require","hb","di","gT"],function(a){var b=a("hb"),c=a("di"),e=a("gT"),a=b.extend(e,function(){e.call(this)});c.A("PanoramaCameraSequence",a).B("RotationalCameraSequence");return a});define("fq",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PanoramaMapLocation",a).B("Object").K({map:"Map",x:"number",y:"number",angle:"number",visible:"bool"});return a});
define("jn",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaOverlay",b).B("Object");return b});
define("cd",["require","es","ex","a"],function(a){function b(a){this.g=a;this.Wk=[];this.Rc=[];this.cu=[];this.Ea=this.ea=0}var c=a("es"),e=a("ex"),d=a("a");b.prototype.clear=function(){this.stop();this.cu=this.Rc=this.Wk=this.g=q};b.prototype.end=function(){for(var a=0;a<this.Wk.length;a++)this.Wk[a].stop();this.Wk=[];this.Rc=[];this.cu=[]};b.prototype.start=function(a){this.stop();for(var a=a.get("audios",[]),b=0;b<a.length;b++){var c=a[b],d=c.Sv();d&&(this.Wk.push(d),c.get("autoplay",z)&&this.Rc.push(d),
c instanceof e&&this.cu.push(c))}this.s3();for(b=this.Rc.length-1;0<=b;b--)this.Rc[b].play()};b.prototype.play=function(){for(var a=0;a<this.Rc.length;a++)this.Rc[a].get("state")!=c.T&&this.Rc[a].play()};b.prototype.pause=function(){for(var a=0;a<this.Rc.length;a++)this.Rc[a].get("state")==c.T&&this.Rc[a].pause()};b.prototype.stop=function(){for(var a=0;a<this.Rc.length;a++)this.Rc[a].stop()};b.prototype.Zb=function(){this.ea=this.g.lc();this.Ea=this.g.$b();this.s3()};b.prototype.s3=function(){if(0<
this.cu.length)for(var a=Math.PI/180,b=this.ea*a,c=this.Ea*a,e=new d(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c)),m=0;m<this.cu.length;m++){var f=this.cu[m],l=f.get("yaw",b)*a,r=f.get("pitch",c)*a,o=f.get("maximumAngle",360)*a,l=new d(Math.sin(l)*Math.cos(r),Math.sin(r),Math.cos(l)*Math.cos(r)),o=Math.min(1,Math.max(0,1-Math.acos(e.ZA(l))/o));f.Sv().ki(o)}};return b});
define("fn","require,cI,jd,gP,dp,a,in".split(","),function(a){function b(a){this.g=a;this.Y=z;this.Sh=b.Rq;this.jM=this.rZ=z;this.kh(q);this.g.bind(e.qb,this.hb,this,p);this.hb()}var c=a("cI"),e=a("jd"),d=a("gP"),g=a("dp"),j=a("a"),k=a("in");b.prototype.p5=function(){return this.Sh!==b.Rq};b.prototype.o5=function(){return this.Sh&b.Dt?p:z};b.prototype.q5=function(){return this.Sh&b.Et?p:z};b.prototype.r5=function(){return this.Sh&b.Uq?p:z};b.prototype.n5=function(){return this.Sh&b.Qq?p:z};b.prototype.SH=
N("rZ");b.prototype.lc=function(){this.Zh();return this.ea};b.prototype.$b=function(){this.Zh();return this.Ea};b.prototype.ce=function(){this.Zh();return this.kc};b.prototype.Yp=function(){this.Zh();return this.la};b.prototype.kh=function(a){if(a){this.yO=a.get("hfov",360);this.iF=a.get("vfov",180);this.kz=a.get("pitch",0);this.bs=a.get("partial",z);this.QM=a.t5();this.OM=a.i5();this.UM=Math.min(a.get("hfovMax",170),170);this.dy=a.get("hfovMin");this.NN=k.O4(a)}else{this.yO=360;this.iF=180;this.kz=
0;this.OM=this.QM=this.bs=z;this.UM=120;this.NN=this.dy=1}this.ea=0;this.Ea=this.kz;this.kc=0;this.Y=p};b.prototype.Oa=function(a,b,c,d,f){this.ea=a;this.Ea=b;this.kc=c;this.la=d;this.jM=f;this.Y=p};b.prototype.hb=function(){var a=this.g.ya(),b=this.g.$a();if(this.R!=a||this.ba!=b){this.R=a;this.ba=b;this.Y=p}};b.prototype.Zh=function(){if(this.Y){this.Y=z;var a=this.ea*f,e=this.Ea*f,k=this.la*f,t,u,v,x=(this.jM?d.fm(this.UM,this.R,this.ba):this.UM)*f,y;a:{y=this.dy;if(c(y).isString())if((y=y.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&
y.length>=2){y=parseFloat(y[1]);break a}y=n}y=y!==n?2*Math.atan2(this.R*this.g.getPixelRatio()*0.5,this.NN*45*y/100):this.dy?(this.jM?d.fm(this.dy,this.R,this.ba):this.dy)*f:2*Math.atan2(this.R*this.g.getPixelRatio()*0.5,this.NN*45);y=Math.min(x,y);if(this.Spa){t=360;v=180;u=0}else if(this.QM||this.OM){t=this.OM?90:this.kz+this.iF*0.5;var A=this.QM?-90:this.kz-this.iF*0.5;v=t-A;u=(t+A)*0.5;t=this.yO}else{t=this.yO;u=this.kz;v=this.iF}t=t*f;v=v*f;u=u*f;for(A=this.R/this.ba;a<-h;)a=a+2*h;for(;a>h;)a=
a-2*h;k=Math.max(Math.min(k,x),y);x=b.Rq;e>m?x=x|b.Uq:e<-m&&(x=x|b.Qq);var e=Math.max(Math.min(e,h*0.5),-h*0.5),w=2*Math.atan(Math.tan(k*0.5)/A);if(w>=v){k=2*Math.atan(Math.tan(v*0.5)*A);e=u;x=x|b.Uq|b.Qq}else{var C=Math.min(v*0.5+u,h*0.5);v=Math.max(-v*0.5+u,-h*0.5);u=!this.bs&&C>=h*0.495?h*0.5:C-w*0.5;v=!this.bs&&v<=-h*0.495?-h*0.5:v+w*0.5;if(e>u){e=u;x=x|b.Uq}else if(e<v){e=v;x=x|b.Qq}}if(this.bs){v=Math.tan(k*0.5);A=v/A;A=new j(-v,e>0?A:-A,1);v=new g;v.Zn(-e);A.apply(v);A=A.lc()*2;A<0&&(A=A+2*
h);v=t*0.5-A*0.5;w=-t*0.5+A*0.5;if(A>t){a=0;k=Math.max(y,k*t/A);x=x|b.Dt|b.Et}else if(a>v){a=v;x=x|b.Et}else if(a<w){a=w;x=x|b.Dt}}this.ea=a*l;this.Ea=e*l;this.la=k*l;this.Sh=x}};var h=Math.PI,m=Math.PI*0.5,f=Math.PI/180,l=180/Math.PI;b.Rq=0;b.Dt=1;b.Et=2;b.Uq=4;b.Qq=8;return b});
define("eH","hb,jd,bI,dT,r,it".split(","),function(a,b,c,e,d,g){a=a.extend(e,function(){e.call(this);this.P3=this.Z=z;this.kc=this.Ea=this.ea=0;this.KF=z;this.mk=this.Fl=0});a.prototype.re=function(a){if(this.Z!=a)if(this.Z=a){g.bind(this.w_,this,p);var a=g.Vl(),b=a.pitch;this.Fl=this.ea-a.yaw;this.mk=this.Ea-b;this.Xg()}else g.unbind(this.w_,this,p)};a.prototype.Oa=function(a,b,c){if(this.ea!=a){this.Fl=this.bv(this.Fl+(a-this.bv(this.ea,a)),0);this.ea=a}if(this.Ea!=b){this.mk=this.mk+(b-this.Ea);
this.Ea=b}this.kc=c};a.prototype.Ln=P("ea");a.prototype.Kn=P("Ea");a.prototype.Xs=P("kc");a.prototype.Zc=function(){return g.qma()};a.prototype.Ua=function(a){var b=g.Vl(),a=20*a/1E3,c=b.pitch+(this.P3?this.mk:0),d=b.roll;this.ea=this.je(this.ea,this.bv(this.bv(b.yaw,this.ea)+this.Fl,this.ea),a);this.Ea=this.je(this.Ea,c,a);this.kc=this.je(this.kc,d,a)};a.prototype.moa=N("P3");a.prototype.je=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.bv=function(a,b){for(;a+180<
b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.w_=function(){this.Z&&this.Xg()};a.prototype.Xg=function(){this.trigger(new c(b.W))};return a});
define("jj",["require"],function(){function a(){this.Ht=p;this.reset()}function b(a,b){var d=0.5*(b-a);0.01>Math.abs(d)&&(d=0);return b-d}a.prototype.reset=function(){this.Ht&&(this.Ht=z,this.mQ=this.nQ=this.Lp=this.Wi=this.Jx=this.Mx=this.Lx=this.rr=n)};a.prototype.moveTo=function(a,b,d,g){this.Wi=a;this.Lp=b;this.nQ=d;this.mQ=g;this.Ht=p};a.prototype.Oa=function(a,b,d,g){this.rr=a;this.Lx=b;this.Mx=d;this.Jx=g};a.prototype.Ln=P("rr");a.prototype.Kn=P("Lx");a.prototype.Xs=P("Mx");a.prototype.fB=
P("Jx");a.prototype.Zc=P("Ht");a.prototype.Ua=function(){if(this.Ht){for(var a=this.rr,e=this.Wi-180,d=this.Wi+180;a<e;)a+=d-e;for(;a>d;)a-=d-e;this.rr=a;this.rr=b(this.rr,this.Wi);this.Lx=b(this.Lx,this.Lp);this.Mx=b(this.Mx,this.nQ);this.Jx=b(this.Jx,this.mQ);this.rr==this.Wi&&this.Lx==this.Lp&&this.Mx==this.nQ&&this.Jx==this.mQ&&(this.Ht=z)}};return a});
define("bE",["require","iu","hE","bb"],function(a){function b(){this.Z=z;this.kc=this.Ea=this.ea=0;this.Xj=n}var c=a("iu"),e=a("hE"),d=a("bb");b.prototype.re=function(a){this.Z!=a&&(this.Z=a,this.Xj=n)};b.prototype.Oa=function(a,b,c){this.ea=a;this.Ea=b;this.kc=c};b.prototype.Ln=P("ea");b.prototype.Kn=P("Ea");b.prototype.Xs=P("kc");b.prototype.Zc=Q(p);b.prototype.Ua=function(){var a=c.MT(d.Sl().orientation);this.ea+=this.Xj===n?0:a.Ia-this.Xj;this.Xj=a.Ia;this.Ea=a.pitch;this.kc=a.$c;this.Ea=j===
n?a.pitch:j;this.kc=g===n?a.$c:g};var g=e.gh("debug")?e.mH("force_vr_roll"):n,j=e.gh("debug")?e.mH("force_vr_pitch"):n;return b});define("cL",[],function(){return{Rw:"left",Sw:"right",Qw:"down",Tw:"up",iV:"2x",T:"playing",om:"zoomIn",pm:"zoomOut",td:"stop"}});
define("e","require,cI,hb,jd,bI,dT,bL,eH,co,dr,jj,bE,cL,bb,N".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),j=a("bL"),k=a("eH"),h=a("co"),m=a("dr"),f=a("jj"),l=a("bE"),r=a("cL"),o=a("bb"),s=a("N"),t=c.extend(g,function(a,b,c){g.call(this);this.g=a;this.H=b;this.vb=c;this.QO=this.Mo=this.by=this.CF=this.Z=z;this.gb=new h;this.wk=new f;this.kc=this.Ea=this.ea=0;this.la=90;this.zs=1;this.ye=n;this.oK=this.mx=5;this.Da=new m;this.Da.bind(m.Mw,this.W_,this,p);this.Da.bind(m.zj,
this.jp,this,p);this.Da.bind(m.Sd,this.gk,this,p);this.Da.bind(m.Rd,this.fk,this,p);this.Ai=new k;this.Ai.bind(e.W,this.mea,this);this.Lo=z;this.Dl=new l;o.bind(e.W,this.Mi,this,p);this.Mi()});t.prototype.clear=function(){this.Da.unbind(m.Mw,this.W_,this,p);this.Da.unbind(m.zj,this.jp,this,p);this.Da.unbind(m.Sd,this.gk,this,p);this.Da.unbind(m.Rd,this.fk,this,p);this.Da.Kl();this.Da=q;o.unbind(e.W,this.Mi,this,p);this.vb=this.H=this.gb=q;this.hD();this.g=q};t.prototype.nT=function(a){this.gb.reset();
this.wk.reset();this.Da.nT(a);this.mx=a.get("automaticRotationSpeed");this.oK=a.get("automaticZoomSpeed")};t.prototype.vg=function(a){function c(d){return b(a).contains(d)}b.isArray(a)||(a=[a]);var d=0,f=0,e=0,g=z;if(!c(r.td)){c(r.Rw)?d=-this.mx:c(r.Sw)&&(d=+this.mx);c(r.Qw)?f=-this.mx:c(r.Tw)&&(f=+this.mx);c(r.om)?e=-this.oK:c(r.pm)&&(e=+this.oK);c(r.T)&&(g=p);if(c(r.iV)){d=d*2;f=f*2;e=e*2}d=d*this.zs;f=f*this.zs}this.mb(d,f,0,e,0,0,0,0,g,p,z,p)};t.prototype.Oa=function(a,b,c,d){this.ea=a;this.Ea=
b;this.kc=c;this.la=d;this.zs=this.la/90;this.Ai.Oa(this.ea,this.Ea,this.kc);this.Dl.Oa(this.ea,this.Ea,this.kc);this.Da.IB(this.la);this.wk.Oa(this.ea,this.Ea,this.kc,this.la)};t.prototype.moveTo=function(a,b,c,d){this.wk.moveTo(a,b,c,this.vb.x4(d));this.CF=z;this.gb.reset();this.Uf()};t.prototype.zT=function(a,b,c){this.mb(0,0,0,0,a,b,c,0,z,z,z)};t.prototype.Zc=function(){return this.Z&&(this.QO||this.fI())?p:z};t.prototype.fI=function(){return this.Z?this.Dl.Z?this.Dl.Zc()||this.gb.Zc():this.Ai.Z?
this.Lo?p:this.Ai.Zc()||this.gb.Zc():this.gb.Zc()||this.wk.Zc():z};t.prototype.Ua=function(a){this.gb.Ua(a);this.QO=z;var b,c,d;d=this.la;if(this.Dl.Z){this.Dl.Ua(a);a=this.Dl.Ln()+this.gb.qr;b=this.Dl.Kn();c=this.Dl.Xs()}else if(this.Ai.Z){this.Lo=z;this.Ai.Ua(a);a=this.Ai.Ln()+this.gb.qr;b=this.Ai.Kn();this.by&&(b=b+this.gb.Ix);c=this.Ai.Xs();d=d+this.gb.oL}else if(this.wk.Zc()){this.wk.Ua(a);a=this.wk.Ln();b=this.wk.Kn();c=this.wk.Xs();d=this.wk.fB()}else{a=this.ea+this.gb.qr;b=this.Ea+this.gb.Ix;
c=0;d=d+this.gb.oL}this.vb.dm(d);this.H.Oa(a,b,c,this.vb.Ne(),this.vb.Wp());this.ea=this.H.lc();this.Ea=this.H.$b();this.kc=this.H.ce();this.la=this.H.Yp();if(this.CF&&this.H.p5()){d=this.gb.MA;if(this.H.o5()||this.H.q5())d=-d;a=this.gb.oz;if(this.H.r5()||this.H.n5())a=-a;this.mb(d,a,0,0,0,0,0,0,p,z,z,p)}};t.prototype.Ln=P("ea");t.prototype.Kn=P("Ea");t.prototype.Xs=P("kc");t.prototype.fB=P("la");t.prototype.re=function(a){if(this.Z!=a){if(this.Z=a){this.Gp(this.Da.Sr==j.hm?s.nC:n);this.Da.DB(this.g.getParent());
this.Uf()}else{this.hD();this.Da.Kl()}this.NQ()}};t.prototype.GB=function(a){if(this.Mo!=a){this.Mo=a;this.NQ();this.Lo=p}};t.prototype.NQ=function(){this.Ai.re(this.Z&&this.Mo&&!o.isPresenting());this.Dl.re(this.Z&&o.isPresenting())};t.prototype.mea=function(){this.Uf()};t.prototype.HB=function(a){this.by=a;this.Ai.moa(this.by)};t.prototype.lq=function(a){this.Da.lq(a);this.Gp(this.Da.Sr==j.hm?s.nC:n)};t.prototype.ot=function(a){this.Da.ot(a)};t.prototype.Mi=function(){this.NQ();this.Uf()};t.prototype.W_=
function(a){var b=!this.Dl.Z&&(!this.Ai.Z||this.by);if(this.Da.Sr==j.wq){var c=n;if(a.oq!=0||a.dq!=0){var d=Math.sqrt(a.dq*a.dq+a.oq*a.oq)>25,f=Math.atan2(a.dq,a.oq)*180/Math.PI;f>=-22.5&&f<22.5?c=d?s.BU:s.AU:f>=22.5&&f<67.5?c=d?s.DU:s.KU:f>=67.5&&f<112.5?c=d?s.CU:s.JU:f>=112.5&&f<157.5?c=d?s.EU:s.LU:f>=157.5||f<-157.5?c=d?s.IU:s.PU:f>=-157.5&&f<-112.5?c=d?s.HU:s.OU:f>=-112.5&&f<-67.5?c=d?s.FU:s.MU:f>=-67.5&&f<-22.5&&(c=d?s.GU:s.NU)}this.Gp(c);this.mb(a.oq,a.dq,0,0,a.hI,a.LH,0,0,z,z,z,b)}else this.mb(a.oq,
a.dq,0,0,a.hI,a.LH,0,0,z,z,b,b)};t.prototype.jp=function(a){this.mb(0,0,0,a.Gla,0,0,0,a.nS,z,p,z,p)};t.prototype.mb=function(a,b,c,d,f,e,g,h,l,j,k,m){if(a=(a=z||this.gb.O6(a,b,c,f,e,g,j,k,m))||this.gb.roa(d,h)){this.wk.reset();this.CF=l;this.Uf()}};t.prototype.Uf=function(){this.QO=p;this.trigger(new d(t.Zf))};t.prototype.gk=function(){this.trigger(new d(t.Sd));this.Da.Sr==j.hm&&this.Gp(s.sU)};t.prototype.fk=function(){this.trigger(new d(t.Rd));this.Da.Sr==j.hm&&this.Gp(s.nC)};t.prototype.Gp=function(a){if(this.ye!=
a&&this.Z){this.ye&&this.g.pw(this.ye);(this.ye=a)&&this.g.NH(this.ye)}};t.prototype.hD=function(){if(this.ye){this.g.pw(this.ye);this.ye=n}};t.Zf="position change request";t.Sd="user interaction start";t.Rd="user interaction end";return t});
define("hZ",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraMovement",b).B("RotationalCameraMovement").K({path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number"});return b});
define("B","require,hb,jd,es,bI,dT,di,eo,hZ,iS,bh".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("es"),d=a("bI"),g=a("dT"),j=a("di");a("eo");a("hZ");var k=a("iS"),h=a("bh"),m=b.extend(g,function(a,b,c){g.call(this);this.g=a;this.H=b;this.vb=c;this.$u=this.Lc=q;this.qp=this.rp=z;this.Du=[];this.rP=0;this.J=q;this.Ea=this.ea=0;this.la=90});m.prototype.clear=function(){this.end();this.H=this.g=q};m.prototype.start=function(a){this.hha(a);this.jfa();this.rp=this.qp=z;this.Uf();this.Tf()};m.prototype.end=
function(){if(this.Lc!=q){this.oX();this.rp=this.qp=z;this.J=q;this.Tf()}};m.prototype.tma=function(){if(this.Lc&&this.Lc.get("restartMovementOnUserInteraction")){if(!this.rp){this.jQ();this.J=q;this.rp=p;this.Tf()}}else this.end()};m.prototype.yma=function(){if(this.rp){this.rp=z;this.IZ()||this.Kha()}};m.prototype.hha=function(a){this.oX();this.Lc=a;this.Lc.bind(c.ko,this.l0,this,p);this.Lc.bind(c.vC,this.k0,this,p);this.Lc.bind(c.ga("movementIndex"),this.eO,this,p);this.Du=this.Lc.get("movements",
[])};m.prototype.oX=function(){this.jQ();if(this.Lc!=q){this.Lc.unbind(c.ko,this.l0,this);this.Lc.unbind(c.vC,this.k0,this);this.Lc.unbind(c.ga("movementIndex"),this.eO,this);this.Lc.set("movementIndex",-1);this.Lc=q;this.Du=[]}};m.prototype.Vf=function(){return this.Lc?this.qp?e.Gc:e.T:e.L};m.prototype.Oa=function(a,b,c,d){this.ea=a;this.Ea=b;this.la=d};m.prototype.Zc=function(){return this.Lc&&!this.qp&&!this.rp&&!this.IZ()?p:z};m.prototype.Ua=function(a){if(this.Zc()){this.J.Ua(a);a=this.J.ab("hfov");
if(this.vb.K5()){var b=this.J.Pka();b.aB=this.vb.ZG(b.aB);b.bI=this.vb.ZG(b.bI);a=this.vb.ZG(a)}this.H.Oa(this.J.ab("yaw"),this.J.ab("pitch"),0,a,this.vb.Wp());this.ea=this.H.lc();this.Ea=this.H.$b();this.la=this.H.Yp();this.J.Cd()&&this.wea()}};m.prototype.Ln=P("ea");m.prototype.Kn=P("Ea");m.prototype.fB=P("la");m.prototype.play=function(){if(this.qp){this.qp=z;this.Uf();this.Tf()}};m.prototype.pause=function(){if(!this.qp){this.qp=p;this.Tf()}};m.prototype.l0=function(){this.play()};m.prototype.k0=
function(){this.pause()};m.prototype.jfa=function(){this.rP=0;var a=this.Lc.get("movementIndex",-1);a==-1&&(a=0);this.tF(a)};m.prototype.lfa=function(){this.rP++;var a=this.Lc.get("repeat",1);if(this.Du.length>0&&(a==0||this.rP<a))this.tF(0);else{this.Lc.trigger(new d(c.ta));this.end();this.Bia()}};m.prototype.kfa=function(){this.tF(this.Lc.get("movementIndex",0)+1)};m.prototype.tF=function(a){if(a<this.Du.length)this.Lc.get("movementIndex")!=a?this.Lc.set("movementIndex",a):this.eO();else{this.Lc.trigger(new d(c.Mq));
this.lfa()}};m.prototype.eO=function(){var a=this.Lc.get("movementIndex");this.J=a>=0?this.W$(this.Du[a]):q};m.prototype.wea=function(){this.Du[this.Lc.get("movementIndex")].trigger(new d(c.ta));this.kfa()};m.prototype.IZ=function(){return this.$u!=q};m.prototype.Kha=function(){this.jQ();var a=this,b=this.Lc.get("restartMovementDelay")||0;this.$u=setTimeout(function(){a.$u=q;a.Mea()},b);this.Tf()};m.prototype.jQ=function(){if(this.$u){clearTimeout(this.$u);this.$u=q}};m.prototype.Mea=function(){this.tF(this.Lc.get("movementIndex"));
this.Uf();this.Tf()};m.prototype.W$=function(a){var b,c,d,e=this.ns(this.ea,-180,180),g=this.Ea,m=this.la;if(j.tb("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",e);c=a.get("targetPitch",g);if(d=a.get("targetHfov")){this.vb.E6(d);d=this.vb.Ne()}else d=m;this.H.Oa(b,c,0,d,this.vb.Wp());if(this.H.bs)b=this.H.lc();else switch(a.get("path")){case "left":b=this.ns(b,e-360,e);break;case "right":b=this.ns(b,e,e+360);break;case "longest":b=this.ns(b,e-180,e+180);b=b>=e?this.ns(b,e-360,e):this.ns(b,
e,e+360);break;default:b=this.ns(b,e-180,e+180)}}else if(j.tb("DistanceRotationalCameraMovement",a)){b=e+a.get("yawDelta",0);this.H.bs&&(b=Math.min(Math.max(-180,b),180));c=g+a.get("pitchDelta",0);d=m+a.get("hfovDelta",0);this.H.Oa(b,c,0,d,this.vb.Wp());this.H.bs&&(b=this.H.lc())}c=this.H.$b();d=this.H.Yp();return new k(a.get("easing"),[new h("yaw",e,b,a.get("yawSpeed")),new h("pitch",g,c,a.get("pitchSpeed")),new h("hfov",m,d,a.get("hfovSpeed"))],a.get("duration"))};m.prototype.ns=function(a,b,c){for(;a<
b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};m.prototype.Uf=function(){this.trigger(new d(m.Zf))};m.prototype.Bia=function(){this.trigger(new d(m.VI))};m.prototype.Tf=function(){this.trigger(new d(m.Bb))};m.Zf="position change request";m.VI="sequence end";m.Bb="playback state change";return m});
define("z","require,cI,hb,jd,bI,dT,fn,e,B,cL,dc,bb,gP,es".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("jd"),d=a("bI"),g=a("dT"),j=a("fn"),k=a("e"),h=a("B"),m=a("cL");a("dc");var f=a("bb");a("gP");var l=a("es"),r=c.extend(g,function(a,b){g.call(this);this.g=a;this.g.bind(e.qb,this.hb,this);f.bind(e.W,this.Mi,this,p);this.vb=b;this.vP=z;this.la=this.kc=this.Ea=this.ea=n;this.Hl=this.Gl=this.Ly=this.Oy=this.Ny=this.My=z;this.Vh=p;this.ou=this.mk=0;this.Z=z;this.Ch=q;this.gy=5E3;this.ky=this.bN=
q;this.gv=[];this.df=this.qo=l.L;this.H=new j(a);this.La=new k(this.g,this.H,this.vb);this.La.bind(k.Zf,this.nn,this,p);this.La.bind(k.Sd,this.gk,this,p);this.La.bind(k.Rd,this.fk,this,p);this.Ec=new h(this.g,this.H,this.vb);this.Ec.bind(h.Zf,this.nn,this,p);this.Ec.bind(h.VI,this.jO,this,p);this.Ec.bind(h.Bb,this.m0,this,p)});r.prototype.clear=function(){this.wl();this.La.unbind(k.Zf,this.nn,this);this.La.unbind(k.Sd,this.gk,this,p);this.La.unbind(k.Rd,this.fk,this,p);this.La.clear();this.La=q;this.Ec.unbind(h.Zf,
this.nn,this);this.Ec.unbind(h.VI,this.jO,this);this.Ec.unbind(h.Bb,this.m0,this);this.Ec.clear();this.H=this.Ec=q;this.g.unbind(e.qb,this.hb,this);f.unbind(e.W,this.Mi,this,p);this.g=q;b(this.gv).each(function(a){a.unbind(e.ko,this.EP,this,p)},this);this.gv=[]};r.prototype.end=function(){this.qo=l.L;this.wl();this.La.re(z);this.Ec.end();this.Z=z;this.zn(0,0,0,0);this.ky=this.bN=q;b(this.gv).each(function(a){a.unbind(e.ko,this.EP,this,p)},this);this.gv=[];this.Fs()};r.prototype.start=function(a,b){this.qo=
l.T;this.Z=p;this.zn(0,0,0,0);this.Iz(a);this.Jga(b);this.lG(this.ky);this.Fs()};r.prototype.Vf=P("df");r.prototype.play=function(){this.qo=l.T;this.Ec.Vf()==l.Gc?this.Ec.play():this.Ec.Vf()==l.L&&(this.ky?this.lG(this.ky):this.vu()||this.Tz());this.Fs()};r.prototype.Xma=function(){this.qo==l.Gc&&this.play()};r.prototype.pause=function(){this.La.vg(m.td);if(this.qo==l.T){this.qo=l.Gc;if(this.Ec.Vf()==l.T){this.Ec.pause();this.Fs()}else this.vu()&&this.wl()}};r.prototype.stop=function(){this.qo=l.L;
this.Ec.Vf()!=l.L&&this.Ec.end();this.La.vg(m.td);this.Fs();this.vu()&&this.wl()};r.prototype.moveTo=function(a,b,c,d){this.La.moveTo(a,b,c,d)};r.prototype.Mi=function(){this.H.SH(f.isPresenting())};r.prototype.vg=function(a){this.La.vg(a)};r.prototype.zT=function(a,b,c){this.La.zT(a,b,c)};r.prototype.GB=function(a){if(this.Mo!=a){this.Mo=a;this.La.GB(this.Mo);this.fa()}};r.prototype.HB=function(a){this.La.HB(a)};r.prototype.lq=function(a){this.La.lq(a)};r.prototype.ot=function(a){this.La.ot(a)};
r.prototype.Xn=function(a){if(this.Z)if(this.La.Zc()||f.isPresenting()||this.Mo&&(this.La.Z||!this.La.by)){this.La.fI()&&this.Ec.tma();this.La.Ua(a);this.Th(this.La.Ln(),this.La.Kn(),this.La.Xs(),this.La.fB());this.fa()}else if(this.Ec.rp){this.Ec.yma();this.fa()}else if(this.Ec.Zc()){this.Ec.Ua(a);this.Th(this.Ec.Ln(),this.Ec.Kn(),0,this.Ec.fB());this.fa()}else if(this.vP){this.vP=z;this.vb.dm(this.g.Ne());this.H.Oa(this.g.lc(),this.g.$b(),this.g.ce(),this.vb.Ne(),this.vb.Wp());this.Th(this.H.lc(),
this.H.$b(),this.H.ce(),this.H.Yp());this.fa()}else{this.zn(0,0,0,0);this.qo==l.T&&this.Ec.Vf()==l.L&&(this.vu()||this.Tz())}};r.prototype.Zb=function(){var a=this.g.lc(),b=this.g.$b(),c=this.g.ce(),d=this.g.Ne(),e=a-this.ea||0,f=b-this.Ea||0,g=c-this.kc||0,h=d-this.la||0;this.ea=a;this.Ea=b;this.kc=c;this.la=d;this.zn(e,f,g,h);this.La.Oa(a,b,c,d);this.Ec.Oa(a,b,c,d)};r.prototype.Iz=function(a){this.H.kh(a)};r.prototype.Jga=function(a){this.gy=a.get("timeToIdle",5E3);this.bN=a.get("idleSequence");
this.ky=a.get("initialSequence");this.La.nT(a);this.gv=a.get("sequences",[]);b(this.gv).each(function(a){a.bind(e.ko,this.EP,this,p)},this)};r.prototype.EP=function(a){this.lG(a.source)};r.prototype.nn=function(){this.wl();this.fa()};r.prototype.gk=function(){this.trigger(new d(r.Sd))};r.prototype.fk=function(){this.trigger(new d(r.Rd))};r.prototype.lG=function(a){if(a){this.La.re(!a.get("mandatory",z));this.Ec.start(a)}else this.jO()};r.prototype.jO=function(){this.La.re(p);this.Tz()};r.prototype.m0=
function(){this.Fs()};r.prototype.hb=function(){this.vP=p;this.fa()};r.prototype.vu=function(){return this.Ch!=q};r.prototype.Tz=function(){this.wl();var a=this;this.Ch=setTimeout(function(){a.Ch=q;a.bO()},this.gy)};r.prototype.wl=function(){if(this.Ch){clearTimeout(this.Ch);this.Ch=q}};r.prototype.bO=function(){this.lG(this.bN)};r.prototype.fa=function(){this.trigger(new d(r.ra))};r.prototype.Th=function(a,b,c,d){this.g.Oa(a,b,c,d)};r.prototype.zn=function(a,b,c,e){var c=z,f=Math.abs(a)<0.001&&Math.abs(b)<
0.001&&Math.abs(e)<0.001;if(f||this.Mo){c=this.Vh!=p;this.Hl=this.Gl=this.Ly=this.Oy=this.Ny=this.My=z;this.Vh=p}else{if(this.My!=a<-0.001){this.My=!this.My;c=p}if(this.Ny!=a>0.001){this.Ny=!this.Ny;c=p}if(this.Ly!=b<-0.001){this.Ly=!this.Ly;c=p}if(this.Oy!=b>0.001){this.Oy=!this.Oy;c=p}if(this.Gl!=e<-0.001){this.Gl=!this.Gl;c=p}if(this.Hl!=e>0.001){this.Hl=!this.Hl;c=p}if(this.Vh!=f){this.Vh=!this.Vh;c=p}}f||this.trigger(new d(r.wj,{yaw:this.ea,pitch:this.Ea,roll:this.kc,hfov:this.la}));if(c){(this.Z||
this.Vh)&&this.trigger(new d(r.Yf,{movingLeft:this.My,movingRight:this.Ny,movingUp:this.Oy,movingDown:this.Ly,zoomingIn:this.Gl,zoomingOut:this.Hl,stopped:this.Vh}));this.Fs()}};r.prototype.Fs=function(){var a;if(this.Z){a=this.Ec.Vf();if(!this.Vh)a=l.T}else a=l.L;if(this.df!=a){this.df=a;this.trigger(new d(r.Bb,{state:this.df}))}};r.ra="request frame";r.Yf="movement change";r.wj="position change";r.Bb="playback state change";r.Sd="user interaction start";r.Rd="user interaction end";return r});
define("df","require,jd,fn,r,it,hE,bb,iu".split(","),function(a){function b(a,d,e){this.g=a;this.vb=d;this.rv=e;this.H=new c(a);e.qj&&this.H.kh(e.qj);this.yn=new c(a);this.EN=this.Xj=n;this.ea=this.g.lc();this.Ea=this.g.$b();this.kc=this.g.ce();this.la=this.rv.qj?this.g.Ne():b.gC;this.F2=0;this.S=q;this.OZ=p}a("jd");var c=a("fn"),e=a("r"),d=a("it"),g=a("hE"),j=a("bb"),k=a("iu");b.prototype.kh=function(a){if(this.S!=a){this.pp=p;this.S=a}};b.prototype.mt=function(a,b){this.ea=a;this.Ea=b};b.prototype.Ov=
function(a){this.vb.E6(a);return this.vb.Ne()};b.prototype.dm=N("la");b.prototype.MB=N("OZ");b.prototype.nt=N("F2");b.prototype.Xn=function(){if(this.vb.K5())this.la=this.vb.ZG(this.la);if(this.rv.Gb()){var a=j.Sl().orientation,a=k.MT(a);this.ea=this.ea+(this.Xj===n?0:a.Ia-this.Xj);this.Xj=a.Ia;this.Ea=a.pitch;this.kc=a.$c;this.Ea=m===n?a.pitch:m;this.kc=h===n?a.$c:h}else if(this.rv.zla()){var a=d.Vl(),b=this.bv(a.yaw,this.ea);this.ea=this.ea+(this.Xj===n?0:b-this.Xj);this.Ea=this.Ea+(this.EN===n?
0:a.pitch-this.EN);this.kc=a.roll;this.Xj=a.yaw;this.EN=a.pitch}this.pp&&this.H.kh(this.S);this.H.SH(j.isPresenting());this.H.Oa(this.ea,this.Ea,this.kc,this.la,this.vb.Wp());if(this.pp){this.pp=z;if(this.rv&&this.rv.qj)if(a=this.g.hf(this.rv.qj)){a.set("deltaYaw",this.g.lc()-this.H.lc());a.set("deltaPitch",this.g.$b()-this.H.$b());a.set("deltaRoll",this.g.ce()-this.H.ce())}}this.ea=this.H.lc();this.Ea=this.H.$b();this.kc=this.H.ce();this.la=this.OZ?this.H.Yp():this.la;this.g.Oa(this.ea,this.Ea,this.kc,
this.la);this.g.nt(this.F2)};b.prototype.PH=function(a,b){this.yn.kh(a);this.yn.Oa(0,0,0,b,this.vb.Wp());return this.yn.Yp()};b.prototype.$ma=function(a,b){this.yn.kh(a);this.yn.Oa(b.Ia,b.pitch,b.$c,b.Pc,this.vb.Wp());b.Ia=this.yn.lc();b.pitch=this.yn.$b();b.$c=this.yn.ce();b.Pc=this.yn.Yp()};b.prototype.bv=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.MR=function(){return b.gC};b.gC=e.Wa()?90:110;b.prototype.MR=function(){return b.gC};b.gC=e.Wa()?90:110;var h=g.gh("debug")?
g.mH("force_vr_roll"):n,m=g.gh("debug")?g.mH("force_vr_pitch"):n;return b});
define("cO","require,di,ej,hB,r,bb".split(","),function(a){function b(a,c,g,f){this.g=a;a=this.g.F;this.PT=a.get("transitionMode","blending");var l=a.get("transitionDuration",500);if(this.Nca(c,g)){this.PT=b.lC;l=1500}this.g4=a.get("blendingTransitionDuration",l);this.Cka=a.get("firstTransitionDuration",l);this.pka=a.get("disolveTransitionDuration",l);this.f7=a.get("translationTransitionDuration",1E3);this.Foa=a.get("translationTransitionEnabled",p);this.b6=a.get("originTransitionDuration",3E3);this.iI=
1E3;this.qj=c;this.voa=!c||c.E5();this.sd=g;this.Doa=!g||g.D5();this.IT=!g||g.E5();this.Coa=!!g&&this.tN(g);a=(this.HT=f)&&f.get("initialPosition")||new e;this.hh=new e;this.hh.set("yaw",a.get("yaw",0));this.hh.set("pitch",a.get("pitch"));this.hh.set("hfov",a.get("hfov"));this.Xc=new d;this.Xc.set("yaw",this.hh.get("yaw"));this.Xc.set("pitch",this.hh.get("pitch"));this.Xc.set("hfov",this.hh.get("hfov"));this.Xc.set("stereographicFactor",0);this.dj=[];if(!c){this.dj=f&&f.get("displayMovements")||[];
for(a=this.dj.length-1;a>=0;a--){this.Xc.set("yaw",this.Xc.get("yaw",this.dj[a].get("targetYaw")));this.Xc.set("pitch",this.Xc.get("pitch",this.dj[a].get("targetPitch")));this.Xc.set("hfov",this.Xc.get("hfov",this.dj[a].get("targethfov")));this.Xc.set("stereographicFactor",this.Xc.get("stereographicFactor",this.dj[a].get("stereographicFactor")))}f=f&&f.get("displayOriginPosition")||this.hh;this.Xc.set("yaw",f.get("yaw"));this.Xc.set("pitch",f.get("pitch"));this.Xc.set("hfov",f.get("hfov"));this.Xc.set("stereographicFactor",
f.get("stereographicFactor"))}this.mode=(this.cI=this.PT==b.Kk&&this.Foa&&this.Doa?this.tca(c,g):q)?b.rV:c?g?this.PT=="blending"?b.Kk:b.lC:b.qU:b.pU;if(this.mode==b.Kk&&(!this.voa||!this.IT))if(this.Xc.get("stereographicFactor",0)>0||this.dj.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.lC}var c=a("di"),e=a("ej"),d=a("hB"),g=a("r"),j=a("bb");b.prototype.zla=function(){return this.g.Pi.get("gyroscopeEnabled")};b.prototype.Gb=function(){return j.isPresenting()};
b.prototype.tca=function(a,b){if(!a||!b)return q;var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.Wja()&&a.get("panorama")==b});return c.length==0?q:c[0]};b.prototype.Nca=function(a,b){return this.Gb()&&g.Dd()==g.qi&&(this.tN(a)||this.tN(b))};b.prototype.tN=function(a){a=(a=a&&a.get("frames"))&&a.length>0&&a[0].get("sphere");return!(!a||!c.tb("Video360Resource",a))};b.lC="fade_out_fade_in";b.pU="fade_in";b.qU="fade_out";b.Kk="blending";b.rV="translation";return b});
define("cB",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db){if(!this.J){var b=this.g.hf(this.I.sd);b.cj();b.set("alpha",0.01);this.J=new c("linear",[new e("alpha",0,1,n)],this.I.g4)}this.J.Ua(a);a=this.J.ab("alpha");b=this.g.hf(this.I.sd);b.set("alpha",a);this.J.Cd()&&(this.Db=p)}};return b});
define("iv",["require"],function(){function a(a,c,e,d){this.p=a;this.xa=c;this.g=e;this.I=d;this.Db=z}a.prototype.Zl=P("Db");a.prototype.kj=function(){this.Db||(this.yp(),this.Db=p)};a.prototype.yp=D();return a});
define("ho",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j){c.call(this,a,b,g,j)});a.prototype.yp=function(){this.I.sd&&!this.g.hf(this.I.sd)&&(this.Md=this.g.create(this.I.sd),this.Md.set("alpha",0),this.Md.set("loadingActive",p),this.g.add(this.Md))};return a});
define("bj",["require","hb","iv","hm"],function(a){var b=a("hb"),c=a("iv"),e=a("hm"),a=b.extend(c,function(a,b,e,k){c.call(this,a,b,e,k)});a.prototype.yp=function(){this.I.Coa&&e.bT(this.g.eb(),this)};return a});
define("gM",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db&&(this.J||(this.J=new c("linear",[new e("alpha",0,1,n)],this.g.F.Roa()?this.I.Cka:this.I.g4)),this.J.Ua(a),a=this.J.ab("alpha"),this.g.hf(this.I.sd).set("alpha",a),this.J.Cd()))this.Db=p};return b});
define("fN",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db&&(this.J||(this.J=new c("linear",[new e("alpha",1,0,n)],this.I.pka)),this.J.Ua(a),a=this.J.ab("alpha"),this.g.hf(this.I.qj).set("alpha",a),this.J.Cd()))this.Db=p};return b});
define("iP",["require","iS","bh"],function(a){function b(a,b,c,d){this.p=a;this.xa=b;this.g=c;this.I=d;this.J=q;this.Db=z;this.KE=0}function c(a,b,c){for(;a<b;)a+=c-b;for(;a>c;)a-=c-b;return a}var e=a("iS"),d=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db&&(this.J||(this.J=this.KE<this.I.dj.length?this.iaa(this.KE):this.X$()),this.J.Ua(a),this.xa.mt(this.J.ab("yaw"),this.J.ab("pitch")),this.xa.dm(this.J.ab("hfov")),this.xa.nt(this.J.ab("stereographicFactor")),this.J.Cd()))this.J=
q,this.KE++,this.KE>this.I.dj.length&&(this.xa.MB(p),this.Db=p)};b.prototype.X$=function(){var a=c(this.g.lc(),-180,180),b=this.g.$b();this.g.ce();var k=this.g.Ne(),h=this.g.k.lh,m=this.I.hh.get("hfov"),m={Ia:this.I.hh.get("yaw"),pitch:this.I.hh.get("pitch",b),$c:this.g.ce(),Pc:m?this.xa.Ov(m):k,lh:0};this.xa.$ma(this.I.sd,m);m.Ia=c(m.Ia,a-180,a+180);var f=0.5<Math.abs(k-m.Pc),l=Math.abs(h-m.lh),r=0.01<l,f=this.I.Gb()?1:Math.max(f?this.I.iI:1,r?this.I.b6*l:1);return new e(r?"linear":"cubic_in_out",
[new d("yaw",a,m.Ia,n),new d("pitch",b,m.pitch,n),new d("hfov",k,m.Pc,n),new d("stereographicFactor",h,m.lh,n)],f)};b.prototype.iaa=function(a){var b=this.I.dj[a],k=c(this.g.lc(),-180,180),h=this.g.$b();this.g.ce();var m=this.g.Ne(),f=this.g.k.lh,l=b.get("targetStereographicFactor",f),r=b.get("targetHfov");if(r)r=this.xa.Ov(r);else{for(r=z;a<this.I.dj.length&&!r;a++)r=this.I.dj[a].get("targetHfov")!==n;r?r=m:(r=this.xa.Ov(this.I.hh.get("hfov",this.xa.MR())),r=m+(r-m)*(f-l))}var a=b.get("targetYaw",
k),o=b.get("targetPitch",h);this.g.ce();switch(b.get("path")){case "left":a=c(a,k-360,k);break;case "right":a=c(a,k,k+360);break;case "longest":a=c(a,-360,360);a=a>=k?c(a,k,k+360):c(a,k-360,k);break;default:a=c(a,k-180,k+180)}return new e(b.get("easing"),[new d("yaw",k,a,b.get("yawSpeed")),new d("pitch",h,o,b.get("pitchSpeed")),new d("hfov",m,r,b.get("hfovSpeed")),new d("stereographicFactor",f,l,b.get("stereographicFactorSpeed"))],b.get("duration"))};return b});
define("eI",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db){if(!this.J){var b=this.g.$b(),j=this.g.Ne(),k=this.g.k.lh,h=this.I.Xc.get("stereographicFactor",0),m=Math.abs(k-h),f=0<h?this.I.Xc.get("pitch",b):b,l=this.I.Xc.get("hfov"),l=l?this.xa.Ov(l):j;0==h&&(l=Math.min(j,this.xa.PH(this.I.sd,l)));this.xa.MB(z);m=this.I.Gb()?1:Math.max(0.5<Math.abs(j-
l)?this.I.iI:1,0.01<m?this.I.b6:1);this.J=new c("cubic_in_out",[new e("hfov",j,l,n),new e("pitch",b,f,n),new e("stereographicFactor",k,h,n)],m)}this.J.Ua(a);this.xa.dm(this.J.ab("hfov"));this.xa.nt(this.J.ab("stereographicFactor"));this.xa.mt(this.g.lc(),this.J.ab("pitch"));this.J.Cd()&&(this.xa.kh(this.I.sd),this.xa.mt(this.I.Xc.get("yaw"),this.I.Xc.get("pitch",this.g.$b())),this.Db=p)}};return b});
define("L",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j){c.call(this,a,b,g,j)});a.prototype.yp=function(){this.g.remove(this.g.hf(this.I.qj))};return a});
define("dX",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j){c.call(this,a,b,g,j)});a.prototype.yp=function(){this.xa.kh(this.I.sd);this.xa.mt(this.I.hh.get("yaw"),this.I.hh.get("pitch",this.g.$b()));var a=this.I.hh.get("hfov");a&&(a=this.xa.Ov(a),this.xa.dm(a))};return a});
define("iz",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j){c.call(this,a,b,g,j)});a.prototype.yp=function(){this.xa.kh(this.I.sd);this.xa.nt(this.I.IT?this.I.Xc.get("stereographicFactor",0):0);this.xa.mt(this.I.Xc.get("yaw"),this.I.Xc.get("pitch",this.g.$b()));var a=this.I.Xc.get("hfov");!a&&!this.I.qj&&(a=this.xa.MR());a&&(a=this.xa.Ov(a),this.xa.dm(a),this.xa.MB(!this.I.IT))};return a});
define("js",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j){c.call(this,a,b,g,j)});a.prototype.yp=function(){this.xa.kh(this.I.sd);this.xa.dm(this.xa.PH(this.I.sd,this.g.Ne()));this.xa.mt(this.g.lc()+this.I.cI.D4(),this.g.$b())};return a});
define("ga",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db){if(!this.J){var b=this.g.Ne(),j=this.xa.PH(this.I.sd,b),k=!this.I.Gb()&&0.01<Math.abs(b-j)?this.I.iI:1;this.J=new c("cubic_in_out",[new e("hfov",b,j,n)],k)}this.J.Ua(a);this.xa.dm(this.J.ab("hfov"));this.J.Cd()&&(this.xa.MB(p),this.Db=p)}};return b});
define("gg",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.xa=b;this.g=c;this.I=e;this.J=q;this.Db=z}var c=a("iS"),e=a("bh");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db){if(!this.J){var b=this.g.Ne(),j=Math.min(this.xa.PH(this.I.sd,b),b),k=!this.I.Gb()&&0.01<Math.abs(b-j)?this.I.iI:1;this.J=new c("cubic_in_out",[new e("hfov",b,j,n)],k);this.xa.MB(z)}this.J.Ua(a);this.xa.dm(this.J.ab("hfov"));this.J.Cd()&&(this.xa.kh(this.I.sd),this.xa.mt(this.g.lc()+this.I.cI.D4(),
this.g.$b()),this.Db=p)}};return b});
define("hg",["require","iS","bh","r"],function(a){function b(a,b,c,d){this.p=a;this.xa=b;this.g=c;this.I=d;this.uK=this.Cs=q;this.Db=z}var c=a("iS"),e=a("bh"),d=a("r");b.prototype.Zl=P("Db");b.prototype.kj=function(a){if(!this.Db){if(!this.Cs){this.g.H6(!this.I.Gb()&&d.browser()!=d.Mk);var b=this.g.hf(this.I.sd);b.cj();b.set("alpha",0.01);this.Cs=new c("cubic_in_out",[new e("source",0,0.75,n),new e("target",-0.75,0,n)],this.I.f7);this.uK=new c("linear",[new e("alpha",-1,2,n)],this.I.f7)}this.Cs.Ua(a);
this.uK.Ua(a);var a=this.g.hf(this.I.sd),b=this.g.hf(this.I.qj),k=this.I.cI.Uka(),h=this.Cs.ab("target");a.set("translationX",k.x*h);a.set("translationY",k.y*h);a.set("translationZ",k.z*h);h=this.Cs.ab("source");b.set("translationX",k.x*h);b.set("translationY",k.y*h);b.set("translationZ",k.z*h);b=Math.max(0,Math.min(1,this.uK.ab("alpha")));this.Cs.Cd()||(b=Math.max(0.01,Math.min(0.99,b)));a.set("alpha",b);this.Cs.Cd()&&(this.g.H6(z),this.Db=p)}};return b});
define("dt",["require","hb","iv"],function(a){var b=a("hb"),c=a("iv"),a=b.extend(c,function(a,b,g,j,k){c.call(this,a,b,g,j);this.a$=k});a.prototype.yp=function(){this.a$.call(this.p)};return a});define("bV",["require"],function(){function a(a,c,e,d){this.p=a;this.xa=c;this.g=e;this.I=d}a.prototype.Zl=function(){var a=this.g.eb(),c=a&&a.KG,a=a&&a.GE;return!!c&&!c.get("visible")&&!!a&&!a.get("visible")};a.prototype.kj=D();return a});
define("dq","require,bI,dT,df,cO,cB,ho,bj,gM,fN,iP,eI,L,dX,iz,js,ga,gg,hg,dt,bV,hb".split(","),function(a){var b=a("bI"),c=a("dT"),e=a("df"),d=a("cO"),g=a("cB"),j=a("ho"),k=a("bj"),h=a("gM"),m=a("fN"),f=a("iP"),l=a("eI"),r=a("L"),o=a("dX"),s=a("iz"),t=a("js"),u=a("ga"),v=a("gg"),x=a("hg"),y=a("dt"),A=a("bV"),w=a("hb").extend(c,function(a,b,d){c.call(this);this.F=a;this.g=b;this.vb=d;this.xa=q;this.SX=this.Jm=this.nz=this.cs=n;this.I=q;this.He=[]});w.prototype.clear=function(){this.x1(this.Jm);this.I&&
this.x1(this.I.sd);this.nz=this.cs=n;this.H=this.vb=this.g=this.F=this.I=q};w.prototype.display=function(a,b){if(!this.I&&a==this.Jm||this.I&&a==this.I.sd)this.nz=this.cs=n;else{this.cs=a;this.nz=b;this.I||this.dQ()}};w.prototype.hide=function(){this.cs=q;!this.I&&this.Jm&&this.dQ()};w.prototype.Qka=function(){return this.I&&this.I.sd};w.prototype.dQ=function(){this.I=new d(this.g,this.Jm,this.cs,this.nz);this.xa=new e(this.g,this.vb,this.I);this.nz=this.cs=n;this.Nb(j);switch(this.I.mode){case d.qU:this.vc(this.uv);
this.Nb(m);this.vc(this.tv);this.Nb(r);this.vc(this.Ds);break;case d.pU:this.Nb(k);this.Nb(s);this.vc(this.vv);this.Nb(h);this.Nb(A);this.Nb(f);this.vc(this.xG);break;case d.lC:this.vc(this.uv);this.Nb(m);this.vc(this.tv);this.Nb(r);this.vc(this.Ds);this.Nb(k);this.Nb(s);this.vc(this.vv);this.Nb(h);this.Nb(A);this.Nb(f);this.vc(this.xG);break;case d.rV:if(this.I.Gb()){this.vc(this.uv);this.vc(this.tv);this.Nb(t);this.vc(this.vv);this.Nb(x);this.Nb(r);this.vc(this.Ds)}else{this.vc(this.uv);this.vc(this.tv);
this.Nb(v);this.vc(this.vv);this.Nb(x);this.Nb(r);this.vc(this.Ds);this.Nb(u);this.Nb(k);this.Nb(A)}this.vc(this.xG);break;case d.Kk:if(this.I.Gb()){this.vc(this.uv);this.vc(this.tv);this.Nb(o);this.vc(this.vv);this.Nb(g);this.Nb(r);this.vc(this.Ds)}else{this.vc(this.uv);this.vc(this.tv);this.Nb(l);this.vc(this.vv);this.Nb(g);this.Nb(r);this.vc(this.Ds);this.Nb(k);this.Nb(A);this.Nb(f)}this.vc(this.xG)}this.fa()};w.prototype.xQ=function(){this.Jm=this.I.sd;this.SX=this.I.HT;this.I=this.xa=q;this.cs===
n?this.Jm?this.oia(this.Jm,this.SX):this.pia():this.dQ()};w.prototype.Xn=function(a){if(this.He.length){var b=this.He[0];b.kj(a);this.fa();this.xa.Xn(a);if(b.Zl()){this.He.shift();this.He.length==0&&this.xQ()}}};w.prototype.Zb=D();w.prototype.Nb=function(a){this.He.push(new a(this,this.xa,this.g,this.I))};w.prototype.vc=function(a){this.He.push(new y(this,this.xa,this.g,this.I,a))};w.prototype.x1=function(a){if(a)if(a=this.g.hf(a)){this.g.remove(a);this.Ds()}};w.prototype.Ds=function(){this.trigger(new b(w.LI,
{panorama:this.I?this.I.qj:this.Jm}))};w.prototype.uv=function(){this.trigger(new b(w.Bq,{panorama:this.I.qj}))};w.prototype.tv=function(){this.trigger(new b(w.Aq,{panorama:this.I.qj}))};w.prototype.xG=function(){this.trigger(new b(w.Cq,{panorama:this.I.sd,camera:this.I.HT}))};w.prototype.vv=function(){this.trigger(new b(w.Dq,{panorama:this.I.sd,camera:this.I.HT}))};w.prototype.oia=function(a,c){this.trigger(new b(w.zI,{panorama:a,camera:c}))};w.prototype.pia=function(){this.trigger(new b(w.AI))};
w.prototype.fa=function(){this.trigger(new b(w.ra))};w.ra="request frame";w.LI="panorama removed";w.zI="all pending panoramas displayed";w.AI="all pending panoramas hidden";w.Aq="panorama end";w.Dq="panorama start";w.Cq="panorama show";w.Bq="panorama hide";return w});
define("cV",["require","hb","bI","dT"],function(a){var b=a("hb"),c=a("bI"),e=a("dT"),d=b.extend(e,function(a){e.call(this);this.g=a});d.prototype.clear=function(){this.end();this.g=q};d.prototype.hw=function(a){for(var b=this.MD(a),c=a.J4(),d=0;d<b;d++)this.g.hf(this.wM(a,d)).set("alpha",d==c?1:0)};d.prototype.getTime=Q(0);d.prototype.start=D();d.prototype.end=D();d.prototype.play=D();d.prototype.pause=D();d.prototype.ow=D();d.prototype.tw=D();d.prototype.$H=D();d.prototype.stop=D();d.prototype.lt=
D();d.prototype.kt=D();d.prototype.gI=D();d.prototype.Zb=D();d.prototype.Vf=D();d.prototype.MD=function(a){return a.get("frames").length};d.prototype.wM=function(a,b){return a.get("frames")[b]};d.prototype.fa=function(){this.trigger(new c(d.ra))};d.prototype.yk=function(a,b,e,h,m,f){this.trigger(new c(d.oi,{time:a,duration:b,transitionPosition:e,transitionLength:h,steps:m,selectedStep:f}))};d.prototype.Tf=function(){this.trigger(new c(d.Bb,{state:this.Vf()}))};d.ra="request frame";d.u7="frame display";
d.v7="frame hide";d.oi="time change";d.Bb="playback state change";return d});
define("Y","require,jquery.mod,cI,hb,jd,eU,bI,cV,el,dp,hE,bb,gE".split(","),function(a){a("jquery.mod");var b=a("cI"),c=a("hb"),e=a("jd"),d=a("eU");a("bI");var g=a("cV"),j=a("el"),k=a("dp");a("hE");var h=a("bb"),m=a("gE"),f=c.extend(g,function(a){g.call(this,a);this.ID=q;this.kM=this.Dr=0;this.S=this.Rr=q;this.Tx=n;this.TO=z;this.la=360;this.Q3=180;this.Ea=0.5;this.Gi=0.2;this.an=0.45;this.SZ=5E3;this.WZ=1;this.HE=[[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.Jda=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});f.prototype.hw=function(a){g.prototype.hw.call(this,a);this.Iz(a)};f.prototype.start=function(a){this.Iz(a);this.fa()};f.prototype.end=function(){this.Iz(q)};f.prototype.Iz=function(a){if(this.S!=a){if(this.S){this.Fia();this.S=q;this.Iia()}if(this.S=a){this.F9();this.la=a.get("hfov",360);this.Q3=a.get("vfov",180);this.Ea=a.get("pitch",0);this.YO=this.js=n;this.Dda(a);this.Vc=0.5}}};f.prototype.gI=function(){this.TO=z};f.prototype.lt=
function(a){this.Vc=a/f.bx;this.fa();this.TO=p};f.prototype.kt=function(a){this.lt(a)};f.prototype.yk=function(){var a=this.MD(this.S),b=this.Vc*(a-1),c=Math.max(0,Math.min(a-2,Math.floor(b))),d=n;b-c<0.01?d=c:b-c>0.99&&(d=c+1);g.prototype.yk.call(this,this.Vc*f.bx,f.bx,this.Vc*f.bx,f.bx,a,d)};f.prototype.Zb=function(a){if(this.S){var b=this.g.lc(),c=this.g.$b(),d=this.g.ce(),e=0;if(this.js!==n&&this.YO!==n&&this.f1!==n)var f=b-this.js,g=c-this.YO,m=d-this.f1,e=Math.sqrt(f*f+g*g+m*m)*1E3/a;this.js=
b;this.YO=c;this.f1=d;for(var f=this.MD(this.S),y=this.Vc*(f-1),g=Math.max(0,Math.min(f-2,Math.floor(y))),m=g+1,y=1-(y-g),A=1-y,w=[],C=0;C<f;C++)w.push(0);w[m]=A;w[g]=A<1?1:0;for(C=0;C<f;C++)this.g.hf(this.wM(this.S,C)).set("alpha",w[C]);this.yk();if(this.ID&&(e<=this.WZ||h.isPresenting())&&!this.TO){var C=Math.PI/180,e=180/Math.PI,w=this.g.ya(),J=this.g.$a(),B=new k;B.hq(-d*C);B.Zn(-c*C);B.gq(-b*C);b=[];for(C=0;C<this.HE.length;C++){d=this.g.unproject(new j(this.HE[C][0]*w,this.HE[C][1]*J,0)).ula();
d.apply(B);c=d.lc()*e;d=d.$b()*e;b.push(Math.round((90-d)*this.kM/180)*this.Dr+Math.round((c+180)*this.Dr/360))}c=[];for(C=0;C<f;C++){d=this.ID[C];for(w=e=0;w<this.HE.length;w++)e=e+this.Jda[w]*d[b[w]];c.push(e)}C=c[g];b=c[m];g=y*c[g]+A*c[m];a=Math.min(1/f,a/this.SZ);f=this.Vc;m=Math.max.apply(Math,c);y=Math.min.apply(Math,c);g<this.Gi&&g<m?f=b>g?f+a:f-a:g>this.an&&g>y&&(f=C<g?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.Vc!=f){this.Vc=f;this.fa()}}}};f.prototype.Dda=function(a){var c=b(a.get("frames",
[])).map(function(a){return a.get("thumbnailUrl")});this.Rr=b(c).map(function(a){var b=q;if(a){b=new m(d.Rk);b.bind(e.O,this.S_,this);b.bind(e.jd,this.T_,this)}return b},this);b(this.Rr).each(function(a,b){a&&a.load(c[b])})};f.prototype.Iia=function(){this.PX();this.ID=q};f.prototype.sea=function(){this.Dr=150;this.Rr.map(function(a){if(a)this.Dr=Math.min(a.Fc()*360/this.la,this.Dr)},this);this.kM=Math.round(this.Dr/2);this.ID=this.Rr.map(function(a){return this.faa(a,this.Dr,this.kM,this.la,this.Q3,
this.Ea)},this);this.PX()};f.prototype.faa=function(a,b,c,d,e,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.Bd();d=Math.round(b*d/360);h.drawImage(a,(b-d)*0.5,Math.round(c*(90-(f+e*0.5))/180),d,Math.round(c*e/180))}b=[];g=h.getImageData(0,0,g.width,g.height);for(c=h=0;h<g.height;h++)for(e=0;e<g.width;e++,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};f.prototype.PX=function(){b(this.Rr).each(function(a){if(a){a.unbind(e.O,
this.S_,this);a.unbind(e.jd,this.T_,this);a.cancel()}},this);this.Rr=q};f.prototype.S_=function(){b(this.Rr).filter(function(a){return a&&!a.Sn()}).length==0&&this.sea()};f.prototype.T_=D();f.prototype.F9=function(){this.S.bind(e.ga("minimumLuminance"),this.jn,this);this.S.bind(e.ga("maximumLuminance"),this.jn,this);this.S.bind(e.ga("luminanceChangeTime"),this.jn,this);this.S.bind(e.ga("maxLuminanceChangeSpeed"),this.jn,this);this.jn()};f.prototype.Fia=function(){this.S.unbind(e.ga("minimumLuminance"),
this.jn,this);this.S.unbind(e.ga("maximumLuminance"),this.jn,this);this.S.unbind(e.ga("luminanceChangeTime"),this.jn,this);this.S.unbind(e.ga("maxLuminanceChangeSpeed"),this.jn,this)};f.prototype.jn=function(){this.Gi=this.S.get("minimumLuminance");this.an=this.S.get("maximumLuminance");if(this.Gi==n&&this.an==n){this.Gi=0.2;this.an=0.45}else this.Gi==n?this.Gi=Math.min(0.2,this.an):this.Gi==n?this.an=Math.max(0.45,this.Gi):this.Gi=Math.min(this.Gi,this.an);this.an=Math.min(1,Math.max(0,this.an));
this.Gi=Math.min(1,Math.max(0,this.Gi));this.SZ=Math.max(100,this.S.get("luminanceChangeTime",5E3));this.WZ=this.S.get("maxLuminanceChangeSpeed",1);this.fa()};f.bx=1E3;return f});
define("ip",["require","hb","t","es","cV"],function(a){var b=a("hb"),c=a("t"),e=a("es"),d=a("cV"),a=b.extend(d,function(a){d.call(this,a);this.GD=this.HD=q;this.ig=this.Ve=5E3;this.Tb=n;this.Cb=this.Ve;this.zi=1;this.S=q;this.Mr=z});a.prototype.start=function(a){this.S=a;this.Mr=z;this.gE=p;this.HD=c.watch(this.S,"frameDisplayTime",this.IQ,this);this.GD=c.watch(this.S,"frameTransitionTime",this.IQ,this);this.zi=this.MD(this.S);this.Tb=0;this.IQ(p);this.yk();this.fa();this.Tf()};a.prototype.IQ=function(a){var b=
Math.max(100,this.S.get("frameDisplayTime",5E3)),c=Math.max(100,this.S.get("frameTransitionTime",5E3));if(this.Ve!=b||this.ig!=c||a){var a=this.ku(),d=this.Bba();this.rM();this.Ve=b;this.ig=c;1<this.zi?(this.Tb=a*(this.Ve+this.ig)+d*this.Ve+d*this.ig,this.Cb=this.zi*(this.Ve+this.ig)):(this.Tb=d*this.Ve,this.Cb=this.Ve)}};a.prototype.ku=function(){return 1<this.zi?Math.floor(this.Tb/(this.Ve+this.ig)):0};a.prototype.Cba=function(){return 1<this.zi?(this.ku()+1)%this.zi:0};a.prototype.Bba=function(){return 1<
this.zi?Math.max(0,Math.min(1,this.Tb-this.ku()*(this.Ve+this.ig))):this.Tb/this.Ve};a.prototype.rM=function(){return 1<this.zi?Math.max(0,Math.min(1,(this.Tb-(this.ku()*(this.Ve+this.ig)+this.Ve))/this.ig)):0};a.prototype.Pha=function(a){var b=Math.floor(a/this.ig);return b*(this.Ve+this.ig)+this.Ve+(a-b*this.ig)};a.prototype.S2=function(a){var b=Math.floor(a/(this.Ve+this.ig)),a=Math.max(0,a-b*(this.Ve+this.ig)-this.Ve);return b*this.ig+a};a.prototype.play=function(){this.Mr&&(this.Mr=z,this.gE&&
this.fa(),this.Tf())};a.prototype.pause=function(){this.Mr=p;this.Tf()};a.prototype.ow=function(){this.pause()};a.prototype.tw=function(){this.play()};a.prototype.end=function(){this.gE=z;this.S=q;this.HD&&(this.HD.unwatch(),this.HD=q);this.GD&&(this.GD.unwatch(),this.GD=q);this.Tf()};a.prototype.lt=function(a){this.Tb=a;this.fa()};a.prototype.kt=function(a){this.Tb=this.Pha(a);this.fa();this.pause()};a.prototype.Zb=function(a){if(this.gE){this.Mr||(this.Tb+=a);this.Tb%=this.Cb;for(var a=this.ku(),
b=this.Cba(),c=this.rM(),d=b>a?c:1,c=b>a?1:1-c,e=0;e<this.zi;e++){var f;f=e==a?c:e==b?d:0;var l=this.g.hf(this.wM(this.S,e));l.get("alpha")!=f&&(0<f&&1>f&&l.cj(),l.set("alpha",f))}this.yk();this.Mr||this.fa()}};a.prototype.Vf=function(){return this.gE?this.Mr?e.Gc:e.T:e.L};a.prototype.Tf=function(){d.prototype.Tf.call(this,this.Vf())};a.prototype.yk=function(){var a=this.Tb,b=this.Cb,c=this.S2(this.Tb),e=this.S2(this.Cb),m=this.zi+1,f=0===this.rM()?this.ku():n;d.prototype.yk.call(this,a,b,c,e,m,f)};
return a});define("bl",["require","hb","cV"],function(a){var b=a("hb"),c=a("cV");return b.extend(c,function(a){c.call(this,a)})});
define("hJ",["require","hb","jd","es","cV"],function(a){var b=a("hb"),c=a("jd"),e=a("es"),d=a("cV"),a=b.extend(d,function(a){d.call(this,a);this.dd=z});a.prototype.hw=D();a.prototype.start=function(a){this.end();this.S=a;this.S.set("mute",this.dd);this.S.set("state",e.T);this.tm()};a.prototype.getTime=function(){return this.S?this.S.get("currentTime"):0};a.prototype.Vf=function(){return this.S?this.S.get("state"):e.L};a.prototype.play=function(){this.S&&this.S.set("state",e.T)};a.prototype.pause=
function(){this.S&&this.S.set("state",e.Gc)};a.prototype.$H=function(){this.S&&this.S.set("state",e.Gc)};a.prototype.stop=function(){this.S&&this.S.set("state",e.L)};a.prototype.end=function(){this.S&&(this.wn(),this.S=q)};a.prototype.lt=function(a){this.S&&this.S.set("state",e.T);this.S&&this.S.set("currentTime",a)};a.prototype.Xf=function(a){this.dd=a;this.S&&this.S.set("mute",this.dd)};a.prototype.tm=function(){this.S.bind(c.ga("currentTime"),this.ed,this,p);this.S.bind(c.ga("duration"),this.gn,
this,p);this.S.bind(c.ga("state"),this.cf,this,p);this.S.get("state")!=e.L&&this.Tf()};a.prototype.wn=function(){this.S.unbind(c.ga("currentTime"),this.ed,this,p);this.S.unbind(c.ga("duration"),this.gn,this,p);this.S.unbind(c.ga("state"),this.cf,this,p)};a.prototype.cf=function(){this.Tf()};a.prototype.ed=function(){this.yk()};a.prototype.gn=function(){this.yk()};a.prototype.yk=function(){this.S&&d.prototype.yk.call(this,this.S.get("currentTime"),this.S.get("duration"))};return a});
define("s","require,hb,es,bI,dT,di,cV,Y,ip,bl,hJ".split(","),function(a){var b=a("hb");a("es");var c=a("bI"),e=a("dT"),d=a("di"),g=a("cV"),j=a("Y"),k=a("ip"),h=a("bl"),m=a("hJ"),f=b.extend(e,function(a){e.call(this);this.g=a;this.HN=this.oD(k);this.RM=this.oD(j);this.PG=this.oD(m);this.bQ=this.oD(h);this.Ib=q});f.prototype.clear=function(){this.gD(this.HN);this.HN=q;this.gD(this.RM);this.RM=q;this.gD(this.PG);this.PG=q;this.gD(this.bQ);this.g=this.Ib=this.bQ=q};f.prototype.oD=function(a){a=new a(this.g);
a.bind(g.ra,this.Sb,this,p);a.bind(g.oi,this.np,this,p);a.bind(g.Bb,this.Kd,this,p);return a};f.prototype.gD=function(a){a.unbind(g.ra,this.Sb,this);a.unbind(g.oi,this.np,this);a.unbind(g.Bb,this.Kd,this);a.clear()};f.prototype.rN=function(a,b){return d.tb(b,a)};f.prototype.DY=function(a){return this.rN(a,"HDRPanorama")?this.RM:this.rN(a,"LivePanorama")?this.HN:this.rN(a,"VideoPanorama")?this.PG:this.bQ};f.prototype.hw=function(a){(this.Ib=this.DY(a))&&this.Ib.hw(a)};f.prototype.start=function(a){this.Sb();
(this.Ib=this.DY(a))&&this.Ib.start(a)};f.prototype.Vf=function(){if(this.Ib)return this.Ib.Vf()};f.prototype.getTime=function(){return this.Ib?this.Ib.getTime():0};f.prototype.play=function(){this.Ib&&this.Ib.play()};f.prototype.pause=function(){this.Ib&&this.Ib.pause()};f.prototype.ow=function(){this.Ib&&this.Ib.ow()};f.prototype.tw=function(){this.Ib&&this.Ib.tw()};f.prototype.$H=function(){this.Ib&&this.Ib.$H()};f.prototype.stop=function(){this.Ib&&this.Ib.stop();this.trigger(new c(f.oi,{duration:0,
time:0,steps:n,selectedStep:n}))};f.prototype.end=function(){if(this.Ib){this.Ib.end();this.Ib=q}};f.prototype.lt=function(a){this.Ib&&this.Ib.lt(a)};f.prototype.kt=function(a){this.Ib&&this.Ib.kt(a)};f.prototype.gI=function(){this.Ib&&this.Ib.gI()};f.prototype.Zb=function(a){this.Ib&&this.Ib.Zb(a)};f.prototype.Xf=function(a){this.PG.Xf(a)};f.prototype.Sb=function(){this.trigger(new c(f.ra))};f.prototype.np=function(a){this.trigger(new c(f.oi,a.data))};f.prototype.Kd=function(a){this.trigger(new c(f.Bb,
a.data))};f.ra="request frame";f.u7="frame display";f.v7="frame hide";f.oi="time change";f.Bb="playback state change";return f});
define("hK",["require","hb","jd","dT","hc"],function(a){var b=a("hb"),c=a("jd"),e=a("dT"),d=a("hc"),a=b.extend(e,function(a){e.call(this);this.g=a;this.Md=this.Sc=this.S=q;this.k="idle"});a.prototype.start=function(a,b){this.stop();this.S=a;this.Sc=b;this.g.hf(a)?(this.trigger(c.Rb,{panorama:this.S,camera:this.Sc}),this.trigger(c.O,{panorama:this.S,camera:this.Sc}),this.trigger(c.td),this.Sc=this.S=q):(this.k="waiting ready",this.Md=this.g.create(a),this.Md.set("alpha",0),this.Md.set("loadingActive",
p),this.Md.bind(c.Rb,this.XE,this,p),this.Md.bind(c.O,this.af,this,p),this.Md.bind(c.bc,this.Li,this,p),this.g.add(this.Md))};a.prototype.stop=function(){this.Md&&("waiting ready"==this.k&&this.g.remove(this.Md),this.Md.unbind(c.Rb,this.XE,this),this.Md.unbind(c.O,this.af,this),this.Md.unbind(c.bc,this.Li,this),this.Md.set("loadingActive",z),this.Md=q,this.k="idle",this.trigger(c.td),this.Sc=this.S=q)};a.prototype.clear=function(){this.stop()};a.prototype.XE=function(){this.Md.unbind(c.Rb,this.XE,
this);this.k="waiting loaded";this.trigger(c.Rb,{panorama:this.S,camera:this.Sc})};a.prototype.af=function(){this.Md.unbind(c.Rb,this.XE,this);this.Md.unbind(c.O,this.af,this);this.k="idle";this.Md=q;this.trigger(c.O,{panorama:this.S,camera:this.Sc});this.trigger(c.td);this.Sc=this.S=q};a.prototype.Li=function(a){this.trigger(new d(c.bc,a.ih))};return a});
define("gk",["hb","bI","dT","D"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.g=a;this.cp=this.S=this.Hi=q;this.Ea=this.ea=0;this.la=0.5*Math.PI});d.prototype.clear=function(){this.stop();this.Hi=this.g=q};d.prototype.uT=function(a){this.Hi!=a&&(this.KK(),this.Hi=a,this.lW())};d.prototype.stop=function(){this.KK();this.S=q};d.prototype.Zb=function(){this.ea=this.g.lc();this.Ea=this.g.$b();this.la=this.g.Ne();this.Hi&&this.cp&&this.Hi.mj(this.cp,this.ea,this.Ea,this.la)};d.prototype.display=
function(a){this.S!=a&&(this.KK(),this.S=a,this.lW())};d.prototype.hide=function(a){this.S==a&&this.stop()};d.prototype.KK=function(){this.cp&&(this.Jca(),this.cp=q)};d.prototype.lW=function(){this.Hi&&this.S&&(this.cp=this.gga(this.S,this.Hi.get("map",q)))&&this.wha()};d.prototype.gga=function(a,b){for(var c=a.get("mapLocations",[]),d=0;d<c.length;d++){var e=c[d];if(e.get("map")==b)return e}return 0<c.length?c[0]:q};d.prototype.wha=function(){this.Hi.Mja(this.cp);this.Hi.bind(e.$f,this.E1,this,p)};
d.prototype.Jca=function(){this.Hi&&(this.Hi.Pma(this.cp),this.Hi.unbind(e.$f,this.E1,this))};d.prototype.E1=function(a){this.trigger(new b(d.$f,{yawDelta:a.data.yawDelta}))};d.$f="request yaw change";return d});
define("dC",["require","hb","bI","dT","dc"],function(a){var b=a("hb"),c=a("bI"),e=a("dT"),d=a("dc"),g=b.extend(e,function(a){e.call(this);this.g=a;this.g.bind(d.UI,this.i0,this,p)});g.prototype.clear=function(){this.g.unbind(d.UI,this.i0,this,p);this.g=q};g.prototype.za=function(){this.g.za()};g.prototype.i0=function(a){a=a.data.frameTime;this.trigger(new c(g.xj,{frameTime:a}));this.trigger(new c(g.yj,{frameTime:a}))};g.xj="frameStart";g.yj="positionSet";return g});
define("fm",["require","r","gP"],function(a){function b(){this.ba=this.R=0;this.la=90;this.Sg="landscape";this.pO=z;this.my=c.Wa()}var c=a("r"),e=a("gP");b.prototype.E6=function(a){this.la=this.x4(a)};b.prototype.x4=function(a){return this.my&&"portrait"==this.Sg?e.WA(a,this.ba,this.R):a};b.prototype.dla=function(a){return this.my&&"portrait"==this.Sg?e.gj(a,this.R,this.ba):a};b.prototype.dm=function(a){return this.la=this.my&&this.pO?e.WA(a,this.ba,this.R):a};b.prototype.K5=function(){return this.my&&
this.pO};b.prototype.Wp=function(){return this.my&&"portrait"==this.Sg};b.prototype.Ne=P("la");b.prototype.ZG=function(a){return e.WA(a,this.ba,this.R)};b.prototype.setSize=function(a,b){this.R=a;this.ba=b;var c=this.$ba();this.pO=this.Sg!=c;this.Sg=c};b.prototype.$ba=function(){return 0===this.R||0===this.ba?"landscape":this.R<this.ba?"portrait":"landscape"};return b});
define("hq","require,hb,jd,bI,dT,cd,z,dq,s,hK,gk,dC,fm,ct".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("cd"),j=a("z"),k=a("dq"),h=a("s"),m=a("hK"),f=a("gk"),l=a("dC"),r=a("fm"),o=a("ct"),s=b.extend(d,function(a,b){d.call(this);this.F=a;this.g=b;this.g.set("visible",z);this.vb=new r;this.pc=new l(this.g);this.Id=new m(this.g);this.X=new k(this.F,this.g,this.vb);this.ha=new j(this.g,this.vb);this.Tc=new h(this.g);this.bn=new f(this.g);this.ud=new g(this.g);this.pc.bind(l.xj,
this.lp,this,p);this.pc.bind(l.yj,this.mp,this,p);this.Id.bind(c.Rb,this.R_,this,p);this.Id.bind(c.td,this.Ty,this,p);this.Id.bind(c.bc,this.hn,this,p);this.X.bind(k.ra,this.Sb,this,p);this.X.bind(k.LI,this.Y_,this,p);this.X.bind(k.zI,this.o_,this,p);this.X.bind(k.AI,this.p_,this,p);this.X.bind(k.Dq,this.$y,this,p);this.X.bind(k.Bq,this.kp,this,p);this.X.bind(k.Cq,this.kn,this,p);this.X.bind(k.Aq,this.Zy,this,p);this.ha.bind(j.ra,this.Sb,this,p);this.ha.bind(j.Yf,this.ck,this);this.ha.bind(j.wj,this.g0,
this);this.ha.bind(j.Bb,this.Kd,this,p);this.ha.bind(j.Sd,this.gk,this,p);this.ha.bind(j.Rd,this.fk,this,p);this.Tc.bind(h.ra,this.Sb,this,p);this.Tc.bind(h.oi,this.np,this,p);this.Tc.bind(h.Bb,this.Kd,this,p);this.bn.bind(f.$f,this.V_,this,p)});s.prototype.clear=function(){this.Id.clear();this.pc.clear();this.ha.clear();this.X.clear();this.Tc.clear();this.bn.clear();this.ud.clear();this.Id.unbind(c.Rb,this.R_,this);this.Id.unbind(c.td,this.Ty,this);this.Id.unbind(c.bc,this.hn,this);this.pc.unbind(l.xj,
this.lp,this);this.pc.unbind(l.yj,this.mp,this);this.X.unbind(k.ra,this.Sb,this);this.X.unbind(k.LI,this.Y_,this);this.X.unbind(k.zI,this.o_,this);this.X.unbind(k.AI,this.p_,this);this.X.unbind(k.Dq,this.$y,this);this.X.unbind(k.Bq,this.kp,this);this.X.unbind(k.Cq,this.kn,this);this.X.unbind(k.Aq,this.Zy,this);this.ha.unbind(j.x7,this.Sb,this);this.ha.unbind(j.Yf,this.ck,this);this.ha.unbind(j.wj,this.g0,this);this.ha.unbind(j.Bb,this.Kd,this,p);this.ha.unbind(j.Sd,this.gk,this);this.ha.unbind(j.Rd,
this.fk,this);this.Tc.unbind(h.ra,this.Sb,this);this.Tc.unbind(h.oi,this.np,this);this.Tc.unbind(h.Bb,this.Kd,this);this.bn.unbind(f.$f,this.V_,this);this.F=this.g=this.ud=this.bn=this.Tc=this.X=this.ha=this.pc=this.Id=q};s.prototype.uT=function(a){this.bn.uT(a)};s.prototype.kh=function(a,b,c){this.g.set("visible",p);this.Tc.$H();a.set("currentTime",c);this.Id.start(a,b)};s.prototype.aw=function(){return this.Id.S||this.X.Qka()||this.X.Jm};s.prototype.jt=function(){this.Id.stop();this.Tc.end();this.ha.end();
this.X.hide();this.bn.stop();this.ud.end()};s.prototype.tw=function(){this.ha.Xma();this.Tc.tw()};s.prototype.ow=function(){this.ha.pause();this.Tc.ow()};s.prototype.play=function(){this.ha.play();this.ud.play();this.Tc.play()};s.prototype.pause=function(){this.ha.pause();this.ud.pause();this.Tc.pause()};s.prototype.stop=function(){this.ha.stop();this.ud.stop();this.Tc.stop()};s.prototype.getTime=function(){return this.Tc.getTime()};s.prototype.moveTo=function(a,b,c,d){this.ha.moveTo(a,b,c,d)};s.prototype.lc=
function(){return this.g?this.g.lc():n};s.prototype.$b=function(){return this.g?this.g.$b():n};s.prototype.ce=function(){return this.g?this.g.ce():n};s.prototype.Ne=function(){return this.g?this.vb.dla(this.g.Ne()):n};s.prototype.TR=function(){return this.g?this.g.TR():n};s.prototype.UR=function(){return this.g?this.g.UR():n};s.prototype.Kd=function(){var a=this.Tc.Vf()||this.ha.Vf();this.trigger(new e(s.Bb,{state:a}))};s.prototype.vg=function(a){this.ha.vg(a)};s.prototype.GB=function(a){this.ha.GB(a)};
s.prototype.lq=function(a){this.ha.lq(a)};s.prototype.HB=function(a){this.ha.HB(a)};s.prototype.Xf=function(a){this.Tc.Xf(a)};s.prototype.ot=function(a){this.ha.ot(a)};s.prototype.pla=function(a,b){var c=o.get(a,b,this.g.lc(),this.g.$b(),this.g.ce(),this.g.Ne(),this.g.ya(),this.g.$a());return c?{x:c.x,y:c.y}:q};s.prototype.hn=function(a){this.g.QH(p);this.trigger(new e(s.Nk,{percent:a.ih}))};s.prototype.R_=function(a){this.Tc.end();this.X.display(a.data.panorama,a.data.camera)};s.prototype.Ty=function(){this.g.QH(z);
this.trigger(new e(s.xq))};s.prototype.Sb=function(){this.pc.za()};s.prototype.lp=function(a){a=a.data.frameTime;this.vb.setSize(this.g.ya(),this.g.$a());this.X.Xn(a);this.ha.Xn(a)};s.prototype.mp=function(a){a=a.data.frameTime;this.X.Zb(a);this.ha.Zb(a);this.Tc.Zb(a);this.bn.Zb(a);this.ud.Zb(a)};s.prototype.$y=function(a){this.bn.display(a.data.panorama);this.Tc.hw(a.data.panorama);this.trigger(new e(s.Dq,{panorama:a.data.panorama}))};s.prototype.Y_=function(a){this.bn.hide(a.data.panorama)};s.prototype.o_=
function(a){this.Tc.start(a.data.panorama);this.ha.start(a.data.panorama,a.data.camera);this.ud.start(a.data.panorama)};s.prototype.p_=function(){this.Tc.end();this.g.set("visible",z)};s.prototype.Zy=function(a){this.ha.end();this.ud.end();this.trigger(new e(s.Aq,{panorama:a.data.panorama}))};s.prototype.kn=function(a){this.trigger(new e(s.Cq,{panorama:a.data.panorama}))};s.prototype.kp=function(a){this.trigger(new e(s.Bq,{panorama:a.data.panorama}))};s.prototype.V_=function(a){this.ha.zT(a.data.yawDelta,
0)};s.prototype.ck=function(a){this.trigger(new e(s.Yf,a.data))};s.prototype.g0=function(a){this.trigger(new e(s.wj,a.data))};s.prototype.gk=function(){this.Tc.gI();this.trigger(new e(s.Sd))};s.prototype.fk=function(){this.trigger(new e(s.Rd))};s.prototype.wna=function(a){this.Tc.lt(a)};s.prototype.kt=function(a){this.Tc.kt(a)};s.prototype.np=function(a){this.trigger(new e(s.oi,a.data))};s.Nk="loadingProgress";s.xq="loadingEnd";s.Yf="movementChange";s.wj="positionChange";s.Dq="panoramaStart";s.Aq=
"panoramaEnd";s.Cq="panoramaShow";s.Bq="panoramaHide";s.Bb="playbackStateChange";s.Sd="userInteractionStart";s.Rd="userInteractionEnd";s.oi="timeChange";return s});
define("iT","require,cI,jquery.mod,hb,hu,jd,bI,es,bL,di,hX,ca,fp,ez,hq,cL,dc,it,fx,bb,cH,en".split(","),function(a){var b=a("cI"),c=a("jquery.mod"),e=a("hb");a("hu");var d=a("jd"),g=a("bI"),j=a("es"),k=a("bL"),h=a("di"),m=a("hX"),f=a("ca"),l=a("fp"),r=a("ez"),o=a("hq"),s=a("cL"),t=a("dc"),u=a("it"),v=a("fx"),x=a("bb"),y=a("cH"),A=a("en"),w=e.extend(l,function(){l.call(this,"panorama");this.ZM=this.Lo=this.zE=this.DK=this.pp=this.og=this.eK=z;this.LM=p;this.vr=this.Kr=this.nD=z;this.JD=this.mM=this.Tb=
this.Cb=0;this.KO=this.MO=n;this.VN=p;this.df=j.L;this.mE=b(this.mE).bind(this);this.oE=b(this.oE).bind(this);this.Pr=[];this.p=this.g=q;this.d_={};for(var a in w.qm)this.d_[a]=this.haa(a);this.UC=new m(this,"buttonToggleGyroscope",y.rh);this.UC.bind(d.bg,function(){this.set("gyroscopeEnabled",p)},this);this.UC.bind(d.qh,function(){this.set("gyroscopeEnabled",z)},this);this.UC.set("pressed",this.get("gyroscopeEnabled")&&u.available);this.J9=new m(this,"buttonCardboardView",y.uc);this.J9.bind(d.U,
function(){this.set("viewMode",w.mo)},this,p);this.W9=new m(this,"buttonVRView",y.uc);this.W9.bind(d.U,function(){this.set("viewMode",w.mo)},this,p);x.bind(d.W,function(){this.k3("viewMode");this.trigger(w.oU)},this,p);this.VC=new m(this,"buttonToggleHotspots",y.rh);this.VC.bind(d.bg,function(){this.set("hotspotsEnabled",p)},this);this.VC.bind(d.qh,function(){this.set("hotspotsEnabled",z)},this);this.VC.set("pressed",this.get("hotspotsEnabled"));this.Uc=e.Wn(this.Je,this);this.set("hotspotsEnabled",
p);this.set("preloadEnabled",p)});w.gU="cameraPositionChange";w.Sd="userInteractionStart";w.Rd="userInteractionEnd";w.Nk="loadingProgress";w.lU="preloadMediaShow";w.oU="viewModeChange";h.A("PanoramaPlayer",w).B("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",actualHFOV:"number",actualVFOV:"number",mouseControlMode:"enum[drag_acceleration, drag_rotation]",touchControlMode:"enum[drag_acceleration, drag_rotation]",buttonMoveLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonMoveRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMoveDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonToggleGyroscope:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonCardboardView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonVRView:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleHotspots:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomIn:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonZoomOut:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).mc([d.rC,w.gU,w.Nk,w.Sd,w.Rd,w.lU,w.oU,l.hd,f.Se,f.xg]).ug({moveLeft:function(){this.mb(s.Rw)},
moveRight:function(){this.mb(s.Sw)},moveUp:function(){this.mb(s.Tw)},moveDown:function(){this.mb(s.Qw)},playLeft:function(){this.mb(s.opa)},playRight:function(){this.mb(s.ppa)},playUp:function(){this.mb(s.qpa)},playDown:function(){this.mb(s.mpa)},play:function(){this.lg()},pause:function(){this.lk()},stop:function(){this.as()},seek:function(a){this.Fz(a)},restart:function(){this.$r()},zoomIn:function(){this.mb(s.om)},zoomOut:function(){this.mb(s.pm)},resumeCamera:function(){this.dga()},pauseCamera:function(){this.gfa()},
moveTo:function(a,b,c,d){this.Mda(a,b,c,d)},getScreenPosition:function(a,b){return this.kca(a,b)}});w.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0;case "viewMode":return x.isPresenting()?w.mo:w.QJ;case "video":a="panorama";break;case "rendererPanorama":return this.p&&this.p.aw()}if(!b)switch(a){case "mouseControlMode":b=k.yU;break;case "touchControlMode":b=k.qV}return l.prototype.get.call(this,a,b)};w.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.eK=
p;this.Uc();break;case "startTime":this.pp=p;this.Uc();break;case "video":case "panorama":a="panorama";this.pp=p;this.Uc();break;case "camera":this.DK=p;this.Uc();break;case "viewerArea":this.og=p;this.Uc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.vr=p;this.Uc();break;case "mapPlayer":this.zE=p;this.Uc();break;case "gyroscopeEnabled":this.Lo=p;this.Uc();break;case "gyroscopeVerticalDraggingEnabled":this.LM=
p;this.Uc();break;case "viewMode":if(b=="vr")b=w.mo;b==w.mo&&!x.isPresenting()?x.bh():b!=w.mo&&x.isPresenting()&&x.Od();b=x.isPresenting()?w.mo:w.QJ;break;case "hotspotsEnabled":this.ZM=p;this.Uc();break;case "mouseControlMode":case "touchControlMode":this.nD=p;this.Uc()}l.prototype.set.call(this,a,b)}};w.prototype.$n=function(a){if(this.Kr!=a){if(this.Kr){c(document).off("keydown",this.mE);c(document).off("keyup",this.oE);this.Pr=[]}if(this.Kr=a){c(document).on("keydown",this.mE);c(document).on("keyup",
this.oE)}}};var C={};C[38]=s.Tw;C[40]=s.Qw;C[37]=s.Rw;C[39]=s.Sw;C[65]=s.om;C[90]=s.pm;var J=b(C).keys();w.prototype.mE=function(a){a=a.which.toString();if(b(J).contains(a)){this.Pr=b.union(this.Pr,[a]);this.v3()}};w.prototype.oE=function(a){a=a.which.toString();if(b(this.Pr).contains(a)){this.Pr=b.without(this.Pr,a);this.v3()}};w.prototype.v3=function(){var a=b(this.Pr).map(function(a){return C[a]});a.length==0?a.push(s.td):a.push(s.iV);this.mb(a)};w.prototype.haa=function(a){var b=w.qm[a],a=new m(this,
a,y.uc);a.bind(d.pb,function(){this.mb(b.movement)},this);b.stopOnRelease&&a.bind(d.Hb,function(){this.mb(s.td)},this);return a};w.prototype.Je=function(){if(this.og||this.eK){this.og=this.eK=z;this.nD=this.Lo=this.zE=p;this.ur();this.get("viewerArea")&&this.get("application")&&this.pr();this.dG(this.get("viewerArea"))}var a=z;if(this.g){if(this.zE){this.zE=z;this.p.uT(this.get("mapPlayer"))}if(this.nD){this.nD=z;this.p.lq(this.get("mouseControlMode"));this.p.ot(this.get("touchControlMode"))}if(this.pp||
this.DK){this.JD=this.mM=this.Cb=this.Tb=0;this.KO=this.MO=n;a=p;this.DK=this.pp=z;if(this.get("panorama")){this.HF();this.p.kh(this.get("panorama"),this.get("camera",new r),this.get("startTime"))}else{this.p.jt();this.VN=p;this.df=j.L;this.nb(j.L)}}if(this.LM){this.LM=z;this.p.HB(this.get("gyroscopeVerticalDraggingEnabled",p))}if(this.Lo){this.Lo=z;var b=this.get("gyroscopeEnabled")&&u.available;if(b&&u.disabled){b=z;v.rU.show(function(){u.$S(function(){this.set("gyroscopeEnabled",p)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",
b);this.p.GB(b);this.UC.set("pressed",b)}if(this.ZM){this.ZM=z;this.VC.set("pressed",this.get("hotspotsEnabled"))}if(this.vr){this.vr=z;a=p}a&&this.wA()}};w.prototype.Xz=function(){this.set("panorama",q)};w.prototype.pr=function(){var a=this.get("viewerArea"),b=this.get("application");this.g=new t(b,a,this);this.g.Q({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new o(a,this.g);this.p.bind(o.Yf,this.ck,this);this.p.bind(o.wj,this.v_,this);this.p.bind(o.Nk,this.hn,this);this.p.bind(o.xq,this.Hu,
this);this.p.bind(o.Cq,this.kn,this);this.p.bind(o.Bq,this.kp,this);this.p.bind(o.Dq,this.$y,this);this.p.bind(o.Aq,this.Zy,this);this.p.bind(o.Bb,this.Kd,this);this.p.bind(o.Sd,this.gk,this);this.p.bind(o.Rd,this.fk,this);this.p.bind(o.oi,this.np,this);this.get("application").bind(d.ga("mute"),this.Yy,this);this.get("application").get("mute",z)&&this.p.Xf(p);x.bind(d.W,this.Mi,this,p);this.GX();this.iv(p)};w.prototype.ur=function(){if(this.g){this.p.unbind(o.Yf,this.ck,this);this.p.unbind(o.wj,this.v_,
this);this.p.unbind(o.Nk,this.hn,this);this.p.unbind(o.xq,this.Hu,this);this.p.unbind(o.Cq,this.kn,this);this.p.unbind(o.Bq,this.kp,this);this.p.unbind(o.Dq,this.$y,this);this.p.unbind(o.Aq,this.Zy,this);this.p.unbind(o.Bb,this.Kd,this);this.p.unbind(o.Sd,this.gk,this);this.p.unbind(o.Rd,this.fk,this);this.p.unbind(o.oi,this.np,this);this.p.clear();this.get("application").unbind(d.ga("mute"),this.Yy,this);this.g.getParent().removeChild(this.g);this.g=q;x.unbind(d.W,this.Mi,this,p);this.iv(z)}};w.prototype.Yy=
function(){this.g&&this.p.Xf(this.get("application").get("mute",z))};w.prototype.Kd=function(a){this.df=a.data.state;this.Nd()};w.prototype.Nd=function(){this.nb(this.VN?this.df:j.T)};w.prototype.gk=function(){this.trigger(new g(w.Sd))};w.prototype.fk=function(){this.trigger(new g(w.Rd))};w.prototype.$y=function(a){this.trigger(new g(w.lU,{panorama:a.data.panorama}))};w.prototype.Zy=D();w.prototype.kn=function(a){this.EE(a.data.panorama)};w.prototype.kp=function(a){this.DE(a.data.panorama)};w.prototype.ck=
function(a){for(var b in w.qm)this.d_[b].set("state",a.data[w.qm[b].pressedOn]?A.sa:A.nc);this.VN=a.data.stopped;this.Nd();this.trigger(new g(d.rC,a.data))};w.prototype.v_=function(a){this.GX();this.trigger(new g(w.gU,a.data))};w.prototype.GX=function(){if(this.p){this.set("yaw",this.p.lc());this.set("pitch",this.p.$b());this.set("roll",this.p.ce());this.set("hfov",this.p.Ne());this.set("actualHFOV",this.p.TR());this.set("actualVFOV",this.p.UR())}};w.prototype.hn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,
progressVisible:p});this.trigger(new g(w.Nk,a.data))};w.prototype.Hu=function(){this.g.getParent().set("progressVisible",z)};w.prototype.Mi=function(){this.set("viewMode",x.isPresenting()?w.mo:w.QJ)};w.prototype.Mda=function(a,b,c,d){this.p&&this.p.moveTo(a,b,c,d)};w.prototype.mb=function(a){this.p&&this.p.vg(a)};w.prototype.lg=function(){this.p.play()};w.prototype.Vi=function(){this.p.stop()};w.prototype.lk=function(){this.p.pause()};w.prototype.Fz=function(a){this.p&&(this.GY()?this.p.kt(a):this.p.wna(a))};
w.prototype.gfa=function(){this.p&&this.p.ow()};w.prototype.dga=function(){this.p&&this.p.tw()};w.prototype.kca=function(a,b){if(this.p)return this.p.pla(a,b)};w.prototype.uF=function(a){this.Fz(a.data.position)};w.prototype.np=function(a){this.Tb=a.data.time;this.Cb=a.data.duration;this.mM=a.data.transitionPosition;this.JD=a.data.transitionLength;this.MO=a.data.steps;this.KO=a.data.selectedStep;this.wA()};w.prototype.wA=function(){var a=this.g.getParent(),b=z;if(this.Aba()){var c=this.GY(),d=this.bca();
if(c){if(this.JD>0){a.Q({playbackBarPosition:this.mM,playbackBarDuration:this.JD,playbackBarSteps:this.MO,playbackBarSelectedStep:this.KO,playbackBarLiveDragging:d});b=p}}else if(this.Cb>0){a.Q({playbackBarPosition:this.Tb,playbackBarDuration:this.Cb,playbackBarSteps:n,playbackBarSelectedStep:n,playbackBarLiveDragging:d});b=p}}a.set("playbackBarVisible",b)};w.prototype.Aba=function(){var a=this.get("panorama");return a?h.tb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",
z)):h.tb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):h.tb("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",p)):z:z};w.prototype.GY=function(){var a=this.get("panorama");return!a?z:h.tb("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",p):h.tb("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",p):z};w.prototype.bca=function(){var a=this.get("panorama");return!a||h.tb("VideoPanorama",
a)?z:p};w.mo="cardboard";w.QJ="standard";w.qm={buttonMoveLeft:{movement:s.Rw,pressedOn:"movingLeft",stopOnRelease:p},buttonMoveRight:{movement:s.Sw,pressedOn:"movingRight",stopOnRelease:p},buttonMoveUp:{movement:s.Tw,pressedOn:"movingUp",stopOnRelease:p},buttonMoveDown:{movement:s.Qw,pressedOn:"movingDown",stopOnRelease:p},buttonPlayLeft:{movement:[s.Rw,s.T],pressedOn:"movingLeft",stopOnRelease:z},buttonPlayRight:{movement:[s.Sw,s.T],pressedOn:"movingRight",stopOnRelease:z},buttonPlayUp:{movement:[s.Tw,
s.T],pressedOn:"movingUp",stopOnRelease:z},buttonPlayDown:{movement:[s.Qw,s.T],pressedOn:"movingDown",stopOnRelease:z},buttonZoomIn:{movement:s.om,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:s.pm,pressedOn:"zoomingOut",stopOnRelease:p}};return w});
define("bK","hb,bI,di,ca,iT,cG".split(","),function(a,b,c,e,d,g){a=a.extend(g,function(){g.call(this)});c.A("PanoramaPlayListItem",a).B("PlayListItem").K({media:"Panorama",camera:"PanoramaCamera",player:"PanoramaPlayer"});a.prototype.start=function(){g.prototype.start.call(this);var a=this.get("player");if(a){a.bind(e.Se,this.kn,this);a.set("panorama",this.get("media"));a.set("camera",this.get("camera"))}};a.prototype.stop=function(){var a=this.get("player");if(a){a.unbind(e.Se,this.kn,this);a.get("panorama")==
this.get("media")&&a.set("panorama",q)}g.prototype.stop.call(this)};a.prototype.kn=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.Se,this.kn,this);this.get("player").bind(e.xg,this.kp,this);this.Jv()}};a.prototype.kp=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.xg,this.kp,this);this.end()}};return a});
define("hf",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("PanoramaSnapshot",b).B("Object").K({position:"PanoramaCameraPosition",image:"ImageResource"});return b});define("ih",["hb","bB"],function(a,b){var c=a.extend(b,function(a,c,g,j){b.call(this);this.Ab=a;this.R=c;this.ba=g;this.hM=j});c.prototype.Dk=function(){return[this.Ab]};c.prototype.Oe=P("Ab");c.prototype.Fc=P("R");c.prototype.rd=P("ba");return c});
define("dE","require,cI,hb,di,cN,dO,ih".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("di"),d=a("cN"),g=a("dO"),j=a("ih"),a=c.extend(d,function(){d.call(this);this.G=n});e.A("Photo",a).B("Media").K({audios:"array[PhotoAudio]",duration:"number",height:"number",image:"ImageResource",width:"number",flipImageHorizontally:"bool"});a.prototype.Oc=function(){if(this.G==n){var a=this.get("image");this.G=a?new j(g.Ck(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
z)):q}return this.G};a.prototype.Pn=function(){var a=this.ND(this.Oc());b(this.get("audios",[])).each(function(b){a=a.concat(b.Pn())},this);return a};a.prototype.ND=function(a){return a?a.Dk():[]};return a});
define("fU",["cI","hb","jd","cN","di"],function(a,b,c,e,d){b=b.extend(e,function(){e.call(this);this.set("loop",z)});d.A("PhotoAlbum",b).B("Media").K({audios:"array[PhotoAlbumAudio]",loop:"bool",playList:"PhotoPlayList"}).mc([c.ta]);b.prototype.Pn=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.Pn()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.Pn())});return b};return b});
define("ff",["hb","di","fz","fE"],function(a,b,c,e){a=a.extend(c,function(){c.call(this,e.V7)});b.A("PhotoAlbumAudio",a).B("MediaAudio");return a});
define("bZ",["es"],function(a){function b(a){this.BW=a;this.Wk=[];this.Rc=[]}b.prototype.clear=function(){for(var a=0;a<this.Wk.length;a++)this.Wk[a].stop();this.Rc=this.Wk=q};b.prototype.stop=function(){for(var a=0;a<this.Rc.length;a++)this.Rc[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Rc.length;b++)this.Rc[b].get("state")!=a.T&&this.Rc[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Rc.length;b++)this.Rc[b].get("state")==a.T&&this.Rc[b].pause()};b.prototype.start=function(){this.stop();
for(var a=0;a<this.BW.length;a++){var b=this.BW[a],d=b.Sv();d&&(this.Wk.push(d),b.get("autoplay",z)&&this.Rc.push(d))}for(a=0;a<this.Rc.length;a++)this.Rc[a].play()};return b});define("fe",["hb","bZ"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.sF=a})});define("eC",["hb","bZ"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Hc=a})});
define("fQ",["fe","eC"],function(a,b){function c(){this.cg=[];this.Mf=[]}c.prototype.clear=function(){this.V6();this.Mf=this.cg=q};c.prototype.V6=function(){for(var a=0;a<this.cg.length;a++)this.cg[a].clear();for(a=0;a<this.Mf.length;a++)this.Mf[a].clear();this.cg=[];this.Mf=[]};c.prototype.pause=function(){for(var a=0;a<this.cg.length;a++)this.cg[a].pause();for(a=0;a<this.Mf.length;a++)this.Mf[a].pause()};c.prototype.play=function(){for(var a=0;a<this.cg.length;a++)this.cg[a].play();for(a=0;a<this.Mf.length;a++)this.Mf[a].play()};
c.prototype.stop=function(){for(var a=0;a<this.cg.length;a++)this.cg[a].stop();for(a=0;a<this.Mf.length;a++)this.Mf[a].clear();this.Mf=[]};c.prototype.xoa=function(b){b=new a(b);this.Mf.push(b);b.start()};c.prototype.Boa=function(a){for(var b=0;b<this.Mf.length;b++)if(this.Mf[b].sF==a){this.Mf[b].clear();this.Mf.splice(b,1);break}};c.prototype.FT=function(a){a=new b(a);this.cg.push(a);a.start()};c.prototype.yoa=function(a){for(var b=0;b<this.cg.length;b++)if(this.cg[b].Hc==a){this.cg[b].clear();this.cg.splice(b,
1);break}};return c});
define("l",["hb","hA"],function(a,b){function c(){this.Y=p;this.aa=this.$=0.5;this.ka=1;this.Dc=b.fe;this.vh=this.wh=100}c.prototype.eh=function(){this.Zh();return this.$};c.prototype.fh=function(){this.Zh();return this.aa};c.prototype.Ek=function(){this.Zh();return this.ka};c.prototype.EB=function(a,b,c){this.Dc=c;this.aa=this.$=0.5;this.ka=1;this.Y=p};c.prototype.Oa=function(a,b,c){this.$=a;this.aa=b;this.ka=c;this.Y=p};c.prototype.setSize=function(a,b){this.wh=a;this.vh=b;this.Y=p};c.prototype.Zh=
function(){if(this.Y){this.Y=z;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.aa<a?this.aa=a:this.aa>b&&(this.aa=b)}};return c});
define("bf",[],function(){function a(a,c){this.g=a;this.H=c;this.aa=this.$=0.5;this.ka=1;this.KF=z}a.prototype.start=function(){this.aa=this.$=0.5;this.ka=1;this.KF=p};a.prototype.clear=function(){this.H=this.g=q};a.prototype.Oa=function(a,c,e){this.$=a;this.aa=c;this.ka=e};a.prototype.Zc=P("KF");a.prototype.Ua=function(){this.KF=z};return a});
define("eP",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(a,c,g){b.call(this);a!=n&&this.set("x",a);c!=n&&this.set("y",c);g!=n&&this.set("zoomFactor",g)});c.A("PhotoCameraPosition",a).B("Object").K({x:"number",y:"number",zoomFactor:"number"});return a});
define("g",["hb","bf","eP","iS","bh"],function(a,b,c,e,d){a=a.extend(b,function(a,c){b.call(this,a,c);this.J=q});a.prototype.start=function(a){var b=a.get("initialPosition",new c(0.5,0.5,1)),k=a.get("targetPosition",new c(0.5,0.5,1));this.J=new e(a.get("easing","linear"),[new d("x",b.get("x",0.5),k.get("x",0.5)),new d("y",b.get("y",0.5),k.get("y",0.5)),new d("zoom",b.get("zoomFactor",1),k.get("zoomFactor",1))],a.get("duration",1E3));this.Ua(0)};a.prototype.clear=function(){this.J=q;b.prototype.clear.call(this)};
a.prototype.Zc=function(){return this.J!=q};a.prototype.Ua=function(a){this.J&&(this.J.Ua(a),this.H.Oa(this.J.ab("x"),this.J.ab("y"),this.J.ab("zoom")),this.$=this.H.eh(),this.aa=this.H.fh(),this.ka=this.H.Ek(),this.J.Cd()&&(this.J=q))};return a});
define("bP","hb,bI,dT,di,es,hA,l,bf,g,jd".split(","),function(a,b,c,e,d,g,j,k,h,m){var f=a.extend(c,function(a,b){c.call(this);this.g=a;this.Mb=b;this.g.bind(m.qb,this.hb,this);this.k=d.L;this.Ph=this.sF=this.Sc=this.G=q;this.H=new j});f.prototype.clear=function(){this.end();this.H=q;this.g.unbind(m.qb,this.hb,this);this.g=q};f.prototype.end=function(a){if(this.G==a||typeof a=="undefined"){this.QX();this.Sc=this.sF=this.Sc=this.G=q}};f.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),f=b.get("height",100),e=c?c.get("scaleMode",g.fe):g.fe;this.G=a;this.Sc=c;this.sF=b;b.Oc();this.Z=p;this.H.EB(d,f,e);this.jaa(c);this.fa()}};f.prototype.stop=function(){if(this.k!=d.L){this.k=d.L;if(this.Ph){this.Ph.start(this.Sc);this.fa()}}};f.prototype.play=function(){if(this.k==d.L||this.k==d.Gc){this.k=d.T;this.fa()}};f.prototype.pause=function(){if(this.k==d.T)this.k=d.Gc};f.prototype.Xn=function(a){if(this.Ph&&this.Ph.Zc()){if(this.k==d.T){this.Ph.Ua(a);
this.fa()}this.Th(this.Ph.$,this.Ph.aa,this.Ph.ka)}};f.prototype.jaa=function(a){this.QX();this.Ph=e.tb("MovementPhotoCamera",a)?new h(this.g,this.H):new k(this.g,this.H);this.Ph.start(a)};f.prototype.QX=function(){if(this.Ph){this.Ph.clear();this.Ph=q}};f.prototype.hb=function(){this.H.setSize(this.g.ya(),this.g.$a());this.fa()};f.prototype.fa=function(){this.trigger(new b(f.ra))};f.prototype.Th=function(a,b,c){this.Mb.Oa(this.G,a,b,c)};f.ra="request frame";return f});
define("eZ","require,cI,hb,bI,dT,jd,eU,hA".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("bI"),d=a("dT"),g=a("jd");a("eU");var j=a("hA"),k=c.extend(d,function(a,b){d.call(this);this.Sz=[];this.F=a;this.g=b});k.prototype.gt=function(a){this.Ko(a).gt();return this};k.prototype.ad=function(a,b){this.Ko(a).ad(b);return this};k.prototype.ii=function(a,b){this.Ko(a).ii(b);return this};k.prototype.Oa=function(a,b,c,d){this.Ko(a).Oa(b,c,d);return this};k.prototype.cj=function(a){this.Ko(a).cj();return this};
k.prototype.stop=function(){this.aY(function(a){a.clear()});this.Sz=[]};k.prototype.clear=function(){this.stop();this.g=this.F=this.Sz=q};k.prototype.Zb=function(){this.aY(function(a){a.update()})};k.prototype.Ko=function(a){var b=this.Xaa(a);if(!b){b=new h(a,this.g);b.bind(h.eV,this.zda,this);b.bind(h.dV,this.yda,this);this.Sz.push(b)}return b};k.prototype.aY=function(a){b(this.Sz).each(a,this)};k.prototype.Xaa=function(a){return b(this.Sz).find(function(b){return b.getItem()==a})};k.prototype.zda=
function(){this.fa()};k.prototype.yda=function(a){this.trigger(new e(k.QI,{item:a.source.getItem()}))};k.prototype.fa=function(){this.trigger(new e(k.ra))};k.ra="request frame";k.QI="photo preload end";var h=c.extend(d,function(a,b){d.call(this);this.G=a;this.g=b;var c=a.get("camera");this.Dc=c?c.get("scaleMode",j.fe):j.fe;this.ng=a.get("media").Oc();this.ng.bind(g.O,this.af,this);this.ng.bind(g.jd,this.fp,this);this.V=h.hx;this.aa=this.$=0.5;this.ka=1;this.dg=0;this.Rt=z;this.Jd=0;this.Y=z});h.prototype.getItem=
P("G");h.prototype.gt=function(){this.V==h.hx?this.xF():this.i3()};h.prototype.ad=function(a){if(this.dg!=a){this.dg=a;this.Bc()}};h.prototype.ii=function(a){if(this.Jd!=a){this.Jd=a;this.Bc()}};h.prototype.Oa=function(a,b,c){if(this.$!=a||this.aa!=b||this.ka!=c){this.$=a;this.aa=b;this.ka=c;this.Bc()}};h.prototype.cj=function(){if(!this.Rt){this.Rt=p;this.Bc()}};h.prototype.clear=function(){this.V==h.GC&&this.xp();(this.V==h.dx||this.V==h.gx||this.V==h.ex)&&this.Rp();this.ng.unbind(g.O,this.af);
this.ng.unbind(g.jd,this.fp);this.ng=q};h.prototype.update=function(){if(this.Y){this.Y=z;if(this.Jd>-1&&this.Jd<1&&this.dg>0){this.V==h.hx&&this.zy();this.V==h.dx&&this.M8();if(this.V==h.GC){if(this.Rt){this.g.QA(this.ng);this.Rt=z}this.g.tg(this.ng,this.dg);this.g.Lna(this.ng,this.Jd);this.g.KB(this.ng,this.$,this.aa,this.ka)}}else{this.V==h.GC&&this.xp();(this.V==h.dx||this.V==h.ex)&&this.Rp()}}};h.prototype.Bc=function(){if(!this.Y){this.Y=p;this.Kb()}};h.prototype.Kb=function(){this.trigger(new e(h.eV))};
h.prototype.xF=function(){this.V=h.gx;this.g.Tn(this.ng)};h.prototype.zy=function(){this.V=h.ex;this.g.Tn(this.ng)};h.prototype.M8=function(){this.V=h.GC;this.g.PA(this.ng);this.g.Ona(this.ng,this.Dc)};h.prototype.xp=function(){this.V=h.dx;this.g.removeItem(this.ng)};h.prototype.Rp=function(){this.V=h.hx;this.g.li(this.ng)};h.prototype.af=function(){if(this.V==h.gx||this.V==h.ex){var a=this.V==h.gx;this.V=h.dx;this.Bc();a&&this.i3()}};h.prototype.fp=function(){if(this.V==h.gx||this.V==h.ex)this.V=
h.hx};h.prototype.i3=function(){this.trigger(new e(h.dV))};h.eV="requestUpdate";h.dV="preloadEnd";h.hx="unloaded";h.gx="preloading";h.ex="loading";h.dx="loaded";h.GC="added";return k});define("ij",[],function(){return{Kk:"blending",Tk:"scroll"}});
define("bu","cI,hb,bI,dT,jd,eZ,ij".split(","),function(a,b,c,e,d,g,j){function k(b,c,d){this.bi=b;this.item=c;this.e7=d;this.index=b&&c?a(b.get("playList").get("items")).indexOf(this.item):0;this.loaded=z}k.prototype.isEqual=function(a){return a&&a.bi==this.bi&&a.item==this.item};var h=b.extend(e,function(a,b,c){e.call(this);this.F=a;this.g=b;this.Mb=c;this.Mb.bind(g.QI,this.R0,this);this.hA=j.Kk;this.V=h.Ft;this.bd=new k(q,q,0);this.Gm=this.kg=this.ie=q;this.iA=n;this.Ep=0});h.prototype.loa=N("hA");
h.prototype.AT=N("Ep");h.prototype.QT=function(a,b,c){this.kg=q;a=new k(a,b,c);if(!a.isEqual(this.V==h.Ft?this.bd:this.ie)){this.kg=a;this.Z_()}};h.prototype.clear=function(){(this.V==h.JC||this.V==h.HC)&&this.trigger(new c(h.ho,{album:this.ie.bi,item:this.ie.item}));this.V=h.Ft;this.g=this.F=this.Gm=this.bd=this.ie=this.kg=q;this.Mb.unbind(g.QI,this.R0,this);this.Mb=q};h.prototype.Zb=function(a){if(this.V!=h.Ft){this.iA=this.iA+a;a=this.ie.e7;a=this.iA>=a?1:this.iA/a;this.V==h.HC?this.Wia(a):this.V==
h.IC?this.Xia(a):this.hA==j.Kk?this.Oia(a):this.nja(a);a<1?this.fa():this.zr()}};h.prototype.Wia=function(a){this.Mb.ad(this.ie.item,a).ii(this.ie.item,0)};h.prototype.Xia=function(a){this.Mb.ad(this.bd.item,1-a).ii(this.bd.item,0)};h.prototype.Oia=function(a){this.Mb.ad(this.ie.item,Math.min(1,a*2)).ii(this.ie.item,0);this.Mb.ad(this.bd.item,Math.min(1,(1-a)*2)).ii(this.bd.item,0)};h.prototype.nja=function(a){var b=this.bd.bi!=this.ie.bi||this.bd.index<this.ie.index;this.Mb.ii(this.ie.item,(b?1-
a:a-1)*(1+this.Ep)).ad(this.ie.item,1);this.Mb.ii(this.bd.item,(b?-a:a)*(1+this.Ep)).ad(this.bd.item,1)};h.prototype.Z_=function(){this.kg&&this.V==h.Ft&&(this.kg.item&&!this.kg.loaded?this.Mb.gt(this.kg.item):this.so())};h.prototype.R0=function(a){if(this.kg&&this.kg.item==a.data.item){this.kg.loaded=p;this.Z_()}};h.prototype.so=function(){if(this.Gm&&this.Gm!=this.kg.bi){this.trigger(new c(h.uj,{album:this.Gm}));this.Gm=q}this.trigger(new c(h.XI));if(this.F.get("transitionMode")=="fade_out_fade_in"&&
this.kg.item!=q&&this.bd.item!=q){this.V=h.IC;this.ie=new k(this.bd.bi,q,this.bd.e7)}else{this.ie=this.kg;this.kg=q;if(this.bd.item)if(this.ie.item)this.V=h.JC;else{if(this.bd.item)this.V=h.IC}else this.V=h.HC}if(this.V==h.JC||this.V==h.HC){this.Mb.cj(this.ie.item);this.trigger(new c(h.Eq,{album:this.ie.bi,item:this.ie.item}))}this.iA=0;this.fa()};h.prototype.zr=function(){(this.V==h.JC||this.V==h.IC)&&this.trigger(new c(h.ho,{album:this.bd.bi,item:this.bd.item}));this.bd=this.ie;if(this.Gm!=this.bd.bi){this.Gm=
this.bd.bi;this.trigger(new c(h.vj,{album:this.Gm}))}this.V=h.Ft;if(this.kg==q){this.bd.item&&this.trigger(new c(h.Fq,{album:this.bd.bi,item:this.bd.item}));this.trigger(new c(h.YI,{album:this.bd.bi,item:this.bd.item}))}else this.so()};h.prototype.fa=function(){this.trigger(new c(h.ra))};h.Ft="stopped";h.JC="blending";h.IC="fading_out";h.HC="fading_in";h.ra="request frame";h.XI="transition begin";h.YI="transition end";h.Eq="photo added";h.ho="photo removed";h.Fq="photo displayed";h.vj="photo album show";
h.uj="photo album hide";return h});
define("dA","cI,hb,bI,dT,jd,di,hA,eP,l,bf,g,iS,bh".split(","),function(a,b,c,e,d,g,j,k,h,m,f,l,r){var o=b.extend(e,function(a,b,c){e.call(this);this.F=a;this.g=b;this.Mb=c;this.Ri=this.Ei=this.G=this.Hc=this.Aa=q;this.Qh=n;this.jG=0;this.Wg=z;this.Jd=0;this.IE=this.Ri?-1:0;this.CE=this.Ei?1:0;this.J=q;this.Yi=400;this.Ep=0;this.H=new h});o.prototype.clear=function(){this.Mb=this.g=this.F=this.Gm=q};o.prototype.rna=function(b,c){this.Hc=b;this.G=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
[],e=a(d).indexOf(c);this.Ei=e>0?d[e-1]:q;this.Ri=e<d.length-1?d[e+1]:q;this.Jd=0;this.IE=this.Ri?-1:0;this.CE=this.Ei?1:0;this.xF()};o.prototype.enable=function(){if(this.Aa=this.g.getParent()){this.Aa.bind(d.pb,this.Jb,this,p);this.Aa.bind(d.tc,this.Fh,this,p);this.Aa.bind(d.Hb,this.Lf,this,p);this.xF()}};o.prototype.disable=function(){if(this.Aa){this.Aa.unbind(d.pb,this.Jb,this);this.Aa.unbind(d.tc,this.Fh,this);this.Aa.unbind(d.Hb,this.Lf,this);this.Aa=q}};o.prototype.koa=N("Yi");o.prototype.AT=
N("Ep");o.prototype.xF=function(){if(this.Aa){this.Ei&&this.Mb.gt(this.Ei);this.Ri&&this.Mb.gt(this.Ri)}};o.prototype.j_=function(){return(new Date).getTime()};o.prototype.Jb=function(a){if(!this.Wg){this.Qh=a.x;this.jG=0;this.XO=this.j_();this.Wg=p;this.J=q;this.trigger(new c(o.BI));if(this.Ei){a=this.OY(this.Ei);this.Mb.Oa(this.Ei,a.x,a.y,a.zoom)}if(this.Ri){a=this.OY(this.Ri);this.Mb.Oa(this.Ri,a.x,a.y,a.zoom)}}};o.prototype.Fh=function(a){if(this.Wg){var b=a.x-this.Qh,c=b/this.Aa.ya(),d=this.j_()-
this.XO;this.jG=b/d;this.XO=this.XO+d;this.Qh=a.x;this.Jd=Math.max(this.IE,Math.min(this.CE,this.Jd+c));this.fa()}};o.prototype.Lf=function(){if(this.Wg){this.Wg=z;var a,b;if(this.jG>1){a="quad_out";b=this.CE}else if(this.jG<-1){a="quad_out";b=this.IE}else{a="quad_in_out";b=this.Jd<-0.5?this.IE:this.Jd>0.5?this.CE:0}this.J=new l(a,[new r("offset",this.Jd,b,1E3/this.Yi)],0);this.fa()}};o.prototype.Zb=function(a){if(this.Wg||this.J){if(this.J){this.J.Ua(a);this.Jd=this.J.ab("offset");if(this.J.Cd()){this.J=
q;this.Maa()}else this.fa()}this.G&&this.Mb.ii(this.G,this.Jd*(1+this.Ep)).ad(this.G,1);this.Ei&&this.Mb.ii(this.Ei,(this.Jd-1)*(1+this.Ep)).ad(this.Ei,1);this.Ri&&this.Mb.ii(this.Ri,(this.Jd+1)*(1+this.Ep)).ad(this.Ri,1)}};o.prototype.Maa=function(){this.trigger(new c(o.CI,{album:this.Hc,item:this.Jd<0?this.Ri:this.Jd>0?this.Ei:this.G}))};o.prototype.fa=function(){this.trigger(new c(o.ra))};o.prototype.OY=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",j.fe):j.fe,e={};if(g.tb("MovementPhotoCamera",b)){b=b.get("initialPosition",new k(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.H.EB(a,c,d);this.H.setSize(this.g.ya(),this.g.$a());this.H.Oa(e.x,e.y,e.zoom);e.x=this.H.eh();e.y=this.H.fh();e.zoom=this.H.Ek();return e};o.ra="request frame";o.BI="interaction begin";o.CI="interaction end";return o});
define("fL","hb,bI,dT,jd,eZ,ij,bu,dA".split(","),function(a,b,c,e,d,g,j,k){var h=a.extend(c,function(a,b,d){c.call(this);this.F=a;this.g=b;this.Mb=d;this.hA=g.Kk;this.Yi=1E3;this.nd=new j(this.F,this.g,this.Mb);this.nd.bind(j.ra,this.Sb,this,p);this.nd.bind(j.XI,this.s_,this,p);this.nd.bind(j.YI,this.t_,this,p);this.nd.bind(j.Eq,this.az,this,p);this.nd.bind(j.ho,this.dz,this,p);this.nd.bind(j.Fq,this.cz,this,p);this.nd.bind(j.uj,this.dk,this,p);this.nd.bind(j.vj,this.Ki,this,p);this.Mg=new k(this.F,
this.g,this.Mb);this.Mg.bind(k.ra,this.Sb,this,p);this.Mg.bind(k.BI,this.TZ,this,p);this.Mg.bind(k.CI,this.UZ,this,p)});h.prototype.YH=function(a,b){this.hA=a;this.Yi=b;this.nd.loa(a);this.Mg.koa(b);this.nd.AT(0.05);this.Mg.AT(0.05)};h.prototype.display=function(a,b){this.nd.QT(a,b,this.Yi)};h.prototype.hide=function(){this.nd.QT(q,q,this.Yi)};h.prototype.clear=function(){this.nd.unbind(j.ra,this.Sb,this);this.nd.unbind(j.XI,this.s_,this);this.nd.unbind(j.YI,this.t_,this);this.nd.unbind(j.Eq,this.az,
this);this.nd.unbind(j.ho,this.dz,this);this.nd.unbind(j.Fq,this.cz,this);this.nd.unbind(j.uj,this.dk,this);this.nd.unbind(j.vj,this.Ki,this);this.nd.clear();this.nd=q;this.Mg.bind(k.ra,this.Sb,this,p);this.Mg.bind(k.BI,this.TZ,this,p);this.Mg.bind(k.CI,this.UZ,this,p);this.Mg.clear();this.Mb=this.g=this.F=this.Mg=q};h.prototype.Zb=function(a){this.nd.Zb(a);this.Mg.Zb(a)};h.prototype.Sb=function(){this.fa()};h.prototype.az=function(a){this.trigger(new b(h.Eq,a.data))};h.prototype.dz=function(a){this.trigger(new b(h.ho,
a.data))};h.prototype.cz=function(a){this.trigger(new b(h.Fq,a.data));this.Mg.rna(a.data.album,a.data.item)};h.prototype.dk=function(a){this.trigger(new b(h.uj,a.data))};h.prototype.Ki=function(a){this.trigger(new b(h.vj,a.data))};h.prototype.s_=function(){this.Mg.disable()};h.prototype.t_=function(a){this.hA==g.Tk&&a.data.item&&this.Mg.enable()};h.prototype.TZ=function(){this.trigger(new b(h.iU))};h.prototype.UZ=function(a){this.nd.QT(a.data.album,a.data.item,0);this.trigger(new b(h.jU,a.data))};
h.prototype.fa=function(){this.trigger(new b(h.ra))};h.ra="request frame";h.Eq="photo added";h.ho="photo removed";h.Fq="photo displayed";h.vj="photo album show";h.uj="photo album hide";h.iU="manual interaction begin";h.jU="manual interaction end";return h});
define("fs","require,cI,hb,t,bI,dT,es".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("t"),d=a("bI"),g=a("dT"),j=a("es"),k=c.extend(g,function(){g.call(this);this.Hc=q;this.k=j.L;this.CP=q});k.prototype.clear=function(){this.PR()};k.prototype.FT=function(a){this.PR();this.Hc=a;this.k=j.T;this.CP=e.watch(this.Hc,"playList.selectedIndex",this.ss,this);this.Hc.get("playList").get("selectedIndex")==0?this.ss():this.Hc.get("playList").set("selectedIndex",0)};k.prototype.PR=function(){if(this.Hc){this.k=
j.L;this.CP.unwatch();this.Hc=this.CP=q}};k.prototype.stop=function(){if(this.k!=j.L){this.k=j.L;this.Hc.get("playList").set("selectedIndex",0)}};k.prototype.play=function(){if(this.k==j.L){this.Hc.get("playList").set("selectedIndex",0);this.k=j.T;this.ss()}else if(this.k==j.Gc)this.k=j.T};k.prototype.pause=function(){if(this.k==j.T)this.k=j.Gc};k.prototype.next=function(){var a=this.Hc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.Hc.get("loop"))&&a.set("selectedIndex",
(b+1)%c)};k.prototype.RS=function(){var a=this.Hc.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.Hc.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};k.prototype.DH=function(a){this.gha(a)};k.prototype.hma=function(a){if(this.Hc){var c=b(this.Hc.get("playList").get("items")).last();if(a==c&&!this.Hc.get("loop")){this.k=j.L;this.trigger(new d(k.yI,{album:this.Hc}))}else this.next()}};k.prototype.ss=function(){var a=this.mca();a>=0&&(this.k!=j.T&&a!=0?this.trigger(new d(k.SI)):
this.trigger(new d(k.GI,{album:this.Hc,item:this.Hc.get("playList").get("items")[a]})))};k.prototype.mca=function(){return this.Hc?this.Hc.get("playList").get("selectedIndex"):-1};k.prototype.gha=function(a){if(this.Hc){var c=this.Hc.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};k.SI="play request";k.GI="item request";k.yI="album end";return k});
define("bU","require,cI,hb,jd,bI,dT,es,eu".split(","),function(a){a("cI");var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("es"),j=a("eu"),k=b.extend(d,function(a){d.call(this);this.F=a;this.fA=this.G=q;this.ms=n;this.lE=z;this.k=g.L;j.bind(c.W,this.z0,this,p)});k.prototype.DH=function(a){this.HL();if(this.G=a){a=this.G.get("media").get("duration",0);this.ms=a==0?n:Math.max(0,a-this.F.get("transitionDuration"));this.lE=z;this.k==g.T&&this.ZL()}};k.prototype.clear=function(){j.unbind(c.W,this.z0,this,
p);this.DH(q)};k.prototype.stop=function(){if(this.k!=g.L){this.HL();this.nb(g.L)}};k.prototype.play=function(){if(this.k==g.L){this.nb(g.T);if(this.G){this.lE=z;this.ms=this.G.get("media").get("duration",0);this.ZL()}}else if(this.k==g.Gc){this.nb(g.T);this.G&&this.ZL()}};k.prototype.pause=function(){if(this.k==g.T){this.nb(g.Gc);this.P0()}};k.prototype.ZL=function(){if(!this.lE){this.lE=p;this.trigger(new e(k.HI,{item:this.G}))}this.dY()};k.prototype.z0=function(){j.visible?this.dY():j.visible||
this.P0()};k.prototype.dY=function(){if(this.ms!==n){var a=this;this.rG=(new Date).getTime()+this.ms;this.fA=setTimeout(function(){a.fA=q;a.gia()},this.ms)}else this.rG=n};k.prototype.HL=function(){if(this.fA){clearTimeout(this.fA);this.fA=q}};k.prototype.P0=function(){if(this.rG!==n){this.HL();this.ms=Math.max(1,this.rG-(new Date).getTime());this.rG=n}};k.prototype.gia=function(){var a=this.G;this.G=q;this.ms=n;this.trigger(new e(k.FI,{item:a}))};k.prototype.nb=function(a){if(this.k!=a){this.k=a;
this.trigger(new e(k.Bb,{state:this.k}))}};k.Bb="playback state change";k.HI="item start";k.FI="item end";return k});
define("ix",["hb","bI","dT","R","r"],function(a,b,c,e,d){var g=a.extend(c,function(a){c.call(this);this.Z=p;this.Pj=z;this.g=a;this.zi=d.browser()==d.bC&&d.Dd()==d.DJ?3:1;this.ke=this.Tx=0});g.prototype.clear=function(){this.Z=z;this.g=q;this.ke=this.Tx=0};g.prototype.za=function(){this.Pj||(this.Pj=p,e.za(this.$e,this))};g.prototype.$e=function(a){this.Z&&(this.Tx++,this.ke+=a,this.Tx==this.zi?(this.Tx=0,this.Pj=z,a=this.ke,this.ke=0,this.trigger(new b(g.xj,{frameTime:a})),this.trigger(new b(g.yj,
{frameTime:a})),this.g.render()):e.za(this.$e,this))};g.xj="frameStart";g.yj="positionSet";return g});
define("eh","hb,jd,bI,dT,fQ,bP,fL,fs,bU,eZ,ix".split(","),function(a,b,c,e,d,g,j,k,h,m,f){var l=a.extend(e,function(a,b){e.call(this);this.F=a;this.g=b;this.Fe=new k(this.g);this.Za=new h(this.F);this.Mb=new m(this.F,this.g);this.X=new j(this.F,this.g,this.Mb);this.ha=new g(this.g,this.Mb);this.pc=new f(this.g);this.ud=new d;this.Mb.bind(m.ra,this.Sb,this,p);this.Fe.bind(k.GI,this.K_,this,p);this.Fe.bind(k.SI,this.c0,this,p);this.Fe.bind(k.yI,this.bz,this,p);this.Za.bind(h.HI,this.L_,this);this.Za.bind(h.FI,
this.J_,this);this.Za.bind(h.Bb,this.Kd,this,p);this.X.bind(j.ra,this.Sb,this,p);this.X.bind(j.Eq,this.az,this,p);this.X.bind(j.ho,this.dz,this,p);this.X.bind(j.Fq,this.cz,this,p);this.X.bind(j.uj,this.dk,this,p);this.X.bind(j.vj,this.Ki,this,p);this.X.bind(j.iU,this.tea,this,p);this.X.bind(j.jU,this.uea,this,p);this.ha.bind(g.ra,this.Sb,this,p);this.pc.bind(f.xj,this.lp,this,p);this.pc.bind(f.yj,this.mp,this,p)});l.prototype.clear=function(){this.Fe.clear();this.Za.clear();this.X.clear();this.ha.clear();
this.pc.clear();this.ud.clear();this.Mb.clear();this.Mb.unbind(m.ra,this.Sb,this);this.Fe.unbind(k.GI,this.K_,this);this.Fe.unbind(k.yI,this.bz,this);this.Fe.unbind(k.SI,this.c0,this);this.Za.unbind(h.HI,this.L_,this);this.Za.unbind(h.FI,this.J_,this);this.Za.unbind(h.Bb,this.Kd,this);this.X.unbind(j.ra,this.Sb,this);this.X.unbind(j.Eq,this.az,this);this.X.unbind(j.ho,this.dz,this);this.X.unbind(j.Fq,this.cz,this);this.X.unbind(j.uj,this.dk,this);this.X.unbind(j.vj,this.Ki,this);this.ha.unbind(g.ra,
this.Sb,this);this.pc.unbind(f.xj,this.lp,this);this.pc.unbind(f.yj,this.mp,this);this.F=this.g=this.Mb=this.ud=this.pc=this.ha=this.X=this.Za=this.Fe=q};l.prototype.YH=function(a,b){this.X.YH(a,b)};l.prototype.boa=function(a){this.Fe.FT(a)};l.prototype.jt=function(){this.Fe.PR();this.Za.stop();this.X.hide();this.ha.end();this.ud.V6()};l.prototype.next=function(){this.Fe.next()};l.prototype.RS=function(){this.Fe.RS()};l.prototype.stop=function(){this.Za.stop();this.ud.stop();this.Fe.stop();this.ha.stop()};
l.prototype.play=function(){this.Za.play();this.ud.play();this.Fe.play();this.ha.play()};l.prototype.pause=function(){this.Za.pause();this.ud.pause();this.Fe.pause();this.ha.pause()};l.prototype.tea=function(){this.Za.pause();this.ud.pause();this.Fe.pause();this.ha.pause()};l.prototype.uea=function(){this.Za.play();this.ud.play();this.Fe.play();this.ha.play()};l.prototype.K_=function(a){this.X.display(a.data.album,a.data.item)};l.prototype.c0=function(){this.play()};l.prototype.Sb=function(){this.pc.za()};
l.prototype.lp=function(a){this.ha.Xn(a.data.frameTime)};l.prototype.mp=function(a){a=a.data.frameTime;this.X.Zb(a);this.Mb.Zb(a)};l.prototype.az=function(a){this.ha.start(a.data.item)};l.prototype.dz=function(a){var b=a.data.album,a=a.data.item,d=a.get("media");this.ha.end(a);this.ud.Boa(d);this.trigger(new c(l.OI,{photoAlbum:b,item:a}))};l.prototype.cz=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.Fe.DH(a);this.Za.DH(a);this.trigger(new c(l.NI,{photoAlbum:b,item:a}))};l.prototype.L_=
function(a){this.ud.xoa(a.data.item.get("media"))};l.prototype.J_=function(a){this.Fe.hma(a.data.item)};l.prototype.bz=function(a){this.Za.stop();this.ud.stop();this.trigger(new c(l.MI,{photoAlbum:a.data.album}))};l.prototype.Ki=function(a){a=a.data.album;this.ud.FT(a);this.Za.play();this.ha.play();this.trigger(new c(l.vj,{photoAlbum:a}))};l.prototype.dk=function(a){a=a.data.album;this.ud.yoa(a);this.trigger(new c(l.uj,{photoAlbum:a}))};l.prototype.Kd=function(a){this.trigger(new c(l.Bb,{state:a.data.state}))};
l.vj="photoAlbumShow";l.MI="photoAlbumEnd";l.uj="photoAlbumHide";l.NI="photoBegin";l.OI="photoEnd";l.Bb="playbackStateChange";return l});
define("eM","require,jquery.mod,cI,hA,gX,hp,r".split(","),function(a){function b(a,b){this.G=a;this.P=b;this.Ba=a.Fc();this.Ja=a.rd();this.ED=a.hM;this.yR=this.yy=0;this.dg=1;this.Jd=0;this.Y=p;this.dL();this.Sa=this.Qa=100;this.aa=this.$=0.5;this.ka=1;this.rz=p;this.Jc=1;this.bY={};this.qZ={};this.L3=j.KR&&k.browser()!=k.nh}var c=a("jquery.mod"),e=a("cI"),d=a("hA"),g=a("gX"),j=a("hp"),k=a("r");b.prototype.dL=function(){this.DC=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Qa+
"px",height:this.Sa+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.DC.css(a);this.FJ=c(g.Bd(this.G.Oe()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.Ba+"px",height:this.Ja+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.FJ.css(a);this.DC.append(this.FJ)};b.prototype.jb=
P("DC");b.prototype.getItem=P("G");b.prototype.eh=P("$");b.prototype.fh=P("aa");b.prototype.Ek=P("ka");b.prototype.ya=function(){return Math.round(this.Ba*this.ka*this.Jc)};b.prototype.$a=function(){return Math.round(this.Ja*this.ka*this.Jc)};b.prototype.ad=function(a){if(this.dg!=a){this.dg=a;this.Y=p}};b.prototype.mq=function(a){if(this.Dc!=a){this.Dc=a;this.Y=p}};b.prototype.cm=function(a,b){if(this.Qa!=a||this.Sa!=b){this.Qa=a;this.Sa=b;this.Y=p}};b.prototype.Oa=function(a,b,c){if(this.$!=a||
this.aa!=b||this.ka!=c){this.$=a;this.aa=b;this.ka=c;this.Y=p}};b.prototype.ii=function(a){if(this.Jd!=a){this.Jd=a;this.Y=p}};b.prototype.sna=function(a){if(this.yR!=a){this.yR=a;this.Y=p}};b.prototype.render=function(){if(this.Y){this.Y=z;switch(this.Dc){case d.NONE:this.Jc=1;break;case d.Aj:this.Jc=this.Qa/this.Ba;break;case d.ag:this.Jc=this.Sa/this.Ja;break;case d.Ok:this.Jc=this.Ba*this.Sa>this.Ja*this.Qa?this.Sa/this.Ja:this.Qa/this.Ba;break;default:this.Jc=this.Ba*this.Sa>this.Ja*this.Qa?
this.Qa/this.Ba:this.Sa/this.Ja}var a=this.ka*this.Jc,b=this.Qa*0.5-this.$*this.Ba*a,c=this.Sa*0.5-this.aa*this.Ja*a,g=this.Qa*this.Jd,j=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},k={};k.width=j(this.Qa,0)+"px";k.height=j(this.Sa,0)+"px";k.transform=this.L3?"translate3d("+j(g,2)+"px, 0px, 0px)":"translate("+j(g,2)+"px, 0px)";k["-moz-transform"]=k["-webkit-transform"]=k["-ms-transform"]=k.transform;k["z-index"]=this.yR;if(this.dg==0)k.display="none";else{k.display="block";if(this.dg==
1){k.filter=k["-ms-filter"]="";k.opacity=""}else{k.filter=k["-ms-filter"]="alpha(opacity="+Math.round(this.dg*100)+")";k.opacity=this.dg}}g=[];if(this.L3){g.push("translate3d("+j(b,2)+"px, "+j(c,2)+"px, 0px)");g.push("scale3d("+a+", "+a+", "+a+")");if(this.ED){g.push("translate3d("+this.Ba+"px, 0, 0)");g.push("scale3d(-1, 1, 1)")}}else{g.push("translate("+j(b,2)+"px, "+j(c,2)+"px)");g.push("scale("+a+", "+a+")");if(this.ED){g.push("translate("+this.Ba+"px, 0)");g.push("scale(-1, 1)")}}a={};a["-moz-transform"]=
a["-webkit-transform"]=a["-ms-transform"]=a.transform=g.join(" ");if(!e.isEqual(this.bY,k)){this.bY=k;this.DC.css(k)}if(!e.isEqual(this.qZ,a)){this.qZ=a;this.FJ.css(a)}}};return b});
define("eY","require,jquery.mod,cI,hb,jd,eU,gX,eM,N,d".split(","),function(a){var b=a("jquery.mod"),c=a("cI"),e=a("hb"),d=a("jd"),g=a("eU"),j=a("gX"),k=a("eM"),h=a("N"),m=a("d"),a=e.extend(m,function(){m.call(this);this.Mc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.Ow);this.bind(d.qb,this.hb,this,p);this.bind(d.Df,this.ek,this,p);this.bind(d.yg,this.bk,this,p);this.rl=z;this.ub=[];this.ys=this.qg=z;this.EO=b("<div/>");this.EO.css({position:"absolute",left:0,top:0,right:0,bottom:0,
overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Ka().append(this.EO)});a.prototype.Tn=function(a){j.Tn(a,g.Rk)};a.prototype.li=function(a){j.li(a,g.Rk)};a.prototype.PA=function(a){a=new k(a,this);a.cm(this.ya(),this.$a());a.Oa(0.5,0.5,0,1);this.EO.append(a.jb());this.ub.push(a);this.qg=p};a.prototype.removeItem=function(a){if(a=this.Nj(a)){this.ub=c.without(this.ub,a);a.jb().detach();this.qg=p}};a.prototype.QA=function(a){if(a=this.Nj(a)){this.ub=c.without(this.ub,a);this.ub.push(a);
this.qg=p}};a.prototype.Ona=function(a,b){this.Nj(a).mq(b)};a.prototype.tg=function(a,b){this.Nj(a).ad(b)};a.prototype.Lna=function(a,b){this.Nj(a).ii(b)};a.prototype.KB=function(a,b,c,d){this.Nj(a).Oa(b,c,d)};a.prototype.jB=function(a){return this.Nj(a).eh()};a.prototype.kB=function(a){return this.Nj(a).fh()};a.prototype.L4=function(a){return this.Nj(a).Ek()};a.prototype.iB=function(a){return this.Nj(a).ya()};a.prototype.hB=function(a){return this.Nj(a).$a()};a.prototype.render=function(){if(this.rl){this.ija();
this.zha();for(var a=0;a<this.ub.length;a++)this.ub[a].render()}};a.prototype.ija=function(){if(this.ys){this.ys=z;for(var a=this.ya(),b=this.$a(),c=0;c<this.ub.length;c++)this.ub[c].cm(a,b)}};a.prototype.zha=function(){if(this.qg){this.qg=z;for(var a=[],b=0;b<this.ub.length;b++){var c=this.ub[b],d={};d.EH=c.yy;d.index=b;d.am=c;a.push(d)}a.sort(function(a,b){return a.EH==b.EH?a.index-b.index:a.EH-b.EH});for(b=0;b<a.length;b++)a[b].am.sna(b+1)}};a.prototype.Nj=function(a){if(this.Npa==a)return this.Mpa;
for(var b=q,c=0;c<this.ub.length&&!b;c++)this.ub[c].getItem()==a&&(b=this.ub[c]);return b};a.prototype.hb=function(){this.ys=p;this.render()};a.prototype.ek=function(){this.rl=p;this.render()};a.prototype.bk=function(){this.rl=z};return a});
define("gt","require,hb,bI,di,hX,ca,fp,eh,ij,eY,cH,jd".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("di"),d=a("hX"),g=a("ca"),j=a("fp"),k=a("eh"),h=a("ij"),m=a("eY"),f=a("cH"),l=a("jd"),a=b.extend(j,function(){j.call(this,"photoAlbum");this.vG=this.DO=this.og=z;this.p=this.g=q;this.R9=new d(this,"buttonNext",f.uc);this.R9.bind(l.U,this.yea,this);this.S9=new d(this,"buttonPrevious",f.uc);this.S9.bind(l.U,this.Iea,this);this.Uc=b.Wn(this.Je,this)});e.A("PhotoAlbumPlayer",a).B("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[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPrevious:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]"}).ug({play:function(){this.Ju()},pause:function(){this.Iu()},stop:function(){this.as()},restart:function(){this.$r()}}).mc([g.Se,g.xg,j.hd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.DO=p;this.Uc();break;case "viewerArea":this.og=
p;this.Uc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.vG=p;this.Uc()}j.prototype.set.call(this,a,b)}};a.prototype.Je=function(){if(this.og){this.og=z;this.vG=p;this.ur();this.get("viewerArea")&&this.pr();this.dG(this.get("viewerArea"))}if(this.g&&this.DO){this.DO=z;if(this.get("photoAlbum")){this.HF();this.p.boa(this.get("photoAlbum"))}else this.p.jt()}if(this.vG){this.vG=z;this.G3()}};a.prototype.Xz=
function(){this.set("photoAlbum",q)};a.prototype.pr=function(){var a=this.get("viewerArea");this.g=new m;this.g.Q({left:0,top:0,bottom:0,right:0});a.pa(this.g);this.p=new k(a,this.g);this.G3();this.p.bind(k.vj,this.Ki,this);this.p.bind(k.uj,this.dk,this);this.p.bind(k.MI,this.bz,this);this.p.bind(k.NI,this.a0,this);this.p.bind(k.OI,this.b0,this);this.p.bind(k.Bb,this.Kd,this);this.iv(p)};a.prototype.ur=function(){if(this.g){this.p.unbind(k.vj,this.Ki,this);this.p.unbind(k.uj,this.dk,this);this.p.unbind(k.MI,
this.bz,this);this.p.unbind(k.NI,this.a0,this);this.p.unbind(k.OI,this.b0,this);this.p.unbind(k.Bb,this.Kd,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q;this.iv(z)}};a.prototype.G3=function(){var a=this.get("viewerArea");a&&this.p&&(a.Ci?this.p.YH(this.get("touchTransition",h.Kk),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.p.YH(this.get("mouseTransition",h.Kk),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.Kd=
function(a){this.nb(a.data.state)};a.prototype.Ki=function(a){this.EE(a.data.photoAlbum)};a.prototype.dk=function(a){this.DE(a.data.photoAlbum)};a.prototype.bz=function(a){a.data.photoAlbum.trigger(new c(l.ta))};a.prototype.a0=function(a){a.data.item.Jv()};a.prototype.b0=function(a){a.data.item.end()};a.prototype.hn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,progressVisible:p})};a.prototype.Hu=function(){this.g.getParent().set("progressVisible",z)};a.prototype.yea=function(){this.p&&
this.get("photoAlbum")&&this.p.next()};a.prototype.Iea=function(){this.p&&this.get("photoAlbum")&&this.p.RS()};a.prototype.lg=function(){this.p&&this.get("photoAlbum")&&this.p.play()};a.prototype.Vi=function(){this.p&&this.get("photoAlbum")&&this.p.stop()};a.prototype.lk=function(){this.p&&this.get("photoAlbum")&&this.p.pause()};return a});
define("ef",["hb","di","ca","cG"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("PhotoAlbumPlayListItem",a).B("PlayListItem").K({media:"PhotoAlbum",player:"PhotoAlbumPlayer"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Se,this.Ki,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Se,this.Ki,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",q));e.prototype.stop.call(this)};
a.prototype.VB=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].VB())}e.prototype.VB.call(this)};a.prototype.Ki=function(){this.get("player").unbind(c.Se,this.Ki,this);this.get("player").bind(c.xg,this.dk,this);this.Jv()};a.prototype.dk=function(){this.get("player").unbind(c.xg,this.dk,this);this.end()};return a});
define("et",["hb","di","fz","fE"],function(a,b,c,e){a=a.extend(c,function(){c.call(this,e.W7)});b.A("PhotoAudio",a).B("MediaAudio");return a});define("ir",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("PhotoCamera",a).B("Object").K({scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]"});return a});
define("cZ","require,cI,hb,hu,bI,di,fR,jd".split(","),function(a){var b=a("cI"),c=a("hb"),e=a("hu"),d=a("bI"),g=a("di"),j=a("fR"),k=a("jd"),a=c.extend(e,function(){this.Kc=-1;this.cc=[];this.tz=this.$j=this.uf=n;e.call(this)});g.A("PlayList",a).B("Object").K({items:"array[PlayListItem]",selectedIndex:"number"}).jh([k.rI]).mc([k.W]);a.prototype.set=function(a,b){a=="selectedIndex"?this.fha(b):a=="items"?this.Vga(b):e.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
this.Kc:a=="items"?this.cc:e.prototype.get.call(this,a,b)};a.prototype.Vga=function(a){a=a||[];if(!b.isEqual(this.cc,a)){var c=this.Kc;this.cc=a;a=this.J1(this.Kc);this.trigger(new d(k.rI,{nextSelectedIndex:a}));this.Kc=a;this.j2(this.Ko(this.Kc));this.A3();this.trigger(new d(k.W,{previousSelectedIndex:c}));e.prototype.set.call(this,"items",this.cc);e.prototype.set.call(this,"selectedIndex",this.Kc)}};a.prototype.fha=function(a){a=this.J1(a);if(this.Kc!=a){var b=this.Kc;this.trigger(new d(k.rI,{nextSelectedIndex:a}));
this.Kc=a;this.j2(this.Ko(this.Kc));this.A3();this.trigger(new d(k.W,{previousSelectedIndex:b}));e.prototype.set.call(this,"selectedIndex",this.Kc)}};a.prototype.J1=function(a){return Math.max(-1,Math.min(this.cc.length-1,a))};a.prototype.Ko=function(a){return a>=0?this.cc[a]:q};a.prototype.j2=function(a){if((this.uf!=a||this.$j!==n)&&this.$j!==a)if(this.$j===n){this.$j=a;if(this.uf)if(this.$j&&this.uf.get("player")==this.$j.get("player")){this.uf.VB();this.Zr()}else this.uf.stop();else this.Zr()}else this.$j=
a};a.prototype.Zr=function(){if(this.uf){this.uf.unbind(k.sj,this.gO,this);this.uf.unbind(k.td,this.Zr,this);this.uf.unbind(k.ta,this.Zr,this)}if(this.$j){this.uf=this.$j;this.$j=n;this.uf.bind(k.sj,this.gO,this);this.uf.bind(k.td,this.Zr,this);this.uf.start()}else{this.$j=this.uf=n;this.set("selectedIndex",-1)}};a.prototype.gO=function(){this.uf.unbind(k.sj,this.gO,this);this.uf.unbind(k.td,this.Zr,this);this.uf.bind(k.ta,this.Zr,this)};a.prototype.A3=function(){this.tz&&j.HH(this.tz.get("media"),
-1);(this.tz=this.cc&&this.Kc>=0?this.cc[(this.Kc+1)%this.cc.length]:q)&&j.HH(this.tz.get("media"),1)};return a});define("gz",["hb","di","cZ"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayList",a).B("PlayList").K({items:"array[PhotoPlayListItem]"});return a});define("iX",["hb","di","cG"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("PhotoPlayListItem",a).B("PlayListItem").K({media:"Photo",camera:"PhotoCamera"});return a});
define("dM",["require","cI","hb","dW","di"],function(a){a("cI");var b=a("hb"),c=a("dW"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("PlaybackBar",b).B("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("if",["require"],function(){function a(a){try{for(var d=(c.DS<<12)+c.KS&65535,g="",j=0,k=a.length;j<k;)var h=b.indexOf(a.charAt(j++))<<12|b.indexOf(a.charAt(j++))<<6|b.indexOf(a.charAt(j++))<<0,h=h-d+65536&65535,g=g+String.fromCharCode(h);return g}catch(m){if("{%"==a.substr(0,2))return""}}var b="";[[65,26],[97,26],[48,10]].forEach(function(a){for(var c=0;c<a[1];c++)b+=String.fromCharCode(a[0]+c)});var b=b+"+/",c={qka:"true"};c.DS=parseInt("0")||
0;c.KS=parseInt("1118")||1;c.Aoa="true";c.name=a("ASRASiAS0ATHATRATSAS/AR+ASuATKAS/ATXATDATQ");c.m7=a("");return c});
define("hz",["require"],function(){function a(a){var b=a instanceof Request||a instanceof Response?a.url:a;b&&(b=b.split("#")[0]);b&&(b=b.split("?")[0]);return!b||-1!=b.indexOf("://")?Promise.resolve(b):("undefined"!==typeof window?Promise.resolve(window.location.href):clients.matchAll({type:"window"}).then(function(a){if(a.length)return a[0].url})).then(function(a){return(new URL(b,a)).toString()})}function b(a,b){return new Promise(function(c,e){(b===n?d():Promise.resolve(b)).then(function(b){(window.webkitRequestFileSystem||
window.requestFileSystem)(b?PERSISTENT:TEMPORARY,a,function(a){c(a)},function(a){console.log("Error getting file system access",a);e("error getting file system")})},function(a){console.log("error getting file system access",a);e("error getting file system")})})}function c(a,b){return a&&a.queryUsageAndQuota?new Promise(function(c,d){a.queryUsageAndQuota(function(e,f){console.log("UsedBytes:",e,"grantedBytes:",f,"freeBytesRequired:",b);var g=e+b;f>=g?c(g):a==navigator.webkitPersistentStorage||a==navigator.persistentStorage?
(console.log("requestQuota:",g),a.requestQuota(g,function(){console.log("Granted bytes:",g);c(g)},function(a){console.log("Not granted bytes:",g,a);d("not enough free space granted")})):(console.log("Not enough temporary free space."),d("not enough free space granted"))},function(a){console.log("Query quota error:",a);a&&a.message&&(a=a.message);d("not enough free space granted: "+a)})}):Promise.reject("unknown free space")}function e(){return(navigator.storage&&navigator.storage.persist?navigator.storage.persist():
Promise.resolve(z)).then(function(a){console.log("Persistence granted:",a);return a?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function d(){return navigator.storage&&navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(z)}function g(){return!v?Promise.reject("files uninitialized, no space was requested"):Promise.resolve(v)}function j(a){a.length&&"/"==a[0]&&(a=a.substr(1));return a.split("/").filter(function(a){return""!=
a})}function k(a){return new Promise(function(b,c){a.remove(function(){b()},function(a){c("can't remove entry"+(a&&a.message?": "+a.message:"")+".")})})}function h(a){return m(a).then(function(a){return Promise.all(a.map(function(a){return a.isDirectory?h(a):k(a)}))}).then(function(){return k(a).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function m(a){return new Promise(function(b,c){a.createReader().readEntries(function(a){b(a)},function(){c("can't list directory")})})}
function f(a,b,c){return new Promise(function(d,e){a.getDirectory(b,c,function(a){d(a)},function(){e("can't get directory entry: "+b)})})}function l(a,b){return new Promise(function(c,d){f(a,b,{create:z}).then(function(a){c(a)})["catch"](function(){f(a,b,{create:p}).then(function(a){c(a)})["catch"](function(a){console.log("Can't create directory entry: "+b,a);d("can't create directory entry: "+b)})})})}function r(a,b){return 0==b.length?a:l(a,b[0]).then(function(a){return r(a,b.slice(1))})}function o(a,
b){return 0==b.length?a:f(a,b[0]).then(function(a){return o(a,b.slice(1))})}function s(a,b,c){return new Promise(function(d,e){a.getFile(b,c,function(a){d(a)},function(){e("can't get file entry: "+b)})})}function t(a){return new Promise(function(b,c){a.createWriter(function(a){b(a)},function(){c("can't create File for writing: "+path)})})}function u(a){var b=a.lastIndexOf(".");switch((0>b?"":a.substr(b)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
case ".gif":return"image/gif";case ".htm":case ".html":return"text/html";case ".jpeg":case ".jpg":return"image/jpeg";case ".js":return"text/javascript";case ".json":return"application/json";case ".m3u8":return"application/vnd.apple.mpegurl";case ".m4a":return"audio/mp4";case ".m4v":return"video/mp4";case ".mp3":return"audio/mpeg";case ".mp4":return"video/mp4";case ".ogg":return"audio/ogg";case ".ogv":return"video/ogg";case ".otf":return"font/otf";case ".png":return"image/png";case ".svg":return"image/svg+xml";
case ".tif":return"image/tiff";case ".tiff":return"image/tiff";case ".ts":return"video/vnd.dlna.mpeg-tts";case ".ttf":return"application/font-sfnt";case ".tts":return"video/vnd.dlna.mpeg-tts";case ".txt":return"text/plain";case ".webm":return"video/webm";case ".woff":return"font/x-woff";case ".woff2":return"font/woff2";case ".xml":return"text/xml";default:return"application/octet-stream"}}var v=q;return{KH:function(){return d()},toURL:function(b,c){return a(b).then(function(a){var a=new URL(a),b=
c?"persistent":"temporary",d=a.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+a.origin+"/"+b+d})},Vma:function(a){return e().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},Nma:function(a){var a=j(a),b=a[a.length-1],c=a.slice(0,-1);return g().then(function(a){return o(a.root,c)}).then(function(a){return s(a,b,{create:p})},function(){return Promise.resolve(q)}).then(function(a){return a&&k(a)})},m6:function(a,c){var d=j(a);return b(1024,
c).then(function(a){return o(a.root,d)}).then(function(a){return h(a)},function(){return Promise.resolve()})},n7:function(a,b,c){var d=j(a),e=d[d.length-1],f=d.slice(0,-1);return g().then(function(a){return r(a.root,f)}).then(function(a){return s(a,e,{create:z}).then(function(a){return Promise.resolve(a)},function(){return s(a,e,{create:p})})}).then(function(a){return t(a)}).then(function(d){d.seek(d.length);return new Promise(function(f,g){d.onwriteend=function(){f()};d.onerror=function(b){console.log("Error writing file:",
a,b);g("error writing file: "+a)};d.write(new Blob([b],{type:c||u(e)}))})})}}});
define("bG",["require","hz","hE","r"],function(a){function b(a,b){this.xn=a;this.EK=z;this.wz=q;this.Li=b||D()}function c(a){return a.st>=g}var e=a("hz"),d=a("hE"),g=1048576,j=10485760,k=a("r").jf()?3:5,a={File:function(a,b){this.url=a;this.st=b;this.BB=this.Mv=0}},h=a.Files=function(a,b,c,d){this.UW=this.z9=a;this.jl=b.slice();this.hY=[];var e=0;this.jl.sort(function(a,b){return a.st-b.st});this.jl.forEach(function(a){e+=a.st});this.W2=e;this.yr=[];this.XC=n;this.al=[];this.FK=z;this.md=c||D();this.aM=
d||D()};h.prototype.Jl=function(){return this.r$().then(function(){return this.s$()}.bind(this))};h.prototype.r$=function(){return caches["delete"](this.UW)};h.prototype.s$=function(){var a=(new d(this.z9)).pathname;return e.m6(a,z).then(function(){return e.m6(a,p)})};h.prototype.requestStorage=function(){return e.Vma(Math.round(1.1*this.W2+10485760)).then(function(){return e.KH()})};h.prototype.download=function(){this.FK=z;this.XC=0;this.Jl().then(function(){this.Rx()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
a);e.KH().then(function(a){this.aM(z,a)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.FK=p;this.al.forEach(function(a){a.cancel()});this.Jl()};h.prototype.Rx=function(){if(!(this.FK||this.al.length>=k))if(0<this.jl.length){var a;if(1==k)a=0.5<Math.random()?this.jl.shift():this.jl.pop();else if(0==this.yr.filter(c).length)a=this.jl.pop();else{if(c(this.jl[0]))return;a=this.jl.shift()}this.yr.push(a);var g=d.Iv(a.url,"nc="+(new Date).getTime()),h=new b(g,function(b){a.Mv=b.Mv;
this.Ak()}.bind(this));this.al.push(h);h.fetch().then(function(b){return this.Sha(a.url,b)}.bind(this)).then(function(){this.YX(a,h,p)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.st,a.Mv,b);this.YX(a,h,z)}.bind(this));this.Rx()}else if(0==this.al.length){var j=5>=this.hY.length;e.KH().then(function(a){this.aM(j,a)}.bind(this))}};h.prototype.YX=function(a,b,d){d?(this.yr.splice(this.yr.indexOf(a),1),this.al.splice(this.al.indexOf(b),1),this.XC+=a.st,this.Ak(),this.Rx()):
(a.Mv=0,a.BB+=1,this.Ak(),20<=a.BB?(console.log("Error downloading file: "+a.url+" after "+a.BB+" retries."),this.DZ(a.url)?(this.hY.push(a),this.al.splice(this.al.indexOf(b),1),this.Rx()):(this.cancelDownload(),e.KH().then(function(a){this.aM(z,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.BB+" of 20. Will retry in 2000ms."),setTimeout(function(){this.yr.splice(this.yr.indexOf(a),1);this.al.splice(this.al.indexOf(b),1);c(a)?this.jl.push(a):this.jl.splice(0,0,a);this.Rx()}.bind(this),
2E3)))};h.prototype.Sha=function(a,b){return this.Uha(a,b).then(function(){if(!this.DZ(a))return this.Tha(a,b)}.bind(this))};h.prototype.Tha=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.UW).then(function(c){return c.put(a,b)})};h.prototype.Uha=function(a,b){b=b.clone();if(200!=b.status)return Promise.reject("response status: "+b.status);var c=(new d(a)).pathname;return c.lastIndexOf("/")==c.length-1?Promise.resolve():new Promise(function(a,
d){function f(){w.read().then(function(b){var c=b.value,d=[];if(c){for(;c.length+A>=j;){var e=c.slice(0,j-A);m.push(e);d.push(g(m));m=[];A=0;c=c.slice(e.length,c.length)}0<c.length&&(m.push(c),A+=c.length)}var l=b.done;A&&l&&d.push(g(m));h(d).then(function(){l?a():f()})["catch"](k)})["catch"](k)}function g(a){if(0==a.length)return new Uint8Array(0);var b=0;a.forEach(function(a){b+=a.length});for(var c=new Uint8Array(b),d=0,e=0;e<a.length;d+=a[e].length,e++)c.set(a[e],d);return c}function h(a){if(0==
a.length)return Promise.resolve();var b=a.shift();return e.n7(c,b).then(function(){h(a)})}function k(a){console.log("Error writing response to file system:",a);e.Nma(c).then(function(){d("Error reading response body")})}var m=[],A=0,w=b.body.getReader();f()})};var m=".bmp,.gif,.jpeg,.jpg,.m3u8,.m4a,.m4v,.mp3,.mp4,.ogg,.ogv,.otf,.png,.svg,.tif,.tiff,.ts,.tts,.webm,.woff,.woff2".split(",");h.prototype.DZ=function(a){var a=(new d(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=m.indexOf(b)&&
0>a.indexOf("loading/")};h.prototype.Ak=function(){var a=this.XC;this.yr.forEach(function(b){a+=b.Mv});this.md(100*a/this.W2)};b.prototype.fetch=function(){return fetch(this.xn).then(function(a){if(this.EK)return a.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!a.ok)return Promise.resolve(a);var b=a.headers.get("content-length"),c=n,d=0;b!==q&&(c=parseInt(b,10));this.wz=a.body.getReader();var e=z,g=function(a){this.EK?a.close():e=p}.bind(this),h=function(a){return this.wz.read().then(function(b){var e=
b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,j(a));this.Li({st:c,Mv:d})}.bind(this))["catch"](function(b){console.log("Error reading response",b);a.error(b)}.bind(this))}.bind(this),j=function(a){e&&(a.close(),e=z,this.wz=q)}.bind(this);return new Response(new ReadableStream({start:function(a){return g(a)},pull:function(a){return h(a)},cancel:function(){j()}}))}.bind(this))};b.prototype.cancel=function(){this.EK=p;this.wz&&this.wz.cancel()};a.Jl=function(a){return(new h(a,[])).Jl()};return a});
define("db","require,hb,jquery.mod,jd,dT,r,bG,hz,hE,hc".split(","),function(a){function b(a){l=a}var c=a("hb"),e=a("jquery.mod"),d=a("jd"),g=a("dT"),j=a("r"),k=a("bG"),h=a("hz"),m=a("hE"),f=a("hc"),l=q;window.addEventListener("beforeinstallprompt",b);var r=c.extend(g,function(a){g.call(this);this.wa=a;this.k="initial";this.FP=this.eG=this.Jf=q;this.kP=z;this.Cr=q;this.DA=n;this.sr=l;this.sE=r.Q5();this.FN=m.gh("vr");if(!this.sr&&!this.sE){window.removeEventListener("beforeinstallprompt",b);window.addEventListener("beforeinstallprompt",
this.bea.bind(this))}this.sE||window.addEventListener("appinstalled",this.g9.bind(this))});r.prototype.CT=function(a){this.eG=a;this.xh=m.nq(this.eG.get(TDV.PlayerSettings.BASE_DIR_URL)||m.getDirectory(this.eG.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.xh[this.xh.length-1]!="/")this.xh=this.xh+"/";this.Jf=new o(this.xh);this.DA=this.q1=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Lca=m.parse(m.getDirectory(window.location.href)).pathname;this.Taa=m.Iv(m.nq("files.json",this.xh),
this.q1);a=TDV.va.c5();this.FP=m.Iv(this.eG.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.Jf=new o(this.xh);this.Jf.bind(d.O,this.cia,this,p);this.Jf.load()};r.prototype.iw=function(){return this.Jf.state==o.Lw};r.prototype.j4=function(){return this.k=="can_install"&&!this.FN};r.prototype.k4=function(){return this.iw()&&this.DA!=this.Jf.version&&!this.FN};r.prototype.i4=function(){return this.Jf.state!=o.bU&&!this.FN};r.prototype.A5=function(){if(this.k=="can_install")if(this.sr){this.sr.userChoice.then(function(a){a.outcome!=
"accepted"&&this.nb("unavailable")}.bind(this));this.sr.prompt().then(function(){this.sr=q}.bind(this))}else this.SL()};r.prototype.cancel=function(){if(this.k=="downloading"){if(this.Cr){this.Cr.cancelDownload();this.Cr=q}this.Jf.Jl();this.nb("unavailable")}};r.prototype.Jl=function(){k.Jl(this.xh);this.Jf.Jl()};r.prototype.cia=function(){this.wa.get("downloadEnabled")!==p?this.nb("unavailable"):j.browser()!=j.ni||j.od()==j.sq||j.od()==j.wt?this.nb("unavailable"):this.FP?"serviceWorker"in navigator?
this.iw()&&!this.k4()?this.nb("unavailable"):navigator.onLine?this.Jfa():this.nb("unavailable"):this.nb("unavailable"):this.nb("unavailable")};r.prototype.nb=function(a){if(this.k!=a){this.k=a;a=["can_install","unavailable"].indexOf(this.k)>=0;if(this.kP!=a)(this.kP=a)&&this.trigger(d.Rb)}};r.prototype.Jfa=function(){this.nb("registering_sw");navigator.serviceWorker.register(this.FP,{scope:this.Lca}).then(function(){this.Q1(p)}.bind(this))["catch"](function(){this.Q1(z)}.bind(this))};r.prototype.Q1=
function(a){if(a)if(j.jf())this.nb("can_install");else if(this.sE&&this.Jf.state==o.xI){this.nb("can_install");this.SL()}else if(this.sr)this.nb("can_install");else{this.nb("sw_registered");setTimeout(function(){this.k=="sw_registered"&&this.nb("can_install")}.bind(this),3E3)}else this.nb("unavailable")};r.prototype.bea=function(a){this.sr=a;this.k=="sw_registered"&&this.nb("can_install")};r.prototype.g9=function(){this.k=="sw_registered"&&this.nb("can_install");this.SL()};r.prototype.SL=function(){this.nb("downloading");
this.trigger(d.sj);this.j3(0);this.Bda()};r.prototype.Bda=function(){var a=[];j.jf()?a.push("mobilevr"):j.Wa()?a.push("mobile"):a.push("desktop");var b=m.Iv(this.Taa,"nc="+(new Date).getTime());e.getJSON(b,function(b){if(this.k=="downloading"){var c=[],d;for(d in b){var e=b[d].tags;if(e){var f=z;if(Array.isArray(e))for(var g=0;g<e.length&&!f;g++)f=a.indexOf(e[g])>=0;else f=a.indexOf(e)>=0;if(!f)continue}e=m.nq(d,this.xh);c.push(new k.File(e,b[d].size))}var h=(new m(window.location.pathname,window.location.href)).toString();
c.filter(function(a){return a.url==h}).length==0&&c.push(new k.File(h,1024));this.Cr=new k.Files(this.xh,c,this.j3.bind(this),this.XX.bind(this));this.Cr.requestStorage().then(function(a){this.Jf.storage=a?o.Xw:o.wJ;this.Jf.state=o.xI;this.Jf.version=this.DA;this.Jf.save();this.Cr.download()}.bind(this))["catch"](function(){this.XX(z,n)}.bind(this))}}.bind(this))};r.prototype.j3=function(a){this.trigger(new f(d.bc,a))};r.prototype.XX=function(a,b){this.Cr=q;this.nb("unavailable");if(a){this.Jf.state=
o.Lw;this.Jf.save()}a?this.trigger(d.ta,{success:p}):b?this.trigger(d.ta,{success:z,error:r.dU}):j.jf()?this.trigger(d.ta,{success:z,error:r.cU}):this.sE?this.trigger(d.ta,{success:z,error:r.dU}):this.trigger(d.ta,{success:z,error:r.eU})};r.Q5=function(){return m.Ol("installed",z)};r.Fma=function(a,b){var c=new r.dJ(a);c.bind(d.O,function(){var d=z;c.state==r.dJ.Lw&&(d=r.Q5()?p:!navigator.onLine);d?h.toURL(a,c.storage==r.dJ.Xw).then(function(a){b(a)}):b(a)},this,p);c.load()};r.eU="launchFromHomeScreen";
r.cU="addToBookmark";r.dU="errorDownloading";var o=c.extend(g,function(a){g.call(this);this.xh=a;this.zN="installation_state_"+a;this.ffa=m.parse(this.xh).pathname+"installation_state.json";this.state=this.storage=this.version=n;this.W1()});o.prototype.load=function(){if(this.Cda()&&this.state==o.Lw)this.O2(this.storage==o.Xw).then(function(){this.trigger(d.O)}.bind(this))["catch"](function(){this.O2(this.storage!=o.Xw).then(function(){this.storage=this.storage==o.wJ?o.Xw:o.wJ;this.wP();this.trigger(d.O)}.bind(this))["catch"](function(){this.state=
o.xI;this.wP();this.trigger(d.O)}.bind(this))}.bind(this));else this.trigger(d.O)};o.prototype.save=function(){this.wP();this.state==o.Lw&&this.fga()};o.prototype.Cda=function(){var a=window.localStorage&&window.localStorage.getItem(this.zN);if(!a)return z;this.jba(a);return p};o.prototype.wP=function(){window.localStorage&&window.localStorage.setItem(this.zN,this.V2())};o.prototype.O2=function(a){return new Promise(function(b,c){h.toURL(this.xh+"installation_state.json",a).then(function(a){e.ajax({type:"GET",
url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};o.prototype.fga=function(){h.n7(this.ffa,this.V2(),"text/json")};o.prototype.V2=function(){var a={};a.version=this.version;a.storage=this.storage;a.state=this.state;return JSON.stringify(a)};o.prototype.jba=function(a){this.iba(JSON.parse(a))};o.prototype.iba=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};o.prototype.Jl=function(){window.localStorage&&window.localStorage.removeItem(this.zN);
this.W1()};o.prototype.W1=function(){this.version="";this.storage=o.h8;this.state=o.bU};o.h8="unkonwn";o.wJ="temporary";o.Xw="persistent";o.bU="not started";o.xI="started";o.Lw="completed";r.dJ=o;return r});
define("gJ","require,hb,jd,jc,r,db,dG,dL,W,c,iO,d,fB".split(","),function(a){function b(a){var b=new k;b.Q({label:a,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:m.ac});return b}var c=a("hb"),e=a("jd"),d=a("jc"),g=a("r"),j=a("db"),k=a("dG"),h=a("dL"),m=a("W"),f=a("c"),l=a("iO"),r=a("d"),o=a("fB"),a=c.extend(l,function(a,b){l.call(this);this.wa=a;this.wd=b;this.wd.bind(e.Rb,
this.dda,this,p);this.wd.bind(e.sj,this.ada,this,p);this.wd.bind(e.bc,this.cda,this,p);this.wd.bind(e.ta,this.bda,this,p);this.V="hidden";this.GA=n;this.NO=z;this.md=n;this.Ff=this.Bm=this.$q=this.dr=this.br=this.iG=this.ia=q;this.d9();this.Q({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:m.ac,layout:f.we});this.Nd()});a.prototype.dda=function(){if(this.wd.j4()||this.wd.iw()&&this.wd.i4()){this.V="ready";this.NO&&this.A2()}else this.V="hidden";
this.Nd()};a.prototype.ada=function(){this.V="installing";this.Nd()};a.prototype.cda=function(a){this.md=a.ih;this.Nd()};a.prototype.bda=function(a){this.V=a.data.success?"installed":"failed";this.fY=a.data.error;this.Nd()};a.prototype.Jh=function(){this.Rha()};a.prototype.WE=function(){if(!this.NO){this.NO=p;this.V=="ready"&&this.A2()}};a.prototype.A2=function(){this.GA=setTimeout(function(){this.GA=q;this.Wea()}.bind(this),5E3);this.Nd()};a.prototype.Rha=function(){this.z1();this.GA&&clearTimeout(this.GA);
this.GA=q};a.prototype.Wea=function(){this.z1();if(this.V=="ready"){this.V="hidden";this.Nd()}};a.prototype.d9=function(){this.bind(e.tc,this.Jh,this);this.wa.bind(e.tc,this.WE,this);this.wa.bind(e.pb,this.WE,this)};a.prototype.z1=function(){this.unbind(e.tc,this.Jh,this);this.wa.unbind(e.tc,this.WE,this);this.wa.unbind(e.pb,this.WE,this)};a.prototype.Ha=function(){l.prototype.Ha.call(this);if(this.ia==q){this.ia=new o;this.ia.Q({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
fontSize:14,text:d("download-tour")});this.pa(this.ia)}if(this.br==q){this.br=b(d("download"));this.pa(this.br);this.br.bind(e.U,this.N9,this,p)}if(this.dr==q){this.dr=b(d("refresh-downloaded"));this.pa(this.dr);this.dr.bind(e.U,this.T9,this,p)}if(this.$q==q){this.$q=b(d("delete-downloaded"));this.pa(this.$q);this.$q.bind(e.U,this.M9,this,p)}if(this.iG==q){this.iG=new r;this.iG.Q({width:"100%"});this.pa(this.iG)}if(this.Bm==q){this.Bm=new h;this.Bm.Q({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.pa(this.Bm);this.Bm.bind(e.U,this.L9,this,p)}if(this.Ff==q){this.Ff=b(d("cancel"));this.pa(this.Ff);this.Ff.bind(e.U,this.RC,this,p)}g.Wa()&&this.Gs();this.Nd()};a.prototype.Dj=function(){l.prototype.Dj.call(this);g.Wa()&&this.getParent().bind(e.qb,this.Gs,this,p)};a.prototype.Rh=function(){g.Wa()&&this.getParent().unbind(e.qb,this.Gs,this,p);l.prototype.Rh.call(this)};a.prototype.Gs=function(){var a=this.getParent();if(a){var b=
Math.min(a.ya(),a.$a())/100,c=function(a){return Math.round(a*b)};this.Q({gap:c(3.9),height:c(11.9),paddingLeft:c(6),paddingRight:c(6)});this.ia&&this.ia.Q({fontSize:c(3)});[this.br,this.Ff,this.dr,this.$q].forEach(function(a){a&&a.Q({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.Bm&&this.Bm.Q({borderRadius:c(0.4),iconLineWidth:c(0.22),iconWidth:c(3.7),iconHeight:c(3.7),height:c(6.7),width:c(6.7)})}};a.prototype.Nd=function(){var a;switch(this.V){case "ready":a=
this.wd.iw()?d("downloaded"):d("download-tour");break;case "installing":a=d("downloading");this.md!==n&&(a=a+("..."+this.md.toFixed(1)+"%"));break;case "installed":a=d("downloaded");break;case "failed":a=this.fY==j.eU?g.Wa()?d("storage-not-provided-launch-from-homescreen"):d("storage-not-provided-launch-from-desktop"):this.fY==j.cU?d("storage-not-provided-bookmark"):d("download-failed")}this.ia&&this.ia.set("text",a);this.br&&this.br.set("visible",this.V=="ready"&&!this.wd.iw()&&this.wd.j4());this.$q&&
this.$q.set("visible",this.V=="ready"&&this.wd.iw()&&this.wd.i4());this.dr&&this.dr.set("visible",this.V=="ready"&&this.wd.k4());this.Ff&&this.Ff.set("visible",this.V=="installing");this.Bm&&this.Bm.set("visible",this.V!="installing");this.set("visible",this.V!="hidden")};a.prototype.N9=function(){this.wd.A5()};a.prototype.T9=function(){this.wd.A5()};a.prototype.M9=function(){this.wd.Jl();this.V="hidden";this.Nd()};a.prototype.RC=function(){this.wd.cancel();this.V="hidden";this.Nd()};a.prototype.L9=
function(){this.V=="installing"&&this.wd.cancel();this.V="hidden";this.Nd()};return a});
define("cY","require,hb,cI,jd,jc,r,W,c,iO,is,iG,dG,fB,fw".split(","),function(a){function b(a,b){this.text=a;this.Gn=b}var c=a("hb"),e=a("cI"),d=a("jd"),g=a("jc"),j=a("r"),k=a("W"),h=a("c"),m=a("iO"),f=a("is"),l=a("iG"),r=a("dG"),o=a("fB"),s=a("fw"),a=c.extend(m,function(){m.call(this);this.Zj=[];this.Ff=this.cr=this.ia=this.Jr=this.fv=this.El=q;var a=new f;a.set("duration",500);a.set("easing","cubic_in");var b=new l;b.set("duration",500);b.set("easing","cubic_out");this.Q({backgroundColor:"#000000",
backgroundOpacity:0.6,horizontalAlign:k.sc,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z})});a.prototype.Ha=function(){m.prototype.Ha.call(this);if(this.El==q){this.El=new m;this.El.Q({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:k.sc,verticalAlign:k.ac,layout:h.Te,shadow:p,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.pa(this.El)}if(this.ia==q){this.ia=new o;this.ia.Q({fontColor:"#808080",fontWeight:"300",
fontFamily:"Tahoma, Geneva, sans-serif"});this.El.pa(this.ia)}if(this.Jr==q){this.Jr=new s;this.Jr.Q({width:"80%"});this.El.pa(this.Jr)}if(this.fv==q){this.fv=new m;this.fv.Q({backgroundColor:"#b3b3b3"});this.El.pa(this.fv)}if(this.eg==q){this.eg=new m;this.eg.Q({horizontalAlign:k.sc,verticalAlign:k.ac,layout:h.we});this.El.pa(this.eg)}if(this.cr==q){this.cr=new r;this.cr.Q({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.sc,verticalAlign:k.ac,
label:g("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.cr.bind(d.U,this.NW,this,p);this.eg.pa(this.cr)}if(this.Ff==q){this.Ff=new r;this.Ff.Q({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.sc,verticalAlign:k.ac,label:g("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Ff.bind(d.U,this.RC,this,p);this.eg.pa(this.Ff)}};a.prototype.Dj=function(){m.prototype.Dj.call(this);
this.getParent().bind(d.qb,this.Gs,this,p)};a.prototype.Rh=function(){this.getParent().unbind(d.qb,this.Gs,this,p);m.prototype.Rh.call(this)};a.prototype.Gs=function(){var a=this.getParent();if(a){var b=a.ya(),a=a.$a();if(j.Wa())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.El&&this.El.Q({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.fv&&this.fv.Q({width:b(60),minHeight:2,height:b(0.25)});
this.eg&&this.eg.Q({gap:b(5)});this.Ff&&this.Ff.Q({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.cr&&this.cr.Q({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.ia&&this.ia.Q({fontSize:b(5)});this.BG()}};a.prototype.show=function(a,c){this.Gs();var d=this.RY(c);d>=0&&this.v1(d);this.Cfa(new b(a,c));this.Rt()};a.prototype.hide=function(a){a=this.RY(a);a>=0&&this.v1(a)};a.prototype.Rt=function(){var a=this.getParent();a&&a.hi(this,a.Na().length-1)};a.prototype.NW=
function(){this.LC(p)};a.prototype.RC=function(){this.LC(z)};a.prototype.RY=function(a){for(var b=0;b<this.Zj.length;b++)if(this.Zj[b].Gn==a)return b;return-1};a.prototype.BG=function(){var a=this.bZ();if(a){if(a.text.length<20){this.Jr.set("visible",z);this.ia.set("text",a.text);this.ia.set("visible",p)}else{this.ia.set("visible",z);this.Jr.set("html",this.Hba(a.text));this.Jr.set("visible",p)}this.Ff.set("visible",a.Gn?p:z);this.set("visible",p)}else this.set("visible",z)};a.prototype.Hba=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
this.ia.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.LC=function(a){var b=this.bZ();if(b){b=this.Wba(b.text);this.Ufa(b);e(b).each(function(b){b.Gn&&b.Gn.call(this,a)},this)}};a.prototype.Cfa=function(a){this.Zj.push(a);this.BG()};a.prototype.Wba=function(a){return e(this.Zj).filter(function(b){return b.text==a})};a.prototype.Ufa=function(a){this.Zj=e(this.Zj).filter(function(b){return!e(a).contains(b)});this.BG()};a.prototype.v1=function(a){this.Zj.splice(a,1);a==this.Zj.length&&
this.BG()};a.prototype.bZ=function(){return this.Zj.length>0?this.Zj[this.Zj.length-1]:q};return a});
define("fI","require,hb,jd,bI,dT,ig".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("ig"),j=[],a=[99,111,110,116,101,120,116,109,101,110,117].map(function(a){return String.fromCharCode(a)}).join("");document.addEventListener(a,function(a){j.forEach(function(b){b(a)});a.preventDefault();a.stopImmediatePropagation()},p);var k=1,b=b.extend(d,function(a,b){d.call(this);this.ua=a;this.Pba=b;this.$N=this.$N.bind(this);this.Jb=this.Jb.bind(this);this.yN=z;this.vN=this.vN.bind(this);
this.wN=this.wN.bind(this);this.uN=this.uN.bind(this);this.xN=this.xN.bind(this);this.v=document.createElement("ul");this.v.style.border="1px solid #bbb";this.v.style.Sja="3px";this.v.style.position="absolute";this.v.style.zIndex=k;this.v.style.display="none";this.v.style.backgroundColor="#e5e5e5";this.v.style.fontFamily="Arial";this.v.style.color="#000000";this.v.style.fontSize="13px";this.v.style.listStyle="none";this.v.style.display="none";this.v.style.padding=0;this.v.style.margin=0;this.v.style.pointerEvents=
"all";this.v.style.textAlign="left";this.v.style.boxShadow="1px 1px 3px rgba(0, 0, 0, 0.2)";j.push(this.$N)});b.prototype.$N=function(a){var b=this.Pba();if(b.length!=0){this.v.innerHTML="";this.yN=z;var d=0;b.forEach(function(a){if(a){var b=document.createElement("li");b.textContent=a;b.style.cursor="pointer";b.style.Sja="3px";b.style.padding="7px 20px";b.style.whiteSpace="nowrap";var c=d;d++;b.addEventListener("mouseenter",function(a){this.vN(a,c)}.bind(this));b.addEventListener("mouseleave",function(a){this.wN(a,
c)}.bind(this));b.addEventListener("mousedown",function(a){this.uN(a,c)}.bind(this));b.addEventListener("mouseup",function(a){this.xN(a,c)}.bind(this))}else{b=document.createElement("li");b.style.margin="7px 5px";b.style.borderTop="1px solid #aaa";b.style.borderBottom="1px solid #fff"}this.v.appendChild(b)}.bind(this));(g.Nl()||document.body).appendChild(this.v);this.v.style.display="block";b=a.pageX;a=a.pageY;b+this.v.clientWidth>document.body.clientWidth-5&&(b=document.body.clientWidth-this.v.clientWidth-
5);a+this.v.clientHeight>document.body.clientHeight-5&&(a=document.body.clientHeight-this.v.clientHeight-5);this.v.style.left=b+"px";this.v.style.top=a+"px";this.ua.bind(c.pb,this.Jb,this);document.addEventListener("mousedown",this.Jb);this.Dja=setInterval(this.Cja.bind(this),200)}};b.prototype.kZ=function(){clearInterval(this.Dja);this.v.parentNode.removeChild(this.v);document.removeEventListener("mousedown",this.Jb);this.ua.unbind(c.pb,this.Jb,this);this.v.style.display="none"};b.prototype.Cja=
function(){if(!this.v.contains(document.elementFromPoint(this.v.offsetLeft+this.v.clientWidth*0.5,this.v.offsetTop+this.v.clientHeight*0.5)))this.v.style.zIndex=k=k*10};b.prototype.Jb=function(){this.kZ()};b.prototype.uN=function(a){this.yN=p;a.preventDefault();a.stopImmediatePropagation()};b.prototype.xN=function(a,b){if(this.yN){this.kZ();a.preventDefault();a.stopImmediatePropagation();this.trigger(new e(c.Uk,{index:b}))}};b.prototype.vN=function(a){a.currentTarget.style.color="#ffffff";a.currentTarget.style.backgroundColor=
"rgba(0, 0, 0, 0.7)"};b.prototype.wN=function(a){a.currentTarget.style.color="";a.currentTarget.style.backgroundColor=""};return b});
define("hH",["require","hE","N"],function(a){function b(a){this.ua=a;this.vl={};this.vl[e.N7]="move";this.vl[e.O7]="ew-resize";this.vl[e.Q7]="ns-resize";this.vl[e.P7]="nesw-resize";this.vl[e.R7]="nwse-resize";this.vl[e.Td]="pointer";this.vl[e.Ow]="inherit";this.vl[e.nc]="default";this.he={};this.he[e.nC]="grab.cur";this.he[e.sU]="grabbing.cur";this.he[e.JU]="N.cur";this.he[e.KU]="NE.cur";this.he[e.AU]="E.cur";this.he[e.NU]="SE.cur";this.he[e.MU]="S.cur";this.he[e.OU]="SW.cur";this.he[e.PU]="W.cur";
this.he[e.LU]="NW.cur";this.he[e.CU]="FN.cur";this.he[e.DU]="FNE.cur";this.he[e.BU]="FE.cur";this.he[e.GU]="FSE.cur";this.he[e.FU]="FS.cur";this.he[e.HU]="FSW.cur";this.he[e.IU]="FW.cur";this.he[e.EU]="FNW.cur";this.TW={}}var c=a("hE"),e=a("N");b.prototype.A4=function(a){return this.tda(a)?this.ZY(a):this.mda(a)?this.yba(a):this.ZY(e.nc)};b.prototype.X9=function(a){if(!(a in this.TW)){var b=new Image;b.src=this.FY(a);this.TW[a]=b}};b.prototype.tda=function(a){return a in this.vl};b.prototype.ZY=function(a){return this.vl[a]};
b.prototype.mda=function(a){return this.he[a]};b.prototype.yba=function(a){this.X9(a);return"url("+this.FY(a)+"), default"};b.prototype.FY=function(a){return c.nq(this.ua.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.he[a]};return b});
define("bC",["cI"],function(a){function b(){this.tn={};this.qk=[];this.Fx=0}b.prototype.push=function(b,e){if(this.tn[e]==n)this.tn[e]=[b],this.qk.push(e),this.qk.sort(function(a,b){return a-b}),this.Fx++;else{var d=this.tn[e];a(d).contains(b)||(d.push(b),this.Fx++)}};b.prototype.C4=P("Fx");b.prototype.isEmpty=function(){return 0==this.qk.length};b.prototype.f6=function(){if(!this.isEmpty()){var a=this.qk[0],b=this.tn[a].pop();0==this.tn[a].length&&(delete this.tn[a],this.qk=this.qk.slice(1));this.Fx--;
return b}};b.prototype.QS=function(){if(!this.isEmpty()){var a=this.qk[this.qk.length-1],b=this.tn[a].pop();0==this.tn[a].length&&(delete this.tn[a],this.qk=this.qk.slice(0,this.qk.length-1));this.Fx--;return b}};return b});
define("fv","require,cI,hb,eg,bC,R,he".split(","),function(a){function b(){this.nF=z;this.Q0=n;this.Z=p;this.aF=this.aF.bind(this);this.cD=new e;this.BF=new e;this.gG=new e;this.tE=new e;this.ML=new e;d.za(this.$e,this)}a("cI");a("hb");var c=a("eg"),e=a("bC"),d=a("R"),g=a("he");b.prototype.clear=function(){this.Z=z};b.prototype.oB=function(a){this.cD.push(a,this.lu(a));this.Cz()};b.prototype.Ub=function(a){this.BF.push(a,this.lu(a));this.Cz()};b.prototype.Ga=function(a){this.gG.push(a,this.lu(a));
this.Cz()};b.prototype.rc=function(a){this.tE.push(a,this.lu(a));this.Cz()};b.prototype.rg=function(a){this.ML.push(a,this.lu(a));this.Cz()};b.prototype.M=function(){this.Ria();this.oja();this.Tia()};b.prototype.Ria=function(){do{for(;!this.cD.isEmpty();)this.cD.QS().Ha();this.BF.isEmpty()||this.BF.QS().ca()}while(!this.BF.isEmpty()||!this.cD.isEmpty())};b.prototype.oja=function(){for(;!this.gG.isEmpty()||!this.tE.isEmpty();){this.IG();this.MQ()}};b.prototype.IG=function(){for(;!this.gG.isEmpty();){var a=
this.gG.QS();if(a.Loa()){var b=a.getParent();if(b){b.Ga();b.rc()}else a.v6(0,0,a.Xl(),a.Wl())}}};b.prototype.MQ=function(){for(;!this.tE.isEmpty();)this.tE.f6().mh()};b.prototype.Tia=function(){for(;!this.ML.isEmpty();)this.ML.f6().ee();c.Ema()};b.prototype.Cz=function(){if(!this.nF){this.nF=p;this.Q0=(new Date).getTime()+500;g.CB(this.aF)}};b.prototype.aF=function(){this.nF=z;this.Z&&this.M()};b.prototype.lu=function(a){return(a=a.getParent())?this.lu(a)+1:0};b.prototype.$e=function(){this.nF&&(new Date).getTime()>=
this.Q0&&this.aF();d.za(this.$e,this)};return b});
define("ei","jquery.mod,cI,hb,jd,iO,fI,hH,U,fv,ig,r".split(","),function(a,b,c,e,d,g,j,k,h,m,f){c=c.extend(d,function(b){this.Lt=new h;d.call(this);this.Fp(this);this.Mc("Application");this.yc=a(b);this.X0=p;this.UO=this.yc.contents();this.yc.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.Kp=a(document.createElement("div"));
this.Kp.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.yc.append(this.Kp);this.Kp.append(this.jb());this.L2=this.Kp.get(0);this.Sa=this.Qa=n;this.gda=10;this.l$=500;this.yz=q;this.AL=new j(this);this.oa=new k(this);this.v.append(this.oa.jb());this.P$=new g(this,this.CY.bind(this));this.P$.bind(e.Uk,this.qe(this.y_),this,p);this.b_=p;this.set("contentOpaque",p);this.lr=q;this.Ax=[];this.eu(["globalmousemove"]);this.A9();this.nR=this.oR=0;this.Nu=1;
this.I3();this.Fg=new m(b);this.Fg.bind(e.W,function(){this.nM(this.Fg.enabled())},this)});c.prototype.I3=function(){if(!m.enabled()){this.oR=window.innerWidth;this.nR=window.innerHeight}};c.prototype.clear=function(){this.vw(q);this.J2();this.Naa();this.Lt.clear();if(this.yc){this.jb().remove();this.yc.append(this.UO);this.yc=this.UO=q}this.AL=q;this.Fg.g7();this.Fg=q};c.prototype.Una=N("b_");c.prototype.nM=function(a){a?this.V1():this.x$()};c.prototype.cn=function(){this.Gy=this.Pg=this.Kp.width();
this.Fy=this.Og=this.Kp.height()};c.prototype.ca=function(){if(this.X0){this.UO.detach();this.X0=z}d.prototype.ca.call(this)};c.prototype.vw=function(a){if(this.lr!=a){this.lr!=q&&this.lr.wia();this.lr=a;for(var c=[];a!=q;){c=[a].concat(c);a=a.getParent()}for(var a=this.Ax.length-1,d=p;a>=0&&d;a--)b(c).contains(this.Ax[a])?d=z:this.Ax.pop().yia();for(a=0;a<c.length;a++)b(this.Ax).contains(c[a])||c[a].zia();this.Ax=c;this.lr!=q&&this.lr.via();this.oa.vw(this.lr)}};c.prototype.vca=function(a){var b=
this.ay(a);this.GZ(a,b.x,b.y)?a.preventDefault():this.vw(q)};c.prototype.eZ=function(a){var b=this.Gr(a);this.GZ(a,b.x,b.y)?a.preventDefault():this.vw(q)};c.prototype.CY=function(){return[]};c.prototype.y_=D();c.prototype.GZ=function(a,b,c){return this.nda(a.target)&&b>=0&&c>=0&&b<this.R&&c<this.ba};c.prototype.nda=function(a){if(!this.yc)return z;for(var b=this.yc.get(0);a;){if(a===b)return p;a=a.parentElement}return z};c.prototype.A9=function(){this.eu(["globalresize"]);this.GK=setInterval(b.bind(function(){this.eX()},
this),this.l$)};c.prototype.Naa=function(){this.Ox(["globalresize"]);if(this.GK){clearInterval(this.GK);this.GK=q}};c.prototype.eX=function(){this.Fg.enabled()?this.V1():this.I3();var a=this.L2.clientWidth,b=this.L2.clientHeight;if(this.Qa!=a||this.Sa!=b){this.Qa=a;this.Sa=b;this.Jha()}};c.prototype.V1=function(){var a;if(f.Dd()==f.UT&&f.browser()==f.ni||f.Dd()==f.qi){var b=m.Nl();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.oR>this.nR?this.oR:this.nR),d=Math.round(a/c),e=Math.round(b/c);
this.Nu=c;a={left:Math.round((a-d)*0.5)+"px",top:Math.round((b-e)*0.5)+"px",right:"auto",bottom:"auto",width:d+"px",height:e+"px",transform:"scale("+[c,c].join(", ")+")",position:"absolute"}}else{a={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"};this.Nu=1}this.Kp.css(a)};c.prototype.x$=function(){this.Kp.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.Nu=1};
c.prototype.Jha=function(){this.J2();var a=this;this.yz=setTimeout(function(){a.yz=q;a.Ga()},this.gda)};c.prototype.J2=function(){if(this.yz){this.yz=q;clearTimeout(this.yz)}};c.prototype.uca=function(){this.eX()};c.prototype.uM=function(){return b(d.prototype.uM.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.qe(this.vca)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.qe(this.eZ)},{target:a(window),name:"mouseout",handler:this.qe(this.eZ)}],
globalresize:[{target:a(window),name:"resize",handler:this.qe(this.uca)}]})};return c});
define("ee","require,jquery.mod,jq,bv,jd,dT,jc,r".split(","),function(a){function b(){r=TDV.va.Vl();var a=l||r;if(f!=a){f=a;m.trigger(g.W)}a=!!l&&r!=l&&h.Wa();if(o!=a){if(!s){s=c("<div/>");s.css({position:"fixed","z-index":e.y7,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});s.html(['<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="'+
d.Vw+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+k("rotate-device")+"</div>","</div>\n</div>"].join("\n"));t=s.find("img")}o&&s.detach();(o=a)&&c("body").append(s)}o&&t.css("transform",f==m.a8?"translate(-11%, 0) rotate(-90deg)":"none")}var c=a("jquery.mod"),e=a("jq"),d=a("bv"),g=a("jd"),j=a("dT"),k=a("jc"),h=a("r"),m=new j;m.gpa=TDV.va.hJ;m.a8=TDV.va.iJ;m.Rna=function(a){if(l!=a){l=a;b()}};
m.fla=function(){return l};m.get=function(){return f};var f=n,l=n,r=n,o=z,s=q,t=q;window.addEventListener("resize",function(){b();setTimeout(b,500)},p);window.addEventListener("orientationchange",b,z);b();return m});
define("fu","require,hb,cI,jd,bL,di,if,jc,hX,eV,gJ,cY,cA,iB,bb,hp,r,it,fR,bF,db,hE,cH,ei,iO,cb,ig,ee".split(","),function(a){var b=a("hb"),c=a("cI"),e=a("jd"),d=a("bL"),g=a("di"),j=a("if"),k=a("jc"),h=a("hX"),m=a("eV"),f=a("gJ"),l=a("cY");UserInteractionWindow=a("cA");TextureUtil=a("iB");VR=a("bb");Capabilities=a("hp");Device=a("r");Gyroscope=a("it");Preloader=a("fR");LibsLoader=a("bF");Installer=a("db");URL=a("hE");ButtonMode=a("cH");Application=a("ei");Container=a("iO");VerticalLayout=a("cb");Fullscreen=
a("ig");Orientation=a("ee");var r=b.extend(Application,function(a){Application.call(this,a);this.wd=new Installer(this);this.WX=new f(this,this.wd);this.ro=new Container;this.ro.Q({visible:p,width:"100%",height:"100%"});this.GE=new l;this.KG=new UserInteractionWindow;a=new VerticalLayout;a.ZH(0);this.LB(a);this.Qe(p);this.bind(e.ga("settings"),this.Pea,this,p);this.DA=TDV.va.c5();Orientation.bind(e.W,this.Bea,this,p);this.Q9=new h(this,"buttonMute",ButtonMode.uc);this.Q9.bind(e.U,this.X_,this,p);
this.V9=new h(this,"buttonUnmute",ButtonMode.uc);this.V9.bind(e.U,this.n0,this,p);this.WC=new h(this,"buttonToggleMute",ButtonMode.rh);this.WC.bind(e.bg,this.X_,this,p);this.WC.bind(e.qh,this.n0,this,p);this.bind(e.ga("mute"),this.xea,this);this.WC.set("pressed",this.get("mute"));this.O9=new h(this,"buttonEnterFullscreen",ButtonMode.uc);this.O9.bind(e.U,this.B_,this,p);this.P9=new h(this,"buttonExitFullscreen",ButtonMode.uc);this.P9.bind(e.U,this.C_,this,p);this.TC=new h(this,"buttonToggleFullscreen",
ButtonMode.rh);this.TC.bind(e.bg,this.B_,this,p);this.TC.bind(e.qh,this.C_,this,p);this.TC.set("pressed",this.get("fullscreenEnabled"));this.bind(e.ga("fullscreenEnabled"),this.kea,this,p);this.set("fullscreenEnabled",this.Fg.enabled());this.set("mouseWheelEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("defaultVRPointer","laser");this.set("downloadEnabled",z);this.set("mediaActivationMode","window");this.set("fullscreenFallback","out_of_frame");this.bind(e.lo,this.Qea,this,p)});r.kU=
"orientationChange";g.A("Player",r).Dna().B("Container").K({backgroundPreloadEnabled:"bool",buttonEnterFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonExitFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleFullscreen:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonToggleMute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonUnmute:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",cardboardAvailable:"bool",defaultVRPointer:"enum[gaze, laser]",definitions:"array[Object]",desktopMipmappingEnabled:"bool",downloadEnabled:"bool",fullscreenAvailable:"bool",fullscreenEnabled:"bool",fullscreenFallback:"enum[out_of_frame, none]",gyroscopeAvailable:"bool",isMobile:"bool",mediaActivationMode:"enum[window, button]",menu:"array[PlayerMenuItem]",mobileMipmappingEnabled:"bool",mouseWheelEnabled:"bool",mute:"bool",
lockedOrientation:"enum[portrait, landscape]",orientation:"enum[portrait, landscape]",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).Vna().ug({logCapabilities:function(){this.Hda()}}).jh([e.lo,r.kU]);r.prototype.nM=function(a){Application.prototype.nM.apply(this,arguments);this.set("fullscreenEnabled",a)};r.prototype.na=function(){Application.prototype.na.call(this);this.f("mute",z);this.f("fullscreenEnabled",z)};r.prototype.Ha=function(){Application.prototype.Ha.call(this);
this.WX.getParent()!=this&&this.pa(this.WX);if(this.ro.getParent()!=this){this.pa(this.ro);this.ro.pa(this.GE);this.ro.pa(this.KG);setTimeout(function(){m.eT(this)}.bind(this),100)}};r.prototype.ca=function(){this.p1||(this.p1=c.difference(this.ica(),["visible","includeInLayout","state","left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft","paddingTop","paddingRight","paddingBottom"]));this.Ta(this.p1,
{},[this.ro],p,p);Application.prototype.ca.call(this);this.Vpa===p&&this.Tpa()};r.prototype.set=function(a,b){switch(a){case "children":case "creationPolicy":this.ro.set(a,b);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "vrAvailable":case "touchEnabled":case "touchDevice":b=this.get(a);break;case "fullscreenFallback":Fullscreen.pT(b);break;case "lockedOrientation":Orientation.Rna(b);break;case "installAvailable":b=this.wd.ready();
break;case "mouseWheelEnabled":this.Una(URL.Ol("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.tga(b);break;case "vrPolyfillScale":VR.foa(b);break;case "desktopMipmappingEnabled":TextureUtil.qna(b);break;case "mobileMipmappingEnabled":TextureUtil.Tna(b)}Application.prototype.set.call(this,a,b)};r.prototype.get=function(a,b){switch(a){case "children":case "creationPolicy":return this.ro.get(a,b);case "touchEnabled":return this.Ci;case "touchDevice":return Device.NT();case "isMobile":return Device.Wa();
case "orientation":return Orientation.get();case "lockedOrientation":return Orientation.fla();case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.Fg.available();case "vrPolyfillScale":return VR.kla();case "installAvailable":return this.wd.ready();default:return Application.prototype.get.apply(this,arguments)}};r.prototype.X_=function(){this.set("mute",p)};r.prototype.n0=function(){this.set("mute",
z)};r.prototype.xea=function(){this.WC.set("pressed",this.get("mute"))};r.prototype.B_=function(){this.set("fullscreenEnabled",p)};r.prototype.C_=function(){this.set("fullscreenEnabled",z)};r.prototype.kea=function(){this.get("fullscreenEnabled")?this.Fg.bh():this.Fg.Od();this.TC.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.Fg.enabled())};r.prototype.Pea=function(){var a=this.get("settings");if(a){LibsLoader.Rn(a);Preloader.CT(a);this.wd.CT(a)}};r.prototype.tga=function(a){Preloader.enabled(a)};
r.prototype.CY=function(){if(URL.gh("debug"))return[];var a=[];this.Yt=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.Yt.push(function(){b.trigger("click")})}.bind(this));var b=this.Pl("PanoramaPlayer");if(b.length){a.push(b[0].get("mouseControlMode")==d.wq?k("change-to-drag-and-release"):k("change-to-click-and-move"));this.Yt.push(this.jia.bind(this))}if(this.Fg.available()){a.push(this.Fg.enabled()?k("exit-fullscreen"):k("enter-fullscreen"));this.Yt.push(this.hia.bind(this))}a.push(this.get("mute")?
k("unmute"):k("mute"));this.Yt.push(this.iia.bind(this));b=[].concat(j.name?[j.name]:[],j.qka!="false"?["v:"+j.DS+"."+j.KS]:[]).join(" ");if(b!=""){a.push("");a.push(b);this.Yt.push(this.Zea.bind(this))}return a};r.prototype.y_=function(a){this.Yt[a.data.index]()};r.prototype.jia=function(){var a=this.Pl("PanoramaPlayer"),b=a[0].get("mouseControlMode")==d.wq?d.hm:d.wq;a.forEach(function(a){window.localStorage&&localStorage.setItem(o,b);a.set("mouseControlMode",b)})};r.prototype.Qea=function(){(window.localStorage&&
window.localStorage.getItem(o))==d.hm&&this.Pl("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",d.hm)});URL.gh("vr")&&VR.bh()};r.prototype.hia=function(){this.Fg.toggle()};r.prototype.iia=function(){this.set("mute",!this.get("mute"))};r.prototype.Zea=function(){j.m7&&window.open(j.m7,"_blank")};r.prototype.Bea=function(){this.trigger(r.kU)};r.prototype.Hda=function(){b.vka(p);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+")");Device.log();Capabilities.log();k.log();VR.log()};var o="tdvp_"+window.location.pathname+"_rotation_mode";return r});
define("bA",["require","hb","hu","jd","di"],function(a){var b=a("hb"),c=a("hu"),e=a("jd"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("PlayerMenuItem",b).B("Object").K({label:"string"}).jh([e.U]);return b});
define("F","require,hb,hu,jd,es,di,gy".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("es"),g=a("di"),j=a("gy"),a=b.extend(c,function(){c.call(this);this.set("visible",z);this.set("state",d.L);this.set("showDuration",1E3);this.set("hideDuration",1E3);this.set("darkenBackground",p);this.set("lookAwayToHide",p);this.set("lookAwayToHideTime",2E3);this.set("showEasing","linear");this.set("hideEasing","linear");this.bind(e.ga("state"),function(){this.trigger(e.lm)},this,p);this.Ld=n});a.prototype.show=
function(){this.set("visible",p)};a.prototype.hide=function(){this.set("visible",z)};a.prototype.play=function(){this.set("state",d.T)};a.prototype.pause=function(){this.set("state",d.vC)};a.prototype.stop=function(){this.set("state",d.L)};g.A("PopupPanoramaOverlay",a).B("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",state:"enum[stopped, playing, paused]",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]"}).ug({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).mc([e.ta,e.At,e.Kq,e.lm]).jh([e.U]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Ld===n)this.Ld=j.mla(this);return this.Ld}return c.prototype.get.call(this,a,b)};a.prototype.set=function(a,b){var d=z;switch(a){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.Ld=
n;d=p}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(e.ga("playbackPositions"))};return a});define("je",["cI","hb","v","di"],function(a,b,c,e){a=b.extend(c,function(){c.call(this)});e.A("ProgressBar",a).B("UIComponent").K({barBackgroundColor:"or[array[color], color]",barBackgroundColorDirection:"enum[horizontal, vertical]",barBackgroundColorRatios:"array[number]",barBorderColor:"color",barBorderRadius:"number",barBorderSize:"number",barOpacity:"number",percent:"number"});return a});
define("do",["require","hb","hu","di","jd"],function(a){var b=a("hb"),c=a("hu"),e=a("di"),a=a("jd"),b=b.extend(c,function(){c.call(this)});e.A("RotationalCameraMovement",b).B("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"}).mc([a.ta]);return b});
define("ba",[],function(){return{qa:"left",Pa:"right",cb:"top",bb:"bottom"}});
define("ck",["hb","cS","I","ba"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.Zx=Q(0);c.prototype.$x=Q(0);c.prototype.nv=function(){b.prototype.nv.call(this);this.Fo(function(a){a.Qe(p)})};c.prototype.Hp=function(){b.prototype.Hp.call(this);this.Fo(function(a){a.OB(this.Zx(a,this.bw()));a.PB(this.$x(a,this.bw()))})};c.prototype.lv=function(){this.Fo(function(a){a.OB(this.Zx(a,1));a.PB(this.$x(a,1))});b.prototype.lv.call(this)};c.prototype.mv=function(){this.Fo(function(a){a.OB(this.Zx(a,
0));a.PB(this.$x(a,0))});b.prototype.mv.call(this)};return c});
define("iq",["hb","ck","ba"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.Zx=function(a,b){switch(this.get("from")){case c.cb:case c.bb:return 0;case c.qa:var g=a.$,j=a.ya();return isNaN(j)||isNaN(g)?1E4:(-g-j)*(1-b);default:g=a.getParent();if(!g)return 0;j=g.qd();g=a.$;return isNaN(g)||isNaN(j)?1E4:(j-g)*(1-b)}};a.prototype.$x=function(a,b){switch(this.get("from")){case c.cb:var g=a.aa,j=a.$a();return isNaN(j)||isNaN(g)?1E4:(-g-j)*(1-b);case c.bb:g=a.getParent();if(!g)return 0;
j=g.pd();g=a.aa;return isNaN(g)||isNaN(j)?1E4:(j-g)*(1-b);default:return 0}};a.prototype.mv=function(){this.Fo(function(a){a.OB(0);a.PB(0);a.Qe(z)})};return a});define("by",["hb","iq","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideInEffect",a).B("Effect").K({from:"enum[left, top, right, bottom]"});return a});
define("eJ",["hb","ck","I","ba"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});a.prototype.Zx=function(a,b){switch(this.get("to")){case e.cb:case e.bb:return 0;case e.qa:var c=a.$,k=a.ya();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;default:c=a.getParent();if(!c)return 0;k=c.qd();c=a.$;return isNaN(c)||isNaN(k)?1E4:(k-c)*b}};a.prototype.$x=function(a,b){switch(this.get("to")){case e.cb:var c=a.aa,k=a.$a();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;case e.bb:c=a.getParent();if(!c)return 0;k=c.pd();
c=a.aa;return isNaN(c)||isNaN(k)?1E4:(k-c)*b;default:return 0}};a.prototype.lv=function(){this.Fo(function(a){a.OB(0);a.PB(0);a.Qe(z)})};return a});define("fl",["hb","eJ","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("SlideOutEffect",a).B("Effect").K({to:"enum[left, top, right, bottom]"});return a});
define("dd",["require","hb","di","hj"],function(a){var b=a("hb"),c=a("di"),e=a("hj"),a=b.extend(e,function(){e.call(this)});c.A("SphericPanoramaFrame",a).B("PanoramaFrame").K({sphere:"or[ImageResource, Video360Resource]",stereoSphere:"or[ImageResource]"});a.prototype.fma=function(){var a=this.get("sphere");return a&&c.tb("Video360Resource",a)};return a});
define("ce","cI,hb,t,iO,W,I,fB".split(","),function(a,b,c,e,d,g,j){var k=b.extend(e,function(a){e.call(this);this.Mc("Tab");this.uO=a;this.cA="";this.pQ=z;this.LZ=this.ia=q;this.iR=this.hR=z;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p)});k.prototype.na=function(){e.prototype.na.call(this);this.f("horizontalAlign",d.sc);this.f("verticalAlign",d.ac);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");
this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength")};k.prototype.T6=function(a){if(this.hR!=a){this.hR=a;this.iR=p;this.Ub()}};k.prototype.Ha=function(){e.prototype.Ha.call(this);if(this.ia==q){this.ia=new j;this.ia.set("horizontalAlign","center");this.pa(this.ia)}};k.prototype.Dj=function(){e.prototype.Dj.call(this);this.LZ=c.watch(this.uO,"label",this.oea,this);this.m2(this.uO.get("label"))};k.prototype.oP=function(){e.prototype.oP.call(this);
this.LZ.unwatch()};k.prototype.oea=function(){var a=this.uO.get("label");this.m2(a?a:"")};k.prototype.m2=function(a){if(this.cA!=a){this.cA=a;this.pQ=p;this.Ub()}};k.prototype.ca=function(){if(this.pQ){this.pQ=z;this.ia.set("text",this.cA)}if(this.iR){this.iR=z;this.ia.set("direction",this.hR?g.Te:g.we)}this.Ta(k.RV,k.Gt,[this.ia],p,p);e.prototype.ca.call(this)};k.RV=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength",
"textShadowBlurRadius","textShadowOpacity"];k.Gt={};a(k.RV).each(function(a){k.Gt[a]=a});return k});define("dh",[],function(){return{Uw:"normal",zt:"inverse",YT:"center"}});
define("bX","cI,hb,S,N,jd,iO,W,c,ce,dh,ba".split(","),function(a,b,c,e,d,g,j,k,h,m,f){b=b.extend(g,function(){g.call(this);this.Mc("TabPanel");this.Kc=-1;this.ss=z;this.aA=[];this.oG=z;this.hl=[];this.wO=z;this.$z=[];this.ae=this.Ie=q;this.us(z)});b.prototype.na=function(){g.prototype.na.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",f.cb);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",m.Uw);this.f("tabsBackgroundOpacity",0.6);
this.f("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsBackgroundColorRatios",[0,0.5]);this.f("tabsRollOverBackgroundOpacity",1);this.f("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.f("tabsRollOverBackgroundColorRatios",[0,0.5]);this.f("backgroundColor","#FFFFFF");this.f("selectedTabBackgroundOpacity",1);this.f("selectedTabBackgroundColor");this.f("selectedTabBackgroundColorRatios");this.f("borderRadius",6);this.f("pagePaddingLeft",4);this.f("pagePaddingTop",4);this.f("pagePaddingRight",
4);this.f("pagePaddingBottom",4);this.f("borderColor","#AAAAAA");this.f("borderSize",1);this.f("selectedTabFontSize");this.f("selectedTabFontColor");this.f("selectedTabFontWeight");this.f("selectedTabFontStyle");this.f("selectedTabTextDecoration");this.f("selectedTabTextShadowBlurRadius");this.f("selectedTabTextShadowColor");this.f("selectedTabTextShadowHorizontalLength");this.f("selectedTabTextShadowOpacity");this.f("selectedTabTextShadowVerticalLength");this.f("tabsFontFamily");this.f("tabsFontSize");
this.f("tabsFontColor");this.f("tabsFontWeight");this.f("tabsFontStyle");this.f("tabsTextDecoration");this.f("tabsTextShadowBlurRadius");this.f("tabsTextShadowColor");this.f("tabsTextShadowHorizontalLength");this.f("tabsTextShadowOpacity");this.f("tabsTextShadowVerticalLength");this.f("tabsRollOverFontSize");this.f("tabsRollOverFontColor");this.f("tabsRollOverFontWeight");this.f("tabsRollOverFontStyle");this.f("tabsRollOverTextDecoration");this.f("tabsRollOverTextShadowBlurRadius");this.f("tabsRollOverTextShadowColor");
this.f("tabsRollOverTextShadowHorizontalLength");this.f("tabsRollOverTextShadowOpacity");this.f("tabsRollOverTextShadowVerticalLength")};b.prototype.Ha=function(){g.prototype.Ha.call(this);if(this.ae==q){this.ae=new g;this.ae.us(z);this.pa(this.ae)}if(this.Ie==q){this.Ie=new g;this.Ie.us(z);this.pa(this.Ie)}};b.prototype.set=function(a,b){if(a=="pages")this.aoa(b||[]);else if(a=="selectedIndex")this.BT(b);else if(a=="layout")b=k.Woa;g.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
"pages"?this.hl:a=="selectedIndex"?this.Kc:g.prototype.get.call(this,a,b)};b.prototype.BT=function(a){if(this.Kc!=a){this.Kc=a;this.Kc=Math.min(Math.max(this.Kc,-1),this.hl.length);this.ss=p;this.Ub();this.trigger(d.W)}};b.prototype.aoa=function(b){if(!a.isEqual(this.hl,b)){this.hl=b;this.wO=p;this.Ub()}};b.prototype.$ha=function(b){this.aA=a(this.aA).union([b.source]);this.oG=p;this.Ub()};b.prototype.Zha=function(b){this.aA=a(this.aA).difference([b.source]);this.oG=p;this.Ub()};b.prototype.Yha=function(b){this.BT(a(this.$z).indexOf(b.source))};
b.prototype.ca=function(){var b=z,r=z,o=z,s=z,t=z,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.wO){this.$z=[];this.Ie.k6();this.ae.k6();a(this.hl).forEach(function(b){var c=new h(b);c.us(p);c.bind(d.Qc,a.bind(this.$ha,this));c.bind(d.oc,a.bind(this.Zha,this));c.bind(d.pb,a.bind(this.Yha,this));this.$z.push(c);this.Ie.pa(c);b.Q({top:n,left:n,right:n,bottom:n,width:"100%",height:"100%"});this.ae.pa(b)},this);this.Kc=Math.min(Math.max(this.Kc,0),this.hl.length-1);this.wO=z;r=b=t=p}if(this.m("tabsPosition")){this.o("tabsPosition");
s=r=b=p}if(this.ss){this.ss=z;o=r=t=p}if(this.oG){this.oG=z;o=p}a(["tabsAlign","tabsGap","tabsSize"]).forEach(function(a){if(this.m(a)){this.o(a);b=p}},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.m(a)){this.o(a);s=r=p}},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.m(a)){this.o(a);r=p}},this);a(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(a){if(this.m(a)){this.o(a);s=p}},this);this.m("backgroundColorDirection")&&this.o("backgroundColorDirection");if(b){switch(u){case f.qa:this.Ie.Q({left:0,
right:n});break;case f.Pa:this.Ie.Q({left:n,right:0});break;case f.cb:this.Ie.Q({bottom:n,top:0});break;case f.bb:this.Ie.Q({bottom:0,top:n})}switch(u){case f.qa:case f.Pa:this.Ie.Q({layout:k.Te,top:0,bottom:0,height:n,width:this.j("tabsSize")});switch(v){case m.zt:this.Ie.set("verticalAlign",j.bb);break;case m.YT:this.Ie.set("verticalAlign",j.ac);break;default:this.Ie.set("verticalAlign",j.cb)}break;case f.cb:case f.bb:this.Ie.Q({layout:k.we,left:0,right:0,height:this.j("tabsSize"),width:n});switch(v){case m.zt:this.Ie.set("horizontalAlign",
j.Pa);break;case m.YT:this.Ie.set("horizontalAlign",j.sc);break;default:this.Ie.set("horizontalAlign",j.qa)}}this.Ie.set("gap",this.j("tabsGap"))}if(r)for(var x=0;x<this.hl.length;x++){var y=this.$z[x];if(u==f.bb||u==f.cb){y.Q({layout:k.we,width:n,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:c.zJ});y.T6(z)}else{y.Q({layout:k.Te,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),
height:n,backgroundColorDirection:c.eJ});y.T6(p)}u==f.bb||u==f.Pa?y.set("borderTopLeftRadius",0):y.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==f.bb||u==f.qa?y.set("borderTopRightRadius",0):y.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==f.cb||u==f.Pa?y.set("borderBottomLeftRadius",0):y.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius",
"borderLeftRadius","borderRadius"));u==f.cb||u==f.qa?y.set("borderBottomRightRadius",0):y.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==f.Pa&&y.set("borderSize",this.j("borderRightSize","borderSize"));u==f.qa&&y.set("borderSize",this.j("borderLeftSize","borderSize"));u==f.cb&&y.set("borderSize",this.j("borderTopSize","borderSize"));u==f.bb&&y.set("borderSize",this.j("borderBottomSize","borderSize"));var A;switch(u){case f.qa:A=
this.j("borderLeftColor","borderColor");break;case f.Pa:A=this.j("borderRightColor","borderColor");break;case f.bb:A=this.j("borderBottomColor","borderColor");break;default:case f.cb:A=this.j("borderTopColor","borderColor")}y.set("borderColor",A);y.Q({fontFamily:this.j("tabsFontFamily"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor")})}if(r||
o)for(x=0;x<this.hl.length;x++){y=this.$z[x];o=x==this.Kc;A=a(this.aA).contains(y);if(o){A=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(A).isUndefined()){A=this.j("backgroundColor");A=a(A).isArray()&&A.length>0?u==f.qa||u==f.cb?A[0]:A[A.length-1]:A}y.Q({backgroundOpacity:this.j("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:A,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:e.nc,fontSize:this.j("selectedTabFontSize",
"tabsFontSize"),fontColor:this.j("selectedTabFontColor","tabsFontColor"),fontWeight:this.j("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.j("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.j("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.j("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("selectedTabTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("selectedTabTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("selectedTabTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})}else A?y.Q({backgroundOpacity:this.j("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.j("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:e.Td,
fontSize:this.j("tabsRollOverFontSize","tabsFontSize"),fontColor:this.j("tabsRollOverFontColor","tabsFontColor"),fontWeight:this.j("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.j("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.j("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.j("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsRollOverTextShadowVerticalLength",
"tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsRollOverTextShadowBlurRadius","tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):y.Q({backgroundOpacity:this.j("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.j("tabsBackgroundColor"),backgroundColorRatios:this.j("tabsBackgroundColorRatios"),fontSize:this.j("tabsFontSize"),fontColor:this.j("tabsFontColor"),fontWeight:this.j("tabsFontWeight"),fontStyle:this.j("tabsFontStyle"),
textDecoration:this.j("tabsTextDecoration"),textShadowColor:this.j("tabsTextShadowColor"),textShadowHorizontalLength:this.j("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.j("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.j("tabsTextShadowBlurRadius"),textShadowOpacity:this.j("tabsTextShadowOpacity")});y.Q({borderLeftSize:u==f.Pa&&o?0:n,borderRightSize:u==f.qa&&o?0:n,borderBottomSize:u==f.cb&&o?0:n,borderTopSize:u==f.bb&&o?0:n})}if(s){x=this.j("tabsSize");switch(u){case f.qa:this.ae.Q({left:x-
(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case f.Pa:this.ae.Q({left:0,right:x-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case f.cb:this.ae.Q({left:0,right:0,top:x-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case f.bb:this.ae.Q({left:0,right:0,top:0,bottom:x-(this.j("borderBottomSize","borderSize")||0)})}u==f.cb&&v==m.Uw||u==f.qa&&v==m.Uw?this.ae.set("borderTopLeftRadius",0):this.ae.set("borderTopLeftRadius",this.j("borderTopLeftRadius",
"borderTopRadius","borderLeftRadius","borderRadius"));u==f.cb&&v==m.zt||u==f.Pa&&v==m.Uw?this.ae.set("borderTopRightRadius",0):this.ae.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==f.bb&&v==m.Uw||u==f.qa&&v==m.zt?this.ae.set("borderBottomLeftRadius",0):this.ae.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==f.bb&&v==m.zt||u==f.Pa&&v==m.zt?this.ae.set("borderBottomRightRadius",
0):this.ae.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.ae.Q({paddingLeft:this.j("pagePaddingLeft"),paddingTop:this.j("pagePaddingTop"),paddingRight:this.j("pagePaddingRight"),paddingBottom:this.j("pagePaddingBottom"),borderLeftSize:this.j("borderLeftSize","borderSize"),borderTopSize:this.j("borderTopSize","borderSize"),borderRightSize:this.j("borderRightSize","borderSize"),borderBottomSize:this.j("borderBottomSize",
"borderSize"),borderLeftColor:this.j("borderLeftColor","borderColor"),borderTopColor:this.j("borderTopColor","borderColor"),borderRightColor:this.j("borderRightColor","borderColor"),borderBottomColor:this.j("borderBottomColor","borderColor"),shadow:this.j("shadow"),shadowHorizontalLength:this.j("shadowHorizontalLength"),shadowVerticalLength:this.j("shadowVerticalLength"),shadowBlurRadius:this.j("shadowBlurRadius"),shadowSpread:this.j("shadowSpread"),shadowColor:this.j("shadowColor"),backgroundOpacity:this.j("backgroundOpacity"),
backgroundColor:this.j("backgroundColor"),backgroundColorRatios:this.j("backgroundColorRatios")});u==f.cb||u==f.bb?this.ae.set("backgroundColorDirection",c.zJ):this.ae.set("backgroundColorDirection",c.eJ)}if(t)for(x=0;x<this.hl.length;x++)this.hl[x].set("visible",x==this.Kc);g.prototype.ca.call(this)};return b});
define("iK",["cI","hb","jd","bX","di"],function(a,b,c,e,d){a=b.extend(e,function(){e.call(this)});d.A("TabPanel",a).B("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"}).bo(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).mc([c.W]);return a});define("dH",["hb","iO"],function(a,b){var c=a.extend(b,function(){b.call(this);this.Mc("Page");this.set("label","")});c.prototype.na=function(){b.prototype.na.call(this);this.f("visible",n)};return c});
define("O",["hb","dH","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("TabPanelPage",a).B("Container").K({label:"string"});return a});define("ec",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("TargetPanoramaCameraMovement",b).B("TargetRotationalCameraMovement");return b});
define("cj",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("TargetRotationalCameraDisplayMovement",b).B("RotationalCameraMovement").K({stereographicFactorSpeed:"number",path:"enum[left, right, shortest, longest]",targetYaw:"number",targetPitch:"number",targetHfov:"number",targetStereographicFactor:"number"});return b});
define("eS",["require","hb","hy","di"],function(a){var b=a("hb"),c=a("hy"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("TiledImageResourceLevel",b).B("ImageResourceLevel").K({rowCount:"number",colCount:"number"});return b});define("fS",["require","hb","di","fa"],function(a){var b=a("hb"),c=a("di"),e=a("fa"),a=b.extend(e,function(){e.call(this)});c.A("TripodCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
define("fd","require,hb,t,jd,W,bS,N,c,ba,hA,en,iO,hN,fB,cI".split(","),function(a){var b=a("hb"),c=a("t"),e=a("jd"),d=a("W"),g=a("bS"),j=a("N"),k=a("c"),h=a("ba"),m=a("hA"),f=a("en"),l=a("iO"),r=a("hN"),o=a("fB"),s=a("cI"),t=b.extend(l,function(){l.call(this);this.ia=this.qc=q;this.gr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",g.Pw);this.set("cursor",j.Td)});t.prototype.na=function(){l.prototype.na.call(this);this.f("overflow",
"hidden");this.f("item");this.f("thumbnailUrlFunction",this.DL);this.f("sourceProperties");this.f("labelFunction",this.BL);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelMaxWidth");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",f.q,"backgroundOpacity");this.h("rollOverBackgroundColor",f.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",f.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",f.q,"backgroundColorDirection");this.h("rollOverBorderRadius",f.q,"borderRadius");this.h("rollOverBorderTopRadius",f.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",f.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",f.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
f.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",f.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",f.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",f.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",f.q,"borderBottomRightRadius");this.h("rollOverBorderSize",f.q,"borderSize");this.h("rollOverBorderLeftSize",f.q,"borderLeftSize");this.h("rollOverBorderTopSize",f.q,"borderTopSize");this.h("rollOverBorderRightSize",f.q,"borderRightSize");
this.h("rollOverBorderBottomSize",f.q,"borderBottomSize");this.h("rollOverBorderColor",f.q,"borderColor");this.h("rollOverBorderLeftColor",f.q,"borderLeftColor");this.h("rollOverBorderTopColor",f.q,"borderTopColor");this.h("rollOverBorderRightColor",f.q,"borderRightColor");this.h("rollOverBorderBottomColor",f.q,"borderBottomColor");this.h("rollOverLabelFontColor",f.q,"labelFontColor");this.h("rollOverLabelFontSize",f.q,"labelFontSize");this.h("rollOverLabelFontStyle",f.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
f.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",f.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",f.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",f.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",f.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",f.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",f.q,"labelTextShadowOpacity");this.h("rollOverOpacity",f.q,"opacity");
this.h("rollOverPaddingLeft",f.q,"paddingLeft");this.h("rollOverPaddingTop",f.q,"paddingTop");this.h("rollOverPaddingRight",f.q,"paddingRight");this.h("rollOverPaddingBottom",f.q,"paddingBottom");this.h("rollOverShadow",f.q,"shadow");this.h("rollOverThumbnailOpacity",f.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",f.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",f.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",f.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
f.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",f.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",f.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",f.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",f.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",f.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",f.C,"backgroundOpacity");this.h("selectedBackgroundColor",f.C,"backgroundColor");
this.h("selectedBackgroundColorRatios",f.C,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",f.C,"backgroundColorDirection");this.h("selectedBorderRadius",f.C,"borderRadius");this.h("selectedBorderTopRadius",f.C,"borderTopRadius");this.h("selectedBorderBottomRadius",f.C,"borderBottomRadius");this.h("selectedBorderLeftRadius",f.C,"borderLeftRadius");this.h("selectedBorderRightRadius",f.C,"borderRightRadius");this.h("selectedBorderTopLeftRadius",f.C,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
f.C,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",f.C,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",f.C,"borderBottomRightRadius");this.h("selectedBorderSize",f.C,"borderSize");this.h("selectedBorderLeftSize",f.C,"borderLeftSize");this.h("selectedBorderTopSize",f.C,"borderTopSize");this.h("selectedBorderRightSize",f.C,"borderRightSize");this.h("selectedBorderBottomSize",f.C,"borderBottomSize");this.h("selectedBorderColor",f.C,"borderColor");this.h("selectedBorderLeftColor",
f.C,"borderLeftColor");this.h("selectedBorderTopColor",f.C,"borderTopColor");this.h("selectedBorderRightColor",f.C,"borderRightColor");this.h("selectedBorderBottomColor",f.C,"borderBottomColor");this.h("selectedLabelFontColor",f.C,"labelFontColor");this.h("selectedLabelFontSize",f.C,"labelFontSize");this.h("selectedLabelFontStyle",f.C,"labelFontStyle");this.h("selectedLabelFontWeight",f.C,"labelFontWeight");this.h("selectedLabelTextDecoration",f.C,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
f.C,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",f.C,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",f.C,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",f.C,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",f.C,"labelTextShadowOpacity");this.h("selectedOpacity",f.C,"opacity");this.h("selectedPaddingLeft",f.C,"paddingLeft");this.h("selectedPaddingTop",f.C,"paddingTop");this.h("selectedPaddingRight",
f.C,"paddingRight");this.h("selectedPaddingBottom",f.C,"paddingBottom");this.h("selectedShadow",f.C,"shadow");this.h("selectedThumbnailOpacity",f.C,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",f.C,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",f.C,"thumbnailBorderColor");this.h("selectedThumbnailShadow",f.C,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",f.C,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",f.C,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",f.C,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",f.C,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",f.C,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",f.C,"thumbnailShadowOpacity")};t.prototype.RB=function(a){this.Kz(a)};t.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.qc){this.qc=new r;this.pa(this.qc);this.qc.set("horizontalAlign",d.sc);this.qc.set("verticalAlign",d.ac);this.qc.bind(e.O,
this.sQ,this)}if(!this.ia){this.ia=new o;this.pa(this.ia)}};t.prototype.DL=function(a){if(s(a).isString())return a;if(a&&a.LT)return a.LT};t.prototype.BL=function(a){if(a&&a.label)return a.label};t.prototype.ca=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.gr.length;)this.gr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.gr.push(c.watch(b,a,this.kO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.m("sourceProperties")||this.m("item")||this.m("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.qc.get("url")!=a&&this.qc.Q({url:a,visible:p,opacity:0.5}):this.qc.Q({url:n,visible:z});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ia.Q({text:a,visible:a?p:z});this.o("labelFunction")}this.o("item");
this.o("sourceProperties");if(this.m("labelPosition")||this.m("listLayout")||this.m("thumbnailWidth")||this.m("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);return c!==n?c:b};switch(this.j("labelPosition")){case h.qa:case h.Pa:this.set("layout",k.we);this.ia.set("width","100%");this.qc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.ag)});break;default:this.set("layout",k.Te);this.ia.set("width","100%");this.qc.Q({height:a("thumbnailHeight",
"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.ag)})}switch(this.j("labelPosition")){case h.qa:case h.cb:this.hi(this.ia,0);break;default:this.hi(this.ia,1)}this.o("labelPosition")}this.Ta(t.KJ,t.QV,[this],p,p);this.Ta(t.MJ,t.TV,[this.qc],p,p);this.Ta(t.LJ,t.SV,[this.ia],p,p);l.prototype.ca.call(this)};t.prototype.kO=function(){this.vs("item")};t.prototype.ts=function(a){l.prototype.ts.call(this,a)};t.prototype.sQ=function(){this.qc.set("opacity",1)};t.QV={labelGap:"gap"};
t.KJ=s(t.QV).keys();t.SV={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"};
t.LJ=s(t.SV).keys();t.TV={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"};
t.MJ=s(t.TV).keys();return t});
define("bq","hb,bI,W,jd,bS,c,eO,ba,iO,fd,cI".split(","),function(a,b,c,e,d,g,j,k,h,m,f){var l=a.extend(h,function(){h.call(this);this.set("contentOpaque",p)});l.prototype.na=function(){h.prototype.na.call(this);this.f("layout",g.io);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",j.Tk);this.f("itemHorizontalAlign",c.sc);this.f("itemLabelFontFamily");this.f("itemLabelPosition",k.bb);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
c.sc);this.f("itemSourceProperties");this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemVerticalAlign",c.ac);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");
this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");
this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelMaxWidth");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");
this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");
this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");
this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");this.f("rollOverItemLabelTextShadowHorizontalLength");
this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");this.f("rollOverItemThumbnailShadow");
this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");this.f("selectedItemBorderTopRadius");
this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");this.f("selectedItemBorderColor");
this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};l.prototype.ry=function(a){this.Xg=p;this.set("selectedIndex",this.AM(a.source))};l.prototype.AM=function(a){for(var b=this.Na(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.ca=function(){this.m("layout")&&this.j("layout")!=g.io&&this.set("layout",g.io);var a=z;if(this.m("items")){var a=p,c=this.j("items")||
[],d=this.Na();if(d.length<c.length){for(var f=d.length;f<c.length;f++){d=new m;d.bind(e.U,this.ry,this);this.Ta(l.$w,l.Sq,[d],z,z);this.Ta(l.ax,l.Tq,[d],z,z);this.pa(d)}d=this.Na()}if(d.length>c.length){for(f=c.length;f<d.length;f++){var k=d[f];k.unbind(e.U,this.ry,this);this.removeChild(k)}d=this.Na()}for(f=0;f<c.length;f++)d[f].set("item",c[f]);this.o("items")}if(this.m("selectedIndex")||a){c=this.Na();a=Math.min(c.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",a);for(f=
0;f<c.length;f++)c[f].RB(f==a);this.o("selectedIndex");if(this.Xg){this.Xg=z;this.trigger(new b(e.W))}}this.Ta(l.$w,l.Sq,this.Na(),p,z);this.Ta(l.ax,l.Tq,this.Na(),p,p);h.prototype.ca.call(this)};l.Sq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.Tq={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",
itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",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"};l.$w=f(l.Sq).keys();l.ax=f(l.Tq).keys();return l});
define("gr","hb,jd,bq,di,hX,cH,bo,cI".split(","),function(a,b,c,e,d,g,j){a=a.extend(c,function(){c.call(this);this.wb=q;this.set("itemMode","normal");this.Tj=z;this.tx=new d(this,"buttonScrollDown",g.uc);this.tx.bind(b.U,this.r6,this);this.ux=new d(this,"buttonScrollLeft",g.uc);this.ux.bind(b.U,this.scrollLeft,this);this.vx=new d(this,"buttonScrollRight",g.uc);this.vx.bind(b.U,this.s6,this);this.wx=new d(this,"buttonScrollUp",g.uc);this.wx.bind(b.U,this.t6,this);this.bind(b.W,this.Sea,this)});e.A("ThumbnailGrid",
a).B("UIComponent").K({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, 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]"}).bo(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.mh=function(){c.prototype.mh.call(this);
this.Hs()};a.prototype.Fn=function(){c.prototype.Fn.call(this);this.Hs()};a.prototype.Hs=function(){this.tx.set("visible",!this.Tj||this.YC());this.wx.set("visible",!this.Tj||this.aD());this.ux.set("visible",!this.Tj||this.ZC());this.vx.set("visible",!this.Tj||this.$C())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Xm);this.set("itemThumbnailUrlFunction",this.ty);this.set("itemTooltipFunction",this.Nr);this.set("itemSourceProperties",
["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Nr);this.set("itemThumbnailUrlFunction",this.Xm);this.set("itemTooltipFunction",this.Xm);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Nr);this.set("itemThumbnailUrlFunction",this.ty);this.set("itemTooltipFunction",this.Xm);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a==
"playList"){this.wb&&this.wb.unbind("change",this.mn,this);if(this.wb=b){this.set("items",this.wb.get("items"));this.set("selectedIndex",this.wb.get("selectedIndex"));this.wb.bind("change",this.mn,this,p)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Tj=b;this.Hs()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.wb;default:return c.prototype.get.call(this,a,b)}};a.prototype.mn=function(){this.set("items",this.wb.get("items"));
this.set("selectedIndex",this.wb.get("selectedIndex"))};a.prototype.Sea=function(){this.wb&&this.wb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Xm=D();a.prototype.Nr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.ty=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=j.c4(b));return b};return a});
define("gF","require,hb,t,jd,W,bS,N,c,ba,hA,en,iO,hN,fB,cI".split(","),function(a){var b=a("hb"),c=a("t"),e=a("jd"),d=a("W"),g=a("bS"),j=a("N"),k=a("c"),h=a("ba"),m=a("hA"),f=a("en"),l=a("iO"),r=a("hN"),o=a("fB"),s=a("cI"),t=b.extend(l,function(){l.call(this);this.ia=this.qc=q;this.gr=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",g.Pw);this.set("cursor",j.Td)});t.prototype.na=function(){l.prototype.na.call(this);this.f("listLayout");
this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.DL);this.f("sourceProperties");this.f("labelFunction",this.BL);this.f("labelFontFamily");this.f("labelFontColor");this.f("labelFontSize");this.f("labelFontStyle");this.f("labelFontWeight");this.f("labelGap");this.f("labelHorizontalAlign");this.f("labelPosition");this.f("labelTextDecoration");this.f("labelTextShadowColor");this.f("labelTextShadowHorizontalLength");this.f("labelTextShadowVerticalLength");this.f("labelTextShadowBlurRadius");
this.f("labelTextShadowOpacity");this.f("thumbnailBorderRadius");this.f("thumbnailOpacity");this.f("thumbnailBorderSize");this.f("thumbnailBorderColor");this.f("thumbnailWidth");this.f("thumbnailHeight");this.f("thumbnailMaxWidth");this.f("thumbnailMaxHeight");this.f("thumbnailShadow");this.f("thumbnailShadowHorizontalLength");this.f("thumbnailShadowVerticalLength");this.f("thumbnailShadowBlurRadius");this.f("thumbnailShadowSpread");this.f("thumbnailShadowColor");this.f("thumbnailShadowOpacity");
this.h("rollOverBackgroundOpacity",f.q,"backgroundOpacity");this.h("rollOverBackgroundColor",f.q,"backgroundColor");this.h("rollOverBackgroundColorRatios",f.q,"backgroundColorRatios");this.h("rollOverBackgroundColorDirection",f.q,"backgroundColorDirection");this.h("rollOverBorderRadius",f.q,"borderRadius");this.h("rollOverBorderTopRadius",f.q,"borderTopRadius");this.h("rollOverBorderBottomRadius",f.q,"borderBottomRadius");this.h("rollOverBorderLeftRadius",f.q,"borderLeftRadius");this.h("rollOverBorderRightRadius",
f.q,"borderRightRadius");this.h("rollOverBorderTopLeftRadius",f.q,"borderTopLeftRadius");this.h("rollOverBorderTopRightRadius",f.q,"borderTopRightRadius");this.h("rollOverBorderBottomLeftRadius",f.q,"borderBottomLeftRadius");this.h("rollOverBorderBottomRightRadius",f.q,"borderBottomRightRadius");this.h("rollOverBorderSize",f.q,"borderSize");this.h("rollOverBorderLeftSize",f.q,"borderLeftSize");this.h("rollOverBorderTopSize",f.q,"borderTopSize");this.h("rollOverBorderRightSize",f.q,"borderRightSize");
this.h("rollOverBorderBottomSize",f.q,"borderBottomSize");this.h("rollOverBorderColor",f.q,"borderColor");this.h("rollOverBorderLeftColor",f.q,"borderLeftColor");this.h("rollOverBorderTopColor",f.q,"borderTopColor");this.h("rollOverBorderRightColor",f.q,"borderRightColor");this.h("rollOverBorderBottomColor",f.q,"borderBottomColor");this.h("rollOverLabelFontColor",f.q,"labelFontColor");this.h("rollOverLabelFontSize",f.q,"labelFontSize");this.h("rollOverLabelFontStyle",f.q,"labelFontStyle");this.h("rollOverLabelFontWeight",
f.q,"labelFontWeight");this.h("rollOverLabelTextDecoration",f.q,"labelTextDecoration");this.h("rollOverLabelTextShadowColor",f.q,"labelTextShadowColor");this.h("rollOverLabelTextShadowHorizontalLength",f.q,"labelTextShadowHorizontalLength");this.h("rollOverLabelTextShadowVerticalLength",f.q,"labelTextShadowVerticalLength");this.h("rollOverLabelTextShadowBlurRadius",f.q,"labelTextShadowBlurRadius");this.h("rollOverLabelTextShadowOpacity",f.q,"labelTextShadowOpacity");this.h("rollOverOpacity",f.q,"opacity");
this.h("rollOverPaddingLeft",f.q,"paddingLeft");this.h("rollOverPaddingTop",f.q,"paddingTop");this.h("rollOverPaddingRight",f.q,"paddingRight");this.h("rollOverPaddingBottom",f.q,"paddingBottom");this.h("rollOverShadow",f.q,"shadow");this.h("rollOverThumbnailOpacity",f.q,"thumbnailOpacity");this.h("rollOverThumbnailBorderSize",f.q,"thumbnailBorderSize");this.h("rollOverThumbnailBorderColor",f.q,"thumbnailBorderColor");this.h("rollOverThumbnailShadow",f.q,"thumbnailShadow");this.h("rollOverThumbnailShadowHorizontalLength",
f.q,"thumbnailShadowHorizontalLength");this.h("rollOverThumbnailShadowVerticalLength",f.q,"thumbnailShadowVerticalLength");this.h("rollOverThumbnailShadowBlurRadius",f.q,"thumbnailShadowBlurRadius");this.h("rollOverThumbnailShadowSpread",f.q,"thumbnailShadowSpread");this.h("rollOverThumbnailShadowColor",f.q,"thumbnailShadowColor");this.h("rollOverThumbnailShadowOpacity",f.q,"thumbnailShadowOpacity");this.h("selectedBackgroundOpacity",f.C,"backgroundOpacity");this.h("selectedBackgroundColor",f.C,"backgroundColor");
this.h("selectedBackgroundColorRatios",f.C,"backgroundColorRatios");this.h("selectedBackgroundColorDirection",f.C,"backgroundColorDirection");this.h("selectedBorderRadius",f.C,"borderRadius");this.h("selectedBorderTopRadius",f.C,"borderTopRadius");this.h("selectedBorderBottomRadius",f.C,"borderBottomRadius");this.h("selectedBorderLeftRadius",f.C,"borderLeftRadius");this.h("selectedBorderRightRadius",f.C,"borderRightRadius");this.h("selectedBorderTopLeftRadius",f.C,"borderTopLeftRadius");this.h("selectedBorderTopRightRadius",
f.C,"borderTopRightRadius");this.h("selectedBorderBottomLeftRadius",f.C,"borderBottomLeftRadius");this.h("selectedBorderBottomRightRadius",f.C,"borderBottomRightRadius");this.h("selectedBorderSize",f.C,"borderSize");this.h("selectedBorderLeftSize",f.C,"borderLeftSize");this.h("selectedBorderTopSize",f.C,"borderTopSize");this.h("selectedBorderRightSize",f.C,"borderRightSize");this.h("selectedBorderBottomSize",f.C,"borderBottomSize");this.h("selectedBorderColor",f.C,"borderColor");this.h("selectedBorderLeftColor",
f.C,"borderLeftColor");this.h("selectedBorderTopColor",f.C,"borderTopColor");this.h("selectedBorderRightColor",f.C,"borderRightColor");this.h("selectedBorderBottomColor",f.C,"borderBottomColor");this.h("selectedLabelFontColor",f.C,"labelFontColor");this.h("selectedLabelFontSize",f.C,"labelFontSize");this.h("selectedLabelFontStyle",f.C,"labelFontStyle");this.h("selectedLabelFontWeight",f.C,"labelFontWeight");this.h("selectedLabelTextDecoration",f.C,"labelTextDecoration");this.h("selectedLabelTextShadowColor",
f.C,"labelTextShadowColor");this.h("selectedLabelTextShadowHorizontalLength",f.C,"labelTextShadowHorizontalLength");this.h("selectedLabelTextShadowVerticalLength",f.C,"labelTextShadowVerticalLength");this.h("selectedLabelTextShadowBlurRadius",f.C,"labelTextShadowBlurRadius");this.h("selectedLabelTextShadowOpacity",f.C,"labelTextShadowOpacity");this.h("selectedOpacity",f.C,"opacity");this.h("selectedPaddingLeft",f.C,"paddingLeft");this.h("selectedPaddingTop",f.C,"paddingTop");this.h("selectedPaddingRight",
f.C,"paddingRight");this.h("selectedPaddingBottom",f.C,"paddingBottom");this.h("selectedShadow",f.C,"shadow");this.h("selectedThumbnailOpacity",f.C,"thumbnailOpacity");this.h("selectedThumbnailBorderSize",f.C,"thumbnailBorderSize");this.h("selectedThumbnailBorderColor",f.C,"thumbnailBorderColor");this.h("selectedThumbnailShadow",f.C,"thumbnailShadow");this.h("selectedThumbnailShadowHorizontalLength",f.C,"thumbnailShadowHorizontalLength");this.h("selectedThumbnailShadowVerticalLength",f.C,"thumbnailShadowVerticalLength");
this.h("selectedThumbnailShadowBlurRadius",f.C,"thumbnailShadowBlurRadius");this.h("selectedThumbnailShadowSpread",f.C,"thumbnailShadowSpread");this.h("selectedThumbnailShadowColor",f.C,"thumbnailShadowColor");this.h("selectedThumbnailShadowOpacity",f.C,"thumbnailShadowOpacity")};t.prototype.RB=function(a){this.Kz(a)};t.prototype.Ha=function(){l.prototype.Ha.call(this);if(!this.qc){this.qc=new r;this.pa(this.qc);this.qc.set("horizontalAlign",d.sc);this.qc.set("verticalAlign",d.ac);this.qc.bind(e.O,
this.sQ,this)}if(!this.ia){this.ia=new o;this.pa(this.ia)}};t.prototype.DL=function(a){if(s(a).isString())return a;if(a&&a.LT)return a.LT};t.prototype.BL=function(a){if(a&&a.label)return a.label};t.prototype.ca=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.gr.length;)this.gr.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.gr.push(c.watch(b,a,this.kO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
this.j("item");a=this.j("tooltipFunction")(b);this.set("toolTip",a)}if(this.m("sourceProperties")||this.m("item")||this.m("thumbnailUrlFunction")){b=this.j("item");(a=this.j("thumbnailUrlFunction")(b))?this.qc.get("url")!=a&&this.qc.Q({url:a,visible:p,opacity:0.5}):this.qc.Q({url:n,visible:z});this.o("thumbnailUrlFunction")}if(this.m("sourceProperties")||this.m("item")||this.m("labelFunction")){b=this.j("item");a=this.j("labelFunction")(b);this.ia.Q({text:a,visible:a?p:z});this.o("labelFunction")}this.o("sourceProperties");
this.o("item");if(this.m("listLayout"))switch(this.j("listLayout")){case k.Te:this.Q({width:"100%",height:n});break;default:this.Q({height:"100%",width:n})}if(this.m("labelPosition")||this.m("listLayout")||this.m("thumbnailWidth")||this.m("thumbnailHeight")){var d=this,a=function(a,b){var c=d.j(a);c===n&&(c=b);return c};switch(this.j("labelPosition")){case h.qa:case h.Pa:this.set("layout",k.we);this.ia.set("width","100%");switch(this.j("listLayout")){case k.Te:this.qc.Q({height:a("thumbnailHeight"),
width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.ag)});break;default:this.qc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.ag)})}break;default:this.set("layout",k.Te);this.ia.set("width",n);switch(this.j("listLayout")){case k.Te:this.qc.Q({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.Aj)});break;default:this.qc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
m.ag)})}}switch(this.j("labelPosition")){case h.qa:case h.cb:this.hi(this.ia,0);break;default:this.hi(this.ia,1)}this.o("labelPosition")}this.o("listLayout");this.Ta(t.KJ,t.Gt,[this],p,p);this.Ta(t.MJ,t.Gt,[this.qc],p,p);this.Ta(t.LJ,t.Gt,[this.ia],p,p);l.prototype.ca.call(this)};t.prototype.kO=function(){this.vs("item")};t.prototype.ts=function(a){l.prototype.ts.call(this,a)};t.prototype.sQ=function(){this.qc.set("opacity",1)};t.KJ=["labelGap"];t.MJ=["thumbnailBorderColor","thumbnailBorderRadius",
"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];t.LJ=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
"labelTextShadowOpacity"];t.Gt={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 t});
define("y","require,hb,bI,W,jd,c,eO,ba,iO,gF,cI".split(","),function(a){var b=a("hb"),c=a("bI"),e=a("W"),d=a("jd"),g=a("c"),j=a("eO"),k=a("ba"),h=a("iO"),m=a("gF"),a=a("cI"),f=b.extend(h,function(){h.call(this);this.set("contentOpaque",p);this.bind(d.ga("selectedIndex"),this.jga,this);this.bind(d.qb,this.fia,this)});f.prototype.na=function(){h.prototype.na.call(this);this.f("layout",g.we);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",j.Tk);this.f("itemHorizontalAlign",e.sc);this.f("itemLabelFontFamily");
this.f("itemLabelPosition",k.bb);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",e.sc);this.f("itemThumbnailBorderRadius");this.f("itemThumbnailScaleMode");this.f("itemThumbnailWidth");this.f("itemThumbnailHeight");this.f("itemThumbnailMaxWidth");this.f("itemThumbnailMaxHeight");this.f("itemThumbnailUrlFunction");this.f("itemTooltipFunction");this.f("itemSourceProperties");this.f("itemVerticalAlign",e.ac);this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");
this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");this.f("itemBorderBottomRadius");this.f("itemBorderLeftRadius");this.f("itemBorderRightRadius");this.f("itemBorderTopLeftRadius");this.f("itemBorderTopRightRadius");this.f("itemBorderBottomLeftRadius");this.f("itemBorderBottomRightRadius");this.f("itemBorderSize");this.f("itemBorderLeftSize");this.f("itemBorderTopSize");this.f("itemBorderRightSize");this.f("itemBorderBottomSize");
this.f("itemBorderColor");this.f("itemBorderLeftColor");this.f("itemBorderTopColor");this.f("itemBorderRightColor");this.f("itemBorderBottomColor");this.f("itemLabelFontColor");this.f("itemLabelFontSize");this.f("itemLabelFontStyle");this.f("itemLabelFontWeight");this.f("itemLabelTextDecoration");this.f("itemLabelTextShadowColor");this.f("itemLabelTextShadowHorizontalLength");this.f("itemLabelTextShadowVerticalLength");this.f("itemLabelTextShadowBlurRadius");this.f("itemLabelTextShadowOpacity");this.f("itemOpacity");
this.f("itemPaddingLeft");this.f("itemPaddingTop");this.f("itemPaddingRight");this.f("itemPaddingBottom");this.f("itemShadow");this.f("itemThumbnailOpacity");this.f("itemThumbnailBorderSize");this.f("itemThumbnailBorderColor");this.f("itemThumbnailShadow");this.f("itemThumbnailShadowHorizontalLength");this.f("itemThumbnailShadowVerticalLength");this.f("itemThumbnailShadowBlurRadius");this.f("itemThumbnailShadowSpread");this.f("itemThumbnailShadowColor");this.f("itemThumbnailShadowOpacity");this.f("rollOverItemBackgroundOpacity");
this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");this.f("rollOverItemBackgroundColorDirection");this.f("rollOverItemBorderRadius");this.f("rollOverItemBorderTopRadius");this.f("rollOverItemBorderBottomRadius");this.f("rollOverItemBorderLeftRadius");this.f("rollOverItemBorderRightRadius");this.f("rollOverItemBorderTopLeftRadius");this.f("rollOverItemBorderTopRightRadius");this.f("rollOverItemBorderBottomLeftRadius");this.f("rollOverItemBorderBottomRightRadius");this.f("rollOverItemBorderSize");
this.f("rollOverItemBorderLeftSize");this.f("rollOverItemBorderTopSize");this.f("rollOverItemBorderRightSize");this.f("rollOverItemBorderBottomSize");this.f("rollOverItemBorderColor");this.f("rollOverItemBorderLeftColor");this.f("rollOverItemBorderTopColor");this.f("rollOverItemBorderRightColor");this.f("rollOverItemBorderBottomColor");this.f("rollOverItemLabelFontSize");this.f("rollOverItemLabelFontStyle");this.f("rollOverItemLabelFontWeight");this.f("rollOverItemLabelTextDecoration");this.f("rollOverItemLabelTextShadowColor");
this.f("rollOverItemLabelTextShadowHorizontalLength");this.f("rollOverItemLabelTextShadowVerticalLength");this.f("rollOverItemLabelTextShadowBlurRadius");this.f("rollOverItemLabelTextShadowOpacity");this.f("rollOverItemOpacity");this.f("rollOverItemPaddingLeft");this.f("rollOverItemPaddingTop");this.f("rollOverItemPaddingRight");this.f("rollOverItemPaddingBottom");this.f("rollOverItemShadow");this.f("rollOverItemThumbnailOpacity");this.f("rollOverItemThumbnailBorderSize");this.f("rollOverItemThumbnailBorderColor");
this.f("rollOverItemThumbnailShadow");this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");
this.f("selectedItemBorderTopRadius");this.f("selectedItemBorderBottomRadius");this.f("selectedItemBorderLeftRadius");this.f("selectedItemBorderRightRadius");this.f("selectedItemBorderTopLeftRadius");this.f("selectedItemBorderTopRightRadius");this.f("selectedItemBorderBottomLeftRadius");this.f("selectedItemBorderBottomRightRadius");this.f("selectedItemBorderSize");this.f("selectedItemBorderLeftSize");this.f("selectedItemBorderTopSize");this.f("selectedItemBorderRightSize");this.f("selectedItemBorderBottomSize");
this.f("selectedItemBorderColor");this.f("selectedItemBorderLeftColor");this.f("selectedItemBorderTopColor");this.f("selectedItemBorderRightColor");this.f("selectedItemBorderBottomColor");this.f("selectedItemLabelFontSize");this.f("selectedItemLabelFontStyle");this.f("selectedItemLabelFontWeight");this.f("selectedItemLabelTextDecoration");this.f("selectedItemLabelTextShadowColor");this.f("selectedItemLabelTextShadowHorizontalLength");this.f("selectedItemLabelTextShadowVerticalLength");this.f("selectedItemLabelTextShadowBlurRadius");
this.f("selectedItemLabelTextShadowOpacity");this.f("selectedItemOpacity");this.f("selectedItemPaddingLeft");this.f("selectedItemPaddingTop");this.f("selectedItemPaddingRight");this.f("selectedItemPaddingBottom");this.f("selectedItemShadow");this.f("selectedItemThumbnailOpacity");this.f("selectedItemThumbnailBorderSize");this.f("selectedItemThumbnailBorderColor");this.f("selectedItemThumbnailShadow");this.f("selectedItemThumbnailShadowHorizontalLength");this.f("selectedItemThumbnailShadowVerticalLength");
this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};f.prototype.ry=function(a){this.Xg=p;this.set("selectedIndex",this.AM(a.source))};f.prototype.jga=function(){this.N1()};f.prototype.fia=function(){this.N1()};f.prototype.N1=function(){var a=this.get("selectedIndex"),b=this.Na();a>=0&&a<b.length&&this.scrollIntoView(b[a])};f.prototype.AM=function(a){for(var b=this.Na(),
c=0;c<b.length;c++)if(b[c]==a)return c;return-1};f.prototype.ca=function(){if(this.m("layout")){var a=this.j("layout");a!=g.Te&&a!=g.we&&this.set("layout",g.we)}var b=z;if(this.m("items")){var b=p,a=this.j("items")||[],e=this.Na();if(e.length<a.length){for(var k=e.length;k<a.length;k++){e=new m;e.bind(d.U,this.ry,this);this.Ta(f.$w,f.Sq,[e],z,z);this.Ta(f.ax,f.Tq,[e],z,z);this.pa(e)}e=this.Na()}if(e.length>a.length){for(k=a.length;k<e.length;k++){var j=e[k];j.unbind(d.U,this.ry,this);this.removeChild(j)}e=
this.Na()}for(k=0;k<a.length;k++)e[k].set("item",a[k]);this.o("items")}if(this.m("selectedIndex")||b){a=this.Na();b=Math.min(a.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",b);for(k=0;k<a.length;k++)a[k].RB(k==b);this.o("selectedIndex");if(this.Xg){this.Xg=z;this.trigger(new c(d.W))}}this.Ta(f.$w,f.Sq,this.Na(),p,z);this.Ta(f.ax,f.Tq,this.Na(),p,p);h.prototype.ca.call(this)};f.Sq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};f.Tq={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",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"};f.$w=a(f.Sq).keys();f.ax=a(f.Tq).keys();return f});
define("eD","hb,jd,y,di,hX,cH,bo,cI".split(","),function(a,b,c,e,d,g,j){a=a.extend(c,function(){c.call(this);this.wb=q;this.set("itemMode","normal");this.Tj=z;this.tx=new d(this,"buttonScrollDown",g.uc);this.tx.bind(b.U,this.r6,this);this.ux=new d(this,"buttonScrollLeft",g.uc);this.ux.bind(b.U,this.scrollLeft,this);this.vx=new d(this,"buttonScrollRight",g.uc);this.vx.bind(b.U,this.s6,this);this.wx=new d(this,"buttonScrollUp",g.uc);this.wx.bind(b.U,this.t6,this);this.bind(b.W,this.Tea,this)});e.A("ThumbnailList",
a).B("UIComponent").K({buttonScrollDown:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollLeft:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollRight:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonScrollUp:"or[array[or[BaseButton, IconButton]], or[BaseButton, 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:"*"}).bo(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.mh=
function(){c.prototype.mh.call(this);this.Hs()};a.prototype.Fn=function(){c.prototype.Fn.call(this);this.Hs()};a.prototype.Hs=function(){this.tx.set("visible",!this.Tj||this.YC());this.wx.set("visible",!this.Tj||this.aD());this.ux.set("visible",!this.Tj||this.ZC());this.vx.set("visible",!this.Tj||this.$C())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Xm);this.set("itemThumbnailUrlFunction",this.ty);this.set("itemTooltipFunction",
this.Nr);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Nr);this.set("itemThumbnailUrlFunction",this.Xm);this.set("itemTooltipFunction",this.Xm);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Nr);this.set("itemThumbnailUrlFunction",this.ty);this.set("itemTooltipFunction",this.Xm);this.set("itemSourceProperties",["label","media.label",
"media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.wb&&this.wb.unbind("change",this.mn,this);if(this.wb=b){this.set("items",this.wb.get("items"));this.wb.bind("change",this.mn,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Tj=b;this.Hs()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.wb;default:return c.prototype.get.call(this,a,b)}};a.prototype.mn=function(){this.set("items",this.wb.get("items"));
this.set("selectedIndex",this.wb.get("selectedIndex"))};a.prototype.Tea=function(){this.wb&&this.wb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Xm=D();a.prototype.Nr=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.ty=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=j.c4(b));return b};return a});
define("bs",["hb","jd","d","di"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});e.A("UIComponent",a).B("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",
inView:"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]",toolTipHorizontalAlign:"enum[left, center, right]",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]"}).bo(["toolTipFontSize"]).oj(["backgroundImageUrl"]).mc([b.yg,
b.INIT,b.U,b.Bj,b.mf,b.qb,b.Qc,b.oc,b.Df]);return a});
define("eK",["require","hb","bB","hA"],function(a){var b=a("hb"),c=a("bB"),e=a("hA"),a=b.extend(c,function(a){c.call(this);this.t=a;this.Ab=a.get("video").Oe();this.R=a.get("width",320);this.ba=a.get("height",Math.round(3*a.get("width",320)/4));this.Dc=a.get("scaleMode",e.fe)});a.prototype.Dk=function(){return[]};a.prototype.Oe=P("Ab");a.prototype.sla=function(){return this.t.get("video").get("subtitlesURL")};a.prototype.Fc=P("R");a.prototype.rd=P("ba");return a});
define("u","require,hb,jd,di,hA,cN,dD,eK".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("di");a("hA");var d=a("cN"),g=a("dD"),j=a("eK"),a=b.extend(d,function(){d.call(this);this.G=n});a.ve=g.ve;e.A("Video",a).B("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]"}).mc([c.ta,a.ve]);a.prototype.Oc=function(){if(this.G==n)this.G=this.get("video")?new j(this):q;return this.G};
a.prototype.Pn=function(){this.get("video");return[]};return a});define("er","require,hb,jd,di,fr,dD".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("di"),d=a("fr"),a=a("dD"),b=b.extend(d,function(){d.call(this)});b.ve=a.ve;e.A("VideoPanorama",b).B("Panorama").K({cues:"array[VideoCue]",loop:"bool"}).mc([c.ta,b.ve]);return b});
define("fV",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("Video360Resource",b).B("Video360ResourceLevel").K({levels:"array[Video360ResourceLevel]",subtitlesURL:"string"}).oj(["subtitlesURL"]);b.prototype.get=function(a,b){switch(a){case "levels":b=[this];break;case "subtitlesURL":for(var g=c.prototype.get.call(this,a),j=this.get("levels"),k=0;j&&k<j.length&&g===n;k++){var h=j[k];h!=this&&(g=h.get("subtitlesURL"))}return g!==n?
g:b}return c.prototype.get.call(this,a,b)};return b});
define("cq","require,hb,cI,di,dd,er,fV".split(","),function(a){var b=a("hb"),c=a("cI"),e=a("di"),d=a("dd"),g=a("er"),j=a("fV"),a=b.extend(g,function(){g.call(this);this.jk=this.t=n});e.A("Video360",a).B("VideoPanorama").K({video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.x9(b):g.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="video"?this.t===n?b:this.t:g.prototype.get.call(this,a,b)};a.prototype.x9=function(a){if(this.t!=
a){this.t=a;a=[];if(this.t){var b=new d;b.set("sphere",this.Qda(this.t));a.push(b)}g.prototype.set.call(this,"frames",a)}};a.prototype.Qda=function(a){if(c.isArray(a)){var b=[];c(a).each(function(a){b=b.concat(a.get("levels")||[a])});a=new j;a.set("levels",b)}return a};return a});define("bn",["require","hb","di","iT"],function(a){var b=a("hb"),c=a("di"),e=a("iT"),a=b.extend(e,function(){e.call(this)});c.A("Video360Player",a).B("PanoramaPlayer");return a});
define("gn",["hb","di","ca","cG"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("Video360PlayListItem",a).B("PlayListItem").K({media:"Video360",camera:"RotationalCamera",player:"PanoramaPlayer",startTime:"number"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Se,this.Kh,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(c.Se,this.Kh,this),a.get("video")==this.get("media")&&a.set("video",q));e.prototype.stop.call(this)};a.prototype.Kh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Se,this.Kh,this),this.get("player").bind(c.xg,this.ik,this),this.Jv())};a.prototype.ik=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.xg,this.ik,this),this.end())};return a});
define("iY",["require","hb","hu","di"],function(a){var b=a("hb"),c=a("hu"),a=a("di"),b=b.extend(c,function(){c.call(this)});a.A("Video360ResourceLevel",b).B("Object").K({bitrate:"number",framerate:"number",height:"number",posterURL:"string",type:"string",url:"string",width:"number"}).oj(["posterURL","url"]);return b});
define("bx","require,hb,hu,jd,es,bI,di,dD,gy".split(","),function(a){var b=a("hb"),c=a("hu"),e=a("jd"),d=a("es"),g=a("bI"),j=a("di"),k=a("dD"),h=a("gy"),m=b.extend(c,function(){c.call(this);this.Ld=n;this.set("enabled",p);this.set("interactionEnabled",p);this.set("state",d.L);this.set("enabledInCardboard",p);this.set("enabledInStandard",p);this.set("blending",0);this.set("fadeInDuration",200);this.set("fadeOutDuration",200)});m.prototype.play=function(){this.set("state",d.T)};m.prototype.pause=function(){this.set("state",
d.Gc)};m.prototype.stop=function(){this.set("state",d.L)};m.ve=k.ve;m.hd="stateChange";j.A("VideoPanoramaOverlay",m).B("PanoramaOverlay").K({autoplay:"bool",blending:"number",chromaColor:"color",chromaThreshold:"number",chromaSmoothing:"number",cues:"array[VideoCue]",distance:"number",displayTooltipInTouchScreens:"bool",enabled:"bool",enabledInCardboard:"bool",enabledInVR:"bool",enabledInStandard:"bool",fadeInDuration:"number",fadeOutDuration:"number",interactionEnabled:"bool",videoVisibleOnStop:"bool",
hfov:"number",vfov:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",image:"ImageResource",loop:"bool",pitch:"number",rotationX:"number",rotationY:"number",roll:"number",state:"enum[stopped, playing, paused]",toolTip:"string",useHandCursor:"bool",video:"VideoResource",yaw:"number",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).mc([e.lo,e.ta,e.Bj,e.mf,m.ve,m.hd]).jh([e.U]).ug({pause:m.prototype.pause,play:m.prototype.play,stop:m.prototype.stop});
m.prototype.set=function(a,b){var h=z;switch(a){case "state":var j=this.get("state")||d.L;j==d.L&&b==d.T&&this.trigger(e.lo);j!=b&&this.trigger(new g(m.hd,{oldState:j,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "playbackPositions":this.Ld=n;h=p}c.prototype.set.call(this,a,b);h&&a!="playbackPositions"&&this.trigger(e.ga("playbackPositions"))};m.prototype.get=
function(a,b){switch(a){case "playbackPositions":if(this.Ld===n)this.Ld=h.sH(this);return this.Ld}return c.prototype.get.call(this,a,b)};m.prototype.sH=function(){if(this.Ld===n)this.Ld=h.sH(this);return this.Ld};return m});
define("gU","cI,hb,jd,bI,dT,es,u".split(","),function(a,b,c,e,d,g,j){function k(a,b,c){this.time=a;this.cue=b;this.action=c}b=b.extend(d,function(a){d.call(this);this.g=a;this.g.bind(c.W,this.Dv,this,p);this.g.bind(c.ta,this.EA,this,p);this.zc=this.Lj=q;this.Nf=z;this.of=[];this.yh=n;this.Vb=[]});b.prototype.clear=function(){this.g.unbind(c.W,this.Dv,this,p);this.g.unbind(c.ta,this.EA,this,p);this.zc=this.Lj=this.g=q;this.of=[];this.Vb=[]};b.prototype.start=function(a){this.end();this.Lj=a;this.zc=
a.Oc();this.cL();this.Vz()};b.prototype.end=function(){this.yx();this.zc=this.Lj=q};b.prototype.Qd=function(a){a=a!=g.L;if(this.Nf!=a)(this.Nf=a)?this.Vz():this.yx()};b.prototype.EA=function(){this.Dv()};b.prototype.Vz=function(){this.yh=this.au=0};b.prototype.Dv=function(){if(this.zc&&this.Nf){var b=this.Vb.slice(),d=this.g.fS(this.zc),f=d-this.au;if(f<0){this.Vb=[];this.yh=0}f=f>=0&&f<2;this.au=d;var g;for(g=this.yh;g<this.of.length;g++)if(this.of[g].time>d)break;for(;this.yh<g;this.yh++){d=this.of[this.yh];
if(d.action=="start"){this.Vb=a(this.Vb).union([d.cue]);f&&d.cue.trigger(new e(c.sj))}else{this.Vb=a(this.Vb).difference([d.cue]);f&&d.cue.trigger(new e(c.ta))}}(b.length!=this.Vb.length||a(b).intersection(this.Vb).length!=this.Vb.length)&&this.jA()}};b.prototype.yx=function(){if(this.Vb.length>0){this.Vb=[];this.jA()}};b.prototype.jA=function(){this.Lj.trigger(new e(j.ve,{activeCues:this.Vb.slice()}))};b.prototype.cL=function(){this.of=[];var b=this.Lj.get("cues",[]);a(b).each(function(a){this.of.push(new k(a.get("startTime",
0),a,"start"));this.of.push(new k(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.of.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("iD",["hb","bI","dT","jd","hA"],function(a,b,c){var e=a.extend(c,function(a,b){c.call(this);this.F=a;this.g=b;this.Ru=[];this.V=e.ti;this.hg=q;this.IL=n;this.Cg=q;this.Yi=this.F.get("transitionDuration");this.Xh=n});e.prototype.display=function(a,b){this.MK();if(this.Cg!=a||this.V!=e.ti)this.Ru.push({video:a,startTime:b}),this.$_()};e.prototype.hide=function(){this.MK();this.Ru.push({video:q,startTime:n});this.$_()};e.prototype.clear=function(){this.V=e.ti;this.MK();this.Nfa();this.mP();this.g=
q};e.prototype.kj=function(a){if(this.V!=e.ti&&(this.V==e.rm||this.V==e.cx))this.Xh+=a,a=Math.min(1,this.Xh/this.Yi),this.V==e.rm?this.g.tg(this.hg.Oc(),a):this.g.tg(this.Cg.Oc(),1-a),this.Xh<this.Yi?this.fa():this.V==e.rm?this.bM():this.cM()};e.prototype.$_=function(){0<this.Ru.length&&this.V==e.ti&&this.so()};e.prototype.so=function(){this.Cg&&this.trigger(new b(e.Hq,{video:this.Cg}));if("fade_out_fade_in"==this.F.get("transitionMode","blending")&&this.Cg)this.ox();else{var a=this.Ru.shift();this.hg=
a.video;this.IL=a.startTime;this.hg?this.rK():this.Cg&&this.ox()}};e.prototype.rK=function(){this.R8();this.Xh=0;this.V=e.rm;this.fa()};e.prototype.bM=function(){this.mP();this.Cg=this.hg;this.hg=q;this.zr()};e.prototype.ox=function(){this.Xh=0;this.V=e.cx;this.fa()};e.prototype.cM=function(){this.mP();this.Cg=q;this.zr()};e.prototype.zr=function(){this.V=e.ti;this.Cg&&this.trigger(new b(e.Iq,{video:this.Cg}));0!=this.Ru.length&&this.so()};e.prototype.fa=function(){this.trigger(new b(e.ra))};e.prototype.MK=
function(){this.Ru=[]};e.prototype.R8=function(){this.hg&&(this.g.PA(this.hg.Oc()),this.g.rT(this.hg.Oc(),this.IL||0),this.g.QA(this.hg.Oc()),this.g.tg(this.hg.Oc(),0),this.trigger(new b(e.ZI,{video:this.hg,startTime:this.IL})))};e.prototype.mP=function(){this.Cg&&(this.g.removeItem(this.Cg.Oc()),this.trigger(new b(e.kC,{video:this.Cg})),this.Cg=q)};e.prototype.Nfa=function(){this.hg&&(this.g.removeItem(this.hg.Oc()),this.trigger(new b(e.kC,{video:this.hg})),this.hg=q)};e.ti="stopped";e.rm="blending";
e.cx="disolving";e.ra="request frame";e.ZI="video added";e.kC="video removed";e.Iq="video show";e.Hq="video hide";return e});
define("fK","require,hb,jd,bI,dT,es".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("dT"),g=a("es"),j=b.extend(d,function(a){d.call(this);this.g=a;this.g.bind(c.ta,this.EA,this);this.g.bind(c.W,this.Ls,this,p);this.zc=this.Lj=q;this.dd=z;this.uL=g.L});j.prototype.start=function(a,b){this.end();this.Lj=a;if(this.zc=a.Oc()){this.dd&&this.g.Z5(this.zc);this.nb(g.T);this.g.e6(this.zc);this.g.rT(this.zc,b||0)}};j.prototype.end=function(){this.stop();this.zc=this.Lj=q};j.prototype.clear=function(){this.g.unbind(c.W,
this.Ls,this,p);this.g.unbind(c.ta,this.EA,this);this.g=q};j.prototype.play=function(){if(this.zc){this.nb(g.T);this.g.e6(this.zc)}};j.prototype.pause=function(){if(this.zc){this.nb(g.Gc);this.g.uma(this.zc)}};j.prototype.stop=function(){if(this.zc){this.nb(g.L);this.g.zoa(this.zc)}};j.prototype.bq=function(){if(!this.dd){this.dd=p;this.zc&&this.g.Z5(this.zc)}};j.prototype.tt=function(){if(this.dd){this.dd=z;this.zc&&this.g.Ioa(this.zc)}};j.prototype.setTime=function(a){this.zc&&this.g.rT(this.zc,
a)};j.prototype.getTime=function(){if(this.zc)return this.g.fS(this.zc)};j.prototype.Ls=function(a){a=a.data.item;this.zc==a&&this.trigger(new e(j.Jq,{video:this.Lj,time:this.g.fS(a),duration:this.g.cla(a)}))};j.prototype.EA=function(a){if(this.zc==a.data.item){if(this.Lj.get("loop")){this.setTime(0);this.play()}else this.nb(g.L);this.trigger(new e(j.Gq,{video:this.Lj}))}};j.prototype.nb=function(a){if(this.uL!=a){this.uL=a;this.trigger(new e(j.Bb,{state:this.uL}))}};j.Bb="playback state change";
j.Gq="video end";j.Jq="video time change";return j});define("gD",["hb","bI","dT","R"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.Z=p;this.Pj=z;this.g=a});d.prototype.clear=function(){this.Z=z;this.g=q};d.prototype.za=function(){this.Pj||(this.Pj=p,e.za(this.$e,this))};d.prototype.$e=function(a){this.Z&&(this.Pj=z,this.trigger(new b(d.TI,{frameTime:a})),this.g.render())};d.TI="frame";return d});
define("fk","hb,bI,dT,gU,iD,fK,gD".split(","),function(a,b,c,e,d,g,j){var k=a.extend(c,function(a,b){c.call(this);this.F=a;this.g=b;this.pc=new j(this.g);this.X=new d(this.F,this.g);this.Za=new g(this.g);this.Kj=new e(this.g);this.pc.bind(j.TI,this.h0,this,p);this.X.bind(d.ra,this.Sb,this,p);this.X.bind(d.Hq,this.ik,this,p);this.X.bind(d.Iq,this.Kh,this,p);this.X.bind(d.ZI,this.o0,this,p);this.X.bind(d.kC,this.t0,this,p);this.Za.bind(g.Bb,this.Kd,this,p);this.Za.bind(g.Gq,this.hk,this,p);this.Za.bind(g.Jq,
this.gz,this,p)});k.prototype.clear=function(){this.pc.clear();this.X.clear();this.Za.clear();this.Kj.clear();this.pc.unbind(j.TI,this.h0,this);this.X.unbind(d.ra,this.Sb,this);this.X.unbind(d.Hq,this.ik,this);this.X.unbind(d.Iq,this.Kh,this);this.X.unbind(d.ZI,this.o0,this);this.X.unbind(d.kC,this.t0,this);this.Za.unbind(g.Bb,this.Kd,this);this.Za.unbind(g.Gq,this.hk,this);this.Za.unbind(g.Jq,this.gz,this);this.F=this.g=this.Kj=this.Za=this.X=this.pc=q};k.prototype.poa=function(a,b){this.X.display(a,
b)};k.prototype.jt=function(){this.X.hide();this.Za.end();this.Kj.end()};k.prototype.play=function(){this.Za.play()};k.prototype.stop=function(){this.Za.stop()};k.prototype.pause=function(){this.Za.pause()};k.prototype.bq=function(){this.Za.bq()};k.prototype.tt=function(){this.Za.tt()};k.prototype.setTime=function(a){this.Za.setTime(a)};k.prototype.getTime=function(){return this.Za.getTime()};k.prototype.Sb=function(){this.pc.za()};k.prototype.h0=function(a){this.X.kj(a.data.frameTime)};k.prototype.o0=
function(a){var b=a.data.video;this.Za.start(b,a.data.startTime);this.Kj.start(b)};k.prototype.t0=D();k.prototype.Kh=function(a){this.trigger(new b(k.Iq,{video:a.data.video}))};k.prototype.ik=function(a){this.trigger(new b(k.Hq,{video:a.data.video}))};k.prototype.hk=function(a){this.trigger(new b(k.Gq,{video:a.data.video}))};k.prototype.gz=function(a){this.trigger(new b(k.Jq,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};k.prototype.Kd=function(a){a=a.data.state;this.Kj.Qd(a);this.trigger(new b(k.Bb,
{state:a}))};k.Iq="videoShow";k.Hq="videoHide";k.Gq="videoEnd";k.Jq="videoTimeChange";k.Bb="playbackStateChange";return k});
define("gW","require,hb,jd,bI,di,ca,fp,es,fk,hD".split(","),function(a){var b=a("hb"),c=a("jd"),e=a("bI"),d=a("di"),g=a("ca"),j=a("fp"),k=a("es"),h=a("fk"),m=a("hD"),a=b.extend(j,function(){j.call(this,"video");this.set("clickAction","none");this.set("displayPlayOverlay",z);this.vr=this.cQ=this.Ls=this.og=z;this.p=this.g=q;this.Cb=this.Tb=0;this.Uc=b.Wn(this.Je,this)});d.A("VideoPlayer",a).B("Object").K({buttonPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonPlay:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",
buttonPlayPause:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonStop:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",buttonRestart:"or[array[or[BaseButton, IconButton]], or[BaseButton, IconButton]]",clickAction:"enum[play_pause, none]",displayPlayOverlay:"bool",displayPlaybackBar:"bool",currentTime:"number",state:"enum[stopped, playing, paused]",video:"Video",viewerArea:"ViewerArea"}).ug({seek:function(a){this.Fz(a)},play:function(){this.Ju()},pause:function(){this.Iu()},
stop:function(){this.as()},restart:function(){this.$r()}}).mc([g.Se,g.xg,j.hd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.cQ=p;this.Uc();break;case "video":this.Ls=p;this.Uc();break;case "viewerArea":this.og=p;this.Uc();break;case "displayPlaybackBar":this.vr=p;this.Uc()}j.prototype.set.call(this,a,b)}};a.prototype.get=function(a,b){switch(a){case "currentTime":return this.p&&this.p.getTime()||0}return j.prototype.get.call(this,a,b)};a.prototype.Je=function(){if(this.og){this.og=
z;this.ur();this.get("viewerArea")&&this.pr();this.dG(this.get("viewerArea"));this.Ls=p}var a=z;if(this.g&&(this.Ls||this.cQ)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.eb()){this.Uc();return}this.cQ=this.Ls=z;this.Cb=this.Tb=0;a=p;if(b){this.HF();this.p.poa(b,c)}else this.p.jt()}if(this.vr){this.vr=z;a=p}a&&this.wA()};a.prototype.Xz=function(){this.set("video",q)};a.prototype.pr=function(){var a=this.get("application"),b=this.get("viewerArea");this.g=new m(a,b,this);this.g.Q({left:0,
top:0,bottom:0,right:0});b.pa(this.g);b.bind(c.U,this.w0,this,p);this.p=new h(b,this.g);this.p.bind(h.Iq,this.Kh,this);this.p.bind(h.Hq,this.ik,this);this.p.bind(h.Gq,this.hk,this,p);this.p.bind(h.Jq,this.gz,this,p);this.p.bind(h.Bb,this.Kd,this);a.bind(c.ga("mute"),this.Yy,this);a.get("mute",z)&&this.p.bq();this.iv(p)};a.prototype.ur=function(){if(this.g){this.p.unbind(h.Iq,this.Kh,this);this.p.unbind(h.Hq,this.ik,this);this.p.unbind(h.Gq,this.hk,this);this.p.unbind(h.Jq,this.gz,this);this.p.unbind(h.Bb,
this.Kd,this);this.p.clear();this.get("application").unbind(c.ga("mute"),this.Yy,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.U,this.w0,this,p);this.g=q;this.iv(z)}};a.prototype.Yy=function(){this.g&&(this.get("application").get("mute",z)?this.p.bq():this.p.tt())};a.prototype.Kd=function(a){a=a.data.state;this.g&&this.g.coa(this.get("displayPlayOverlay")&&a!=k.T);this.nb(a)};a.prototype.Kh=function(a){var b=this.get("viewerArea");(this.ic=b&&b.ic)&&this.ic.bind(c.U,this.x0,this,
p);this.JO=z;this.EE(a.data.video)};a.prototype.ik=function(a){this.ic&&this.ic.unbind(c.U,this.x0,this,p);this.ic=q;this.DE(a.data.video)};a.prototype.hk=function(){this.get("video").trigger(new e(c.ta))};a.prototype.gz=function(a){this.Tb=a.data.time;this.Cb=a.data.duration;this.wA()};a.prototype.w0=function(){if(this.JO)this.JO=z;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=k.T?this.p.play():this.p.pause()}};a.prototype.x0=function(){this.JO=p};a.prototype.uF=function(a){this.Fz(a.data.position)};
a.prototype.lg=function(){this.p.play()};a.prototype.Vi=function(){this.p.stop()};a.prototype.lk=function(){this.p.pause()};a.prototype.Fz=function(a){this.p&&this.p.setTime(a)};a.prototype.wA=function(){if(this.g){var a=this.g.getParent();this.Cb>0&&this.get("displayPlaybackBar")?a.Q({playbackBarPosition:this.Tb,playbackBarDuration:this.Cb,playbackBarVisible:p}):a.set("playbackBarVisible",z)}};return a});
define("du",["hb","di","ca","cG"],function(a,b,c,e){a=a.extend(e,function(){e.call(this)});b.A("VideoPlayListItem",a).B("PlayListItem").K({media:"Video",player:"VideoPlayer",startTime:"number"});a.prototype.start=function(){e.prototype.start.call(this);var a=this.get("player");a&&(a.bind(c.Se,this.Kh,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(c.Se,this.Kh,this),a.get("video")==this.get("media")&&
a.set("video",q));e.prototype.stop.call(this)};a.prototype.Kh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Se,this.Kh,this),this.get("player").bind(c.xg,this.ik,this),this.Jv())};a.prototype.ik=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.xg,this.ik,this),this.end())};return a});
define("hY",["require","hb","hu","di","hp"],function(a){var b=a("hb"),c=a("hu"),e=a("di"),d=a("hp"),a=b.extend(c,function(){c.call(this)});e.A("VideoResource",a).B("Object").K({mp4Url:"string",oggUrl:"string",subtitlesURL:"string",webmUrl:"string",width:"number",height:"number"}).oj(["mp4Url","oggUrl","subtitlesURL","webmUrl"]);a.prototype.Oe=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&d.vH?c:a&&d.wH?a:b&&d.pS?b:c||a||b};return a});
define("ek","require,jquery.mod,hb,jd,r,hE,d,eg".split(","),function(a){var b=a("jquery.mod"),c=a("hb"),e=a("jd"),d=a("r"),g=a("hE"),j=a("d"),k=a("eg"),a=c.extend(j,function(){j.call(this);this.Mc("WebFrame");this.By=this.Ar=this.Ae=this.Sp=q;this.cO=this.cO.bind(this);this.TE=this.TE.bind(this);this.bind(e.Df,this.Yea,this,p);this.bind(e.yg,this.Xea,this,p)});a.prototype.na=function(){j.prototype.na.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",z);this.f("scrollEnabled",
p)};a.prototype.Yea=function(){this.vs("url")};a.prototype.Xea=function(){this.vs("url")};a.prototype.Ha=function(){j.prototype.Ha.call(this);if(!this.Sp){this.Sp=b("<div></div>");this.Sp.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.Ka().append(this.Sp)}if(!this.Ae){this.Ae=b("<iframe></iframe>");this.Ae.css({position:"absolute",left:0,top:0});this.Ae.attr("allowfullscreen","true");this.Ae.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone");
this.Sp.append(this.Ae)}if(!this.Ar){this.Ar=b("<div></div>");this.Ar.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":d.Wa()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.Sp.append(this.Ar)}};a.prototype.ca=function(){if(this.m("url")){var a=this.j("url");a&&this.Vo?this.Y1(a):this.Y1("");this.o("url")}if(this.m("insetBorder")){this.j("insetBorder")?
this.Ae.attr("frameborder","1"):this.Ae.attr("frameborder","0");this.o("insetBorder")}if(this.m("scrollEnabled")){if(this.j("scrollEnabled")){this.Ae.attr("scrolling","auto");this.Sp.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.Ae.attr("scrolling","no");this.Sp.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.o("scrollEnabled")}j.prototype.ca.call(this)};a.prototype.ee=function(){this.Ae&&k.css(this.Ae.get(0),{width:this.R+"px",height:this.ba+"px"});j.prototype.ee.call(this)};
a.prototype.refresh=function(){if(this.j("url")&&this.Vo){this.WM();this.iD();this.AQ();this.Ae.attr("src","");setTimeout(function(){this.y2();this.IW();this.Ae.attr("src",this.j("url"))}.bind(this),30)}};a.prototype.Y1=function(a){if(this.Ae.attr("src")!=a){this.WM();if(a){this.y2();this.IW()}else{this.iD();this.AQ()}this.Ae.attr("src",a)}};a.prototype.cO=function(){this.By=q;this.oda()&&this.vha()};a.prototype.TE=function(){this.WM();this.iD();this.AQ()};a.prototype.IW=function(){this.Ae.on("load",
this.TE)};a.prototype.AQ=function(){this.Ae.off("load",this.TE)};a.prototype.iD=function(){if(this.By){clearTimeout(this.By);this.By=q}};a.prototype.y2=function(){this.iD();this.By=setTimeout(this.cO.bind(this),3E3)};a.prototype.oda=function(){if(window.location.protocol=="https:"){var a=this.Ae.attr("src");if(g.parse(a).protocol!="https:")return p}return z};a.prototype.vha=function(){this.Ar.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Ar.show()};
a.prototype.WM=function(){this.Ar.hide()};return a});define("bz",["hb","ek","di"],function(a,b,c){a=a.extend(b,function(){b.call(this)});c.A("WebFrame",a).B("UIComponent").K({url:"string",insetBorder:"bool",scrollEnabled:"bool"}).oj(["url"]).ug({refresh:function(){b.prototype.refresh.call(this)}});return a});define("cw",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Xa={layout:e.we};a.defaults(d.Xa,c.Xa);d.prototype.na=function(){this.yi(d.Xa)};return d});
define("hM","cI,hb,jd,bI,W,c,iO,cw,eB,dL,d,is,iG,fB".split(","),function(a,b,c,e,d,g,j,k,h,m,f,l,r,o){var s=b.extend(h,function(){h.call(this);this.Mc("Window");this.vo=this.Wt=this.gA=this.Ig=q;this.wK=new j;this.ju=q;this.TM=this.SM=0;this.p2=this.q2=z;this.sR=this.tR=n;for(var a in s.Kpa)this.vs(a);this.bind(c.qb,this.Aja,this);this.bind(c.Kq,this.yja,this);this.bind(c.At,this.Bja,this);this.bind(c.U,this.xja,this);this.MG=0;this.Nc=new j;this.Nc.Q({visible:z,includeInLayout:z,layout:"absolute",
height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:z});this.Nc.bind(c.qb,this.O3,this);this.Nc.bind(c.At,this.vja,this);this.Nc.bind(c.Kq,this.N3,this);this.Nc.bind(c.Kq,this.N3,this);this.Nc.bind(c.U,this.uja,this);this.Nc.pa(this)});s.prototype.set=function(a,b){switch(a){case "maxWidth":this.tR=b;this.AG();break;case "maxHeight":this.sR=b;this.AG();break;case "children":this.wK.set(a,b);break;case "shadow":this.q2=b;this.K3();break;default:h.prototype.set.call(this,a,b)}};s.prototype.show=
function(b,c){this.AG(b);this.set("visible",z);this.Nc.set("visible",z);this.w9();c&&this.aka();b.set("children",b.get("children").concat([this.Nc]));var d=this;a.defer(function(){d.Nc.set("visible",p)})};s.prototype.w9=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.Nc.set("showEffect",b):this.Nc.set("showEffect",q);a&&c?this.Nc.set("hideEffect",c):this.Nc.set("hideEffect",q)};s.prototype.hide=function(){this.get("visible")&&this.trigger(c.WT);this.MG=
0;this.bG(z);this.set("visible",z)};s.prototype.aka=function(){this.set("centerX",0);this.set("centerY",0)};s.prototype.get=function(a,b){return a=="children"?this.wK.get(a,b):h.prototype.get.call(this,a,b)};s.LV={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"};s.KV=a(s.LV).keys();s.IJ={borderRadius:"borderTopRadius",
borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};s.HJ=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];s.dW={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"};s.cW=a(s.dW).keys();s.FV={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"};s.EV=a(s.FV).keys();s.HV={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"};s.GV=a(s.HV).keys();s.JV={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};
s.IV=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius","borderRadius"];s.BV={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"};s.AV=a(s.BV).keys();s.CV={layout:"layout",
horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};s.v8=a(s.CV).keys();s.fW={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};s.eW=a(s.fW).keys();s.Xa=function(){var b={modal:z,visible:z,centerX:0,centerY:0,veilShowEffect:n,veilHideEffect:n};a.defaults(b,j.Xa);for(var c=[].concat(s.KV,s.cW,s.EV,s.AV,s.GV,s.eW),d=0;d<c.length;d++)b[c[d]]=n;return b}();s.prototype.na=function(){this.yi(s.Xa)};
s.prototype.Ha=function(){h.prototype.Ha.call(this);if(this.Ig==q){this.Ig=new k;this.Ig.set("width","100%");this.Ig.bind(c.pb,this.Ica,this);this.pa(this.Ig)}if(this.gA==q){this.gA=new o;this.gA.set("width","100%");this.Ig.pa(this.gA)}if(this.Wt==q){this.Wt=new m;this.Wt.Q({horizontalAlign:d.sc,verticalAlign:d.ac});this.Wt.bind(c.U,this.F$,this);this.Ig.pa(this.Wt)}if(this.vo==q){this.vo=this.wK;this.vo.Q({width:"100%",height:"100%"});this.pa(this.vo)}if(this.ju==q){this.ju=new j;this.ju.set("width",
"100%");this.pa(this.ju)}};s.prototype.uja=function(){this.MG++;setTimeout(function(){this.MG>0&&this.hide()}.bind(this),100)};s.prototype.xja=function(){this.MG--};s.prototype.F$=function(){this.hide()};s.prototype.Ica=function(a){this.SM=a.pageX;this.TM=a.pageY;this.eb().bind(c.tc,this.Y3,this,p);this.eb().bind(c.Hb,this.Z3,this,p)};s.prototype.Y3=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.SM));this.set("centerY",this.get("centerY")+(a.pageY-this.TM));this.SM=a.pageX;this.TM=
a.pageY;this.J3()};s.prototype.Z3=function(){this.eb().unbind(c.tc,this.Y3,this);this.eb().unbind(c.Hb,this.Z3,this)};s.prototype.O3=function(){this.AG()};s.prototype.vja=function(){this.set("visible",p)};s.prototype.N3=function(){this.Nc.unbind(c.qb,this.O3,this);var a=this.Nc.getParent();a&&a.removeChild(this.Nc);this.trigger(new e(c.uq))};s.prototype.Aja=function(){this.J3()};s.prototype.Bja=function(){this.bG(p)};s.prototype.yja=function(){this.Nc.set("visible",z)};s.prototype.bG=function(a){this.p2=
a;this.K3()};s.prototype.K3=function(){h.prototype.set.call(this,"shadow",this.p2&&this.q2)};s.prototype.AG=function(a){a||(a=this.P);this.tR!==n?h.prototype.set.call(this,"maxWidth",this.tR):a?h.prototype.set.call(this,"maxWidth",a.ya()):h.prototype.set.call(this,"maxWidth",n);this.sR!==n?h.prototype.set.call(this,"maxHeight",this.sR):a?h.prototype.set.call(this,"maxHeight",a.$a()):h.prototype.set.call(this,"maxHeight",n)};s.prototype.J3=function(){var a=this.Nc.ya(),b=this.ya(),c=this.get("centerX"),
b=a*0.5+c-b*0.5,d=this.Ig.dh(),e=this.Ig.ya(),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.Nc.$a();b=this.$a();c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.Ig.Rl();e=this.Ig.$a();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))};s.prototype.ca=function(){this.Ta(s.KV,s.LV,[this.Ig],p,p);this.Ta(s.HJ,s.IJ,[this.Ig],p,z);this.get("headerHeight")===0?this.Ta(s.HJ,s.IJ,[this.vo],p,z):this.Ta(s.HJ,
s.IJ,[this.Ig],p,z);this.Ta(s.cW,s.dW,[this.gA],p,p);this.Ta(s.EV,s.FV,[this.Wt],p,p);this.Ta(s.AV,s.BV,[this.vo],p,p);this.Ta(s.v8,s.CV,[this.vo],p,z);this.Ta(s.GV,s.HV,[this.ju],p,p);this.get("footerHeight")===0?this.Ta(s.IV,s.JV,[this.vo],p,z):this.Ta(s.IV,s.JV,[this.ju],p,z);if(this.j("modal")){this.Ta(s.eW,s.fW,[this.Nc],p,p);this.Nc.set("contentOpaque",p)}else{this.Nc.set("backgroundOpacity",0);this.Nc.set("contentOpaque",z)}this.Q({layout:g.Te,horizontalAlign:d.sc,verticalAlign:d.ac});h.prototype.ca.call(this);
this.Di.ZH(0)};return s});
define("cJ",["cI","hb","hM","di","jd"],function(a,b,c,e,d){a=b.extend(c,function(){c.call(this)});e.A("Window",a).B("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"}).bo(["titleFontSize"]).ug({show:a.prototype.show,
hide:a.prototype.hide}).mc([d.WT,d.uq]);return a});
define("id","require,jquery.mod,cI,jd,eU,bI,dT,R,iS,bh,gE,hA,r,hb".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.ew=this.source.get("grayscale");this.Un=new l(g.Rk)}var c=a("jquery.mod"),e=a("cI"),d=a("jd"),g=a("eU"),j=a("bI"),k=a("dT"),h=a("R"),m=a("iS"),f=a("bh"),l=a("gE"),r=a("hA"),o=a("r"),s=a("hb"),t=s.extend(k,function(){k.call(this);this.Wd=q;this.pZ=[];this.Dh=[];this.Ja=this.Ba=
this.Sa=this.Qa=100;this.Jc=1;this.zo=this.yo=0.5;this.Lb=1;this.Gf=this.rf=q;this.mF=z;this.kL={};this.$t={};this.$t.low={};this.$t.hight={};if(o.Kv()==o.Iw){this.$t.low.transform="translateZ(0)";this.$t.hight.transform=""}this.Z=z;this.ye="inherit";this.v=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.ey=q;this.Bc=s.Wn(this.M,this)});t.prototype.jb=P("v");t.prototype.mq=function(a){if(this.Dc!=a){this.Dc=a;this.lK(1);this.Bc()}};t.prototype.ona=function(a){if(this.ye!=
a){this.ye=a;this.Gf&&this.Gf.css("cursor",this.ye);this.rf&&this.rf.css("cursor",this.ye)}};t.prototype.zna=function(a){if(this.pZ!=a){this.JK();this.Wd=q;if(this.rf){this.rf.detach();this.rf=q}if(this.Gf){this.Gf.detach();this.Gf=q}if(this.je)this.je=q;this.JK();this.mF=z;e(this.Dh).each(function(a){a.Un.cancel();a.Un.unbind(d.O,this.NZ,this)},this);a=(this.pZ=a)&&a.get("levels")||[];this.Dh=e(a).map(function(a){a=new b(a);a.Un.bind(d.O,this.NZ,this);return a},this);if(a=this.Tba()){this.Ba=a.width;
this.Ja=a.height}else this.Ja=this.Ba=100;this.zo=this.yo=0.5;this.lK(1);this.Bc()}};t.prototype.cm=function(a,b){if(this.Qa!=a||this.Sa!=b){this.Qa=a;this.Sa=b;this.Bc()}};t.prototype.pna=function(a,b){if(this.NX!=a||this.MX!=b){this.NX=a;this.MX=b;this.Bc()}};t.prototype.re=function(a){if(this.Z!=a){this.Z=a;this.Bc()}};t.prototype.move=function(a,b){var c=this.Jc*this.Lb;this.yo=this.yo+a/(this.Ba*c);this.zo=this.zo+b/(this.Ja*c);this.IF()};t.prototype.$s=P("Lb");t.prototype.setScale=function(a){this.lK(Math.max(1,
Math.min(1/this.Jc,a)));this.Wd&&this.Wd.width<this.Lb*this.Jc*this.Ba&&this.Wd.width<this.Ba?this.M():this.IF()};t.prototype.M5=function(a){if(!this.rf)return z;var b=this.rf.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.rf.width()&&a<this.rf.height()};t.prototype.M=function(){if(this.Z){this.mja();var a=this.Zba();if(a&&a.Un.Sn()){if(a!=this.Wd){if(!this.Wd){this.Bc();this.mF=p}this.yaa(a);this.Wd=a}this.d2(q)}else this.d2(a);this.IF()}};t.prototype.mja=function(){var a;switch(this.Dc){case r.Aj:a=
this.Qa/this.Ba;break;case r.ag:a=this.Sa/this.Ja;break;case r.Ok:a=this.Ba*this.Sa>this.Ja*this.Qa?this.Sa/this.Ja:this.Qa/this.Ba;break;case r.s7:a=Math.min(this.NX/this.Ba,this.MX/this.Ja);break;default:a=this.Ba*this.Sa>this.Ja*this.Qa?this.Qa/this.Ba:this.Sa/this.Ja}this.u9(a)};t.prototype.NZ=function(){this.Bc()};t.prototype.yaa=function(a){if(this.Gf){this.JP(this.Gf,1);this.rf&&this.rf.detach();this.rf=this.Gf}this.Gf=this.aaa(a);this.JP(this.Gf,0);this.v.append(this.Gf);this.je=this.Y$();
this.kL={}};t.prototype.Zba=function(){return this.Wd?this.rba(this.Lb*this.Jc*this.Ba):this.nca()};t.prototype.d2=function(a){e(this.Dh).each(function(b){b==a?b.Un.Oe()!=b.url&&b.Un.load(b.url):b.Un.Sn()||b.Un.cancel()})};t.prototype.Tba=function(){return e(this.Dh).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.ew&&a.ew)a=b;return a},q)};t.prototype.nca=function(){return e(this.Dh).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.ew&&!a.ew)a=b;return a},
q)};t.prototype.rba=function(a){return e(this.Dh).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.ew&&b.ew)b=c;return b},q)};t.prototype.aaa=function(a){a=c(a.Un.Bd(p));a.css({position:"absolute",cursor:this.ye,"pointer-events":"none"});return a};t.prototype.Y$=function(){return new m("linear",[new f("alpha",0,1)],200)};t.prototype.IF=function(){h.za(function(a){this.Xu(a,"low")},this)};t.prototype.cS=function(){return this.Ba*this.Lb*
this.Jc};t.prototype.bS=function(){return this.Ja*this.Lb*this.Jc};t.prototype.F4=function(){var a=this.cS();return a>this.Qa?Math.max(this.Qa-a,Math.min(0,this.Qa*0.5-a*this.yo)):(this.Qa-a)*0.5};t.prototype.G4=function(){var a=this.bS();return a>this.Sa?Math.max(this.Sa-a,Math.min(0,this.Sa*0.5-a*this.zo)):(this.Sa-a)*0.5};t.prototype.Xu=function(a,b){var b=b||"low",c=this.cS(),e=this.F4(),f=this.bS(),g=this.G4();this.yo=(this.Qa*0.5-e)/c;this.zo=(this.Sa*0.5-g)/f;var c={left:Math.round(e)+"px",
top:Math.round(g)+"px",width:Math.round(c)+"px",height:Math.round(f)+"px",display:"block"},h;for(h in this.$t[b])c[h]=this.$t[b][h];if(this.kL!=c){this.rf&&this.rf.css(c);this.Gf&&this.Gf.css(c);this.kL=c}this.JK();if(this.je){this.je.Ua(a);this.JP(this.Gf,this.je.ab("alpha"));if(this.je.Cd()){this.je=q;this.rf&&this.rf.detach();this.rf=this.Gf;this.Gf=q}this.IF()}else b=="low"&&this.Eha();if(!this.je&&this.mF){this.mF=z;this.trigger(new j(d.O))}};t.prototype.JP=function(a,b){a.css({opacity:b,filter:"alpha(opacity="+
Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};t.prototype.JK=function(){if(this.ey!=q){clearTimeout(this.ey);this.ey=q}};t.prototype.Eha=function(){var a=this;this.ey=setTimeout(function(){a.ey=q;a.Xu(50,"hight")},50)};t.prototype.lK=function(a){if(this.Lb!=a){this.Lb=a;this.Aia()}};t.prototype.u9=function(a){if(this.Jc!=a)this.Jc=a};t.prototype.Aia=function(){this.trigger(new j(t.Nw,{scale:this.Lb}))};t.Nw="scaleChange";return t});
define("gx","require,jquery.mod,jd,bI,id,hb,d,E".split(","),function(a){a("jquery.mod");var b=a("jd"),c=a("bI"),e=a("id"),d=a("hb"),g=a("d"),j=a("E"),k=d.extend(g,function(){g.call(this);this.Mc("ZoomImage");this.qn=this.Qh=n;this.Wg=z;this.$0=n;this.tZ=this.Lb;this.CA=q;this.g=new e;this.g.bind(b.O,this.Kea,this);this.g.bind(e.Nw,this.Lea,this);this.Ka().append(this.g.jb());this.bind(b.qb,this.hb,this,p);this.bind(b.Df,this.ek,this,p);this.bind(b.yg,this.bk,this,p);this.bind(b.pb,this.Jb,this,p);
this.bind(b.tc,this.Fh,this,p);this.bind(b.Hb,this.Lf,this,p);this.bind(b.Lq,this.Tr,this,p);this.bind(b.yt,this.Er,this,p)});k.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.$s();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}g.prototype.set.call(this,a,b)};k.prototype.get=function(a,b){switch(a){case "scale":return this.g.$s();case "imageLeft":return this.g.F4();case "imageTop":return this.g.G4();case "imageWidth":return this.g.cS();
case "imageHeight":return this.g.bS()}return g.prototype.get.call(this,a,b)};k.prototype.na=function(){g.prototype.na.call(this);this.f("image");this.f("scaleMode");this.f("customHeight");this.f("customWidth");this.f("imageCursor");this.f("imageLeft");this.f("imageTop");this.f("imageWidth");this.f("imageHeight")};k.prototype.ca=function(){if(this.m("scaleMode")){this.g.mq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("image")){this.g.zna(this.j("image"));this.o("image");this.tZ=this.Lb}if(this.m("customHeight")||
this.m("customWidth")){this.o("customHeight");this.o("customWidth");this.hb()}if(this.m("imageCursor")){this.o("imageCursor");this.g.ona(this.ua.AL.A4(this.get("imageCursor")))}g.prototype.ca.call(this)};k.prototype.hb=function(){var a=this.ya(),b=this.$a(),c=this.get("customWidth","100%"),d=j.jj(c),c=d!==n?a*d/100:c,d=this.get("customHeight","100%"),e=j.jj(d);this.g.pna(c,e!==n?b*e/100:d);this.g.cm(a,b)};k.prototype.ek=function(){this.g.re(p)};k.prototype.bk=function(){this.g.re(z)};k.prototype.Jb=
function(a){this.Qh=a.x;this.qn=a.y;this.Wg=p;this.$0=this.g.M5(a)};k.prototype.Fh=function(a){if(this.Wg){this.eR();this.g.move(-(a.x-this.Qh),-(a.y-this.qn));this.Qh=a.x;this.qn=a.y}};k.prototype.Lf=function(a){this.Wg=z;!this.$0&&!this.g.M5(a)&&this.trigger(new c(k.fU))};k.prototype.Tr=function(a){this.eR();this.g.setScale((1+a.In/20)*this.g.$s())};k.prototype.Er=function(a){this.eR();this.g.setScale(a.scale/this.tZ)};k.prototype.Kea=function(){this.trigger(new c(b.O))};k.prototype.Lea=function(){g.prototype.set.call(this,
"scale",this.g.$s());this.trigger(new c(k.Nw))};k.prototype.eR=function(){if(this.CA){clearTimeout(this.CA);this.CA=q}else this.trigger(new c(k.Sd));this.CA=setTimeout(function(){this.CA=q;this.trigger(new c(k.Rd))}.bind(this),300)};k.fU="backgroundClick";k.Nw="scaleChange";k.Sd="userInteractionStart";k.Rd="userInteractionEnd";return k});
define("iH",["hb","jd","gx","di"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});e.A("ZoomImage",a).B("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"}).mc([c.fU,c.Nw,c.Sd,c.Rd,b.O]);return Image});
define("fF","fO,cQ,da,iQ,fY,dF,eQ,fM,ht,iU,ex,eX,eo,dB,be,iE,gc,hO,dx,o,fJ,cD,cF,gf,im,fi,hx,ev,A,bQ,q,hn,dR,K,gu,bc,eN,il,iN,dl,hy,fH,bk,iR,ii,gR,D,ju,cN,fz,iM,n,gG,eT,hL,fr,jr,ez,hU,Z,bM,bm,hj,fq,jn,dS,iT,bK,hf,dE,fU,ff,gt,ef,et,ir,eP,gz,iX,dM,fu,bA,cZ,cG,F,je,hB,do,ej,gT,by,fl,dd,iK,O,ec,cj,hZ,eS,fS,gr,eD,bs,u,cq,bn,gn,fV,iY,dD,er,bx,gW,du,hY,bd,bz,cJ,iH".split(","),Q(p));
define("dY","require,cI,jquery.mod,hb,di,fF,hE".split(","),function(a){function b(a,b){this.type=a;this.stack=b}function c(){}var e=a("cI"),d=a("jquery.mod"),g=a("hb"),j=a("di");a("fF");a("hE");c.prototype.sma=function(a,b,c,d){this.fM=[];this.Ap=this.Vu(a);this.Uo=n;if(this.Ap.Hn.K4()){this.Uo=this.uY(this.Ap,k.si);this.daa(this.Uo,this.Ap,b,c,d);this.p9(this.Ap);this.n9(this.Ap,this.Uo);this.q9(this.Uo,this.Ap);this.E9(this.Uo,this.Ap)}else this.Cj("Invalid root class",[]);return this.fM.length==
0};c.prototype.eb=function(){return this.Ap.Yc};c.prototype.Vu=function(a,b){b=b||[];return e(a).isArray()?this.Efa(a,b):d.isPlainObject(a)&&a["class"]?this.Hfa(a,b):d.isPlainObject(a)?this.Ffa(a,b):e(a).isFunction()?this.Gfa(a,b):this.Ifa(a,b)};c.prototype.Efa=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.Vu(a[d],b));b.pop()}return new h(b.slice(),c)};c.prototype.Hfa=function(a,b){var c=a["class"],d=j.Pl(a["class"]);if(d){var e,c={},f={},g;for(g in a){b.push(g);
var h=a[g];switch(g){case "class":break;case "scripts":e=this.Vu(h,b);break;default:d.hasAttribute(g)?c[g]=this.Vu(h,b):d.j5(g)||d.l5(g)?f[g]=this.Vu(h,b):this.Cj(d.Vv()+" object doesn't have any attribute named "+g,b)}b.pop()}return new k(b.slice(),d,a.id,c,f,e)}this.Cj("Undefined class name: "+c,b.slice());return new l(b.slice(),q)};c.prototype.Ffa=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.Vu(a[d],b);b.pop()}return new m(b.slice(),c)};c.prototype.Gfa=function(a,b){return new f(b.slice(),
a)};c.prototype.Ifa=function(a,b){return new l(b.slice(),a)};c.prototype.uY=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Na();d<e.length;d++)c=c.concat(this.uY(e[d],b));return c};c.prototype.daa=function(a,b,c,d,e){b.Yc=b.Hn.Up(q,d,e,[c]);b.Yc.set("application",b.Yc);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.Yc=f.Hn.Up(b.Yc,d,e)}};c.prototype.p9=function(a){if(a.scripts)if(a.scripts.type==m.si)for(var b in a.scripts.value)this.o9(a,b);else this.Cj("Invalid content.",a.scripts.stack)};c.prototype.o9=
function(a,b){var c=a.Yc,d=a.scripts.value[b];e(c[b]).isUndefined()?d&&d.type==f.si?c[b]=function(){return d.Yl().apply(c,arguments)}:this.Cj("Invalid content.",d.stack):this.Cj("Identifier: "+b+" is already in use",d.stack)};c.prototype.n9=function(a,b){for(var c=a.Yc,d=0;d<b.length;d++){var f=b[d],g=f.id;if(g)e(c[g]).isUndefined()?c[g]=f.Yc:this.Cj("Identifier: "+g+" is arleady in use",f.stack)}};c.prototype.q9=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,f;for(f in e)this.m9(d,
f,b)}};c.prototype.m9=function(a,b,c){var d=a.Hn;if(d.hasAttribute(b)){var e=a.attributes[b].Yl();try{e=d.WR(b)(e,c.Yc);a.Yc.set(b,e)}catch(f){this.Cj("Invalid value for property "+b+" of "+d.Vv()+" instance",a.stack)}}else this.Cj(d.Vv()+" object doesn't have any property named "+b,a.stack)};c.prototype.E9=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.Ts)this.D9(d,e,b)}};c.prototype.D9=function(a,b,c){var d=a.Hn,f=a.Yc,g=d.j5(b),h=d.l5(b);if(g||h){var a=a.Ts[b],j=a.Yl();e(j).isFunction()?
f.bind(b,j,c.Yc,h,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},c.Yc,h,j):this.Cj("Invalid value.",a.stack)}else this.Cj(d.Vv()+" object doesn't have any event named "+b,a.stack)};c.prototype.Cj=function(a,b){this.fM.push("In "+b.join(" >> ")+": "+a)};b.prototype.Na=function(){return[]};b.prototype.Yl=D();var k=g.extend(b,function(a,c,d,e,f,g){b.call(this,k.si,a);this.Hn=c;this.id=d;this.attributes=e;this.Ts=f;this.scripts=g;this.Yc=q});k.prototype.Na=function(){var a=
this.Hn.R4(),b=[],c=e(this.attributes).clone();if(a)for(var d=0;d<a.length;d++){var f=a[d];if(c[f]!=n){b.push(c[f]);delete c[f]}}return b=b.concat(e(c).values())};k.prototype.Yl=P("Yc");k.si="instance";var h=g.extend(b,function(a,c){b.call(this,h.si,a);this.ij=c});h.prototype.Na=function(){return this.ij.slice()};h.prototype.Yl=function(){for(var a=[],b=0;b<this.ij.length;b++)a.push(this.ij[b].Yl());return a};h.si="array";var m=g.extend(b,function(a,c){b.call(this,m.si,a);this.value=c});m.prototype.Na=
function(){return e(this.value).values()};m.prototype.Yl=function(){var a={},b;for(b in this.value)a[b]=this.value[b].Yl();return a};m.si="dict";var f=g.extend(b,function(a,c){b.call(this,f.si,a);this.value=c});f.prototype.Yl=P("value");f.si="function";var l=g.extend(b,function(a,c){b.call(this,l.si,a);this.value=c});l.prototype.Yl=P("value");l.si="simple";return c});
define("ia","require,cI,jd,bI,di,dY,r,db,hE,bb,if,jc,ig,hb".split(","),function(a){function b(a,b){k.Wa()&&!k.jf()&&r.Od();var c=f.name,d=[];c&&d.push(c);d.push("v:"+f.DS+"."+f.KS);o.log(d.join(" "));this.pj=b;if(m.Wla()||[k.qq,k.rq].indexOf(k.browser())>=0){this.Mh=new j;if(c=this.pj.get(TDV.PlayerSettings.BASE_DIR_URL)){c=m.nq(c);c[c.length-1]!="/"&&(c=c+"/")}else c=m.getDirectory(this.pj.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.i6=this.pj.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
h.Fma(c,function(b){this.f4=b;this.efa(a)}.bind(this))}else window.alert(l("web-server-required"))}var c=a("cI"),e=a("jd"),d=a("bI"),g=a("di"),j=a("dY"),k=a("r"),h=a("db"),m=a("hE");a("bb");var f=a("if"),l=a("jc"),r=a("ig"),o=a("hb");b.prototype.efa=function(a){a.trigger(new TDV.pJ(e.b8,{},[],n));c.defer(function(){if(!this.Mh.sma(this.pj.get(TDV.PlayerSettings.SCRIPT_DATA),this.pj.get(TDV.PlayerSettings.CONTAINER),this.f4,this.i6)){if(f.Aoa!="false"){window.alert(this.VY());return}o.log(this.VY())}this.C9(a);
this.k9(this.pj);this.r9();this.Cia()}.bind(this))};b.prototype.clear=function(){if(this.Mh){c(this.Mh.Uo).each(function(a){a.Yc.g7();c(a.Hn.eB()).each(function(b){switch(b){case "VideoPlayer":a.Yc.stop();case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.Yc.set("viewerArea",q);break;case "ZoomImage":a.Yc.set("image",q);break;case "Audio":a.Yc.stop();break;case "Effect":a.Yc.end();break;case "Media":a.Yc.Qma()}})});this.Mh.eb().clear();this.pj=this.Mh=q}};b.prototype.qla=
function(a){return this.Mh.eb()[a]};b.prototype.X4=function(a){var b=[];c(this.Mh.Uo).each(function(d){var e=d.Hn.eB();c(e).contains(a)&&b.push(d.Yc)});return b};b.prototype.Up=function(a){var b=g.Pl(a);b||i("Invalid className: "+a);return b.Up(this.Mh.eb(),this.f4,this.i6)};b.prototype.VY=function(){for(var a=this.Mh.fM,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.C9=function(a){c(this.Mh.Uo).each(function(b){var d=b.Hn,e=b.Yc,f=b.id,g=d.eB();
c.union(d.ZR(),d.dS()).forEach(function(b){e.bind(b,function(c){a.trigger(new TDV.pJ(b,c,g,f))},this,p)})})};b.prototype.k9=function(a){this.Mh.eb().set("settings",a)};b.prototype.r9=function(){var a=this.Mh.eb(),b=this;a.getByClassName=a.Pl=function(){return b.X4.apply(b,arguments)};a.createInstance=a.Up=function(){return b.Up.apply(b,arguments)};a.isInstanceOfClass=a.tb=function(){return g.tb.apply(g,arguments)}};b.prototype.Cia=function(){this.Mh.eb().trigger(new d("start"))};b.Goa=function(a){a.trigger(new TDV.pJ(e.J7,
{},[],n))};return b});define("main",["require","jquery.mod","ia"],function(a){var b=a("jquery.mod"),c=a("ia");b(document).ready(function(){TDV.va.doa(c)})});
// threejs.org/license
(function(h,Fa){Fa(h.THREE=h.THREE||{})})(this,function(h){function Fa(){}function x(a,b){this.x=a||0;this.y=b||0}function Da(a,b,c,d){this._x=a||0;this._y=b||0;this._z=c||0;this._w=void 0!==d?d:1}function n(a,b,c){this.x=a||0;this.y=b||0;this.z=c||0}function za(){this.elements=[1,0,0,0,1,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}
function T(a,b,c,d,e,f,g,k,l,m){Object.defineProperty(this,"id",{value:mj++});this.uuid=O.generateUUID();this.name="";this.image=void 0!==a?a:T.DEFAULT_IMAGE;this.mipmaps=[];this.mapping=void 0!==b?b:T.DEFAULT_MAPPING;this.wrapS=void 0!==c?c:1001;this.wrapT=void 0!==d?d:1001;this.magFilter=void 0!==e?e:1006;this.minFilter=void 0!==f?f:1008;this.anisotropy=void 0!==l?l:1;this.format=void 0!==g?g:1023;this.internalFormat=null;this.type=void 0!==k?k:1009;this.offset=new x(0,0);this.repeat=new x(1,1);
this.center=new x(0,0);this.rotation=0;this.matrixAutoUpdate=!0;this.matrix=new za;this.generateMipmaps=!0;this.premultiplyAlpha=!1;this.flipY=!0;this.unpackAlignment=4;this.encoding=void 0!==m?m:3E3;this.version=0;this.onUpdate=null}function S(a,b,c,d){this.x=a||0;this.y=b||0;this.z=c||0;this.w=void 0!==d?d:1}function va(a,b,c){this.width=a;this.height=b;this.scissor=new S(0,0,a,b);this.scissorTest=!1;this.viewport=new S(0,0,a,b);c=c||{};this.texture=new T(void 0,void 0,c.wrapS,c.wrapT,c.magFilter,
c.minFilter,c.format,c.type,c.anisotropy,c.encoding);this.texture.image={};this.texture.image.width=a;this.texture.image.height=b;this.texture.generateMipmaps=void 0!==c.generateMipmaps?c.generateMipmaps:!1;this.texture.minFilter=void 0!==c.minFilter?c.minFilter:1006;this.depthBuffer=void 0!==c.depthBuffer?c.depthBuffer:!0;this.stencilBuffer=void 0!==c.stencilBuffer?c.stencilBuffer:!0;this.depthTexture=void 0!==c.depthTexture?c.depthTexture:null}function Zf(a,b,c){va.call(this,a,b,c);this.samples=
4}function P(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.")}function Ub(a,b,c,d){this._x=a||0;this._y=b||0;this._z=c||0;this._order=d||Ub.DefaultOrder}function $f(){this.mask=1}function D(){Object.defineProperty(this,"id",{value:nj++});this.uuid=O.generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=[];this.up=D.DefaultUp.clone();var a=new n,b=new Ub,c=new Da,
d=new n(1,1,1);b._onChange(function(){c.setFromEuler(b,!1)});c._onChange(function(){b.setFromQuaternion(c,void 0,!1)});Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:a},rotation:{configurable:!0,enumerable:!0,value:b},quaternion:{configurable:!0,enumerable:!0,value:c},scale:{configurable:!0,enumerable:!0,value:d},modelViewMatrix:{value:new P},normalMatrix:{value:new za}});this.matrix=new P;this.matrixWorld=new P;this.matrixAutoUpdate=D.DefaultMatrixAutoUpdate;this.matrixWorldNeedsUpdate=
!1;this.layers=new $f;this.visible=!0;this.receiveShadow=this.castShadow=!1;this.frustumCulled=!0;this.renderOrder=0;this.userData={}}function pb(){D.call(this);this.type="Scene";this.overrideMaterial=this.fog=this.environment=this.background=null;this.autoUpdate=!0;"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function Sa(a,b){this.min=void 0!==a?a:new n(Infinity,Infinity,Infinity);this.max=void 0!==b?b:new n(-Infinity,-Infinity,
-Infinity)}function ag(a,b,c,d,e){var f;var g=0;for(f=a.length-3;g<=f;g+=3){Vb.fromArray(a,g);var k=e.x*Math.abs(Vb.x)+e.y*Math.abs(Vb.y)+e.z*Math.abs(Vb.z),l=b.dot(Vb),m=c.dot(Vb),v=d.dot(Vb);if(Math.max(-Math.max(l,m,v),Math.min(l,m,v))>k)return!1}return!0}function qb(a,b){this.center=void 0!==a?a:new n;this.radius=void 0!==b?b:0}function Wb(a,b){this.origin=void 0!==a?a:new n;this.direction=void 0!==b?b:new n(0,0,-1)}function Ta(a,b){this.normal=void 0!==a?a:new n(1,0,0);this.constant=void 0!==
b?b:0}function ma(a,b,c){this.a=void 0!==a?a:new n;this.b=void 0!==b?b:new n;this.c=void 0!==c?c:new n}function y(a,b,c){return void 0===b&&void 0===c?this.set(a):this.setRGB(a,b,c)}function bg(a,b,c){0>c&&(c+=1);1<c&&--c;return c<1/6?a+6*(b-a)*c:.5>c?b:c<2/3?a+6*(b-a)*(2/3-c):a}function cg(a){return.04045>a?.0773993808*a:Math.pow(.9478672986*a+.0521327014,2.4)}function dg(a){return.0031308>a?12.92*a:1.055*Math.pow(a,.41666)-.055}function Dc(a,b,c,d,e,f){this.a=a;this.b=b;this.c=c;this.normal=d&&
d.isVector3?d:new n;this.vertexNormals=Array.isArray(d)?d:[];this.color=e&&e.isColor?e:new y;this.vertexColors=Array.isArray(e)?e:[];this.materialIndex=void 0!==f?f:0}function L(){Object.defineProperty(this,"id",{value:oj++});this.uuid=O.generateUUID();this.name="";this.type="Material";this.fog=!0;this.blending=1;this.side=0;this.vertexTangents=this.flatShading=!1;this.vertexColors=0;this.opacity=1;this.transparent=!1;this.blendSrc=204;this.blendDst=205;this.blendEquation=100;this.blendEquationAlpha=
this.blendDstAlpha=this.blendSrcAlpha=null;this.depthFunc=3;this.depthWrite=this.depthTest=!0;this.stencilWriteMask=255;this.stencilFunc=519;this.stencilRef=0;this.stencilFuncMask=255;this.stencilZPass=this.stencilZFail=this.stencilFail=7680;this.stencilWrite=!1;this.clippingPlanes=null;this.clipShadows=this.clipIntersection=!1;this.shadowSide=null;this.colorWrite=!0;this.precision=null;this.polygonOffset=!1;this.polygonOffsetUnits=this.polygonOffsetFactor=0;this.dithering=!1;this.alphaTest=0;this.premultipliedAlpha=
!1;this.toneMapped=this.visible=!0;this.userData={};this.version=0}function Oa(a){L.call(this);this.type="MeshBasicMaterial";this.color=new y(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphTargets=this.skinning=!1;this.setValues(a)}
function K(a,b,c){if(Array.isArray(a))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.name="";this.array=a;this.itemSize=b;this.count=void 0!==a?a.length/b:0;this.normalized=!0===c;this.usage=35044;this.updateRange={offset:0,count:-1};this.version=0}function Ad(a,b,c){K.call(this,new Int8Array(a),b,c)}function Bd(a,b,c){K.call(this,new Uint8Array(a),b,c)}function Cd(a,b,c){K.call(this,new Uint8ClampedArray(a),b,c)}function Dd(a,b,c){K.call(this,new Int16Array(a),
b,c)}function Xb(a,b,c){K.call(this,new Uint16Array(a),b,c)}function Ed(a,b,c){K.call(this,new Int32Array(a),b,c)}function Yb(a,b,c){K.call(this,new Uint32Array(a),b,c)}function C(a,b,c){K.call(this,new Float32Array(a),b,c)}function Fd(a,b,c){K.call(this,new Float64Array(a),b,c)}function vh(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=
this.uvsNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.verticesNeedUpdate=!1}function wh(a){if(0===a.length)return-Infinity;for(var b=a[0],c=1,d=a.length;c<d;++c)a[c]>b&&(b=a[c]);return b}function G(){Object.defineProperty(this,"id",{value:pj+=2});this.uuid=O.generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.morphTargetsRelative=!1;this.groups=[];this.boundingSphere=this.boundingBox=null;this.drawRange={start:0,count:Infinity};
this.userData={}}function ca(a,b){D.call(this);this.type="Mesh";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new Oa({color:16777215*Math.random()});this.updateMorphTargets()}function xh(a,b,c,d,e,f,g,k){if(null===(1===b.side?d.intersectTriangle(g,f,e,!0,k):d.intersectTriangle(e,f,g,2!==b.side,k)))return null;Je.copy(k);Je.applyMatrix4(a.matrixWorld);b=c.ray.origin.distanceTo(Je);return b<c.near||b>c.far?null:{distance:b,point:Je.clone(),object:a}}function Ke(a,b,c,d,e,f,g,k,l,m,v,p){Zb.fromBufferAttribute(e,
m);$b.fromBufferAttribute(e,v);ac.fromBufferAttribute(e,p);e=a.morphTargetInfluences;if(b.morphTargets&&f&&e){Le.set(0,0,0);Me.set(0,0,0);Ne.set(0,0,0);for(var q=0,t=f.length;q<t;q++){var h=e[q],u=f[q];0!==h&&(eg.fromBufferAttribute(u,m),fg.fromBufferAttribute(u,v),gg.fromBufferAttribute(u,p),g?(Le.addScaledVector(eg,h),Me.addScaledVector(fg,h),Ne.addScaledVector(gg,h)):(Le.addScaledVector(eg.sub(Zb),h),Me.addScaledVector(fg.sub($b),h),Ne.addScaledVector(gg.sub(ac),h)))}Zb.add(Le);$b.add(Me);ac.add(Ne)}if(a=
xh(a,b,c,d,Zb,$b,ac,Gd))k&&(Ec.fromBufferAttribute(k,m),Fc.fromBufferAttribute(k,v),Gc.fromBufferAttribute(k,p),a.uv=ma.getUV(Gd,Zb,$b,ac,Ec,Fc,Gc,new x)),l&&(Ec.fromBufferAttribute(l,m),Fc.fromBufferAttribute(l,v),Gc.fromBufferAttribute(l,p),a.uv2=ma.getUV(Gd,Zb,$b,ac,Ec,Fc,Gc,new x)),k=new Dc(m,v,p),ma.getNormal(Zb,$b,ac,k.normal),a.face=k;return a}function M(){Object.defineProperty(this,"id",{value:qj+=2});this.uuid=O.generateUUID();this.name="";this.type="Geometry";this.vertices=[];this.colors=
[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingSphere=this.boundingBox=null;this.groupsNeedUpdate=this.lineDistancesNeedUpdate=this.colorsNeedUpdate=this.normalsNeedUpdate=this.uvsNeedUpdate=this.verticesNeedUpdate=this.elementsNeedUpdate=!1}function bc(a){var b={},c;for(c in a){b[c]={};for(var d in a[c]){var e=a[c][d];e&&(e.isColor||e.isMatrix3||e.isMatrix4||e.isVector2||e.isVector3||e.isVector4||
e.isTexture)?b[c][d]=e.clone():Array.isArray(e)?b[c][d]=e.slice():b[c][d]=e}}return b}function na(a){for(var b={},c=0;c<a.length;c++){var d=bc(a[c]),e;for(e in d)b[e]=d[e]}return b}function oa(a){L.call(this);this.type="ShaderMaterial";this.defines={};this.uniforms={};this.vertexShader="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";this.fragmentShader="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}";this.linewidth=1;this.wireframe=!1;
this.wireframeLinewidth=1;this.morphNormals=this.morphTargets=this.skinning=this.clipping=this.lights=this.fog=!1;this.extensions={derivatives:!1,fragDepth:!1,drawBuffers:!1,shaderTextureLOD:!1};this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv2:[0,0]};this.index0AttributeName=void 0;this.uniformsNeedUpdate=!1;void 0!==a&&(void 0!==a.attributes&&console.error("THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."),this.setValues(a))}function db(){D.call(this);
this.type="Camera";this.matrixWorldInverse=new P;this.projectionMatrix=new P;this.projectionMatrixInverse=new P}function pa(a,b,c,d){db.call(this);this.type="PerspectiveCamera";this.fov=void 0!==a?a:50;this.zoom=1;this.near=void 0!==c?c:.1;this.far=void 0!==d?d:2E3;this.focus=10;this.aspect=void 0!==b?b:1;this.view=null;this.filmGauge=35;this.filmOffset=0;this.updateProjectionMatrix()}function Hc(a,b,c,d){D.call(this);this.type="CubeCamera";var e=new pa(90,1,a,b);e.up.set(0,-1,0);e.lookAt(new n(1,
0,0));this.add(e);var f=new pa(90,1,a,b);f.up.set(0,-1,0);f.lookAt(new n(-1,0,0));this.add(f);var g=new pa(90,1,a,b);g.up.set(0,0,1);g.lookAt(new n(0,1,0));this.add(g);var k=new pa(90,1,a,b);k.up.set(0,0,-1);k.lookAt(new n(0,-1,0));this.add(k);var l=new pa(90,1,a,b);l.up.set(0,-1,0);l.lookAt(new n(0,0,1));this.add(l);var m=new pa(90,1,a,b);m.up.set(0,-1,0);m.lookAt(new n(0,0,-1));this.add(m);d=d||{format:1022,magFilter:1006,minFilter:1006};this.renderTarget=new Eb(c,c,d);this.renderTarget.texture.name=
"CubeCamera";this.update=function(a,b){null===this.parent&&this.updateMatrixWorld();var c=a.getRenderTarget(),d=this.renderTarget,p=d.texture.generateMipmaps;d.texture.generateMipmaps=!1;a.setRenderTarget(d,0);a.render(b,e);a.setRenderTarget(d,1);a.render(b,f);a.setRenderTarget(d,2);a.render(b,g);a.setRenderTarget(d,3);a.render(b,k);a.setRenderTarget(d,4);a.render(b,l);d.texture.generateMipmaps=p;a.setRenderTarget(d,5);a.render(b,m);a.setRenderTarget(c)};this.clear=function(a,b,c,d){for(var e=a.getRenderTarget(),
f=this.renderTarget,g=0;6>g;g++)a.setRenderTarget(f,g),a.clear(b,c,d);a.setRenderTarget(e)}}function Eb(a,b,c){va.call(this,a,b,c)}function cc(a,b,c,d,e,f,g,k,l,m,v,p){T.call(this,null,f,g,k,l,m,d,e,v,p);this.image={data:a||null,width:b||1,height:c||1};this.magFilter=void 0!==l?l:1003;this.minFilter=void 0!==m?m:1003;this.flipY=this.generateMipmaps=!1;this.unpackAlignment=1;this.needsUpdate=!0}function Hd(a,b,c,d,e,f){this.planes=[void 0!==a?a:new Ta,void 0!==b?b:new Ta,void 0!==c?c:new Ta,void 0!==
d?d:new Ta,void 0!==e?e:new Ta,void 0!==f?f:new Ta]}function yh(){function a(e,f){!1!==c&&(d(e,f),b.requestAnimationFrame(a))}var b=null,c=!1,d=null;return{start:function(){!0!==c&&null!==d&&(b.requestAnimationFrame(a),c=!0)},stop:function(){c=!1},setAnimationLoop:function(a){d=a},setContext:function(a){b=a}}}function rj(a){function b(b,c){var d=b.array,e=b.usage,k=a.createBuffer();a.bindBuffer(c,k);a.bufferData(c,d,e);b.onUploadCallback();c=5126;d instanceof Float32Array?c=5126:d instanceof Float64Array?
console.warn("THREE.WebGLAttributes: Unsupported data buffer format: Float64Array."):d instanceof Uint16Array?c=5123:d instanceof Int16Array?c=5122:d instanceof Uint32Array?c=5125:d instanceof Int32Array?c=5124:d instanceof Int8Array?c=5120:d instanceof Uint8Array&&(c=5121);return{buffer:k,type:c,bytesPerElement:d.BYTES_PER_ELEMENT,version:b.version}}var c=new WeakMap;return{get:function(a){a.isInterleavedBufferAttribute&&(a=a.data);return c.get(a)},remove:function(b){b.isInterleavedBufferAttribute&&
(b=b.data);var d=c.get(b);d&&(a.deleteBuffer(d.buffer),c.delete(b))},update:function(d,e){d.isInterleavedBufferAttribute&&(d=d.data);var f=c.get(d);if(void 0===f)c.set(d,b(d,e));else if(f.version<d.version){var g=d.array,k=d.updateRange;a.bindBuffer(e,f.buffer);-1===k.count?a.bufferSubData(e,0,g):(a.bufferSubData(e,k.offset*g.BYTES_PER_ELEMENT,g.subarray(k.offset,k.offset+k.count)),k.count=-1);f.version=d.version}}}}function Id(a,b,c,d){M.call(this);this.type="PlaneGeometry";this.parameters={width:a,
height:b,widthSegments:c,heightSegments:d};this.fromBufferGeometry(new dc(a,b,c,d));this.mergeVertices()}function dc(a,b,c,d){G.call(this);this.type="PlaneBufferGeometry";this.parameters={width:a,height:b,widthSegments:c,heightSegments:d};a=a||1;b=b||1;var e=a/2,f=b/2;c=Math.floor(c)||1;d=Math.floor(d)||1;var g=c+1,k=d+1,l=a/c,m=b/d,v=[],p=[],q=[],h=[];for(a=0;a<k;a++){var r=a*m-f;for(b=0;b<g;b++)p.push(b*l-e,-r,0),q.push(0,0,1),h.push(b/c),h.push(1-a/d)}for(a=0;a<d;a++)for(b=0;b<c;b++)e=b+g*(a+1),
f=b+1+g*(a+1),k=b+1+g*a,v.push(b+g*a,e,k),v.push(e,f,k);this.setIndex(v);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",new C(h,2))}function sj(a,b,c,d){function e(a,c){b.buffers.color.setClear(a.r,a.g,a.b,c,d)}var f=new y(0),g=0,k,l,m=null,v=0;return{getClearColor:function(){return f},setClearColor:function(a,b){f.set(a);g=void 0!==b?b:1;e(f,g)},getClearAlpha:function(){return g},setClearAlpha:function(a){g=a;e(f,g)},render:function(b,d,h,r){d=
d.background;h=a.xr;(h=h.getSession&&h.getSession())&&"additive"===h.environmentBlendMode&&(d=null);null===d?(e(f,g),m=null,v=0):d&&d.isColor&&(e(d,1),r=!0,m=null,v=0);(a.autoClear||r)&&a.clear(a.autoClearColor,a.autoClearDepth,a.autoClearStencil);if(d&&(d.isCubeTexture||d.isWebGLRenderTargetCube||306===d.mapping)){void 0===l&&(l=new ca(new Jd(1,1,1),new oa({type:"BackgroundCubeMaterial",uniforms:bc(eb.cube.uniforms),vertexShader:eb.cube.vertexShader,fragmentShader:eb.cube.fragmentShader,side:1,depthTest:!1,
depthWrite:!1,fog:!1})),l.geometry.deleteAttribute("normal"),l.geometry.deleteAttribute("uv"),l.onBeforeRender=function(a,b,c){this.matrixWorld.copyPosition(c.matrixWorld)},Object.defineProperty(l.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),c.update(l));r=d.isWebGLRenderTargetCube?d.texture:d;l.material.uniforms.envMap.value=r;l.material.uniforms.flipEnvMap.value=r.isCubeTexture?-1:1;if(m!==d||v!==r.version)l.material.needsUpdate=!0,m=d,v=r.version;b.unshift(l,l.geometry,
l.material,0,0,null)}else if(d&&d.isTexture){void 0===k&&(k=new ca(new dc(2,2),new oa({type:"BackgroundMaterial",uniforms:bc(eb.background.uniforms),vertexShader:eb.background.vertexShader,fragmentShader:eb.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1})),k.geometry.deleteAttribute("normal"),Object.defineProperty(k.material,"map",{get:function(){return this.uniforms.t2D.value}}),c.update(k));k.material.uniforms.t2D.value=d;!0===d.matrixAutoUpdate&&d.updateMatrix();k.material.uniforms.uvTransform.value.copy(d.matrix);
if(m!==d||v!==d.version)k.material.needsUpdate=!0,m=d,v=d.version;b.unshift(k,k.geometry,k.material,0,0,null)}}}}function tj(a,b,c,d){var e=d.isWebGL2,f;this.setMode=function(a){f=a};this.render=function(b,d){a.drawArrays(f,b,d);c.update(d,f)};this.renderInstances=function(d,k,l,m){if(0!==m){if(e){d=a;var g="drawArraysInstanced"}else if(d=b.get("ANGLE_instanced_arrays"),g="drawArraysInstancedANGLE",null===d){console.error("THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");
return}d[g](f,k,l,m);c.update(l,f,m)}}}function uj(a,b,c){function d(b){if("highp"===b){if(0<a.getShaderPrecisionFormat(35633,36338).precision&&0<a.getShaderPrecisionFormat(35632,36338).precision)return"highp";b="mediump"}return"mediump"===b&&0<a.getShaderPrecisionFormat(35633,36337).precision&&0<a.getShaderPrecisionFormat(35632,36337).precision?"mediump":"lowp"}var e,f="undefined"!==typeof WebGL2RenderingContext&&a instanceof WebGL2RenderingContext||"undefined"!==typeof WebGL2ComputeRenderingContext&&
a instanceof WebGL2ComputeRenderingContext,g=void 0!==c.precision?c.precision:"highp",k=d(g);k!==g&&(console.warn("THREE.WebGLRenderer:",g,"not supported, using",k,"instead."),g=k);c=!0===c.logarithmicDepthBuffer;k=a.getParameter(34930);var l=a.getParameter(35660),m=a.getParameter(3379),v=a.getParameter(34076),p=a.getParameter(34921),q=a.getParameter(36347),h=a.getParameter(36348),r=a.getParameter(36349),u=0<l,n=f||!!b.get("OES_texture_float"),w=u&&n,B=f?a.getParameter(36183):0;return{isWebGL2:f,
getMaxAnisotropy:function(){if(void 0!==e)return e;var c=b.get("EXT_texture_filter_anisotropic");return e=null!==c?a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT):0},getMaxPrecision:d,precision:g,logarithmicDepthBuffer:c,maxTextures:k,maxVertexTextures:l,maxTextureSize:m,maxCubemapSize:v,maxAttributes:p,maxVertexUniforms:q,maxVaryings:h,maxFragmentUniforms:r,vertexTextures:u,floatFragmentTextures:n,floatVertexTextures:w,maxSamples:B}}function vj(){function a(){m.value!==d&&(m.value=d,m.needsUpdate=
0<e);c.numPlanes=e;c.numIntersection=0}function b(a,b,d,e){var f=null!==a?a.length:0,g=null;if(0!==f){g=m.value;if(!0!==e||null===g){e=d+4*f;b=b.matrixWorldInverse;l.getNormalMatrix(b);if(null===g||g.length<e)g=new Float32Array(e);for(e=0;e!==f;++e,d+=4)k.copy(a[e]).applyMatrix4(b,l),k.normal.toArray(g,d),g[d+3]=k.constant}m.value=g;m.needsUpdate=!0}c.numPlanes=f;return g}var c=this,d=null,e=0,f=!1,g=!1,k=new Ta,l=new za,m={value:null,needsUpdate:!1};this.uniform=m;this.numIntersection=this.numPlanes=
0;this.init=function(a,c,g){var k=0!==a.length||c||0!==e||f;f=c;d=b(a,g,0);e=a.length;return k};this.beginShadows=function(){g=!0;b(null)};this.endShadows=function(){g=!1;a()};this.setState=function(c,k,l,h,r,u){if(!f||null===c||0===c.length||g&&!l)g?b(null):a();else{l=g?0:e;var p=4*l,v=r.clippingState||null;m.value=v;v=b(c,h,p,u);for(c=0;c!==p;++c)v[c]=d[c];r.clippingState=v;this.numIntersection=k?this.numPlanes:0;this.numPlanes+=l}}}function wj(a){var b={};return{get:function(c){if(void 0!==b[c])return b[c];
switch(c){case "WEBGL_depth_texture":var d=a.getExtension("WEBGL_depth_texture")||a.getExtension("MOZ_WEBGL_depth_texture")||a.getExtension("WEBKIT_WEBGL_depth_texture");break;case "EXT_texture_filter_anisotropic":d=a.getExtension("EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic")||a.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case "WEBGL_compressed_texture_s3tc":d=a.getExtension("WEBGL_compressed_texture_s3tc")||a.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||
a.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case "WEBGL_compressed_texture_pvrtc":d=a.getExtension("WEBGL_compressed_texture_pvrtc")||a.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:d=a.getExtension(c)}null===d&&console.warn("THREE.WebGLRenderer: "+c+" extension not supported.");return b[c]=d}}}function xj(a,b,c){function d(a){var e=a.target;a=f.get(e);null!==a.index&&b.remove(a.index);for(var k in a.attributes)b.remove(a.attributes[k]);e.removeEventListener("dispose",
d);f.delete(e);if(k=g.get(a))b.remove(k),g.delete(a);c.memory.geometries--}function e(a){var c=[],d=a.index,e=a.attributes.position;if(null!==d){var f=d.array;d=d.version;e=0;for(var k=f.length;e<k;e+=3){var h=f[e+0],r=f[e+1],u=f[e+2];c.push(h,r,r,u,u,h)}}else for(f=e.array,d=e.version,e=0,k=f.length/3-1;e<k;e+=3)h=e+0,r=e+1,u=e+2,c.push(h,r,r,u,u,h);c=new (65535<wh(c)?Yb:Xb)(c,1);c.version=d;b.update(c,34963);(f=g.get(a))&&b.remove(f);g.set(a,c)}var f=new WeakMap,g=new WeakMap;return{get:function(a,
b){var e=f.get(b);if(e)return e;b.addEventListener("dispose",d);b.isBufferGeometry?e=b:b.isGeometry&&(void 0===b._bufferGeometry&&(b._bufferGeometry=(new G).setFromObject(a)),e=b._bufferGeometry);f.set(b,e);c.memory.geometries++;return e},update:function(a){var c=a.index,d=a.attributes;null!==c&&b.update(c,34963);for(var e in d)b.update(d[e],34962);a=a.morphAttributes;for(e in a){c=a[e];d=0;for(var f=c.length;d<f;d++)b.update(c[d],34962)}},getWireframeAttribute:function(a){var b=g.get(a);if(b){var c=
a.index;null!==c&&b.version<c.version&&e(a)}else e(a);return g.get(a)}}}function yj(a,b,c,d){var e=d.isWebGL2,f,g,k;this.setMode=function(a){f=a};this.setIndex=function(a){g=a.type;k=a.bytesPerElement};this.render=function(b,d){a.drawElements(f,d,g,b*k);c.update(d,f)};this.renderInstances=function(d,m,v,p){if(0!==p){if(e){d=a;var l="drawElementsInstanced"}else if(d=b.get("ANGLE_instanced_arrays"),l="drawElementsInstancedANGLE",null===d){console.error("THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.");
return}d[l](f,v,g,m*k,p);c.update(v,f,p)}}}function zj(a){var b={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:b,programs:null,autoReset:!0,reset:function(){b.frame++;b.calls=0;b.triangles=0;b.points=0;b.lines=0},update:function(a,d,e){e=e||1;b.calls++;switch(d){case 4:b.triangles+=a/3*e;break;case 1:b.lines+=a/2*e;break;case 3:b.lines+=e*(a-1);break;case 2:b.lines+=e*a;break;case 0:b.points+=e*a;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",
d)}}}}function Aj(a,b){return Math.abs(b[1])-Math.abs(a[1])}function Bj(a){var b={},c=new Float32Array(8);return{update:function(d,e,f,g){var k=d.morphTargetInfluences,l=void 0===k?0:k.length;d=b[e.id];if(void 0===d){d=[];for(var m=0;m<l;m++)d[m]=[m,0];b[e.id]=d}var v=f.morphTargets&&e.morphAttributes.position;f=f.morphNormals&&e.morphAttributes.normal;for(m=0;m<l;m++){var p=d[m];0!==p[1]&&(v&&e.deleteAttribute("morphTarget"+m),f&&e.deleteAttribute("morphNormal"+m))}for(m=0;m<l;m++)p=d[m],p[0]=m,
p[1]=k[m];d.sort(Aj);for(m=k=0;8>m;m++){if(p=d[m])if(l=p[0],p=p[1]){v&&e.setAttribute("morphTarget"+m,v[l]);f&&e.setAttribute("morphNormal"+m,f[l]);c[m]=p;k+=p;continue}c[m]=0}e=e.morphTargetsRelative?1:1-k;g.getUniforms().setValue(a,"morphTargetBaseInfluence",e);g.getUniforms().setValue(a,"morphTargetInfluences",c)}}}function Cj(a,b,c,d){var e={};return{update:function(a){var f=d.render.frame,k=a.geometry,l=b.get(a,k);e[l.id]!==f&&(k.isGeometry&&l.updateFromObject(a),b.update(l),e[l.id]=f);a.isInstancedMesh&&
c.update(a.instanceMatrix,34962);return l},dispose:function(){e={}}}}function rb(a,b,c,d,e,f,g,k,l,m){a=void 0!==a?a:[];T.call(this,a,void 0!==b?b:301,c,d,e,f,void 0!==g?g:1022,k,l,m);this.flipY=!1}function Ic(a,b,c,d){T.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Jc(a,b,c,d){T.call(this,null);this.image={data:a||null,width:b||1,height:c||1,depth:d||1};
this.minFilter=this.magFilter=1003;this.wrapR=1001;this.flipY=this.generateMipmaps=!1;this.needsUpdate=!0}function Kc(a,b,c){var d=a[0];if(0>=d||0<d)return a;var e=b*c,f=zh[e];void 0===f&&(f=new Float32Array(e),zh[e]=f);if(0!==b)for(d.toArray(f,0),d=1,e=0;d!==b;++d)e+=c,a[d].toArray(f,e);return f}function Pa(a,b){if(a.length!==b.length)return!1;for(var c=0,d=a.length;c<d;c++)if(a[c]!==b[c])return!1;return!0}function Ia(a,b){for(var c=0,d=b.length;c<d;c++)a[c]=b[c]}function Ah(a,b){var c=Bh[b];void 0===
c&&(c=new Int32Array(b),Bh[b]=c);for(var d=0;d!==b;++d)c[d]=a.allocateTextureUnit();return c}function Dj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1f(this.addr,b),c[0]=b)}function Ej(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y)a.uniform2f(this.addr,b.x,b.y),c[0]=b.x,c[1]=b.y}else Pa(c,b)||(a.uniform2fv(this.addr,b),Ia(c,b))}function Fj(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z)a.uniform3f(this.addr,b.x,b.y,b.z),c[0]=b.x,c[1]=b.y,c[2]=b.z}else if(void 0!==
b.r){if(c[0]!==b.r||c[1]!==b.g||c[2]!==b.b)a.uniform3f(this.addr,b.r,b.g,b.b),c[0]=b.r,c[1]=b.g,c[2]=b.b}else Pa(c,b)||(a.uniform3fv(this.addr,b),Ia(c,b))}function Gj(a,b){var c=this.cache;if(void 0!==b.x){if(c[0]!==b.x||c[1]!==b.y||c[2]!==b.z||c[3]!==b.w)a.uniform4f(this.addr,b.x,b.y,b.z,b.w),c[0]=b.x,c[1]=b.y,c[2]=b.z,c[3]=b.w}else Pa(c,b)||(a.uniform4fv(this.addr,b),Ia(c,b))}function Hj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix2fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||
(Ch.set(d),a.uniformMatrix2fv(this.addr,!1,Ch),Ia(c,d))}function Ij(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix3fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Dh.set(d),a.uniformMatrix3fv(this.addr,!1,Dh),Ia(c,d))}function Jj(a,b){var c=this.cache,d=b.elements;void 0===d?Pa(c,b)||(a.uniformMatrix4fv(this.addr,!1,b),Ia(c,b)):Pa(c,d)||(Eh.set(d),a.uniformMatrix4fv(this.addr,!1,Eh),Ia(c,d))}function Kj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,
e),d[0]=e);c.safeSetTexture2D(b||Fh,e)}function Lj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture2DArray(b||Mj,e)}function Nj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.setTexture3D(b||Oj,e)}function Pj(a,b,c){var d=this.cache,e=c.allocateTextureUnit();d[0]!==e&&(a.uniform1i(this.addr,e),d[0]=e);c.safeSetTextureCube(b||Gh,e)}function Qj(a,b){var c=this.cache;c[0]!==b&&(a.uniform1i(this.addr,
b),c[0]=b)}function Rj(a,b){var c=this.cache;Pa(c,b)||(a.uniform2iv(this.addr,b),Ia(c,b))}function Sj(a,b){var c=this.cache;Pa(c,b)||(a.uniform3iv(this.addr,b),Ia(c,b))}function Tj(a,b){var c=this.cache;Pa(c,b)||(a.uniform4iv(this.addr,b),Ia(c,b))}function Uj(a){switch(a){case 5126:return Dj;case 35664:return Ej;case 35665:return Fj;case 35666:return Gj;case 35674:return Hj;case 35675:return Ij;case 35676:return Jj;case 35678:case 36198:return Kj;case 35679:return Nj;case 35680:return Pj;case 36289:return Lj;
case 5124:case 35670:return Qj;case 35667:case 35671:return Rj;case 35668:case 35672:return Sj;case 35669:case 35673:return Tj}}function Vj(a,b){a.uniform1fv(this.addr,b)}function Wj(a,b){a.uniform1iv(this.addr,b)}function Xj(a,b){a.uniform2iv(this.addr,b)}function Yj(a,b){a.uniform3iv(this.addr,b)}function Zj(a,b){a.uniform4iv(this.addr,b)}function ak(a,b){b=Kc(b,this.size,2);a.uniform2fv(this.addr,b)}function bk(a,b){b=Kc(b,this.size,3);a.uniform3fv(this.addr,b)}function ck(a,b){b=Kc(b,this.size,
4);a.uniform4fv(this.addr,b)}function dk(a,b){b=Kc(b,this.size,4);a.uniformMatrix2fv(this.addr,!1,b)}function ek(a,b){b=Kc(b,this.size,9);a.uniformMatrix3fv(this.addr,!1,b)}function fk(a,b){b=Kc(b,this.size,16);a.uniformMatrix4fv(this.addr,!1,b)}function gk(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTexture2D(b[a]||Fh,e[a])}function hk(a,b,c){var d=b.length,e=Ah(c,d);a.uniform1iv(this.addr,e);for(a=0;a!==d;++a)c.safeSetTextureCube(b[a]||Gh,e[a])}function ik(a){switch(a){case 5126:return Vj;
case 35664:return ak;case 35665:return bk;case 35666:return ck;case 35674:return dk;case 35675:return ek;case 35676:return fk;case 35678:case 36198:case 36298:case 36306:return gk;case 35680:case 36300:case 36308:return hk;case 5124:case 35670:return Wj;case 35667:case 35671:return Xj;case 35668:case 35672:return Yj;case 35669:case 35673:return Zj}}function jk(a,b,c){this.id=a;this.addr=c;this.cache=[];this.setValue=Uj(b.type)}function Hh(a,b,c){this.id=a;this.addr=c;this.cache=[];this.size=b.size;
this.setValue=ik(b.type)}function Ih(a){this.id=a;this.seq=[];this.map={}}function Fb(a,b){this.seq=[];this.map={};for(var c=a.getProgramParameter(b,35718),d=0;d<c;++d){var e=a.getActiveUniform(b,d),f=a.getUniformLocation(b,e.name),g=this,k=e.name,l=k.length;for(hg.lastIndex=0;;){var m=hg.exec(k),v=hg.lastIndex,p=m[1],h=m[3];"]"===m[2]&&(p|=0);if(void 0===h||"["===h&&v+2===l){k=g;e=void 0===h?new jk(p,e,f):new Hh(p,e,f);k.seq.push(e);k.map[e.id]=e;break}else h=g.map[p],void 0===h&&(h=new Ih(p),p=
g,g=h,p.seq.push(g),p.map[g.id]=g),g=h}}}function Jh(a,b,c){b=a.createShader(b);a.shaderSource(b,c);a.compileShader(b);return b}function Kh(a){switch(a){case 3E3:return["Linear","( value )"];case 3001:return["sRGB","( value )"];case 3002:return["RGBE","( value )"];case 3004:return["RGBM","( value, 7.0 )"];case 3005:return["RGBM","( value, 16.0 )"];case 3006:return["RGBD","( value, 256.0 )"];case 3007:return["Gamma","( value, float( GAMMA_FACTOR ) )"];case 3003:return["LogLuv","( value )"];default:throw Error("unsupported encoding: "+
a);}}function Lh(a,b,c){var d=a.getShaderParameter(b,35713),e=a.getShaderInfoLog(b).trim();if(d&&""===e)return"";a=a.getShaderSource(b).split("\n");for(b=0;b<a.length;b++)a[b]=b+1+": "+a[b];a=a.join("\n");return"THREE.WebGLShader: gl.getShaderInfoLog() "+c+"\n"+e+a}function Kd(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return "+b[0]+"ToLinear"+b[1]+"; }"}function kk(a,b){b=Kh(b);return"vec4 "+a+"( vec4 value ) { return LinearTo"+b[0]+b[1]+"; }"}function lk(a,b){switch(b){case 1:b="Linear";break;
case 2:b="Reinhard";break;case 3:b="Uncharted2";break;case 4:b="OptimizedCineon";break;case 5:b="ACESFilmic";break;default:throw Error("unsupported toneMapping: "+b);}return"vec3 "+a+"( vec3 color ) { return "+b+"ToneMapping( color ); }"}function mk(a,b,c){a=a||{};return[a.derivatives||b.envMapCubeUV||b.bumpMap||b.tangentSpaceNormalMap||b.clearcoatNormalMap||b.flatShading||"physical"===b.shaderID?"#extension GL_OES_standard_derivatives : enable":"",(a.fragDepth||b.logarithmicDepthBuffer)&&c.get("EXT_frag_depth")?
"#extension GL_EXT_frag_depth : enable":"",a.drawBuffers&&c.get("WEBGL_draw_buffers")?"#extension GL_EXT_draw_buffers : require":"",(a.shaderTextureLOD||b.envMap)&&c.get("EXT_shader_texture_lod")?"#extension GL_EXT_shader_texture_lod : enable":""].filter(Ld).join("\n")}function nk(a){var b=[],c;for(c in a){var d=a[c];!1!==d&&b.push("#define "+c+" "+d)}return b.join("\n")}function Ld(a){return""!==a}function Mh(a,b){return a.replace(/NUM_DIR_LIGHTS/g,b.numDirLights).replace(/NUM_SPOT_LIGHTS/g,b.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g,
b.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,b.numPointLights).replace(/NUM_HEMI_LIGHTS/g,b.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,b.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g,b.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,b.numPointLightShadows)}function Nh(a,b){return a.replace(/NUM_CLIPPING_PLANES/g,b.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,b.numClippingPlanes-b.numClipIntersection)}function ig(a,b){a=N[b];if(void 0===a)throw Error("Can not resolve #include <"+
b+">");return a.replace(jg,ig)}function Oh(a,b,c,d){a="";for(b=parseInt(b);b<parseInt(c);b++)a+=d.replace(/\[ i \]/g,"[ "+b+" ]").replace(/UNROLLED_LOOP_INDEX/g,b);return a}function Ph(a){var b="precision "+a.precision+" float;\nprecision "+a.precision+" int;";"highp"===a.precision?b+="\n#define HIGH_PRECISION":"mediump"===a.precision?b+="\n#define MEDIUM_PRECISION":"lowp"===a.precision&&(b+="\n#define LOW_PRECISION");return b}function ok(a){var b="SHADOWMAP_TYPE_BASIC";1===a.shadowMapType?b="SHADOWMAP_TYPE_PCF":
2===a.shadowMapType?b="SHADOWMAP_TYPE_PCF_SOFT":3===a.shadowMapType&&(b="SHADOWMAP_TYPE_VSM");return b}function pk(a){var b="ENVMAP_TYPE_CUBE";if(a.envMap)switch(a.envMapMode){case 301:case 302:b="ENVMAP_TYPE_CUBE";break;case 306:case 307:b="ENVMAP_TYPE_CUBE_UV";break;case 303:case 304:b="ENVMAP_TYPE_EQUIREC";break;case 305:b="ENVMAP_TYPE_SPHERE"}return b}function qk(a){var b="ENVMAP_MODE_REFLECTION";if(a.envMap)switch(a.envMapMode){case 302:case 304:b="ENVMAP_MODE_REFRACTION"}return b}function rk(a){var b=
"ENVMAP_BLENDING_NONE";if(a.envMap)switch(a.combine){case 0:b="ENVMAP_BLENDING_MULTIPLY";break;case 1:b="ENVMAP_BLENDING_MIX";break;case 2:b="ENVMAP_BLENDING_ADD"}return b}function sk(a,b,c,d,e,f){var g=a.getContext(),k=d.defines,l=e.vertexShader,m=e.fragmentShader,v=ok(f),p=pk(f),h=qk(f),t=rk(f),r=0<a.gammaFactor?a.gammaFactor:1,u=f.isWebGL2?"":mk(d.extensions,f,b),n=nk(k),w=g.createProgram(),B=f.numMultiviewViews;d.isRawShaderMaterial?(k=[n].filter(Ld).join("\n"),0<k.length&&(k+="\n"),b=[u,n].filter(Ld).join("\n"),
0<b.length&&(b+="\n")):(k=[Ph(f),"#define SHADER_NAME "+e.name,n,f.instancing?"#define USE_INSTANCING":"",f.supportsVertexTextures?"#define VERTEX_TEXTURES":"","#define GAMMA_FACTOR "+r,"#define MAX_BONES "+f.maxBones,f.useFog&&f.fog?"#define USE_FOG":"",f.useFog&&f.fogExp2?"#define FOG_EXP2":"",f.map?"#define USE_MAP":"",f.envMap?"#define USE_ENVMAP":"",f.envMap?"#define "+h:"",f.lightMap?"#define USE_LIGHTMAP":"",f.aoMap?"#define USE_AOMAP":"",f.emissiveMap?"#define USE_EMISSIVEMAP":"",f.bumpMap?
"#define USE_BUMPMAP":"",f.normalMap?"#define USE_NORMALMAP":"",f.normalMap&&f.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",f.normalMap&&f.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",f.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",f.displacementMap&&f.supportsVertexTextures?"#define USE_DISPLACEMENTMAP":"",f.specularMap?"#define USE_SPECULARMAP":"",f.roughnessMap?"#define USE_ROUGHNESSMAP":"",f.metalnessMap?"#define USE_METALNESSMAP":"",f.alphaMap?"#define USE_ALPHAMAP":
"",f.vertexTangents?"#define USE_TANGENT":"",f.vertexColors?"#define USE_COLOR":"",f.vertexUvs?"#define USE_UV":"",f.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",f.flatShading?"#define FLAT_SHADED":"",f.skinning?"#define USE_SKINNING":"",f.useVertexTexture?"#define BONE_TEXTURE":"",f.morphTargets?"#define USE_MORPHTARGETS":"",f.morphNormals&&!1===f.flatShading?"#define USE_MORPHNORMALS":"",f.doubleSided?"#define DOUBLE_SIDED":"",f.flipSided?"#define FLIP_SIDED":"",f.shadowMapEnabled?"#define USE_SHADOWMAP":
"",f.shadowMapEnabled?"#define "+v:"",f.sizeAttenuation?"#define USE_SIZEATTENUATION":"",f.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",f.logarithmicDepthBuffer&&(f.isWebGL2||b.get("EXT_frag_depth"))?"#define USE_LOGDEPTHBUF_EXT":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;",
"#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#ifdef USE_COLOR","\tattribute vec3 color;","#endif","#ifdef USE_MORPHTARGETS","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;",
"\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(Ld).join("\n"),b=[u,Ph(f),"#define SHADER_NAME "+e.name,n,f.alphaTest?"#define ALPHATEST "+f.alphaTest+(f.alphaTest%1?"":".0"):"","#define GAMMA_FACTOR "+r,f.useFog&&f.fog?"#define USE_FOG":"",f.useFog&&f.fogExp2?"#define FOG_EXP2":
"",f.map?"#define USE_MAP":"",f.matcap?"#define USE_MATCAP":"",f.envMap?"#define USE_ENVMAP":"",f.envMap?"#define "+p:"",f.envMap?"#define "+h:"",f.envMap?"#define "+t:"",f.lightMap?"#define USE_LIGHTMAP":"",f.aoMap?"#define USE_AOMAP":"",f.emissiveMap?"#define USE_EMISSIVEMAP":"",f.bumpMap?"#define USE_BUMPMAP":"",f.normalMap?"#define USE_NORMALMAP":"",f.normalMap&&f.objectSpaceNormalMap?"#define OBJECTSPACE_NORMALMAP":"",f.normalMap&&f.tangentSpaceNormalMap?"#define TANGENTSPACE_NORMALMAP":"",f.clearcoatNormalMap?
"#define USE_CLEARCOAT_NORMALMAP":"",f.specularMap?"#define USE_SPECULARMAP":"",f.roughnessMap?"#define USE_ROUGHNESSMAP":"",f.metalnessMap?"#define USE_METALNESSMAP":"",f.alphaMap?"#define USE_ALPHAMAP":"",f.sheen?"#define USE_SHEEN":"",f.vertexTangents?"#define USE_TANGENT":"",f.vertexColors?"#define USE_COLOR":"",f.vertexUvs?"#define USE_UV":"",f.uvsVertexOnly?"#define UVS_VERTEX_ONLY":"",f.gradientMap?"#define USE_GRADIENTMAP":"",f.flatShading?"#define FLAT_SHADED":"",f.doubleSided?"#define DOUBLE_SIDED":
"",f.flipSided?"#define FLIP_SIDED":"",f.shadowMapEnabled?"#define USE_SHADOWMAP":"",f.shadowMapEnabled?"#define "+v:"",f.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",f.physicallyCorrectLights?"#define PHYSICALLY_CORRECT_LIGHTS":"",f.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"",f.logarithmicDepthBuffer&&(f.isWebGL2||b.get("EXT_frag_depth"))?"#define USE_LOGDEPTHBUF_EXT":"",(d.extensions&&d.extensions.shaderTextureLOD||f.envMap)&&(f.isWebGL2||b.get("EXT_shader_texture_lod"))?"#define TEXTURE_LOD_EXT":
"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==f.toneMapping?"#define TONE_MAPPING":"",0!==f.toneMapping?N.tonemapping_pars_fragment:"",0!==f.toneMapping?lk("toneMapping",f.toneMapping):"",f.dithering?"#define DITHERING":"",f.outputEncoding||f.mapEncoding||f.matcapEncoding||f.envMapEncoding||f.emissiveMapEncoding||f.lightMapEncoding?N.encodings_pars_fragment:"",f.mapEncoding?Kd("mapTexelToLinear",f.mapEncoding):"",f.matcapEncoding?Kd("matcapTexelToLinear",
f.matcapEncoding):"",f.envMapEncoding?Kd("envMapTexelToLinear",f.envMapEncoding):"",f.emissiveMapEncoding?Kd("emissiveMapTexelToLinear",f.emissiveMapEncoding):"",f.lightMapEncoding?Kd("lightMapTexelToLinear",f.lightMapEncoding):"",f.outputEncoding?kk("linearToOutputTexel",f.outputEncoding):"",f.depthPacking?"#define DEPTH_PACKING "+d.depthPacking:"","\n"].filter(Ld).join("\n"));l=l.replace(jg,ig);l=Mh(l,f);l=Nh(l,f);m=m.replace(jg,ig);m=Mh(m,f);m=Nh(m,f);l=l.replace(Qh,Oh);m=m.replace(Qh,Oh);f.isWebGL2&&
!d.isRawShaderMaterial&&(v=!1,p=/^\s*#version\s+300\s+es\s*\n/,d.isShaderMaterial&&null!==l.match(p)&&null!==m.match(p)&&(v=!0,l=l.replace(p,""),m=m.replace(p,"")),k="#version 300 es\n\n#define attribute in\n#define varying out\n#define texture2D texture\n"+k,b=["#version 300 es\n\n#define varying in",v?"":"out highp vec4 pc_fragColor;",v?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth\n#define texture2D texture\n#define textureCube texture\n#define texture2DProj textureProj\n#define texture2DLodEXT textureLod\n#define texture2DProjLodEXT textureProjLod\n#define textureCubeLodEXT textureLod\n#define texture2DGradEXT textureGrad\n#define texture2DProjGradEXT textureProjGrad\n#define textureCubeGradEXT textureGrad"].join("\n")+
"\n"+b,0<B&&(k=k.replace("#version 300 es\n",["#version 300 es\n\n#extension GL_OVR_multiview2 : require","layout(num_views = "+B+") in;","#define VIEW_ID gl_ViewID_OVR"].join("\n")),k=k.replace("uniform mat4 modelViewMatrix;\nuniform mat4 projectionMatrix;\nuniform mat4 viewMatrix;\nuniform mat3 normalMatrix;",["uniform mat4 modelViewMatrices["+B+"];","uniform mat4 projectionMatrices["+B+"];","uniform mat4 viewMatrices["+B+"];","uniform mat3 normalMatrices["+B+"];","#define modelViewMatrix modelViewMatrices[VIEW_ID]\n#define projectionMatrix projectionMatrices[VIEW_ID]\n#define viewMatrix viewMatrices[VIEW_ID]\n#define normalMatrix normalMatrices[VIEW_ID]"].join("\n")),
b=b.replace("#version 300 es\n","#version 300 es\n\n#extension GL_OVR_multiview2 : require\n#define VIEW_ID gl_ViewID_OVR"),b=b.replace("uniform mat4 viewMatrix;",["uniform mat4 viewMatrices["+B+"];","#define viewMatrix viewMatrices[VIEW_ID]"].join("\n"))));m=b+m;l=Jh(g,35633,k+l);m=Jh(g,35632,m);g.attachShader(w,l);g.attachShader(w,m);void 0!==d.index0AttributeName?g.bindAttribLocation(w,0,d.index0AttributeName):!0===f.morphTargets&&g.bindAttribLocation(w,0,"position");g.linkProgram(w);if(a.debug.checkShaderErrors){a=
g.getProgramInfoLog(w).trim();f=g.getShaderInfoLog(l).trim();v=g.getShaderInfoLog(m).trim();h=p=!0;if(!1===g.getProgramParameter(w,35714))p=!1,t=Lh(g,l,"vertex"),r=Lh(g,m,"fragment"),console.error("THREE.WebGLProgram: shader error: ",g.getError(),"35715",g.getProgramParameter(w,35715),"gl.getProgramInfoLog",a,t,r);else if(""!==a)console.warn("THREE.WebGLProgram: gl.getProgramInfoLog()",a);else if(""===f||""===v)h=!1;h&&(this.diagnostics={runnable:p,material:d,programLog:a,vertexShader:{log:f,prefix:k},
fragmentShader:{log:v,prefix:b}})}g.deleteShader(l);g.deleteShader(m);var U;this.getUniforms=function(){void 0===U&&(U=new Fb(g,w));return U};var wa;this.getAttributes=function(){if(void 0===wa){for(var a={},b=g.getProgramParameter(w,35721),c=0;c<b;c++){var d=g.getActiveAttrib(w,c).name;a[d]=g.getAttribLocation(w,d)}wa=a}return wa};this.destroy=function(){g.deleteProgram(w);this.program=void 0};this.name=e.name;this.id=tk++;this.cacheKey=c;this.usedTimes=1;this.program=w;this.vertexShader=l;this.fragmentShader=
m;this.numMultiviewViews=B;return this}function uk(a,b,c){function d(a){if(a)a.isTexture?b=a.encoding:a.isWebGLRenderTarget&&(console.warn("THREE.WebGLPrograms.getTextureEncodingFromMap: don't use render targets as textures. Use their .texture property instead."),b=a.texture.encoding);else var b=3E3;return b}var e=[],f=c.isWebGL2,g=c.logarithmicDepthBuffer,k=c.floatVertexTextures,l=c.precision,m=c.maxVertexUniforms,v=c.vertexTextures,p={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",
MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"},h="precision isWebGL2 supportsVertexTextures outputEncoding instancing numMultiviewViews map mapEncoding matcap matcapEncoding envMap envMapMode envMapEncoding envMapCubeUV lightMap lightMapEncoding aoMap emissiveMap emissiveMapEncoding bumpMap normalMap objectSpaceNormalMap tangentSpaceNormalMap clearcoatNormalMap displacementMap specularMap roughnessMap metalnessMap gradientMap alphaMap combine vertexColors vertexTangents vertexUvs uvsVertexOnly fog useFog fogExp2 flatShading sizeAttenuation logarithmicDepthBuffer skinning maxBones useVertexTexture morphTargets morphNormals maxMorphTargets maxMorphNormals premultipliedAlpha numDirLights numPointLights numSpotLights numHemiLights numRectAreaLights numDirLightShadows numPointLightShadows numSpotLightShadows shadowMapEnabled shadowMapType toneMapping physicallyCorrectLights alphaTest doubleSided flipSided numClippingPlanes numClipIntersection depthPacking dithering sheen".split(" ");
this.getParameters=function(b,e,h,q,n,B,U){var r=q.fog;q=b.isMeshStandardMaterial?q.environment:null;q=b.envMap||q;var t=p[b.type];if(U.isSkinnedMesh){var u=U.skeleton.bones;if(k)u=1024;else{var z=Math.min(Math.floor((m-20)/4),u.length);z<u.length?(console.warn("THREE.WebGLRenderer: Skeleton has "+u.length+" bones. This GPU supports "+z+"."),u=0):u=z}}else u=0;null!==b.precision&&(l=c.getMaxPrecision(b.precision),l!==b.precision&&console.warn("THREE.WebGLProgram.getParameters:",b.precision,"not supported, using",
l,"instead."));z=a.getRenderTarget();return{isWebGL2:f,shaderID:t,precision:l,instancing:!0===U.isInstancedMesh,supportsVertexTextures:v,numMultiviewViews:z&&z.isWebGLMultiviewRenderTarget?z.numViews:0,outputEncoding:null!==z?d(z.texture):a.outputEncoding,map:!!b.map,mapEncoding:d(b.map),matcap:!!b.matcap,matcapEncoding:d(b.matcap),envMap:!!q,envMapMode:q&&q.mapping,envMapEncoding:d(q),envMapCubeUV:!!q&&(306===q.mapping||307===q.mapping),lightMap:!!b.lightMap,lightMapEncoding:d(b.lightMap),aoMap:!!b.aoMap,
emissiveMap:!!b.emissiveMap,emissiveMapEncoding:d(b.emissiveMap),bumpMap:!!b.bumpMap,normalMap:!!b.normalMap,objectSpaceNormalMap:1===b.normalMapType,tangentSpaceNormalMap:0===b.normalMapType,clearcoatNormalMap:!!b.clearcoatNormalMap,displacementMap:!!b.displacementMap,roughnessMap:!!b.roughnessMap,metalnessMap:!!b.metalnessMap,specularMap:!!b.specularMap,alphaMap:!!b.alphaMap,gradientMap:!!b.gradientMap,sheen:!!b.sheen,combine:b.combine,vertexTangents:b.normalMap&&b.vertexTangents,vertexColors:b.vertexColors,
vertexUvs:!!b.map||!!b.bumpMap||!!b.normalMap||!!b.specularMap||!!b.alphaMap||!!b.emissiveMap||!!b.roughnessMap||!!b.metalnessMap||!!b.clearcoatNormalMap||!!b.displacementMap,uvsVertexOnly:!(b.map||b.bumpMap||b.normalMap||b.specularMap||b.alphaMap||b.emissiveMap||b.roughnessMap||b.metalnessMap||b.clearcoatNormalMap)&&!!b.displacementMap,fog:!!r,useFog:b.fog,fogExp2:r&&r.isFogExp2,flatShading:b.flatShading,sizeAttenuation:b.sizeAttenuation,logarithmicDepthBuffer:g,skinning:b.skinning&&0<u,maxBones:u,
useVertexTexture:k,morphTargets:b.morphTargets,morphNormals:b.morphNormals,maxMorphTargets:a.maxMorphTargets,maxMorphNormals:a.maxMorphNormals,numDirLights:e.directional.length,numPointLights:e.point.length,numSpotLights:e.spot.length,numRectAreaLights:e.rectArea.length,numHemiLights:e.hemi.length,numDirLightShadows:e.directionalShadowMap.length,numPointLightShadows:e.pointShadowMap.length,numSpotLightShadows:e.spotShadowMap.length,numClippingPlanes:n,numClipIntersection:B,dithering:b.dithering,shadowMapEnabled:a.shadowMap.enabled&&
0<h.length,shadowMapType:a.shadowMap.type,toneMapping:b.toneMapped?a.toneMapping:0,physicallyCorrectLights:a.physicallyCorrectLights,premultipliedAlpha:b.premultipliedAlpha,alphaTest:b.alphaTest,doubleSided:2===b.side,flipSided:1===b.side,depthPacking:void 0!==b.depthPacking?b.depthPacking:!1}};this.getProgramCacheKey=function(b,c){var d=[];c.shaderID?d.push(c.shaderID):(d.push(b.fragmentShader),d.push(b.vertexShader));if(void 0!==b.defines)for(var e in b.defines)d.push(e),d.push(b.defines[e]);if(void 0===
b.isRawShaderMaterial){for(e=0;e<h.length;e++)d.push(c[h[e]]);d.push(a.outputEncoding);d.push(a.gammaFactor)}d.push(b.onBeforeCompile.toString());return d.join()};this.acquireProgram=function(c,d,f,g){for(var k,l=0,m=e.length;l<m;l++){var p=e[l];if(p.cacheKey===g){k=p;++k.usedTimes;break}}void 0===k&&(k=new sk(a,b,g,c,d,f),e.push(k));return k};this.releaseProgram=function(a){if(0===--a.usedTimes){var b=e.indexOf(a);e[b]=e[e.length-1];e.pop();a.destroy()}};this.programs=e}function vk(){var a=new WeakMap;
return{get:function(b){var c=a.get(b);void 0===c&&(c={},a.set(b,c));return c},remove:function(b){a.delete(b)},update:function(b,c,d){a.get(b)[c]=d},dispose:function(){a=new WeakMap}}}function wk(a,b){return a.groupOrder!==b.groupOrder?a.groupOrder-b.groupOrder:a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.program!==b.program?a.program.id-b.program.id:a.material.id!==b.material.id?a.material.id-b.material.id:a.z!==b.z?a.z-b.z:a.id-b.id}function xk(a,b){return a.groupOrder!==b.groupOrder?
a.groupOrder-b.groupOrder:a.renderOrder!==b.renderOrder?a.renderOrder-b.renderOrder:a.z!==b.z?b.z-a.z:a.id-b.id}function Rh(){function a(a,d,e,m,v,p){var g=b[c];void 0===g?(g={id:a.id,object:a,geometry:d,material:e,program:e.program||f,groupOrder:m,renderOrder:a.renderOrder,z:v,group:p},b[c]=g):(g.id=a.id,g.object=a,g.geometry=d,g.material=e,g.program=e.program||f,g.groupOrder=m,g.renderOrder=a.renderOrder,g.z=v,g.group=p);c++;return g}var b=[],c=0,d=[],e=[],f={id:-1};return{opaque:d,transparent:e,
init:function(){c=0;d.length=0;e.length=0},push:function(b,c,f,m,v,p){b=a(b,c,f,m,v,p);(!0===f.transparent?e:d).push(b)},unshift:function(b,c,f,m,v,p){b=a(b,c,f,m,v,p);(!0===f.transparent?e:d).unshift(b)},sort:function(a,b){1<d.length&&d.sort(a||wk);1<e.length&&e.sort(b||xk)}}}function yk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,d){var e=b.get(c);if(void 0===e){var f=new Rh;b.set(c,new WeakMap);b.get(c).set(d,f);c.addEventListener("dispose",
a)}else f=e.get(d),void 0===f&&(f=new Rh,e.set(d,f));return f},dispose:function(){b=new WeakMap}}}function zk(){var a={};return{get:function(b){if(void 0!==a[b.id])return a[b.id];switch(b.type){case "DirectionalLight":var c={direction:new n,color:new y,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x};break;case "SpotLight":c={position:new n,direction:new n,color:new y,distance:0,coneCos:0,penumbraCos:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x};break;case "PointLight":c=
{position:new n,color:new y,distance:0,decay:0,shadow:!1,shadowBias:0,shadowRadius:1,shadowMapSize:new x,shadowCameraNear:1,shadowCameraFar:1E3};break;case "HemisphereLight":c={direction:new n,skyColor:new y,groundColor:new y};break;case "RectAreaLight":c={color:new y,position:new n,halfWidth:new n,halfHeight:new n}}return a[b.id]=c}}}function Ak(a,b){return(b.castShadow?1:0)-(a.castShadow?1:0)}function Bk(){for(var a=new zk,b={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,
hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotShadowMap:[],spotShadowMatrix:[],rectArea:[],point:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1},c=0;9>c;c++)b.probe.push(new n);var d=new n,e=new P,f=new P;return{setup:function(c,k,l){for(var g=0,v=0,p=0,h=0;9>h;h++)b.probe[h].set(0,0,0);var t=k=0,r=0,
u=0,n=0,w=0,B=0,U=0;l=l.matrixWorldInverse;c.sort(Ak);h=0;for(var wa=c.length;h<wa;h++){var A=c[h],aa=A.color,xa=A.intensity,x=A.distance,qa=A.shadow&&A.shadow.map?A.shadow.map.texture:null;if(A.isAmbientLight)g+=aa.r*xa,v+=aa.g*xa,p+=aa.b*xa;else if(A.isLightProbe)for(qa=0;9>qa;qa++)b.probe[qa].addScaledVector(A.sh.coefficients[qa],xa);else if(A.isDirectionalLight){var F=a.get(A);F.color.copy(A.color).multiplyScalar(A.intensity);F.direction.setFromMatrixPosition(A.matrixWorld);d.setFromMatrixPosition(A.target.matrixWorld);
F.direction.sub(d);F.direction.transformDirection(l);if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,b.directionalShadowMap[k]=qa,b.directionalShadowMatrix[k]=A.shadow.matrix,w++;b.directional[k]=F;k++}else if(A.isSpotLight){F=a.get(A);F.position.setFromMatrixPosition(A.matrixWorld);F.position.applyMatrix4(l);F.color.copy(aa).multiplyScalar(xa);F.distance=x;F.direction.setFromMatrixPosition(A.matrixWorld);d.setFromMatrixPosition(A.target.matrixWorld);
F.direction.sub(d);F.direction.transformDirection(l);F.coneCos=Math.cos(A.angle);F.penumbraCos=Math.cos(A.angle*(1-A.penumbra));F.decay=A.decay;if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,b.spotShadowMap[r]=qa,b.spotShadowMatrix[r]=A.shadow.matrix,U++;b.spot[r]=F;r++}else if(A.isRectAreaLight)F=a.get(A),F.color.copy(aa).multiplyScalar(xa),F.position.setFromMatrixPosition(A.matrixWorld),F.position.applyMatrix4(l),f.identity(),e.copy(A.matrixWorld),
e.premultiply(l),f.extractRotation(e),F.halfWidth.set(.5*A.width,0,0),F.halfHeight.set(0,.5*A.height,0),F.halfWidth.applyMatrix4(f),F.halfHeight.applyMatrix4(f),b.rectArea[u]=F,u++;else if(A.isPointLight){F=a.get(A);F.position.setFromMatrixPosition(A.matrixWorld);F.position.applyMatrix4(l);F.color.copy(A.color).multiplyScalar(A.intensity);F.distance=A.distance;F.decay=A.decay;if(F.shadow=A.castShadow)xa=A.shadow,F.shadowBias=xa.bias,F.shadowRadius=xa.radius,F.shadowMapSize=xa.mapSize,F.shadowCameraNear=
xa.camera.near,F.shadowCameraFar=xa.camera.far,b.pointShadowMap[t]=qa,b.pointShadowMatrix[t]=A.shadow.matrix,B++;b.point[t]=F;t++}else A.isHemisphereLight&&(F=a.get(A),F.direction.setFromMatrixPosition(A.matrixWorld),F.direction.transformDirection(l),F.direction.normalize(),F.skyColor.copy(A.color).multiplyScalar(xa),F.groundColor.copy(A.groundColor).multiplyScalar(xa),b.hemi[n]=F,n++)}b.ambient[0]=g;b.ambient[1]=v;b.ambient[2]=p;c=b.hash;if(c.directionalLength!==k||c.pointLength!==t||c.spotLength!==
r||c.rectAreaLength!==u||c.hemiLength!==n||c.numDirectionalShadows!==w||c.numPointShadows!==B||c.numSpotShadows!==U)b.directional.length=k,b.spot.length=r,b.rectArea.length=u,b.point.length=t,b.hemi.length=n,b.directionalShadowMap.length=w,b.pointShadowMap.length=B,b.spotShadowMap.length=U,b.directionalShadowMatrix.length=w,b.pointShadowMatrix.length=B,b.spotShadowMatrix.length=U,c.directionalLength=k,c.pointLength=t,c.spotLength=r,c.rectAreaLength=u,c.hemiLength=n,c.numDirectionalShadows=w,c.numPointShadows=
B,c.numSpotShadows=U,b.version=Ck++},state:b}}function Sh(){var a=new Bk,b=[],c=[];return{init:function(){b.length=0;c.length=0},state:{lightsArray:b,shadowsArray:c,lights:a},setupLights:function(d){a.setup(b,c,d)},pushLight:function(a){b.push(a)},pushShadow:function(a){c.push(a)}}}function Dk(){function a(c){c=c.target;c.removeEventListener("dispose",a);b.delete(c)}var b=new WeakMap;return{get:function(c,d){if(!1===b.has(c)){var e=new Sh;b.set(c,new WeakMap);b.get(c).set(d,e);c.addEventListener("dispose",
a)}else!1===b.get(c).has(d)?(e=new Sh,b.get(c).set(d,e)):e=b.get(c).get(d);return e},dispose:function(){b=new WeakMap}}}function Gb(a){L.call(this);this.type="MeshDepthMaterial";this.depthPacking=3200;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.fog=!1;this.setValues(a)}function Hb(a){L.call(this);this.type="MeshDistanceMaterial";this.referencePosition=new n;this.nearDistance=
1;this.farDistance=1E3;this.morphTargets=this.skinning=!1;this.displacementMap=this.alphaMap=this.map=null;this.displacementScale=1;this.displacementBias=0;this.fog=!1;this.setValues(a)}function Th(a,b,c){function d(a,b,c){c=a<<0|b<<1|c<<2;var d=p[c];void 0===d&&(d=new Gb({depthPacking:3201,morphTargets:a,skinning:b}),p[c]=d);return d}function e(a,b,c){c=a<<0|b<<1|c<<2;var d=h[c];void 0===d&&(d=new Hb({morphTargets:a,skinning:b}),h[c]=d);return d}function f(b,c,f,g,k,l){var m=b.geometry,p=d,v=b.customDepthMaterial;
!0===f.isPointLight&&(p=e,v=b.customDistanceMaterial);void 0===v?(v=!1,!0===c.morphTargets&&(!0===m.isBufferGeometry?v=m.morphAttributes&&m.morphAttributes.position&&0<m.morphAttributes.position.length:!0===m.isGeometry&&(v=m.morphTargets&&0<m.morphTargets.length)),m=!1,!0===b.isSkinnedMesh&&(!0===c.skinning?m=!0:console.warn("THREE.WebGLShadowMap: THREE.SkinnedMesh with material.skinning set to false:",b)),b=p(v,m,!0===b.isInstancedMesh)):b=v;a.localClippingEnabled&&!0===c.clipShadows&&0!==c.clippingPlanes.length&&
(v=b.uuid,p=c.uuid,m=t[v],void 0===m&&(m={},t[v]=m),v=m[p],void 0===v&&(v=b.clone(),m[p]=v),b=v);b.visible=c.visible;b.wireframe=c.wireframe;b.side=3===l?null!==c.shadowSide?c.shadowSide:c.side:null!==c.shadowSide?c.shadowSide:r[c.side];b.clipShadows=c.clipShadows;b.clippingPlanes=c.clippingPlanes;b.clipIntersection=c.clipIntersection;b.wireframeLinewidth=c.wireframeLinewidth;b.linewidth=c.linewidth;!0===f.isPointLight&&!0===b.isMeshDistanceMaterial&&(b.referencePosition.setFromMatrixPosition(f.matrixWorld),
b.nearDistance=g,b.farDistance=k);return b}function g(c,d,e,l,m){if(!1!==c.visible){if(c.layers.test(d.layers)&&(c.isMesh||c.isLine||c.isPoints)&&(c.castShadow||c.receiveShadow&&3===m)&&(!c.frustumCulled||k.intersectsObject(c))){c.modelViewMatrix.multiplyMatrices(e.matrixWorldInverse,c.matrixWorld);var p=b.update(c),v=c.material;if(Array.isArray(v))for(var h=p.groups,q=0,r=h.length;q<r;q++){var u=h[q],t=v[u.materialIndex];t&&t.visible&&(t=f(c,t,l,e.near,e.far,m),a.renderBufferDirect(e,null,p,t,c,
u))}else v.visible&&(t=f(c,v,l,e.near,e.far,m),a.renderBufferDirect(e,null,p,t,c,null))}c=c.children;p=0;for(v=c.length;p<v;p++)g(c[p],d,e,l,m)}}var k=new Hd,l=new x,m=new x,v=new S,p=[],h=[],t={},r={0:1,1:0,2:2},u=new oa({defines:{SAMPLE_RATE:.25,HALF_SAMPLE_RATE:.125},uniforms:{shadow_pass:{value:null},resolution:{value:new x},radius:{value:4}},vertexShader:"void main() {\n\tgl_Position = vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include <packing>\nvoid main() {\n float mean = 0.0;\n float squared_mean = 0.0;\n\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy ) / resolution ) );\n for ( float i = -1.0; i < 1.0 ; i += SAMPLE_RATE) {\n #ifdef HORIZONAL_PASS\n vec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( i, 0.0 ) * radius ) / resolution ) );\n mean += distribution.x;\n squared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n #else\n float depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, i ) * radius ) / resolution ) );\n mean += depth;\n squared_mean += depth * depth;\n #endif\n }\n mean = mean * HALF_SAMPLE_RATE;\n squared_mean = squared_mean * HALF_SAMPLE_RATE;\n float std_dev = sqrt( squared_mean - mean * mean );\n gl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}"}),
n=u.clone();n.defines.HORIZONAL_PASS=1;var w=new G;w.setAttribute("position",new K(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));var B=new ca(w,u),U=this;this.enabled=!1;this.autoUpdate=!0;this.needsUpdate=!1;this.type=1;this.render=function(d,e,f){if(!1!==U.enabled&&(!1!==U.autoUpdate||!1!==U.needsUpdate)&&0!==d.length){var p=a.getRenderTarget(),h=a.getActiveCubeFace(),q=a.getActiveMipmapLevel(),r=a.state;r.setBlending(0);r.buffers.color.setClear(1,1,1,1);r.buffers.depth.setTest(!0);r.setScissorTest(!1);
for(var t=0,z=d.length;t<z;t++){var w=d[t],A=w.shadow;if(void 0===A)console.warn("THREE.WebGLShadowMap:",w,"has no shadow.");else{l.copy(A.mapSize);var aa=A.getFrameExtents();l.multiply(aa);m.copy(A.mapSize);if(l.x>c||l.y>c)console.warn("THREE.WebGLShadowMap:",w,"has shadow exceeding max texture size, reducing"),l.x>c&&(m.x=Math.floor(c/aa.x),l.x=m.x*aa.x,A.mapSize.x=m.x),l.y>c&&(m.y=Math.floor(c/aa.y),l.y=m.y*aa.y,A.mapSize.y=m.y);null!==A.map||A.isPointLightShadow||3!==this.type||(aa={minFilter:1006,
magFilter:1006,format:1023},A.map=new va(l.x,l.y,aa),A.map.texture.name=w.name+".shadowMap",A.mapPass=new va(l.x,l.y,aa),A.camera.updateProjectionMatrix());null===A.map&&(aa={minFilter:1003,magFilter:1003,format:1023},A.map=new va(l.x,l.y,aa),A.map.texture.name=w.name+".shadowMap",A.camera.updateProjectionMatrix());a.setRenderTarget(A.map);a.clear();aa=A.getViewportCount();for(var wa=0;wa<aa;wa++){var x=A.getViewport(wa);v.set(m.x*x.x,m.y*x.y,m.x*x.z,m.y*x.w);r.viewport(v);A.updateMatrices(w,wa);
k=A.getFrustum();g(e,f,A.camera,w,this.type)}A.isPointLightShadow||3!==this.type||(w=A,A=f,aa=b.update(B),u.uniforms.shadow_pass.value=w.map.texture,u.uniforms.resolution.value=w.mapSize,u.uniforms.radius.value=w.radius,a.setRenderTarget(w.mapPass),a.clear(),a.renderBufferDirect(A,null,aa,u,B,null),n.uniforms.shadow_pass.value=w.mapPass.texture,n.uniforms.resolution.value=w.mapSize,n.uniforms.radius.value=w.radius,a.setRenderTarget(w.map),a.clear(),a.renderBufferDirect(A,null,aa,n,B,null))}}U.needsUpdate=
!1;a.setRenderTarget(p,h,q)}}}function Ek(a,b,c){function d(b,c,d){var e=new Uint8Array(4),f=a.createTexture();a.bindTexture(b,f);a.texParameteri(b,10241,9728);a.texParameteri(b,10240,9728);for(b=0;b<d;b++)a.texImage2D(c+b,0,6408,1,1,0,6408,5121,e);return f}function e(c,d){n[c]=1;0===w[c]&&(a.enableVertexAttribArray(c),w[c]=1);B[c]!==d&&((h?a:b.get("ANGLE_instanced_arrays"))[h?"vertexAttribDivisor":"vertexAttribDivisorANGLE"](c,d),B[c]=d)}function f(b){!0!==U[b]&&(a.enable(b),U[b]=!0)}function g(b){!1!==
U[b]&&(a.disable(b),U[b]=!1)}function k(b,c,d,e,k,l,m,p){if(0===b)A&&(g(3042),A=!1);else if(A||(f(3042),A=!0),5!==b){if(b!==aa||p!==y){if(100!==x||100!==F)a.blendEquation(32774),F=x=100;if(p)switch(b){case 1:a.blendFuncSeparate(1,771,1,771);break;case 2:a.blendFunc(1,1);break;case 3:a.blendFuncSeparate(0,0,769,771);break;case 4:a.blendFuncSeparate(0,768,0,770);break;default:console.error("THREE.WebGLState: Invalid blending: ",b)}else switch(b){case 1:a.blendFuncSeparate(770,771,1,771);break;case 2:a.blendFunc(770,
1);break;case 3:a.blendFunc(0,769);break;case 4:a.blendFunc(0,768);break;default:console.error("THREE.WebGLState: Invalid blending: ",b)}D=E=qa=C=null;aa=b;y=p}}else{k=k||c;l=l||d;m=m||e;if(c!==x||k!==F)a.blendEquationSeparate(Lc[c],Lc[k]),x=c,F=k;if(d!==C||e!==qa||l!==E||m!==D)a.blendFuncSeparate(J[d],J[e],J[l],J[m]),C=d,qa=e,E=l,D=m;aa=b;y=null}}function l(b){G!==b&&(b?a.frontFace(2304):a.frontFace(2305),G=b)}function m(b){0!==b?(f(2884),b!==I&&(1===b?a.cullFace(1029):2===b?a.cullFace(1028):a.cullFace(1032))):
g(2884);I=b}function v(b,c,d){if(b){if(f(32823),K!==c||M!==d)a.polygonOffset(c,d),K=c,M=d}else g(32823)}function p(b){void 0===b&&(b=33984+da-1);O!==b&&(a.activeTexture(b),O=b)}var h=c.isWebGL2,t=new function(){var b=!1,c=new S,d=null,e=new S(0,0,0,0);return{setMask:function(c){d===c||b||(a.colorMask(c,c,c,c),d=c)},setLocked:function(a){b=a},setClear:function(b,d,f,g,k){!0===k&&(b*=g,d*=g,f*=g);c.set(b,d,f,g);!1===e.equals(c)&&(a.clearColor(b,d,f,g),e.copy(c))},reset:function(){b=!1;d=null;e.set(-1,
0,0,0)}}},r=new function(){var b=!1,c=null,d=null,e=null;return{setTest:function(a){a?f(2929):g(2929)},setMask:function(d){c===d||b||(a.depthMask(d),c=d)},setFunc:function(b){if(d!==b){if(b)switch(b){case 0:a.depthFunc(512);break;case 1:a.depthFunc(519);break;case 2:a.depthFunc(513);break;case 3:a.depthFunc(515);break;case 4:a.depthFunc(514);break;case 5:a.depthFunc(518);break;case 6:a.depthFunc(516);break;case 7:a.depthFunc(517);break;default:a.depthFunc(515)}else a.depthFunc(515);d=b}},setLocked:function(a){b=
a},setClear:function(b){e!==b&&(a.clearDepth(b),e=b)},reset:function(){b=!1;e=d=c=null}}},u=new function(){var b=!1,c=null,d=null,e=null,k=null,l=null,m=null,p=null,v=null;return{setTest:function(a){b||(a?f(2960):g(2960))},setMask:function(d){c===d||b||(a.stencilMask(d),c=d)},setFunc:function(b,c,f){if(d!==b||e!==c||k!==f)a.stencilFunc(b,c,f),d=b,e=c,k=f},setOp:function(b,c,d){if(l!==b||m!==c||p!==d)a.stencilOp(b,c,d),l=b,m=c,p=d},setLocked:function(a){b=a},setClear:function(b){v!==b&&(a.clearStencil(b),
v=b)},reset:function(){b=!1;v=p=m=l=k=e=d=c=null}}};c=a.getParameter(34921);var n=new Uint8Array(c),w=new Uint8Array(c),B=new Uint8Array(c),U={},wa=null,A=null,aa=null,x=null,C=null,qa=null,F=null,E=null,D=null,y=!1,G=null,I=null,L=null,K=null,M=null,da=a.getParameter(35661),ha=!1;c=0;c=a.getParameter(7938);-1!==c.indexOf("WebGL")?(c=parseFloat(/^WebGL ([0-9])/.exec(c)[1]),ha=1<=c):-1!==c.indexOf("OpenGL ES")&&(c=parseFloat(/^OpenGL ES ([0-9])/.exec(c)[1]),ha=2<=c);var O=null,Nd={},fb=new S,Uh=new S,
ng={};ng[3553]=d(3553,3553,1);ng[34067]=d(34067,34069,6);t.setClear(0,0,0,1);r.setClear(1);u.setClear(0);f(2929);r.setFunc(3);l(!1);m(1);f(2884);k(0);var Lc={100:32774,101:32778,102:32779};h?(Lc[103]=32775,Lc[104]=32776):(c=b.get("EXT_blend_minmax"),null!==c&&(Lc[103]=c.MIN_EXT,Lc[104]=c.MAX_EXT));var J={200:0,201:1,202:768,204:770,210:776,208:774,206:772,203:769,205:771,209:775,207:773};return{buffers:{color:t,depth:r,stencil:u},initAttributes:function(){for(var a=0,b=n.length;a<b;a++)n[a]=0},enableAttribute:function(a){e(a,
0)},enableAttributeAndDivisor:e,disableUnusedAttributes:function(){for(var b=0,c=w.length;b!==c;++b)w[b]!==n[b]&&(a.disableVertexAttribArray(b),w[b]=0)},enable:f,disable:g,useProgram:function(b){return wa!==b?(a.useProgram(b),wa=b,!0):!1},setBlending:k,setMaterial:function(a,b){2===a.side?g(2884):f(2884);var c=1===a.side;b&&(c=!c);l(c);1===a.blending&&!1===a.transparent?k(0):k(a.blending,a.blendEquation,a.blendSrc,a.blendDst,a.blendEquationAlpha,a.blendSrcAlpha,a.blendDstAlpha,a.premultipliedAlpha);
r.setFunc(a.depthFunc);r.setTest(a.depthTest);r.setMask(a.depthWrite);t.setMask(a.colorWrite);b=a.stencilWrite;u.setTest(b);b&&(u.setMask(a.stencilWriteMask),u.setFunc(a.stencilFunc,a.stencilRef,a.stencilFuncMask),u.setOp(a.stencilFail,a.stencilZFail,a.stencilZPass));v(a.polygonOffset,a.polygonOffsetFactor,a.polygonOffsetUnits)},setFlipSided:l,setCullFace:m,setLineWidth:function(b){b!==L&&(ha&&a.lineWidth(b),L=b)},setPolygonOffset:v,setScissorTest:function(a){a?f(3089):g(3089)},activeTexture:p,bindTexture:function(b,
c){null===O&&p();var d=Nd[O];void 0===d&&(d={type:void 0,texture:void 0},Nd[O]=d);if(d.type!==b||d.texture!==c)a.bindTexture(b,c||ng[b]),d.type=b,d.texture=c},unbindTexture:function(){var b=Nd[O];void 0!==b&&void 0!==b.type&&(a.bindTexture(b.type,null),b.type=void 0,b.texture=void 0)},compressedTexImage2D:function(){try{a.compressedTexImage2D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",R)}},texImage2D:function(){try{a.texImage2D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",
R)}},texImage3D:function(){try{a.texImage3D.apply(a,arguments)}catch(R){console.error("THREE.WebGLState:",R)}},scissor:function(b){!1===fb.equals(b)&&(a.scissor(b.x,b.y,b.z,b.w),fb.copy(b))},viewport:function(b){!1===Uh.equals(b)&&(a.viewport(b.x,b.y,b.z,b.w),Uh.copy(b))},reset:function(){for(var b=0;b<w.length;b++)1===w[b]&&(a.disableVertexAttribArray(b),w[b]=0);U={};O=null;Nd={};I=G=aa=wa=null;t.reset();r.reset();u.reset()}}}function Fk(a,b,c,d,e,f,g){function k(a,b){return L?new OffscreenCanvas(a,
b):document.createElementNS("http://www.w3.org/1999/xhtml","canvas")}function l(a,b,c,d){var e=1;if(a.width>d||a.height>d)e=d/Math.max(a.width,a.height);if(1>e||!0===b){if("undefined"!==typeof HTMLImageElement&&a instanceof HTMLImageElement||"undefined"!==typeof HTMLCanvasElement&&a instanceof HTMLCanvasElement||"undefined"!==typeof ImageBitmap&&a instanceof ImageBitmap)return d=b?O.floorPowerOfTwo:Math.floor,b=d(e*a.width),e=d(e*a.height),void 0===I&&(I=k(b,e)),c=c?k(b,e):I,c.width=b,c.height=e,
c.getContext("2d").drawImage(a,0,0,b,e),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+a.width+"x"+a.height+") to ("+b+"x"+e+")."),c;"data"in a&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+a.width+"x"+a.height+").")}return a}function m(a){return O.isPowerOfTwo(a.width)&&O.isPowerOfTwo(a.height)}function v(a,b){return a.generateMipmaps&&b&&1003!==a.minFilter&&1006!==a.minFilter}function p(b,c,e,f){a.generateMipmap(b);d.get(c).__maxMipLevel=Math.log(Math.max(e,
f))*Math.LOG2E}function h(c,d,e){if(!1===qa)return d;if(null!==c){if(void 0!==a[c])return a[c];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+c+"'")}c=d;6403===d&&(5126===e&&(c=33326),5131===e&&(c=33325),5121===e&&(c=33321));6407===d&&(5126===e&&(c=34837),5131===e&&(c=34843),5121===e&&(c=32849));6408===d&&(5126===e&&(c=34836),5131===e&&(c=34842),5121===e&&(c=32856));33325===c||33326===c||34842===c||34836===c?b.get("EXT_color_buffer_float"):(34843===c||34837===
c)&&console.warn("THREE.WebGLRenderer: Floating point textures with RGB format not supported. Please use RGBA instead.");return c}function t(a){return 1003===a||1004===a||1005===a?9728:9729}function r(b){b=b.target;b.removeEventListener("dispose",r);var c=d.get(b);void 0!==c.__webglInit&&(a.deleteTexture(c.__webglTexture),d.remove(b));b.isVideoTexture&&G.delete(b);g.memory.textures--}function u(b){b=b.target;b.removeEventListener("dispose",u);var c=d.get(b),e=d.get(b.texture);if(b){void 0!==e.__webglTexture&&
a.deleteTexture(e.__webglTexture);b.depthTexture&&b.depthTexture.dispose();if(b.isWebGLRenderTargetCube)for(e=0;6>e;e++)a.deleteFramebuffer(c.__webglFramebuffer[e]),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer[e]);else a.deleteFramebuffer(c.__webglFramebuffer),c.__webglDepthbuffer&&a.deleteRenderbuffer(c.__webglDepthbuffer);if(b.isWebGLMultiviewRenderTarget){a.deleteTexture(c.__webglColorTexture);a.deleteTexture(c.__webglDepthStencilTexture);g.memory.textures-=2;e=0;for(var f=c.__webglViewFramebuffers.length;e<
f;e++)a.deleteFramebuffer(c.__webglViewFramebuffers[e])}d.remove(b.texture);d.remove(b)}g.memory.textures--}function n(a,b){var e=d.get(a);if(a.isVideoTexture){var f=g.render.frame;G.get(a)!==f&&(G.set(a,f),a.update())}if(0<a.version&&e.__version!==a.version)if(f=a.image,void 0===f)console.warn("THREE.WebGLRenderer: Texture marked for update but image is undefined");else if(!1===f.complete)console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete");else{A(e,a,b);return}c.activeTexture(33984+
b);c.bindTexture(3553,e.__webglTexture)}function w(b,e){if(6===b.image.length){var g=d.get(b);if(0<b.version&&g.__version!==b.version){wa(g,b);c.activeTexture(33984+e);c.bindTexture(34067,g.__webglTexture);a.pixelStorei(37440,b.flipY);var k=b&&b.isCompressedTexture;e=b.image[0]&&b.image[0].isDataTexture;for(var r=[],q=0;6>q;q++)r[q]=k||e?e?b.image[q].image:b.image[q]:l(b.image[q],!1,!0,E);var t=r[0],u=m(t)||qa,n=f.convert(b.format),A=f.convert(b.type),w=h(b.internalFormat,n,A);U(34067,b,u);if(k){for(q=
0;6>q;q++){var z=r[q].mipmaps;for(k=0;k<z.length;k++){var B=z[k];1023!==b.format&&1022!==b.format?null!==n?c.compressedTexImage2D(34069+q,k,w,B.width,B.height,0,B.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):c.texImage2D(34069+q,k,w,B.width,B.height,0,n,A,B.data)}}g.__maxMipLevel=z.length-1}else{z=b.mipmaps;for(q=0;6>q;q++)if(e)for(c.texImage2D(34069+q,0,w,r[q].width,r[q].height,0,n,A,r[q].data),k=0;k<z.length;k++)B=z[k],B=B.image[q].image,
c.texImage2D(34069+q,k+1,w,B.width,B.height,0,n,A,B.data);else for(c.texImage2D(34069+q,0,w,n,A,r[q]),k=0;k<z.length;k++)B=z[k],c.texImage2D(34069+q,k+1,w,n,A,B.image[q]);g.__maxMipLevel=z.length}v(b,u)&&p(34067,b,t.width,t.height);g.__version=b.version;if(b.onUpdate)b.onUpdate(b)}else c.activeTexture(33984+e),c.bindTexture(34067,g.__webglTexture)}}function B(a,b){c.activeTexture(33984+b);c.bindTexture(34067,d.get(a).__webglTexture)}function U(c,f,g){g?(a.texParameteri(c,10242,M[f.wrapS]),a.texParameteri(c,
10243,M[f.wrapT]),32879!==c&&35866!==c||a.texParameteri(c,32882,M[f.wrapR]),a.texParameteri(c,10240,da[f.magFilter]),a.texParameteri(c,10241,da[f.minFilter])):(a.texParameteri(c,10242,33071),a.texParameteri(c,10243,33071),32879!==c&&35866!==c||a.texParameteri(c,32882,33071),1001===f.wrapS&&1001===f.wrapT||console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping."),a.texParameteri(c,10240,t(f.magFilter)),a.texParameteri(c,
10241,t(f.minFilter)),1003!==f.minFilter&&1006!==f.minFilter&&console.warn("THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter."));!(g=b.get("EXT_texture_filter_anisotropic"))||1015===f.type&&null===b.get("OES_texture_float_linear")||1016===f.type&&null===(qa||b.get("OES_texture_half_float_linear"))||!(1<f.anisotropy||d.get(f).__currentAnisotropy)||(a.texParameterf(c,g.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(f.anisotropy,e.getMaxAnisotropy())),
d.get(f).__currentAnisotropy=f.anisotropy)}function wa(b,c){void 0===b.__webglInit&&(b.__webglInit=!0,c.addEventListener("dispose",r),b.__webglTexture=a.createTexture(),g.memory.textures++)}function A(b,d,e){var g=3553;d.isDataTexture2DArray&&(g=35866);d.isDataTexture3D&&(g=32879);wa(b,d);c.activeTexture(33984+e);c.bindTexture(g,b.__webglTexture);a.pixelStorei(37440,d.flipY);a.pixelStorei(37441,d.premultiplyAlpha);a.pixelStorei(3317,d.unpackAlignment);e=qa?!1:1001!==d.wrapS||1001!==d.wrapT||1003!==
d.minFilter&&1006!==d.minFilter;e=e&&!1===m(d.image);e=l(d.image,e,!1,D);var k=m(e)||qa,q=f.convert(d.format),r=f.convert(d.type),t=h(d.internalFormat,q,r);U(g,d,k);var u=d.mipmaps;if(d.isDepthTexture){t=6402;if(1015===d.type){if(!1===qa)throw Error("Float Depth Texture only supported in WebGL2.0");t=36012}else qa&&(t=33189);1026===d.format&&6402===t&&1012!==d.type&&1014!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture."),d.type=1012,
r=f.convert(d.type));1027===d.format&&(t=34041,1020!==d.type&&(console.warn("THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture."),d.type=1020,r=f.convert(d.type)));c.texImage2D(3553,0,t,e.width,e.height,0,q,r,null)}else if(d.isDataTexture)if(0<u.length&&k){for(var n=0,A=u.length;n<A;n++){var z=u[n];c.texImage2D(3553,n,t,z.width,z.height,0,q,r,z.data)}d.generateMipmaps=!1;b.__maxMipLevel=u.length-1}else c.texImage2D(3553,0,t,e.width,e.height,0,q,r,e.data),b.__maxMipLevel=
0;else if(d.isCompressedTexture){n=0;for(A=u.length;n<A;n++)z=u[n],1023!==d.format&&1022!==d.format?null!==q?c.compressedTexImage2D(3553,n,t,z.width,z.height,0,z.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):c.texImage2D(3553,n,t,z.width,z.height,0,q,r,z.data);b.__maxMipLevel=u.length-1}else if(d.isDataTexture2DArray)c.texImage3D(35866,0,t,e.width,e.height,e.depth,0,q,r,e.data),b.__maxMipLevel=0;else if(d.isDataTexture3D)c.texImage3D(32879,
0,t,e.width,e.height,e.depth,0,q,r,e.data),b.__maxMipLevel=0;else if(0<u.length&&k){n=0;for(A=u.length;n<A;n++)z=u[n],c.texImage2D(3553,n,t,q,r,z);d.generateMipmaps=!1;b.__maxMipLevel=u.length-1}else c.texImage2D(3553,0,t,q,r,e),b.__maxMipLevel=0;v(d,k)&&p(g,d,e.width,e.height);b.__version=d.version;if(d.onUpdate)d.onUpdate(d)}function aa(b,e,g,k){var l=f.convert(e.texture.format),m=f.convert(e.texture.type),p=h(e.texture.internalFormat,l,m);c.texImage2D(k,0,p,e.width,e.height,0,l,m,null);a.bindFramebuffer(36160,
b);a.framebufferTexture2D(36160,g,k,d.get(e.texture).__webglTexture,0);a.bindFramebuffer(36160,null)}function x(b,c,d){a.bindRenderbuffer(36161,b);if(c.depthBuffer&&!c.stencilBuffer)d?(d=C(c),a.renderbufferStorageMultisample(36161,d,33189,c.width,c.height)):a.renderbufferStorage(36161,33189,c.width,c.height),a.framebufferRenderbuffer(36160,36096,36161,b);else if(c.depthBuffer&&c.stencilBuffer)d?(d=C(c),a.renderbufferStorageMultisample(36161,d,35056,c.width,c.height)):a.renderbufferStorage(36161,34041,
c.width,c.height),a.framebufferRenderbuffer(36160,33306,36161,b);else{b=f.convert(c.texture.format);var e=f.convert(c.texture.type);b=h(c.texture.internalFormat,b,e);d?(d=C(c),a.renderbufferStorageMultisample(36161,d,b,c.width,c.height)):a.renderbufferStorage(36161,b,c.width,c.height)}a.bindRenderbuffer(36161,null)}function C(a){return qa&&a.isWebGLMultisampleRenderTarget?Math.min(y,a.samples):0}var qa=e.isWebGL2,F=e.maxTextures,E=e.maxCubemapSize,D=e.maxTextureSize,y=e.maxSamples,G=new WeakMap,I,
L=!1;try{L="undefined"!==typeof OffscreenCanvas&&null!==(new OffscreenCanvas(1,1)).getContext("2d")}catch(Nd){}var K=0,M={1E3:10497,1001:33071,1002:33648},da={1003:9728,1004:9984,1005:9986,1006:9729,1007:9985,1008:9987},ha=!1,P=!1;this.allocateTextureUnit=function(){var a=K;a>=F&&console.warn("THREE.WebGLTextures: Trying to use "+a+" texture units while this GPU supports only "+F);K+=1;return a};this.resetTextureUnits=function(){K=0};this.setTexture2D=n;this.setTexture2DArray=function(a,b){var e=
d.get(a);0<a.version&&e.__version!==a.version?A(e,a,b):(c.activeTexture(33984+b),c.bindTexture(35866,e.__webglTexture))};this.setTexture3D=function(a,b){var e=d.get(a);0<a.version&&e.__version!==a.version?A(e,a,b):(c.activeTexture(33984+b),c.bindTexture(32879,e.__webglTexture))};this.setTextureCube=w;this.setTextureCubeDynamic=B;this.setupRenderTarget=function(e){var k=d.get(e),l=d.get(e.texture);e.addEventListener("dispose",u);l.__webglTexture=a.createTexture();g.memory.textures++;var q=!0===e.isWebGLRenderTargetCube,
r=!0===e.isWebGLMultisampleRenderTarget,t=!0===e.isWebGLMultiviewRenderTarget,z=m(e)||qa;if(q){k.__webglFramebuffer=[];for(var A=0;6>A;A++)k.__webglFramebuffer[A]=a.createFramebuffer()}else if(k.__webglFramebuffer=a.createFramebuffer(),r)if(qa){k.__webglMultisampledFramebuffer=a.createFramebuffer();k.__webglColorRenderbuffer=a.createRenderbuffer();a.bindRenderbuffer(36161,k.__webglColorRenderbuffer);r=f.convert(e.texture.format);var w=f.convert(e.texture.type);r=h(e.texture.internalFormat,r,w);w=
C(e);a.renderbufferStorageMultisample(36161,w,r,e.width,e.height);a.bindFramebuffer(36160,k.__webglMultisampledFramebuffer);a.framebufferRenderbuffer(36160,36064,36161,k.__webglColorRenderbuffer);a.bindRenderbuffer(36161,null);e.depthBuffer&&(k.__webglDepthRenderbuffer=a.createRenderbuffer(),x(k.__webglDepthRenderbuffer,e,!0));a.bindFramebuffer(36160,null)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.");else if(t){A=e.width;var B=e.height;r=e.numViews;
a.bindFramebuffer(36160,k.__webglFramebuffer);var wa=b.get("OVR_multiview2");g.memory.textures+=2;w=a.createTexture();a.bindTexture(35866,w);a.texParameteri(35866,10240,9728);a.texParameteri(35866,10241,9728);a.texImage3D(35866,0,32856,A,B,r,0,6408,5121,null);wa.framebufferTextureMultiviewOVR(36160,36064,w,0,0,r);var F=a.createTexture();a.bindTexture(35866,F);a.texParameteri(35866,10240,9728);a.texParameteri(35866,10241,9728);a.texImage3D(35866,0,35056,A,B,r,0,34041,34042,null);wa.framebufferTextureMultiviewOVR(36160,
33306,F,0,0,r);B=Array(r);for(A=0;A<r;++A)B[A]=a.createFramebuffer(),a.bindFramebuffer(36160,B[A]),a.framebufferTextureLayer(36160,36064,w,0,A);k.__webglColorTexture=w;k.__webglDepthStencilTexture=F;k.__webglViewFramebuffers=B;a.bindFramebuffer(36160,null);a.bindTexture(35866,null)}if(q){c.bindTexture(34067,l.__webglTexture);U(34067,e.texture,z);for(A=0;6>A;A++)aa(k.__webglFramebuffer[A],e,36064,34069+A);v(e.texture,z)&&p(34067,e.texture,e.width,e.height);c.bindTexture(34067,null)}else t||(c.bindTexture(3553,
l.__webglTexture),U(3553,e.texture,z),aa(k.__webglFramebuffer,e,36064,3553),v(e.texture,z)&&p(3553,e.texture,e.width,e.height),c.bindTexture(3553,null));if(e.depthBuffer){k=d.get(e);l=!0===e.isWebGLRenderTargetCube;if(e.depthTexture){if(l)throw Error("target.depthTexture not supported in Cube render targets");if(e&&e.isWebGLRenderTargetCube)throw Error("Depth Texture with cube render targets is not supported");a.bindFramebuffer(36160,k.__webglFramebuffer);if(!e.depthTexture||!e.depthTexture.isDepthTexture)throw Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");
d.get(e.depthTexture).__webglTexture&&e.depthTexture.image.width===e.width&&e.depthTexture.image.height===e.height||(e.depthTexture.image.width=e.width,e.depthTexture.image.height=e.height,e.depthTexture.needsUpdate=!0);n(e.depthTexture,0);k=d.get(e.depthTexture).__webglTexture;if(1026===e.depthTexture.format)a.framebufferTexture2D(36160,36096,3553,k,0);else if(1027===e.depthTexture.format)a.framebufferTexture2D(36160,33306,3553,k,0);else throw Error("Unknown depthTexture format");}else if(l)for(k.__webglDepthbuffer=
[],l=0;6>l;l++)a.bindFramebuffer(36160,k.__webglFramebuffer[l]),k.__webglDepthbuffer[l]=a.createRenderbuffer(),x(k.__webglDepthbuffer[l],e);else a.bindFramebuffer(36160,k.__webglFramebuffer),k.__webglDepthbuffer=a.createRenderbuffer(),x(k.__webglDepthbuffer,e);a.bindFramebuffer(36160,null)}};this.updateRenderTargetMipmap=function(a){var b=a.texture,e=m(a)||qa;if(v(b,e)){e=a.isWebGLRenderTargetCube?34067:3553;var f=d.get(b).__webglTexture;c.bindTexture(e,f);p(e,b,a.width,a.height);c.bindTexture(e,
null)}};this.updateMultisampleRenderTarget=function(b){if(b.isWebGLMultisampleRenderTarget)if(qa){var c=d.get(b);a.bindFramebuffer(36008,c.__webglMultisampledFramebuffer);a.bindFramebuffer(36009,c.__webglFramebuffer);c=b.width;var e=b.height,f=16384;b.depthBuffer&&(f|=256);b.stencilBuffer&&(f|=1024);a.blitFramebuffer(0,0,c,e,0,0,c,e,f,9728)}else console.warn("THREE.WebGLRenderer: WebGLMultisampleRenderTarget can only be used with WebGL2.")};this.safeSetTexture2D=function(a,b){a&&a.isWebGLRenderTarget&&
(!1===ha&&(console.warn("THREE.WebGLTextures.safeSetTexture2D: don't use render targets as textures. Use their .texture property instead."),ha=!0),a=a.texture);n(a,b)};this.safeSetTextureCube=function(a,b){a&&a.isWebGLRenderTargetCube&&(!1===P&&(console.warn("THREE.WebGLTextures.safeSetTextureCube: don't use cube render targets as textures. Use their .texture property instead."),P=!0),a=a.texture);a&&a.isCubeTexture||Array.isArray(a.image)&&6===a.image.length?w(a,b):B(a,b)}}function Vh(a,b,c){var d=
c.isWebGL2;return{convert:function(a){if(1009===a)return 5121;if(1017===a)return 32819;if(1018===a)return 32820;if(1019===a)return 33635;if(1010===a)return 5120;if(1011===a)return 5122;if(1012===a)return 5123;if(1013===a)return 5124;if(1014===a)return 5125;if(1015===a)return 5126;if(1016===a){if(d)return 5131;var c=b.get("OES_texture_half_float");return null!==c?c.HALF_FLOAT_OES:null}if(1021===a)return 6406;if(1022===a)return 6407;if(1023===a)return 6408;if(1024===a)return 6409;if(1025===a)return 6410;
if(1026===a)return 6402;if(1027===a)return 34041;if(1028===a)return 6403;if(1029===a)return 36244;if(1030===a)return 33319;if(1031===a)return 33320;if(1032===a)return 36248;if(1033===a)return 36249;if(33776===a||33777===a||33778===a||33779===a)if(c=b.get("WEBGL_compressed_texture_s3tc"),null!==c){if(33776===a)return c.COMPRESSED_RGB_S3TC_DXT1_EXT;if(33777===a)return c.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(33778===a)return c.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(33779===a)return c.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;
if(35840===a||35841===a||35842===a||35843===a)if(c=b.get("WEBGL_compressed_texture_pvrtc"),null!==c){if(35840===a)return c.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(35841===a)return c.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(35842===a)return c.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(35843===a)return c.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(36196===a)return c=b.get("WEBGL_compressed_texture_etc1"),null!==c?c.COMPRESSED_RGB_ETC1_WEBGL:null;if(37808===a||37809===a||37810===a||37811===a||37812===a||37813===
a||37814===a||37815===a||37816===a||37817===a||37818===a||37819===a||37820===a||37821===a)return c=b.get("WEBGL_compressed_texture_astc"),null!==c?a:null;if(1020===a){if(d)return 34042;c=b.get("WEBGL_depth_texture");return null!==c?c.UNSIGNED_INT_24_8_WEBGL:null}}}}function og(a,b,c,d){va.call(this,a,b,d);this.stencilBuffer=this.depthBuffer=!1;this.numViews=c}function Gk(a,b){function c(a){if(a.isArrayCamera)return a.cameras;v[0]=a;return v}function d(a){if(void 0===a.isArrayCamera)return!0;a=a.cameras;
if(a.length>t)return!1;for(var b=1,c=a.length;b<c;b++)if(a[0].viewport.z!==a[b].viewport.z||a[0].viewport.w!==a[b].viewport.w)return!1;return!0}var e=a.extensions,f=a.properties,g,k,l,m,v,p,h,t=0;this.isAvailable=function(){if(void 0===h){var a=e.get("OVR_multiview2");if(h=null!==a&&!1===b.getContextAttributes().antialias)for(t=b.getParameter(a.MAX_VIEWS_OVR),g=new og(0,0,2),p=new x,m=[],l=[],v=[],a=0;a<t;a++)m[a]=new P,l[a]=new za}return h};this.attachCamera=function(b){if(!1!==d(b)){(k=a.getRenderTarget())?
p.set(k.width,k.height):a.getDrawingBufferSize(p);if(b.isArrayCamera){var c=b.cameras[0].viewport;g.setSize(c.z,c.w);g.setNumViews(b.cameras.length)}else g.setSize(p.x,p.y),g.setNumViews(2);a.setRenderTarget(g)}};this.detachCamera=function(c){if(g===a.getRenderTarget()){a.setRenderTarget(k);var d=g,e=d.numViews,l=f.get(d).__webglViewFramebuffers,m=d.width;d=d.height;if(c.isArrayCamera)for(var v=0;v<e;v++){var h=c.cameras[v].viewport,q=h.x,r=h.y,t=q+h.z;h=r+h.w;b.bindFramebuffer(36008,l[v]);b.blitFramebuffer(0,
0,m,d,q,r,t,h,16384,9728)}else b.bindFramebuffer(36008,l[0]),b.blitFramebuffer(0,0,m,d,0,0,p.x,p.y,16384,9728)}};this.updateCameraProjectionMatricesUniform=function(a,d){a=c(a);for(var e=0;e<a.length;e++)m[e].copy(a[e].projectionMatrix);d.setValue(b,"projectionMatrices",m)};this.updateCameraViewMatricesUniform=function(a,d){a=c(a);for(var e=0;e<a.length;e++)m[e].copy(a[e].matrixWorldInverse);d.setValue(b,"viewMatrices",m)};this.updateObjectMatricesUniforms=function(a,d,e){d=c(d);for(var f=0;f<d.length;f++)m[f].multiplyMatrices(d[f].matrixWorldInverse,
a.matrixWorld),l[f].getNormalMatrix(m[f]);e.setValue(b,"modelViewMatrices",m);e.setValue(b,"normalMatrices",l)}}function Pe(a){pa.call(this);this.cameras=a||[]}function Od(){D.call(this);this.type="Group"}function Wh(a,b){function c(a){var b=t.get(a.inputSource);b&&b.dispatchEvent({type:a.type})}function d(){t.forEach(function(a,b){a.dispatchEvent({type:"disconnected",data:b});a.visible=!1});t.clear();a.setFramebuffer(null);a.setRenderTarget(a.getRenderTarget());x.stop();k.dispatchEvent({type:"sessionend"});
k.isPresenting=!1}function e(a){m=a;x.setContext(l);x.start();k.dispatchEvent({type:"sessionstart"});k.isPresenting=!0}function f(a){for(var b=l.inputSources,c=0;c<h.length;c++)t.set(b[c],h[c]);for(c=0;c<a.removed.length;c++){b=a.removed[c];var d=t.get(b);d&&(d.dispatchEvent({type:"disconnected",data:b}),t.delete(b))}for(c=0;c<a.added.length;c++)b=a.added[c],(d=t.get(b))&&d.dispatchEvent({type:"connected",data:b})}function g(a,b){null===b?a.matrixWorld.copy(a.matrix):a.matrixWorld.multiplyMatrices(b.matrixWorld,
a.matrix);a.matrixWorldInverse.getInverse(a.matrixWorld)}var k=this,l=null,m=null,v="local-floor",p=null,h=[],t=new Map,r=new pa;r.layers.enable(1);r.viewport=new S;var u=new pa;u.layers.enable(2);u.viewport=new S;var z=new Pe([r,u]);z.layers.enable(1);z.layers.enable(2);this.isPresenting=this.enabled=!1;this.getController=function(a){var b=h[a];void 0===b&&(b=new Od,b.matrixAutoUpdate=!1,b.visible=!1,h[a]=b);return b};this.setFramebufferScaleFactor=function(){};this.setReferenceSpaceType=function(a){v=
a};this.getReferenceSpace=function(){return m};this.getSession=function(){return l};this.setSession=function(a){l=a;null!==l&&(l.addEventListener("select",c),l.addEventListener("selectstart",c),l.addEventListener("selectend",c),l.addEventListener("squeeze",c),l.addEventListener("squeezestart",c),l.addEventListener("squeezeend",c),l.addEventListener("end",d),a=b.getContextAttributes(),a=new XRWebGLLayer(l,b,{antialias:a.antialias,alpha:a.alpha,depth:a.depth,stencil:a.stencil}),l.updateRenderState({baseLayer:a}),
l.requestReferenceSpace(v).then(e),l.addEventListener("inputsourceschange",f))};var w=new n,B=new n;this.getCamera=function(a){var b=a.parent,c=z.cameras;g(z,b);for(var d=0;d<c.length;d++)g(c[d],b);a.matrixWorld.copy(z.matrixWorld);a=a.children;d=0;for(b=a.length;d<b;d++)a[d].updateMatrixWorld(!0);w.setFromMatrixPosition(r.matrixWorld);B.setFromMatrixPosition(u.matrixWorld);d=w.distanceTo(B);var e=r.projectionMatrix.elements,f=u.projectionMatrix.elements,k=e[14]/(e[10]-1);a=e[14]/(e[10]+1);b=(e[9]+
1)/e[5];c=(e[9]-1)/e[5];var l=(e[8]-1)/e[0],m=(f[8]+1)/f[0];f=k*l;e=k*m;m=d/(-l+m);l=m*-l;r.matrixWorld.decompose(z.position,z.quaternion,z.scale);z.translateX(l);z.translateZ(m);z.matrixWorld.compose(z.position,z.quaternion,z.scale);z.matrixWorldInverse.getInverse(z.matrixWorld);k+=m;m=a+m;z.projectionMatrix.makePerspective(f-l,e+(d-l),b*a/m*k,c*a/m*k,k,m);return z};var U=null,x=new yh;x.setAnimationLoop(function(b,c){p=c.getViewerPose(m);if(null!==p){var d=p.views,e=l.renderState.baseLayer;a.setFramebuffer(e.framebuffer);
for(var f=0;f<d.length;f++){var g=d[f],k=e.getViewport(g),v=z.cameras[f];v.matrix.fromArray(g.transform.inverse.matrix).getInverse(v.matrix);v.projectionMatrix.fromArray(g.projectionMatrix);v.viewport.set(k.x,k.y,k.width,k.height);0===f&&z.matrix.copy(v.matrix)}}d=l.inputSources;for(f=0;f<h.length;f++){e=h[f];if(g=d[f])if(g=c.getPose(g.targetRaySpace,m),null!==g){e.matrix.fromArray(g.transform.matrix);e.matrix.decompose(e.position,e.rotation,e.scale);e.visible=!0;continue}e.visible=!1}U&&U(b,c)});
this.setAnimationLoop=function(a){U=a};this.dispose=function(){}}function pg(a){var b;function c(){sa=new wj(H);Ha=new uj(H,sa,a);!1===Ha.isWebGL2&&(sa.get("WEBGL_depth_texture"),sa.get("OES_texture_float"),sa.get("OES_texture_half_float"),sa.get("OES_texture_half_float_linear"),sa.get("OES_standard_derivatives"),sa.get("OES_element_index_uint"),sa.get("ANGLE_instanced_arrays"));sa.get("OES_texture_float_linear");oa=new Vh(H,sa,Ha);Z=new Ek(H,sa,Ha);Z.scissor(X.copy(ia).multiplyScalar(R).floor());
Z.viewport(fb.copy(fa).multiplyScalar(R).floor());ea=new zj(H);W=new vk;V=new Fk(H,sa,Z,W,Ha,oa,ea);ma=new rj(H);za=new xj(H,ma,ea);ta=new Cj(H,za,ma,ea);Aa=new Bj(H);ra=new uk(y,sa,Ha);ya=new yk;va=new Dk;na=new sj(y,Z,ta,A);Ba=new tj(H,sa,ea,Ha);Da=new yj(H,sa,ea,Ha);ea.programs=ra.programs;y.capabilities=Ha;y.extensions=sa;y.properties=W;y.renderLists=ya;y.state=Z;y.info=ea}function d(a){a.preventDefault();console.log("THREE.WebGLRenderer: Context Lost.");I=!0}function e(){console.log("THREE.WebGLRenderer: Context Restored.");
I=!1;c()}function f(a){a=a.target;a.removeEventListener("dispose",f);g(a);W.remove(a)}function g(a){var b=W.get(a).program;a.program=void 0;void 0!==b&&ra.releaseProgram(b)}function k(a,b){a.render(function(a){y.renderBufferImmediate(a,b)})}function l(a,b,c,d){if(!1!==a.visible){if(a.layers.test(b.layers))if(a.isGroup)c=a.renderOrder;else if(a.isLOD)!0===a.autoUpdate&&a.update(b);else if(a.isLight)F.pushLight(a),a.castShadow&&F.pushShadow(a);else if(a.isSprite){if(!a.frustumCulled||lg.intersectsSprite(a)){d&&
Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md);var e=ta.update(a),f=a.material;f.visible&&G.push(a,e,f,c,Ib.z,null)}}else if(a.isImmediateRenderObject)d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md),G.push(a,null,a.material,c,Ib.z,null);else if(a.isMesh||a.isLine||a.isPoints)if(a.isSkinnedMesh&&a.skeleton.frame!==ea.render.frame&&(a.skeleton.update(),a.skeleton.frame=ea.render.frame),!a.frustumCulled||lg.intersectsObject(a))if(d&&Ib.setFromMatrixPosition(a.matrixWorld).applyMatrix4(Md),
e=ta.update(a),f=a.material,Array.isArray(f))for(var g=e.groups,k=0,m=g.length;k<m;k++){var p=g[k],v=f[p.materialIndex];v&&v.visible&&G.push(a,e,v,c,Ib.z,p)}else f.visible&&G.push(a,e,f,c,Ib.z,null);a=a.children;k=0;for(m=a.length;k<m;k++)l(a[k],b,c,d)}}function m(a,b,c,d){for(var e=0,f=a.length;e<f;e++){var g=a[e],k=g.object,l=g.geometry,m=void 0===d?g.material:d;g=g.group;if(c.isArrayCamera)if(T=c,ka.enabled&&ua.isAvailable())v(k,b,c,l,m,g);else for(var p=c.cameras,h=0,q=p.length;h<q;h++){var r=
p[h];k.layers.test(r.layers)&&(Z.viewport(fb.copy(r.viewport)),F.setupLights(r),v(k,b,r,l,m,g))}else T=null,v(k,b,c,l,m,g)}}function v(a,c,d,e,f,g){a.onBeforeRender(y,c,d,e,f,g);F=va.get(c,T||d);a.modelViewMatrix.multiplyMatrices(d.matrixWorldInverse,a.matrixWorld);a.normalMatrix.getNormalMatrix(a.modelViewMatrix);if(a.isImmediateRenderObject){var l=h(d,c,f,a);Z.setMaterial(f);da=b=null;ha=!1;k(a,l)}else y.renderBufferDirect(d,c,e,f,a,g);a.onAfterRender(y,c,d,e,f,g);F=va.get(c,T||d)}function p(a,
b,c){var d=W.get(a),e=F.state.lights,k=e.state.version;c=ra.getParameters(a,e.state,F.state.shadowsArray,b,Ua.numPlanes,Ua.numIntersection,c);var l=ra.getProgramCacheKey(a,c),m=d.program,p=!0;if(void 0===m)a.addEventListener("dispose",f);else if(m.cacheKey!==l)g(a);else{if(d.lightsStateVersion!==k)d.lightsStateVersion=k;else if(void 0!==c.shaderID)return;p=!1}p&&(c.shaderID?(l=eb[c.shaderID],d.shader={name:a.type,uniforms:bc(l.uniforms),vertexShader:l.vertexShader,fragmentShader:l.fragmentShader}):
d.shader={name:a.type,uniforms:a.uniforms,vertexShader:a.vertexShader,fragmentShader:a.fragmentShader},a.onBeforeCompile(d.shader,y),l=ra.getProgramCacheKey(a,c),m=ra.acquireProgram(a,d.shader,c,l),d.program=m,d.environment=a.isMeshStandardMaterial?b.environment:null,d.outputEncoding=y.outputEncoding,a.program=m);c=m.getAttributes();if(a.morphTargets)for(l=a.numSupportedMorphTargets=0;l<y.maxMorphTargets;l++)0<=c["morphTarget"+l]&&a.numSupportedMorphTargets++;if(a.morphNormals)for(l=a.numSupportedMorphNormals=
0;l<y.maxMorphNormals;l++)0<=c["morphNormal"+l]&&a.numSupportedMorphNormals++;c=d.shader.uniforms;if(!a.isShaderMaterial&&!a.isRawShaderMaterial||!0===a.clipping)d.numClippingPlanes=Ua.numPlanes,d.numIntersection=Ua.numIntersection,c.clippingPlanes=Ua.uniform;d.fog=b.fog;d.needsLights=a.isMeshLambertMaterial||a.isMeshToonMaterial||a.isMeshPhongMaterial||a.isMeshStandardMaterial||a.isShadowMaterial||a.isShaderMaterial&&!0===a.lights;d.lightsStateVersion=k;d.needsLights&&(c.ambientLightColor.value=
e.state.ambient,c.lightProbe.value=e.state.probe,c.directionalLights.value=e.state.directional,c.spotLights.value=e.state.spot,c.rectAreaLights.value=e.state.rectArea,c.pointLights.value=e.state.point,c.hemisphereLights.value=e.state.hemi,c.directionalShadowMap.value=e.state.directionalShadowMap,c.directionalShadowMatrix.value=e.state.directionalShadowMatrix,c.spotShadowMap.value=e.state.spotShadowMap,c.spotShadowMatrix.value=e.state.spotShadowMatrix,c.pointShadowMap.value=e.state.pointShadowMap,
c.pointShadowMatrix.value=e.state.pointShadowMatrix);a=d.program.getUniforms();a=Fb.seqWithValue(a.seq,c);d.uniformsList=a}function h(a,b,c,d){V.resetTextureUnits();var e=b.fog,f=c.isMeshStandardMaterial?b.environment:null,g=W.get(c),k=F.state.lights;pa&&(mg||a!==Y)&&Ua.setState(c.clippingPlanes,c.clipIntersection,c.clipShadows,a,g,a===Y&&c.id===Oe);c.version===g.__version&&(void 0===g.program?c.needsUpdate=!0:c.fog&&g.fog!==e?c.needsUpdate=!0:g.environment!==f?c.needsUpdate=!0:g.needsLights&&g.lightsStateVersion!==
k.state.version?c.needsUpdate=!0:void 0===g.numClippingPlanes||g.numClippingPlanes===Ua.numPlanes&&g.numIntersection===Ua.numIntersection?g.outputEncoding!==y.outputEncoding&&(c.needsUpdate=!0):c.needsUpdate=!0);c.version!==g.__version&&(p(c,b,d),g.__version=c.version);var l=!1,m=!1,v=!1;b=g.program;k=b.getUniforms();var h=g.shader.uniforms;Z.useProgram(b.program)&&(v=m=l=!0);c.id!==Oe&&(Oe=c.id,m=!0);if(l||Y!==a){0<b.numMultiviewViews?ua.updateCameraProjectionMatricesUniform(a,k):k.setValue(H,"projectionMatrix",
a.projectionMatrix);Ha.logarithmicDepthBuffer&&k.setValue(H,"logDepthBufFC",2/(Math.log(a.far+1)/Math.LN2));Y!==a&&(Y=a,v=m=!0);if(c.isShaderMaterial||c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshStandardMaterial||c.envMap)l=k.map.cameraPosition,void 0!==l&&l.setValue(H,Ib.setFromMatrixPosition(a.matrixWorld));(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial)&&k.setValue(H,"isOrthographic",!0===a.isOrthographicCamera);
if(c.isMeshPhongMaterial||c.isMeshToonMaterial||c.isMeshLambertMaterial||c.isMeshBasicMaterial||c.isMeshStandardMaterial||c.isShaderMaterial||c.skinning)0<b.numMultiviewViews?ua.updateCameraViewMatricesUniform(a,k):k.setValue(H,"viewMatrix",a.matrixWorldInverse)}if(c.skinning&&(k.setOptional(H,d,"bindMatrix"),k.setOptional(H,d,"bindMatrixInverse"),l=d.skeleton)){var q=l.bones;if(Ha.floatVertexTextures){if(void 0===l.boneTexture){q=Math.sqrt(4*q.length);q=O.ceilPowerOfTwo(q);q=Math.max(q,4);var n=
new Float32Array(q*q*4);n.set(l.boneMatrices);var u=new cc(n,q,q,1023,1015);l.boneMatrices=n;l.boneTexture=u;l.boneTextureSize=q}k.setValue(H,"boneTexture",l.boneTexture,V);k.setValue(H,"boneTextureSize",l.boneTextureSize)}else k.setOptional(H,l,"boneMatrices")}if(m||g.receiveShadow!==d.receiveShadow)g.receiveShadow=d.receiveShadow,k.setValue(H,"receiveShadow",d.receiveShadow);if(m){k.setValue(H,"toneMappingExposure",y.toneMappingExposure);k.setValue(H,"toneMappingWhitePoint",y.toneMappingWhitePoint);
g.needsLights&&(m=v,h.ambientLightColor.needsUpdate=m,h.lightProbe.needsUpdate=m,h.directionalLights.needsUpdate=m,h.pointLights.needsUpdate=m,h.spotLights.needsUpdate=m,h.rectAreaLights.needsUpdate=m,h.hemisphereLights.needsUpdate=m);e&&c.fog&&(h.fogColor.value.copy(e.color),e.isFog?(h.fogNear.value=e.near,h.fogFar.value=e.far):e.isFogExp2&&(h.fogDensity.value=e.density));if(c.isMeshBasicMaterial)t(h,c);else if(c.isMeshLambertMaterial)t(h,c),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap);else if(c.isMeshToonMaterial)t(h,
c),h.specular.value.copy(c.specular),h.shininess.value=Math.max(c.shininess,1E-4),c.gradientMap&&(h.gradientMap.value=c.gradientMap),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=
c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshPhongMaterial)t(h,c),h.specular.value.copy(c.specular),h.shininess.value=Math.max(c.shininess,1E-4),c.emissiveMap&&(h.emissiveMap.value=c.emissiveMap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=
c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshStandardMaterial)t(h,c,f),c.isMeshPhysicalMaterial?(r(h,c,f),h.reflectivity.value=c.reflectivity,h.clearcoat.value=c.clearcoat,h.clearcoatRoughness.value=c.clearcoatRoughness,c.sheen&&h.sheen.value.copy(c.sheen),c.clearcoatNormalMap&&(h.clearcoatNormalScale.value.copy(c.clearcoatNormalScale),h.clearcoatNormalMap.value=c.clearcoatNormalMap,1===c.side&&h.clearcoatNormalScale.value.negate()),
h.transparency.value=c.transparency):r(h,c,f);else if(c.isMeshMatcapMaterial)t(h,c),c.matcap&&(h.matcap.value=c.matcap),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);
else if(c.isMeshDepthMaterial)t(h,c),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isMeshDistanceMaterial)t(h,c),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias),h.referencePosition.value.copy(c.referencePosition),h.nearDistance.value=c.nearDistance,h.farDistance.value=c.farDistance;
else if(c.isMeshNormalMaterial)t(h,c),c.bumpMap&&(h.bumpMap.value=c.bumpMap,h.bumpScale.value=c.bumpScale,1===c.side&&(h.bumpScale.value*=-1)),c.normalMap&&(h.normalMap.value=c.normalMap,h.normalScale.value.copy(c.normalScale),1===c.side&&h.normalScale.value.negate()),c.displacementMap&&(h.displacementMap.value=c.displacementMap,h.displacementScale.value=c.displacementScale,h.displacementBias.value=c.displacementBias);else if(c.isLineBasicMaterial)h.diffuse.value.copy(c.color),h.opacity.value=c.opacity,
c.isLineDashedMaterial&&(h.dashSize.value=c.dashSize,h.totalSize.value=c.dashSize+c.gapSize,h.scale.value=c.scale);else if(c.isPointsMaterial){h.diffuse.value.copy(c.color);h.opacity.value=c.opacity;h.size.value=c.size*R;h.scale.value=.5*J;c.map&&(h.map.value=c.map);c.alphaMap&&(h.alphaMap.value=c.alphaMap);if(c.map)var z=c.map;else c.alphaMap&&(z=c.alphaMap);void 0!==z&&(!0===z.matrixAutoUpdate&&z.updateMatrix(),h.uvTransform.value.copy(z.matrix))}else if(c.isSpriteMaterial){h.diffuse.value.copy(c.color);
h.opacity.value=c.opacity;h.rotation.value=c.rotation;c.map&&(h.map.value=c.map);c.alphaMap&&(h.alphaMap.value=c.alphaMap);if(c.map)var w=c.map;else c.alphaMap&&(w=c.alphaMap);void 0!==w&&(!0===w.matrixAutoUpdate&&w.updateMatrix(),h.uvTransform.value.copy(w.matrix))}else c.isShadowMaterial&&(h.color.value.copy(c.color),h.opacity.value=c.opacity);void 0!==h.ltc_1&&(h.ltc_1.value=E.LTC_1);void 0!==h.ltc_2&&(h.ltc_2.value=E.LTC_2);Fb.upload(H,g.uniformsList,h,V);c.isShaderMaterial&&(c.uniformsNeedUpdate=
!1)}c.isShaderMaterial&&!0===c.uniformsNeedUpdate&&(Fb.upload(H,g.uniformsList,h,V),c.uniformsNeedUpdate=!1);c.isSpriteMaterial&&k.setValue(H,"center",d.center);0<b.numMultiviewViews?ua.updateObjectMatricesUniforms(d,a,k):(k.setValue(H,"modelViewMatrix",d.modelViewMatrix),k.setValue(H,"normalMatrix",d.normalMatrix));k.setValue(H,"modelMatrix",d.matrixWorld);return b}function t(a,b,c){a.opacity.value=b.opacity;b.color&&a.diffuse.value.copy(b.color);b.emissive&&a.emissive.value.copy(b.emissive).multiplyScalar(b.emissiveIntensity);
b.map&&(a.map.value=b.map);b.alphaMap&&(a.alphaMap.value=b.alphaMap);b.specularMap&&(a.specularMap.value=b.specularMap);if(c=b.envMap||c)a.envMap.value=c,a.flipEnvMap.value=c.isCubeTexture?-1:1,a.reflectivity.value=b.reflectivity,a.refractionRatio.value=b.refractionRatio,a.maxMipLevel.value=W.get(c).__maxMipLevel;b.lightMap&&(a.lightMap.value=b.lightMap,a.lightMapIntensity.value=b.lightMapIntensity);b.aoMap&&(a.aoMap.value=b.aoMap,a.aoMapIntensity.value=b.aoMapIntensity);if(b.map)var d=b.map;else b.specularMap?
d=b.specularMap:b.displacementMap?d=b.displacementMap:b.normalMap?d=b.normalMap:b.bumpMap?d=b.bumpMap:b.roughnessMap?d=b.roughnessMap:b.metalnessMap?d=b.metalnessMap:b.alphaMap?d=b.alphaMap:b.emissiveMap&&(d=b.emissiveMap);void 0!==d&&(d.isWebGLRenderTarget&&(d=d.texture),!0===d.matrixAutoUpdate&&d.updateMatrix(),a.uvTransform.value.copy(d.matrix));if(b.aoMap)var e=b.aoMap;else b.lightMap&&(e=b.lightMap);void 0!==e&&(e.isWebGLRenderTarget&&(e=e.texture),!0===e.matrixAutoUpdate&&e.updateMatrix(),a.uv2Transform.value.copy(e.matrix))}
function r(a,b,c){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=
b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);if(b.envMap||c)a.envMapIntensity.value=b.envMapIntensity}a=a||{};var u=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml","canvas"),z=void 0!==a.context?a.context:null,w=void 0!==a.alpha?a.alpha:!1,B=void 0!==a.depth?a.depth:!0,U=void 0!==a.stencil?a.stencil:!0,wa=void 0!==a.antialias?a.antialias:!1,A=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,aa=
void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,C=void 0!==a.powerPreference?a.powerPreference:"default",D=void 0!==a.failIfMajorPerformanceCaveat?a.failIfMajorPerformanceCaveat:!1,G=null,F=null;this.domElement=u;this.debug={checkShaderErrors:!0};this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.outputEncoding=3E3;this.physicallyCorrectLights=!1;this.toneMappingWhitePoint=
this.toneMappingExposure=this.toneMapping=1;this.maxMorphTargets=8;this.maxMorphNormals=4;var y=this,I=!1,K=null,L=0,M=0,N=null,Q=null,Oe=-1;var da=b=null;var ha=!1;var Y=null,T=null,fb=new S,X=new S,ba=null,ca=u.width,J=u.height,R=1,ja=null,la=null,fa=new S(0,0,ca,J),ia=new S(0,0,ca,J),kg=!1,lg=new Hd,Ua=new vj,pa=!1,mg=!1,Md=new P,Ib=new n;try{w={alpha:w,depth:B,stencil:U,antialias:wa,premultipliedAlpha:A,preserveDrawingBuffer:aa,powerPreference:C,failIfMajorPerformanceCaveat:D,xrCompatible:!0};
u.addEventListener("webglcontextlost",d,!1);u.addEventListener("webglcontextrestored",e,!1);var H=z||u.getContext("webgl",w)||u.getContext("experimental-webgl",w);if(null===H){if(null!==u.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===H.getShaderPrecisionFormat&&(H.getShaderPrecisionFormat=function(){return{rangeMin:1,rangeMax:1,precision:1}})}catch(Xh){throw console.error("THREE.WebGLRenderer: "+
Xh.message),Xh;}var sa,Ha,Z,ea,W,V,ma,za,ta,ra,ya,va,na,Aa,Ba,Da,oa;c();var ka=new Wh(y,H);this.xr=ka;var ua=new Gk(y,H),Fa=new Th(y,ta,Ha.maxTextureSize);this.shadowMap=Fa;this.getContext=function(){return H};this.getContextAttributes=function(){return H.getContextAttributes()};this.forceContextLoss=function(){var a=sa.get("WEBGL_lose_context");a&&a.loseContext()};this.forceContextRestore=function(){var a=sa.get("WEBGL_lose_context");a&&a.restoreContext()};this.getPixelRatio=function(){return R};
this.setPixelRatio=function(a){void 0!==a&&(R=a,this.setSize(ca,J,!1))};this.getSize=function(a){void 0===a&&(console.warn("WebGLRenderer: .getsize() now requires a Vector2 as an argument"),a=new x);return a.set(ca,J)};this.setSize=function(a,b,c){ka.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(ca=a,J=b,u.width=Math.floor(a*R),u.height=Math.floor(b*R),!1!==c&&(u.style.width=a+"px",u.style.height=b+"px"),this.setViewport(0,0,a,b))};this.getDrawingBufferSize=
function(a){void 0===a&&(console.warn("WebGLRenderer: .getdrawingBufferSize() now requires a Vector2 as an argument"),a=new x);return a.set(ca*R,J*R).floor()};this.setDrawingBufferSize=function(a,b,c){ca=a;J=b;R=c;u.width=Math.floor(a*c);u.height=Math.floor(b*c);this.setViewport(0,0,a,b)};this.getCurrentViewport=function(a){void 0===a&&(console.warn("WebGLRenderer: .getCurrentViewport() now requires a Vector4 as an argument"),a=new S);return a.copy(fb)};this.getViewport=function(a){return a.copy(fa)};
this.setViewport=function(a,b,c,d){a.isVector4?fa.set(a.x,a.y,a.z,a.w):fa.set(a,b,c,d);Z.viewport(fb.copy(fa).multiplyScalar(R).floor())};this.getScissor=function(a){return a.copy(ia)};this.setScissor=function(a,b,c,d){a.isVector4?ia.set(a.x,a.y,a.z,a.w):ia.set(a,b,c,d);Z.scissor(X.copy(ia).multiplyScalar(R).floor())};this.getScissorTest=function(){return kg};this.setScissorTest=function(a){Z.setScissorTest(kg=a)};this.setOpaqueSort=function(a){ja=a};this.setTransparentSort=function(a){la=a};this.getClearColor=
function(){return na.getClearColor()};this.setClearColor=function(){na.setClearColor.apply(na,arguments)};this.getClearAlpha=function(){return na.getClearAlpha()};this.setClearAlpha=function(){na.setClearAlpha.apply(na,arguments)};this.clear=function(a,b,c){var d=0;if(void 0===a||a)d|=16384;if(void 0===b||b)d|=256;if(void 0===c||c)d|=1024;H.clear(d)};this.clearColor=function(){this.clear(!0,!1,!1)};this.clearDepth=function(){this.clear(!1,!0,!1)};this.clearStencil=function(){this.clear(!1,!1,!0)};
this.dispose=function(){u.removeEventListener("webglcontextlost",d,!1);u.removeEventListener("webglcontextrestored",e,!1);ya.dispose();va.dispose();W.dispose();ta.dispose();ka.dispose();Ca.stop()};this.renderBufferImmediate=function(a,b){Z.initAttributes();var c=W.get(a);a.hasPositions&&!c.position&&(c.position=H.createBuffer());a.hasNormals&&!c.normal&&(c.normal=H.createBuffer());a.hasUvs&&!c.uv&&(c.uv=H.createBuffer());a.hasColors&&!c.color&&(c.color=H.createBuffer());b=b.getAttributes();a.hasPositions&&
(H.bindBuffer(34962,c.position),H.bufferData(34962,a.positionArray,35048),Z.enableAttribute(b.position),H.vertexAttribPointer(b.position,3,5126,!1,0,0));a.hasNormals&&(H.bindBuffer(34962,c.normal),H.bufferData(34962,a.normalArray,35048),Z.enableAttribute(b.normal),H.vertexAttribPointer(b.normal,3,5126,!1,0,0));a.hasUvs&&(H.bindBuffer(34962,c.uv),H.bufferData(34962,a.uvArray,35048),Z.enableAttribute(b.uv),H.vertexAttribPointer(b.uv,2,5126,!1,0,0));a.hasColors&&(H.bindBuffer(34962,c.color),H.bufferData(34962,
a.colorArray,35048),Z.enableAttribute(b.color),H.vertexAttribPointer(b.color,3,5126,!1,0,0));Z.disableUnusedAttributes();H.drawArrays(4,0,a.count);a.count=0};var Ga=new pb;this.renderBufferDirect=function(a,c,d,e,f,g){null===c&&(c=Ga);var k=f.isMesh&&0>f.matrixWorld.determinant(),l=h(a,c,e,f);Z.setMaterial(e,k);var m=!1;if(b!==d.id||da!==l.id||ha!==(!0===e.wireframe))b=d.id,da=l.id,ha=!0===e.wireframe,m=!0;if(e.morphTargets||e.morphNormals)Aa.update(f,d,e,l),m=!0;a=d.index;c=d.attributes.position;
if(null===a){if(void 0===c||0===c.count)return}else if(0===a.count)return;var p=1;!0===e.wireframe&&(a=za.getWireframeAttribute(d),p=2);k=Ba;if(null!==a){var v=ma.get(a);k=Da;k.setIndex(v)}if(m){if(!1!==Ha.isWebGL2||!f.isInstancedMesh&&!d.isInstancedBufferGeometry||null!==sa.get("ANGLE_instanced_arrays")){Z.initAttributes();m=d.attributes;l=l.getAttributes();var q=e.defaultAttributeValues;for(x in l){var r=l[x];if(0<=r){var t=m[x];if(void 0!==t){var n=t.normalized,u=t.itemSize,z=ma.get(t);if(void 0!==
z){var w=z.buffer,A=z.type;z=z.bytesPerElement;if(t.isInterleavedBufferAttribute){var B=t.data,U=B.stride;t=t.offset;B&&B.isInstancedInterleavedBuffer?(Z.enableAttributeAndDivisor(r,B.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=B.meshPerAttribute*B.count)):Z.enableAttribute(r);H.bindBuffer(34962,w);H.vertexAttribPointer(r,u,A,n,U*z,t*z)}else t.isInstancedBufferAttribute?(Z.enableAttributeAndDivisor(r,t.meshPerAttribute),void 0===d.maxInstancedCount&&(d.maxInstancedCount=t.meshPerAttribute*
t.count)):Z.enableAttribute(r),H.bindBuffer(34962,w),H.vertexAttribPointer(r,u,A,n,0,0)}}else if("instanceMatrix"===x)z=ma.get(f.instanceMatrix),void 0!==z&&(w=z.buffer,A=z.type,Z.enableAttributeAndDivisor(r+0,1),Z.enableAttributeAndDivisor(r+1,1),Z.enableAttributeAndDivisor(r+2,1),Z.enableAttributeAndDivisor(r+3,1),H.bindBuffer(34962,w),H.vertexAttribPointer(r+0,4,A,!1,64,0),H.vertexAttribPointer(r+1,4,A,!1,64,16),H.vertexAttribPointer(r+2,4,A,!1,64,32),H.vertexAttribPointer(r+3,4,A,!1,64,48));else if(void 0!==
q&&(n=q[x],void 0!==n))switch(n.length){case 2:H.vertexAttrib2fv(r,n);break;case 3:H.vertexAttrib3fv(r,n);break;case 4:H.vertexAttrib4fv(r,n);break;default:H.vertexAttrib1fv(r,n)}}}Z.disableUnusedAttributes()}null!==a&&H.bindBuffer(34963,v.buffer)}var x=d.drawRange.start*p;m=null!==g?g.start*p:0;v=Math.max(x,m);g=Math.max(0,Math.min(null!==a?a.count:c.count,x+d.drawRange.count*p,m+(null!==g?g.count*p:Infinity))-1-v+1);0!==g&&(f.isMesh?!0===e.wireframe?(Z.setLineWidth(e.wireframeLinewidth*(null===
N?R:1)),k.setMode(1)):k.setMode(4):f.isLine?(e=e.linewidth,void 0===e&&(e=1),Z.setLineWidth(e*(null===N?R:1)),f.isLineSegments?k.setMode(1):f.isLineLoop?k.setMode(2):k.setMode(3)):f.isPoints?k.setMode(0):f.isSprite&&k.setMode(4),f.isInstancedMesh?k.renderInstances(d,v,g,f.count):d.isInstancedBufferGeometry?k.renderInstances(d,v,g,d.maxInstancedCount):k.render(v,g))};this.compile=function(a,b){F=va.get(a,b);F.init();a.traverse(function(a){a.isLight&&(F.pushLight(a),a.castShadow&&F.pushShadow(a))});
F.setupLights(b);a.traverse(function(b){if(b.material)if(Array.isArray(b.material))for(var c=0;c<b.material.length;c++)p(b.material[c],a,b);else p(b.material,a,b)})};var Ea=null,Ca=new yh;Ca.setAnimationLoop(function(a){ka.isPresenting||Ea&&Ea(a)});"undefined"!==typeof window&&Ca.setContext(window);this.setAnimationLoop=function(a){Ea=a;ka.setAnimationLoop(a);Ca.start()};this.render=function(a,c,d,e){if(void 0!==d){console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead.");
var f=d}if(void 0!==e){console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead.");var g=e}c&&c.isCamera?I||(da=b=null,ha=!1,Oe=-1,Y=null,!0===a.autoUpdate&&a.updateMatrixWorld(),null===c.parent&&c.updateMatrixWorld(),ka.enabled&&ka.isPresenting&&(c=ka.getCamera(c)),F=va.get(a,c),F.init(),a.onBeforeRender(y,a,c,f||N),Md.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse),lg.setFromMatrix(Md),mg=this.localClippingEnabled,pa=Ua.init(this.clippingPlanes,
mg,c),G=ya.get(a,c),G.init(),l(a,c,0,y.sortObjects),!0===y.sortObjects&&G.sort(ja,la),pa&&Ua.beginShadows(),Fa.render(F.state.shadowsArray,a,c),F.setupLights(c),pa&&Ua.endShadows(),this.info.autoReset&&this.info.reset(),void 0!==f&&this.setRenderTarget(f),ka.enabled&&ua.isAvailable()&&ua.attachCamera(c),na.render(G,a,c,g),d=G.opaque,e=G.transparent,a.overrideMaterial?(f=a.overrideMaterial,d.length&&m(d,a,c,f),e.length&&m(e,a,c,f)):(d.length&&m(d,a,c),e.length&&m(e,a,c)),a.onAfterRender(y,a,c),null!==
N&&(V.updateRenderTargetMipmap(N),V.updateMultisampleRenderTarget(N)),Z.buffers.depth.setTest(!0),Z.buffers.depth.setMask(!0),Z.buffers.color.setMask(!0),Z.setPolygonOffset(!1),ka.enabled&&ua.isAvailable()&&ua.detachCamera(c),F=G=null):console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.")};this.setFramebuffer=function(a){K!==a&&null===N&&H.bindFramebuffer(36160,a);K=a};this.getActiveCubeFace=function(){return L};this.getActiveMipmapLevel=function(){return M};this.getRenderTarget=
function(){return N};this.setRenderTarget=function(a,b,c){N=a;L=b;M=c;a&&void 0===W.get(a).__webglFramebuffer&&V.setupRenderTarget(a);var d=K,e=!1;a?(d=W.get(a).__webglFramebuffer,a.isWebGLRenderTargetCube?(d=d[b||0],e=!0):d=a.isWebGLMultisampleRenderTarget?W.get(a).__webglMultisampledFramebuffer:d,fb.copy(a.viewport),X.copy(a.scissor),ba=a.scissorTest):(fb.copy(fa).multiplyScalar(R).floor(),X.copy(ia).multiplyScalar(R).floor(),ba=kg);Q!==d&&(H.bindFramebuffer(36160,d),Q=d);Z.viewport(fb);Z.scissor(X);
Z.setScissorTest(ba);e&&(a=W.get(a.texture),H.framebufferTexture2D(36160,36064,34069+(b||0),a.__webglTexture,c||0))};this.readRenderTargetPixels=function(a,b,c,d,e,f,g){if(a&&a.isWebGLRenderTarget){var k=W.get(a).__webglFramebuffer;a.isWebGLRenderTargetCube&&void 0!==g&&(k=k[g]);if(k){g=!1;k!==Q&&(H.bindFramebuffer(36160,k),g=!0);try{var l=a.texture,m=l.format,h=l.type;1023!==m&&oa.convert(m)!==H.getParameter(35739)?console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format."):
1009===h||oa.convert(h)===H.getParameter(35738)||1015===h&&(Ha.isWebGL2||sa.get("OES_texture_float")||sa.get("WEBGL_color_buffer_float"))||1016===h&&(Ha.isWebGL2?sa.get("EXT_color_buffer_float"):sa.get("EXT_color_buffer_half_float"))?36053===H.checkFramebufferStatus(36160)?0<=b&&b<=a.width-d&&0<=c&&c<=a.height-e&&H.readPixels(b,c,d,e,oa.convert(m),oa.convert(h),f):console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete."):console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.")}finally{g&&
H.bindFramebuffer(36160,Q)}}}else console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.")};this.copyFramebufferToTexture=function(a,b,c){void 0===c&&(c=0);var d=Math.pow(2,-c),e=Math.floor(b.image.width*d);d=Math.floor(b.image.height*d);var f=oa.convert(b.format);V.setTexture2D(b,0);H.copyTexImage2D(3553,c,f,a.x,a.y,e,d,0);Z.unbindTexture()};this.copyTextureToTexture=function(a,b,c,d){var e=b.image.width,f=b.image.height,g=oa.convert(c.format),k=oa.convert(c.type);
V.setTexture2D(c,0);b.isDataTexture?H.texSubImage2D(3553,d||0,a.x,a.y,e,f,g,k,b.image.data):H.texSubImage2D(3553,d||0,a.x,a.y,g,k,b.image);Z.unbindTexture()};this.initTexture=function(a){V.setTexture2D(a,0);Z.unbindTexture()};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}function Qe(a,b){this.name="";this.color=new y(a);this.density=void 0!==b?b:2.5E-4}function Re(a,b,c){this.name="";this.color=new y(a);this.near=void 0!==b?b:1;
this.far=void 0!==c?c:1E3}function sb(a,b){this.array=a;this.stride=b;this.count=void 0!==a?a.length/b:0;this.usage=35044;this.updateRange={offset:0,count:-1};this.version=0}function Pd(a,b,c,d){this.data=a;this.itemSize=b;this.offset=c;this.normalized=!0===d}function Jb(a){L.call(this);this.type="SpriteMaterial";this.color=new y(16777215);this.alphaMap=this.map=null;this.rotation=0;this.transparent=this.sizeAttenuation=!0;this.setValues(a)}function Qd(a){D.call(this);this.type="Sprite";if(void 0===
Mc){Mc=new G;var b=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]);b=new sb(b,5);Mc.setIndex([0,1,2,0,2,3]);Mc.setAttribute("position",new Pd(b,3,0,!1));Mc.setAttribute("uv",new Pd(b,2,3,!1))}this.geometry=Mc;this.material=void 0!==a?a:new Jb;this.center=new x(.5,.5)}function Se(a,b,c,d,e,f){Nc.subVectors(a,c).addScalar(.5).multiply(d);void 0!==e?(Rd.x=f*Nc.x-e*Nc.y,Rd.y=e*Nc.x+f*Nc.y):Rd.copy(Nc);a.copy(b);a.x+=Rd.x;a.y+=Rd.y;a.applyMatrix4(Yh)}function Sd(){D.call(this);
this.type="LOD";Object.defineProperties(this,{levels:{enumerable:!0,value:[]}});this.autoUpdate=!0}function Td(a,b){a&&a.isGeometry&&console.error("THREE.SkinnedMesh no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.");ca.call(this,a,b);this.type="SkinnedMesh";this.bindMode="attached";this.bindMatrix=new P;this.bindMatrixInverse=new P}function Te(a,b){a=a||[];this.bones=a.slice(0);this.boneMatrices=new Float32Array(16*this.bones.length);this.frame=-1;if(void 0===b)this.calculateInverses();
else if(this.bones.length===b.length)this.boneInverses=b.slice(0);else for(console.warn("THREE.Skeleton boneInverses is the wrong length."),this.boneInverses=[],a=0,b=this.bones.length;a<b;a++)this.boneInverses.push(new P)}function qg(){D.call(this);this.type="Bone"}function Ue(a,b,c){ca.call(this,a,b);this.instanceMatrix=new K(new Float32Array(16*c),16);this.count=c}function ja(a){L.call(this);this.type="LineBasicMaterial";this.color=new y(16777215);this.linewidth=1;this.linejoin=this.linecap="round";
this.setValues(a)}function Ja(a,b,c){1===c&&console.error("THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead.");D.call(this);this.type="Line";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new ja({color:16777215*Math.random()})}function la(a,b){Ja.call(this,a,b);this.type="LineSegments"}function Ve(a,b){Ja.call(this,a,b);this.type="LineLoop"}function Va(a){L.call(this);this.type="PointsMaterial";this.color=new y(16777215);this.alphaMap=this.map=
null;this.size=1;this.sizeAttenuation=!0;this.morphTargets=!1;this.setValues(a)}function Oc(a,b){D.call(this);this.type="Points";this.geometry=void 0!==a?a:new G;this.material=void 0!==b?b:new Va({color:16777215*Math.random()});this.updateMorphTargets()}function rg(a,b,c,d,e,f,g){var k=sg.distanceSqToPoint(a);k<c&&(c=new n,sg.closestPointToPoint(a,c),c.applyMatrix4(d),a=e.ray.origin.distanceTo(c),a<e.near||a>e.far||f.push({distance:a,distanceToRay:Math.sqrt(k),point:c,index:b,face:null,object:g}))}
function tg(a,b,c,d,e,f,g,k,l){T.call(this,a,b,c,d,e,f,g,k,l);this.format=void 0!==g?g:1022;this.minFilter=void 0!==f?f:1006;this.magFilter=void 0!==e?e:1006;this.generateMipmaps=!1}function Pc(a,b,c,d,e,f,g,k,l,m,h,p){T.call(this,null,f,g,k,l,m,d,e,h,p);this.image={width:b,height:c};this.mipmaps=a;this.generateMipmaps=this.flipY=!1}function Ud(a,b,c,d,e,f,g,k,l){T.call(this,a,b,c,d,e,f,g,k,l);this.needsUpdate=!0}function Vd(a,b,c,d,e,f,g,k,l,m){m=void 0!==m?m:1026;if(1026!==m&&1027!==m)throw Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");
void 0===c&&1026===m&&(c=1012);void 0===c&&1027===m&&(c=1020);T.call(this,null,d,e,f,g,k,m,c,l);this.image={width:a,height:b};this.magFilter=void 0!==g?g:1003;this.minFilter=void 0!==k?k:1003;this.generateMipmaps=this.flipY=!1}function Qc(a){G.call(this);this.type="WireframeGeometry";var b=[],c,d,e,f=[0,0],g={},k=["a","b","c"];if(a&&a.isGeometry){var l=a.faces;var m=0;for(d=l.length;m<d;m++){var h=l[m];for(c=0;3>c;c++){var p=h[k[c]];var q=h[k[(c+1)%3]];f[0]=Math.min(p,q);f[1]=Math.max(p,q);p=f[0]+
","+f[1];void 0===g[p]&&(g[p]={index1:f[0],index2:f[1]})}}for(p in g)m=g[p],k=a.vertices[m.index1],b.push(k.x,k.y,k.z),k=a.vertices[m.index2],b.push(k.x,k.y,k.z)}else if(a&&a.isBufferGeometry)if(k=new n,null!==a.index){l=a.attributes.position;h=a.index;var t=a.groups;0===t.length&&(t=[{start:0,count:h.count,materialIndex:0}]);a=0;for(e=t.length;a<e;++a)for(m=t[a],c=m.start,d=m.count,m=c,d=c+d;m<d;m+=3)for(c=0;3>c;c++)p=h.getX(m+c),q=h.getX(m+(c+1)%3),f[0]=Math.min(p,q),f[1]=Math.max(p,q),p=f[0]+","+
f[1],void 0===g[p]&&(g[p]={index1:f[0],index2:f[1]});for(p in g)m=g[p],k.fromBufferAttribute(l,m.index1),b.push(k.x,k.y,k.z),k.fromBufferAttribute(l,m.index2),b.push(k.x,k.y,k.z)}else for(l=a.attributes.position,m=0,d=l.count/3;m<d;m++)for(c=0;3>c;c++)g=3*m+c,k.fromBufferAttribute(l,g),b.push(k.x,k.y,k.z),g=3*m+(c+1)%3,k.fromBufferAttribute(l,g),b.push(k.x,k.y,k.z);this.setAttribute("position",new C(b,3))}function Wd(a,b,c){M.call(this);this.type="ParametricGeometry";this.parameters={func:a,slices:b,
stacks:c};this.fromBufferGeometry(new Rc(a,b,c));this.mergeVertices()}function Rc(a,b,c){G.call(this);this.type="ParametricBufferGeometry";this.parameters={func:a,slices:b,stacks:c};var d=[],e=[],f=[],g=[],k=new n,l=new n,m=new n,h=new n,p=new n,q,t;3>a.length&&console.error("THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.");var r=b+1;for(q=0;q<=c;q++){var u=q/c;for(t=0;t<=b;t++){var z=t/b;a(z,u,l);e.push(l.x,l.y,l.z);0<=z-1E-5?(a(z-1E-5,u,m),h.subVectors(l,m)):(a(z+
1E-5,u,m),h.subVectors(m,l));0<=u-1E-5?(a(z,u-1E-5,m),p.subVectors(l,m)):(a(z,u+1E-5,m),p.subVectors(m,l));k.crossVectors(h,p).normalize();f.push(k.x,k.y,k.z);g.push(z,u)}}for(q=0;q<c;q++)for(t=0;t<b;t++)a=q*r+t+1,k=(q+1)*r+t+1,l=(q+1)*r+t,d.push(q*r+t,a,l),d.push(a,k,l);this.setIndex(d);this.setAttribute("position",new C(e,3));this.setAttribute("normal",new C(f,3));this.setAttribute("uv",new C(g,2))}function Xd(a,b,c,d){M.call(this);this.type="PolyhedronGeometry";this.parameters={vertices:a,indices:b,
radius:c,detail:d};this.fromBufferGeometry(new Ga(a,b,c,d));this.mergeVertices()}function Ga(a,b,c,d){function e(a){k.push(a.x,a.y,a.z)}function f(b,c){b*=3;c.x=a[b+0];c.y=a[b+1];c.z=a[b+2]}function g(a,b,c,d){0>d&&1===a.x&&(l[b]=a.x-1);0===c.x&&0===c.z&&(l[b]=d/2/Math.PI+.5)}G.call(this);this.type="PolyhedronBufferGeometry";this.parameters={vertices:a,indices:b,radius:c,detail:d};c=c||1;d=d||0;var k=[],l=[];(function(a){for(var c=new n,d=new n,g=new n,k=0;k<b.length;k+=3){f(b[k+0],c);f(b[k+1],d);
f(b[k+2],g);var l,m,h=c,w=d,B=g,U=Math.pow(2,a),x=[];for(m=0;m<=U;m++){x[m]=[];var A=h.clone().lerp(B,m/U),aa=w.clone().lerp(B,m/U),y=U-m;for(l=0;l<=y;l++)x[m][l]=0===l&&m===U?A:A.clone().lerp(aa,l/y)}for(m=0;m<U;m++)for(l=0;l<2*(U-m)-1;l++)h=Math.floor(l/2),0===l%2?(e(x[m][h+1]),e(x[m+1][h]),e(x[m][h])):(e(x[m][h+1]),e(x[m+1][h+1]),e(x[m+1][h]))}})(d);(function(a){for(var b=new n,c=0;c<k.length;c+=3)b.x=k[c+0],b.y=k[c+1],b.z=k[c+2],b.normalize().multiplyScalar(a),k[c+0]=b.x,k[c+1]=b.y,k[c+2]=b.z})(c);
(function(){for(var a=new n,b=0;b<k.length;b+=3)a.x=k[b+0],a.y=k[b+1],a.z=k[b+2],l.push(Math.atan2(a.z,-a.x)/2/Math.PI+.5,1-(Math.atan2(-a.y,Math.sqrt(a.x*a.x+a.z*a.z))/Math.PI+.5));a=new n;b=new n;for(var c=new n,d=new n,e=new x,f=new x,h=new x,z=0,w=0;z<k.length;z+=9,w+=6){a.set(k[z+0],k[z+1],k[z+2]);b.set(k[z+3],k[z+4],k[z+5]);c.set(k[z+6],k[z+7],k[z+8]);e.set(l[w+0],l[w+1]);f.set(l[w+2],l[w+3]);h.set(l[w+4],l[w+5]);d.copy(a).add(b).add(c).divideScalar(3);var B=Math.atan2(d.z,-d.x);g(e,w+0,a,B);
g(f,w+2,b,B);g(h,w+4,c,B)}for(a=0;a<l.length;a+=6)b=l[a+0],c=l[a+2],d=l[a+4],e=Math.min(b,c,d),.9<Math.max(b,c,d)&&.1>e&&(.2>b&&(l[a+0]+=1),.2>c&&(l[a+2]+=1),.2>d&&(l[a+4]+=1))})();this.setAttribute("position",new C(k,3));this.setAttribute("normal",new C(k.slice(),3));this.setAttribute("uv",new C(l,2));0===d?this.computeVertexNormals():this.normalizeNormals()}function Yd(a,b){M.call(this);this.type="TetrahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Sc(a,b));this.mergeVertices()}
function Sc(a,b){Ga.call(this,[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1],[2,1,0,0,3,2,1,3,0,2,3,1],a,b);this.type="TetrahedronBufferGeometry";this.parameters={radius:a,detail:b}}function Zd(a,b){M.call(this);this.type="OctahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new ec(a,b));this.mergeVertices()}function ec(a,b){Ga.call(this,[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],a,b);this.type="OctahedronBufferGeometry";this.parameters=
{radius:a,detail:b}}function $d(a,b){M.call(this);this.type="IcosahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Tc(a,b));this.mergeVertices()}function Tc(a,b){var c=(1+Math.sqrt(5))/2;Ga.call(this,[-1,c,0,1,c,0,-1,-c,0,1,-c,0,0,-1,c,0,1,c,0,-1,-c,0,1,-c,c,0,-1,c,0,1,-c,0,-1,-c,0,1],[0,11,5,0,5,1,0,1,7,0,7,10,0,10,11,1,5,9,5,11,4,11,10,2,10,7,6,7,1,8,3,9,4,3,4,2,3,2,6,3,6,8,3,8,9,4,9,5,2,4,11,6,2,10,8,6,7,9,8,1],a,b);this.type="IcosahedronBufferGeometry";this.parameters=
{radius:a,detail:b}}function ae(a,b){M.call(this);this.type="DodecahedronGeometry";this.parameters={radius:a,detail:b};this.fromBufferGeometry(new Uc(a,b));this.mergeVertices()}function Uc(a,b){var c=(1+Math.sqrt(5))/2,d=1/c;Ga.call(this,[-1,-1,-1,-1,-1,1,-1,1,-1,-1,1,1,1,-1,-1,1,-1,1,1,1,-1,1,1,1,0,-d,-c,0,-d,c,0,d,-c,0,d,c,-d,-c,0,-d,c,0,d,-c,0,d,c,0,-c,0,-d,c,0,-d,-c,0,d,c,0,d],[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,
6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9],a,b);this.type="DodecahedronBufferGeometry";this.parameters={radius:a,detail:b}}function be(a,b,c,d,e,f){M.call(this);this.type="TubeGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,closed:e};void 0!==f&&console.warn("THREE.TubeGeometry: taper has been removed.");a=new fc(a,b,c,d,e);this.tangents=a.tangents;this.normals=
a.normals;this.binormals=a.binormals;this.fromBufferGeometry(a);this.mergeVertices()}function fc(a,b,c,d,e){function f(e){h=a.getPointAt(e/b,h);var f=g.normals[e];e=g.binormals[e];for(q=0;q<=d;q++){var m=q/d*Math.PI*2,p=Math.sin(m);m=-Math.cos(m);l.x=m*f.x+p*e.x;l.y=m*f.y+p*e.y;l.z=m*f.z+p*e.z;l.normalize();r.push(l.x,l.y,l.z);k.x=h.x+c*l.x;k.y=h.y+c*l.y;k.z=h.z+c*l.z;t.push(k.x,k.y,k.z)}}G.call(this);this.type="TubeBufferGeometry";this.parameters={path:a,tubularSegments:b,radius:c,radialSegments:d,
closed:e};b=b||64;c=c||1;d=d||8;e=e||!1;var g=a.computeFrenetFrames(b,e);this.tangents=g.tangents;this.normals=g.normals;this.binormals=g.binormals;var k=new n,l=new n,m=new x,h=new n,p,q,t=[],r=[],u=[],z=[];for(p=0;p<b;p++)f(p);f(!1===e?b:0);for(p=0;p<=b;p++)for(q=0;q<=d;q++)m.x=p/b,m.y=q/d,u.push(m.x,m.y);(function(){for(q=1;q<=b;q++)for(p=1;p<=d;p++){var a=(d+1)*q+(p-1),c=(d+1)*q+p,e=(d+1)*(q-1)+p;z.push((d+1)*(q-1)+(p-1),a,e);z.push(a,c,e)}})();this.setIndex(z);this.setAttribute("position",new C(t,
3));this.setAttribute("normal",new C(r,3));this.setAttribute("uv",new C(u,2))}function ce(a,b,c,d,e,f,g){M.call(this);this.type="TorusKnotGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,p:e,q:f};void 0!==g&&console.warn("THREE.TorusKnotGeometry: heightScale has been deprecated. Use .scale( x, y, z ) instead.");this.fromBufferGeometry(new Vc(a,b,c,d,e,f));this.mergeVertices()}function Vc(a,b,c,d,e,f){function g(a,b,c,d,e){var f=Math.sin(a);b=c/b*a;c=Math.cos(b);e.x=d*
(2+c)*.5*Math.cos(a);e.y=d*(2+c)*f*.5;e.z=d*Math.sin(b)*.5}G.call(this);this.type="TorusKnotBufferGeometry";this.parameters={radius:a,tube:b,tubularSegments:c,radialSegments:d,p:e,q:f};a=a||1;b=b||.4;c=Math.floor(c)||64;d=Math.floor(d)||8;e=e||2;f=f||3;var k=[],l=[],m=[],h=[],p,q=new n,t=new n,r=new n,u=new n,z=new n,w=new n,B=new n;for(p=0;p<=c;++p){var x=p/c*e*Math.PI*2;g(x,e,f,a,r);g(x+.01,e,f,a,u);w.subVectors(u,r);B.addVectors(u,r);z.crossVectors(w,B);B.crossVectors(z,w);z.normalize();B.normalize();
for(x=0;x<=d;++x){var y=x/d*Math.PI*2,A=-b*Math.cos(y);y=b*Math.sin(y);q.x=r.x+(A*B.x+y*z.x);q.y=r.y+(A*B.y+y*z.y);q.z=r.z+(A*B.z+y*z.z);l.push(q.x,q.y,q.z);t.subVectors(q,r).normalize();m.push(t.x,t.y,t.z);h.push(p/c);h.push(x/d)}}for(x=1;x<=c;x++)for(p=1;p<=d;p++)a=(d+1)*x+(p-1),b=(d+1)*x+p,e=(d+1)*(x-1)+p,k.push((d+1)*(x-1)+(p-1),a,e),k.push(a,b,e);this.setIndex(k);this.setAttribute("position",new C(l,3));this.setAttribute("normal",new C(m,3));this.setAttribute("uv",new C(h,2))}function de(a,b,
c,d,e){M.call(this);this.type="TorusGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};this.fromBufferGeometry(new Wc(a,b,c,d,e));this.mergeVertices()}function Wc(a,b,c,d,e){G.call(this);this.type="TorusBufferGeometry";this.parameters={radius:a,tube:b,radialSegments:c,tubularSegments:d,arc:e};a=a||1;b=b||.4;c=Math.floor(c)||8;d=Math.floor(d)||6;e=e||2*Math.PI;var f=[],g=[],k=[],l=[],m=new n,h=new n,p=new n,q,t;for(q=0;q<=c;q++)for(t=0;t<=d;t++){var r=t/d*e,u=q/c*
Math.PI*2;h.x=(a+b*Math.cos(u))*Math.cos(r);h.y=(a+b*Math.cos(u))*Math.sin(r);h.z=b*Math.sin(u);g.push(h.x,h.y,h.z);m.x=a*Math.cos(r);m.y=a*Math.sin(r);p.subVectors(h,m).normalize();k.push(p.x,p.y,p.z);l.push(t/d);l.push(q/c)}for(q=1;q<=c;q++)for(t=1;t<=d;t++)a=(d+1)*(q-1)+t-1,b=(d+1)*(q-1)+t,e=(d+1)*q+t,f.push((d+1)*q+t-1,a,e),f.push(a,b,e);this.setIndex(f);this.setAttribute("position",new C(g,3));this.setAttribute("normal",new C(k,3));this.setAttribute("uv",new C(l,2))}function Zh(a,b,c,d,e){for(var f,
g=0,k=b,l=c-d;k<c;k+=d)g+=(a[l]-a[k])*(a[k+1]+a[l+1]),l=k;if(e===0<g)for(e=b;e<c;e+=d)f=$h(e,a[e],a[e+1],f);else for(e=c-d;e>=b;e-=d)f=$h(e,a[e],a[e+1],f);f&&gc(f,f.next)&&(ee(f),f=f.next);return f}function fe(a,b){if(!a)return a;b||(b=a);do{var c=!1;if(a.steiner||!gc(a,a.next)&&0!==ta(a.prev,a,a.next))a=a.next;else{ee(a);a=b=a.prev;if(a===a.next)break;c=!0}}while(c||a!==b);return b}function ge(a,b,c,d,e,f,g){if(a){if(!g&&f){var k=a,l=k;do null===l.z&&(l.z=ug(l.x,l.y,d,e,f)),l.prevZ=l.prev,l=l.nextZ=
l.next;while(l!==k);l.prevZ.nextZ=null;l.prevZ=null;k=l;var m,h,p,q,t=1;do{l=k;var r=k=null;for(h=0;l;){h++;var n=l;for(m=p=0;m<t&&(p++,n=n.nextZ,n);m++);for(q=t;0<p||0<q&&n;)0!==p&&(0===q||!n||l.z<=n.z)?(m=l,l=l.nextZ,p--):(m=n,n=n.nextZ,q--),r?r.nextZ=m:k=m,m.prevZ=r,r=m;l=n}r.nextZ=null;t*=2}while(1<h)}for(k=a;a.prev!==a.next;){l=a.prev;n=a.next;if(f)r=Hk(a,d,e,f);else a:if(r=a,h=r.prev,p=r,t=r.next,0<=ta(h,p,t))r=!1;else{for(m=r.next.next;m!==r.prev;){if(Xc(h.x,h.y,p.x,p.y,t.x,t.y,m.x,m.y)&&0<=
ta(m.prev,m,m.next)){r=!1;break a}m=m.next}r=!0}if(r)b.push(l.i/c),b.push(a.i/c),b.push(n.i/c),ee(a),k=a=n.next;else if(a=n,a===k){if(!g)ge(fe(a),b,c,d,e,f,1);else if(1===g){g=b;k=c;l=a;do n=l.prev,r=l.next.next,!gc(n,r)&&ai(n,l,l.next,r)&&he(n,r)&&he(r,n)&&(g.push(n.i/k),g.push(l.i/k),g.push(r.i/k),ee(l),ee(l.next),l=a=r),l=l.next;while(l!==a);a=l;ge(a,b,c,d,e,f,2)}else if(2===g)a:{g=a;do{for(k=g.next.next;k!==g.prev;){if(l=g.i!==k.i){l=g;n=k;if(r=l.next.i!==n.i&&l.prev.i!==n.i){b:{r=l;do{if(r.i!==
l.i&&r.next.i!==l.i&&r.i!==n.i&&r.next.i!==n.i&&ai(r,r.next,l,n)){r=!0;break b}r=r.next}while(r!==l);r=!1}r=!r}if(r=r&&he(l,n)&&he(n,l)){r=l;h=!1;p=(l.x+n.x)/2;n=(l.y+n.y)/2;do r.y>n!==r.next.y>n&&r.next.y!==r.y&&p<(r.next.x-r.x)*(n-r.y)/(r.next.y-r.y)+r.x&&(h=!h),r=r.next;while(r!==l);r=h}l=r}if(l){a=bi(g,k);g=fe(g,g.next);a=fe(a,a.next);ge(g,b,c,d,e,f);ge(a,b,c,d,e,f);break a}k=k.next}g=g.next}while(g!==a)}break}}}}function Hk(a,b,c,d){var e=a.prev,f=a.next;if(0<=ta(e,a,f))return!1;var g=e.x>a.x?
e.x>f.x?e.x:f.x:a.x>f.x?a.x:f.x,k=e.y>a.y?e.y>f.y?e.y:f.y:a.y>f.y?a.y:f.y,l=ug(e.x<a.x?e.x<f.x?e.x:f.x:a.x<f.x?a.x:f.x,e.y<a.y?e.y<f.y?e.y:f.y:a.y<f.y?a.y:f.y,b,c,d);b=ug(g,k,b,c,d);c=a.prevZ;for(d=a.nextZ;c&&c.z>=l&&d&&d.z<=b;){if(c!==a.prev&&c!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,c.x,c.y)&&0<=ta(c.prev,c,c.next))return!1;c=c.prevZ;if(d!==a.prev&&d!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ta(d.prev,d,d.next))return!1;d=d.nextZ}for(;c&&c.z>=l;){if(c!==a.prev&&c!==a.next&&Xc(e.x,e.y,a.x,a.y,
f.x,f.y,c.x,c.y)&&0<=ta(c.prev,c,c.next))return!1;c=c.prevZ}for(;d&&d.z<=b;){if(d!==a.prev&&d!==a.next&&Xc(e.x,e.y,a.x,a.y,f.x,f.y,d.x,d.y)&&0<=ta(d.prev,d,d.next))return!1;d=d.nextZ}return!0}function Ik(a,b){return a.x-b.x}function Jk(a,b){var c=b,d=a.x,e=a.y,f=-Infinity;do{if(e<=c.y&&e>=c.next.y&&c.next.y!==c.y){var g=c.x+(e-c.y)*(c.next.x-c.x)/(c.next.y-c.y);if(g<=d&&g>f){f=g;if(g===d){if(e===c.y)return c;if(e===c.next.y)return c.next}var k=c.x<c.next.x?c:c.next}}c=c.next}while(c!==b);if(!k)return null;
if(d===f)return k.prev;b=k;g=k.x;var l=k.y,m=Infinity;for(c=k.next;c!==b;){if(d>=c.x&&c.x>=g&&d!==c.x&&Xc(e<l?d:f,e,g,l,e<l?f:d,e,c.x,c.y)){var h=Math.abs(e-c.y)/(d-c.x);(h<m||h===m&&c.x>k.x)&&he(c,a)&&(k=c,m=h)}c=c.next}return k}function ug(a,b,c,d,e){a=32767*(a-c)*e;b=32767*(b-d)*e;a=(a|a<<8)&16711935;a=(a|a<<4)&252645135;a=(a|a<<2)&858993459;b=(b|b<<8)&16711935;b=(b|b<<4)&252645135;b=(b|b<<2)&858993459;return(a|a<<1)&1431655765|((b|b<<1)&1431655765)<<1}function Kk(a){var b=a,c=a;do{if(b.x<c.x||
b.x===c.x&&b.y<c.y)c=b;b=b.next}while(b!==a);return c}function Xc(a,b,c,d,e,f,g,k){return 0<=(e-g)*(b-k)-(a-g)*(f-k)&&0<=(a-g)*(d-k)-(c-g)*(b-k)&&0<=(c-g)*(f-k)-(e-g)*(d-k)}function ta(a,b,c){return(b.y-a.y)*(c.x-b.x)-(b.x-a.x)*(c.y-b.y)}function gc(a,b){return a.x===b.x&&a.y===b.y}function ai(a,b,c,d){return gc(a,c)&&gc(b,d)||gc(a,d)&&gc(c,b)?!0:0<ta(a,b,c)!==0<ta(a,b,d)&&0<ta(c,d,a)!==0<ta(c,d,b)}function he(a,b){return 0>ta(a.prev,a,a.next)?0<=ta(a,b,a.next)&&0<=ta(a,a.prev,b):0>ta(a,b,a.prev)||
0>ta(a,a.next,b)}function bi(a,b){var c=new vg(a.i,a.x,a.y),d=new vg(b.i,b.x,b.y),e=a.next,f=b.prev;a.next=b;b.prev=a;c.next=e;e.prev=c;d.next=c;c.prev=d;f.next=d;d.prev=f;return d}function $h(a,b,c,d){a=new vg(a,b,c);d?(a.next=d.next,a.prev=d,d.next.prev=a,d.next=a):(a.prev=a,a.next=a);return a}function ee(a){a.next.prev=a.prev;a.prev.next=a.next;a.prevZ&&(a.prevZ.nextZ=a.nextZ);a.nextZ&&(a.nextZ.prevZ=a.prevZ)}function vg(a,b,c){this.i=a;this.x=b;this.y=c;this.nextZ=this.prevZ=this.z=this.next=
this.prev=null;this.steiner=!1}function ci(a){var b=a.length;2<b&&a[b-1].equals(a[0])&&a.pop()}function di(a,b){for(var c=0;c<b.length;c++)a.push(b[c].x),a.push(b[c].y)}function hc(a,b){M.call(this);this.type="ExtrudeGeometry";this.parameters={shapes:a,options:b};this.fromBufferGeometry(new gb(a,b));this.mergeVertices()}function gb(a,b){function c(a){function c(a,b,c){b||console.error("THREE.ExtrudeGeometry: vec does not exist");return b.clone().multiplyScalar(c).add(a)}function g(a,b,c){var d=a.x-
b.x;var e=a.y-b.y;var f=c.x-a.x;var g=c.y-a.y,k=d*d+e*e;if(Math.abs(d*g-e*f)>Number.EPSILON){var l=Math.sqrt(k),m=Math.sqrt(f*f+g*g);k=b.x-e/l;b=b.y+d/l;g=((c.x-g/m-k)*g-(c.y+f/m-b)*f)/(d*g-e*f);f=k+d*g-a.x;d=b+e*g-a.y;e=f*f+d*d;if(2>=e)return new x(f,d);e=Math.sqrt(e/2)}else a=!1,d>Number.EPSILON?f>Number.EPSILON&&(a=!0):d<-Number.EPSILON?f<-Number.EPSILON&&(a=!0):Math.sign(e)===Math.sign(g)&&(a=!0),a?(f=-e,e=Math.sqrt(k)):(f=d,d=e,e=Math.sqrt(k/2));return new x(f/e,d/e)}function k(a,b){for(J=a.length;0<=
--J;){var c=J;var f=J-1;0>f&&(f=a.length-1);var g,k=B+2*C;for(g=0;g<k;g++){var l=X*g,m=X*(g+1),h=b+f+l,p=b+f+m;m=b+c+m;r(b+c+l);r(h);r(m);r(h);r(p);r(m);l=e.length/3;l=F.generateSideWallUV(d,e,l-6,l-3,l-2,l-1);u(l[0]);u(l[1]);u(l[3]);u(l[1]);u(l[2]);u(l[3])}}}function l(a,b,c){z.push(a);z.push(b);z.push(c)}function h(a,b,c){r(a);r(b);r(c);a=e.length/3;a=F.generateTopUV(d,e,a-3,a-2,a-1);u(a[0]);u(a[1]);u(a[2])}function r(a){e.push(z[3*a]);e.push(z[3*a+1]);e.push(z[3*a+2])}function u(a){f.push(a.x);
f.push(a.y)}var z=[],w=void 0!==b.curveSegments?b.curveSegments:12,B=void 0!==b.steps?b.steps:1,U=void 0!==b.depth?b.depth:100,y=void 0!==b.bevelEnabled?b.bevelEnabled:!0,A=void 0!==b.bevelThickness?b.bevelThickness:6,aa=void 0!==b.bevelSize?b.bevelSize:A-2,G=void 0!==b.bevelOffset?b.bevelOffset:0,C=void 0!==b.bevelSegments?b.bevelSegments:3,D=b.extrudePath,F=void 0!==b.UVGenerator?b.UVGenerator:Lk;void 0!==b.amount&&(console.warn("THREE.ExtrudeBufferGeometry: amount has been renamed to depth."),
U=b.amount);var E=!1;if(D){var I=D.getSpacedPoints(B);E=!0;y=!1;var K=D.computeFrenetFrames(B,!1);var L=new n;var M=new n;var O=new n}y||(G=aa=A=C=0);var N;w=a.extractPoints(w);a=w.shape;var P=w.holes;if(!tb.isClockWise(a)){a=a.reverse();var da=0;for(N=P.length;da<N;da++){var ha=P[da];tb.isClockWise(ha)&&(P[da]=ha.reverse())}}var Y=tb.triangulateShape(a,P),W=a;da=0;for(N=P.length;da<N;da++)ha=P[da],a=a.concat(ha);var Q,X=a.length,T,ca=Y.length;w=[];var J=0;var R=W.length;var V=R-1;for(Q=J+1;J<R;J++,
V++,Q++)V===R&&(V=0),Q===R&&(Q=0),w[J]=g(W[J],W[V],W[Q]);D=[];var ea=w.concat();da=0;for(N=P.length;da<N;da++){ha=P[da];var ba=[];J=0;R=ha.length;V=R-1;for(Q=J+1;J<R;J++,V++,Q++)V===R&&(V=0),Q===R&&(Q=0),ba[J]=g(ha[J],ha[V],ha[Q]);D.push(ba);ea=ea.concat(ba)}for(V=0;V<C;V++){R=V/C;var fa=A*Math.cos(R*Math.PI/2);Q=aa*Math.sin(R*Math.PI/2)+G;J=0;for(R=W.length;J<R;J++){var S=c(W[J],w[J],Q);l(S.x,S.y,-fa)}da=0;for(N=P.length;da<N;da++)for(ha=P[da],ba=D[da],J=0,R=ha.length;J<R;J++)S=c(ha[J],ba[J],Q),
l(S.x,S.y,-fa)}Q=aa+G;for(J=0;J<X;J++)S=y?c(a[J],ea[J],Q):a[J],E?(M.copy(K.normals[0]).multiplyScalar(S.x),L.copy(K.binormals[0]).multiplyScalar(S.y),O.copy(I[0]).add(M).add(L),l(O.x,O.y,O.z)):l(S.x,S.y,0);for(R=1;R<=B;R++)for(J=0;J<X;J++)S=y?c(a[J],ea[J],Q):a[J],E?(M.copy(K.normals[R]).multiplyScalar(S.x),L.copy(K.binormals[R]).multiplyScalar(S.y),O.copy(I[R]).add(M).add(L),l(O.x,O.y,O.z)):l(S.x,S.y,U/B*R);for(V=C-1;0<=V;V--){R=V/C;fa=A*Math.cos(R*Math.PI/2);Q=aa*Math.sin(R*Math.PI/2)+G;J=0;for(R=
W.length;J<R;J++)S=c(W[J],w[J],Q),l(S.x,S.y,U+fa);da=0;for(N=P.length;da<N;da++)for(ha=P[da],ba=D[da],J=0,R=ha.length;J<R;J++)S=c(ha[J],ba[J],Q),E?l(S.x,S.y+I[B-1].y,I[B-1].x+fa):l(S.x,S.y,U+fa)}(function(){var a=e.length/3;if(y){var b=0*X;for(J=0;J<ca;J++)T=Y[J],h(T[2]+b,T[1]+b,T[0]+b);b=X*(B+2*C);for(J=0;J<ca;J++)T=Y[J],h(T[0]+b,T[1]+b,T[2]+b)}else{for(J=0;J<ca;J++)T=Y[J],h(T[2],T[1],T[0]);for(J=0;J<ca;J++)T=Y[J],h(T[0]+X*B,T[1]+X*B,T[2]+X*B)}d.addGroup(a,e.length/3-a,0)})();(function(){var a=e.length/
3,b=0;k(W,b);b+=W.length;da=0;for(N=P.length;da<N;da++)ha=P[da],k(ha,b),b+=ha.length;d.addGroup(a,e.length/3-a,1)})()}G.call(this);this.type="ExtrudeBufferGeometry";this.parameters={shapes:a,options:b};a=Array.isArray(a)?a:[a];for(var d=this,e=[],f=[],g=0,k=a.length;g<k;g++)c(a[g]);this.setAttribute("position",new C(e,3));this.setAttribute("uv",new C(f,2));this.computeVertexNormals()}function ei(a,b,c){c.shapes=[];if(Array.isArray(a))for(var d=0,e=a.length;d<e;d++)c.shapes.push(a[d].uuid);else c.shapes.push(a.uuid);
void 0!==b.extrudePath&&(c.options.extrudePath=b.extrudePath.toJSON());return c}function ie(a,b){M.call(this);this.type="TextGeometry";this.parameters={text:a,parameters:b};this.fromBufferGeometry(new Yc(a,b));this.mergeVertices()}function Yc(a,b){b=b||{};var c=b.font;if(!c||!c.isFont)return console.error("THREE.TextGeometry: font parameter is not an instance of THREE.Font."),new M;a=c.generateShapes(a,b.size);b.depth=void 0!==b.height?b.height:50;void 0===b.bevelThickness&&(b.bevelThickness=10);
void 0===b.bevelSize&&(b.bevelSize=8);void 0===b.bevelEnabled&&(b.bevelEnabled=!1);gb.call(this,a,b);this.type="TextBufferGeometry"}function je(a,b,c,d,e,f,g){M.call(this);this.type="SphereGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};this.fromBufferGeometry(new ic(a,b,c,d,e,f,g));this.mergeVertices()}function ic(a,b,c,d,e,f,g){G.call(this);this.type="SphereBufferGeometry";this.parameters={radius:a,widthSegments:b,heightSegments:c,
phiStart:d,phiLength:e,thetaStart:f,thetaLength:g};a=a||1;b=Math.max(3,Math.floor(b)||8);c=Math.max(2,Math.floor(c)||6);d=void 0!==d?d:0;e=void 0!==e?e:2*Math.PI;f=void 0!==f?f:0;g=void 0!==g?g:Math.PI;var k=Math.min(f+g,Math.PI),l,m,h=0,p=[],q=new n,t=new n,r=[],u=[],z=[],w=[];for(m=0;m<=c;m++){var B=[],x=m/c,y=0;0==m&&0==f?y=.5/b:m==c&&k==Math.PI&&(y=-.5/b);for(l=0;l<=b;l++){var A=l/b;q.x=-a*Math.cos(d+A*e)*Math.sin(f+x*g);q.y=a*Math.cos(f+x*g);q.z=a*Math.sin(d+A*e)*Math.sin(f+x*g);u.push(q.x,q.y,
q.z);t.copy(q).normalize();z.push(t.x,t.y,t.z);w.push(A+y,1-x);B.push(h++)}p.push(B)}for(m=0;m<c;m++)for(l=0;l<b;l++)a=p[m][l+1],d=p[m][l],e=p[m+1][l],g=p[m+1][l+1],(0!==m||0<f)&&r.push(a,d,g),(m!==c-1||k<Math.PI)&&r.push(d,e,g);this.setIndex(r);this.setAttribute("position",new C(u,3));this.setAttribute("normal",new C(z,3));this.setAttribute("uv",new C(w,2))}function ke(a,b,c,d,e,f){M.call(this);this.type="RingGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,
thetaLength:f};this.fromBufferGeometry(new Zc(a,b,c,d,e,f));this.mergeVertices()}function Zc(a,b,c,d,e,f){G.call(this);this.type="RingBufferGeometry";this.parameters={innerRadius:a,outerRadius:b,thetaSegments:c,phiSegments:d,thetaStart:e,thetaLength:f};a=a||.5;b=b||1;e=void 0!==e?e:0;f=void 0!==f?f:2*Math.PI;c=void 0!==c?Math.max(3,c):8;d=void 0!==d?Math.max(1,d):1;var g=[],k=[],l=[],m=[],h=a,p=(b-a)/d,q=new n,t=new x,r,u;for(r=0;r<=d;r++){for(u=0;u<=c;u++)a=e+u/c*f,q.x=h*Math.cos(a),q.y=h*Math.sin(a),
k.push(q.x,q.y,q.z),l.push(0,0,1),t.x=(q.x/b+1)/2,t.y=(q.y/b+1)/2,m.push(t.x,t.y);h+=p}for(r=0;r<d;r++)for(b=r*(c+1),u=0;u<c;u++)a=u+b,e=a+c+1,f=a+c+2,h=a+1,g.push(a,e,h),g.push(e,f,h);this.setIndex(g);this.setAttribute("position",new C(k,3));this.setAttribute("normal",new C(l,3));this.setAttribute("uv",new C(m,2))}function le(a,b,c,d){M.call(this);this.type="LatheGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};this.fromBufferGeometry(new $c(a,b,c,d));this.mergeVertices()}function $c(a,
b,c,d){G.call(this);this.type="LatheBufferGeometry";this.parameters={points:a,segments:b,phiStart:c,phiLength:d};b=Math.floor(b)||12;c=c||0;d=d||2*Math.PI;d=O.clamp(d,0,2*Math.PI);var e=[],f=[],g=[],k=1/b,l=new n,m=new x,h;for(h=0;h<=b;h++){var p=c+h*k*d;var q=Math.sin(p),t=Math.cos(p);for(p=0;p<=a.length-1;p++)l.x=a[p].x*q,l.y=a[p].y,l.z=a[p].x*t,f.push(l.x,l.y,l.z),m.x=h/b,m.y=p/(a.length-1),g.push(m.x,m.y)}for(h=0;h<b;h++)for(p=0;p<a.length-1;p++)c=p+h*a.length,k=c+a.length,l=c+a.length+1,m=c+
1,e.push(c,k,m),e.push(k,l,m);this.setIndex(e);this.setAttribute("position",new C(f,3));this.setAttribute("uv",new C(g,2));this.computeVertexNormals();if(d===2*Math.PI)for(d=this.attributes.normal.array,e=new n,f=new n,g=new n,c=b*a.length*3,p=h=0;h<a.length;h++,p+=3)e.x=d[p+0],e.y=d[p+1],e.z=d[p+2],f.x=d[c+p+0],f.y=d[c+p+1],f.z=d[c+p+2],g.addVectors(e,f).normalize(),d[p+0]=d[c+p+0]=g.x,d[p+1]=d[c+p+1]=g.y,d[p+2]=d[c+p+2]=g.z}function jc(a,b){M.call(this);this.type="ShapeGeometry";"object"===typeof b&&
(console.warn("THREE.ShapeGeometry: Options parameter has been removed."),b=b.curveSegments);this.parameters={shapes:a,curveSegments:b};this.fromBufferGeometry(new kc(a,b));this.mergeVertices()}function kc(a,b){function c(a){var c,k=e.length/3;a=a.extractPoints(b);var m=a.shape,h=a.holes;!1===tb.isClockWise(m)&&(m=m.reverse());a=0;for(c=h.length;a<c;a++){var v=h[a];!0===tb.isClockWise(v)&&(h[a]=v.reverse())}var n=tb.triangulateShape(m,h);a=0;for(c=h.length;a<c;a++)v=h[a],m=m.concat(v);a=0;for(c=m.length;a<
c;a++)v=m[a],e.push(v.x,v.y,0),f.push(0,0,1),g.push(v.x,v.y);a=0;for(c=n.length;a<c;a++)m=n[a],d.push(m[0]+k,m[1]+k,m[2]+k),l+=3}G.call(this);this.type="ShapeBufferGeometry";this.parameters={shapes:a,curveSegments:b};b=b||12;var d=[],e=[],f=[],g=[],k=0,l=0;if(!1===Array.isArray(a))c(a);else for(var m=0;m<a.length;m++)c(a[m]),this.addGroup(k,l,m),k+=l,l=0;this.setIndex(d);this.setAttribute("position",new C(e,3));this.setAttribute("normal",new C(f,3));this.setAttribute("uv",new C(g,2))}function fi(a,
b){b.shapes=[];if(Array.isArray(a))for(var c=0,d=a.length;c<d;c++)b.shapes.push(a[c].uuid);else b.shapes.push(a.uuid);return b}function ad(a,b){G.call(this);this.type="EdgesGeometry";this.parameters={thresholdAngle:b};var c=[];b=Math.cos(O.DEG2RAD*(void 0!==b?b:1));var d=[0,0],e={},f=["a","b","c"];if(a.isBufferGeometry){var g=new M;g.fromBufferGeometry(a)}else g=a.clone();g.mergeVertices();g.computeFaceNormals();a=g.vertices;g=g.faces;for(var k=0,l=g.length;k<l;k++)for(var m=g[k],h=0;3>h;h++){var p=
m[f[h]];var q=m[f[(h+1)%3]];d[0]=Math.min(p,q);d[1]=Math.max(p,q);p=d[0]+","+d[1];void 0===e[p]?e[p]={index1:d[0],index2:d[1],face1:k,face2:void 0}:e[p].face2=k}for(p in e)if(d=e[p],void 0===d.face2||g[d.face1].normal.dot(g[d.face2].normal)<=b)f=a[d.index1],c.push(f.x,f.y,f.z),f=a[d.index2],c.push(f.x,f.y,f.z);this.setAttribute("position",new C(c,3))}function lc(a,b,c,d,e,f,g,k){M.call(this);this.type="CylinderGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,
openEnded:f,thetaStart:g,thetaLength:k};this.fromBufferGeometry(new ub(a,b,c,d,e,f,g,k));this.mergeVertices()}function ub(a,b,c,d,e,f,g,k){function l(c){var e,f=new x,l=new n,v=0,u=!0===c?a:b,B=!0===c?1:-1;var y=r;for(e=1;e<=d;e++)p.push(0,z*B,0),q.push(0,B,0),t.push(.5,.5),r++;var F=r;for(e=0;e<=d;e++){var C=e/d*k+g,G=Math.cos(C);C=Math.sin(C);l.x=u*C;l.y=z*B;l.z=u*G;p.push(l.x,l.y,l.z);q.push(0,B,0);f.x=.5*G+.5;f.y=.5*C*B+.5;t.push(f.x,f.y);r++}for(e=0;e<d;e++)f=y+e,l=F+e,!0===c?h.push(l,l+1,f):
h.push(l+1,l,f),v+=3;m.addGroup(w,v,!0===c?1:2);w+=v}G.call(this);this.type="CylinderBufferGeometry";this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,openEnded:f,thetaStart:g,thetaLength:k};var m=this;a=void 0!==a?a:1;b=void 0!==b?b:1;c=c||1;d=Math.floor(d)||8;e=Math.floor(e)||1;f=void 0!==f?f:!1;g=void 0!==g?g:0;k=void 0!==k?k:2*Math.PI;var h=[],p=[],q=[],t=[],r=0,u=[],z=c/2,w=0;(function(){var f,l,v=new n,A=new n,x=0,y=(b-a)/c;for(l=0;l<=e;l++){var C=[],G=l/
e,F=G*(b-a)+a;for(f=0;f<=d;f++){var D=f/d,E=D*k+g,I=Math.sin(E);E=Math.cos(E);A.x=F*I;A.y=-G*c+z;A.z=F*E;p.push(A.x,A.y,A.z);v.set(I,y,E).normalize();q.push(v.x,v.y,v.z);t.push(D,1-G);C.push(r++)}u.push(C)}for(f=0;f<d;f++)for(l=0;l<e;l++)v=u[l+1][f],A=u[l+1][f+1],y=u[l][f+1],h.push(u[l][f],v,y),h.push(v,A,y),x+=6;m.addGroup(w,x,0);w+=x})();!1===f&&(0<a&&l(!0),0<b&&l(!1));this.setIndex(h);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",new C(t,
2))}function me(a,b,c,d,e,f,g){lc.call(this,0,a,b,c,d,e,f,g);this.type="ConeGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,thetaLength:g}}function ne(a,b,c,d,e,f,g){ub.call(this,0,a,b,c,d,e,f,g);this.type="ConeBufferGeometry";this.parameters={radius:a,height:b,radialSegments:c,heightSegments:d,openEnded:e,thetaStart:f,thetaLength:g}}function oe(a,b,c,d){M.call(this);this.type="CircleGeometry";this.parameters={radius:a,segments:b,thetaStart:c,
thetaLength:d};this.fromBufferGeometry(new bd(a,b,c,d));this.mergeVertices()}function bd(a,b,c,d){G.call(this);this.type="CircleBufferGeometry";this.parameters={radius:a,segments:b,thetaStart:c,thetaLength:d};a=a||1;b=void 0!==b?Math.max(3,b):8;c=void 0!==c?c:0;d=void 0!==d?d:2*Math.PI;var e=[],f=[],g=[],k=[],l,m=new n,h=new x;f.push(0,0,0);g.push(0,0,1);k.push(.5,.5);var p=0;for(l=3;p<=b;p++,l+=3){var q=c+p/b*d;m.x=a*Math.cos(q);m.y=a*Math.sin(q);f.push(m.x,m.y,m.z);g.push(0,0,1);h.x=(f[l]/a+1)/
2;h.y=(f[l+1]/a+1)/2;k.push(h.x,h.y)}for(l=1;l<=b;l++)e.push(l,l+1,0);this.setIndex(e);this.setAttribute("position",new C(f,3));this.setAttribute("normal",new C(g,3));this.setAttribute("uv",new C(k,2))}function mc(a){L.call(this);this.type="ShadowMaterial";this.color=new y(0);this.transparent=!0;this.setValues(a)}function vb(a){oa.call(this,a);this.type="RawShaderMaterial"}function hb(a){L.call(this);this.defines={STANDARD:""};this.type="MeshStandardMaterial";this.color=new y(16777215);this.roughness=
1;this.metalness=0;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.envMap=this.alphaMap=this.metalnessMap=this.roughnessMap=null;this.envMapIntensity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=
1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function nc(a){hb.call(this);this.defines={STANDARD:"",PHYSICAL:""};this.type="MeshPhysicalMaterial";this.reflectivity=.5;this.clearcoatRoughness=this.clearcoat=0;this.sheen=null;this.clearcoatNormalScale=new x(1,1);this.clearcoatNormalMap=null;this.transparency=0;this.setValues(a)}function Kb(a){L.call(this);this.type="MeshPhongMaterial";this.color=new y(16777215);this.specular=
new y(1118481);this.shininess=30;this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.envMap=this.alphaMap=this.specularMap=null;this.combine=0;this.reflectivity=1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=
1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function oc(a){L.call(this);this.defines={TOON:""};this.type="MeshToonMaterial";this.color=new y(16777215);this.specular=new y(1118481);this.shininess=30;this.lightMap=this.gradientMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.bumpMap=this.emissiveMap=null;this.bumpScale=1;this.normalMap=
null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=this.specularMap=null;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function pc(a){L.call(this);this.type="MeshNormalMaterial";this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=
null;this.displacementScale=1;this.displacementBias=0;this.wireframe=!1;this.wireframeLinewidth=1;this.morphNormals=this.morphTargets=this.skinning=this.fog=!1;this.setValues(a)}function qc(a){L.call(this);this.type="MeshLambertMaterial";this.color=new y(16777215);this.lightMap=this.map=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new y(0);this.emissiveIntensity=1;this.envMap=this.alphaMap=this.specularMap=this.emissiveMap=null;this.combine=0;this.reflectivity=
1;this.refractionRatio=.98;this.wireframe=!1;this.wireframeLinewidth=1;this.wireframeLinejoin=this.wireframeLinecap="round";this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function rc(a){L.call(this);this.defines={MATCAP:""};this.type="MeshMatcapMaterial";this.color=new y(16777215);this.bumpMap=this.map=this.matcap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=0;this.normalScale=new x(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=
0;this.alphaMap=null;this.morphNormals=this.morphTargets=this.skinning=!1;this.setValues(a)}function sc(a){ja.call(this);this.type="LineDashedMaterial";this.scale=1;this.dashSize=3;this.gapSize=1;this.setValues(a)}function Ka(a,b,c,d){this.parameterPositions=a;this._cachedIndex=0;this.resultBuffer=void 0!==d?d:new b.constructor(c);this.sampleValues=b;this.valueSize=c}function We(a,b,c,d){Ka.call(this,a,b,c,d);this._offsetNext=this._weightNext=this._offsetPrev=this._weightPrev=-0}function pe(a,b,c,
d){Ka.call(this,a,b,c,d)}function Xe(a,b,c,d){Ka.call(this,a,b,c,d)}function ra(a,b,c,d){if(void 0===a)throw Error("THREE.KeyframeTrack: track name is undefined");if(void 0===b||0===b.length)throw Error("THREE.KeyframeTrack: no keyframes in track named "+a);this.name=a;this.times=ea.convertArray(b,this.TimeBufferType);this.values=ea.convertArray(c,this.ValueBufferType);this.setInterpolation(d||this.DefaultInterpolation)}function Ye(a,b,c){ra.call(this,a,b,c)}function Ze(a,b,c,d){ra.call(this,a,b,
c,d)}function cd(a,b,c,d){ra.call(this,a,b,c,d)}function $e(a,b,c,d){Ka.call(this,a,b,c,d)}function qe(a,b,c,d){ra.call(this,a,b,c,d)}function af(a,b,c,d){ra.call(this,a,b,c,d)}function dd(a,b,c,d){ra.call(this,a,b,c,d)}function Qa(a,b,c){this.name=a;this.tracks=c;this.duration=void 0!==b?b:-1;this.uuid=O.generateUUID();0>this.duration&&this.resetDuration()}function Mk(a){switch(a.toLowerCase()){case "scalar":case "double":case "float":case "number":case "integer":return cd;case "vector":case "vector2":case "vector3":case "vector4":return dd;
case "color":return Ze;case "quaternion":return qe;case "bool":case "boolean":return Ye;case "string":return af}throw Error("THREE.KeyframeTrack: Unsupported typeName: "+a);}function Nk(a){if(void 0===a.type)throw Error("THREE.KeyframeTrack: track type undefined, can not parse");var b=Mk(a.type);if(void 0===a.times){var c=[],d=[];ea.flattenJSON(a.keys,c,d,"value");a.times=c;a.values=d}return void 0!==b.parse?b.parse(a):new b(a.name,a.times,a.values,a.interpolation)}function wg(a,b,c){var d=this,e=
!1,f=0,g=0,k=void 0,l=[];this.onStart=void 0;this.onLoad=a;this.onProgress=b;this.onError=c;this.itemStart=function(a){g++;if(!1===e&&void 0!==d.onStart)d.onStart(a,f,g);e=!0};this.itemEnd=function(a){f++;if(void 0!==d.onProgress)d.onProgress(a,f,g);if(f===g&&(e=!1,void 0!==d.onLoad))d.onLoad()};this.itemError=function(a){if(void 0!==d.onError)d.onError(a)};this.resolveURL=function(a){return k?k(a):a};this.setURLModifier=function(a){k=a;return this};this.addHandler=function(a,b){l.push(a,b);return this};
this.removeHandler=function(a){a=l.indexOf(a);-1!==a&&l.splice(a,2);return this};this.getHandler=function(a){for(var b=0,c=l.length;b<c;b+=2){var d=l[b],e=l[b+1];d.global&&(d.lastIndex=0);if(d.test(a))return e}return null}}function Q(a){this.manager=void 0!==a?a:gi;this.crossOrigin="anonymous";this.resourcePath=this.path=""}function Ra(a){Q.call(this,a)}function xg(a){Q.call(this,a)}function yg(a){Q.call(this,a)}function bf(a){Q.call(this,a)}function ed(a){Q.call(this,a)}function cf(a){Q.call(this,
a)}function df(a){Q.call(this,a)}function I(){this.type="Curve";this.arcLengthDivisions=200}function La(a,b,c,d,e,f,g,k){I.call(this);this.type="EllipseCurve";this.aX=a||0;this.aY=b||0;this.xRadius=c||1;this.yRadius=d||1;this.aStartAngle=e||0;this.aEndAngle=f||2*Math.PI;this.aClockwise=g||!1;this.aRotation=k||0}function fd(a,b,c,d,e,f){La.call(this,a,b,c,c,d,e,f);this.type="ArcCurve"}function zg(){var a=0,b=0,c=0,d=0;return{initCatmullRom:function(e,f,g,k,l){e=l*(g-e);k=l*(k-f);a=f;b=e;c=-3*f+3*g-
2*e-k;d=2*f-2*g+e+k},initNonuniformCatmullRom:function(e,f,g,k,l,m,h){e=((f-e)/l-(g-e)/(l+m)+(g-f)/m)*m;k=((g-f)/m-(k-f)/(m+h)+(k-g)/h)*m;a=f;b=e;c=-3*f+3*g-2*e-k;d=2*f-2*g+e+k},calc:function(e){var f=e*e;return a+b*e+c*f+d*f*e}}}function Aa(a,b,c,d){I.call(this);this.type="CatmullRomCurve3";this.points=a||[];this.closed=b||!1;this.curveType=c||"centripetal";this.tension=d||.5}function hi(a,b,c,d,e){b=.5*(d-b);e=.5*(e-c);var f=a*a;return(2*c-2*d+b+e)*a*f+(-3*c+3*d-2*b-e)*f+b*a+c}function re(a,b,c,
d){var e=1-a;return e*e*b+2*(1-a)*a*c+a*a*d}function se(a,b,c,d,e){var f=1-a,g=1-a;return f*f*f*b+3*g*g*a*c+3*(1-a)*a*a*d+a*a*a*e}function Wa(a,b,c,d){I.call(this);this.type="CubicBezierCurve";this.v0=a||new x;this.v1=b||new x;this.v2=c||new x;this.v3=d||new x}function ib(a,b,c,d){I.call(this);this.type="CubicBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n;this.v3=d||new n}function Ea(a,b){I.call(this);this.type="LineCurve";this.v1=a||new x;this.v2=b||new x}function Xa(a,b){I.call(this);
this.type="LineCurve3";this.v1=a||new n;this.v2=b||new n}function Ya(a,b,c){I.call(this);this.type="QuadraticBezierCurve";this.v0=a||new x;this.v1=b||new x;this.v2=c||new x}function jb(a,b,c){I.call(this);this.type="QuadraticBezierCurve3";this.v0=a||new n;this.v1=b||new n;this.v2=c||new n}function Za(a){I.call(this);this.type="SplineCurve";this.points=a||[]}function wb(){I.call(this);this.type="CurvePath";this.curves=[];this.autoClose=!1}function $a(a){wb.call(this);this.type="Path";this.currentPoint=
new x;a&&this.setFromPoints(a)}function Lb(a){$a.call(this,a);this.uuid=O.generateUUID();this.type="Shape";this.holes=[]}function ba(a,b){D.call(this);this.type="Light";this.color=new y(a);this.intensity=void 0!==b?b:1;this.receiveShadow=void 0}function ef(a,b,c){ba.call(this,a,c);this.type="HemisphereLight";this.castShadow=void 0;this.position.copy(D.DefaultUp);this.updateMatrix();this.groundColor=new y(b)}function kb(a){this.camera=a;this.bias=0;this.radius=1;this.mapSize=new x(512,512);this.mapPass=
this.map=null;this.matrix=new P;this._frustum=new Hd;this._frameExtents=new x(1,1);this._viewportCount=1;this._viewports=[new S(0,0,1,1)]}function ff(){kb.call(this,new pa(50,1,.5,500))}function gf(a,b,c,d,e,f){ba.call(this,a,b);this.type="SpotLight";this.position.copy(D.DefaultUp);this.updateMatrix();this.target=new D;Object.defineProperty(this,"power",{get:function(){return this.intensity*Math.PI},set:function(a){this.intensity=a/Math.PI}});this.distance=void 0!==c?c:0;this.angle=void 0!==d?d:Math.PI/
3;this.penumbra=void 0!==e?e:0;this.decay=void 0!==f?f:1;this.shadow=new ff}function Ag(){kb.call(this,new pa(90,1,.5,500));this._frameExtents=new x(4,2);this._viewportCount=6;this._viewports=[new S(2,1,1,1),new S(0,1,1,1),new S(3,1,1,1),new S(1,1,1,1),new S(3,0,1,1),new S(1,0,1,1)];this._cubeDirections=[new n(1,0,0),new n(-1,0,0),new n(0,0,1),new n(0,0,-1),new n(0,1,0),new n(0,-1,0)];this._cubeUps=[new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,1,0),new n(0,0,1),new n(0,0,-1)]}function hf(a,b,c,
d){ba.call(this,a,b);this.type="PointLight";Object.defineProperty(this,"power",{get:function(){return 4*this.intensity*Math.PI},set:function(a){this.intensity=a/(4*Math.PI)}});this.distance=void 0!==c?c:0;this.decay=void 0!==d?d:1;this.shadow=new Ag}function gd(a,b,c,d,e,f){db.call(this);this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=void 0!==a?a:-1;this.right=void 0!==b?b:1;this.top=void 0!==c?c:1;this.bottom=void 0!==d?d:-1;this.near=void 0!==e?e:.1;this.far=void 0!==f?f:2E3;
this.updateProjectionMatrix()}function jf(){kb.call(this,new gd(-5,5,5,-5,.5,500))}function kf(a,b){ba.call(this,a,b);this.type="DirectionalLight";this.position.copy(D.DefaultUp);this.updateMatrix();this.target=new D;this.shadow=new jf}function lf(a,b){ba.call(this,a,b);this.type="AmbientLight";this.castShadow=void 0}function mf(a,b,c,d){ba.call(this,a,b);this.type="RectAreaLight";this.width=void 0!==c?c:10;this.height=void 0!==d?d:10}function nf(a){Q.call(this,a);this.textures={}}function of(){G.call(this);
this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function pf(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument."));K.call(this,a,b,c);this.meshPerAttribute=d||1}function qf(a){Q.call(this,a)}function rf(a){Q.call(this,a)}function Bg(a){"undefined"===typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.");"undefined"===typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported.");
Q.call(this,a);this.options=void 0}function Cg(){this.type="ShapePath";this.color=new y;this.subPaths=[];this.currentPath=null}function Dg(a){this.type="Font";this.data=a}function Eg(a){Q.call(this,a)}function sf(a){Q.call(this,a)}function tf(){this.coefficients=[];for(var a=0;9>a;a++)this.coefficients.push(new n)}function ab(a,b){ba.call(this,void 0,b);this.sh=void 0!==a?a:new tf}function Fg(a,b,c){ab.call(this,void 0,c);a=(new y).set(a);c=(new y).set(b);b=new n(a.r,a.g,a.b);a=new n(c.r,c.g,c.b);
c=Math.sqrt(Math.PI);var d=c*Math.sqrt(.75);this.sh.coefficients[0].copy(b).add(a).multiplyScalar(c);this.sh.coefficients[1].copy(b).sub(a).multiplyScalar(d)}function Gg(a,b){ab.call(this,void 0,b);a=(new y).set(a);this.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScalar(2*Math.sqrt(Math.PI))}function ii(){this.type="StereoCamera";this.aspect=1;this.eyeSep=.064;this.cameraL=new pa;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=!1;this.cameraR=new pa;this.cameraR.layers.enable(2);this.cameraR.matrixAutoUpdate=
!1;this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}function Hg(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1}function Ig(){D.call(this);this.type="AudioListener";this.context=Jg.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0;this._clock=new Hg}function hd(a){D.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=
this.context.createGain();this.gain.connect(a.getInput());this.autoplay=!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.loopEnd=this.loopStart=0;this.duration=void 0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this._pausedAt=this._startedAt=0;this.filters=[]}function Kg(a){hd.call(this,a);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}function Lg(a,b){this.analyser=a.context.createAnalyser();
this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Mg(a,b,c){this.binding=a;this.valueSize=c;a=Float64Array;switch(b){case "quaternion":b=this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function ji(a,b,c){c=c||Ba.parseTrackName(b);this._targetGroup=a;this._bindings=
a.subscribe_(b,c)}function Ba(a,b,c){this.path=b;this.parsedPath=c||Ba.parseTrackName(b);this.node=Ba.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}function ki(){this.uuid=O.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},
get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function li(a,b,c){this._mixer=a;this._clip=b;this._localRoot=c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400,endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=
2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Ng(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function uf(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function Og(a,b,c){sb.call(this,
a,b);this.meshPerAttribute=c||1}function mi(a,b,c,d){this.ray=new Wb(a,b);this.near=c||0;this.far=d||Infinity;this.camera=null;this.params={Mesh:{},Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");return this.Points}}})}function ni(a,b){return a.distance-b.distance}function Pg(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e=
a.length;d<e;d++)Pg(a[d],b,c,!0)}}function oi(a,b,c){this.radius=void 0!==a?a:1;this.phi=void 0!==b?b:0;this.theta=void 0!==c?c:0;return this}function pi(a,b,c){this.radius=void 0!==a?a:1;this.theta=void 0!==b?b:0;this.y=void 0!==c?c:0;return this}function Qg(a,b){this.min=void 0!==a?a:new x(Infinity,Infinity);this.max=void 0!==b?b:new x(-Infinity,-Infinity)}function Rg(a,b){this.start=void 0!==a?a:new n;this.end=void 0!==b?b:new n}function te(a){D.call(this);this.material=a;this.render=function(){}}
function id(a,b){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=b;a=new G;b=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(var c=0,d=1;32>c;c++,d++){var e=c/32*Math.PI*2,f=d/32*Math.PI*2;b.push(Math.cos(e),Math.sin(e),1,Math.cos(f),Math.sin(f),1)}a.setAttribute("position",new C(b,3));b=new ja({fog:!1});this.cone=new la(a,b);this.add(this.cone);this.update()}function qi(a){var b=[];a&&a.isBone&&b.push(a);for(var c=
0;c<a.children.length;c++)b.push.apply(b,qi(a.children[c]));return b}function jd(a){for(var b=qi(a),c=new G,d=[],e=[],f=new y(0,0,1),g=new y(0,1,0),k=0;k<b.length;k++){var l=b[k];l.parent&&l.parent.isBone&&(d.push(0,0,0),d.push(0,0,0),e.push(f.r,f.g,f.b),e.push(g.r,g.g,g.b))}c.setAttribute("position",new C(d,3));c.setAttribute("color",new C(e,3));d=new ja({vertexColors:2,depthTest:!1,depthWrite:!1,transparent:!0});la.call(this,c,d);this.root=a;this.bones=b;this.matrix=a.matrixWorld;this.matrixAutoUpdate=
!1}function kd(a,b,c){this.light=a;this.light.updateMatrixWorld();this.color=c;a=new ic(b,4,2);b=new Oa({wireframe:!0,fog:!1});ca.call(this,a,b);this.matrix=this.light.matrixWorld;this.matrixAutoUpdate=!1;this.update()}function ld(a,b,c){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;a=new ec(b);a.rotateY(.5*Math.PI);this.material=new Oa({wireframe:!0,fog:!1});void 0===this.color&&(this.material.vertexColors=2);b=a.getAttribute("position");
b=new Float32Array(3*b.count);a.setAttribute("color",new K(b,3));this.add(new ca(a,this.material));this.update()}function vf(a,b,c,d){a=a||10;b=b||10;c=new y(void 0!==c?c:4473924);d=new y(void 0!==d?d:8947848);var e=b/2,f=a/b,g=a/2;a=[];for(var k=[],l=0,m=0,h=-g;l<=b;l++,h+=f){a.push(-g,0,h,g,0,h);a.push(h,0,-g,h,0,g);var p=l===e?c:d;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3;p.toArray(k,m);m+=3}b=new G;b.setAttribute("position",new C(a,3));b.setAttribute("color",new C(k,3));c=new ja({vertexColors:2});
la.call(this,b,c)}function wf(a,b,c,d,e,f){a=a||10;b=b||16;c=c||8;d=d||64;e=new y(void 0!==e?e:4473924);f=new y(void 0!==f?f:8947848);var g=[],k=[],l;for(l=0;l<=b;l++){var m=l/b*2*Math.PI;var h=Math.sin(m)*a;m=Math.cos(m)*a;g.push(0,0,0);g.push(h,0,m);var p=l&1?e:f;k.push(p.r,p.g,p.b);k.push(p.r,p.g,p.b)}for(l=0;l<=c;l++){p=l&1?e:f;var q=a-a/c*l;for(b=0;b<d;b++)m=b/d*2*Math.PI,h=Math.sin(m)*q,m=Math.cos(m)*q,g.push(h,0,m),k.push(p.r,p.g,p.b),m=(b+1)/d*2*Math.PI,h=Math.sin(m)*q,m=Math.cos(m)*q,g.push(h,
0,m),k.push(p.r,p.g,p.b)}a=new G;a.setAttribute("position",new C(g,3));a.setAttribute("color",new C(k,3));g=new ja({vertexColors:2});la.call(this,a,g)}function md(a,b,c){D.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;void 0===b&&(b=1);a=new G;a.setAttribute("position",new C([-b,b,0,b,b,0,b,-b,0,-b,-b,0,-b,b,0],3));b=new ja({fog:!1});this.lightPlane=new Ja(a,b);this.add(this.lightPlane);a=new G;a.setAttribute("position",new C([0,
0,0,0,0,1],3));this.targetLine=new Ja(a,b);this.add(this.targetLine);this.update()}function ue(a){function b(a,b,d){c(a,d);c(b,d)}function c(a,b){f.push(0,0,0);g.push(b.r,b.g,b.b);void 0===k[a]&&(k[a]=[]);k[a].push(f.length/3-1)}var d=new G,e=new ja({color:16777215,vertexColors:1}),f=[],g=[],k={},l=new y(16755200),m=new y(16711680),h=new y(43775),p=new y(16777215),q=new y(3355443);b("n1","n2",l);b("n2","n4",l);b("n4","n3",l);b("n3","n1",l);b("f1","f2",l);b("f2","f4",l);b("f4","f3",l);b("f3","f1",
l);b("n1","f1",l);b("n2","f2",l);b("n3","f3",l);b("n4","f4",l);b("p","n1",m);b("p","n2",m);b("p","n3",m);b("p","n4",m);b("u1","u2",h);b("u2","u3",h);b("u3","u1",h);b("c","t",p);b("p","c",q);b("cn1","cn2",q);b("cn3","cn4",q);b("cf1","cf2",q);b("cf3","cf4",q);d.setAttribute("position",new C(f,3));d.setAttribute("color",new C(g,3));la.call(this,d,e);this.camera=a;this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.pointMap=
k;this.update()}function ia(a,b,c,d,e,f,g){xf.set(e,f,g).unproject(d);a=b[a];if(void 0!==a)for(c=c.getAttribute("position"),b=0,d=a.length;b<d;b++)c.setXYZ(a[b],xf.x,xf.y,xf.z)}function xb(a,b){this.object=a;void 0===b&&(b=16776960);a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]);var c=new Float32Array(24),d=new G;d.setIndex(new K(a,1));d.setAttribute("position",new K(c,3));la.call(this,d,new ja({color:b}));this.matrixAutoUpdate=!1;this.update()}function ve(a,b){this.type="Box3Helper";
this.box=a;b=b||16776960;a=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]);var c=new G;c.setIndex(new K(a,1));c.setAttribute("position",new C([1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],3));la.call(this,c,new ja({color:b}));this.geometry.computeBoundingSphere()}function we(a,b,c){this.type="PlaneHelper";this.plane=a;this.size=void 0===b?1:b;a=void 0!==c?c:16776960;b=new G;b.setAttribute("position",new C([1,-1,1,-1,1,1,-1,-1,1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,1,
0,0,1,0,0,0],3));b.computeBoundingSphere();Ja.call(this,b,new ja({color:a}));b=new G;b.setAttribute("position",new C([1,1,1,-1,1,1,-1,-1,1,1,1,1,-1,-1,1,1,-1,1],3));b.computeBoundingSphere();this.add(new ca(b,new Oa({color:a,opacity:.2,transparent:!0,depthWrite:!1})))}function yb(a,b,c,d,e,f){D.call(this);void 0===a&&(a=new n(0,0,1));void 0===b&&(b=new n(0,0,0));void 0===c&&(c=1);void 0===d&&(d=16776960);void 0===e&&(e=.2*c);void 0===f&&(f=.2*e);void 0===yf&&(yf=new G,yf.setAttribute("position",new C([0,
0,0,0,1,0],3)),Sg=new ub(0,.5,1,5,1),Sg.translate(0,-.5,0));this.position.copy(b);this.line=new Ja(yf,new ja({color:d}));this.line.matrixAutoUpdate=!1;this.add(this.line);this.cone=new ca(Sg,new Oa({color:d}));this.cone.matrixAutoUpdate=!1;this.add(this.cone);this.setDirection(a);this.setLength(c,e,f)}function xe(a){a=a||1;var b=[0,0,0,a,0,0,0,0,0,0,a,0,0,0,0,0,0,a];a=new G;a.setAttribute("position",new C(b,3));a.setAttribute("color",new C([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));b=new ja({vertexColors:2});
la.call(this,a,b)}function Tg(a){Y=a;Ug(zf)}function ri(a){var b={magFilter:1003,minFilter:1003,generateMipmaps:!1,type:a?a.type:1009,format:a?a.format:1023,encoding:a?a.encoding:3002,depthBuffer:!1,stencilBuffer:!1},c=si(b);c.depthBuffer=a?!1:!0;Af=si(b);return c}function ti(){Af.dispose();Y.setRenderTarget(null);var a=Y.getSize(new x);Y.setViewport(0,0,a.x,a.y)}function Ug(a){var b=new pb;b.add(new ca(ye[0],a));Y.compile(b,Vg)}function si(a){a=new va(3*lb,3*lb,a);a.texture.mapping=306;a.texture.name=
"PMREM.cubeUv";a.scissorTest=!0;return a}function Wg(a,b,c,d){var e=1/Y.getPixelRatio();a*=e;b*=e;c*=e;d*=e;Y.setViewport(a,b,c,d);Y.setScissor(a,b,c,d)}function ui(a){var b=Y.autoClear;Y.autoClear=!1;for(var c=1;c<vi;c++)wi(a,c-1,c,Math.sqrt(Bf[c]*Bf[c]-Bf[c-1]*Bf[c-1]),xi[(c-1)%xi.length]);Y.autoClear=b}function wi(a,b,c,d,e){yi(a,Af,b,c,d,"latitudinal",e);yi(Af,a,c,c,d,"longitudinal",e)}function yi(a,b,c,d,e,f,g){"latitudinal"!==f&&"longitudinal"!==f&&console.error("blur direction must be either latitudinal or longitudinal!");
var k=new pb;k.add(new ca(ye[d],zf));var l=zf.uniforms,m=zi[c]-1;m=isFinite(e)?Math.PI/(2*m):2*Math.PI/39;var h=e/m,p=isFinite(e)?1+Math.floor(3*h):20;20<p&&console.warn("sigmaRadians, "+e+", is too large and will clip, as it requested "+p+" samples when the maximum is set to 20");for(var q=[],n=0,r=0;20>r;++r)e=r/h,e=Math.exp(-e*e/2),q.push(e),0==r?n+=e:r<p&&(n+=2*e);for(r=0;r<q.length;r++)q[r]/=n;l.envMap.value=a.texture;l.samples.value=p;l.weights.value=q;l.latitudinal.value="latitudinal"===f;
g&&(l.poleAxis.value=g);l.dTheta.value=m;l.mipInt.value=8-c;l.inputEncoding.value=mb[a.texture.encoding];l.outputEncoding.value=mb[a.texture.encoding];a=zi[d];e=3*Math.max(0,lb-2*a);d=(0===d?0:2*lb)+2*a*(4<d?d-8+4:0);Y.setRenderTarget(b);Wg(e,d,3*a,2*a);Y.render(k,Vg)}function Ai(){var a=new x(1,1);a=new vb({uniforms:{envMap:{value:null},texelSize:{value:a},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform vec2 texelSize;\n\n"+
Yg()+"\n\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tvec3 outputDirection = normalize(vOutputDirection);\n\tvec2 uv;\n\tuv.y = asin(clamp(outputDirection.y, -1.0, 1.0)) * RECIPROCAL_PI + 0.5;\n\tuv.x = atan(outputDirection.z, outputDirection.x) * RECIPROCAL_PI2 + 0.5;\n\tvec2 f = fract(uv / texelSize - 0.5);\n\tuv -= f * texelSize;\n\tvec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x += texelSize.x;\n\tvec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.y += texelSize.y;\n\tvec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tuv.x -= texelSize.x;\n\tvec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n\tvec3 tm = mix(tl, tr, f.x);\n\tvec3 bm = mix(bl, br, f.x);\n\tgl_FragColor.rgb = mix(tm, bm, f.y);\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="EquirectangularToCubeUV";return a}function Bi(){var a=new vb({uniforms:{envMap:{value:null},inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform samplerCube envMap;\n\n"+Yg()+"\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tgl_FragColor.rgb = envMapTexelToLinear(textureCube(envMap, vec3( - vOutputDirection.x, vOutputDirection.yz ))).rgb;\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="CubemapToCubeUV";return a}function Xg(){return"\nprecision mediump float;\nprecision mediump int;\nattribute vec3 position;\nattribute vec2 uv;\nattribute float faceIndex;\nvarying vec3 vOutputDirection;\nvec3 getDirection(vec2 uv, float face) {\n\tuv = 2.0 * uv - 1.0;\n\tvec3 direction = vec3(uv, 1.0);\n\tif (face == 0.0) {\n\t\tdirection = direction.zyx;\n\t\tdirection.z *= -1.0;\n\t} else if (face == 1.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.z *= -1.0;\n\t} else if (face == 3.0) {\n\t\tdirection = direction.zyx;\n\t\tdirection.x *= -1.0;\n\t} else if (face == 4.0) {\n\t\tdirection = direction.xzy;\n\t\tdirection.y *= -1.0;\n\t} else if (face == 5.0) {\n\t\tdirection.xz *= -1.0;\n\t}\n\treturn direction;\n}\nvoid main() {\n\tvOutputDirection = getDirection(uv, faceIndex);\n\tgl_Position = vec4( position, 1.0 );\n}\n\t"}
function Yg(){return"\nuniform int inputEncoding;\nuniform int outputEncoding;\n\n#include <encodings_pars_fragment>\n\nvec4 inputTexelToLinear(vec4 value){\n\tif(inputEncoding == 0){\n\t\treturn value;\n\t}else if(inputEncoding == 1){\n\t\treturn sRGBToLinear(value);\n\t}else if(inputEncoding == 2){\n\t\treturn RGBEToLinear(value);\n\t}else if(inputEncoding == 3){\n\t\treturn RGBMToLinear(value, 7.0);\n\t}else if(inputEncoding == 4){\n\t\treturn RGBMToLinear(value, 16.0);\n\t}else if(inputEncoding == 5){\n\t\treturn RGBDToLinear(value, 256.0);\n\t}else{\n\t\treturn GammaToLinear(value, 2.2);\n\t}\n}\n\nvec4 linearToOutputTexel(vec4 value){\n\tif(outputEncoding == 0){\n\t\treturn value;\n\t}else if(outputEncoding == 1){\n\t\treturn LinearTosRGB(value);\n\t}else if(outputEncoding == 2){\n\t\treturn LinearToRGBE(value);\n\t}else if(outputEncoding == 3){\n\t\treturn LinearToRGBM(value, 7.0);\n\t}else if(outputEncoding == 4){\n\t\treturn LinearToRGBM(value, 16.0);\n\t}else if(outputEncoding == 5){\n\t\treturn LinearToRGBD(value, 256.0);\n\t}else{\n\t\treturn LinearToGamma(value, 2.2);\n\t}\n}\n\nvec4 envMapTexelToLinear(vec4 color) {\n\treturn inputTexelToLinear(color);\n}\n\t"}
function Ci(a){console.warn("THREE.ClosedSplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom";this.closed=!0}function Di(a){console.warn("THREE.SplineCurve3 has been deprecated. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom"}function Zg(a){console.warn("THREE.Spline has been removed. Use THREE.CatmullRomCurve3 instead.");Aa.call(this,a);this.type="catmullrom"}void 0===Number.EPSILON&&(Number.EPSILON=Math.pow(2,
-52));void 0===Number.isInteger&&(Number.isInteger=function(a){return"number"===typeof a&&isFinite(a)&&Math.floor(a)===a});void 0===Math.sign&&(Math.sign=function(a){return 0>a?-1:0<a?1:+a});!1==="name"in Function.prototype&&Object.defineProperty(Function.prototype,"name",{get:function(){return this.toString().match(/^\s*function\s*([^\(\s]*)/)[1]}});void 0===Object.assign&&(Object.assign=function(a){if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=
Object(a),c=1;c<arguments.length;c++){var d=arguments[c];if(void 0!==d&&null!==d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b[e]=d[e])}return b});Object.assign(Fa.prototype,{addEventListener:function(a,b){void 0===this._listeners&&(this._listeners={});var c=this._listeners;void 0===c[a]&&(c[a]=[]);-1===c[a].indexOf(b)&&c[a].push(b)},hasEventListener:function(a,b){if(void 0===this._listeners)return!1;var c=this._listeners;return void 0!==c[a]&&-1!==c[a].indexOf(b)},removeEventListener:function(a,
b){void 0!==this._listeners&&(a=this._listeners[a],void 0!==a&&(b=a.indexOf(b),-1!==b&&a.splice(b,1)))},dispatchEvent:function(a){if(void 0!==this._listeners){var b=this._listeners[a.type];if(void 0!==b){a.target=this;b=b.slice(0);for(var c=0,d=b.length;c<d;c++)b[c].call(this,a)}}}});for(var ya=[],ze=0;256>ze;ze++)ya[ze]=(16>ze?"0":"")+ze.toString(16);var O={DEG2RAD:Math.PI/180,RAD2DEG:180/Math.PI,generateUUID:function(){var a=4294967295*Math.random()|0,b=4294967295*Math.random()|0,c=4294967295*Math.random()|
0,d=4294967295*Math.random()|0;return(ya[a&255]+ya[a>>8&255]+ya[a>>16&255]+ya[a>>24&255]+"-"+ya[b&255]+ya[b>>8&255]+"-"+ya[b>>16&15|64]+ya[b>>24&255]+"-"+ya[c&63|128]+ya[c>>8&255]+"-"+ya[c>>16&255]+ya[c>>24&255]+ya[d&255]+ya[d>>8&255]+ya[d>>16&255]+ya[d>>24&255]).toUpperCase()},clamp:function(a,b,c){return Math.max(b,Math.min(c,a))},euclideanModulo:function(a,b){return(a%b+b)%b},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},lerp:function(a,b,c){return(1-c)*a+c*b},smoothstep:function(a,
b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*(3-2*a)},smootherstep:function(a,b,c){if(a<=b)return 0;if(a>=c)return 1;a=(a-b)/(c-b);return a*a*a*(a*(6*a-15)+10)},randInt:function(a,b){return a+Math.floor(Math.random()*(b-a+1))},randFloat:function(a,b){return a+Math.random()*(b-a)},randFloatSpread:function(a){return a*(.5-Math.random())},degToRad:function(a){return a*O.DEG2RAD},radToDeg:function(a){return a*O.RAD2DEG},isPowerOfTwo:function(a){return 0===(a&a-1)&&0!==a},ceilPowerOfTwo:function(a){return Math.pow(2,
Math.ceil(Math.log(a)/Math.LN2))},floorPowerOfTwo:function(a){return Math.pow(2,Math.floor(Math.log(a)/Math.LN2))}};Object.defineProperties(x.prototype,{width:{get:function(){return this.x},set:function(a){this.x=a}},height:{get:function(){return this.y},set:function(a){this.y=a}}});Object.assign(x.prototype,{isVector2:!0,set:function(a,b){this.x=a;this.y=b;return this},setScalar:function(a){this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},
setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y)},copy:function(a){this.x=a.x;this.y=a.y;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),
this.addVectors(a,b);this.x+=a.x;this.y+=a.y;return this},addScalar:function(a){this.x+=a;this.y+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;return this},subScalar:function(a){this.x-=a;this.y-=a;return this},
subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this},multiply:function(a){this.x*=a.x;this.y*=a.y;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;return this},divide:function(a){this.x/=a.x;this.y/=a.y;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},applyMatrix3:function(a){var b=this.x,c=this.y;a=a.elements;this.x=a[0]*b+a[3]*c+a[6];this.y=a[1]*b+a[4]*c+a[7];return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);return this},
max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);
return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);return this},negate:function(){this.x=-this.x;this.y=-this.y;return this},dot:function(a){return this.x*a.x+this.y*a.y},cross:function(a){return this.x*a.y-this.y*a.x},lengthSq:function(){return this.x*
this.x+this.y*this.y},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)},normalize:function(){return this.divideScalar(this.length()||1)},angle:function(){var a=Math.atan2(this.y,this.x);0>a&&(a+=2*Math.PI);return a},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},distanceToSquared:function(a){var b=this.x-a.x;a=this.y-a.y;return b*b+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+
Math.abs(this.y-a.y)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;return a},fromBufferAttribute:function(a,
b,c){void 0!==c&&console.warn("THREE.Vector2: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);return this},rotateAround:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=this.x-a.x,e=this.y-a.y;this.x=d*c-e*b+a.x;this.y=d*b+e*c+a.y;return this}});Object.assign(Da,{slerp:function(a,b,c,d){return c.copy(a).slerp(b,d)},slerpFlat:function(a,b,c,d,e,f,g){var k=c[d+0],l=c[d+1],m=c[d+2];c=c[d+3];d=e[f+0];var h=e[f+1],p=e[f+2];e=e[f+3];if(c!==e||k!==d||l!==h||m!==
p){f=1-g;var q=k*d+l*h+m*p+c*e,n=0<=q?1:-1,r=1-q*q;r>Number.EPSILON&&(r=Math.sqrt(r),q=Math.atan2(r,q*n),f=Math.sin(f*q)/r,g=Math.sin(g*q)/r);n*=g;k=k*f+d*n;l=l*f+h*n;m=m*f+p*n;c=c*f+e*n;f===1-g&&(g=1/Math.sqrt(k*k+l*l+m*m+c*c),k*=g,l*=g,m*=g,c*=g)}a[b]=k;a[b+1]=l;a[b+2]=m;a[b+3]=c}});Object.defineProperties(Da.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},
set:function(a){this._z=a;this._onChangeCallback()}},w:{get:function(){return this._w},set:function(a){this._w=a;this._onChangeCallback()}}});Object.assign(Da.prototype,{isQuaternion:!0,set:function(a,b,c,d){this._x=a;this._y=b;this._z=c;this._w=d;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._w)},copy:function(a){this._x=a.x;this._y=a.y;this._z=a.z;this._w=a.w;this._onChangeCallback();return this},setFromEuler:function(a,b){if(!a||
!a.isEuler)throw Error("THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.");var c=a._x,d=a._y,e=a._z;a=a.order;var f=Math.cos,g=Math.sin,k=f(c/2),l=f(d/2);f=f(e/2);c=g(c/2);d=g(d/2);e=g(e/2);"XYZ"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e+c*d*f,this._w=k*l*f-c*d*e):"YXZ"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f+c*d*e):"ZXY"===a?(this._x=c*l*f-k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e+c*d*f,this._w=
k*l*f-c*d*e):"ZYX"===a?(this._x=c*l*f-k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f+c*d*e):"YZX"===a?(this._x=c*l*f+k*d*e,this._y=k*d*f+c*l*e,this._z=k*l*e-c*d*f,this._w=k*l*f-c*d*e):"XZY"===a&&(this._x=c*l*f-k*d*e,this._y=k*d*f-c*l*e,this._z=k*l*e+c*d*f,this._w=k*l*f+c*d*e);!1!==b&&this._onChangeCallback();return this},setFromAxisAngle:function(a,b){b/=2;var c=Math.sin(b);this._x=a.x*c;this._y=a.y*c;this._z=a.z*c;this._w=Math.cos(b);this._onChangeCallback();return this},setFromRotationMatrix:function(a){var b=
a.elements,c=b[0];a=b[4];var d=b[8],e=b[1],f=b[5],g=b[9],k=b[2],l=b[6];b=b[10];var m=c+f+b;0<m?(c=.5/Math.sqrt(m+1),this._w=.25/c,this._x=(l-g)*c,this._y=(d-k)*c,this._z=(e-a)*c):c>f&&c>b?(c=2*Math.sqrt(1+c-f-b),this._w=(l-g)/c,this._x=.25*c,this._y=(a+e)/c,this._z=(d+k)/c):f>b?(c=2*Math.sqrt(1+f-c-b),this._w=(d-k)/c,this._x=(a+e)/c,this._y=.25*c,this._z=(g+l)/c):(c=2*Math.sqrt(1+b-c-f),this._w=(e-a)/c,this._x=(d+k)/c,this._y=(g+l)/c,this._z=.25*c);this._onChangeCallback();return this},setFromUnitVectors:function(a,
b){var c=a.dot(b)+1;1E-6>c?(c=0,Math.abs(a.x)>Math.abs(a.z)?(this._x=-a.y,this._y=a.x,this._z=0):(this._x=0,this._y=-a.z,this._z=a.y)):(this._x=a.y*b.z-a.z*b.y,this._y=a.z*b.x-a.x*b.z,this._z=a.x*b.y-a.y*b.x);this._w=c;return this.normalize()},angleTo:function(a){return 2*Math.acos(Math.abs(O.clamp(this.dot(a),-1,1)))},rotateTowards:function(a,b){var c=this.angleTo(a);if(0===c)return this;this.slerp(a,Math.min(1,b/c));return this},inverse:function(){return this.conjugate()},conjugate:function(){this._x*=
-1;this._y*=-1;this._z*=-1;this._onChangeCallback();return this},dot:function(a){return this._x*a._x+this._y*a._y+this._z*a._z+this._w*a._w},lengthSq:function(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w},length:function(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)},normalize:function(){var a=this.length();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);this._onChangeCallback();return this},
multiply:function(a,b){return void 0!==b?(console.warn("THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead."),this.multiplyQuaternions(a,b)):this.multiplyQuaternions(this,a)},premultiply:function(a){return this.multiplyQuaternions(a,this)},multiplyQuaternions:function(a,b){var c=a._x,d=a._y,e=a._z;a=a._w;var f=b._x,g=b._y,k=b._z;b=b._w;this._x=c*b+a*f+d*k-e*g;this._y=d*b+a*g+e*f-c*k;this._z=e*b+a*k+c*g-d*f;this._w=a*b-c*f-d*g-e*k;this._onChangeCallback();
return this},slerp:function(a,b){if(0===b)return this;if(1===b)return this.copy(a);var c=this._x,d=this._y,e=this._z,f=this._w,g=f*a._w+c*a._x+d*a._y+e*a._z;0>g?(this._w=-a._w,this._x=-a._x,this._y=-a._y,this._z=-a._z,g=-g):this.copy(a);if(1<=g)return this._w=f,this._x=c,this._y=d,this._z=e,this;a=1-g*g;if(a<=Number.EPSILON)return g=1-b,this._w=g*f+b*this._w,this._x=g*c+b*this._x,this._y=g*d+b*this._y,this._z=g*e+b*this._z,this.normalize(),this._onChangeCallback(),this;a=Math.sqrt(a);var k=Math.atan2(a,
g);g=Math.sin((1-b)*k)/a;b=Math.sin(b*k)/a;this._w=f*g+this._w*b;this._x=c*g+this._x*b;this._y=d*g+this._y*b;this._z=e*g+this._z*b;this._onChangeCallback();return this},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._w===this._w},fromArray:function(a,b){void 0===b&&(b=0);this._x=a[b];this._y=a[b+1];this._z=a[b+2];this._w=a[b+3];this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+
3]=this._w;return a},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});var $g=new n,Ei=new Da;Object.assign(n.prototype,{isVector3:!0,set:function(a,b,c){this.x=a;this.y=b;this.z=c;return this},setScalar:function(a){this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=
b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,
b);this.x+=a.x;this.y+=a.y;this.z+=a.z;return this},addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;return this},subScalar:function(a){this.x-=
a;this.y-=a;this.z-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this},multiply:function(a,b){if(void 0!==b)return console.warn("THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead."),this.multiplyVectors(a,b);this.x*=a.x;this.y*=a.y;this.z*=a.z;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;return this},multiplyVectors:function(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this},
applyEuler:function(a){a&&a.isEuler||console.error("THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.");return this.applyQuaternion(Ei.setFromEuler(a))},applyAxisAngle:function(a,b){return this.applyQuaternion(Ei.setFromAxisAngle(a,b))},applyMatrix3:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[3]*c+a[6]*d;this.y=a[1]*b+a[4]*c+a[7]*d;this.z=a[2]*b+a[5]*c+a[8]*d;return this},applyNormalMatrix:function(a){return this.applyMatrix3(a).normalize()},
applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;var e=1/(a[3]*b+a[7]*c+a[11]*d+a[15]);this.x=(a[0]*b+a[4]*c+a[8]*d+a[12])*e;this.y=(a[1]*b+a[5]*c+a[9]*d+a[13])*e;this.z=(a[2]*b+a[6]*c+a[10]*d+a[14])*e;return this},applyQuaternion:function(a){var b=this.x,c=this.y,d=this.z,e=a.x,f=a.y,g=a.z;a=a.w;var k=a*b+f*d-g*c,l=a*c+g*b-e*d,m=a*d+e*c-f*b;b=-e*b-f*c-g*d;this.x=k*a+b*-e+l*-g-m*-f;this.y=l*a+b*-f+m*-e-k*-g;this.z=m*a+b*-g+k*-f-l*-e;return this},project:function(a){return this.applyMatrix4(a.matrixWorldInverse).applyMatrix4(a.projectionMatrix)},
unproject:function(a){return this.applyMatrix4(a.projectionMatrixInverse).applyMatrix4(a.matrixWorld)},transformDirection:function(a){var b=this.x,c=this.y,d=this.z;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d;this.y=a[1]*b+a[5]*c+a[9]*d;this.z=a[2]*b+a[6]*c+a[10]*d;return this.normalize()},divide:function(a){this.x/=a.x;this.y/=a.y;this.z/=a.z;return this},divideScalar:function(a){return this.multiplyScalar(1/a)},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,a.y);this.z=Math.min(this.z,
a.z);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,this.y));this.z=Math.max(a,Math.min(b,this.z));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||
1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);return this},round:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=
0>this.z?Math.ceil(this.z):Math.floor(this.z);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*a.z},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},
lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-this.z)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},cross:function(a,b){return void 0!==b?(console.warn("THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead."),this.crossVectors(a,b)):this.crossVectors(this,a)},crossVectors:function(a,b){var c=a.x,d=a.y;a=a.z;var e=b.x,f=b.y;b=b.z;this.x=d*b-a*f;this.y=a*e-c*b;this.z=c*f-d*e;return this},
projectOnVector:function(a){var b=a.dot(this)/a.lengthSq();return this.copy(a).multiplyScalar(b)},projectOnPlane:function(a){$g.copy(this).projectOnVector(a);return this.sub($g)},reflect:function(a){return this.sub($g.copy(a).multiplyScalar(2*this.dot(a)))},angleTo:function(a){var b=Math.sqrt(this.lengthSq()*a.lengthSq());0===b&&console.error("THREE.Vector3: angleTo() can't handle zero length vectors.");a=this.dot(a)/b;return Math.acos(O.clamp(a,-1,1))},distanceTo:function(a){return Math.sqrt(this.distanceToSquared(a))},
distanceToSquared:function(a){var b=this.x-a.x,c=this.y-a.y;a=this.z-a.z;return b*b+c*c+a*a},manhattanDistanceTo:function(a){return Math.abs(this.x-a.x)+Math.abs(this.y-a.y)+Math.abs(this.z-a.z)},setFromSpherical:function(a){return this.setFromSphericalCoords(a.radius,a.phi,a.theta)},setFromSphericalCoords:function(a,b,c){var d=Math.sin(b)*a;this.x=d*Math.sin(c);this.y=Math.cos(b)*a;this.z=d*Math.cos(c);return this},setFromCylindrical:function(a){return this.setFromCylindricalCoords(a.radius,a.theta,
a.y)},setFromCylindricalCoords:function(a,b,c){this.x=a*Math.sin(b);this.y=c;this.z=a*Math.cos(b);return this},setFromMatrixPosition:function(a){a=a.elements;this.x=a[12];this.y=a[13];this.z=a[14];return this},setFromMatrixScale:function(a){var b=this.setFromMatrixColumn(a,0).length(),c=this.setFromMatrixColumn(a,1).length();a=this.setFromMatrixColumn(a,2).length();this.x=b;this.y=c;this.z=a;return this},setFromMatrixColumn:function(a,b){return this.fromArray(a.elements,4*b)},equals:function(a){return a.x===
this.x&&a.y===this.y&&a.z===this.z},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector3: offset has been removed from .fromBufferAttribute().");this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);return this}});var tc=new n;Object.assign(za.prototype,{isMatrix3:!0,set:function(a,
b,c,d,e,f,g,k,l){var m=this.elements;m[0]=a;m[1]=d;m[2]=g;m[3]=b;m[4]=e;m[5]=k;m[6]=c;m[7]=f;m[8]=l;return this},identity:function(){this.set(1,0,0,0,1,0,0,0,1);return this},clone:function(){return(new this.constructor).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];return this},setFromMatrix4:function(a){a=a.elements;this.set(a[0],a[4],a[8],a[1],a[5],a[9],a[2],a[6],a[10]);return this},
applyToBufferAttribute:function(a){for(var b=0,c=a.count;b<c;b++)tc.x=a.getX(b),tc.y=a.getY(b),tc.z=a.getZ(b),tc.applyMatrix3(this),a.setXYZ(b,tc.x,tc.y,tc.z);return a},multiply:function(a){return this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[3],f=c[6],g=c[1],k=c[4],l=c[7],m=c[2],h=c[5];c=c[8];var p=d[0],q=d[3],n=d[6],r=d[1],u=d[4],z=d[7],w=d[2],B=d[5];d=d[8];
b[0]=a*p+e*r+f*w;b[3]=a*q+e*u+f*B;b[6]=a*n+e*z+f*d;b[1]=g*p+k*r+l*w;b[4]=g*q+k*u+l*B;b[7]=g*n+k*z+l*d;b[2]=m*p+h*r+c*w;b[5]=m*q+h*u+c*B;b[8]=m*n+h*z+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[3]*=a;b[6]*=a;b[1]*=a;b[4]*=a;b[7]*=a;b[2]*=a;b[5]*=a;b[8]*=a;return this},determinant:function(){var a=this.elements,b=a[0],c=a[1],d=a[2],e=a[3],f=a[4],g=a[5],k=a[6],l=a[7];a=a[8];return b*f*a-b*g*l-c*e*a+c*g*k+d*e*l-d*f*k},getInverse:function(a,b){a&&a.isMatrix4&&console.error("THREE.Matrix3: .getInverse() no longer takes a Matrix4 argument.");
var c=a.elements;a=this.elements;var d=c[0],e=c[1],f=c[2],g=c[3],k=c[4],l=c[5],m=c[6],h=c[7];c=c[8];var p=c*k-l*h,q=l*m-c*g,n=h*g-k*m,r=d*p+e*q+f*n;if(0===r){if(!0===b)throw Error("THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0");console.warn("THREE.Matrix3: .getInverse() can't invert matrix, determinant is 0");return this.identity()}b=1/r;a[0]=p*b;a[1]=(f*h-c*e)*b;a[2]=(l*e-f*k)*b;a[3]=q*b;a[4]=(c*d-f*m)*b;a[5]=(f*g-l*d)*b;a[6]=n*b;a[7]=(e*m-h*d)*b;a[8]=(k*d-e*g)*b;return this},
transpose:function(){var a=this.elements;var b=a[1];a[1]=a[3];a[3]=b;b=a[2];a[2]=a[6];a[6]=b;b=a[5];a[5]=a[7];a[7]=b;return this},getNormalMatrix:function(a){return this.setFromMatrix4(a).getInverse(this).transpose()},transposeIntoArray:function(a){var b=this.elements;a[0]=b[0];a[1]=b[3];a[2]=b[6];a[3]=b[1];a[4]=b[4];a[5]=b[7];a[6]=b[2];a[7]=b[5];a[8]=b[8];return this},setUvTransform:function(a,b,c,d,e,f,g){var k=Math.cos(e);e=Math.sin(e);this.set(c*k,c*e,-c*(k*f+e*g)+f+a,-d*e,d*k,-d*(-e*f+k*g)+g+
b,0,0,1)},scale:function(a,b){var c=this.elements;c[0]*=a;c[3]*=a;c[6]*=a;c[1]*=b;c[4]*=b;c[7]*=b;return this},rotate:function(a){var b=Math.cos(a);a=Math.sin(a);var c=this.elements,d=c[0],e=c[3],f=c[6],g=c[1],k=c[4],l=c[7];c[0]=b*d+a*g;c[3]=b*e+a*k;c[6]=b*f+a*l;c[1]=-a*d+b*g;c[4]=-a*e+b*k;c[7]=-a*f+b*l;return this},translate:function(a,b){var c=this.elements;c[0]+=a*c[2];c[3]+=a*c[5];c[6]+=a*c[8];c[1]+=b*c[2];c[4]+=b*c[5];c[7]+=b*c[8];return this},equals:function(a){var b=this.elements;a=a.elements;
for(var c=0;9>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;9>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];return a}});var nd,Mb={getDataURL:function(a){if("undefined"==typeof HTMLCanvasElement)return a.src;if(!(a instanceof HTMLCanvasElement)){void 0===nd&&(nd=document.createElementNS("http://www.w3.org/1999/xhtml",
"canvas"));nd.width=a.width;nd.height=a.height;var b=nd.getContext("2d");a instanceof ImageData?b.putImageData(a,0,0):b.drawImage(a,0,0,a.width,a.height);a=nd}return 2048<a.width||2048<a.height?a.toDataURL("image/jpeg",.6):a.toDataURL("image/png")}},mj=0;T.DEFAULT_IMAGE=void 0;T.DEFAULT_MAPPING=300;T.prototype=Object.assign(Object.create(Fa.prototype),{constructor:T,isTexture:!0,updateMatrix:function(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,
this.center.x,this.center.y)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.image=a.image;this.mipmaps=a.mipmaps.slice(0);this.mapping=a.mapping;this.wrapS=a.wrapS;this.wrapT=a.wrapT;this.magFilter=a.magFilter;this.minFilter=a.minFilter;this.anisotropy=a.anisotropy;this.format=a.format;this.internalFormat=a.internalFormat;this.type=a.type;this.offset.copy(a.offset);this.repeat.copy(a.repeat);this.center.copy(a.center);this.rotation=a.rotation;this.matrixAutoUpdate=
a.matrixAutoUpdate;this.matrix.copy(a.matrix);this.generateMipmaps=a.generateMipmaps;this.premultiplyAlpha=a.premultiplyAlpha;this.flipY=a.flipY;this.unpackAlignment=a.unpackAlignment;this.encoding=a.encoding;return this},toJSON:function(a){var b=void 0===a||"string"===typeof a;if(!b&&void 0!==a.textures[this.uuid])return a.textures[this.uuid];var c={metadata:{version:4.5,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,mapping:this.mapping,repeat:[this.repeat.x,this.repeat.y],
offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,type:this.type,encoding:this.encoding,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(void 0!==this.image){var d=this.image;void 0===d.uuid&&(d.uuid=O.generateUUID());if(!b&&void 0===a.images[d.uuid]){if(Array.isArray(d)){var e=[];
for(var f=0,g=d.length;f<g;f++)e.push(Mb.getDataURL(d[f]))}else e=Mb.getDataURL(d);a.images[d.uuid]={uuid:d.uuid,url:e}}c.image=d.uuid}b||(a.textures[this.uuid]=c);return c},dispose:function(){this.dispatchEvent({type:"dispose"})},transformUv:function(a){if(300!==this.mapping)return a;a.applyMatrix3(this.matrix);if(0>a.x||1<a.x)switch(this.wrapS){case 1E3:a.x-=Math.floor(a.x);break;case 1001:a.x=0>a.x?0:1;break;case 1002:a.x=1===Math.abs(Math.floor(a.x)%2)?Math.ceil(a.x)-a.x:a.x-Math.floor(a.x)}if(0>
a.y||1<a.y)switch(this.wrapT){case 1E3:a.y-=Math.floor(a.y);break;case 1001:a.y=0>a.y?0:1;break;case 1002:a.y=1===Math.abs(Math.floor(a.y)%2)?Math.ceil(a.y)-a.y:a.y-Math.floor(a.y)}this.flipY&&(a.y=1-a.y);return a}});Object.defineProperty(T.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.defineProperties(S.prototype,{width:{get:function(){return this.z},set:function(a){this.z=a}},height:{get:function(){return this.w},set:function(a){this.w=a}}});Object.assign(S.prototype,
{isVector4:!0,set:function(a,b,c,d){this.x=a;this.y=b;this.z=c;this.w=d;return this},setScalar:function(a){this.w=this.z=this.y=this.x=a;return this},setX:function(a){this.x=a;return this},setY:function(a){this.y=a;return this},setZ:function(a){this.z=a;return this},setW:function(a){this.w=a;return this},setComponent:function(a,b){switch(a){case 0:this.x=b;break;case 1:this.y=b;break;case 2:this.z=b;break;case 3:this.w=b;break;default:throw Error("index is out of range: "+a);}return this},getComponent:function(a){switch(a){case 0:return this.x;
case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw Error("index is out of range: "+a);}},clone:function(){return new this.constructor(this.x,this.y,this.z,this.w)},copy:function(a){this.x=a.x;this.y=a.y;this.z=a.z;this.w=void 0!==a.w?a.w:1;return this},add:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead."),this.addVectors(a,b);this.x+=a.x;this.y+=a.y;this.z+=a.z;this.w+=a.w;return this},
addScalar:function(a){this.x+=a;this.y+=a;this.z+=a;this.w+=a;return this},addVectors:function(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;this.w=a.w+b.w;return this},addScaledVector:function(a,b){this.x+=a.x*b;this.y+=a.y*b;this.z+=a.z*b;this.w+=a.w*b;return this},sub:function(a,b){if(void 0!==b)return console.warn("THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead."),this.subVectors(a,b);this.x-=a.x;this.y-=a.y;this.z-=a.z;this.w-=a.w;return this},subScalar:function(a){this.x-=
a;this.y-=a;this.z-=a;this.w-=a;return this},subVectors:function(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;this.w=a.w-b.w;return this},multiplyScalar:function(a){this.x*=a;this.y*=a;this.z*=a;this.w*=a;return this},applyMatrix4:function(a){var b=this.x,c=this.y,d=this.z,e=this.w;a=a.elements;this.x=a[0]*b+a[4]*c+a[8]*d+a[12]*e;this.y=a[1]*b+a[5]*c+a[9]*d+a[13]*e;this.z=a[2]*b+a[6]*c+a[10]*d+a[14]*e;this.w=a[3]*b+a[7]*c+a[11]*d+a[15]*e;return this},divideScalar:function(a){return this.multiplyScalar(1/
a)},setAxisAngleFromQuaternion:function(a){this.w=2*Math.acos(a.w);var b=Math.sqrt(1-a.w*a.w);1E-4>b?(this.x=1,this.z=this.y=0):(this.x=a.x/b,this.y=a.y/b,this.z=a.z/b);return this},setAxisAngleFromRotationMatrix:function(a){a=a.elements;var b=a[0];var c=a[4];var d=a[8],e=a[1],f=a[5],g=a[9];var k=a[2];var l=a[6];var m=a[10];if(.01>Math.abs(c-e)&&.01>Math.abs(d-k)&&.01>Math.abs(g-l)){if(.1>Math.abs(c+e)&&.1>Math.abs(d+k)&&.1>Math.abs(g+l)&&.1>Math.abs(b+f+m-3))return this.set(1,0,0,0),this;a=Math.PI;
b=(b+1)/2;f=(f+1)/2;m=(m+1)/2;c=(c+e)/4;d=(d+k)/4;g=(g+l)/4;b>f&&b>m?.01>b?(l=0,c=k=.707106781):(l=Math.sqrt(b),k=c/l,c=d/l):f>m?.01>f?(l=.707106781,k=0,c=.707106781):(k=Math.sqrt(f),l=c/k,c=g/k):.01>m?(k=l=.707106781,c=0):(c=Math.sqrt(m),l=d/c,k=g/c);this.set(l,k,c,a);return this}a=Math.sqrt((l-g)*(l-g)+(d-k)*(d-k)+(e-c)*(e-c));.001>Math.abs(a)&&(a=1);this.x=(l-g)/a;this.y=(d-k)/a;this.z=(e-c)/a;this.w=Math.acos((b+f+m-1)/2);return this},min:function(a){this.x=Math.min(this.x,a.x);this.y=Math.min(this.y,
a.y);this.z=Math.min(this.z,a.z);this.w=Math.min(this.w,a.w);return this},max:function(a){this.x=Math.max(this.x,a.x);this.y=Math.max(this.y,a.y);this.z=Math.max(this.z,a.z);this.w=Math.max(this.w,a.w);return this},clamp:function(a,b){this.x=Math.max(a.x,Math.min(b.x,this.x));this.y=Math.max(a.y,Math.min(b.y,this.y));this.z=Math.max(a.z,Math.min(b.z,this.z));this.w=Math.max(a.w,Math.min(b.w,this.w));return this},clampScalar:function(a,b){this.x=Math.max(a,Math.min(b,this.x));this.y=Math.max(a,Math.min(b,
this.y));this.z=Math.max(a,Math.min(b,this.z));this.w=Math.max(a,Math.min(b,this.w));return this},clampLength:function(a,b){var c=this.length();return this.divideScalar(c||1).multiplyScalar(Math.max(a,Math.min(b,c)))},floor:function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);this.w=Math.floor(this.w);return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);this.w=Math.ceil(this.w);return this},round:function(){this.x=
Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this},roundToZero:function(){this.x=0>this.x?Math.ceil(this.x):Math.floor(this.x);this.y=0>this.y?Math.ceil(this.y):Math.floor(this.y);this.z=0>this.z?Math.ceil(this.z):Math.floor(this.z);this.w=0>this.w?Math.ceil(this.w):Math.floor(this.w);return this},negate:function(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this},dot:function(a){return this.x*a.x+this.y*a.y+this.z*
a.z+this.w*a.w},lengthSq:function(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)},manhattanLength:function(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)},normalize:function(){return this.divideScalar(this.length()||1)},setLength:function(a){return this.normalize().multiplyScalar(a)},lerp:function(a,b){this.x+=(a.x-this.x)*b;this.y+=(a.y-this.y)*b;this.z+=(a.z-
this.z)*b;this.w+=(a.w-this.w)*b;return this},lerpVectors:function(a,b,c){return this.subVectors(b,a).multiplyScalar(c).add(a)},equals:function(a){return a.x===this.x&&a.y===this.y&&a.z===this.z&&a.w===this.w},fromArray:function(a,b){void 0===b&&(b=0);this.x=a[b];this.y=a[b+1];this.z=a[b+2];this.w=a[b+3];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.x;a[b+1]=this.y;a[b+2]=this.z;a[b+3]=this.w;return a},fromBufferAttribute:function(a,b,c){void 0!==c&&console.warn("THREE.Vector4: offset has been removed from .fromBufferAttribute().");
this.x=a.getX(b);this.y=a.getY(b);this.z=a.getZ(b);this.w=a.getW(b);return this}});va.prototype=Object.assign(Object.create(Fa.prototype),{constructor:va,isWebGLRenderTarget:!0,setSize:function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.texture.image.width=a,this.texture.image.height=b,this.dispose();this.viewport.set(0,0,a,b);this.scissor.set(0,0,a,b)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.width=a.width;this.height=a.height;this.viewport.copy(a.viewport);
this.texture=a.texture.clone();this.depthBuffer=a.depthBuffer;this.stencilBuffer=a.stencilBuffer;this.depthTexture=a.depthTexture;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Zf.prototype=Object.assign(Object.create(va.prototype),{constructor:Zf,isWebGLMultisampleRenderTarget:!0,copy:function(a){va.prototype.copy.call(this,a);this.samples=a.samples;return this}});var Ma=new n,W=new P,Ok=new n(0,0,0),Pk=new n(1,1,1),Nb=new n,Cf=new n,ka=new n;Object.assign(P.prototype,{isMatrix4:!0,
set:function(a,b,c,d,e,f,g,k,l,m,h,p,q,n,r,u){var v=this.elements;v[0]=a;v[4]=b;v[8]=c;v[12]=d;v[1]=e;v[5]=f;v[9]=g;v[13]=k;v[2]=l;v[6]=m;v[10]=h;v[14]=p;v[3]=q;v[7]=n;v[11]=r;v[15]=u;return this},identity:function(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this},clone:function(){return(new P).fromArray(this.elements)},copy:function(a){var b=this.elements;a=a.elements;b[0]=a[0];b[1]=a[1];b[2]=a[2];b[3]=a[3];b[4]=a[4];b[5]=a[5];b[6]=a[6];b[7]=a[7];b[8]=a[8];b[9]=a[9];b[10]=a[10];b[11]=a[11];
b[12]=a[12];b[13]=a[13];b[14]=a[14];b[15]=a[15];return this},copyPosition:function(a){var b=this.elements;a=a.elements;b[12]=a[12];b[13]=a[13];b[14]=a[14];return this},extractBasis:function(a,b,c){a.setFromMatrixColumn(this,0);b.setFromMatrixColumn(this,1);c.setFromMatrixColumn(this,2);return this},makeBasis:function(a,b,c){this.set(a.x,b.x,c.x,0,a.y,b.y,c.y,0,a.z,b.z,c.z,0,0,0,0,1);return this},extractRotation:function(a){var b=this.elements,c=a.elements,d=1/Ma.setFromMatrixColumn(a,0).length(),
e=1/Ma.setFromMatrixColumn(a,1).length();a=1/Ma.setFromMatrixColumn(a,2).length();b[0]=c[0]*d;b[1]=c[1]*d;b[2]=c[2]*d;b[3]=0;b[4]=c[4]*e;b[5]=c[5]*e;b[6]=c[6]*e;b[7]=0;b[8]=c[8]*a;b[9]=c[9]*a;b[10]=c[10]*a;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromEuler:function(a){a&&a.isEuler||console.error("THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.");var b=this.elements,c=a.x,d=a.y,e=a.z,f=Math.cos(c);c=Math.sin(c);var g=Math.cos(d);
d=Math.sin(d);var k=Math.cos(e);e=Math.sin(e);if("XYZ"===a.order){a=f*k;var l=f*e,m=c*k,h=c*e;b[0]=g*k;b[4]=-g*e;b[8]=d;b[1]=l+m*d;b[5]=a-h*d;b[9]=-c*g;b[2]=h-a*d;b[6]=m+l*d;b[10]=f*g}else"YXZ"===a.order?(a=g*k,l=g*e,m=d*k,h=d*e,b[0]=a+h*c,b[4]=m*c-l,b[8]=f*d,b[1]=f*e,b[5]=f*k,b[9]=-c,b[2]=l*c-m,b[6]=h+a*c,b[10]=f*g):"ZXY"===a.order?(a=g*k,l=g*e,m=d*k,h=d*e,b[0]=a-h*c,b[4]=-f*e,b[8]=m+l*c,b[1]=l+m*c,b[5]=f*k,b[9]=h-a*c,b[2]=-f*d,b[6]=c,b[10]=f*g):"ZYX"===a.order?(a=f*k,l=f*e,m=c*k,h=c*e,b[0]=g*k,
b[4]=m*d-l,b[8]=a*d+h,b[1]=g*e,b[5]=h*d+a,b[9]=l*d-m,b[2]=-d,b[6]=c*g,b[10]=f*g):"YZX"===a.order?(a=f*g,l=f*d,m=c*g,h=c*d,b[0]=g*k,b[4]=h-a*e,b[8]=m*e+l,b[1]=e,b[5]=f*k,b[9]=-c*k,b[2]=-d*k,b[6]=l*e+m,b[10]=a-h*e):"XZY"===a.order&&(a=f*g,l=f*d,m=c*g,h=c*d,b[0]=g*k,b[4]=-e,b[8]=d*k,b[1]=a*e+h,b[5]=f*k,b[9]=l*e-m,b[2]=m*e-l,b[6]=c*k,b[10]=h*e+a);b[3]=0;b[7]=0;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1;return this},makeRotationFromQuaternion:function(a){return this.compose(Ok,a,Pk)},lookAt:function(a,b,
c){var d=this.elements;ka.subVectors(a,b);0===ka.lengthSq()&&(ka.z=1);ka.normalize();Nb.crossVectors(c,ka);0===Nb.lengthSq()&&(1===Math.abs(c.z)?ka.x+=1E-4:ka.z+=1E-4,ka.normalize(),Nb.crossVectors(c,ka));Nb.normalize();Cf.crossVectors(ka,Nb);d[0]=Nb.x;d[4]=Cf.x;d[8]=ka.x;d[1]=Nb.y;d[5]=Cf.y;d[9]=ka.y;d[2]=Nb.z;d[6]=Cf.z;d[10]=ka.z;return this},multiply:function(a,b){return void 0!==b?(console.warn("THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead."),
this.multiplyMatrices(a,b)):this.multiplyMatrices(this,a)},premultiply:function(a){return this.multiplyMatrices(a,this)},multiplyMatrices:function(a,b){var c=a.elements,d=b.elements;b=this.elements;a=c[0];var e=c[4],f=c[8],g=c[12],k=c[1],l=c[5],m=c[9],h=c[13],p=c[2],q=c[6],n=c[10],r=c[14],u=c[3],z=c[7],w=c[11];c=c[15];var B=d[0],x=d[4],y=d[8],A=d[12],C=d[1],G=d[5],D=d[9],E=d[13],F=d[2],I=d[6],K=d[10],L=d[14],M=d[3],N=d[7],O=d[11];d=d[15];b[0]=a*B+e*C+f*F+g*M;b[4]=a*x+e*G+f*I+g*N;b[8]=a*y+e*D+f*K+
g*O;b[12]=a*A+e*E+f*L+g*d;b[1]=k*B+l*C+m*F+h*M;b[5]=k*x+l*G+m*I+h*N;b[9]=k*y+l*D+m*K+h*O;b[13]=k*A+l*E+m*L+h*d;b[2]=p*B+q*C+n*F+r*M;b[6]=p*x+q*G+n*I+r*N;b[10]=p*y+q*D+n*K+r*O;b[14]=p*A+q*E+n*L+r*d;b[3]=u*B+z*C+w*F+c*M;b[7]=u*x+z*G+w*I+c*N;b[11]=u*y+z*D+w*K+c*O;b[15]=u*A+z*E+w*L+c*d;return this},multiplyScalar:function(a){var b=this.elements;b[0]*=a;b[4]*=a;b[8]*=a;b[12]*=a;b[1]*=a;b[5]*=a;b[9]*=a;b[13]*=a;b[2]*=a;b[6]*=a;b[10]*=a;b[14]*=a;b[3]*=a;b[7]*=a;b[11]*=a;b[15]*=a;return this},applyToBufferAttribute:function(a){for(var b=
0,c=a.count;b<c;b++)Ma.x=a.getX(b),Ma.y=a.getY(b),Ma.z=a.getZ(b),Ma.applyMatrix4(this),a.setXYZ(b,Ma.x,Ma.y,Ma.z);return a},determinant:function(){var a=this.elements,b=a[0],c=a[4],d=a[8],e=a[12],f=a[1],g=a[5],k=a[9],l=a[13],m=a[2],h=a[6],p=a[10],q=a[14];return a[3]*(+e*k*h-d*l*h-e*g*p+c*l*p+d*g*q-c*k*q)+a[7]*(+b*k*q-b*l*p+e*f*p-d*f*q+d*l*m-e*k*m)+a[11]*(+b*l*h-b*g*q-e*f*h+c*f*q+e*g*m-c*l*m)+a[15]*(-d*g*m-b*k*h+b*g*p+d*f*h-c*f*p+c*k*m)},transpose:function(){var a=this.elements;var b=a[1];a[1]=a[4];
a[4]=b;b=a[2];a[2]=a[8];a[8]=b;b=a[6];a[6]=a[9];a[9]=b;b=a[3];a[3]=a[12];a[12]=b;b=a[7];a[7]=a[13];a[13]=b;b=a[11];a[11]=a[14];a[14]=b;return this},setPosition:function(a,b,c){var d=this.elements;a.isVector3?(d[12]=a.x,d[13]=a.y,d[14]=a.z):(d[12]=a,d[13]=b,d[14]=c);return this},getInverse:function(a,b){var c=this.elements,d=a.elements;a=d[0];var e=d[1],f=d[2],g=d[3],k=d[4],l=d[5],m=d[6],h=d[7],p=d[8],q=d[9],n=d[10],r=d[11],u=d[12],z=d[13],w=d[14];d=d[15];var B=q*w*h-z*n*h+z*m*r-l*w*r-q*m*d+l*n*d,
x=u*n*h-p*w*h-u*m*r+k*w*r+p*m*d-k*n*d,y=p*z*h-u*q*h+u*l*r-k*z*r-p*l*d+k*q*d,A=u*q*m-p*z*m-u*l*n+k*z*n+p*l*w-k*q*w,C=a*B+e*x+f*y+g*A;if(0===C){if(!0===b)throw Error("THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0");console.warn("THREE.Matrix4: .getInverse() can't invert matrix, determinant is 0");return this.identity()}b=1/C;c[0]=B*b;c[1]=(z*n*g-q*w*g-z*f*r+e*w*r+q*f*d-e*n*d)*b;c[2]=(l*w*g-z*m*g+z*f*h-e*w*h-l*f*d+e*m*d)*b;c[3]=(q*m*g-l*n*g-q*f*h+e*n*h+l*f*r-e*m*r)*b;c[4]=x*b;c[5]=
(p*w*g-u*n*g+u*f*r-a*w*r-p*f*d+a*n*d)*b;c[6]=(u*m*g-k*w*g-u*f*h+a*w*h+k*f*d-a*m*d)*b;c[7]=(k*n*g-p*m*g+p*f*h-a*n*h-k*f*r+a*m*r)*b;c[8]=y*b;c[9]=(u*q*g-p*z*g-u*e*r+a*z*r+p*e*d-a*q*d)*b;c[10]=(k*z*g-u*l*g+u*e*h-a*z*h-k*e*d+a*l*d)*b;c[11]=(p*l*g-k*q*g-p*e*h+a*q*h+k*e*r-a*l*r)*b;c[12]=A*b;c[13]=(p*z*f-u*q*f+u*e*n-a*z*n-p*e*w+a*q*w)*b;c[14]=(u*l*f-k*z*f-u*e*m+a*z*m+k*e*w-a*l*w)*b;c[15]=(k*q*f-p*l*f+p*e*m-a*q*m-k*e*n+a*l*n)*b;return this},scale:function(a){var b=this.elements,c=a.x,d=a.y;a=a.z;b[0]*=c;
b[4]*=d;b[8]*=a;b[1]*=c;b[5]*=d;b[9]*=a;b[2]*=c;b[6]*=d;b[10]*=a;b[3]*=c;b[7]*=d;b[11]*=a;return this},getMaxScaleOnAxis:function(){var a=this.elements;return Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1]+a[2]*a[2],a[4]*a[4]+a[5]*a[5]+a[6]*a[6],a[8]*a[8]+a[9]*a[9]+a[10]*a[10]))},makeTranslation:function(a,b,c){this.set(1,0,0,a,0,1,0,b,0,0,1,c,0,0,0,1);return this},makeRotationX:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(1,0,0,0,0,b,-a,0,0,a,b,0,0,0,0,1);return this},makeRotationY:function(a){var b=
Math.cos(a);a=Math.sin(a);this.set(b,0,a,0,0,1,0,0,-a,0,b,0,0,0,0,1);return this},makeRotationZ:function(a){var b=Math.cos(a);a=Math.sin(a);this.set(b,-a,0,0,a,b,0,0,0,0,1,0,0,0,0,1);return this},makeRotationAxis:function(a,b){var c=Math.cos(b);b=Math.sin(b);var d=1-c,e=a.x,f=a.y;a=a.z;var g=d*e,k=d*f;this.set(g*e+c,g*f-b*a,g*a+b*f,0,g*f+b*a,k*f+c,k*a-b*e,0,g*a-b*f,k*a+b*e,d*a*a+c,0,0,0,0,1);return this},makeScale:function(a,b,c){this.set(a,0,0,0,0,b,0,0,0,0,c,0,0,0,0,1);return this},makeShear:function(a,
b,c){this.set(1,b,c,0,a,1,c,0,a,b,1,0,0,0,0,1);return this},compose:function(a,b,c){var d=this.elements,e=b._x,f=b._y,g=b._z,k=b._w,l=e+e,m=f+f,h=g+g;b=e*l;var p=e*m;e*=h;var q=f*m;f*=h;g*=h;l*=k;m*=k;k*=h;h=c.x;var n=c.y;c=c.z;d[0]=(1-(q+g))*h;d[1]=(p+k)*h;d[2]=(e-m)*h;d[3]=0;d[4]=(p-k)*n;d[5]=(1-(b+g))*n;d[6]=(f+l)*n;d[7]=0;d[8]=(e+m)*c;d[9]=(f-l)*c;d[10]=(1-(b+q))*c;d[11]=0;d[12]=a.x;d[13]=a.y;d[14]=a.z;d[15]=1;return this},decompose:function(a,b,c){var d=this.elements,e=Ma.set(d[0],d[1],d[2]).length(),
f=Ma.set(d[4],d[5],d[6]).length(),g=Ma.set(d[8],d[9],d[10]).length();0>this.determinant()&&(e=-e);a.x=d[12];a.y=d[13];a.z=d[14];W.copy(this);a=1/e;d=1/f;var k=1/g;W.elements[0]*=a;W.elements[1]*=a;W.elements[2]*=a;W.elements[4]*=d;W.elements[5]*=d;W.elements[6]*=d;W.elements[8]*=k;W.elements[9]*=k;W.elements[10]*=k;b.setFromRotationMatrix(W);c.x=e;c.y=f;c.z=g;return this},makePerspective:function(a,b,c,d,e,f){void 0===f&&console.warn("THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.");
var g=this.elements;g[0]=2*e/(b-a);g[4]=0;g[8]=(b+a)/(b-a);g[12]=0;g[1]=0;g[5]=2*e/(c-d);g[9]=(c+d)/(c-d);g[13]=0;g[2]=0;g[6]=0;g[10]=-(f+e)/(f-e);g[14]=-2*f*e/(f-e);g[3]=0;g[7]=0;g[11]=-1;g[15]=0;return this},makeOrthographic:function(a,b,c,d,e,f){var g=this.elements,k=1/(b-a),l=1/(c-d),m=1/(f-e);g[0]=2*k;g[4]=0;g[8]=0;g[12]=-((b+a)*k);g[1]=0;g[5]=2*l;g[9]=0;g[13]=-((c+d)*l);g[2]=0;g[6]=0;g[10]=-2*m;g[14]=-((f+e)*m);g[3]=0;g[7]=0;g[11]=0;g[15]=1;return this},equals:function(a){var b=this.elements;
a=a.elements;for(var c=0;16>c;c++)if(b[c]!==a[c])return!1;return!0},fromArray:function(a,b){void 0===b&&(b=0);for(var c=0;16>c;c++)this.elements[c]=a[c+b];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);var c=this.elements;a[b]=c[0];a[b+1]=c[1];a[b+2]=c[2];a[b+3]=c[3];a[b+4]=c[4];a[b+5]=c[5];a[b+6]=c[6];a[b+7]=c[7];a[b+8]=c[8];a[b+9]=c[9];a[b+10]=c[10];a[b+11]=c[11];a[b+12]=c[12];a[b+13]=c[13];a[b+14]=c[14];a[b+15]=c[15];return a}});var Fi=new P,Gi=new Da;Ub.RotationOrders=
"XYZ YZX ZXY XZY YXZ ZYX".split(" ");Ub.DefaultOrder="XYZ";Object.defineProperties(Ub.prototype,{x:{get:function(){return this._x},set:function(a){this._x=a;this._onChangeCallback()}},y:{get:function(){return this._y},set:function(a){this._y=a;this._onChangeCallback()}},z:{get:function(){return this._z},set:function(a){this._z=a;this._onChangeCallback()}},order:{get:function(){return this._order},set:function(a){this._order=a;this._onChangeCallback()}}});Object.assign(Ub.prototype,{isEuler:!0,set:function(a,
b,c,d){this._x=a;this._y=b;this._z=c;this._order=d||this._order;this._onChangeCallback();return this},clone:function(){return new this.constructor(this._x,this._y,this._z,this._order)},copy:function(a){this._x=a._x;this._y=a._y;this._z=a._z;this._order=a._order;this._onChangeCallback();return this},setFromRotationMatrix:function(a,b,c){var d=O.clamp,e=a.elements;a=e[0];var f=e[4],g=e[8],k=e[1],l=e[5],m=e[9],h=e[2],p=e[6];e=e[10];b=b||this._order;"XYZ"===b?(this._y=Math.asin(d(g,-1,1)),.9999999>Math.abs(g)?
(this._x=Math.atan2(-m,e),this._z=Math.atan2(-f,a)):(this._x=Math.atan2(p,l),this._z=0)):"YXZ"===b?(this._x=Math.asin(-d(m,-1,1)),.9999999>Math.abs(m)?(this._y=Math.atan2(g,e),this._z=Math.atan2(k,l)):(this._y=Math.atan2(-h,a),this._z=0)):"ZXY"===b?(this._x=Math.asin(d(p,-1,1)),.9999999>Math.abs(p)?(this._y=Math.atan2(-h,e),this._z=Math.atan2(-f,l)):(this._y=0,this._z=Math.atan2(k,a))):"ZYX"===b?(this._y=Math.asin(-d(h,-1,1)),.9999999>Math.abs(h)?(this._x=Math.atan2(p,e),this._z=Math.atan2(k,a)):
(this._x=0,this._z=Math.atan2(-f,l))):"YZX"===b?(this._z=Math.asin(d(k,-1,1)),.9999999>Math.abs(k)?(this._x=Math.atan2(-m,l),this._y=Math.atan2(-h,a)):(this._x=0,this._y=Math.atan2(g,e))):"XZY"===b?(this._z=Math.asin(-d(f,-1,1)),.9999999>Math.abs(f)?(this._x=Math.atan2(p,l),this._y=Math.atan2(g,a)):(this._x=Math.atan2(-m,e),this._y=0)):console.warn("THREE.Euler: .setFromRotationMatrix() given unsupported order: "+b);this._order=b;!1!==c&&this._onChangeCallback();return this},setFromQuaternion:function(a,
b,c){Fi.makeRotationFromQuaternion(a);return this.setFromRotationMatrix(Fi,b,c)},setFromVector3:function(a,b){return this.set(a.x,a.y,a.z,b||this._order)},reorder:function(a){Gi.setFromEuler(this);return this.setFromQuaternion(Gi,a)},equals:function(a){return a._x===this._x&&a._y===this._y&&a._z===this._z&&a._order===this._order},fromArray:function(a){this._x=a[0];this._y=a[1];this._z=a[2];void 0!==a[3]&&(this._order=a[3]);this._onChangeCallback();return this},toArray:function(a,b){void 0===a&&(a=
[]);void 0===b&&(b=0);a[b]=this._x;a[b+1]=this._y;a[b+2]=this._z;a[b+3]=this._order;return a},toVector3:function(a){return a?a.set(this._x,this._y,this._z):new n(this._x,this._y,this._z)},_onChange:function(a){this._onChangeCallback=a;return this},_onChangeCallback:function(){}});Object.assign($f.prototype,{set:function(a){this.mask=1<<a|0},enable:function(a){this.mask=this.mask|1<<a|0},enableAll:function(){this.mask=-1},toggle:function(a){this.mask^=1<<a|0},disable:function(a){this.mask&=~(1<<a|
0)},disableAll:function(){this.mask=0},test:function(a){return 0!==(this.mask&a.mask)}});var nj=0,Hi=new n,od=new Da,zb=new P,Df=new n,Ae=new n,Qk=new n,Rk=new Da,Ii=new n(1,0,0),Ji=new n(0,1,0),Ki=new n(0,0,1),Sk={type:"added"},Tk={type:"removed"};D.DefaultUp=new n(0,1,0);D.DefaultMatrixAutoUpdate=!0;D.prototype=Object.assign(Object.create(Fa.prototype),{constructor:D,isObject3D:!0,onBeforeRender:function(){},onAfterRender:function(){},applyMatrix:function(a){this.matrixAutoUpdate&&this.updateMatrix();
this.matrix.premultiply(a);this.matrix.decompose(this.position,this.quaternion,this.scale)},applyQuaternion:function(a){this.quaternion.premultiply(a);return this},setRotationFromAxisAngle:function(a,b){this.quaternion.setFromAxisAngle(a,b)},setRotationFromEuler:function(a){this.quaternion.setFromEuler(a,!0)},setRotationFromMatrix:function(a){this.quaternion.setFromRotationMatrix(a)},setRotationFromQuaternion:function(a){this.quaternion.copy(a)},rotateOnAxis:function(a,b){od.setFromAxisAngle(a,b);
this.quaternion.multiply(od);return this},rotateOnWorldAxis:function(a,b){od.setFromAxisAngle(a,b);this.quaternion.premultiply(od);return this},rotateX:function(a){return this.rotateOnAxis(Ii,a)},rotateY:function(a){return this.rotateOnAxis(Ji,a)},rotateZ:function(a){return this.rotateOnAxis(Ki,a)},translateOnAxis:function(a,b){Hi.copy(a).applyQuaternion(this.quaternion);this.position.add(Hi.multiplyScalar(b));return this},translateX:function(a){return this.translateOnAxis(Ii,a)},translateY:function(a){return this.translateOnAxis(Ji,
a)},translateZ:function(a){return this.translateOnAxis(Ki,a)},localToWorld:function(a){return a.applyMatrix4(this.matrixWorld)},worldToLocal:function(a){return a.applyMatrix4(zb.getInverse(this.matrixWorld))},lookAt:function(a,b,c){a.isVector3?Df.copy(a):Df.set(a,b,c);a=this.parent;this.updateWorldMatrix(!0,!1);Ae.setFromMatrixPosition(this.matrixWorld);this.isCamera||this.isLight?zb.lookAt(Ae,Df,this.up):zb.lookAt(Df,Ae,this.up);this.quaternion.setFromRotationMatrix(zb);a&&(zb.extractRotation(a.matrixWorld),
od.setFromRotationMatrix(zb),this.quaternion.premultiply(od.inverse()))},add:function(a){if(1<arguments.length){for(var b=0;b<arguments.length;b++)this.add(arguments[b]);return this}if(a===this)return console.error("THREE.Object3D.add: object can't be added as a child of itself.",a),this;a&&a.isObject3D?(null!==a.parent&&a.parent.remove(a),a.parent=this,this.children.push(a),a.dispatchEvent(Sk)):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",a);return this},remove:function(a){if(1<
arguments.length){for(var b=0;b<arguments.length;b++)this.remove(arguments[b]);return this}b=this.children.indexOf(a);-1!==b&&(a.parent=null,this.children.splice(b,1),a.dispatchEvent(Tk));return this},attach:function(a){this.updateWorldMatrix(!0,!1);zb.getInverse(this.matrixWorld);null!==a.parent&&(a.parent.updateWorldMatrix(!0,!1),zb.multiply(a.parent.matrixWorld));a.applyMatrix(zb);a.updateWorldMatrix(!1,!1);this.add(a);return this},getObjectById:function(a){return this.getObjectByProperty("id",
a)},getObjectByName:function(a){return this.getObjectByProperty("name",a)},getObjectByProperty:function(a,b){if(this[a]===b)return this;for(var c=0,d=this.children.length;c<d;c++){var e=this.children[c].getObjectByProperty(a,b);if(void 0!==e)return e}},getWorldPosition:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldPosition() target is now required"),a=new n);this.updateMatrixWorld(!0);return a.setFromMatrixPosition(this.matrixWorld)},getWorldQuaternion:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldQuaternion() target is now required"),
a=new Da);this.updateMatrixWorld(!0);this.matrixWorld.decompose(Ae,a,Qk);return a},getWorldScale:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldScale() target is now required"),a=new n);this.updateMatrixWorld(!0);this.matrixWorld.decompose(Ae,Rk,a);return a},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Object3D: .getWorldDirection() target is now required"),a=new n);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(b[8],b[9],b[10]).normalize()},
raycast:function(){},traverse:function(a){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverse(a)},traverseVisible:function(a){if(!1!==this.visible){a(this);for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].traverseVisible(a)}},traverseAncestors:function(a){var b=this.parent;null!==b&&(a(b),b.traverseAncestors(a))},updateMatrix:function(){this.matrix.compose(this.position,this.quaternion,this.scale);this.matrixWorldNeedsUpdate=!0},updateMatrixWorld:function(a){this.matrixAutoUpdate&&
this.updateMatrix();if(this.matrixWorldNeedsUpdate||a)null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix),this.matrixWorldNeedsUpdate=!1,a=!0;for(var b=this.children,c=0,d=b.length;c<d;c++)b[c].updateMatrixWorld(a)},updateWorldMatrix:function(a,b){var c=this.parent;!0===a&&null!==c&&c.updateWorldMatrix(!0,!1);this.matrixAutoUpdate&&this.updateMatrix();null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,
this.matrix);if(!0===b)for(a=this.children,b=0,c=a.length;b<c;b++)a[b].updateWorldMatrix(!1,!0)},toJSON:function(a){function b(b,c){void 0===b[c.uuid]&&(b[c.uuid]=c.toJSON(a));return c.uuid}function c(a){var b=[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var d=void 0===a||"string"===typeof a,e={};d&&(a={geometries:{},materials:{},textures:{},images:{},shapes:{}},e.metadata={version:4.5,type:"Object",generator:"Object3D.toJSON"});var f={};f.uuid=this.uuid;f.type=this.type;""!==
this.name&&(f.name=this.name);!0===this.castShadow&&(f.castShadow=!0);!0===this.receiveShadow&&(f.receiveShadow=!0);!1===this.visible&&(f.visible=!1);!1===this.frustumCulled&&(f.frustumCulled=!1);0!==this.renderOrder&&(f.renderOrder=this.renderOrder);"{}"!==JSON.stringify(this.userData)&&(f.userData=this.userData);f.layers=this.layers.mask;f.matrix=this.matrix.toArray();!1===this.matrixAutoUpdate&&(f.matrixAutoUpdate=!1);this.isInstancedMesh&&(f.type="InstancedMesh",f.count=this.count,f.instanceMatrix=
this.instanceMatrix.toJSON());if(this.isMesh||this.isLine||this.isPoints){f.geometry=b(a.geometries,this.geometry);var g=this.geometry.parameters;if(void 0!==g&&void 0!==g.shapes)if(g=g.shapes,Array.isArray(g))for(var k=0,l=g.length;k<l;k++)b(a.shapes,g[k]);else b(a.shapes,g)}if(void 0!==this.material)if(Array.isArray(this.material)){g=[];k=0;for(l=this.material.length;k<l;k++)g.push(b(a.materials,this.material[k]));f.material=g}else f.material=b(a.materials,this.material);if(0<this.children.length)for(f.children=
[],k=0;k<this.children.length;k++)f.children.push(this.children[k].toJSON(a).object);if(d){d=c(a.geometries);k=c(a.materials);l=c(a.textures);var m=c(a.images);g=c(a.shapes);0<d.length&&(e.geometries=d);0<k.length&&(e.materials=k);0<l.length&&(e.textures=l);0<m.length&&(e.images=m);0<g.length&&(e.shapes=g)}e.object=f;return e},clone:function(a){return(new this.constructor).copy(this,a)},copy:function(a,b){void 0===b&&(b=!0);this.name=a.name;this.up.copy(a.up);this.position.copy(a.position);this.quaternion.copy(a.quaternion);
this.scale.copy(a.scale);this.matrix.copy(a.matrix);this.matrixWorld.copy(a.matrixWorld);this.matrixAutoUpdate=a.matrixAutoUpdate;this.matrixWorldNeedsUpdate=a.matrixWorldNeedsUpdate;this.layers.mask=a.layers.mask;this.visible=a.visible;this.castShadow=a.castShadow;this.receiveShadow=a.receiveShadow;this.frustumCulled=a.frustumCulled;this.renderOrder=a.renderOrder;this.userData=JSON.parse(JSON.stringify(a.userData));if(!0===b)for(b=0;b<a.children.length;b++)this.add(a.children[b].clone());return this}});
pb.prototype=Object.assign(Object.create(D.prototype),{constructor:pb,isScene:!0,copy:function(a,b){D.prototype.copy.call(this,a,b);null!==a.background&&(this.background=a.background.clone());null!==a.environment&&(this.environment=a.environment.clone());null!==a.fog&&(this.fog=a.fog.clone());null!==a.overrideMaterial&&(this.overrideMaterial=a.overrideMaterial.clone());this.autoUpdate=a.autoUpdate;this.matrixAutoUpdate=a.matrixAutoUpdate;return this},toJSON:function(a){var b=D.prototype.toJSON.call(this,
a);null!==this.background&&(b.object.background=this.background.toJSON(a));null!==this.environment&&(b.object.environment=this.environment.toJSON(a));null!==this.fog&&(b.object.fog=this.fog.toJSON());return b},dispose:function(){this.dispatchEvent({type:"dispose"})}});var Ab=[new n,new n,new n,new n,new n,new n,new n,new n],Be=new n,Ef=new Sa,pd=new n,qd=new n,rd=new n,Ob=new n,Pb=new n,uc=new n,Ce=new n,Ff=new n,Gf=new n,Vb=new n;Object.assign(Sa.prototype,{isBox3:!0,set:function(a,b){this.min.copy(a);
this.max.copy(b);return this},setFromArray:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,k=0,l=a.length;k<l;k+=3){var m=a[k],h=a[k+1],p=a[k+2];m<b&&(b=m);h<c&&(c=h);p<d&&(d=p);m>e&&(e=m);h>f&&(f=h);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromBufferAttribute:function(a){for(var b=Infinity,c=Infinity,d=Infinity,e=-Infinity,f=-Infinity,g=-Infinity,k=0,l=a.count;k<l;k++){var h=a.getX(k),n=a.getY(k),p=a.getZ(k);h<b&&(b=h);n<c&&(c=n);
p<d&&(d=p);h>e&&(e=h);n>f&&(f=n);p>g&&(g=p)}this.min.set(b,c,d);this.max.set(e,f,g);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);return this},setFromCenterAndSize:function(a,b){b=Be.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},setFromObject:function(a){this.makeEmpty();return this.expandByObject(a)},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);
this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=this.min.z=Infinity;this.max.x=this.max.y=this.max.z=-Infinity;return this},isEmpty:function(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z},getCenter:function(a){void 0===a&&(console.warn("THREE.Box3: .getCenter() target is now required"),a=new n);return this.isEmpty()?a.set(0,0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box3: .getSize() target is now required"),
a=new n);return this.isEmpty()?a.set(0,0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},expandByObject:function(a){a.updateWorldMatrix(!1,!1);var b=a.geometry;void 0!==b&&(null===b.boundingBox&&b.computeBoundingBox(),Ef.copy(b.boundingBox),Ef.applyMatrix4(a.matrixWorld),this.expandByPoint(Ef.min),
this.expandByPoint(Ef.max));a=a.children;b=0;for(var c=a.length;b<c;b++)this.expandByObject(a[b]);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y||a.z<this.min.z||a.z>this.max.z?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box3: .getParameter() target is now required"),
b=new n);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y),(a.z-this.min.z)/(this.max.z-this.min.z))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||a.max.y<this.min.y||a.min.y>this.max.y||a.max.z<this.min.z||a.min.z>this.max.z?!1:!0},intersectsSphere:function(a){this.clampPoint(a.center,Be);return Be.distanceToSquared(a.center)<=a.radius*a.radius},intersectsPlane:function(a){if(0<a.normal.x){var b=a.normal.x*this.min.x;var c=
a.normal.x*this.max.x}else b=a.normal.x*this.max.x,c=a.normal.x*this.min.x;0<a.normal.y?(b+=a.normal.y*this.min.y,c+=a.normal.y*this.max.y):(b+=a.normal.y*this.max.y,c+=a.normal.y*this.min.y);0<a.normal.z?(b+=a.normal.z*this.min.z,c+=a.normal.z*this.max.z):(b+=a.normal.z*this.max.z,c+=a.normal.z*this.min.z);return b<=-a.constant&&c>=-a.constant},intersectsTriangle:function(a){if(this.isEmpty())return!1;this.getCenter(Ce);Ff.subVectors(this.max,Ce);pd.subVectors(a.a,Ce);qd.subVectors(a.b,Ce);rd.subVectors(a.c,
Ce);Ob.subVectors(qd,pd);Pb.subVectors(rd,qd);uc.subVectors(pd,rd);a=[0,-Ob.z,Ob.y,0,-Pb.z,Pb.y,0,-uc.z,uc.y,Ob.z,0,-Ob.x,Pb.z,0,-Pb.x,uc.z,0,-uc.x,-Ob.y,Ob.x,0,-Pb.y,Pb.x,0,-uc.y,uc.x,0];if(!ag(a,pd,qd,rd,Ff))return!1;a=[1,0,0,0,1,0,0,0,1];if(!ag(a,pd,qd,rd,Ff))return!1;Gf.crossVectors(Ob,Pb);a=[Gf.x,Gf.y,Gf.z];return ag(a,pd,qd,rd,Ff)},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box3: .clampPoint() target is now required"),b=new n);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return Be.copy(a).clamp(this.min,
this.max).sub(a).length()},getBoundingSphere:function(a){void 0===a&&console.error("THREE.Box3: .getBoundingSphere() target is now required");this.getCenter(a.center);a.radius=.5*this.getSize(Be).length();return a},intersect:function(a){this.min.max(a.min);this.max.min(a.max);this.isEmpty()&&this.makeEmpty();return this},union:function(a){this.min.min(a.min);this.max.max(a.max);return this},applyMatrix4:function(a){if(this.isEmpty())return this;Ab[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(a);
Ab[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(a);Ab[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(a);Ab[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(a);Ab[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(a);Ab[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(a);Ab[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(a);Ab[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(a);this.setFromPoints(Ab);return this},translate:function(a){this.min.add(a);this.max.add(a);
return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var Uk=new Sa;Object.assign(qb.prototype,{set:function(a,b){this.center.copy(a);this.radius=b;return this},setFromPoints:function(a,b){var c=this.center;void 0!==b?c.copy(b):Uk.setFromPoints(a).getCenter(c);for(var d=b=0,e=a.length;d<e;d++)b=Math.max(b,c.distanceToSquared(a[d]));this.radius=Math.sqrt(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.center.copy(a.center);
this.radius=a.radius;return this},empty:function(){return 0>=this.radius},containsPoint:function(a){return a.distanceToSquared(this.center)<=this.radius*this.radius},distanceToPoint:function(a){return a.distanceTo(this.center)-this.radius},intersectsSphere:function(a){var b=this.radius+a.radius;return a.center.distanceToSquared(this.center)<=b*b},intersectsBox:function(a){return a.intersectsSphere(this)},intersectsPlane:function(a){return Math.abs(a.distanceToPoint(this.center))<=this.radius},clampPoint:function(a,
b){var c=this.center.distanceToSquared(a);void 0===b&&(console.warn("THREE.Sphere: .clampPoint() target is now required"),b=new n);b.copy(a);c>this.radius*this.radius&&(b.sub(this.center).normalize(),b.multiplyScalar(this.radius).add(this.center));return b},getBoundingBox:function(a){void 0===a&&(console.warn("THREE.Sphere: .getBoundingBox() target is now required"),a=new Sa);a.set(this.center,this.center);a.expandByScalar(this.radius);return a},applyMatrix4:function(a){this.center.applyMatrix4(a);
this.radius*=a.getMaxScaleOnAxis();return this},translate:function(a){this.center.add(a);return this},equals:function(a){return a.center.equals(this.center)&&a.radius===this.radius}});var Bb=new n,ah=new n,Hf=new n,Qb=new n,bh=new n,If=new n,ch=new n;Object.assign(Wb.prototype,{set:function(a,b){this.origin.copy(a);this.direction.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.origin.copy(a.origin);this.direction.copy(a.direction);return this},
at:function(a,b){void 0===b&&(console.warn("THREE.Ray: .at() target is now required"),b=new n);return b.copy(this.direction).multiplyScalar(a).add(this.origin)},lookAt:function(a){this.direction.copy(a).sub(this.origin).normalize();return this},recast:function(a){this.origin.copy(this.at(a,Bb));return this},closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Ray: .closestPointToPoint() target is now required"),b=new n);b.subVectors(a,this.origin);a=b.dot(this.direction);return 0>a?
b.copy(this.origin):b.copy(this.direction).multiplyScalar(a).add(this.origin)},distanceToPoint:function(a){return Math.sqrt(this.distanceSqToPoint(a))},distanceSqToPoint:function(a){var b=Bb.subVectors(a,this.origin).dot(this.direction);if(0>b)return this.origin.distanceToSquared(a);Bb.copy(this.direction).multiplyScalar(b).add(this.origin);return Bb.distanceToSquared(a)},distanceSqToSegment:function(a,b,c,d){ah.copy(a).add(b).multiplyScalar(.5);Hf.copy(b).sub(a).normalize();Qb.copy(this.origin).sub(ah);
var e=.5*a.distanceTo(b),f=-this.direction.dot(Hf),g=Qb.dot(this.direction),k=-Qb.dot(Hf),l=Qb.lengthSq(),h=Math.abs(1-f*f);if(0<h){a=f*k-g;b=f*g-k;var n=e*h;0<=a?b>=-n?b<=n?(e=1/h,a*=e,b*=e,f=a*(a+f*b+2*g)+b*(f*a+b+2*k)+l):(b=e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l):(b=-e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l):b<=-n?(a=Math.max(0,-(-f*e+g)),b=0<a?-e:Math.min(Math.max(-e,-k),e),f=-a*a+b*(b+2*k)+l):b<=n?(a=0,b=Math.min(Math.max(-e,-k),e),f=b*(b+2*k)+l):(a=Math.max(0,-(f*e+g)),b=0<a?e:Math.min(Math.max(-e,
-k),e),f=-a*a+b*(b+2*k)+l)}else b=0<f?-e:e,a=Math.max(0,-(f*b+g)),f=-a*a+b*(b+2*k)+l;c&&c.copy(this.direction).multiplyScalar(a).add(this.origin);d&&d.copy(Hf).multiplyScalar(b).add(ah);return f},intersectSphere:function(a,b){Bb.subVectors(a.center,this.origin);var c=Bb.dot(this.direction),d=Bb.dot(Bb)-c*c;a=a.radius*a.radius;if(d>a)return null;a=Math.sqrt(a-d);d=c-a;c+=a;return 0>d&&0>c?null:0>d?this.at(c,b):this.at(d,b)},intersectsSphere:function(a){return this.distanceSqToPoint(a.center)<=a.radius*
a.radius},distanceToPlane:function(a){var b=a.normal.dot(this.direction);if(0===b)return 0===a.distanceToPoint(this.origin)?0:null;a=-(this.origin.dot(a.normal)+a.constant)/b;return 0<=a?a:null},intersectPlane:function(a,b){a=this.distanceToPlane(a);return null===a?null:this.at(a,b)},intersectsPlane:function(a){var b=a.distanceToPoint(this.origin);return 0===b||0>a.normal.dot(this.direction)*b?!0:!1},intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,
f=this.origin;if(0<=c){var g=(a.min.x-f.x)*c;c*=a.max.x-f.x}else g=(a.max.x-f.x)*c,c*=a.min.x-f.x;if(0<=d){var k=(a.min.y-f.y)*d;d*=a.max.y-f.y}else k=(a.max.y-f.y)*d,d*=a.min.y-f.y;if(g>d||k>c)return null;if(k>g||g!==g)g=k;if(d<c||c!==c)c=d;0<=e?(k=(a.min.z-f.z)*e,a=(a.max.z-f.z)*e):(k=(a.max.z-f.z)*e,a=(a.min.z-f.z)*e);if(g>a||k>c)return null;if(k>g||g!==g)g=k;if(a<c||c!==c)c=a;return 0>c?null:this.at(0<=g?g:c,b)},intersectsBox:function(a){return null!==this.intersectBox(a,Bb)},intersectTriangle:function(a,
b,c,d,e){bh.subVectors(b,a);If.subVectors(c,a);ch.crossVectors(bh,If);b=this.direction.dot(ch);if(0<b){if(d)return null;d=1}else if(0>b)d=-1,b=-b;else return null;Qb.subVectors(this.origin,a);a=d*this.direction.dot(If.crossVectors(Qb,If));if(0>a)return null;c=d*this.direction.dot(bh.cross(Qb));if(0>c||a+c>b)return null;a=-d*Qb.dot(ch);return 0>a?null:this.at(a/b,e)},applyMatrix4:function(a){this.origin.applyMatrix4(a);this.direction.transformDirection(a);return this},equals:function(a){return a.origin.equals(this.origin)&&
a.direction.equals(this.direction)}});var dh=new n,Vk=new n,Wk=new za;Object.assign(Ta.prototype,{isPlane:!0,set:function(a,b){this.normal.copy(a);this.constant=b;return this},setComponents:function(a,b,c,d){this.normal.set(a,b,c);this.constant=d;return this},setFromNormalAndCoplanarPoint:function(a,b){this.normal.copy(a);this.constant=-b.dot(this.normal);return this},setFromCoplanarPoints:function(a,b,c){b=dh.subVectors(c,b).cross(Vk.subVectors(a,b)).normalize();this.setFromNormalAndCoplanarPoint(b,
a);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.normal.copy(a.normal);this.constant=a.constant;return this},normalize:function(){var a=1/this.normal.length();this.normal.multiplyScalar(a);this.constant*=a;return this},negate:function(){this.constant*=-1;this.normal.negate();return this},distanceToPoint:function(a){return this.normal.dot(a)+this.constant},distanceToSphere:function(a){return this.distanceToPoint(a.center)-a.radius},projectPoint:function(a,
b){void 0===b&&(console.warn("THREE.Plane: .projectPoint() target is now required"),b=new n);return b.copy(this.normal).multiplyScalar(-this.distanceToPoint(a)).add(a)},intersectLine:function(a,b){void 0===b&&(console.warn("THREE.Plane: .intersectLine() target is now required"),b=new n);var c=a.delta(dh),d=this.normal.dot(c);if(0===d){if(0===this.distanceToPoint(a.start))return b.copy(a.start)}else if(d=-(a.start.dot(this.normal)+this.constant)/d,!(0>d||1<d))return b.copy(c).multiplyScalar(d).add(a.start)},
intersectsLine:function(a){var b=this.distanceToPoint(a.start);a=this.distanceToPoint(a.end);return 0>b&&0<a||0>a&&0<b},intersectsBox:function(a){return a.intersectsPlane(this)},intersectsSphere:function(a){return a.intersectsPlane(this)},coplanarPoint:function(a){void 0===a&&(console.warn("THREE.Plane: .coplanarPoint() target is now required"),a=new n);return a.copy(this.normal).multiplyScalar(-this.constant)},applyMatrix4:function(a,b){b=b||Wk.getNormalMatrix(a);a=this.coplanarPoint(dh).applyMatrix4(a);
b=this.normal.applyMatrix3(b).normalize();this.constant=-a.dot(b);return this},translate:function(a){this.constant-=a.dot(this.normal);return this},equals:function(a){return a.normal.equals(this.normal)&&a.constant===this.constant}});var bb=new n,Cb=new n,eh=new n,Db=new n,sd=new n,td=new n,Li=new n,fh=new n,gh=new n,hh=new n;Object.assign(ma,{getNormal:function(a,b,c,d){void 0===d&&(console.warn("THREE.Triangle: .getNormal() target is now required"),d=new n);d.subVectors(c,b);bb.subVectors(a,b);
d.cross(bb);a=d.lengthSq();return 0<a?d.multiplyScalar(1/Math.sqrt(a)):d.set(0,0,0)},getBarycoord:function(a,b,c,d,e){bb.subVectors(d,b);Cb.subVectors(c,b);eh.subVectors(a,b);a=bb.dot(bb);b=bb.dot(Cb);c=bb.dot(eh);var f=Cb.dot(Cb);d=Cb.dot(eh);var g=a*f-b*b;void 0===e&&(console.warn("THREE.Triangle: .getBarycoord() target is now required"),e=new n);if(0===g)return e.set(-2,-1,-1);g=1/g;f=(f*c-b*d)*g;a=(a*d-b*c)*g;return e.set(1-f-a,a,f)},containsPoint:function(a,b,c,d){ma.getBarycoord(a,b,c,d,Db);
return 0<=Db.x&&0<=Db.y&&1>=Db.x+Db.y},getUV:function(a,b,c,d,e,f,g,k){this.getBarycoord(a,b,c,d,Db);k.set(0,0);k.addScaledVector(e,Db.x);k.addScaledVector(f,Db.y);k.addScaledVector(g,Db.z);return k},isFrontFacing:function(a,b,c,d){bb.subVectors(c,b);Cb.subVectors(a,b);return 0>bb.cross(Cb).dot(d)?!0:!1}});Object.assign(ma.prototype,{set:function(a,b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this},setFromPointsAndIndices:function(a,b,c,d){this.a.copy(a[b]);this.b.copy(a[c]);this.c.copy(a[d]);
return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a.copy(a.a);this.b.copy(a.b);this.c.copy(a.c);return this},getArea:function(){bb.subVectors(this.c,this.b);Cb.subVectors(this.a,this.b);return.5*bb.cross(Cb).length()},getMidpoint:function(a){void 0===a&&(console.warn("THREE.Triangle: .getMidpoint() target is now required"),a=new n);return a.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)},getNormal:function(a){return ma.getNormal(this.a,this.b,
this.c,a)},getPlane:function(a){void 0===a&&(console.warn("THREE.Triangle: .getPlane() target is now required"),a=new Ta);return a.setFromCoplanarPoints(this.a,this.b,this.c)},getBarycoord:function(a,b){return ma.getBarycoord(a,this.a,this.b,this.c,b)},getUV:function(a,b,c,d,e){return ma.getUV(a,this.a,this.b,this.c,b,c,d,e)},containsPoint:function(a){return ma.containsPoint(a,this.a,this.b,this.c)},isFrontFacing:function(a){return ma.isFrontFacing(this.a,this.b,this.c,a)},intersectsBox:function(a){return a.intersectsTriangle(this)},
closestPointToPoint:function(a,b){void 0===b&&(console.warn("THREE.Triangle: .closestPointToPoint() target is now required"),b=new n);var c=this.a,d=this.b,e=this.c;sd.subVectors(d,c);td.subVectors(e,c);fh.subVectors(a,c);var f=sd.dot(fh),g=td.dot(fh);if(0>=f&&0>=g)return b.copy(c);gh.subVectors(a,d);var k=sd.dot(gh),l=td.dot(gh);if(0<=k&&l<=k)return b.copy(d);var h=f*l-k*g;if(0>=h&&0<=f&&0>=k)return d=f/(f-k),b.copy(c).addScaledVector(sd,d);hh.subVectors(a,e);a=sd.dot(hh);var v=td.dot(hh);if(0<=
v&&a<=v)return b.copy(e);f=a*g-f*v;if(0>=f&&0<=g&&0>=v)return h=g/(g-v),b.copy(c).addScaledVector(td,h);g=k*v-a*l;if(0>=g&&0<=l-k&&0<=a-v)return Li.subVectors(e,d),h=(l-k)/(l-k+(a-v)),b.copy(d).addScaledVector(Li,h);e=1/(g+f+h);d=f*e;h*=e;return b.copy(c).addScaledVector(sd,d).addScaledVector(td,h)},equals:function(a){return a.a.equals(this.a)&&a.b.equals(this.b)&&a.c.equals(this.c)}});var Mi={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,
black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,
darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,
lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,
mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,
purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},
Ca={h:0,s:0,l:0},Jf={h:0,s:0,l:0};Object.assign(y.prototype,{isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(a,b,c){a=O.euclideanModulo(a,1);b=O.clamp(b,
0,1);c=O.clamp(c,0,1);0===b?this.r=this.g=this.b=c:(b=.5>=c?c*(1+b):c+b-c*b,c=2*c-b,this.r=bg(c,b,a+1/3),this.g=bg(c,b,a),this.b=bg(c,b,a-1/3));return this},setStyle:function(a){function b(b){void 0!==b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+a+" will be ignored.")}var c;if(c=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(255,parseInt(c[1],
10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2],10))/100,this.b=Math.min(100,parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){d=parseFloat(c[1])/360;var e=parseInt(c[2],
10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2),16)/255,this;if(6===d)return this.r=parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}return a&&0<a.length?this.setColorName(a):this},
setColorName:function(a){var b=Mi[a];void 0!==b?this.setHex(b):console.warn("THREE.Color: Unknown color "+a);return this},clone:function(){return new this.constructor(this.r,this.g,this.b)},copy:function(a){this.r=a.r;this.g=a.g;this.b=a.b;return this},copyGammaToLinear:function(a,b){void 0===b&&(b=2);this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,b);return this},copyLinearToGamma:function(a,b){void 0===b&&(b=2);b=0<b?1/b:1;this.r=Math.pow(a.r,b);this.g=Math.pow(a.g,b);this.b=Math.pow(a.b,
b);return this},convertGammaToLinear:function(a){this.copyGammaToLinear(this,a);return this},convertLinearToGamma:function(a){this.copyLinearToGamma(this,a);return this},copySRGBToLinear:function(a){this.r=cg(a.r);this.g=cg(a.g);this.b=cg(a.b);return this},copyLinearToSRGB:function(a){this.r=dg(a.r);this.g=dg(a.g);this.b=dg(a.b);return this},convertSRGBToLinear:function(){this.copySRGBToLinear(this);return this},convertLinearToSRGB:function(){this.copyLinearToSRGB(this);return this},getHex:function(){return 255*
this.r<<16^255*this.g<<8^255*this.b<<0},getHexString:function(){return("000000"+this.getHex().toString(16)).slice(-6)},getHSL:function(a){void 0===a&&(console.warn("THREE.Color: .getHSL() target is now required"),a={h:0,s:0,l:0});var b=this.r,c=this.g,d=this.b,e=Math.max(b,c,d),f=Math.min(b,c,d),g,k=(f+e)/2;if(f===e)f=g=0;else{var l=e-f;f=.5>=k?l/(e+f):l/(2-e-f);switch(e){case b:g=(c-d)/l+(c<d?6:0);break;case c:g=(d-b)/l+2;break;case d:g=(b-c)/l+4}g/=6}a.h=g;a.s=f;a.l=k;return a},getStyle:function(){return"rgb("+
(255*this.r|0)+","+(255*this.g|0)+","+(255*this.b|0)+")"},offsetHSL:function(a,b,c){this.getHSL(Ca);Ca.h+=a;Ca.s+=b;Ca.l+=c;this.setHSL(Ca.h,Ca.s,Ca.l);return this},add:function(a){this.r+=a.r;this.g+=a.g;this.b+=a.b;return this},addColors:function(a,b){this.r=a.r+b.r;this.g=a.g+b.g;this.b=a.b+b.b;return this},addScalar:function(a){this.r+=a;this.g+=a;this.b+=a;return this},sub:function(a){this.r=Math.max(0,this.r-a.r);this.g=Math.max(0,this.g-a.g);this.b=Math.max(0,this.b-a.b);return this},multiply:function(a){this.r*=
a.r;this.g*=a.g;this.b*=a.b;return this},multiplyScalar:function(a){this.r*=a;this.g*=a;this.b*=a;return this},lerp:function(a,b){this.r+=(a.r-this.r)*b;this.g+=(a.g-this.g)*b;this.b+=(a.b-this.b)*b;return this},lerpHSL:function(a,b){this.getHSL(Ca);a.getHSL(Jf);a=O.lerp(Ca.h,Jf.h,b);var c=O.lerp(Ca.s,Jf.s,b);b=O.lerp(Ca.l,Jf.l,b);this.setHSL(a,c,b);return this},equals:function(a){return a.r===this.r&&a.g===this.g&&a.b===this.b},fromArray:function(a,b){void 0===b&&(b=0);this.r=a[b];this.g=a[b+1];
this.b=a[b+2];return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);a[b]=this.r;a[b+1]=this.g;a[b+2]=this.b;return a},toJSON:function(){return this.getHex()}});y.NAMES=Mi;Object.assign(Dc.prototype,{clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.a=a.a;this.b=a.b;this.c=a.c;this.normal.copy(a.normal);this.color.copy(a.color);this.materialIndex=a.materialIndex;for(var b=0,c=a.vertexNormals.length;b<c;b++)this.vertexNormals[b]=a.vertexNormals[b].clone();
b=0;for(c=a.vertexColors.length;b<c;b++)this.vertexColors[b]=a.vertexColors[b].clone();return this}});var oj=0;L.prototype=Object.assign(Object.create(Fa.prototype),{constructor:L,isMaterial:!0,onBeforeCompile:function(){},setValues:function(a){if(void 0!==a)for(var b in a){var c=a[b];if(void 0===c)console.warn("THREE.Material: '"+b+"' parameter is undefined.");else if("shading"===b)console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead."),this.flatShading=
1===c?!0:!1;else{var d=this[b];void 0===d?console.warn("THREE."+this.type+": '"+b+"' is not a property of this material."):d&&d.isColor?d.set(c):d&&d.isVector3&&c&&c.isVector3?d.copy(c):this[b]=c}}},toJSON:function(a){function b(a){var b=[],c;for(c in a){var d=a[c];delete d.metadata;b.push(d)}return b}var c=void 0===a||"string"===typeof a;c&&(a={textures:{},images:{}});var d={metadata:{version:4.5,type:"Material",generator:"Material.toJSON"}};d.uuid=this.uuid;d.type=this.type;""!==this.name&&(d.name=
this.name);this.color&&this.color.isColor&&(d.color=this.color.getHex());void 0!==this.roughness&&(d.roughness=this.roughness);void 0!==this.metalness&&(d.metalness=this.metalness);this.sheen&&this.sheen.isColor&&(d.sheen=this.sheen.getHex());this.emissive&&this.emissive.isColor&&(d.emissive=this.emissive.getHex());this.emissiveIntensity&&1!==this.emissiveIntensity&&(d.emissiveIntensity=this.emissiveIntensity);this.specular&&this.specular.isColor&&(d.specular=this.specular.getHex());void 0!==this.shininess&&
(d.shininess=this.shininess);void 0!==this.clearcoat&&(d.clearcoat=this.clearcoat);void 0!==this.clearcoatRoughness&&(d.clearcoatRoughness=this.clearcoatRoughness);this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(d.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(a).uuid,d.clearcoatNormalScale=this.clearcoatNormalScale.toArray());this.map&&this.map.isTexture&&(d.map=this.map.toJSON(a).uuid);this.matcap&&this.matcap.isTexture&&(d.matcap=this.matcap.toJSON(a).uuid);this.alphaMap&&this.alphaMap.isTexture&&
(d.alphaMap=this.alphaMap.toJSON(a).uuid);this.lightMap&&this.lightMap.isTexture&&(d.lightMap=this.lightMap.toJSON(a).uuid);this.aoMap&&this.aoMap.isTexture&&(d.aoMap=this.aoMap.toJSON(a).uuid,d.aoMapIntensity=this.aoMapIntensity);this.bumpMap&&this.bumpMap.isTexture&&(d.bumpMap=this.bumpMap.toJSON(a).uuid,d.bumpScale=this.bumpScale);this.normalMap&&this.normalMap.isTexture&&(d.normalMap=this.normalMap.toJSON(a).uuid,d.normalMapType=this.normalMapType,d.normalScale=this.normalScale.toArray());this.displacementMap&&
this.displacementMap.isTexture&&(d.displacementMap=this.displacementMap.toJSON(a).uuid,d.displacementScale=this.displacementScale,d.displacementBias=this.displacementBias);this.roughnessMap&&this.roughnessMap.isTexture&&(d.roughnessMap=this.roughnessMap.toJSON(a).uuid);this.metalnessMap&&this.metalnessMap.isTexture&&(d.metalnessMap=this.metalnessMap.toJSON(a).uuid);this.emissiveMap&&this.emissiveMap.isTexture&&(d.emissiveMap=this.emissiveMap.toJSON(a).uuid);this.specularMap&&this.specularMap.isTexture&&
(d.specularMap=this.specularMap.toJSON(a).uuid);this.envMap&&this.envMap.isTexture&&(d.envMap=this.envMap.toJSON(a).uuid,d.reflectivity=this.reflectivity,d.refractionRatio=this.refractionRatio,void 0!==this.combine&&(d.combine=this.combine),void 0!==this.envMapIntensity&&(d.envMapIntensity=this.envMapIntensity));this.gradientMap&&this.gradientMap.isTexture&&(d.gradientMap=this.gradientMap.toJSON(a).uuid);void 0!==this.size&&(d.size=this.size);void 0!==this.sizeAttenuation&&(d.sizeAttenuation=this.sizeAttenuation);
1!==this.blending&&(d.blending=this.blending);!0===this.flatShading&&(d.flatShading=this.flatShading);0!==this.side&&(d.side=this.side);0!==this.vertexColors&&(d.vertexColors=this.vertexColors);1>this.opacity&&(d.opacity=this.opacity);!0===this.transparent&&(d.transparent=this.transparent);d.depthFunc=this.depthFunc;d.depthTest=this.depthTest;d.depthWrite=this.depthWrite;d.stencilWrite=this.stencilWrite;d.stencilWriteMask=this.stencilWriteMask;d.stencilFunc=this.stencilFunc;d.stencilRef=this.stencilRef;
d.stencilFuncMask=this.stencilFuncMask;d.stencilFail=this.stencilFail;d.stencilZFail=this.stencilZFail;d.stencilZPass=this.stencilZPass;this.rotation&&0!==this.rotation&&(d.rotation=this.rotation);!0===this.polygonOffset&&(d.polygonOffset=!0);0!==this.polygonOffsetFactor&&(d.polygonOffsetFactor=this.polygonOffsetFactor);0!==this.polygonOffsetUnits&&(d.polygonOffsetUnits=this.polygonOffsetUnits);this.linewidth&&1!==this.linewidth&&(d.linewidth=this.linewidth);void 0!==this.dashSize&&(d.dashSize=this.dashSize);
void 0!==this.gapSize&&(d.gapSize=this.gapSize);void 0!==this.scale&&(d.scale=this.scale);!0===this.dithering&&(d.dithering=!0);0<this.alphaTest&&(d.alphaTest=this.alphaTest);!0===this.premultipliedAlpha&&(d.premultipliedAlpha=this.premultipliedAlpha);!0===this.wireframe&&(d.wireframe=this.wireframe);1<this.wireframeLinewidth&&(d.wireframeLinewidth=this.wireframeLinewidth);"round"!==this.wireframeLinecap&&(d.wireframeLinecap=this.wireframeLinecap);"round"!==this.wireframeLinejoin&&(d.wireframeLinejoin=
this.wireframeLinejoin);!0===this.morphTargets&&(d.morphTargets=!0);!0===this.morphNormals&&(d.morphNormals=!0);!0===this.skinning&&(d.skinning=!0);!1===this.visible&&(d.visible=!1);!1===this.toneMapped&&(d.toneMapped=!1);"{}"!==JSON.stringify(this.userData)&&(d.userData=this.userData);c&&(c=b(a.textures),a=b(a.images),0<c.length&&(d.textures=c),0<a.length&&(d.images=a));return d},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.name=a.name;this.fog=a.fog;this.blending=
a.blending;this.side=a.side;this.flatShading=a.flatShading;this.vertexTangents=a.vertexTangents;this.vertexColors=a.vertexColors;this.opacity=a.opacity;this.transparent=a.transparent;this.blendSrc=a.blendSrc;this.blendDst=a.blendDst;this.blendEquation=a.blendEquation;this.blendSrcAlpha=a.blendSrcAlpha;this.blendDstAlpha=a.blendDstAlpha;this.blendEquationAlpha=a.blendEquationAlpha;this.depthFunc=a.depthFunc;this.depthTest=a.depthTest;this.depthWrite=a.depthWrite;this.stencilWriteMask=a.stencilWriteMask;
this.stencilFunc=a.stencilFunc;this.stencilRef=a.stencilRef;this.stencilFuncMask=a.stencilFuncMask;this.stencilFail=a.stencilFail;this.stencilZFail=a.stencilZFail;this.stencilZPass=a.stencilZPass;this.stencilWrite=a.stencilWrite;var b=a.clippingPlanes,c=null;if(null!==b){var d=b.length;c=Array(d);for(var e=0;e!==d;++e)c[e]=b[e].clone()}this.clippingPlanes=c;this.clipIntersection=a.clipIntersection;this.clipShadows=a.clipShadows;this.shadowSide=a.shadowSide;this.colorWrite=a.colorWrite;this.precision=
a.precision;this.polygonOffset=a.polygonOffset;this.polygonOffsetFactor=a.polygonOffsetFactor;this.polygonOffsetUnits=a.polygonOffsetUnits;this.dithering=a.dithering;this.alphaTest=a.alphaTest;this.premultipliedAlpha=a.premultipliedAlpha;this.visible=a.visible;this.toneMapped=a.toneMapped;this.userData=JSON.parse(JSON.stringify(a.userData));return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});Object.defineProperty(L.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});
Oa.prototype=Object.create(L.prototype);Oa.prototype.constructor=Oa;Oa.prototype.isMeshBasicMaterial=!0;Oa.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=
a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;return this};var X=new n;Object.defineProperty(K.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(K.prototype,{isBufferAttribute:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.name=a.name;this.array=new a.array.constructor(a.array);
this.itemSize=a.itemSize;this.count=a.count;this.normalized=a.normalized;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.itemSize;c*=b.itemSize;for(var d=0,e=this.itemSize;d<e;d++)this.array[a+d]=b.array[c+d];return this},copyArray:function(a){this.array.set(a);return this},copyColorsArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",d),f=new y);b[c++]=f.r;b[c++]=f.g;b[c++]=
f.b}return this},copyVector2sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",d),f=new x);b[c++]=f.x;b[c++]=f.y}return this},copyVector3sArray:function(a){for(var b=this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",d),f=new n);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z}return this},copyVector4sArray:function(a){for(var b=
this.array,c=0,d=0,e=a.length;d<e;d++){var f=a[d];void 0===f&&(console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",d),f=new S);b[c++]=f.x;b[c++]=f.y;b[c++]=f.z;b[c++]=f.w}return this},applyMatrix3:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyMatrix3(a),this.setXYZ(b,X.x,X.y,X.z);return this},applyMatrix4:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyMatrix4(a),
this.setXYZ(b,X.x,X.y,X.z);return this},applyNormalMatrix:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.applyNormalMatrix(a),this.setXYZ(b,X.x,X.y,X.z);return this},transformDirection:function(a){for(var b=0,c=this.count;b<c;b++)X.x=this.getX(b),X.y=this.getY(b),X.z=this.getZ(b),X.transformDirection(a),this.setXYZ(b,X.x,X.y,X.z);return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},getX:function(a){return this.array[a*
this.itemSize]},setX:function(a,b){this.array[a*this.itemSize]=b;return this},getY:function(a){return this.array[a*this.itemSize+1]},setY:function(a,b){this.array[a*this.itemSize+1]=b;return this},getZ:function(a){return this.array[a*this.itemSize+2]},setZ:function(a,b){this.array[a*this.itemSize+2]=b;return this},getW:function(a){return this.array[a*this.itemSize+3]},setW:function(a,b){this.array[a*this.itemSize+3]=b;return this},setXY:function(a,b,c){a*=this.itemSize;this.array[a+0]=b;this.array[a+
1]=c;return this},setXYZ:function(a,b,c,d){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=d;return this},setXYZW:function(a,b,c,d,e){a*=this.itemSize;this.array[a+0]=b;this.array[a+1]=c;this.array[a+2]=d;this.array[a+3]=e;return this},onUpload:function(a){this.onUploadCallback=a;return this},clone:function(){return(new this.constructor(this.array,this.itemSize)).copy(this)},toJSON:function(){return{itemSize:this.itemSize,type:this.array.constructor.name,array:Array.prototype.slice.call(this.array),
normalized:this.normalized}}});Ad.prototype=Object.create(K.prototype);Ad.prototype.constructor=Ad;Bd.prototype=Object.create(K.prototype);Bd.prototype.constructor=Bd;Cd.prototype=Object.create(K.prototype);Cd.prototype.constructor=Cd;Dd.prototype=Object.create(K.prototype);Dd.prototype.constructor=Dd;Xb.prototype=Object.create(K.prototype);Xb.prototype.constructor=Xb;Ed.prototype=Object.create(K.prototype);Ed.prototype.constructor=Ed;Yb.prototype=Object.create(K.prototype);Yb.prototype.constructor=
Yb;C.prototype=Object.create(K.prototype);C.prototype.constructor=C;Fd.prototype=Object.create(K.prototype);Fd.prototype.constructor=Fd;Object.assign(vh.prototype,{computeGroups:function(a){var b=[],c=void 0;a=a.faces;for(var d=0;d<a.length;d++){var e=a[d];if(e.materialIndex!==c){c=e.materialIndex;void 0!==f&&(f.count=3*d-f.start,b.push(f));var f={start:3*d,materialIndex:c}}}void 0!==f&&(f.count=3*d-f.start,b.push(f));this.groups=b},fromGeometry:function(a){var b=a.faces,c=a.vertices,d=a.faceVertexUvs,
e=d[0]&&0<d[0].length,f=d[1]&&0<d[1].length,g=a.morphTargets,k=g.length;if(0<k){var l=[];for(var h=0;h<k;h++)l[h]={name:g[h].name,data:[]};this.morphTargets.position=l}var n=a.morphNormals,p=n.length;if(0<p){var q=[];for(h=0;h<p;h++)q[h]={name:n[h].name,data:[]};this.morphTargets.normal=q}var t=a.skinIndices,r=a.skinWeights,u=t.length===c.length,z=r.length===c.length;0<c.length&&0===b.length&&console.error("THREE.DirectGeometry: Faceless geometries are not supported.");for(h=0;h<b.length;h++){var w=
b[h];this.vertices.push(c[w.a],c[w.b],c[w.c]);var B=w.vertexNormals;3===B.length?this.normals.push(B[0],B[1],B[2]):(B=w.normal,this.normals.push(B,B,B));B=w.vertexColors;3===B.length?this.colors.push(B[0],B[1],B[2]):(B=w.color,this.colors.push(B,B,B));!0===e&&(B=d[0][h],void 0!==B?this.uvs.push(B[0],B[1],B[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",h),this.uvs.push(new x,new x,new x)));!0===f&&(B=d[1][h],void 0!==B?this.uvs2.push(B[0],B[1],B[2]):(console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",
h),this.uvs2.push(new x,new x,new x)));for(B=0;B<k;B++){var y=g[B].vertices;l[B].data.push(y[w.a],y[w.b],y[w.c])}for(B=0;B<p;B++)y=n[B].vertexNormals[h],q[B].data.push(y.a,y.b,y.c);u&&this.skinIndices.push(t[w.a],t[w.b],t[w.c]);z&&this.skinWeights.push(r[w.a],r[w.b],r[w.c])}this.computeGroups(a);this.verticesNeedUpdate=a.verticesNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;
null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this}});var pj=1,nb=new P,ih=new D,ud=new n,Na=new Sa,De=new Sa,V=new n;G.prototype=Object.assign(Object.create(Fa.prototype),{constructor:G,isBufferGeometry:!0,getIndex:function(){return this.index},setIndex:function(a){Array.isArray(a)?this.index=new (65535<wh(a)?Yb:Xb)(a,1):this.index=a},getAttribute:function(a){return this.attributes[a]},setAttribute:function(a,
b){this.attributes[a]=b;return this},deleteAttribute:function(a){delete this.attributes[a];return this},addGroup:function(a,b,c){this.groups.push({start:a,count:b,materialIndex:void 0!==c?c:0})},clearGroups:function(){this.groups=[]},setDrawRange:function(a,b){this.drawRange.start=a;this.drawRange.count=b},applyMatrix:function(a){var b=this.attributes.position;void 0!==b&&(b.applyMatrix4(a),b.needsUpdate=!0);b=this.attributes.normal;if(void 0!==b){var c=(new za).getNormalMatrix(a);b.applyNormalMatrix(c);
b.needsUpdate=!0}b=this.attributes.tangent;void 0!==b&&(b.transformDirection(a),b.needsUpdate=!0);null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();return this},rotateX:function(a){nb.makeRotationX(a);this.applyMatrix(nb);return this},rotateY:function(a){nb.makeRotationY(a);this.applyMatrix(nb);return this},rotateZ:function(a){nb.makeRotationZ(a);this.applyMatrix(nb);return this},translate:function(a,b,c){nb.makeTranslation(a,b,c);this.applyMatrix(nb);
return this},scale:function(a,b,c){nb.makeScale(a,b,c);this.applyMatrix(nb);return this},lookAt:function(a){ih.lookAt(a);ih.updateMatrix();this.applyMatrix(ih.matrix);return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(ud).negate();this.translate(ud.x,ud.y,ud.z);return this},setFromObject:function(a){var b=a.geometry;if(a.isPoints||a.isLine){a=new C(3*b.vertices.length,3);var c=new C(3*b.colors.length,3);this.setAttribute("position",a.copyVector3sArray(b.vertices));
this.setAttribute("color",c.copyColorsArray(b.colors));b.lineDistances&&b.lineDistances.length===b.vertices.length&&(a=new C(b.lineDistances.length,1),this.setAttribute("lineDistance",a.copyArray(b.lineDistances)));null!==b.boundingSphere&&(this.boundingSphere=b.boundingSphere.clone());null!==b.boundingBox&&(this.boundingBox=b.boundingBox.clone())}else a.isMesh&&b&&b.isGeometry&&this.fromGeometry(b);return this},setFromPoints:function(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c];b.push(e.x,
e.y,e.z||0)}this.setAttribute("position",new C(b,3));return this},updateFromObject:function(a){var b=a.geometry;if(a.isMesh){var c=b.__directGeometry;!0===b.elementsNeedUpdate&&(c=void 0,b.elementsNeedUpdate=!1);if(void 0===c)return this.fromGeometry(b);c.verticesNeedUpdate=b.verticesNeedUpdate;c.normalsNeedUpdate=b.normalsNeedUpdate;c.colorsNeedUpdate=b.colorsNeedUpdate;c.uvsNeedUpdate=b.uvsNeedUpdate;c.groupsNeedUpdate=b.groupsNeedUpdate;b.verticesNeedUpdate=!1;b.normalsNeedUpdate=!1;b.colorsNeedUpdate=
!1;b.uvsNeedUpdate=!1;b.groupsNeedUpdate=!1;b=c}!0===b.verticesNeedUpdate&&(c=this.attributes.position,void 0!==c&&(c.copyVector3sArray(b.vertices),c.needsUpdate=!0),b.verticesNeedUpdate=!1);!0===b.normalsNeedUpdate&&(c=this.attributes.normal,void 0!==c&&(c.copyVector3sArray(b.normals),c.needsUpdate=!0),b.normalsNeedUpdate=!1);!0===b.colorsNeedUpdate&&(c=this.attributes.color,void 0!==c&&(c.copyColorsArray(b.colors),c.needsUpdate=!0),b.colorsNeedUpdate=!1);b.uvsNeedUpdate&&(c=this.attributes.uv,void 0!==
c&&(c.copyVector2sArray(b.uvs),c.needsUpdate=!0),b.uvsNeedUpdate=!1);b.lineDistancesNeedUpdate&&(c=this.attributes.lineDistance,void 0!==c&&(c.copyArray(b.lineDistances),c.needsUpdate=!0),b.lineDistancesNeedUpdate=!1);b.groupsNeedUpdate&&(b.computeGroups(a.geometry),this.groups=b.groups,b.groupsNeedUpdate=!1);return this},fromGeometry:function(a){a.__directGeometry=(new vh).fromGeometry(a);return this.fromDirectGeometry(a.__directGeometry)},fromDirectGeometry:function(a){var b=new Float32Array(3*
a.vertices.length);this.setAttribute("position",(new K(b,3)).copyVector3sArray(a.vertices));0<a.normals.length&&(b=new Float32Array(3*a.normals.length),this.setAttribute("normal",(new K(b,3)).copyVector3sArray(a.normals)));0<a.colors.length&&(b=new Float32Array(3*a.colors.length),this.setAttribute("color",(new K(b,3)).copyColorsArray(a.colors)));0<a.uvs.length&&(b=new Float32Array(2*a.uvs.length),this.setAttribute("uv",(new K(b,2)).copyVector2sArray(a.uvs)));0<a.uvs2.length&&(b=new Float32Array(2*
a.uvs2.length),this.setAttribute("uv2",(new K(b,2)).copyVector2sArray(a.uvs2)));this.groups=a.groups;for(var c in a.morphTargets){b=[];for(var d=a.morphTargets[c],e=0,f=d.length;e<f;e++){var g=d[e],k=new C(3*g.data.length,3);k.name=g.name;b.push(k.copyVector3sArray(g.data))}this.morphAttributes[c]=b}0<a.skinIndices.length&&(c=new C(4*a.skinIndices.length,4),this.setAttribute("skinIndex",c.copyVector4sArray(a.skinIndices)));0<a.skinWeights.length&&(c=new C(4*a.skinWeights.length,4),this.setAttribute("skinWeight",
c.copyVector4sArray(a.skinWeights)));null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());return this},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Sa);var a=this.attributes.position,b=this.morphAttributes.position;if(void 0!==a){if(this.boundingBox.setFromBufferAttribute(a),b){a=0;for(var c=b.length;a<c;a++)Na.setFromBufferAttribute(b[a]),this.morphTargetsRelative?(V.addVectors(this.boundingBox.min,
Na.min),this.boundingBox.expandByPoint(V),V.addVectors(this.boundingBox.max,Na.max),this.boundingBox.expandByPoint(V)):(this.boundingBox.expandByPoint(Na.min),this.boundingBox.expandByPoint(Na.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox: Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)},computeBoundingSphere:function(){null===
this.boundingSphere&&(this.boundingSphere=new qb);var a=this.attributes.position,b=this.morphAttributes.position;if(a){var c=this.boundingSphere.center;Na.setFromBufferAttribute(a);if(b)for(var d=0,e=b.length;d<e;d++){var f=b[d];De.setFromBufferAttribute(f);this.morphTargetsRelative?(V.addVectors(Na.min,De.min),Na.expandByPoint(V),V.addVectors(Na.max,De.max),Na.expandByPoint(V)):(Na.expandByPoint(De.min),Na.expandByPoint(De.max))}Na.getCenter(c);var g=0;d=0;for(e=a.count;d<e;d++)V.fromBufferAttribute(a,
d),g=Math.max(g,c.distanceToSquared(V));if(b)for(d=0,e=b.length;d<e;d++){f=b[d];for(var k=this.morphTargetsRelative,l=0,h=f.count;l<h;l++)V.fromBufferAttribute(f,l),k&&(ud.fromBufferAttribute(a,l),V.add(ud)),g=Math.max(g,c.distanceToSquared(V))}this.boundingSphere.radius=Math.sqrt(g);isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}},computeFaceNormals:function(){},
computeVertexNormals:function(){var a=this.index,b=this.attributes;if(b.position){var c=b.position.array;if(void 0===b.normal)this.setAttribute("normal",new K(new Float32Array(c.length),3));else for(var d=b.normal.array,e=0,f=d.length;e<f;e++)d[e]=0;d=b.normal.array;var g=new n,k=new n,l=new n,h=new n,v=new n;if(a){var p=a.array;e=0;for(f=a.count;e<f;e+=3){a=3*p[e+0];var q=3*p[e+1];var t=3*p[e+2];g.fromArray(c,a);k.fromArray(c,q);l.fromArray(c,t);h.subVectors(l,k);v.subVectors(g,k);h.cross(v);d[a]+=
h.x;d[a+1]+=h.y;d[a+2]+=h.z;d[q]+=h.x;d[q+1]+=h.y;d[q+2]+=h.z;d[t]+=h.x;d[t+1]+=h.y;d[t+2]+=h.z}}else for(e=0,f=c.length;e<f;e+=9)g.fromArray(c,e),k.fromArray(c,e+3),l.fromArray(c,e+6),h.subVectors(l,k),v.subVectors(g,k),h.cross(v),d[e]=h.x,d[e+1]=h.y,d[e+2]=h.z,d[e+3]=h.x,d[e+4]=h.y,d[e+5]=h.z,d[e+6]=h.x,d[e+7]=h.y,d[e+8]=h.z;this.normalizeNormals();b.normal.needsUpdate=!0}},merge:function(a,b){if(a&&a.isBufferGeometry){void 0===b&&(b=0,console.warn("THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge."));
var c=this.attributes,d;for(d in c)if(void 0!==a.attributes[d]){var e=c[d].array,f=a.attributes[d],g=f.array,k=f.itemSize*b;f=Math.min(g.length,e.length-k);for(var l=0;l<f;l++,k++)e[k]=g[l]}return this}console.error("THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.",a)},normalizeNormals:function(){for(var a=this.attributes.normal,b=0,c=a.count;b<c;b++)V.x=a.getX(b),V.y=a.getY(b),V.z=a.getZ(b),V.normalize(),a.setXYZ(b,V.x,V.y,V.z)},toNonIndexed:function(){function a(a,
b){var c=a.array;a=a.itemSize;for(var d=new c.constructor(b.length*a),e,f=0,g=0,k=b.length;g<k;g++){e=b[g]*a;for(var l=0;l<a;l++)d[f++]=c[e++]}return new K(d,a)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): Geometry is already non-indexed."),this;var b=new G,c=this.index.array,d=this.attributes,e;for(e in d){var f=d[e];f=a(f,c);b.setAttribute(e,f)}var g=this.morphAttributes;for(e in g){var k=[],l=g[e];d=0;for(var h=l.length;d<h;d++)f=l[d],f=a(f,c),k.push(f);b.morphAttributes[e]=
k}b.morphTargetsRelative=this.morphTargetsRelative;c=this.groups;d=0;for(e=c.length;d<e;d++)f=c[d],b.addGroup(f.start,f.count,f.materialIndex);return b},toJSON:function(){var a={metadata:{version:4.5,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};a.uuid=this.uuid;a.type=this.type;""!==this.name&&(a.name=this.name);0<Object.keys(this.userData).length&&(a.userData=this.userData);if(void 0!==this.parameters){var b=this.parameters;for(h in b)void 0!==b[h]&&(a[h]=b[h]);return a}a.data={attributes:{}};
b=this.index;null!==b&&(a.data.index={type:b.array.constructor.name,array:Array.prototype.slice.call(b.array)});var c=this.attributes;for(h in c){b=c[h];var d=b.toJSON();""!==b.name&&(d.name=b.name);a.data.attributes[h]=d}c={};var e=!1;for(h in this.morphAttributes){for(var f=this.morphAttributes[h],g=[],k=0,l=f.length;k<l;k++)b=f[k],d=b.toJSON(),""!==b.name&&(d.name=b.name),g.push(d);0<g.length&&(c[h]=g,e=!0)}e&&(a.data.morphAttributes=c,a.data.morphTargetsRelative=this.morphTargetsRelative);var h=
this.groups;0<h.length&&(a.data.groups=JSON.parse(JSON.stringify(h)));h=this.boundingSphere;null!==h&&(a.data.boundingSphere={center:h.center.toArray(),radius:h.radius});return a},clone:function(){return(new G).copy(this)},copy:function(a){var b;this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingSphere=this.boundingBox=null;this.name=a.name;var c=a.index;null!==c&&this.setIndex(c.clone());c=a.attributes;for(g in c)this.setAttribute(g,c[g].clone());var d=a.morphAttributes;
for(g in d){var e=[],f=d[g];c=0;for(b=f.length;c<b;c++)e.push(f[c].clone());this.morphAttributes[g]=e}this.morphTargetsRelative=a.morphTargetsRelative;var g=a.groups;c=0;for(b=g.length;c<b;c++)d=g[c],this.addGroup(d.start,d.count,d.materialIndex);g=a.boundingBox;null!==g&&(this.boundingBox=g.clone());g=a.boundingSphere;null!==g&&(this.boundingSphere=g.clone());this.drawRange.start=a.drawRange.start;this.drawRange.count=a.drawRange.count;this.userData=a.userData;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});
var Ni=new P,vc=new Wb,jh=new qb,Zb=new n,$b=new n,ac=new n,eg=new n,fg=new n,gg=new n,Le=new n,Me=new n,Ne=new n,Ec=new x,Fc=new x,Gc=new x,Gd=new n,Je=new n;ca.prototype=Object.assign(Object.create(D.prototype),{constructor:ca,isMesh:!0,copy:function(a){D.prototype.copy.call(this,a);void 0!==a.morphTargetInfluences&&(this.morphTargetInfluences=a.morphTargetInfluences.slice());void 0!==a.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},a.morphTargetDictionary));return this},updateMorphTargets:function(){var a=
this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length){var c=a[b[0]];if(void 0!==c)for(this.morphTargetInfluences=[],this.morphTargetDictionary={},a=0,b=c.length;a<b;a++){var d=c[a].name||String(a);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=a}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Mesh.updateMorphTargets() no longer supports THREE.Geometry. Use THREE.BufferGeometry instead.")},raycast:function(a,b){var c=this.geometry,
d=this.material,e=this.matrixWorld;if(void 0!==d&&(null===c.boundingSphere&&c.computeBoundingSphere(),jh.copy(c.boundingSphere),jh.applyMatrix4(e),!1!==a.ray.intersectsSphere(jh)&&(Ni.getInverse(e),vc.copy(a.ray).applyMatrix4(Ni),null===c.boundingBox||!1!==vc.intersectsBox(c.boundingBox))))if(c.isBufferGeometry){var f=c.index;e=c.attributes.position;var g=c.morphAttributes.position,k=c.morphTargetsRelative,l=c.attributes.uv,h=c.attributes.uv2,n=c.groups,p=c.drawRange,q,t;if(null!==f)if(Array.isArray(d)){var r=
0;for(q=n.length;r<q;r++){var u=n[r];var z=d[u.materialIndex];var w=Math.max(u.start,p.start);for(t=c=Math.min(u.start+u.count,p.start+p.count);w<t;w+=3){c=f.getX(w);var B=f.getX(w+1);var y=f.getX(w+2);if(c=Ke(this,z,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(w/3),c.face.materialIndex=u.materialIndex,b.push(c)}}}else for(w=Math.max(0,p.start),c=Math.min(f.count,p.start+p.count),r=w,q=c;r<q;r+=3){if(c=f.getX(r),B=f.getX(r+1),y=f.getX(r+2),c=Ke(this,d,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(r/
3),b.push(c)}else if(void 0!==e)if(Array.isArray(d))for(r=0,q=n.length;r<q;r++)for(u=n[r],z=d[u.materialIndex],w=Math.max(u.start,p.start),t=c=Math.min(u.start+u.count,p.start+p.count);w<t;w+=3){if(c=w,B=w+1,y=w+2,c=Ke(this,z,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(w/3),c.face.materialIndex=u.materialIndex,b.push(c)}else for(w=Math.max(0,p.start),c=Math.min(e.count,p.start+p.count),r=w,q=c;r<q;r+=3)if(c=r,B=r+1,y=r+2,c=Ke(this,d,a,vc,e,g,k,l,h,c,B,y))c.faceIndex=Math.floor(r/3),b.push(c)}else if(c.isGeometry)for(e=
Array.isArray(d),g=c.vertices,k=c.faces,c=c.faceVertexUvs[0],0<c.length&&(f=c),p=0,r=k.length;p<r;p++)if(q=k[p],c=e?d[q.materialIndex]:d,void 0!==c&&(l=g[q.a],h=g[q.b],n=g[q.c],c=xh(this,c,a,vc,l,h,n,Gd)))f&&f[p]&&(u=f[p],Ec.copy(u[0]),Fc.copy(u[1]),Gc.copy(u[2]),c.uv=ma.getUV(Gd,l,h,n,Ec,Fc,Gc,new x)),c.face=q,c.faceIndex=p,b.push(c)},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var qj=0,ob=new P,kh=new D,Kf=new n;M.prototype=Object.assign(Object.create(Fa.prototype),
{constructor:M,isGeometry:!0,applyMatrix:function(a){for(var b=(new za).getNormalMatrix(a),c=0,d=this.vertices.length;c<d;c++)this.vertices[c].applyMatrix4(a);c=0;for(d=this.faces.length;c<d;c++){a=this.faces[c];a.normal.applyMatrix3(b).normalize();for(var e=0,f=a.vertexNormals.length;e<f;e++)a.vertexNormals[e].applyMatrix3(b).normalize()}null!==this.boundingBox&&this.computeBoundingBox();null!==this.boundingSphere&&this.computeBoundingSphere();this.normalsNeedUpdate=this.verticesNeedUpdate=!0;return this},
rotateX:function(a){ob.makeRotationX(a);this.applyMatrix(ob);return this},rotateY:function(a){ob.makeRotationY(a);this.applyMatrix(ob);return this},rotateZ:function(a){ob.makeRotationZ(a);this.applyMatrix(ob);return this},translate:function(a,b,c){ob.makeTranslation(a,b,c);this.applyMatrix(ob);return this},scale:function(a,b,c){ob.makeScale(a,b,c);this.applyMatrix(ob);return this},lookAt:function(a){kh.lookAt(a);kh.updateMatrix();this.applyMatrix(kh.matrix);return this},fromBufferGeometry:function(a){function b(a,
b,d,e){var f=void 0===k?[]:[c.colors[a].clone(),c.colors[b].clone(),c.colors[d].clone()],m=void 0===g?[]:[(new n).fromArray(g,3*a),(new n).fromArray(g,3*b),(new n).fromArray(g,3*d)];e=new Dc(a,b,d,m,f,e);c.faces.push(e);void 0!==l&&c.faceVertexUvs[0].push([(new x).fromArray(l,2*a),(new x).fromArray(l,2*b),(new x).fromArray(l,2*d)]);void 0!==h&&c.faceVertexUvs[1].push([(new x).fromArray(h,2*a),(new x).fromArray(h,2*b),(new x).fromArray(h,2*d)])}var c=this,d=null!==a.index?a.index.array:void 0,e=a.attributes;
if(void 0===e.position)return console.error("THREE.Geometry.fromBufferGeometry(): Position attribute required for conversion."),this;var f=e.position.array,g=void 0!==e.normal?e.normal.array:void 0,k=void 0!==e.color?e.color.array:void 0,l=void 0!==e.uv?e.uv.array:void 0,h=void 0!==e.uv2?e.uv2.array:void 0;void 0!==h&&(this.faceVertexUvs[1]=[]);for(e=0;e<f.length;e+=3)c.vertices.push((new n).fromArray(f,e)),void 0!==k&&c.colors.push((new y).fromArray(k,e));var v=a.groups;if(0<v.length)for(e=0;e<v.length;e++){f=
v[e];var p=f.start,q=p;for(p+=f.count;q<p;q+=3)void 0!==d?b(d[q],d[q+1],d[q+2],f.materialIndex):b(q,q+1,q+2,f.materialIndex)}else if(void 0!==d)for(e=0;e<d.length;e+=3)b(d[e],d[e+1],d[e+2]);else for(e=0;e<f.length/3;e+=3)b(e,e+1,e+2);this.computeFaceNormals();null!==a.boundingBox&&(this.boundingBox=a.boundingBox.clone());null!==a.boundingSphere&&(this.boundingSphere=a.boundingSphere.clone());return this},center:function(){this.computeBoundingBox();this.boundingBox.getCenter(Kf).negate();this.translate(Kf.x,
Kf.y,Kf.z);return this},normalize:function(){this.computeBoundingSphere();var a=this.boundingSphere.center,b=this.boundingSphere.radius;b=0===b?1:1/b;var c=new P;c.set(b,0,0,-b*a.x,0,b,0,-b*a.y,0,0,b,-b*a.z,0,0,0,1);this.applyMatrix(c);return this},computeFaceNormals:function(){for(var a=new n,b=new n,c=0,d=this.faces.length;c<d;c++){var e=this.faces[c],f=this.vertices[e.a],g=this.vertices[e.b];a.subVectors(this.vertices[e.c],g);b.subVectors(f,g);a.cross(b);a.normalize();e.normal.copy(a)}},computeVertexNormals:function(a){void 0===
a&&(a=!0);var b;var c=Array(this.vertices.length);var d=0;for(b=this.vertices.length;d<b;d++)c[d]=new n;if(a){var e=new n,f=new n;a=0;for(d=this.faces.length;a<d;a++){b=this.faces[a];var g=this.vertices[b.a];var k=this.vertices[b.b];var l=this.vertices[b.c];e.subVectors(l,k);f.subVectors(g,k);e.cross(f);c[b.a].add(e);c[b.b].add(e);c[b.c].add(e)}}else for(this.computeFaceNormals(),a=0,d=this.faces.length;a<d;a++)b=this.faces[a],c[b.a].add(b.normal),c[b.b].add(b.normal),c[b.c].add(b.normal);d=0;for(b=
this.vertices.length;d<b;d++)c[d].normalize();a=0;for(d=this.faces.length;a<d;a++)b=this.faces[a],g=b.vertexNormals,3===g.length?(g[0].copy(c[b.a]),g[1].copy(c[b.b]),g[2].copy(c[b.c])):(g[0]=c[b.a].clone(),g[1]=c[b.b].clone(),g[2]=c[b.c].clone());0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeFlatVertexNormals:function(){var a;this.computeFaceNormals();var b=0;for(a=this.faces.length;b<a;b++){var c=this.faces[b];var d=c.vertexNormals;3===d.length?(d[0].copy(c.normal),d[1].copy(c.normal),
d[2].copy(c.normal)):(d[0]=c.normal.clone(),d[1]=c.normal.clone(),d[2]=c.normal.clone())}0<this.faces.length&&(this.normalsNeedUpdate=!0)},computeMorphNormals:function(){var a,b;var c=0;for(b=this.faces.length;c<b;c++){var d=this.faces[c];d.__originalFaceNormal?d.__originalFaceNormal.copy(d.normal):d.__originalFaceNormal=d.normal.clone();d.__originalVertexNormals||(d.__originalVertexNormals=[]);var e=0;for(a=d.vertexNormals.length;e<a;e++)d.__originalVertexNormals[e]?d.__originalVertexNormals[e].copy(d.vertexNormals[e]):
d.__originalVertexNormals[e]=d.vertexNormals[e].clone()}var f=new M;f.faces=this.faces;e=0;for(a=this.morphTargets.length;e<a;e++){if(!this.morphNormals[e]){this.morphNormals[e]={};this.morphNormals[e].faceNormals=[];this.morphNormals[e].vertexNormals=[];d=this.morphNormals[e].faceNormals;var g=this.morphNormals[e].vertexNormals;c=0;for(b=this.faces.length;c<b;c++){var k=new n;var l={a:new n,b:new n,c:new n};d.push(k);g.push(l)}}g=this.morphNormals[e];f.vertices=this.morphTargets[e].vertices;f.computeFaceNormals();
f.computeVertexNormals();c=0;for(b=this.faces.length;c<b;c++)d=this.faces[c],k=g.faceNormals[c],l=g.vertexNormals[c],k.copy(d.normal),l.a.copy(d.vertexNormals[0]),l.b.copy(d.vertexNormals[1]),l.c.copy(d.vertexNormals[2])}c=0;for(b=this.faces.length;c<b;c++)d=this.faces[c],d.normal=d.__originalFaceNormal,d.vertexNormals=d.__originalVertexNormals},computeBoundingBox:function(){null===this.boundingBox&&(this.boundingBox=new Sa);this.boundingBox.setFromPoints(this.vertices)},computeBoundingSphere:function(){null===
this.boundingSphere&&(this.boundingSphere=new qb);this.boundingSphere.setFromPoints(this.vertices)},merge:function(a,b,c){if(a&&a.isGeometry){var d,e=this.vertices.length,f=this.vertices,g=a.vertices,k=this.faces,l=a.faces,h=this.colors,n=a.colors;void 0===c&&(c=0);void 0!==b&&(d=(new za).getNormalMatrix(b));for(var p=0,q=g.length;p<q;p++){var t=g[p].clone();void 0!==b&&t.applyMatrix4(b);f.push(t)}p=0;for(q=n.length;p<q;p++)h.push(n[p].clone());p=0;for(q=l.length;p<q;p++){g=l[p];var r=g.vertexNormals;
n=g.vertexColors;h=new Dc(g.a+e,g.b+e,g.c+e);h.normal.copy(g.normal);void 0!==d&&h.normal.applyMatrix3(d).normalize();b=0;for(f=r.length;b<f;b++)t=r[b].clone(),void 0!==d&&t.applyMatrix3(d).normalize(),h.vertexNormals.push(t);h.color.copy(g.color);b=0;for(f=n.length;b<f;b++)t=n[b],h.vertexColors.push(t.clone());h.materialIndex=g.materialIndex+c;k.push(h)}p=0;for(q=a.faceVertexUvs.length;p<q;p++)for(c=a.faceVertexUvs[p],void 0===this.faceVertexUvs[p]&&(this.faceVertexUvs[p]=[]),b=0,f=c.length;b<f;b++){d=
c[b];e=[];k=0;for(l=d.length;k<l;k++)e.push(d[k].clone());this.faceVertexUvs[p].push(e)}}else console.error("THREE.Geometry.merge(): geometry not an instance of THREE.Geometry.",a)},mergeMesh:function(a){a&&a.isMesh?(a.matrixAutoUpdate&&a.updateMatrix(),this.merge(a.geometry,a.matrix)):console.error("THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.",a)},mergeVertices:function(){var a={},b=[],c=[],d=Math.pow(10,4),e;var f=0;for(e=this.vertices.length;f<e;f++){var g=this.vertices[f];
g=Math.round(g.x*d)+"_"+Math.round(g.y*d)+"_"+Math.round(g.z*d);void 0===a[g]?(a[g]=f,b.push(this.vertices[f]),c[f]=b.length-1):c[f]=c[a[g]]}a=[];f=0;for(e=this.faces.length;f<e;f++)for(d=this.faces[f],d.a=c[d.a],d.b=c[d.b],d.c=c[d.c],d=[d.a,d.b,d.c],g=0;3>g;g++)if(d[g]===d[(g+1)%3]){a.push(f);break}for(f=a.length-1;0<=f;f--)for(d=a[f],this.faces.splice(d,1),c=0,e=this.faceVertexUvs.length;c<e;c++)this.faceVertexUvs[c].splice(d,1);f=this.vertices.length-b.length;this.vertices=b;return f},setFromPoints:function(a){this.vertices=
[];for(var b=0,c=a.length;b<c;b++){var d=a[b];this.vertices.push(new n(d.x,d.y,d.z||0))}return this},sortFacesByMaterialIndex:function(){for(var a=this.faces,b=a.length,c=0;c<b;c++)a[c]._id=c;a.sort(function(a,b){return a.materialIndex-b.materialIndex});var d=this.faceVertexUvs[0],e=this.faceVertexUvs[1],f,g;d&&d.length===b&&(f=[]);e&&e.length===b&&(g=[]);for(c=0;c<b;c++){var k=a[c]._id;f&&f.push(d[k]);g&&g.push(e[k])}f&&(this.faceVertexUvs[0]=f);g&&(this.faceVertexUvs[1]=g)},toJSON:function(){function a(a,
b,c){return c?a|1<<b:a&~(1<<b)}function b(a){var b=a.x.toString()+a.y.toString()+a.z.toString();if(void 0!==h[b])return h[b];h[b]=l.length/3;l.push(a.x,a.y,a.z);return h[b]}function c(a){var b=a.r.toString()+a.g.toString()+a.b.toString();if(void 0!==p[b])return p[b];p[b]=n.length;n.push(a.getHex());return p[b]}function d(a){var b=a.x.toString()+a.y.toString();if(void 0!==t[b])return t[b];t[b]=q.length/2;q.push(a.x,a.y);return t[b]}var e={metadata:{version:4.5,type:"Geometry",generator:"Geometry.toJSON"}};
e.uuid=this.uuid;e.type=this.type;""!==this.name&&(e.name=this.name);if(void 0!==this.parameters){var f=this.parameters,g;for(g in f)void 0!==f[g]&&(e[g]=f[g]);return e}f=[];for(g=0;g<this.vertices.length;g++){var k=this.vertices[g];f.push(k.x,k.y,k.z)}k=[];var l=[],h={},n=[],p={},q=[],t={};for(g=0;g<this.faces.length;g++){var r=this.faces[g],u=void 0!==this.faceVertexUvs[0][g],z=0<r.normal.length(),w=0<r.vertexNormals.length,B=1!==r.color.r||1!==r.color.g||1!==r.color.b,x=0<r.vertexColors.length,
y=0;y=a(y,0,0);y=a(y,1,!0);y=a(y,2,!1);y=a(y,3,u);y=a(y,4,z);y=a(y,5,w);y=a(y,6,B);y=a(y,7,x);k.push(y);k.push(r.a,r.b,r.c);k.push(r.materialIndex);u&&(u=this.faceVertexUvs[0][g],k.push(d(u[0]),d(u[1]),d(u[2])));z&&k.push(b(r.normal));w&&(z=r.vertexNormals,k.push(b(z[0]),b(z[1]),b(z[2])));B&&k.push(c(r.color));x&&(r=r.vertexColors,k.push(c(r[0]),c(r[1]),c(r[2])))}e.data={};e.data.vertices=f;e.data.normals=l;0<n.length&&(e.data.colors=n);0<q.length&&(e.data.uvs=[q]);e.data.faces=k;return e},clone:function(){return(new M).copy(this)},
copy:function(a){var b,c,d;this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingSphere=this.boundingBox=null;this.name=a.name;var e=a.vertices;var f=0;for(b=e.length;f<b;f++)this.vertices.push(e[f].clone());e=a.colors;f=0;for(b=e.length;f<b;f++)this.colors.push(e[f].clone());e=a.faces;f=0;for(b=e.length;f<b;f++)this.faces.push(e[f].clone());f=0;for(b=a.faceVertexUvs.length;f<
b;f++){var g=a.faceVertexUvs[f];void 0===this.faceVertexUvs[f]&&(this.faceVertexUvs[f]=[]);e=0;for(c=g.length;e<c;e++){var k=g[e],l=[];var h=0;for(d=k.length;h<d;h++)l.push(k[h].clone());this.faceVertexUvs[f].push(l)}}h=a.morphTargets;f=0;for(b=h.length;f<b;f++){d={};d.name=h[f].name;if(void 0!==h[f].vertices)for(d.vertices=[],e=0,c=h[f].vertices.length;e<c;e++)d.vertices.push(h[f].vertices[e].clone());if(void 0!==h[f].normals)for(d.normals=[],e=0,c=h[f].normals.length;e<c;e++)d.normals.push(h[f].normals[e].clone());
this.morphTargets.push(d)}h=a.morphNormals;f=0;for(b=h.length;f<b;f++){d={};if(void 0!==h[f].vertexNormals)for(d.vertexNormals=[],e=0,c=h[f].vertexNormals.length;e<c;e++)g=h[f].vertexNormals[e],k={},k.a=g.a.clone(),k.b=g.b.clone(),k.c=g.c.clone(),d.vertexNormals.push(k);if(void 0!==h[f].faceNormals)for(d.faceNormals=[],e=0,c=h[f].faceNormals.length;e<c;e++)d.faceNormals.push(h[f].faceNormals[e].clone());this.morphNormals.push(d)}e=a.skinWeights;f=0;for(b=e.length;f<b;f++)this.skinWeights.push(e[f].clone());
e=a.skinIndices;f=0;for(b=e.length;f<b;f++)this.skinIndices.push(e[f].clone());e=a.lineDistances;f=0;for(b=e.length;f<b;f++)this.lineDistances.push(e[f]);f=a.boundingBox;null!==f&&(this.boundingBox=f.clone());f=a.boundingSphere;null!==f&&(this.boundingSphere=f.clone());this.elementsNeedUpdate=a.elementsNeedUpdate;this.verticesNeedUpdate=a.verticesNeedUpdate;this.uvsNeedUpdate=a.uvsNeedUpdate;this.normalsNeedUpdate=a.normalsNeedUpdate;this.colorsNeedUpdate=a.colorsNeedUpdate;this.lineDistancesNeedUpdate=
a.lineDistancesNeedUpdate;this.groupsNeedUpdate=a.groupsNeedUpdate;return this},dispose:function(){this.dispatchEvent({type:"dispose"})}});var lh=function(a){function b(b,d,e,f,g,k){a.call(this);this.type="BoxGeometry";this.parameters={width:b,height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:k};this.fromBufferGeometry(new Jd(b,d,e,f,g,k));this.mergeVertices()}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(M),Jd=function(a){function b(b,
d,e,f,g,k){function c(a,b,c,d,e,f,g,k,l,m,x){var w=f/l,z=g/m,A=f/2,B=g/2,y=k/2;g=l+1;var C=m+1,G=f=0,F,D,E=new n;for(D=0;D<C;D++){var I=D*z-B;for(F=0;F<g;F++)E[a]=(F*w-A)*d,E[b]=I*e,E[c]=y,p.push(E.x,E.y,E.z),E[a]=0,E[b]=0,E[c]=0<k?1:-1,q.push(E.x,E.y,E.z),t.push(F/l),t.push(1-D/m),f+=1}for(D=0;D<m;D++)for(F=0;F<l;F++)a=r+F+g*(D+1),b=r+(F+1)+g*(D+1),c=r+(F+1)+g*D,v.push(r+F+g*D,a,c),v.push(a,b,c),G+=6;h.addGroup(u,G,x);u+=G;r+=f}a.call(this);this.type="BoxBufferGeometry";this.parameters={width:b,
height:d,depth:e,widthSegments:f,heightSegments:g,depthSegments:k};var h=this;b=b||1;d=d||1;e=e||1;f=Math.floor(f)||1;g=Math.floor(g)||1;k=Math.floor(k)||1;var v=[],p=[],q=[],t=[],r=0,u=0;c("z","y","x",-1,-1,e,d,b,k,g,0);c("z","y","x",1,-1,e,d,-b,k,g,1);c("x","z","y",1,1,b,e,d,f,k,2);c("x","z","y",1,-1,b,e,-d,f,k,3);c("x","y","z",1,-1,b,d,e,f,g,4);c("x","y","z",-1,-1,b,d,-e,f,g,5);this.setIndex(v);this.setAttribute("position",new C(p,3));this.setAttribute("normal",new C(q,3));this.setAttribute("uv",
new C(t,2))}a&&(b.__proto__=a);b.prototype=Object.create(a&&a.prototype);return b.prototype.constructor=b}(G),Xk={clone:bc,merge:na};oa.prototype=Object.create(L.prototype);oa.prototype.constructor=oa;oa.prototype.isShaderMaterial=!0;oa.prototype.copy=function(a){L.prototype.copy.call(this,a);this.fragmentShader=a.fragmentShader;this.vertexShader=a.vertexShader;this.uniforms=bc(a.uniforms);this.defines=Object.assign({},a.defines);this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;
this.lights=a.lights;this.clipping=a.clipping;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;this.extensions=a.extensions;return this};oa.prototype.toJSON=function(a){var b=L.prototype.toJSON.call(this,a);b.uniforms={};for(var c in this.uniforms){var d=this.uniforms[c].value;b.uniforms[c]=d&&d.isTexture?{type:"t",value:d.toJSON(a).uuid}:d&&d.isColor?{type:"c",value:d.getHex()}:d&&d.isVector2?{type:"v2",value:d.toArray()}:d&&d.isVector3?{type:"v3",value:d.toArray()}:
d&&d.isVector4?{type:"v4",value:d.toArray()}:d&&d.isMatrix3?{type:"m3",value:d.toArray()}:d&&d.isMatrix4?{type:"m4",value:d.toArray()}:{value:d}}0<Object.keys(this.defines).length&&(b.defines=this.defines);b.vertexShader=this.vertexShader;b.fragmentShader=this.fragmentShader;a={};for(var e in this.extensions)!0===this.extensions[e]&&(a[e]=!0);0<Object.keys(a).length&&(b.extensions=a);return b};db.prototype=Object.assign(Object.create(D.prototype),{constructor:db,isCamera:!0,copy:function(a,b){D.prototype.copy.call(this,
a,b);this.matrixWorldInverse.copy(a.matrixWorldInverse);this.projectionMatrix.copy(a.projectionMatrix);this.projectionMatrixInverse.copy(a.projectionMatrixInverse);return this},getWorldDirection:function(a){void 0===a&&(console.warn("THREE.Camera: .getWorldDirection() target is now required"),a=new n);this.updateMatrixWorld(!0);var b=this.matrixWorld.elements;return a.set(-b[8],-b[9],-b[10]).normalize()},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);this.matrixWorldInverse.getInverse(this.matrixWorld)},
clone:function(){return(new this.constructor).copy(this)}});pa.prototype=Object.assign(Object.create(db.prototype),{constructor:pa,isPerspectiveCamera:!0,copy:function(a,b){db.prototype.copy.call(this,a,b);this.fov=a.fov;this.zoom=a.zoom;this.near=a.near;this.far=a.far;this.focus=a.focus;this.aspect=a.aspect;this.view=null===a.view?null:Object.assign({},a.view);this.filmGauge=a.filmGauge;this.filmOffset=a.filmOffset;return this},setFocalLength:function(a){a=.5*this.getFilmHeight()/a;this.fov=2*O.RAD2DEG*
Math.atan(a);this.updateProjectionMatrix()},getFocalLength:function(){var a=Math.tan(.5*O.DEG2RAD*this.fov);return.5*this.getFilmHeight()/a},getEffectiveFOV:function(){return 2*O.RAD2DEG*Math.atan(Math.tan(.5*O.DEG2RAD*this.fov)/this.zoom)},getFilmWidth:function(){return this.filmGauge*Math.min(this.aspect,1)},getFilmHeight:function(){return this.filmGauge/Math.max(this.aspect,1)},setViewOffset:function(a,b,c,d,e,f){this.aspect=a/b;null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,
offsetX:0,offsetY:0,width:1,height:1});this.view.enabled=!0;this.view.fullWidth=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=this.near,b=a*Math.tan(.5*O.DEG2RAD*this.fov)/this.zoom,c=2*b,d=this.aspect*c,e=-.5*d,f=this.view;if(null!==this.view&&this.view.enabled){var g=f.fullWidth,
k=f.fullHeight;e+=f.offsetX*d/g;b-=f.offsetY*c/k;d*=f.width/g;c*=f.height/k}f=this.filmOffset;0!==f&&(e+=a*f/this.getFilmWidth());this.projectionMatrix.makePerspective(e,e+d,b,b-c,a,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},toJSON:function(a){a=D.prototype.toJSON.call(this,a);a.object.fov=this.fov;a.object.zoom=this.zoom;a.object.near=this.near;a.object.far=this.far;a.object.focus=this.focus;a.object.aspect=this.aspect;null!==this.view&&(a.object.view=Object.assign({},
this.view));a.object.filmGauge=this.filmGauge;a.object.filmOffset=this.filmOffset;return a}});Hc.prototype=Object.create(D.prototype);Hc.prototype.constructor=Hc;Eb.prototype=Object.create(va.prototype);Eb.prototype.constructor=Eb;Eb.prototype.isWebGLRenderTargetCube=!0;Eb.prototype.fromEquirectangularTexture=function(a,b){this.texture.type=b.type;this.texture.format=b.format;this.texture.encoding=b.encoding;var c=new pb,d=new oa({type:"CubemapFromEquirect",uniforms:bc({tEquirect:{value:null}}),vertexShader:"varying vec3 vWorldDirection;\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",
fragmentShader:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n}",side:1,blending:0});d.uniforms.tEquirect.value=b;b=new ca(new Jd(5,
5,5),d);c.add(b);d=new Hc(1,10,1);d.renderTarget=this;d.renderTarget.texture.name="CubeCameraTexture";d.update(a,c);b.geometry.dispose();b.material.dispose();return this};cc.prototype=Object.create(T.prototype);cc.prototype.constructor=cc;cc.prototype.isDataTexture=!0;var vd=new qb,Lf=new n;Object.assign(Hd.prototype,{set:function(a,b,c,d,e,f){var g=this.planes;g[0].copy(a);g[1].copy(b);g[2].copy(c);g[3].copy(d);g[4].copy(e);g[5].copy(f);return this},clone:function(){return(new this.constructor).copy(this)},
copy:function(a){for(var b=this.planes,c=0;6>c;c++)b[c].copy(a.planes[c]);return this},setFromMatrix:function(a){var b=this.planes,c=a.elements;a=c[0];var d=c[1],e=c[2],f=c[3],g=c[4],k=c[5],h=c[6],m=c[7],n=c[8],p=c[9],q=c[10],t=c[11],r=c[12],u=c[13],z=c[14];c=c[15];b[0].setComponents(f-a,m-g,t-n,c-r).normalize();b[1].setComponents(f+a,m+g,t+n,c+r).normalize();b[2].setComponents(f+d,m+k,t+p,c+u).normalize();b[3].setComponents(f-d,m-k,t-p,c-u).normalize();b[4].setComponents(f-e,m-h,t-q,c-z).normalize();
b[5].setComponents(f+e,m+h,t+q,c+z).normalize();return this},intersectsObject:function(a){var b=a.geometry;null===b.boundingSphere&&b.computeBoundingSphere();vd.copy(b.boundingSphere).applyMatrix4(a.matrixWorld);return this.intersectsSphere(vd)},intersectsSprite:function(a){vd.center.set(0,0,0);vd.radius=.7071067811865476;vd.applyMatrix4(a.matrixWorld);return this.intersectsSphere(vd)},intersectsSphere:function(a){var b=this.planes,c=a.center;a=-a.radius;for(var d=0;6>d;d++)if(b[d].distanceToPoint(c)<
a)return!1;return!0},intersectsBox:function(a){for(var b=this.planes,c=0;6>c;c++){var d=b[c];Lf.x=0<d.normal.x?a.max.x:a.min.x;Lf.y=0<d.normal.y?a.max.y:a.min.y;Lf.z=0<d.normal.z?a.max.z:a.min.z;if(0>d.distanceToPoint(Lf))return!1}return!0},containsPoint:function(a){for(var b=this.planes,c=0;6>c;c++)if(0>b[c].distanceToPoint(a))return!1;return!0}});var N={alphamap_fragment:"#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\n#endif",alphamap_pars_fragment:"#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",
alphatest_fragment:"#ifdef ALPHATEST\n\tif ( diffuseColor.a < ALPHATEST ) discard;\n#endif",aomap_fragment:"#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif",
aomap_pars_fragment:"#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif",begin_vertex:"vec3 transformed = vec3( position );",beginnormal_vertex:"vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif",bsdfs:"vec2 integrateSpecularBRDF( const in float dotNV, const in float roughness ) {\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\tvec4 r = roughness * c0 + c1;\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\treturn vec2( -1.04, 1.04 ) * a004 + r.zw;\n}\nfloat punctualLightIntensityToIrradianceFactor( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n#if defined ( PHYSICALLY_CORRECT_LIGHTS )\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\tif( cutoffDistance > 0.0 ) {\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t}\n\treturn distanceFalloff;\n#else\n\tif( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\n\t\treturn pow( saturate( -lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t}\n\treturn 1.0;\n#endif\n}\nvec3 BRDF_Diffuse_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 specularColor, const in float dotLH ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotLH - 6.98316 ) * dotLH );\n\treturn ( 1.0 - specularColor ) * fresnel + specularColor;\n}\nvec3 F_Schlick_RoughnessDependent( const in vec3 F0, const in float dotNV, const in float roughness ) {\n\tfloat fresnel = exp2( ( -5.55473 * dotNV - 6.98316 ) * dotNV );\n\tvec3 Fr = max( vec3( 1.0 - roughness ), F0 ) - F0;\n\treturn Fr * fresnel + F0;\n}\nfloat G_GGX_Smith( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gl = dotNL + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\tfloat gv = dotNV + sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\treturn 1.0 / ( gl * gv );\n}\nfloat G_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\tfloat a2 = pow2( alpha );\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\treturn 0.5 / max( gv + gl, EPSILON );\n}\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\tfloat a2 = pow2( alpha );\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n}\nvec3 BRDF_Specular_GGX( const in IncidentLight incidentLight, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( incidentLight.direction + viewDir );\n\tfloat dotNL = saturate( dot( normal, incidentLight.direction ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\tfloat D = D_GGX( alpha, dotNH );\n\treturn F * ( G * D );\n}\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\tfloat dotNV = saturate( dot( N, V ) );\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\treturn uv;\n}\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\tfloat l = length( f );\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n}\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\tfloat x = dot( v1, v2 );\n\tfloat y = abs( x );\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\treturn cross( v1, v2 ) * theta_sintheta;\n}\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 );\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\treturn vec3( result );\n}\nvec3 BRDF_Specular_GGX_Environment( const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\treturn specularColor * brdf.x + brdf.y;\n}\nvoid BRDF_Specular_Multiscattering_Environment( const in GeometricContext geometry, const in vec3 specularColor, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\n\tvec3 F = F_Schlick_RoughnessDependent( specularColor, dotNV, roughness );\n\tvec2 brdf = integrateSpecularBRDF( dotNV, roughness );\n\tvec3 FssEss = F * brdf.x + brdf.y;\n\tfloat Ess = brdf.x + brdf.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = specularColor + ( 1.0 - specularColor ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\nfloat G_BlinnPhong_Implicit( ) {\n\treturn 0.25;\n}\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n}\nvec3 BRDF_Specular_BlinnPhong( const in IncidentLight incidentLight, const in GeometricContext geometry, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( incidentLight.direction + geometry.viewDir );\n\tfloat dotNH = saturate( dot( geometry.normal, halfDir ) );\n\tfloat dotLH = saturate( dot( incidentLight.direction, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, dotLH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n}\nfloat GGXRoughnessToBlinnExponent( const in float ggxRoughness ) {\n\treturn ( 2.0 / pow2( ggxRoughness + 0.0001 ) - 2.0 );\n}\nfloat BlinnExponentToGGXRoughness( const in float blinnExponent ) {\n\treturn sqrt( 2.0 / ( blinnExponent + 2.0 ) );\n}\n#if defined( USE_SHEEN )\nfloat D_Charlie(float roughness, float NoH) {\n\tfloat invAlpha = 1.0 / roughness;\n\tfloat cos2h = NoH * NoH;\n\tfloat sin2h = max(1.0 - cos2h, 0.0078125);\treturn (2.0 + invAlpha) * pow(sin2h, invAlpha * 0.5) / (2.0 * PI);\n}\nfloat V_Neubelt(float NoV, float NoL) {\n\treturn saturate(1.0 / (4.0 * (NoL + NoV - NoL * NoV)));\n}\nvec3 BRDF_Specular_Sheen( const in float roughness, const in vec3 L, const in GeometricContext geometry, vec3 specularColor ) {\n\tvec3 N = geometry.normal;\n\tvec3 V = geometry.viewDir;\n\tvec3 H = normalize( V + L );\n\tfloat dotNH = saturate( dot( N, H ) );\n\treturn specularColor * D_Charlie( roughness, dotNH ) * V_Neubelt( dot(N, V), dot(N, L) );\n}\n#endif",
bumpmap_pars_fragment:"#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vUv );\n\t\tvec2 dSTdy = dFdy( vUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy ) {\n\t\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\n\t\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\n\t\tvec3 vN = surf_norm;\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\t\tfloat fDet = dot( vSigmaX, R1 );\n\t\tfDet *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\t}\n#endif",
clipping_planes_fragment:"#if NUM_CLIPPING_PLANES > 0\n\tvec4 plane;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\t\tplane = clippingPlanes[ i ];\n\t\tif ( dot( vViewPosition, plane.xyz ) > plane.w ) discard;\n\t}\n\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\t\tbool clipped = true;\n\t\t#pragma unroll_loop\n\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tclipped = ( dot( vViewPosition, plane.xyz ) > plane.w ) && clipped;\n\t\t}\n\t\tif ( clipped ) discard;\n\t#endif\n#endif",
clipping_planes_pars_fragment:"#if NUM_CLIPPING_PLANES > 0\n\t#if ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\t\tvarying vec3 vViewPosition;\n\t#endif\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif",clipping_planes_pars_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvarying vec3 vViewPosition;\n#endif",clipping_planes_vertex:"#if NUM_CLIPPING_PLANES > 0 && ! defined( STANDARD ) && ! defined( PHONG ) && ! defined( MATCAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif",
color_fragment:"#ifdef USE_COLOR\n\tdiffuseColor.rgb *= vColor;\n#endif",color_pars_fragment:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_pars_vertex:"#ifdef USE_COLOR\n\tvarying vec3 vColor;\n#endif",color_vertex:"#ifdef USE_COLOR\n\tvColor.xyz = color.xyz;\n#endif",common:"#define PI 3.14159265359\n#define PI2 6.28318530718\n#define PI_HALF 1.5707963267949\n#define RECIPROCAL_PI 0.31830988618\n#define RECIPROCAL_PI2 0.15915494\n#define LOG2 1.442695\n#define EPSILON 1e-6\n#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement(a) ( 1.0 - saturate( a ) )\nfloat pow2( const in float x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\nhighp float rand( const in vec2 uv ) {\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\treturn fract(sin(sn) * c);\n}\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat max3( vec3 v ) { return max( max( v.x, v.y ), v.z ); }\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\nstruct GeometricContext {\n\tvec3 position;\n\tvec3 normal;\n\tvec3 viewDir;\n#ifdef CLEARCOAT\n\tvec3 clearcoatNormal;\n#endif\n};\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n}\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n}\nvec3 projectOnPlane(in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\tfloat distance = dot( planeNormal, point - pointOnPlane );\n\treturn - distance * planeNormal + point;\n}\nfloat sideOfPlane( in vec3 point, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn sign( dot( point - pointOnPlane, planeNormal ) );\n}\nvec3 linePlaneIntersect( in vec3 pointOnLine, in vec3 lineDirection, in vec3 pointOnPlane, in vec3 planeNormal ) {\n\treturn lineDirection * ( dot( planeNormal, pointOnPlane - pointOnLine ) / dot( planeNormal, lineDirection ) ) + pointOnLine;\n}\nmat3 transposeMat3( const in mat3 m ) {\n\tmat3 tmp;\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\treturn tmp;\n}\nfloat linearToRelativeLuminance( const in vec3 color ) {\n\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\n\treturn dot( weights, color.rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n return m[ 2 ][ 3 ] == - 1.0;\n}",
cube_uv_reflection_fragment:"#ifdef ENVMAP_TYPE_CUBE_UV\n#define cubeUV_maxMipLevel 8.0\n#define cubeUV_minMipLevel 4.0\n#define cubeUV_maxTileSize 256.0\n#define cubeUV_minTileSize 16.0\nfloat getFace(vec3 direction) {\n vec3 absDirection = abs(direction);\n float face = -1.0;\n if (absDirection.x > absDirection.z) {\n if (absDirection.x > absDirection.y)\n face = direction.x > 0.0 ? 0.0 : 3.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n } else {\n if (absDirection.z > absDirection.y)\n face = direction.z > 0.0 ? 2.0 : 5.0;\n else\n face = direction.y > 0.0 ? 1.0 : 4.0;\n }\n return face;\n}\nvec2 getUV(vec3 direction, float face) {\n vec2 uv;\n if (face == 0.0) {\n uv = vec2(-direction.z, direction.y) / abs(direction.x);\n } else if (face == 1.0) {\n uv = vec2(direction.x, -direction.z) / abs(direction.y);\n } else if (face == 2.0) {\n uv = direction.xy / abs(direction.z);\n } else if (face == 3.0) {\n uv = vec2(direction.z, direction.y) / abs(direction.x);\n } else if (face == 4.0) {\n uv = direction.xz / abs(direction.y);\n } else {\n uv = vec2(-direction.x, direction.y) / abs(direction.z);\n }\n return 0.5 * (uv + 1.0);\n}\nvec3 bilinearCubeUV(sampler2D envMap, vec3 direction, float mipInt) {\n float face = getFace(direction);\n float filterInt = max(cubeUV_minMipLevel - mipInt, 0.0);\n mipInt = max(mipInt, cubeUV_minMipLevel);\n float faceSize = exp2(mipInt);\n float texelSize = 1.0 / (3.0 * cubeUV_maxTileSize);\n vec2 uv = getUV(direction, face) * (faceSize - 1.0);\n vec2 f = fract(uv);\n uv += 0.5 - f;\n if (face > 2.0) {\n uv.y += faceSize;\n face -= 3.0;\n }\n uv.x += face * faceSize;\n if(mipInt < cubeUV_maxMipLevel){\n uv.y += 2.0 * cubeUV_maxTileSize;\n }\n uv.y += filterInt * 2.0 * cubeUV_minTileSize;\n uv.x += 3.0 * max(0.0, cubeUV_maxTileSize - 2.0 * faceSize);\n uv *= texelSize;\n vec3 tl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.x += texelSize;\n vec3 tr = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.y += texelSize;\n vec3 br = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n uv.x -= texelSize;\n vec3 bl = envMapTexelToLinear(texture2D(envMap, uv)).rgb;\n vec3 tm = mix(tl, tr, f.x);\n vec3 bm = mix(bl, br, f.x);\n return mix(tm, bm, f.y);\n}\n#define r0 1.0\n#define v0 0.339\n#define m0 -2.0\n#define r1 0.8\n#define v1 0.276\n#define m1 -1.0\n#define r4 0.4\n#define v4 0.046\n#define m4 2.0\n#define r5 0.305\n#define v5 0.016\n#define m5 3.0\n#define r6 0.21\n#define v6 0.0038\n#define m6 4.0\nfloat roughnessToMip(float roughness) {\n float mip = 0.0;\n if (roughness >= r1) {\n mip = (r0 - roughness) * (m1 - m0) / (r0 - r1) + m0;\n } else if (roughness >= r4) {\n mip = (r1 - roughness) * (m4 - m1) / (r1 - r4) + m1;\n } else if (roughness >= r5) {\n mip = (r4 - roughness) * (m5 - m4) / (r4 - r5) + m4;\n } else if (roughness >= r6) {\n mip = (r5 - roughness) * (m6 - m5) / (r5 - r6) + m5;\n } else {\n mip = -2.0 * log2(1.16 * roughness); }\n return mip;\n}\nvec4 textureCubeUV(sampler2D envMap, vec3 sampleDir, float roughness) {\n float mip = clamp(roughnessToMip(roughness), m0, cubeUV_maxMipLevel);\n float mipF = fract(mip);\n float mipInt = floor(mip);\n vec3 color0 = bilinearCubeUV(envMap, sampleDir, mipInt);\n if (mipF == 0.0) {\n return vec4(color0, 1.0);\n } else {\n vec3 color1 = bilinearCubeUV(envMap, sampleDir, mipInt + 1.0);\n return vec4(mix(color0, color1, mipF), 1.0);\n }\n}\n#endif",
defaultnormal_vertex:"vec3 transformedNormal = objectNormal;\n#ifdef USE_INSTANCING\n\ttransformedNormal = mat3( instanceMatrix ) * transformedNormal;\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif",displacementmap_pars_vertex:"#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif",
displacementmap_vertex:"#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\n#endif",emissivemap_fragment:"#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\n\temissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif",emissivemap_pars_fragment:"#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif",
encodings_fragment:"gl_FragColor = linearToOutputTexel( gl_FragColor );",encodings_pars_fragment:"\nvec4 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 GammaToLinear( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( gammaFactor ) ), value.a );\n}\nvec4 LinearToGamma( in vec4 value, in float gammaFactor ) {\n\treturn vec4( pow( value.rgb, vec3( 1.0 / gammaFactor ) ), value.a );\n}\nvec4 sRGBToLinear( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\nvec4 RGBEToLinear( in vec4 value ) {\n\treturn vec4( value.rgb * exp2( value.a * 255.0 - 128.0 ), 1.0 );\n}\nvec4 LinearToRGBE( in vec4 value ) {\n\tfloat maxComponent = max( max( value.r, value.g ), value.b );\n\tfloat fExp = clamp( ceil( log2( maxComponent ) ), -128.0, 127.0 );\n\treturn vec4( value.rgb / exp2( fExp ), ( fExp + 128.0 ) / 255.0 );\n}\nvec4 RGBMToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * value.a * maxRange, 1.0 );\n}\nvec4 LinearToRGBM( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat M = clamp( maxRGB / maxRange, 0.0, 1.0 );\n\tM = ceil( M * 255.0 ) / 255.0;\n\treturn vec4( value.rgb / ( M * maxRange ), M );\n}\nvec4 RGBDToLinear( in vec4 value, in float maxRange ) {\n\treturn vec4( value.rgb * ( ( maxRange / 255.0 ) / value.a ), 1.0 );\n}\nvec4 LinearToRGBD( in vec4 value, in float maxRange ) {\n\tfloat maxRGB = max( value.r, max( value.g, value.b ) );\n\tfloat D = max( maxRange / maxRGB, 1.0 );\n\tD = min( floor( D ) / 255.0, 1.0 );\n\treturn vec4( value.rgb * ( D * ( 255.0 / maxRange ) ), D );\n}\nconst mat3 cLogLuvM = mat3( 0.2209, 0.3390, 0.4184, 0.1138, 0.6780, 0.7319, 0.0102, 0.1130, 0.2969 );\nvec4 LinearToLogLuv( in vec4 value ) {\n\tvec3 Xp_Y_XYZp = cLogLuvM * value.rgb;\n\tXp_Y_XYZp = max( Xp_Y_XYZp, vec3( 1e-6, 1e-6, 1e-6 ) );\n\tvec4 vResult;\n\tvResult.xy = Xp_Y_XYZp.xy / Xp_Y_XYZp.z;\n\tfloat Le = 2.0 * log2(Xp_Y_XYZp.y) + 127.0;\n\tvResult.w = fract( Le );\n\tvResult.z = ( Le - ( floor( vResult.w * 255.0 ) ) / 255.0 ) / 255.0;\n\treturn vResult;\n}\nconst mat3 cLogLuvInverseM = mat3( 6.0014, -2.7008, -1.7996, -1.3320, 3.1029, -5.7721, 0.3008, -1.0882, 5.6268 );\nvec4 LogLuvToLinear( in vec4 value ) {\n\tfloat Le = value.z * 255.0 + value.w;\n\tvec3 Xp_Y_XYZp;\n\tXp_Y_XYZp.y = exp2( ( Le - 127.0 ) / 2.0 );\n\tXp_Y_XYZp.z = Xp_Y_XYZp.y / value.y;\n\tXp_Y_XYZp.x = value.x * Xp_Y_XYZp.z;\n\tvec3 vRGB = cLogLuvInverseM * Xp_Y_XYZp.rgb;\n\treturn vec4( max( vRGB, 0.0 ), 1.0 );\n}",
envmap_fragment:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\n\t\t\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\t\t#else\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\t\t#endif\n\t#else\n\t\tvec3 reflectVec = vReflect;\n\t#endif\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 envColor = textureCubeUV( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ), 0.0 );\n\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\tvec2 sampleUV;\n\t\treflectVec = normalize( reflectVec );\n\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\tvec4 envColor = texture2D( envMap, sampleUV );\n\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\treflectVec = normalize( reflectVec );\n\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) );\n\t\tvec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\n\t#endif\n\t#ifndef ENVMAP_TYPE_CUBE_UV\n\t\tenvColor = envMapTexelToLinear( envColor );\n\t#endif\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\t#endif\n#endif",
envmap_common_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform int maxMipLevel;\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif",envmap_pars_fragment:"#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n#endif",
envmap_pars_vertex:"#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\n\t\t#define ENV_WORLDPOS\n\t#endif\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\t#else\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\t#endif\n#endif",envmap_physical_pars_fragment:"#if defined( USE_ENVMAP )\n\t#ifdef ENVMAP_MODE_REFRACTION\n\t\tuniform float refractionRatio;\n\t#endif\n\tvec3 getLightProbeIndirectIrradiance( const in GeometricContext geometry, const in int maxMIPLevel ) {\n\t\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryVec, float( maxMIPLevel ) );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryVec = vec3( flipEnvMap * worldNormal.x, worldNormal.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryVec, 1.0 );\n\t\t#else\n\t\t\tvec4 envMapColor = vec4( 0.0 );\n\t\t#endif\n\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t}\n\tfloat getSpecularMIPLevel( const in float roughness, const in int maxMIPLevel ) {\n\t\tfloat maxMIPLevelScalar = float( maxMIPLevel );\n\t\tfloat sigma = PI * roughness * roughness / ( 1.0 + roughness );\n\t\tfloat desiredMIPLevel = maxMIPLevelScalar + log2( sigma );\n\t\treturn clamp( desiredMIPLevel, 0.0, maxMIPLevelScalar );\n\t}\n\tvec3 getLightProbeIndirectRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in int maxMIPLevel ) {\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t vec3 reflectVec = reflect( -viewDir, normal );\n\t\t reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t#else\n\t\t vec3 reflectVec = refract( -viewDir, normal, refractionRatio );\n\t\t#endif\n\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\tfloat specularMIPLevel = getSpecularMIPLevel( roughness, maxMIPLevel );\n\t\t#ifdef ENVMAP_TYPE_CUBE\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = textureCubeLodEXT( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = textureCube( envMap, queryReflectVec, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\t\tvec3 queryReflectVec = vec3( flipEnvMap * reflectVec.x, reflectVec.yz );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, queryReflectVec, roughness );\n\t\t#elif defined( ENVMAP_TYPE_EQUIREC )\n\t\t\tvec2 sampleUV;\n\t\t\tsampleUV.y = asin( clamp( reflectVec.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\t\t\tsampleUV.x = atan( reflectVec.z, reflectVec.x ) * RECIPROCAL_PI2 + 0.5;\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, sampleUV, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, sampleUV, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#elif defined( ENVMAP_TYPE_SPHERE )\n\t\t\tvec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) );\n\t\t\t#ifdef TEXTURE_LOD_EXT\n\t\t\t\tvec4 envMapColor = texture2DLodEXT( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#else\n\t\t\t\tvec4 envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n\t\t\t#endif\n\t\t\tenvMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;\n\t\t#endif\n\t\treturn envMapColor.rgb * envMapIntensity;\n\t}\n#endif",
envmap_vertex:"#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) { \n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif",
fog_vertex:"#ifdef USE_FOG\n\tfogDepth = -mvPosition.z;\n#endif",fog_pars_vertex:"#ifdef USE_FOG\n\tvarying float fogDepth;\n#endif",fog_fragment:"#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * fogDepth * fogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, fogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif",fog_pars_fragment:"#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float fogDepth;\n\t#ifdef FOG_EXP2\n\t\tuniform float fogDensity;\n\t#else\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\t#endif\n#endif",
gradientmap_pars_fragment:"#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn texture2D( gradientMap, coord ).rgb;\n\t#else\n\t\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\n\t#endif\n}",lightmap_fragment:"#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\treflectedLight.indirectDiffuse += PI * lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n#endif",
lightmap_pars_fragment:"#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif",lights_lambert_vertex:"vec3 diffuse = vec3( 1.0 );\nGeometricContext geometry;\ngeometry.position = mvPosition.xyz;\ngeometry.normal = normalize( transformedNormal );\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\nGeometricContext backGeometry;\nbackGeometry.position = geometry.position;\nbackGeometry.normal = -geometry.normal;\nbackGeometry.viewDir = geometry.viewDir;\nvLightFront = vec3( 0.0 );\nvIndirectFront = vec3( 0.0 );\n#ifdef DOUBLE_SIDED\n\tvLightBack = vec3( 0.0 );\n\tvIndirectBack = vec3( 0.0 );\n#endif\nIncidentLight directLight;\nfloat dotNL;\nvec3 directLightColor_Diffuse;\n#if NUM_POINT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tgetPointDirectLightIrradiance( pointLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tgetSpotDirectLightIrradiance( spotLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_DIR_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tgetDirectionalDirectLightIrradiance( directionalLights[ i ], geometry, directLight );\n\t\tdotNL = dot( geometry.normal, directLight.direction );\n\t\tdirectLightColor_Diffuse = PI * directLight.color;\n\t\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvLightBack += saturate( -dotNL ) * directLightColor_Diffuse;\n\t\t#endif\n\t}\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry );\n\t\t#endif\n\t}\n#endif",
lights_pars_begin:"uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\nuniform vec3 lightProbe[ 9 ];\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\treturn result;\n}\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in GeometricContext geometry ) {\n\tvec3 worldNormal = inverseTransformDirection( geometry.normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treturn irradiance;\n}\n#if NUM_DIR_LIGHTS > 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalDirectLightIrradiance( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tdirectLight.color = directionalLight.color;\n\t\tdirectLight.direction = directionalLight.direction;\n\t\tdirectLight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS > 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t\tfloat shadowCameraNear;\n\t\tfloat shadowCameraFar;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointDirectLightIrradiance( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = pointLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tdirectLight.color = pointLight.color;\n\t\tdirectLight.color *= punctualLightIntensityToIrradianceFactor( lightDistance, pointLight.distance, pointLight.decay );\n\t\tdirectLight.visible = ( directLight.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS > 0\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t\tint shadow;\n\t\tfloat shadowBias;\n\t\tfloat shadowRadius;\n\t\tvec2 shadowMapSize;\n\t};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotDirectLightIrradiance( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight directLight ) {\n\t\tvec3 lVector = spotLight.position - geometry.position;\n\t\tdirectLight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tfloat angleCos = dot( directLight.direction, spotLight.direction );\n\t\tif ( angleCos > spotLight.coneCos ) {\n\t\t\tfloat spotEffect = smoothstep( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\t\tdirectLight.color = spotLight.color;\n\t\t\tdirectLight.color *= spotEffect * punctualLightIntensityToIrradianceFactor( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tdirectLight.visible = true;\n\t\t} else {\n\t\t\tdirectLight.color = vec3( 0.0 );\n\t\t\tdirectLight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS > 0\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\tuniform sampler2D ltc_1;\tuniform sampler2D ltc_2;\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n#endif\n#if NUM_HEMI_LIGHTS > 0\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in GeometricContext geometry ) {\n\t\tfloat dotNL = dot( geometry.normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tirradiance *= PI;\n\t\t#endif\n\t\treturn irradiance;\n\t}\n#endif",
lights_toon_fragment:"ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_toon_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct ToonMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n#define Material_LightProbeLOD( material )\t(0)",
lights_phong_fragment:"BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;",lights_phong_pars_fragment:"varying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\nstruct BlinnPhongMaterial {\n\tvec3\tdiffuseColor;\n\tvec3\tspecularColor;\n\tfloat\tspecularShininess;\n\tfloat\tspecularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\treflectedLight.directDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_Specular_BlinnPhong( directLight, geometry, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n#define Material_LightProbeLOD( material )\t(0)",
lights_physical_fragment:"PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.specularRoughness = max( roughnessFactor, 0.0525 );material.specularRoughness += geometryRoughness;\nmaterial.specularRoughness = min( material.specularRoughness, 1.0 );\n#ifdef REFLECTIVITY\n\tmaterial.specularColor = mix( vec3( MAXIMUM_SPECULAR_COEFFICIENT * pow2( reflectivity ) ), diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( DEFAULT_SPECULAR_COEFFICIENT ), diffuseColor.rgb, metalnessFactor );\n#endif\n#ifdef CLEARCOAT\n\tmaterial.clearcoat = saturate( clearcoat );\tmaterial.clearcoatRoughness = max( clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheen;\n#endif",
lights_physical_pars_fragment:"struct PhysicalMaterial {\n\tvec3\tdiffuseColor;\n\tfloat\tspecularRoughness;\n\tvec3\tspecularColor;\n#ifdef CLEARCOAT\n\tfloat clearcoat;\n\tfloat clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tvec3 sheenColor;\n#endif\n};\n#define MAXIMUM_SPECULAR_COEFFICIENT 0.16\n#define DEFAULT_SPECULAR_COEFFICIENT 0.04\nfloat clearcoatDHRApprox( const in float roughness, const in float dotNL ) {\n\treturn DEFAULT_SPECULAR_COEFFICIENT + ( 1.0 - DEFAULT_SPECULAR_COEFFICIENT ) * ( pow( 1.0 - dotNL, 5.0 ) * pow( 1.0 - roughness, 2.0 ) );\n}\n#if NUM_RECT_AREA_LIGHTS > 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometry.normal;\n\t\tvec3 viewDir = geometry.viewDir;\n\t\tvec3 position = geometry.position;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.specularRoughness;\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3( 0, 1, 0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\t}\n#endif\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\tirradiance *= PI;\n\t#endif\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNL = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = ccDotNL * directLight.color;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tccIrradiance *= PI;\n\t\t#endif\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t\treflectedLight.directSpecular += ccIrradiance * material.clearcoat * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_Sheen(\n\t\t\tmaterial.specularRoughness,\n\t\t\tdirectLight.direction,\n\t\t\tgeometry,\n\t\t\tmaterial.sheenColor\n\t\t);\n\t#else\n\t\treflectedLight.directSpecular += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Specular_GGX( directLight, geometry.viewDir, geometry.normal, material.specularColor, material.specularRoughness);\n\t#endif\n\treflectedLight.directDiffuse += ( 1.0 - clearcoatDHR ) * irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Diffuse_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef CLEARCOAT\n\t\tfloat ccDotNV = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular += clearcoatRadiance * material.clearcoat * BRDF_Specular_GGX_Environment( geometry.viewDir, geometry.clearcoatNormal, vec3( DEFAULT_SPECULAR_COEFFICIENT ), material.clearcoatRoughness );\n\t\tfloat ccDotNL = ccDotNV;\n\t\tfloat clearcoatDHR = material.clearcoat * clearcoatDHRApprox( material.clearcoatRoughness, ccDotNL );\n\t#else\n\t\tfloat clearcoatDHR = 0.0;\n\t#endif\n\tfloat clearcoatInv = 1.0 - clearcoatDHR;\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\tBRDF_Specular_Multiscattering_Environment( geometry, material.specularColor, material.specularRoughness, singleScattering, multiScattering );\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - ( singleScattering + multiScattering ) );\n\treflectedLight.indirectSpecular += clearcoatInv * radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n}\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n}",
lights_fragment_begin:"\nGeometricContext geometry;\ngeometry.position = - vViewPosition;\ngeometry.normal = normal;\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n#ifdef CLEARCOAT\n\tgeometry.clearcoatNormal = clearcoatNormal;\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointDirectLightIrradiance( pointLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( pointLight.shadow, directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotDirectLightIrradiance( spotLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( spotLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalDirectLightIrradiance( directionalLight, geometry, directLight );\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectLight.color *= all( bvec3( directionalLight.shadow, directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\n\t}\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\tirradiance += getLightProbeIrradiance( lightProbe, geometry );\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\t\t#pragma unroll_loop\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry );\n\t\t}\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif",
lights_fragment_maps:"#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\tvec3 lightMapIrradiance = lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t\t#ifndef PHYSICALLY_CORRECT_LIGHTS\n\t\t\tlightMapIrradiance *= PI;\n\t\t#endif\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getLightProbeIndirectIrradiance( geometry, maxMipLevel );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\tradiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.normal, material.specularRoughness, maxMipLevel );\n\t#ifdef CLEARCOAT\n\t\tclearcoatRadiance += getLightProbeIndirectRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness, maxMipLevel );\n\t#endif\n#endif",
lights_fragment_end:"#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\n#endif",logdepthbuf_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif",
logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t\tvarying float vIsPerspective;\n\t#else\n\t\tuniform float logDepthBufFC;\n\t#endif\n#endif",logdepthbuf_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvFragDepth = 1.0 + gl_Position.w;\n\t\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\t#else\n\t\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\n\t\t\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\n\t\t\tgl_Position.z *= gl_Position.w;\n\t\t}\n\t#endif\n#endif",
map_fragment:"#ifdef USE_MAP\n\tvec4 texelColor = texture2D( map, vUv );\n\ttexelColor = mapTexelToLinear( texelColor );\n\tdiffuseColor *= texelColor;\n#endif",map_pars_fragment:"#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif",map_particle_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n#endif\n#ifdef USE_MAP\n\tvec4 mapTexel = texture2D( map, uv );\n\tdiffuseColor *= mapTexelToLinear( mapTexel );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif",
map_particle_pars_fragment:"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\tuniform mat3 uvTransform;\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif",metalnessmap_fragment:"float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif",metalnessmap_pars_fragment:"#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif",
morphnormal_vertex:"#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n#endif",morphtarget_pars_vertex:"#ifdef USE_MORPHTARGETS\n\tuniform float morphTargetBaseInfluence;\n\t#ifndef USE_MORPHNORMALS\n\tuniform float morphTargetInfluences[ 8 ];\n\t#else\n\tuniform float morphTargetInfluences[ 4 ];\n\t#endif\n#endif",
morphtarget_vertex:"#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t#ifndef USE_MORPHNORMALS\n\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t#endif\n#endif",
normal_fragment_begin:"#ifdef FLAT_SHADED\n\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\n\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\t#ifdef USE_TANGENT\n\t\tvec3 tangent = normalize( vTangent );\n\t\tvec3 bitangent = normalize( vBitangent );\n\t\t#ifdef DOUBLE_SIDED\n\t\t\ttangent = tangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t\tbitangent = bitangent * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\t#endif\n\t\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tmat3 vTBN = mat3( tangent, bitangent, normal );\n\t\t#endif\n\t#endif\n#endif\nvec3 geometryNormal = normal;",
normal_fragment_maps:"#ifdef OBJECTSPACE_NORMALMAP\n\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\t#ifdef FLIP_SIDED\n\t\tnormal = - normal;\n\t#endif\n\t#ifdef DOUBLE_SIDED\n\t\tnormal = normal * ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( TANGENTSPACE_NORMALMAP )\n\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\t#ifdef USE_TANGENT\n\t\tnormal = normalize( vTBN * mapN );\n\t#else\n\t\tnormal = perturbNormal2Arb( -vViewPosition, normal, mapN );\n\t#endif\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( -vViewPosition, normal, dHdxy_fwd() );\n#endif",
normalmap_pars_fragment:"#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef OBJECTSPACE_NORMALMAP\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\n\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN ) {\n\t\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\n\t\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\n\t\tvec2 st0 = dFdx( vUv.st );\n\t\tvec2 st1 = dFdy( vUv.st );\n\t\tfloat scale = sign( st1.t * st0.s - st0.t * st1.s );\n\t\tvec3 S = normalize( ( q0 * st1.t - q1 * st0.t ) * scale );\n\t\tvec3 T = normalize( ( - q0 * st1.s + q1 * st0.s ) * scale );\n\t\tvec3 N = normalize( surf_norm );\n\t\tmat3 tsn = mat3( S, T, N );\n\t\tmapN.xy *= ( float( gl_FrontFacing ) * 2.0 - 1.0 );\n\t\treturn normalize( tsn * mapN );\n\t}\n#endif",
clearcoat_normal_fragment_begin:"#ifdef CLEARCOAT\n\tvec3 clearcoatNormal = geometryNormal;\n#endif",clearcoat_normal_fragment_maps:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\t#ifdef USE_TANGENT\n\t\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\n\t#else\n\t\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN );\n\t#endif\n#endif",clearcoat_normalmap_pars_fragment:"#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif",
packing:"vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec4 pack2HalfToRGBA( vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ));\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w);\n}\nvec2 unpackRGBATo2Half( vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn ( viewZ + near ) / ( near - far );\n}\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\n\treturn linearClipZ * ( near - far ) - near;\n}\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\treturn (( near + viewZ ) * far ) / (( far - near ) * viewZ );\n}\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\n}",
premultiplied_alpha_fragment:"#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif",project_vertex:"vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;",dithering_fragment:"#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif",dithering_pars_fragment:"#ifdef DITHERING\n\tvec3 dithering( vec3 color ) {\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\t\treturn color + dither_shift_RGB;\n\t}\n#endif",
roughnessmap_fragment:"float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\n\troughnessFactor *= texelRoughness.g;\n#endif",roughnessmap_pars_fragment:"#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif",shadowmap_pars_fragment:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\t\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\n\t}\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\t}\n\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\n\t\tfloat occlusion = 1.0;\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\t\tfloat hard_shadow = step( compare , distribution.x );\n\t\tif (hard_shadow != 1.0 ) {\n\t\t\tfloat distance = compare - distribution.x ;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance );\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\t\t}\n\t\treturn occlusion;\n\t}\n\tfloat texture2DShadowLerp( sampler2D depths, vec2 size, vec2 uv, float compare ) {\n\t\tconst vec2 offset = vec2( 0.0, 1.0 );\n\t\tvec2 texelSize = vec2( 1.0 ) / size;\n\t\tvec2 centroidUV = ( floor( uv * size - 0.5 ) + 0.5 ) * texelSize;\n\t\tfloat lb = texture2DCompare( depths, centroidUV + texelSize * offset.xx, compare );\n\t\tfloat lt = texture2DCompare( depths, centroidUV + texelSize * offset.xy, compare );\n\t\tfloat rb = texture2DCompare( depths, centroidUV + texelSize * offset.yx, compare );\n\t\tfloat rt = texture2DCompare( depths, centroidUV + texelSize * offset.yy, compare );\n\t\tvec2 f = fract( uv * size + 0.5 );\n\t\tfloat a = mix( lb, lt, f.y );\n\t\tfloat b = mix( rb, rt, f.y );\n\t\tfloat c = mix( a, b, f.x );\n\t\treturn c;\n\t}\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\t\tfloat shadow = 1.0;\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\t\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\n\t\tbool inFrustum = all( inFrustumVec );\n\t\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\n\t\tbool frustumTest = all( frustumTestVec );\n\t\tif ( frustumTest ) {\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tshadow = (\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DShadowLerp( shadowMap, shadowMapSize, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#else\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\t\tvec3 absV = abs( v );\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\t\tvec2 planar = v.xy;\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\t\tif ( absV.z >= almostOne ) {\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x >= almostOne ) {\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\t\t} else if ( absV.y >= almostOne ) {\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\t\t}\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\t}\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\tdp += shadowBias;\n\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\treturn (\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t) * ( 1.0 / 9.0 );\n\t\t#else\n\t\t\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t#endif\n\t}\n#endif",
shadowmap_pars_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif",
shadowmap_vertex:"#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * worldPosition;\n\t}\n\t#endif\n#endif",
shadowmask_pars_fragment:"float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLight directionalLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tshadow *= all( bvec2( directionalLight.shadow, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLight spotLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tshadow *= all( bvec2( spotLight.shadow, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\n\t}\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLight pointLight;\n\t#pragma unroll_loop\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tshadow *= all( bvec2( pointLight.shadow, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#endif\n\t#endif\n\treturn shadow;\n}",
skinbase_vertex:"#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif",skinning_pars_vertex:"#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\t#ifdef BONE_TEXTURE\n\t\tuniform highp sampler2D boneTexture;\n\t\tuniform int boneTextureSize;\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tfloat j = i * 4.0;\n\t\t\tfloat x = mod( j, float( boneTextureSize ) );\n\t\t\tfloat y = floor( j / float( boneTextureSize ) );\n\t\t\tfloat dx = 1.0 / float( boneTextureSize );\n\t\t\tfloat dy = 1.0 / float( boneTextureSize );\n\t\t\ty = dy * ( y + 0.5 );\n\t\t\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\n\t\t\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\n\t\t\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\n\t\t\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\n\t\t\tmat4 bone = mat4( v1, v2, v3, v4 );\n\t\t\treturn bone;\n\t\t}\n\t#else\n\t\tuniform mat4 boneMatrices[ MAX_BONES ];\n\t\tmat4 getBoneMatrix( const in float i ) {\n\t\t\tmat4 bone = boneMatrices[ int(i) ];\n\t\t\treturn bone;\n\t\t}\n\t#endif\n#endif",
skinning_vertex:"#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif",skinnormal_vertex:"#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif",
specularmap_fragment:"float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif",specularmap_pars_fragment:"#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif",tonemapping_fragment:"#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif",tonemapping_pars_fragment:"#ifndef saturate\n#define saturate(a) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nuniform float toneMappingWhitePoint;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn toneMappingExposure * color;\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n}\n#define Uncharted2Helper( x ) max( ( ( x * ( 0.15 * x + 0.10 * 0.50 ) + 0.20 * 0.02 ) / ( x * ( 0.15 * x + 0.50 ) + 0.20 * 0.30 ) ) - 0.02 / 0.30, vec3( 0.0 ) )\nvec3 Uncharted2ToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( Uncharted2Helper( color ) / Uncharted2Helper( vec3( toneMappingWhitePoint ) ) );\n}\nvec3 OptimizedCineonToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( ( color * ( 2.51 * color + 0.03 ) ) / ( color * ( 2.43 * color + 0.59 ) + 0.14 ) );\n}",
uv_pars_fragment:"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\n\tvarying vec2 vUv;\n#endif",uv_pars_vertex:"#ifdef USE_UV\n\t#ifdef UVS_VERTEX_ONLY\n\t\tvec2 vUv;\n\t#else\n\t\tvarying vec2 vUv;\n\t#endif\n\tuniform mat3 uvTransform;\n#endif",uv_vertex:"#ifdef USE_UV\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n#endif",uv2_pars_fragment:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvarying vec2 vUv2;\n#endif",uv2_pars_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tattribute vec2 uv2;\n\tvarying vec2 vUv2;\n\tuniform mat3 uv2Transform;\n#endif",
uv2_vertex:"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\n\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n#endif",worldpos_vertex:"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif",background_frag:"uniform sampler2D t2D;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
background_vert:"varying vec2 vUv;\nuniform mat3 uvTransform;\nvoid main() {\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n}",cube_frag:"#include <envmap_common_pars_fragment>\nuniform float opacity;\nvarying vec3 vWorldDirection;\n#include <cube_uv_reflection_fragment>\nvoid main() {\n\tvec3 vReflect = vWorldDirection;\n\t#include <envmap_fragment>\n\tgl_FragColor = envColor;\n\tgl_FragColor.a *= opacity;\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
cube_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\tgl_Position.z = gl_Position.w;\n}",depth_frag:"#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <logdepthbuf_fragment>\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - gl_FragCoord.z ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( gl_FragCoord.z );\n\t#endif\n}",
depth_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n}",
distanceRGBA_frag:"#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main () {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}",
distanceRGBA_vert:"#define DISTANCE\nvarying vec3 vWorldPosition;\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\tvWorldPosition = worldPosition.xyz;\n}",
equirect_frag:"uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV;\n\tsampleUV.y = asin( clamp( direction.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\tsampleUV.x = atan( direction.z, direction.x ) * RECIPROCAL_PI2 + 0.5;\n\tvec4 texColor = texture2D( tEquirect, sampleUV );\n\tgl_FragColor = mapTexelToLinear( texColor );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n}",
equirect_vert:"varying vec3 vWorldDirection;\n#include <common>\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include <begin_vertex>\n\t#include <project_vertex>\n}",linedashed_frag:"uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <color_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
linedashed_vert:"uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\tvLineDistance = scale * lineDistance;\n\tvec4 mvPosition = modelViewMatrix * vec4( position, 1.0 );\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}",
meshbasic_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\n\t\tvec4 lightMapTexel= texture2D( lightMap, vUv2 );\n\t\treflectedLight.indirectDiffuse += lightMapTexelToLinear( lightMapTexel ).rgb * lightMapIntensity;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include <aomap_fragment>\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
meshbasic_vert:"#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <skinbase_vertex>\n\t#ifdef USE_ENVMAP\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n}",
meshlambert_frag:"uniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <emissivemap_fragment>\n\treflectedLight.indirectDiffuse = getAmbientLightIrradiance( ambientLightColor );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\n\t#else\n\t\treflectedLight.indirectDiffuse += vIndirectFront;\n\t#endif\n\t#include <lightmap_fragment>\n\treflectedLight.indirectDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb );\n\t#ifdef DOUBLE_SIDED\n\t\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\n\t#else\n\t\treflectedLight.directDiffuse = vLightFront;\n\t#endif\n\treflectedLight.directDiffuse *= BRDF_Diffuse_Lambert( diffuseColor.rgb ) * getShadowMask();\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshlambert_vert:"#define LAMBERT\nvarying vec3 vLightFront;\nvarying vec3 vIndirectFront;\n#ifdef DOUBLE_SIDED\n\tvarying vec3 vLightBack;\n\tvarying vec3 vIndirectBack;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <envmap_pars_vertex>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <lights_lambert_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshmatcap_frag:"#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t\tmatcapColor = matcapTexelToLinear( matcapColor );\n\t#else\n\t\tvec4 matcapColor = vec4( 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
meshmatcap_vert:"#define MATCAP\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#ifndef FLAT_SHADED\n\t\tvNormal = normalize( transformedNormal );\n\t#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\tvViewPosition = - mvPosition.xyz;\n}",
meshtoon_frag:"#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshtoon_vert:"#define TOON\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshphong_frag:"#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <cube_uv_reflection_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include <envmap_fragment>\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshphong_vert:"#define PHONG\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
meshphysical_frag:"#define STANDARD\n#ifdef PHYSICAL\n\t#define REFLECTIVITY\n\t#define CLEARCOAT\n\t#define TRANSPARENCY\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef TRANSPARENCY\n\tuniform float transparency;\n#endif\n#ifdef REFLECTIVITY\n\tuniform float reflectivity;\n#endif\n#ifdef CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheen;\n#endif\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <uv2_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <bsdfs>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <lights_physical_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_normalmap_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\t#include <aomap_fragment>\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#ifdef TRANSPARENCY\n\t\tdiffuseColor.a *= saturate( 1. - transparency + linearToRelativeLuminance( reflectedLight.directSpecular + reflectedLight.indirectSpecular ) );\n\t#endif\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n}",
meshphysical_vert:"#define STANDARD\nvarying vec3 vViewPosition;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <uv2_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <uv2_vertex>\n\t#include <color_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\tvViewPosition = - mvPosition.xyz;\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
normal_frag:"#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <packing>\n#include <uv_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\n}",
normal_vert:"#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvarying vec3 vViewPosition;\n#endif\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n\t#ifdef USE_TANGENT\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\t#endif\n#endif\n#include <common>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n#ifndef FLAT_SHADED\n\tvNormal = normalize( transformedNormal );\n\t#ifdef USE_TANGENT\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\t#endif\n#endif\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}",
points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\tgl_PointSize = size;\n\t#ifdef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n}",
shadow_frag:"uniform vec3 color;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include <fog_fragment>\n}",shadow_vert:"#include <fog_pars_vertex>\n#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n}",
sprite_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}",
sprite_vert:"uniform float rotation;\nuniform vec2 center;\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <uv_vertex>\n\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\n\tvec2 scale;\n\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\n\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\n\t#ifndef USE_SIZEATTENUATION\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\t#endif\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\tmvPosition.xy += rotatedPosition;\n\tgl_Position = projectionMatrix * mvPosition;\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n}"},
E={common:{diffuse:{value:new y(15658734)},opacity:{value:1},map:{value:null},uvTransform:{value:new za},uv2Transform:{value:new za},alphaMap:{value:null}},specularmap:{specularMap:{value:null}},envmap:{envMap:{value:null},flipEnvMap:{value:-1},reflectivity:{value:1},refractionRatio:{value:.98},maxMipLevel:{value:0}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1}},emissivemap:{emissiveMap:{value:null}},bumpmap:{bumpMap:{value:null},
bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new x(1,1)}},displacementmap:{displacementMap:{value:null},displacementScale:{value:1},displacementBias:{value:0}},roughnessmap:{roughnessMap:{value:null}},metalnessmap:{metalnessMap:{value:null}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:2.5E-4},fogNear:{value:1},fogFar:{value:2E3},fogColor:{value:new y(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},
color:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{}}},spotShadowMap:{value:[]},spotShadowMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{},shadow:{},shadowBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},
shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}}},points:{diffuse:{value:new y(15658734)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},uvTransform:{value:new za}},sprite:{diffuse:{value:new y(15658734)},opacity:{value:1},center:{value:new x(.5,.5)},rotation:{value:0},map:{value:null},
alphaMap:{value:null},uvTransform:{value:new za}}},eb={basic:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.fog]),vertexShader:N.meshbasic_vert,fragmentShader:N.meshbasic_frag},lambert:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.fog,E.lights,{emissive:{value:new y(0)}}]),vertexShader:N.meshlambert_vert,fragmentShader:N.meshlambert_frag},phong:{uniforms:na([E.common,E.specularmap,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,
E.displacementmap,E.fog,E.lights,{emissive:{value:new y(0)},specular:{value:new y(1118481)},shininess:{value:30}}]),vertexShader:N.meshphong_vert,fragmentShader:N.meshphong_frag},standard:{uniforms:na([E.common,E.envmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,E.displacementmap,E.roughnessmap,E.metalnessmap,E.fog,E.lights,{emissive:{value:new y(0)},roughness:{value:.5},metalness:{value:.5},envMapIntensity:{value:1}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag},
toon:{uniforms:na([E.common,E.specularmap,E.aomap,E.lightmap,E.emissivemap,E.bumpmap,E.normalmap,E.displacementmap,E.gradientmap,E.fog,E.lights,{emissive:{value:new y(0)},specular:{value:new y(1118481)},shininess:{value:30}}]),vertexShader:N.meshtoon_vert,fragmentShader:N.meshtoon_frag},matcap:{uniforms:na([E.common,E.bumpmap,E.normalmap,E.displacementmap,E.fog,{matcap:{value:null}}]),vertexShader:N.meshmatcap_vert,fragmentShader:N.meshmatcap_frag},points:{uniforms:na([E.points,E.fog]),vertexShader:N.points_vert,
fragmentShader:N.points_frag},dashed:{uniforms:na([E.common,E.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:N.linedashed_vert,fragmentShader:N.linedashed_frag},depth:{uniforms:na([E.common,E.displacementmap]),vertexShader:N.depth_vert,fragmentShader:N.depth_frag},normal:{uniforms:na([E.common,E.bumpmap,E.normalmap,E.displacementmap,{opacity:{value:1}}]),vertexShader:N.normal_vert,fragmentShader:N.normal_frag},sprite:{uniforms:na([E.sprite,E.fog]),vertexShader:N.sprite_vert,
fragmentShader:N.sprite_frag},background:{uniforms:{uvTransform:{value:new za},t2D:{value:null}},vertexShader:N.background_vert,fragmentShader:N.background_frag},cube:{uniforms:na([E.envmap,{opacity:{value:1}}]),vertexShader:N.cube_vert,fragmentShader:N.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:N.equirect_vert,fragmentShader:N.equirect_frag},distanceRGBA:{uniforms:na([E.common,E.displacementmap,{referencePosition:{value:new n},nearDistance:{value:1},farDistance:{value:1E3}}]),
vertexShader:N.distanceRGBA_vert,fragmentShader:N.distanceRGBA_frag},shadow:{uniforms:na([E.lights,E.fog,{color:{value:new y(0)},opacity:{value:1}}]),vertexShader:N.shadow_vert,fragmentShader:N.shadow_frag}};eb.physical={uniforms:na([eb.standard.uniforms,{transparency:{value:0},clearcoat:{value:0},clearcoatRoughness:{value:0},sheen:{value:new y(0)},clearcoatNormalScale:{value:new x(1,1)},clearcoatNormalMap:{value:null}}]),vertexShader:N.meshphysical_vert,fragmentShader:N.meshphysical_frag};Id.prototype=
Object.create(M.prototype);Id.prototype.constructor=Id;dc.prototype=Object.create(G.prototype);dc.prototype.constructor=dc;rb.prototype=Object.create(T.prototype);rb.prototype.constructor=rb;rb.prototype.isCubeTexture=!0;Object.defineProperty(rb.prototype,"images",{get:function(){return this.image},set:function(a){this.image=a}});Ic.prototype=Object.create(T.prototype);Ic.prototype.constructor=Ic;Ic.prototype.isDataTexture2DArray=!0;Jc.prototype=Object.create(T.prototype);Jc.prototype.constructor=
Jc;Jc.prototype.isDataTexture3D=!0;var Fh=new T,Mj=new Ic,Oj=new Jc,Gh=new rb,zh=[],Bh=[],Eh=new Float32Array(16),Dh=new Float32Array(9),Ch=new Float32Array(4);Hh.prototype.updateCache=function(a){var b=this.cache;a instanceof Float32Array&&b.length!==a.length&&(this.cache=new Float32Array(a.length));Ia(b,a)};Ih.prototype.setValue=function(a,b,c){for(var d=this.seq,e=0,f=d.length;e!==f;++e){var g=d[e];g.setValue(a,b[g.id],c)}};var hg=/([\w\d_]+)(\])?(\[|\.)?/g;Fb.prototype.setValue=function(a,b,c,
d){b=this.map[b];void 0!==b&&b.setValue(a,c,d)};Fb.prototype.setOptional=function(a,b,c){b=b[c];void 0!==b&&this.setValue(a,c,b)};Fb.upload=function(a,b,c,d){for(var e=0,f=b.length;e!==f;++e){var g=b[e],k=c[g.id];!1!==k.needsUpdate&&g.setValue(a,k.value,d)}};Fb.seqWithValue=function(a,b){for(var c=[],d=0,e=a.length;d!==e;++d){var f=a[d];f.id in b&&c.push(f)}return c};var tk=0,jg=/^[ \t]*#include +<([\w\d./]+)>/gm,Qh=/#pragma unroll_loop[\s]+?for \( int i = (\d+); i < (\d+); i \+\+ \) \{([\s\S]+?)(?=\})\}/g,
Ck=0;Gb.prototype=Object.create(L.prototype);Gb.prototype.constructor=Gb;Gb.prototype.isMeshDepthMaterial=!0;Gb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.depthPacking=a.depthPacking;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;return this};
Hb.prototype=Object.create(L.prototype);Hb.prototype.constructor=Hb;Hb.prototype.isMeshDistanceMaterial=!0;Hb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.referencePosition.copy(a.referencePosition);this.nearDistance=a.nearDistance;this.farDistance=a.farDistance;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.map=a.map;this.alphaMap=a.alphaMap;this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;
return this};og.prototype=Object.assign(Object.create(va.prototype),{constructor:og,isWebGLMultiviewRenderTarget:!0,copy:function(a){va.prototype.copy.call(this,a);this.numViews=a.numViews;return this},setNumViews:function(a){this.numViews!==a&&(this.numViews=a,this.dispose());return this}});Pe.prototype=Object.assign(Object.create(pa.prototype),{constructor:Pe,isArrayCamera:!0});Od.prototype=Object.assign(Object.create(D.prototype),{constructor:Od,isGroup:!0});Object.assign(Wh.prototype,Fa.prototype);
Object.assign(Qe.prototype,{isFogExp2:!0,clone:function(){return new Qe(this.color,this.density)},toJSON:function(){return{type:"FogExp2",color:this.color.getHex(),density:this.density}}});Object.assign(Re.prototype,{isFog:!0,clone:function(){return new Re(this.color,this.near,this.far)},toJSON:function(){return{type:"Fog",color:this.color.getHex(),near:this.near,far:this.far}}});Object.defineProperty(sb.prototype,"needsUpdate",{set:function(a){!0===a&&this.version++}});Object.assign(sb.prototype,
{isInterleavedBuffer:!0,onUploadCallback:function(){},setUsage:function(a){this.usage=a;return this},copy:function(a){this.array=new a.array.constructor(a.array);this.count=a.count;this.stride=a.stride;this.usage=a.usage;return this},copyAt:function(a,b,c){a*=this.stride;c*=b.stride;for(var d=0,e=this.stride;d<e;d++)this.array[a+d]=b.array[c+d];return this},set:function(a,b){void 0===b&&(b=0);this.array.set(a,b);return this},clone:function(){return(new this.constructor).copy(this)},onUpload:function(a){this.onUploadCallback=
a;return this}});var wc=new n;Object.defineProperties(Pd.prototype,{count:{get:function(){return this.data.count}},array:{get:function(){return this.data.array}}});Object.assign(Pd.prototype,{isInterleavedBufferAttribute:!0,applyMatrix4:function(a){for(var b=0,c=this.data.count;b<c;b++)wc.x=this.getX(b),wc.y=this.getY(b),wc.z=this.getZ(b),wc.applyMatrix4(a),this.setXYZ(b,wc.x,wc.y,wc.z);return this},setX:function(a,b){this.data.array[a*this.data.stride+this.offset]=b;return this},setY:function(a,
b){this.data.array[a*this.data.stride+this.offset+1]=b;return this},setZ:function(a,b){this.data.array[a*this.data.stride+this.offset+2]=b;return this},setW:function(a,b){this.data.array[a*this.data.stride+this.offset+3]=b;return this},getX:function(a){return this.data.array[a*this.data.stride+this.offset]},getY:function(a){return this.data.array[a*this.data.stride+this.offset+1]},getZ:function(a){return this.data.array[a*this.data.stride+this.offset+2]},getW:function(a){return this.data.array[a*
this.data.stride+this.offset+3]},setXY:function(a,b,c){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;return this},setXYZ:function(a,b,c,d){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;return this},setXYZW:function(a,b,c,d,e){a=a*this.data.stride+this.offset;this.data.array[a+0]=b;this.data.array[a+1]=c;this.data.array[a+2]=d;this.data.array[a+3]=e;return this}});Jb.prototype=Object.create(L.prototype);Jb.prototype.constructor=
Jb;Jb.prototype.isSpriteMaterial=!0;Jb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=a.alphaMap;this.rotation=a.rotation;this.sizeAttenuation=a.sizeAttenuation;return this};var Mc,Ee=new n,wd=new n,xd=new n,Nc=new x,Rd=new x,Yh=new P,Mf=new n,Fe=new n,Nf=new n,Oi=new x,mh=new x,Pi=new x;Qd.prototype=Object.assign(Object.create(D.prototype),{constructor:Qd,isSprite:!0,raycast:function(a,b){null===a.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.');
wd.setFromMatrixScale(this.matrixWorld);Yh.copy(a.camera.matrixWorld);this.modelViewMatrix.multiplyMatrices(a.camera.matrixWorldInverse,this.matrixWorld);xd.setFromMatrixPosition(this.modelViewMatrix);a.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&wd.multiplyScalar(-xd.z);var c=this.material.rotation;if(0!==c){var d=Math.cos(c);var e=Math.sin(c)}c=this.center;Se(Mf.set(-.5,-.5,0),xd,c,wd,e,d);Se(Fe.set(.5,-.5,0),xd,c,wd,e,d);Se(Nf.set(.5,.5,0),xd,c,wd,e,d);Oi.set(0,0);mh.set(1,
0);Pi.set(1,1);var f=a.ray.intersectTriangle(Mf,Fe,Nf,!1,Ee);if(null===f&&(Se(Fe.set(-.5,.5,0),xd,c,wd,e,d),mh.set(0,1),f=a.ray.intersectTriangle(Mf,Nf,Fe,!1,Ee),null===f))return;e=a.ray.origin.distanceTo(Ee);e<a.near||e>a.far||b.push({distance:e,point:Ee.clone(),uv:ma.getUV(Ee,Mf,Fe,Nf,Oi,mh,Pi,new x),face:null,object:this})},clone:function(){return(new this.constructor(this.material)).copy(this)},copy:function(a){D.prototype.copy.call(this,a);void 0!==a.center&&this.center.copy(a.center);return this}});
var Of=new n,Qi=new n;Sd.prototype=Object.assign(Object.create(D.prototype),{constructor:Sd,isLOD:!0,copy:function(a){D.prototype.copy.call(this,a,!1);for(var b=a.levels,c=0,d=b.length;c<d;c++){var e=b[c];this.addLevel(e.object.clone(),e.distance)}this.autoUpdate=a.autoUpdate;return this},addLevel:function(a,b){void 0===b&&(b=0);b=Math.abs(b);for(var c=this.levels,d=0;d<c.length&&!(b<c[d].distance);d++);c.splice(d,0,{distance:b,object:a});this.add(a);return this},getObjectForDistance:function(a){var b=
this.levels;if(0<b.length){for(var c=1,d=b.length;c<d&&!(a<b[c].distance);c++);return b[c-1].object}return null},raycast:function(a,b){if(0<this.levels.length){Of.setFromMatrixPosition(this.matrixWorld);var c=a.ray.origin.distanceTo(Of);this.getObjectForDistance(c).raycast(a,b)}},update:function(a){var b=this.levels;if(1<b.length){Of.setFromMatrixPosition(a.matrixWorld);Qi.setFromMatrixPosition(this.matrixWorld);a=Of.distanceTo(Qi);b[0].object.visible=!0;for(var c=1,d=b.length;c<d;c++)if(a>=b[c].distance)b[c-
1].object.visible=!1,b[c].object.visible=!0;else break;for(;c<d;c++)b[c].object.visible=!1}},toJSON:function(a){a=D.prototype.toJSON.call(this,a);!1===this.autoUpdate&&(a.object.autoUpdate=!1);a.object.levels=[];for(var b=this.levels,c=0,d=b.length;c<d;c++){var e=b[c];a.object.levels.push({object:e.object.uuid,distance:e.distance})}return a}});Td.prototype=Object.assign(Object.create(ca.prototype),{constructor:Td,isSkinnedMesh:!0,bind:function(a,b){this.skeleton=a;void 0===b&&(this.updateMatrixWorld(!0),
this.skeleton.calculateInverses(),b=this.matrixWorld);this.bindMatrix.copy(b);this.bindMatrixInverse.getInverse(b)},pose:function(){this.skeleton.pose()},normalizeSkinWeights:function(){for(var a=new S,b=this.geometry.attributes.skinWeight,c=0,d=b.count;c<d;c++){a.x=b.getX(c);a.y=b.getY(c);a.z=b.getZ(c);a.w=b.getW(c);var e=1/a.manhattanLength();Infinity!==e?a.multiplyScalar(e):a.set(1,0,0,0);b.setXYZW(c,a.x,a.y,a.z,a.w)}},updateMatrixWorld:function(a){ca.prototype.updateMatrixWorld.call(this,a);"attached"===
this.bindMode?this.bindMatrixInverse.getInverse(this.matrixWorld):"detached"===this.bindMode?this.bindMatrixInverse.getInverse(this.bindMatrix):console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var Ri=new P,Yk=new P;Object.assign(Te.prototype,{calculateInverses:function(){this.boneInverses=[];for(var a=0,b=this.bones.length;a<b;a++){var c=new P;this.bones[a]&&c.getInverse(this.bones[a].matrixWorld);
this.boneInverses.push(c)}},pose:function(){var a,b;var c=0;for(b=this.bones.length;c<b;c++)(a=this.bones[c])&&a.matrixWorld.getInverse(this.boneInverses[c]);c=0;for(b=this.bones.length;c<b;c++)if(a=this.bones[c])a.parent&&a.parent.isBone?(a.matrix.getInverse(a.parent.matrixWorld),a.matrix.multiply(a.matrixWorld)):a.matrix.copy(a.matrixWorld),a.matrix.decompose(a.position,a.quaternion,a.scale)},update:function(){for(var a=this.bones,b=this.boneInverses,c=this.boneMatrices,d=this.boneTexture,e=0,f=
a.length;e<f;e++)Ri.multiplyMatrices(a[e]?a[e].matrixWorld:Yk,b[e]),Ri.toArray(c,16*e);void 0!==d&&(d.needsUpdate=!0)},clone:function(){return new Te(this.bones,this.boneInverses)},getBoneByName:function(a){for(var b=0,c=this.bones.length;b<c;b++){var d=this.bones[b];if(d.name===a)return d}}});qg.prototype=Object.assign(Object.create(D.prototype),{constructor:qg,isBone:!0});var Si=new P,Ti=new P,yd=[],Ge=new ca;Ue.prototype=Object.assign(Object.create(ca.prototype),{constructor:Ue,isInstancedMesh:!0,
getMatrixAt:function(a,b){b.fromArray(this.instanceMatrix.array,16*a)},raycast:function(a,b){var c=this.matrixWorld,d=this.count;Ge.geometry=this.geometry;Ge.material=this.material;if(void 0!==Ge.material)for(var e=0;e<d;e++)this.getMatrixAt(e,Si),Ti.multiplyMatrices(c,Si),Ge.matrixWorld=Ti,Ge.raycast(a,yd),0<yd.length&&(yd[0].instanceId=e,yd[0].object=this,b.push(yd[0]),yd.length=0)},setMatrixAt:function(a,b){b.toArray(this.instanceMatrix.array,16*a)},updateMorphTargets:function(){}});ja.prototype=
Object.create(L.prototype);ja.prototype.constructor=ja;ja.prototype.isLineBasicMaterial=!0;ja.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.linewidth=a.linewidth;this.linecap=a.linecap;this.linejoin=a.linejoin;return this};var Ui=new n,Vi=new n,Wi=new P,Pf=new Wb,He=new qb;Ja.prototype=Object.assign(Object.create(D.prototype),{constructor:Ja,isLine:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,
c=[0],d=1,e=b.count;d<e;d++)Ui.fromBufferAttribute(b,d-1),Vi.fromBufferAttribute(b,d),c[d]=c[d-1],c[d]+=Ui.distanceTo(Vi);a.setAttribute("lineDistance",new C(c,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,c=a.lineDistances,c[0]=0,d=1,e=b.length;d<e;d++)c[d]=c[d-1],c[d]+=b[d-1].distanceTo(b[d]);return this},raycast:function(a,b){var c=a.linePrecision,d=this.geometry,e=this.matrixWorld;null===
d.boundingSphere&&d.computeBoundingSphere();He.copy(d.boundingSphere);He.applyMatrix4(e);He.radius+=c;if(!1!==a.ray.intersectsSphere(He)){Wi.getInverse(e);Pf.copy(a.ray).applyMatrix4(Wi);c/=(this.scale.x+this.scale.y+this.scale.z)/3;c*=c;var f=new n,g=new n;e=new n;var k=new n,h=this&&this.isLineSegments?2:1;if(d.isBufferGeometry){var m=d.index,v=d.attributes.position.array;if(null!==m){m=m.array;d=0;for(var p=m.length-1;d<p;d+=h){var q=m[d+1];f.fromArray(v,3*m[d]);g.fromArray(v,3*q);q=Pf.distanceSqToSegment(f,
g,k,e);q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}}else for(d=0,p=v.length/3-1;d<p;d+=h)f.fromArray(v,3*d),g.fromArray(v,3*d+3),q=Pf.distanceSqToSegment(f,g,k,e),q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,
object:this}))}else if(d.isGeometry)for(f=d.vertices,g=f.length,d=0;d<g-1;d+=h)q=Pf.distanceSqToSegment(f[d],f[d+1],k,e),q>c||(k.applyMatrix4(this.matrixWorld),q=a.ray.origin.distanceTo(k),q<a.near||q>a.far||b.push({distance:q,point:e.clone().applyMatrix4(this.matrixWorld),index:d,face:null,faceIndex:null,object:this}))}},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});var Qf=new n,Rf=new n;la.prototype=Object.assign(Object.create(Ja.prototype),{constructor:la,
isLineSegments:!0,computeLineDistances:function(){var a=this.geometry;if(a.isBufferGeometry)if(null===a.index){for(var b=a.attributes.position,c=[],d=0,e=b.count;d<e;d+=2)Qf.fromBufferAttribute(b,d),Rf.fromBufferAttribute(b,d+1),c[d]=0===d?0:c[d-1],c[d+1]=c[d]+Qf.distanceTo(Rf);a.setAttribute("lineDistance",new C(c,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");else if(a.isGeometry)for(b=a.vertices,c=a.lineDistances,d=
0,e=b.length;d<e;d+=2)Qf.copy(b[d]),Rf.copy(b[d+1]),c[d]=0===d?0:c[d-1],c[d+1]=c[d]+Qf.distanceTo(Rf);return this}});Ve.prototype=Object.assign(Object.create(Ja.prototype),{constructor:Ve,isLineLoop:!0});Va.prototype=Object.create(L.prototype);Va.prototype.constructor=Va;Va.prototype.isPointsMaterial=!0;Va.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.alphaMap=a.alphaMap;this.size=a.size;this.sizeAttenuation=a.sizeAttenuation;this.morphTargets=
a.morphTargets;return this};var Xi=new P,sg=new Wb,Ie=new qb,Sf=new n;Oc.prototype=Object.assign(Object.create(D.prototype),{constructor:Oc,isPoints:!0,raycast:function(a,b){var c=this.geometry,d=this.matrixWorld,e=a.params.Points.threshold;null===c.boundingSphere&&c.computeBoundingSphere();Ie.copy(c.boundingSphere);Ie.applyMatrix4(d);Ie.radius+=e;if(!1!==a.ray.intersectsSphere(Ie))if(Xi.getInverse(d),sg.copy(a.ray).applyMatrix4(Xi),e/=(this.scale.x+this.scale.y+this.scale.z)/3,e*=e,c.isBufferGeometry){var f=
c.index;c=c.attributes.position.array;if(null!==f){var g=f.array;f=0;for(var k=g.length;f<k;f++){var h=g[f];Sf.fromArray(c,3*h);rg(Sf,h,e,d,a,b,this)}}else for(f=0,g=c.length/3;f<g;f++)Sf.fromArray(c,3*f),rg(Sf,f,e,d,a,b,this)}else for(c=c.vertices,f=0,g=c.length;f<g;f++)rg(c[f],f,e,d,a,b,this)},updateMorphTargets:function(){var a=this.geometry;if(a.isBufferGeometry){a=a.morphAttributes;var b=Object.keys(a);if(0<b.length){var c=a[b[0]];if(void 0!==c)for(this.morphTargetInfluences=[],this.morphTargetDictionary=
{},a=0,b=c.length;a<b;a++){var d=c[a].name||String(a);this.morphTargetInfluences.push(0);this.morphTargetDictionary[d]=a}}}else a=a.morphTargets,void 0!==a&&0<a.length&&console.error("THREE.Points.updateMorphTargets() does not support THREE.Geometry. Use THREE.BufferGeometry instead.")},clone:function(){return(new this.constructor(this.geometry,this.material)).copy(this)}});tg.prototype=Object.assign(Object.create(T.prototype),{constructor:tg,isVideoTexture:!0,update:function(){var a=this.image;a.readyState>=
a.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}});Pc.prototype=Object.create(T.prototype);Pc.prototype.constructor=Pc;Pc.prototype.isCompressedTexture=!0;Ud.prototype=Object.create(T.prototype);Ud.prototype.constructor=Ud;Ud.prototype.isCanvasTexture=!0;Vd.prototype=Object.create(T.prototype);Vd.prototype.constructor=Vd;Vd.prototype.isDepthTexture=!0;Qc.prototype=Object.create(G.prototype);Qc.prototype.constructor=Qc;Wd.prototype=Object.create(M.prototype);Wd.prototype.constructor=Wd;Rc.prototype=Object.create(G.prototype);
Rc.prototype.constructor=Rc;Xd.prototype=Object.create(M.prototype);Xd.prototype.constructor=Xd;Ga.prototype=Object.create(G.prototype);Ga.prototype.constructor=Ga;Yd.prototype=Object.create(M.prototype);Yd.prototype.constructor=Yd;Sc.prototype=Object.create(Ga.prototype);Sc.prototype.constructor=Sc;Zd.prototype=Object.create(M.prototype);Zd.prototype.constructor=Zd;ec.prototype=Object.create(Ga.prototype);ec.prototype.constructor=ec;$d.prototype=Object.create(M.prototype);$d.prototype.constructor=
$d;Tc.prototype=Object.create(Ga.prototype);Tc.prototype.constructor=Tc;ae.prototype=Object.create(M.prototype);ae.prototype.constructor=ae;Uc.prototype=Object.create(Ga.prototype);Uc.prototype.constructor=Uc;be.prototype=Object.create(M.prototype);be.prototype.constructor=be;fc.prototype=Object.create(G.prototype);fc.prototype.constructor=fc;fc.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);a.path=this.parameters.path.toJSON();return a};ce.prototype=Object.create(M.prototype);ce.prototype.constructor=
ce;Vc.prototype=Object.create(G.prototype);Vc.prototype.constructor=Vc;de.prototype=Object.create(M.prototype);de.prototype.constructor=de;Wc.prototype=Object.create(G.prototype);Wc.prototype.constructor=Wc;var Zk={triangulate:function(a,b,c){c=c||2;var d=b&&b.length,e=d?b[0]*c:a.length,f=Zh(a,0,e,c,!0),g=[];if(!f||f.next===f.prev)return g;var k;if(d){var h=c;d=[];var m;var n=0;for(m=b.length;n<m;n++){var p=b[n]*h;var q=n<m-1?b[n+1]*h:a.length;p=Zh(a,p,q,h,!1);p===p.next&&(p.steiner=!0);d.push(Kk(p))}d.sort(Ik);
for(n=0;n<d.length;n++){b=d[n];h=f;if(h=Jk(b,h))b=bi(h,b),fe(b,b.next);f=fe(f,f.next)}}if(a.length>80*c){var t=k=a[0];var r=d=a[1];for(h=c;h<e;h+=c)n=a[h],b=a[h+1],n<t&&(t=n),b<r&&(r=b),n>k&&(k=n),b>d&&(d=b);k=Math.max(k-t,d-r);k=0!==k?1/k:0}ge(f,g,c,t,r,k);return g}},tb={area:function(a){for(var b=a.length,c=0,d=b-1,e=0;e<b;d=e++)c+=a[d].x*a[e].y-a[e].x*a[d].y;return.5*c},isClockWise:function(a){return 0>tb.area(a)},triangulateShape:function(a,b){var c=[],d=[],e=[];ci(a);di(c,a);var f=a.length;b.forEach(ci);
for(a=0;a<b.length;a++)d.push(f),f+=b[a].length,di(c,b[a]);b=Zk.triangulate(c,d);for(a=0;a<b.length;a+=3)e.push(b.slice(a,a+3));return e}};hc.prototype=Object.create(M.prototype);hc.prototype.constructor=hc;hc.prototype.toJSON=function(){var a=M.prototype.toJSON.call(this);return ei(this.parameters.shapes,this.parameters.options,a)};gb.prototype=Object.create(G.prototype);gb.prototype.constructor=gb;gb.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);return ei(this.parameters.shapes,
this.parameters.options,a)};var Lk={generateTopUV:function(a,b,c,d,e){a=b[3*d];d=b[3*d+1];var f=b[3*e];e=b[3*e+1];return[new x(b[3*c],b[3*c+1]),new x(a,d),new x(f,e)]},generateSideWallUV:function(a,b,c,d,e,f){a=b[3*c];var g=b[3*c+1];c=b[3*c+2];var k=b[3*d],h=b[3*d+1];d=b[3*d+2];var m=b[3*e],n=b[3*e+1];e=b[3*e+2];var p=b[3*f],q=b[3*f+1];b=b[3*f+2];return.01>Math.abs(g-h)?[new x(a,1-c),new x(k,1-d),new x(m,1-e),new x(p,1-b)]:[new x(g,1-c),new x(h,1-d),new x(n,1-e),new x(q,1-b)]}};ie.prototype=Object.create(M.prototype);
ie.prototype.constructor=ie;Yc.prototype=Object.create(gb.prototype);Yc.prototype.constructor=Yc;je.prototype=Object.create(M.prototype);je.prototype.constructor=je;ic.prototype=Object.create(G.prototype);ic.prototype.constructor=ic;ke.prototype=Object.create(M.prototype);ke.prototype.constructor=ke;Zc.prototype=Object.create(G.prototype);Zc.prototype.constructor=Zc;le.prototype=Object.create(M.prototype);le.prototype.constructor=le;$c.prototype=Object.create(G.prototype);$c.prototype.constructor=
$c;jc.prototype=Object.create(M.prototype);jc.prototype.constructor=jc;jc.prototype.toJSON=function(){var a=M.prototype.toJSON.call(this);return fi(this.parameters.shapes,a)};kc.prototype=Object.create(G.prototype);kc.prototype.constructor=kc;kc.prototype.toJSON=function(){var a=G.prototype.toJSON.call(this);return fi(this.parameters.shapes,a)};ad.prototype=Object.create(G.prototype);ad.prototype.constructor=ad;lc.prototype=Object.create(M.prototype);lc.prototype.constructor=lc;ub.prototype=Object.create(G.prototype);
ub.prototype.constructor=ub;me.prototype=Object.create(lc.prototype);me.prototype.constructor=me;ne.prototype=Object.create(ub.prototype);ne.prototype.constructor=ne;oe.prototype=Object.create(M.prototype);oe.prototype.constructor=oe;bd.prototype=Object.create(G.prototype);bd.prototype.constructor=bd;var ua=Object.freeze({__proto__:null,WireframeGeometry:Qc,ParametricGeometry:Wd,ParametricBufferGeometry:Rc,TetrahedronGeometry:Yd,TetrahedronBufferGeometry:Sc,OctahedronGeometry:Zd,OctahedronBufferGeometry:ec,
IcosahedronGeometry:$d,IcosahedronBufferGeometry:Tc,DodecahedronGeometry:ae,DodecahedronBufferGeometry:Uc,PolyhedronGeometry:Xd,PolyhedronBufferGeometry:Ga,TubeGeometry:be,TubeBufferGeometry:fc,TorusKnotGeometry:ce,TorusKnotBufferGeometry:Vc,TorusGeometry:de,TorusBufferGeometry:Wc,TextGeometry:ie,TextBufferGeometry:Yc,SphereGeometry:je,SphereBufferGeometry:ic,RingGeometry:ke,RingBufferGeometry:Zc,PlaneGeometry:Id,PlaneBufferGeometry:dc,LatheGeometry:le,LatheBufferGeometry:$c,ShapeGeometry:jc,ShapeBufferGeometry:kc,
ExtrudeGeometry:hc,ExtrudeBufferGeometry:gb,EdgesGeometry:ad,ConeGeometry:me,ConeBufferGeometry:ne,CylinderGeometry:lc,CylinderBufferGeometry:ub,CircleGeometry:oe,CircleBufferGeometry:bd,BoxGeometry:lh,BoxBufferGeometry:Jd});mc.prototype=Object.create(L.prototype);mc.prototype.constructor=mc;mc.prototype.isShadowMaterial=!0;mc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);return this};vb.prototype=Object.create(oa.prototype);vb.prototype.constructor=vb;vb.prototype.isRawShaderMaterial=
!0;hb.prototype=Object.create(L.prototype);hb.prototype.constructor=hb;hb.prototype.isMeshStandardMaterial=!0;hb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.defines={STANDARD:""};this.color.copy(a.color);this.roughness=a.roughness;this.metalness=a.metalness;this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;
this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.roughnessMap=a.roughnessMap;this.metalnessMap=a.metalnessMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.envMapIntensity=a.envMapIntensity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=
a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};nc.prototype=Object.create(hb.prototype);nc.prototype.constructor=nc;nc.prototype.isMeshPhysicalMaterial=!0;nc.prototype.copy=function(a){hb.prototype.copy.call(this,a);this.defines={STANDARD:"",PHYSICAL:""};this.reflectivity=a.reflectivity;this.clearcoat=a.clearcoat;this.clearcoatRoughness=
a.clearcoatRoughness;this.sheen=a.sheen?(this.sheen||new y).copy(a.sheen):null;this.clearcoatNormalMap=a.clearcoatNormalMap;this.clearcoatNormalScale.copy(a.clearcoatNormalScale);this.transparency=a.transparency;return this};Kb.prototype=Object.create(L.prototype);Kb.prototype.constructor=Kb;Kb.prototype.isMeshPhongMaterial=!0;Kb.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.lightMap=
a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=
a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};oc.prototype=Object.create(L.prototype);oc.prototype.constructor=oc;oc.prototype.isMeshToonMaterial=
!0;oc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.specular.copy(a.specular);this.shininess=a.shininess;this.map=a.map;this.gradientMap=a.gradientMap;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=a.emissiveIntensity;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=
a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};pc.prototype=
Object.create(L.prototype);pc.prototype.constructor=pc;pc.prototype.isMeshNormalMaterial=!0;pc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.skinning=
a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};qc.prototype=Object.create(L.prototype);qc.prototype.constructor=qc;qc.prototype.isMeshLambertMaterial=!0;qc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.color.copy(a.color);this.map=a.map;this.lightMap=a.lightMap;this.lightMapIntensity=a.lightMapIntensity;this.aoMap=a.aoMap;this.aoMapIntensity=a.aoMapIntensity;this.emissive.copy(a.emissive);this.emissiveMap=a.emissiveMap;this.emissiveIntensity=
a.emissiveIntensity;this.specularMap=a.specularMap;this.alphaMap=a.alphaMap;this.envMap=a.envMap;this.combine=a.combine;this.reflectivity=a.reflectivity;this.refractionRatio=a.refractionRatio;this.wireframe=a.wireframe;this.wireframeLinewidth=a.wireframeLinewidth;this.wireframeLinecap=a.wireframeLinecap;this.wireframeLinejoin=a.wireframeLinejoin;this.skinning=a.skinning;this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};rc.prototype=Object.create(L.prototype);rc.prototype.constructor=
rc;rc.prototype.isMeshMatcapMaterial=!0;rc.prototype.copy=function(a){L.prototype.copy.call(this,a);this.defines={MATCAP:""};this.color.copy(a.color);this.matcap=a.matcap;this.map=a.map;this.bumpMap=a.bumpMap;this.bumpScale=a.bumpScale;this.normalMap=a.normalMap;this.normalMapType=a.normalMapType;this.normalScale.copy(a.normalScale);this.displacementMap=a.displacementMap;this.displacementScale=a.displacementScale;this.displacementBias=a.displacementBias;this.alphaMap=a.alphaMap;this.skinning=a.skinning;
this.morphTargets=a.morphTargets;this.morphNormals=a.morphNormals;return this};sc.prototype=Object.create(ja.prototype);sc.prototype.constructor=sc;sc.prototype.isLineDashedMaterial=!0;sc.prototype.copy=function(a){ja.prototype.copy.call(this,a);this.scale=a.scale;this.dashSize=a.dashSize;this.gapSize=a.gapSize;return this};var $k=Object.freeze({__proto__:null,ShadowMaterial:mc,SpriteMaterial:Jb,RawShaderMaterial:vb,ShaderMaterial:oa,PointsMaterial:Va,MeshPhysicalMaterial:nc,MeshStandardMaterial:hb,
MeshPhongMaterial:Kb,MeshToonMaterial:oc,MeshNormalMaterial:pc,MeshLambertMaterial:qc,MeshDepthMaterial:Gb,MeshDistanceMaterial:Hb,MeshBasicMaterial:Oa,MeshMatcapMaterial:rc,LineDashedMaterial:sc,LineBasicMaterial:ja,Material:L}),ea={arraySlice:function(a,b,c){return ea.isTypedArray(a)?new a.constructor(a.subarray(b,void 0!==c?c:a.length)):a.slice(b,c)},convertArray:function(a,b,c){return!a||!c&&a.constructor===b?a:"number"===typeof b.BYTES_PER_ELEMENT?new b(a):Array.prototype.slice.call(a)},isTypedArray:function(a){return ArrayBuffer.isView(a)&&
!(a instanceof DataView)},getKeyframeOrder:function(a){for(var b=a.length,c=Array(b),d=0;d!==b;++d)c[d]=d;c.sort(function(b,c){return a[b]-a[c]});return c},sortedArray:function(a,b,c){for(var d=a.length,e=new a.constructor(d),f=0,g=0;g!==d;++f)for(var k=c[f]*b,h=0;h!==b;++h)e[g++]=a[k+h];return e},flattenJSON:function(a,b,c,d){for(var e=1,f=a[0];void 0!==f&&void 0===f[d];)f=a[e++];if(void 0!==f){var g=f[d];if(void 0!==g)if(Array.isArray(g)){do g=f[d],void 0!==g&&(b.push(f.time),c.push.apply(c,g)),
f=a[e++];while(void 0!==f)}else if(void 0!==g.toArray){do g=f[d],void 0!==g&&(b.push(f.time),g.toArray(c,c.length)),f=a[e++];while(void 0!==f)}else{do g=f[d],void 0!==g&&(b.push(f.time),c.push(g)),f=a[e++];while(void 0!==f)}}},subclip:function(a,b,c,d,e){e=e||30;a=a.clone();a.name=b;var f=[];for(b=0;b<a.tracks.length;++b){for(var g=a.tracks[b],k=g.getValueSize(),h=[],m=[],n=0;n<g.times.length;++n){var p=g.times[n]*e;if(!(p<c||p>=d))for(h.push(g.times[n]),p=0;p<k;++p)m.push(g.values[n*k+p])}0!==h.length&&
(g.times=ea.convertArray(h,g.times.constructor),g.values=ea.convertArray(m,g.values.constructor),f.push(g))}a.tracks=f;c=Infinity;for(b=0;b<a.tracks.length;++b)c>a.tracks[b].times[0]&&(c=a.tracks[b].times[0]);for(b=0;b<a.tracks.length;++b)a.tracks[b].shift(-1*c);a.resetDuration();return a}};Object.assign(Ka.prototype,{evaluate:function(a){var b=this.parameterPositions,c=this._cachedIndex,d=b[c],e=b[c-1];a:{b:{c:{d:if(!(a<d)){for(var f=c+2;;){if(void 0===d){if(a<e)break d;this._cachedIndex=c=b.length;
return this.afterEnd_(c-1,a,e)}if(c===f)break;e=d;d=b[++c];if(a<d)break b}d=b.length;break c}if(a>=e)break a;else{f=b[1];a<f&&(c=2,e=f);for(f=c-2;;){if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(c===f)break;d=e;e=b[--c-1];if(a>=e)break b}d=c;c=0}}for(;c<d;)e=c+d>>>1,a<b[e]?d=e:c=e+1;d=b[c];e=b[c-1];if(void 0===e)return this._cachedIndex=0,this.beforeStart_(0,a,d);if(void 0===d)return this._cachedIndex=c=b.length,this.afterEnd_(c-1,e,a)}this._cachedIndex=c;this.intervalChanged_(c,
e,d)}return this.interpolate_(c,e,a,d)},settings:null,DefaultSettings_:{},getSettings_:function(){return this.settings||this.DefaultSettings_},copySampleValue_:function(a){var b=this.resultBuffer,c=this.sampleValues,d=this.valueSize;a*=d;for(var e=0;e!==d;++e)b[e]=c[a+e];return b},interpolate_:function(){throw Error("call to abstract method");},intervalChanged_:function(){}});Object.assign(Ka.prototype,{beforeStart_:Ka.prototype.copySampleValue_,afterEnd_:Ka.prototype.copySampleValue_});We.prototype=
Object.assign(Object.create(Ka.prototype),{constructor:We,DefaultSettings_:{endingStart:2400,endingEnd:2400},intervalChanged_:function(a,b,c){var d=this.parameterPositions,e=a-2,f=a+1,g=d[e],k=d[f];if(void 0===g)switch(this.getSettings_().endingStart){case 2401:e=a;g=2*b-c;break;case 2402:e=d.length-2;g=b+d[e]-d[e+1];break;default:e=a,g=c}if(void 0===k)switch(this.getSettings_().endingEnd){case 2401:f=a;k=2*c-b;break;case 2402:f=1;k=c+d[1]-d[0];break;default:f=a-1,k=b}a=.5*(c-b);d=this.valueSize;
this._weightPrev=a/(b-g);this._weightNext=a/(k-c);this._offsetPrev=e*d;this._offsetNext=f*d},interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var k=a-g,h=this._offsetPrev,m=this._offsetNext,n=this._weightPrev,p=this._weightNext,q=(c-b)/(d-b);c=q*q;d=c*q;b=-n*d+2*n*c-n*q;n=(1+n)*d+(-1.5-2*n)*c+(-.5+n)*q+1;q=(-1-p)*d+(1.5+p)*c+.5*q;p=p*d-p*c;for(c=0;c!==g;++c)e[c]=b*f[h+c]+n*f[k+c]+q*f[a+c]+p*f[m+c];return e}});pe.prototype=Object.assign(Object.create(Ka.prototype),
{constructor:pe,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;var k=a-g;b=(c-b)/(d-b);c=1-b;for(d=0;d!==g;++d)e[d]=f[k+d]*c+f[a+d]*b;return e}});Xe.prototype=Object.assign(Object.create(Ka.prototype),{constructor:Xe,interpolate_:function(a){return this.copySampleValue_(a-1)}});Object.assign(ra,{toJSON:function(a){var b=a.constructor;if(void 0!==b.toJSON)b=b.toJSON(a);else{b={name:a.name,times:ea.convertArray(a.times,Array),values:ea.convertArray(a.values,
Array)};var c=a.getInterpolation();c!==a.DefaultInterpolation&&(b.interpolation=c)}b.type=a.ValueTypeName;return b}});Object.assign(ra.prototype,{constructor:ra,TimeBufferType:Float32Array,ValueBufferType:Float32Array,DefaultInterpolation:2301,InterpolantFactoryMethodDiscrete:function(a){return new Xe(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodLinear:function(a){return new pe(this.times,this.values,this.getValueSize(),a)},InterpolantFactoryMethodSmooth:function(a){return new We(this.times,
this.values,this.getValueSize(),a)},setInterpolation:function(a){switch(a){case 2300:var b=this.InterpolantFactoryMethodDiscrete;break;case 2301:b=this.InterpolantFactoryMethodLinear;break;case 2302:b=this.InterpolantFactoryMethodSmooth}if(void 0===b){b="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant)if(a!==this.DefaultInterpolation)this.setInterpolation(this.DefaultInterpolation);else throw Error(b);console.warn("THREE.KeyframeTrack:",
b);return this}this.createInterpolant=b;return this},getInterpolation:function(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return 2300;case this.InterpolantFactoryMethodLinear:return 2301;case this.InterpolantFactoryMethodSmooth:return 2302}},getValueSize:function(){return this.values.length/this.times.length},shift:function(a){if(0!==a)for(var b=this.times,c=0,d=b.length;c!==d;++c)b[c]+=a;return this},scale:function(a){if(1!==a)for(var b=this.times,c=0,d=b.length;c!==
d;++c)b[c]*=a;return this},trim:function(a,b){for(var c=this.times,d=c.length,e=0,f=d-1;e!==d&&c[e]<a;)++e;for(;-1!==f&&c[f]>b;)--f;++f;if(0!==e||f!==d)e>=f&&(f=Math.max(f,1),e=f-1),a=this.getValueSize(),this.times=ea.arraySlice(c,e,f),this.values=ea.arraySlice(this.values,e*a,f*a);return this},validate:function(){var a=!0,b=this.getValueSize();0!==b-Math.floor(b)&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),a=!1);var c=this.times;b=this.values;var d=c.length;0===d&&(console.error("THREE.KeyframeTrack: Track is empty.",
this),a=!1);for(var e=null,f=0;f!==d;f++){var g=c[f];if("number"===typeof g&&isNaN(g)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,f,g);a=!1;break}if(null!==e&&e>g){console.error("THREE.KeyframeTrack: Out of order keys.",this,f,g,e);a=!1;break}e=g}if(void 0!==b&&ea.isTypedArray(b))for(f=0,c=b.length;f!==c;++f)if(d=b[f],isNaN(d)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,f,d);a=!1;break}return a},optimize:function(){for(var a=this.times,b=this.values,
c=this.getValueSize(),d=2302===this.getInterpolation(),e=1,f=a.length-1,g=1;g<f;++g){var k=!1,h=a[g];if(h!==a[g+1]&&(1!==g||h!==h[0]))if(d)k=!0;else{var m=g*c,n=m-c,p=m+c;for(h=0;h!==c;++h){var q=b[m+h];if(q!==b[n+h]||q!==b[p+h]){k=!0;break}}}if(k){if(g!==e)for(a[e]=a[g],k=g*c,m=e*c,h=0;h!==c;++h)b[m+h]=b[k+h];++e}}if(0<f){a[e]=a[f];k=f*c;m=e*c;for(h=0;h!==c;++h)b[m+h]=b[k+h];++e}e!==a.length&&(this.times=ea.arraySlice(a,0,e),this.values=ea.arraySlice(b,0,e*c));return this},clone:function(){var a=
ea.arraySlice(this.times,0),b=ea.arraySlice(this.values,0);a=new this.constructor(this.name,a,b);a.createInterpolant=this.createInterpolant;return a}});Ye.prototype=Object.assign(Object.create(ra.prototype),{constructor:Ye,ValueTypeName:"bool",ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});Ze.prototype=Object.assign(Object.create(ra.prototype),{constructor:Ze,ValueTypeName:"color"});cd.prototype=Object.assign(Object.create(ra.prototype),
{constructor:cd,ValueTypeName:"number"});$e.prototype=Object.assign(Object.create(Ka.prototype),{constructor:$e,interpolate_:function(a,b,c,d){var e=this.resultBuffer,f=this.sampleValues,g=this.valueSize;a*=g;b=(c-b)/(d-b);for(c=a+g;a!==c;a+=4)Da.slerpFlat(e,0,f,a-g,f,a,b);return e}});qe.prototype=Object.assign(Object.create(ra.prototype),{constructor:qe,ValueTypeName:"quaternion",DefaultInterpolation:2301,InterpolantFactoryMethodLinear:function(a){return new $e(this.times,this.values,this.getValueSize(),
a)},InterpolantFactoryMethodSmooth:void 0});af.prototype=Object.assign(Object.create(ra.prototype),{constructor:af,ValueTypeName:"string",ValueBufferType:Array,DefaultInterpolation:2300,InterpolantFactoryMethodLinear:void 0,InterpolantFactoryMethodSmooth:void 0});dd.prototype=Object.assign(Object.create(ra.prototype),{constructor:dd,ValueTypeName:"vector"});Object.assign(Qa,{parse:function(a){for(var b=[],c=a.tracks,d=1/(a.fps||1),e=0,f=c.length;e!==f;++e)b.push(Nk(c[e]).scale(d));return new Qa(a.name,
a.duration,b)},toJSON:function(a){var b=[],c=a.tracks;a={name:a.name,duration:a.duration,tracks:b,uuid:a.uuid};for(var d=0,e=c.length;d!==e;++d)b.push(ra.toJSON(c[d]));return a},CreateFromMorphTargetSequence:function(a,b,c,d){for(var e=b.length,f=[],g=0;g<e;g++){var k=[],h=[];k.push((g+e-1)%e,g,(g+1)%e);h.push(0,1,0);var m=ea.getKeyframeOrder(k);k=ea.sortedArray(k,1,m);h=ea.sortedArray(h,1,m);d||0!==k[0]||(k.push(e),h.push(h[0]));f.push((new cd(".morphTargetInfluences["+b[g].name+"]",k,h)).scale(1/
c))}return new Qa(a,-1,f)},findByName:function(a,b){var c=a;Array.isArray(a)||(c=a.geometry&&a.geometry.animations||a.animations);for(a=0;a<c.length;a++)if(c[a].name===b)return c[a];return null},CreateClipsFromMorphTargetSequences:function(a,b,c){for(var d={},e=/^([\w-]*?)([\d]+)$/,f=0,g=a.length;f<g;f++){var k=a[f],h=k.name.match(e);if(h&&1<h.length){var m=h[1];(h=d[m])||(d[m]=h=[]);h.push(k)}}a=[];for(m in d)a.push(Qa.CreateFromMorphTargetSequence(m,d[m],b,c));return a},parseAnimation:function(a,
b){if(!a)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;var c=function(a,b,c,d,e){if(0!==c.length){var f=[],g=[];ea.flattenJSON(c,f,g,d);0!==f.length&&e.push(new a(b,f,g))}},d=[],e=a.name||"default",f=a.length||-1,g=a.fps||30;a=a.hierarchy||[];for(var k=0;k<a.length;k++){var h=a[k].keys;if(h&&0!==h.length)if(h[0].morphTargets){f={};for(var m=0;m<h.length;m++)if(h[m].morphTargets)for(var n=0;n<h[m].morphTargets.length;n++)f[h[m].morphTargets[n]]=-1;for(var p in f){var q=
[],t=[];for(n=0;n!==h[m].morphTargets.length;++n){var r=h[m];q.push(r.time);t.push(r.morphTarget===p?1:0)}d.push(new cd(".morphTargetInfluence["+p+"]",q,t))}f=f.length*(g||1)}else m=".bones["+b[k].name+"]",c(dd,m+".position",h,"pos",d),c(qe,m+".quaternion",h,"rot",d),c(dd,m+".scale",h,"scl",d)}return 0===d.length?null:new Qa(e,f,d)}});Object.assign(Qa.prototype,{resetDuration:function(){for(var a=0,b=0,c=this.tracks.length;b!==c;++b){var d=this.tracks[b];a=Math.max(a,d.times[d.times.length-1])}this.duration=
a;return this},trim:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].trim(0,this.duration);return this},validate:function(){for(var a=!0,b=0;b<this.tracks.length;b++)a=a&&this.tracks[b].validate();return a},optimize:function(){for(var a=0;a<this.tracks.length;a++)this.tracks[a].optimize();return this},clone:function(){for(var a=[],b=0;b<this.tracks.length;b++)a.push(this.tracks[b].clone());return new Qa(this.name,this.duration,a)}});var xc={enabled:!1,files:{},add:function(a,b){!1!==
this.enabled&&(this.files[a]=b)},get:function(a){if(!1!==this.enabled)return this.files[a]},remove:function(a){delete this.files[a]},clear:function(){this.files={}}},gi=new wg;Object.assign(Q.prototype,{load:function(){},parse:function(){},setCrossOrigin:function(a){this.crossOrigin=a;return this},setPath:function(a){this.path=a;return this},setResourcePath:function(a){this.resourcePath=a;return this}});var cb={};Ra.prototype=Object.assign(Object.create(Q.prototype),{constructor:Ra,load:function(a,
b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var e=this,f=xc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;if(void 0!==cb[a])cb[a].push({onLoad:b,onProgress:c,onError:d});else{var g=a.match(/^data:(.*?)(;base64)?,(.*)$/);if(g){c=g[1];var k=!!g[2];g=g[3];g=decodeURIComponent(g);k&&(g=atob(g));try{var h=(this.responseType||"").toLowerCase();switch(h){case "arraybuffer":case "blob":var m=new Uint8Array(g.length);
for(k=0;k<g.length;k++)m[k]=g.charCodeAt(k);var n="blob"===h?new Blob([m.buffer],{type:c}):m.buffer;break;case "document":n=(new DOMParser).parseFromString(g,c);break;case "json":n=JSON.parse(g);break;default:n=g}setTimeout(function(){b&&b(n);e.manager.itemEnd(a)},0)}catch(q){setTimeout(function(){d&&d(q);e.manager.itemError(a);e.manager.itemEnd(a)},0)}}else{cb[a]=[];cb[a].push({onLoad:b,onProgress:c,onError:d});var p=new XMLHttpRequest;p.open("GET",a,!0);p.addEventListener("load",function(b){var c=
this.response,d=cb[a];delete cb[a];if(200===this.status||0===this.status){0===this.status&&console.warn("THREE.FileLoader: HTTP Status 0 received.");xc.add(a,c);for(var f=0,g=d.length;f<g;f++){var k=d[f];if(k.onLoad)k.onLoad(c)}}else{f=0;for(g=d.length;f<g;f++)if(k=d[f],k.onError)k.onError(b);e.manager.itemError(a)}e.manager.itemEnd(a)},!1);p.addEventListener("progress",function(b){for(var c=cb[a],d=0,e=c.length;d<e;d++){var f=c[d];if(f.onProgress)f.onProgress(b)}},!1);p.addEventListener("error",
function(b){var c=cb[a];delete cb[a];for(var d=0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);p.addEventListener("abort",function(b){var c=cb[a];delete cb[a];for(var d=0,f=c.length;d<f;d++){var g=c[d];if(g.onError)g.onError(b)}e.manager.itemError(a);e.manager.itemEnd(a)},!1);void 0!==this.responseType&&(p.responseType=this.responseType);void 0!==this.withCredentials&&(p.withCredentials=this.withCredentials);p.overrideMimeType&&p.overrideMimeType(void 0!==
this.mimeType?this.mimeType:"text/plain");for(k in this.requestHeader)p.setRequestHeader(k,this.requestHeader[k]);p.send(null)}e.manager.itemStart(a);return p}},setResponseType:function(a){this.responseType=a;return this},setWithCredentials:function(a){this.withCredentials=a;return this},setMimeType:function(a){this.mimeType=a;return this},setRequestHeader:function(a){this.requestHeader=a;return this}});xg.prototype=Object.assign(Object.create(Q.prototype),{constructor:xg,load:function(a,b,c,d){var e=
this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){for(var b=[],c=0;c<a.length;c++){var d=Qa.parse(a[c]);b.push(d)}return b}});yg.prototype=Object.assign(Object.create(Q.prototype),{constructor:yg,load:function(a,b,c,d){function e(e){h.load(a[e],function(a){a=f.parse(a,!0);g[e]={width:a.width,height:a.height,format:a.format,mipmaps:a.mipmaps};m+=1;6===m&&(1===a.mipmapCount&&(k.minFilter=1006),k.format=a.format,k.needsUpdate=!0,b&&b(k))},
c,d)}var f=this,g=[],k=new Pc;k.image=g;var h=new Ra(this.manager);h.setPath(this.path);h.setResponseType("arraybuffer");if(Array.isArray(a))for(var m=0,n=0,p=a.length;n<p;++n)e(n);else h.load(a,function(a){a=f.parse(a,!0);if(a.isCubemap)for(var c=a.mipmaps.length/a.mipmapCount,d=0;d<c;d++){g[d]={mipmaps:[]};for(var e=0;e<a.mipmapCount;e++)g[d].mipmaps.push(a.mipmaps[d*a.mipmapCount+e]),g[d].format=a.format,g[d].width=a.width,g[d].height=a.height}else k.image.width=a.width,k.image.height=a.height,
k.mipmaps=a.mipmaps;1===a.mipmapCount&&(k.minFilter=1006);k.format=a.format;k.needsUpdate=!0;b&&b(k)},c,d);return k}});bf.prototype=Object.assign(Object.create(Q.prototype),{constructor:bf,load:function(a,b,c,d){var e=this,f=new cc,g=new Ra(this.manager);g.setResponseType("arraybuffer");g.setPath(this.path);g.load(a,function(a){if(a=e.parse(a))void 0!==a.image?f.image=a.image:void 0!==a.data&&(f.image.width=a.width,f.image.height=a.height,f.image.data=a.data),f.wrapS=void 0!==a.wrapS?a.wrapS:1001,
f.wrapT=void 0!==a.wrapT?a.wrapT:1001,f.magFilter=void 0!==a.magFilter?a.magFilter:1006,f.minFilter=void 0!==a.minFilter?a.minFilter:1006,f.anisotropy=void 0!==a.anisotropy?a.anisotropy:1,void 0!==a.format&&(f.format=a.format),void 0!==a.type&&(f.type=a.type),void 0!==a.mipmaps&&(f.mipmaps=a.mipmaps,f.minFilter=1008),1===a.mipmapCount&&(f.minFilter=1006),f.needsUpdate=!0,b&&b(f,a)},c,d);return f}});ed.prototype=Object.assign(Object.create(Q.prototype),{constructor:ed,load:function(a,b,c,d){function e(){h.removeEventListener("load",
e,!1);h.removeEventListener("error",f,!1);xc.add(a,this);b&&b(this);g.manager.itemEnd(a)}function f(b){h.removeEventListener("load",e,!1);h.removeEventListener("error",f,!1);d&&d(b);g.manager.itemError(a);g.manager.itemEnd(a)}void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var g=this,k=xc.get(a);if(void 0!==k)return g.manager.itemStart(a),setTimeout(function(){b&&b(k);g.manager.itemEnd(a)},0),k;var h=document.createElementNS("http://www.w3.org/1999/xhtml","img");h.addEventListener("load",
e,!1);h.addEventListener("error",f,!1);"data:"!==a.substr(0,5)&&void 0!==this.crossOrigin&&(h.crossOrigin=this.crossOrigin);g.manager.itemStart(a);h.src=a;return h}});cf.prototype=Object.assign(Object.create(Q.prototype),{constructor:cf,load:function(a,b,c,d){function e(c){g.load(a[c],function(a){f.images[c]=a;k++;6===k&&(f.needsUpdate=!0,b&&b(f))},void 0,d)}var f=new rb,g=new ed(this.manager);g.setCrossOrigin(this.crossOrigin);g.setPath(this.path);var k=0;for(c=0;c<a.length;++c)e(c);return f}});
df.prototype=Object.assign(Object.create(Q.prototype),{constructor:df,load:function(a,b,c,d){var e=new T,f=new ed(this.manager);f.setCrossOrigin(this.crossOrigin);f.setPath(this.path);f.load(a,function(c){e.image=c;c=0<a.search(/\.jpe?g($|\?)/i)||0===a.search(/^data:image\/jpeg/);e.format=c?1022:1023;e.needsUpdate=!0;void 0!==b&&b(e)},c,d);return e}});Object.assign(I.prototype,{getPoint:function(){console.warn("THREE.Curve: .getPoint() not implemented.");return null},getPointAt:function(a,b){a=this.getUtoTmapping(a);
return this.getPoint(a,b)},getPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/a));return b},getSpacedPoints:function(a){void 0===a&&(a=5);for(var b=[],c=0;c<=a;c++)b.push(this.getPointAt(c/a));return b},getLength:function(){var a=this.getLengths();return a[a.length-1]},getLengths:function(a){void 0===a&&(a=this.arcLengthDivisions);if(this.cacheArcLengths&&this.cacheArcLengths.length===a+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;var b=
[],c=this.getPoint(0),d,e=0;b.push(0);for(d=1;d<=a;d++){var f=this.getPoint(d/a);e+=f.distanceTo(c);b.push(e);c=f}return this.cacheArcLengths=b},updateArcLengths:function(){this.needsUpdate=!0;this.getLengths()},getUtoTmapping:function(a,b){var c=this.getLengths(),d=c.length;b=b?b:a*c[d-1];for(var e=0,f=d-1,g;e<=f;)if(a=Math.floor(e+(f-e)/2),g=c[a]-b,0>g)e=a+1;else if(0<g)f=a-1;else{f=a;break}a=f;if(c[a]===b)return a/(d-1);e=c[a];return(a+(b-e)/(c[a+1]-e))/(d-1)},getTangent:function(a){var b=a-1E-4;
a+=1E-4;0>b&&(b=0);1<a&&(a=1);b=this.getPoint(b);return this.getPoint(a).clone().sub(b).normalize()},getTangentAt:function(a){a=this.getUtoTmapping(a);return this.getTangent(a)},computeFrenetFrames:function(a,b){var c=new n,d=[],e=[],f=[],g=new n,k=new P,h;for(h=0;h<=a;h++){var m=h/a;d[h]=this.getTangentAt(m);d[h].normalize()}e[0]=new n;f[0]=new n;h=Number.MAX_VALUE;m=Math.abs(d[0].x);var v=Math.abs(d[0].y),p=Math.abs(d[0].z);m<=h&&(h=m,c.set(1,0,0));v<=h&&(h=v,c.set(0,1,0));p<=h&&c.set(0,0,1);g.crossVectors(d[0],
c).normalize();e[0].crossVectors(d[0],g);f[0].crossVectors(d[0],e[0]);for(h=1;h<=a;h++)e[h]=e[h-1].clone(),f[h]=f[h-1].clone(),g.crossVectors(d[h-1],d[h]),g.length()>Number.EPSILON&&(g.normalize(),c=Math.acos(O.clamp(d[h-1].dot(d[h]),-1,1)),e[h].applyMatrix4(k.makeRotationAxis(g,c))),f[h].crossVectors(d[h],e[h]);if(!0===b)for(c=Math.acos(O.clamp(e[0].dot(e[a]),-1,1)),c/=a,0<d[0].dot(g.crossVectors(e[0],e[a]))&&(c=-c),h=1;h<=a;h++)e[h].applyMatrix4(k.makeRotationAxis(d[h],c*h)),f[h].crossVectors(d[h],
e[h]);return{tangents:d,normals:e,binormals:f}},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this},toJSON:function(){var a={metadata:{version:4.5,type:"Curve",generator:"Curve.toJSON"}};a.arcLengthDivisions=this.arcLengthDivisions;a.type=this.type;return a},fromJSON:function(a){this.arcLengthDivisions=a.arcLengthDivisions;return this}});La.prototype=Object.create(I.prototype);La.prototype.constructor=La;La.prototype.isEllipseCurve=
!0;La.prototype.getPoint=function(a,b){b=b||new x;for(var c=2*Math.PI,d=this.aEndAngle-this.aStartAngle,e=Math.abs(d)<Number.EPSILON;0>d;)d+=c;for(;d>c;)d-=c;d<Number.EPSILON&&(d=e?0:c);!0!==this.aClockwise||e||(d=d===c?-c:d-c);c=this.aStartAngle+a*d;a=this.aX+this.xRadius*Math.cos(c);var f=this.aY+this.yRadius*Math.sin(c);0!==this.aRotation&&(c=Math.cos(this.aRotation),d=Math.sin(this.aRotation),e=a-this.aX,f-=this.aY,a=e*c-f*d+this.aX,f=e*d+f*c+this.aY);return b.set(a,f)};La.prototype.copy=function(a){I.prototype.copy.call(this,
a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};La.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.aX=this.aX;a.aY=this.aY;a.xRadius=this.xRadius;a.yRadius=this.yRadius;a.aStartAngle=this.aStartAngle;a.aEndAngle=this.aEndAngle;a.aClockwise=this.aClockwise;a.aRotation=this.aRotation;return a};La.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,
a);this.aX=a.aX;this.aY=a.aY;this.xRadius=a.xRadius;this.yRadius=a.yRadius;this.aStartAngle=a.aStartAngle;this.aEndAngle=a.aEndAngle;this.aClockwise=a.aClockwise;this.aRotation=a.aRotation;return this};fd.prototype=Object.create(La.prototype);fd.prototype.constructor=fd;fd.prototype.isArcCurve=!0;var Tf=new n,nh=new zg,oh=new zg,ph=new zg;Aa.prototype=Object.create(I.prototype);Aa.prototype.constructor=Aa;Aa.prototype.isCatmullRomCurve3=!0;Aa.prototype.getPoint=function(a,b){b=b||new n;var c=this.points,
d=c.length;a*=d-(this.closed?0:1);var e=Math.floor(a);a-=e;this.closed?e+=0<e?0:(Math.floor(Math.abs(e)/d)+1)*d:0===a&&e===d-1&&(e=d-2,a=1);if(this.closed||0<e)var f=c[(e-1)%d];else Tf.subVectors(c[0],c[1]).add(c[0]),f=Tf;var g=c[e%d];var h=c[(e+1)%d];this.closed||e+2<d?c=c[(e+2)%d]:(Tf.subVectors(c[d-1],c[d-2]).add(c[d-1]),c=Tf);if("centripetal"===this.curveType||"chordal"===this.curveType){var l="chordal"===this.curveType?.5:.25;d=Math.pow(f.distanceToSquared(g),l);e=Math.pow(g.distanceToSquared(h),
l);l=Math.pow(h.distanceToSquared(c),l);1E-4>e&&(e=1);1E-4>d&&(d=e);1E-4>l&&(l=e);nh.initNonuniformCatmullRom(f.x,g.x,h.x,c.x,d,e,l);oh.initNonuniformCatmullRom(f.y,g.y,h.y,c.y,d,e,l);ph.initNonuniformCatmullRom(f.z,g.z,h.z,c.z,d,e,l)}else"catmullrom"===this.curveType&&(nh.initCatmullRom(f.x,g.x,h.x,c.x,this.tension),oh.initCatmullRom(f.y,g.y,h.y,c.y,this.tension),ph.initCatmullRom(f.z,g.z,h.z,c.z,this.tension));b.set(nh.calc(a),oh.calc(a),ph.calc(a));return b};Aa.prototype.copy=function(a){I.prototype.copy.call(this,
a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};Aa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());a.closed=this.closed;a.curveType=this.curveType;a.tension=this.tension;return a};Aa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.points=[];
for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new n).fromArray(d))}this.closed=a.closed;this.curveType=a.curveType;this.tension=a.tension;return this};Wa.prototype=Object.create(I.prototype);Wa.prototype.constructor=Wa;Wa.prototype.isCubicBezierCurve=!0;Wa.prototype.getPoint=function(a,b){b=b||new x;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(se(a,c.x,d.x,e.x,f.x),se(a,c.y,d.y,e.y,f.y));return b};Wa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);
this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};Wa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};Wa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};ib.prototype=Object.create(I.prototype);ib.prototype.constructor=ib;ib.prototype.isCubicBezierCurve3=
!0;ib.prototype.getPoint=function(a,b){b=b||new n;var c=this.v0,d=this.v1,e=this.v2,f=this.v3;b.set(se(a,c.x,d.x,e.x,f.x),se(a,c.y,d.y,e.y,f.y),se(a,c.z,d.z,e.z,f.z));return b};ib.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);this.v3.copy(a.v3);return this};ib.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();a.v3=this.v3.toArray();return a};ib.prototype.fromJSON=
function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);this.v3.fromArray(a.v3);return this};Ea.prototype=Object.create(I.prototype);Ea.prototype.constructor=Ea;Ea.prototype.isLineCurve=!0;Ea.prototype.getPoint=function(a,b){b=b||new x;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Ea.prototype.getPointAt=function(a,b){return this.getPoint(a,b)};Ea.prototype.getTangent=function(){return this.v2.clone().sub(this.v1).normalize()};
Ea.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Ea.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};Ea.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};Xa.prototype=Object.create(I.prototype);Xa.prototype.constructor=Xa;Xa.prototype.isLineCurve3=!0;Xa.prototype.getPoint=function(a,b){b=b||
new n;1===a?b.copy(this.v2):(b.copy(this.v2).sub(this.v1),b.multiplyScalar(a).add(this.v1));return b};Xa.prototype.getPointAt=function(a,b){return this.getPoint(a,b)};Xa.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Xa.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};Xa.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);
return this};Ya.prototype=Object.create(I.prototype);Ya.prototype.constructor=Ya;Ya.prototype.isQuadraticBezierCurve=!0;Ya.prototype.getPoint=function(a,b){b=b||new x;var c=this.v0,d=this.v1,e=this.v2;b.set(re(a,c.x,d.x,e.x),re(a,c.y,d.y,e.y));return b};Ya.prototype.copy=function(a){I.prototype.copy.call(this,a);this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};Ya.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=
this.v2.toArray();return a};Ya.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};jb.prototype=Object.create(I.prototype);jb.prototype.constructor=jb;jb.prototype.isQuadraticBezierCurve3=!0;jb.prototype.getPoint=function(a,b){b=b||new n;var c=this.v0,d=this.v1,e=this.v2;b.set(re(a,c.x,d.x,e.x),re(a,c.y,d.y,e.y),re(a,c.z,d.z,e.z));return b};jb.prototype.copy=function(a){I.prototype.copy.call(this,a);
this.v0.copy(a.v0);this.v1.copy(a.v1);this.v2.copy(a.v2);return this};jb.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.v0=this.v0.toArray();a.v1=this.v1.toArray();a.v2=this.v2.toArray();return a};jb.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.v0.fromArray(a.v0);this.v1.fromArray(a.v1);this.v2.fromArray(a.v2);return this};Za.prototype=Object.create(I.prototype);Za.prototype.constructor=Za;Za.prototype.isSplineCurve=!0;Za.prototype.getPoint=function(a,b){b=
b||new x;var c=this.points,d=(c.length-1)*a;a=Math.floor(d);d-=a;var e=c[0===a?a:a-1],f=c[a],g=c[a>c.length-2?c.length-1:a+1];c=c[a>c.length-3?c.length-1:a+2];b.set(hi(d,e.x,f.x,g.x,c.x),hi(d,e.y,f.y,g.y,c.y));return b};Za.prototype.copy=function(a){I.prototype.copy.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++)this.points.push(a.points[b].clone());return this};Za.prototype.toJSON=function(){var a=I.prototype.toJSON.call(this);a.points=[];for(var b=0,c=this.points.length;b<c;b++)a.points.push(this.points[b].toArray());
return a};Za.prototype.fromJSON=function(a){I.prototype.fromJSON.call(this,a);this.points=[];for(var b=0,c=a.points.length;b<c;b++){var d=a.points[b];this.points.push((new x).fromArray(d))}return this};var qh=Object.freeze({__proto__:null,ArcCurve:fd,CatmullRomCurve3:Aa,CubicBezierCurve:Wa,CubicBezierCurve3:ib,EllipseCurve:La,LineCurve:Ea,LineCurve3:Xa,QuadraticBezierCurve:Ya,QuadraticBezierCurve3:jb,SplineCurve:Za});wb.prototype=Object.assign(Object.create(I.prototype),{constructor:wb,add:function(a){this.curves.push(a)},
closePath:function(){var a=this.curves[0].getPoint(0),b=this.curves[this.curves.length-1].getPoint(1);a.equals(b)||this.curves.push(new Ea(b,a))},getPoint:function(a){var b=a*this.getLength(),c=this.getCurveLengths();for(a=0;a<c.length;){if(c[a]>=b)return b=c[a]-b,a=this.curves[a],c=a.getLength(),a.getPointAt(0===c?0:1-b/c);a++}return null},getLength:function(){var a=this.getCurveLengths();return a[a.length-1]},updateArcLengths:function(){this.needsUpdate=!0;this.cacheLengths=null;this.getCurveLengths()},
getCurveLengths:function(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;for(var a=[],b=0,c=0,d=this.curves.length;c<d;c++)b+=this.curves[c].getLength(),a.push(b);return this.cacheLengths=a},getSpacedPoints:function(a){void 0===a&&(a=40);for(var b=[],c=0;c<=a;c++)b.push(this.getPoint(c/a));this.autoClose&&b.push(b[0]);return b},getPoints:function(a){a=a||12;for(var b=[],c,d=0,e=this.curves;d<e.length;d++){var f=e[d];f=f.getPoints(f&&f.isEllipseCurve?
2*a:f&&(f.isLineCurve||f.isLineCurve3)?1:f&&f.isSplineCurve?a*f.points.length:a);for(var g=0;g<f.length;g++){var h=f[g];c&&c.equals(h)||(b.push(h),c=h)}}this.autoClose&&1<b.length&&!b[b.length-1].equals(b[0])&&b.push(b[0]);return b},copy:function(a){I.prototype.copy.call(this,a);this.curves=[];for(var b=0,c=a.curves.length;b<c;b++)this.curves.push(a.curves[b].clone());this.autoClose=a.autoClose;return this},toJSON:function(){var a=I.prototype.toJSON.call(this);a.autoClose=this.autoClose;a.curves=
[];for(var b=0,c=this.curves.length;b<c;b++)a.curves.push(this.curves[b].toJSON());return a},fromJSON:function(a){I.prototype.fromJSON.call(this,a);this.autoClose=a.autoClose;this.curves=[];for(var b=0,c=a.curves.length;b<c;b++){var d=a.curves[b];this.curves.push((new qh[d.type]).fromJSON(d))}return this}});$a.prototype=Object.assign(Object.create(wb.prototype),{constructor:$a,setFromPoints:function(a){this.moveTo(a[0].x,a[0].y);for(var b=1,c=a.length;b<c;b++)this.lineTo(a[b].x,a[b].y);return this},
moveTo:function(a,b){this.currentPoint.set(a,b);return this},lineTo:function(a,b){var c=new Ea(this.currentPoint.clone(),new x(a,b));this.curves.push(c);this.currentPoint.set(a,b);return this},quadraticCurveTo:function(a,b,c,d){a=new Ya(this.currentPoint.clone(),new x(a,b),new x(c,d));this.curves.push(a);this.currentPoint.set(c,d);return this},bezierCurveTo:function(a,b,c,d,e,f){a=new Wa(this.currentPoint.clone(),new x(a,b),new x(c,d),new x(e,f));this.curves.push(a);this.currentPoint.set(e,f);return this},
splineThru:function(a){var b=[this.currentPoint.clone()].concat(a);b=new Za(b);this.curves.push(b);this.currentPoint.copy(a[a.length-1]);return this},arc:function(a,b,c,d,e,f){this.absarc(a+this.currentPoint.x,b+this.currentPoint.y,c,d,e,f);return this},absarc:function(a,b,c,d,e,f){this.absellipse(a,b,c,c,d,e,f);return this},ellipse:function(a,b,c,d,e,f,g,h){this.absellipse(a+this.currentPoint.x,b+this.currentPoint.y,c,d,e,f,g,h);return this},absellipse:function(a,b,c,d,e,f,g,h){a=new La(a,b,c,d,
e,f,g,h);0<this.curves.length&&(b=a.getPoint(0),b.equals(this.currentPoint)||this.lineTo(b.x,b.y));this.curves.push(a);a=a.getPoint(1);this.currentPoint.copy(a);return this},copy:function(a){wb.prototype.copy.call(this,a);this.currentPoint.copy(a.currentPoint);return this},toJSON:function(){var a=wb.prototype.toJSON.call(this);a.currentPoint=this.currentPoint.toArray();return a},fromJSON:function(a){wb.prototype.fromJSON.call(this,a);this.currentPoint.fromArray(a.currentPoint);return this}});Lb.prototype=
Object.assign(Object.create($a.prototype),{constructor:Lb,getPointsHoles:function(a){for(var b=[],c=0,d=this.holes.length;c<d;c++)b[c]=this.holes[c].getPoints(a);return b},extractPoints:function(a){return{shape:this.getPoints(a),holes:this.getPointsHoles(a)}},copy:function(a){$a.prototype.copy.call(this,a);this.holes=[];for(var b=0,c=a.holes.length;b<c;b++)this.holes.push(a.holes[b].clone());return this},toJSON:function(){var a=$a.prototype.toJSON.call(this);a.uuid=this.uuid;a.holes=[];for(var b=
0,c=this.holes.length;b<c;b++)a.holes.push(this.holes[b].toJSON());return a},fromJSON:function(a){$a.prototype.fromJSON.call(this,a);this.uuid=a.uuid;this.holes=[];for(var b=0,c=a.holes.length;b<c;b++){var d=a.holes[b];this.holes.push((new $a).fromJSON(d))}return this}});ba.prototype=Object.assign(Object.create(D.prototype),{constructor:ba,isLight:!0,copy:function(a){D.prototype.copy.call(this,a);this.color.copy(a.color);this.intensity=a.intensity;return this},toJSON:function(a){a=D.prototype.toJSON.call(this,
a);a.object.color=this.color.getHex();a.object.intensity=this.intensity;void 0!==this.groundColor&&(a.object.groundColor=this.groundColor.getHex());void 0!==this.distance&&(a.object.distance=this.distance);void 0!==this.angle&&(a.object.angle=this.angle);void 0!==this.decay&&(a.object.decay=this.decay);void 0!==this.penumbra&&(a.object.penumbra=this.penumbra);void 0!==this.shadow&&(a.object.shadow=this.shadow.toJSON());return a}});ef.prototype=Object.assign(Object.create(ba.prototype),{constructor:ef,
isHemisphereLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.groundColor.copy(a.groundColor);return this}});Object.assign(kb.prototype,{_projScreenMatrix:new P,_lightPositionWorld:new n,_lookTarget:new n,getViewportCount:function(){return this._viewportCount},getFrustum:function(){return this._frustum},updateMatrices:function(a){var b=this.camera,c=this.matrix,d=this._projScreenMatrix,e=this._lookTarget,f=this._lightPositionWorld;f.setFromMatrixPosition(a.matrixWorld);b.position.copy(f);
e.setFromMatrixPosition(a.target.matrixWorld);b.lookAt(e);b.updateMatrixWorld();d.multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);this._frustum.setFromMatrix(d);c.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1);c.multiply(b.projectionMatrix);c.multiply(b.matrixWorldInverse)},getViewport:function(a){return this._viewports[a]},getFrameExtents:function(){return this._frameExtents},copy:function(a){this.camera=a.camera.clone();this.bias=a.bias;this.radius=a.radius;this.mapSize.copy(a.mapSize);return this},
clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a={};0!==this.bias&&(a.bias=this.bias);1!==this.radius&&(a.radius=this.radius);if(512!==this.mapSize.x||512!==this.mapSize.y)a.mapSize=this.mapSize.toArray();a.camera=this.camera.toJSON(!1).object;delete a.camera.matrix;return a}});ff.prototype=Object.assign(Object.create(kb.prototype),{constructor:ff,isSpotLightShadow:!0,updateMatrices:function(a){var b=this.camera,c=2*O.RAD2DEG*a.angle,d=this.mapSize.width/this.mapSize.height,
e=a.distance||b.far;if(c!==b.fov||d!==b.aspect||e!==b.far)b.fov=c,b.aspect=d,b.far=e,b.updateProjectionMatrix();kb.prototype.updateMatrices.call(this,a)}});gf.prototype=Object.assign(Object.create(ba.prototype),{constructor:gf,isSpotLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.distance=a.distance;this.angle=a.angle;this.penumbra=a.penumbra;this.decay=a.decay;this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});Ag.prototype=Object.assign(Object.create(kb.prototype),
{constructor:Ag,isPointLightShadow:!0,updateMatrices:function(a,b){void 0===b&&(b=0);var c=this.camera,d=this.matrix,e=this._lightPositionWorld,f=this._lookTarget,g=this._projScreenMatrix;e.setFromMatrixPosition(a.matrixWorld);c.position.copy(e);f.copy(c.position);f.add(this._cubeDirections[b]);c.up.copy(this._cubeUps[b]);c.lookAt(f);c.updateMatrixWorld();d.makeTranslation(-e.x,-e.y,-e.z);g.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse);this._frustum.setFromMatrix(g)}});hf.prototype=Object.assign(Object.create(ba.prototype),
{constructor:hf,isPointLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.distance=a.distance;this.decay=a.decay;this.shadow=a.shadow.clone();return this}});gd.prototype=Object.assign(Object.create(db.prototype),{constructor:gd,isOrthographicCamera:!0,copy:function(a,b){db.prototype.copy.call(this,a,b);this.left=a.left;this.right=a.right;this.top=a.top;this.bottom=a.bottom;this.near=a.near;this.far=a.far;this.zoom=a.zoom;this.view=null===a.view?null:Object.assign({},a.view);return this},
setViewOffset:function(a,b,c,d,e,f){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1});this.view.enabled=!0;this.view.fullWidth=a;this.view.fullHeight=b;this.view.offsetX=c;this.view.offsetY=d;this.view.width=e;this.view.height=f;this.updateProjectionMatrix()},clearViewOffset:function(){null!==this.view&&(this.view.enabled=!1);this.updateProjectionMatrix()},updateProjectionMatrix:function(){var a=(this.right-this.left)/(2*this.zoom),b=(this.top-
this.bottom)/(2*this.zoom),c=(this.right+this.left)/2,d=(this.top+this.bottom)/2,e=c-a;c+=a;a=d+b;b=d-b;if(null!==this.view&&this.view.enabled){c=this.zoom/(this.view.width/this.view.fullWidth);b=this.zoom/(this.view.height/this.view.fullHeight);var f=(this.right-this.left)/this.view.width;d=(this.top-this.bottom)/this.view.height;e+=this.view.offsetX/c*f;c=e+this.view.width/c*f;a-=this.view.offsetY/b*d;b=a-this.view.height/b*d}this.projectionMatrix.makeOrthographic(e,c,a,b,this.near,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},
toJSON:function(a){a=D.prototype.toJSON.call(this,a);a.object.zoom=this.zoom;a.object.left=this.left;a.object.right=this.right;a.object.top=this.top;a.object.bottom=this.bottom;a.object.near=this.near;a.object.far=this.far;null!==this.view&&(a.object.view=Object.assign({},this.view));return a}});jf.prototype=Object.assign(Object.create(kb.prototype),{constructor:jf,isDirectionalLightShadow:!0,updateMatrices:function(a){kb.prototype.updateMatrices.call(this,a)}});kf.prototype=Object.assign(Object.create(ba.prototype),
{constructor:kf,isDirectionalLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.target=a.target.clone();this.shadow=a.shadow.clone();return this}});lf.prototype=Object.assign(Object.create(ba.prototype),{constructor:lf,isAmbientLight:!0});mf.prototype=Object.assign(Object.create(ba.prototype),{constructor:mf,isRectAreaLight:!0,copy:function(a){ba.prototype.copy.call(this,a);this.width=a.width;this.height=a.height;return this},toJSON:function(a){a=ba.prototype.toJSON.call(this,a);a.object.width=
this.width;a.object.height=this.height;return a}});nf.prototype=Object.assign(Object.create(Q.prototype),{constructor:nf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){function b(a){void 0===c[a]&&console.warn("THREE.MaterialLoader: Undefined texture",a);return c[a]}var c=this.textures,d=new $k[a.type];void 0!==a.uuid&&(d.uuid=a.uuid);void 0!==a.name&&(d.name=a.name);void 0!==a.color&&d.color.setHex(a.color);
void 0!==a.roughness&&(d.roughness=a.roughness);void 0!==a.metalness&&(d.metalness=a.metalness);void 0!==a.sheen&&(d.sheen=(new y).setHex(a.sheen));void 0!==a.emissive&&d.emissive.setHex(a.emissive);void 0!==a.specular&&d.specular.setHex(a.specular);void 0!==a.shininess&&(d.shininess=a.shininess);void 0!==a.clearcoat&&(d.clearcoat=a.clearcoat);void 0!==a.clearcoatRoughness&&(d.clearcoatRoughness=a.clearcoatRoughness);void 0!==a.vertexColors&&(d.vertexColors=a.vertexColors);void 0!==a.fog&&(d.fog=
a.fog);void 0!==a.flatShading&&(d.flatShading=a.flatShading);void 0!==a.blending&&(d.blending=a.blending);void 0!==a.combine&&(d.combine=a.combine);void 0!==a.side&&(d.side=a.side);void 0!==a.opacity&&(d.opacity=a.opacity);void 0!==a.transparent&&(d.transparent=a.transparent);void 0!==a.alphaTest&&(d.alphaTest=a.alphaTest);void 0!==a.depthTest&&(d.depthTest=a.depthTest);void 0!==a.depthWrite&&(d.depthWrite=a.depthWrite);void 0!==a.colorWrite&&(d.colorWrite=a.colorWrite);void 0!==a.stencilWrite&&(d.stencilWrite=
a.stencilWrite);void 0!==a.stencilWriteMask&&(d.stencilWriteMask=a.stencilWriteMask);void 0!==a.stencilFunc&&(d.stencilFunc=a.stencilFunc);void 0!==a.stencilRef&&(d.stencilRef=a.stencilRef);void 0!==a.stencilFuncMask&&(d.stencilFuncMask=a.stencilFuncMask);void 0!==a.stencilFail&&(d.stencilFail=a.stencilFail);void 0!==a.stencilZFail&&(d.stencilZFail=a.stencilZFail);void 0!==a.stencilZPass&&(d.stencilZPass=a.stencilZPass);void 0!==a.wireframe&&(d.wireframe=a.wireframe);void 0!==a.wireframeLinewidth&&
(d.wireframeLinewidth=a.wireframeLinewidth);void 0!==a.wireframeLinecap&&(d.wireframeLinecap=a.wireframeLinecap);void 0!==a.wireframeLinejoin&&(d.wireframeLinejoin=a.wireframeLinejoin);void 0!==a.rotation&&(d.rotation=a.rotation);1!==a.linewidth&&(d.linewidth=a.linewidth);void 0!==a.dashSize&&(d.dashSize=a.dashSize);void 0!==a.gapSize&&(d.gapSize=a.gapSize);void 0!==a.scale&&(d.scale=a.scale);void 0!==a.polygonOffset&&(d.polygonOffset=a.polygonOffset);void 0!==a.polygonOffsetFactor&&(d.polygonOffsetFactor=
a.polygonOffsetFactor);void 0!==a.polygonOffsetUnits&&(d.polygonOffsetUnits=a.polygonOffsetUnits);void 0!==a.skinning&&(d.skinning=a.skinning);void 0!==a.morphTargets&&(d.morphTargets=a.morphTargets);void 0!==a.morphNormals&&(d.morphNormals=a.morphNormals);void 0!==a.dithering&&(d.dithering=a.dithering);void 0!==a.visible&&(d.visible=a.visible);void 0!==a.toneMapped&&(d.toneMapped=a.toneMapped);void 0!==a.userData&&(d.userData=a.userData);if(void 0!==a.uniforms)for(var e in a.uniforms){var f=a.uniforms[e];
d.uniforms[e]={};switch(f.type){case "t":d.uniforms[e].value=b(f.value);break;case "c":d.uniforms[e].value=(new y).setHex(f.value);break;case "v2":d.uniforms[e].value=(new x).fromArray(f.value);break;case "v3":d.uniforms[e].value=(new n).fromArray(f.value);break;case "v4":d.uniforms[e].value=(new S).fromArray(f.value);break;case "m3":d.uniforms[e].value=(new za).fromArray(f.value);case "m4":d.uniforms[e].value=(new P).fromArray(f.value);break;default:d.uniforms[e].value=f.value}}void 0!==a.defines&&
(d.defines=a.defines);void 0!==a.vertexShader&&(d.vertexShader=a.vertexShader);void 0!==a.fragmentShader&&(d.fragmentShader=a.fragmentShader);if(void 0!==a.extensions)for(var g in a.extensions)d.extensions[g]=a.extensions[g];void 0!==a.shading&&(d.flatShading=1===a.shading);void 0!==a.size&&(d.size=a.size);void 0!==a.sizeAttenuation&&(d.sizeAttenuation=a.sizeAttenuation);void 0!==a.map&&(d.map=b(a.map));void 0!==a.matcap&&(d.matcap=b(a.matcap));void 0!==a.alphaMap&&(d.alphaMap=b(a.alphaMap),d.transparent=
!0);void 0!==a.bumpMap&&(d.bumpMap=b(a.bumpMap));void 0!==a.bumpScale&&(d.bumpScale=a.bumpScale);void 0!==a.normalMap&&(d.normalMap=b(a.normalMap));void 0!==a.normalMapType&&(d.normalMapType=a.normalMapType);void 0!==a.normalScale&&(e=a.normalScale,!1===Array.isArray(e)&&(e=[e,e]),d.normalScale=(new x).fromArray(e));void 0!==a.displacementMap&&(d.displacementMap=b(a.displacementMap));void 0!==a.displacementScale&&(d.displacementScale=a.displacementScale);void 0!==a.displacementBias&&(d.displacementBias=
a.displacementBias);void 0!==a.roughnessMap&&(d.roughnessMap=b(a.roughnessMap));void 0!==a.metalnessMap&&(d.metalnessMap=b(a.metalnessMap));void 0!==a.emissiveMap&&(d.emissiveMap=b(a.emissiveMap));void 0!==a.emissiveIntensity&&(d.emissiveIntensity=a.emissiveIntensity);void 0!==a.specularMap&&(d.specularMap=b(a.specularMap));void 0!==a.envMap&&(d.envMap=b(a.envMap));void 0!==a.envMapIntensity&&(d.envMapIntensity=a.envMapIntensity);void 0!==a.reflectivity&&(d.reflectivity=a.reflectivity);void 0!==a.refractionRatio&&
(d.refractionRatio=a.refractionRatio);void 0!==a.lightMap&&(d.lightMap=b(a.lightMap));void 0!==a.lightMapIntensity&&(d.lightMapIntensity=a.lightMapIntensity);void 0!==a.aoMap&&(d.aoMap=b(a.aoMap));void 0!==a.aoMapIntensity&&(d.aoMapIntensity=a.aoMapIntensity);void 0!==a.gradientMap&&(d.gradientMap=b(a.gradientMap));void 0!==a.clearcoatNormalMap&&(d.clearcoatNormalMap=b(a.clearcoatNormalMap));void 0!==a.clearcoatNormalScale&&(d.clearcoatNormalScale=(new x).fromArray(a.clearcoatNormalScale));return d},
setTextures:function(a){this.textures=a;return this}});var rh={decodeText:function(a){if("undefined"!==typeof TextDecoder)return(new TextDecoder).decode(a);for(var b="",c=0,d=a.length;c<d;c++)b+=String.fromCharCode(a[c]);try{return decodeURIComponent(escape(b))}catch(e){return b}},extractUrlBase:function(a){var b=a.lastIndexOf("/");return-1===b?"./":a.substr(0,b+1)}};of.prototype=Object.assign(Object.create(G.prototype),{constructor:of,isInstancedBufferGeometry:!0,copy:function(a){G.prototype.copy.call(this,
a);this.maxInstancedCount=a.maxInstancedCount;return this},clone:function(){return(new this.constructor).copy(this)},toJSON:function(){var a=G.prototype.toJSON.call(this);a.maxInstancedCount=this.maxInstancedCount;a.isInstancedBufferGeometry=!0;return a}});pf.prototype=Object.assign(Object.create(K.prototype),{constructor:pf,isInstancedBufferAttribute:!0,copy:function(a){K.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;return this},toJSON:function(){var a=K.prototype.toJSON.call(this);
a.meshPerAttribute=this.meshPerAttribute;a.isInstancedBufferAttribute=!0;return a}});qf.prototype=Object.assign(Object.create(Q.prototype),{constructor:qf,load:function(a,b,c,d){var e=this,f=new Ra(e.manager);f.setPath(e.path);f.load(a,function(a){b(e.parse(JSON.parse(a)))},c,d)},parse:function(a){var b=a.isInstancedBufferGeometry?new of:new G,c=a.data.index;if(void 0!==c){var d=new sh[c.type](c.array);b.setIndex(new K(d,1))}c=a.data.attributes;for(var e in c){var f=c[e];d=new sh[f.type](f.array);
d=new (f.isInstancedBufferAttribute?pf:K)(d,f.itemSize,f.normalized);void 0!==f.name&&(d.name=f.name);b.setAttribute(e,d)}var g=a.data.morphAttributes;if(g)for(e in g){var h=g[e],l=[];c=0;for(var m=h.length;c<m;c++)f=h[c],d=new sh[f.type](f.array),d=new K(d,f.itemSize,f.normalized),void 0!==f.name&&(d.name=f.name),l.push(d);b.morphAttributes[e]=l}a.data.morphTargetsRelative&&(b.morphTargetsRelative=!0);e=a.data.groups||a.data.drawcalls||a.data.offsets;if(void 0!==e)for(c=0,f=e.length;c!==f;++c)d=
e[c],b.addGroup(d.start,d.count,d.materialIndex);c=a.data.boundingSphere;void 0!==c&&(e=new n,void 0!==c.center&&e.fromArray(c.center),b.boundingSphere=new qb(e,c.radius));a.name&&(b.name=a.name);a.userData&&(b.userData=a.userData);return b}});var sh={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:"undefined"!==typeof Uint8ClampedArray?Uint8ClampedArray:Uint8Array,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};
rf.prototype=Object.assign(Object.create(Q.prototype),{constructor:rf,load:function(a,b,c,d){var e=this,f=""===this.path?rh.extractUrlBase(a):this.path;this.resourcePath=this.resourcePath||f;f=new Ra(e.manager);f.setPath(this.path);f.load(a,function(c){var f=null;try{f=JSON.parse(c)}catch(l){void 0!==d&&d(l);console.error("THREE:ObjectLoader: Can't parse "+a+".",l.message);return}c=f.metadata;void 0===c||void 0===c.type||"geometry"===c.type.toLowerCase()?console.error("THREE.ObjectLoader: Can't load "+
a):e.parse(f,b)},c,d)},parse:function(a,b){var c=this.parseShape(a.shapes);c=this.parseGeometries(a.geometries,c);var d=this.parseImages(a.images,function(){void 0!==b&&b(e)});d=this.parseTextures(a.textures,d);d=this.parseMaterials(a.materials,d);var e=this.parseObject(a.object,c,d);a.animations&&(e.animations=this.parseAnimations(a.animations));void 0!==a.images&&0!==a.images.length||void 0===b||b(e);return e},parseShape:function(a){var b={};if(void 0!==a)for(var c=0,d=a.length;c<d;c++){var e=(new Lb).fromJSON(a[c]);
b[e.uuid]=e}return b},parseGeometries:function(a,b){var c={};if(void 0!==a)for(var d=new qf,e=0,f=a.length;e<f;e++){var g=a[e];switch(g.type){case "PlaneGeometry":case "PlaneBufferGeometry":var h=new ua[g.type](g.width,g.height,g.widthSegments,g.heightSegments);break;case "BoxGeometry":case "BoxBufferGeometry":case "CubeGeometry":h=new ua[g.type](g.width,g.height,g.depth,g.widthSegments,g.heightSegments,g.depthSegments);break;case "CircleGeometry":case "CircleBufferGeometry":h=new ua[g.type](g.radius,
g.segments,g.thetaStart,g.thetaLength);break;case "CylinderGeometry":case "CylinderBufferGeometry":h=new ua[g.type](g.radiusTop,g.radiusBottom,g.height,g.radialSegments,g.heightSegments,g.openEnded,g.thetaStart,g.thetaLength);break;case "ConeGeometry":case "ConeBufferGeometry":h=new ua[g.type](g.radius,g.height,g.radialSegments,g.heightSegments,g.openEnded,g.thetaStart,g.thetaLength);break;case "SphereGeometry":case "SphereBufferGeometry":h=new ua[g.type](g.radius,g.widthSegments,g.heightSegments,
g.phiStart,g.phiLength,g.thetaStart,g.thetaLength);break;case "DodecahedronGeometry":case "DodecahedronBufferGeometry":case "IcosahedronGeometry":case "IcosahedronBufferGeometry":case "OctahedronGeometry":case "OctahedronBufferGeometry":case "TetrahedronGeometry":case "TetrahedronBufferGeometry":h=new ua[g.type](g.radius,g.detail);break;case "RingGeometry":case "RingBufferGeometry":h=new ua[g.type](g.innerRadius,g.outerRadius,g.thetaSegments,g.phiSegments,g.thetaStart,g.thetaLength);break;case "TorusGeometry":case "TorusBufferGeometry":h=
new ua[g.type](g.radius,g.tube,g.radialSegments,g.tubularSegments,g.arc);break;case "TorusKnotGeometry":case "TorusKnotBufferGeometry":h=new ua[g.type](g.radius,g.tube,g.tubularSegments,g.radialSegments,g.p,g.q);break;case "TubeGeometry":case "TubeBufferGeometry":h=new ua[g.type]((new qh[g.path.type]).fromJSON(g.path),g.tubularSegments,g.radius,g.radialSegments,g.closed);break;case "LatheGeometry":case "LatheBufferGeometry":h=new ua[g.type](g.points,g.segments,g.phiStart,g.phiLength);break;case "PolyhedronGeometry":case "PolyhedronBufferGeometry":h=
new ua[g.type](g.vertices,g.indices,g.radius,g.details);break;case "ShapeGeometry":case "ShapeBufferGeometry":h=[];for(var l=0,m=g.shapes.length;l<m;l++){var n=b[g.shapes[l]];h.push(n)}h=new ua[g.type](h,g.curveSegments);break;case "ExtrudeGeometry":case "ExtrudeBufferGeometry":h=[];l=0;for(m=g.shapes.length;l<m;l++)n=b[g.shapes[l]],h.push(n);l=g.options.extrudePath;void 0!==l&&(g.options.extrudePath=(new qh[l.type]).fromJSON(l));h=new ua[g.type](h,g.options);break;case "BufferGeometry":case "InstancedBufferGeometry":h=
d.parse(g);break;case "Geometry":"THREE"in window&&"LegacyJSONLoader"in THREE?h=(new THREE.LegacyJSONLoader).parse(g,this.resourcePath).geometry:console.error('THREE.ObjectLoader: You have to import LegacyJSONLoader in order load geometry data of type "Geometry".');break;default:console.warn('THREE.ObjectLoader: Unsupported geometry type "'+g.type+'"');continue}h.uuid=g.uuid;void 0!==g.name&&(h.name=g.name);!0===h.isBufferGeometry&&void 0!==g.userData&&(h.userData=g.userData);c[g.uuid]=h}return c},
parseMaterials:function(a,b){var c={},d={};if(void 0!==a){var e=new nf;e.setTextures(b);b=0;for(var f=a.length;b<f;b++){var g=a[b];if("MultiMaterial"===g.type){for(var h=[],l=0;l<g.materials.length;l++){var m=g.materials[l];void 0===c[m.uuid]&&(c[m.uuid]=e.parse(m));h.push(c[m.uuid])}d[g.uuid]=h}else void 0===c[g.uuid]&&(c[g.uuid]=e.parse(g)),d[g.uuid]=c[g.uuid]}}return d},parseAnimations:function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=Qa.parse(d);void 0!==d.uuid&&(e.uuid=d.uuid);b.push(e)}return b},
parseImages:function(a,b){function c(a){d.manager.itemStart(a);return f.load(a,function(){d.manager.itemEnd(a)},void 0,function(){d.manager.itemError(a);d.manager.itemEnd(a)})}var d=this,e={};if(void 0!==a&&0<a.length){b=new wg(b);var f=new ed(b);f.setCrossOrigin(this.crossOrigin);b=0;for(var g=a.length;b<g;b++){var h=a[b],l=h.url;if(Array.isArray(l)){e[h.uuid]=[];for(var m=0,n=l.length;m<n;m++){var p=l[m];p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(p)?p:d.resourcePath+p;e[h.uuid].push(c(p))}}else p=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(h.url)?
h.url:d.resourcePath+h.url,e[h.uuid]=c(p)}}return e},parseTextures:function(a,b){function c(a,b){if("number"===typeof a)return a;console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",a);return b[a]}var d={};if(void 0!==a)for(var e=0,f=a.length;e<f;e++){var g=a[e];void 0===g.image&&console.warn('THREE.ObjectLoader: No "image" specified for',g.uuid);void 0===b[g.image]&&console.warn("THREE.ObjectLoader: Undefined image",g.image);var h=Array.isArray(b[g.image])?new rb(b[g.image]):
new T(b[g.image]);h.needsUpdate=!0;h.uuid=g.uuid;void 0!==g.name&&(h.name=g.name);void 0!==g.mapping&&(h.mapping=c(g.mapping,al));void 0!==g.offset&&h.offset.fromArray(g.offset);void 0!==g.repeat&&h.repeat.fromArray(g.repeat);void 0!==g.center&&h.center.fromArray(g.center);void 0!==g.rotation&&(h.rotation=g.rotation);void 0!==g.wrap&&(h.wrapS=c(g.wrap[0],Yi),h.wrapT=c(g.wrap[1],Yi));void 0!==g.format&&(h.format=g.format);void 0!==g.type&&(h.type=g.type);void 0!==g.encoding&&(h.encoding=g.encoding);
void 0!==g.minFilter&&(h.minFilter=c(g.minFilter,Zi));void 0!==g.magFilter&&(h.magFilter=c(g.magFilter,Zi));void 0!==g.anisotropy&&(h.anisotropy=g.anisotropy);void 0!==g.flipY&&(h.flipY=g.flipY);void 0!==g.premultiplyAlpha&&(h.premultiplyAlpha=g.premultiplyAlpha);void 0!==g.unpackAlignment&&(h.unpackAlignment=g.unpackAlignment);d[g.uuid]=h}return d},parseObject:function(a,b,c){function d(a){void 0===b[a]&&console.warn("THREE.ObjectLoader: Undefined geometry",a);return b[a]}function e(a){if(void 0!==
a){if(Array.isArray(a)){for(var b=[],d=0,e=a.length;d<e;d++){var f=a[d];void 0===c[f]&&console.warn("THREE.ObjectLoader: Undefined material",f);b.push(c[f])}return b}void 0===c[a]&&console.warn("THREE.ObjectLoader: Undefined material",a);return c[a]}}switch(a.type){case "Scene":var f=new pb;void 0!==a.background&&Number.isInteger(a.background)&&(f.background=new y(a.background));void 0!==a.fog&&("Fog"===a.fog.type?f.fog=new Re(a.fog.color,a.fog.near,a.fog.far):"FogExp2"===a.fog.type&&(f.fog=new Qe(a.fog.color,
a.fog.density)));break;case "PerspectiveCamera":f=new pa(a.fov,a.aspect,a.near,a.far);void 0!==a.focus&&(f.focus=a.focus);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.filmGauge&&(f.filmGauge=a.filmGauge);void 0!==a.filmOffset&&(f.filmOffset=a.filmOffset);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "OrthographicCamera":f=new gd(a.left,a.right,a.top,a.bottom,a.near,a.far);void 0!==a.zoom&&(f.zoom=a.zoom);void 0!==a.view&&(f.view=Object.assign({},a.view));break;case "AmbientLight":f=
new lf(a.color,a.intensity);break;case "DirectionalLight":f=new kf(a.color,a.intensity);break;case "PointLight":f=new hf(a.color,a.intensity,a.distance,a.decay);break;case "RectAreaLight":f=new mf(a.color,a.intensity,a.width,a.height);break;case "SpotLight":f=new gf(a.color,a.intensity,a.distance,a.angle,a.penumbra,a.decay);break;case "HemisphereLight":f=new ef(a.color,a.groundColor,a.intensity);break;case "SkinnedMesh":console.warn("THREE.ObjectLoader.parseObject() does not support SkinnedMesh yet.");
case "Mesh":f=d(a.geometry);var g=e(a.material);f=f.bones&&0<f.bones.length?new Td(f,g):new ca(f,g);break;case "InstancedMesh":f=d(a.geometry);g=e(a.material);var h=a.instanceMatrix;f=new Ue(f,g,a.count);f.instanceMatrix=new K(new Float32Array(h.array),16);break;case "LOD":f=new Sd;break;case "Line":f=new Ja(d(a.geometry),e(a.material),a.mode);break;case "LineLoop":f=new Ve(d(a.geometry),e(a.material));break;case "LineSegments":f=new la(d(a.geometry),e(a.material));break;case "PointCloud":case "Points":f=
new Oc(d(a.geometry),e(a.material));break;case "Sprite":f=new Qd(e(a.material));break;case "Group":f=new Od;break;default:f=new D}f.uuid=a.uuid;void 0!==a.name&&(f.name=a.name);void 0!==a.matrix?(f.matrix.fromArray(a.matrix),void 0!==a.matrixAutoUpdate&&(f.matrixAutoUpdate=a.matrixAutoUpdate),f.matrixAutoUpdate&&f.matrix.decompose(f.position,f.quaternion,f.scale)):(void 0!==a.position&&f.position.fromArray(a.position),void 0!==a.rotation&&f.rotation.fromArray(a.rotation),void 0!==a.quaternion&&f.quaternion.fromArray(a.quaternion),
void 0!==a.scale&&f.scale.fromArray(a.scale));void 0!==a.castShadow&&(f.castShadow=a.castShadow);void 0!==a.receiveShadow&&(f.receiveShadow=a.receiveShadow);a.shadow&&(void 0!==a.shadow.bias&&(f.shadow.bias=a.shadow.bias),void 0!==a.shadow.radius&&(f.shadow.radius=a.shadow.radius),void 0!==a.shadow.mapSize&&f.shadow.mapSize.fromArray(a.shadow.mapSize),void 0!==a.shadow.camera&&(f.shadow.camera=this.parseObject(a.shadow.camera)));void 0!==a.visible&&(f.visible=a.visible);void 0!==a.frustumCulled&&
(f.frustumCulled=a.frustumCulled);void 0!==a.renderOrder&&(f.renderOrder=a.renderOrder);void 0!==a.userData&&(f.userData=a.userData);void 0!==a.layers&&(f.layers.mask=a.layers);if(void 0!==a.children)for(h=a.children,g=0;g<h.length;g++)f.add(this.parseObject(h[g],b,c));if("LOD"===a.type)for(void 0!==a.autoUpdate&&(f.autoUpdate=a.autoUpdate),a=a.levels,h=0;h<a.length;h++){g=a[h];var l=f.getObjectByProperty("uuid",g.object);void 0!==l&&f.addLevel(l,g.distance)}return f}});var al={UVMapping:300,CubeReflectionMapping:301,
CubeRefractionMapping:302,EquirectangularReflectionMapping:303,EquirectangularRefractionMapping:304,SphericalReflectionMapping:305,CubeUVReflectionMapping:306,CubeUVRefractionMapping:307},Yi={RepeatWrapping:1E3,ClampToEdgeWrapping:1001,MirroredRepeatWrapping:1002},Zi={NearestFilter:1003,NearestMipmapNearestFilter:1004,NearestMipmapLinearFilter:1005,LinearFilter:1006,LinearMipmapNearestFilter:1007,LinearMipmapLinearFilter:1008};Bg.prototype=Object.assign(Object.create(Q.prototype),{constructor:Bg,
setOptions:function(a){this.options=a;return this},load:function(a,b,c,d){void 0===a&&(a="");void 0!==this.path&&(a=this.path+a);a=this.manager.resolveURL(a);var e=this,f=xc.get(a);if(void 0!==f)return e.manager.itemStart(a),setTimeout(function(){b&&b(f);e.manager.itemEnd(a)},0),f;fetch(a).then(function(a){return a.blob()}).then(function(a){return void 0===e.options?createImageBitmap(a):createImageBitmap(a,e.options)}).then(function(c){xc.add(a,c);b&&b(c);e.manager.itemEnd(a)}).catch(function(b){d&&
d(b);e.manager.itemError(a);e.manager.itemEnd(a)});e.manager.itemStart(a)}});Object.assign(Cg.prototype,{moveTo:function(a,b){this.currentPath=new $a;this.subPaths.push(this.currentPath);this.currentPath.moveTo(a,b);return this},lineTo:function(a,b){this.currentPath.lineTo(a,b);return this},quadraticCurveTo:function(a,b,c,d){this.currentPath.quadraticCurveTo(a,b,c,d);return this},bezierCurveTo:function(a,b,c,d,e,f){this.currentPath.bezierCurveTo(a,b,c,d,e,f);return this},splineThru:function(a){this.currentPath.splineThru(a);
return this},toShapes:function(a,b){function c(a){for(var b=[],c=0,d=a.length;c<d;c++){var e=a[c],f=new Lb;f.curves=e.curves;b.push(f)}return b}function d(a,b){for(var c=b.length,d=!1,e=c-1,f=0;f<c;e=f++){var g=b[e],h=b[f],k=h.x-g.x,l=h.y-g.y;if(Math.abs(l)>Number.EPSILON){if(0>l&&(g=b[f],k=-k,h=b[e],l=-l),!(a.y<g.y||a.y>h.y))if(a.y===g.y){if(a.x===g.x)return!0}else{e=l*(a.x-g.x)-k*(a.y-g.y);if(0===e)return!0;0>e||(d=!d)}}else if(a.y===g.y&&(h.x<=a.x&&a.x<=g.x||g.x<=a.x&&a.x<=h.x))return!0}return d}
var e=tb.isClockWise,f=this.subPaths;if(0===f.length)return[];if(!0===b)return c(f);b=[];if(1===f.length){var g=f[0];var h=new Lb;h.curves=g.curves;b.push(h);return b}var l=!e(f[0].getPoints());l=a?!l:l;h=[];var m=[],n=[],p=0;m[p]=void 0;n[p]=[];for(var q=0,t=f.length;q<t;q++){g=f[q];var r=g.getPoints();var u=e(r);(u=a?!u:u)?(!l&&m[p]&&p++,m[p]={s:new Lb,p:r},m[p].s.curves=g.curves,l&&p++,n[p]=[]):n[p].push({h:g,p:r[0]})}if(!m[0])return c(f);if(1<m.length){q=!1;a=[];e=0;for(f=m.length;e<f;e++)h[e]=
[];e=0;for(f=m.length;e<f;e++)for(g=n[e],u=0;u<g.length;u++){l=g[u];p=!0;for(r=0;r<m.length;r++)d(l.p,m[r].p)&&(e!==r&&a.push({froms:e,tos:r,hole:u}),p?(p=!1,h[r].push(l)):q=!0);p&&h[e].push(l)}0<a.length&&(q||(n=h))}q=0;for(e=m.length;q<e;q++)for(h=m[q].s,b.push(h),a=n[q],f=0,g=a.length;f<g;f++)h.holes.push(a[f].h);return b}});Object.assign(Dg.prototype,{isFont:!0,generateShapes:function(a,b){void 0===b&&(b=100);var c=[],d=b;b=this.data;var e=Array.from?Array.from(a):String(a).split("");d/=b.resolution;
var f=(b.boundingBox.yMax-b.boundingBox.yMin+b.underlineThickness)*d;a=[];for(var g=0,h=0,l=0;l<e.length;l++){var m=e[l];if("\n"===m)g=0,h-=f;else{var n=m;m=d;var p=g,q=h,t=b,r=t.glyphs[n]||t.glyphs["?"];if(r){n=new Cg;if(r.o){t=r._cachedOutline||(r._cachedOutline=r.o.split(" "));for(var u=0,x=t.length;u<x;)switch(t[u++]){case "m":var w=t[u++]*m+p;var y=t[u++]*m+q;n.moveTo(w,y);break;case "l":w=t[u++]*m+p;y=t[u++]*m+q;n.lineTo(w,y);break;case "q":var C=t[u++]*m+p;var D=t[u++]*m+q;var A=t[u++]*m+p;
var E=t[u++]*m+q;n.quadraticCurveTo(A,E,C,D);break;case "b":C=t[u++]*m+p,D=t[u++]*m+q,A=t[u++]*m+p,E=t[u++]*m+q,w=t[u++]*m+p,y=t[u++]*m+q,n.bezierCurveTo(A,E,w,y,C,D)}}m={offsetX:r.ha*m,path:n}}else console.error('THREE.Font: character "'+n+'" does not exists in font family '+t.familyName+"."),m=void 0;g+=m.offsetX;a.push(m.path)}}b=0;for(e=a.length;b<e;b++)Array.prototype.push.apply(c,a[b].toShapes());return c}});Eg.prototype=Object.assign(Object.create(Q.prototype),{constructor:Eg,load:function(a,
b,c,d){var e=this,f=new Ra(this.manager);f.setPath(this.path);f.load(a,function(a){try{var c=JSON.parse(a)}catch(l){console.warn("THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."),c=JSON.parse(a.substring(65,a.length-2))}a=e.parse(c);b&&b(a)},c,d)},parse:function(a){return new Dg(a)}});var Uf,Jg={getContext:function(){void 0===Uf&&(Uf=new (window.AudioContext||window.webkitAudioContext));return Uf},setContext:function(a){Uf=a}};sf.prototype=Object.assign(Object.create(Q.prototype),
{constructor:sf,load:function(a,b,c,d){var e=new Ra(this.manager);e.setResponseType("arraybuffer");e.setPath(this.path);e.load(a,function(a){a=a.slice(0);Jg.getContext().decodeAudioData(a,function(a){b(a)})},c,d)}});Object.assign(tf.prototype,{isSphericalHarmonics3:!0,set:function(a){for(var b=0;9>b;b++)this.coefficients[b].copy(a[b]);return this},zero:function(){for(var a=0;9>a;a++)this.coefficients[a].set(0,0,0);return this},getAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.282095);
b.addScale(e[1],.488603*d);b.addScale(e[2],.488603*a);b.addScale(e[3],.488603*c);b.addScale(e[4],1.092548*c*d);b.addScale(e[5],1.092548*d*a);b.addScale(e[6],.315392*(3*a*a-1));b.addScale(e[7],1.092548*c*a);b.addScale(e[8],.546274*(c*c-d*d));return b},getIrradianceAt:function(a,b){var c=a.x,d=a.y;a=a.z;var e=this.coefficients;b.copy(e[0]).multiplyScalar(.886227);b.addScale(e[1],1.023328*d);b.addScale(e[2],1.023328*a);b.addScale(e[3],1.023328*c);b.addScale(e[4],.858086*c*d);b.addScale(e[5],.858086*
d*a);b.addScale(e[6],.743125*a*a-.247708);b.addScale(e[7],.858086*c*a);b.addScale(e[8],.429043*(c*c-d*d));return b},add:function(a){for(var b=0;9>b;b++)this.coefficients[b].add(a.coefficients[b]);return this},scale:function(a){for(var b=0;9>b;b++)this.coefficients[b].multiplyScalar(a);return this},lerp:function(a,b){for(var c=0;9>c;c++)this.coefficients[c].lerp(a.coefficients[c],b);return this},equals:function(a){for(var b=0;9>b;b++)if(!this.coefficients[b].equals(a.coefficients[b]))return!1;return!0},
copy:function(a){return this.set(a.coefficients)},clone:function(){return(new this.constructor).copy(this)},fromArray:function(a,b){void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].fromArray(a,b+3*d);return this},toArray:function(a,b){void 0===a&&(a=[]);void 0===b&&(b=0);for(var c=this.coefficients,d=0;9>d;d++)c[d].toArray(a,b+3*d);return a}});Object.assign(tf,{getBasisAt:function(a,b){var c=a.x,d=a.y;a=a.z;b[0]=.282095;b[1]=.488603*d;b[2]=.488603*a;b[3]=.488603*c;b[4]=1.092548*c*d;
b[5]=1.092548*d*a;b[6]=.315392*(3*a*a-1);b[7]=1.092548*c*a;b[8]=.546274*(c*c-d*d)}});ab.prototype=Object.assign(Object.create(ba.prototype),{constructor:ab,isLightProbe:!0,copy:function(a){ba.prototype.copy.call(this,a);this.sh.copy(a.sh);this.intensity=a.intensity;return this},toJSON:function(a){return ba.prototype.toJSON.call(this,a)}});Fg.prototype=Object.assign(Object.create(ab.prototype),{constructor:Fg,isHemisphereLightProbe:!0,copy:function(a){ab.prototype.copy.call(this,a);return this},toJSON:function(a){return ab.prototype.toJSON.call(this,
a)}});Gg.prototype=Object.assign(Object.create(ab.prototype),{constructor:Gg,isAmbientLightProbe:!0,copy:function(a){ab.prototype.copy.call(this,a);return this},toJSON:function(a){return ab.prototype.toJSON.call(this,a)}});var $i=new P,aj=new P;Object.assign(ii.prototype,{update:function(a){var b=this._cache;if(b.focus!==a.focus||b.fov!==a.fov||b.aspect!==a.aspect*this.aspect||b.near!==a.near||b.far!==a.far||b.zoom!==a.zoom||b.eyeSep!==this.eyeSep){b.focus=a.focus;b.fov=a.fov;b.aspect=a.aspect*this.aspect;
b.near=a.near;b.far=a.far;b.zoom=a.zoom;b.eyeSep=this.eyeSep;var c=a.projectionMatrix.clone(),d=b.eyeSep/2,e=d*b.near/b.focus,f=b.near*Math.tan(O.DEG2RAD*b.fov*.5)/b.zoom;aj.elements[12]=-d;$i.elements[12]=d;d=-f*b.aspect+e;var g=f*b.aspect+e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraL.projectionMatrix.copy(c);d=-f*b.aspect-e;g=f*b.aspect-e;c.elements[0]=2*b.near/(g-d);c.elements[8]=(g+d)/(g-d);this.cameraR.projectionMatrix.copy(c)}this.cameraL.matrixWorld.copy(a.matrixWorld).multiply(aj);
this.cameraR.matrixWorld.copy(a.matrixWorld).multiply($i)}});Object.assign(Hg.prototype,{start:function(){this.oldTime=this.startTime=("undefined"===typeof performance?Date:performance).now();this.elapsedTime=0;this.running=!0},stop:function(){this.getElapsedTime();this.autoStart=this.running=!1},getElapsedTime:function(){this.getDelta();return this.elapsedTime},getDelta:function(){var a=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){var b=("undefined"===typeof performance?
Date:performance).now();a=(b-this.oldTime)/1E3;this.oldTime=b;this.elapsedTime+=a}return a}});var yc=new n,bj=new Da,bl=new n,zc=new n;Ig.prototype=Object.assign(Object.create(D.prototype),{constructor:Ig,getInput:function(){return this.gain},removeFilter:function(){null!==this.filter&&(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination),this.gain.connect(this.context.destination),this.filter=null);return this},getFilter:function(){return this.filter},setFilter:function(a){null!==
this.filter?(this.gain.disconnect(this.filter),this.filter.disconnect(this.context.destination)):this.gain.disconnect(this.context.destination);this.filter=a;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this},getMasterVolume:function(){return this.gain.gain.value},setMasterVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,.01);return this},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);a=this.context.listener;
var b=this.up;this.timeDelta=this._clock.getDelta();this.matrixWorld.decompose(yc,bj,bl);zc.set(0,0,-1).applyQuaternion(bj);if(a.positionX){var c=this.context.currentTime+this.timeDelta;a.positionX.linearRampToValueAtTime(yc.x,c);a.positionY.linearRampToValueAtTime(yc.y,c);a.positionZ.linearRampToValueAtTime(yc.z,c);a.forwardX.linearRampToValueAtTime(zc.x,c);a.forwardY.linearRampToValueAtTime(zc.y,c);a.forwardZ.linearRampToValueAtTime(zc.z,c);a.upX.linearRampToValueAtTime(b.x,c);a.upY.linearRampToValueAtTime(b.y,
c);a.upZ.linearRampToValueAtTime(b.z,c)}else a.setPosition(yc.x,yc.y,yc.z),a.setOrientation(zc.x,zc.y,zc.z,b.x,b.y,b.z)}});hd.prototype=Object.assign(Object.create(D.prototype),{constructor:hd,getOutput:function(){return this.gain},setNodeSource:function(a){this.hasPlaybackControl=!1;this.sourceType="audioNode";this.source=a;this.connect();return this},setMediaElementSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(a);this.connect();
return this},setMediaStreamSource:function(a){this.hasPlaybackControl=!1;this.sourceType="mediaStreamNode";this.source=this.context.createMediaStreamSource(a);this.connect();return this},setBuffer:function(a){this.buffer=a;this.sourceType="buffer";this.autoplay&&this.play();return this},play:function(a){void 0===a&&(a=0);if(!0===this.isPlaying)console.warn("THREE.Audio: Audio is already playing.");else if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return this._startedAt=this.context.currentTime+a,a=this.context.createBufferSource(),a.buffer=this.buffer,a.loop=this.loop,a.loopStart=this.loopStart,a.loopEnd=this.loopEnd,a.onended=this.onEnded.bind(this),a.start(this._startedAt,this._pausedAt+this.offset,this.duration),this.isPlaying=!0,this.source=a,this.setDetune(this.detune),this.setPlaybackRate(this.playbackRate),this.connect()},pause:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return!0===this.isPlaying&&(this._pausedAt=(this.context.currentTime-this._startedAt)*this.playbackRate,this.source.stop(),this.source.onended=null,this.isPlaying=!1),this},stop:function(){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this._pausedAt=0,this.source.stop(),this.source.onended=null,this.isPlaying=!1,this},connect:function(){if(0<this.filters.length){this.source.connect(this.filters[0]);for(var a=1,b=this.filters.length;a<
b;a++)this.filters[a-1].connect(this.filters[a]);this.filters[this.filters.length-1].connect(this.getOutput())}else this.source.connect(this.getOutput());return this},disconnect:function(){if(0<this.filters.length){this.source.disconnect(this.filters[0]);for(var a=1,b=this.filters.length;a<b;a++)this.filters[a-1].disconnect(this.filters[a]);this.filters[this.filters.length-1].disconnect(this.getOutput())}else this.source.disconnect(this.getOutput());return this},getFilters:function(){return this.filters},
setFilters:function(a){a||(a=[]);!0===this.isPlaying?(this.disconnect(),this.filters=a,this.connect()):this.filters=a;return this},setDetune:function(a){this.detune=a;if(void 0!==this.source.detune)return!0===this.isPlaying&&this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,.01),this},getDetune:function(){return this.detune},getFilter:function(){return this.getFilters()[0]},setFilter:function(a){return this.setFilters(a?[a]:[])},setPlaybackRate:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");
else return this.playbackRate=a,!0===this.isPlaying&&this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,.01),this},getPlaybackRate:function(){return this.playbackRate},onEnded:function(){this.isPlaying=!1},getLoop:function(){return!1===this.hasPlaybackControl?(console.warn("THREE.Audio: this Audio has no playback control."),!1):this.loop},setLoop:function(a){if(!1===this.hasPlaybackControl)console.warn("THREE.Audio: this Audio has no playback control.");else return this.loop=
a,!0===this.isPlaying&&(this.source.loop=this.loop),this},setLoopStart:function(a){this.loopStart=a;return this},setLoopEnd:function(a){this.loopEnd=a;return this},getVolume:function(){return this.gain.gain.value},setVolume:function(a){this.gain.gain.setTargetAtTime(a,this.context.currentTime,.01);return this}});var Ac=new n,cj=new Da,cl=new n,Bc=new n;Kg.prototype=Object.assign(Object.create(hd.prototype),{constructor:Kg,getOutput:function(){return this.panner},getRefDistance:function(){return this.panner.refDistance},
setRefDistance:function(a){this.panner.refDistance=a;return this},getRolloffFactor:function(){return this.panner.rolloffFactor},setRolloffFactor:function(a){this.panner.rolloffFactor=a;return this},getDistanceModel:function(){return this.panner.distanceModel},setDistanceModel:function(a){this.panner.distanceModel=a;return this},getMaxDistance:function(){return this.panner.maxDistance},setMaxDistance:function(a){this.panner.maxDistance=a;return this},setDirectionalCone:function(a,b,c){this.panner.coneInnerAngle=
a;this.panner.coneOuterAngle=b;this.panner.coneOuterGain=c;return this},updateMatrixWorld:function(a){D.prototype.updateMatrixWorld.call(this,a);if(!0!==this.hasPlaybackControl||!1!==this.isPlaying)if(this.matrixWorld.decompose(Ac,cj,cl),Bc.set(0,0,1).applyQuaternion(cj),a=this.panner,a.positionX){var b=this.context.currentTime+this.listener.timeDelta;a.positionX.linearRampToValueAtTime(Ac.x,b);a.positionY.linearRampToValueAtTime(Ac.y,b);a.positionZ.linearRampToValueAtTime(Ac.z,b);a.orientationX.linearRampToValueAtTime(Bc.x,
b);a.orientationY.linearRampToValueAtTime(Bc.y,b);a.orientationZ.linearRampToValueAtTime(Bc.z,b)}else a.setPosition(Ac.x,Ac.y,Ac.z),a.setOrientation(Bc.x,Bc.y,Bc.z)}});Object.assign(Lg.prototype,{getFrequencyData:function(){this.analyser.getByteFrequencyData(this.data);return this.data},getAverageFrequency:function(){for(var a=0,b=this.getFrequencyData(),c=0;c<b.length;c++)a+=b[c];return a/b.length}});Object.assign(Mg.prototype,{accumulate:function(a,b){var c=this.buffer,d=this.valueSize;a=a*d+d;
var e=this.cumulativeWeight;if(0===e){for(e=0;e!==d;++e)c[a+e]=c[e];e=b}else e+=b,this._mixBufferRegion(c,a,0,b/e,d);this.cumulativeWeight=e},apply:function(a){var b=this.valueSize,c=this.buffer;a=a*b+b;var d=this.cumulativeWeight,e=this.binding;this.cumulativeWeight=0;1>d&&this._mixBufferRegion(c,a,3*b,1-d,b);d=b;for(var f=b+b;d!==f;++d)if(c[d]!==c[d+b]){e.setValue(c,a);break}},saveOriginalState:function(){var a=this.buffer,b=this.valueSize,c=3*b;this.binding.getValue(a,c);for(var d=b;d!==c;++d)a[d]=
a[c+d%b];this.cumulativeWeight=0},restoreOriginalState:function(){this.binding.setValue(this.buffer,3*this.valueSize)},_select:function(a,b,c,d,e){if(.5<=d)for(d=0;d!==e;++d)a[b+d]=a[c+d]},_slerp:function(a,b,c,d){Da.slerpFlat(a,b,a,b,a,c,d)},_lerp:function(a,b,c,d,e){for(var f=1-d,g=0;g!==e;++g){var h=b+g;a[h]=a[h]*f+a[c+g]*d}}});var dl=/[\[\]\.:\/]/g,el="[^"+"\\[\\]\\.:\\/".replace("\\.","")+"]",fl=/((?:WC+[\/:])*)/.source.replace("WC","[^\\[\\]\\.:\\/]"),gl=/(WCOD+)?/.source.replace("WCOD",el),
hl=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC","[^\\[\\]\\.:\\/]"),il=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC","[^\\[\\]\\.:\\/]"),jl=new RegExp("^"+fl+gl+hl+il+"$"),kl=["material","materials","bones"];Object.assign(ji.prototype,{getValue:function(a,b){this.bind();var c=this._bindings[this._targetGroup.nCachedObjects_];void 0!==c&&c.getValue(a,b)},setValue:function(a,b){for(var c=this._bindings,d=this._targetGroup.nCachedObjects_,e=c.length;d!==e;++d)c[d].setValue(a,b)},bind:function(){for(var a=
this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].bind()},unbind:function(){for(var a=this._bindings,b=this._targetGroup.nCachedObjects_,c=a.length;b!==c;++b)a[b].unbind()}});Object.assign(Ba,{Composite:ji,create:function(a,b,c){return a&&a.isAnimationObjectGroup?new Ba.Composite(a,b,c):new Ba(a,b,c)},sanitizeNodeName:function(a){return a.replace(/\s/g,"_").replace(dl,"")},parseTrackName:function(a){var b=jl.exec(a);if(!b)throw Error("PropertyBinding: Cannot parse trackName: "+
a);b={nodeName:b[2],objectName:b[3],objectIndex:b[4],propertyName:b[5],propertyIndex:b[6]};var c=b.nodeName&&b.nodeName.lastIndexOf(".");if(void 0!==c&&-1!==c){var d=b.nodeName.substring(c+1);-1!==kl.indexOf(d)&&(b.nodeName=b.nodeName.substring(0,c),b.objectName=d)}if(null===b.propertyName||0===b.propertyName.length)throw Error("PropertyBinding: can not parse propertyName from trackName: "+a);return b},findNode:function(a,b){if(!b||""===b||"root"===b||"."===b||-1===b||b===a.name||b===a.uuid)return a;
if(a.skeleton){var c=a.skeleton.getBoneByName(b);if(void 0!==c)return c}if(a.children){var d=function(a){for(var c=0;c<a.length;c++){var e=a[c];if(e.name===b||e.uuid===b||(e=d(e.children)))return e}return null};if(a=d(a.children))return a}return null}});Object.assign(Ba.prototype,{_getValue_unavailable:function(){},_setValue_unavailable:function(){},BindingType:{Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Versioning:{None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},GetterByBindingType:[function(a,
b){a[b]=this.node[this.propertyName]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)a[b++]=c[d]},function(a,b){a[b]=this.resolvedProperty[this.propertyIndex]},function(a,b){this.resolvedProperty.toArray(a,b)}],SetterByBindingTypeAndVersioning:[[function(a,b){this.targetObject[this.propertyName]=a[b]},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.needsUpdate=!0},function(a,b){this.targetObject[this.propertyName]=a[b];this.targetObject.matrixWorldNeedsUpdate=
!0}],[function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++]},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.needsUpdate=!0},function(a,b){for(var c=this.resolvedProperty,d=0,e=c.length;d!==e;++d)c[d]=a[b++];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty[this.propertyIndex]=a[b]},function(a,b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.needsUpdate=!0},function(a,
b){this.resolvedProperty[this.propertyIndex]=a[b];this.targetObject.matrixWorldNeedsUpdate=!0}],[function(a,b){this.resolvedProperty.fromArray(a,b)},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.needsUpdate=!0},function(a,b){this.resolvedProperty.fromArray(a,b);this.targetObject.matrixWorldNeedsUpdate=!0}]],getValue:function(a,b){this.bind();this.getValue(a,b)},setValue:function(a,b){this.bind();this.setValue(a,b)},bind:function(){var a=this.node,b=this.parsedPath,c=b.objectName,
d=b.propertyName,e=b.propertyIndex;a||(this.node=a=Ba.findNode(this.rootNode,b.nodeName)||this.rootNode);this.getValue=this._getValue_unavailable;this.setValue=this._setValue_unavailable;if(a){if(c){var f=b.objectIndex;switch(c){case "materials":if(!a.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!a.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",
this);return}a=a.material.materials;break;case "bones":if(!a.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}a=a.skeleton.bones;for(c=0;c<a.length;c++)if(a[c].name===f){f=c;break}break;default:if(void 0===a[c]){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}a=a[c]}if(void 0!==f){if(void 0===a[f]){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",
this,a);return}a=a[f]}}f=a[d];if(void 0===f)console.error("THREE.PropertyBinding: Trying to update property for track: "+b.nodeName+"."+d+" but it wasn't found.",a);else{b=this.Versioning.None;this.targetObject=a;void 0!==a.needsUpdate?b=this.Versioning.NeedsUpdate:void 0!==a.matrixWorldNeedsUpdate&&(b=this.Versioning.MatrixWorldNeedsUpdate);c=this.BindingType.Direct;if(void 0!==e){if("morphTargetInfluences"===d){if(!a.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",
this);return}if(a.geometry.isBufferGeometry){if(!a.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}for(c=0;c<this.node.geometry.morphAttributes.position.length;c++)if(a.geometry.morphAttributes.position[c].name===e){e=c;break}}else{if(!a.geometry.morphTargets){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphTargets.",
this);return}for(c=0;c<this.node.geometry.morphTargets.length;c++)if(a.geometry.morphTargets[c].name===e){e=c;break}}}c=this.BindingType.ArrayElement;this.resolvedProperty=f;this.propertyIndex=e}else void 0!==f.fromArray&&void 0!==f.toArray?(c=this.BindingType.HasFromToArray,this.resolvedProperty=f):Array.isArray(f)?(c=this.BindingType.EntireArray,this.resolvedProperty=f):this.propertyName=d;this.getValue=this.GetterByBindingType[c];this.setValue=this.SetterByBindingTypeAndVersioning[c][b]}}else console.error("THREE.PropertyBinding: Trying to update node for track: "+
this.path+" but it wasn't found.")},unbind:function(){this.node=null;this.getValue=this._getValue_unbound;this.setValue=this._setValue_unbound}});Object.assign(Ba.prototype,{_getValue_unbound:Ba.prototype.getValue,_setValue_unbound:Ba.prototype.setValue});Object.assign(ki.prototype,{isAnimationObjectGroup:!0,add:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._paths,f=this._parsedPaths,g=this._bindings,h=g.length,l=void 0,m=0,n=arguments.length;m!==
n;++m){var p=arguments[m],q=p.uuid,t=d[q];if(void 0===t){t=b++;d[q]=t;a.push(p);q=0;for(var r=h;q!==r;++q)g[q].push(new Ba(p,e[q],f[q]))}else if(t<c){l=a[t];var u=--c;r=a[u];d[r.uuid]=t;a[t]=r;d[q]=u;a[u]=p;q=0;for(r=h;q!==r;++q){var x=g[q],w=x[t];x[t]=x[u];void 0===w&&(w=new Ba(p,e[q],f[q]));x[u]=w}}else a[t]!==l&&console.error("THREE.AnimationObjectGroup: Different objects with the same UUID detected. Clean the caches or recreate your infrastructure when reloading scenes.")}this.nCachedObjects_=
c},remove:function(){for(var a=this._objects,b=this.nCachedObjects_,c=this._indicesByUUID,d=this._bindings,e=d.length,f=0,g=arguments.length;f!==g;++f){var h=arguments[f],l=h.uuid,m=c[l];if(void 0!==m&&m>=b){var n=b++,p=a[n];c[p.uuid]=m;a[m]=p;c[l]=n;a[n]=h;h=0;for(l=e;h!==l;++h){p=d[h];var q=p[m];p[m]=p[n];p[n]=q}}}this.nCachedObjects_=b},uncache:function(){for(var a=this._objects,b=a.length,c=this.nCachedObjects_,d=this._indicesByUUID,e=this._bindings,f=e.length,g=0,h=arguments.length;g!==h;++g){var l=
arguments[g].uuid,m=d[l];if(void 0!==m)if(delete d[l],m<c){l=--c;var n=a[l],p=--b,q=a[p];d[n.uuid]=m;a[m]=n;d[q.uuid]=l;a[l]=q;a.pop();n=0;for(q=f;n!==q;++n){var t=e[n],r=t[p];t[m]=t[l];t[l]=r;t.pop()}}else for(p=--b,q=a[p],d[q.uuid]=m,a[m]=q,a.pop(),n=0,q=f;n!==q;++n)t=e[n],t[m]=t[p],t.pop()}this.nCachedObjects_=c},subscribe_:function(a,b){var c=this._bindingsIndicesByPath,d=c[a],e=this._bindings;if(void 0!==d)return e[d];var f=this._paths,g=this._parsedPaths,h=this._objects,l=this.nCachedObjects_,
m=Array(h.length);d=e.length;c[a]=d;f.push(a);g.push(b);e.push(m);c=l;for(d=h.length;c!==d;++c)m[c]=new Ba(h[c],a,b);return m},unsubscribe_:function(a){var b=this._bindingsIndicesByPath,c=b[a];if(void 0!==c){var d=this._paths,e=this._parsedPaths,f=this._bindings,g=f.length-1,h=f[g];b[a[g]]=c;f[c]=h;f.pop();e[c]=e[g];e.pop();d[c]=d[g];d.pop()}}});Object.assign(li.prototype,{play:function(){this._mixer._activateAction(this);return this},stop:function(){this._mixer._deactivateAction(this);return this.reset()},
reset:function(){this.paused=!1;this.enabled=!0;this.time=0;this._loopCount=-1;this._startTime=null;return this.stopFading().stopWarping()},isRunning:function(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)},isScheduled:function(){return this._mixer._isActiveAction(this)},startAt:function(a){this._startTime=a;return this},setLoop:function(a,b){this.loop=a;this.repetitions=b;return this},setEffectiveWeight:function(a){this.weight=a;
this._effectiveWeight=this.enabled?a:0;return this.stopFading()},getEffectiveWeight:function(){return this._effectiveWeight},fadeIn:function(a){return this._scheduleFading(a,0,1)},fadeOut:function(a){return this._scheduleFading(a,1,0)},crossFadeFrom:function(a,b,c){a.fadeOut(b);this.fadeIn(b);if(c){c=this._clip.duration;var d=a._clip.duration,e=c/d;a.warp(1,d/c,b);this.warp(e,1,b)}return this},crossFadeTo:function(a,b,c){return a.crossFadeFrom(this,b,c)},stopFading:function(){var a=this._weightInterpolant;
null!==a&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},setEffectiveTimeScale:function(a){this.timeScale=a;this._effectiveTimeScale=this.paused?0:a;return this.stopWarping()},getEffectiveTimeScale:function(){return this._effectiveTimeScale},setDuration:function(a){this.timeScale=this._clip.duration/a;return this.stopWarping()},syncWith:function(a){this.time=a.time;this.timeScale=a.timeScale;return this.stopWarping()},halt:function(a){return this.warp(this._effectiveTimeScale,
0,a)},warp:function(a,b,c){var d=this._mixer,e=d.time,f=this._timeScaleInterpolant,g=this.timeScale;null===f&&(this._timeScaleInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;d[1]=e+c;f[0]=a/g;f[1]=b/g;return this},stopWarping:function(){var a=this._timeScaleInterpolant;null!==a&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(a));return this},getMixer:function(){return this._mixer},getClip:function(){return this._clip},getRoot:function(){return this._localRoot||
this._mixer._root},_update:function(a,b,c,d){if(this.enabled){var e=this._startTime;if(null!==e){b=(a-e)*c;if(0>b||0===c)return;this._startTime=null;b*=c}b*=this._updateTimeScale(a);c=this._updateTime(b);a=this._updateWeight(a);if(0<a){b=this._interpolants;e=this._propertyBindings;for(var f=0,g=b.length;f!==g;++f)b[f].evaluate(c),e[f].accumulate(d,a)}}else this._updateWeight(a)},_updateWeight:function(a){var b=0;if(this.enabled){b=this.weight;var c=this._weightInterpolant;if(null!==c){var d=c.evaluate(a)[0];
b*=d;a>c.parameterPositions[1]&&(this.stopFading(),0===d&&(this.enabled=!1))}}return this._effectiveWeight=b},_updateTimeScale:function(a){var b=0;if(!this.paused){b=this.timeScale;var c=this._timeScaleInterpolant;if(null!==c){var d=c.evaluate(a)[0];b*=d;a>c.parameterPositions[1]&&(this.stopWarping(),0===b?this.paused=!0:this.timeScale=b)}}return this._effectiveTimeScale=b},_updateTime:function(a){var b=this.time+a,c=this._clip.duration,d=this.loop,e=this._loopCount,f=2202===d;if(0===a)return-1===
e?b:f&&1===(e&1)?c-b:b;if(2200===d)a:{if(-1===e&&(this._loopCount=0,this._setEndings(!0,!0,!1)),b>=c)b=c;else if(0>b)b=0;else{this.time=b;break a}this.clampWhenFinished?this.paused=!0:this.enabled=!1;this.time=b;this._mixer.dispatchEvent({type:"finished",action:this,direction:0>a?-1:1})}else{-1===e&&(0<=a?(e=0,this._setEndings(!0,0===this.repetitions,f)):this._setEndings(0===this.repetitions,!0,f));if(b>=c||0>b){d=Math.floor(b/c);b-=c*d;e+=Math.abs(d);var g=this.repetitions-e;0>=g?(this.clampWhenFinished?
this.paused=!0:this.enabled=!1,this.time=b=0<a?c:0,this._mixer.dispatchEvent({type:"finished",action:this,direction:0<a?1:-1})):(1===g?(a=0>a,this._setEndings(a,!a,f)):this._setEndings(!1,!1,f),this._loopCount=e,this.time=b,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:d}))}else this.time=b;if(f&&1===(e&1))return c-b}return b},_setEndings:function(a,b,c){var d=this._interpolantSettings;c?(d.endingStart=2401,d.endingEnd=2401):(d.endingStart=a?this.zeroSlopeAtStart?2401:2400:2402,d.endingEnd=
b?this.zeroSlopeAtEnd?2401:2400:2402)},_scheduleFading:function(a,b,c){var d=this._mixer,e=d.time,f=this._weightInterpolant;null===f&&(this._weightInterpolant=f=d._lendControlInterpolant());d=f.parameterPositions;f=f.sampleValues;d[0]=e;f[0]=b;d[1]=e+a;f[1]=c;return this}});Ng.prototype=Object.assign(Object.create(Fa.prototype),{constructor:Ng,_bindAction:function(a,b){var c=a._localRoot||this._root,d=a._clip.tracks,e=d.length,f=a._propertyBindings;a=a._interpolants;var g=c.uuid,h=this._bindingsByRootAndName,
l=h[g];void 0===l&&(l={},h[g]=l);for(h=0;h!==e;++h){var m=d[h],n=m.name,p=l[n];if(void 0===p){p=f[h];if(void 0!==p){null===p._cacheIndex&&(++p.referenceCount,this._addInactiveBinding(p,g,n));continue}p=new Mg(Ba.create(c,n,b&&b._propertyBindings[h].binding.parsedPath),m.ValueTypeName,m.getValueSize());++p.referenceCount;this._addInactiveBinding(p,g,n)}f[h]=p;a[h].resultBuffer=p.buffer}},_activateAction:function(a){if(!this._isActiveAction(a)){if(null===a._cacheIndex){var b=(a._localRoot||this._root).uuid,
c=a._clip.uuid,d=this._actionsByClip[c];this._bindAction(a,d&&d.knownActions[0]);this._addInactiveAction(a,c,b)}b=a._propertyBindings;c=0;for(d=b.length;c!==d;++c){var e=b[c];0===e.useCount++&&(this._lendBinding(e),e.saveOriginalState())}this._lendAction(a)}},_deactivateAction:function(a){if(this._isActiveAction(a)){for(var b=a._propertyBindings,c=0,d=b.length;c!==d;++c){var e=b[c];0===--e.useCount&&(e.restoreOriginalState(),this._takeBackBinding(e))}this._takeBackAction(a)}},_initMemoryManager:function(){this._actions=
[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;var a=this;this.stats={actions:{get total(){return a._actions.length},get inUse(){return a._nActiveActions}},bindings:{get total(){return a._bindings.length},get inUse(){return a._nActiveBindings}},controlInterpolants:{get total(){return a._controlInterpolants.length},get inUse(){return a._nActiveControlInterpolants}}}},
_isActiveAction:function(a){a=a._cacheIndex;return null!==a&&a<this._nActiveActions},_addInactiveAction:function(a,b,c){var d=this._actions,e=this._actionsByClip,f=e[b];void 0===f?(f={knownActions:[a],actionByRoot:{}},a._byClipCacheIndex=0,e[b]=f):(b=f.knownActions,a._byClipCacheIndex=b.length,b.push(a));a._cacheIndex=d.length;d.push(a);f.actionByRoot[c]=a},_removeInactiveAction:function(a){var b=this._actions,c=b[b.length-1],d=a._cacheIndex;c._cacheIndex=d;b[d]=c;b.pop();a._cacheIndex=null;b=a._clip.uuid;
c=this._actionsByClip;d=c[b];var e=d.knownActions,f=e[e.length-1],g=a._byClipCacheIndex;f._byClipCacheIndex=g;e[g]=f;e.pop();a._byClipCacheIndex=null;delete d.actionByRoot[(a._localRoot||this._root).uuid];0===e.length&&delete c[b];this._removeInactiveBindingsForAction(a)},_removeInactiveBindingsForAction:function(a){a=a._propertyBindings;for(var b=0,c=a.length;b!==c;++b){var d=a[b];0===--d.referenceCount&&this._removeInactiveBinding(d)}},_lendAction:function(a){var b=this._actions,c=a._cacheIndex,
d=this._nActiveActions++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackAction:function(a){var b=this._actions,c=a._cacheIndex,d=--this._nActiveActions,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_addInactiveBinding:function(a,b,c){var d=this._bindingsByRootAndName,e=d[b],f=this._bindings;void 0===e&&(e={},d[b]=e);e[c]=a;a._cacheIndex=f.length;f.push(a)},_removeInactiveBinding:function(a){var b=this._bindings,c=a.binding,d=c.rootNode.uuid;c=c.path;var e=this._bindingsByRootAndName,
f=e[d],g=b[b.length-1];a=a._cacheIndex;g._cacheIndex=a;b[a]=g;b.pop();delete f[c];0===Object.keys(f).length&&delete e[d]},_lendBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=this._nActiveBindings++,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_takeBackBinding:function(a){var b=this._bindings,c=a._cacheIndex,d=--this._nActiveBindings,e=b[d];a._cacheIndex=d;b[d]=a;e._cacheIndex=c;b[c]=e},_lendControlInterpolant:function(){var a=this._controlInterpolants,b=this._nActiveControlInterpolants++,
c=a[b];void 0===c&&(c=new pe(new Float32Array(2),new Float32Array(2),1,this._controlInterpolantsResultBuffer),c.__cacheIndex=b,a[b]=c);return c},_takeBackControlInterpolant:function(a){var b=this._controlInterpolants,c=a.__cacheIndex,d=--this._nActiveControlInterpolants,e=b[d];a.__cacheIndex=d;b[d]=a;e.__cacheIndex=c;b[c]=e},_controlInterpolantsResultBuffer:new Float32Array(1),clipAction:function(a,b){var c=b||this._root,d=c.uuid;c="string"===typeof a?Qa.findByName(c,a):a;a=null!==c?c.uuid:a;var e=
this._actionsByClip[a],f=null;if(void 0!==e){f=e.actionByRoot[d];if(void 0!==f)return f;f=e.knownActions[0];null===c&&(c=f._clip)}if(null===c)return null;b=new li(this,c,b);this._bindAction(b,f);this._addInactiveAction(b,a,d);return b},existingAction:function(a,b){var c=b||this._root;b=c.uuid;c="string"===typeof a?Qa.findByName(c,a):a;a=this._actionsByClip[c?c.uuid:a];return void 0!==a?a.actionByRoot[b]||null:null},stopAllAction:function(){for(var a=this._actions,b=this._nActiveActions,c=this._bindings,
d=this._nActiveBindings,e=this._nActiveBindings=this._nActiveActions=0;e!==b;++e)a[e].reset();for(e=0;e!==d;++e)c[e].useCount=0;return this},update:function(a){a*=this.timeScale;for(var b=this._actions,c=this._nActiveActions,d=this.time+=a,e=Math.sign(a),f=this._accuIndex^=1,g=0;g!==c;++g)b[g]._update(d,a,e,f);a=this._bindings;b=this._nActiveBindings;for(g=0;g!==b;++g)a[g].apply(f);return this},setTime:function(a){for(var b=this.time=0;b<this._actions.length;b++)this._actions[b].time=0;return this.update(a)},
getRoot:function(){return this._root},uncacheClip:function(a){var b=this._actions;a=a.uuid;var c=this._actionsByClip,d=c[a];if(void 0!==d){d=d.knownActions;for(var e=0,f=d.length;e!==f;++e){var g=d[e];this._deactivateAction(g);var h=g._cacheIndex,l=b[b.length-1];g._cacheIndex=null;g._byClipCacheIndex=null;l._cacheIndex=h;b[h]=l;b.pop();this._removeInactiveBindingsForAction(g)}delete c[a]}},uncacheRoot:function(a){a=a.uuid;var b=this._actionsByClip;for(d in b){var c=b[d].actionByRoot[a];void 0!==c&&
(this._deactivateAction(c),this._removeInactiveAction(c))}var d=this._bindingsByRootAndName[a];if(void 0!==d)for(var e in d)a=d[e],a.restoreOriginalState(),this._removeInactiveBinding(a)},uncacheAction:function(a,b){a=this.existingAction(a,b);null!==a&&(this._deactivateAction(a),this._removeInactiveAction(a))}});uf.prototype.clone=function(){return new uf(void 0===this.value.clone?this.value:this.value.clone())};Og.prototype=Object.assign(Object.create(sb.prototype),{constructor:Og,isInstancedInterleavedBuffer:!0,
copy:function(a){sb.prototype.copy.call(this,a);this.meshPerAttribute=a.meshPerAttribute;return this}});Object.assign(mi.prototype,{linePrecision:1,set:function(a,b){this.ray.set(a,b)},setFromCamera:function(a,b){b&&b.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(b.matrixWorld),this.ray.direction.set(a.x,a.y,.5).unproject(b).sub(this.ray.origin).normalize(),this.camera=b):b&&b.isOrthographicCamera?(this.ray.origin.set(a.x,a.y,(b.near+b.far)/(b.near-b.far)).unproject(b),this.ray.direction.set(0,
0,-1).transformDirection(b.matrixWorld),this.camera=b):console.error("THREE.Raycaster: Unsupported camera type.")},intersectObject:function(a,b,c){c=c||[];Pg(a,this,c,b);c.sort(ni);return c},intersectObjects:function(a,b,c){c=c||[];if(!1===Array.isArray(a))return console.warn("THREE.Raycaster.intersectObjects: objects is not an Array."),c;for(var d=0,e=a.length;d<e;d++)Pg(a[d],this,c,b);c.sort(ni);return c}});Object.assign(oi.prototype,{set:function(a,b,c){this.radius=a;this.phi=b;this.theta=c;return this},
clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.phi=a.phi;this.theta=a.theta;return this},makeSafe:function(){this.phi=Math.max(1E-6,Math.min(Math.PI-1E-6,this.phi));return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,c){this.radius=Math.sqrt(a*a+b*b+c*c);0===this.radius?this.phi=this.theta=0:(this.theta=Math.atan2(a,c),this.phi=Math.acos(O.clamp(b/this.radius,-1,1)));return this}});
Object.assign(pi.prototype,{set:function(a,b,c){this.radius=a;this.theta=b;this.y=c;return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.radius=a.radius;this.theta=a.theta;this.y=a.y;return this},setFromVector3:function(a){return this.setFromCartesianCoords(a.x,a.y,a.z)},setFromCartesianCoords:function(a,b,c){this.radius=Math.sqrt(a*a+c*c);this.theta=Math.atan2(a,c);this.y=b;return this}});var dj=new x;Object.assign(Qg.prototype,{set:function(a,b){this.min.copy(a);
this.max.copy(b);return this},setFromPoints:function(a){this.makeEmpty();for(var b=0,c=a.length;b<c;b++)this.expandByPoint(a[b]);return this},setFromCenterAndSize:function(a,b){b=dj.copy(b).multiplyScalar(.5);this.min.copy(a).sub(b);this.max.copy(a).add(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.min.copy(a.min);this.max.copy(a.max);return this},makeEmpty:function(){this.min.x=this.min.y=Infinity;this.max.x=this.max.y=-Infinity;return this},isEmpty:function(){return this.max.x<
this.min.x||this.max.y<this.min.y},getCenter:function(a){void 0===a&&(console.warn("THREE.Box2: .getCenter() target is now required"),a=new x);return this.isEmpty()?a.set(0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)},getSize:function(a){void 0===a&&(console.warn("THREE.Box2: .getSize() target is now required"),a=new x);return this.isEmpty()?a.set(0,0):a.subVectors(this.max,this.min)},expandByPoint:function(a){this.min.min(a);this.max.max(a);return this},expandByVector:function(a){this.min.sub(a);
this.max.add(a);return this},expandByScalar:function(a){this.min.addScalar(-a);this.max.addScalar(a);return this},containsPoint:function(a){return a.x<this.min.x||a.x>this.max.x||a.y<this.min.y||a.y>this.max.y?!1:!0},containsBox:function(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y},getParameter:function(a,b){void 0===b&&(console.warn("THREE.Box2: .getParameter() target is now required"),b=new x);return b.set((a.x-this.min.x)/(this.max.x-this.min.x),
(a.y-this.min.y)/(this.max.y-this.min.y))},intersectsBox:function(a){return a.max.x<this.min.x||a.min.x>this.max.x||a.max.y<this.min.y||a.min.y>this.max.y?!1:!0},clampPoint:function(a,b){void 0===b&&(console.warn("THREE.Box2: .clampPoint() target is now required"),b=new x);return b.copy(a).clamp(this.min,this.max)},distanceToPoint:function(a){return dj.copy(a).clamp(this.min,this.max).sub(a).length()},intersect:function(a){this.min.max(a.min);this.max.min(a.max);return this},union:function(a){this.min.min(a.min);
this.max.max(a.max);return this},translate:function(a){this.min.add(a);this.max.add(a);return this},equals:function(a){return a.min.equals(this.min)&&a.max.equals(this.max)}});var ej=new n,Vf=new n;Object.assign(Rg.prototype,{set:function(a,b){this.start.copy(a);this.end.copy(b);return this},clone:function(){return(new this.constructor).copy(this)},copy:function(a){this.start.copy(a.start);this.end.copy(a.end);return this},getCenter:function(a){void 0===a&&(console.warn("THREE.Line3: .getCenter() target is now required"),
a=new n);return a.addVectors(this.start,this.end).multiplyScalar(.5)},delta:function(a){void 0===a&&(console.warn("THREE.Line3: .delta() target is now required"),a=new n);return a.subVectors(this.end,this.start)},distanceSq:function(){return this.start.distanceToSquared(this.end)},distance:function(){return this.start.distanceTo(this.end)},at:function(a,b){void 0===b&&(console.warn("THREE.Line3: .at() target is now required"),b=new n);return this.delta(b).multiplyScalar(a).add(this.start)},closestPointToPointParameter:function(a,
b){ej.subVectors(a,this.start);Vf.subVectors(this.end,this.start);a=Vf.dot(Vf);a=Vf.dot(ej)/a;b&&(a=O.clamp(a,0,1));return a},closestPointToPoint:function(a,b,c){a=this.closestPointToPointParameter(a,b);void 0===c&&(console.warn("THREE.Line3: .closestPointToPoint() target is now required"),c=new n);return this.delta(c).multiplyScalar(a).add(this.start)},applyMatrix4:function(a){this.start.applyMatrix4(a);this.end.applyMatrix4(a);return this},equals:function(a){return a.start.equals(this.start)&&a.end.equals(this.end)}});
te.prototype=Object.create(D.prototype);te.prototype.constructor=te;te.prototype.isImmediateRenderObject=!0;var fj=new n;id.prototype=Object.create(D.prototype);id.prototype.constructor=id;id.prototype.dispose=function(){this.cone.geometry.dispose();this.cone.material.dispose()};id.prototype.update=function(){this.light.updateMatrixWorld();var a=this.light.distance?this.light.distance:1E3,b=a*Math.tan(this.light.angle);this.cone.scale.set(b,b,a);fj.setFromMatrixPosition(this.light.target.matrixWorld);
this.cone.lookAt(fj);void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)};var Rb=new n,Wf=new P,th=new P;jd.prototype=Object.create(la.prototype);jd.prototype.constructor=jd;jd.prototype.updateMatrixWorld=function(a){var b=this.bones,c=this.geometry,d=c.getAttribute("position");th.getInverse(this.root.matrixWorld);for(var e=0,f=0;e<b.length;e++){var g=b[e];g.parent&&g.parent.isBone&&(Wf.multiplyMatrices(th,g.matrixWorld),Rb.setFromMatrixPosition(Wf),
d.setXYZ(f,Rb.x,Rb.y,Rb.z),Wf.multiplyMatrices(th,g.parent.matrixWorld),Rb.setFromMatrixPosition(Wf),d.setXYZ(f+1,Rb.x,Rb.y,Rb.z),f+=2)}c.getAttribute("position").needsUpdate=!0;D.prototype.updateMatrixWorld.call(this,a)};kd.prototype=Object.create(ca.prototype);kd.prototype.constructor=kd;kd.prototype.dispose=function(){this.geometry.dispose();this.material.dispose()};kd.prototype.update=function(){void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)};
var ll=new n,gj=new y,hj=new y;ld.prototype=Object.create(D.prototype);ld.prototype.constructor=ld;ld.prototype.dispose=function(){this.children[0].geometry.dispose();this.children[0].material.dispose()};ld.prototype.update=function(){var a=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{var b=a.geometry.getAttribute("color");gj.copy(this.light.color);hj.copy(this.light.groundColor);for(var c=0,d=b.count;c<d;c++){var e=c<d/2?gj:hj;b.setXYZ(c,e.r,e.g,e.b)}b.needsUpdate=
!0}a.lookAt(ll.setFromMatrixPosition(this.light.matrixWorld).negate())};vf.prototype=Object.assign(Object.create(la.prototype),{constructor:vf,copy:function(a){la.prototype.copy.call(this,a);this.geometry.copy(a.geometry);this.material.copy(a.material);return this},clone:function(){return(new this.constructor).copy(this)}});wf.prototype=Object.create(la.prototype);wf.prototype.constructor=wf;var ij=new n,Xf=new n,jj=new n;md.prototype=Object.create(D.prototype);md.prototype.constructor=md;md.prototype.dispose=
function(){this.lightPlane.geometry.dispose();this.lightPlane.material.dispose();this.targetLine.geometry.dispose();this.targetLine.material.dispose()};md.prototype.update=function(){ij.setFromMatrixPosition(this.light.matrixWorld);Xf.setFromMatrixPosition(this.light.target.matrixWorld);jj.subVectors(Xf,ij);this.lightPlane.lookAt(Xf);void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),
this.targetLine.material.color.copy(this.light.color));this.targetLine.lookAt(Xf);this.targetLine.scale.z=jj.length()};var xf=new n,fa=new db;ue.prototype=Object.create(la.prototype);ue.prototype.constructor=ue;ue.prototype.update=function(){var a=this.geometry,b=this.pointMap;fa.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse);ia("c",b,a,fa,0,0,-1);ia("t",b,a,fa,0,0,1);ia("n1",b,a,fa,-1,-1,-1);ia("n2",b,a,fa,1,-1,-1);ia("n3",b,a,fa,-1,1,-1);ia("n4",b,a,fa,1,1,-1);ia("f1",b,a,fa,
-1,-1,1);ia("f2",b,a,fa,1,-1,1);ia("f3",b,a,fa,-1,1,1);ia("f4",b,a,fa,1,1,1);ia("u1",b,a,fa,.7,1.1,-1);ia("u2",b,a,fa,-.7,1.1,-1);ia("u3",b,a,fa,0,2,-1);ia("cf1",b,a,fa,-1,0,1);ia("cf2",b,a,fa,1,0,1);ia("cf3",b,a,fa,0,-1,1);ia("cf4",b,a,fa,0,1,1);ia("cn1",b,a,fa,-1,0,-1);ia("cn2",b,a,fa,1,0,-1);ia("cn3",b,a,fa,0,-1,-1);ia("cn4",b,a,fa,0,1,-1);a.getAttribute("position").needsUpdate=!0};var Yf=new Sa;xb.prototype=Object.create(la.prototype);xb.prototype.constructor=xb;xb.prototype.update=function(a){void 0!==
a&&console.warn("THREE.BoxHelper: .update() has no longer arguments.");void 0!==this.object&&Yf.setFromObject(this.object);if(!Yf.isEmpty()){a=Yf.min;var b=Yf.max,c=this.geometry.attributes.position,d=c.array;d[0]=b.x;d[1]=b.y;d[2]=b.z;d[3]=a.x;d[4]=b.y;d[5]=b.z;d[6]=a.x;d[7]=a.y;d[8]=b.z;d[9]=b.x;d[10]=a.y;d[11]=b.z;d[12]=b.x;d[13]=b.y;d[14]=a.z;d[15]=a.x;d[16]=b.y;d[17]=a.z;d[18]=a.x;d[19]=a.y;d[20]=a.z;d[21]=b.x;d[22]=a.y;d[23]=a.z;c.needsUpdate=!0;this.geometry.computeBoundingSphere()}};xb.prototype.setFromObject=
function(a){this.object=a;this.update();return this};xb.prototype.copy=function(a){la.prototype.copy.call(this,a);this.object=a.object;return this};xb.prototype.clone=function(){return(new this.constructor).copy(this)};ve.prototype=Object.create(la.prototype);ve.prototype.constructor=ve;ve.prototype.updateMatrixWorld=function(a){var b=this.box;b.isEmpty()||(b.getCenter(this.position),b.getSize(this.scale),this.scale.multiplyScalar(.5),D.prototype.updateMatrixWorld.call(this,a))};we.prototype=Object.create(Ja.prototype);
we.prototype.constructor=we;we.prototype.updateMatrixWorld=function(a){var b=-this.plane.constant;1E-8>Math.abs(b)&&(b=1E-8);this.scale.set(.5*this.size,.5*this.size,b);this.children[0].material.side=0>b?1:0;this.lookAt(this.plane.normal);D.prototype.updateMatrixWorld.call(this,a)};var kj=new n,yf,Sg;yb.prototype=Object.create(D.prototype);yb.prototype.constructor=yb;yb.prototype.setDirection=function(a){.99999<a.y?this.quaternion.set(0,0,0,1):-.99999>a.y?this.quaternion.set(1,0,0,0):(kj.set(a.z,
0,-a.x).normalize(),this.quaternion.setFromAxisAngle(kj,Math.acos(a.y)))};yb.prototype.setLength=function(a,b,c){void 0===b&&(b=.2*a);void 0===c&&(c=.2*b);this.line.scale.set(1,Math.max(1E-4,a-b),1);this.line.updateMatrix();this.cone.scale.set(c,b,c);this.cone.position.y=a;this.cone.updateMatrix()};yb.prototype.setColor=function(a){this.line.material.color.set(a);this.cone.material.color.set(a)};yb.prototype.copy=function(a){D.prototype.copy.call(this,a,!1);this.line.copy(a.line);this.cone.copy(a.cone);
return this};yb.prototype.clone=function(){return(new this.constructor).copy(this)};xe.prototype=Object.create(la.prototype);xe.prototype.constructor=xe;var lb=Math.pow(2,8),lj=[.125,.215,.35,.446,.526,.582],vi=5+lj.length,mb={3E3:0,3001:1,3002:2,3004:3,3005:4,3006:5,3007:6},Vg=new gd,zf=function(a){var b=new Float32Array(a),c=new n(0,1,0);a=new vb({defines:{n:a},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:b},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:c},
inputEncoding:{value:mb[3E3]},outputEncoding:{value:mb[3E3]}},vertexShader:Xg(),fragmentShader:"\nprecision mediump float;\nprecision mediump int;\nvarying vec3 vOutputDirection;\nuniform sampler2D envMap;\nuniform int samples;\nuniform float weights[n];\nuniform bool latitudinal;\nuniform float dTheta;\nuniform float mipInt;\nuniform vec3 poleAxis;\n\n"+Yg()+"\n\n#define ENVMAP_TYPE_CUBE_UV\n#include <cube_uv_reflection_fragment>\n\nvoid main() {\n\tgl_FragColor = vec4(0.0);\n\tfor (int i = 0; i < n; i++) {\n\t\tif (i >= samples)\n\t\t\tbreak;\n\t\tfor (int dir = -1; dir < 2; dir += 2) {\n\t\t\tif (i == 0 && dir == 1)\n\t\t\t\tcontinue;\n\t\t\tvec3 axis = latitudinal ? poleAxis : cross(poleAxis, vOutputDirection);\n\t\t\tif (all(equal(axis, vec3(0.0))))\n\t\t\t\taxis = cross(vec3(0.0, 1.0, 0.0), vOutputDirection);\n\t\t\taxis = normalize(axis);\n\t\t\tfloat theta = dTheta * float(dir * i);\n\t\t\tfloat cosTheta = cos(theta);\n\t\t\t// Rodrigues' axis-angle rotation\n\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross(axis, vOutputDirection) * sin(theta)\n\t\t\t\t\t+ axis * dot(axis, vOutputDirection) * (1.0 - cosTheta);\n\t\t\tgl_FragColor.rgb +=\n\t\t\t\t\tweights[i] * bilinearCubeUV(envMap, sampleDirection, mipInt);\n\t\t}\n\t}\n\tgl_FragColor = linearToOutputTexel(gl_FragColor);\n}\n\t\t",
blending:0,depthTest:!1,depthWrite:!1});a.type="SphericalGaussianBlur";return a}(20),Sb=null,Tb=null,uh=function(){for(var a=[],b=[],c=[],d=8,e=0;e<vi;e++){var f=Math.pow(2,d);b.push(f);var g=1/f;4<e?g=lj[e-8+4-1]:0==e&&(g=0);c.push(g);g=1/(f-1);f=-g/2;g=1+g/2;var h=[f,f,g,f,g,g,f,f,g,g,f,g];f=new Float32Array(108);g=new Float32Array(72);for(var l=new Float32Array(36),m=0;6>m;m++){var n=m%3*2/3-1,p=2<m?0:-1;f.set([n,p,0,n+2/3,p,0,n+2/3,p+1,0,n,p,0,n+2/3,p+1,0,n,p+1,0],18*m);g.set(h,12*m);l.set([m,
m,m,m,m,m],6*m)}h=new G;h.setAttribute("position",new K(f,3));h.setAttribute("uv",new K(g,2));h.setAttribute("faceIndex",new K(l,1));a.push(h);4<d&&d--}return{_lodPlanes:a,_sizeLods:b,_sigmas:c}}(),ye=uh._lodPlanes,zi=uh._sizeLods,Bf=uh._sigmas,Af=null,Y=null,Cc=(1+Math.sqrt(5))/2,zd=1/Cc,xi=[new n(1,1,1),new n(-1,1,1),new n(1,1,-1),new n(-1,1,-1),new n(0,Cc,zd),new n(0,Cc,-zd),new n(zd,0,Cc),new n(-zd,0,Cc),new n(Cc,zd,0),new n(-Cc,zd,0)];Tg.prototype={constructor:Tg,fromScene:function(a,b,c,d){void 0===
b&&(b=0);void 0===c&&(c=.1);void 0===d&&(d=100);var e=ri();c=new pa(90,1,c,d);d=[1,1,1,1,-1,1];var f=[1,1,-1,-1,-1,1],g=Y.outputEncoding,h=Y.toneMapping,l=Y.toneMappingExposure,m=Y.getClearColor(),n=Y.getClearAlpha();Y.toneMapping=1;Y.toneMappingExposure=1;Y.outputEncoding=3E3;a.scale.z*=-1;var p=a.background;if(p&&p.isColor){p.convertSRGBToLinear();var q=Math.min(Math.max(Math.ceil(Math.log2(Math.max(p.r,p.g,p.b))),-128),127);p=p.multiplyScalar(Math.pow(2,-q));Y.setClearColor(p,(q+128)/255);a.background=
null}Y.setRenderTarget(e);for(p=0;6>p;p++)q=p%3,0==q?(c.up.set(0,d[p],0),c.lookAt(f[p],0,0)):1==q?(c.up.set(0,0,d[p]),c.lookAt(0,f[p],0)):(c.up.set(0,d[p],0),c.lookAt(0,0,f[p])),Wg(q*lb,2<p?lb:0,lb,lb),Y.render(a,c);Y.toneMapping=h;Y.toneMappingExposure=l;Y.outputEncoding=g;Y.setClearColor(m,n);a.scale.z*=-1;0<b&&wi(e,0,0,b);ui(e);ti();e.scissorTest=!1;return e},fromEquirectangular:function(a){a.magFilter=1003;a.minFilter=1003;a.generateMipmaps=!1;return this.fromCubemap(a)},fromCubemap:function(a){var b=
ri(a),c=new pb;a.isCubeTexture?null==Tb&&(Tb=Bi()):null==Sb&&(Sb=Ai());var d=a.isCubeTexture?Tb:Sb;c.add(new ca(ye[0],d));d=d.uniforms;d.envMap.value=a;a.isCubeTexture||d.texelSize.value.set(1/a.image.width,1/a.image.height);d.inputEncoding.value=mb[a.encoding];d.outputEncoding.value=mb[a.encoding];Y.setRenderTarget(b);Wg(0,0,3*lb,2*lb);Y.render(c,Vg);ui(b);ti();b.scissorTest=!1;return b},compileCubemapShader:function(){null==Tb&&(Tb=Bi(),Ug(Tb))},compileEquirectangularShader:function(){null==Sb&&
(Sb=Ai(),Ug(Sb))},dispose:function(){zf.dispose();null!=Tb&&Tb.dispose();null!=Sb&&Sb.dispose();for(var a=0;a<ye.length;a++)ye[a].dispose()}};I.create=function(a,b){console.log("THREE.Curve.create() has been deprecated");a.prototype=Object.create(I.prototype);a.prototype.constructor=a;a.prototype.getPoint=b;return a};Object.assign(wb.prototype,{createPointsGeometry:function(a){console.warn("THREE.CurvePath: .createPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");
a=this.getPoints(a);return this.createGeometry(a)},createSpacedPointsGeometry:function(a){console.warn("THREE.CurvePath: .createSpacedPointsGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");a=this.getSpacedPoints(a);return this.createGeometry(a)},createGeometry:function(a){console.warn("THREE.CurvePath: .createGeometry() has been removed. Use new THREE.Geometry().setFromPoints( points ) instead.");for(var b=new M,c=0,d=a.length;c<d;c++){var e=a[c];b.vertices.push(new n(e.x,
e.y,e.z||0))}return b}});Object.assign($a.prototype,{fromPoints:function(a){console.warn("THREE.Path: .fromPoints() has been renamed to .setFromPoints().");return this.setFromPoints(a)}});Ci.prototype=Object.create(Aa.prototype);Di.prototype=Object.create(Aa.prototype);Zg.prototype=Object.create(Aa.prototype);Object.assign(Zg.prototype,{initFromArray:function(){console.error("THREE.Spline: .initFromArray() has been removed.")},getControlPointsArray:function(){console.error("THREE.Spline: .getControlPointsArray() has been removed.")},
reparametrizeByArcLength:function(){console.error("THREE.Spline: .reparametrizeByArcLength() has been removed.")}});vf.prototype.setColors=function(){console.error("THREE.GridHelper: setColors() has been deprecated, pass them in the constructor instead.")};jd.prototype.update=function(){console.error("THREE.SkeletonHelper: update() no longer needs to be called.")};Object.assign(Q.prototype,{extractUrlBase:function(a){console.warn("THREE.Loader: .extractUrlBase() has been deprecated. Use THREE.LoaderUtils.extractUrlBase() instead.");
return rh.extractUrlBase(a)}});Q.Handlers={add:function(){console.error("THREE.Loader: Handlers.add() has been removed. Use LoadingManager.addHandler() instead.")},get:function(){console.error("THREE.Loader: Handlers.get() has been removed. Use LoadingManager.getHandler() instead.")}};Object.assign(rf.prototype,{setTexturePath:function(a){console.warn("THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().");return this.setResourcePath(a)}});Object.assign(Qg.prototype,{center:function(a){console.warn("THREE.Box2: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box2: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box2: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},size:function(a){console.warn("THREE.Box2: .size() has been renamed to .getSize().");return this.getSize(a)}});Object.assign(Sa.prototype,{center:function(a){console.warn("THREE.Box3: .center() has been renamed to .getCenter().");
return this.getCenter(a)},empty:function(){console.warn("THREE.Box3: .empty() has been renamed to .isEmpty().");return this.isEmpty()},isIntersectionBox:function(a){console.warn("THREE.Box3: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionSphere:function(a){console.warn("THREE.Box3: .isIntersectionSphere() has been renamed to .intersectsSphere().");return this.intersectsSphere(a)},size:function(a){console.warn("THREE.Box3: .size() has been renamed to .getSize().");
return this.getSize(a)}});Rg.prototype.center=function(a){console.warn("THREE.Line3: .center() has been renamed to .getCenter().");return this.getCenter(a)};Object.assign(O,{random16:function(){console.warn("THREE.Math: .random16() has been deprecated. Use Math.random() instead.");return Math.random()},nearestPowerOfTwo:function(a){console.warn("THREE.Math: .nearestPowerOfTwo() has been renamed to .floorPowerOfTwo().");return O.floorPowerOfTwo(a)},nextPowerOfTwo:function(a){console.warn("THREE.Math: .nextPowerOfTwo() has been renamed to .ceilPowerOfTwo().");
return O.ceilPowerOfTwo(a)}});Object.assign(za.prototype,{flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix3: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},multiplyVector3:function(a){console.warn("THREE.Matrix3: .multiplyVector3() has been removed. Use vector.applyMatrix3( matrix ) instead.");return a.applyMatrix3(this)},multiplyVector3Array:function(){console.error("THREE.Matrix3: .multiplyVector3Array() has been removed.")},applyToBuffer:function(a){console.warn("THREE.Matrix3: .applyToBuffer() has been removed. Use matrix.applyToBufferAttribute( attribute ) instead.");
return this.applyToBufferAttribute(a)},applyToVector3Array:function(){console.error("THREE.Matrix3: .applyToVector3Array() has been removed.")}});Object.assign(P.prototype,{extractPosition:function(a){console.warn("THREE.Matrix4: .extractPosition() has been renamed to .copyPosition().");return this.copyPosition(a)},flattenToArrayOffset:function(a,b){console.warn("THREE.Matrix4: .flattenToArrayOffset() has been deprecated. Use .toArray() instead.");return this.toArray(a,b)},getPosition:function(){console.warn("THREE.Matrix4: .getPosition() has been removed. Use Vector3.setFromMatrixPosition( matrix ) instead.");
return(new n).setFromMatrixColumn(this,3)},setRotationFromQuaternion:function(a){console.warn("THREE.Matrix4: .setRotationFromQuaternion() has been renamed to .makeRotationFromQuaternion().");return this.makeRotationFromQuaternion(a)},multiplyToArray:function(){console.warn("THREE.Matrix4: .multiplyToArray() has been removed.")},multiplyVector3:function(a){console.warn("THREE.Matrix4: .multiplyVector3() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},multiplyVector4:function(a){console.warn("THREE.Matrix4: .multiplyVector4() has been removed. Use vector.applyMatrix4( matrix ) instead.");
return a.applyMatrix4(this)},multiplyVector3Array:function(){console.error("THREE.Matrix4: .multiplyVector3Array() has been removed.")},rotateAxis:function(a){console.warn("THREE.Matrix4: .rotateAxis() has been removed. Use Vector3.transformDirection( matrix ) instead.");a.transformDirection(this)},crossVector:function(a){console.warn("THREE.Matrix4: .crossVector() has been removed. Use vector.applyMatrix4( matrix ) instead.");return a.applyMatrix4(this)},translate:function(){console.error("THREE.Matrix4: .translate() has been removed.")},
rotateX:function(){console.error("THREE.Matrix4: .rotateX() has been removed.")},rotateY:function(){console.error("THREE.Matrix4: .rotateY() has been removed.")},rotateZ:function(){console.error("THREE.Matrix4: .rotateZ() has been removed.")},rotateByAxis:function(){console.error("THREE.Matrix4: .rotateByAxis() has been removed.")},applyToBuffer:function(a){console.warn("THREE.Matrix4: .applyToBuffer() has been removed. Use matrix.applyToBufferAttribute( attribute ) instead.");return this.applyToBufferAttribute(a)},
applyToVector3Array:function(){console.error("THREE.Matrix4: .applyToVector3Array() has been removed.")},makeFrustum:function(a,b,c,d,e,f){console.warn("THREE.Matrix4: .makeFrustum() has been removed. Use .makePerspective( left, right, top, bottom, near, far ) instead.");return this.makePerspective(a,b,d,c,e,f)}});Ta.prototype.isIntersectionLine=function(a){console.warn("THREE.Plane: .isIntersectionLine() has been renamed to .intersectsLine().");return this.intersectsLine(a)};Da.prototype.multiplyVector3=
function(a){console.warn("THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead.");return a.applyQuaternion(this)};Object.assign(Wb.prototype,{isIntersectionBox:function(a){console.warn("THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox().");return this.intersectsBox(a)},isIntersectionPlane:function(a){console.warn("THREE.Ray: .isIntersectionPlane() has been renamed to .intersectsPlane().");return this.intersectsPlane(a)},isIntersectionSphere:function(a){console.warn("THREE.Ray: .isIntersectionSphere() has been renamed to .intersectsSphere().");
return this.intersectsSphere(a)}});Object.assign(ma.prototype,{area:function(){console.warn("THREE.Triangle: .area() has been renamed to .getArea().");return this.getArea()},barycoordFromPoint:function(a,b){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return this.getBarycoord(a,b)},midpoint:function(a){console.warn("THREE.Triangle: .midpoint() has been renamed to .getMidpoint().");return this.getMidpoint(a)},normal:function(a){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");
return this.getNormal(a)},plane:function(a){console.warn("THREE.Triangle: .plane() has been renamed to .getPlane().");return this.getPlane(a)}});Object.assign(ma,{barycoordFromPoint:function(a,b,c,d,e){console.warn("THREE.Triangle: .barycoordFromPoint() has been renamed to .getBarycoord().");return ma.getBarycoord(a,b,c,d,e)},normal:function(a,b,c,d){console.warn("THREE.Triangle: .normal() has been renamed to .getNormal().");return ma.getNormal(a,b,c,d)}});Object.assign(Lb.prototype,{extractAllPoints:function(a){console.warn("THREE.Shape: .extractAllPoints() has been removed. Use .extractPoints() instead.");
return this.extractPoints(a)},extrude:function(a){console.warn("THREE.Shape: .extrude() has been removed. Use ExtrudeGeometry() instead.");return new hc(this,a)},makeGeometry:function(a){console.warn("THREE.Shape: .makeGeometry() has been removed. Use ShapeGeometry() instead.");return new jc(this,a)}});Object.assign(x.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector2: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector2: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");
return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector2: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(n.prototype,{setEulerFromRotationMatrix:function(){console.error("THREE.Vector3: .setEulerFromRotationMatrix() has been removed. Use Euler.setFromRotationMatrix() instead.")},setEulerFromQuaternion:function(){console.error("THREE.Vector3: .setEulerFromQuaternion() has been removed. Use Euler.setFromQuaternion() instead.")},
getPositionFromMatrix:function(a){console.warn("THREE.Vector3: .getPositionFromMatrix() has been renamed to .setFromMatrixPosition().");return this.setFromMatrixPosition(a)},getScaleFromMatrix:function(a){console.warn("THREE.Vector3: .getScaleFromMatrix() has been renamed to .setFromMatrixScale().");return this.setFromMatrixScale(a)},getColumnFromMatrix:function(a,b){console.warn("THREE.Vector3: .getColumnFromMatrix() has been renamed to .setFromMatrixColumn().");return this.setFromMatrixColumn(b,
a)},applyProjection:function(a){console.warn("THREE.Vector3: .applyProjection() has been removed. Use .applyMatrix4( m ) instead.");return this.applyMatrix4(a)},fromAttribute:function(a,b,c){console.warn("THREE.Vector3: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},distanceToManhattan:function(a){console.warn("THREE.Vector3: .distanceToManhattan() has been renamed to .manhattanDistanceTo().");return this.manhattanDistanceTo(a)},lengthManhattan:function(){console.warn("THREE.Vector3: .lengthManhattan() has been renamed to .manhattanLength().");
return this.manhattanLength()}});Object.assign(S.prototype,{fromAttribute:function(a,b,c){console.warn("THREE.Vector4: .fromAttribute() has been renamed to .fromBufferAttribute().");return this.fromBufferAttribute(a,b,c)},lengthManhattan:function(){console.warn("THREE.Vector4: .lengthManhattan() has been renamed to .manhattanLength().");return this.manhattanLength()}});Object.assign(M.prototype,{computeTangents:function(){console.error("THREE.Geometry: .computeTangents() has been removed.")},computeLineDistances:function(){console.error("THREE.Geometry: .computeLineDistances() has been removed. Use THREE.Line.computeLineDistances() instead.")}});
Object.assign(D.prototype,{getChildByName:function(a){console.warn("THREE.Object3D: .getChildByName() has been renamed to .getObjectByName().");return this.getObjectByName(a)},renderDepth:function(){console.warn("THREE.Object3D: .renderDepth has been removed. Use .renderOrder, instead.")},translate:function(a,b){console.warn("THREE.Object3D: .translate() has been removed. Use .translateOnAxis( axis, distance ) instead.");return this.translateOnAxis(b,a)},getWorldRotation:function(){console.error("THREE.Object3D: .getWorldRotation() has been removed. Use THREE.Object3D.getWorldQuaternion( target ) instead.")}});
Object.defineProperties(D.prototype,{eulerOrder:{get:function(){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");return this.rotation.order},set:function(a){console.warn("THREE.Object3D: .eulerOrder is now .rotation.order.");this.rotation.order=a}},useQuaternion:{get:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}});
Object.assign(ca.prototype,{setDrawMode:function(){console.error("THREE.Mesh: .setDrawMode() has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}});Object.defineProperties(ca.prototype,{drawMode:{get:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode.");return 0},set:function(){console.error("THREE.Mesh: .drawMode has been removed. The renderer now always assumes THREE.TrianglesDrawMode. Transform your geometry via BufferGeometryUtils.toTrianglesDrawMode() if necessary.")}}});
Object.defineProperties(Sd.prototype,{objects:{get:function(){console.warn("THREE.LOD: .objects has been renamed to .levels.");return this.levels}}});Object.defineProperty(Te.prototype,"useVertexTexture",{get:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")},set:function(){console.warn("THREE.Skeleton: useVertexTexture has been removed.")}});Td.prototype.initBones=function(){console.error("THREE.SkinnedMesh: initBones() has been removed.")};Object.defineProperty(I.prototype,
"__arcLengthDivisions",{get:function(){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");return this.arcLengthDivisions},set:function(a){console.warn("THREE.Curve: .__arcLengthDivisions is now .arcLengthDivisions.");this.arcLengthDivisions=a}});pa.prototype.setLens=function(a,b){console.warn("THREE.PerspectiveCamera.setLens is deprecated. Use .setFocalLength and .filmGauge for a photographic setup.");void 0!==b&&(this.filmGauge=b);this.setFocalLength(a)};Object.defineProperties(ba.prototype,
{onlyShadow:{set:function(){console.warn("THREE.Light: .onlyShadow has been removed.")}},shadowCameraFov:{set:function(a){console.warn("THREE.Light: .shadowCameraFov is now .shadow.camera.fov.");this.shadow.camera.fov=a}},shadowCameraLeft:{set:function(a){console.warn("THREE.Light: .shadowCameraLeft is now .shadow.camera.left.");this.shadow.camera.left=a}},shadowCameraRight:{set:function(a){console.warn("THREE.Light: .shadowCameraRight is now .shadow.camera.right.");this.shadow.camera.right=a}},shadowCameraTop:{set:function(a){console.warn("THREE.Light: .shadowCameraTop is now .shadow.camera.top.");
this.shadow.camera.top=a}},shadowCameraBottom:{set:function(a){console.warn("THREE.Light: .shadowCameraBottom is now .shadow.camera.bottom.");this.shadow.camera.bottom=a}},shadowCameraNear:{set:function(a){console.warn("THREE.Light: .shadowCameraNear is now .shadow.camera.near.");this.shadow.camera.near=a}},shadowCameraFar:{set:function(a){console.warn("THREE.Light: .shadowCameraFar is now .shadow.camera.far.");this.shadow.camera.far=a}},shadowCameraVisible:{set:function(){console.warn("THREE.Light: .shadowCameraVisible has been removed. Use new THREE.CameraHelper( light.shadow.camera ) instead.")}},
shadowBias:{set:function(a){console.warn("THREE.Light: .shadowBias is now .shadow.bias.");this.shadow.bias=a}},shadowDarkness:{set:function(){console.warn("THREE.Light: .shadowDarkness has been removed.")}},shadowMapWidth:{set:function(a){console.warn("THREE.Light: .shadowMapWidth is now .shadow.mapSize.width.");this.shadow.mapSize.width=a}},shadowMapHeight:{set:function(a){console.warn("THREE.Light: .shadowMapHeight is now .shadow.mapSize.height.");this.shadow.mapSize.height=a}}});Object.defineProperties(K.prototype,
{length:{get:function(){console.warn("THREE.BufferAttribute: .length has been deprecated. Use .count instead.");return this.array.length}},dynamic:{get:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");return 35048===this.usage},set:function(){console.warn("THREE.BufferAttribute: .dynamic has been deprecated. Use .usage instead.");this.setUsage(35048)}}});Object.assign(K.prototype,{setDynamic:function(a){console.warn("THREE.BufferAttribute: .setDynamic() has been deprecated. Use .setUsage() instead.");
this.setUsage(!0===a?35048:35044);return this},copyIndicesArray:function(){console.error("THREE.BufferAttribute: .copyIndicesArray() has been removed.")},setArray:function(){console.error("THREE.BufferAttribute: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});Object.assign(G.prototype,{addIndex:function(a){console.warn("THREE.BufferGeometry: .addIndex() has been renamed to .setIndex().");this.setIndex(a)},addAttribute:function(a,b,c){console.warn("THREE.BufferGeometry: .addAttribute() has been renamed to .setAttribute().");
return b&&b.isBufferAttribute||b&&b.isInterleavedBufferAttribute?"index"===a?(console.warn("THREE.BufferGeometry.addAttribute: Use .setIndex() for index attribute."),this.setIndex(b),this):this.setAttribute(a,b):(console.warn("THREE.BufferGeometry: .addAttribute() now expects ( name, attribute )."),this.setAttribute(a,new K(b,c)))},addDrawCall:function(a,b,c){void 0!==c&&console.warn("THREE.BufferGeometry: .addDrawCall() no longer supports indexOffset.");console.warn("THREE.BufferGeometry: .addDrawCall() is now .addGroup().");
this.addGroup(a,b)},clearDrawCalls:function(){console.warn("THREE.BufferGeometry: .clearDrawCalls() is now .clearGroups().");this.clearGroups()},computeTangents:function(){console.warn("THREE.BufferGeometry: .computeTangents() has been removed.")},computeOffsets:function(){console.warn("THREE.BufferGeometry: .computeOffsets() has been removed.")},removeAttribute:function(a){console.warn("THREE.BufferGeometry: .removeAttribute() has been renamed to .deleteAttribute().");return this.deleteAttribute(a)}});
Object.defineProperties(G.prototype,{drawcalls:{get:function(){console.error("THREE.BufferGeometry: .drawcalls has been renamed to .groups.");return this.groups}},offsets:{get:function(){console.warn("THREE.BufferGeometry: .offsets has been renamed to .groups.");return this.groups}}});Object.defineProperties(sb.prototype,{dynamic:{get:function(){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");return 35048===this.usage},set:function(a){console.warn("THREE.InterleavedBuffer: .length has been deprecated. Use .usage instead.");
this.setUsage(a)}}});Object.assign(sb.prototype,{setDynamic:function(a){console.warn("THREE.InterleavedBuffer: .setDynamic() has been deprecated. Use .setUsage() instead.");this.setUsage(!0===a?35048:35044);return this},setArray:function(){console.error("THREE.InterleavedBuffer: .setArray has been removed. Use BufferGeometry .setAttribute to replace/resize attribute buffers")}});Object.assign(gb.prototype,{getArrays:function(){console.error("THREE.ExtrudeBufferGeometry: .getArrays() has been removed.")},
addShapeList:function(){console.error("THREE.ExtrudeBufferGeometry: .addShapeList() has been removed.")},addShape:function(){console.error("THREE.ExtrudeBufferGeometry: .addShape() has been removed.")}});Object.defineProperties(uf.prototype,{dynamic:{set:function(){console.warn("THREE.Uniform: .dynamic has been removed. Use object.onBeforeRender() instead.")}},onUpdate:{value:function(){console.warn("THREE.Uniform: .onUpdate() has been removed. Use object.onBeforeRender() instead.");return this}}});
Object.defineProperties(L.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")},set:function(){console.warn("THREE.Material: .wrapAround has been removed.")}},overdraw:{get:function(){console.warn("THREE.Material: .overdraw has been removed.")},set:function(){console.warn("THREE.Material: .overdraw has been removed.")}},wrapRGB:{get:function(){console.warn("THREE.Material: .wrapRGB has been removed.");return new y}},shading:{get:function(){console.error("THREE."+
this.type+": .shading has been removed. Use the boolean .flatShading instead.")},set:function(a){console.warn("THREE."+this.type+": .shading has been removed. Use the boolean .flatShading instead.");this.flatShading=1===a}},stencilMask:{get:function(){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");return this.stencilFuncMask},set:function(a){console.warn("THREE."+this.type+": .stencilMask has been removed. Use .stencilFuncMask instead.");this.stencilFuncMask=
a}}});Object.defineProperties(Kb.prototype,{metal:{get:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead.");return!1},set:function(){console.warn("THREE.MeshPhongMaterial: .metal has been removed. Use THREE.MeshStandardMaterial instead")}}});Object.defineProperties(oa.prototype,{derivatives:{get:function(){console.warn("THREE.ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");return this.extensions.derivatives},
set:function(a){console.warn("THREE. ShaderMaterial: .derivatives has been moved to .extensions.derivatives.");this.extensions.derivatives=a}}});Object.assign(pg.prototype,{clearTarget:function(a,b,c,d){console.warn("THREE.WebGLRenderer: .clearTarget() has been deprecated. Use .setRenderTarget() and .clear() instead.");this.setRenderTarget(a);this.clear(b,c,d)},animate:function(a){console.warn("THREE.WebGLRenderer: .animate() is now .setAnimationLoop().");this.setAnimationLoop(a)},getCurrentRenderTarget:function(){console.warn("THREE.WebGLRenderer: .getCurrentRenderTarget() is now .getRenderTarget().");
return this.getRenderTarget()},getMaxAnisotropy:function(){console.warn("THREE.WebGLRenderer: .getMaxAnisotropy() is now .capabilities.getMaxAnisotropy().");return this.capabilities.getMaxAnisotropy()},getPrecision:function(){console.warn("THREE.WebGLRenderer: .getPrecision() is now .capabilities.precision.");return this.capabilities.precision},resetGLState:function(){console.warn("THREE.WebGLRenderer: .resetGLState() is now .state.reset().");return this.state.reset()},supportsFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( 'OES_texture_float' ).");
return this.extensions.get("OES_texture_float")},supportsHalfFloatTextures:function(){console.warn("THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( 'OES_texture_half_float' ).");return this.extensions.get("OES_texture_half_float")},supportsStandardDerivatives:function(){console.warn("THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( 'OES_standard_derivatives' ).");return this.extensions.get("OES_standard_derivatives")},supportsCompressedTextureS3TC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( 'WEBGL_compressed_texture_s3tc' ).");
return this.extensions.get("WEBGL_compressed_texture_s3tc")},supportsCompressedTexturePVRTC:function(){console.warn("THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( 'WEBGL_compressed_texture_pvrtc' ).");return this.extensions.get("WEBGL_compressed_texture_pvrtc")},supportsBlendMinMax:function(){console.warn("THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( 'EXT_blend_minmax' ).");return this.extensions.get("EXT_blend_minmax")},supportsVertexTextures:function(){console.warn("THREE.WebGLRenderer: .supportsVertexTextures() is now .capabilities.vertexTextures.");
return this.capabilities.vertexTextures},supportsInstancedArrays:function(){console.warn("THREE.WebGLRenderer: .supportsInstancedArrays() is now .extensions.get( 'ANGLE_instanced_arrays' ).");return this.extensions.get("ANGLE_instanced_arrays")},enableScissorTest:function(a){console.warn("THREE.WebGLRenderer: .enableScissorTest() is now .setScissorTest().");this.setScissorTest(a)},initMaterial:function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")},addPrePlugin:function(){console.warn("THREE.WebGLRenderer: .addPrePlugin() has been removed.")},
addPostPlugin:function(){console.warn("THREE.WebGLRenderer: .addPostPlugin() has been removed.")},updateShadowMap:function(){console.warn("THREE.WebGLRenderer: .updateShadowMap() has been removed.")},setFaceCulling:function(){console.warn("THREE.WebGLRenderer: .setFaceCulling() has been removed.")},allocTextureUnit:function(){console.warn("THREE.WebGLRenderer: .allocTextureUnit() has been removed.")},setTexture:function(){console.warn("THREE.WebGLRenderer: .setTexture() has been removed.")},setTexture2D:function(){console.warn("THREE.WebGLRenderer: .setTexture2D() has been removed.")},
setTextureCube:function(){console.warn("THREE.WebGLRenderer: .setTextureCube() has been removed.")},getActiveMipMapLevel:function(){console.warn("THREE.WebGLRenderer: .getActiveMipMapLevel() is now .getActiveMipmapLevel().");return this.getActiveMipmapLevel()}});Object.defineProperties(pg.prototype,{shadowMapEnabled:{get:function(){return this.shadowMap.enabled},set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapEnabled is now .shadowMap.enabled.");this.shadowMap.enabled=a}},shadowMapType:{get:function(){return this.shadowMap.type},
set:function(a){console.warn("THREE.WebGLRenderer: .shadowMapType is now .shadowMap.type.");this.shadowMap.type=a}},shadowMapCullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMapCullFace has been removed. Set Material.shadowSide instead.")}},context:{get:function(){console.warn("THREE.WebGLRenderer: .context has been removed. Use .getContext() instead.");return this.getContext()}},
vr:{get:function(){console.warn("THREE.WebGLRenderer: .vr has been renamed to .xr");return this.xr}},gammaInput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.");return!1},set:function(){console.warn("THREE.WebGLRenderer: .gammaInput has been removed. Set the encoding for textures via Texture.encoding instead.")}},gammaOutput:{get:function(){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");
return!1},set:function(a){console.warn("THREE.WebGLRenderer: .gammaOutput has been removed. Set WebGLRenderer.outputEncoding instead.");this.outputEncoding=!0===a?3001:3E3}}});Object.defineProperties(Th.prototype,{cullFace:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.cullFace has been removed. Set Material.shadowSide instead.")}},renderReverseSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")},
set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderReverseSided has been removed. Set Material.shadowSide instead.")}},renderSingleSided:{get:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")},set:function(){console.warn("THREE.WebGLRenderer: .shadowMap.renderSingleSided has been removed. Set Material.shadowSide instead.")}}});Object.defineProperties(Eb.prototype,{activeCubeFace:{set:function(){console.warn("THREE.WebGLRenderTargetCube: .activeCubeFace has been removed. It is now the second parameter of WebGLRenderer.setRenderTarget().")}},
activeMipMapLevel:{set:function(){console.warn("THREE.WebGLRenderTargetCube: .activeMipMapLevel has been removed. It is now the third parameter of WebGLRenderer.setRenderTarget().")}}});Object.defineProperties(va.prototype,{wrapS:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");return this.texture.wrapS},set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapS is now .texture.wrapS.");this.texture.wrapS=a}},wrapT:{get:function(){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");
return this.texture.wrapT},set:function(a){console.warn("THREE.WebGLRenderTarget: .wrapT is now .texture.wrapT.");this.texture.wrapT=a}},magFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");return this.texture.magFilter},set:function(a){console.warn("THREE.WebGLRenderTarget: .magFilter is now .texture.magFilter.");this.texture.magFilter=a}},minFilter:{get:function(){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");return this.texture.minFilter},
set:function(a){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");this.texture.minFilter=a}},anisotropy:{get:function(){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");return this.texture.anisotropy},set:function(a){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");this.texture.anisotropy=a}},offset:{get:function(){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");return this.texture.offset},
set:function(a){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");this.texture.offset=a}},repeat:{get:function(){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");return this.texture.repeat},set:function(a){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");this.texture.repeat=a}},format:{get:function(){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");return this.texture.format},set:function(a){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");
this.texture.format=a}},type:{get:function(){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");return this.texture.type},set:function(a){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");this.texture.type=a}},generateMipmaps:{get:function(){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");return this.texture.generateMipmaps},set:function(a){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");
this.texture.generateMipmaps=a}}});Object.defineProperties(hd.prototype,{load:{value:function(a){console.warn("THREE.Audio: .load has been deprecated. Use THREE.AudioLoader instead.");var b=this;(new sf).load(a,function(a){b.setBuffer(a)});return this}},startTime:{set:function(){console.warn("THREE.Audio: .startTime is now .play( delay ).")}}});Lg.prototype.getData=function(){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()};Hc.prototype.updateCubeMap=
function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update().");return this.update(a,b)};Mb.crossOrigin=void 0;Mb.loadTexture=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new df;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Mb.loadTextureCube=function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");
var e=new cf;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a};Mb.loadCompressedTexture=function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")};Mb.loadCompressedTextureCube=function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")};"undefined"!==typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:"112"}}));
h.ACESFilmicToneMapping=5;h.AddEquation=100;h.AddOperation=2;h.AdditiveBlending=2;h.AlphaFormat=1021;h.AlwaysDepth=1;h.AlwaysStencilFunc=519;h.AmbientLight=lf;h.AmbientLightProbe=Gg;h.AnimationClip=Qa;h.AnimationLoader=xg;h.AnimationMixer=Ng;h.AnimationObjectGroup=ki;h.AnimationUtils=ea;h.ArcCurve=fd;h.ArrayCamera=Pe;h.ArrowHelper=yb;h.Audio=hd;h.AudioAnalyser=Lg;h.AudioContext=Jg;h.AudioListener=Ig;h.AudioLoader=sf;h.AxesHelper=xe;h.AxisHelper=function(a){console.warn("THREE.AxisHelper has been renamed to THREE.AxesHelper.");
return new xe(a)};h.BackSide=1;h.BasicDepthPacking=3200;h.BasicShadowMap=0;h.BinaryTextureLoader=function(a){console.warn("THREE.BinaryTextureLoader has been renamed to THREE.DataTextureLoader.");return new bf(a)};h.Bone=qg;h.BooleanKeyframeTrack=Ye;h.BoundingBoxHelper=function(a,b){console.warn("THREE.BoundingBoxHelper has been deprecated. Creating a THREE.BoxHelper instead.");return new xb(a,b)};h.Box2=Qg;h.Box3=Sa;h.Box3Helper=ve;h.BoxBufferGeometry=Jd;h.BoxGeometry=lh;h.BoxHelper=xb;h.BufferAttribute=
K;h.BufferGeometry=G;h.BufferGeometryLoader=qf;h.ByteType=1010;h.Cache=xc;h.Camera=db;h.CameraHelper=ue;h.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been removed")};h.CanvasTexture=Ud;h.CatmullRomCurve3=Aa;h.CineonToneMapping=4;h.CircleBufferGeometry=bd;h.CircleGeometry=oe;h.ClampToEdgeWrapping=1001;h.Clock=Hg;h.ClosedSplineCurve3=Ci;h.Color=y;h.ColorKeyframeTrack=Ze;h.CompressedTexture=Pc;h.CompressedTextureLoader=yg;h.ConeBufferGeometry=ne;h.ConeGeometry=me;h.CubeCamera=Hc;
h.CubeGeometry=lh;h.CubeReflectionMapping=301;h.CubeRefractionMapping=302;h.CubeTexture=rb;h.CubeTextureLoader=cf;h.CubeUVReflectionMapping=306;h.CubeUVRefractionMapping=307;h.CubicBezierCurve=Wa;h.CubicBezierCurve3=ib;h.CubicInterpolant=We;h.CullFaceBack=1;h.CullFaceFront=2;h.CullFaceFrontBack=3;h.CullFaceNone=0;h.Curve=I;h.CurvePath=wb;h.CustomBlending=5;h.CylinderBufferGeometry=ub;h.CylinderGeometry=lc;h.Cylindrical=pi;h.DataTexture=cc;h.DataTexture2DArray=Ic;h.DataTexture3D=Jc;h.DataTextureLoader=
bf;h.DecrementStencilOp=7683;h.DecrementWrapStencilOp=34056;h.DefaultLoadingManager=gi;h.DepthFormat=1026;h.DepthStencilFormat=1027;h.DepthTexture=Vd;h.DirectionalLight=kf;h.DirectionalLightHelper=md;h.DirectionalLightShadow=jf;h.DiscreteInterpolant=Xe;h.DodecahedronBufferGeometry=Uc;h.DodecahedronGeometry=ae;h.DoubleSide=2;h.DstAlphaFactor=206;h.DstColorFactor=208;h.DynamicBufferAttribute=function(a,b){console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.");
return(new K(a,b)).setDynamic(!0)};h.DynamicCopyUsage=35050;h.DynamicDrawUsage=35048;h.DynamicReadUsage=35049;h.EdgesGeometry=ad;h.EdgesHelper=function(a,b){console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead.");return new la(new ad(a.geometry),new ja({color:void 0!==b?b:16777215}))};h.EllipseCurve=La;h.EqualDepth=4;h.EqualStencilFunc=514;h.EquirectangularReflectionMapping=303;h.EquirectangularRefractionMapping=304;h.Euler=Ub;h.EventDispatcher=Fa;h.ExtrudeBufferGeometry=
gb;h.ExtrudeGeometry=hc;h.Face3=Dc;h.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");return new Dc(a,b,c,e,f,g)};h.FaceColors=1;h.FileLoader=Ra;h.FlatShading=1;h.Float32Attribute=function(a,b){console.warn("THREE.Float32Attribute has been removed. Use new THREE.Float32BufferAttribute() instead.");return new C(a,b)};h.Float32BufferAttribute=C;h.Float64Attribute=function(a,b){console.warn("THREE.Float64Attribute has been removed. Use new THREE.Float64BufferAttribute() instead.");
return new Fd(a,b)};h.Float64BufferAttribute=Fd;h.FloatType=1015;h.Fog=Re;h.FogExp2=Qe;h.Font=Dg;h.FontLoader=Eg;h.FrontFaceDirectionCCW=1;h.FrontFaceDirectionCW=0;h.FrontSide=0;h.Frustum=Hd;h.GammaEncoding=3007;h.Geometry=M;h.GeometryUtils={merge:function(a,b,c){console.warn("THREE.GeometryUtils: .merge() has been moved to Geometry. Use geometry.merge( geometry2, matrix, materialIndexOffset ) instead.");if(b.isMesh){b.matrixAutoUpdate&&b.updateMatrix();var d=b.matrix;b=b.geometry}a.merge(b,d,c)},
center:function(a){console.warn("THREE.GeometryUtils: .center() has been moved to Geometry. Use geometry.center() instead.");return a.center()}};h.GreaterDepth=6;h.GreaterEqualDepth=5;h.GreaterEqualStencilFunc=518;h.GreaterStencilFunc=516;h.GridHelper=vf;h.Group=Od;h.HalfFloatType=1016;h.HemisphereLight=ef;h.HemisphereLightHelper=ld;h.HemisphereLightProbe=Fg;h.IcosahedronBufferGeometry=Tc;h.IcosahedronGeometry=$d;h.ImageBitmapLoader=Bg;h.ImageLoader=ed;h.ImageUtils=Mb;h.ImmediateRenderObject=te;h.IncrementStencilOp=
7682;h.IncrementWrapStencilOp=34055;h.InstancedBufferAttribute=pf;h.InstancedBufferGeometry=of;h.InstancedInterleavedBuffer=Og;h.InstancedMesh=Ue;h.Int16Attribute=function(a,b){console.warn("THREE.Int16Attribute has been removed. Use new THREE.Int16BufferAttribute() instead.");return new Dd(a,b)};h.Int16BufferAttribute=Dd;h.Int32Attribute=function(a,b){console.warn("THREE.Int32Attribute has been removed. Use new THREE.Int32BufferAttribute() instead.");return new Ed(a,b)};h.Int32BufferAttribute=Ed;
h.Int8Attribute=function(a,b){console.warn("THREE.Int8Attribute has been removed. Use new THREE.Int8BufferAttribute() instead.");return new Ad(a,b)};h.Int8BufferAttribute=Ad;h.IntType=1013;h.InterleavedBuffer=sb;h.InterleavedBufferAttribute=Pd;h.Interpolant=Ka;h.InterpolateDiscrete=2300;h.InterpolateLinear=2301;h.InterpolateSmooth=2302;h.InvertStencilOp=5386;h.JSONLoader=function(){console.error("THREE.JSONLoader has been removed.")};h.KeepStencilOp=7680;h.KeyframeTrack=ra;h.LOD=Sd;h.LatheBufferGeometry=
$c;h.LatheGeometry=le;h.Layers=$f;h.LensFlare=function(){console.error("THREE.LensFlare has been moved to /examples/js/objects/Lensflare.js")};h.LessDepth=2;h.LessEqualDepth=3;h.LessEqualStencilFunc=515;h.LessStencilFunc=513;h.Light=ba;h.LightProbe=ab;h.LightShadow=kb;h.Line=Ja;h.Line3=Rg;h.LineBasicMaterial=ja;h.LineCurve=Ea;h.LineCurve3=Xa;h.LineDashedMaterial=sc;h.LineLoop=Ve;h.LinePieces=1;h.LineSegments=la;h.LineStrip=0;h.LinearEncoding=3E3;h.LinearFilter=1006;h.LinearInterpolant=pe;h.LinearMipMapLinearFilter=
1008;h.LinearMipMapNearestFilter=1007;h.LinearMipmapLinearFilter=1008;h.LinearMipmapNearestFilter=1007;h.LinearToneMapping=1;h.Loader=Q;h.LoaderUtils=rh;h.LoadingManager=wg;h.LogLuvEncoding=3003;h.LoopOnce=2200;h.LoopPingPong=2202;h.LoopRepeat=2201;h.LuminanceAlphaFormat=1025;h.LuminanceFormat=1024;h.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2};h.Material=L;h.MaterialLoader=nf;h.Math=O;h.Matrix3=za;h.Matrix4=P;h.MaxEquation=104;h.Mesh=ca;h.MeshBasicMaterial=Oa;h.MeshDepthMaterial=Gb;h.MeshDistanceMaterial=
Hb;h.MeshFaceMaterial=function(a){console.warn("THREE.MeshFaceMaterial has been removed. Use an Array instead.");return a};h.MeshLambertMaterial=qc;h.MeshMatcapMaterial=rc;h.MeshNormalMaterial=pc;h.MeshPhongMaterial=Kb;h.MeshPhysicalMaterial=nc;h.MeshStandardMaterial=hb;h.MeshToonMaterial=oc;h.MinEquation=103;h.MirroredRepeatWrapping=1002;h.MixOperation=1;h.MultiMaterial=function(a){void 0===a&&(a=[]);console.warn("THREE.MultiMaterial has been removed. Use an Array instead.");a.isMultiMaterial=!0;
a.materials=a;a.clone=function(){return a.slice()};return a};h.MultiplyBlending=4;h.MultiplyOperation=0;h.NearestFilter=1003;h.NearestMipMapLinearFilter=1005;h.NearestMipMapNearestFilter=1004;h.NearestMipmapLinearFilter=1005;h.NearestMipmapNearestFilter=1004;h.NeverDepth=0;h.NeverStencilFunc=512;h.NoBlending=0;h.NoColors=0;h.NoToneMapping=0;h.NormalBlending=1;h.NotEqualDepth=7;h.NotEqualStencilFunc=517;h.NumberKeyframeTrack=cd;h.Object3D=D;h.ObjectLoader=rf;h.ObjectSpaceNormalMap=1;h.OctahedronBufferGeometry=
ec;h.OctahedronGeometry=Zd;h.OneFactor=201;h.OneMinusDstAlphaFactor=207;h.OneMinusDstColorFactor=209;h.OneMinusSrcAlphaFactor=205;h.OneMinusSrcColorFactor=203;h.OrthographicCamera=gd;h.PCFShadowMap=1;h.PCFSoftShadowMap=2;h.PMREMGenerator=Tg;h.ParametricBufferGeometry=Rc;h.ParametricGeometry=Wd;h.Particle=function(a){console.warn("THREE.Particle has been renamed to THREE.Sprite.");return new Qd(a)};h.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");
return new Va(a)};h.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Oc(a,b)};h.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};h.Path=$a;h.PerspectiveCamera=pa;h.Plane=Ta;h.PlaneBufferGeometry=dc;h.PlaneGeometry=Id;h.PlaneHelper=we;h.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Oc(a,b)};
h.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Va(a)};h.PointLight=hf;h.PointLightHelper=kd;h.Points=Oc;h.PointsMaterial=Va;h.PolarGridHelper=wf;h.PolyhedronBufferGeometry=Ga;h.PolyhedronGeometry=Xd;h.PositionalAudio=Kg;h.PropertyBinding=Ba;h.PropertyMixer=Mg;h.QuadraticBezierCurve=Ya;h.QuadraticBezierCurve3=jb;h.Quaternion=Da;h.QuaternionKeyframeTrack=qe;h.QuaternionLinearInterpolant=$e;h.REVISION="112";h.RGBADepthPacking=
3201;h.RGBAFormat=1023;h.RGBAIntegerFormat=1033;h.RGBA_ASTC_10x10_Format=37819;h.RGBA_ASTC_10x5_Format=37816;h.RGBA_ASTC_10x6_Format=37817;h.RGBA_ASTC_10x8_Format=37818;h.RGBA_ASTC_12x10_Format=37820;h.RGBA_ASTC_12x12_Format=37821;h.RGBA_ASTC_4x4_Format=37808;h.RGBA_ASTC_5x4_Format=37809;h.RGBA_ASTC_5x5_Format=37810;h.RGBA_ASTC_6x5_Format=37811;h.RGBA_ASTC_6x6_Format=37812;h.RGBA_ASTC_8x5_Format=37813;h.RGBA_ASTC_8x6_Format=37814;h.RGBA_ASTC_8x8_Format=37815;h.RGBA_PVRTC_2BPPV1_Format=35843;h.RGBA_PVRTC_4BPPV1_Format=
35842;h.RGBA_S3TC_DXT1_Format=33777;h.RGBA_S3TC_DXT3_Format=33778;h.RGBA_S3TC_DXT5_Format=33779;h.RGBDEncoding=3006;h.RGBEEncoding=3002;h.RGBEFormat=1023;h.RGBFormat=1022;h.RGBIntegerFormat=1032;h.RGBM16Encoding=3005;h.RGBM7Encoding=3004;h.RGB_ETC1_Format=36196;h.RGB_PVRTC_2BPPV1_Format=35841;h.RGB_PVRTC_4BPPV1_Format=35840;h.RGB_S3TC_DXT1_Format=33776;h.RGFormat=1030;h.RGIntegerFormat=1031;h.RawShaderMaterial=vb;h.Ray=Wb;h.Raycaster=mi;h.RectAreaLight=mf;h.RedFormat=1028;h.RedIntegerFormat=1029;
h.ReinhardToneMapping=2;h.RepeatWrapping=1E3;h.ReplaceStencilOp=7681;h.ReverseSubtractEquation=102;h.RingBufferGeometry=Zc;h.RingGeometry=ke;h.Scene=pb;h.SceneUtils={createMultiMaterialObject:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},detach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")},attach:function(){console.error("THREE.SceneUtils has been moved to /examples/js/utils/SceneUtils.js")}};h.ShaderChunk=
N;h.ShaderLib=eb;h.ShaderMaterial=oa;h.ShadowMaterial=mc;h.Shape=Lb;h.ShapeBufferGeometry=kc;h.ShapeGeometry=jc;h.ShapePath=Cg;h.ShapeUtils=tb;h.ShortType=1011;h.Skeleton=Te;h.SkeletonHelper=jd;h.SkinnedMesh=Td;h.SmoothShading=2;h.Sphere=qb;h.SphereBufferGeometry=ic;h.SphereGeometry=je;h.Spherical=oi;h.SphericalHarmonics3=tf;h.SphericalReflectionMapping=305;h.Spline=Zg;h.SplineCurve=Za;h.SplineCurve3=Di;h.SpotLight=gf;h.SpotLightHelper=id;h.SpotLightShadow=ff;h.Sprite=Qd;h.SpriteMaterial=Jb;h.SrcAlphaFactor=
204;h.SrcAlphaSaturateFactor=210;h.SrcColorFactor=202;h.StaticCopyUsage=35046;h.StaticDrawUsage=35044;h.StaticReadUsage=35045;h.StereoCamera=ii;h.StreamCopyUsage=35042;h.StreamDrawUsage=35040;h.StreamReadUsage=35041;h.StringKeyframeTrack=af;h.SubtractEquation=101;h.SubtractiveBlending=3;h.TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3};h.TangentSpaceNormalMap=0;h.TetrahedronBufferGeometry=Sc;h.TetrahedronGeometry=Yd;h.TextBufferGeometry=Yc;h.TextGeometry=ie;h.Texture=T;h.TextureLoader=df;h.TorusBufferGeometry=
Wc;h.TorusGeometry=de;h.TorusKnotBufferGeometry=Vc;h.TorusKnotGeometry=ce;h.Triangle=ma;h.TriangleFanDrawMode=2;h.TriangleStripDrawMode=1;h.TrianglesDrawMode=0;h.TubeBufferGeometry=fc;h.TubeGeometry=be;h.UVMapping=300;h.Uint16Attribute=function(a,b){console.warn("THREE.Uint16Attribute has been removed. Use new THREE.Uint16BufferAttribute() instead.");return new Xb(a,b)};h.Uint16BufferAttribute=Xb;h.Uint32Attribute=function(a,b){console.warn("THREE.Uint32Attribute has been removed. Use new THREE.Uint32BufferAttribute() instead.");
return new Yb(a,b)};h.Uint32BufferAttribute=Yb;h.Uint8Attribute=function(a,b){console.warn("THREE.Uint8Attribute has been removed. Use new THREE.Uint8BufferAttribute() instead.");return new Bd(a,b)};h.Uint8BufferAttribute=Bd;h.Uint8ClampedAttribute=function(a,b){console.warn("THREE.Uint8ClampedAttribute has been removed. Use new THREE.Uint8ClampedBufferAttribute() instead.");return new Cd(a,b)};h.Uint8ClampedBufferAttribute=Cd;h.Uncharted2ToneMapping=3;h.Uniform=uf;h.UniformsLib=E;h.UniformsUtils=
Xk;h.UnsignedByteType=1009;h.UnsignedInt248Type=1020;h.UnsignedIntType=1014;h.UnsignedShort4444Type=1017;h.UnsignedShort5551Type=1018;h.UnsignedShort565Type=1019;h.UnsignedShortType=1012;h.VSMShadowMap=3;h.Vector2=x;h.Vector3=n;h.Vector4=S;h.VectorKeyframeTrack=dd;h.Vertex=function(a,b,c){console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead.");return new n(a,b,c)};h.VertexColors=2;h.VideoTexture=tg;h.WebGLMultisampleRenderTarget=Zf;h.WebGLRenderTarget=va;h.WebGLRenderTargetCube=
Eb;h.WebGLRenderer=pg;h.WebGLUtils=Vh;h.WireframeGeometry=Qc;h.WireframeHelper=function(a,b){console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead.");return new la(new Qc(a.geometry),new ja({color:void 0!==b?b:16777215}))};h.WrapAroundEnding=2402;h.XHRLoader=function(a){console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader.");return new Ra(a)};h.ZeroCurvatureEnding=2400;h.ZeroFactor=200;h.ZeroSlopeEnding=2401;h.ZeroStencilOp=0;h.sRGBEncoding=3001;Object.defineProperty(h,
"__esModule",{value:!0})});
})();