PageSourceSearch

https://360in360livingmemories.com/tours/tour-3/lib/tdvplayer.js?v=1594906755169

js 360in360livingmemories.com collected 2026-10-08 05:02:14 UTC 1,859,398 bytes, 3,372 lines download raw bytes

1(function() { 
2var requirejs,require,define;
3(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||
4o.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("/");
5if(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=
60;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}
7function 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)}}
8function 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?
9j(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]===
10true||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===
11m.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>
110)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
12if(!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,
13a,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===
14b){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",
15[],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,
16config: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=
17e}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 '"+
18b.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].c
18oncat(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]);
19v[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;
20c.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$/,
21ia=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=
22requirejs;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,
23readyCalls:[]};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,
24"").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||
25d.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";
26o.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;
27if(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,
28f,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);
vendor: 79,382 bytes, lines 28-183
28if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
29h.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,
30b){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))},
31first: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=
32g[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},
33isPlainObject: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))},
34camelCase: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,
35b){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);
36return 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&&
37b?!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",
38M="[\\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"),
39V=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+"*\\)|)(?=[^-]|$)",
40"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=
41a.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)),
42d;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,
43"$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=
44c.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=
45a&&(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("")),
46!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=
47a.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=
48c.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");
49b.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("|")),
50r=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||
51b)?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],
52i[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=
53d.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,
54c="",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]=
55(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)),
56a.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:"!="===
57b?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?
58l.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===
59b))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=
60g[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=
61b.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&&
62a.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())},
63first: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,
64reset:!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));
65if(!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}}}
66function 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,
67h,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,
68a)>-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,
69k){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,
70d=[],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)?
710: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>",
72"#"===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():
73(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,
74a)}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):
75d),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);
76if(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=
77a.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,
78b[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(),
79n(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,
80"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),
81B.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,
82function(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=
83void 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),
84this},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=
85h},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]&&
86n.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",
87I,!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),
88c)})),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]=
89c,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,
90b){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=
91"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=
92this[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=
93M.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(),
94d--),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,
95a)})},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"===
96n.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
97a;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,
98arguments):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,
99k),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||
100c&&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("."):
101[];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&&
102!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)||
103k&&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++])&&
104!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"!==
105a.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&&
106(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||
107void 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?
108(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,
109{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]=
110!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(),
111this.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)};
112n.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):
113(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]);
114return 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,
115gb=/^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]||
116a.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,
117e,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,
118a);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")),
119g=(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!==
120(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===
121this.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)})},
122remove: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=
123this[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||
124a.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,
125j!==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=
126h===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()),
127rb[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()?
128void 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",
129f.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=
130"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,
131b){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,
132"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||
133(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,
134order:!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||
1350!==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"))&&
1360===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]||
137f[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,
138b,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,
1390,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]]||
140n.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=
141c.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=
142e.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)&&
143(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;
144if(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!==
145d&&(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,
146{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),
147n.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||
148!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,
149b,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)&&
150d(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})}}),
151n.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]!==
152a||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"),
153b=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&&
1543!==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)},
155attrHooks:{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,
156b){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")||
157_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,
158b,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=
159this[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=
160f[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;
1611===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=
162n.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=
163n.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(" "),
164function(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=
165function(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=
166l.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)}),
167i}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!==
168i[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!==
169!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/,
170json:/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,
171o=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]=
172[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:"===
173ec[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",
174n.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,
175complete: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"),
176w&&(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,
177b){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)?
178this.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?
179a.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):
180Bc(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())},
181serializeArray: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){}};
182var 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"]||
183(c["X-Requested-With"]="XMLHttpRequest");
183for(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"},
184contents:{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()}}}});
185var 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"+
186e):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])]:
187(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,
188f||[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):
189(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+
190c.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=
191this.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,
192b),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])):
193void 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,
194"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);
195return h=["&#173;",'<style id="s',g,'">',a,"</style>"].join(""),k.id=g,(l?k:m).innerHTML+=h,m.appendChild(k),l||(m.style.background="",f.appendChild(m)),i=c(k,a),l?k.parentNode.removeChild(k):m.parentNode.removeChild(m),!!i},w={}.hasOwnProperty,x;!A(w,"undefined")&&!A(w.call,"undefined")?x=function(a,b){return w.call(a,b)}:x=function(a,b){return b in a&&A(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;
196var 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 (",
197l.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$/,
198""),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$/,
199"")}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=
200O(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,
201c=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,
202e){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=
203o[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]}}
203,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=
204function(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,
205t,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];
206return 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)?
207n: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,
208index: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):
209k(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-
210t))},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)||
211(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,
212function(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=
213r(-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
213));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,
214r.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=""+
215(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),
216o=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,
217t=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[];
218if(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},
219m.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,
220t,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,
221t){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===
222+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=
223l[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"],
224function(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=
225function(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]=
226t(u);return e},m.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))},m.now=Date.now||function(){return(new Date).getTime()};var B={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=m.invert(B),R=function(n){var t=function(t){return n[t]},r="(?:"+m.keys(n).join("|")+")",e=RegExp(r),u=RegExp(r,"g");return function(n){return n=null==n?"":""+n,e.test(n)?n.replace(u,t):n}};m.escape=R(B),m.unescape=R(T),m.result=function(n,t,r){var e=null==n?void 0:
227n[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||
228K).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=
229i,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]=
230function(){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}}
231(function(){function a(a){this.qj=a;this.qn=q;this.Jc={}}function b(){this.yi={};this.yi[b.SCRIPT_URL]=[];this.yi[b.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.yi[b.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.yi[b.HLS_URL]="lib/Hls.js";this.yi[b.CURSORS_DIR_URL]="lib/cursors";this.yi[b.SERVICE_WORKER_URL]="tdvplayersw.js";this.yi[b.BACKGROUND_PRELOAD_ENABLED]=n}function c(){this.nz=[];this.WF=[];this.Afa=[];this.GC=q}function e(a){return"[object Array]"==Object.prototype.toString.call(a)}function d(a){return 0<=
232j.search(a.toLowerCase())}var g=window.TDV=window.TDV||{},j=navigator.userAgent.toLowerCase();c.prototype.getVersion=c.prototype.d5=function(){return{MAJOR:"0",MINOR:"1120"}};c.prototype.h1=function(){if(this.GC)for(;0<this.nz.length;){var a=this.nz[0];this.nz=this.nz.slice(1);this.WF.push(a);this.Daa(a)}};c.prototype.j_=function(a){var b=document.createElement("a");b.href=a;return b.href};c.prototype.mca=function(){var a=document.currentScript;a||(a=document.getElementsByTagName("head")[0].getElementsByTagName("script"),
233a=a[a.length-1]);return this.j_(a.src)};c.prototype.Daa=function(a){var g=this,f=a.qj.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.GC.Hoa(a)},1)};c.prototype.defineScript=c.prototype.nqa=function(a){for(var g=[],f=this.mca(),d=0;d<this.WF.length;d++){var c=this.WF[d],o=this.j_(c.qj.get(b.SELECTED_SCRIPT_URL));o==f?(c.qj.set(b.SCRIPT_DATA,a),c.foa(new this.GC(c,c.qj)),
234this.Afa.push(c)):g.push(o)}this.WF=g};c.prototype.create=c.prototype.create=function(a){var d=a.get(b.SCRIPT_URL),d=e(d)?this.iga(d):"string"===typeof d?d:"script.js";a.set(b.SELECTED_SCRIPT_URL,d);a=new g.d8(a);this.nz.push(a);this.h1();return a};c.prototype.setPlayerClass=c.prototype.eoa=function(a){this.GC=a;this.h1()};c.prototype.getOrientation=c.prototype.Wl=function(){var a=screen.orientation&&screen.orientation.type||window.orientation;return"portrait-primary"==a||"portrait-secondary"==a||
2350===a||180==a?g.wa.jJ:"landscape-primary"==a||"landscape-secondary"==a||90==a||-90==a?g.wa.iJ:window.innerWidth<window.innerHeight?g.wa.jJ:g.wa.iJ};
235c.prototype.iga=function(a){if(0<a.length){for(var b=0;b<a.length;b++){var f=a[b];if(e(f)){if(this.O2(f[0]))return f[1]}else if("string"===typeof f)return f}return a[0][1]}return"script.js"};c.prototype.O2=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.Ed==b[1].toLowerCase();
236if(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.Ts==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,
237a)&&g(screen.height,f)||this.U5&&g(screen.width,f)&&g(screen.height,a)}return z}if(e(a)){for(b=0;b<a.length;b++)if(!this.O2(a[b]))return z;return p}return z};c.prototype.ORIENTATION_LANDSCAPE=c.prototype.iJ="landscape";c.prototype.ORIENTATION_PORTRAIT=c.prototype.jJ="portrait";c.prototype.OS_IOS=c.prototype.vC="ios";c.prototype.OS_ANDROID=c.prototype.kJ="android";c.prototype.OS_WINDOWS=c.prototype.UU="windows";c.prototype.OS_WINDOWS_PHONE=c.prototype.oJ="windows_phone";c.prototype.OS_MACOSX=c.prototype.lJ=
238"osx";c.prototype.OS_LINUX=c.prototype.TU="linux";c.prototype.OS_QNX=c.prototype.nJ="qnx";c.prototype.OS_OTHER=c.prototype.mJ="other";c.prototype.BROWSER_TYPE_WEBKIT=c.prototype.Jw="webkit";c.prototype.BROWSER_TYPE_OPERA=c.prototype.oI="opera";c.prototype.BROWSER_TYPE_MSIE=c.prototype.nI="msie";c.prototype.BROWSER_TYPE_MOZILLA=c.prototype.mI="mozilla";c.prototype.BROWSER_TYPE_OTHER=c.prototype.pI="other";c.prototype.BROWSER_SAFARI_IOS=c.prototype.oh="safari_ios";c.prototype.BROWSER_OPERA=c.prototype.dC=
239"opera";c.prototype.BROWSER_SAFARI=c.prototype.Nk="safari";c.prototype.BROWSER_CHROME=c.prototype.oi="chrome";c.prototype.BROWSER_EDGE=c.prototype.rq="edge";c.prototype.BROWSER_MSIE=c.prototype.sq="msie";c.prototype.BROWSER_ANDROID=c.prototype.Ew="android";c.prototype.BROWSER_MOZILLA=c.prototype.cC="mozilla";c.prototype.BROWSER_OTHER=c.prototype.lI="other";c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=c.prototype.Hw="samsunginternet";c.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=c.prototype.yt="oculusbrowser";
240c.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=c.prototype.Iw="samsunginternetgearvr";c.prototype.BROWSER_SUBTYPE_CHROME_IOS=c.prototype.eC="chromeios";c.prototype.BROWSER_SUBTYPE_SAFARI_IOS=c.prototype.Fw="safari_ios";c.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=c.prototype.xt="chrome_webview";c.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=c.prototype.Gw="safari_webview";c.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=c.prototype.tq="tour_launcher";c.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=c.prototype.xt=
241"chromium_edge";c.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=c.prototype.fC="firefox_reality";c.prototype.BROWSER_SUBTYPE_OTHER=c.prototype.gC="other";c.prototype.BROWSER_VERSION_UNKNOWN=c.prototype.qI=-1;c.prototype.DEVICE_IPHONE=c.prototype.uI="iphone";c.prototype.DEVICE_IPAD=c.prototype.Lw="ipad";c.prototype.DEVICE_IPOD=c.prototype.vI="ipod";c.prototype.DEVICE_OTHER=c.prototype.wI="other";c.prototype.os=c.prototype.Ed=d("iphone")||d("ipad")||d("ipod")?c.prototype.vC:d("qnx")?c.prototype.nJ:d("android")?
242c.prototype.kJ:d("windows phone")?c.prototype.oJ:d("windows")?c.prototype.UU:d("mac_powerpc")?c.prototype.lJ:d("macintosh")?1<navigator.maxTouchPoints?c.prototype.vC:c.prototype.lJ:d("linux")||d("x11")?c.prototype.TU:c.prototype.mJ;c.prototype.browser=c.prototype.browser=d("ipad")||d("iphone")||d("ipod")||d("macintosh")&&1<navigator.maxTouchPoints?c.prototype.oh:d("opera")?c.prototype.dC:d("edge")?c.prototype.rq:d("chrome")||d("crmo")?c.prototype.oi:d("android")?c.prototype.Ew:d("safari")?c.prototype.Nk:
243d("trident")||d("msie")?c.prototype.sq:!d("compatible")&&d("mozilla")?c.prototype.cC:c.prototype.lI;c.prototype.browserType=c.prototype.Lv=c.prototype.browser==c.prototype.oh||c.prototype.browser==c.prototype.oi||c.prototype.browser==c.prototype.Ew||c.prototype.browser==c.prototype.Nk||d("webkit")?c.prototype.Jw:c.prototype.browser==c.prototype.dC||d("opera")?c.prototype.oI:d("trident")||d("msie")?c.prototype.nI:!d("compatible")&&d("mozilla")?c.prototype.mI:c.prototype.pI;c.prototype.browserSubtype=
244c.prototype.pd=d("oculusbrowser")&&d("mobile vr")?c.prototype.yt:d("samsungbrowser")&&d("android")?d("mobile vr")?c.prototype.Iw:c.prototype.Hw:d("ipad")||d("iphone")||d("ipod")?d("crios")?c.prototype.eC:d("safari")&&d("version")&&!navigator.Zqa?c.prototype.Fw:c.prototype.Gw:d("electron")?c.prototype.tq:d("chrome")&&d("wv")?c.prototype.xt:d("edg/")?c.prototype.YT:!d("compatible")&&d("mozilla")&&d("mobile vr")?c.prototype.fC:c.prototype.gC;c.prototype.browserVersion=c.prototype.i4=function(){if(c.prototype.browser==
245c.prototype.sq){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.qI}();c.prototype.device=c.prototype.Ts=d("ipad")||d("macintosh")&&1<navigator.maxTouchPoints?c.prototype.Lw:d("iphone")?c.prototype.uI:d("ipod")?c.prototype.vI:c.prototype.wI;var k;a:{switch(c.prototype.Ed){case c.prototype.kJ:case c.prototype.vC:case c.prototype.oJ:case c.prototype.nJ:k=p;break a}k=z}c.prototype.mobile=
246c.prototype.U5=k;g.PlayerAPI=g.wa=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.yi[a])||(this.yi[a]=[]);this.yi[a].push(g)};b.prototype.set=b.prototype.set=function(a,b){this.yi[a]=b};b.prototype.get=b.prototype.get=function(a){return this.yi[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";
247b.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";
248b.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="Backgroun
248dPreloadEnabled";b.ACTIVE_VIDEO_ELEMENT=b.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";b.SERVICE_WORKER_URL=b.SERVICE_WORKER_URL="ServiceWorkerURL";b.PINCH_TO_ZOOM_ENABLED=b.Y7="PinchToZoomEnabled";g.PlayerSettings=
249g.PlayerSettings=b;g.PlayerEvent=g.qJ=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.foa=N("qn");a.prototype["delete"]=function(){this.qn&&(this.qn.clear(),this.qn=q)};a.prototype.getById=a.prototype.tqa=function(a){return this.qn?this.qn.rla(a):q};a.prototype.getByClassName=a.prototype.Ql=function(a){return this.qn?this.qn.Y4(a):[]};a.prototype.createInstance=a.prototype.Vp=function(a){return this.qn.Vp(a)};
250a.prototype.bind=a.prototype.bind=function(a,b,f,g){var d=a.split(":"),a=d[0],d=1<d.length?d[1]:"*";this.Jc[a]=this.Jc[a]||{};this.Jc[a][d]=this.Jc[a][d]||[];this.Jc[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.Jc&&d in this.Jc[a]){for(var c=[],j=this.Jc[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.Jc[a][d]=c}};a.prototype.bindOnObject=
251a.prototype.gqa=function(a,b,f,g,d){return this.bind(b+":"+this.AM(a),f,g,d)};a.prototype.unbindOnObject=a.prototype.ira=function(a,b,f,g,d){return this.unbind(b+":"+this.AM(a),f,g,d)};a.prototype.bindOnObjectsOf=a.prototype.hqa=function(a,b,f,g,d){return this.bind(b+":"+this.qM(a),f,g,d)};a.prototype.unbindOnObjectsOf=a.prototype.jra=function(a,b,f,g,d){return this.unbind(b+":"+this.qM(a),f,g,d)};a.prototype.trigger=function(a){if(a.name in this.Jc){this.yx(a,p);var b=this;setTimeout(function(){b.yx(a,
252z)},0)}};a.prototype.yx=function(a,b){for(var f=this.Jba(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.Jba=function(a,b){var f=[];if(a.name in this.Jc){for(var g=[],d=0;d<a.sourceClassPath.length;d++)g.push(this.qM(a.sourceClassPath[d]));a.sourceId&&g.push(this.AM(a.sourceId));g.push("*");for(var c=this.Jc[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.AM=
253function(a){return"instance("+a+")"};a.prototype.qM=function(a){return"className("+a+")"};g.Player=g.d8=a})();define("jquery.mod",["jquery"],function(a){return a.noConflict(p)});
254(function(){(function(){function a(a,b){return a.k$?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.Os);b instanceof o&&(b=b.Os);var d=F.call(a);if(d!==F.call(b))return z;switch(d){case "[object RegExp]":case "[object String]":return""+
255a==""+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;
256for(;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.nw(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++]=
257j)}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.nw(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&&
258f[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.nw(a)?o.FS(a):o.i6(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.Os=a):
259new 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&&
260h&&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.FJ,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,
261G=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&&module.xka&&(exports=module.xka=o),exports.FJ=o):y.FJ=o;o.VERSION="1.8.3";o.Gqa=function(a,b){return l(a,b,1/0)};var R=Math.pow(2,53)-1,E=h("length");
261o.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.kqa=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=
262f?f[h]:h;d[h]=b(a[c],c,a)}return d};o.reduce=o.qqa=o.Bqa=t(1);o.reduceRight=o.rqa=t(-1);o.find=o.detect=function(a,b,f){var g;return g=k(a)?o.w4(a,b,f):o.Bka(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.b6(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=
263o.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.zqa=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.i6(b))};o.ora=function(a,b){return o.filter(a,o.FS(b))};o.pqa=
264function(a,b){return o.find(a,o.FS(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.uoa=function(a){for(var b=
265k(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.uoa(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,p4:b(a,f,g)}}).sort(function(a,b){var f=a.p4,g=b.p4;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,
266f)?a[f].push(b):a[f]=[b]});o.Aqa=j(function(a,b,f){a[f]=b});o.mqa=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.Tqa=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.bra=function(a,b,f){return q==a?n:q==b||f?a[0]:o.Nla(a,a.length-b)};o.Nla=function(a,b){return B.call(a,
2670,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.ara=o.oqa=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?
268(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.Koa(arguments)};o.Koa=function(a){for(var b=
269a&&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.w4=u(1);o.Cka=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.w4,o.sortedIndex);o.lastIndexOf=v(-1,o.Cka);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++,
270a+=f)g[d]=a;return g};o.bind=function(a,b){function f(){return d(a,f,b,this,g.concat(B.call(arguments)))}
270if(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.PS=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,
271f,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.Vja,h=""+(b?b.apply(this,arguments):g);return o.has(d,h)||(d[h]=a.apply(this,arguments)),d[h]}return f.Vja={},f};o.delay=function(a,b){var f=B.call(arguments,2);return setTimeout(function(){return a.apply(q,f)},b)};o.defer=o.PS(o.delay,o,1);o.throttle=function(a,b,f){function g(){j=f.kma===z?0:o.now();l=q;c=a.apply(d,
272h);l||(d=h=q)}var d,h,c,l=q,j=0;f||(f={});return function(){var e=o.now();j||f.kma!==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.fra===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=
273function(a,b){return o.PS(b,a)};o.b6=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.PS(o.before,2);var O=!{toString:q}.propertyIsEnumerable("toString"),
274H="valueOf,isPrototypeOf,toString,propertyIsEnumerable,hasOwnProperty,toLocaleString".split(",");o.keys=function(a){if(!o.nw(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.DR=function(a){if(!o.nw(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.Kqa=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],
275f,a);return h};o.Sqa=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.D5=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.Oqa=function(a){var b=[],f;for(f in a)o.isFunction(a[f])&&b.push(f);return b.sort()};o.extend=f(o.DR);o.u4=o.assign=f(o.keys);o.Bka=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.wma=function(a,b,f){var d,h,c={},l=a;if(q==
276l)return c;o.isFunction(b)?(h=o.DR(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.Pqa=function(a,b,f){if(o.isFunction(b))b=o.b6(b);else var d=o.map(g(arguments,z,z,1),String),b=function(a,b){return!o.contains(d,b)};return o.wma(a,b,f)};o.defaults=f(o.DR,p);o.create=function(a,b){var f=m(a);return b&&o.u4(f,b),f};o.clone=function(a){return o.nw(a)?o.isArray(a)?a.slice():o.extend({},a):
277a};o.tap=function(a,b){return b(a),a};o.bma=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.nw=function(a){var b=typeof a;
278return"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.Cqa=function(a){return isFinite(a)&&!isNaN(parseFloat(a))};o.isNaN=function(a){return o.isNumber(a)&&a!==+a};o.isBoolean=function(a){return a===
279p||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.FJ=A,this};o.identity=function(a){return a};o.lqa=function(a){return function(){return a}};o.noop=D();o.i6=h;o.Uqa=function(a){return q==a?D():function(b){return a[b]}};o.FS=o.Lqa=function(a){return a=o.u4({},a),function(b){return o.bma(b,a)}};o.times=function(a,b,f){for(var g=Array(Math.max(0,a)),b=r(b,
280f,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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},U=o.D5(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.Foa={evaluate:/<%([\s\S]+?)%>/g,Rla:/<%=([\s\S]+?)%>/g,
281escape:/<%-([\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.Foa),h=0,c="__p+='";a.replace(RegExp([(f.escape||S).source,(f.Rla||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=("+
282d+"))==null?'':__t)+\n'":o&&(c+="';\n"+o+"\n__p+='"),f});c+="';\n";f.j7||(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.j7||"obj","_",c)}catch(j){i((j.source=c,j))}return d.source="function("+(f.j7||"obj")+"){\n"+c+"}",d};o.chain=function(a){a=o(a);return a.k$=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.Os];return J.apply(b,
283arguments),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.Os;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.Os,arguments))}});o.prototype.value=P("Os");o.prototype.valueOf=o.prototype.toJSON=o.prototype.value;o.prototype.toString=function(){return""+
284this.Os};"function"==typeof define&&define.$pa&&define("jo",[],function(){return o}
284)}).call(this)}).call(window.TDV||(window.TDV={}));define("underscore-min",D());define("cI",["underscore-min"],function(){return window.TDV._.noConflict()});
285define("jd",[],function(){return{ha:function(a){return a+"_change"},oc:"default",qb:"mouseDown",uc:"mouseMove",Ib:"mouseUp",Mq:"mouseWheel",U:"click",AU:"doubleClick",Rc:"rollOver",pc:"rollOut",Cj:"mouseEnter",nf:"mouseLeave",qh:"pointerOver",spa:"pointerOut",cV:"pointerDown",dV:"pointerUp",si:"pointerClick",cJ:"gestureStart",D7:"gestureChange",bJ:"gestureEnd",E7:"gestureRotate",zt:"gestureScale",cc:"progress",vq:"close",OPEN:"open",Vk:"select",rb:"resize",sI:"changing",W:"change",mm:"stateChange",
286O:"loaded",kd:"loadingError",mo:"start",ud:"stop",lo:"play",wC:"pause",Sb:"ready",tj:"begin",ua:"end",Zoa:"cancel",cg:"press",rh:"release",Nq:"repeatEnd",Uk:"scroll",sC:"movementChange",Yoa:"beforeShow",XT:"beforeHide",INIT:"init",Ef:"show",zg:"hide",Bt:"showEnd",Lq:"hideEnd",K7:"loadingScript",c8:"processingScript",p7:"applicationSet"}});define("bI",[],function(){return function(a,b){this.name=a;this.source=n;this.data=b}});
287define("iA",[],function(){function a(){this.ne=[];this.Dl=[]}a.prototype.PD=function(a){for(var c=0;c<this.ne.length;c++)if(this.ne[c]==a)return c;return-1};a.prototype.set=function(a,c){var e=this.PD(a);0<=e?this.Dl[e]=c:(this.ne.push(a),this.Dl.push(c))};a.prototype.n5=function(a){return 0<=this.PD(a)};a.prototype.get=function(a){a=this.PD(a);if(0<=a)return this.Dl[a]};a.prototype.keys=function(){return this.ne.slice()};a.prototype.values=function(){return this.Dl.slice()};a.prototype.length=function(){return this.ne.length};
288a.prototype.clear=function(a){a=this.PD(a);0<=a&&(this.ne.splice(a,1),this.Dl.splice(a,1))};a.prototype.each=function(a,c){for(var e=0;e<this.ne.length;e++)a.call(c,this.ne[e],this.Dl[e])};return a});
289define("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.va=a;this.Ov=this.Ov.bind(this);
290this.va.bind(e.rb,this.ib,this,p);this.TP={};this.Dm=[];this.ib()}a("cI");var e=a("jd");c.prototype.ib=function(){this.qja();for(var a in this.TP)this.Ov(this.TP[a]);this.Dm.forEach(this.Ov)};c.prototype.qja=function(){var a=this.va.ab();this.RG=0.01*this.va.za();this.PG=0.01*a;this.W3=Math.min(this.RG,this.PG);this.V3=Math.max(this.RG,this.PG)};c.prototype.Ov=function(a){a(this.RG,this.PG,this.W3,this.V3)};c.prototype.Kja=function(a){this.Dm.push(a)};c.prototype.Mma=function(a){a=this.Dm.indexOf(a);
2910<=a&&this.Dm.splice(a,1)};c.prototype.Oja=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.TP[a.Ro+"."+d]=f;f(this.RG,this.PG,this.W3,this.V3)};c.Bc={};c.get=function(a){var b=a.Ro,g=c.Bc[b];g||(g=new c(a),c.Bc[b]=g);return g};var d={},g=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return c});
292define("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.Fh=document.createElement("a");b.I5=function(a){if(b.G5(a)){var e=window.location.protocol+"//"+window.location.hostname;return a.substring(0,e.length)!=e}return z};b.oq=function(a,e){if(b.ema(a))a=window.location.protocol+a;else if(!b.G5(a)&&!b.rB(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<
293d&&(e=e.substr(0,d));a=g+e+a}else a=e+a;b.Fh.href=a;a=b.Fh.href}return a};b.Xla=function(){switch(window.location.protocol){case "http:":case "https:":return p;default:return z}};b.ema=function(a){return 0===a.indexOf("//")};b.G5=function(a){var b=a.indexOf("://");return 3<=b&&5>=b?p:0==a.indexOf("filesystem:")};b.rB=function(a){return 0==a.indexOf("data:")};b.getDirectory=function(a){a=b.oq(a);a=a.split("?")[0];a=a.split("/");1<a.length&&a.splice(a.length-1,1);return a.join("/")+"/"};b.hh=function(a){b.Ru||
294(b.Ru=b.VY());return b.Ru[a]!==n};b.Rn=function(a){b.Ru||(b.Ru=b.VY());return b.Ru[a]};b.Jv=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.Fh.href=a;a={};a.protocol=b.Fh.protocol;a.hostname=b.Fh.hostname;a.port=b.Fh.port;a.pathname=b.Fh.pathname;a.search=b.Fh.search;a.hash=b.Fh.hash;a.host=b.Fh.host;var e=a.pathname?a.pathname.lastIndexOf("."):-1;a.yka=0<=e?a.pathname.substr(e).toLowerCase():"";return a};
295b.iqa=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.Pl=function(a,e){switch((b.Rn(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.ala=function(){var a=parseInt(b.Rn("dvs"));return isNaN(a)?10:a};b.nH=function(a){a=parseFloat(b.Rn(a));return isNaN(a)?n:a};b.Ru=q;b.VY=
296function(){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});
297define("hb",["require","cI","jquery.mod"],function(a){var b=a("cI"),c=a("jquery.mod"),e={Mla:function(a,b){function d(){}d.prototype=b.prototype;a.prototype=new d;a.prototype.constructor=a},Qja: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.Mla(b,a);e.Qja(b,d);return b},deferred:function(a,
298d){return function(){var c=arguments;b.defer(function(){a.apply(d,c)})}},Xn: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.Iy||(a.Iy=[],a.QN=[]);for(var c=a.Iy,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.QN[f]}}d=d.apply(window,h);a.Iy.length==b&&(a.Iy.shift(),a.QN.shift());a.Iy.push(h);a.QN.push(d);return d},ou:[],fqa:function(a,b){var d=e.paa();
299window[d]=function(){a.apply(b,arguments)};e.ou.push({handler:a,context:b,callback:d});return d},uqa:function(a,b){for(var d=0;d<e.ou.length;d++){var h=e.ou[d];if(h.handler==a&&h.context==b)return h.callback}},hra:function(a,b){for(var d=0;d<e.ou.length;d++){var h=e.ou[d];if(h.handler==a&&h.context==b)return h=h.callback,e.ou.splice(d,1),delete window[h],h}},paa:function(){var a;do a="__callback_"+e.k6(8);while(window[a]);return a},k6:function(a){for(var b=[],d=0;d<a;d++)b.push(Math.floor(16*Math.random()).toString(16));
300return b.join("")},wka:function(a){e.Du=c("<div></div>");e.Du.css({overflow:"auto",position:"absolute",bottom:0,left:0,right:0,padding:"20px",fontFamily:"Verdana",backgroundColor:"#FFFFFF",color:"#000000","z-index":100});a?e.Du.css({top:0}):e.Du.css({width:"40%",right:"0",left:"auto",height:"50%",filter:"alpha(opacity=60)",opacity:0.6});c("body").append(e.Du);console.log=function(a){e.log(a)}}},d;e.log=function(a){if(a!=d){d=a;try{e.Du?c("<div></div>").text(a).prependTo(e.Du):console.log(a)}catch(b){}}};
301e.Vqa=function(a){this.hM.push(a)};e.hM=[];e.debug=function(a,b){try{b.apply(this,arguments)}catch(d){e.GH(a,d),i(d)}};e.GH=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.hM.length;d++)this.hM[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});
302define("di","require,jquery.mod,cI,iA,fh,hE,hb".split(","),function(a){function b(a,b){this.Vt=a;this.PK=b;this.mz=q;this.uO={};this.pO=this.Zq=this.Ot=n;this.I0=[];this.zA=this.Ks=n;this.H0=[];this.Qz=this.ys=n;this.G0={};this.Ky=n;this.E0=[];this.Ho=n;this.F0=[];this.Uo=n;this.IZ=this.KZ=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.mz=a;this.lX();this.nX();this.JK();return this};b.prototype.jla=function(){if(this.mz)return b.Ql(this.mz)};
303b.prototype.Wv=P("Vt");b.prototype.fB=function(){return this.Po()?this.Qm().fB().concat(this.Vt):[this.Vt]};b.prototype.K=function(a){this.uO=a;this.lX();return this};b.prototype.hasAttributes=function(){return this.A4().length>0};b.prototype.hasAttribute=function(a){return this.XR(a)?p:z};b.prototype.A4=function(){this.Ot==n&&this.IX();return this.Ot};b.prototype.Wna=function(){this.pO=["definitions"];return this};b.prototype.S4=function(){if(this.pO)return this.pO;if(this.Po())this.Qm().S4();else return[]};
304b.prototype.XR=function(a){this.Zq==n&&this.IX();return this.Zq[a]};b.prototype.pj=function(a){this.I0=a;this.B$();return this};b.prototype.Gla=function(){return this.c5().length>0};b.prototype.c5=function(){this.Ks==n&&this.MX();return this.Ks};b.prototype.ula=function(){this.zA==n&&this.MX();return this.zA};b.prototype.co=function(a){this.H0=a;this.z$();return this};b.prototype.Fla=function(){return this.a5().length>0};b.prototype.a5=function(){this.ys==n&&this.LX();return this.ys};b.prototype.sla=
305function(){this.Qz==n&&this.LX();return this.Qz};b.prototype.nc=function(a){this.E0=a;this.JK();return this};b.prototype.Cla=function(){return this.$R().length>0};b.prototype.k5=function(a){this.Ho==n&&this.rD();return e(this.Ho).contains(a)};b.prototype.$R=function(){this.Ho==n&&this.rD();return this.Ho};b.prototype.kh=function(a){this.F0=a;this.JK();return this};b.prototype.Ela=function(){return this.eS().length>0};b.prototype.m5=function(a){this.Uo==n&&this.rD();return e(this.Uo).contains(a)};
306b.prototype.eS=function(){this.Uo==n&&this.rD();return this.Uo};b.prototype.vg=function(a){this.G0=a;this.nX();return this};b.prototype.Q4=function(){this.Ky==n&&this.haa();return this.Ky};b.prototype.Ena=function(){this.KZ=p;return this};b.prototype.L4=function(){return this.KZ||this.Po()&&this.Qm().L4()};b.prototype.Vp=function(a,b,f,g){this.xfa(b,f);var d=this.PK,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",
307f);c.set("class",this.Wv());return c};b.prototype.xfa=function(a,b){if(!this.IZ){this.IZ=p;this.raa(a,b);
307this.Saa()}};b.prototype.raa=function(a,b){if(this.Gla()||this.Fla()){var f=this.PK.prototype,d=this.ula(),c=this.sla(),o=f.set;f.set=function(f,e){d[f]&&(!e||!j.rB(e))?o.call(this,f,j.Jv(j.oq(e,a),b)):c[f]?g.get(this.get("application")).Oja(this,o,f,e):o.call(this,f,e)}}};b.prototype.Saa=function(){var a=this.PK.prototype,b=this;if(this.hasAttributes()){a.set=a.set;a.get=a.get}if(this.Cla()||
308this.Ela()){a.bind=a.bind;a.getBindings=a.dB;a.hasBindings=a.i5;a.trigger=a.trigger;a.unbind=a.unbind}a.getClassName=function(){return b.Wv()};a.getClassPath=function(){return b.fB()};var f=this.Q4(),g;for(g in f)a[g]=f[g]};b.prototype.lX=function(){this.Zq=this.Ot=n};b.prototype.IX=function(){this.Ot=[];this.Zq={};for(var a in this.uO){this.Ot.push(a);this.Zq[a]=b.uM(this.uO[a])}if(this.Po())for(var g=this.Qm(),f=g.A4(),d=0;d<f.length;d++){a=f[d];if(!this.Zq[a]){this.Ot.push(a);this.Zq[a]=g.XR(a)}}};
309b.prototype.B$=function(){this.zA=n};b.prototype.MX=function(){this.Ks=this.I0.slice();if(this.Po())this.Ks=e(this.Ks).union(this.Qm().c5());this.zA={};for(var a=0;a<this.Ks.length;a++)this.zA[this.Ks[a]]=p};b.prototype.z$=function(){this.Qz=n};b.prototype.LX=function(){this.ys=this.H0.slice();if(this.Po())this.ys=e(this.ys).union(this.Qm().a5());this.Qz={};for(var a=0;a<this.ys.length;a++)this.Qz[this.ys[a]]=p};b.prototype.JK=function(){this.Uo=this.Ho=n};b.prototype.rD=function(){this.Ho=this.E0.slice();
310this.Uo=this.F0.slice();if(this.Po()){this.Ho=e(this.Ho).union(this.Qm().$R());this.Uo=e(this.Uo).union(this.Qm().eS())}};b.prototype.nX=function(){this.Ky=n};b.prototype.haa=function(){this.Ky=e(this.G0).clone();this.Po()&&e(this.Ky).defaults(this.Qm().Q4())};b.prototype.Po=function(){return this.mz?p:z};b.prototype.Qm=function(){return b.Ql(this.mz)};b.jX=new d;b.iX=new d;b.Ypa={};b.A=function(a,g){var f=new b(a,g);b.jX.set(a,f);b.iX.set(g,f);return f};b.Ql=function(a){return b.jX.get(a)};b.Jka=
311function(a){return b.iX.get(a)};b.ub=function(a,g){var f=b.Ql(a);if(e(g).isNull())return p;if(g&&g.constructor)for(var d=b.Jka(g.constructor);d;){if(d==f)return p;d=d.jla()}return z};b.uM=function(a){switch(a){case "string":case "code":return b.Xha;case "number":return b.Sda;case "bool":return b.J9;case "color":return b.H$;case "percent":return b.ifa;case "size":return b.yha;case "identifier":return b.Sca;case "array":return b.uW;case "dict":return b.jfa;case "*":return b.Maa;default:if(b.lda(a))switch(b.xba(a)){case "array":var g=
312b.uM(b.wY(a));return function(a,f){for(var a=b.uW(a,f),d=0;d<a.length;d++)a[d]=g(a[d],f);return a};case "enum":var f=b.xY(a);return b.yba(f);case "or":var f=b.xY(a),d=e(f).map(function(a){return b.uM(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.Nj(function(f){return b.ub(a,f)})}};b.lda=function(a){return a.indexOf("[")>=0&&a.lastIndexOf("]")==a.length-1};b.xba=function(a){return a.substring(0,
313a.indexOf("["))};b.wY=function(a){return a.substring(a.indexOf("[")+1,a.lastIndexOf("]"))};b.xY=function(a){for(var a=b.wY(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.Fia(a)})};b.Fia=function(a){return a.replace(/^\s+|\s+$/g,"")};b.Nj=function(a){return function(g,f){if(!a(g)){typeof g!="string"&&i("Invalid value");g=b.Qaa(g,
314f);a(g)||i("Invalid value")}return g}};b.Qaa=function(a,b){return function(){return eval(a)}.call(b)};b.Maa=function(a){return a};b.Sda=b.Nj(function(a){return Object.prototype.toString.call(a)=="[object Number]"});b.Xha=b.Nj(function(a){return typeof a=="string"||a===q});b.J9=b.Nj(function(a){return a===p||a===z});b.uW=b.Nj(function(a){return Object.prototype.toString.call(a)=="[object Array]"});b.yba=function(a){return b.Nj(function(b){return e(a).contains(b)})};b.GD=function(a,b){return e(a).isString()&&
315b.test(a)};b.Sca=b.Nj(function(a){return b.GD(a,/^[a-z][a-z0-9_]*$/i)});b.ifa=b.Nj(function(a){return b.GD(a,/^\s*([+-]?\d+\.?\d*)%\s*$/i)});b.yha=b.Nj(function(a){return b.GD(a,/^\s*([+-]?\d+\.?\d*)\s*((vw)|(vh)|(vmin)|(vmax)|(px))\s*$/i)});b.H$=b.Nj(function(a){return b.GD(a,/^#[0-9a-f]{6}$/i)});b.jfa=b.Nj(function(a){try{return c.isPlainObject(a)}catch(b){return z}});return b});
316define("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{DB: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);
317return e-1}
317,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}}}}});
318define("dT",["cI","he","bI","hb"],function(a,b,c,e){function d(){this.Jc={}}d.prototype.bind=function(a,b,d,c,e){a===n&&i("Event name undefined");b===n&&i("Event handler undefined");a in this.Jc||(this.Jc[a]=[]);this.Jc[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.Jc){var c=c||this,h=a(this.Jc[b]).select(function(a){return a.handler!=d||a.context!=c});0<h.length?this.Jc[b]=h:delete this.Jc[b]}return this};d.prototype.h7=
319function(){this.Jc={}};d.prototype.trigger=function(a,b){var d="string"==typeof a,h=d?a:a.name;h in this.Jc&&(d&&(a=new c(a,b)),a.source=this,this.yx(a,p),h in this.Jc&&this.saa(a));return this};d.prototype.saa=function(a){d.uD.push({caller:this,event:a});d.FL||(d.FL=p,b.DB(d.PX))};d.uD=[];d.FL=z;d.PX=function(){for(var a=(new Date).getTime()+1E3;d.uD.length;){var c=d.uD.shift();d.prototype.yx.call(c.caller,c.event,z);if((new Date).getTime()>a)break}0<d.uD.length?b.DB(d.PX,1):d.FL=z};d.prototype.i5=
320function(a){return a in this.Jc};d.prototype.dB=function(a,b){for(var d=[],c=this.Jc[a]||[],e=0;e<c.length;e++){var f=c[e];(b===n||f.immediate==b)&&d.push(f.handlerDef)}return d};d.prototype.yx=function(a,b){if(a.name in this.Jc)for(var d=this.Jc[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.GH("Exception handling event "+a.name,f)}}};return d});
321define("hu",["jd","hb","bI","dT"],function(a,b,c,e){b=b.extend(e,function(){e.call(this);this.qx={}});b.prototype.set=function(a,b){this.qx[a]!=b&&(this.qx[a]=b,this.l3(a))};b.prototype.l3=function(b){this.trigger(new c(a.ha(b)))};b.prototype.get=function(a,b){var c=this.qx[a];return c!==n?c:b};return b});
322define("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.Iv(this)};a.prototype.project=function(a){a.project(this)};return a});
323define("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.mc=function(){return 0==this.x&&0==this.z?0:-Math.atan2(this.x,this.z)};c.prototype.ac=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.iS=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};c.prototype.normalize=function(){var a=this.iS();1!=a&&(this.x/=
324a,this.y/=a,this.z/=a)};c.prototype.$A=function(a){return this.x*a.x+this.y*a.y+this.z*a.z};c.prototype.oka=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.Yp=function(a,b){return new c(b.x-a.x,b.y-a.y,b.z-a.z)};c.Hka=function(a){return new c(Math.cos(0)*Math.sin(a),Math.sin(0),Math.cos(0)*Math.cos(a))};return c});
325define("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.hR=this.Im=n});d.A("AdjacentPanorama",a).B("Object").K({yaw:"number",distance:"number",panorama:"Panorama",backwardYaw:"number"}).kh([e.Vk]);a.prototype.E4=function(){if(this.Im===n){for(this.Im=this.KY()-this.get("yaw");this.Im>180;)this.Im=this.Im-360;for(;this.Im<-180;)this.Im=this.Im+360}return this.Im};a.prototype.Vka=function(){if(this.hR===
326n)this.hR=g.Hka(this.KY()*Math.PI/180);return this.hR};a.prototype.Xja=function(){return this.get("yaw")!==n&&this.get("backwardYaw")!==n};a.prototype.KY=function(){return this.get("backwardYaw")-180};return a});define("es",[],function(){return{L:"stopped",T:"playing",Hc:"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});
327define("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.Hc)};b.prototype.stop=function(){this.set("state",e.L)};a.A("AnimatedImageResource",b).B("ImageResource").K({autoplay:"bool",
328finalFrame:"enum[first, last]",frameCount:"number",frameDuration:"number",rowCount:"number",colCount:"number",repeat:"number",state:"enum[stopped, playing, paused]",visibleOnStop:"bool"}).nc([c.ua,c.Nq]).vg({pause:b.prototype.pause,play:b.prototype.play,stop:b.prototype.stop});b.prototype.aw=function(a,b,c){b||(b=1);c||(c=1);return d.prototype.aw.call(this,a,b*this.get("colCount",1),c*this.get("rowCount",1))};return b});
329define("fi",["hb","hu","di"],function(a,b,c){a=a.extend(b,function(a){b.call(this);this.dv=a===n?p:a;this.Bu=this.vk=this.tk=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",
330selected:"bool",useHandCursor:"bool"});a.prototype.getItem=function(){if(this.G===n){var a=this.get("image");this.G=a?a.bH(this.dv):q}return this.G};a.prototype.X4=function(){if(this.tk===n){var a=this.get("rollOverImage");this.tk=a?a.bH(this.dv):q}return this.tk};a.prototype.Z4=function(){if(this.vk===n){var a=this.get("selectedImage");this.vk=a?a.bH(this.dv):q}return this.vk};a.prototype.fla=function(){if(this.Bu===n){this.Bu=[];var a=this.getItem();a&&this.Bu.push(a);(a=this.X4())&&this.Bu.push(a);
331(a=this.Z4())&&this.Bu.push(a)}return this.Bu};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"}).pj(["mp3Url","oggUrl"]);return a});define("bS",[],function(){return{Qw:"inAdvance",bU:"delayed"}});
332define("N",[],function(){return{oC:"grab",tU:"grabbing",O7:"move",KU:"move-n",LU:"move-ne",BU:"move-e",OU:"move-se",NU:"move-s",PU:"move-sw",QU:"move-w",MU:"move-nw",P7:"move-ew",R7:"move-ns",Q7:"move-nesw",S7:"move-nwse",DU:"move-fast-n",EU:"move-fast-ne",CU:"move-fast-e",HU:"move-fast-se",GU:"move-fast-s",IU:"move-fast-sw",JU:"move-fast-w",FU:"move-fast-nw",Ud:"hand",oc:"default",Pw:"inherit"}});
333define("eA",["require","jd"],function(a){function b(){this.fg=[]}var c=a("jd");b.prototype.register=function(a){this.P8(a);this.fg.push(a);a.get("pressed")&&this.V1(a)};b.prototype.ZB=function(a){this.Mfa(a)};b.prototype.P8=function(a){a.bind(c.cg,this.v_,this,p)};b.prototype.Mfa=function(a){a.unbind(c.cg,this.v_,this)};b.prototype.v_=function(a){this.V1(a.source)};b.prototype.V1=function(a){this.fg.forEach(function(b){b.set("pressed",b==a)})};b.register=function(a,b){this.ZB(a);var g=this.Ye(b);
334a.SJ=g;g.register(a)};b.ZB=function(a){a.SJ&&(a.SJ.ZB(a),delete a.SJ)};b.Ye=function(a){return this.yZ[a]||(this.yZ[a]=new b)};b.yZ={};return b});define("cH",[],function(){return{vc:"push",sh:"toggle"}});define("eO",[],function(){return{Qq:"visible",uU:"hidden",Uk:"scroll"}});define("en",[],function(){return{oc:n,q:"over",ta:"pressed",Sa:"pressedOver",C:"selected"}});define("dy",[],function(){return{Rc:"rollOver",ALWAYS:"always"}});
335window.mpa=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=['&#173;<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(!~(""+
336d).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"],
337r=["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=
338this;"function"!=typeof f&&i(new TypeError);
338var 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.Jpa};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;}}",
339function(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$/,
340""),f.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),f.mra=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),f.Jqa=(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.Pja=function(a,b){if("object"==typeof a)for(var f in a)v(a,f)&&j.Pja(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.EA="2.6.1",j.Xpa=
341f,j.Rpa=r,j.Qpa=l,j.dra=function(a){return d([a])},j.cra=g,j.era=e,j}(this,this.document);define("Modernizr",D());define("modernizr.mod",["Modernizr"],function(){return window.Modernizr});
342define("r",["require","modernizr.mod","hb","hE"],function(a){function b(){}var c=a("modernizr.mod"),e=a("hb"),d=a("hE");b.ri=TDV.wa.vC;b.VT=TDV.wa.kJ;b.EJ=TDV.wa.UU;b.Ipa=TDV.wa.oJ;b.M7=TDV.wa.lJ;b.ipa=TDV.wa.TU;b.upa=TDV.wa.nJ;b.mJ=TDV.wa.mJ;b.Jw=TDV.wa.Jw;b.oI=TDV.wa.oI;b.nI=TDV.wa.nI;b.mI=TDV.wa.mI;b.pI=TDV.wa.pI;b.oh=TDV.wa.oh;b.dC=TDV.wa.dC;b.Nk=TDV.wa.Nk;b.oi=TDV.wa.oi;b.rq=TDV.wa.rq;b.sq=TDV.wa.sq;b.Ew=TDV.wa.Ew;b.cC=TDV.wa.cC;b.lI=TDV.wa.lI;b.Hw=TDV.wa.Hw;b.yt=TDV.wa.yt;b.Iw=TDV.wa.Iw;b.Fw=
343TDV.wa.Fw;b.eC=TDV.wa.eC;b.xt=TDV.wa.xt;b.Gw=TDV.wa.Gw;b.tq=TDV.wa.tq;b.YT=TDV.wa.YT;b.fC=TDV.wa.fC;b.gC=TDV.wa.gC;b.qI=TDV.wa.qI;b.uI=TDV.wa.uI;b.Lw=TDV.wa.Lw;b.vI=TDV.wa.vI;b.wI=TDV.wa.wI;b.Ko=function(a){a="force_"+a;if(d.hh("debug")&&d.hh(a))return d.Rn(a)};b.gba=b.Ko("os");b.Ed=function(){return b.gba||TDV.wa.Ed};b.bba=b.Ko("browser");b.browser=function(){return b.bba||TDV.wa.browser};b.cba=b.Ko("browser_type");b.Lv=function(){return b.cba||TDV.wa.Lv};b.lY=b.Ko("browser_subtype");b.pd=function(){return b.lY?
344b.lY:TDV.wa.pd};b.dba=b.Ko("browser_version");b.i4=function(){return b.dba||TDV.wa.i4};b.fba=b.Ko("device");b.Ts=function(){return b.fba||TDV.wa.Ts};b.Xa=function(){return TDV.wa.U5};b.Taa=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.lba=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(","),
345d=0;d<b.length;d++)if(0<=a.indexOf(b[d].toLowerCase()))return p;return z}();b.mY=b.Ko("gearvrcompatible");b.cB=function(){return b.mY!==n?"true"==b.mY:b.lba};b.n$=b.browser()!=b.oi||0>navigator.userAgent.indexOf("; wv")?z:p;b.eba=!!b.Ko("chromewebview");b.m4=function(){return b.eba||b.n$};b.kf=function(){return b.pd()==b.yt||b.pd()==b.Iw||b.pd()==b.fC};b.J5=function(){return b.kf()&&b.cB()};b.tz=n;b.Dma=function(){b.tz===n&&(b.tz=parseInt(d.Rn("sts")),isNaN(b.tz)&&(b.tz=b.kf()&&!b.Taa?512:b.Xa()&&
346b.Ed()==b.ri?512:b.Xa()?256:1024));return b.tz};b.Pca=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.yH=function(){return b.Pca};b.gZ=function(){var a={f5:"unknown",Nqa: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.f5=b.getParameter(d.UNMASKED_RENDERER_WEBGL));
347a.oma=b.getParameter(b.MAX_TEXTURE_SIZE)}return a}();b.xla=function(){return b.gZ};b.i9=function(){var a=b.gZ.f5.match(/Apple\s+(.+)\s+GPU/);return a?a[1].toUpperCase():"unknown"}();b.aqa=function(){return b.i9};b.sda=b.Ts()==b.Lw?p:z;b.aq=function(){return b.sda};var g;b.browser()==b.Nk&&(g=parseFloat(/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent)[1]));b.fga=g;b.$ma=function(){return b.fga};b.yda=c.touch||"undefined"!==typeof window.PointerEvent&&"undefined"!==typeof navigator.maxTouchPoints&&
3480<navigator.maxTouchPoints?p:z;b.OT=function(){return b.yda};b.Di=c.touch?b.Ed()==b.EJ?z:p:z;b.PT=function(){return b.Di};b.summary=function(){return["browser: "+b.browser(),"browserType: "+b.Lv(),"browserSubtype: "+b.pd(),"device: "+b.Ts(),"isMobile: "+b.Xa(),"gearVRCompatibleDevice: "+b.cB(),"chromeWebView: "+b.m4(),"touchDevice"+b.OT(),"touchEnabled"+b.PT()].join(", ")};b.log=function(){e.log("browser: "+b.browser());e.log("browserType: "+b.Lv());e.log("browserSubtype: "+b.pd());e.log("device: "+
349b.Ts());e.log("isMobile: "+b.Xa());e.log("gearVRCompatibleDevice: "+b.cB());e.log("chromeWebView: "+b.m4());e.log("touchDevice: "+b.OT());e.log("touchEnabled: "+b.PT())};return b});
350define("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.Ed()==j.ri&&b()}function g(){document.body.addEventListener("click",b,p);document.body.addEventListener("touchstart",d,p);document.body.addEventListener("touchmove",
351e,p);document.body.addEventListener("touchend",c,p)}var j=a("r"),k=z,h=z,m=[];return{gI:function(){b()},l7:function(a){m.push(a);k||(k=p,document.body?g():document.addEventListener("DOMContentLoaded",g))},$qa:function(a){a=m.indexOf(a);0<=a&&m.splice(a,1)}}});define("eU",[],function(){return{N7:7,bC:6,qC:5,Sk:4,iV:3,pJ:2,$U:1,jpa:0}});define("S",[],function(){return{fJ:"horizontal",AJ:"vertical"}});
352define("jq",[],function(){return{yV:"auto",xV:"auto",hV:"1",WU:"2",VU:"auto",bC:"2",aU:"3",$T:"auto",gV:"3",qV:"100",yV:"1",xV:"auto",hV:"1",WU:"2",VU:"auto",bC:"2",aU:"3",$T:"auto",gV:"5",qV:"100",bpa:"101",z7:999998,Hp
352a:999999,I7: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]},Fma: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={}}}});
353define("bo",["require"],function(){return{Dla:function(a){return!!a&&0<=a.indexOf("&tdvflipx")},d4:function(a){a&&(0>a.indexOf("#")&&(a+="#"),a+="&tdvflipx");return a},Eka: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()}}});
354define("fo",["require","r","hE","he"],function(a){function b(a,b,d,c,e){this.url=a;this.Qe=b;this.time=d;this.xoa=c;this.Yja=e}var c=a("r");URL=a("hE");async=a("he");b.prototype.loaded=function(){e.LP(this.url);e.yp(this)};b.prototype.cancel=function(){e.yp(this)};var e={xp:[],dl:[],Zz:[],YQ:q,RZ:{},add:function(a,d,c,h){a=new b(a,d,(new Date).getTime(),c,h);this.xp.push(a);this.M();return a},Y6:function(a){this.Zz.push(a);this.M()},X6:function(a){var b=this.Zz,a=b.indexOf(a);0<=a&&b.splice(a,1);
355this.M()}};if(c.pd()==c.tq)e.TT=Q(p),e.LP=D();else if(!URL.hh("debug")||!URL.Pl("disable-cache")){e.TT=function(a){return this.RZ[a]||!!window.localStorage&&!!window.localStorage.getItem("tdvp_"+a)};var d=z;e.LP=function(a){this.RZ[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.TT=Q(z),e.LP=D();e.M=function(){this.YQ||(this.YQ=async.DB(e.Via))};e.Via=function(){e.YQ=q;for(var a=this.jga(),
356b=0,d=this.dl.length;b<d;b++){var c=this.dl[b];0>a.indexOf(c)&&c.Yja()}var m=this.dl;this.dl=a;b=0;for(d=this.dl.length;b<d;b++)c=this.dl[b],0>m.indexOf(c)&&c.xoa()}.bind(e);e.zha=function(){this.xp.sort(function(a,b){return a.Qe-b.Qe||b.time-a.time});this.Zz.sort(function(a,b){return a-b})};e.jga=function(){this.zha();var a=[];if(this.xp.length)for(var b=this.Zz.length?this.Zz[0]:this.xp[0].Qe,d=0;10>d&&d<this.xp.length&&this.xp[d].Qe<=b;d++)a.push(this.xp[d]);return a};e.yp=function(a){var b=this.xp,
357a=b.indexOf(a);0<=a&&b.splice(a,1);this.M()};return e});
358define("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.tn=a||g.N7;this.ba=this.R=this.gb=this.Bb=q;this.ap=z;this.bv=this.Gi=q;this.MF=0;this.eN=[];this.bE=this.bE.bind(this);this.cE=this.cE.bind(this)});a.prototype.load=function(a){this.cancel();this.Bb=a;this.MF=0;this.E1()};a.prototype.E1=function(){this.Gi=h.add(this.Bb,this.tn,this.Gha.bind(this),this.h$.bind(this))};
359a.prototype.cancel=function(){if(this.Gi){this.Gi.cancel();this.Gi=q}this.kX()};a.prototype.$la=function(){return!!this.gb&&!this.ap||this.bv};a.prototype.Tn=P("ap");a.prototype.Cd=function(a){if(a){a=this.gb.cloneNode(p);this.eN.push(a);return a}return this.gb};a.prototype.Gc=P("R");a.prototype.sd=P("ba");a.prototype.Pe=P("Bb");a.prototype.Gha=function(){this.gb=this.daa(this.Bb)};a.prototype.h$=function(){this.$la()&&this.kX()};a.prototype.kX=function(){if(this.gb){if(this.bv){clearTimeout(this.bv);
360this.bv=q}for(this.ap=z;this.eN.length;)this.VX(this.eN.shift());this.VX(this.gb);this.gb=q}};a.prototype.T8=function(a){a.addEventListener("load",this.bE);a.addEventListener("error",this.cE)};a.prototype.u1=function(a){a.removeEventListener("load",this.bE);a.removeEventListener("error",this.cE)};a.prototype.bE=function(){this.Gi.loaded();this.Gi=q;this.u1(this.gb);this.ap=p;this.R=this.gb.width;this.ba=this.gb.height;k.Dla(this.Bb)&&k.Eka(this.gb,this.R,this.ba);this.trigger(new c(d.O))};a.prototype.cE=
361function(){this.cancel();if(this.MF<l){this.MF++;this.bv=setTimeout(function(){this.bv=q;this.E1()}.bind(this),Math.pow(2,this.MF)*1E3)}else this.trigger(new c(d.kd))};a.prototype.daa=function(a){var b;if(f.length>0)b=f.pop();else{b=document.createElement("img");if(j.I5(a))b.crossOrigin="Anonymous"}b.setAttribute("draggable","false");b.style.position="static";b.style.border="none";b.style.display="none";this.T8(b);b.src=a;return b};a.prototype.VX=function(a){this.u1(a);a.parentNode&&a.parentNode.removeChild(a);
362a.src="";f.length>m&&f.push(a)};var m=100,f=[],l=5;a.Z6=function(a){return h.TT(a)};return a});
363define("eb","require,cI,jquery.mod,jd,eU,S,jq,eg,gE".split(","),function(a){function b(){this.Gj=this.Ij=this.Jj=this.Hj=this.zm=this.ym=this.Bm=this.Am=0;this.NC=this.PC=this.QC=this.OC="";this.Ab=1;this.of=n;this.lr=[];this.TK=[];this.QK=j.AJ;this.cD=z;this.ZD=n;this.Ce=q;
363this.NM=this.sR=0;this.Wa=document.createElement("canvas");this.Wa.setAttribute("tdvlayer","background");this.v=e(this.Wa);h.css(this.Wa,{position:"absolute",left:0,top:0,"z-index":k.bC,"user-select":"none","-ms-user-select":"none",
364"-moz-user-select":"none","-webkit-user-select":"none"});this.Hd=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.sR!=a||this.NM!=b){this.sR=a||0;this.NM=b||0;this.Hd=p}};b.prototype.E6=function(a){if(this.Xj!=a){this.Xj=a;this.Hd=p}};b.prototype.kb=P("v");b.prototype.hB=P("Wa");b.prototype.Bna=function(a){if(this.ZD!=a){if(this.Ce){this.Ce.unbind(d.O,this.So,this);this.Ce.cancel();this.Ce=q}if(this.ZD=a){this.Ce=
365new m(g.iV);this.Ce.bind(d.O,this.So,this);this.Ce.load(this.ZD)}this.Hd=p}};b.prototype.lT=function(a){if(this.Am!=a){this.Am=a;this.Hd=p}};b.prototype.mT=function(a){if(this.Bm!=a){this.Bm=a;this.Hd=p}};b.prototype.gT=function(a){if(this.ym!=a){this.ym=a;this.Hd=p}};b.prototype.hT=function(a){if(this.zm!=a){this.zm=a;this.Hd=p}};b.prototype.jT=function(a){if(this.Hj!=a){this.Hj=a;this.Hd=p}};b.prototype.nT=function(a){if(this.Jj!=a){this.Jj=a;this.Hd=p}};b.prototype.kT=function(a){if(this.Ij!=a){this.Ij=
366a;this.Hd=p}};b.prototype.iT=function(a){if(this.Gj!=a){this.Gj=a;this.Hd=p}};b.prototype.ina=function(a){if(this.OC!=a){this.OC=a;this.Hd=p}};b.prototype.kna=function(a){if(this.QC!=a){this.QC=a;this.Hd=p}};b.prototype.jna=function(a){if(this.PC!=a){this.PC=a;this.Hd=p}};b.prototype.hna=function(a){if(this.NC!=a){this.NC=a;this.Hd=p}};b.prototype.ki=function(a){if(this.Ab!=a){this.Ab=a;this.Hd=p}};b.prototype.ei=P("Ab");b.prototype.vw=function(a){if(!c.isEqual(this.of,a)){this.of=a;c(a).isArray()||
367(a=[a]);a=c(a).filter(function(a){return c(a).isString()});this.x6(a)}};b.prototype.x6=function(a){if(!c.isEqual(this.lr,a)){this.lr=a;this.Hd=p}};b.prototype.nna=function(a){if(this.Ppa!=a){this.TK=a;this.Hd=p}};b.prototype.mna=function(a){if(this.QK!=a){this.QK=a;this.Hd=p}};b.prototype.So=function(){this.Hd=p;this.fe()};b.prototype.fe=function(){if(this.Hd){this.M();this.Hd=z}};b.prototype.M=function(){var a=Math.max(0,this.sR-(this.Hj+this.Ij)),b=Math.max(0,this.NM-(this.Jj+this.Gj)),d=this.v.get(0);
368d.width=a;d.height=b;var d=d.getContext("2d"),g=this.a$(),h=g.length>0,e=this.Ce&&this.Ce.Tn(),k=this.Hj>0&&this.OC||this.Jj>0&&this.QC||this.Ij>0&&this.PC||this.Gj>0&&this.NC,k=h||e||k;if(h){var m;m=this.QK==j.fJ?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.cD=p}else if(this.cD){d.clearRect(0,0,a,b);this.cD=z}if(e){d.drawImage(this.Ce.Cd(),0,0,a,b);this.cD=p}this.Wa.style.opacity=
369this.Ab;this.Wa.style.filter="alpha(opacity="+Math.round(this.Ab*100)+")";this.Wa.style["-ms-filter"]="alpha(opacity="+Math.round(this.Ab*100)+")";this.Wa.style.borderTopLeftRadius=this.Am+"px";this.Wa.style.borderTopRightRadius=this.Bm+"px";this.Wa.style.borderBottomLeftRadius=this.ym+"px";this.Wa.style.borderBottomRightRadius=this.zm+"px";this.Wa.style.borderLeft=this.MD(this.Hj,this.OC);this.Wa.style.borderTop=this.MD(this.Jj,this.QC);this.Wa.style.borderRight=this.MD(this.Ij,this.PC);this.Wa.style.borderBottom=
370this.MD(this.Gj,this.NC);this.Wa.style.width=a+"px";this.Wa.style.height=b+"px";this.Wa.style.cursor="inherit";this.Wa.style.display=k?"block":"none";if(this.Wa.clientWidth===0&&a!==0){this.Wa.style.width=0;this.Wa.style.width=a+"px"}};b.prototype.MD=function(a,b){return a>0?b?a+"px solid "+b:a+"px solid transparent":"none"};b.prototype.a$=function(){var a=[];if(this.lr.length>0){for(var b=this.lr.slice(),b=[].concat([b[0]],b,[b[b.length-1]]),d=this.Z9(),d=[].concat([0],d,[1]),g=0;g<b.length;g++){var c=
371d[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.Z9=function(){var a=this.lr.length,b;for(b=this.TK.length>0?c(this.TK).map(function(a){return Math.min(1,Math.max(0,a))}
371):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});
372define("cl",["jquery.mod","jq","eg"],function(a,b,c){function e(){this.dF=this.fF=this.gF=this.eF=this.Gj=this.Ij=this.Jj=this.Hj=0;this.kz=this.Xj=p;this.lR=this.ZM=0;this.Y=p;this.Fz=document.createElement("div");this.Fz.setAttribute("tdvlayer","content");this.N1=a(this.Fz);c.css(this.Fz,{position:"absolute"});this.mD=document.createElement("div");this.DX=a(this.mD);c.css(this.mD,{position:"absolute"});this.N1.append(this.DX)}e.prototype.append=function(a){this.DX.append(a)};e.prototype.f4=function(a){this.mD.appendChild(a)};
373e.prototype.kb=P("N1");e.prototype.hB=P("Fz");e.prototype.zna=function(a){this.ZM!=a&&(this.ZM=a,this.Y=p)};e.prototype.poa=function(a){this.lR!=a&&(this.lR=a,this.Y=p)};e.prototype.$v=function(){return this.eF+this.Hj};e.prototype.ew=function(){return this.gF+this.Jj};e.prototype.dw=function(){return this.fF+this.Ij};e.prototype.Uv=function(){return this.dF+this.Gj};e.prototype.zw=function(a){this.kz!=a&&(this.kz=a,this.Y=p)};e.prototype.Zna=function(a){this.eF!=a&&(this.eF=a,this.Y=p)};e.prototype.aoa=
374function(a){this.gF!=a&&(this.gF=a,this.Y=p)};e.prototype.$na=function(a){this.fF!=a&&(this.fF=a,this.Y=p)};e.prototype.Yna=function(a){this.dF!=a&&(this.dF=a,this.Y=p)};e.prototype.jT=function(a){this.Hj!=a&&(this.Hj=a,this.Y=p)};e.prototype.nT=function(a){this.Jj!=a&&(this.Jj=a,this.Y=p)};e.prototype.kT=function(a){this.Ij!=a&&(this.Ij=a,this.Y=p)};e.prototype.iT=function(a){this.Gj!=a&&(this.Gj=a,this.Y=p)};e.prototype.E6=function(a){this.Xj!=a&&(this.Xj=a,this.Y=p)};e.prototype.fe=function(){this.Y&&
375(this.M(),this.Y=z)};e.prototype.M=function(){c.css(this.Fz,{overflow:this.kz?"visible":"hidden","z-index":this.Xj?b.aU:b.$T,left:this.$v()+"px",top:this.ew()+"px",right:this.dw()+"px",bottom:this.Uv()+"px",cursor:"inherit"});c.css(this.mD,{left:-this.ZM+"px",top:-this.lR+"px",right:this.kz?0:"initial",bottom:this.kz?0:"initial",cursor:"inherit"})};return e});
376define("gl",["cI","jquery.mod","hb","jq","eg"],function(a,b,c,e,d){function g(){this.ba=this.R=this.aa=this.$=n;this.zm=this.ym=this.Bm=this.Am=0;this.Xc=z;this.YM=0;this.kR=4;this.wK=6;this.aQ=0;this.of="#000000";this.Ab=1;this.Wa=document.createElement("div");this.Wa.setAttribute("tdvlayer","shadow");this.v=b(this.Wa);d.css(this.Wa,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Y=z}g.prototype.kb=P("v");g.prototype.hB=P("Wa");g.prototype.lT=function(a){this.Am!=a&&(this.Am=a,this.Y=
377p)};g.prototype.mT=function(a){this.Bm!=a&&(this.Bm=a,this.Y=p)};g.prototype.gT=function(a){this.ym!=a&&(this.ym=a,this.Y=p)};g.prototype.hT=function(a){this.zm!=a&&(this.zm=a,this.Y=p)};g.prototype.ki=function(a){this.Ab!=a&&(this.Ab=a,this.Y=p)};g.prototype.ei=P("Ab");g.prototype.Re=function(a){this.Xc!=a&&(this.Xc=a,this.Y=p)};g.prototype.yna=function(a){this.YM!=a&&(this.YM=a,this.Y=p)};g.prototype.ooa=function(a){this.kR!=a&&(this.kR=a,this.Y=p)};g.prototype.gna=function(a){this.wK!=a&&(this.wK=
378a,this.Y=p)};g.prototype.ioa=function(a){this.aQ!=a&&(this.aQ=a,this.Y=p)};g.prototype.vw=function(a){this.of!=a&&(this.of=a,this.Y=p)};g.prototype.fe=function(){this.Y&&(this.M(),this.Y=z)};g.prototype.M=function(){var a=this.YM+"px "+this.kR+"px "+this.wK+"px "+this.aQ+"px "+this.of;this.Wa.style.display=this.Xc?"block":"none";this.Wa.style.boxShadow=a;this.Wa.style["-webkit-box-shadow"]=a;this.Wa.style["-moz-box-shadow"]=a;this.Wa.style.borderTopLeftRadius=this.Am+"px";this.Wa.style.borderTopRightRadius=
379this.Bm+"px";this.Wa.style.borderBottomLeftRadius=this.ym+"px";this.Wa.style.borderBottomRightRadius=this.zm+"px";this.Wa.style.filter="alpha(opacity="+Math.round(100*this.Ab)+")";this.Wa.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Ab)+")";this.Wa.style.opacity=this.Ab;this.Wa.style.zIndex=e.hV};return g});
380define("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.Ro=r.Ro++;this.$K=this.yc=this.tO=this.jz=this.VP=this.v=this.Wa=q;this.n3=this.DZ=z;this.P=this.va=q;this.ba=this.R=this.Xr=this.Wr=0;this.Wo=this.Xc=z;this.tZ=p;this.Gy=this.Hy=this.Pg=this.Qg=0;this.Ab=1;this.ze=d.oc;this.set("inView",
381z);this.set("toolTip",n);this.vs(p);this.NP(p)});r.prototype.Nc=N("Vt");r.prototype.toString=function(){return"["+this.v.attr("tdvclass")+"::"+this.Ro+"]"};r.prototype.log=function(a){c.log(a+" "+this.toString()+" "+(new Date).getTime().toString())};r.prototype.fb=P("va");r.prototype.Gp=function(a){(this.va=a)&&this.fN();this.Av();this.trigger(g.p7)};r.prototype.kb=function(){this.v=b(this.Pm());this.kb=P("v");return this.v};r.prototype.Pm=function(){this.Wa=document.createElement("div");this.Wa.setAttribute("id",
382this.Ro);this.Vt&&this.Wa.setAttribute("tdvclass",this.Vt);l.css(this.Wa,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.Pm=P("Wa");return this.Wa};r.prototype.Ig=function(){this.VP=new h;this.Ig=P("VP");return this.VP};r.prototype.lb=function(){this.yc=new j;this.lb=P("yc");return this.yc};r.prototype.nu=function(){this.jz=document.createElement("div");this.jz.setAttribute("tdvlayer","overShadow");l.css(this.jz,{position:"absolute",left:0,top:0,cursor:"inherit"});
383this.nu=P("jz");return this.jz};r.prototype.EM=function(){this.tO=b(this.nu());this.EM=P("tO");return this.tO};r.prototype.La=function(){this.$K=new k;this.La=P("$K");return this.$K};r.prototype.getParent=P("P");r.prototype.za=P("R");r.prototype.ab=P("ba");r.prototype.Bla=function(){return this.R!==n&&this.ba!==n};r.prototype.rd=function(){return this.R-this.La().$v()-this.La().dw()};r.prototype.qd=function(){return this.ba-this.La().ew()-this.La().Uv()};r.prototype.eh=function(){return this.La().$v()};
384r.prototype.Sl=function(){return this.La().ew()};r.prototype.Rl=function(){return this.La().dw()};r.prototype.Xv=function(){return this.La().Uv()};
384r.prototype.Re=function(a){if(this.Xc!=a){this.Xc=a;this.Vb();if(this.P){this.P.Ha();this.P.sc()}this.Av()}};r.prototype.Av=function(){var a=z;this.va&&this.Xc&&this.ei()>0&&(this==this.va?a=p:this.P&&(a=this.P.Wo));this.Wo!=a&&this.kK(a)};r.prototype.kK=function(a){this.Wo=a;this.set("inView",a);this.Wo?this.trigger(new f(g.Ef)):this.trigger(new f(g.zg))};
385r.prototype.Vga=function(a){if(this.tZ!=a){this.tZ=a;this.P&&this.P.sc()}};r.prototype.Sga=function(a){if(this.ju!=a){this.ju=a;this.Ha()}};r.prototype.Rga=function(a){if(this.iu!=a){this.iu=a;this.Ha()}};r.prototype.Qga=function(a){if(this.hu!=a){this.hu=a;this.Ha()}};r.prototype.Pga=function(a){if(this.gu!=a){this.gu=a;this.Ha()}};r.prototype.Tga=function(a){if(this.Bh!=a){this.Bh=a;if(this.Bh!=n)this.Ph=n;this.Ha()}};r.prototype.Oga=function(a){if(this.Cr!=a){this.Cr=a;if(this.Cr!=n)this.Oh=n;
386this.Ha()}};r.prototype.eha=function(a){if(this.Ph!=a){this.Ph=a;if(this.Ph!=n)this.Bh=n;this.Ha()}};r.prototype.aha=function(a){if(this.Oh!=a){this.Oh=a;if(this.Oh!=n)this.Cr=n;this.Ha()}};r.prototype.Xga=function(a){if(this.Zm!=a){if(a!=n)this.qF=n;this.Zm=a;this.P&&this.P.sc();this.Ha()}};r.prototype.rha=function(a){if(this.Dn!=a){if(a!=n)this.sF=n;this.Dn=a;this.P&&this.P.sc();this.Ha()}};r.prototype.fha=function(a){if(this.Az!=a){if(a!=n)this.rF=n;this.Az=a;this.P&&this.P.sc();this.Ha()}};r.prototype.Iga=
387function(a){if(this.rx!=a){if(a!=n)this.pF=n;this.rx=a;this.P&&this.P.sc();this.Ha()}};r.prototype.bha=function(a){if(this.qF!=a){if(a!=n)this.Zm=n;this.qF=a;this.P&&this.P.sc();this.Ha()}};r.prototype.dha=function(a){if(this.sF!=a){if(a!=n)this.Dn=n;this.sF=a;this.P&&this.P.sc();this.Ha()}};r.prototype.cha=function(a){if(this.rF!=a){if(a!=n)this.Az=n;this.rF=a;this.P&&this.P.sc();this.Ha()}};r.prototype.$ga=function(a){if(this.pF!=a){if(a!=n)this.rx=n;this.pF=a;this.P&&this.P.sc();this.Ha()}};r.prototype.Lga=
388function(a){if(this.zo!=a){this.zo=a;this.P&&this.P.sc()}};r.prototype.Mga=function(a){if(this.Ao!=a){this.Ao=a;this.P&&this.P.sc()}};r.prototype.Yl=function(){return isNaN(this.Bh)?this.Qg:this.Bh};r.prototype.Xl=function(){return isNaN(this.Cr)?this.Pg:this.Cr};r.prototype.fca=function(){return isNaN(this.Raa)?this.$Z:this.Raa};r.prototype.Vl=function(){return isNaN(this.ju)?this.Hy:this.ju};r.prototype.On=function(){return isNaN(this.iu)?this.Gy:this.iu};r.prototype.rH=function(){return isNaN(this.hu)?
3891E4:this.hu};r.prototype.qH=function(){return isNaN(this.gu)?1E4:this.gu};r.prototype.h2=function(a){if(this.HM()!=a){this.La().Zna(a);this.Ha()}};r.prototype.HM=function(){return this.La().eF};r.prototype.j2=function(a){if(this.JM()!=a){this.La().aoa(a);this.Ha()}};r.prototype.JM=function(){return this.La().gF};r.prototype.i2=function(a){if(this.IM()!=a){this.La().$na(a);this.Ha()}};r.prototype.IM=function(){return this.La().fF};r.prototype.g2=function(a){if(this.GM()!=a){this.La().Yna(a);this.Ha()}};
390r.prototype.GM=function(){return this.La().dF};r.prototype.PB=function(a){if(this.Wr!=a){this.Wr=a;this.sg()}};r.prototype.QB=function(a){if(this.Xr!=a){this.Xr=a;this.sg()}};r.prototype.ki=function(a){if(this.Ab!=a){this.Ab=a;l.css(this.nu(),{filter:"alpha(opacity="+Math.round(this.Ab*100)+") ",opacity:this.Ab});this.Av();this.sg()}};r.prototype.ei=P("Ab");r.prototype.Fga=function(a){if(this.lb().Am!=a){this.Ig().lT(a);this.lb().lT(a)}};r.prototype.vba=function(){return this.lb().Am};r.prototype.Gga=
391function(a){if(this.lb().Bm!=a){this.Ig().mT(a);this.lb().mT(a)}};r.prototype.wba=function(){return this.lb().Bm};r.prototype.xga=function(a){if(this.lb().ym!=a){this.Ig().gT(a);this.lb().gT(a)}};r.prototype.tba=function(){return this.lb().ym};r.prototype.yga=function(a){if(this.lb().zm!=a){this.Ig().hT(a);this.lb().hT(a)}};r.prototype.uba=function(){return this.lb().zm};r.prototype.Bga=function(a){if(this.lb().Hj!=a){this.lb().jT(a);this.La().jT(a);this.Ha()}};r.prototype.zY=function(){return this.lb().Hj};
392r.prototype.Hga=function(a){if(this.lb().Jj!=a){this.lb().nT(a);this.La().nT(a);this.Ha()}};r.prototype.BY=function(){return this.lb().Jj};
392r.prototype.Dga=function(a){if(this.lb().Ij!=a){this.lb().kT(a);this.La().kT(a);this.Ha()}};r.prototype.AY=function(){return this.lb().Ij};r.prototype.zga=function(a){if(this.lb().Gj!=a){this.lb().iT(a);this.La().iT(a);this.Ha()}};r.prototype.yY=function(){return this.lb().Gj};r.prototype.Aga=function(a){this.lb().ina(a)};r.prototype.Ega=function(a){this.lb().kna(a)};
393r.prototype.Cga=function(a){this.lb().jna(a)};r.prototype.wga=function(a){this.lb().hna(a)};r.prototype.cG=function(a){this.Ig().Re(a)};r.prototype.lha=function(a){this.Ig().yna(a)};r.prototype.oha=function(a){this.Ig().ooa(a)};r.prototype.jha=function(a){this.Ig().gna(a)};r.prototype.nha=function(a){this.Ig().ioa(a)};r.prototype.mha=function(a){this.Ig().ki(a)};r.prototype.kha=function(a){this.Ig().vw(a)};r.prototype.tga=function(a){this.rba()!=a&&this.lb().ki(a)};r.prototype.rba=function(){return this.lb().ei()};
394r.prototype.pga=function(a){this.qba()!=a&&this.lb().vw(a)};r.prototype.qba=function(){return this.lb().of};r.prototype.rga=function(a){this.lb().nna(a)};r.prototype.qga=function(a){this.lb().mna(a)};r.prototype.sga=function(a){this.lb().Bna(a)};r.prototype.Hp=function(a){if(this.ze!=a){this.ze=a;this.sg()}};r.prototype.vs=function(a){if(this.Xj!=a){this.Xj=a;l.css(this.nu(),{"z-index":this.Xj?m.WU:m.VU});this.La().E6(this.Xj);this.sg()}};r.prototype.NP=function(a){if(this.P0!=a){this.P0=a;l.css(this.Pm(),
395{"z-index":this.P0?m.yV:m.xV});this.sg()}};r.prototype.Ej=function(){this.Av();this.pB()};r.prototype.Sh=function(){this.Av()};r.prototype.pP=D();r.prototype.fN=function(){this.pB();this.Vb();this.Ha();this.sc();this.sg()};r.prototype.dn=function(){this.Gy=this.Hy=this.Pg=this.Qg=0;this.$Z=n};r.prototype.pB=function(){var a=this.fb();a&&a.Mt.pB(this)};r.prototype.Vb=function(){var a=this.fb();a&&a.Mt.Vb(this)};r.prototype.Ha=function(){var a=this.fb();a&&a.Mt.Ha(this)};r.prototype.sc=function(){var a=
396this.fb();a&&a.Mt.sc(this)};r.prototype.sg=function(){var a=this.fb();a&&a.Mt.sg(this)};r.prototype.QM=function(){var a=isNaN(this.qF)&&isNaN(this.Zm),b=isNaN(this.rF)&&isNaN(this.Az);return isNaN(this.Bh)&&isNaN(this.Ph)&&(a||b)?p:z};r.prototype.hZ=function(){var a=isNaN(this.sF)&&isNaN(this.Dn),b=isNaN(this.pF)&&isNaN(this.rx);return isNaN(this.Cr)&&isNaN(this.Oh)&&(a||b)?p:z};r.prototype.hja=function(){this.dn();var a=this.fca();if(a){var b=this.QM(),f=this.hZ();if(b&&!f){b=this.qd();if(b!=0){this.Qg=
397b*a+this.eh()+this.Rl();this.Pg=b+this.Sl()+this.Xv()}}else if(!b&&f){b=this.rd();if(b!=0){this.Pg=b/a+this.eh()+this.Rl();this.Qg=b+this.eh()+this.Rl()}}}if(!isNaN(this.ju)&&this.Qg<this.ju)this.Qg=this.ju;if(!isNaN(this.hu)&&this.Qg>this.hu)this.Qg=this.hu;if(!isNaN(this.iu)&&this.Pg<this.iu)this.Pg=this.iu;if(!isNaN(this.gu)&&this.Pg>this.gu)this.Pg=this.gu};r.prototype.Ia=function(){if(!this.n3){this.n3=p;var a=this.Pm(),b=this.nu();a.appendChild(this.Ig().hB());a.appendChild(b);b.appendChild(this.lb().hB());
398b.appendChild(this.La().hB())}};r.prototype.Moa=function(){this.hja();var a=this.Yl(),b=this.Xl(),f=this.Vl(),d=this.On();if(a!=this.Yda||b!=this.Xda||f!=this.Uda||d!=this.Tda||this.Ph!=this.Wda||this.Oh!=this.Vda){this.Yda=a;this.Xda=b;this.Uda=f;this.Tda=d;this.Wda=this.Ph;this.Vda=this.Oh;return p}return z};r.prototype.ea=function(){this.sg()};r.prototype.nh=D();r.prototype.w6=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.lb().setSize(this.R,
399this.ba);this.sc();this.sg();this.trigger(new f(g.rb))}};r.prototype.fe=function(){var a=this.Pm(),b=this.nu();if(this.Xc){b.style.width=this.R+"px";b.style.height=this.ba+"px";a.style.left=this.$+this.Wr+"px";a.style.top=this.aa+this.Xr+"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.va&&this.va.BL.B4(this.ze);if(b.clientWidth===0&&this.R!==0){a.style.width=0;a.style.width=this.R+"px"}}else{a.style.visibility=
400"hidden";a.style.width=0;a.style.height=0;a.style.overflow="hidden";b.style.width=0;b.style.height=0}this.Ig().fe();this.lb().fe();this.La().fe();if(!this.DZ){this.DZ=p;this.vZ()}};r.prototype.vZ=function(){this.trigger(g.INIT)};r.prototype.pla=function(a){var a=a.kb().offset(),b=this.kb().offset(),f={};f.left=b.left-a.left;f.top=b.top-a.top;if(this.va){f.left=f.left/this.va.Ou;f.top=f.top/this.va.Ou}return f};r.Ro=0;return r});
401define("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.Sf={};this.vn=this.nY=n;this.wp={};this.kY=p;this.C2={};j.call(this);this.taa();this.oa();this.Nc("UICustomizable");this.Vb()});k.Ya={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,
402paddingBottom: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,
403backgroundOpacity:1,backgroundColor:n,backgroundColorRatios:n,backgroundColorDirection:n,backgroundImageUrl:n,hideEffect:n,showEffect:n};k.prototype.taa=function(){this.C2[g.Sa]=g.ta};k.prototype.oa=function(){this.zi(k.Ya)};k.prototype.zi=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.Sf[a]={i:p,d:b}};k.prototype.jca=function(){var a=[],b;for(b in this.Sf)a.push(b);
404return a};k.prototype.h=function(a,b,f,d){this.wp[b]||(this.wp[b]={});this.f(a,d);this.wp[b][f]=a};k.prototype.lv=function(a,b){if(b)this.nY=a;else if(this.nY!=n)return;if(this.vn!=a){var f=this.wp[this.vn];if(f)for(var d in f)(this.Sf[d]||(this.Sf[d]={})).i=p;this.vn=a;if(f=this.wp[this.vn])for(d in f)(this.Sf[d]||(this.Sf[d]={})).i=p;this.Vb()}};
404k.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.Sf[a];if(f){d==
405n&&(d=f.d);if(!b.isEqual(this.get(a),d)){a=="state"&&this.lv(d,p);j.prototype.set.call(this,a,d);f.i=p;this.Vb()}}else j.prototype.set.call(this,a,d)};k.prototype.get=function(a,b){switch(a){case "actualWidth":return this.za();case "actualHeight":return this.ab();default:var f=j.prototype.get.call(this,a);if(f===n){var d=this.Sf[a];d&&(f=d.d);f===n&&(f=b)}return f}};k.prototype.tW=function(){for(var a=["paddingLeft","paddingTop","paddingRight","paddingBottom","borderRadius","borderTopRadius","borderBottomRadius",
406"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.Sf[a]||{}).i)return p;if(this.vn!==n){a=this.wp[this.vn][a];return!!(this.Sf[a]||{}).i}};k.prototype.ws=function(a){(this.Sf[a]||(this.Sf[a]={})).i=p;this.Vb()};k.prototype.o=function(a){(this.Sf[a]||
407(this.Sf[a]={})).i=z;if(this.vn!=n)(a=this.wp[this.vn][a])&&((this.Sf[a]||(this.Sf[a]={})).i=z)};k.prototype.j=function(){for(var a,b=0;b<arguments.length;b++){for(var f=arguments[b],d=this.vn;d;){if(a=this.wp[d][f]){a=this.get(a);if(a!=n&&a!=q)return a}d=this.C2[d]}a=this.get(f);if(a!=n&&a!=q)return a}};k.prototype.WP=function(a){a.source.unbind(e.ua,this.WP,this);this.trigger(new d(e.Bt))};k.prototype.WM=function(a){a.source.unbind(e.ua,this.WM,this);this.trigger(new d(e.Lq))};k.prototype.ea=function(){if(this.kY)this.kY=
408z;else if(this.m("visible")){var a=this.j("visible"),b=this.get(a?"hideEffect":"showEffect");if(b&&b.dt(this)){b.unbind(e.ua,a?this.WM:this.WP,this);b.end()}if(b=this.get(a?"showEffect":"hideEffect")){if(!b.dt(this)){this.o("visible");b.bind(e.ua,a?this.WP:this.WM,this);b.play(this)}}else this.trigger(new d(a?e.Bt:e.Lq))}if(this.m("visible")){this.Re(this.j("visible"));this.o("visible")}if(this.m("includeInLayout")){this.Vga(this.j("includeInLayout"));this.o("includeInLayout")}if(this.m("left")){b=
409this.j("left");a=k.kj(b);b=a===n?b:n;this.bha(a);this.Xga(b);this.o("left")}if(this.m("top")){b=this.j("top");a=k.kj(b);b=a===n?b:n;this.dha(a);this.rha(b);this.o("top")}if(this.m("right")){b=this.j("right");a=k.kj(b);b=a===n?b:n;this.cha(a);this.fha(b);this.o("right")}if(this.m("bottom")){b=this.j("bottom");a=k.kj(b);b=a===n?b:n;this.$ga(a);this.Iga(b);this.o("bottom")}if(this.m("centerX")){this.Lga(this.j("centerX"));this.o("centerX")}if(this.m("centerY")){this.Mga(this.j("centerY"));this.o("centerY")}if(this.m("width")){b=
410this.j("width");a=k.kj(b);b=a===n?b:n;this.eha(a);this.Tga(b);this.o("width")}if(this.m("height")){b=this.j("height");a=k.kj(b);b=a===n?b:n;this.aha(a);this.Oga(b);this.o("height")}if(this.m("minWidth")){b=this.j("minWidth");this.Sga(b);this.o("minWidth")}if(this.m("minHeight")){b=this.j("minHeight");this.Rga(b);this.o("minHeight")}if(this.m("maxWidth")){b=this.j("maxWidth");this.Qga(b);this.o("maxWidth")}if(this.m("maxHeight")){b=this.j("maxHeight");this.Pga(b);this.o("maxHeight")}if(this.m("paddingLeft")){this.h2(this.j("paddingLeft"));
411this.o("paddingLeft")}if(this.m("paddingTop")){this.j2(this.j("paddingTop"));this.o("paddingTop")}if(this.m("paddingRight")){this.i2(this.j("paddingRight"));this.o("paddingRight")}if(this.m("paddingBottom")){this.g2(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");
412g=p}var c=z;if(this.m("borderBottomRadius")){this.o("borderBottomRadius");c=p}if(this.m("borderTopLeftRadius")||f||b||a){this.Fga(this.j("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius"));this.o("borderTopLeftRadius")}if(this.m("borderTopRightRadius")||f||g||a){this.Gga(this.j("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius"));this.o("borderTopRightRadius")}if(this.m("borderBottomLeftRadius")||c||b||a){this.xga(this.j("borderBottomLeftRadius","borderLeftRadius",
413"borderBottomRadius","borderRadius"));this.o("borderBottomLeftRadius")}if(this.m("borderBottomRightRadius")||c||g||a){this.yga(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.Bga(this.j("borderLeftSize","borderSize"));this.o("borderLeftSize")}if(this.m("borderTopSize")||a){this.Hga(this.j("borderTopSize","borderSize"));this.o("borderTopSize")}if(this.m("borderRightSize")||
414a){this.Dga(this.j("borderRightSize","borderSize"));this.o("borderRightSize")}if(this.m("borderBottomSize")||a){this.zga(this.j("borderBottomSize","borderSize"));this.o("borderBottomSize")}a=z;if(this.m("borderColor")){this.o("borderColor");a=p}if(this.m("borderLeftColor")||a){this.Aga(this.j("borderLeftColor","borderColor"));this.o("borderLeftColor")}if(this.m("borderTopColor")||a){this.Ega(this.j("borderTopColor","borderColor"));this.o("borderTopColor")}if(this.m("borderRightColor")||a){this.Cga(this.j("borderRightColor",
415"borderColor"));this.o("borderRightColor")}if(this.m("borderBottomColor")||a){this.wga(this.j("borderBottomColor","borderColor"));this.o("borderBottomColor")}if(this.m("shadow")){this.cG(this.j("shadow"));this.o("shadow")}if(this.m("shadowHorizontalLength")){this.lha(this.j("shadowHorizontalLength"));this.o("shadowHorizontalLength")}if(this.m("shadowVerticalLength")){this.oha(this.j("shadowVerticalLength"));this.o("shadowVerticalLength")}if(this.m("shadowBlurRadius")){this.jha(this.j("shadowBlurRadius"));
416this.o("shadowBlurRadius")}if(this.m("shadowSpread")){this.nha(this.j("shadowSpread"));this.o("shadowSpread")}if(this.m("shadowColor")){this.kha(this.j("shadowColor"));this.o("shadowColor")}a=z;if(this.m("opacity")){this.ki(this.j("opacity"));this.o("opacity");a=p}if(this.m("shadowOpacity")||a){this.mha(this.j("shadowOpacity","opacity"));this.o("shadowOpacity")}if(this.m("backgroundOpacity")){this.tga(this.j("backgroundOpacity"));this.o("backgroundOpacity")}if(this.m("backgroundColor")){this.pga(this.j("backgroundColor"));
417this.o("backgroundColor")}if(this.m("backgroundColorRatios")){this.rga(this.j("backgroundColorRatios"));this.o("backgroundColorRatios")}if(this.m("backgroundColorDirection")){this.qga(this.j("backgroundColorDirection"));this.o("backgroundColorDirection")}if(this.m("backgroundImageUrl")){this.sga(this.j("backgroundImageUrl"));this.o("backgroundImageUrl")}j.prototype.ea.call(this)};
417k.kj=function(a){if(b(a).isString())if((a=a.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&a.length>=2)return parseFloat(a[1])};
418return 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.Jn=h;this.PR=m})});
419define("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.Nc("UIComponent");this.BD=[];this.Ly=[];this.Caa=500;this.Mb=1;this.Di=f.PT();this.oy=this.Vm=this.iE=z;this.set("propagateClick",p)});l.Ya={autoRolledOver:z,autoPressed:z,contentOpaque:p,cursor:n,inheritedCursor:n,inheritedInteractionEnabled:p,
420rollOverOpacity:[g.q,"opacity"],rollOverShadow:[g.q,"shadow"]};c.defaults(l.Ya,k.Ya);l.prototype.oa=function(){this.zi(l.Ya)};l.prototype.HW=function(){this.l2(p)};
420l.prototype.GW=function(){this.l2(z)};l.prototype.EW=function(){this.kv(p)};l.prototype.FW=function(){this.kv(z)};l.prototype.Lz=function(a){if(this.Vm!=a){this.Vm=a;this.Od()}};l.prototype.kv=function(a){if(this.oy!=a){this.oy=a;this.Od()}};l.prototype.l2=function(a){if(this.iE!=a){this.iE=a;this.Od()}};l.prototype.Od=function(){this.Vm?
421this.lv(g.C):this.oy&&this.iE?this.lv(g.Sa):this.oy?this.lv(g.ta):this.iE?this.lv(g.q):this.lv(g.oc)};l.prototype.trigger=function(){k.prototype.trigger.apply(this,arguments)};l.prototype.g3=function(a){this.trigger(new m(d.qb,a.x,a.y,a.pageX,a.pageY))};l.prototype.h3=function(a){this.trigger(new m(d.uc,a.x,a.y,a.pageX,a.pageY))};l.prototype.i3=function(a){this.trigger(new m(d.Ib,a.x,a.y,a.pageX,a.pageY))};l.prototype.yia=function(a,b){this.trigger(new m(d.Mq,a.x,a.y,a.pageX,a.pageY,b.Jn,b.PR))};
422l.prototype.c3=function(a){this.trigger(new m(d.U,a.x,a.y,a.pageX,a.pageY))};l.prototype.d3=function(a){this.trigger(new m(d.AU,a.x,a.y,a.pageX,a.pageY))};l.prototype.Aia=function(){this.trigger(new m(d.Rc))};l.prototype.zia=function(){this.trigger(new m(d.pc))};l.prototype.wia=function(){this.trigger(new m(d.Cj))};l.prototype.xia=function(){this.trigger(new m(d.nf))};l.prototype.via=function(a,b){this.trigger(new h(d.cJ,a,b))};l.prototype.tia=function(a,b){this.trigger(new h(d.D7,a,b))};l.prototype.uia=
423function(a,b){this.trigger(new h(d.bJ,a,b))};l.prototype.e3=function(a){this.trigger(new h(d.E7,n,a))};l.prototype.f3=function(a){this.trigger(new h(d.zt,a))};l.prototype.xQ=function(a){a.stopImmediatePropagation();this.fu(["touchend"]);if(this.qN(a))this.eP(a);else{this.wZ();this.o1(a,p)}};l.prototype.o1=function(a,b){var f=this.by(a);b&&this.nia(f);this.g3(f);this.P&&this.P.o1(a,b&&this.get("propagateClick"))};l.prototype.wQ=function(a){a.preventDefault();a.stopImmediatePropagation();this.qN(a)?
424this.cP(a):this.n1(a)};l.prototype.n1=function(a){var b=this.by(a);this.mia(b);this.h3(b);this.P&&this.P.n1(a)};l.prototype.FY=function(a,b){var f=a.pageX-b.pageX,d=a.pageY-b.pageY;return Math.sqrt(f*f+d*d)};l.prototype.Qp=function(a,b){this.Px(["touchend"]);b!==z&&a.preventDefault();a.stopImmediatePropagation();this.qN(a)?this.dP(a):this.m1(a,this.GZ());this.mx()};l.prototype.m1=function(a,b){this.i3(this.by(a));this.lia(b);this.P&&this.P.m1(a)};l.prototype.nia=function(a){this.bind(d.pc,this.Y2,
425this,p);this.Cs=a};l.prototype.mia=function(a){if(this.Cs){var a=this.FY(this.Cs,a),b;if(f.Xa()){b=this.fb();b=Math.min(b.za(),b.ab())*0.01;b=l.E8*b}else b=l.K8;a>b&&this.vQ()}};l.prototype.lia=function(a){if(this.Cs){this.c3(this.Cs);a&&this.d3(this.Cs);this.vQ()}};l.prototype.vQ=function(){if(this.Cs){this.unbind(d.pc,this.Y2,this);this.Cs=n}};l.prototype.Y2=function(){this.vQ()};l.prototype.pM=function(a){this.fu(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.eP(a)};
426l.prototype.eP=function(a){var b=this.zM(a);this.Uu=b;this.via(b.scale,b.rotation);this.P&&this.P.eP(a)};l.prototype.qY=function(a){a.preventDefault();a.stopImmediatePropagation();this.cP(a)};l.prototype.cP=function(a){var b=this.zM(a,this.Uu),f=b.rotation-this.Uu.rotation,d=b.scale/this.Uu.scale;this.Uu=b;this.Mb=this.Mb*d;for(this.Bd=this.Bd+f;this.Bd>180;)this.Bd=this.Bd-360;for(;this.Bd<-180;)this.Bd=this.Bd+360;this.tia(this.Mb,this.Bd);f!=0&&this.e3(this.Bd);d!=1&&this.f3(this.Mb);this.P&&this.P.cP(a)};
427l.prototype.sY=function(a){this.Px(["gesturechange","gestureend"]);a.preventDefault();a.stopImmediatePropagation();this.dP(a)};l.prototype.dP=function(a){var b=this.zM(a),f=b.rotation-this.Uu.rotation,b=b.scale/this.Uu.scale;this.Mb=this.Mb*b;for(this.Bd=this.Bd+f;this.Bd>180;)this.Bd=this.Bd-360;for(;this.Bd<-180;)this.Bd=this.Bd+360;this.uia(this.Mb,this.Bd);f!=0&&this.e3(this.Bd);b!=1&&this.f3(this.Mb);this.P&&this.P.dP(a)};l.prototype.UN=function(a){this.fu(["mouseup"]);a.stopImmediatePropagation();
428this.wZ();this.i1(a,p);r&&this.Hda(a.ctrlKey)};l.prototype.i1=function(a,b){var f=this.Hr(a);b&&this.F$(f);this.g3(f);this.P&&this.P.i1(a,b&&this.get("propagateClick"))};l.prototype.VN=function(a){a.preventDefault();a.stopImmediatePropagation();this.fb().ww(this);this.j1(a)};l.prototype.j1=function(a){var b=this.Hr(a);this.E$(b);this.h3(b);this.P&&this.P.j1(a)};l.prototype.KE=function(a){this.Px(["mouseup"]);a.preventDefault();a.stopImmediatePropagation();this.k1(a,this.GZ())};l.prototype.k1=function(a,
429b){this.i3(this.Hr(a));this.D$(b);this.P&&this.P.k1(a,b)};l.prototype.F$=function(a){this.bind(d.pc,this.rX,this,p);this.kr=a};l.prototype.E$=function(a){this.kr&&this.FY(this.kr,a)>l.z8&&this.OK()};
429l.prototype.D$=function(a){if(this.kr){this.c3(this.kr);a&&this.d3(this.kr);this.OK()}};l.prototype.OK=function(){if(this.kr){this.unbind(d.pc,this.rX,this);this.kr=n}};l.prototype.rX=function(){this.OK()};l.prototype.d_=function(a){if(this.va.c_){a.preventDefault();a.stopImmediatePropagation();this.l1(a)}};
430l.prototype.aX=Q(z);l.prototype.l1=function(a){var b=this.Hr(a),f=this.Yba(a);this.P&&!this.aX(f.Jn)&&this.P.l1(a);this.yia(b,f)};l.prototype.Hr=function(a){return this.rM(a.pageX,a.pageY)};l.prototype.Yba=function(a){var a=window.event||a.originalEvent||a,b={};b.Jn=Math.max(-1,Math.min(1,a.wheelDelta||-a.detail));b.PR=a.wheelDelta?a.wheelDelta*0.01:b.Jn;return b};l.prototype.by=function(a){var b=this.wM(a);return this.zfa=a=b===n?this.rM(a.pageX,a.pageY):b.length==0?this.zfa:this.rM(b[0].pageX,b[0].pageY)};
431l.prototype.qN=function(a){a=this.wM(a);return!!(a&&a.length>1)};l.prototype.wM=function(a){return a.originalEvent.touches||a.originalEvent.targetTouches||a.originalEvent.changedTouches};l.prototype.rM=function(a,b){var f=this.kb().offset(),d=this.va.Ou,g={};g.x=(a-f.left)/d;g.y=(b-f.top)/d;g.pageX=a/d;g.pageY=b/d;g.d6=a;g.e6=b;return g};l.prototype.zM=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=
432this.MY(a);return{scale:b.scale*f/b.touchesDistance,rotation:0,touchesDistance:f}}return{scale:1,rotation:0,touchesDistance:this.MY(a)}};l.prototype.MY=function(a){var b=this.wM(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.fu=function(a){this.BD=c(this.BD).union(a);for(var a=this.LY(a),b=0;b<a.length;b++){var f=a[b];f.target.bind(f.name,f.handler)}};l.prototype.wZ=function(){this.Ly.push((new Date).getTime());
433this.Ly=this.Ly.slice(-2)};l.prototype.GZ=function(){var a=(new Date).getTime();if(this.Ly.length>1){var b=this.Ly.slice(-2)[0];if(a-b<=this.Caa)return p}return z};l.prototype.Px=function(a){this.BD=c(this.BD).difference(a);for(var a=this.LY(a),b=0;b<a.length;b++){var f=a[b];f.target.unbind(f.name,f.handler)}};l.prototype.LY=function(a){this.hY||(this.hY=this.vM());for(var b=[],f=0;f<a.length;f++)b=b.concat(this.hY[a[f]]);return b};l.prototype.vM=function(){var a=this.kb(),f=b(document),d=b(window);
434return{touchstart:[{target:a,name:"touchstart",handler:this.re(this.xQ)}],touchmove:[{target:a,name:"touchmove",handler:this.re(this.wQ)}],touchend:[{target:a,name:"touchend",handler:this.re(this.Qp,p)},{target:f,name:"touchend",handler:this.re(this.Qp,p)},{target:a,name:"touchcancel",handler:this.re(this.Qp,p)},{target:f,name:"touchcancel",handler:this.re(this.Qp,p)}],gesturestart:[{target:a,name:"gesturestart",handler:this.re(this.pM)}],gesturechange:[{target:a,name:"gesturechange",handler:this.re(this.qY)}],
435gestureend:[{target:a,name:"gestureend",handler:this.re(this.sY)}],mousedown:[{target:a,name:"mousedown",handler:this.re(this.UN)}],mousemove:[{target:a,name:"mousemove",handler:this.re(this.VN)}],mouseup:[{target:a,name:"mouseup",handler:this.re(this.KE,p)},{target:d,name:"mouseup",handler:this.re(this.KE,p)}],mousewheel:[{target:a,name:"mousewheel",handler:this.re(this.d_)},{target:a,name:"DOMMouseScroll",handler:this.re(this.d_)}]}};l.prototype.re=function(a,b){var f=this;return function(){b&&
436j.gI();l.BA=l.BA+1;var d=a.apply(f,arguments);l.BA=l.BA-1;return d}};l.prototype.ea=function(){if(this.m("autoRolledOver")){this.unbind(d.Rc,this.HW,this);this.unbind(d.pc,this.GW,this);if(this.j("autoRolledOver")){this.bind(d.Rc,this.HW,this);this.bind(d.pc,this.GW,this)}this.o("autoRolledOver")}if(this.m("autoPressed")){this.unbind(d.qb,this.EW);this.unbind(d.Ib,this.FW);if(this.j("autoPressed")){this.bind(d.qb,this.EW);this.bind(d.Ib,this.FW)}this.o("autoPressed")}var a=z;if(this.m("contentOpaque")){a=
437p;this.o("contentOpaque")}if(this.m("inheritedInteractionEnabled")){a=p;this.o("inheritedInteractionEnabled")}if(this.m("backgroundOpacity")||this.m("backgroundColor"))a=p;k.prototype.ea.call(this);if(a){var b=this.lb(),b=b.ei()>0&&b.lr.length>0,f=this.j("contentOpaque");this.us(this.j("inheritedInteractionEnabled")&&(f||b))}if(a||this.m("cursor")||this.m("inheritedCursor")){this.o("cursor");this.o("inheritedCursor");this.LC?this.Hp(this.j("cursor")):this.Hp(this.j("inheritedCursor"))}};l.prototype.us=
438function(a){if(this.LC!=a){(this.LC=a)?this.fu(l.iW):this.Px(l.iW);this.mx()}};l.prototype.mx=function(){this.Pm().style["pointer-events"]=this.LC?"all":"none"};l.prototype.Hda=function(a){if(a){for(var a=[],b=this;b;){a.push(b);b=b.getParent()}console.log(a.map(function(a){return a.qx}))}else console.log(this.qx)};l.lw=function(){return l.BA>0};l.iW=function(){var a=[],a=a.concat(["touchstart","touchmove","gesturestart"]);f.Ed()!=f.ri&&(a=a.concat(["mousedown","mousemove","mousewheel"]));return a}();
439l.BA=0;l.Mpa=1E3;l.K8=10;l.E8=5;l.z8=10;var r=a.Pl("debug");return l});define("W",[],function(){return{ra:"left",Qa:"right",tc:"center",eb:"top",cb:"bottom",bc:"middle"}});define("c",[],function(){return{UT:"absolute",xe:"horizontal",jo:"grid",Ue:"vertical"}});define("bJ",[],function(){return function(a){this.Af=a;this.height=this.width=this.y=this.x=0}});define("cu",[],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
440define("bw",["W","bJ","cu"],function(a,b,c){function e(){this.tb=q;this.Zg=a.eb;this.Kg=a.ra;this.Ls=this.Rm=0}e.prototype.C6=function(a){this.Rm!=a&&(this.Rm=a,this.Cc())};e.prototype.$H=function(a){this.Ls!=a&&(this.Ls=a,this.Cc())};e.prototype.S6=function(a){this.tb=a;this.Cc()};e.prototype.yw=function(a){this.Kg!=a&&(this.Kg=a,this.Cc())};e.prototype.Aw=function(a){this.Zg!=a&&(this.Zg=a,this.Cc())};e.prototype.vB=function(){return new c};e.prototype.update=function(){var a=this.U$();this.zv(a);
441this.Nga(a)};e.prototype.zv=function(a){this.mA(a);this.lA(a)};e.prototype.QD=function(){for(var a=this.eZ(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("includeInLayout")&&b.push(e)}return b};e.prototype.eZ=function(){for(var a=this.tb.Oa(),b=[],c=0;c<a.length;c++){var e=a[c];e.get("visible")&&b.push(e)}return b};e.prototype.U$=function(){for(var a=this.eZ(),g=[],c=0;c<a.length;c++)g.push(new b(a[c]));return g};e.prototype.Nga=function(a){for(var b=0;b<a.length;b++){var c=a[b];c.Af.w6(c.x,c.y,c.width,
442c.height)}};e.prototype.Cc=function(){this.tb&&this.tb.Ha()};return e});
443define("cp",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.vB=function(){for(var a=new e,b=this.QD(),c=0;c<b.length;c++){var k=b[c],h=k.Zm,m=k.Az,f=0;isNaN(h)||(f+=h);isNaN(m)||(f+=m);a.width=Math.max(f+k.Yl(),a.width);a.minWidth=Math.max(f+k.Vl(),a.minWidth);h=k.Dn;m=k.rx;f=0;isNaN(h)||(f+=h);isNaN(m)||(f+=m);a.height=Math.max(f+k.Xl(),a.height);a.minHeight=Math.max(f+k.On(),a.minHeight)}b=this.tb.eh()+this.tb.Rl();a.width+=b;a.minWidth+=b;b=this.tb.Sl()+
444this.tb.Xv();a.height+=b;a.minHeight+=b;return a};a.prototype.zv=function(a){this.mA(a);this.lA(a)};a.prototype.zv=function(a){for(var b=this.tb.rd(),c=this.tb.qd(),e=0;e<a.length;e++){var h=a[e],m=h.Af,f=m.Zm;if(isNaN(f)){var l=m.qF;isNaN(l)||(f=Math.round(0.01*l*b))}l=m.Az;if(isNaN(l)){var r=m.rF;isNaN(r)||(l=Math.round(0.01*r*b))}var r=m.zo,o=m.Bh;if(isNaN(o)){var s=m.Ph;isNaN(s)?!isNaN(f)&&!isNaN(l)&&(o=b-f-l):o=Math.round(0.01*s*b)}s=m.Dn;if(isNaN(s)){var t=m.sF;isNaN(t)||(s=Math.round(0.01*
445t*c))}t=m.rx;if(isNaN(t)){var u=m.pF;isNaN(u)||(t=Math.round(0.01*u*c))}var u=m.Ao,v=m.Cr;if(isNaN(v)){var x=m.Oh;isNaN(x)?!isNaN(s)&&!isNaN(t)&&(v=c-s-t):v=Math.round(0.01*x*c)}h.width=isNaN(o)?m.Yl():Math.max(m.Vl(),Math.min(m.rH(),o));h.height=isNaN(v)?m.Xl():Math.max(m.On(),Math.min(m.qH(),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)?
4460:0.5*c+u-0.5*h.height:c-t-h.height:s}};return a});
447define("gw",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.py=this.qy=this.ry=this.Pr=this.Wm=this.Xm=this.ty=this.Yo=this.Bh=n});a.prototype.vna=function(a){this.Bh!=a&&(this.Bh=a,this.Cc())};a.prototype.Gna=function(a){this.Xm!=a&&(this.Xm=a,this.Xm!=n&&(this.Yo=n),this.Cc())};a.prototype.Fna=function(a){this.Wm!=a&&(this.Wm=a,this.Wm!=n&&(this.ty=n),this.Cc())};a.prototype.Ona=function(a){this.Yo!=a&&(this.Yo=a,this.Xm!=n&&(this.Xm=n),this.Cc())};a.prototype.Nna=
448function(a){this.ty!=a&&(this.ty=a,this.Wm!=n&&(this.Wm=n),this.Cc())};a.prototype.Lna=function(a){this.Pr!=a&&(this.Pr=a,this.Cc())};a.prototype.Kna=function(a){this.ry!=a&&(this.ry=a,this.Cc())};a.prototype.Jna=function(a){this.qy!=a&&(this.qy=a,this.Cc())};a.prototype.Ina=function(a){this.py!=a&&(this.py=a,this.Cc())};a.prototype.vB=function(){for(var a=new e,b=this.QD(),c=0,k=0;k<b.length;k++)b[k].get("includeInLayout")&&c++;if(!isNaN(this.Yo)){isNaN(this.Pr)||(a.minWidth=this.Pr);for(k=0;k<b.length;k++){var h=
449b[k].Vl();isNaN(h)||(a.minWidth=Math.max(h,a.minWidth))}}if(isNaN(this.Xm))for(k=0;k<b.length;k++)h=b[k].Yl(),isNaN(h)||(a.width=Math.max(h,a.width));else a.width=this.Xm;if(isNaN(this.Wm))for(k=0;k<b.length;k++)h=b[k].Xl(),isNaN(h)||(a.height=Math.max(h,a.height));else a.height=this.Wm;isNaN(this.Yo)?isNaN(this.Bh)?b=Math.ceil(Math.sqrt(c)):(b=this.Bh-this.tb.eh()-this.tb.Rl(),b=Math.max(1,Math.floor((b+this.Rm)/(a.width+this.Rm)))):b=Math.max(1,Math.floor(100/this.Yo));c=Math.ceil(c/b);a.width=
450a.width*b+Math.max(0,b-1)*this.Rm+this.tb.eh()+this.tb.Rl();a.minWidth=a.minWidth+this.tb.eh()+this.tb.Rl();a.height=a.height*c+Math.max(0,c-1)*this.Ls+this.tb.Sl()+this.tb.Xv();a.minHeight=0;return a};a.prototype.zv=function(a){for(var g,c,e=[],h=[],m=0;m<a.length;m++)c=a[m].Af,c.get("includeInLayout")?e.push(a[m]):h.push(a[m]);var f=e.length,l=this.tb.rd(),r=this.Rm,o;if(isNaN(this.Xm))if(isNaN(this.Yo)){for(m=a=0;m<e.length;m++)c=e[m].Af,a=Math.max(c.Vl(),c.Yl(),a);a=Math.min(l,a)}else{if(a=Math.max(1,
451Math.floor(100/this.Yo)),a=(l-(a-1)*r)/a,m=z,!isNaN(this.qy)&&this.qy<a&&(a=this.qy,m=p),!isNaN(this.Pr)&&this.Pr>a&&(a=this.Pr,m=p),m)a=Math.max(1,Math.floor((l+r)/(a+r))),a=(l-(a-1)*r)/a}else a=this.Xm;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.Kg){case b.Qa:t=l-s;break;case b.tc: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.tb.qd();u=this.Ls;if(isNaN(this.Wm))if(isNaN(this.ty)){r=
4521;for(m=0;m<e.length;m++)c=e[m].Af,r=Math.max(c.On(),c.Xl(),r)}else{if(r=Math.max(1,100/this.ty),r=(t-(r-1)*u)/r,m=z,!isNaN(this.py)&&this.py<r&&(r=this.py,m=p),!isNaN(this.ry)&&this.ry>r&&(r=this.ry,m=p),m)r=Math.max(1,Math.floor((t+u)/(r+u))),r=(t-(r-1)*u)/r}else r=this.Wm;m=Math.max(1,Math.ceil(f/o));g=m*r;var f=m*(r+u)-u,v=0;if(t>=f)switch(this.Zg){case b.cb:v=t-f;break;case b.bc: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=
4530;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});
454define("gY",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.vB=function(){for(var a=new e,b=this.QD(),c=0;c<b.length;c++){var k=b[c];a.height=Math.max(k.Xl(),a.height);a.minHeight=Math.max(k.On(),a.minHeight);a.width+=k.Yl();a.minWidth+=k.Vl()}b=Math.max(0,b.length-1)*this.Rm+this.tb.eh()+this.tb.Rl();a.width+=b;a.minWidth+=b;b=this.tb.Sl()+this.tb.Xv();a.height+=b;a.minHeight+=b;return a};a.prototype.zv=function(a){this.mA(a);this.lA(a)};a.prototype.mA=function(a){for(var b=
4550,c=0;c<a.length;c++)a[c].Af.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Rm,e=this.tb.rd()-c,h=this.tb.qd(),b=e,m=0,f=[],c=0;c<a.length;c++){var l=a[c],r=l.Af,o=r.Oh;l.height=isNaN(o)?r.Xl():Math.max(r.On(),Math.min(r.qH(),Math.round(0.01*h*o)));o=r.Ph;isNaN(o)?(l.width=r.Yl(),b-=l.width):r.get("includeInLayout")?(m+=o,f.push(l)):l.width=Math.max(r.Vl(),Math.min(r.rH(),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=
456f[c],r=l.Af,o=Math.round(r.Ph*e),s=r.Vl(),t=r.rH();o<s?(l.width=s,b-=l.width,a=p):o>t?(l.width=t,b-=l.width,a=p):(m+=r.Ph,h.push(l))}f=h}while(a);for(c=0;c<f.length;c++)l=f[c],r=l.Af,e=Math.max(0,0<m?b/m:0),l.width=Math.round(r.Ph*e),b-=l.width,m-=r.Ph};a.prototype.lA=function(a){for(var g=this.Rm,c=this.tb.rd(),e=this.tb.qd(),h=0,m=0,f=0;f<a.length;f++){var l=a[f];l.Af.get("includeInLayout")&&(h+=a[f].width,m++)}h+=g*(m-1);if(c>=h)switch(this.Kg){case b.Qa:c-=h;break;case b.tc:c=Math.round(0.5*(c-
457h));break;default:c=0}else c=0;for(f=0;f<a.length;f++)if(l=a[f],l.Af.get("includeInLayout")){if(e>=l.height)switch(this.Zg){case b.cb:l.y=e-l.height;break;case b.bc: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});
458define("cb",["hb","W","bw","cu"],function(a,b,c,e){a=a.extend(c,function(){c.call(this)});a.prototype.vB=function(){for(var a=new e,b=this.QD(),c=0;c<b.length;c++){var k=b[c];a.width=Math.max(k.Yl(),a.width);a.minWidth=Math.max(k.Vl(),a.minWidth);a.height+=k.Xl();a.minHeight+=k.On()}b=Math.max(0,b.length-1)*this.Ls+this.tb.Sl()+this.tb.Xv();a.height+=b;a.minHeight+=b;b=this.tb.eh()+this.tb.Rl();a.width+=b;a.minWidth+=b;return a};a.prototype.zv=function(a){this.mA(a);this.lA(a)};a.prototype.mA=function(a){for(var b=
4590,c=0;c<a.length;c++)a[c].Af.get("includeInLayout")&&b++;for(var c=Math.max(0,b-1)*this.Ls,e=this.tb.rd(),h=this.tb.qd()-c,b=h,m=0,f=[],c=0;c<a.length;c++){var l=a[c],r=l.Af,o=r.Ph;l.width=isNaN(o)?r.Yl():Math.max(r.Vl(),Math.min(r.rH(),Math.round(0.01*e*o)));o=r.Oh;
459isNaN(o)?(l.height=r.Xl(),b-=l.height):r.get("includeInLayout")?(m+=o,f.push(l)):l.height=Math.max(r.On(),Math.min(r.qH(),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=
460f[c],r=l.Af,o=Math.round(r.Oh*e),s=r.On(),t=r.qH();o<s?(l.height=s,b-=l.height,a=p):o>t?(l.height=t,b-=l.height,a=p):(m+=r.Oh,h.push(l))}f=h}while(a);for(c=0;c<f.length;c++)l=f[c],r=l.Af,e=Math.max(0,0<m?b/m:0),l.height=Math.round(r.Oh*e),b-=l.height,m-=r.Oh};a.prototype.lA=function(a){for(var g=this.Ls,c=this.tb.rd(),e=this.tb.qd(),h=0,m=0,f=0;f<a.length;f++){var l=a[f];l.Af.get("includeInLayout")&&(h+=l.height,l.width>c&&(c=l.width),m++)}h+=g*(m-1);if(e>=h)switch(this.Zg){case b.cb:e-=h;break;case b.bc:e=
461Math.round(0.5*(e-h));break;default:e=0}else e=0;for(f=0;f<a.length;f++)if(l=a[f],l.Af.get("includeInLayout")){switch(this.Kg){case b.Qa:l.x=c-l.width;break;case b.tc: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});
462define("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.Nc("BaseContainer");this.Ei=q;this.Qb=[];this.Kj=[];this.Ix=g.bU;this.set("contentOpaque",z)});l.Ya={children:[[]],childrenInteractionEnabled:p,gap:0,horizontalAlign:d.ra,itemHeight:n,itemMaxHeight:n,itemMaxWidth:n,itemMinHeight:n,itemMinWidth:n,itemWidth:n,layout:j.UT,verticalAlign:d.eb};b.defaults(l.Ya,c.Ya);l.prototype.oa=function(){this.zi(l.Ya)};l.prototype.set=function(a,
463b){a=="children"?this.mj(b):a=="creationPolicy"?this.ona(b):c.prototype.set.call(this,a,b)};l.prototype.get=function(a,b){return a=="children"?this.Oa():a=="creationPolicy"?this.Ix:c.prototype.get.call(this,a,b)};l.prototype.ona=function(a){if(this.Ix!=a){this.Ix=a;this.FQ()}};l.prototype.mj=function(a){for(var f=this.Oa(),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.qa(f[c]);for(c=0;c<a.length;c++)this.ii(a[c],c)};l.prototype.Oa=
464P("Qb");l.prototype.qa=function(a){a.getParent()&&a.getParent().removeChild(a);this.Qb.push(a);a.P=this;this.wW(a);a.NP(this.Xj);this.Kj.push(a);this.FQ();a.Ej()};l.prototype.removeChild=function(a){if(a.getParent()==this){a.Sh();a.P=q;if(b(this.Kj).contains(a))this.Kj=b.without(this.Kj,a);else{a.kb().detach();a.Gp(q);this.Ha();this.sc()}this.Qb=b.without(this.Qb,a);a.pP()}};l.prototype.l6=function(){b(this.Oa()).forEach(function(a){this.removeChild(a)})};l.prototype.eB=function(a){return b(this.Qb).indexOf(a)};
465l.prototype.ii=function(a,f){var c=this.eB(a);c<0&&i("Can't set index. This is not a child of this container");var g=this.Qb.slice();g.splice(c,1);g.splice(f,0,a);if(!b.isEqual(this.Qb,g)){this.Qb=g;if(!b(this.Kj).contains(a)){c=this.eB(a);a.kb().detach();for(var d=g=q,h=c-1;h>=0&&!g;h--)b(this.Kj).contains(this.Qb[h])||(g=this.Qb[h]);for(h=c+1;h<this.Qb.length&&!d&&!g;h++)b(this.Kj).contains(this.Qb[h])||(d=this.Qb[h]);g?a.kb().insertAfter(g.kb()):d?a.kb().insertBefore(d.kb()):this.La().f4(a.Pm());
466this.sc()}}};l.prototype.us=function(a){c.prototype.us.call(this,a);this.r3()};l.prototype.r3=function(){b(this.Qb).forEach(function(a){this.wW(a)},this)};l.prototype.wW=function(a){a.set("inheritedInteractionEnabled",this.j("inheritedInteractionEnabled")&&this.j("childrenInteractionEnabled"))};l.prototype.mx=function(){c.prototype.mx.call(this);this.Qb.forEach(function(a){a.mx()})};l.prototype.vs=function(a){c.prototype.vs.call(this,a);b(this.Qb).forEach(function(a){a.NP(this.Xj)},this)};l.prototype.kK=
467function(a){c.prototype.kK.call(this,a);b(this.Oa()).forEach(function(a){a.Av()});this.FQ()};l.prototype.Gp=function(a){c.prototype.Gp.call(this,a);b(this.Oa()).forEach(function(f){b(this.Kj).contains(f)||f.Gp(a)},this)};l.prototype.FQ=function(){if((this.Ix==g.bU&&this.Wo||this.Ix==g.Qw)&&this.Kj.length>0){b(this.Kj).forEach(function(a){this.La().f4(a.Pm());a.Gp(this.fb())},this);this.Kj=[];this.Ha();this.sc()}};l.prototype.MB=function(a){if(this.Ei!=a){this.Ei&&this.Ei.S6(q);(this.Ei=a)&&this.Ei.S6(this)}};
468l.prototype.ea=function(){var a=z,b=this.j("layout");if(this.m("layout")){switch(b){case j.jo:this.MB(new h);break;case j.xe:this.MB(new m);break;case j.Ue:this.MB(new f);break;default:this.MB(new k)}this.o("layout");a=p}var g=this.Ei;
468if(this.m("horizontalAlign")||a){g.yw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")||a){g.Aw(this.j("verticalAlign"));this.o("verticalAlign")}if(this.m("gap")||a){if(b==j.jo){g.C6(this.j("gap"));g.$H(this.j("gap"))}else b==j.xe?g.C6(this.j("gap")):
469b==j.Ue&&g.$H(this.j("gap"));this.o("gap")}if(b==j.jo){if(this.m("itemWidth")||a){var d=this.j("itemWidth"),l=e.kj(d);l!==n?g.Ona(l):g.Gna(d);this.o("itemWidth")}if(this.m("itemHeight")||a){d=this.j("itemHeight");l=e.kj(d);l!==n?g.Nna(l):g.Fna(d);this.o("itemHeight")}if(this.m("itemMinWidth")){g.Lna(this.j("itemMinWidth"));this.o("itemMinWidth")}if(this.m("itemMinHeight")){g.Kna(this.j("itemMinHeight"));this.o("itemMinHeight")}if(this.m("itemMaxWidth")){g.Jna(this.j("itemMaxWidth"));this.o("itemMaxWidth")}if(this.m("itemMaxHeight")){g.Ina(this.j("itemMaxHeight"));
470this.o("itemMaxHeight")}}if(this.m("childrenInteractionEnabled")){this.o("childrenInteractionEnabled");this.r3()}this.Ua(["cursor"],{cursor:"inheritedCursor"},this.Qb,p,z);c.prototype.ea.call(this);b==j.jo&&g.vna(this.Bh)};l.prototype.Ua=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.dn=function(){if(this.Ei){var a=this.Ei.vB();this.Qg=a.width;this.Pg=a.height;this.Hy=a.minWidth;this.Gy=
471a.minHeight}else c.prototype.dn.call(this)};l.prototype.nh=function(){this.Ei&&this.Ei.update(this);c.prototype.nh.call(this)};return l});
472define("jf",["jquery.mod","hb","jq","eg"],function(a,b,c,e){function d(b,d){this.cu=b;this.of="#000000";this.Ab=0.5;this.R=10;this.ep=5;this.zc=d;this.nD=this.wO=this.Wc=0;
472this.sW=this.Xc=this.RC=z;this.Y=p;this.Yt=document.createElement("div");this.Yt.setAttribute("tdvlayer","scrollbar");this.Cx=a(this.Yt);e.css(this.Yt,{position:"absolute","z-index":c.gV});this.ox=document.createElement("div");this.qK=a(this.ox);e.css(this.ox,{position:"absolute",left:0,top:0});this.Cx.append(this.qK)}d.prototype.Gc=
473function(){return this.Cx.width()};d.prototype.sd=function(){return this.Cx.height()};d.prototype.Pa=function(a){this.Wc!=a&&(this.Wc=a,this.J1(),this.Y=p)};d.prototype.cw=P("Wc");d.prototype.setSize=function(a,b){this.wO=a;this.nD=b;this.J1();this.Y=p};d.prototype.Re=function(a){this.Xc!=a&&(this.Xc=a,this.Y=p)};d.prototype.v6=function(a){this.RC!=a&&(this.RC=a,this.Y=p)};d.prototype.vw=function(a){this.of!=a&&(this.of=a,this.Y=p)};d.prototype.ki=function(a){this.Ab!=a&&(this.Ab=a,this.Y=p)};d.prototype.TB=
474function(a){this.R!=a&&(this.R=a,this.Y=p)};d.prototype.H6=function(a){this.ep!=a&&(this.ep=a,this.Y=p)};d.prototype.fe=function(){this.Y&&(this.sW!=this.Xc&&(this.Xc?this.zc.append(this.Cx):this.Cx.detach(),this.sW=this.
474Xc),this.M(),this.Y=z)};d.prototype.M=function(){var a=Math.round(100*this.wO/this.nD),b=Math.round(100*this.Wc/this.nD);e.css(this.Yt,{filter:"alpha(opacity="+Math.round(100*this.Ab)+")",opacity:this.Ab,display:this.Xc?"block":"none"});e.css(this.ox,{backgroundColor:this.of,"border-radius":Math.floor(this.R/
4752)+"px"});this.cu==d.xe?(e.css(this.Yt,{left:this.ep+"px",right:(this.RC?this.R:0)+this.ep+"px",height:this.R+"px",bottom:this.ep+"px"}),e.css(this.ox,{left:b+"%",width:a+"%",height:this.R+"px"})):(e.css(this.Yt,{top:this.ep+"px",right:this.ep+"px",width:this.R+"px",bottom:(this.RC?this.R:0)+this.ep+"px"}),e.css(this.ox,{top:b+"%",width:this.R+"px",height:a+"%"}))};d.prototype.J1=function(){var a=this.nD-this.wO;0>this.Wc?this.Wc=0:this.Wc>a&&(this.Wc=a)};d.xe="horizontal";d.Ue="vertical";return d});
476define("gi",["hb","jf"],function(a,b){return a.extend(b,function(a){b.call(this,b.xe,a)})});define("cR",["hb","jf"],function(a,b){return a.extend(b,function(a){b.call(this,b.Ue,a)})});
477define("R",["require"],function(){function a(){}function b(c){var f=j;j=[];a.sS=p;var g=c-a.Qd,g=1<g?100>g?g:100:1;a.Qd=c;for(c=0;c<f.length;c++){var h=f[c];h.callback.call(h.context,g)}a.sS=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||
478window.msCancelAnimationFrame,d=c,g=e,j=[],k=n,h=z;a.Aa=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.zT=function(a){h!=a&&((h=a)?k!==n&&(g(k),k=n):0<j.length&&(k=d(b)))};a.YH=function(a,f){a=a||c;f=f||e;d!=a&&(k!==n&&(g(k),k=a(b)),d=a,g=f)};a.dT=function(){a.YH(q,q)};a.Qd=(new Date).getTime();a.sS=z;return a});
479define("iS",[],function(){function a(a){var b={TR: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.KS=e(a);return b}function b(a){var b={TR:function(b,c,d,f){return b+(c-b)*(1-Math.pow(1-(0>=d?0:d>=f?1:d/f),a))}};b.KS=e(a);return b}function c(a){var b={TR:function(b,c,d,f){return b+(c-b)*Math.pow(0>=d?0:d>=f?1:d/f,a)}};b.KS=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,
4801/a))}}function d(g,d,e){this.hg=q;switch(g){case "quad_in":this.hg=c(2);break;case "quad_out":this.hg=b(2);break;case "quad_in_out":this.hg=a(2);break;case "cubic_in":this.hg=c(3);break;case "cubic_out":this.hg=b(3);break;case "cubic_in_out":this.hg=a(3);break;case "quart_in":this.hg=c(4);break;case "quart_out":this.hg=b(4);break;case "quart_in_out":this.hg=a(4);break;case "quint_in":this.hg=c(5);break;case "quint_out":this.hg=b(5);break;case "quint_in_out":this.hg=a(5);break;default:this.hg=c(1)}this.Jm=
481d.slice();this.Ub=0;this.Db=this.Jo(d,e);this.HL={};for(g=0;g<this.Jm.length;g++)this.HL[this.Jm[g].name]=d[g].bB}d.prototype.Qka=function(){for(var a=0;a<this.Jm.length;a++)if("hfov"==this.Jm[a].name)return this.Jm[a];return q};d.prototype.bb=function(a){return this.HL[a]};d.prototype.Dd=function(){return this.Ub>=this.Db};d.prototype.Nn=P("Db");d.prototype.setTime=function(a){this.Ub=Math.min(Math.max(0,a),this.Db);for(a=0;a<this.Jm.length;a++){var b=this.Jm[a];this.HL[b.name]=this.hg.TR(b.bB,b.cI,
482this.Ub,this.Db)}};d.prototype.Va=function(a){this.setTime(this.Ub+a)};d.prototype.Jo=function(a,b,c){for(var d=[],e=0;e<this.Jm.length;e++){var f=this.Jm[e],l=c?c:f.nma;l!==n&&0<l&&d.push(this.hg.KS(f.bB,f.cI,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.Jo(a,b,1E3)};return d});define("bh",[],function(){return function(a,b,c,e){this.name=a;this.bB=b;this.cI=c;this.nma=e}});
483define("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.Nc("Container");this.Fb=this.Yb=this.yd=this.ae=this.Ka=this.Ca=this.FX=this.EX=0;this.lN=this.rN=this.Sg=this.Rg=z;this.zX=0;this.XK=this.WK=n;this.ZK=this.YK=0;this.Ep=q;this.cF=g.uU;this.Oo=z;this.UD=q;this.Cl=z;this.MG=q});o.Ya={overflow:g.Qq,scrollBarColor:"#000000",
484scrollBarWidth:10,scrollBarMargin:5,scrollBarOpacity:0.5,scrollBarVisible:j.Rc};b.defaults(o.Ya,k.Ya);o.prototype.Rj=function(){this.UD=new h(this.EM());this.UD.qK.bind("mousedown touchstart",b.bind(this.yca,this));this.Rj=P("UD");return this.UD};o.prototype.Tj=function(){this.MG=new m(this.EM());this.MG.qK.bind("mousedown touchstart",b.bind(this.uja,this));this.Tj=P("MG");return this.MG};o.prototype.scrollIntoView=function(a){var b=a.$,b=Math.min(b,Math.max(b+a.za()-this.ae,this.Yb)),f=a.aa,a=Math.min(f,
485Math.max(f+a.ab()-this.yd,this.Fb));this.scrollTo(b,a)};o.prototype.scrollTo=function(a,b){var f=this.Yb;a>this.Yb?this.aD()&&(f=Math.min(a,this.Ca-this.ae)):a<this.Yb&&this.$C()&&(f=Math.max(a,0));var c=this.Fb;b>this.Fb?this.ZC()&&(c=Math.min(b,this.Ka-this.yd)):b<this.Fb&&this.bD()&&(c=Math.max(b,0));
485this.Vz(f,c)};o.prototype.s6=function(){if(this.ZC()){for(var a=Math.max(0,this.Ka-this.yd),b=Math.min(a,this.Fb+this.yd*0.5),f=a=Math.min(a,this.Fb+this.yd),c=this.Oa().slice(),d=c.shift();c.length;d=
486c.shift())if(d.get("visible")){var g=d.aa;g+d.ab()>this.Fb+this.yd&&g>=b&&g<a&&g<f&&(f=g)}this.Vz(this.Yb,f)}};o.prototype.ZC=function(){return this.YW()&&this.Fb+this.yd<this.Ka};o.prototype.u6=function(){if(this.bD()){for(var a=Math.max(0,this.Fb-this.yd),b=Math.max(0,this.Fb-this.yd*0.5),f=a,c=this.Oa().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.aa,d=g+d.ab();g<this.Fb&&d>=a+this.yd&&d<b+this.yd&&d>f+this.yd&&(f=d-this.yd)}this.Vz(this.Yb,f)}};o.prototype.bD=function(){return this.YW()&&
487this.Fb>0};o.prototype.t6=function(){if(this.aD()){for(var a=Math.max(0,this.Ca-this.ae),b=Math.min(a,this.Yb+this.ae*0.5),f=a=Math.min(a,this.Yb+this.ae),c=this.Oa().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.$;g+d.za()>this.Yb+this.ae&&g>=b&&g<a&&g<f&&(f=g)}this.Vz(f,this.Fb)}};o.prototype.aD=function(){return this.XW()&&this.Yb+this.ae<this.Ca};o.prototype.scrollLeft=function(){if(this.$C()){for(var a=Math.max(0,this.Yb-this.ae),b=Math.max(0,this.Yb-this.ae*0.5),f=a,
488c=this.Oa().slice(),d=c.shift();c.length;d=c.shift())if(d.get("visible")){var g=d.$,d=g+d.za();g<this.Yb&&d>=a+this.ae&&d<b+this.ae&&d>f+this.ae&&(f=d-this.ae)}this.Vz(f,this.Fb)}};o.prototype.$C=function(){return this.XW()&&this.Yb>0};o.prototype.Vz=function(a,b){this.Rg=this.Yb!=a;this.Sg=this.Fb!=b;this.Al();this.Ep=new l("cubic_in_out",[new r("hScrollPosition",this.Yb,a),new r("vScrollPosition",this.Fb,b)],500);f.Aa(this.cK,this)};o.prototype.YW=function(){return this.Cl&&this.yd<this.Ka};o.prototype.XW=
489function(){return this.Oo&&this.ae<this.Ca};o.prototype.oa=function(){this.zi(o.Ya)};o.prototype.O$=function(){this.rN=p;this.Al()};o.prototype.N$=function(){this.rN=z;this.Al()};o.prototype.yca=function(){this.Rg=p};o.prototype.uja=function(){this.Sg=p};o.prototype.K$=function(a){if(this.Rg||this.Sg){this.fb().bind(e.uc,this.xX,this);this.fb().bind(e.Ib,this.yX,this);this.Bo=a.pageX;this.Co=a.pageY;this.Al()}else this.AX(a)};o.prototype.xX=function(a){if(this.Rg){var b=(a.pageX-this.Bo)*this.Ca/
490this.Rj().Gc();this.Yb=this.Yb+b}else if(this.Sg){b=(a.pageY-this.Co)*this.Ka/this.Tj().sd();this.Fb=this.Fb+b}this.Bo=a.pageX;this.Co=a.pageY;this.Gn()};o.prototype.yX=function(){this.fb().unbind(e.uc,this.xX,this);this.fb().unbind(e.Ib,this.yX,this);this.Sg=this.Rg=z;this.Al()};o.prototype.aX=function(a){return this.Cl&&(a>0&&this.Fb>0||a<0&&this.Fb<this.Ka-this.yd)?p:z};o.prototype.M$=function(a){if(this.Cl){this.Fb=this.Fb-a.Jn*this.yd*0.1;this.Gn()}};o.prototype.AX=function(a){if(this.Oo||this.Cl){this.fb().bind(e.uc,
491this.BX,this);this.fb().bind(e.Ib,this.CX,this);this.lN=p;this.Bo=a.pageX;this.Co=a.pageY;this.Al();this.Wca()}};o.prototype.BX=function(a){var b=a.pageX-this.Bo,f=a.pageY-this.Co;if(!this.Rg&&!this.Sg&&b*b+f*f>25){this.Rg=this.Oo;this.Sg=this.Cl;this.Al()}if(this.Rg||this.Sg){this.Yb=this.Yb-b;this.Fb=this.Fb-f;this.Bo=a.pageX;this.Co=a.pageY;this.Gn();this.Ria()}};o.prototype.CX=function(){this.fb().unbind(e.uc,this.BX,this);this.fb().unbind(e.Ib,this.CX,this);this.lN=z;this.Al();var a=Math.max(Math.abs(this.YK/
4920.001),Math.abs(this.ZK/0.001));this.Ep=new l("linear",[new r("hScrollPosition",this.Yb,this.Yb-0.5*this.YK*a),new r("vScrollPosition",this.Fb,this.Fb-0.5*this.ZK*a)],a);f.Aa(this.cK,this)};o.prototype.Wca=function(){this.WK=this.Bo;this.XK=this.Co};o.prototype.Ria=function(){var a=(new Date).getTime(),b=a-this.zX;if(b>10){this.zX=a;this.YK=(this.Bo-this.WK)/b;this.ZK=(this.Co-this.XK)/b;this.WK=this.Bo;this.XK=this.Co}};o.prototype.cK=function(a){if(this.Ep&&!this.Ep.Dd()&&(this.Rg||this.Sg)){this.Ep.Va(a);
493if(this.Rg){this.Yb=this.Ep.bb("hScrollPosition");if(this.Yb<0||this.Yb>this.Ca-this.ae)this.Rg=z}if(this.Sg){this.Fb=this.Ep.bb("vScrollPosition");if(this.Fb<0||this.Fb>this.Ka-this.yd)this.Sg=z}this.Gn();f.Aa(this.cK,this)}else{this.Sg=this.Rg=z;this.Ep=q;this.Al()}};o.prototype.Gn=function(){this.Yb=this.Oo?Math.max(0,Math.min(this.Ca-this.ae,this.Yb)):0;this.Fb=this.Cl?Math.max(0,Math.min(this.Ka-this.yd,this.Fb)):0;this.Rj().Pa(this.Yb);this.Tj().Pa(this.Fb);this.La().zna(this.Yb);this.La().poa(this.Fb);
494this.sg();if(this.b1!=this.Yb||this.c1!=this.Fb){this.b1!==n&&this.c1!==n&&this.trigger(new d(e.Uk));this.b1=this.Yb;this.c1=this.Fb}};o.prototype.Al=function(){var a;a=this.get("scrollBarVisible")==j.ALWAYS?p:this.Di?this.Rg||this.Sg||this.lN:this.Rg||this.Sg||this.rN;this.Rj().Re(this.Oo&&a);this.Tj().Re(this.Cl&&a);this.sg()};o.prototype.Ia=function(){k.prototype.Ia.call(this);if(!this.L$){this.L$=p;if(this.Di)this.bind(e.qb,this.AX,this);else{this.bind(e.qb,this.K$,this);this.bind(e.Rc,this.O$,
495this);this.bind(e.pc,this.N$,this);this.bind(e.Mq,this.M$,this)}}};o.prototype.ea=function(){if(this.m("overflow")){this.cF=this.j("overflow");this.o("overflow");this.sc()}if(this.m("scrollBarColor")){this.Rj().vw(this.j("scrollBarColor"));this.Tj().vw(this.j("scrollBarColor"));this.o("scrollBarColor")}if(this.m("scrollBarWidth")){this.Rj().TB(this.j("scrollBarWidth"));this.Tj().TB(this.j("scrollBarWidth"));this.o("scrollBarWidth")}if(this.m("scrollBarMargin")){this.Rj().H6(this.j("scrollBarMargin"));
496this.Tj().H6(this.j("scrollBarMargin"));this.o("scrollBarMargin")}if(this.m("scrollBarOpacity")){this.Rj().ki(this.j("scrollBarOpacity"));this.Tj().ki(this.j("scrollBarOpacity"));this.o("scrollBarOpacity")}k.prototype.ea.call(this)};o.prototype.nh=function(){k.prototype.nh.call(this);this.Tia();this.eja();this.cja();this.Al();this.sg()};o.prototype.Tia=function(){for(var a=0,b=0,f=0,c=0,d=this.Oa(),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,
497h.$+h.za());b=Math.max(b,h.aa+h.ab())}}this.EX=c;this.FX=f;this.Ca=a;this.Ka=b};o.prototype.eja=function(){if(this.cF==g.Qq){this.ae=this.Ca;this.yd=this.Ka}else{this.ae=Math.min(this.rd(),this.Ca);this.yd=Math.min(this.qd(),this.Ka)}};o.prototype.cja=function(){var a=this.EX<0||this.FX<0||this.Ca>this.ae||this.Ka>this.yd;if(this.cF==g.Uk){this.Oo=this.ae<this.Ca;var b=(this.Cl=this.yd<this.Ka)&&this.Oo;this.Rj().setSize(this.ae,this.Ca);this.Rj().v6(b);this.Tj().setSize(this.yd,this.Ka);this.Tj().v6(b);
498this.La().zw(!a)}else{this.Cl=this.Oo=z;this.cF==g.Qq?this.La().zw(p):this.La().zw(!a)}this.Gn()};o.prototype.fe=function(){this.Tj().fe();this.Rj().fe();k.prototype.fe.call(this)};return o}
498);define("I",[],function(){return{Ue:"vertical",xe:"horizontal"}});define("cX",["require"],function(){return{Wp: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(", ")}}});
499define("fB","require,jquery.mod,cI,hb,W,I,d,eg,cX".split(","),function(a){function b(a){var b=a.Vh.width(),c=a.Vh.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.Nc("Label");this.Vh=this.Sz=q});a.Ya={};a.prototype.oa=function(){k.prototype.oa.call(this);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");
500this.f("horizontalAlign",g.ra);this.f("verticalAlign",g.bc);this.f("direction",j.xe);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.Ia=function(){k.prototype.Ia.call(this);if(!this.Vh){this.Sz=document.createElement("span");this.Vh=c(this.Sz);this.$P({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
501transform:"translate3d(0, 0, 0)"});var a=this.La();a.zw(z);a.append(this.Vh)}};a.prototype.dn=function(){k.prototype.dn.call(this);var a=this.La();this.Qg=b(this)+a.$v()+a.dw();this.Pg=this.Vh.height()+a.ew()+a.Uv();m(this)};a.prototype.ea=function(){var a,b={};if(this.m("direction")||this.m("text")){switch(this.j("direction")){case j.Ue:b["line-height"]="100%";this.Vh.html(this.Vh.text(this.j("text")).text().split("").join("<br/>"));break;default:b["line-height"]="normal";this.Vh.text(this.j("text"));
502this.Vh.html(this.Vh.html().split(" ").join("&nbsp;"))}this.o("direction");this.o("text");setTimeout(function(){this.Ha();this.sc()}.bind(this),0)}if(this.m("fontFamily")){a=this.j("fontFamily");e(a).isString()||(a="");b.fontFamily=h.Wp(a);this.o("fontFamily");this.Ha();this.sc()}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.Ha();this.sc()}if(this.m("fontColor")){a=this.j("fontColor");e(a).isString()||(a="");b.color=
503a;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.Ha();this.sc()}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.Ha();this.sc()}if(this.m("textDecoration")){a=
504this.j("textDecoration");switch(a){case "underline":case "overline":case "line-through":case "none":break;default:a="none"}b.textDecoration=a;this.o("textDecoration");this.Ha();this.sc()}if(this.m("horizontalAlign")){this.sc();this.o("horizontalAlign")}if(this.m("verticalAlign")){this.sc();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]=
505this.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,
506-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.La().zw((c.textShadowHorizontalLength>0||c.textShadowVerticalLength>0||c.textShadowBlurRadius>0)&&c.textShadowOpacity>0)}this.$P(b);k.prototype.ea.call(this)};a.prototype.nh=function(){var a={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.j("horizontalAlign")){case g.ra:a.left=
507"0";break;case g.Qa:this.fe();a.left=this.rd()-b(this)+"px";break;case g.tc:this.fe();a.left=Math.max(0,Math.round((this.rd()-b(this))*0.5))+"px"}switch(this.j("verticalAlign")){case g.eb:a.top="0";break;case g.cb:this.fe();a.top=this.qd()-this.Sz.clientHeight+"px";break;case g.bc:this.fe();a.top=Math.max(0,Math.round((this.qd()-this.Sz.clientHeight)*0.5))+"px"}this.$P(a)};a.prototype.$P=function(a){var b=this.Sz.style,c;for(c in a)b[c]=a[c]};var m=function(){function a(){!h&&c()&&(h=setTimeout(function(){h=
508q;var c=(new Date).getTime()-5E3,d;
508for(d in g){var e=g[d];e.timestamp<c&&delete g[d];var l=e.label;(e.width!=b(l)||e.height!=l.Vh.height())&&l.Ha()}a()},500))}function c(){for(var a in g)return p;return z}var d=1,g={},h=q;return function(c){c.g_||(c.g_=d++);g[c.g_]={label:c,timestamp:(new Date).getTime(),width:b(c),height:c.Vh.height()};a()}}();return a});
509define("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.$e=this.ka=q;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",e.Qw);this.set("overflow",m.uU);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",d.Ud)});o.prototype.oa=function(){l.prototype.oa.call(this);
510this.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.vc);this.f("buttonGroup");this.f("paddingLeft",5);this.f("paddingTop",5);
511this.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",
512f.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");
513this.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");
514this.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.ta,"label");this.h("pressedOpacity",f.ta,"opacity");this.h("pressedIconWidth",
515f.ta,"iconWidth");this.h("pressedIconHeight",f.ta,"iconHeight");this.h("pressedFontSize",f.ta,"fontSize");this.h("pressedFontColor",f.ta,"fontColor");this.h("pressedFontWeight",f.ta,"fontWeight");this.h("pressedFontStyle",f.ta,"fontStyle");this.h("pressedTextDecoration",f.ta,"textDecoration");this.h("pressedTextShadowBlurRadius",f.ta,"textShadowBlurRadius");this.h("pressedTextShadowColor",f.ta,"textShadowColor");this.h("pressedTextShadowHorizontalLength",f.ta,"textShadowHorizontalLength");this.h("pressedTextShadowOpacity",
516f.ta,"textShadowOpacity");this.h("pressedTextShadowVerticalLength",f.ta,"textShadowVerticalLength");this.h("pressedBorderSize",f.ta,"borderSize");this.h("pressedBorderLeftSize",f.ta,"borderLeftSize");this.h("pressedBorderTopSize",f.ta,"borderTopSize");this.h("pressedBorderRightSize",f.ta,"borderRightSize");this.h("pressedBorderBottomSize",f.ta,"borderBottomSize");this.h("pressedBorderColor",f.ta,"borderColor");this.h("pressedBorderLeftColor",f.ta,"borderLeftColor");this.h("pressedBorderTopColor",
517f.ta,"borderTopColor");this.h("pressedBorderRightColor",f.ta,"borderRightColor");this.h("pressedBorderBottomColor",f.ta,"borderBottomColor");this.h("pressedShadow",f.ta,"shadow");this.h("pressedShadowHorizontalLength",f.ta,"shadowHorizontalLength");this.h("pressedShadowVerticalLength",f.ta,"shadowVerticalLength");this.h("pressedShadowBlurRadius",f.ta,"shadowBlurRadius");this.h("pressedShadowSpread",f.ta,"shadowSpread");this.h("pressedShadowOpacity",f.ta,"shadowOpacity");this.h("pressedShadowColor",
518f.ta,"shadowColor");
518this.h("pressedBackgroundOpacity",f.ta,"backgroundOpacity");this.h("pressedBackgroundColor",f.ta,"backgroundColor");this.h("pressedBackgroundColorRatios",f.ta,"backgroundColorRatios");this.h("pressedBackgroundColorDirection",f.ta,"backgroundColorDirection");this.h("pressedLabel",f.Sa,"label");this.h("pressedRollOverOpacity",f.Sa,"opacity");this.h("pressedRollOverIconWidth",f.Sa,"iconWidth");this.h("pressedRollOverIconHeight",f.Sa,"iconHeight");this.h("pressedRollOverFontSize",
519f.Sa,"fontSize");this.h("pressedRollOverFontColor",f.Sa,"fontColor");this.h("pressedRollOverFontWeight",f.Sa,"fontWeight");this.h("pressedRollOverFontStyle",f.Sa,"fontStyle");this.h("pressedRollOverTextDecoration",f.Sa,"textDecoration");this.h("pressedRollOverTextShadowBlurRadius",f.Sa,"textShadowBlurRadius");this.h("pressedRollOverTextShadowColor",f.Sa,"textShadowColor");this.h("pressedRollOverTextShadowHorizontalLength",f.Sa,"textShadowHorizontalLength");this.h("pressedRollOverTextShadowOpacity",
520f.Sa,"textShadowOpacity");this.h("pressedRollOverTextShadowVerticalLength",f.Sa,"textShadowVerticalLength");this.h("pressedRollOverBorderSize",f.Sa,"borderSize");this.h("pressedRollOverBorderLeftSize",f.Sa,"borderLeftSize");this.h("pressedRollOverBorderTopSize",f.Sa,"borderTopSize");this.h("pressedRollOverBorderRightSize",f.Sa,"borderRightSize");this.h("pressedRollOverBorderBottomSize",f.Sa,"borderBottomSize");this.h("pressedRollOverBorderColor",f.Sa,"borderColor");this.h("pressedRollOverBorderLeftColor",
521f.Sa,"borderLeftColor");this.h("pressedRollOverBorderTopColor",f.Sa,"borderTopColor");this.h("pressedRollOverBorderRightColor",f.Sa,"borderRightColor");this.h("pressedRollOverBorderBottomColor",f.Sa,"borderBottomColor");this.h("pressedRollOverShadow",f.Sa,"shadow");this.h("pressedRollOverShadowHorizontalLength",f.Sa,"shadowHorizontalLength");this.h("pressedRollOverShadowVerticalLength",f.Sa,"shadowVerticalLength");this.h("pressedRollOverShadowBlurRadius",f.Sa,"shadowBlurRadius");this.h("pressedRollOverShadowSpread",
522f.Sa,"shadowSpread");this.h("pressedRollOverShadowOpacity",f.Sa,"shadowOpacity");this.h("pressedRollOverShadowColor",f.Sa,"shadowColor");this.h("pressedRollOverBackgroundOpacity",f.Sa,"backgroundOpacity");this.h("pressedRollOverBackgroundColor",f.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",f.Sa,"backgroundColorRatios");this.h("pressedRollOverBackgroundColorDirection",f.Sa,"backgroundColorDirection")};o.prototype.hL=D();o.prototype.Ia=function(){l.prototype.Ia.call(this);if(!this.$e){this.$e=
523this.hL();this.qa(this.$e)}if(!this.ka){this.ka=new r;this.qa(this.ka)}};o.prototype.tx=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new j(g.rh))}else{this.set("pressed",p);this.trigger(new j(g.cg))}};o.prototype.ea=function(){var a=z;if(this.m("mode")){if(this.j("mode")==h.vc){this.unbind(g.U,this.tx,this,p);this.set("autoPressed",p)}else{this.bind(g.U,this.tx,this,p);this.set("autoPressed",z)}this.o("mode");a=p}if(a||this.m("pressed"))this.j("mode")==h.sh?this.kv(this.j("pressed")==
524p):a&&this.kv(z);if(this.m("label")){a=this.j("label");this.ka.set("text",a);this.ka.set("visible",a?p:z);this.o("label")}this.Ua(o.PV,o.QV,[this.ka],p,p);if(this.m("iconBeforeLabel")){this.j("iconBeforeLabel")==z?this.ii(this.ka,0):this.ii(this.$e,0);this.o("iconBeforeLabel")}if(this.m("iconWidth")){this.$e.set("width",this.j("iconWidth"));this.o("iconWidth")}if(this.m("iconHeight")){this.$e.set("height",this.j("iconHeight"));this.o("iconHeight")}if(this.m("buttonGroup")){(a=this.j("buttonGroup"))?
525k.register(this,a):k.ZB(this);this.o("buttonGroup")}this.Ua(["horizontalAlign","verticalAlign"],{},[this.$e],p,z);l.prototype.ea.call(this)};o.PV=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];o.QV={};c(o.PV).each(function(a){o.QV[a]=a});return o});
526define("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]",
527fontColor:"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]",
528rollOverFontColor:"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",
529rollOverBorderRightSize:"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",rollOverBackgroun
529dOpacity:"number",rollOverBackgroundColor:"or[array[color], color]",
530rollOverBackgroundColorRatios:"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]",
531pressedTextShadowBlurRadius:"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",
532pressedShadow:"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",
533pressedRollOverFontSize:"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",
534pressedRollOverOpacity:"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",
535pressedRollOverShadowBlurRadius:"number",pressedRollOverShadowSpread:"number",pressedRollOverShadowOpacity:"number",pressedRollOverShadowColor:"color",pressedRollOverBackgroundOpacity:"number",pressedRollOverBackgroundColor:"or[array[color], color]",pressedRollOverBackgroundColorRatios:"array[number]",pressedRollOverBackgroundColorDirection:"enum[horizontal, vertical]"}).co(["fontSize","rollOverFontSize","pressedFontSize","pressedRollOverFontSize"]).nc([a.cg,a.rh]).kh([a.U]);return b});
536define("hA",[],function(){return{NONE:"none",km:"fill",ge:"fit_inside",Pk:"fit_outside",Bj:"fit_to_width",bg:"fit_to_height",t7:"custom"}});
537define("hN","require,cI,jquery.mod,hb,jd,eU,r,W,hA,d,eg,gE".split(","),function(a){function b(a){this.CK=a;this.Dc=[];this.Bg=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.Fh=document.createElement("a");b.prototype.J$=function(a){b.Fh.href=a;return b.Fh.href};b.prototype.load=function(a,b,f){a=this.J$(a);if(this.Bg&&!this.Bg.Tn()){this.Bg.cancel();this.Dc=c(this.Dc).without(this.Bg)}if(this.Bg=c(this.Dc).find(function(b){return b.Pe()==
538a}))this.Dc=c(this.Dc).without(this.Bg);else{this.Bg=new r(j.iV);this.Bg.load(a)}for(this.Dc.splice(0,0,this.Bg);this.Dc.length>this.CK;)this.Dc.pop().cancel();if(b){var d=this.Bg,h=function(){b.call(f||window,d.Cd(),d.Gc(),d.sd())};this.Bg.Tn()?h():this.Bg.bind(g.O,h)}};b.prototype.clear=function(){this.Dc.forEach(function(a){a.cancel()});this.Bg=q};a=d.extend(f,function(a){f.call(this);this.Nc("Image");this.CK=a||1;this.cR=z;this.Kg=h.ra;this.VD=z;this.Zg=h.eb;this.OG=z;this.Ec=m.NONE;this.yP=z;
539this.Lu=this.Mu=0;this.dN=this.rO=z;this.Ka=this.Ca=0;this.Gm=z;this.LN=this.Lg=this.gb=this.aE=this.$D=q;this.bind(g.rb,this.Tca,this);this.bind(g.Ef,this.Uca,this)});a.prototype.DM=function(){this.LN=new b(this.CK);this.DM=P("LN");return this.LN};a.prototype.oa=function(){f.prototype.oa.call(this);this.f("horizontalAlign",h.ra);this.f("verticalAlign",h.eb);this.f("scaleMode",m.NONE)};a.prototype.set=function(a,b){if(a=="url"&&this.get("url")!=b){this.cR=p;this.Vb()}f.prototype.set.call(this,a,b)};
540a.prototype.yw=function(a){if(this.Kg!=a){this.Kg=a;this.VD=p;this.Vb()}};a.prototype.Aw=function(a){if(this.Zg!=a){this.Zg=a;this.OG=p;this.Vb()}};a.prototype.nq=function(a){if(this.Ec!=a){this.Ec=a;this.yP=p;this.Vb();this.Ha()}};a.prototype.Tca=function(){this.Gm=p;this.Vb()};a.prototype.Uca=function(){this.I3()};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",
541"-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};k.browser()==k.oi&&k.Xa()&&(o.transform="translate3d(0,0,0)");a.prototype.xW=function(a,b,f){this.Mu=b?b:0;this.Lu=f?f:0;if(this.gb){this.gb.remove();this.gb=q}if(this.Lg=a){this.gb=e(this.Lg);l.css(this.Lg,o);this.$D.append(this.gb)}this.rO=this.dN=p;this.Vb();this.Ha();this.gb&&this.trigger(g.O)};a.prototype.Ia=function(){f.prototype.Ia.call(this);if(!this.$D){this.aE=document.createElement("div");this.$D=e(this.aE);
542l.css(this.aE,{position:"static",overflow:"hidden",cursor:"inherit"});this.La().append(this.$D)}};a.prototype.dn=function(){this.Qg=this.Mu+this.eh()+this.Rl();this.Pg=this.Lu+this.Sl()+this.Xv();this.$Z=this.Mu==0&&this.Lu==0?0:this.Mu/this.Lu;this.Gy=this.Hy=0};a.prototype.ea=function(){if(this.m("scaleMode")){this.nq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("horizontalAlign")){this.yw(this.j("horizontalAlign"));this.o("horizontalAlign")}if(this.m("verticalAlign")){this.Aw(this.j("verticalAlign"));
543this.o("verticalAlign")}if(this.tW())this.Gm=p;f.prototype.ea.call(this);this.I3();if(this.Bla()){var a=z;if(this.yP||this.rO||this.Gm){var b=this.rd(),c=this.qd(),d=this.Mu,g=this.Lu,e,k;if(d==0||g==0)k=e=0;else switch(this.Ec){case m.NONE:e=d;k=g;break;case m.km:e=b;k=c;break;case m.ge:if(d*c>g*b){e=b;k=g*b/d}else{e=d*c/g;k=c}break;case m.Pk:if(d*c>g*b){e=d*c/g;k=c}else{e=b;k=g*b/d}break;case m.Bj:e=b;k=g*b/d;break;case m.bg:e=d*c/g;k=c}if(this.Ca!=e||this.Ka!=k){this.Ca=e;this.Ka=k;a=p}this.rO=
544this.yP=z}if(a||this.Gm||this.dN){this.OG=this.VD=p;this.Lg&&l.css(this.Lg,{width:this.Ca+"px",height:this.Ka+"px",visibility:"inherit"});l.css(this.aE,{width:this.rd()+"px",height:this.qd()+"px","border-top-left-radius":this.SD(this.vba(),this.BY(),this.zY())+"px","border-top-right-radius":this.SD(this.wba(),this.BY(),this.AY())+"px","border-bottom-left-radius":this.SD(this.tba(),this.yY(),this.zY())+"px","border-bottom-right-radius":this.SD(this.uba(),this.yY(),this.AY())+"px"});this.Ha();this.dN=
545this.Gm=z}if(this.VD&&this.Lg){switch(this.Kg){case h.ra:l.css(this.Lg,{"margin-left":0,"margin-right":this.rd()-this.Ca+"px"});break;case h.Qa:l.css(this.Lg,{"margin-left":this.rd()-this.Ca+"px","margin-right":0});break;case h.tc:l.css(this.Lg,{"margin-left":Math.floor((this.rd()-this.Ca)*0.5)+"px","margin-right":Math.ceil((this.rd()-this.Ca)*0.5)+"px"})}this.VD=z}if(this.OG&&this.Lg){switch(this.Zg){case h.eb:l.css(this.Lg,{"margin-top":0,"margin-bottom":this.qd()-this.Ka+"px"});break;case h.cb:l.css(this.Lg,
546{"margin-top":this.qd()-this.Ka+"px","margin-bottom":0});break;case h.bc:l.css(this.Lg,{"margin-top":Math.floor((this.qd()-this.Ka)*0.5)+"px","margin-bottom":Math.ceil((this.qd()-this.Ka)*0.5)+"px"})}this.OG=z}}};a.prototype.I3=function(){if(this.cR){var a=this.get("url");if(a)this.DM().load(a,this.xW,this);else{this.DM().clear();this.xW(q,0,0)}this.cR=z}};a.prototype.SD=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});
547define("dG",["hb","hA","en","hs","hN"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.oa=function(){e.prototype.oa.call(this);this.f("iconURL");this.h("rollOverIconURL",c.q,"iconURL");this.h("pressedIconURL",c.ta,"iconURL");this.h("pressedRollOverIconURL",c.Sa,"iconURL")};a.prototype.hL=function(){var a=new d(3);a.set("scaleMode",b.ge);return a};a.prototype.ea=function(){if(this.m("iconURL")){var a=this.j("iconURL");this.$e.set("url",a);this.$e.set("visible",a?p:z);this.o("iconURL")}e.prototype.ea.call(this)};
548return 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"}).pj(["iconURL","rollOverIconURL","pressedIconURL","pressedRollOverIconURL"]);return a});
549define("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"}).nc([e.Rc,e.pc,e.Cj,e.nf]).kh([e.U]);return b});
550define("eQ",["hb","di","fa"],function(a,b,c){a=a.extend(c,function(){c.call(this)});b.A("CeilingCapPanoramaOverlay",a).B("CapPanoramaOverlay");return a});
551define("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.Nc("Canvas");this.WL=p;this.u=q;this.bind(e.rb,this.i$,this)});a.prototype.i$=function(){this.BH()};a.prototype.BH=function(){this.WL=p;this.sg()};a.prototype.Ia=function(){g.prototype.Ia.call(this);if(!this.u){this.u=b("<canvas/>");this.u.css({position:"absolute",left:0,top:0,cursor:"inherit"});this.La().append(this.u)}};a.prototype.ea=function(){this.tW()&&this.BH();g.prototype.ea.call(this)};
552a.prototype.fe=function(){if(this.WL){this.WL=z;var a=this.u.get(0);a.width=this.rd();a.height=this.qd();this.Loa()}g.prototype.fe.call(this)};a.prototype.Uka=function(){return this.u.get(0).width};a.prototype.Tka=function(){return this.u.get(0).height};a.prototype.Ska=function(){return this.u.get(0).getContext("2d")};a.prototype.Loa=function(){this.trigger(new d(e.W))};return a});
553define("gp",["hb","jd","en","hs","bH"],function(a,b,c,e,d){a=a.extend(e,function(){e.call(this)});a.prototype.nh=function(){e.prototype.nh.call(this)};a.prototype.oa=function(){e.prototype.oa.call(this);this.f("iconColor");this.h("rollOverIconColor",c.q,"iconColor");this.h("pressedIconColor",c.ta,"iconColor");this.h("pressedRollOverIconColor",c.Sa,"iconColor")};a.prototype.hL=function(){var a=new d;a.bind(b.W,this.i7,this,p);return a};a.prototype.ea=function(){this.m("iconColor")&&(this.$e.BH(),this.o("iconColor"));
554e.prototype.ea.call(this)};a.prototype.Lba=function(){return this.j("iconColor")};a.prototype.Mba=function(){return this.$e.Ska()};a.prototype.Oba=function(){return this.$e.Uka()};a.prototype.Nba=function(){return this.$e.Tka()};a.prototype.i7=D();return a});
555define("dL",["hb","gp","W","en"],function(a,b,c,e){a=a.extend(b,function(){b.call(this);this.Q({horizontalAlign:c.tc,verticalAlign:c.bc})});a.prototype.oa=function(){b.prototype.oa.call(this);this.f("iconLineWidth");this.h("rollOverIconLineWidth",e.q,"iconLineWidth");this.h("pressedIconLineWidth",e.ta,"iconLineWidth");this.h("pressedRollOverIconLineWidth",e.Sa,"iconLineWidth")};a.prototype.Vba=function(){return this.j("iconLineWidth")};a.prototype.ea=function(){this.m("iconLineWidth")&&(this.$e.BH(),
556this.o("iconLineWidth"));b.prototype.ea.call(this)};a.prototype.i7=function(){var a=this.Mba(),b=this.Lba(),c=this.Oba(),e=this.Nba(),h=this.Vba();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);
556a.lineTo(c,0);a.closePath();a.stroke()};return a});
557define("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});
558define("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]",
559verticalAlign:"enum[bottom, middle, top]"}).vg({scrollTo:function(a,b){c.prototype.scrollTo.call(this,a,b)}});return a});
560define("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]"}).pj(["thumbnailUrl"]);a.prototype.get=function(a,b){switch(a){case "overlays":return this.FM();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.FM=
561function(){var a=c.prototype.get.call(this,"overlays");a||(a=[]);return this.ZP(a)};a.prototype.ZP=function(a){if(this.pv===n||this.sE!=a){var b=function(a){return e.ub("PopupPanoramaOverlay",a)},c=function(a){return e.ub("LensFlarePanoramaOverlay",a)};this.sE=a;this.pv=[].concat(a.filter(function(a){return!(b(a)||c(a))}),a.filter(c),a.filter(b))}return this.pv};a.prototype.Rja=N("S");a.prototype.bw=P("S");return a});
562define("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});
563define("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.Cca=function(){try{if(c.audio&&c.audio.mp3)return p}catch(a){}return z};b.Dca=function(){try{if(c.audio&&c.audio.ogg)return p}catch(a){}return z};b.Gca=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"')};
564b.Qca=function(){if(d.browser()==d.oh){var a=d.yH();if(a>=10&&a<11||a>=11.3)return p}return z};b.Hca=function(){return d.browser()==d.Nk||d.browser()==d.oh?p:z};b.iZ=function(){try{if(c.video&&c.video.h264)return p}catch(a){}return z};b.Eca=function(){try{if(c.video&&c.video.ogg)return p}catch(a){}return z};b.Fca=function(){try{if(c.video&&c.video.webm)return p}catch(a){}return z};b.Spa=Q(p);b.Ica=function(){try{if(c.webgl&&document.createElement("canvas").getContext("webgl"))return p}catch(a){}try{if(c.webgl&&
565document.createElement("canvas").getContext("experimental-webgl"))return p}catch(b){}return z};b.log=function(){e.log("css transforms 3d: "+b.LR);e.log("webgl: "+b.webgl);e.log("html5 audio: "+b.w5);e.log("html5 video: "+b.z5)};b.Yha=function(){return["css3d:"+b.LR,"webgl:"+b.webgl,"html5audio:"+b.w5,"html5video:"+b.z5].join(" ")};b.y5=b.Dca();b.x5=b.Cca();b.w5=b.y5||b.x5;b.qS=b.Eca();b.wH=b.iZ();b.xH=b.Fca();b.A5=b.Qca();b.nS=b.Hca();b.l5=b.nS||b.iZ()&&b.Gca();b.z5=b.qS||b.wH||b.xH;b.LR=p;b.webgl=
566b.Ica();a.hh("debug")&&a.hh("capabilities")&&b.log();b.summary=b.Yha();return b});
567define("P",["require","hp"],function(a){a("hp");a={mp3:"data:audio/mpeg;base64,/+MYxAAAAANIAAAAAExBTUUzLjk4LjIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",ogg:"data:audio/ogg;base64,T2dnUwACAAAAAAAAAAA+HAAAAAAAAGyawCEBQGZ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IIIZQSUkophRBCCCWEEkoIJaSUUgohhBBCKaWEUkJJKaUUQgillFBKKaGUkFJKKaUQQiillFBKKSWllFJKJZRSSikllFBKSimllEoooZRQSimllJRSSimVUkopJZRSSgkppZRSSqmUUkoppZRSUkoppZRSKaWUUkoppaSUUkoppVJKKaWUEkpJKaWUUkqllFBKKaWUUlJKKaWUSgqllFJKKaUAAKADBwCAACMqLcROM648AkcUMkxAhYasBABSAQAAQiillFJKKTWMUUoppZRSihyklFJKKaWUUkoppZRSSimVUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKAcDdFw6APhM2rI5wUjQWWGjISgAgFQAAMIYxxphyzjmllHPOOQadlEgp5yB0TkopPYQQQgidhJR6ByGEEEIpKfUYQyghlJRS67GGTjoIpbTUaw8hhJRaaqn3HjKoKKWSUu89tVBSainG3ntLJbPSWmu9595LKinG2nrvObeSUkwtFgBgEuEAgLhgw+oIJ0VjgYWGrAIAYgAACEMMQkgppZRSSinGGGOMMcYYY4wxxhhjjDHGGGOMMQEAgAkOAAABVrArs7Rqo7ipk7zog8AndMRmZMilVMzkRNAjNdRiJdihFdzgBWChISsBADIAAMRRrDXGXitiGISSaiwNQYxBibllxijlJObWKaWUk1hTyJRSzFmKJXRMKUYpphJCxpSkGGOMKXTSWs49t1RKCwAAgCAAwECEzAQCBVBgIAMADhASpACAwgJDx3AREJBLyCgwKBwTzkmnDQBAECIzRCJiMUhMqAaKiukAYHGBIR8AMjQ20i4uoMsAF3Rx14EQghCEIBYHUEACDk644Yk3POEGJ+gUlTo
567QAAAAAAAIAHgAAEg2gIhoZuY4Ojw+QEJERkhKTE5QUlQEAAAAAAAQAD4AAJIVICKamTmODo8PkBCREZISkxOUFJUAAEAAAQAAAAAQQAACAgIAAAAAAAEAAAACAk9nZ1MABAAAAAAAAAAAPhwAAAIAAADItsciAQBPZ2dTAABAKgAAAAAAAINDAAACAAAAi/k29x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UVaURZ6uy8pxxLmzR5SEHNsXspeo+DDzw4x9MaFSHm6tIyWiFempO9P2dtOMiWnTObTzx19O+Msvi/htb6NqsZ/O3s7eMiJWj9dTFq5AEM9w6Lh/X076mm6aA9sCSIoJAHo13PxwXzBABvcU8c/u7iQHUUTgzNM0Wo1dlmJRzDKZSAAAAAAwJwLO5a/4yl+5v++H209u/94v13Pn59nDcvtSL21xLUpndfvy7VA5//w4f27LOL795PYo+f7974+SXupFFhk591zTOL79eH98nts4eItR07Oe9axnPeuZE0CZ27tPW1u3OzOKit91rOe+1K7j
567FmVbZRyPx0AxaDGNyYnJp/7+eXL7yaB/9H/Pku1wvejpgenJsPvz+/+mrSgjkevxerzVlbPImoxrYbKeY8BJsnrRY89KMmG12IoUvs3b7eanpycFiVHdouYWg8lsNmt1FS+33+9zIiFVOq5jbU9nZ1MABYA2AQAAAAAAg0MAAAkAAACfd/skAWoWAKqz3++H+/T0pGA6hrVD9XUrrc4zc3Nzc/r9sOZyIGq6bDnpYwKensDQ9y/K37+cAFtbW3TudhWOtwZzlstb/X5/a6vf72/x5+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK"};a.src=
568a.ogg;return a});
569define("jc",["require","hb"],function(a){function b(a){return e[j][a]||e.en[a]||a}var c=a("hb"),e={ca:{"enable-audio-prompt":"Activar \u00e0udio?","enable-video-prompt":"Activar v\u00eddeo?","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",yes:"s\u00ed",no:"no",cancel:"Cancel\u00b7lar","change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu","dont-display-again":"No tornis a mostrar aquesta informaci\u00f3",download:"Descarregar",
570downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.",downloading:"Baixant","download-failed":"Error de desc\u00e0rrega","download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia","delete-downloaded":"Suprimeix","refresh-downloaded":"Actualitzaci\u00f3","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.","storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.",
571"storage-not-provided-launch-from-desktop":"Torneu a iniciar la visita virtual des de la icona de l'escriptori per a descarregar-la.","enter-fullscreen":"Entra a pantalla completa","exit-fullscreen":"Surt de pantalla completa","giroscope-disabled-safari-request-permission":"<div>Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.</div>\n<div>Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana.</div>",
572"giroscope-disabled-http":"<div>Accediu a aquesta p\u00e0gina web a trav\u00e9s de http de manera que el moviment i l\u2019orientaci\u00f3 del dispositiu i el mode VR estan desactivats, accediu-hi mitjan\u00e7ant https per habilitar-les.</div>",mute:"Silenciar",unmute:"No activa","web-server-required":"Aquesta visita virtual no es pot reproduir des d'una unitat local. Carregueu-lo a Internet i torneu-ho a provar.\nSi ho preferiu, arrossegueu el fitxer htm (o tota la carpeta de la visita virtual) a la icona de l'aplicaci\u00f3 TourViewer.",
573"use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","use-cardboard":"Utilitzeu Cardboard","samsung-internet-vr-app-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, heu de fer que Samsung Internet sigui el vostre navegador predeterminat.","launch-default-browser":"Inicieu el navegador per defecte",
574"samsung-internet-vr-info":"Si teniu un auricular Gear VR compatible amb aquest dispositiu i heu instal\u00b7lat Samsung Internet per a VR, tamb\u00e9 podeu utilitzar-lo per visualitzar aquest contingut en VR, nom\u00e9s heu de posar el tel\u00e8fon m\u00f2bil als auriculars.","exit-vr":"Surt de VR","cardboard-v1":"Si no esteu segurs de quina versi\u00f3 de cartr\u00f3 utilitzeu, seleccioneu el control de punt d'acc\u00e9s per defecte. Despr\u00e9s, simplement veureu un punt d'acc\u00e9s i espereu fins que s'activi l'acci\u00f3.",
575"use-default-cardboard":"\u00das per defecte","cardboard-v2":"Si teniu unes Cardboard v2, que venen amb un bot\u00f3, podeu mirar cap a un punt de vista i pr\u00e9mer el bot\u00f3 per activar-lo.","use-cardboard-v2":"Utilitzeu Cardboard v2","enter-vr":"Introdu\u00efu contingut de VR","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR","rotate-device":"Gireu el dispositiu"},de:{"enable-audio-prompt":"Audio aktivieren?","enable-video-prompt":"Video aktivieren?",
576"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>",
577"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>
577 Safari> Datenschutz und Sicherheit" aktivieren Sie: "Zugriff auf Bewegung und Orientierung".</li>\n<li>Aktualisieren Sie den Browser.</li>\n</ul>',
578"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."},
579en:{"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",
580"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>",
581"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>",
582mute:"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.",
583"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.",
584"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?",
585yes:"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",
586"refresh-downloaded":"Actualizar","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1
586adir 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",
587"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>',
588"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.",
589"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.",
590"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",
591"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",
592"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 >
592 Confidentialit\u00e9 et s\u00e9curit\u00e9, puis activez : Mouvement et orientation.</li>\n<li>Actualiser le navigateur.</li>\n</ul>",
593"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?",
594yes:"\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",
595"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"},
596it:{"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"},
597pt:{"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",
598"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",
599downloading:"\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",
600"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\u6
600a21\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>",
601"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"}};
602e["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",
603"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",
604"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",
605"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>",
606mute:"\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"};
607e.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",
608"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",
609unmute:"\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",
610"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",
611"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",
612"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",
613"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>",
614"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>",
615mute:"\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",
616"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",
617"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",
618"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\u30d
618d\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",
619"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",
620"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?",
621"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?",
622yes:"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",
623"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",
624"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",
625"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;",
626yes:"\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",
627"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"};
628e.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",
629unmute:"Sesi etkinle\u015ftir"};
629e.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",
630mute:"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);
631if(0<=g.indexOf(b))return b}return"en"}();b.log=function(){c.log("translation lang: "+j);c.log("browser lang: "+d.join(", "))};return b});
632define("fj",["require","hp"],function(a){var a=a("hp"),b={webm:"data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=",X5:"data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE="};b.src=
633!a.wH&&a.xH?b.webm:b.X5;return b});
634define("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)}
635var g=a("fj"),j=a("r");a("hE");var k=z,h=[],m;(function(){j.browser()==j.Nk&&11<=j.$ma()?e(p):j.browser()==j.oh?b(e):c(function(a){a?b(e):e(z)})})();return{test:function(a){h.push(a);k&&d()}}});
636define("hm",["require","jc","d","hw","bR"],function(a){function b(a,b){this.Hv=a;this.Hn=b;this.media=0;this.o6=[];this.sk=this.sk.bind(this)}function c(){this.S3=[];this.BW=[];this.Xq=[];this.po={};this.po[j]=n;this.po[k]=n;this.sk=this.sk.bind(this);this.eR=this.eR.bind(this);g.test(function(a){a?d.l7(this.eR):this.sk(k|j,p)}.bind(this))}var e=a("jc");a("d");var d=a("hw"),g=a("bR");c.prototype.m7=function(a){this.po[k]?a.call(this,p):this.S3.push(a)};c.prototype.Roa=function(a){this.po[j]?a.call(this,
637p):this.BW.push(a)};c.prototype.Uma=function(a,b){this.yn(j,a,b)};c.prototype.cT=function(a,b){this.yn(k,a,b)};c.prototype.roa=function(){this.po[k]=n};c.prototype.eR=function(){var a=k|j;this.Xq.forEach(function(b){a&=~b.media});this.tm(a,p)};c.prototype.yn=function(a,b,f){this.po[a]===n&&this.c9(b,f).cm(a)};c.prototype.sk=function(a,b){this.g$();this.tm(a,b)};c.prototype.tm=function(a,b){a&k&&(this.po[k]=b,this.S3.forEach(function(a){a.call(window,b)}));a&j&&(this.po[j]=b,this.BW.forEach(function(a){a.call(window,
638b)}))};c.prototype.g$=function(){var a=this.Xq;this.Xq=[];a.forEach(function(a){a.cancel()})};c.prototype.c9=function(a,c){for(var f=q,d=0;d<this.Xq.length&&!f;
638d++)this.Xq[d].Hv==a&&(f=this.Xq[d]);f||(f=new b(a,this.sk),this.Xq.push(f));0>f.o6.indexOf(c)&&f.o6.push(c);return f};var j=1,k=2;b.prototype.cm=function(a){0===(a&this.media)&&(this.media|=a,"button"==this.Hv.get("mediaActivationMode")?this.Hv.LG.Vma(this.sk):this.Hv.HE.show(this.Wba(this.media),this.sk))};b.prototype.cancel=function(){this.Hv.LG.aka(this.sk);
639this.Hv.HE.hide(this.sk)};b.prototype.sk=function(a){this.Hn(this.media,a!==z);this.media=0};b.prototype.Wba=function(a){return a==(j|k)?e("enable-video-audio-prompt"):a==k?e("enable-video-prompt"):e("enable-audio-prompt")};return new c});
640define("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]=
641p;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.TH=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});
642define("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.Mi=this.Mi.bind(this);this.hl=this.hl.bind(this);this.mn=this.mn.bind(this);this.Yr=this.Yr.bind(this);this.TJ=this.TJ.bind(this);this.Rz=[];this.Pt="";this.wm=e.L;this.Vr=n;this.$q=z;this.Vg=e.L;this.tp="";this.ll=n;this.yr=z;this.Vd="inactive";l.bind(c.W,
643this.qR,this);this.PE=n;this.oK=z;this.xc=document.createElement("audio");this.xc.autobuffer="autobuffer";this.xc.ht="auto";this.xc.addEventListener("progress",this.Mi,z);this.xc.addEventListener("ended",this.hl,p);this.xc.addEventListener("pause",this.mn,z);this.xc.addEventListener("canplaythrough",this.Yr,z);f.Roa(this.TJ)});a.prototype.TJ=function(a){if(this.Vd=="asking")this.Vd="inactive";a?this.tm():this.va.set("mute",p)};a.prototype.fT=N("va");a.prototype.play=function(a,b){this.tp=a;this.ll=
644b;this.Kz(e.T)};a.prototype.stop=function(){this.Kz(e.L)};a.prototype.gj=function(){return this.xc&&this.xc.currentTime||0};a.prototype.li=function(a){this.xc.volume=a};a.prototype.Kz=function(a){this.Vg=a;this.Vd=="activated"?l.visible&&this.pl():this.Vd=="inactive"&&(m.lw()?this.tm():this.Vg!=e.L?this.lx():this.pl())};a.prototype.lx=function(){this.Vd="asking";f.Uma(this.va,this)};a.prototype.Mi=function(){if(this.ll!==n){this.xc.currentTime=this.ll;this.ll=n}};a.prototype.mn=function(){if(this.wm==
645e.T||this.$q&&this.Vr==e.T)!isNaN(this.xc.duration)&&this.xc.currentTime==this.xc.duration?this.hl():l.visible&&this.xc.play()};a.prototype.hl=function(){if(this.wm==e.T||this.$q&&this.Vr==e.T){this.Ti(z);this.wm=e.L;this.trigger(new g(c.ua))}};a.prototype.Yr=function(){this.oK=p;this.nA();this.Ti(z)};a.prototype.qR=function(){l.visible?this.Vg&&this.kda?this.pl():this.wm==e.T&&this.xc.play():this.wm==e.T&&this.xc.pause()};a.prototype.tm=function(){if(this.Vd=="inactive"||this.Vd=="asking"){this.Vd=
646"activating";this.m2(r);this.T0(function(){this.Vd="activated";this.xc.pause();this.pl()}.bind(this),function(){this.Vd="inactive";this.lx()}.bind(this))}};a.prototype.pl=function(){this.Vg!=e.L&&this.mga(this.tp,this.ll);this.nga(this.Vg);this.ll=this.Vg=this.tp=n};a.prototype.mga=function(a,b){this.m2(a||"");this.xc.currentTime!=b&&this.oga(b)};a.prototype.oga=function(a){try{this.xc.currentTime=a}catch(b){}this.PE=a;this.nA()};a.prototype.nA=function(){if(this.oK&&this.PE!==n){try{this.xc.currentTime=
647this.PE}catch(a){}this.PE=n}};a.prototype.nga=function(a){this.Vr=a;this.$q||this.AF()};a.prototype.AF=function(){if(this.wm!=this.Vr)if(this.Vr==e.T||this.Vr==e.Hc&&this.wm!=e.T){this.$q=p;this.Ti(this.Pt!=r&&this.Pt!=""?p:z);var a=function(){if(this.$q){this.wm=e.T;this.$q=z;this.AF()}}.bind(this),b=function(){this.$q=z;this.Ti(z);setTimeout(function(){this.AF()}.bind(this),100)}.bind(this);this.T0(a,b)}else{this.Ti(z);this.xc.pause();this.wm=this.Vr;this.AF()}};a.prototype.T0=function(a,b){function f(){if(!d){k();
648b&&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.xc.play()}.bind(this),l=function(){this.xc.addEventListener("play",c,z);this.xc.addEventListener("error",f,z);h=setTimeout(e,g)}.bind(this),k=function(){this.xc.removeEventListener("play",c,z);this.xc.removeEventListener("error",f,z);clearTimeout(h)}.bind(this);l();(l=this.xc.play())&&l["catch"](f)};
648a.prototype.m2=function(a){if(this.Pt!=a){this.oK=z;this.Pt=a;this.xc.src=this.Pt?this.Pt:k.src}};
649a.prototype.Ti=function(a){if(this.yr!=a)(this.yr=a)?h.Y6(d.qC):h.X6(d.qC)};return a});
650define("fb",["require","cI","hE"],function(a){var b=a("cI"),c=a("hE"),a={is:function(a,d){var g=c.parse(a).yka;return b(d).contains(g)},rB:function(a,c){return a&&b(c).any(function(b){return 0===a.indexOf(b)})},tC:[".mp4",".m4v",".m4p"],DC:[".webm"],SU:[".ogv",".ogg"],T7:[".mpg",".mpeg"],J7:[".jpg",".jpeg"],Qk:[".m3u8"],RU:[".mpd"],a8:[".png"],F7:[".gif"],q7:[".bmp"]};a.G7=[].concat(a.J7,a.a8,a.F7,a.q7);a.Dw=[].concat(a.Qk,a.RU);a.DJ=[].concat(a.Dw,a.tC,a.DC,a.SU,a.T7,a.Qk,a.RU);a.H7=["data:image/"];
651return a});
652define("bF",["require","hE"],function(a){function b(){this.vE=this.HN=q;this.Dm=[];this.dl=z;this.Zo=n}var c=a("hE");b.prototype.Sn=function(a,b){this.HN=c.oq(a);this.vE=b;this.M()};b.prototype.load=function(a,b){var c={};c.call=a;c.context=b||window;this.Dm.push(c);this.Zo||(this.Zo=this.QY());this.M()};b.prototype.Tn=function(){return this.Zo!==n};b.prototype.M=function(){0<this.Dm.length&&(this.Zo!==n?this.yaa():this.HN&&this.Ay())};b.prototype.Ay=function(){if(!(this.dl||this.Zo!==n)){this.dl=
653p;var a=document.createElement("script");a.type="text/javascript";a.src=this.HN;document.getElementsByTagName("head")[0].appendChild(a);this.Y3()}};b.prototype.Y3=function(){var a=this.QY();if(a===n){var b=this;setTimeout(function(){b.Y3()},250)}else this.Zo=a,this.dl=z,this.M()};b.prototype.QY=function(){if(this.vE){for(var a=window,b=0;b<this.vE.length&&a!==n;b++)a=a[this.vE[b]];return a}};b.prototype.yaa=function(){for(;0<this.Dm.length;){var a=this.Dm.pop();a.call.call(a.context,this.Zo)}};return{AV:new b,
654Qk:new b,Sn:function(a){this.Qk.Sn(a.get(TDV.PlayerSettings.HLS_URL),["Hls"]);this.AV.Sn(a.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL),["WebVRConfig","FORCE_ENABLE_VR"])}}});
655define("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.hl=this.hl.bind(this);this.mn=this.mn.bind(this);this.mO=this.mO.bind(this);this.Yr=this.Yr.bind(this);this.ZN=this.ZN.bind(this);this.eO=this.eO.bind(this);this.UJ=this.UJ.bind(this);this.Ki=this.Ki.bind(this);
656this.YN=this.YN.bind(this);this.Rz=[];this.Xh=q;this.Wb=[];this.ed=z;this.cj=1;this.yr=z;this.fp=this.nR=this.GA=this.bj=n;this.Ns=z;this.Vg=e.L;this.eA=this.ll=this.CO=this.tp=this.DO=n;this.va=this.md=q;this.t=document.createElement("video");this.QE=n;this.mR=z;this.o2();t.bind(c.W,this.qR,this);this.Vd="inactive";s.m7(this.UJ)});v.prototype.o2=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;
657this.t.autobuffer="autobuffer";this.t.ht=h.browser()==h.oh?"metadata":"none";this.t.setAttribute("preload",h.browser()==h.oh?"metadata":"none");this.t.setAttribute("webkit-playsinline","true");this.t.setAttribute("playsinline","true");this.t.addEventListener("ended",this.hl,p);this.t.addEventListener("pause",this.mn,z);this.t.addEventListener("stalled",this.mn,z);this.t.addEventListener("waiting",this.mn,z);this.t.addEventListener("timeupdate",this.mO,z);this.t.addEventListener("loadedmetadata",this.eO,
658p);this.t.addEventListener("canplay",this.ZN,p);this.t.addEventListener("canplaythrough",this.Yr,z);this.t.textTracks.addEventListener("addtrack",this.YN,z);this.RP()};v.prototype.clear=function(){this.qX();this.t=q};v.prototype.Qv=function(a,b,f){if(this.oB())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.va=a;this.tp=b;this.DO=f;this.ll=c;this.CO=d;this.Kz(e.T)};v.prototype.stop=function(){this.Kz(e.L)};v.prototype.gi=P("bj");v.prototype.oB=
659function(){return this.t.readyState==this.t.HAVE_NOTHING||this.t.readyState==this.t.HAVE_METADATA||this.t.currentTime===0?z:p};v.prototype.Yf=function(a){if(this.ed!=a){this.ed=a;this.RP()}};
659v.prototype.li=function(a){if(this.cj!=a){this.cj=a;this.RP()}};v.prototype.RP=function(){this.t.muted=this.cj===0||this.ed;this.t.volume=this.ed?0:this.cj};v.prototype.Kz=function(a){this.Vg=a;this.Vd=="activated"?t.visible&&this.pl():this.Vd=="inactive"&&(this.va&&this.Bca()?this.M8():this.va&&o.lw()?this.tm():
660this.va&&this.Vg!=e.L?this.lx():this.pl())};v.prototype.gj=function(){return this.t&&this.t.currentTime||0};v.prototype.Nn=function(){return this.t&&this.t.duration||0};v.prototype.Gc=function(){return this.t&&this.t.videoWidth||0};v.prototype.sd=function(){return this.t&&this.t.videoHeight||0};v.prototype.lx=function(){if(this.va){this.Vd="requested";s.cT(this.va,this)}};v.prototype.Bca=function(){var a=this.uY();return a&&(!a.currentSrc||a.paused)&&!a.muted?p:z};v.prototype.uY=function(){return this.va.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};
661v.prototype.M8=function(){this.t=this.uY();this.o2();this.tm()};v.prototype.mn=function(){(this.bj==e.T||this.Ns&&this.fp==e.T)&&!this.t.hasAttribute("loop")&&!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.hl();this.EG()};v.prototype.UJ=function(a){if(this.Vd=="requested")this.Vd="inactive";a&&this.tm()};v.prototype.tm=function(){if(this.Vd=="inactive"||this.Vd=="requested"){this.Vd="activating";this.dG(q,q,0,z,function(){this.HO(function(){this.t.pause();this.Vd=
662"activated";this.pl()}.bind(this),function(){this.Vd="inactive";this.lx(this.va)}.bind(this))}.bind(this))}};v.prototype.fd=function(){this.trigger(new g(v.mf))};v.prototype.mO=function(){this.trigger(new g(v.XI))};v.prototype.eO=function(){this.G3();this.trigger(new g(v.jm));this.trigger(new g(v.x7));!isNaN(this.t.duration)&&this.t.currentTime==this.t.duration&&this.t.duration>0&&this.hl()};v.prototype.ZN=function(){this.EG()};v.prototype.Yr=function(){this.mR=p;this.nA();this.EG();this.Ti(z)};v.prototype.hl=
663function(){if(this.bj==e.T||this.Ns&&this.fp==e.T){this.Ti(z);this.bj=e.L;this.t.paused||this.t.pause();this.trigger(new g(v.Df))}};v.prototype.YN=function(){this.G3()};v.prototype.qR=function(){t.visible?this.Vg&&this.kda?this.pl():this.bj==e.T&&this.t.play():this.bj==e.T&&this.t.pause()};v.prototype.pl=function(){if(this.H1(this.tp)&&!f.Qk.Tn())f.Qk.load(this.pl,this);else{var a=function(){this.p2(this.Vg);this.ll=this.Vg=this.DO=this.tp=this.CO=n}.bind(this);this.Vg==e.T?this.dG(this.tp,this.DO,
664this.ll,this.CO,a):this.GA===n?this.dG(q,q,0,z,a):h.browser()==h.rq?this.dG(q,q,0,z,a):this.p2(this.Vg)}};v.prototype.dG=function(a,b,f,c,d){a=a||q;b=b||q;this.tha(c);if(this.GA!==a||this.nR!=b){this.bj=e.L;this.z9(a,b,f,d)}else{this.QP(f);d()}};v.prototype.sha=function(a){a&&!this.t.hasAttribute("crossorigin")?this.t.setAttribute("crossorigin","anonymous"):!a&&this.t.hasAttribute("crossorigin")&&this.t.removeAttribute("crossorigin")};v.prototype.tha=function(a){a&&!this.t.hasAttribute("loop")?this.t.setAttribute("loop",
665""):!a&&this.t.hasAttribute("loop")&&this.t.removeAttribute("loop")};v.prototype.QP=function(a){try{this.t.currentTime=a}catch(b){}if(h.browser()!=h.sq&&h.browser()!=h.rq){this.QE=a;this.nA()}};v.prototype.nA=function(){if(this.mR&&this.QE!==n){try{this.t.currentTime=this.QE}catch(a){}this.QE=n}};v.prototype.EG=function(){this.bj==e.T&&t.visible&&this.t.paused&&this.t.readyState>=3&&this.HO(D(),this.Vea.bind(this))};v.prototype.Vea=function(){if(h.browser()!=h.rq){s.roa();s.m7(this.EG.bind(this));
666setTimeout(function(){s.cT(this.va,this)}.bind(this),0)}};v.prototype.Ki=function(){this.T1(this.Xh.track.activeCues)};v.prototype.T1=function(a){a||(a=[]);if(!(this.Wb.length==0&&a.length==0)){this.Wb=Array.prototype.slice.call(a);this.trigger(v.we,this.Wb)}};v.prototype.qX=function(){if(this.md){this.md.destroy();this.md=q}this.$fa();this.aga()};v.prototype.z9=function(a,b,f,c){this.qX();this.mR=z;this.sha(!!a&&r.I5(a));this.H1(a)?this.m9(a,b,f,c):this.w9(a,b,f,c)};v.prototype.H1=function(a){return m.is(a,
667m.Qk)&&!k.nS};v.prototype.m9=function(a,b,c,d){var g=f.Qk.Zo;this.GA=a;this.nR=b;var e=r.Pl("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.Ti(p);this.md=new g(j);this.md.loadSource(a);this.md.attachMedia(this.t);var m=function(){this.md.off(g.Events.MANIFEST_PARSED,m);if(navigator.connection){var a=this.md.levels.filter(function(a){return a.bitrate<=
668l});if(a.length){a.sort(function(a,b){return b.width-a.width});this.md.startLevel=this.md.levels.indexOf(a[0])}a=this.md.levels.filter(function(a){return a.bitrate<=k});if(a.length){a.sort(function(a,b){return b.width-a.width});this.md.config.minAutoBitrate=a[0].bitrate-1}if(h.Xa()){a=this.md.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.md.autoLevelCapping=this.md.levels.indexOf(a[0])}}if(e){console.log("bandwidth:",
669l,"lowBandwidth:",k);console.log("levels",this.md.levels);console.log("startLevel",this.md.levels[this.md.startLevel]);console.log("minLevel",this.md.levels[this.md.minAutoLevel])}}this.md.startLoad(c===0?-1:c);c!=0&&this.QP(c);b&&this.qW(b);d()}.bind(this);this.md.on(g.Events.MANIFEST_PARSED,m);this.md.on(g.Events.epa,function(a,b){b.fatal&&b.type==g.ErrorTypes.kpa&&this.md.recoverMediaError()}.bind(this))};v.prototype.w9=function(a,b,f,c){this.GA=a;this.nR=b;if(a)this.XJ(a);else{this.XJ(u.webm,
670"video/webm");this.XJ(u.X5,"video/mp4")}b&&this.qW(b);this.t.load();f!=0&&this.QP(f);c()};v.prototype.XJ=function(a,b){var f=document.createElement("source");b||(b=this.xca(a));if(b)f.type=b;r.rB(a)||(a=r.Jv(a,"swbypass=true"));f.src=a;this.t.appendChild(f);this.Rz.push(f)};v.prototype.xca=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.$fa=
671function(){for(;this.Rz&&this.Rz.length;){var a=this.Rz.shift();a.src="";this.t.removeChild(a)}};v.prototype.qW=function(a){this.Xh=document.createElement("track");this.Xh.kind="subtitles";this.Xh.src=a;this.t.appendChild(this.Xh)};v.prototype.aga=function(){if(this.Xh){this.Xh.track.removeEventListener("cuechange",this.Ki);this.Xh.track.mode="disabled";this.Xh.src="";this.t.removeChild(this.Xh);this.Xh=q;this.T1([])}};v.prototype.G3=function(){for(var a=0;a<this.t.textTracks.length;a++){var b=this.t.textTracks[a];
672b.removeEventListener("cuechange",this.Ki);b.mode=this.Xh&&b==this.Xh.track?"hidden":"disabled";b.mode=="hidden"&&b.addEventListener("cuechange",this.Ki)}};v.prototype.p2=function(a){this.fp=a;this.Ns||this.BF()};v.prototype.BF=function(){if(this.bj!=this.fp)if(this.fp==e.T||this.fp==e.L&&this.bj!=e.T){this.Ns=p;this.Ti(this.GA?p:z);var a=function(){if(this.Ns){this.bj=e.T;this.Ns=z;this.PP(p);this.BF()}}.bind(this),b=function(){this.Ns=z;this.Ti(z);this.PP(z);setTimeout(function(){this.BF()}.bind(this),
673100)}.bind(this);this.HO(a,b)}else{this.Ti(z);this.PP(z);this.t.pause();if(this.fp==e.L)this.t.currentTime=0;this.bj=this.fp;this.BF()}};
673v.prototype.Ti=function(a){if(this.yr!=a)(this.yr=a)?l.Y6(d.qC):l.X6(d.qC)};v.prototype.PP=function(a){if(!!this.eA!=a)if(this.eA){clearInterval(this.eA);this.eA=q}else{var b=this;this.eA=setInterval(function(){b.fd()},16)}};v.prototype.HO=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=
674setTimeout(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.mf="time update";v.XI="time update native";v.jm="duration update";v.x7="size update";v.Df="end";v.we="cueChange";return v});
675define("dN","require,hb,cI,jd,es,bI,dT,r,hE,cW".split(","),function(a){function b(a){this.N=a;this.G=q;this.Au=(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.wS=function(){return this.G==q};b.prototype.item=P("G");b.prototype.Gka=function(){this.G.CS(this.N);this.G=q};b.prototype.Ooa=function(a){this.G=a;this.G.RR(this.N);this.Au=(new Date).getTime()};var l=c.extend(k,function(){k.call(this);var a=h.Ed()==h.ri?1:m.ala();
676this.Jp=[];for(var c=0;c<a;c++)this.Jp.push(new b(new f));this.Tf=[];this.k=g.L});l.prototype.dt=function(){return this.ZY().length>0};l.prototype.YS=function(a){this.Tf=[a].concat(e(this.Tf).without(a));this.GO()};l.prototype.UG=function(a){this.Tf.push(a);this.GO()};l.prototype.zB=function(a){this.Tf=e(this.Tf).without(a);this.GO()};l.prototype.GO=function(){var a=this.Tf.slice(0,this.Jp.length);this.ZY().forEach(function(b){a.indexOf(b.item())<0&&b.Gka()});this.ob(a.length>0?g.T:g.L);a.forEach(function(a){this.Pba(a)||
677this.Gba().Ooa(a)}.bind(this));this.Hba().forEach(function(a){a.N.stop()})};l.prototype.ob=function(a){if(this.k!=a){this.k=a;this.trigger(new j(this.k==g.L?d.ud:d.mo))}};l.prototype.Gba=function(){var a=this.Jp.filter(function(a){return a.wS()});if(a.length){h.browser()==h.Nk&&a.sort(function(a,b){return a.Au-b.Au});return a[0]}return q};l.prototype.Hba=function(){return this.Jp.filter(function(a){return a.wS()})};l.prototype.ZY=function(){return this.Jp.filter(function(a){return!a.wS()})};l.prototype.Pba=
678function(a){for(var b=0;b<this.Jp.length;b++)if(this.Jp[b].item()==a)return this.Jp[b];return q};l.gN=q;l.bind=function(){var a=l.Ye();a.bind.apply(a,arguments)};l.unbind=function(){var a=l.Ye();a.unbind.apply(a,arguments)};l.dt=function(){return l.Ye().dt()};l.UG=function(a){l.Ye().UG(a)};l.YS=function(a){l.Ye().YS(a)};l.zB=function(a){l.Ye().zB(a)};l.Do=function(){if(l.gN===q)l.gN=new l;return l.gN};l.Ye=l.Do;l.Do();return l});
679define("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={fN:function(){this.va=q;this.X0=g.Ed()==g.ri?1:5;this.Qda=g.Xa()?z:p;this.oe=[];for(var a=0;a<this.X0;a++){var b=new d;b.bind(c.ua,this.WE,this,p);this.oe.push(b)}this.IW=this.oe.slice();this.ol={};this.Tu=[];j.bind(c.mo,this.M,this,p);j.bind(c.ud,this.M,this,p);this.c$=g.pd()!=g.Hw&&g.pd()!=g.Iw},fT:function(a){this.va=a;this.oe.forEach(function(b){b.fT(a)});this.M()},L6:function(a,
680b){if(a.ed!=b){a.Yf(b);this.MQ(a);this.M()}},li:function(a,b){if(a.cj!=b){a.li(b);this.MQ(a);this.M()}},MQ:function(a){a.xa&&a.xa.li(a.ed?0:a.cj)},add:function(a){if(!this.BZ(a)){this.Cfa(a);this.M()}},remove:function(a){if(this.BZ(a)){this.yp(a);this.M()}},M:function(){var a=this.Zba(),c=b.difference(this.Tu,a),a=b.difference(a,this.Tu);
680c.forEach(this.z1.bind(this));a.forEach(this.b9.bind(this))},z1:function(a){var c=a.xa;a.setTime(c.gj());a.O6(q);c.stop();this.IW.push(c);this.Tu=b(this.Tu).without(a)},
681b9:function(a){var b=this.IW.shift();a.O6(b);this.MQ(a);b.play(a.Pe(),a.getTime());this.Tu.push(a)},WE:function(a){var d=a.source,a=b(this.Tu).find(function(a){return a.xa==d});this.z1(a);a.yE?this.Oda(a):this.yp(a);a.setTime(0);a.trigger(new e(c.ua));this.M()},Cfa:function(a){var b=a.tn;this.ol[b]==n&&(this.ol[b]=[]);this.ol[b].splice(0,0,a)},BZ:function(a){return this.ol&&b(this.ol[a.tn]).contains(a)},Zba:function(){if(!this.va||!this.c$&&j.dt())return[];var a=b(this.ol).keys();a.sort(function(a,
682b){return b-a});for(var c=[],d=0;d<a.length;d++)for(var f=this.ol[a[d]],g=0;g<f.length;g++){var e=f[g];if(this.Qda||!this.qda(e)){c.push(e);if(c.length==this.X0)return c}}return c},qda:function(a){return a.ed||a.cj==0},yp:function(a){var c=a.tn,d=this.ol[c];if(d){a=b(d).indexOf(a);if(a>=0){d.splice(a,1);d.length==0&&delete this.ol[c]}}},Oda:function(a){var c=this.ol[a.tn];if(c){var d=b(c).indexOf(a);if(d>=0){c.splice(d,1);c.push(a)}}}};a.fN();return a});
683define("go",["require","hb","dT"],function(a){var b=a("hb"),c=a("dT"),a=b.extend(c,function(a,b){c.call(this);this.Bb=a;this.tn=b;this.Ub=0;this.ed=this.yE=z;this.xa=q;this.cj=1});a.prototype.toString=function(){return"SharedAudioPlayerOrchestatorItem (url:"+this.Bb+" priority:"+this.tn+" time:"+this.Ub+" loop:"+this.yE+")"};a.prototype.Pe=P("Bb");a.prototype.setTime=N("Ub");a.prototype.getTime=P("Ub");a.prototype.uT=N("yE");a.prototype.Yf=N("ed");a.prototype.li=N("cj");a.prototype.O6=N("xa");return a});
684define("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.ua,this.g0,this,p)});a.prototype.clear=function(){j.remove(this.G);this.G.unbind(c.ua,this.g0,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")==
685g.T&&this.set("state",g.Hc)};a.prototype.stop=function(){j.remove(this.G);this.G.setTime(0);this.set("state",g.L)};a.prototype.uT=function(a){this.G.uT(a)};a.prototype.cq=function(){j.L6(this.G,p)};a.prototype.ut=function(){j.L6(this.G,z)};a.prototype.li=function(a){j.li(this.G,a)};a.prototype.g0=function(){this.G.yE||this.set("state",g.L);this.trigger(new e(c.ua))};return a});
686define("fE",["require","dm","hp"],function(a){function b(){}var c=a("dm"),e=a("hp");b.X7=3;b.W7=2;b.V7=2;b.m8=1;b.Uoa="mp3";b.Woa="ogg";b.Voa="none";b.create=function(a,g,e){return new c(b.cna(a,g),e)};b.cna=function(a,b){return a&&e.x5?a:b&&e.y5?b:a||b};return b});
687define("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.tn=a||k.m8;this.vi=n});h.jd="stateChange";j.A("Audio",h).B("Object").K({audio:"AudioResource",loop:"bool",state:"enum[stopped, playing, paused]"}).vg({play:function(){this.mg()},pause:function(){this.mk()},stop:function(){this.Wi()}}).nc([c.ua,h.jd]);h.prototype.Tv=function(){if(this.vi==n){var a=
688this.get("audio");if(a){this.vi=k.create(a.get("mp3Url"),a.get("oggUrl"),this.tn);a=function(){this.vi.uT(this.get("loop",z))};a.call(this);this.bind(c.ha("loop"),a,this);a=function(){this.get("application").get("mute",z)?this.vi.cq():this.vi.ut()};a.call(this);this.get("application").bind(c.ha("mute"),a,this,p);a=function(){this.set("state",this.vi.get("state"))};a.call(this);this.vi.bind(c.ha("state"),a,this,p);this.vi.bind(c.ua,this.bea,this,p)}else this.vi=q}return this.vi};h.prototype.set=function(a,
689b){if(a=="state"){var c=this.get("state"),k=this.vi?this.vi.get("state"):e.L;k!=c&&this.trigger(new g(h.jd,{oldState:c,state:k}))}d.prototype.set.call(this,a,b)};h.prototype.Qn=function(){return[]};h.prototype.bea=function(){this.trigger(new g(c.ua))};h.prototype.mg=function(){var a=this.Tv();a&&a.play()};h.prototype.Wi=function(){var a=this.Tv();a&&a.stop()};h.prototype.mk=function(){var a=this.Tv();a&&a.pause()};return h});
690define("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.V7)});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});
691define("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});
692define("t","require,cI,jd,hb,bI,dT".split(","),function(a){function b(a,b,c,d,m){this.Sm=q;this.XN=a;this.Gd=e.ha(this.XN);this.Aca=b;this.Ga=c||window;this.Vca=d;this.i_=m;this.mN=z}var c=a("cI"),e=a("jd"),d=a("hb");a("bI");a("dT");b.prototype.unwatch=function(){this.uP(q)};b.prototype.uP=function(a){c(this.OY()).each(function(a){a&&a.unbind(this.Gd,this.dX,this)},this);
692this.Sm=a;c(this.OY()).each(function(a){a&&a.bind(this.Gd,this.dX,this,this.Vca)},this);this.I1()};b.prototype.OY=function(){return this.Sm?
693c(this.Sm).isArray()?this.Sm:[this.Sm]:[]};b.prototype.I1=function(){this.i_&&this.i_.uP(this.Kba())};b.prototype.Kba=function(){return this.Sm==q?q:c(this.Sm).isArray()?c(this.Sm).map(function(a){return a?a.get(this.XN):q},this):this.Sm.get(this.XN)};b.prototype.dX=function(a){if(!this.mN){try{this.mN=p;this.I1();this.Aca.call(this.Ga,a)}catch(b){d.GH("ChangeWatcher._changeHandler",b)}this.mN=z}};b.watch=function(a,d,e,h,m){c.isString(d)&&(d=d.split("."));typeof m=="undefined"&&(m=z);if(d.length>
6940){d=new b(d[0],e,h,m,b.watch(q,d.slice(1),e,h,m));d.uP(a);return d}return q};return b});
695define("jp",["jquery.mod","hb","jd","d"],function(a,b,c,e){var d=b.extend(e,function(){e.call(this);this.Nc("DropDownArrow");this.u=q;this.Gm=p;this.bind(c.rb,this.Laa,this)});d.prototype.oa=function(){e.prototype.oa.call(this);this.f("color","#000000");this.f("direction",d.xI)};d.prototype.Laa=function(){this.Gm=p;this.Vb()};d.prototype.Ia=function(){e.prototype.Ia.call(this);this.u||(this.u=a("<canvas/>"),this.u.css({position:"absolute",left:0,top:0}),this.La().append(this.u))};d.prototype.ea=function(){var a=
696z;this.m("color")&&(a=p,this.o("color"));this.m("direction")&&(a=p,this.o("direction"));this.Gm&&(a=p,this.Gm=z);if(a){var a=this.rd(),b=this.qd(),c=this.j("color"),h=this.j("direction"),m=[0.5*a,0,a],h=h==d.xI?[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.ea.call(this)};d.xI="down";d.cpa="up";return d});
697define("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.Nc("DropDownButton");this.qo=this.ka=q;this.BN=p;this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("cursor",e.Ud);this.bind(d.U,this.XL,this)});a.prototype.oa=function(){k.prototype.oa.call(this);this.f("arrowColor","#000000");this.f("arrowBeforeLabel");this.f("arrowWidth",9);this.f("arrowHeight",
6985);this.f("arrowGap",5);this.f("shadow",z);this.f("layout",g.xe);this.f("verticalAlign",c.bc);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");
699this.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.ta,"borderColor");this.h("pressedArrowColor",
700j.ta,"arrowColor");this.h("pressedBackgroundColor",j.ta,"backgroundColor");this.h("pressedBackgroundColorRatios",j.ta,"backgroundColorRatios");this.h("pressedShadow",j.ta,"shadow");this.h("pressedRollOverBorderColor",j.Sa,"borderColor");this.h("pressedRollOverArrowColor",j.Sa,"arrowColor");this.h("pressedRollOverBackgroundColor",j.Sa,"backgroundColor");this.h("pressedRollOverBackgroundColorRatios",j.Sa,"backgroundColorRatios");this.h("pressedRollOverShadow",j.Sa,"shadow");this.h("pressedBorderColor",
701j.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.BN=p;this.Vb()}k.prototype.set.call(this,a,b)};a.prototype.Ia=function(){k.prototype.Ia.call(this);if(!this.ka){this.ka=new m;this.ka.set("width","100%");this.qa(this.ka)}if(!this.qo){this.qo=new h;this.qo.set("direction",
702h.xI);this.qa(this.qo)}};a.prototype.XL=function(){this.open();this.trigger(new b(d.OPEN))};a.prototype.open=function(){this.unbind(d.U,this.XL,this);this.Lz(p)};a.prototype.close=function(){this.bind(d.U,this.XL,this);this.Lz(z)};a.prototype.ea=function(){if(this.BN){this.ka.set("text",this.get("label"));this.BN=z}this.Ua(["horizontalAlign","fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius",
703"textShadowOpacity"],{},[this.ka],p,p);if(this.m("arrowGap")){this.set("gap",this.j("arrowGap"));this.o("arrowGap")}if(this.m("arrowColor")){this.qo.set("color",this.j("arrowColor"));this.o("arrowColor")}if(this.m("arrowBeforeLabel")){this.j("arrowBeforeLabel")==p?this.ii(this.qo,0):this.ii(this.ka,0);this.o("arrowBeforeLabel")}if(this.m("arrowWidth")){this.qo.set("width",this.j("arrowWidth"));this.o("arrowWidth")}if(this.m("arrowHeight")){this.qo.set("height",this.j("arrowHeight"));this.o("arrowHeight")}k.prototype.ea.call(this)};
704return a});define("eB",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Ya={layout:e.Ue};a.defaults(d.Ya,c.Ya);d.prototype.oa=function(){this.zi(d.Ya)};return d});
705define("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.Nc("DropDownPopup");this.Pb=q;this.TC=z;this.Da=q;this.vy=[];this.Pp=p});a.prototype.open=function(a){this.Pb=a;this.TC=p;this.fb().ii(this,this.fb().Oa().length-1);this.set("overIndex",-1);this.set("visible",p);this.bind(j.qb,this.Kb,this);this.fb().bind(j.Ib,this.b_,this);this.fb().bind(j.rb,this.ib,
706this)};a.prototype.close=function(){this.Pb=q;this.TC=p;this.set("visible",z);this.Da.set("overflow",g.Qq);this.Da.set("contentOpaque",p);this.unbind(j.qb,this.Kb,this);this.fb().unbind(j.Ib,this.b_,this);this.fb().bind(j.rb,this.ib,this)};a.prototype.Ia=function(){k.prototype.Ia.call(this);if(!this.Da){this.Da=new h;this.Da.set("overflow",g.Qq);this.Da.bind(j.rb,this.ib,this);this.Da.bind(j.Uk,this.Dp,this);this.qa(this.Da)}};a.prototype.ib=function(){this.A3()};a.prototype.Kb=function(){this.zP=
707z};a.prototype.Dp=function(){this.zP=p};a.prototype.b_=function(){this.get("overIndex")==-1&&(!this.zP||!this.Di)&&this.trigger(new c(j.vq));this.zP=z};a.prototype.rea=function(a){this.set("overIndex",this.CM(a.source))};a.prototype.sea=function(a){a=this.CM(a.source);this.get("overIndex")==a&&this.set("overIndex",-1)};a.prototype.qea=function(a){a=this.CM(a.source);this.set("overIndex",a);this.set("selectedIndex",a);this.trigger(new c(j.Vk))};a.prototype.CM=function(a){for(var b=0;b<this.vy.length;b++)if(this.vy[b]==
708a)return b;return-1};a.prototype.oa=function(){k.prototype.oa.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);
708this.f("popUpBackgroundColor");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");this.f("popUpFontColor");this.f("rollOverPopUpFontColor");this.f("selectedPopUpFontColor");this.f("popUpShadow",
709p);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.ea=function(){var a=
710z,b=z;if(this.m("items")){for(var a=this.j("items")||[],c=this.vy.length;c<a.length;c++){var g=new m;g.Q({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:d.Ud});g.bind(j.Cj,this.rea,this);g.bind(j.nf,this.sea,this);g.bind(j.U,this.qea,this);this.vy.push(g)}g=this.Da.Oa();for(c=a.length;c<g.length;c++)this.Da.removeChild(g[c]);for(c=g.length;c<a.length;c++)this.Da.qa(this.vy[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");
711a=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"),
712horizontalAlign: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"),
713backgroundOpacity:this.j("popUpBackgroundOpacity")};g=this.Da.Oa();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"),
714u=this.j("rollOverPopUpFontColor")||h,v=this.j("selectedPopUpFontColor")||h,x=this.j("selectedIndex"),y=this.j("overIndex"),g=this.Da.Oa(),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.TC||this.m("popUpGap")||this.m("buttonWidth")){this.Pb&&this.Da.set("minWidth",this.Pb.za());this.o("popUpGap");this.A3();this.TC=z}this.Ua(["popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength",
715"popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},[this.Da],p,p);this.q3();k.prototype.ea.call(this)};a.prototype.A3=function(){if(this.Pb){var a=this.fb(),b=this.Pb.pla(a),c=this.Pb.za(),d=this.Pb.ab(),h=this.j("popUpGap"),
716k=this.Da.Ca,j=this.Da.Ka,m=a.ab()-(b.top+d+h)-5,x=b.top-5-h,y=this.j("horizontalAlign");if(j<=m){this.Pp=p;this.Da.set("top",b.top+d+h);this.Da.set("maxHeight",n);this.Da.set("overflow",g.Qq)}else if(j<=x){this.Pp=z;this.Da.set("top",b.top-j-h);this.Da.set("maxHeight",n);this.Da.set("overflow",g.Qq)}else{if(m>=x){this.Pp=p;this.Da.set("top",b.top+d+h);this.Da.set("maxHeight",m)}else{this.Pp=z;this.Da.set("top",b.top-x+h);this.Da.set("maxHeight",x)}this.Da.set("overflow",g.Uk)}d=y==e.tc?b.left+Math.round((c-
717k)*0.5):y==e.Qa?b.left+c-k:b.left;d<0?d=b.left:b.left+k>a.za()&&(d=b.left+c-k);this.Da.set("left",d);this.q3()}};a.prototype.q3=function(){var a=this.j("popUpBorderRadius");this.Da.Q({borderTopRadius:this.Pp?0:a,borderBottomRadius:this.Pp?a:0});for(var b=this.Da.Oa(),c=0;c<b.length;c++){var d=c==0,g=c==b.length-1;b[c].Q({borderTopRadius:!this.Pp&&d?a:0,borderBottomRadius:this.Pp&&g?a:0})}};return a});
718define("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.Nc("DropDown");this.oy=z;this.Pb=this.Pf=q;this.v2=p;this.Lc=-1;this.Yg=z});a.prototype.oa=function(){d.prototype.oa.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);
719this.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",
7200);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");
720this.f("popUpBackgroundColor","#FFFFFF");this.f("popUpBackgroundOpacity");this.f("rollOverPopUpBackgroundColor");this.f("selectedPopUpBackgroundColor");
721this.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");
722this.f("pressedBackgroundColorRatios");this.f("pressedShadow");this.f("pressedRollOverBorderColor");this.f("pressedRollOverArrowColor");this.f("pressedRollOverBackgroundColor");this.f("pressedRollOverBackgroundColorRatios");this.f("pressedRollOverShadow")};a.prototype.Ia=function(){d.prototype.Ia.call(this);if(!this.Pb){this.Pb=new g;this.Pb.bind(e.rb,this.fea,this);this.Pb.bind(e.OPEN,this.Bea,this);this.Pb.bind(e.vq,this.$N,this);this.Pb.bind(e.zg,this.eea,this);this.Pb.set("width","100%");this.Pb.set("height",
723"100%");this.qa(this.Pb)}if(!this.Pf){this.Pf=new j;this.Pf.bind(e.vq,this.$N,this);this.Pf.bind(e.Vk,this.Pea,this);this.fb().qa(this.Pf)}};a.prototype.fea=function(){this.v2=p;this.Vb()};a.prototype.Bea=function(){this.Pb.open();this.Pf.set("selectedIndex",this.get("selectedIndex"));this.Pf.open(this.Pb)};a.prototype.$N=function(){this.Pb.close();this.Pf.close()};a.prototype.eea=function(){this.Pb.close();this.Pf.close()};a.prototype.Pea=function(){this.set("selectedIndex",this.Pf.get("selectedIndex"));
724this.$N();this.Yg=p};a.prototype.ea=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.Pf.set("items",this.j("items"));this.Pf.set("selectedIndex",this.j("selectedIndex"));this.o("items");this.o("selectedIndex");if(this.Yg){this.Yg=z;this.trigger(new c(e.W))}}if(a){a=this.j("label");if(!a){b=this.j("selectedIndex");
725a=b<0?this.j("prompt"):this.j("items")[b]}this.Pb.set("label",a)}if(this.v2){this.Pf.set("minWidth",this.Pb.za());this.Pf.set("buttonWidth",this.Pb.za())}this.Ua(["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","horizontalAlign","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"],{},[this.Pb,this.Pf],p,p);this.Ua(["popUpBorderRadius","popUpGap","popUpPaddingBottom","popUpPaddingLeft","popUpPaddingRight",
726"popUpPaddingTop","popUpBackgroundColor","popUpBackgroundOpacity","rollOverPopUpBackgroundColor","selectedPopUpBackgroundColor","popUpFontColor","rollOverPopUpFontColor","selectedPopUpFontColor","popUpShadow","popUpShadowBlurRadius","popUpShadowColor","popUpShadowHorizontalLength","popUpShadowOpacity","popUpShadowSpread","popUpShadowVerticalLength"],{},[this.Pf],p,p);this.Ua(["arrowBeforeLabel","arrowWidth","arrowHeight","arrowColor","rollOverArrowColor","pressedArrowColor","pressedRollOverArrowColor",
727"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",
728"pressedBorderColor","pressedRollOverBorderColor","backgroundColor","backgroundColorRatios","backgroundColorDirection","backgroundOpacity","rollOverBackgroundColor","rollOverBackgroundColorRatios","rollOverShadow","pressedBackgroundColor","pressedBackgroundColorRatios","pressedShadow","pressedRollOverBackgroundColor","pressedRollOverBackgroundColorRatios","pressedRollOverShadow","paddingLeft","paddingTop","paddingRight","paddingBottom"],{},[this.Pb],p,p);d.prototype.ea.call(this)};return a});
729define("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.xb=q;this.LZ=[];this.bind(e.W,this.iea,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]",
730gap:"number",horizontalAlign:"enum[left, center, right]",label:"string",playList:"PlayList",popUpGap:"number",popUpBackgroun
730dColor:"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",
731pressedArrowColor:"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",
732rollOverShadow:"bool",selectedPopUpBackgroundColor:"color",selectedPopUpFontColor:"color",textDecoration:"enum[underline, overline, line-through, none]",textShadowBlurRadius:"number",textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).co(["fontSize"]);a.prototype.set=function(a,b){if(a=="playList"){if(this.xb)for(this.xb.unbind("change",this.nn,this);this.LZ.length;)this.LZ.shift().unwatch();if(this.xb=b){c.watch(this.xb,"items.label",
733this.AG,this);c.watch(this.xb,"items.media.label",this.AG,this);this.AG();this.xb.bind("change",this.nn,this);this.nn()}else this.AG()}else d.prototype.set.call(this,a,b)};a.prototype.AG=function(){this.xb?this.set("items",j(this.xb.get("items")).map(function(a){return a.get("label")||a.get("media").get("label")})):this.set("items",[])};a.prototype.nn=function(){this.set("selectedIndex",this.xb.get("selectedIndex"))};a.prototype.iea=function(){this.xb&&this.xb.set("selectedIndex",this.get("selectedIndex"))};
734return a});
735define("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.Db=n;this.yk=[];this.k="stopped";this.set("easing","linear");this.set("duration",1E3)});h.prototype.play=function(a){a||(a=k);if(!this.dt(a))if(this.k=="stopped"||this.yk.indexOf(a)<0){this.k="playing";this.yk.push(a);this.le=0;this.Db=Math.max(this.get("duration",1E3),1);this.ke=new g(this.get("easing","linear"),[new j("pos",0,1)],this.Db);this.ke.setTime(this.le);this.ov();this.Ip();
736this.xF()}else this.k="playing"};h.prototype.reverse=function(){target||(target=k);if(!this.dma())if(this.k=="stopped"||this.yk.indexOf(target)<0){this.k="playingReverse";this.yk.push(target);this.le=this.Db=Math.max(this.get("duration",1E3),0);this.ke=new g(this.get("easing","linear"),[new j("pos",0,1)],this.Db);this.ke.setTime(this.le);this.ov();this.Ip();this.xF()}else this.k="playingReverse"};h.prototype.end=function(){if(this.k!="stopped"){this.le=this.Db;this.Ip();this.xF()}};h.prototype.dt=
737function(a){return this.k=="playing"&&this.yk.indexOf(a)>=0};h.prototype.dma=function(){return this.k=="playingReverse"&&this.yk.indexOf(target)>=0};h.prototype.af=function(a){if(this.k!="stopped"){this.le=this.k=="playing"?Math.min(this.Db,this.le+a):Math.max(0,this.le-a);this.ke.setTime(this.le);this.Ip();this.xF()}};h.prototype.cw=function(){return this.ke.bb("pos")};h.prototype.Go=function(a){if(this.yk)for(var b=0;b<this.yk.length;b++)a.call(this,this.yk[b],b)};h.prototype.ov=function(){this.trigger(new e(h.oU))};
738h.prototype.Ip=function(){this.trigger(new e(h.iU))};h.prototype.mv=function(){this.trigger(new e(h.Df))};h.prototype.nv=function(){this.trigger(new e(h.nU))};h.prototype.xF=function(){if(this.k=="playingReverse"&&this.le<=0){this.nv();this.k="stopped";this.yk=[]}else if(this.k=="playing"&&this.le>=this.Db){this.mv();this.k="stopped";this.yk=[]}else this.k!="stopped"&&d.Aa(this.af,this)};h.oU="start";h.iU="frame";h.Df="end";h.nU="reverseEnd";return h});
739define("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]"}).kh([d.oU,d.iU,d.Df,d.nU]).vg({play:function(){return d.prototype.play.apply(this,arguments)},reverse:function(){return d.prototype.reverse.apply(this,arguments)},getPosition:function(){return d.prototype.cw.apply(this,
740arguments)}});return a});
741define("X",["hb","cS"],function(a,b){var c=a.extend(b,function(){b.call(this);this.aK=this.ZJ=q});c.prototype.ov=function(){b.prototype.ov.call(this);this.ZJ=[];this.aK=[];this.Go(function(a){this.ZJ.push(this.get("alphaFrom",a.ei()));this.aK.push(this.get("alphaTo",a.ei()))});this.GF()};c.prototype.Ip=function(){b.prototype.Ip.call(this);this.GF()};c.prototype.GF=function(){this.Go(function(a,b){var c=this.ZJ[b],c=c+(this.aK[b]-c)*this.cw(),j=0<a.ei()&&a.Xc;!j&&0<c?(a.ki(0),a.Re(p),a.ki(c)):0==c?
742(a.Re(z),a.ki(1)):a.ki(c)})};c.prototype.mv=function(){this.GF();b.prototype.mv.call(this)};c.prototype.nv=function(){this.GF();b.prototype.nv.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});
743define("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});
744define("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.Wd=[]});a.A("HotspotPanoramaOverlay",b).B("PanoramaOverlay").K({centerOverDisplay:"bool",
745rollOverDisplay:"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]]",
746areas:"array[or[FlatHotspotPanoramaOverlayArea, HotspotPanoramaOverlayArea]]"});b.prototype.set=function(a,b){switch(a){case "enabledInCardboard":this.set("enabledInVR",b);break;case "rollOverEffect":case "areas":this.Zfa(),this.Wd=[]}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.d9()}};
746b.prototype.d9=function(){this.get("areas",[]).forEach(function(a){a.bind(e.Rc,
747this.s_,this,p);a.bind(e.pc,this.r_,this,p)}.bind(this))};b.prototype.Zfa=function(){this.get("areas",[]).forEach(function(a){a.unbind(e.Rc,this.s_,this,p);a.unbind(e.pc,this.r_,this,p)}.bind(this))};b.prototype.s_=function(a){0>this.Wd.indexOf(a.source)&&(this.Wd.push(a.source),1==this.Wd.length&&(a=this.get("rollOverEffect"))&&a.play())};b.prototype.r_=function(a){a=this.Wd.indexOf(a.source);0<=a&&(this.Wd.splice(a,1),0==this.Wd.length&&(a=this.get("rollOverEffect"))&&a.reverse())};return b});
748define("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});
749define("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"}).nc([e.Rc,e.pc,e.Cj,e.nf]).kh([e.U]);return a});define("dx",["di","q"],function(a,b){a.A("FlatHotspotPanoramaOverlayArea",b).B("HotspotPanoramaOverlayArea");return b});
750define("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});
751define("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",
752rotationY:"number",roll:"number",hfov:"number",vfov:"number",timestamp:"number"});return b});
753define("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"});
754return b});
755define("gy",["require","hu","cF","dS","G"],function(a){var b=a("hu"),c=a("cF"),e=a("dS"),d=a("G");return{Xka:function(a){return this.KM(a,this.Zaa)},tH:function(a){return this.KM(a,this.ofa)},nla:function(a){return this.KM(a,this.vfa)},Zaa: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)},ofa:function(a){function c(d,e){return b.prototype.get.call(a,d,e)}return new e(c("yaw",0),c("pitch",
7560),c("rotationX",0),c("rotationY",0),c("roll",0),c("hfov",c("vfov")===n?45:n),c("vfov"),c("opacity",1),0)},vfa: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)},KM: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)]}}});
757define("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.Md=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",
758scale:"number",scaleMode:"enum[fill, fit_inside, fit_outside, fit_to_width, fit_to_height, none]",verticalAlign:"enum[bottom, middle, top]",width:"number",yaw:"number"}).nc([e.Ef,e.zg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=g.Xka(this);return this.Md}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.Md=n;d=p}c.prototype.set.call(this,
759a,b);d&&a!="playbackPositions"&&this.trigger(e.ha("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});
760define("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.Ya={layout:e.jo};a.defaults(d.Ya,c.Ya);d.prototype.oa=function(){this.zi(d.Ya)};return d});
761define("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]",
762scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",verticalAlign:"enum[bottom, middle, top]"});return a});
763define("fR","require,cI,jquery.mod,bI,dT,jd,eU,hE,gE,fo,hb".split(","),function(a){function b(){}function c(a){this.Ima=a;this.jj=[];this.Qe=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=
763a("fo"),l=a("hb").extend(g,function(a){g.call(this);this.url=a;this.ZS=this.Qe=0;this.status=l.wJ;this.ho=q});l.prototype.MS=function(a){this.ZS=this.ZS+a};l.prototype.ow=function(a){this.Qe=this.Qe+a};l.prototype.start=function(){this.status=l.zC;m.Z6(this.url)?
764this.ap():this.Gi=f.add(this.url,k.bC,this.lga.bind(this),this.$W.bind(this))};l.prototype.lga=function(){this.ho=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.ho.open("GET",this.url);this.ho.onreadystatechange=function(){this.ho.readyState>3&&this.ap()}.bind(this);this.ho.send()};l.prototype.$W=function(){if(this.ho){this.ho.abort();this.ho=q}};l.prototype.stop=function(){if(this.status==l.zC){this.status=l.wJ;this.$W();this.Gi&&this.Gi.cancel()}};l.prototype.ap=
765function(){this.ho=q;if(this.Gi){this.Gi.loaded();this.Gi=q}this.status=l.h8;this.trigger(new d(j.O))};l.wJ="not loaded";l.zC="loading";l.h8="loaded";c.prototype.Mja=function(a){a.forEach(function(a){if(this.jj.indexOf(a)<0){this.jj.push(a);a.ow(this.Qe);a.MS(1)}}.bind(this))};c.prototype.Pma=function(a){var b=this.jj;this.jj=[];b.forEach(function(b){if(a.indexOf(b)<0)this.jj.push(b);else{b.ow(-this.Qe);b.MS(-1)}}.bind(this))};c.prototype.Kma=function(){this.jj.forEach(function(a){a.ow(-this.Qe);
766a.MS(-1)}.bind(this));this.jj=[];this.Qe=0};c.prototype.ow=function(a){this.Qe=this.Qe+a;this.jj.forEach(function(b){b.ow(a)})};b.dc=[];b.t1=[];b.hba=0;b.e4=function(a,b){this.EF(a).Mja(b.map(function(a){return this.G(a)}.bind(this)));this.iG();this.M()};b.Sma=function(a,b){this.EF(a).Pma(b.map(function(a){return this.G(a)}.bind(this)));this.iG();this.M()};b.Lma=function(a){this.EF(a).Kma();this.iG();this.M()};b.IH=function(a,b){this.EF(a).ow(b);this.iG();this.M()};b.iG=function(){this.dc.sort(function(a,
767b){return b.Qe-a.Qe})};b.M=function(a){if(this.enabled()&&(a||!this.Bl))if(a){this.Bl&&clearTimeout(this.Bl);this.Bl=q;var a=this.Rba(),b=this.Sba();e(a).difference(b).forEach(function(a){a.stop()});e(b).difference(a).forEach(function(a){a.start()})}else this.Bl=setTimeout(function(){this.Bl=q;this.M(p)}.bind(this),1E3)};b.Bl=q;b.Rba=function(){return this.dc.filter(function(a){return a.status==l.zC})};b.Sba=function(){for(var a=this.Tba(),b=[],c=0;c<this.dc.length&&b.length<a;c++){var f=this.dc[c];
768f.ZS>0&&(f.status==l.wJ||f.status==l.zC)&&b.push(f)}return b};b.Tba=function(){return this.hba>0?0:1};b.EF=function(a){var b=e(this.t1).find(function(b){return b.Ima==a});if(!b){b=new c(a);this.t1.push(b)}return b};b.G=function(a){var b=e(this.dc).find(function(b){return b.url==a});if(!b){b=new l(a);b.bind(j.O,this.M,this);this.dc.push(b)}return b};b.enabled=function(a){if(a===n)return b.waa||b.xaa?z:b.aM!==n?b.aM:b.Z;b.Z=a};b.Z=p;b.DT=function(a){b.aM=a.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
769b.aM=n;b.xaa=h.Pl("disable-background-preload",z);b.waa=z;return b});define("cN",["hb","hu","di","fR"],function(a,b,c,e){var d=a.extend(b,function(){b.call(this);this.SQ=a.Xn(this.SQ,this)});c.A("Media",d).B("Object").K({label:"string",thumbnailUrl:"string"}).pj(["thumbnailUrl"]);d.prototype.SQ=function(){e.e4(this,this.Qn())};d.prototype.Qn=function(){return[]};d.prototype.Rma=function(){e.Lma(this)};d.prototype.set=function(a,c){b.prototype.set.call(this,a,c);this.SQ()};return d});
770define("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.sE=this.pv=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]",
771partial:"bool",pitch:"number",vfov:"number",vrMenu:"Menu"});a.prototype.get=function(a,b){switch(a){case "overlays":return this.FM();case "frames":return this.Fba()}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.FM=function(){var a=e.prototype.get.call(this,"overlays");a||(a=[]);return this.ZP(a)};
771a.prototype.ZP=function(a){if(this.pv===n||this.sE!=a){var b=function(a){return c.ub("PopupPanoramaOverlay",
772a)},e=function(a){return c.ub("LensFlarePanoramaOverlay",a)};this.sE=a;this.pv=[].concat(a.filter(function(a){return!(b(a)||e(a))}),a.filter(e),a.filter(b))}return this.pv};a.prototype.u5=function(){return 0<this.get("overlays").filter(function(a){return c.ub("TripodCapPanoramaOverlay",a)}).length};a.prototype.j5=function(){return 0<this.get("overlays").filter(function(a){return c.ub("CeilingCapPanoramaOverlay",a)}).length};a.prototype.F5=function(){if(!this.E5())return z;var a=this.get("pitch",0),
773b=this.get("vfov",180);if(179.9<=b)return p;var c=this.j5()?90:a+0.5*b,a=this.u5()?-90:a-0.5*b;return 179.9<=c-a?p:z};a.prototype.E5=function(){return 359.9<=this.get("hfov")&&!this.get("partial")};a.prototype.K4=Q(0);a.prototype.Fba=function(){var a=e.prototype.get.call(this,"frames",[]);a.forEach(function(a){a.Rja(this)}.bind(this));return a};return a});
774define("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.K4=function(){var a=this.get("frames")||[];return Math.floor((a.length-1)/2)};return a});
775define("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"}).nc([e.Rc,e.pc]).kh([e.U]);return a});
776define("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]]"}).pj(["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.nm)&&
777c.prototype.get.call(this,"grayscale")&&(j=j.concat([e.nm]));return j}return c.prototype.get.call(this,a,b)};e.prototype.t5=function(a){return 0<=this.get("tags").indexOf(a)};e.nm="preload";e.nV="mobile";e.mV="ipadpro";e.oV="mobilevr";e.zJ="ondemand";return e});
778define("dO",["require","hy","r","hE"],function(a){var b=a("hy"),c=a("r"),e=a("hE");return{Dk:function(a){return this.aw(a,"load")},Zs:function(a){return this.aw(a,"preload")},gw:function(a){return this.Dk(a)!=this.Zs(a)},aw:function(a,b){var c=a.get("levels")||[],e=this.pba(c),e=this.ica(b,e),c=this.Waa(c,b),h=this.UY(c,e[0],e[1],this.gca(b));h||(h=this.UY(c,e[0],e[1],n));return h},Waa:function(a,g){"preload"==g?a=this.ED(a,b.nm):"load"==g&&(a=this.Vaa(a,b.nm));c.aq()&&(a=this.ED(a,b.mV));c.kf()&&
779(a=this.ED(a,b.oV));c.Xa()&&(a=this.ED(a,b.nV));return a},pba: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")},ica:function(a,b){if("preload"==a)return[0,0];var e=1E4;this.aba()||(c.kf()?e=2048:c.aq()?e=1280:c.Xa()&&(e=1024));return 1>b?[e*b,e]:[e,e/b]},gca:function(a){if("load"==a)return z},aba:function(){return c.aq()&&e.Pl("recent_ipad_use_max_res",z)},ED:function(a,b){var c=a.filter(function(a){return a.t5(b)});
7800==c.length&&(c=a);return c},Vaa:function(a,b){var c=a.filter(function(a){return!a.t5(b)});0==c.length&&(c=a);return c},UY: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]}}});
781define("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.km);this.set("horizontalAlign",g.tc);this.set("verticalAlign",g.bc)});e.A("HotspotMapOverlayImageBase",a).B("Object").K({height:"number",horizontalAlign:"enum[center, left, right]",image:"ImageResource",
782offsetX:"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.Dk=function(){return this.get("image")?d.Dk(this.get("image")):q};a.prototype.Zs=function(){return this.get("image")?d.Zs(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.jh=e})});
783define("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.AA=[];this.nd=n;this.k="initial"});a.prototype.Ek=P("AA");a.prototype.T6=function(a){this.AA!=a&&(this.AA=a,this.ap=this.nd=n)};a.prototype.Rna=function(a){this.nd!==a&&(this.k="loading",this.nd=a,this.trigger(new d(e.cc,this.nd)))};a.prototype.tT=function(){"loaded"!==this.k&&(this.k="loaded",this.trigger(e.O))};a.prototype.una=function(){"loaded"!==this.k&&
784(this.k="error",this.trigger(e.kd))};return a});define("ch",["hb","bB"],function(a,b){var c=a.extend(b,function(a){b.call(this);this.hf=a});
784c.prototype.Xf=P("hf");c.vV="map";c.wV="overlay";return c});define("gj",["hb","ch"],function(a,b){var c=a.extend(b,function(a,c,g){b.call(this,b.wV);this.dfa=a;this.$=c;this.aa=g});c.prototype.fh=P("$");c.prototype.gh=P("aa");c.uV="image";c.tV="fov";return c});
785define("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.uV,c,g);this.Bb=a;this.L1=j;this.Wr=k;this.Xr=h;this.R=m;this.ba=f;this.Ec=l;this.Kg=r;this.Zg=o;this.AA=[a]});c.prototype.Pe=P("Bb");c.prototype.Gc=P("R");c.prototype.sd=P("ba");return c});
786define("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.$o=n});c.A("HotspotMapOverlayImage",a).B("HotspotMapOverlayImageBase");a.prototype.getItem=function(){return this.Pc()};a.prototype.Pc=function(a){if(this.$o===n)this.$o=this.bH(a);return this.$o};a.prototype.bH=function(a){var b=this.get("image");if(b){b=LevelUtil.Dk(b);return new ImageOverlay(b.get("url"),this.get("x"),this.get("y"),
787a,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});
788define("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.Md=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]",
789opacity:"number",scale:"number",image:"ImageResource",playbackPositions:"array[PanoramaOverlayPlaybackPosition]"}).nc([e.Ef,e.zg]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=g.tH(this);return this.Md}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.Md=n;d=p}c.prototype.set.call(this,
790a,b);d&&a!="playbackPositions"&&this.trigger(e.ha("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});
791define("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"),
792j=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]&&
793u.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,SR: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;
793){t=p;if(!u.last()||!m[u.last()]){if(0==a.indexOf("<\!--"))s=a.indexOf("--\>"),
7940<=s&&(l.fka&&l.fka(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.TA&&l.TA(t))}else a=a.replace(RegExp("(.*?)</"+u.last()+"[^>]*>"),function(a,b){b=b.replace(/<\!--(.*?)--\>/g,"$1").replace(/<!\[CDATA\[(.*?)]]\>/g,"$1");l.TA&&l.TA(b);return""}),o(0,
795u.last());a==v&&i("Parse Error: "+a);v=a}o()}});
796define("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.zc=b(a);this.Ez=[];this.Eo=q});h.prototype.Qla=function(a){a&&a.toLowerCase().indexOf("<script")>=0?j.Lv()==j.Jw?this.Zca(a):this.Yca(a):this.Xca(a)};h.prototype.Xca=function(a){this.zc.empty();a&&this.zc.append(a);this.xG()};h.prototype.Zca=function(a){this.zc.empty();var c=this.zc,d=q,g=
797[],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}}},TA: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.Ez=g;this.wE()};h.prototype.Yca=function(a){function f(){g++;return d+
798g}this.zc.empty();var d="fragment_"+c.k6(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.SR=d.SR+(" "+g);e=p}x=x+(" "+d.name+'="'+d.SR+'"')}e||(x=x+(' class="'+g+'"'));if(c){x=x+"/>";j=g}else{x=x+">";h.push(g);j=n}}},TA:function(a){v?
799v.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.zc.get(0).innerHTML=x;this.zc.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.zc.removeClass(e);this.Ez=u;this.wE()};h.prototype.wE=function(){if(!this.Eo)if(this.Ez.length>0){this.Eo=this.Ez[0];this.Ez.splice(0,1);var a=this.Eo.src;if(a){var c=
800this;h.Bda(a,function(){c.SZ()},function(){c.Gda()})}else{var d=this.Eo.parent,a=this.Eo.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.Eo.content);document.write=a;this.SZ()}}else this.xG()};h.prototype.Gda=function(){this.Eo=q;this.wE()};h.prototype.SZ=function(){this.Eo=q;this.wE()};h.prototype.xG=function(){this.trigger(new d(e.ua))};h.QZ={};h.Bda=function(a,c,d){h.QZ[a]?c.call(window):
801b.ajax({url:a,async:z,dataType:"script",error:d,success:function(){h.QZ[a]=p;c.call(window)}})};return h});
802define("hR",["hb","jd","bI","dT"],function(a,b,c,e){a=a.extend(e,function(a,b){e.call(this);this.gda=a;this.Z=b;this.Yi=q});a.prototype.bind=function(){var a=e.prototype.bind.apply(this,arguments);this.vA();return a};a.prototype.unbind=function(){var a=e.prototype.unbind.apply(this,arguments);this.vA();return a};a.prototype.start=function(){this.Z=p;this.vA()};a.prototype.stop=function(){this.Z=z;this.vA()};a.prototype.nO=function(){this.trigger(new c(b.oc))};a.prototype.vA=function(){if(this.Z&&
803this.i5(b.oc)){if(this.Yi==q){var a=this;this.Yi=setTimeout(function(){a.Yi=q;a.nO();a.vA()},this.gda)}}else this.Yi!=q&&(clearTimeout(this.Yi),this.Yi=q)};return a});
804define("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.Nc("HTML");this.jr=f.FC;this.e1=this.f1=0;this.w2=(new Date).getTime();this.xD=this.If=q;this.Nt=this.Nt.bind(this);this.eK=[]});f.prototype.oa=function(){k.prototype.oa.call(this);this.f("content");this.f("horizontalAlign",j.ra);this.f("verticalAlign",j.bc);this.f("fontFamily");
805this.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.Gp=function(a){this.va&&g.get(this.va).Mma(this.Nt);k.prototype.Gp.call(this,a);if(this.va){g.get(this.va).Kja(this.Nt);g.get(this.va).Ov(this.Nt)}};f.prototype.Ia=function(){k.prototype.Ia.call(this);
806if(!this.xD){this.If=document.createElement("div");this.xD=b(this.If);this.ML({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var a=this.La();a.zw(z);a.append(this.xD);this.oZ=new h(this.xD);this.oZ.bind(d.ua,this.Nca,this,p);this.bind(d.rb,this.pZ,this)}};f.prototype.ea=function(){var a={},b=z;this.m("visible")&&(b=p);if(this.m("content")){this.oZ.Qla(this.j("content"));this.o("content");b=p}if(this.m("fontFamily")){b=this.j("fontFamily");c(b).isString()||(b="");a.fontFamily=
807m.Wp(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=
808b;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");
808switch(b){case "left":case "right":case "center":case "justify":break;default:b=
809""}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"+
810d.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",
811"paddingLeft"]).any(function(a){return this.m(a)},this)&&(b=p);this.ML(a);b&&this.h_();k.prototype.ea.call(this)};f.prototype.h_=function(){this.pZ();this.Ha();this.j("visible")&&this.j("content")?this.Hz(f.EV):this.Hz(f.FC)};f.prototype.Qp=function(a){for(var b=a.target;b&&b.tagName!="A"&&b.tagName!="BUTTON";)b=b.parentElement;k.prototype.Qp.call(this,a,!b)};f.prototype.dn=function(){k.prototype.dn.call(this);var a=this.La();this.Qg=this.If.clientWidth+a.$v()+a.dw();this.Pg=this.If.clientHeight+
812a.ew()+a.Uv()};f.prototype.h2=function(a){if(this.HM()!=a){this.If.style.paddingLeft=a+"px";this.Ha()}};f.prototype.HM=function(){return parseInt(this.If.style.paddingLeft)||0};f.prototype.j2=function(a){if(this.JM()!=a){this.If.style.paddingTop=a+"px";this.Ha()}};f.prototype.JM=function(){return parseInt(this.If.style.paddingTop)||0};f.prototype.i2=function(a){if(this.IM!=a){this.If.style.paddingRight=a+"px";this.Ha()}};f.prototype.IM=function(){return parseInt(this.If.style.paddingRight)||0};f.prototype.g2=
813function(a){if(this.GM()!=a){this.If.style.paddingBottom=a+"px";this.Ha()}};f.prototype.GM=function(){return parseInt(this.If.style.paddingBottom)||0};f.prototype.Nca=function(){this.eK=Array.prototype.slice.call(this.If.querySelectorAll("*[style]")).map(function(a){var b={};b.vka=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+
8141)));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.va&&g.get(this.va).Ov(this.Nt)};f.prototype.Nt=function(a,
815b,c,f){if(this.eK.length!=0){this.eK.forEach(function(d){var g=d.functions.map(function(d){return d(a,b,c,f)}).join("");d.vka.setAttribute("style",g)});this.h_()}};f.prototype.pZ=function(){var a={width:"auto",height:"auto"},b=this.La();if(!this.QM()){this.Qg!=this.R&&this.Ha();var c=this.R-(b.$v()+b.dw());c>0&&(a.width=c+"px")}if(!this.hZ()){this.Pg!=this.ba&&this.Ha();b=this.ba-(b.ew()+b.Uv());b>0&&(a.height=b+"px")}this.ML(a)};f.prototype.y_=function(){var a=this.If.clientWidth,b=this.If.clientHeight;
816if(this.f1!=a||this.e1!=b){this.f1=a;this.e1=b;this.Ha();this.Hz(f.EV)}else{a=(new Date).getTime()-this.w2;a>f.J8?this.Hz(f.y8):a>f.I8&&this.Hz(f.x8)}};f.prototype.cga=function(){this.w2=(new Date).getTime()};f.prototype.Hz=function(a){this.jr==f.apa&&this.cga();if(this.jr!=a){this.jr!=f.FC&&f.gX[this.jr].unbind(d.oc,this.y_,this);this.jr=a;this.jr!=f.FC&&f.gX[this.jr].bind(d.oc,this.y_,this,p)}};f.prototype.ML=function(a){var b=this.If.style,c;for(c in a)b[c]=a[c]};var l=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
817f.FC="stopped";f.y8="slow";f.x8="normal";f.EV="fast";f.J8=3E4;f.I8=5E3;f.gX={slow:new a(2E3,p),normal:new a(500,p),fast:new a(100,p)};return f});
818define("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",
819textShadowOpacity:"number",textShadowVerticalLength:"number"}).co(["fontSize"]);return a});define("b",["cI","hb","iO","c"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this)});d.Ya={layout:e.UT};a.defaults(d.Ya,c.Ya);d.prototype.oa=function(){this.zi(d.Ya)};return d});
820define("fw",["hb","eO","b","gZ"],function(a,b,c,e){a=a.extend(c,function(){c.call(this);this.Qo=q;this.set("contentOpaque",p)});a.prototype.oa=function(){c.prototype.oa.call(this);this.f("overflow",b.Uk);this.f("html")};a.prototype.Ia=function(){c.prototype.Ia.call(this);this.Qo==q&&(this.Qo=new e,this.Qo.Q({left:0}),this.qa(this.Qo))};a.prototype.ea=function(){this.Qo.set("width",this.QM()?n:"100%");this.m("html")&&(this.Qo.set("content",this.j("html")),this.o("html"));this.Ua(["paddingLeft","paddingTop",
821"paddingRight","paddingBottom"],{},[this.Qo],p,p);this.Ua(["cursor"],{},[this.Qo],p,z);c.prototype.ea.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});
822define("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.Hr(f):this.by(f);this.FZ(d)?a.call(this,f):c=="release"?a.call(this,f):this.iba(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.hh("debug"),a=e.extend(r,function(){r.call(this,3);this.set("autoRolledOver",p);this.set("autoPressed",p);this.set("cursor",h.Ud);this.set("scaleMode",
823m.ge);this.RK=document.createElement("canvas");this.RK.width=1;this.RK.height=1;this.SK=this.RK.getContext("2d");this.SK.globalCompositeOperation="copy";this.jM=z;this.bind(d.pc,this.Rca,this)});a.prototype.oa=function(){r.prototype.oa.call(this);this.f("buttonGroup");this.f("mode",l.vc);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.ta,"opacity");this.h("pressedIconURL",f.ta,
824"iconURL");this.h("pressedRollOverOpacity",f.Sa,"opacity");this.h("pressedRollOverIconURL",f.Sa,"iconURL")};a.prototype.pM=b(r.prototype.pM,"touch","capture");a.prototype.qY=b(r.prototype.nba,"touch");a.prototype.sY=b(r.prototype.nba,"touch","release");a.prototype.xQ=b(r.prototype.xQ,"touch","capture");a.prototype.wQ=b(r.prototype.wQ,"touch");a.prototype.Qp=b(r.prototype.Qp,"touch","release");a.prototype.UN=b(r.prototype.UN,"mouse","capture");a.prototype.VN=function(a){var b=this.Hr(a);if(this.FZ(b)||
825this.jM){r.prototype.VN.call(this,a);this.set("cursor",h.Ud)}else{this.jM=p;if(b=this.NY(b)){c(b).trigger(this.sX(a));a.preventDefault();a.stopImmediatePropagation()}this.JY(b)=="pointer"?this.set("cursor",h.Ud):this.set("cursor",h.oc);this.jM=z}};a.prototype.Rca=function(){this.set("cursor",h.Ud)};a.prototype.KE=b(r.prototype.KE,"mouse","release");
825a.prototype.FZ=function(a){if(!this.gb)return z;var b=this.gb.offset(),c=a.d6-b.left,f=this.gb.width(),a=a.e6-b.top,b=this.gb.height();if(c>=0&&a>=0&&
826c<f&&a<b){if(this.get("transparencyActive")||o)return p;c=c*this.Mu/f;f=a*this.Lu/b;this.SK.drawImage(this.gb.get(0),c,f,1,1,0,0,1,1);if(this.SK.getImageData(0,0,1,1).data[3]>0)return p}return z};a.prototype.iba=function(a,b){var f=this.NY(a);if(f){c(f).trigger(this.sX(b));b.preventDefault();b.stopImmediatePropagation()}};a.prototype.NY=function(a){var b=this.Pm(),c=b.style.pointerEvents;b.style.pointerEvents="none";a=document.elementFromPoint(a.d6,a.e6);setTimeout(function(){b.style.pointerEvents=
827c},0);return a};a.prototype.sX=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.JY=function(a){if(a){var b=a.style.cursor;b=="inherit"&&(b=this.JY(a.parentElement))}else b="default";return b};a.prototype.tx=function(){if(this.get("pressed")){this.set("pressed",z);this.trigger(new g(d.rh))}else{this.set("pressed",
828p);this.trigger(new g(d.cg))}};a.prototype.ea=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.vc){this.unbind(d.U,this.tx,this,p);this.set("autoPressed",p)}else{this.bind(d.U,this.tx,this,p);this.set("autoPressed",z)}this.o("mode");b=p}if(b||this.m("pressed"))this.j("mode")==l.sh?this.kv(this.j("pressed")==p):b&&this.kv(z);if(this.m("buttonGroup")){(b=
829this.j("buttonGroup"))?k.register(this,b):k.ZB(this);this.o("buttonGroup")}r.prototype.ea.call(this);if(a){a=this.lb();if(a.ei()==0||a.lr.length==0){a.ki(0.001);a.x6(["#000000"])}}};return a});
830define("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"}).pj(["iconURL","rollOverIconURL",
831"pressedIconURL"]).nc([e.cg,e.rh]).kh([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});
832define("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]"}).pj(["url"]);return a});
833define("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",
834textShadowColor:"color",textShadowHorizontalLength:"number",textShadowOpacity:"number",textShadowVerticalLength:"number"}).co(["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});
835define("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});
836define("bW",["hb","ch"],function(a,b){var c=a.extend(b,function(a,c,g,j,k,h){b.call(this,b.vV);this.Bb=a;this.R=c;this.ba=g;this.Ec=j;this.iM=k;this.kk=h.slice()});c.prototype.Ek=function(){for(var a=[this.Bb],b=0;b<this.kk.length;
836b++)a=a.concat(this.kk[b].Ek());return a};c.prototype.Pe=P("Bb");c.prototype.Gc=P("R");c.prototype.sd=P("ba");return c});
837define("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.$o=this.WO=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",
838maximumZoomFactor:"number",minimumZoomFactor:"number",overlays:"array[MapOverlay]",scaleMode:"enum[none, fit_inside, fit_outside, fit_to_width, fit_to_height]",width:"number"});a.prototype.gw=function(){return!(!this.get("image")||!j.gw(this.get("image")))};a.prototype.Zs=function(){return this.get("image")&&j.Zs(this.get("image"))};a.prototype.Dk=function(){return this.get("image")&&j.Dk(this.get("image"))};a.prototype.W4=function(){if(this.WO==n)this.WO=this.gw()?new k(this.Zs().get("url"),this.get("width"),
839this.get("height"),this.get("scaleMode",d.wq),this.get("flipImageHorizontally",z),[]):q;return this.WO};a.prototype.Pc=function(){if(this.$o==n)if(this.get("image")){var a=Array.prototype.concat.apply([],b(this.get("overlays",[])).map(function(a){return a.fla()}));this.$o=new k(this.Dk().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",d.wq),this.get("flipImageHorizontally",z),a)}else this.$o=q;return this.$o};a.prototype.Qn=function(){return[].concat(this.OD(this.W4()),this.OD(this.Pc()))};
840a.prototype.OD=function(a){return a?a.Ek():[]};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});
841define("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.wX=a;this.Bfa=b;this.LW=e||g.vc;this.fg=[];this.yo={};this.yo.mode=this.LW;this.LW==g.sh&&(this.yo.pressed=z);this.wX.bind(c.ha(b),this.p1,this);this.p1()});a.prototype.p1=function(){var a=this.wX.get(this.Bfa);a||(a=[]);b.isArray(a)||(a=[a]);this.Jga(a)};a.prototype.Jga=function(a){var d=b.difference(this.fg,a);b(d).each(function(a){a.unbind(c.cg,this.RW,this,p);a.unbind(c.rh,this.SW,this,
842p);a.unbind(c.U,this.KW,this,p);a.unbind(c.qb,this.MW,this,p);a.unbind(c.Ib,this.NW,this,p)},this);d=b.difference(a,this.fg);b(d).each(function(a){a.Q(this.yo);a.bind(c.cg,this.RW,this,p);a.bind(c.rh,this.SW,this,p);a.bind(c.U,this.KW,this,p);a.bind(c.qb,this.MW,this,p);a.bind(c.Ib,this.NW,this,p)},this);this.fg=a};a.prototype.RW=function(){this.trigger(new e(c.cg))};a.prototype.SW=function(){this.trigger(new e(c.rh))};a.prototype.KW=function(){this.trigger(new e(c.U))};a.prototype.MW=function(){this.trigger(new e(c.qb))};
843a.prototype.NW=function(){this.trigger(new e(c.Ib))};a.prototype.set=function(a,c){this.yo[a]=c;b(this.fg).each(function(a){a.Q(this.yo)},this)};return a});
844define("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.Nc("PlaybackBar");this.Wg=this.nd=q;this.Ie=[];this.wF=z;this.PO=this.gs=n;this.hQ=z});m.Ya={cursor:j.Ud,overflow:"visible",height:20,position:0,duration:100,steps:n,selectedStep:n,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,
845barBorderColor: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",
846stepBackgroundColorDirection: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,
847selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:p,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:n,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};b.defaults(m.Ya,k.Ya);m.prototype.oa=function(){this.zi(m.Ya)};m.prototype.Ia=function(){k.prototype.Ia.call(this);(!this.nd||!this.Wg)&&this.bind(e.rb,this.pfa,this,p);if(this.nd==q){this.nd=new h;this.nd.Q({left:"0",height:"100%",
848cursor:j.Ud});this.qa(this.nd)}if(this.Wg==q){this.Wg=new h;this.Wg.Q({left:"0",cursor:j.Ud});this.Wg.bind(e.rb,this.sfa,this,p);this.Wg.bind(e.qb,this.qfa,this,p);this.fb().bind(e.uc,this.W0,this,p);this.bind(e.U,this.nfa,this,p);this.Wg.bind(e.Ib,this.rfa,this,p);this.qa(this.Wg)}var a=this.get("steps")||0;if(this.Ie.length!=a){for(;this.Ie.length>a;)this.vaa(this.Ie.pop());for(;this.Ie.length<a;)this.Ie.push(this.naa());this.Ua(m.bW,m.OJ,this.Ie,z,p);this.F3();this.VQ();this.ii(this.Wg,this.Oa().length-
8491)}};m.prototype.naa=function(){var a=new f;a.Q({cursor:j.Ud});a.bind(e.U,this.D2,this,p);a.bind(e.rb,this.E2,this,p);this.qa(a);return a};m.prototype.vaa=function(a){a.unbind(e.U,this.D2,this,p);a.unbind(e.rb,this.E2,this,p);this.removeChild(a)};m.prototype.ea=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.F3()}if(this.m("steps")){this.o("steps");this.pB()}this.Ua(m.HJ,m.Zw,[this.nd],p,
850p);this.Ua(m.F8,m.YV,[this.Wg],p,p);this.Ua(m.bW,m.OJ,this.Ie,p,p);k.prototype.ea.call(this);a&&this.DG()};m.prototype.F3=function(){var a=this.get("selectedStep");this.Ie.forEach(function(b,c){b.SB(c===a)});this.Wg.set("visible",a===n)};m.prototype.DG=function(){var a=this.za(),b=this.Wg.za(),c=this.Wg.ab(),f=this.Jo(),d=this.dca(),g=d*a/f,a=Math.round((this.wF?this.gs:d)*a/f-b*0.5),a=Math.max(0,Math.min(a,this.rd()-b)),b=Math.round(this.qd()*0.5-c*0.5);this.Wg.Q({left:a,top:b});this.nd.set("width",
851Math.round(g))};m.prototype.sfa=function(){this.DG()};m.prototype.qfa=function(a){this.wF=p;this.PO=a.pageX;this.gs=this.j("position")};m.prototype.W0=function(a){if(this.wF){var b=a.pageX-this.PO;this.PO=a.pageX;var a=this.za(),c=this.Jo();this.gs=Math.max(0,Math.min(c,this.gs+c*b/a));this.DG();if(this.get("liveDragging")){this.set("position",this.gs);this.trigger(new d(e.W))}}};m.prototype.rfa=function(a){this.W0(a);this.wF=z;if(!this.get("liveDragging")){this.set("position",this.gs);this.trigger(new d(e.W))}this.gs=
852n};m.prototype.nfa=function(a){if(!this.hQ){var b=this.za();this.set("position",this.Jo()*a.x/b);this.trigger(new d(e.W))}};m.prototype.E2=function(){this.VQ()};m.prototype.pfa=function(){this.VQ();this.DG()};m.prototype.VQ=function(){for(var a=this.za(),b=this.ab(),c=this.$,f=this.getParent().za()-(c+a),d=0,g=this.Ie.length;d<g;d++){var e=this.Ie[d],h=e.za();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.ab()*0.5)})}};m.prototype.D2=function(a){a=this.Ie.indexOf(a.source);
853this.set("position",this.Jo()*a/(this.Ie.length-1));this.hQ=p;this.trigger(new d(e.W));setTimeout(function(){this.hQ=z}.bind(this),0)};m.prototype.Jo=function(){var a=this.j("duration");return!a?1:a};m.prototype.dca=function(){return Math.max(0,Math.min(this.Jo(),this.j("position")))};m.Zw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
854barOpacity:"opacity"};m.HJ=b(m.Zw).keys();
854m.YV={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",
855playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};m.F8=b(m.YV).keys();m.OJ={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",stepBorderColor:"borderColor",stepBorderRadius:"borderRadius",stepBorderSize:"borderSize",stepOpacity:"opacity",stepWidth:"width",stepHeight:"height",stepShadow:"shadow",stepShadowBlurRadius:"shadowBlurRadius",
856stepShadowColor:"shadowColor",stepShadowHorizontalLength:"shadowHorizontalLength",stepShadowOpacity:"shadowOpacity",stepShadowSpread:"shadowSpread",stepShadowVerticalLength:"shadowVerticalLength",selectedStepBackgroundColor:"selectedBackgroundColor",selectedStepBackgroundColorDirection:"selectedBackgroundColorDirection",selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",
857selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};m.bW=b(m.OJ).keys();var f=
858c.extend(h,function(){h.call(this)});f.prototype.SB=function(a){this.Lz(a)};f.prototype.oa=function(){h.prototype.oa.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");
859this.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",
860g.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.ea=function(){h.prototype.ea.call(this)};return m});
861define("v",["cI","hb","b","d"],function(a,b,c,e){var d=b.extend(c,function(){c.call(this);this.Nc("ProgressBar")});d.Ya={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:n,barBackgroundColorRatios:n,barBorderColor:n,barBorderRadius:n,barBorderSize:n,barOpacity:n};a.defaults(d.Ya,c.Ya);d.prototype.oa=function(){this.zi(d.Ya)};d.prototype.Ia=function(){c.prototype.Ia.call(this);this.nd==q&&(this.nd=new e,this.nd.Q({left:"0",width:"0%",height:"100%"}),this.qa(this.nd))};
862d.prototype.ea=function(){this.m("percent")&&(this.nd.set("width",Math.round(this.j("percent"))+"%"),this.o("percent"));this.Ua(d.HJ,d.Zw,[this.nd],p,p);c.prototype.ea.call(this)};
862d.Zw={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};d.HJ=a(d.Zw).keys();return d});
863define("gH",["require","cI","hb","t"],function(a){var b=a("cI"),c=a("hb"),e=a("t");return{Rt:[],Me:function(a,b,c,e){this.jW(a,b,c,e,z)},Zpa:function(a,b,c,e){this.jW(a,b,c,e,p)},jW: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.GH("BindingsHandler._addBinding",e)}j.apply(this,b)}b.isArray(g)||(g=[g]);var m=h?c.Xn(m,this.Ga):m.bind(this.Ga),f=[];b.forEach(g,function(b){f.push(e.watch(a,b,m))},this);this.Rt.push({Toa:f,host:a,h6:g,h5:j});
864k&&m()},lf:function(a,c,e){var k=b(this.Rt).select(function(h){return h.h5==e&&h.host==a&&b.isEqual(h.h6,c)});b(k).forEach(function(a){b(a.Toa).forEach(function(a){a.unwatch()})});this.Rt=b.difference(this.Rt,k)},Wqa:function(){for(;0<this.Rt.length;){var a=b.first(this.Rt);this.lf(a.host,a.h6,a.h5)}}}});
865define("iu",["require"],function(){var a=Math.PI/180,b=180/Math.PI;return{create:function(){return{x:0,y:0,z:0,w:0}},z4: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},NT:function(a){var e=a.x*a.y+a.z*a.w,d={};if(0.499<e)d.Ja=-2*Math.atan2(a.x,a.w),d.ad=-Math.PI/2,d.pitch=0;else if(-0.499>e)d.Ja=2*Math.atan2(a.x,a.w),d.ad=Math.PI/2,d.pitch=
8660;else{var g=a.x*a.x,j=a.z*a.z;d.Ja=-Math.atan2(2*a.y*a.w-2*a.x*a.z,1-2*a.y*a.y-2*j);d.ad=-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.Ja*=b;d.pitch*=b;d.ad*=-b;return d},Ja: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}}});
867define("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},
868length: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.Z5(1/a):this.z=this.y=this.x=0;return this},Z5: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},ska:function(a){return this.x*a.x+this.y*a.y+this.z*
869a.z},pka: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},y6: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/
8702),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.Y5(this,a)},Y5: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*=
871-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},voa: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),
872m=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},z6:function(){var b,c;return function(e,d){b===n&&(b=new a.Vector3);c=e.ska(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.pka(e,d);this.x=b.x;this.y=b.y;this.z=b.z;this.w=c;this.normalize();
873return this}}()};return a});
874define("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())}
874function c(){if(v&&!(l===n||r===n)){v=z;var a=h.degToRad*r;u.y6(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.Sb))));
875f.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.Wl=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});
876define("fA","require,jd,bI,dT,r,iF".split(","),function(a){function b(a){this.jma=a;this.MR=new d;this.cH=new d;this.US=new d;this.Vs=new m.Quaternion;this.TS=new m.Quaternion;this.b4=new m.Quaternion;this.M5=z;this.eH=new m.Vector3;this.HS=new m.Vector3;this.yla=new m.Quaternion}function c(){this.W5=z;this.V5=0;this.PA=new m.Vector3;this.vH=new m.Vector3;this.filter=new b(l);this.Bma=new e(r);this.kw=o.kw();this.ij=o.ij();o.ZR();this.AS=o.Ula();this.gH=new m.Quaternion;o.ij()?this.gH.setFromAxisAngle(new m.Vector3(1,
8770,0),Math.PI/2):this.gH.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);this.vS=new m.Quaternion;this.Cw=new m.Quaternion;this.sma=new m.Quaternion;this.sma.setFromAxisAngle(new m.Vector3(0,0,1),-window.orientation*Math.PI/180);this.R6();o.Yla()&&this.gH.multiply(this.vS);this.p6=new m.Quaternion;this.kw=o.kw();this.ij=o.ij();this.Tla=o.ZR()>=66;this.ft=this.ft.bind(this);this.xB=this.xB.bind(this);this.wB=this.wB.bind(this);screen&&screen.orientation&&screen.orientation.addEventListener?screen.orientation.addEventListener("change",
878this.ft):window.addEventListener("orientationchange",this.ft);this.AS?window.addEventListener("deviceorientation",this.xB):window.addEventListener("devicemotion",this.wB)}function e(a){this.Cma=a;this.NH=new m.Quaternion;this.rw=q;this.r4=new m.Quaternion;this.yB=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.Jja=function(a,b){this.MR.set(a,b)};b.prototype.Lja=function(a,b){this.cH.set(a,b);o.fma(b-this.US.bI)&&
879this.Zma();this.US.copy(this.cH)};b.prototype.Zma=function(){if(this.M5){var a=this.zla(this.cH.sample,this.cH.bI-this.US.bI);this.yla.multiply(a);this.Vs.copy(this.TS);this.Vs.multiply(a);a=new m.Quaternion;a.copy(this.Vs);a.inverse();this.eH.set(0,0,-1);this.eH.applyQuaternion(a);this.eH.normalize();this.HS.copy(this.MR.sample);this.HS.normalize();a=new m.Quaternion;a.z6(this.eH,this.HS);a.inverse();var b=new m.Quaternion;b.copy(this.Vs);b.multiply(a);this.Vs.voa(b,1-this.jma);this.TS.copy(this.Vs)}else{this.b4=
880this.Hja(this.MR.sample);this.TS.copy(this.b4);this.M5=p}};b.prototype.Wl=P("Vs");b.prototype.Hja=function(a){var b=new m.Vector3;b.copy(a);b.normalize();a=new m.Quaternion;a.z6(new m.Vector3(0,0,-1),b);a.inverse();return a};b.prototype.zla=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",
881this.ft);window.removeEventListener("orientationchange",this.ft);window.removeEventListener("deviceorientation",this.xB);window.removeEventListener("devicemotion",this.wB)};c.prototype.cw=Q(q);c.prototype.Wl=function(){var a=n;if(this.AS&&this.vD){this.t4=this.t4||function(){var a=(new m.Quaternion).setFromAxisAngle(new m.Vector3(0,0,-1),0),b=new m.Quaternion;this.VF=="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)}();
882this.s4=this.s4||function(){var a=new m.Quaternion;a.setFromAxisAngle(new m.Vector3(1,0,0),-Math.PI/2);return a}();var a=this.vD,b=new m.Quaternion;b.copy(a);b.multiply(this.s4);b.multiply(this.p6);b.multiply(this.Cw);b.Y5(this.t4,b);if(this.pra){b.x=0;b.z=0;b.normalize()}this.KH[0]=b.x;this.KH[1]=b.y;this.KH[2]=b.z;this.KH[3]=b.w;return this.KH}a=this.Bma.ola(this.filter.Wl(),this.vH,this.rw);b=new m.Quaternion;b.copy(this.gH);b.multiply(this.p6);b.multiply(a);b.multiply(this.Cw);return b};c.prototype.xB=
883function(a){this.vD=this.vD||new m.Quaternion;var b=a.alpha,c=a.eqa,a=a.sqa,b=(b||0)*Math.PI/180,c=(c||0)*Math.PI/180,a=(a||0)*Math.PI/180;this.vD.y6(c,b,-a)};c.prototype.wB=function(a){var b=a.rotationRate;if(b){var c=a.accelerationIncludingGravity,a=a.timeStamp/1E3;this.kw&&(a=a/1E3);var d=a-this.rw;if(d<=o.yU||d>o.xU)this.rw=a;else{this.PA.set(-c.x,-c.y,-c.z);this.vH.set(b.alpha,b.beta,b.gamma);(this.ij||this.kw||this.Tla)&&this.vH.Z5(Math.PI/180);this.filter.Jja(this.PA,a);this.filter.Lja(this.vH,
884a);this.rw=a;if(!this.W5){this.V5++;if(this.V5>=5){this.W5=p;f.trigger(new j(g.Sb))}}this.VF!=this.C4()&&this.ft();f.trigger(new j(g.W))}}else{this.AS=p;window.addEventListener("deviceorientation",this.xB);window.removeEventListener("devicemotion",this.wB)}};c.prototype.bind=function(){f.bind.apply(f,arguments)};c.prototype.unbind=function(){f.unbind.apply(f,arguments)};c.prototype.ft=function(){this.R6();f.trigger(new j(g.W))};c.prototype.R6=function(){this.Cw.set(0,0,0,1);this.VF=this.C4();switch(this.VF){case "landscape-primary":this.Cw.setFromAxisAngle(new m.Vector3(0,
8850,1),-Math.PI/2);break;case "landscape-secondary":this.Cw.setFromAxisAngle(new m.Vector3(0,0,1),Math.PI/2)}this.vS.copy(this.Cw);this.vS.inverse()};c.prototype.C4=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.PA.z>4.9||this.PA.z<-4.9?a=this.VF||a:this.PA.x>0&&(a="landscape-secondary"));
886return a};e.prototype.ola=function(a,b,c){if(!this.rw){this.NH.copy(a);this.rw=c;return a}c=new m.Vector3;c.copy(b);c.normalize();b=b.length();if(b<m.degToRad*20){this.yB.copy(a);this.NH.copy(a);return this.yB}this.r4.setFromAxisAngle(c,b*this.Cma);this.yB.copy(this.NH);this.yB.multiply(this.r4);this.NH.copy(a);return this.yB};d.prototype.set=function(a,b){this.sample=a;this.bI=b};d.prototype.copy=function(a){this.set(a.sample,a.bI)};var o={yU:0.001,xU:1,fma:function(a){return isNaN(a)||a<=o.yU||
887a>o.xU?z:p}};o.ij=function(){var a=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return a}}();o.Eqa=function(){var a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return a}}();o.kw=function(){var a=navigator.userAgent.indexOf("Firefox")!==-1&&navigator.userAgent.indexOf("Android")!==-1;return function(){return a}}();o.ZR=function(){var a=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),b=a?parseInt(a[1],10):q;return function(){return b}}();o.Ula=function(){var a=
888z;if(o.ZR()===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.oi&&h.cB()&&h.pd()==h.gC&&(a=p);return function(){return a}}();o.Yla=function(){return window.orientation==90||window.orientation==-90};return c});
889define("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.Ed()==j.ri||m.hh("debug")&&m.Rn("sensor")=="deviceorientation",g=new h,l=z;g.bind(c.Sb,function(){l=p;b()},this,p);var s=new k,w=z;s.bind(c.Sb,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");
890a("iF");var m=a("hE"),f=new d,l={},r=z,o;
890l.aT=function(a){if(j.Ed()==j.ri&&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.rma=function(){return r};l.Wl=function(){r=z;
891if(o){var a=o.Wl(),a=g.NT(a);return{yaw:a.Ja,pitch:a.pitch,roll:a.ad}}return{yaw:0,pitch:0,roll:0}};if(j.Ed()==j.EJ||j.Ed()==j.M7){l.available=z;l.disabled=z}else if(j.Ed()==j.VT&&j.browser()==j.oi&&window.location.protocol!="https:"&&window.location.hostname!="localhost"){l.available=p;l.disabled=p}else if(j.Ed()==j.ri){l.available=p;l.disabled=p;if(j.yH()>=13&&DeviceMotionEvent.requestPermission)l.aT();else{var s=function(){window.removeEventListener("deviceorientation",s,z);l.disabled=z;b()};window.addEventListener("deviceorientation",
892s,z)}}else{l.available=window.DeviceMotionEvent!=n;l.disabled=z}l.available&&!l.disabled&&b();return l});define("hQ",["require"],function(){return{Apa:"single",FRONT:"front",ra:"left",BACK:"back",Qa:"right",eb:"top",cb:"bottom"}});
893define("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.Cf=Math.pow(10,3);b.tI=0.5*b.Cf;b.g8=b.Cf;b.pV=[a.FRONT,a.Qa,a.BACK,a.ra,a.eb,a.cb];b.o4=function(a,c){for(var d=b.Cf,e=b.tI,m=a*c,f=this.Do(),l=[],r=0,o=6*m;r<o;r++)l.push(r);var r=[],s=m;r.push(this.Kt(f,a,c,-e,+e,-e,+d,0,-d,0,l.slice(0,s)));o=s;s+=m;r.push(this.Kt(f,a,
894c,+e,+e,-e,0,+d,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Kt(f,a,c,+e,+e,+e,-d,0,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Kt(f,a,c,-e,+e,+e,0,-d,-d,0,l.slice(o,s)));o=s;s+=m;r.push(this.Kt(f,a,c,-e,+e,+e,+d,0,0,-d,l.slice(o,s)));o=s;r.push(this.Kt(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.v5=a;f.userData.k7=c;f.userData.yma=r;return f};b.YA=function(){var a=this.Do();this.pW(a,-0.5,0.5,0,1,0,0,0,-1,0,0);a.mergeVertices();a.computeFaceNormals();
895a.userData.type="plane";return a};b.N6=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.kra=p};b.Yv=function(){return b.tI};b.T4=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.U4=function(a,b){return 2*a*Math.tan(0.5*b*c)};b.sH=function(a){return Math.max(Math.min(3.539647*a-6.669366*a*a+4.7454*a*a*a,b.tI),0.1)};b.Do=function(){var a=new THREE.Geometry;a.userData=
896{};return a};b.Kt=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.pW(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.xqa=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.hla=function(a,
897c,d){e.copy(c.matrixWorldInverse).multiply(d);switch(a.userData.type){case "cube":return b.rca(a,e,c.projectionMatrix);default:return b.sca(a)}};b.cla=function(a,c,d){switch(a.userData.type){case "plane":return b.bca(a,c,d);default:return q}};b.pW=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,
898u+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.bca=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,
899r=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=
899a.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:
900{Ioa:a,Poa:b,materialIndex:e.materialIndex}};b.rca=function(a,c,d){var e=Array.prototype.concat.apply([],a.userData.yma.map(function(e){return b.XY(c,d,e,a.vertices,0,0,a.userData.v5,a.userData.k7).map(function(a){return a.materialIndex})}));return b.dZ(e)};b.sca=function(a){a=a.faces.map(function(a){return a.materialIndex});return b.dZ(a)};b.dZ=function(a){var b={};a.forEach(function(a){b[a]=p});var a=[],c;for(c in b)a.push(c);return a};b.XY=function(a,c,d,e,m,f,l,r){var o=[];if(b.bia(a,c,e[d[f][m][0].a],
901e[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.XY(a,c,d,e,u,r,m[t]-u,s))}return o};b.bia=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=
902d[(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.KR=function(a,d,e,h,m){for(var f=a*c,l=0.5*
903-f+0.5*Math.PI,r=d*c,o=0.5*(Math.PI-r)-e*c,s=0.5*b.g8,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.Do(),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+
9041][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.Qc=a;y.userData.Kk=d;y.userData.pitch=e;y.userData.v5=h;y.userData.k7=m;return y};return b});
905define("bv",["require"],function(){return{uq:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAckAAACACAMAAABXwWJTAAAAYFBMVEUAAACAgICAgICAgIDzbUSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUTzbUSAgIBEWPGZAAAAHnRSTlMAgL9AgBDvn2Aw388gj69wUO8QRb9gn98gzzCvcI9pmC3GAAAPKUlEQVR42uyc65raIBBABxAISUiy6rq3Vt7/LXvb7YATIEmxX9ScX7YiZnMyyGUANu6O1+fdbfH8ChuU55fz7XE8wEbI+9v5NjkujEvRW87dT2resaGFe+H5fLM8vcNcZNUpF9JYA/fA4XzDzFXZauXGqCsJq8J9wmAyr0/nW+ZtP8uji6IYrIkFJk/n22YHk2EuSS1gPcw3+Xq+cZ6mBqVpXA67niZ2vsnv51vnGSZRuQk0q+nHzjd5qwMQ5ART0G4Sai292PkmzzfP2yKR3LJf6MaFWFgHj2jyPFuksgLfkoP/poaVsJkcxYZDR7hAMrU2kZvJbGdH9TCC1CsTuZkcw6gJnVOhViVyMzlGM+lnsG04rIjNJIUlRSJyPdMCm8kxpFpfx3QzOc7UAUgDN8Rm8pIWe62rmYnbTEaY+CvZwy2xmbxEuU9quCk2kxcM7osKborN5AW6VEia3vJfdExISCKY5r+wvclVqT9rnGFSDuzrOh7LZF1kjaNltfPoqrhG7Txq20IE6VdZMwlg+R+qhEnROUTZ9nFMYs/VwGKkHkngGvfISUlOXeKcPaIG4OguYtKQ6tnDmKzcJwoWUyk3AjdUT+fGYEAw9UixrEnmKI15EJPMfdLBUrQbR1VpPUgjpyWipE1KHUlyeAyTHd6QZcjGRanIiksEZYj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V6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkp
907d9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pOZlnOfM1d9Vg8shYaq1yeNNfMdAhuV4l8kdUpTe5OrS3OeOpcpAju62trcghq3gMDY4d9IkY7gijrcifLRUkOhKjdmBrd0fWp+8xdKJsejAzd7E0+aTsNZ5oNTwVlrDHid8hZ4wWX1bjtVCpdSpqquINUgldb2sJTOipaqIlaFefZfMZXNrjLRLaoo1aI1kRl6an6W5b3s+UnLdWmPlu7ybdpBVmr+yhYlYU3CLmraxbYKtSmBvYR20AAAAJnRSTlMADRUdLSTtHFmoOi7dUODF681AbUnWbL+wlWSAmnm8NIajjKeLetZ4Pp0AAF5LSURBVHja7JpL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hggQUWWGCBBRZYYIEFFlhggQUWWGCBBRZYYIEFFlhgCbAqc1DGYnA/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==",
909j8:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAADcCAMAAADA8VqlAAAAM1BMVEUAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIBprCkqAAAAEHRSTlMAQL8QgO/fn89gMHAgUI+vkrzZGQAAB8pJREFUeNrtXduW2yAM5H63zf9/bdukjdYBjI0t4KHz1Obsnp0INJKQjMl//MeM4I7M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LazY5eb+20YMRger5HxfinKeTyFptCaGgnab2dHCOFuNHs6shgP2pEpanK1GB21NaPWtgsMnNlXEHs6+b38Wx+d5CIzGafSj3c1jaLm2fa5qxih+wM7gBLRE6aVGNbOn5ww8tgNqkS+R0esqPJJ66bxpZb9NDK20HiomlssWxf1hu70bS2Bjve0v2mn234zs0miTV//gHyyprZmiIc9wAAAABJRU5ErkJggg==",
913s8:115,Gpa:117}});
914define("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.pd()!=a.Gw){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=
915z}a=!m}if(a){var l=c.extend(g,function(a){g.call(this);this.v=a}),r=p;l.qT=function(a){r=a=="out_of_frame"};l.prototype.available=function(){return r};l.prototype.dh=function(){this.toggle()};l.prototype.Pd=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.Ol=Q(q);l.Pd=D();return l}l=c.extend(g,function(a){g.call(this);this.v=a;this.yn=j(a);this.f$=k();this.Z=this.tM();var c=this;b(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",
916function(){c.pQ()});b(window).bind("resize",function(){c.pQ()})});l.qT=D();l.prototype.available=function(){return!(!j(this.v||h)&&!k())};l.prototype.dh=function(){this.enabled()||this.toggle()};l.prototype.Pd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){this.enabled()?this.f$.call(document):this.yn.call(this.v);this.pQ()};l.prototype.enabled=function(){return this.Z&&this.tM()};l.prototype.tM=function(){return this.v===l.Ol()};l.prototype.pQ=function(){var a=this.tM();
917if(this.Z!=a){this.Z=a;this.trigger(new d(e.W))}};l.enabled=function(){return!!l.Ol()};l.Ol=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};l.Pd=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.dh=function(){this.enabled()||this.toggle()};l.prototype.Pd=function(){this.enabled()&&this.toggle()};l.prototype.toggle=function(){if(this.enabled()){o();
918l.Io=q}else{l.Io&&l.Io.Pd();o();var a=s();a.push("fullscreen");t(a);l.Io=this}this.trigger(new d(e.W))};l.prototype.enabled=function(){return this==l.Io};l.enabled=function(){return!!l.Ol()};l.Ol=function(){return l.Io&&l.Io.v};l.Pd=function(){l.enabled()&&l.Io.Pd()};l.qT=D();l.Io=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="#"+
919(a.length?a.join("&"):"")}}return l});
920define("fx","require,jquery.mod,hb,jc,r,hE,jq,bv,ig".split(","),function(a){function b(a,b){this.Aja=a;this.P$=b;this.mQ=[];this.Ff=q;this.Oz=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;",
921u='<img style="width:33vmin;" src="'+h.uq+'"/>',v='<img style="width:24vmin;" src="'+h.uq+'"/>',x='<img style="width:34vmin;" src="'+h.rI+'"/>',y='<img style="width:34vmin;" src="'+h.C7+'"/>',A='<img style="width:24vmin;" src="'+h.e8+'"/>';if(g.Xa()){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=
922s+" font-size:19px; padding:17px 34px;";l=l+f;b.prototype.gL=function(){if(!this.Ff){this.Ff=c("<div/>");this.Ff.css({position:"fixed","z-index":k.I7,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"});this.Ff.html(this.P$);c(this.Ff).find("button").on("click",function(a){this.dea(c(a.currentTarget).attr("id"))}.bind(this))}};b.prototype.IP=function(a,b){var c={},f;for(f in b)c[f]=a.css(f);this.mQ.push({$el:a,css:c});a.css(b)};b.prototype.dga=
923function(){for(;this.mQ.length;){var a=this.mQ.pop();a.$el.css(a.css)}};b.prototype.show=function(a,b,f){if(!this.Oz){this.gL();this.GX=a||D();this.ZW=b||D();a=this.Eba();if(a===n){this.Oz=p;var d=this,a=c(m.Ol()||document.body);if(f!==p)a.children().each(function(){d.IP(c(this),{visibility:"hidden"})});else{this.IP(a,{overflow:"hidden"});a.children().each(function(){d.IP(c(this),{position:"absolute","z-index":0})})}a.append(this.Ff)}else{this.Oz=z;a?this.GX():this.ZW()}}};b.prototype.hide=function(){if(this.Oz){this.Oz=
924z;this.Ff.detach();this.dga()}};b.prototype.Eba=function(){var a;try{a=window.localStorage&&window.localStorage.getItem(this.IY())}catch(b){}if(a=="true")return p;if(a=="false")return z};b.prototype.Y1=function(a){try{window.localStorage.setItem(this.IY(),a?"true":"false")}catch(b){}};b.prototype.IY=function(){return this.Aja+"DontDisplay:"+window.location.pathname};b.prototype.dea=function(a){var b=c("#tdvvriw_dontdisplay").is(":checked");this.hide();
924if(a=="tdvvriw_continue"){this.GX();b&&this.Y1(p)}else if(a==
925"tdvvriw_cancel"){this.ZW();b&&this.Y1(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;">'+
926d("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">'+d("dont-display-again")+"</label>","</div>"].join("\n");b.call(this,"ChromeAppInfoWindow",a)}),w=e.extend(b,
927function(){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>",
928'<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,"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>',
929y,'<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="'+
930l+'"></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.gL=function(){b.prototype.gL.call(this);j.Pl("vrv")===p&&this.Ff.css({background:"none"})};var B=e.extend(b,function(){var a;a=g.browser()==g.oh?window.location.protocol!="https:"?d("giroscope-disabled-http"):window.DeviceMotionEvent.requestPermission?
931d("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; '+
932l+'">','<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")+
933'</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,
934function(){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+
935'" 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;">',
936'<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"))}),
937M=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; '+
938l+'">','<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,"UseSafariVRInfoWindow",a)}),e=e.extend(b,function(){var a=['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+h.uq+'"/>','</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;">',
939'<img style="width:22vmin" src="'+h.Ww+'"/>','<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.f8=new w;G.zpa=new C;G.fpa=new J;G.$oa=new F;G.dpa=new I;G.tpa=new L;G.p8=new M;G.Ww=new e;G.sU=new B;G.s7=new a;G.rI=new K;return G});define("cc",["require"],function(){return{uq:"Cardboard",u8:"WebVR",v8:"WebXR"}});
940define("eF",["require","hp","r","fb"],function(a){var b=a("hp"),c=a("r"),e=a("fb"),d={hma:function(a){return this.uB(a)||this.P5(a)?p:z}
940,om:function(){var a=c.Dma();d.om=function(){return a};return a},P5:function(a){return"string"==typeof a&&e.is(a,e.DJ)?p:z},Dqa:function(a){return this.xS(a)||this.yS(a)?p:z},yS:function(a){return"string"==typeof a&&(e.is(a,e.G7)||e.rB(a,e.H7))?p:z},uB:function(a){return!!a&&!!a.tagName&&"VIDEO"==a.tagName},K5:function(a){return"string"==typeof a&&e.is(a,e.Qk)||this.uB(a)&&
941e.is(a.currentSrc,e.Qk)?p:z},gma:function(a){return"string"==typeof a&&e.is(a,e.DJ)||this.uB(a)&&e.is(a.currentSrc,e.DJ)?p:z},xS:function(a){return!!a&&!!a.tagName&&"IMG"==a.tagName},H5:function(a){return!!a&&!!a.tagName&&"CANVAS"==a.tagName},V4:function(a){return Math.pow(2,Math.round(Math.log(a)/Math.LN2))},O5:function(a){return 0!==a&&0===(a&a-1)},Vla:function(){return c.browser()==c.Nk},ama:function(){return c.browser()==c.sq},ij:function(){return c.Ed()==c.ri},Qoa:function(a){if(d.ama())return p;
942if(d.ij())if(d.K5(a)){if(!b.A5)return p}else if(12>c.yH()||a&&a.videoWidth&&a.videoHeight&&589824>=a.videoWidth*a.videoHeight)return p;return z},Jla:function(){return d.Vla()||d.ij()},Ila:function(){return d.ij()&&b.A5&&11>c.yH()}},g=z;d.C5=function(){g=z};d.Sla=function(){return g};d.lna=function(){g=p};d.n4=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",
943b)||a.getContext("experimental-webgl",b)};return d});
944define("cA","require,hb,jquery.mod,cI,jc,bv,jd,r,d,is,iG".split(","),function(a){function b(){this.Xc=z;this.fA=q;this.ba=this.R=100;this.aN=this.$e=n;this.bN=100;this.v=document.createElement("div");this.v.style.opacity=0;this.v.style.display="none";this.v.style.gra="opacity 0.3s";this.v.addEventListener("transitionend",this.yQ.bind(this));this.yc=document.createElement("div");this.yc.style.hasOwnProperty("backdropFilter")?this.yc.style.backdropFilter="blur(8px)":this.yc.style.backgroundColor="rgba(0, 0, 0, 0.6)";
945this.yc.style.position="absolute";this.yc.style.left=0;this.yc.style.top=0;this.yc.style.right=0;this.yc.style.bottom=0;this.v.appendChild(this.yc);this.gb=document.createElement("img");this.gb.style.cursor="pointer";this.gb.style.position="absolute";this.gb.style.left="50%";this.gb.style.top="50%";this.gb.style.transform="translate(-50%, -50%)";this.v.appendChild(this.gb);this.Dt=d(this.v)}function c(a,b){this.reason=a;this.Hn=b}var e=a("hb"),d=a("jquery.mod");a("cI");a("jc");var g=a("bv");EventName=
946a("jd");Device=a("r");UIComponent=a("d");FadeInEffect=a("is");FadeOutEffect=a("iG");var j=e.extend(UIComponent,function(){UIComponent.call(this);this.Nc("UserInteractionWindow");this.jb=q;this.tl=[];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.rb,this.gR,this,p);this.bind(EventName.U,this.tja,
947this,p)});j.prototype.gR=function(){this.jb&&this.jb.setSize(this.rd(),this.qd())};j.prototype.tja=function(){var a=this.tl.slice();this.tl=[];this.GG();a.forEach(function(a){a.Hn.call(a.context)})};j.prototype.Ia=function(){UIComponent.prototype.Ia.call(this);if(!this.jb){this.jb=new b;this.jb.setSize(this.rd(),this.qd());this.jb.Re(p);this.La().append(this.jb.kb().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"}));this.GG()}};j.prototype.Ej=function(){UIComponent.prototype.Ej.call(this);
948this.getParent().bind(EventName.rb,this.gR,this,p);j.W8(this)};j.prototype.Sh=function(){this.getParent().unbind(EventName.rb,this.gR,this,p);UIComponent.prototype.Sh.call(this);j.Sfa(this)};j.prototype.Vma=function(a){this.yn(h,a)};j.prototype.bT=function(a){this.yn(k,a)};j.prototype.yn=function(a,b){this.tl.push(new c(a,b));this.tl.sort(function(a,b){return m[a.reason]-m[b.reason]});this.GG()};j.prototype.aka=function(a){this.cancel(h,a)};j.prototype.Zja=function(){this.cancel(k,n)};j.prototype.cancel=
949function(a,b){var c=this.kca(a,b);c>=0&&this.Yfa(c)};j.prototype.OW=function(){this.MC(p)};j.prototype.SC=function(){this.MC(z)};j.prototype.kca=function(a,b){for(var c=0;c<this.tl.length;c++){var d=this.tl[c];if(d.reason==a&&d.Hn==b)return c}return-1};j.prototype.GG=function(){if(this.jb){var a=this.tca();if(a){switch(a.reason){case k:this.jb.rT(b.vU);break;case h:this.jb.rT(b.dJ)}this.set("visible",p)}else this.set("visible",z)}};j.prototype.Yfa=function(a){this.tl.splice(a,1);a==this.tl.length&&
950this.GG()};j.prototype.tca=function(){return this.tl.length>0?this.tl[0]:q};var k="vr",h="play",m={};m[k]=0;m[h]=1;b.prototype.kb=P("Dt");b.prototype.setSize=function(a,b){if(this.R!==a||this.ba!==b){this.R=a;this.ba=b;this.JG()}};b.prototype.Re=function(a){if(this.Xc!=a){this.Xc=a;if(this.fA){clearTimeout(this.fA);this.fA=q}if(this.Xc){this.v.style.display="block";this.v.style.opacity=0;this.fA=setTimeout(function(){this.fA=q;this.v.style.opacity=1}.bind(this),30)}else this.v.style.opacity=0}};b.prototype.rT=
951function(a){if(this.$e!=a){this.$e=a;this.Zia()}};b.prototype.yQ=function(){if(!this.Xc)this.v.style.display="none"};b.prototype.Zia=function(){switch(this.$e){case b.dJ:this.aN=g.lo;this.bN=g.Z7;break;case b.vU:this.aN=g.q8;this.bN=g.s8}this.gb.src=this.aN;this.JG()};b.prototype.JG=function(){if(Device.Xa()){this.gb.style.maxWidth=Math.round(this.R*0.5)+"px";this.gb.style.width="20vmin"}else{this.gb.style.maxWidth=Math.round(this.R*0.33)+"px";this.gb.style.width=this.bN+"px"}};b.dJ="play";b.vU="vr";
952j.XU=b;j.Bc=[];j.BO=[];j.W8=function(a){j.Bc.push(a);j.BO.forEach(function(b){j.xZ(a,b)});j.BO=[]};j.Sfa=function(a){j.Bc.splice(j.Bc.indexOf(a),1)};j.ready=function(){return j.Bc.length>0};j.bT=function(a){j.Bc.length?j.Bc.forEach(function(b){j.xZ(b,a)}):j.BO.push(a)};j.xZ=function(a,b){a.bT(function(){j.Bc.forEach(function(b){b!=a&&b.Zja()});b()})};return j});
953define("iV",["require"],function(){var a={qi:{}};a.qi.NONE="none";a.qi.ra="left";a.qi.Qa="right";a.t8=function(){this.y=this.x=0;this.height=this.width=1};a.zV=function(){this.eye=a.qi.NONE;this.viewport=new a.t8;this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.projectionMatrix=new THREE.Matrix4};a.B7=function(){this.position=new THREE.Vector3;this.orientation=new THREE.Quaternion;this.views=[];this.lH=[]};a.L7=function(){this.aB=q;this.fj=200;this.di=100;this.iH=1};return a});
954define("cE",["require"],function(){return{nC:"gaze",aJ:"gaze_click"}});
955define("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.P1=m.nC;this.rs=[];this.Fg=new g.B7;this.tf=new g.zV;this.tf.eye=g.qi.ra;this.xf=new g.zV;this.xf.eye=g.qi.Qa;this.Fg.views=[this.tf,this.xf];this.ec=new g.L7});a.prototype.Sn=D();a.prototype.dh=D();a.prototype.Pd=D();a.prototype.pH=P("ec");a.prototype.Tl=P("Fg");a.prototype.Aa=D();a.prototype.isPresenting=
956D();a.prototype.Xf=D();a.prototype.uH=P("P1");a.prototype.$s=D();a.prototype.Gv=function(a){this.rs.indexOf(a)<0&&this.rs.push(a)};a.prototype.$S=function(a){this.rs.splice(this.rs.indexOf(a),1);this.$s()==a&&this.Pd()};a.prototype.hca=function(){return this.rs.length>0?this.rs[this.rs.length-1]:q};a.prototype.BP=function(){var a=this.hca();if(a==q){a=document.createElement("canvas");a=c.n4(a);this.Gv(a)}return a};a.prototype.KF=function(a){d.bT(a)};
956a.prototype.XP=function(a){if(j.pd()==j.xt){this.oP();
957k.s7.show(a,function(){this.lW()}.bind(this))}else j.cB()&&j.pd()==j.Hw?k.f8.show(a):j.pd()==j.eC?k.p8.show(a):a()};a.prototype.CP=function(a){var b=function(b){this.P1=b;a()}.bind(this);!j.Xa()||j.kf()?b(m.nC):h.Rn("cardboard_version")=="1"?b(m.nC):h.Rn("cardboard_version")=="2"?b(m.aJ):k.rI.show(function(){b(m.aJ)}.bind(this),function(){b(m.nC)}.bind(this))};a.prototype.lW=function(){this.oP();var a=this.jZ();a.push("vr");this.vW(a)};a.prototype.oP=function(){this.vW(this.jZ().filter(function(a){return a!=
958"vr"}))};a.prototype.jZ=function(){var a=window.location.hash.substring(1);return a.length?a.split("&"):[]};a.prototype.vW=function(a){window.location.hash="#"+(a.length?a.join("&"):"")};return a});
959define("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.dh=function(){this.enabled()||this.toggle()};e.prototype.Pd=function(){this.enabled()&&this.toggle()};e.prototype.toggle=function(){this.enabled()?e.cancel():e.cm(this.v)};e.prototype.enabled=function(){return e.enabled(this.v)};var j=
960d("<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.cm=function(a){if(a!==h){e.cancel();h=a;var l=g.Ol()||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",
961left: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});
962define("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.uq+'"/>','</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.Ww+'"/>','<div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;">'+
963g("rotate-device")+"</div>"].join("\n")+"</div>\n</div>",h=j+['<img style="width:13vmin; vertical-align:middle;" src="'+a.j8+'"/>','<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.Tg=this.wi=this.xi=this.wy=this.xy=this.DN=this.EN=n;
964this.dE=z;this.Dp=this.QO=this.CN=this.zc=q;this.pY=[];this.vZ=this.ss=z;this.ib=this.ib.bind(this)});b.prototype.cm=function(){if(!this.ss){this.ss=p;this.eL();window.addEventListener("resize",this.ib);document.body.appendChild(this.zc);document.body.appendChild(this.Dp);this.Wha=document.body.style.overflow;document.body.style.overflow="auto";this.gz()}};b.prototype.cancel=function(){if(this.ss){this.ss=z;window.removeEventListener("resize",this.ib);document.body.style.overflow=this.Wha;document.body.removeChild(this.zc);
965document.body.removeChild(this.Dp);this.a2(z)}};b.prototype.enabled=P("dE");b.prototype.eL=function(){if(!this.zc){this.zc=this.qD({position:"fixed",top:0,left:0,zIndex:9999998},p);this.zc.id="tdvminuictr";this.QO=this.qD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,k);this.zc.appendChild(this.QO);this.CN=this.qD({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},p,h);this.zc.appendChild(this.CN);this.Dp=this.qD({position:"absolute",top:0,left:0,
966right:0,height:"999999999vmax",zIndex:9999999},z);this.Dp.id="tdvminuiscrl";this.Dp.addEventListener("touchend",this.ib)}};b.prototype.qD=function(a,b,c){var d=document.createElement("div");this.Iz(d,a);c!==n&&this.Uga(d,c);b&&this.pY.push(d);return d};b.prototype.ib=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.jO.bind(this),a)}.bind(this))};b.prototype.jO=function(){(this.xi!=window.innerWidth||this.wi!=window.innerHeight)&&this.gz()};b.prototype.gz=function(){this.xi=window.innerWidth;
967this.wi=window.innerHeight;this.Tg=this.xi>this.wi?"landscape":"portrait";var a;if(this.Tg=="landscape"){if(this.EN&&this.DN&&this.vda(this.EN,this.DN)&&(!this.xy&&!this.wy||this.wda(this.xy,this.wy))){this.xy=this.xi;this.wy=this.wi}if(this.rda()){this.xy=this.xi;this.wy=this.wi}this.EN=this.xi;this.DN=this.wi;a=this.xy==this.xi&&this.wy==this.wi}else a=z;this.pY.forEach(function(a){a.style.height=this.wi+"px";a.style.width=this.xi+"px"}.bind(this));var b=this.ss&&this.Tg=="portrait",c=this.ss&&
968this.Tg=="landscape"&&!a,d=this.ss&&this.Tg=="landscape";this.Iz(this.zc,{display:b||c?"block":"none"});this.Iz(this.QO,{display:b?"block":"none"});this.Iz(this.CN,{display:c?"block":"none"});this.Iz(this.Dp,{display:d?"block":"none",right:c?0:"99.9%"});this.a2(a)};
968b.prototype.a2=function(a){if(this.ZF!=q){clearTimeout(this.ZF);this.ZF=q}if(this.dE!=a)this.ZF=setTimeout(function(){this.ZF=q;(this.dE=a)?this.trigger(new e(c.tj)):this.trigger(new e(c.ua));this.trigger(new e(c.W))}.bind(this),a?1E3:
9690)};b.prototype.rda=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.vda=function(a,b){return a*window.innerHeight>b*window.innerWidth};b.prototype.wda=function(a,b){return a*window.innerHeight>=b*window.innerWidth};b.prototype.Iz=function(a,b){for(var c in b)a.style[c]=
970b[c]};b.prototype.Uga=function(a,b){a.innerHTML=b};return new b});
971define("jh",["require","r","cW","dN"],function(a){var b=a("r"),c=a("cW"),e=a("dN");if(b.browser()==b.oh){a=function(){this.Na=q};a.prototype.RR=function(a){this.Na=a;this.Na.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGt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CAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",0,
972z);this.Na.bind(c.XI,this.fd,this,p)};a.prototype.CS=function(){this.Na.unbind(c.XI,this.fd,this,p);this.Na=q};a.prototype.fd=function(){0.5<this.Na.gj()&&this.Na.play(q,"data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPT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7wAABwYAAAcMAAAHIQAABzQAAAc6AAAHTQAAB2QAAAdqAAAHfwAAB5IAAAeYAAAHqwAAB8IAAAfXAAAH3QAAB/AAAAgDAAAICQAACCAAAAg1AAAIOwAACE4AAAhhAAAIeAAACH4AAAiRAAAIpAAACKoAAAiwAAAItgAACLwAAAjCAAAAFnVkdGEAAAAObmFtZVN0ZXJlbwAAAHB1ZHRhAAAAaG1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAAO2lsc3QAAAAzqXRvbwAAACtkYXRhAAAAAQAAAABIYW5kQnJha2UgMC4xMC4yIDIwMTUwNjExMDA=",
973Math.random(),z)};var d=z,g=new a;return{enable:function(){d||(d=p,e.UG(g))},disable:function(){d&&(d=z,e.zB(g))}}}return b.browser()==b.oi?(a=function(){this.Na=q},a.prototype.RR=function(a){this.Na=a;this.Na.play(q,q,0,p)},a.prototype.CS=function(){this.Na=q},d=z,g=new a,{enable:function(){d||(d=p,e.UG(g))},disable:function(){d&&(d=z,e.zB(g))}}):{enable:D(),disable:D()}});
974define("gB",["require","jquery.mod","jc","bv"],function(a){function b(){this.Ff=q;this.Z=z;this.ib=this.ib.bind(this);this.wi=this.xi=this.Tg=n}var c=a("jquery.mod"),e=a("jc"),d=a("bv");b.prototype.Do=function(){this.Ff||(this.Ff=c("<div/>"),this.Ff.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.Ff.html(['<div style="position: absolute; top: 5vmin; right:5vmin;">','<img style="width:24vmin" src="'+
975d.uq+'"/>','</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.Ww+'"/>','<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.Do(),
976c(a).append(this.Ff),c(window).on("resize",this.ib),this.gz())};b.prototype.hide=function(){this.Z&&(this.Z=z,c(window).off("resize",this.ib),this.Ff.detach())};b.prototype.ib=function(){[0,250,1E3,2E3].forEach(function(a){setTimeout(this.jO.bind(this),a)}.bind(this))};b.prototype.jO=function(){(this.xi!=window.innerWidth||this.wi!=window.innerHeight)&&this.gz()};b.prototype.gz=function(){this.xi=window.innerWidth;this.wi=window.innerHeight;this.Tg=this.xi>this.wi?"landscape":"portrait";this.Ff.toggle("landscape"!=
977this.Tg)};return new b});
978define("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.Rf=this.ce=this.Le=this.Bz=this.$m=this.qg=this.Gb=q;this.hf=f.uq;this.Aa=this.Aa.bind(this)});
978y.prototype.Sn=function(a){if(this.my()){var b=function(b){if(this.Gb=b.length?b[0]:q){this.Gb.depthNear=
9790.1;this.Gb.depthFar=2*d.Cf;this.qg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",this.XO.bind(this),z);u.bind(c.ua,this.Pd.bind(this))}a(!!this.Gb)}.bind(this),f=window.WebVRConfig||(window.WebVRConfig={});f.BUFFER_SCALE=y.Mv;f.ALWAYS_APPEND_POLYFILL_DISPLAY=p;f.LOCK_ORIENTATION=z;m.AV.load(function(){navigator.getVRDisplays().then(b)["catch"](function(){b([])})}.bind(this))}else a(z)};y.prototype.dh=function(){!this.isPresenting()&&!this.ce&&this.xs(function(){this.XP(function(){this.CP(function(){if(!this.isPresenting()&&
980!this.ce){this.ce=this.BP();this.UP();this.Gb.requestPresent([{source:this.ce.canvas}]).then(function(){this.Rf=this.ce;this.ce=q;j.pd()!=j.Fw&&x.show(s.Ol());this.Xu();this.JA()}.bind(this))["catch"](function(){this.ce=q;this.cA()}.bind(this))}}.bind(this))}.bind(this))}.bind(this))};y.prototype.Pd=function(){this.isPresenting()&&this.Gb.exitPresent()};y.prototype.Aa=function(a){return this.Gb.requestAnimationFrame(function(b){var c=this.Xu();c&&this.Ps();a(b);c&&this.Gb.submitFrame()}.bind(this))};
981y.prototype.isPresenting=function(){return!!this.Gb&&this.Gb.isPresenting};y.prototype.$s=P("Rf");y.prototype.Xf=P("hf");y.prototype.XO=function(){if(this.isPresenting())o.YH(this.Aa,this.Gb.cancelAnimationFrame.bind(this.Gb));else{o.dT();(this.Rf||this.ce)&&this.cA()}this.trigger(new e(c.W))};y.prototype.my=function(){return k.available&&g.webgl&&j.Xa()&&j.Ts()!=j.Lw};y.prototype.xs=function(a){if(k.disabled)h.sU.show(function(){k.aT(function(){this.xs(a)}.bind(this))});else if(s.enabled()||!r.lw()){s.Pd();
982this.KF(function(){this.xs(a)}.bind(this))}else a()};y.prototype.UP=function(){t.cm(this.ce.canvas);j.pd()==j.Gw?this.lW():v.enable();j.pd()==j.Fw&&u.cm()};y.prototype.Xu=function(){this.Gb.getFrameData(this.qg);if(!this.qg.pose||!this.qg.pose.orientation)return z;this.$m=this.Gb.getEyeParameters("left");this.Bz=this.Gb.getEyeParameters("right");var a=this.Gb.getLayers();this.Le=a&&a.length&&a[0]||q;return!this.Le?z:p};y.prototype.JA=function(){this.ec.aB=q;this.ec.fj=this.$m.renderWidth*2;this.ec.di=
983this.$m.renderHeight;this.ec.iH=1};y.prototype.Ps=function(){var a=this.qg.pose;this.Fg.orientation.fromArray(a&&a.orientation||A);this.Fg.position.fromArray(a&&a.position||w);this.vR()};y.prototype.vR=function(){this.tf.position.fromArray(this.$m.offset);this.tf.orientation.fromArray(A);this.tf.projectionMatrix.fromArray(this.qg.leftProjectionMatrix);this.tf.viewport.x=Math.round(this.ec.fj*this.Le.leftBounds[0]);this.tf.viewport.y=Math.round(this.ec.di*this.Le.leftBounds[1]);this.tf.viewport.width=
984Math.round(this.ec.fj*this.Le.leftBounds[2]);this.tf.viewport.height=Math.round(this.ec.di*this.Le.leftBounds[3]);this.xf.position.fromArray(this.Bz.offset);this.xf.orientation.fromArray(A);this.xf.projectionMatrix.fromArray(this.qg.rightProjectionMatrix);this.xf.viewport.x=Math.round(this.ec.fj*this.Le.rightBounds[0]);this.xf.viewport.y=Math.round(this.ec.di*this.Le.rightBounds[1]);this.xf.viewport.width=Math.round(this.ec.fj*this.Le.rightBounds[2]);this.xf.viewport.height=Math.round(this.ec.di*
985this.Le.rightBounds[3])};y.prototype.cA=function(){this.oP();this.Rf=this.ce=q;u.cancel();t.cancel();v.disable();x.hide()};y.Mv=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));var A=[0,0,0,1],w=[0,0,0];return y});
986define("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.Rf=this.ce=this.Le=this.Bz=this.$m=this.qg=this.Gb=q;this.Aa=this.Aa.bind(this)});a.prototype.Sn=function(a){if(this.my()){var b=function(b){if(this.Gb=b.length?b[0]:q){this.Gb.depthNear=0.1;this.Gb.depthFar=2*k.Cf;this.qg="VRFrameData"in window?new VRFrameData:q;window.addEventListener("vrdisplaypresentchange",
987this.XO.bind(this),z);window.addEventListener("vrdisplayactivate",this.$0.bind(this));window.addEventListener("vrdisplaydeactivate",this.Pd.bind(this))}a(!!this.Gb)}.bind(this);navigator.getVRDisplays().then(b)["catch"](function(){b([])})}else a(z)};a.prototype.dh=function(){!this.isPresenting()&&!this.ce&&this.xs(function(){this.XP(function(){this.CP(function(){!this.isPresenting()&&!this.ce&&this.$0()}.bind(this))}.bind(this))}.bind(this))};a.prototype.Pd=function(){this.isPresenting()&&this.Gb.exitPresent()};
988a.prototype.Aa=function(a){return this.Gb.requestAnimationFrame(function(b){var c=this.Xu();c&&this.Ps();a(b);c&&this.Gb.submitFrame()}.bind(this))};a.prototype.isPresenting=function(){return!!this.Gb&&this.Gb.isPresenting};a.prototype.$s=P("Rf");a.prototype.Xf=function(){return g.u8};a.prototype.my=function(){return"getVRDisplays"in navigator};a.prototype.XO=function(){if(this.isPresenting()){m.YH(this.Aa,this.Gb.cancelAnimationFrame.bind(this.Gb));this.Xu()&&this.Ps()}else{m.dT();(this.Rf||this.ce)&&
989this.cA()}this.trigger(new c(e.W))};a.prototype.xs=function(a){h.lw()?a():this.KF(function(){a()})};a.prototype.$0=function(){this.ce=this.BP();this.UP();this.Gb.requestPresent([{source:this.ce.canvas,attributes:{foveationLevel:3}}]).then(function(){this.Rf=this.ce;this.ce=q;this.Xu()&&this.Ps()}.bind(this))["catch"](function(){this.ce=q;this.cA()}.bind(this))};a.prototype.UP=function(){f.cm(this.ce.canvas)};a.prototype.Xu=function(){this.Gb.getFrameData(this.qg);
989if(!this.qg.pose||!this.qg.pose.orientation)return z;
990this.$m=this.Gb.getEyeParameters("left");this.Bz=this.Gb.getEyeParameters("right");var a=this.Gb.getLayers();this.Le=a&&a.length&&a[0]||q;return!this.Le?z:p};a.prototype.Ps=function(){this.JA();var a=this.qg.pose;this.Fg.orientation.fromArray(a&&a.orientation||l);this.Fg.position.fromArray(a&&a.position||r);this.vR()};a.prototype.JA=function(){this.ec.aB=q;this.ec.fj=this.$m.renderWidth*2;this.ec.di=this.$m.renderHeight;this.ec.iH=d.kf()?2048/this.ec.di:1};a.prototype.vR=function(){this.tf.position.fromArray(this.$m.offset);
991this.tf.orientation.fromArray(l);this.tf.projectionMatrix.fromArray(this.qg.leftProjectionMatrix);var a=this.Le.leftBounds&&this.Le.leftBounds.length==4?this.Le.leftBounds:o;this.tf.viewport.x=Math.round(this.ec.fj*a[0]);this.tf.viewport.y=Math.round(this.ec.di*a[1]);this.tf.viewport.width=Math.round(this.ec.fj*a[2]);this.tf.viewport.height=Math.round(this.ec.di*a[3]);this.xf.position.fromArray(this.Bz.offset);this.xf.orientation.fromArray(l);this.xf.projectionMatrix.fromArray(this.qg.rightProjectionMatrix);
992a=this.Le.rightBounds&&this.Le.rightBounds.length==4?this.Le.rightBounds:s;this.xf.viewport.x=Math.round(this.ec.fj*a[0]);this.xf.viewport.y=Math.round(this.ec.di*a[1]);this.xf.viewport.width=Math.round(this.ec.fj*a[2]);this.xf.viewport.height=Math.round(this.ec.di*a[3])};a.prototype.cA=function(){this.Rf=this.ce=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});
993define("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.Qs=this.LA=this.ai=this.Rf=q;this.iv="stopped";this.Aa=this.Aa.bind(this);this.HP=this.HP.bind(this);this.AP=this.AP.bind(this);this.N3=z;r.l7(function(){b(function(){this.N3=p}.bind(this))}.bind(this))});o.prototype.Sn=function(a){if(this.my())this.fia().then(function(b){b?
994a(p):a(z)})["catch"](function(){a(z)});else a(z)};o.prototype.dh=function(){this.iv=="stopped"&&this.xs(function(){this.XP(function(){this.CP(function(){this.iv=="stopped"&&setTimeout(function(){this.Oha()}.bind(this),200)}.bind(this))}.bind(this))}.bind(this))};o.prototype.Oha=function(){this.iv="starting";this.trigger(new e(d.W));f.zT(p);navigator.xr.requestSession("immersive-vr").then(function(a){this.ai=a;this.ai.addEventListener("end",this.HP);this.ai.addEventListener("select",this.AP);return this.ai.requestReferenceSpace("local")}.bind(this)).then(function(a){this.LA=
995a;this.Rf=this.BP();return this.Rf.makeXRCompatible()}.bind(this)).then(function(){l.cm(this.Rf.canvas);var a=XRWebGLLayer.getNativeFramebufferScaleFactor(this.ai),a=Math.max(a,1);g.J5()?a=a*1:g.kf()?a=a*1.42222:g.Xa()&&(a=a*o.Mv);this.Qs=new XRWebGLLayer(this.ai,this.Rf,{antialias:z,framebufferScaleFactor:a});this.ai.updateRenderState({baseLayer:this.Qs,depthNear:0.1,depthFar:2*h.Cf});this.JA();this.iv="started";f.YH(this.Aa,this.ai.cancelAnimationFrame.bind(this.ai));f.zT(z)}.bind(this))["catch"](function(){f.zT(z);
996this.S1();this.trigger(new e(d.W))}.bind(this))};o.prototype.Pd=function(){this.isPresenting()&&this.ai.end()};o.prototype.Aa=function(a){return this.ai.requestAnimationFrame(function(b,c){this.xR=c;this.Ps();a(b)}.bind(this))};o.prototype.isPresenting=function(){return this.iv!="stopped"};o.prototype.Xf=function(){return j.v8};o.prototype.$s=P("Rf");o.prototype.my=function(){return"xr"in navigator};o.prototype.fia=function(){return"isSessionSupported"in navigator.xr?navigator.xr.isSessionSupported("immersive-vr"):
997"supportsSession"in navigator.xr?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};o.prototype.xs=function(a){g.pd()==g.yt?this.N3?a():m.lw()?b(a):this.KF(function(){b(a)}):m.lw()?a():this.KF(function(){a()})};o.prototype.HP=function(){f.dT();this.S1();this.trigger(new e(d.W))};o.prototype.AP=function(){this.trigger(new e(d.Vk))};o.prototype.S1=function(){this.Qs=this.LA=this.ai=this.Rf=q;this.iv="stopped";l.cancel()};o.prototype.JA=function(){this.ec.aB=this.Qs.framebuffer;this.ec.fj=
998this.Qs.framebufferWidth;this.ec.di=(g.pd()==g.yt?2:1)*this.Qs.framebufferHeight;this.ec.iH=1};o.prototype.Ps=function(){var a=this.xR.getViewerPose(this.LA),b=a&&a.transform.orientation||s;this.Fg.orientation.set(b.x,b.y,b.z,b.w);b=a&&a.transform.position||t;this.Fg.position.set(b.x,b.y,b.z);for(var a=this.xR.getViewerPose(this.LA.getOffsetReferenceSpace(a.transform)),c=0;c<a.views.length;c++){var f=a.views[c],d;if(f.eye=="left")d=this.tf;else if(f.eye=="right")d=this.xf;else continue;b=f.transform.position;
999d.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.Qs.getViewport(f);d.viewport.x=f.x;d.viewport.y=f.y;d.viewport.width=f.width;d.viewport.height=f.height}var g=[];
999this.ai.inputSources.forEach(function(a){if(a.targetRayMode=="tracked-pointer"&&a.gamepad){var b=a.gamepad;if(!b.pose)b.tS=this.xR.getPose(a.targetRaySpace,this.LA);if(!b.hand)b.Ola=a.handedness;if(!b.id)b.Pla=b.mapping+" "+a.handedness;g.push(b)}}.bind(this));
1000this.Fg.lH=g};o.Mv=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});
1001define("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.Sn(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.qi=f.qi;u.k8=h;u.Fpa=m;u.available=Q(p);u.Tl=Q(q);u.pH=Q(q);u.isPresenting=Q(z);u.dh=function(){s=p};u.Pd=function(){s=z};u.vqa=Q(q);u.Gv=function(a){t.indexOf(a)<0&&t.push(a)};u.$S=function(a){a=
1002t.indexOf(a);a==-1||t.splice(a,1)};u.goa=function(a){k.Mv=a;r.Mv=a};u.lla=function(){return k.Mv};u.Xf=Q(q);u.uH=Q(q);u.log=function(){u.available()?u.Xf()?utils.log("VR: "+u.Xf()):utils.log("VR: not ready"):utils.log("VR: not available");utils.log("gyroscope: "+g.available)};a=d.browser()==d.oi&&!d.Xa()?[r,l,k]:d.J5()?[r,l]:j.Rn("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.Vk,function(){u.trigger(c.Vk)},u,p);u.available=Q(p);u.pH=function(){return a.pH()};
1003u.Tl=function(){return a.Tl()};u.isPresenting=function(){return a.isPresenting()};u.dh=function(){a.dh()};u.Pd=function(){a.Pd()};u.$s=function(){return a.$s()};u.Gv=function(b){a.Gv(b)};u.$S=function(b){a.$S(b)};u.Xf=function(){return a.Xf()};u.uH=function(){return a.uH()};t.forEach(function(b){a.Gv(b)});s&&a.dh()}else u.available=Q(z)});u.bind(c.W,function(){o.TH(u.isPresenting())},window,p);return u});
1004define("cz","require,jd,he,dT,R,bb".split(","),function(a){function b(a){this.lD=a;this.Jf=q;this.AK={};for(a=0;a<this.lD.buttons.length;a++)this.AK[this.lD.buttons[a]]=z;this.zK=0;this.up=q;this.ms=[new THREE.Quaternion,new THREE.Quaternion];this.ls=this.ms[0];this.Qf=[new THREE.Vector3,new THREE.Vector3];this.Wc=this.Qf[0]}function c(a,b,c){this.Kla=a;this.buttons=b;this.Ema=c}function e(){if(!(w||y==f.Qd)){y=f.Qd;var a,c=l.isPresenting()&&l.Tl();if(a=c&&c.lH&&c.lH.length?c.lH:navigator.getGamepads&&
1005navigator.getGamepads()){for(c=0;c<u.length;c++)u[c].A6(q);for(c=0;c<a.length;c++){var g=a[c];if(g&&(g.pose||g.tS)){var e=g.id||g.Pla,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].Kla)==0){m=t;break a}}m=n}m&&u.push(k=x[e]=new b(s[m]))}k&&x[e].A6(g)}}(a=v)&&!v.zS()&&(v=q);for(c=0;c<u.length;c++){k=u[c];if(k.zS()&&k.pressed()){v=k;break}}if(!v)for(c=0;c<u.length;c++){k=u[c];if(k.zS()){if(k.hand()==o){v=k;break}v||(v=k)}}a!=v&&h.DB(d)}}}function d(){t.trigger(k.W)}
1006function 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"]=
1007new 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",
1008"trigger","grip","menu","thumbpad"],"trigger");s.unknown=new c("",[],n);b.prototype.A6=function(a){if(this.Jf=a){this.zca=this.Jf.hand||this.Jf.Ola;if(this.Jf.pose){this.up=this.Jf.pose;if(this.up.orientation){this.ls=this.ms[0]==this.ls?this.ms[1]:this.ms[0];this.ls.fromArray(this.up.orientation)}if(this.up.position){this.Wc=this.Qf[0]==this.Wc?this.Qf[1]:this.Qf[0];this.Wc.fromArray(this.up.position)}else this.Wc=q}else if(this.Jf.tS){this.up=this.Jf.tS.transform;this.ls=this.ms[0]==this.ls?this.ms[1]:
1009this.ms[0];this.ls.copy(this.up.orientation);this.Wc=this.Qf[0]==this.Wc?this.Qf[1]:this.Qf[0];
1009this.Wc.copy(this.up.position)}for(var a=0,b=Math.min(this.Jf.buttons.length,this.Jf.buttons.length);a<b;a++)this.AK[this.lD.buttons[a]]=this.Jf.buttons[a].pressed;for(a=this.zK=0;a<this.Jf.buttons.length;a++)this.Jf.buttons[a].pressed&&this.zK++}};b.prototype.pulse=function(a,b){var c=this.Jf&&this.Jf.hapticActuators;(c=c&&c.length&&c[0])&&c.pulse&&c.pulse(a,b)};b.prototype.zS=function(){return!!this.Jf};
1010b.prototype.hand=P("zca");b.prototype.quaternion=P("ls");b.prototype.position=P("Wc");b.prototype.pressed=function(a){a||(a=this.lD.Ema);return!a?this.zK>0:this.AK[a]};var t=new m;t.all=function(){e();return u};t.HH=function(){e();return v};t.ra="left";t.Qa=o;var u=[],v=q,x={},y=n,A=q,w=URL.Pl("disable-controller",z);l.bind(k.W,j);j();return t});
1011define("cf",["require","el","a"],function(a){function b(a,b){this.Fd=a||new c(0,0,0);this.tg=b||new c(1,0,0)}var c=a("el"),e=a("a");b.prototype.clone=function(){return new b(this.Fd.clone(),this.tg.clone())};b.prototype.apply=function(a){a.Iv(this.Fd);a.Iv(this.tg)};b.prototype.vla=function(){return e.Yp(this.Fd,this.tg)};return b});
1012define("fc",["cf","el"],function(a,b){function c(a,b,c){this.R=a||100;this.ba=b||100;this.ma=c||Math.PI;this.bP=n;this.Yk=p}c.prototype.JB=function(a){this.ma!=a&&(this.ma=a,this.Yk=p)};c.prototype.Zp=P("ma");c.prototype.TB=function(a){this.R!=a&&(this.R=a,this.Yk=p)};c.prototype.Gc=P("R");c.prototype.B6=function(a){this.ba!=a&&(this.ba=a,this.Yk=p)};c.prototype.sd=P("ba");c.prototype.project=function(a){if(0!=a.z){this.C3();var b=1/a.z,c=this.bP*b;a.x=0.5*this.R-a.x*c;a.y=0.5*this.ba-a.y*c;a.z=b}};
1013c.prototype.unproject=function(c){this.C3();return new a(new b(0,0,0),new b(0.5*this.R-c.x,0.5*this.ba-c.y,this.bP))};c.prototype.C3=function(){this.Yk&&(this.bP=0.5*this.R/Math.tan(0.5*this.ma),this.Yk=z)};return c});
1014define("ji",["require"],function(){function a(){this.ad=this.pitch=this.Ja=0;this.Ne=this.Qc=90;this.XG=this.JR=this.height=this.width=100;this.QS=1;this.Hb=z;this.mh=0;this.JH=z;this.hw=this.AB=p;this.ah=this.Se=q;this.enabled=z;this.Qd=0}a.prototype.clone=function(){var b=new a;b.Ja=this.Ja;b.pitch=this.pitch;b.ad=this.ad;b.Qc=this.Qc;b.Ne=this.Ne;b.width=this.width;b.height=this.height;b.JR=this.JR;b.XG=this.XG;b.QS=this.QS;b.Hb=this.Hb;b.mh=this.mh;b.JH=this.JH;b.AB=this.AB;b.hw=this.hw;b.Se=
1015this.Se;b.ah=this.ah;b.enabled=this.enabled;b.Qd=this.Qd;return b};return a});
1016define("cr","require,jquery.mod,cI,jd,W,R,cX".split(","),function(a){function b(a){this.HT=a;this.element=document.createElement("div");this.LT=document.createElement("span");this.element.appendChild(this.LT);this.LT.innerHTML=a.text.split("<br>").join("\n").split("\n").map(e).join("<br>");this.ZG=z}function c(a){this.F=a;this.sA=g.throttle(this.sA.bind(this),100);this.tA=g.throttle(this.tA.bind(this),100);this.v=document.createElement("div");this.v.style.position="absolute";this.v.style.left=0;this.v.style.top=
10170;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.Dt=d(this.v);this.Ug=document.createElement("div");this.Ug.style.position="absolute";this.Ug.style.left=0;this.Ug.style.right=0;this.Ug.style.zIndex=1;this.Ug.style.cursor="inherit";this.v.appendChild(this.Ug);this.Kp=q;this.rv=[];this.Ee=[];this.yO={};this.Dv=k.cb;this.F.bind(j.ha("subtitlesEnabled"),this.IQ,this);c.YU.forEach(function(a){this.F.bind(j.ha(a),this.sA,this)}.bind(this));
1018c.ZU.forEach(function(a){this.F.bind(j.ha(a),this.tA,this)}.bind(this));this.IQ();this.sA();this.tA()}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.ET(q);if(this.F){this.F.unbind(j.ha("subtitlesEnabled"),this.IQ,this);c.YU.forEach(function(a){this.F.unbind(j.ha(a),this.sA,this)}.bind(this));c.ZU.forEach(function(a){this.F.unbind(j.ha(a),this.tA,this)}.bind(this));this.F=q}};c.prototype.kb=P("Dt");
1019c.prototype.ET=function(a){if(this.Kp!=a){this.Kp&&this.Kp.unbind(j.ha("activeSubtitles"),this.m_,this,p);(this.Kp=a)&&this.Kp.bind(j.ha("activeSubtitles"),this.m_,this,p)}};c.prototype.m_=function(){this.qha(this.Kp&&this.Kp.get("activeSubtitles")||[])};c.prototype.IQ=function(){this.Z=this.F.get("subtitlesEnabled");this.WQ()};c.prototype.sA=function(){this.Dv=this.Zx("subtitlesVerticalAlign",[k.eb,k.bc,k.cb],k.cb);this.Ug.style["text-align"]=this.Zx("subtitlesHorizontalAlign",[k.ra,k.Qa,k.tc],k.tc);
1020this.Ug.style.bottom=this.Dv==k.cb?this.kg("subtitlesBottom",0):"";this.Ug.style.top=this.Dv==k.eb?this.kg("subtitlesTop",0):this.Dv==k.bc?"50%":"";this.Ug.style.transform=this.Dv==k.bc?"translate(0, -50%)":"";this.WQ()};c.prototype.tA=function(){var a={};
1020a["background-color"]=this.LM("subtitlesBackgroundColor","subtitlesBackgroundOpacity");a.border=[this.kg("subtitlesBorderSize"),"solid",this.Ye("subtitlesBorderColor")].join(" ");a["box-shadow"]=this.Ye("subtitlesShadow",z)?[this.kg("subtitlesShadowHorizontalLength"),
1021this.kg("subtitlesShadowVerticalLength"),this.kg("subtitlesShadowBlurRadius"),this.LM("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";a.display="inline-block";a["font-family"]=m.Wp(this.Ye("subtitlesFontFamily"));a["font-size"]=this.kg("subtitlesFontSize");a.color=this.Ye("subtitlesFontColor");a["font-weight"]=this.Zx("subtitlesFontWeight",["bold","bolder","lighter","100","200","300","400","500","600","700","800","900","normal"],"normal");a["font-style"]=this.Zx("subtitlesFontStyle",
1022["italic","normal"],"normal");a["margin-bottom"]=this.kg("subtitlesGap");a.opacity=this.Ye("subtitlesOpacity");a["padding-top"]=this.kg("subtitlesPaddingTop");a["padding-bottom"]=this.kg("subtitlesPaddingBottom");a["padding-left"]=this.kg("subtitlesPaddingLeft");a["padding-right"]=this.kg("subtitlesPaddingRight");a.position="relative";a["text-align"]=this.Zx("subtitlesHorizontalAlign",["left","right","center"],"center");a["text-decoration"]=this.Ye("subtitlesTextDecoration",["underline","overline",
1023"line-through","none"],"none");a["text-shadow"]=[this.kg("subtitlesTextShadowHorizontalLength"),this.kg("subtitlesTextShadowVerticalLength"),this.kg("subtitlesTextShadowBlurRadius"),this.LM("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.yO=a;this.t9()};c.prototype.qha=function(a){this.rv=a;this.WQ()};c.prototype.WQ=function(){for(var a=this.Z?this.rv:[],c=this.Ee.length-1;c>=0;c--){var f=this.Ee[c];if(a.indexOf(f.HT)>=0)break;this.Ug.removeChild(f.element)}for(var d=
1024[],g=z;c>=0;c--){f=this.Ee[c];if(!f.ZG&&a.indexOf(f.HT)<0){f.ZG=p;f.element.style.visibility="hidden";g=p}d.splice(0,0,f)}g&&h.Aa(this.vX,this);this.Ee=d;var e=this.Ee.filter(function(a){return!a.ZG}).map(function(a){return a.HT});a.filter(function(a){return e.indexOf(a)<0}).forEach(function(a){a=new b(a);this.yW(a);this.Dv==k.cb&&this.Ee.length>0?this.Ug.insertBefore(a.element,this.Ee[this.Ee.length-1].element):this.Ug.appendChild(a.element);this.Ee.push(a)}.bind(this));this.v.style.display=this.Ee.length>
10250?"block":"none"};c.prototype.vX=function(a){for(var b=z,a=Math.round(200*a/1E3),c=0;c<this.Ee.length;c++){var f=this.Ee[c];if(f.ZG){b=p;if(a>=f.element.clientHeight){a=a-f.element.clientHeight;this.Ug.removeChild(f.element);this.Ee.splice(c,1);c--}else{f.element.style.height=f.element.clientHeight-a+"px";break}}}b&&h.Aa(this.vX,this)};c.prototype.t9=function(){this.Ee.forEach(this.yW.bind(this))};c.prototype.yW=function(a){for(var b in this.yO)a.LT.style[b]=this.yO[b]};c.prototype.Ye=function(a,
1026b){return this.F.get(a,b)};c.prototype.kg=function(a,b){var c=this.F.get(a,b);isNaN(c)||(c=Math.round(c)+"px");return c};c.prototype.Zx=function(a,b,c){a=this.F.get(a);return b.indexOf(a)<0?c:a};c.prototype.LM=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.YU=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];c.ZU=["subtitlesBackgroundColor",
1027"subtitlesBackgroundOpacity","subtitlesBorderColor","subtitlesBorderSize","subtitlesFontFamily","subtitlesFontColor","subtitlesFontSize","subtitlesFontStyle","subtitlesFontWeight","subtitlesGap","subtitlesOpacity","subtitlesPaddingTop","subtitlesPaddingBottom","subtitlesPaddingLeft","subtitlesPaddingRight","subtitlesShadow","subtitlesShadowBlurRadius","subtitlesShadowHorizontalLength","subtitlesShadowVerticalLength","subtitlesShadowColor","subtitlesTextDecoration","subtitlesTextShadowBlurRadius",
1028"subtitlesTextShadowColor","subtitlesTextShadowHorizontalLength","subtitlesTextShadowOpacity","subtitlesTextShadowVerticalLength"];var f=document.createElement("div");return c});
1029define("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.Qi=b;this.Qi.bind(EventName.ha("panorama"),this.gO,this);this.gO()});a.prototype.clear=function(){this.Qi&&(this.Qi.unbind(EventName.ha("panorama"),this.gO,this),this.Qi=q);c.prototype.clear.call(this)};a.prototype.gO=function(){this.ET(this.Qi.get("panorama"))};return a});
1030define("gP",["require","r"],function(a){var b=a("r"),a={},c=180/Math.PI,e=Math.PI/180;a.hj=function(a,b,c){return this.XA(a,b,c)};a.gm=function(a,b,c){return this.XA(a,c,b)};a.XA=function(a,b,j){return 2*Math.atan(j*Math.tan(0.5*a*e)/b)*c};a.wqa=function(a){return b.browser()==b.Ew?Math.max(a,20):a};return a});define("cs",["require"],function(){return{Mk:0,ra:1,Qa:2}});
1031define("gN",["require","eU"],function(a){function b(){this.status=b.uC;this.WS=this.jt=0;this.VS=[]}a("eU");b.LOADING="loading";b.O="loaded";b.uC="not loaded";return b});
1032define("gX","require,cI,hb,bI,jd,gE,gN".split(","),function(a){function b(){this.fY={};this.dc=[];this.cp=[];this.Dc={}}var c=a("cI"),e=a("hb");a("bI");var d=a("jd"),g=a("gE"),j=a("gN");b.prototype.KT=function(a){for(var a=a.Ek(),b=0,c=a.length;b<c;b++)if(this.Yx(a[b]).status!=j.O)return z;return p};b.prototype.Un=function(a,b){this.dc.push(a);this.X8(a,b)};b.prototype.mi=function(a,b){var d=c(this.dc).indexOf(a);d<0&&i("Unloading item not loaded");this.dc.splice(d,1);this.Tfa(a,b)};b.prototype.Cd=
1033function(a,b){return this.Dc[a].Cd(b)};b.prototype.X8=function(a,b){this.cp.push(a);for(var c=a.Ek(),f=0,d=c.length;f<d;f++){var g=c[f],e=this.Yx(g);e.jt++;e.VS.push(b);if(e.status==j.uC){e.status=j.LOADING;this.Fda(g,Math.min.apply(Math,e.VS))}}this.x3()};b.prototype.Tfa=function(a,b){this.cp=c(this.cp).without(a);for(var d=a.Ek(),f=0,g=d.length;f<g;f++){var e=d[f],o=this.Yx(e);o.jt--;var s=o.VS,t=s.indexOf(b);t>=0&&s.splice(t,1);if(o.jt==0&&o.status!=j.uC){o.status=j.uC;o.WS=0;this.Kia(e)}}};b.prototype.x3=
1034function(a){for(var a=(a==n?this.cp:this.RY(a)).slice(),b=0;b<a.length;b++){for(var d=a[b],f=d.Ek(),g=0,e=0,o=f.length,s=0;s<f.length;s++){var t=this.Yx(f[s]),g=g+t.WS;t.status==j.O&&e++}d.Rna(g/o);if(e==o){d.tT();this.cp=c(this.cp).without(d)}}};b.prototype.Yx=function(a){var b=this.fY[a];b||(this.fY[a]=b=new j);return b};b.prototype.RY=function(a){for(var b=[],d=0;d<this.cp.length;d++){var f=this.cp[d];c(f.Ek()).contains(a)&&b.push(f)}return b};b.prototype.Fda=function(a,b){var c=new g(b);this.Dc[a]=
1035c;c.bind(d.O,this.Vy,this,p);c.bind(d.kd,this.Wy,this,p);c.load(a)};b.prototype.Kia=function(a){var b=this.Dc[a];delete this.Dc[a];b.unbind(d.O,this.Vy,this);b.unbind(d.kd,this.Wy,this);b.cancel()};b.prototype.Vy=function(a){var a=a.source.Pe(),b=this.Yx(a);b.WS=100;b.status=j.O;this.x3(a)};b.prototype.Wy=function(a){for(var a=a.source.Pe(),b=this.RY(a),c=0;c<b.length;c++){var f=b[c];this.mi(f);f.una()}e.log("Error loading: "+a)};b.Zc=new b;return b.Zc});
1036define("iB",["require","gX","eF","r"],function(a){var b=a("gX"),c=a("eF"),e=a("r"),d={TN:n,Una:N("TN"),GL:n,rna:N("GL"),createTexture:function(){var a=new THREE.Texture;a.image=d.Zv();a.userData={};a.userData.e7={};return a},dka:function(a){a.image!=this.Zv()&&(a.image=this.Zv(),a.needsUpdate=p)},fI:function(a,b){b=this.Ika(b);a.generateMipmaps=this.e$(b);if(a.generateMipmaps)a.minFilter=THREE.LinearMipMapLinearFilter,!c.O5(b.width)||!c.O5(b.height)?(a.gl||(a.gl=document.createElement("canvas"),a.gl.qG=
1037p),a.image=a.gl,a.gl.Za=b,a.image.width=c.V4(b.width),a.image.height=c.V4(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.uB(b)&&c.Qoa(b)){a.Wj||(a.Wj=document.createElement("canvas"),a.fda=a.Wj.getContext("2d"),a.Wj.qG=p);var e=b.videoWidth;c.ij()&&(e=Math.min(3168,e));var h=e*b.videoHeight/b.videoWidth;if(a.Wj.width!=e||a.Wj.height!=h)a.Wj.width=e,a.Wj.height=h;b.readyState>=b.HAVE_CURRENT_DATA&&a.fda.drawImage(b,
10380,0,e,h);a.image=a.Wj}else a.image=b;a.gl&&a.image!=a.gl&&(d.dH(a.gl),delete a.gl);a.needsUpdate=p;if((e=d.lS(a))&&e.Fqa)e.needsUpdate=p;c.C5()},Ika:function(a){a?c.yS(a)?a=b.Cd(a,z):c.P5(a)?a=this.Zv():c.uB(a)&&!(a.readyState>=a.HAVE_CURRENT_DATA&&0<a.videoWidth&&0<a.videoHeight)&&(a=this.Zv()):a=this.Zv();return a},lka:function(a,b,d,e,m){var f=document.createElement("canvas");f.width=c.om();f.height=c.om();f.qG=p;var l=f.getContext("2d");if(!l)return q;l.drawImage(a,b,d,e,m,0,0,c.om(),c.om());
1039this.hH(f);return f},dH:function(a){c.H5(a)&&a.qG&&(delete a.qG,a.width=0,a.height=0)},dispose:function(a){a.Wj&&a.Wj!=a.image&&this.dH(a.Wj);a.image&&this.dH(a.image);a.dispose()},koa:function(a,b){a.userData.e7.material=b},lS:function(a){return a.userData.e7.material},Wja:function(a){return c.xS(a)},q4:function(a){c.yS(a)&&(a=b.Cd(a,z));c.xS(a)&&this.hH(a)},hH:function(a){var b=document.createElement("canvas");b.width=1;b.height=1;var c=b.getContext("2d");d.hH=function(a){c.drawImage(a,0,0,1,1,
10400,0,1,1)};return d.hH(a)},DL:q,Zv:function(){if(!this.DL){var a=document.createElement("canvas");a.width=128;a.height=128;a.getContext("2d").clearRect(0,0,a.width,a.height);this.DL=a}return this.DL},e$:function(a){if(c.hma(a)||c.H5(a))return z;if(e.Xa()){if(this.TN!==n)return this.TN}else if(this.GL!==n)return this.GL;return z}};return d});
1041define("bD",["require","eF","iB"],function(a){function b(a){this.YB=(a=c.K5(a))&&c.Jla();this.qB=a&&c.Ila();this.Up=0;this.Jl=n;this.UA=this.VA=0}var c=a("eF"),e=a("iB"),d={jS:function(a){return a.map||a.uniforms&&a.uniforms.texture&&a.uniforms.texture.value},Ck:function(a,b){a||(a=e.createTexture());b||(b=new d.uj);return b.Xma()?this.jka(a,b):this.aH(a)},aH:function(a){var b=new THREE.MeshBasicMaterial;b.map=a;this.zW(b);return b},jka:function(a,b){var c={uniforms:{},transparent:p};c.uniforms.texture=
1042{type:"sampler2D",value:a};a.flipY=!b.YB;c.vertexShader=["varying vec2 vUV;
1042\nvoid main() {","\tvUV = vec2( uv.x, "+(b.YB?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(b.qB||b.Up||b.Jl){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.Up){var f=
1043a.image.width,l=a.image.height,r=0.5*Math.min(f,l)*b.Up;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.Jl&&
1044(c.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(b.Jl.substr(1,2),16)/255,parseInt(b.Jl.substr(3,2),16)/255,parseInt(b.Jl.substr(5,2),16)/255)},c.uniforms.chromaThreshold={type:"f",value:b.VA},c.uniforms.chromaSmoothing={type:"f",value:b.UA},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("{")));
1045e=e.concat(["\tgl_FragColor = vec4(color"+(b.qB?".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.zW(c);return c},dispose:function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){var b=d.jS(a);b&&e.dispose(b);a.dispose()})},zW:function(a){a.side=THREE.DoubleSide;
1046a.transparent=p;a.depthTest=z;a.needsUpdate=p;a.userData={};a.userData.S5={};e.koa(d.jS(a),a)},xT:function(a,b){a.userData.S5.IS=b},O4:function(a){return a.userData.S5.IS}};b.prototype.Xma=function(){return this.YB||this.qB||this.Up||this.Jl};b.prototype.isEqual=function(a){return this.YB===a.YB&&this.qB===a.qB&&this.Up===a.Up&&this.Jl===a.Jl&&this.VA===a.VA&&this.UA===a.UA};d.uj=b;return d});
1047define("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.Wn={};d.userData.Wn.attributes={};b(c).forEach(function(a){e.xT(a,d)});return d},hka:function(a){var b=new THREE.Group;d.forEach(a,function(a){b.add(a)});return b},wT:function(a,c){b(c).forEach(function(a){e.xT(a,q)});e.dispose(a.material);a.material=c;b(c).forEach(function(b){e.xT(b,a)})},
1048$p:function(a){return b(a.material)},ila:function(a,b){if(a.layers.mask&b.layers.mask){var e=d.$p(a);return c.hla(a.geometry,b,a.matrixWorld).map(function(a){return e[a]})}return[]},fS:function(a,b){var k=[];d.Bf(a,function(a){var g=d.$p(a);b.forEach(function(b){var d=c.cla(a.geometry,a.matrixWorld,b);if(d){var j=e.jS(g[d.materialIndex]),b=j.image;b==j.gl&&(b=j.gl.Za);j=Math.round(d.Ioa*b.width-0.5);j=0>j?0:j>b.width-1?b.width-1:j;d=Math.round((1-d.Poa)*b.height-0.5);d=0>d?0:d>b.height-1?b.height-
10491:d;k.push({x:j,y:d,source:b})}})});return k},Q6:function(a,b){d.forEach(a,function(a){b?b.add(a):a.parent&&a.parent.remove(a)})},vt:"panoramaId",wt:"panoramaFrameId",WT:"panoramaOverlayId",kI:"levelIndex",setAttribute:function(a,b,c){d.Bf(a,function(a){a.userData.Wn.attributes[b]=c})},getAttribute:function(a,b){return a.userData.Wn.attributes[b]},v4:function(a,b,c){for(var d=[],e=0,f=a.length;e<f;e++){var l=a[e];l.userData.Wn.attributes[b]!==c&&d.push(l)}return d},fH:function(a,b,c){for(var d=[],
1050e=0,f=a.length;e<f;e++){var l=a[e];l.userData.Wn.attributes[b]===c&&d.push(l)}return d},g5:function(a,b){for(var c={},d=0,e=a.length;d<e;d++){var f=a[d],l=f.userData.Wn.attributes[b];l!==n&&(c[l]||(c[l]=[])).push(f)}return c}
1050,WR:function(a){a=a.userData.Wn.alpha;return a===n?1:a},bd:function(a,b){d.Bf(a,function(a){a.userData.Wn.alpha=b;d.$p(a).forEach(function(a){a.opacity=b;"ShaderMaterial"==a.type&&a.uniforms&&a.uniforms.opacity&&(a.uniforms.opacity.value=b)})})},Ml:function(a,b){d.Bf(a,function(a){a.matrix.copy(b);
1051a.matrixWorldNeedsUpdate=p})},e5:function(a){return a.renderOrder},FT:function(a,b){d.forEach(a,function(a){a.renderOrder=b})},dispose:function(a){d.Bf(a,function(a){a.geometry&&(a.geometry.dispose(),a.geometry=n);a.material&&(e.dispose(a.material),a.material=n)})},Ul:function(a){var b=[];d.Bf(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)},Bf:function(a,b){if(Array.isArray(a))for(var c=0,e=a.length;c<e;c++)d.Bf(a[c],
1052b);else if(a&&a.children){c=0;for(e=a.children.length;c<e;c++)d.Bf(a.children[c],b)}a&&a.isObject3D&&a.isMesh&&b(a)}};return d});define("H",["require","cP"],function(a){var b=a("cP");return{Ul:function(a){var e=[];a.children&&a.children.forEach(function(a){b.Bf(a,function(a){a.userData&&a.userData.Wn&&e.push(a)})});return e},pT:function(a,b){a.userData.WG=b},YR:function(a){return a.userData.WG||[]},Vv:function(a){return a.userData.WG&&0<a.userData.WG.length&&a.userData.WG[0]||q}}});
1053define("T","require,bb,r,cs,H,eF".split(","),function(a){function b(){if(e.Xa()){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/
1054Math.PI;return{U7: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.pT(f,[c]);a.setPixelRatio(b())};this.stop=D();this.fov=function(){return c.fov};this.ST=D();this.ah=function(){return c};this.render=function(b,f,d){a.setRenderTarget(f);d&&a.clear();a.render(b,c)}},r8:function(a,b){var f,e,j,o,s=new THREE.Vector2,t=new THREE.PerspectiveCamera;t.layers.enable(d.ra);var u=new THREE.PerspectiveCamera;u.layers.enable(d.Qa);this.start=function(b){a.getSize(s);
1055f=a.getPixelRatio();e=s.width;j=s.height;o=a.getContext().getParameter(a.getContext().FRAMEBUFFER_BINDING);var d=c.pH();d.aB&&a.getContext().bindFramebuffer(a.getContext().FRAMEBUFFER,d.aB);a.setClearColor(0,1);a.setDrawingBufferSize(d.fj,d.di,d.iH);g.pT(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.ah=function(){return u};this.ST=
1056function(){b.updateProjectionMatrix();b.updateMatrixWorld();c.Tl().views.forEach(function(a){var f=a.eye==c.qi.ra?t:a.eye==c.qi.Qa?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);
1057a.setScissorTest(p)}(a.autoClear||d)&&a.clear();c.Tl().views.forEach(function(d){var e=d.eye==c.qi.ra?t:d.eye==c.qi.Qa?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,
1058s.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}},l8:function(a,c){var f,e,k=1,o=new THREE.CubeCamera(0.1,1E4,1024);o.layers.enable(d.Mk);o.layers.enable(d.ra);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";
1059s.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.ot=function(a){k=a};this.setSize=
1060function(b,c){if(f!=b||e!=c)a.setSize(f=b,e=c)};this.start=function(f){f.add(t);f.add(o);
1060f.traverse(function(a){if(a.layers.test(o.layers)){a.userData.BS=a.layers.mask;a.layers.mask=o.layers.mask}});o.visible=p;t.visible=p;g.pT(f,[c]);a.setClearColor(16777215,1);a.setPixelRatio(b())};this.stop=function(b){a.setClearColor(0,0);b.traverse(function(a){if(a.userData.BS!==n){a.layers.mask=a.userData.BS;delete a.userData.BS}});o.visible=z;t.visible=z;b.remove(t);b.remove(o)};this.fov=function(){return c.fov};
1061this.ST=function(){if(k>0){t.matrix.copy(c.matrixWorld);t.matrix.multiply(u.makeTranslation(0,0,-k*5));t.matrixWorldNeedsUpdate=p}};this.ah=function(){return c};var v=0;this.render=function(b,f,d){if(k>0){v++;if(!j.Sla()||v%10==0){j.lna();t.visible=z;o.update(a,b);t.visible=p}}a.setRenderTarget(f);d&&a.clear();a.render(b,c)}}}});
1062define("k",["require"],function(){function a(a,b){this.g=a;this.B1=b;this.yz=new THREE.CustomRenderPass(b);this.TF=new THREE.SavePass;this.vo=new THREE.ShaderPass(THREE.r7,"tDiffuse1");this.vo.uniforms.tDiffuse2.value=this.TF.renderTarget.texture;this.vo.uniforms.mixRatio.value=0.8;this.B0=new THREE.ShaderPass(THREE.CopyShader);this.B0.gq=p;this.nr=new THREE.EffectComposer(a);this.nr.addPass(this.yz);this.nr.addPass(this.vo);this.nr.addPass(this.TF);this.nr.addPass(this.B0);this.UK=this.VK=this.gn=
1063n;this.J6(z)}var b=new THREE.Vector2;a.prototype.destroy=function(){this.nr=this.vo=this.TF=this.yz=this.B1=this.g=q};a.prototype.J6=function(a){if(this.gn!==a){this.gn=a;this.yz.gq=!this.gn;this.vo.gq=this.gn;this.TF.enabled=this.gn;if(this.vo.enabled=this.gn)this.vo.uniforms.mixRatio.value=0;this.mM=3}};a.prototype.render=function(a,e){if(this.gn){this.g.getSize(b);
1063if(this.VK!==b.width||this.UK!==b.height)this.VK=b.width,this.UK=b.height,this.nr.setSize(this.VK,this.UK);this.yz.eT=a;this.yz.ah=
1064e;this.gn&&0<this.mM&&(this.mM--,0===this.mM&&(this.vo.uniforms.mixRatio.value=0.65));this.nr.render()}else this.B1(this.g,a,e,q,z)};THREE.r7={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}"};
1065THREE.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.bm=a;if(b===n){var d={minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,
1066format:THREE.RGBAFormat,stencilBuffer:z},g=a.getSize(new THREE.Vector2);this.pk=a.getPixelRatio();this.R=g.width;this.ba=g.height;b=new THREE.WebGLRenderTarget(this.R*this.pk,this.ba*this.pk,d);b.texture.name="EffectComposer.rt1"}else this.pk=1,this.R=b.width,this.ba=b.height;this.sw=b;this.tw=b.clone();this.tw.texture.name="EffectComposer.rt2";this.aC=this.sw;this.BB=this.tw;this.gq=p;this.dq=[];THREE.CopyShader===n&&console.error("THREE.EffectComposer relies on THREE.CopyShader");THREE.ShaderPass===
1067n&&console.error("THREE.EffectComposer relies on THREE.ShaderPass");this.gka=new THREE.ShaderPass(THREE.CopyShader);this.eka=new THREE.Clock};Object.assign(THREE.EffectComposer.prototype,{swapBuffers:function(){var a=this.BB;this.BB=this.aC;this.aC=a},addPass:function(a){this.dq.push(a);a.setSize(this.R*this.pk,this.ba*this.pk)},insertPass:function(a,b){this.dq.splice(b,0,a)},Zla:function(a){for(a+=1;a<this.dq.length;a++)if(this.dq[a].enabled)return z;return p},render:function(a){a===n&&(a=this.eka.getDelta());
1068var b=this.bm.getRenderTarget(),d=z,g,j,k=this.dq.length;for(j=0;j<k;j++)if(g=this.dq[j],g.enabled!==z){g.gq=this.gq&&this.Zla(j);g.render(this.bm,this.aC,this.BB,a,d);if(g.NS){if(d){var h=this.bm.getContext(),m=this.bm.state.buffers.stencil;m.setFunc(h.NOTEQUAL,1,4294967295);this.gka.render(this.bm,this.aC,this.BB,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.bm.setRenderTarget(b)},reset:function(a){a===
1069n&&(a=this.bm.getSize(new THREE.Vector2),this.pk=this.bm.getPixelRatio(),this.R=a.width,this.ba=a.height,a=this.sw.clone(),a.setSize(this.R*this.pk,this.ba*this.pk));this.sw.dispose();this.tw.dispose();this.sw=a;this.tw=a.clone();this.aC=this.sw;this.BB=this.tw},setSize:function(a,b){this.R=a;this.ba=b;var d=this.R*this.pk,g=this.ba*this.pk;this.sw.setSize(d,g);this.tw.setSize(d,g);for(var j=0;j<this.dq.length;j++)this.dq[j].setSize(d,g)},setPixelRatio:function(a){this.pk=a;this.setSize(this.R,this.ba)}});
1070THREE.Pass=function(){this.NS=this.enabled=p;this.gq=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.GE=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.GE.material},set:function(a){this.GE.material=a}});
1071Object.assign(a.prototype,{dispose:function(){this.GE.geometry.dispose()},render:function(a){a.render(this.GE,b)}});return a}();THREE.CustomRenderPass=function(a){THREE.Pass.call(this);this.Tma=a;this.ah=this.eT=q;this.clear=p;this.NS=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.Tma(a,this.eT,this.ah,this.gq?q:d,this.clear);a.autoClear=b}});THREE.ShaderPass=
1072function(a,b){THREE.Pass.call(this);this.UB=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.kH=new THREE.Pass.FullScreenQuad(this.material)};THREE.ShaderPass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.ShaderPass,
1073render:function(a,b,d){this.uniforms[this.UB]&&(this.uniforms[this.UB].value=d.texture);this.kH.material=this.material;this.gq?a.setRenderTarget(q):(a.setRenderTarget(b),this.clear&&a.clear(a.bqa,a.cqa,a.dqa));this.kH.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.UB="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(b.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,
1074vertexShader: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.NS=z;this.kH=new THREE.Pass.FullScreenQuad(this.material)};THREE.SavePass.prototype=Object.assign(Object.create(THREE.Pass.prototype),{constructor:THREE.SavePass,
1075render:function(a,b,d){this.uniforms[this.UB]&&(this.uniforms[this.UB].value=d.texture);a.setRenderTarget(this.renderTarget);this.clear&&a.clear();this.kH.render(a)}});return a});
1076define("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.Tc=new THREE.PerspectiveCamera(90,16/9,0.1,2*k.Cf);this.Tc.layers.enable(g.ra);this.sD=new THREE.PerspectiveCamera;this.ev=new THREE.Scene;window.eT=this.ev;window.Cpa=THREE;this.ev.add(this.Tc);this.g=q;this.Au=n;this.js=this.qf=this.bQ=this.rR=this.qP=q}var c=a("jquery.mod"),e=a("gP"),d=a("iu"),
1077g=a("cs"),j=a("T"),k=a("eq"),h=a("k"),m=a("eF"),f=a("bb");b.prototype.Vv=P("sD");b.prototype.Kka=function(){return this.qf.fov(this.Tc)};b.prototype.getPixelRatio=function(){return this.g.getPixelRatio()};b.prototype.kb=P("v");b.prototype.Nka=function(){return this.g?this.g.domElement.width:this.v.width()};b.prototype.Mka=function(){return this.g?this.g.domElement.height:this.v.height()};b.prototype.update=function(a){this.ija(a);this.Wia(a);this.Qia(a);this.gja(a)};b.prototype.render=function(){this.Yu()};
1078b.prototype.ija=function(a){if(a.enabled){this.Au=(new Date).getTime();this.g||this.vha(a)}};b.prototype.vha=function(a){if(!this.g&&a.enabled){l++;var b=this.kb().get(0),c={precision:"mediump",alpha:p};if(l==1&&a.Hb){a=f.$s();c.context=a;c.canvas=a.canvas}else{c.canvas=document.createElement("canvas");c.context=m.n4(c.canvas)}this.g=new THREE.WebGLRenderer(c);this.g.setClearColor(0,0);b.appendChild(this.g.domElement);this.js=new h(this.g,function(a,b,c,f,d){this.qf.render(b,f,d)}.bind(this));this.bQ=
1079new j.U7(this.g,this.Tc);this.F2=new j.l8(this.g,this.Tc);this.rR=new j.r8(this.g,this.Tc);f.Gv(this.g.getContext());this.qP=setInterval(this.eia.bind(this),1E3)}};b.prototype.eia=function(){(new Date).getTime()>this.Au+2E3&&this.u$()};b.prototype.u$=function(){if(!this.g){l--;clearInterval(this.qP);this.qf=this.bQ=this.rR=this.qP=q;this.js.destroy();this.js=q;f.Xqa(this.g.domElement);this.kb().get(0).removeChild(this.g.domElement);this.g.dispose();this.g=q}};b.prototype.Qia=function(a){this.Tc.quaternion.copy(d.z4(a.Ja,
1080a.pitch,a.ad));this.Tc.fov=e.hj(a.Qc,a.width,a.height);this.Tc.aspect=a.width/a.height;this.Tc.updateProjectionMatrix();this.Tc.updateMatrixWorld();this.qf&&this.qf.ST();this.qf&&this.sD.copy(this.qf.ah());this.sD.updateProjectionMatrix();this.sD.updateMatrixWorld()};b.prototype.Wia=function(a){var b=a.Hb?this.rR:a.mh>0?this.F2:this.bQ;if(this.qf!=b){this.qf&&this.qf.stop(this.ev);(this.qf=b)&&this.qf.start(this.ev)}if(this.qf){this.qf.setSize(a.width,a.height);this.qf==this.F2&&this.qf.ot(a.mh)}};
1081b.prototype.gja=function(a){this.js&&this.js.J6(a.JH)};b.prototype.Yu=function(){this.js&&this.js.render(this.ev,this.Tc)};var l=0;return b});
1082define("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.sb=q;this.Qb=[];this.HG=z;this.Qy=q;this.Ih=[this];this.Dl={};this.Yk={};this.dy=z;this.fP={};this.gP={};this.Wk(["blendingActive"]);this.Q8();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)});
1083a.prototype.Q8=function(){var a="alpha,deltaYaw,deltaPitch,deltaRoll,translationX,translationY,translationZ".split(",");Array.isArray(a)||(a=[a]);a.forEach(function(a){this.fP[a]=p}.bind(this))};a.prototype.Wk=function(a){Array.isArray(a)||(a=[a]);a.forEach(function(a){this.gP[a]=p}.bind(this))};a.prototype.set=function(a,b){this.Dl[a]!==b&&(this.gP[a]&&this.Qb.forEach(function(c){c.set(a,b)}),this.k9(a,b),this.JP(a))};a.prototype.get=function(a){return this.Dl[a]};a.prototype.JP=function(a){this.Yk[a]||
1084(this.Yk[a]=p,this.dy||(this.dy=p,this.Lb()),this.fP[a]&&this.Qb.forEach(function(b){b.JP(a)}))};a.prototype.x$=function(){this.dy&&(this.dy=z,this.Yk={})};a.prototype.D=function(){if(this.dy)for(var a=0;a<arguments.length;a++)if(this.Yk[arguments[a]])return p;return z};a.prototype.k9=function(a,b){this.Dl[a]=b};a.prototype.Oa=P("Qb");a.prototype.mj=function(a){for(var b=a||[],c=this.Qb.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)}),
1085e=b.filter(function(a){return-1==c.indexOf(a)}),this.Qb=b,a.forEach(function(a){a.$F(q)}),e.forEach(function(a){a.remove();a.$F(this)}.bind(this)),this.Lb())};a.prototype.$F=function(a){this.P!=a&&(this.P&&this.Sh(),(this.P=a)&&this.Ej(),this.OP(this.P&&this.P.sb))};a.prototype.Ej=function(){for(var a in this.P.fP)this.JP(a);for(a in this.P.gP)this.set(a,this.P.get(a))};a.prototype.Sh=D();a.prototype.OP=function(a){this.sb!=a&&(a||this.Zb(),(this.sb=a)&&this.Xb(),this.Qb.forEach(function(a){a.OP(this.sb)}.bind(this)))};
1086a.prototype.Xb=function(){this.f9()};a.prototype.Zb=function(){this.Pfa()};a.prototype.f9=function(){this.Ih.forEach(function(a){this.sb.Qy.add(a,this)}.bind(this))};a.prototype.Pfa=function(){this.Ih.forEach(function(a){this.sb.Qy.remove(a,this)}.bind(this))};a.prototype.dj=function(){this.P&&this.P.ER(this)};a.prototype.ER=function(a){var b=this.Qb.indexOf(a);-1==b&&i("Child not found");b!=this.Qb.length-1&&(this.Qb.splice(b,1),this.Qb.push(a),this.Lb())};a.prototype.zka=function(a){var b=this.Qb.indexOf(a);
1087-1==b&&i("Child not found");this.Qb.splice(b,1);a.$F(q);this.Lb()};a.prototype.appendChild=function(a){a.remove();this.Qb.push(a);a.$F(this);this.Lb()};a.prototype.remove=function(){this.P&&this.P.zka(this)};a.prototype.oj=D();a.prototype.Lb=function(){this.HG||(this.HG=p,this.P&&this.P.Lb(this))};a.prototype.C$=function(){this.HG=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")&&
1088(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")+
1089(this.P?this.P.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.P?this.P.get("composedDeltaRoll"):0)),e.C5())};return a});
1090define("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).Ija;return a===n?p:a}function d(a){a=g(a).Sja;return a===n?z:a}function g(a){return a.userData.qma||(a.userData.qma={})}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.RN=z});a.prototype.update=function(a){var b=a.Hb&&this.k&&!this.k.Hb;
1091this.k=a.clone();this.RN||(b?this.Lca():this.bja())};a.prototype.bja=function(){var a=z,g=f.YR(this.k.Se),h=f.Ul(this.k.Se);m.fH(h,m.wt,n).forEach(function(c){var f=b(g,c)&&m.WR(c)>0&&e(c);if(c.visible!=f){c.visible=f;a=p}});var h=m.v4(h,m.wt,n),h=m.g5(h,m.vt),j;for(j in h){var t=h[j],u=g.map(Q(z));t.sort(function(a,b){return m.e5(b)-m.e5(a)});var v=t.some(d);t.forEach(function(f){var d=b(g,f)&&m.WR(f)>0&&e(f)&&(!v||c(f));if(d){for(var d=p,h=v||c(f)&&m.WR(f)>0.999,k=0;k<g.length;k++)if(f.layers.mask&
1092g[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.Lca=function(){this.RN=p;f.Ul(this.k.Se).forEach(function(a){a.visible=z});setTimeout(function(){this.RN=z;this.update(this.k)}.bind(this),300);this.trigger(k.W)};a.tT=function(a,b){g(a).loaded=b};a.setActive=function(a,b){g(a).Ija=b};a.fna=function(a,b){m.Bf(a,function(a){g(a).Sja=b})};return a});
1093define("gA","require,hb,jd,eU,dT,hS,bD,cP,H,r".split(","),function(a){function b(a){return(a=a.userData.sj)&&!(!a.JS&&!a.GS)}function c(a){return a.userData.sj||(a.userData.sj={})}function e(a){return c(a).st}function d(a){return c(a).enabled||z}
1093function g(a){return!e(a).DS()}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.Cu=[];this.bp=[];this.Jt=[];this.k=n;this.Bl=q;this.Bv=this.Bv.bind(this)});s.prototype.update=
1094function(a){this.k=a.clone();this.Lia()?this.Bv():this.y3()};s.prototype.y3=function(){if(!this.Bl)this.Bl=setTimeout(this.Bv,1E3)};var t=Math.PI/180;s.prototype.Lia=function(){var a=this.k.mh>0?1E3:this.k.XG/Math.tan(Math.min(this.k.Ne*0.5,89.99)*t),f=r.YR(this.k.Se),e=r.Ul(this.k.Se).filter(b),g=e.filter(d),h={},h=l.v4(g,l.wt,n),h=l.g5(h,l.wt);h.none=l.fH(g,l.wt,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).JS||s.rC)==s.lm&&g.push(K)}for(var I=0,L=f.length;I<L;I++){var M=
1095f[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).JS||s.rC)==s.rC){var H=c(K).xma*90;if(H<a&&H>R){G=K;R=H}else if(H>=a&&H<O){E=K;O=H}}}if(this.k.Hb&&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.Jt;f=g;for(k=0;k<a.length;k++)if(f.indexOf(a[k])<0){a=z;break a}for(k=
10960;k<f.length;k++)if(a.indexOf(f[k])<0){a=z;break a}a=p}a=!a;this.Jt=g;o=0;for(u=e.length;o<u;o++){K=e[o];d(K)&&m.setActive(K,this.Jt.indexOf(K)>=0)}return a};s.prototype.Bv=function(){this.Bl=q;for(var a=[],b=[],f=[],d=(new Date).getTime()-u,e=r.YR(this.k.Se),h=r.Ul(this.k.Se),m=0,j=h.length;m<j;m++){var o=h[m],t=o.userData.sj;if(t){var I=l.$p(o);if(t.enabled){var L=[];if(this.Jt.indexOf(o)>=0){if(this.k.mh>0||(c(o).GS||s.gJ)==s.Rk)L=I;else for(var M=0,G=e.length;M<G;M++){var R=l.ila(o,e[M]);if(M==
10970)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.sj||(H.userData.sj={})).Q5=d}}this.lK(o,L);E=0;for(O=t.Hk.length;E<O;E++)a.push(t.Hk[E]);E=0;for(O=t.Zn.length;E<O;E++)b.push(t.Zn[E])}else{t.Zn||this.lK(o,[]);E=0;for(O=t.Zn.length;E<O;E++){H=t.Zn[E];t.Hk.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.bp.length;E<O;E++){H=this.bp[E];f.indexOf(H)<0?H.userData.sj.st.unload():g(H)?this.MP(H,
1098z):m.push(H)}this.bp=m;E=Math.max(s.T5(),Math.round(b.length*1.25))-a.length;if(this.bp.length>E){this.bp.sort(function(a,b){return c(a).Q5-c(b).Q5});m=this.bp.splice(0,this.bp.length-E);E=0;for(O=m.length;E<O;E++){H=m[E];H.userData.sj.st.unload();this.MP(H,z)}}b=[];m=0;for(j=this.Jt.length;m<j;m++){o=this.Jt[m];t=o.userData.sj;t.Hk.length>0&&b.push(o)}f=Number.POSITIVE_INFINITY;m=0;for(j=b.length;m<j;m++){o=b[m];t=o.userData.sj;E=t.Qe;E=E!==n?E:Number.POSITIVE_INFINITY;E<f&&(f=E)}a=[];m=0;for(j=
1099b.length;m<j;m++){o=b[m];t=o.userData.sj;E=t.Qe;E=E!==n?E:Number.POSITIVE_INFINITY;if(E==f){R=t.Hk;E=0;for(O=R.length;E<O;E++){H=R[E];a.push(H)}}}E=0;for(O=this.Cu.length;E<O;E++){H=this.Cu[E];if(a.indexOf(H)<0){H=H.userData.sj.st;H.unbind(k.O,this.rQ,this,p);H.unbind(k.kd,this.sQ,this,p);H.$ja()}}m=this.Cu;this.Cu=a;j=this.Cu.slice();E=0;for(O=j.length;E<O;E++){H=j[E];if(m.indexOf(H)<0){H=H.userData.sj.st;H.bind(k.O,this.rQ,this,p);H.bind(k.kd,this.sQ,this,p);H.load()}}};s.prototype.rQ=function(a){this.S2(a.source);
1100this.trigger(k.O)};s.prototype.sQ=function(a){this.S2(a.source)};s.prototype.S2=function(a){a.unbind(k.O,this.rQ,this,p);a.unbind(k.kd,this.sQ,this,p);var b=a.material(),f=this.Cu,d=f.indexOf(b);d>=0&&f.splice(d,1);this.bp.push(b);this.MP(b,p);a=a.IS();c(a).Hk.indexOf(b)>=0&&this.lK(a,c(a).Zn);this.y3()};s.prototype.lK=function(a,b){var f=c(a).Zn,f=f?f.length:n,d=c(a).Hk,d=d?d.length:n;c(a).Zn=b;c(a).Hk=b.filter(g);m.tT(a,c(a).Hk.length==0&&(c(a).GS||s.gJ)==s.Rk);var e=c(a).Zn,e=e?e.length:n,h=c(a).Hk,
1101h=h?h.length:n;if(d!==h||f!==e)a.dispatchEvent({type:k.cc,jh:e?100-100*h/e:100});d!==h&&h===0&&a.dispatchEvent({type:k.O})};s.prototype.MP=function(a,c){if(c!=a.visible){var d=f.O4(a),g=l.getAttribute(d,l.vt),h=l.getAttribute(d,l.kI);if(g===n||h===n)a.visible=c;else{for(var k=r.Ul(this.k.Se).filter(b),g=l.fH(k,l.vt,g),h=l.fH(g,l.kI,h),m=l.$p(d).indexOf(a),d=h.map(function(a){return l.$p(a)[m]}),h=c,g=0;g<d.length&&h;g++)h=h&&e(d[g]).DS();for(g=0;g<d.length;g++)d[g].visible=h}}};s.T5=function(){var a;
1102if(o.Xa()){o.Ed();a=384}else a=1536;a=128;s.T5=function(){return a};return a};s.se=function(a,b){l.Bf(a,function(a){c(a).enabled=b})};s.enabled=d;s.RB=function(a,b){l.Bf(a,function(a){c(a).xma=b})};s.Rk="all";s.gJ="in view";s.kq=function(a,b){l.Bf(a,function(a){c(a).GS=b})};s.lm="always";s.rC="on demand";s.lq=function(a,b){l.Bf(a,function(a){c(a).JS=b})};s.XH=function(a,b){l.Bf(a,function(a){c(a).Qe=b})};s.OB=function(a,b){l.Bf(a,function(a){c(a).Mqa=b;
1102l.$p(a).forEach(function(a){e(a).Qna(b)})})};
1103s.Iqa=function(a){return 100-100*c(a).Hk.length/c(a).Zn.length};s.Hqa=function(a){return c(a).Hk.length==0};s.fm=function(a,b){(c(a).st=b)&&(a.visible=b.DS())};s.st=e;var u=(new Date).getTime();return s});
1104define("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.Zk=function(){return[]};a.prototype.Zb=function(){e.dispose(this.get("meshGroup"));e.Q6(this.get("meshGroup"),q);this.set("meshGroup",q);c.prototype.Zb.call(this)};a.prototype.M=function(a){c.prototype.M.call(this,
1105a);this.set("camera",d.Vv(a.Se));this.set("webglScene",a.Se);if(!this.get("meshGroup")){this.set("meshGroup",e.hka(this.Zk()));this.get("meshGroup").userData.Rqa=this}this.D("webglScene","meshGroup")&&e.Q6(this.get("meshGroup"),this.get("webglScene"));this.Fn();this.Cv(a);this.$Q();this.D("loadingActive","meshGroup")&&g.se(this.get("meshGroup"),this.get("loadingActive"));this.D("blendingActive","meshGroup")&&j.fna(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.Fn=function(){this.D("composedAlpha",
1106"meshGroup")&&this.Yq()};a.prototype.Yq=function(){e.bd(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.Cv=function(){i("Must be overridden in descendants.")};a.prototype.$Q=function(){if(this.D("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b,c){e.FT(a,this.get("index")+b/c.length)}.bind(this))}};return a});
1107define("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.hf=n;this.zl=j.createTexture();this.k=k.Xw;this.By=e.Sk});k.prototype.type=P("hf");k.prototype.texture=P("zl");k.prototype.material=function(){return this.zl&&j.lS(this.zl)};k.prototype.IS=function(){var a=this.zl&&j.lS(this.zl);return a&&g.O4(a)};k.prototype.Qna=N("By");k.prototype.load=function(){if(this.k==k.Xw){this.k=k.yC;this.tK()}};
1108k.prototype.$ja=function(){if(this.mma()){this.k==k.yC?this.oG():this.Xz();this.k=k.Xw}};k.prototype.unload=function(){if(this.k!=k.Xw){this.k==k.yC?this.oG():this.k==k.vJ?this.Xz():this.Sp();this.k=k.Xw}};k.prototype.tK=D();k.prototype.oG=D();k.prototype.rK=D();k.prototype.Xz=D();k.prototype.Sp=function(){j.dka(this.texture)};k.prototype.mma=function(){return this.k==k.yC||this.k==k.vJ};k.prototype.DS=function(){return this.k==k.uJ||this.k==k.kV};k.prototype.dispose=function(){j.dispose(this.zl);
1109this.zl=q};k.prototype.Hu=function(a){this.k=a?k.vJ:k.kV;a?this.rK():this.trigger(c.kd)};k.prototype.n_=function(){this.k=k.uJ;this.trigger(c.O)};k.Xw="initial";k.yC="loading";k.vJ="adding";k.kV="error loading";k.uJ="added";k.n8="custom";k.o8="image tile";k.Dpa="image animation";k.Epa="video 360";return k});
1110define("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.hf=j.n8;this.Bb=a;if(!this.Bb)this.k=j.uJ;this.He=this.zd=q});a.prototype.xg=function(a){this.He=a;g.fI(this.zl,this.He)};a.prototype.Cd=function(){return d.Cd(this.Bb)};a.prototype.update=function(){g.fI(this.zl,this.He)};a.prototype.tK=function(){this.Bb?this.jL():this.Hu(p)};a.prototype.oG=function(){this.Lm()};a.prototype.rK=
1111function(){this.n_()};a.prototype.Sp=function(){this.Lm()};a.prototype.dispose=function(){this.Lm();j.prototype.dispose.call(this)};a.prototype.bf=function(){this.Hu(p)};a.prototype.gp=function(){this.Hu(z)};a.prototype.jL=function(){if(!this.zd){this.zd=new e;this.zd.T6([this.Bb]);this.zd.bind(c.O,this.bf,this,p);this.zd.bind(c.kd,this.gp,this,p);d.Un(this.zd,this.By)}};a.prototype.Lm=function(){if(this.zd){this.zd.unbind(c.O,this.bf,this,p);this.zd.unbind(c.kd,this.gp,this,p);d.mi(this.zd,this.By);
1112this.zd=q}};return a});
1113define("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{bS:function(a,b,d,g,f,l,r){b||(b=a*g/d);f||(f=e.km);var o={};switch(f){case e.km:o.width=a;o.height=b;break;case e.NONE:o.width=d;o.height=g;break;case e.ge:o.width=Math.min(b*d/g,a);o.height=Math.min(a*g/d,b);break;case e.Pk:o.width=Math.max(b*d/g,a);o.height=Math.max(a*g/d,b);break;case e.Bj:o.width=a;o.height=a*g/d;break;case e.bg:o.width=b*d/g,o.height=b}o.width>a?(o.eo=a/o.width,
1114o.XB=l==c.ra?0:l==c.Qa?1-o.eo:0.5*(1-o.eo),o.width=a):(o.XB=0,o.eo=1);o.height>b?(o.fo=b/o.height,o.$B=r==c.eb?1-o.fo:r==c.cb?0:0.5*(1-o.fo),o.height=b):(o.$B=0,o.fo=1);return o},kS:function(a,k,h,m,f,l,r,o){k||(k=b.hj(a,h,m));f||(f=e.km);l||(l=4096/360);var s={};switch(f){case e.km:s.Qc=a;s.Kk=k;break;case e.NONE:s.Qc=2*Math.atan2(0.5*h,45*l)*d;s.Kk=b.hj(s.Qc,h,m);break;case e.ge:s.Qc=Math.min(b.gm(k,h,m),a);s.Kk=Math.min(b.hj(a,h,m),k);break;case e.Pk:s.Qc=Math.max(b.gm(k,h,m),a);s.Kk=Math.max(b.hj(a,
1115h,m),k);break;case e.Bj:s.Qc=a;s.Kk=b.hj(a,h,m);break;case e.bg:s.Qc=b.gm(k,h,m),s.Kk=k}s.Qc>a?(s.eo=Math.tan(0.5*a*g)*h/Math.tan(0.5*s.Qc*g)/h,s.XB=r==c.ra?0:r==c.Qa?1-s.eo:0.5*(1-s.eo),s.Qc=a):(s.XB=0,s.eo=1);s.Kk>k?(s.fo=Math.tan(0.5*k*g)*m/Math.tan(0.5*s.Kk*g)/m,s.$B=o==c.eb?1-s.fo:o==c.cb?0:0.5*(1-s.fo),s.Kk=k):(s.$B=0,s.fo=1);return s}}});
1116define("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",
1117100);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.Zj=new d.uj);this.Wx=this.fL();this.Rp=new THREE.Matrix4;this.rf=new THREE.Matrix4;this.hs=new THREE.Matrix4;this.Mm=new THREE.Matrix4;this.uk=new THREE.Matrix4;this.nK=new THREE.Matrix4;this.AW=new THREE.Quaternion;this.Dx=new THREE.Matrix4;this.sx=new THREE.Matrix4;this.Ex=new THREE.Matrix4;
1118this.xo=new THREE.Matrix4;this.he=new THREE.Matrix4});t.qq=0;t.hm=1;t.prototype.M=function(a){j.prototype.M.call(this,a);this.wA();this.XQ()};t.prototype.wA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Zj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.Ul(a)[t.hm];g.wT(a,this.Hx());this.Yq()}}};t.prototype.XQ=function(){if(this.D("hfov","vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var a=
1119h.kS(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.N6(this.Wx[t.hm],a.XB,a.$B,a.eo,a.fo)}};t.prototype.Zk=function(){return[t.qq,t.hm].map(function(a){var b=a==t.qq?this.aL():this.Hx(),a=g.create(this.Wx[a],b);m.kq(a,m.Rk);m.lq(a,m.lm);m.OB(a,c.pJ);m.XH(a,1);return a}.bind(this))};t.prototype.Hx=function(){var a=this.get("textureSource")||new k;
1120this.Zj=this.get("materialConfig");var b=d.Ck(a.texture(),this.Zj);m.fm(b,a);return[b]};t.prototype.aL=function(){var a=new k,b=d.Ck(a.texture());m.fm(b,a);return[b]};
1120t.prototype.fL=function(){return[e.YA(),e.YA()]};t.prototype.Sj=function(a){return g.fS(this.get("meshGroup"),a)};t.prototype.Cv=function(a){var b=z;if(this.D("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Rp.makeTranslation(-this.get("composedTranslationX")*0.5*e.Cf,this.get("composedTranslationY")*0.5*
1121e.Cf,this.get("composedTranslationZ")*0.5*e.Cf);b=p}if(this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.rf.makeRotationY(-a.Ja*s);this.rf.multiply(o.makeRotationX(-this.get("composedDeltaPitch")*s));this.rf.multiply(o.makeRotationY(this.get("composedDeltaYaw")*s));this.rf.multiply(o.makeRotationY(a.Ja*s));b=p}if(this.D("yaw","pitch")){this.hs.makeRotationY(-this.get("yaw")*s);this.hs.multiply(o.makeRotationX(this.get("pitch")*s));b=p}if(this.D("distance","flipHorizontally",
1122"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.sH(this.get("distance")):e.Yv();this.Mm.makeTranslation(0,0,-c);var d=this.get("contentWidth"),k=this.get("contentHeight"),m=this.get("hfov"),j=this.get("vfov")||f.hj(m,d,k),J=(this.get("flipHorizontally")?
1123-1:1)*this.get("scale"),B=this.get("scale"),F=this.get("scaleMode"),K=this.get("panoramaPixelsPerDegree"),b=this.get("horizontalAlign")||r.tc,I=this.get("verticalAlign")||r.bc,d=h.kS(m,j,d,k,F,K,b,I),m=J*e.T4(c,m),j=B*e.U4(c,j);this.sx.makeScale(m,j,1);J=J*e.T4(c,d.Qc);c=B*e.U4(c,d.Kk);this.Ex.makeScale(J,c,1);this.Dx.makeTranslation(b==r.ra?-(m-J)*0.5:b==r.Qa?(m-J)*0.5:0,I==r.eb?(j-c)*0.5:I==r.cb?-(j-c)*0.5:0,0);b=p}if(this.D("rotationX","rotationY","rotationZ","roll")){this.uk.makeRotationZ(this.get("roll")*
1124s);this.uk.multiply(o.makeRotationY(this.get("rotationY")*s));this.uk.multiply(o.makeRotationX(this.get("rotationX")*s));this.uk.multiply(o.makeRotationZ(this.get("rotationZ")*s));b=p}this.set("cameraYaw",a.Ja);this.set("cameraPitch",a.pitch);this.set("cameraRoll",a.ad);if(this.get("attachToCamera")&&this.D("cameraYaw","cameraPitch","cameraRoll")){this.AW.copy(l.z4(a.Ja,a.pitch,a.ad));this.nK.makeRotationFromQuaternion(this.AW);b=p}else if(this.D("attachToCamera")){this.nK.identity();b=p}if(b||this.D("meshGroup")){this.he.copy(this.Rp);
1125this.he.multiply(this.rf);this.he.multiply(this.nK);this.he.multiply(this.hs);this.he.multiply(this.Mm);this.he.multiply(this.uk);this.xo.copy(this.he);this.xo.multiply(this.sx);this.he.multiply(this.Dx);this.he.multiply(this.Ex);a=g.Ul(this.get("meshGroup"));g.Ml(a[t.qq],this.xo);g.Ml(a[t.hm],this.he)}};return t});
1126define("cv","require,hb,jd,dT,iB,R".split(","),function(a){function b(){if(!m){m=p;k.Aa(c,q)}}function c(){for(m=z;h.length;){var a=h.shift();a.add();if(a.pma())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.pma=function(){return!this.source.hW&&j.Wja(this.source)};f.prototype.q4=function(){if(!this.source.hW){j.q4(this.source);this.source.hW=p}};f.prototype.add=function(){j.fI(this.texture,
1127this.source);this.trigger(d.O)};f.prototype.remove=function(){var a=h.indexOf(this);a>=0&&h.splice(a,1);j.fI(this.texture,q)};return{add:function(a,c){var d=new f(a,c);h.push(d);b();return d}}});
1128define("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.hf=TextureSource.o8;this.Bb=a;this.He=this.Vu=this.zd=q});a.prototype.Cd=P("He");a.prototype.tK=function(){this.jL()};a.prototype.oG=function(){this.Lm()};a.prototype.rK=function(){this.laa()};a.prototype.Xz=function(){this.Lm();this.KL()};a.prototype.Sp=function(){this.Lm();this.KL()};a.prototype.dispose=
1129function(){this.Lm();this.KL();TextureSource.prototype.dispose.call(this)};a.prototype.bf=function(){this.He=d.Cd(this.Bb);this.Hu(p)};a.prototype.gp=function(){this.Hu(z)};a.prototype.o_=function(){this.n_()};a.prototype.jL=function(){if(!this.zd){this.zd=new e;this.zd.T6([this.Bb]);this.zd.bind(c.O,this.bf,this,p);this.zd.bind(c.kd,this.gp,this,p);d.Un(this.zd,this.By)}};a.prototype.Lm=function(){if(this.zd){this.zd.unbind(c.O,this.bf,this,p);this.zd.unbind(c.kd,this.gp,this,p);d.mi(this.zd,this.By);
1130this.zd=q}};a.prototype.laa=function(){this.Vu=g.add(this.zl,this.He);this.Vu.bind(c.O,this.o_,this,p)};a.prototype.KL=function(){if(this.Vu){this.Vu.unbind(c.O,this.o_,this,p);this.Vu.remove();this.Vu=q}};return a});
1131define("eW",["require"],function(){function a(){this.Ro=b++;this.Ey="_map_"+this.Ro+"_key";this.oE={};this.ne=[];this.length=0}var b=0;a.prototype.set=a.prototype.add=function(a,b){var d;0>this.ne.indexOf(a)&&this.ne.push(a);if("object"===typeof a&&a!==q){if(d=a[this.Ey],!d){d=this.Ey;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.oE[d]=b;this.length=this.ne.length};a.prototype.get=function(a){return this.oE["object"===typeof a&&a!==q?a[this.Ey]:
1132a]};a.prototype.n5=function(a){return 0<=this.ne.indexOf(a)};a.prototype.remove=function(a){var b=this.ne.indexOf(a);0>b||(this.ne.splice(b,1),"object"===typeof a&&a!==q?(b=a[this.Ey],delete a[this.Ey]):b=a,delete this.oE[b],this.length=this.ne.length)};
1132a.prototype.forEach=function(a){this.ne.slice().forEach(function(b){a(b,this.get(b))}.bind(this))};a.prototype.dispose=function(){for(;this.ne.length;)this.remove(this.ne.pop());this.ne=this.oE=q};return a});
1133define("gv",["require","hb","dT","eW"],function(a){function b(){this.Us=[]}var c=a("hb"),e=a("dT"),d=a("eW"),a=c.extend(e,function(a){e.call(this);this.Gd=a;this.Bc=[];this.Tm=new d;this.IA=[];this.YL=[];this.Gu=this.Gu.bind(this)});a.prototype.hd=function(a){this.Bc.forEach(function(a){a.removeEventListener?a.removeEventListener(this.Gd,this.Gu):a.unbind?a.unbind(this.Gd,this.Gu,this,p):i("invalid instance type")}.bind(this));this.Bc=a.slice();this.Bc.forEach(function(a){a.addEventListener?a.addEventListener(this.Gd,
1134this.Gu):a.bind?a.bind(this.Gd,this.Gu,this,p):i("invalid instance type");this.Tm.n5(a)||this.Tm.set(a,new b)}.bind(this));this.GQ()};a.prototype.dispose=function(){this.hd([]);this.Bc=q;this.Tm.dispose();this.YL=this.IA=this.Tm=q};a.prototype.ni=function(a){this.IA.push(a);this.GQ();return this};a.prototype.Gk=function(a){this.YL.push(a);return this};a.prototype.Kn=function(a){this.Bc.forEach(function(b){a(b,this.Tm.get(b).Us)}.bind(this))};a.prototype.hi=function(a){a=this.Tm.get(a).Us;return 0==
1135a.length?q:a[a.length-1]};a.prototype.Gu=function(a){var b=a.target||a.source;if(b=this.Tm&&this.Tm.get(b))b.Us.push(a),this.YL.forEach(function(b){b(a,this)}.bind(this)),this.GQ()};a.prototype.GQ=function(){if(0!=this.Bc.length){for(var a=0;a<this.Bc.length;a++)if(0==this.Tm.get(this.Bc[a]).Us.length)return;this.IA.length&&(a=this.IA.slice(),this.IA=[],a.forEach(function(a){a(this)}.bind(this)))}};return a});
1136define("bt",["require","di"],function(a){var b=a("di"),c={get:function(a){return a.L8||(a.L8=this.Xaa(a))},Xaa:function(a){if(b.ub("CubicPanoramaFrame",a))return a.get("stereoCube")?c.Oq:a.get("cube")?c.ko:c.ph;if(b.ub("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/
1137(a/d))?c.Pq:c.Ct}return c.Tk}},Oq:"stereoCube_12_1",ko:"monoCube_6_1",ph:"monoCube_1_1",Tk:"monoSphere_1_1",Pq:"stereoSphere_1_2",Ct:"stereoSphere_2_1"};return c});
1138define("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.aq()&&URL.Pl("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.kf()?f=2048:w.aq()?f=1280:w.Xa()&&(f=1024));switch(a){case x.ko:return[6*f,f];case x.ph:return[f,
1139f];case x.Oq:return[12*f,f]}switch(a){case x.Pq:b=b*2;break;case x.Ct: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.ko:if(w.kf()||w.Xa())return[18432,1536];break;case x.Pq:if(w.kf())return[5352,5352];if(w.Xa())return[6086,6086];break;case x.Tk:if(w.kf())return[7168,3584];if(w.Xa()&&w.aq())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.aq())return t.mV;
1140if(w.kf())return t.oV;if(w.Xa())return t.nV}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,
1141b){switch(b){case x.Oq:return a.get("stereoCube").get("levels");case x.ko:return a.get("cube").get("levels");case x.ph:return a.get("front").get("levels");case x.Tk:return a.get("sphere").get("levels");case x.Pq:case x.Ct: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={P4:function(a){a=a.get("frames");
1142if(a.length==0)return 1;var b=a[0],a=x.get(b)==x.Tk&&s.ub("Video360Resource",b.get("sphere"))?[F.mS(b)]:F.hS(b,z);return Math.max.apply(Math,a.map(function(a){return F.kla(b,a)}))},kla:function(a,b){var b=F.aS(a,b,v.FRONT),c=b.get("width"),f=a.bw().get("hfov",360);switch(x.get(a)){case x.Oq:return c/1080;case x.ko:return c/540;case x.ph:return c/90;case x.Tk:return c/f;case x.Pq:return c/f;case x.Ct:return c/(2*f)}},nB:function(a,b,c){c||(c=z);if(s.ub("Panorama",a)){c=a.get("flipImageHorizontally",
1143z);return o(Array.prototype.concat.apply([],a.get("frames").map(function(a){return F.nB(a,b,c)})))}if(s.ub("PanoramaFrame",a)){if(x.get(a)==x.Tk&&s.ub("Video360Resource",a.get("sphere")))return F.nB(F.mS(a),b);var f=F.hS(a,b)[0],c=a.get("flipImageHorizontally",z);if(x.get(a)==x.ph){var d=[v.FRONT,v.ra,v.BACK,v.Qa,v.eb,v.cb];return Array.prototype.concat.apply([],d.map(function(d){return(d=F.aS(a,f,d))?F.nB(d,b,c):[]}))}return F.nB(f,b,c)}if(s.ub("Video360ResourceLevel",a)){var e=a.get("posterURL");
1144return e?[e]:[]}if(s.ub("TiledImageResourceLevel",a)){var g=[],e=Math.round(a.get("width")/a.get("height")),h;if(e==1)h=x.ph;else if(e==12)h=x.lpa;else if(e==6)h=x.ko;else return[];var l=e==12?[u.Qa,u.ra]:[u.Mk],d=[v.Qa,v.ra,v.eb,v.cb,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.b5(a,h,b,f,c,m,d,e))})});return g}return s.ub("ImageResourceLevel",a)?[a.get("url")]:[]},hS:function(a,b){var c=
1145x.get(a),f=this.Aba(a);if(f){if(b&&!this.CZ(f)){c=this.YY(a);if(c!=f)return[c,f]}return[f]}f=l(r(a,c),t.zJ);if(f.length>0)return h(f);f=this.eca(a);if(b&&!this.CZ(f)){c=this.YY(a);if(c!=f)return[c,f]}return[f]},cma:function(a){return a.get("tags").indexOf(t.zJ)>=0},aS:function(a,b,c){if(x.get(a)!=x.ph)return b;var f;switch(c){case v.FRONT:f=a.get("front");break;case v.ra:f=a.get("left");break;case v.BACK:f=a.get("back");break;case v.Qa:f=a.get("right");break;case v.eb:f=a.get("top");break;case v.cb:f=
1146a.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]},b5: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}"))>=
11470?a=b(a,"{face}",M[d]):c!=x.ph&&(k=k+K[d]);a=b(a,"{row}",h);return a=b(a,"{column}",l+k*g)},mla:function(a,b){return F.RD(a.get("image").get("levels"),90,90,J.ge,b)},Oka:function(a,b){return F.RD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},$ka:function(a,b){return F.RD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},wla:function(a,b){return F.RD(a.get("image").get("levels"),a.get("hfov"),a.get("vfov"),a.get("scaleMode"),b)},RD:function(a,
1148b,d,e,g){var a=f(a,t.nm,a),j=k();j&&(a=l(a,j,a));j=1E4;c()||(w.kf()?j=2048:w.aq()?j=1280:w.Xa()&&(j=1024));var o=h(a)[a.length-1],b=y.kS(b,d,o.get("width"),o.get("height"),e,g);return m(a,[b.Qc*j/90,b.Kk*j/90])},Wka:function(a){var b=a.get("image").get("levels"),b=f(b,t.nm,b),c=k();c&&(b=l(b,c,b));c=h(b)[b.length-1];a=y.bS(a.get("width"),a.get("height"),c.get("width"),c.get("height"),a.get("scaleMode"));return m(b,[a.width,a.height])},mS:function(a){var b;
1148w.Ed()==w.ri?b=[3168,1584]:w.Xa()&&(b=[3840,
11491920]);var c=(w.Xa()?800:5E3)*1E3,f=[];A.nS&&f.push({type:C.Dw,am:n});A.l5&&f.push({type:C.Dw,am:b});A.wH&&f.push({type:C.tC,am:b});A.xH&&f.push({type:C.DC,am:b});A.qS&&f.push({type:C.SU,am:b});f.push({type:C.tC,am:b});f.push({type:C.DC,am:b});A.l5&&f.push({type:C.Dw,am:n});f.push({type:C.tC,am:n});f.push({type:C.DC,am:n});for(var a=r(a,x.get(a)).slice(),d=0;d<f.length;d++){var e=f[d].type;b=f[d].am;var g=a.filter(function(a){return!C.is(a.get("url"),e)?z:!b?p:a.get("width")<=b[0]&&a.get("height")<=
1150b[1]});e!=C.Dw&&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},YY:function(a){var b=x.get(a),a=r(a,b),a=j(a,b),a=l(a,t.nm,a);(b=k())&&(a=l(a,b,a));return m(a,[0,0])},eca:function(a){var b=x.get(a),a=r(a,b),a=j(a,b),a=f(a,t.nm,a),c=k();c&&(a=l(a,c,a));b=d(b,e(a));return m(a,b)},Aba: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.nm,a),a=l(a,b);if(a.length==0)return q;b=d(c,e(a));return m(a,b)},
1151CZ:function(a){return a.get("tags").indexOf(t.zJ)>=0?z:w.pd()==w.tq?p:B.Z6(a.get("url"))}},K=function(){var a={};a[v.Qa]=0;a[v.ra]=1;a[v.eb]=2;a[v.cb]=3;a[v.FRONT]=4;a[v.BACK]=5;return a}(),I=function(){var a={};a[u.Qa]=0;a[u.ra]=1;a[u.Mk]=0;return a}(),L=function(){var a={};a[u.Qa]=1;a[u.ra]=0;a[u.Mk]=0;return a}(),M=function(){var a={};a[v.Qa]="r";a[v.ra]="l";a[v.eb]="u";a[v.cb]="d";a[v.FRONT]="f";a[v.BACK]="b";return a}(),G=function(){var a={};a[u.ra]="l";a[u.Qa]="r";a[u.Mk]="b";return a}();return F});
1152define("cT",["require"],function(){function a(a){this.He=a;"CANVAS"==a.tagName?this.u=a:(this.u=document.createElement("canvas"),this.u.width=a.width,this.u.height=a.height);this.Ga=this.u.getContext("2d");this.Ga.globalCompositeOperation="copy";this.u!=a&&this.Ga.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,
1153c,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.Ga,b,c)};a.prototype.Jk=function(b,c){return a.Jk(this.Ga,b,c)};a.prototype.info=function(b,c){return a.info(this.Ga,b,c)};a.prototype.dispose=function(){this.u!=this.He&&(this.u.width=this.u.height=0);this.He=this.u=this.Ga=q};a.transparent=function(b,c,d){return!a.Jk(b,c,d)};a.Jk=function(a,c,d){return a.tagName&&"VIDEO"==a.tagName?p:0<b(a,c,d)[3]};a.info=
1154function(a,c,e){a=b(a,c,e);c=a[3];return{Jk: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});
1155define("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.Ih.push(this.n);this.cf=this.cf.bind(this);this.hf=
1156j.ub("CeilingCapPanoramaOverlay",this.n)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch",this.hf=="tripod"?-90:90);this.Oi=z;this.ks=this.$O=this.vz=n;this.wfa=this.hf=="tripod"?1:-1;this.ld=this.ng=this.$d=q});a.prototype.Xb=function(){k.prototype.Xb.call(this);this.$d=(new m(g.O)).ni(this.bk.bind(this));this.ng=(new m(g.cc)).Gk(this.Zr.bind(this));d.Me(this.n,["angle","distance","hfov","image","inertia","rotate"],this.cf,p)};a.prototype.Zb=function(){this.ld&&this.ld.dispose();this.ld=
1157q;this.$d.dispose();this.ng.dispose();d.lf(this.n,["angle","distance","hfov","image","inertia","rotate"],this.Vpa);k.prototype.Zb.call(this)};a.prototype.cf=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.Zk=function(){var a=k.prototype.Zk.call(this);this.$d.hd(a);this.ng.hd(a);return a};
1158a.prototype.M=function(a){this.qA();this.IG(a);k.prototype.M.call(this,a)};a.prototype.qA=function(){if(this.D("image")){var a=f.Oka(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.bk=function(){this.ld&&this.ld.dispose();this.ld=new l(this.get("textureSource").Cd());this.trigger(g.Sb);this.trigger(g.O)};a.prototype.Zr=function(a,b){var c=0;b.Kn(function(a){(a=
1159b.hi(a))&&(c=c+a.jh)});this.trigger(new r(g.cc,c/b.Bc.length))};a.prototype.IG=function(a){this.set("rendererYaw",a.Ja);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.wfa*a.Ja;f&&(c=c+e);var g=0,h=c-e;
1159if(this.vz!==n){if(d)if(f){g=b(e,this.ks,c,this.vz,this.$O,a.Qd);c=this.vz+g*a.Qd}else{g=b(e,this.ks,h,this.d1,this.$O,a.Qd);h=this.d1+g*a.Qd;c=h+e}this.vz!=c&&this.Lb()}this.d1=
1160h;this.vz=c;this.$O=g;this.ks=e;this.set("rotationZ",-c)}};a.prototype.oj=function(a){if(a.Gd==g.qh){var b=!a.bh()&this.Np(a);if(b){a.Rs(this.n);this.n.get("useHandCursor")&&a.Ss(this.n);a.bi(this.get("distance"))}if(this.Oi!=b){this.Oi=b;this.n.trigger(this.Oi?g.Rc:g.pc);a.mw()&&this.n.trigger(this.Oi?g.Cj:g.nf)}}else if(a.Gd==g.si&&!a.bh()&this.Np(a)){this.n.dB(g.U).length>1&&a.jq(this.n);a.bi(this.get("distance"));this.n.trigger(g.U)}};a.prototype.Np=function(a){return this.Sj(a.wn).some(function(a){return this.ld&&
1161this.ld.Jk(a.x,a.y)}.bind(this))};return a});
1162define("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",
1163100);this.set("contentHeight",100);this.set("scale",1);this.set("scaleMode",q);this.set("horizontalAlign",q);this.set("verticalAlign",q);this.set("materialConfig",this.Zj=new d.uj);this.Wx=this.fL();this.Rp=new THREE.Matrix4;this.rf=new THREE.Matrix4;this.hs=new THREE.Matrix4;this.Mm=new THREE.Matrix4;this.Tt=new THREE.Matrix4;this.fv=new THREE.Matrix4;this.Fu=new THREE.Matrix4;this.uk=new THREE.Matrix4;this.Dx=new THREE.Matrix4;this.sx=new THREE.Matrix4;this.Ex=new THREE.Matrix4;this.xo=new THREE.Matrix4;
1164this.he=new THREE.Matrix4;this.Ut=new THREE.Matrix4;this.gr=new THREE.Vector3});o.qq=0;o.hm=1;o.prototype.M=function(a){j.prototype.M.call(this,a);this.wA();this.XQ()};o.prototype.wA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Zj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");if(a){a=g.Ul(a)[o.hm];g.wT(a,this.Hx());this.Yq()}}};o.prototype.XQ=function(){if(this.D("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var a=
1165h.bS(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));e.N6(this.Wx[o.hm],a.XB,a.$B,a.eo,a.fo)}};o.prototype.Zk=function(){return[o.qq,o.hm].map(function(a){var b=a==o.qq?this.aL():this.Hx(),a=g.create(this.Wx[a],b);m.kq(a,m.Rk);m.lq(a,m.lm);m.OB(a,c.pJ);m.XH(a,1);return a}.bind(this))};o.prototype.Hx=function(){var a=this.get("textureSource")||new k;this.Zj=this.get("materialConfig");
1166var b=d.Ck(a.texture(),this.Zj);m.fm(b,a);return[b]};o.prototype.aL=function(){var a=new k,b=d.Ck(a.texture());m.fm(b,a);return[b]};o.prototype.fL=function(){return[e.YA(),e.YA()]};o.prototype.Sj=function(a){return g.fS(this.get("meshGroup"),a)};o.prototype.Cv=function(a){var b=z;if(this.D("composedTranslationX","composedTranslationY","composedTranslationZ")){this.Rp.makeTranslation(-this.get("composedTranslationX")*0.5*e.Cf,this.get("composedTranslationY")*0.5*e.Cf,this.get("composedTranslationZ")*
11670.5*e.Cf);b=p}if(this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){this.rf.makeRotationY(-a.Ja*r);this.rf.multiply(l.makeRotationX(-this.get("composedDeltaPitch")*r));this.rf.multiply(l.makeRotationY(this.get("composedDeltaYaw")*r));this.rf.multiply(l.makeRotationY(a.Ja*r));b=p}if(this.D("yaw","pitch")){this.hs.makeRotationY(-this.get("yaw")*r);this.hs.multiply(l.makeRotationX(this.get("pitch")*r));b=p}this.D("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&&
1168this.set("z",this.get("composedTranslationX")==0&&this.get("composedTranslationY")==0&&this.get("composedTranslationZ")==0&&this.get("distance")!==n?e.sH(this.get("distance")):e.Yv());if(this.D("z")){this.Mm.makeTranslation(0,0,-this.get("z"));b=p}if(b){this.Ut.copy(this.Rp);this.Ut.multiply(this.rf);this.Ut.multiply(this.hs);this.Ut.multiply(this.Mm)}var c=z;this.set("rendererYaw",a.Ja);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.ad);this.set("rendererCameraFOV",a.Ne);this.set("rendererWidth",
1169a.width);this.set("rendererHeight",a.height);a.Ne&&this.D("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Ne*r*0.5)*this.get("z")*2);if(a.Ne&&(b||this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if
1169(a.Hb){this.Tt.copy(this.Ut);this.fv.identity()}else{c=a.ah;this.Tt.copy(c.matrixWorld);this.gr.setFromMatrixPosition(c.matrixWorld);this.gr.applyMatrix4(this.Ut);this.gr.applyMatrix4(c.matrixWorldInverse);
1170var d=-10,k=-10;if(this.gr.z<0){this.gr.applyMatrix4(c.projectionMatrix);d=this.gr.x*0.5;k=this.gr.y*0.5}var m=this.get("rendererHeightZ");this.fv.makeTranslation(d*m*c.aspect,k*m,0)}c=p}if(this.D("roll")){this.uk.makeRotationZ(this.get("roll")*r);c=p}if(a.Ne&&(b||this.D("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally"))){var b=a.Hb?1024:a.height,c=this.get("scale")*this.get("rendererHeightZ")/
1171b*(a.Hb?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.tc,b=this.get("verticalAlign")||f.bc,j=h.bS(m,k,j,w,C,a,b),m=d*m,k=c*k;this.sx.makeScale(m,k,1);d=d*j.width;c=c*j.height;this.Ex.makeScale(d,c,1);this.Dx.makeTranslation(a==f.ra?-(m-d)*0.5:a==f.Qa?(m-d)*0.5:0,b==f.eb?(k-c)*0.5:b==f.cb?-(k-c)*0.5:0,0);c=p}if(this.D("width","height","offsetX","offsetY")){a=
11720.5-this.get("offsetX")/this.get("width");b=this.get("offsetY")/this.get("height")-0.5;this.Fu.makeTranslation(a,b,0);c=p}if(c){this.he.copy(this.Tt);this.he.multiply(this.Mm);this.he.multiply(this.fv);this.he.multiply(this.uk);this.xo.copy(this.he);this.xo.multiply(this.sx);this.xo.multiply(this.Fu);this.he.multiply(this.Dx);this.he.multiply(this.Ex);this.he.multiply(this.Fu);a=g.Ul(this.get("meshGroup"));g.Ml(a[o.qq],this.xo);g.Ml(a[o.hm],this.he)}};return o}
1172);
1173define("dQ",["require","jd","es"],function(a){function b(a,b){this.Fj=a;this.zb=b;this.Xc=z;this.O8();this.V8()}var c=a("jd"),e=a("es");b.prototype.clear=function(){this.Lfa();this.Rfa();this.Fj.set("state",e.L);this.zb=this.Fj=q};b.prototype.Re=function(a){this.Xc!=a&&(this.Xc=a,this.zG())};b.prototype.I_=function(){this.zb.Rd(this.Fj.get("state"))};b.prototype.H_=function(){this.zG()};b.prototype.F_=function(){this.Fj.trigger(c.Nq)};b.prototype.E_=function(){this.Fj.trigger(c.ua)};b.prototype.G_=
1174function(){this.Fj.set("state",this.zb.gi())};b.prototype.zG=function(){this.Fj.get("autoplay")&&this.zb.Rd(this.Xc?e.T:e.L)};b.prototype.O8=function(){this.Fj.bind(c.ha("state"),this.I_,this,p);this.Fj.bind(c.ha("autoplay"),this.H_,this,p)};b.prototype.Lfa=function(){this.Fj.unbind(c.ha("state"),this.I_,this,p);this.Fj.unbind(c.ha("autoplay"),this.H_,this,p)};b.prototype.V8=function(){this.zb.bind(c.Nq,this.F_,this,p);this.zb.bind(c.ua,this.E_,this,p);this.zb.bind(c.mm,this.G_,this,p)};b.prototype.Rfa=
1175function(){this.zb.unbind(c.Nq,this.F_,this,p);this.zb.unbind(c.ua,this.E_,this,p);this.zb.unbind(c.mm,this.G_,this,p)};return b});
1176define("iy",["require","r"],function(a){function b(){this.Qf=n;this.tu=this.fs=0;this.Y=p;this.uX=this.V2=this.oY=n;this.Xc=z}var a=a("r"),c=Math.PI/180,e=a.browser()==a.oh?[-0.5,0]:[0,0];b.prototype.WH=function(a){this.Qf!=a&&(this.Qf=a,this.Y=p)};b.prototype.VH=function(a){if(a<this.fs+e[0]||a>this.fs+e[1])this.fs=a,this.Y=p};b.prototype.get=function(a,b){b!==n||(b=p);this.Y&&(this.M(),this.Y=z);var c=this.oY.get(a)||0,e=(this.V2.get(a)||0)-c;b&&(180<e?e-=360:-180>e&&(e+=360));return c+e*this.uX};
1177b.prototype.ei=function(){return this.get("opacity",z)};b.prototype.at=function(){var a=this.get("hfov")||this.get("vfov"),b=this.Qf[0].get("hfov")||this.Qf[0].get("vfov");return Math.tan(0.5*a*c)/Math.tan(0.5*b*c)};b.prototype.M=function(){for(var a=this.tu,b,c=this.Qf.length-1,e,h;;){b=Math.min(a+1,c);e=this.bZ(a);h=this.bZ(b);if(e<=this.fs&&this.fs<=h)break;if(e>this.fs){if(0==a){b=a;break}a-=1}else{if(a==c){b=a;break}a+=1}}this.oY=this.Qf[a];this.V2=this.Qf[b];a=h-e;this.uX=0<a?(this.fs-e)/a:
11780};b.prototype.bZ=function(a){return this.Qf[a].get("timestamp")};return b});
1179define("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={bna: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},F4:function(c,d){return b(a(c),a(d))}};c.OS=a;return c});
1180define("Q","require,hb,jd,es,bI,dT,R".split(","),function(a){function b(a,b,c,d){this.rS=a;this.src=a.src;this.PH=b;this.WA=c;this.jH=d;this.Xs=this.rS.width/this.WA;this.Ws=this.rS.height/this.PH}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.me=new b(a,c,h,j);this.D1=t;this.le=m;this.jY=u;this.uG=this.le*this.me.jH;this.u=document.createElement("canvas");this.u.width=this.me.Xs;this.u.height=this.me.Ws;this.Ga=this.u.getContext("2d");
1181this.Ga.globalCompositeOperation="copy";this.k=d.L;this.HF=this.$k=0;this.mL=n;this.Xe=k.cm(this.me);this.Xe.bind(e.W,this.Eg,this,p);this.Eg()});a.prototype.Rd=function(a){if(this.k!=a){if(a==d.Hc){if(this.k!=d.T)return}else if(a==d.T){if(this.k==d.L)this.$k=this.HF=0}else if(a==d.L&&(this.$k!=0||this.HF==0)){this.$k=this.jY?0:this.uG-0.1;this.Eg()}this.k=a;j.Aa(this.af,this);this.trigger(e.mm)}};a.prototype.gi=P("k");a.prototype.af=function(a){if(this.k==d.T){this.$k=Math.min(this.$k+a,this.Xe.Xe.length*
1182this.le);if(this.$k>=this.uG){this.HF++;if(this.D1&&this.HF==this.D1){this.Rd(d.L);this.$k=this.jY?0:this.uG-0.1;this.trigger(e.ua)}else{this.$k=this.$k%this.uG;this.trigger(e.Nq)}}this.Eg();this.k==d.T&&j.Aa(this.af,this)}};a.prototype.clear=function(){this.Rd(d.L);this.u.width=this.u.height=0;this.u=q;k.Jma(this.me);this.me=q};a.prototype.Eg=function(){var a=Math.floor(this.$k/this.le);if(this.mL!=a&&a<this.Xe.Xe.length){this.mL=a;this.Ga.drawImage(this.Xe.get(this.mL),0,0);this.trigger(e.W)}};
1183b.prototype.isEqual=function(a){return this.src==a.src&&this.PH==a.PH&&(this.WA=a.WA)&&(this.Xs=a.Xs)&&(this.Ws=a.Ws)&&(this.jH=a.jH)};var k={Lf:[],G8:2E3,cm:function(a){a=this.Ye(a);a.jt++;this.J2(a);return a.frames},Jma:function(a){a=this.Ye(a);a.jt--;a.jt==0&&this.Dha(a)},Ye:function(a){for(var b=0;b<this.Lf.length;b++)if(this.Lf[b].Fka.isEqual(a))return this.Lf[b];b={};b.Fka=a;b.frames=new h(a);b.jt=0;this.Lf.push(b);return b},Dha:function(a){this.J2(a);a.OR=setTimeout(function(){k.uaa(a)},k.G8)},
1184J2:function(a){if(a.OR){clearTimeout(a.OR);a.OR=q}},uaa:function(a){this.Lf.splice(this.Lf.indexOf(a),1);a.frames.clear()}},h=c.extend(g,function(a){g.call(this);this.me=a;this.Xe=[];m.add(this)});h.prototype.clear=function(){m.remove(this);this.Xe.forEach(function(a){a.width=0;a.height=0});this.Xe=q};h.prototype.get=function(a){return this.Xe[a]};h.prototype.Aka=function(){var a=this.Xe.length%this.me.WA,b=Math.floor(this.Xe.length/this.me.WA)%this.me.PH,c=document.createElement("canvas");c.width=
1185this.me.Xs;c.height=this.me.Ws;var d=c.getContext("2d");d.globalCompositeOperation="copy";d.drawImage(this.me.rS,a*this.me.Xs,b*this.me.Ws,this.me.Xs,this.me.Ws,0,0,this.me.Xs,this.me.Ws);h.$aa(c);this.Xe.push(c);this.trigger(e.W)};h.$aa=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={Lf:[],uQ:q,add:function(a){this.Lf.push(a);this.M1()},remove:function(a){this.Lf=this.Lf.filter(function(b){return b!=
1186a})},M1:function(){if(!this.uQ)this.uQ=setTimeout(function(){this.uQ=q;this.nO()}.bind(this),40)},nO:function(){if(this.Lf.length!=0){for(var a=(new Date).getTime()+10;(new Date).getTime()<a;){var b=this.Lf.filter(function(a){return a.Xe.length==0}),b=b.length>0?b[0]:this.Lf[0];b.Aka();if(b.Xe.length==b.me.jH){this.Lf.splice(this.Lf.indexOf(b),1);if(this.Lf.length==0)return}}this.M1()}}};return a});
1187define("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",
1188q);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.Ih.push(this.n);this.cf=this.cf.bind(this);this.Jh=this.Jh.bind(this);this.yb=new f;this.gy=this.dd=this.vh=this.zb=q;this.Wd=[];this.ld=q});a.prototype.D6=function(a){if(this.dd!=a){this.dd&&d.lf(this.dd,["areas"],this.Jh,p);(this.dd=a)&&d.Me(this.dd,["areas"],this.Jh,p)}};a.prototype.Xb=function(){h.prototype.Xb.call(this);d.Me(this.n,["horizontalAlign",
1189"verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.cf,p);this.dd&&d.Me(this.dd,["areas"],this.Jh,p)};a.prototype.Zb=function(){this.Ax();this.dd&&d.lf(this.dd,["areas"],this.Jh,p);d.lf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","width","height","offsetX","offsetY","distance","playbackPositions","image"],this.cf);h.prototype.Zb.call(this)};a.prototype.cf=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));
1190this.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.Jh=
1191function(){var a=this.dd.get("areas",[]);this.gy=j.ub("FlatHotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.M=function(a){this.$u=a.Ja;this.Zu=a.pitch;this.Fs();this.qA();this.rA();h.prototype.M.call(this,a)};a.prototype.rA=function(){if(this.D("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){k.setAttribute(a,k.vt,this.get("panoramaId"));k.setAttribute(a,k.WT,this.get("id"))}.bind(this))}};a.prototype.Fs=function(){if(this.D("playbackPositions",
1192"currentTime")){this.yb.WH(this.get("playbackPositions"));this.yb.VH(this.get("currentTime"));this.set("yaw",this.yb.get("yaw"));this.set("pitch",this.yb.get("pitch"));this.set("roll",this.yb.get("roll"));this.set("alpha",this.yb.ei())}};a.prototype.qA=function(){if(this.D("image")){this.Ax();var a=s.Wka(this.n);this.set("textureSource",new l(a.get("url")));this.YJ()}};a.prototype.Fn=function(){this.D("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&
1193this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=PlaybackState.L));this.D("composedAlpha","meshGroup","inView")&&k.bd(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.D("inView")&&this.n.trigger(this.get("inView")?g.Ef:g.zg);this.vh&&this.vh.Re(this.get("inView"))};a.prototype.Ax=function(){if(this.vh){this.vh.clear();this.vh=q}if(this.zb){this.zb.unbind(g.W,this.iy,this,p);this.zb.unbind(g.mm,this.jy,this,p);this.zb.clear();this.zb=q}if(this.ld){this.ld.dispose();
1194this.ld=q}if(this.get("textureSource")){this.qs();this.set("textureSource",q)}};a.prototype.So=function(){this.qs();var a,b=this.get("image");if(j.ub("AnimatedImageResource",b)){this.zb=new t(this.get("textureSource").Cd(),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.zb.u;this.zb.bind(g.mm,this.jy,this,p);this.zb.bind(g.W,this.iy,this,p);this.vh=new m(b,this.zb);this.set("visibleOnStop",
1195b.get("visibleOnStop"));this.set("state",this.zb.gi())}else{a=this.get("textureSource").Cd();this.ld=new o(a);this.get("textureSource").xg(a);this.set("visibleOnStop",p);this.set("state",q)}this.Fn();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").xg(a);this.trigger(g.Sb);this.trigger(g.O)};a.prototype.ky=function(){this.qs();this.trigger(g.Sb);this.trigger(g.O)};a.prototype.jy=function(){this.set("state",this.zb.gi())};a.prototype.iy=function(){this.get("textureSource").update();
1196this.Lb()};a.prototype.YJ=function(){var a=this.get("textureSource");a.bind(g.O,this.So,this,p);a.bind(g.kd,this.ky,this,p)};a.prototype.qs=function(){var a=this.get("textureSource");a.unbind(g.O,this.So,this,p);a.unbind(g.kd,this.ky,this,p)};
1196a.prototype.oj=function(a){if(a.Gd==g.qh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.bh()?this.Xx(a):[];if(b.length>0){a.Rs(b);this.$i(b)&&a.Ss(b);a.bi(this.get("distance"));var c=this.pa(b,a.bq());c&&a.CR(c,this.Op(a.bq()))}this.YF(b,a.mw(),a.bq())}else if(a.Gd==
1197g.si){b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.bh()?this.Xx(a):[];if(b.length>0){var f=z;b.forEach(function(a){a.trigger(g.U);!f&&a.dB(g.U).length>1&&(f=p)});a.bi(this.get("distance"));f&&a.jq(b)}}};a.prototype.Gr=function(a){return this.ld&&this.ld.He==a.source?this.ld.info(a.x,a.y):o.info(a.source,a.x,a.y)};a.prototype.Xx=function(a){var b=this.Sj(a.wn);return b.length==0?[]:this.gy.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Gr(a).Jk}.bind(this)):
1198c=="transparent"?b.every(function(a){return!this.Gr(a).Jk}.bind(this)):c&&c[0]=="#"?b.some(function(a){return r.F4(this.Gr(a).color,c)<10}.bind(this)):z}.bind(this))};a.prototype.YF=function(a,b,c){this.Wd.forEach(function(f){if(a.indexOf(f)<0){var d=u.get(f)-1;u.set(f,d);if(d==0){f.trigger(g.pc,{SA:c});b&&f.trigger(g.nf)}}});var f=this.Wd;this.Wd=a;this.Wd.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.Rc,{SA:c});b&&a.trigger(g.Cj)}}})};a.prototype.pa=
1199function(a,b){for(var c="",f=a.length-1;f>=0&&c=="";f--){var d=a[f];if(!b||d.get("displayTooltipInTouchScreens")&&this.sb.F.get("displayTooltipInTouchScreens")!==z)c=d.get("toolTip","")}return c};a.prototype.Op=function(a){if(a){var a=this.get("yaw")-this.$u,b=this.get("pitch")-this.Zu;return Math.sqrt(a*a+b*b)}return 0};a.prototype.$i=function(a){for(var b=this.dd.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
1200define("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.Ih.push(this.n);this.$E=this.$E.bind(this);this.ZE=this.ZE.bind(this);
1200this.aF=this.aF.bind(this);this.Wk(["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",
12010);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.hK=this.iK=this.Ri=this.kc=this.Id=q;this.Wd=[];this.gK=[];this.$g=q});a.prototype.Xb=function(){this.Id=(new g(e.O)).ni(this.Ry.bind(this));this.kc=(new g(e.cc)).Gk(this.Sy.bind(this));this.Ri=(new g(e.Sb)).ni(this.gea.bind(this));this.iK=(new g(e.Rc)).Gk(this.aea.bind(this));
1202this.hK=(new g(e.pc)).Gk(this.$da.bind(this));d.prototype.Xb.call(this);c.Me(this.n,["items","rollOverItems","maps","rollOverMaps"],this.$E,p);c.Me(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.aF,p);c.Me(this.n,["areas"],this.ZE,p)};a.prototype.Zb=function(){this.xv([],this.Wd);this.DQ([],this.gK);this.Id.dispose();this.kc.dispose();this.Ri.dispose();this.iK.dispose();this.hK.dispose();c.lf(this.n,
1203["items","rollOverItems","maps","rollOverMaps"],this.$E);c.lf(this.n,["fadeInDuration","fadeOutDuration","enabledInVR","enabledInStandard","enabled","interactionEnabled","centerOverDisplay","rollOverDisplay"],this.aF);c.lf(this.n,["areas"],this.ZE);d.prototype.Zb.call(this)};a.prototype.$E=function(){this.set("items",this.sb.Pn(this.n.get("items",[])));this.set("rollOverItems",this.sb.Pn(this.n.get("rollOverItems",[])));this.set("maps",this.sb.Pn(this.n.get("maps",[])));this.set("rollOverMaps",this.sb.Pn(this.n.get("rollOverMaps",
1204[])));var a=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));a.forEach(function(a){a.D6(this.n)}.bind(this));this.mj(a);this.Id.hd(a);this.kc.hd(a);this.Ri.hd(a)};a.prototype.aF=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",
1205p));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.ZE=function(){var a=this.n.get("areas");this.iK.hd(a);this.hK.hd(a)};a.prototype.M=function(a){this.Fn(a);d.prototype.M.call(this,a);this.Js(a)};a.prototype.Js=function(a){this.set("inVR",a.Hb);this.set("hotspotsEnabled",a.hw);if(this.D("items","rollOverItems","maps","rollOverMaps","over","centerOver",
1206"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")||
1207a&&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",
1208c&&(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.$g=new j("linear",[new k("alpha",a,h)],Math.max(u,1));this.Lb()}};
1208a.prototype.Fn=function(a){if(this.$g){if(this.$g.Dd())this.$g=q;else{this.$g.Va(a.Qd);this.set("alpha",this.$g.bb("alpha"))}this.Lb()}};a.prototype.Ry=function(){this.Bk();this.trigger(e.O)};a.prototype.gea=function(){this.Bk();
1209this.trigger(e.Sb)};a.prototype.Sy=function(){this.Bk()};a.prototype.Bk=function(){var a=0;this.kc.Kn(function(b){var c=0,d;this.Id.hi(b)?c=100:(d=this.kc.hi(b))&&(c=d.jh);a=a+c}.bind(this));this.trigger(new h(e.cc,a/this.kc.Bc.length))};a.prototype.aea=function(a){a.data.SA?this.DQ([a.source],[]):this.xv([a.source],[])};a.prototype.$da=function(a){a.data.SA?this.DQ([],[a.source]):this.xv([],[a.source])};a.prototype.xv=function(a,b){this.p3(this.Wd,a,b);this.set("over",this.Wd.length>0)};a.prototype.DQ=
1210function(a,b){this.p3(this.gK,a,b);this.set("centerOver",this.gK.length>0)};a.prototype.p3=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});
1211define("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);
1212this.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.Ih.push(this.n);this.cf=this.cf.bind(this);this.Jh=this.Jh.bind(this);this.yb=new l;this.gy=this.dd=this.vh=this.zb=q;this.Wd=[];this.ld=q});a.prototype.D6=function(a){if(this.dd!=a){this.dd&&d.lf(this.dd,["areas"],this.Jh,p);(this.dd=a)&&d.Me(this.dd,["areas"],this.Jh,p)}};a.prototype.Xb=function(){m.prototype.Xb.call(this);d.Me(this.n,
1213["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.cf,p);this.dd&&d.Me(this.dd,["areas"],this.Jh,p)};a.prototype.Zb=function(){this.YF([]);this.Ax();this.dd&&d.lf(this.dd,["areas"],this.Jh,p);d.lf(this.n,["horizontalAlign","verticalAlign","scale","scaleMode","distance","playbackPositions","image"],this.cf);m.prototype.Zb.call(this)};a.prototype.cf=function(){this.set("horizontalAlign",this.n.get("horizontalAlign"));this.set("verticalAlign",this.n.get("verticalAlign"));
1214this.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.Jh=function(){var a=this.dd.get("areas",[]);this.gy=k.ub("HotspotPanoramaOverlayImage",this.n)?a.filter(b):a.filter(c)};a.prototype.M=function(a){this.$u=a.Ja;this.Zu=a.pitch;this.Fs();this.qA();this.rA();m.prototype.M.call(this,a)};a.prototype.rA=function(){if(this.D("meshGroup",
1215"panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){h.setAttribute(a,h.vt,this.get("panoramaId"));h.setAttribute(a,h.WT,this.get("id"))}.bind(this))}};a.prototype.Fs=function(){if(this.D("playbackPositions","currentTime")){this.yb.WH(this.get("playbackPositions"));this.yb.VH(this.get("currentTime"));this.set("yaw",this.yb.get("yaw"));this.set("pitch",this.yb.get("pitch"));this.set("roll",this.yb.get("roll"));this.set("rotationX",this.yb.get("rotationX"));this.set("rotationY",
1216this.yb.get("rotationY"));this.set("hfov",this.yb.get("hfov"));this.set("vfov",this.yb.get("vfov"));this.set("alpha",this.yb.ei())}};a.prototype.qA=function(){if(this.D("image")){this.Ax();var a=t.$ka(this.n,this.get("panoramaPixelsPerDegree"));this.set("textureSource",new r(a.get("url")));this.YJ()}};a.prototype.Fn=function(){this.D("visible","composedAlpha","image","state","visibleOnStop")&&this.set("inView",this.get("visible")&&this.get("composedAlpha")>0&&(this.get("visibleOnStop")||this.get("state")!=
1217j.L));this.D("composedAlpha","meshGroup","inView")&&h.bd(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.D("inView")&&this.n.trigger(this.get("inView")?g.Ef:g.zg);this.vh&&this.vh.Re(this.get("inView"))};a.prototype.Ax=function(){if(this.vh){this.vh.clear();this.vh=q}if(this.zb){this.zb.unbind(g.W,this.iy,this,p);this.zb.unbind(g.mm,this.jy,this,p);this.zb.clear();this.zb=q}if(this.ld){this.ld.dispose();this.ld=q}if(this.get("textureSource")){this.qs();this.set("textureSource",
1218q)}};a.prototype.So=function(){this.qs();var a,b=this.get("image");if(k.ub("AnimatedImageResource",b)){this.zb=new u(this.get("textureSource").Cd(),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.zb.u;this.zb.bind(g.mm,this.jy,this,p);this.zb.bind(g.W,this.iy,this,p);this.vh=new f(b,this.zb);this.set("visibleOnStop",b.get("visibleOnStop"));this.set("state",this.zb.gi())}else{a=
1219this.get("textureSource").Cd();this.ld=new s(a);this.set("visibleOnStop",p);this.set("state",q)}this.Fn();this.set("contentWidth",a.width);this.set("contentHeight",a.height);this.get("textureSource").xg(a);this.trigger(g.Sb);this.trigger(g.O)};a.prototype.ky=function(){this.qs();this.trigger(g.Sb);this.trigger(g.O)};a.prototype.jy=function(){this.set("state",this.zb.gi())};a.prototype.iy=function(){this.get("textureSource").update();this.Lb()};a.prototype.YJ=function(){var a=this.get("textureSource");
1220a.bind(g.O,this.So,this,p);a.bind(g.kd,this.ky,this,p)};a.prototype.qs=function(){var a=this.get("textureSource");a.unbind(g.O,this.So,this,p);a.unbind(g.kd,this.ky,this,p)};
1220a.prototype.oj=function(a){if(a.Gd==g.qh){var b=this.get("beamEnabled")&&this.get("alpha")>0&&!a.bh()?this.Xx(a):[];if(b.length>0){a.Rs(b);this.$i(b)&&a.Ss(b);a.bi(this.get("distance"));var c=this.pa(b,a.bq());c&&a.CR(c,this.Op(a.bq()))}this.YF(b,a.mw(),a.bq())}else if(a.Gd==g.si){b=this.get("beamEnabled")&&this.get("alpha")>
12210&&!a.bh()?this.Xx(a):[];if(b.length>0){var f=z;b.forEach(function(a){a.trigger(g.U);!f&&a.dB(g.U).length>1&&(f=p)});a.bi(this.get("distance"));f&&a.jq(b)}}};a.prototype.Gr=function(a){return this.ld&&this.ld.He==a.source?this.ld.info(a.x,a.y):s.info(a.source,a.x,a.y)};a.prototype.Xx=function(a){var b=this.Sj(a.wn);return b.length==0?[]:this.gy.filter(function(a){var c=a.get("mapColor");return c=="any"?p:c=="image"?b.some(function(a){return this.Gr(a).Jk}.bind(this)):c=="transparent"?b.every(function(a){return!this.Gr(a).Jk}.bind(this)):
1222c&&c[0]=="#"?b.some(function(a){return o.F4(this.Gr(a).color,c)<10}.bind(this)):z}.bind(this))};a.prototype.YF=function(a,b,c){this.Wd.forEach(function(f){if(a.indexOf(f)<0){var d=v.get(f)-1;v.set(f,d);if(d==0){f.trigger(g.pc,{SA:c});b&&f.trigger(g.nf)}}});var f=this.Wd;this.Wd=a;this.Wd.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.Rc,{SA:c});b&&a.trigger(g.Cj)}}})};a.prototype.pa=function(a,b){for(var c="",f=a.length-1;f>=0&&c=="";f--){var d=a[f];if(!b||
1223d.get("displayTooltipInTouchScreens")&&this.sb.F.get("displayTooltipInTouchScreens")!==z)c=d.get("toolTip","")}return c};a.prototype.Op=function(a){if(a){var a=this.get("yaw")-this.$u,b=this.get("pitch")-this.Zu;return Math.sqrt(a*a+b*b)}return 0};a.prototype.$i=function(a){for(var b=this.dd.get("useHandCursor"),c=a.length-1;c>=0&&b===n;c--)b=a[c].get("useHandCursor");return!!b};return a});
1224define("eE",["require","el","a"],function(a){function b(a,b,e){this.Fd=a||new c(0,0,0);this.tg=b||new c(1,0,0);this.gt=e||new c(0,1,0)}var c=a("el"),e=a("a");b.prototype.clone=function(){return new b(this.Fd.clone(),this.tg.clone(),this.gt.clone())};b.prototype.apply=function(a){a.Iv(this.Fd);a.Iv(this.tg);a.Iv(this.gt)};b.prototype.intersection=function(a){var b=e.Yp(a.Fd,a.tg),j=e.Yp(this.Fd,a.Fd),k=e.Yp(this.Fd,this.tg);k.oka(e.Yp(this.Fd,this.gt));b=b.$A(k);if(0!=b)return j=-k.$A(j)/b,new c(a.Fd.x+
1225(a.tg.x-a.Fd.x)*j,a.Fd.y+(a.tg.y-a.Fd.y)*j,a.Fd.z+(a.tg.z-a.Fd.z)*j)};b.prototype.XS=function(a){var b=e.Yp(this.Fd,this.tg),j=e.Yp(this.Fd,this.gt),a=e.Yp(this.Fd,a);return new c(a.$A(b)/b.iS(),a.$A(j)/j.iS(),0)};return b});
1226define("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.ve=this.ue=this.te=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.te=this.te;a.ue=this.ue;
1227a.ve=this.ve;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.te,y=this.ue,A=this.ve;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.te=x*a.m11+y*
1228a.m21+A*a.m31+a.te;this.ue=x*a.m12+y*a.m22+A*a.m32+a.ue;this.ve=x*a.m13+y*a.m23+A*a.m33+a.ve};c.prototype.translate=function(a,b,c){this.te+=a;this.ue+=b;this.ve+=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.te*=a;this.ue*=b;this.ve*=c};c.prototype.$n=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*
1229c,t=this.ue*c-this.ve*d,u=this.ue*d+this.ve*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.ue=t;this.ve=u};c.prototype.hq=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.te*c+this.ve*d,u=-this.te*d+this.ve*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.te=t;this.ve=u};c.prototype.iq=function(c){var d=
1230a(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.te*c-this.ue*d,u=this.te*d+this.ue*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.te=t;this.ue=u};c.prototype.rotate=function(a,b,c){this.$n(a);this.hq(b);this.iq(c)};c.prototype.D5=function(){var a=this.Pka();if(0==a)return z;var b=this.clone();this.m11=(b.m22*b.m33-b.m23*b.m32)/a;
1230this.m12=(b.m13*b.m32-b.m12*b.m33)/
1231a;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.te=-(b.te*this.m11+b.ue*this.m21+b.ve*this.m31);this.ue=-(b.te*this.m12+b.ue*this.m22+b.ve*this.m32);this.ve=-(b.te*this.m13+b.ue*this.m23+b.ve*this.m33);return p};c.prototype.Pka=function(){return this.m11*(this.m22*this.m33-this.m23*
1232this.m32)+this.m12*(this.m23*this.m31-this.m21*this.m33)+this.m13*(this.m21*this.m32-this.m22*this.m31)};c.prototype.Iv=function(a){var b=a.x*this.m12+a.y*this.m22+a.z*this.m32+this.ue,c=a.x*this.m13+a.y*this.m23+a.z*this.m33+this.ve;a.x=a.x*this.m11+a.y*this.m21+a.z*this.m31+this.te;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});
1233define("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.hq(c*h);m.iq(g*h);m.$n(e*h);b.apply(m);if(b.z>0){f.TB(k);f.B6(j);f.JB(l*h);f.project(b);return b}return q},lra:function(a,c,f,d,e,g,j,A,w,C,J,B,F,K){K||(K=k.km);F||(F=b.hj(B,C,J));
1234B||(B=b.gm(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.Fd.set(+L*0.5,+M*0.5,0);l.tg.set(-L*0.5,+M*0.5,0);l.gt.set(+L*0.5,-M*0.5,0);m.identity();m.iq(-w*h);m.$n(-j*h);m.hq(A*h);m.translate(0,0,I);m.iq(-g*h);m.$n(-e*h);m.hq(-d*h);m.hq(f.mc()*h);m.iq(f.ee()*h);m.$n(f.ac()*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.XS(e);d.xScaled=d.x=e.x/L;d.yScaled=d.y=e.y/M}if(K!=k.km){var G,R;switch(K){case k.ge:G=
1235Math.min(b.gm(F,C,J),B);R=Math.min(b.hj(B,C,J),F);break;case k.Pk:G=Math.max(b.gm(F,C,J),B);R=Math.max(b.hj(B,C,J),F);break;case k.Bj:G=B;R=b.hj(B,C,J);break;case k.bg:G=b.gm(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.Fd.set(+L*0.5,+M*0.5,0);l.tg.set(-L*0.5,+M*0.5,0);l.gt.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.XS(e);d.xScaled=e.x/L;d.yScaled=e.y/M}}}return d},jqa:function(a,b,c,f,g,k,j){j=g*0.5/Math.tan(j*0.5*
1236h);l.Fd.set(+g*0.5,+k*0.5,j);l.tg.set(-g*0.5,+k*0.5,j);l.gt.set(+g*0.5,-k*0.5,j);m.identity();m.iq(-f*h);m.$n(-c*h);m.hq(-b*h);m.hq(a.mc()*h);m.iq(a.ee()*h);m.$n(a.ac()*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.XS(a);return{x:a.x/g,y:a.y/k}}return q}}});
1237define("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.Rp=new THREE.Matrix4;this.rf=new THREE.Matrix4;
1237this.Cz=new THREE.Matrix4;this.Ji=new THREE.Matrix4});a.prototype.M=function(a){e.prototype.M.call(this,a)};a.prototype.Cv=function(a){var b=z;this.D("composedTranslationX","composedTranslationY","composedTranslationZ")&&(this.Rp.makeTranslation(0.5*-this.get("composedTranslationX")*
1238c.Cf,0.5*this.get("composedTranslationY")*c.Cf,0.5*this.get("composedTranslationZ")*c.Cf),b=p);this.D("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&&(this.rf.makeRotationY(-a.Ja*j),this.rf.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*j)),this.rf.multiply(g.makeRotationY(this.get("composedDeltaYaw")*j)),this.rf.multiply(g.makeRotationY(a.Ja*j)),b=p);this.D("flipHorizontally")&&(this.Cz.makeScale(this.get("flipHorizontally")?-1:1,1,1),b=p);if(b||this.D("meshGroup"))this.Ji.copy(this.Rp),
1239this.Ji.multiply(this.rf),this.Ji.multiply(this.Cz),d.Ml(this.get("meshGroup"),this.Ji)};return a});
1240define("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.xda=0!=this.$||0!=this.aa||this.R!=a.get("width")||this.ba!=a.get("height")});a.prototype.bf=function(){this.xda?(this.oaa(),this.Lm(),this.Hu(!!this.He)):d.prototype.bf.call(this)};a.prototype.Xz=function(){d.prototype.Xz.call(this);this.LL()};a.prototype.Sp=function(){d.prototype.Sp.call(this);this.LL()};
1241d.prototype.dispose=function(){d.prototype.dispose.call(this);this.LL()};a.prototype.oaa=function(){var a=c.Cd(this.Bb);this.He=e.lka(a,this.$,this.aa,this.R,this.ba)};a.prototype.LL=function(){this.He&&(e.dH(this.He),this.He=q)};return a});
1242define("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={ika:function(a,b){var c=l.get(a);switch(c){case l.Oq:case l.ko:case l.ph:return this.aaa(c,a,b);case l.Tk:case l.Pq:case l.Ct:return this.caa(c,a,b)}},nka: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),
1243k=m.aH(r.texture());o.fm(k,r);k.visible=z;e=h.KR(d,e,g,1,1);e=f.create(e,[k]);o.RB(e,l/d);e.layers.set(c.Mk);return e},mka: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.Ck(r.texture(),new m.uj(j));o.fm(j,r);j.visible=p;e=h.KR(d,e,l,1,1);e=f.create(e,[j]);o.RB(e,k/d);e.layers.set(c.Mk);return e},kka:function(a){var b=[e.Qa,e.ra,e.eb,e.cb,e.FRONT,e.BACK].map(function(){var b=new g;b.xg(t.pca(a));var c=m.Ck(b.texture());o.fm(c,b);c.visible=
1244p;return c}),d=h.o4(1,1),b=f.create(d,b);o.RB(b,256/90);b.layers.set(c.Mk);return b},YP:{},pca:function(a){if(!t.YP[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.YP[a]=b}return t.YP[a]},aaa:function(a,g,k){var j=a==l.Oq?[c.Qa,c.ra]:[c.Mk],m=g.get("flipImageHorizontally");m&&(j=j.reverse());var s=a==l.ph?1:6*j.length,t=k.get("width")/s,J=k.get("height"),B,F;if(b.ub("TiledImageResourceLevel",k)){B=k.get("colCount",
1245s)/s;F=k.get("rowCount",1)}else if(this.G1(a,k)){B=Math.ceil(t/d.om());F=Math.ceil(J/d.om())}else F=B=1;var K=[e.Qa,e.ra,e.eb,e.cb,e.FRONT,e.BACK];return j.map(function(c,d){var e=Array(6);K.forEach(function(f,j){var o=r.aS(g,k,f);if(b.ub("TiledImageResourceLevel",k))e[h.pV.indexOf(f)]=this.$$(o,a,c,f,m,B,F);else{var s=a==l.ph?0:Math.round((d*K.length+j)*t),y=B>1||F>1||a!=l.ph?t>256?1:0.5:0;e[h.pV.indexOf(f)]=this.JX(o,B,F,s,0,t,J,y)}}.bind(this));var j=Array.prototype.concat.apply([],e),s=h.o4(B,
1246F),j=f.create(s,j);j.layers.set(c);o.RB(j,t/90);return j}.bind(this))},caa:function(a,b,e){var g=a==l.Tk?[c.Mk]:[c.ra,c.Qa];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.G1(a,e))?Math.ceil(K/d.om()):1,M=a?Math.ceil(I/d.om()):1;return g.map(function(a,b){var c=this.JX(e,L,M,b%t*K,Math.floor(b/t)*I,K,I),d=h.KR(m,r,s,L,M),
1247c=f.create(d,c);c.layers.set(a);o.RB(c,K/m);return c}.bind(this))},G1:function(a,b){switch(a){case l.Oq:case l.ko:case l.Pq:case l.Ct:return p;case l.ph:return z;case l.Tk:return s.xla().oma<Math.max(b.get("width"),b.get("height"))?p:d.ij()||s.Xa()?z:s.pd()==s.tq?p:z}},JX: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.aH(M.texture());o.fm(G,M);j.push(G)}return j},
1248$$: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.b5(a,b,c,f,d,h,k,s)):new g;var I=m.aH(t.texture());o.fm(I,t);I.visible=z;l.push(I)}return l}};return t});
1249define("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.of=a;this.set("tag","SolidFrame");this.$d=q});a.prototype.Xb=function(){this.$d=(new d(c.O)).ni(this.bf.bind(this));e.prototype.Xb.call(this)};a.prototype.Zb=function(){this.$d.dispose();e.prototype.Zb.call(this)};a.prototype.Zk=function(){var a=[g.kka(this.of)];j.lq(a,j.lm);j.kq(a,j.Rk);this.$d.hd(a);return a};a.prototype.bf=function(){this.trigger(c.Sb);
1250this.trigger(c.O)};return a});
1251define("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.Zj=new d.uj);
1252this.mba=e.YA();this.Mm=new THREE.Matrix4;this.Tt=new THREE.Matrix4;this.fv=new THREE.Matrix4;this.Fu=new THREE.Matrix4;this.uk=new THREE.Matrix4;
1252this.Cz=new THREE.Matrix4;this.Ji=new THREE.Matrix4});a.prototype.M=function(a){j.prototype.M.call(this,a);this.wA()};a.prototype.wA=function(){if(this.D("textureSource")||this.D("materialConfig")&&!this.Zj.isEqual(this.get("materialConfig"))){var a=this.get("meshGroup");a&&g.Bf(a,function(a){g.wT(a,this.KX())}.bind(this))}};a.prototype.Zk=function(){var a=
1253g.create(this.mba,this.KX());h.kq(a,h.Rk);h.lq(a,h.lm);h.OB(a,c.pJ);h.XH(a,1);return[a]};a.prototype.KX=function(){var a=this.get("textureSource")||new k;this.Zj=this.get("materialConfig");var b=d.Ck(a.texture(),this.Zj);h.fm(b,a);return[b]};a.prototype.Sj=function(a){return g.fS(this.get("meshGroup"),a)};a.prototype.Cv=function(a){var b=z;this.set("rendererYaw",a.Ja);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.ad);this.set("rendererCameraFOV",a.Ne);this.set("rendererWidth",a.width);
1254this.set("rendererHeight",a.height);this.set("inVR",a.Hb);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.sH(this.get("distance")):e.Yv());if(this.D("z")){this.Mm.makeTranslation(0,0,-this.get("z"));centerMatrixChanged=p}a.Ne&&this.D("z","rendererCameraFOV")&&this.set("rendererHeightZ",Math.tan(a.Ne*m*0.5)*this.get("z")*
12552);if(a.ah&&this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")){this.Tt.copy(a.ah.matrixWorld);var b=this.get("rendererHeightZ"),c=b*a.ah.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.fv.makeTranslation(c,b,0);b=p}if(this.D("roll")){this.uk.makeRotationZ(this.get("roll")*m);b=p}if(a.Ne&&(centerMatrixChanged||this.D("rendererHeight",
1256"inVR","rendererHeightZ","width","height","flipHorizontally"))){b=a.Hb?512/a.height:1;a=(this.get("flipHorizontally")?-1:1)*this.get("width")*b;b=this.get("height")*b;this.Cz.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.Fu.makeTranslation(a,b,0);b=p}if(b){this.Ji.copy(this.Tt);this.Ji.multiply(this.Mm);this.Ji.multiply(this.fv);this.Ji.multiply(this.uk);this.Ji.multiply(this.Cz);
1257this.Ji.multiply(this.Fu);g.Ml(this.get("meshGroup"),this.Ji)}};return a});
1258define("em",["require","iC"],function(a){function b(a,c,g,j,k,h){this.Vi=c;this.u=document.createElement("canvas");this.u.width=this.Vi;this.u.height=this.Vi;switch(a){case b.Kw:this.Gaa(g,j,k,h);break;case b.pC:this.Haa(g,j,k,h)}}var c=a("iC");b.prototype.Gc=P("Vi");b.prototype.sd=P("Vi");b.prototype.Gaa=function(a,b,g,j){for(var k=0.5*this.Vi,h=0.5*this.Vi,m=0.5*this.Vi,f=this.u.getContext("2d"),b=c.OS(b),l=f.createRadialGradient(k,h,0,k,h,m),r=0;r<g.length;r++)l.addColorStop(j[r],"rgba("+b[0]+
1259","+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.Haa=function(a,b,g,j){var k=0.5*this.Vi,h=0.5*this.Vi,m=0.5*this.Vi,f=this.u.getContext("2d");f.clearRect(0,0,this.Vi,this.Vi);for(var l=c.OS(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+
1260Math.cos(g)*m,g=h+Math.sin(g)*m,0==b?f.moveTo(a,g):f.lineTo(a,g);f.closePath();f.fill()};b.Kw="circle";b.pC="hexagon";return b});
1261define("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.Ih.push(this.n);this.cf=this.cf.bind(this);this.set("tag","LensFlare");this.jK=this.R$();this.Oc=this.qaa();this.mj(this.jK.concat([this.Oc]))});a.prototype.Xb=function(){g.prototype.Xb.call(this);this.trigger(e.Sb);this.trigger(e.O);c.Me(this.n,["yaw","pitch","bleaching","bleachingDistance"],
1262this.cf,p)};a.prototype.Zb=function(){c.lf(this.n,["yaw","pitch","bleaching","bleachingDistance"],this.cf,p);g.prototype.Zb.call(this)};a.prototype.cf=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.Ja);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.ad);this.set("rendererCameraFOV",
1263a.Ne);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("inVR",a.Hb);if(this.D("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","inVR","yaw","pitch","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var b=a.Ja+this.get("composedDeltaYaw"),c=a.pitch+this.get("composedDeltaPitch"),e=a.ad+this.get("composedDeltaRoll"),h=0,k=0,j,m,y,A;if(!a.Hb)if(b=d.get(this.get("yaw"),this.get("pitch"),b,c,e,a.Ne,a.width,a.height)){m=
1264a.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.jK.length;a++){b=this.jK[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.Oc.set("alpha",k)}};a.prototype.R$=function(){return f.map(function(a){var b=
1265(new h(a.form,a.rt,a.opacity,a.color,a.bt,a.ct)).u,c=new m;c.xg(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.qaa=function(){return new j("#ffffff")};var f=[{form:h.pC,position:0.1,size:52,rt:128,opacity:0.8,color:"#FCFCFC",bt:[1,0.5],ct:[0,0.866]},{form:h.pC,position:0.2,size:52,rt:128,opacity:0.6,color:"#C8FCC8",bt:[1,0.5],ct:[0,0.866]},{form:h.Kw,position:0.36,size:112,rt:128,opacity:0.5,
1266color:"#C8C8FC",bt:[1,0.9,0.6,0],ct:[0,0.2,0.4,1]},{form:h.Kw,position:0.47,size:32,rt:128,opacity:0.3,color:"#96C8AF",bt:[1,1,0],ct:[0,0.9,1]},{form:h.Kw,position:0.65,size:52,rt:128,opacity:0.7,color:"#FCFCFC",bt:[
12660.7,0.7,0.2,0],ct:[0,0.1,0.4,1]},{form:h.pC,position:0.88,size:128,rt:128,opacity:0.4,color:"#AF96C8",bt:[1,0.5],ct:[0,0.866]},{form:h.Kw,position:1,size:33,rt:128,opacity:0.8,color:"#C89696",bt:[0.8,0.8,0.6,0],ct:[0,0.2,0.4,1]}];return a});
1267define("bp",["require","cX"],function(a){function b(a,b,k){d.style.fontFamily=e.Wp(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.Wp(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");
1268d.style.display="inline-block";d.style.margin=0;d.style.padding=0;d.style.whiteSpace="nowrap";b.lV=function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"};b.Bpa=c;return b});
1269define("ik",["require","bp","cX"],function(a){function b(a,b){this.Da=a;this.J0=5;this.dc=b.map(function(b){return new c(a,b)});this.xu=this.yu=this.Em=this.Fm=0;this.NQ();this.u=document.createElement("canvas");this.u.width=this.Fm;this.u.height=this.Em;this.Ga=this.u.getContext("2d");this.Y=p;this.Lc=this.C0=-1}function c(a,b){this.et=a;this.item=b;this.label=b.get("label");this.fontFamily=this.et.get("fontFamily","Arial");this.fontSize="12px";this.backgroundColor=this.et.get("backgroundColor",
1270"#000000");this.q6=this.et.get("rollOverBackgroundColor",this.backgroundColor);this.dna=this.et.get("selectedBackgroundColor",this.q6);this.x4=this.et.get("fontColor","#000000");this.r6=this.et.get("rollOverFontColor",b.x4);this.ena=this.et.get("selectedFontColor",b.r6);this.b7=this.a7=this.c7=this.d7=this.height=this.width=this.left=this.top=0;this.status=z;this.uS=p}var e=a("bp"),d=a("cX");c.prototype.Noa=function(){var a=new e.lV;a.fontFamily=this.fontFamily;a.fontSize=this.fontSize;a=e(this.label,
1271a);this.d7=a.width;this.c7=a.height};c.prototype.joa=function(a){this.status!=a&&(this.status=a,this.uS=p)};c.prototype.tka=function(a){if(this.uS){this.uS=z;var b,c;switch(this.status){case "normal":b=this.backgroundColor;c=this.x4;break;case "over":b=this.q6;c=this.r6;break;case "selected":b=this.dna,c=this.ena}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=
1272this.fontSize+(isNaN(this.fontSize)?"":"px")+" "+d.Wp(this.fontFamily);a.textBaseline="middle";a.textAlign="center";a.fillText(this.label,Math.round(this.a7),Math.round(this.b7));return p}return z};b.prototype.Gc=P("Fm");b.prototype.sd=P("Em");b.prototype.NQ=function(){var a=0,b=0;this.dc.forEach(function(c){c.Noa();a=Math.max(c.d7,a);b=Math.max(c.c7,b)});this.yu=a+2*this.J0;this.xu=b+2*this.J0;var c=0,d=0,e=0;this.dc.forEach(function(a){20<=e&&(e=0,d+=this.yu,c=0);a.left=d;a.top=c;a.a7=d+0.5*this.yu;
1273a.b7=c+0.5*this.xu;a.width=this.yu;a.height=this.xu;e+=1;c+=this.xu}.bind(this));this.Fm=Math.ceil(this.dc.length/20)*this.yu;this.Em=Math.min(20,this.dc.length)*this.xu};b.prototype.update=function(){for(var a=z,b=0;b<this.dc.length;b++)this.dc[b].joa(this.C0==b?"over":this.Lc==b?"selected":"normal"),a=this.dc[b].tka(this.Ga)||a;return a};b.prototype.J4=function(a,b){var c=-1;0<=a&&a<this.Fm&&0<=b&&b<this.Em&&(c=20*Math.floor(a/this.yu)+Math.floor(b/this.xu),c>=this.dc.length&&(c=-1));return c};
1274b.prototype.yT=N("C0");b.prototype.CT=N("Lc");b.prototype.clear=function(){this.dc=this.u=this.Ga=this.Da=q};return b});
1275define("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.Da=a;this.u=q;this.Mp=this.Xi=this.aP=this.sn=n;this.cX=20;this.wd=q;this.Ab=this.Da.get("opacity",0.5);this.iz=this.Da.get("rollOverOpacity",this.Ab);this.Jda=1;this.Lda=0.66;this.set("tag","MenuButton");this.set("visible",z);this.set("over",z);this.set("centerDistance",
1276n)});a.prototype.M=function(a){this.yf(a);this.pA(a);this.uA(a);this.Js(a);d.prototype.M.call(this,a)};a.prototype.yf=function(){if(this.get("visible")){if(!this.u){this.get("textureSource")||this.set("textureSource",new j);this.u=new g(this.Da,[this.Da]);this.get("textureSource").xg(this.u.u);this.set("contentWidth",this.u.Gc());this.set("contentHeight",this.u.sd());this.set("hfov",2*Math.atan2(this.u.Gc()*0.5,300)*f);this.set("distance",this.Da.get("distance"))}
1276if(this.u.update()){this.get("textureSource").update();
1277this.Lb()}this.D("over")&&this.u.yT(this.get("over")?0:-1)}};a.prototype.pA=function(a){if(this.D("visible"))this.wd=new k("linear",[new h("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,n)],300);if(this.wd)this.wd.Dd()?this.wd=q:this.wd.Va(a.Qd)};a.prototype.uA=function(a){if(this.get("visible")||this.wd){this.Xi=a.Ja;this.Mp=Math.min(90,Math.max(-90,this.cX+this.cX-a.pitch));if(this.D("visible")&&this.get("visible")){this.set("yaw",a.Ja);this.set("pitch",a.pitch)}else{for(;this.Xi+
1278180<this.sn;)this.sn=this.sn-360;for(;this.Xi-180>this.sn;)this.sn=this.sn+360;var c=(this.Xi-this.sn)/a.Qd,f=(this.Mp-this.aP)/a.Qd,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.Xi+c));this.set("pitch",b(this.get("pitch"),this.Mp+d))}this.sn=this.Xi;this.aP=this.Mp;d=this.get("yaw")-a.Ja;a=this.get("pitch")-a.pitch;this.set("centerDistance",Math.sqrt(d*d+a*a))}};a.prototype.Js=function(){if(!this.get("visible")&&!this.wd)this.set("alpha",
12790);else if(this.D("over","centerDistance")||this.wd){var a=this.get("over")?this.iz:this.Ab,b=this.Lda,c=this.get("centerDistance")/this.get("hfov");if(c<1){b=b+(1-c)*(this.Jda-b);a=a+(1-c)*(this.iz-a)}if(this.wd){a=a*this.wd.bb("displayCoef");b=b*this.wd.bb("displayCoef")}this.set("alpha",a);this.set("scale",b)}};a.prototype.oj=function(a){if(a.Gd==e.qh){var b=z;this.get("visible")&&!a.bh()&&(b=this.Sj(a.wn).length>0);if(b){a.Rs(this.Da);a.Ss(this.Da);a.bi(this.get("distance"))}if(this.get("over")!=
1280b){this.get("over")&&this.Da.trigger(e.pc);this.set("over",b);this.get("over")&&this.Da.trigger(e.Rc)}}else if(a.Gd==e.si&&this.get("visible")&&!a.bh()&&this.Sj(a.wn).length>0){a.jq(this.Da);this.Da.trigger(e.U);this.trigger(e.U)}};var m=Math.PI/180,f=180/Math.PI;return a});
1281define("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.Da=a;this.Jy=b;this.u=q;this.aP=this.sn=n;this.wd=q;this.Ab=this.Da.get("opacity",0.5);this.iz=this.Da.get("rollOverOpacity",this.Ab);this.set("textureSource",new g);this.u=new d(this.Da,b);this.set("tag","MenuPanel");this.get("textureSource").xg(this.u.u);this.set("contentWidth",this.u.Gc());this.set("contentHeight",
1282this.u.sd());this.set("hfov",2*Math.atan2(this.u.Gc()*0.5,300)*h);this.set("distance",this.Da.get("distance"));this.set("overIndex",-1);this.set("selectedIndex",-1);this.SX=z});a.prototype.Xb=function(){e.prototype.Xb.call(this)};a.prototype.Zb=function(){e.prototype.Zb.call(this)};a.prototype.M=function(a){this.yf(a);this.pA(a);this.uA(a);e.prototype.M.call(this,a)};a.prototype.yf=function(){this.D("selectedIndex")&&this.u.yT(this.get("selectedIndex"));this.D("overIndex")&&this.u.yT(this.get("overIndex"));
1283if(this.u.update()){this.get("textureSource").update();this.Lb()}};a.prototype.pA=function(a){if(!this.wd&&!this.SX)this.wd=new j("linear",[new k("alpha",0,1,n),new k("scale",0,1,n),new k("yaw",a.Ja,this.get("yaw"),n),new k("pitch",a.pitch,this.get("pitch"),n)],300);if(this.wd)if(this.wd.Dd()){this.SX=p;this.wd=q}else this.wd.Va(a.Qd)};a.prototype.uA=function(){if(this.wd){var a=this.get("overIndex")<0?this.Ab:this.iz;this.set("alpha",a*this.wd.bb("alpha"));this.set("scale",this.wd.bb("scale"));this.set("yaw",
1284this.wd.bb("yaw"));this.set("pitch",this.wd.bb("pitch"))}else if(this.D("overIndex")){a=this.get("overIndex")<0?this.Ab:this.iz;this.set("alpha",a)}};a.prototype.oj=function(a){if(a.Gd==c.qh){var b=-1;if(!a.bh()){var d=this.Sj(a.wn).filter(function(a){return a.source==this.u.u}.bind(this));d.length>0&&(b=this.u.J4(d[0].x,d[0].y))}if(b>=0){a.Rs(this.Jy[b]);a.Ss(this.Jy[b]);a.bi(this.get("distance"))}this.get("overIndex")>=0!=b>=0&&(b>0?this.trigger(c.Rc):this.trigger(c.pc));if(this.get("overIndex")!=
1285b){this.get("overIndex")>=0&&this.Jy[this.get("overIndex")].trigger(c.pc);this.set("overIndex",b);this.get("overIndex")>=0&&this.Jy[this.get("overIndex")].trigger(c.Rc)}}else if(a.Gd==c.si&&!a.bh()){d=this.Sj(a.wn).filter(function(a){return a.source==this.u.u}.bind(this));if(d.length>0){b=this.u.J4(d[0].x,d[0].y);if(b>=0){d=this.Jy[b];this.set("selectedIndex",b);a.jq(d);a.bi(this.get("distance"));d.trigger(c.U);this.trigger(c.U,{item:d})}}}};var h=180/Math.PI;return a});
1286define("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.Da=a;this.pp=[];this.Nu=q;this.set("tag","MenuPanels");this.set("visible",z)});a.prototype.M=function(a){this.D("visible")&&this.get("visible")&&(this.set("yaw",a.Ja),this.set("pitch",a.pitch),this.oW(this.Da));e.prototype.M.call(this,a)};a.prototype.oW=function(a){var a=new d(this.Da,a.get("children",[])),b=this.get("yaw");
1286this.Oa().forEach(function(a){b+=
1287a.get("hfov")+j});a.set("yaw",b);a.set("pitch",this.get("pitch"));this.Z8(a);this.appendChild(a)};a.prototype.x1=function(a){this.Oa().slice(a).forEach(function(a){this.Wfa(a);a.remove()}.bind(this));this.pp=this.pp.filter(function(a){return 0<=this.Oa().indexOf(a)}.bind(this))};a.prototype.Z8=function(a){a.bind(c.Rc,this.O0,this,p);a.bind(c.pc,this.N0,this,p);a.bind(c.U,this.M0,this,p)};a.prototype.Wfa=function(a){a.unbind(c.Rc,this.O0,this,p);a.unbind(c.pc,this.N0,this,p);a.unbind(c.U,this.M0,this,
1288p)};a.prototype.O0=function(a){0>this.pp.indexOf(a.source)&&(this.pp.push(a.source),1==this.pp.length&&this.oX())};a.prototype.N0=function(a){a=this.pp.indexOf(a.source);0<=a&&(this.pp.splice(a,1),0==this.pp.length&&this.Zga())};a.prototype.M0=function(a){var b=a.source,a=a.data.item;a.get("children",[]).length?(this.x1(this.Oa().indexOf(b)+1),this.oW(a)):this.tX()};a.prototype.tX=function(){this.set("visible",z);this.x1(0);this.oX();this.trigger(c.vq)};a.prototype.oX=function(){this.Nu&&(clearTimeout(this.Nu),
1289this.Nu=q)};a.prototype.Zga=function(){this.Nu||(this.Nu=setTimeout(function(){this.Nu=q;this.tX()}.bind(this),g))};var g=3E3,j=1;return a});
1290define("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.Ih.push(this.n);this.set("tag","Menu");this.set("visible",z);this.Pb=new d(this.n);this.Pb.bind(c.U,this.L9,this,z);this.Ee=new MenuPanels(this.n);this.Ee.bind(c.vq,this.efa,this,z);this.mj([this.Pb,this.Ee])});a.prototype.Xb=function(){e.prototype.Xb.call(this);this.trigger(c.Sb);this.trigger(c.O)};a.prototype.M=function(a){this.set("visible",
1291a.Hb);if(this.D("visible")){this.Pb.set("visible",this.get("visible"));this.Ee.set("visible",z)}e.prototype.M.call(this,a)};a.prototype.L9=function(){this.Pb.set("visible",z);this.Ee.set("visible",p)};a.prototype.efa=function(){this.Pb.set("visible",this.get("visible"))};return a});
1292define("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.Ih.push(this.n);this.SE=this.SE.bind(this);this.De=this.De.bind(this);this.RE=this.RE.bind(this);this.Wk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",z);this.set("blendingActive",p);this.set("currentTime",0);this.set("adjacentPanoramas",
1293[]);this.set("preloadEnabled",p);this.set("backgroundPreloadEnabled",p);this.set("id","panorama_"+m++);this.zF=[];this.Ri=this.kc=this.Id=q;this.mj([this.Xe=new f,this.kk=new l])});a.prototype.Xb=function(){this.Id=(new j(e.O)).ni(this.bk.bind(this));this.kc=(new j(e.cc)).Gk(this.Zr.bind(this));this.Ri=(new j(e.Sb)).ni(this.kea.bind(this));g.prototype.Xb.call(this);c.Me(this.n,["currentTime"],this.SE,p);c.Me(this.n,["frames","overlays","vrMenu","adjacentPanoramas"],this.De,p);c.Me(this.n,["adjacentPanoramas"],
1294this.RE,p)};a.prototype.Zb=function(){this.Id.dispose();this.kc.dispose();this.Ri.dispose();g.prototype.Zb.call(this);c.lf(this.n,["currentTime"],this.SE);c.lf(this.n,["frames","overlays","vrMenu","flipImageHorizontally"],this.De);c.lf(this.n,["adjacentPanoramas"],this.RE);this.jQ()};a.prototype.De=function(){var a=this.sb.Pn(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.sb.Pn(this.n.get("overlays"));
1295this.n.get("vrMenu")&&b.push(this.sb.Pn(this.n.get("vrMenu")));b.forEach(function(a){a.set("panoramaId",this.get("id"))}.bind(this));this.Id.hd(a.concat(b));this.kc.hd(a.concat(b));this.Ri.hd(a);this.Xe.mj(a);this.kk.mj(b);this.set("panoramaPixelsPerDegree",k.P4(this.n));this.v3()};a.prototype.SE=function(){this.set("currentTime",this.n.get("currentTime",0))};a.prototype.RE=function(){this.set("adjacentPanoramas",this.n.get("adjacentPanoramas",[]))};a.prototype.bk=function(){this.Bk();this.trigger(e.O)};
1296a.prototype.kea=function(){this.Bk();this.trigger(e.Sb)};a.prototype.Zr=function(){this.Bk()};a.prototype.Bk=function(){var a=0;this.kc.Kn(function(b){var c=0,d;this.Id.hi(b)?c=100:(d=this.kc.hi(b))&&(c=d.jh);a=a+c}.bind(this));this.trigger(new d(e.cc,a/this.kc.Bc.length))};a.prototype.M=function(a){this.set("blendingActive",this.get("alpha")<1);this.set("backgroundPreloadEnabled",this.sb.xa.get("backgroundPreloadEnabled")!==z);this.set("preloadEnabled",a.AB);this.D("adjacentPanoramas","loadingActive",
1297"preloadEnabled","backgroundPreloadEnabled")&&(this.get("loadingActive")&&this.get("backgroundPreloadEnabled")?this.Jha():this.jQ());this.D("index")&&this.v3();g.prototype.M.call(this,a)};a.prototype.Jha=function(){this.jQ();this.zF=this.get("adjacentPanoramas").map(function(a){a=a.get("panorama");return[a,k.nB(a,this.get("preloadEnabled"))]}.bind(this));this.zF.forEach(function(a){h.e4(a[0],a[1]);h.IH(a[0],1)})};a.prototype.jQ=function(){this.zF.forEach(function(a){h.IH(a[0],-1);h.Sma(a[0],a[1])});
1298this.zF=[]};a.prototype.v3=function(){var a=this.get("index");
1298this.Xe.Oa().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.Wk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});f.prototype.M=function(a){this.Oa().forEach(function(a,b,c){a.set("frontFrame",c[c.length-1])});g.prototype.M.call(this,a)};var l=b.extend(g,
1299function(){g.call(this);this.Wk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",z);this.set("currentTime",0);this.set("tag","Group")});return a});
1300define("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.rA()};a.prototype.$Q=function(){if(this.D("panoramaIndex","frameIndex","frameCount","meshGroup")){var a=this.get("meshGroup");if(a){var b=this.get("panoramaIndex"),c=this.get("frameIndex"),
1301d=this.get("frameCount"),m=a.children.length;a.children.forEach(function(a,g){e.FT(a,b+(g+c/d)/m)}.bind(this))}}};a.prototype.rA=function(){if(this.D("meshGroup","panoramaId","id")){var a=this.get("meshGroup");a&&a.children.forEach(function(a,b){e.setAttribute(a,e.vt,this.get("panoramaId"));e.setAttribute(a,e.kI,b);e.setAttribute(a,e.wt,this.get("id"))}.bind(this))}};return a});
1302define("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.Z0=p;this.n=a;this.Ih.push(this.n);this.ng=this.$d=this.Ri=q;this.JN=[];this.De=this.De.bind(this);this.Wk(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.mj([this.kk=new r])});a.prototype.Xb=function(){this.Ri=
1303new k(e.O);this.$d=new k(e.O);this.ng=new k(e.cc);j.prototype.Xb.call(this);c.Me(this.n,["overlays"],this.De,p)};a.prototype.Zb=function(){this.Ri.dispose();this.$d.dispose();this.ng.dispose();c.lf(this.n,["overlays"],this.De);j.prototype.Zb.call(this)};a.prototype.De=function(){this.kk.mj(this.sb.Pn(this.n.get("overlays")));this.o3()};a.prototype.o3=function(){this.$d.hd([].concat(this.JN,this.kk.Oa()));this.ng.hd([].concat(this.JN,this.kk.Oa()))};a.prototype.Zk=function(){var a=[],b=[],c=[];h.hS(this.n,
1304this.Z0).forEach(function(e,g){var l=m.ika(this.n,e);if(h.cma(e)){if(g==0){a=a.concat(l);b=b.concat(l)}f.lq(l,g==0?f.lm:f.rC);f.kq(l,g==0?f.Rk:f.gJ)}else{g==0&&(a=a.concat(l));b=b.concat(l);f.lq(l,f.lm);f.kq(l,f.Rk)}f.OB(l,g==0?d.$U:d.Sk);f.XH(l,g);c=c.concat(l)}.bind(this));this.Ri.hd(a);this.JN=b;this.o3();this.$d.ni(this.bk.bind(this));this.Ri.ni(this.Kea.bind(this));this.ng.Gk(this.Zr.bind(this));this.trigger(new l(e.cc,0));return c};a.prototype.Kea=function(){this.trigger(e.Sb)};a.prototype.bk=
1305function(){this.trigger(e.O)};a.prototype.M=function(a){this.Z0=a.AB;this.dja();j.prototype.M.call(this,a)};a.prototype.dja=function(){var a=this.get("frontFrame");if(this.D("frontFrame")||a&&a.D("alpha"))this.kk.set("alpha",!a||a==this?1:1-a.get("alpha"))};a.prototype.Zr=function(){var a=0;this.ng.Kn(function(b){var c=0,d;this.$d.hi(b)?c=100:(d=this.ng.hi(b))&&(c=d.jh);a=a+c}.bind(this));this.trigger(new l(e.cc,a/this.ng.Bc.length))};var r=b.extend(g,function(){g.call(this);this.Wk(["loadingActive",
1306"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.we="cueChange";a.A("VideoCue",b).B("Object").K({startTime:"number",endTime:"number"}).nc([e.tj,e.ua]);return b});define("j",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
1307define("hh",["require"],function(){function a(a,e,d){this.Bb=a;this.U2=e;this.Yd=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.Yd==b};a.prototype.isEqual=function(a){return this.Bb==a.Bb&&this.U2==a.U2&&this.Yd==a.Yd}
1307;return a});
1308define("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.va=a;this.Bb=b;this.N2=c;this.k=d.L;this.Cg=this.Db=0;this.ed=z;this.cj=1;this.u=this.Na=q;this.jx=[]});m.prototype.Rd=function(a){if(this.k!=a&&!(a==d.Hc&&this.k!=d.T)){this.k=a;if(this.k==d.T)h.YS(this);else{h.zB(this);this.k==d.L&&this.pha()}this.Eia()}};m.prototype.gi=P("k");m.prototype.Nn=P("Db");m.prototype.xw=
1309function(a){this.Cg=a;if(this.Na){this.Na.oB()&&this.aY();this.Na.play(this.va,this.Bb,this.N2,this.Cg)}};m.prototype.gj=P("Cg");m.prototype.li=function(a){this.cj=a;this.Na&&this.Na.li(a)};m.prototype.Yf=function(a){this.ed=a;this.Na&&this.Na.Yf(a)};m.prototype.Qv=function(a,b,c){this.Na&&this.Na.oB()?this.Na.Qv(a,b,c):this.u?a.drawImage(this.u,0,0,b,c):a.fillRect(0,0,b,c)};m.prototype.mH=function(){return this.Na&&this.Na.oB()?new k(this.Bb,this.Na.gj(),this.Na.t):this.u?new k(this.Bb,this.Cg,this.u):
1310new k(this.Bb,this.Cg,q)};m.prototype.RR=function(a){this.Na=a;setTimeout(function(){this.Na&&this.Na.bind(g.Df,this.Ty,this,p)}.bind(this),0);this.Na.bind(g.mf,this.fd,this,p);this.Na.bind(g.jm,this.hn,this,p);this.Na.bind(g.we,this.Ki,this,p);this.Na.Yf(this.ed);this.Na.li(this.cj);this.Na.play(this.va,this.Bb,this.N2,this.Cg)};m.prototype.CS=function(){this.Na.oB()&&this.aY();this.Cg=this.Na.gj();this.Na.unbind(g.Df,this.Ty,this,p);this.Na.unbind(g.mf,this.fd,this,p);this.Na.unbind(g.jm,this.hn,
1311this,p);this.Na.unbind(g.we,this.Ki,this,p);this.Na=q};m.prototype.clear=function(){this.w$()};m.prototype.aY=function(){if(!this.u)this.u=document.createElement("canvas");this.u.width=this.Na.Gc();this.u.height=this.Na.sd();this.Na.Qv(this.u.getContext("2d"),this.u.width,this.u.height)};m.prototype.w$=function(){if(this.u){this.u.width=0;this.u.height=0;this.u=q}};m.prototype.hn=function(){this.Db=this.Na.Nn();this.ria()};m.prototype.fd=function(){this.Db!=this.Na.Nn()&&this.hn();this.Cg=this.Na.gj();
1312this.m3()};m.prototype.Ki=function(){this.jx=this.Na.Wb.map(function(a){for(var b=q,c=0;c<this.jx.length&&!b;c++)this.jx[c].cue==a&&(b=this.jx[c]);b||(b=new j(a));return b}.bind(this));this.trigger(new c(m.we))};m.prototype.Ty=function(){this.Rd(d.L);this.sia()};m.prototype.pha=function(){this.Cg=0;this.m3()};m.prototype.m3=function(){this.trigger(new c(m.mf))};m.prototype.ria=function(){this.trigger(new c(m.jm))};m.prototype.sia=function(){this.trigger(new c(m.Df))};m.prototype.Eia=function(){this.trigger(new c(m.jd))};
1313m.mf="time update";m.jm="duration update";m.jd="state change";m.Df="end";m.we="cue change";return m});
1314define("hI","require,cI,jd,bI,es,dD,M".split(","),function(a){function b(a,b){this.gd=a;this.N=b;this.Of=z;this.pf=[];this.Ah=this.bu=n;this.Wb=[];this.uK();this.dL();this.Wz();this.df()}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.zx();this.pf=[];this.CQ();this.N=this.gd=q};b.prototype.uK=function(){this.N.bind(h.mf,this.fd,this,p);this.N.bind(h.jd,this.df,this,p);this.N.bind(h.Df,this.ik,this,
1315p)};b.prototype.CQ=function(){this.N.unbind(h.mf,this.fd,this,p);this.N.unbind(h.jd,this.df,this,p);this.N.unbind(h.Df,this.ik,this,p)};b.prototype.df=function(){var a=this.N.gi()!=j.L;if(this.Of!=a)(this.Of=a)?this.Wz():this.zx()};b.prototype.ik=function(){this.Ev()};b.prototype.fd=function(){this.Ev()};b.prototype.Wz=function(){this.Ah=this.bu=0};b.prototype.Ev=function(){if(this.N&&this.Of){var a=this.Wb.slice(),b=this.N.gj(),c=b-this.bu;if(c<0){this.Wb=[];this.Ah=0}c=c>=0&&c<2;this.bu=b;var h;
1316for(h=this.Ah;h<this.pf.length;h++)if(this.pf[h].time>b)break;for(;this.Ah<h;this.Ah++){b=this.pf[this.Ah];if(b.action=="start"){this.Wb=e(this.Wb).union([b.cue]);c&&b.cue.trigger(new g(d.tj))}else{this.Wb=e(this.Wb).difference([b.cue]);c&&b.cue.trigger(new g(d.ua))}}(a.length!=this.Wb.length||e(a).intersection(this.Wb).length!=this.Wb.length)&&this.kA()}};b.prototype.zx=function(){if(this.Wb.length>0){this.Wb=[];this.kA()}};b.prototype.kA=function(){this.gd.trigger(new g(k.we,{activeCues:this.Wb.slice()}))};
1317b.prototype.dL=function(){this.pf=[];var a=this.gd.get("cues",[]);e(a).each(function(a){this.pf.push(new c(a.get("startTime",0),a,"start"));this.pf.push(new c(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.pf.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});
1318define("hr",["require","jd","es","bI","M"],function(a){function b(a,b,c){this.xa=a;this.gd=b;this.N=c;this.N.xw(this.Cg=this.gd.get("currentTime",0));this.N.Yf(this.ed=this.xa.get("mute",z));this.N.Rd(this.k=this.gd.get("state",e.L));this.Db=this.N.Nn();this.a9();this.g9();this.um()}var c=a("jd"),e=a("es"),d=a("bI"),g=a("M");b.prototype.clear=function(){this.Xfa();this.bga();this.xn();this.N.Rd(e.L);this.gd.set("state",e.L);this.gd.set("currentTime",0);this.gd.set("duration",n)};b.prototype.w0=function(){var a=
1319this.gd.get("state",e.L);this.k!=a&&this.N.Rd(this.k=a)};b.prototype.v0=function(){var a=this.gd.get("currentTime",0);
1319this.Cg!=a&&this.N.xw(this.Cg=a)};b.prototype.f0=function(){var a=this.xa.get("mute",0);this.ed!=a&&this.N.Yf(this.ed=a)};b.prototype.s0=function(){this.gd.set("currentTime",this.Cg=this.N.gj())};b.prototype.q0=function(){this.gd.set("duration",this.Db=this.N.Nn())};b.prototype.r0=function(){this.gd.set("state",this.k=this.N.gi())};b.prototype.t0=function(){this.gd.get("loop")&&(this.N.xw(this.Cg=
13200),this.N.Rd(this.k=e.T));this.gd.trigger(new d(c.ua))};b.prototype.a9=function(){this.xa.bind(c.ha("mute"),this.f0,this,p)};b.prototype.Xfa=function(){this.xa.unbind(c.ha("mute"),this.f0,this,p)};b.prototype.g9=function(){this.gd.bind(c.ha("state"),this.w0,this,p);this.gd.bind(c.ha("currentTime"),this.v0,this,p)};b.prototype.bga=function(){this.gd.unbind(c.ha("state"),this.w0,this,p);this.gd.unbind(c.ha("currentTime"),this.v0,this,p)};b.prototype.um=function(){this.N.bind(g.mf,this.s0,this,p);this.N.bind(g.jm,
1321this.q0,this,p);this.N.bind(g.jd,this.r0,this,p);this.N.bind(g.Df,this.t0,this,p)};b.prototype.xn=function(){this.N.unbind(g.mf,this.s0,this,p);this.N.unbind(g.jm,this.q0,this,p);this.N.unbind(g.jd,this.r0,this,p);this.N.unbind(g.Df,this.t0,this,p)};return b});
1322define("i",["require","M"],function(a){function b(a,b){this.gd=a;this.N=b;this.WJ=[];this.uK();this.Ki()}var c=a("M");b.prototype.clear=function(){this.v$();this.CQ();this.N=this.gd=q};b.prototype.uK=function(){this.N.bind(c.we,this.Ki,this,p)};b.prototype.CQ=function(){this.N.unbind(c.we,this.Ki,this,p)};b.prototype.Ki=function(){this.gd.set("activeSubtitles",this.WJ=this.N.jx)};b.prototype.v$=function(){this.gd.get("activeSubtitles")==this.WJ&&this.gd.set("activeSubtitles",this.WJ=[])};return b});
1323define("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});
1324define("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.Ih.push(this.n);this.Wk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",n);this.set("atStart",n);this.an=k.mS(this.n);this.ng=
1325this.$d=this.zf=this.N=this.vp=this.Fv=q});a.prototype.Xb=function(){this.$d=(new j(c.O)).ni(this.bk.bind(this));this.ng=(new j(c.cc)).Gk(this.Zr.bind(this));this.N=s.create(this.sb.xa,this.an.get("url"),this.n.get("sphere").get("subtitlesURL"));this.Lj=new m(this.n.bw(),this.N);this.$a=new f(this.sb.xa,this.n.bw(),this.N);this.$z=new o(this.n.bw(),this.N);this.um();g.prototype.Xb.call(this)};a.prototype.Zb=function(){this.$d.dispose();this.ng.dispose();this.xn();this.Lj.clear();this.Lj=q;this.$a.clear();
1326this.$a=q;this.$z.clear();this.$z=q;this.N.clear();this.zf=this.N=q;g.prototype.Zb.call(this)};a.prototype.Zk=function(){var a=[];a.push(this.Fv=h.mka(this.n,this.an));this.xja=r.st(l.$p(this.Fv)[0]);r.lq(this.Fv,r.lm);r.kq(this.Fv,r.Rk);if(this.an.get("posterURL")){a.push(this.vp=h.nka(this.n,this.an));r.lq(this.vp,r.lm);r.kq(this.vp,r.Rk);r.OB(this.vp,e.$U)}this.$d.hd(a);this.ng.hd(a);this.trigger(new u(c.cc,0));return a};a.prototype.M=function(a){var b=this.N.mH();this.set("frameEmpty",b.isEmpty());
1327this.set("atStart",!(this.get("currentTime")>1));g.prototype.M.call(this,a);if(!this.zf||!this.zf.isEqual(b)){this.zf=b;this.xja.xg(this.zf.Yd);this.Lb()}else this.N.gi()==d.T&&this.Lb()};a.prototype.Fn=function(){if(this.D("composedAlpha","meshGroup","frameEmpty","atStart"))if(this.vp&&this.get("frameEmpty")&&this.get("atStart")){l.bd(this.vp,this.get("composedAlpha"));l.bd(this.Fv,0)}else{this.vp&&l.bd(this.vp,0);l.bd(this.Fv,this.get("composedAlpha"))}};a.prototype.bk=function(){this.trigger(c.Sb);
1328this.trigger(c.O)};a.prototype.Zr=function(a,b){var d=0;b.Kn(function(a){(a=b.hi(a))&&(d=d+a.jh)});this.trigger(new u(c.cc,d/b.Bc.length))};a.prototype.df=function(){this.Lb()};a.prototype.fd=function(){this.Lb()};a.prototype.um=function(){this.N.bind(t.mf,this.fd,this,p);this.N.bind(t.jd,this.df,this,p)};a.prototype.xn=function(){this.N.unbind(t.mf,this.fd,this,p);
1328this.N.unbind(t.jd,this.df,this,p)};return a});
1329define("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.kc=this.$d=q});a.prototype.Xb=function(){this.$d=(new EventAggregator(c.O)).ni(this.bk.bind(this));this.kc=(new EventAggregator(c.O)).Gk(this.Mi.bind(this));e.prototype.Xb.call(this)};a.prototype.Zb=function(){this.$d.dispose();
1330this.kc.dispose();e.prototype.Zb.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.xg(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.$d.hd(a);this.kc.hd(a)}}};a.prototype.bk=function(){this.trigger(c.Sb);this.trigger(c.O)};a.prototype.Mi=
1331function(a,b){var d=0;b.Kn(function(a){(a=b.hi(a))&&(d=d+a.jh)});this.trigger(new ProgressEvent(c.cc,d/b.Bc.length))};return a});
1332define("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.kc=this.Id=q});a.prototype.Xb=function(){this.Id=(new g(c.O)).ni(this.bk.bind(this));this.kc=(new g(c.cc)).Gk(this.Mi.bind(this));e.prototype.Xb.call(this)};a.prototype.Zb=function(){this.Id.dispose();this.kc.dispose();e.prototype.Zb.call(this)};a.prototype.M=function(a){if(this.D("url")){var b=
1333this.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.Id.hd(a);this.kc.hd(a)}}};a.prototype.bk=function(){this.trigger(c.Sb);this.trigger(c.O)};a.prototype.Mi=function(a,b){var d=0;b.Kn(function(a){(a=b.hi(a))&&(d=d+a.jh)});this.trigger(new j(c.cc,d/b.Bc.length))};return a});
1334define("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.Ih.push(this.n);this.De=this.De.bind(this);this.Wk(["loadingActive",
1335"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.yc=this.t=this.Za=this.kc=this.Id=q;this.yb=new l;this.xm=this.Xo=this.$g=this.zf=this.N=
1336q});a.prototype.Xb=function(){this.Id=(new r(d.O)).ni(this.Ry.bind(this));this.kc=(new r(d.cc)).Gk(this.Sy.bind(this));j.prototype.Xb.call(this);this.S$();this.appendChild(this.yc);e.Me(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.De,p)};a.prototype.Zb=function(){this.Id.dispose();this.kc.dispose();e.lf(this.n,["playbackPositions","popupDistance","popupMaxHeight","popupMaxWidth","image","video","state","visible"],this.De);this.Qx();
1337this.Rx();this.UX();j.prototype.Zb.call(this)};a.prototype.De=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.$u=a.Ja;this.Zu=
1338a.pitch;this.EQ(a);this.Fs(a);this.ZQ(a);this.Js(a);this.aja(a);this.Nia(a);j.prototype.M.call(this,a)};a.prototype.Fs=function(){if(this.D("playbackPositions","currentTime")){this.yb.WH(this.get("playbackPositions"));this.yb.VH(this.get("currentTime"));this.set("sourceYaw",this.yb.get("yaw"));this.set("sourcePitch",this.yb.get("pitch"));this.set("sourceRotationX",this.yb.get("rotationX"));this.set("sourceRotationY",this.yb.get("rotationY"));this.set("sourceRotationZ",this.yb.get("rotationZ"));this.set("sourceHFOV",
1339this.yb.get("hfov"))}};a.prototype.EQ=function(){if(this.D("video","image")){var a=[this.yc];if(this.D("image")){this.iL();this.Za&&a.push(this.Za)}if(this.D("video")){this.kL();this.t&&a.push(this.t)}this.Id.hd(a);this.kc.hd(a);this.mj(a)}};a.prototype.ZQ=function(){if(this.N){var a=this.N.mH();this.set("frameEmpty",!!a&&a.isEmpty());if(!this.zf||a&&!this.zf.isEqual(a)){this.zf=a;this.t.set("source",this.zf.Yd);this.t.set("sourceUpdated",p);this.Lb()}else this.N.gi()==g.T&&this.Lb()}else this.set("frameEmpty",
1340z)};a.prototype.Js=function(a){this.set("inVR",a.Hb);this.set("hotspotsEnabled",a.hw);this.set("rendererYaw",a.Ja);this.set("rendererPitch",a.pitch);this.set("rendererRoll",a.ad);this.set("rendererWidth",a.width);this.set("rendererHeight",a.height);this.set("rendererHFOV",a.Qc);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");
1341this.$g=new v(h,[new x("position",c,f)],e);this.get("visible")||this.N&&this.N.Rd(g.L)}if(this.$g){if(this.$g.Dd()){this.$g=q;if(this.get("visible")){this.n.trigger(d.Bt);this.n.get("autoplay")&&this.N&&this.N.Rd(g.T)}else this.n.trigger(d.Lq)}else this.$g.Va(a.Qd);if(this.$g){this.set("visiblePosition",this.$g.bb("position"));this.Lb()}}c=z;if(c=a.Hb?this.D("visible"):this.D("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth",
1342"popupMaxHeight","sourceHFOV")){this.set("targetImageScale",this.aZ(this.Za,a));this.set("targetVideoScale",this.aZ(this.t,a));this.set("targetYaw",b(this.get("rendererYaw"),this.get("sourceYaw")));this.set("targetPitch",this.get("rendererPitch"));this.set("targetRotationZ",b(a.Hb?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")*
1343f+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.Za&&this.Za.set("scale",c);this.t&&this.t.set("scale",f);[].concat(this.t?[this.t]:[],this.Za?[this.Za]:
1344[]).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.aja=function(a){if(this.D("frameEmpty","state","image","video")){var b="none";this.t&&(!this.Za||!this.get("frameEmpty")&&this.get("state")!=g.L)?b="video":this.Za&&(b="image");this.set("itemVisible",b)}if(this.D("itemVisible")){this.get("itemVisible")!="video"&&this.N&&this.N.Rd(g.L);var b=this.Za?this.Za.get("alpha"):0,c=this.t?
1345this.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.Xo=new v("linear",[new x("imageAlpha",b,d),new x("videoAlpha",c,f)],e)}if(this.Xo){this.Xo.Dd()?this.Xo=q:this.Xo.Va(a.Qd);if(this.Xo){this.Za&&this.Za.set("alpha",this.Xo.bb("imageAlpha"));this.t&&this.t.set("alpha",this.Xo.bb("videoAlpha"));this.Lb()}}};a.prototype.Nia=function(a){if(this.D("gazeOver","inVR")){this.mX();
1346this.get("inVR")&&this.n.get("lookAwayToHide")&&!this.get("gazeOver")&&this.Hha()}if(a.Hb&&this.n.get("darkenBackground")&&this.n.get("lookAwayToHide")){if(this.D("visible")&&this.get("visible")){this.yc.set("alpha",0.8);this.xm=q}if(this.D("gazeOver"))this.xm=new v(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.yc.get("alpha"),this.get("gazeOver")?0.8:0)],this.get("gazeOver")?300:this.n.get("lookAwayToHideTime"))}else{this.xm=q;this.yc.set("alpha",a.Hb&&this.n.get("darkenBackground")?
13470.8:0)}if(this.xm){this.xm.Dd()?this.xm=q:this.xm.Va(a.Qd);if(this.xm){this.yc.set("alpha",this.xm.bb("alpha"));this.Lb()}}};a.prototype.Hha=function(){this.mX();this.xE=setTimeout(function(){this.xE=q;this.n.set("visible",z)}.bind(this),this.n.get("lookAwayToHideTime"))};a.prototype.mX=function(){if(this.xE){clearTimeout(this.xE);this.xE=q}};a.prototype.aZ=function(a,b){if(!a)return 1;var c=this.get("popupMaxWidth","100%"),d=t.kj(c),c=d!==n?this.get("rendererWidth")*(this.sZ?0.5:1)*d/100:c,d=this.get("popupMaxHeight",
1348"100%"),f=t.kj(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.Ne:this.get("rendererHFOV");return Math.tan(d*0.5*w)*c/this.get("rendererWidth")/Math.tan(this.get("sourceHFOV")*0.5*w)};a.prototype.iL=function(){this.Qx();if(this.get("image")){var a=o.mla(this.n,this.get("panoramaPixelsPerDegree"));this.Za=new m;this.Za.set("url",a.get("url"));this.Za.set("contentWidth",a.get("width"));this.Za.set("contentHeight",
1349a.get("height"));this.Za.set("alpha",0)}};a.prototype.Qx=function(){if(this.Za){this.Za.remove();this.Za=q}};a.prototype.kL=function(){this.Rx();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.sb.xa,this.get("video").Pe());this.$a=new f(this.sb.xa,this.n,this.N);this.um()}};a.prototype.Rx=function(){if(this.t){this.xn();this.$a.clear();this.$a=q;this.N.clear();
1350this.zf=this.N=q;this.t.remove();this.t=q}};a.prototype.S$=function(){this.UX();this.yc=new k("#000000")};a.prototype.UX=function(){if(this.yc){this.yc.remove();this.yc=q}};a.prototype.Ry=function(){this.trigger(d.Sb);this.trigger(d.O)};a.prototype.Sy=function(a,b){var c=0;b.Kn(function(a){var b=0,d;this.Id.hi(a)?b=100:(d=this.kc.hi(a))&&(b=d.jh);c=c+b}.bind(this));this.trigger(new u(d.cc,c/b.Bc.length))};a.prototype.df=function(){this.Lb()};a.prototype.fd=function(){this.Lb()};a.prototype.ik=function(){this.n.trigger(d.ua)};
1351a.prototype.um=function(){this.N.bind(A.mf,this.fd,this,p);this.N.bind(A.jd,this.df,this,p);this.N.bind(A.Df,this.ik,this,p)};a.prototype.xn=function(){this.N.unbind(A.mf,this.fd,this,p);this.N.unbind(A.jd,this.df,this,p);this.N.unbind(A.Df,this.ik,this,p)};a.prototype.oj=function(a){if(a.Gd==d.qh){if(!a.bh()&&this.get("visible")){a.jq(this.n);this.set("over",this.Np(a));this.set("gazeOver",this.cia(a))}else this.set("over",z);if(this.get("over")){a.Rs(this.n);a.mw()&&a.Ss(this.n);a.bi(this.get("popupDistance"))}if(this.D("over")){this.n.trigger(this.get("over")?
1352d.Rc:d.pc);a.mw()&&this.n.trigger(this.get("over")?d.Cj:d.nf)}
1352}else if(a.Gd==d.si&&!a.bh()&&this.get("visible")){a.jq(this.n);a.bi(this.get("popupDistance"));this.Np(a)?a.Wla()||this.n.trigger(d.U):this.n.set("visible",z)}};a.prototype.Np=function(a){return this.Q2(a.wn)};a.prototype.cia=function(a){a=a.Vx;return!!a&&this.Q2([a])};a.prototype.Q2=function(a){if(this.get("visible"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Za).Sj(a),b=0;b<a.length;b++){var c=a[b];if(s.Jk(c.source,c.x,
1353c.y))return p}return z};return a});
1354define("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.xa=a;this.F=b;this.Qi=d;this.g=f;this.Qy=new c;this.OP(this);this.set("tag","Root")});j.prototype.jf=function(a){return this.Qy.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.Qb.length-1;d>=0;d--)b.push(c.Qb[d])}return a};j.prototype.update=function(a){var b=this.all(),c=b.length,
1355d;for(d=0;d<c;d++)b[d].C$();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].x$()};j.prototype.Lb=function(){this.HG||this.trigger(new d(e.W));g.prototype.Lb.call(this)};j.prototype.Pn=function(a){return Array.isArray(a)?a.map(this.Pn.bind(this)):this.Qy.get(a)||j.factory.create(a)};return j});
1356define("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.Ih.push(this.n);this.De=this.De.bind(this);this.Wk(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",
1357p);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.kc=this.Id=q;this.Oi=z;this.t=this.Za=q;this.T3=z;this.yb=new l;this.zf=this.$a=this.N=q;this.Om=[]});a.prototype.Xb=
1358function(){this.Id=(new r(e.O)).ni(this.Ry.bind(this));this.kc=(new r(e.cc)).Gk(this.Sy.bind(this));j.prototype.Xb.call(this);c.Me(this.n,["playbackPositions","blending","chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.De,p)};a.prototype.Zb=function(){this.Id.dispose();this.kc.dispose();c.lf(this.n,["playbackPositions","blending",
1359"chromaColor","chromaThreshold","chromaSmoothing","distance","scaleMode","image","video","enabled","enabledInStandard","enabledInVR","fadeInDuration","fadeOutDuration","interactionEnabled","state","videoVisibleOnStop"],this.De);this.Qx();this.Rx();j.prototype.Zb.call(this)};a.prototype.De=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",
1360this.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"));
1361this.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.$u=a.Ja;this.Zu=a.pitch;this.EQ();this.Oia();this.Fs();this.ZQ();j.prototype.M.call(this,a);this.zG(a);this.Js(a)};a.prototype.Fs=function(){if(this.D("playbackPositions","currentTime")){this.yb.WH(this.get("playbackPositions"));this.yb.VH(this.get("currentTime"));this.set("yaw",this.yb.get("yaw"));this.set("pitch",
1362this.yb.get("pitch"));this.set("roll",this.yb.get("roll"));this.set("rotationX",this.yb.get("rotationX"));this.set("rotationY",this.yb.get("rotationY"));this.set("hfov",this.yb.get("hfov"));this.set("vfov",this.yb.get("vfov"));this.set("alpha",this.yb.ei())}this.D("yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&&this.Oa().forEac
1362h(function(a){a.set("yaw",this.get("yaw"));a.set("pitch",this.get("pitch"));a.set("roll",this.get("roll"));a.set("rotationX",
1363this.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.EQ=function(){if(this.D("video","image")){var a=[];if(this.D("image")){this.iL();this.Za&&a.push(this.Za)}if(this.D("video")){this.kL();this.t&&a.push(this.t)}this.mj(a);this.Id.hd(a);this.kc.hd(a)}};a.prototype.Oia=function(){if(this.D("video","image","blending","chromaColor",
1364"chromaThreshold","chromaSmoothing")){if(this.t){var a=new g.uj(this.get("video").Pe());a.Up=this.get("blending");a.Jl=this.get("chromaColor");a.VA=this.get("chromaThreshold");a.UA=this.get("chromaSmoothing");this.t.set("materialConfig",a)}if(this.Za){a=new g.uj;a.Up=this.get("blending");a.Jl=this.get("chromaColor");a.VA=this.get("chromaThreshold");a.UA=this.get("chromaSmoothing");this.Za.set("materialConfig",a)}}};a.prototype.ZQ=function(){var a=this.N&&this.N.mH();this.set("frameEmpty",!!a&&a.isEmpty());
1365if(!this.zf||a&&!this.zf.isEqual(a)){this.zf=a;this.t.set("source",this.zf.Yd);this.t.set("sourceUpdated",p);this.Lb()}else this.N.gi()==d.T&&this.Lb()};a.prototype.zG=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.Rd(d.L)};a.prototype.Js=function(a){this.set("inVR",a.Hb);this.set("hotspotsEnabled",a.hw);var b=this.get("itemVisible");if(this.D("frameEmpty",
1366"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.Za||!this.get("frameEmpty")&&(this.get("state")!=d.L||this.T3&&this.get("videoVisibleOnStop")))?c="video":this.Za&&(c="image");if(this.get("state")!=d.L)this.T3=p}this.set("itemVisible",c);this.set("beamEnabled",
1367c!="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.Za?this.Za.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-
13680)})}else b.push({video:0,image:0,time:Math.max(e,f,1/c)*c});this.Om=[];for(c=1;c<b.length;c++)b[c].time>0&&this.Om.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.Om.length>0){this.Om[0].Dd()?this.Om.shift():this.Om[0].Va(a.Qd);if(this.Om.length>0){this.Za&&this.Za.set("alpha",this.Om[0].bb("imageAlpha"));this.t&&this.t.set("alpha",this.Om[0].bb("videoAlpha"));this.Lb()}}};a.prototype.iL=function(){this.Qx();if(this.get("image")){var a=
1369o.wla(this.n,this.get("panoramaPixelsPerDegree"));this.Za=new h;this.Za.set("url",a.get("url"));this.Za.set("contentWidth",a.get("width"));this.Za.set("contentHeight",a.get("height"));this.Za.set("alpha",0)}};a.prototype.Qx=function(){if(this.Za){this.Za.remove();this.Za=q}};a.prototype.kL=function(){this.Rx();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.sb.xa,
1370this.get("video").Pe());this.Lj=new m(this.n,this.N);this.$a=new f(this.sb.xa,this.n,this.N);this.um()}};a.prototype.Rx=function(){if(this.t){this.xn();this.$a.clear();this.$a=q;this.Lj.clear();this.Lj=q;this.N.clear();this.zf=this.N=q;this.t.remove();this.t=q}};a.prototype.Ry=function(){this.trigger(e.Sb);this.trigger(e.O)};a.prototype.Sy=function(a,b){var c=0;b.Kn(function(a){(a=b.hi(a))&&(c=c+a.jh)});this.trigger(new t(e.cc,c/b.Bc.length))};a.prototype.df=function(){this.Lb()};a.prototype.fd=function(){this.Lb()};
1371a.prototype.um=function(){this.N.bind(y.mf,this.fd,this,p);this.N.bind(y.jd,this.df,this,p)};a.prototype.xn=function(){this.N.unbind(y.mf,this.fd,this,p);this.N.unbind(y.jd,this.df,this,p)};
1371a.prototype.oj=function(a){if(a.Gd==e.qh){var b=!a.bh()&this.Np(a);if(b){a.Rs(this.n);this.n.get("useHandCursor")&&a.Ss(this.n);a.bi(this.get("distance"));var c=this.pa(a.bq());c&&a.CR(c,this.Op(a.bq()))}if(this.Oi!=b){this.Oi=b;this.n.trigger(this.Oi?e.Rc:e.pc);a.mw()&&this.n.trigger(this.Oi?e.Cj:e.nf)}}else if(a.Gd==
1372e.si&&!a.bh()&this.Np(a)){this.n.dB(e.U).length>1&&a.jq(this.n);a.bi(this.get("distance"));this.n.trigger(e.U)}};a.prototype.Np=function(a){if(this.get("beamEnabled"))for(var a=(this.get("itemVisible")=="video"?this.t:this.Za).Sj(a.wn),b=0;b<a.length;b++){var c=a[b];if(s.Jk(c.source,c.x,c.y))return p}return z};a.prototype.pa=function(a){return!a||this.n.get("displayTooltipInTouchScreens")&&this.sb.F.get("displayTooltipInTouchScreens")!==z?this.n.get("toolTip",""):""};a.prototype.Op=function(a){if(a){var a=
1373this.get("yaw")-this.$u,b=this.get("pitch")-this.Zu;return Math.sqrt(a*a+b*b)}return 0};return a});
1374define("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.ub(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;
1374if(b(a,["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new f(a);if(b(a,["CubicPanoramaFrame",
1375"SphericPanoramaFrame"]))return u.get(a)==u.Tk&&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,
1376["PopupPanoramaOverlay"]))return new o(a);if(b(a,["VideoPanoramaOverlay"]))return new t(a);i("Invalid script object")};return a});
1377define("iZ",["require"],function(){var a={R4:function(b,c,e,d,g,j){return a.Lka(b,2*(c/d)-1,2*-(e/g)+1,j)},Lka: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},Zka: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},Yka: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();
1378return c}};return a});
1379define("dJ",["require"],function(){function a(a){this.of=this.kZ(a.get("vrPointerColor"));this.EP=this.kZ(a.get("vrPointerSelectionColor"));this.En=this.Ap([0,0,0],0);this.gG=this.Ap([0,0,0],0.125);this.Aaa=this.Ap(this.of,1);this.Baa=this.Ap(this.EP,1);this.r$=this.Ap(this.EP,1);this.q$=this.Ap(this.of,0.5);this.o$=this.Ap(this.of,1);this.p$=this.Ap(this.EP,1);this.Em=this.Fm=64;this.dK=4E3;this.WX=0.1;this.Ag=0.16;this.Ui=0.04;this.hX=this.fD=0.68-this.Ui;this.eD=1-this.Ui;this.u=document.createElement("canvas");
1380this.u.width=this.Fm;this.u.height=this.Em;this.Ga=this.u.getContext("2d");this.Oi=this.eX=z;this.yy=this.sO=n;this.Lt=0}a.prototype.kZ=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.Ap=function(a,c){return"rgba("+a.join(",")+", "+c+")"};a.prototype.Xna=function(a,c){this.Oi=a;this.sO=c};a.prototype.RH=N("eX");a.prototype.Gc=P("Fm");a.prototype.sd=P("Em");a.prototype.update=function(a){return this.eX?this.Eaa(a):
1381this.Oi?this.Jaa():this.Iaa()};a.prototype.gD=function(){this.Ga.clearRect(0,0,this.Fm,this.Em)};a.prototype.Iaa=function(){if("initial"==this.yy)return z;this.gD();this.$X(this.Aaa);this.yy="initial";return p};a.prototype.Jaa=function(){if(this.sO===n){if("over"==this.yy)return z;this.gD();this.$X(this.Baa)}else this.cfa(this.sO);this.yy="over";return p};a.prototype.Eaa=function(a){for(this.Lt+=a;this.Lt>this.dK;)this.Lt-=this.dK;this.l$(this.Lt/this.dK);this.yy="changing";return p};a.prototype.$X=
1382function(a){this.Eg(this.WX+this.Ui,0,this.En,this.gG,0,2*Math.PI);this.Eg(this.WX,0,this.En,a,0,2*Math.PI)};a.prototype.Kaa=function(a){this.Eg(this.fD-0.5*(this.Ag+this.Ui),this.Ag+this.Ui,this.gG,this.En,0,2*Math.PI);this.Eg(this.fD-0.5*this.Ag,this.Ag,this.q$,this.En,0,2*Math.PI);this.Eg(this.fD-0.5*this.Ag,this.Ag,this.r$,this.En,0.5*Math.PI,(0.5+2*a)*Math.PI)};a.prototype.Faa=function(a,c){this.Eg(this.hX-0.5*(this.Ag+this.Ui),this.Ag+this.Ui,this.gG,this.En,0,2*Math.PI);this.Eg(this.hX-0.5*
1383this.Ag,this.Ag,this.o$,this.En,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.Ui/(2*this.eD*Math.PI),d=c+this.Ui/(2*this.eD*Math.PI);Math.abs(d-e+2*Math.PI)<2*this.Ui&&(e=0,d=c);this.Eg(this.eD-0.5*(this.Ag+this.Ui),this.Ag+this.Ui,this.gG,this.En,e,d);this.Eg(this.eD-0.5*this.Ag,this.Ag,this.p$,this.En,a,c)};a.prototype.Eg=function(a,c,e,d,g,j){var k=Math.round(0.5*this.Fm),h=Math.round(0.5*this.Em),m=Math.min(k,h),a=Math.round(a*m),f=this.Ga;f.yqa=f.nra=
1384p;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.l$=function(a){this.gD();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.Faa(a,c)};a.prototype.cfa=function(a){this.gD();this.Kaa(a)};return a});
1385define("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.yf(a);this.uA(a);e.prototype.M.call(this,a)};
1385a.prototype.yf=function(a){if(!this.u){this.set("textureSource",new g);this.u=new d(this.sb.F);this.get("textureSource").xg(this.u.u);
1386this.set("contentWidth",this.u.Gc());this.set("contentHeight",this.u.sd());this.set("hfov",6);this.set("distance",this.sb.F.get("vrPointerDistance"))}this.D("changing")&&this.u.RH(this.get("changing"));this.D("over","overProgress")&&this.u.Xna(this.get("over"),this.get("overProgress"));this.u.update(a.Qd)&&this.get("textureSource").update();this.get("changing")&&this.Lb()};a.prototype.uA=function(){this.dj()};a.prototype.Fn=function(){this.D("composedAlpha","meshGroup","visible")&&this.Yq()};a.prototype.Yq=
1387function(){c.bd(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
1388define("U","require,jquery.mod,cI,jd,r,jq,cX".split(","),function(a){function b(a){this.va=a;this.Z2=this.va.Di;this.va.bind(d.uc,this.Kh,this);this.v=c("<span></span>");this.v.css({position:"absolute","z-index":j.qV,"text-align":"center",display:"none"});g.Xa()||this.v.css({"pointer-events":"none"});this.yc=c("<span></span>");this.yc.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.v.append(this.yc);this.rG=c("<span></span>");this.rG.css({position:"relative"});this.v.append(this.rG);
1389this.Yi=this.eE=this.gg=q;this.L0=this.K0=n;this.vu=z;this.a3=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,
1390toolTipPaddingRight: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.kb=P("v");b.prototype.ww=function(a){if(!this.Z2){for(;a&&a.get("toolTipDisabled");)a=a.getParent();this.hide();this.kD();
1391this.gg&&e(e(h).keys()).each(function(a){this.gg.unbind(d.ha(a),this.iO,this)},this);if(this.gg=a){e(e(h).keys()).each(function(a){this.gg.bind(d.ha(a),this.iO,this)},this);this.iO()}}};b.prototype.toa=function(a,b){this.gg=a;this.a3=b;this.kE()||(this.vu?this.u2():this.A2())};b.prototype.s2=function(a,b,c,d,e){this.Mia(a);this.rG.html(this.qca(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.va.za()-b-3),3);d=Math.max(Math.min(d,
1392this.va.ab()-g-3),3);this.v.css("left",c+"px");this.v.css("top",d+"px");this.v.css("display","inline");this.vu=p;e?this.Bha(a,c,d):this.iQ()};b.prototype.hide=function(){this.kD();this.iQ();this.v.css("display","none");this.vu=z};b.prototype.iO=function(){this.gg.get("toolTip")?this.kE()||(this.vu?this.t2():this.A2()):this.kE()?this.kD():this.vu&&this.hide()};b.prototype.Kh=function(a){this.K0=a.pageX;this.L0=a.pageY};b.prototype.t2=function(){var a=this.K0,b=this.L0+25;this.s2(this.gg,this.gg.get("toolTip"),
1393a,b,z)};b.prototype.u2=function(){var a=this.gg.kb().offset();this.s2(this.gg,this.a3,a.left+this.gg.za()*0.5,a.top+this.gg.ab()*0.5,p)};b.prototype.kE=function(){return this.Yi!=q};b.prototype.A2=function(){var a=this.gg&&this.gg.get("toolTipDisplayTime");if(a===n||a===q)a=h.toolTipDisplayTime;this.kD();this.Yi=setTimeout(function(){this.Yi=q;this.Z2?this.u2():this.t2()}.bind(this),a)};b.prototype.kD=function(){if(this.kE()){clearTimeout(this.Yi);this.Yi=q}};b.prototype.Bha=function(a,b,c){this.iQ();
1394var d=function(){this.v.css("display",this.vu&&!this.mda(a,b,c)?"inline":"none")}.bind(this);this.eE=setInterval(d,300);d()};b.prototype.iQ=function(){if(this.eE){clearInterval(this.eE);this.eE=q}};b.prototype.Mia=function(a){function b(c){var d=a.get(c);return d===n?h[c]:d}var c={};c.opacity=b("toolTipOpacity");
1394c.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")+
1395"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")+
1396"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.yc.css(c);c={};c["font-family"]=k.Wp(b("toolTipFontFamily"));d=b("toolTipFontSize");e(d).isNumber()?d=d+"px":e(d).isString()||(d="");c["font-size"]=
1397d;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")==
13980&&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.rG.css(c)};b.prototype.mda=function(a,b,c){for(var b=document.elementsFromPoint(b,c),a=a.kb()[0],c=this.va.kb()[0],d=0;d<b.length;d++){var e=b[d];
1399if(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.I$(g.backgroundColor))*g.opacity>0.33)return p}}return z};b.prototype.I$=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.qca=function(a){for(var a=a.split("\n"),b=0;b<a.length;b++)a[b]=this.Paa(a[b]);
1400return a.map(function(a){return"<div>"+a+"</div>"})};b.prototype.Paa=function(a){b.cW.nodeValue=a;return b.ZV.innerHTML};b.u7=h;b.ZV=document.createElement("pre");b.cW=document.createTextNode("");b.ZV.appendChild(b.cW);b.Kpa=600;return b});
1401define("bT",["require","U","bp","cX"],function(a){function b(a,b){this.F=a;this.dA=b;this.uha()}var c=a("U"),e=a("bp"),d=a("cX");b.prototype.Gc=function(){return this.u.width};b.prototype.sd=function(){return this.u.height};b.prototype.uha=function(){this.u=document.createElement("canvas");var a=this.u.getContext("2d"),b=this.dA.split("\n"),c=this.Zd("toolTipBackgroundColor"),h=this.Zd("toolTipBackgroundOpacity"),m=this.Zd("toolTipBorderRadius"),f=this.Zd("toolTipBorderColor"),l=this.Zd("toolTipBorderSize");
1402this.Zd("toolTipDisplayTime");var r=this.Zd("toolTipFontFamily"),o=this.Zd("toolTipFontSize"),s=this.Zd("toolTipFontColor"),t=this.Zd("toolTipFontWeight"),u=this.Zd("toolTipFontStyle"),v=this.Zd("toolTipPaddingBottom"),x=this.Zd("toolTipPaddingLeft"),y=this.Zd("toolTipPaddingTop"),A=this.Zd("toolTipPaddingRight"),w=this.Zd("toolTipOpacity"),C=this.Zd("toolTipTextShadowBlurRadius"),J=this.Zd("toolTipTextShadowColor"),B=this.Zd("toolTipTextShadowHorizontalLength"),F=this.Zd("toolTipTextShadowVerticalLength"),
1403K=this.Zd("toolTipTextShadowOpacity"),I=new e.lV;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;
1403L.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.nW(h,c);
1404a.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.Wp(r);a.shadowColor=this.nW(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,
1405c){a.fillText(b,Math.round(E),Math.round(O+0.5*L[c].height));O+=L[c].height+R})};b.prototype.Zd=function(a){var b=this.F.get(a);return b===n?c.u7[a]:b};b.prototype.nW=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});
1406define("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","");
1406this.aj=new THREE.Vector3(0,0,-c.Yv())});a.prototype.M=function(a){this.yf(a);e.prototype.M.call(this,a)};a.prototype.yf=function(a){if(!this.u||this.D("text")){this.get("textureSource")||this.set("textureSource",new g);this.u=new d(this.sb.F,this.get("text"));this.get("textureSource").xg(this.u.u);
1407this.set("contentWidth",this.u.Gc());this.set("contentHeight",this.u.sd());this.set("hfov",2*Math.atan2(this.u.Gc()*0.5,600)*j);this.set("distance",this.sb.F.get("vrPointerDistance"));var b=this.get("matrix");if(b){this.aj.applyMatrix4(b);(this.aj.x!=0||this.aj.z!=0)&&this.set("yaw",j*Math.atan2(this.aj.x,-this.aj.z));(this.aj.y!=0||this.aj.z!=0)&&this.set("pitch",j*Math.atan2(this.aj.y,Math.sqrt(this.aj.z*this.aj.z+this.aj.x*this.aj.x))+k)}else{this.set("yaw",a.Ja);this.set("pitch",a.pitch+h)}}};
1408var j=180/Math.PI,k=2,h=5;return a});define("iL",["require","iZ","H"],function(a){function b(a,b){this.hf=a;this.g=b;this.Vx=q}var c=a("iZ"),e=a("H");b.prototype.update=D();b.prototype.clear=D();b.prototype.Xf=P("hf");b.prototype.yM=function(){var a=this.k.Se&&e.Vv(this.k.Se);return this.Vx=a?c.Zka(a,this.Vx):q};b.AC="gaze";b.BJ="gaze_click";b.CJ="laser";b.BC="mouse";b.CC="touch";return b});
1409define("dn",["require","iL"],function(a){function b(a,b,c,e){this.qk=a;this.wn=b;this.Vx=c;this.Gd=e;this.bX=[];this.Mh=[];this.dR=[];this.pa="";this.Op=Number.MAX_VALUE}function c(a){return a===n?[]:Array.isArray(a)?a:[a]}var e=a("iL");b.prototype.mw=function(){return this.qk.Xf()==e.BC};b.prototype.bq=function(){return this.qk.Xf()==e.CC};b.prototype.Wla=function(){return this.qk.Xf()==e.AC};b.prototype.Ss=function(a){this.dR=this.dR.concat(c(a))};b.prototype.Bw=function(){return 0<this.dR.length};
1410b.prototype.Rs=function(a){this.Mh=this.Mh.concat(c(a))};b.prototype.bi=function(a){if(a&&(this.wD===n||this.wD>a))this.wD=a};b.prototype.CR=function(a,b){if(""==this.pa||this.Op>b)this.pa=a,this.Op=b};b.prototype.VB=P("pa");b.prototype.jq=function(a){this.bX=c(a)};b.prototype.bh=function(){return 0<this.bX.length};return b});
1411define("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.AC,a);this.wf=this.k=q;this.Mh=[];this.tG=q;this.D0=n;this.Ad=new e;this.g.add(this.Ad);this.qe="";this.pa=q;this.Q1=this.g.F.get("vrPointerSelectionTime")});a.prototype.clear=function(){this.lQ();this.g.remove(this.Ad);this.Ad=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=
1412a;this.Ad.set("changing",a.YG);this.Zh()};a.prototype.Wt=function(){this.ff(this.Ze(c.si));this.Ad.set("over",z)};a.prototype.Zh=function(){var a=this.Ze(c.qh);this.ff(a);this.wk(a.VB());var b;a:{b=this.Mh;for(var d=a.Mh,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.lQ();this.Ad.set("over",z);this.Mh=a.Mh;if(this.Mh.length){this.Ad.set("over",a.Bw());this.Ad.set("overProgress",0);this.Nha()}}};a.prototype.wk=function(a){if(this.qe!=
1413a){this.qe&&this.g.remove(this.pa);if(this.qe=a){this.pa=new d(this.qe);this.pa.set("text",this.qe);this.g.add(this.pa)}}};a.prototype.ff=function(a){this.g.mB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.oj(a)}.bind(this))};a.prototype.Ze=function(a){this.wf=this.yM();return new g(this,this.wf?[this.wf]:[],this.wf,a)};a.prototype.lQ=function(){this.tG&&(clearInterval(this.tG),this.tG=q)};a.prototype.Nha=function(){this.D0=(new Date).getTime();this.tG=setInterval(this.oea.bind(this),
1414100)};a.prototype.oea=function(){var a=(new Date).getTime()-this.D0;if(a>=this.Q1){this.lQ();this.Wt()}else this.Ad.set("overProgress",a/this.Q1)};return a});
1415define("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.BJ,a);this.wf=this.k=q;this.Ad=new e;this.g.add(this.Ad);this.qe="";this.pa=q;this.vG=this.vG.bind(this);document.body.addEventListener("touchend",this.vG);k.bind(c.Vk,this.X3,this,p)});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.vG);k.unbind(c.Vk,this.X3,this,p);this.g.remove(this.Ad);
1416this.Ad=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=a;this.Ad.set("changing",a.YG);this.Zh()};a.prototype.vG=function(){this.Wt()};a.prototype.X3=function(){this.Wt()};a.prototype.Wt=function(){this.ff(this.Ze(c.si));this.Ad.set("over",z)};a.prototype.Zh=function(){var a=this.Ze(c.qh);this.ff(a);this.wk(a.VB());this.Ad.set("over",a.Bw())};
1416a.prototype.wk=function(a){if(this.qe!=a){this.qe&&this.g.remove(this.pa);if(this.qe=a){this.pa=new d(this.qe);this.pa.set("text",
1417this.qe);this.g.add(this.pa)}}};a.prototype.ff=function(a){this.g.mB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.oj(a)}.bind(this))};a.prototype.Ze=function(a){this.wf=this.yM();return new g(this,this.wf?[this.wf]:[],this.wf,a)};return a});
1418define("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.iP=this.wz=this.ql=this.hP=q;new THREE.Matrix4;this.jP=new THREE.Matrix4;this.jP.multiply(h.makeRotationX(-90*m));this.jP.multiply(h.makeTranslation(0,
1419f*0.5,0));this.zD=this.RL=this.yD=this.Nm=this.QL=q;new THREE.Matrix4;this.SL=new THREE.Matrix4;this.Fx=this.PL=this.OL=q;new THREE.Matrix4;this.pr=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.pr[0].multiply(h.makeRotationX(-90*m));this.pr[0].multiply(h.makeTranslation(0,-r*0.5,0));this.pr[1].multiply(h.makeRotationX(-90*m));this.pr[1].multiply(h.makeTranslation(0,-r*0.5,-l*0.5));this.pr[2].multiply(h.makeRotationX(-90*m));this.pr[2].multiply(h.makeTranslation(0,-r*0.5,-l))});a.prototype.M=
1420function(a){j.prototype.M.call(this,a);this.sja();this.Bv()};a.prototype.sja=function(){if(this.D("visible"))this.get("meshGroup").visible=this.get("visible")};a.prototype.Bv=function(){if(this.D("over","pressed")){this.u3();this.D3()}};var f=0.35,l=0.012,r=0.1;a.prototype.Zk=function(){this.PL=d.create(new THREE.SphereGeometry(2.3,32,32),this.V$());
1420this.RL=d.create(new THREE.SphereGeometry(2,32,32),this.W$());this.iP=d.create(new THREE.CylinderGeometry(0.003,0.003,f,8),this.maa());this.$t=[];this.$t.push(d.create(new THREE.CylinderGeometry(l,
1421l,r,32),this.cL()));this.$t.push(d.create(new THREE.BoxGeometry(2*l,r,l),this.cL()));this.$t.push(d.create(new THREE.CylinderGeometry(l,l,r,32),this.cL()));return[this.PL,this.RL,this.iP].concat(this.$t)};a.prototype.V$=function(){if(this.OL==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.xg(a);this.OL=e.Ck(c.texture(),new e.uj);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.OL]};a.prototype.W$=
1422function(){if(this.QL==q){this.Nm=document.createElement("canvas");this.Nm.width=this.Nm.height=256;this.yD=this.Nm.getContext("2d");this.zD=new g;this.zD.xg(this.Nm);this.QL=e.Ck(this.zD.texture(),new e.uj);this.u3()}return[this.QL]};a.prototype.u3=function(){this.yD.fillStyle=this.CY();this.yD.clearRect(0,0,this.Nm.width,this.Nm.height);this.yD.fillRect(0,0,this.Nm.width,this.Nm.height);this.zD.update()};a.prototype.maa=function(){if(this.hP==q){this.ql=document.createElement("canvas");this.ql.width=
1423this.ql.height=256;this.wz=this.ql.getContext("2d");this.kP=new g;this.kP.xg(this.ql);this.hP=e.Ck(this.kP.texture(),new e.uj);this.D3()}return[this.hP]};a.prototype.D3=function(){var a=k.OS(this.CY()).join(", "),b=this.wz.createLinearGradient(0,0,0,this.ql.height);b.addColorStop(0,"rgba("+a+", 0)");b.addColorStop(0.5,"rgba("+a+", 1)");b.addColorStop(1,"rgba("+a+", 1)");this.wz.fillStyle=b;this.wz.clearRect(0,0,this.ql.width,this.ql.height);this.wz.fillRect(0,0,this.ql.width,this.ql.height);this.kP.update()};
1424a.prototype.cL=function(){if(this.Fx==q){var a=document.createElement("canvas");a.width=a.height=256;var b=a.getContext("2d"),c=new g;c.xg(a);this.Fx=e.Ck(c.texture(),new e.uj);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.Fx,this.Fx,this.Fx]};a.prototype.Cv=function(){var a=z,b=z,f=z;if(this.D("intersectionDistance")){var b=(b=this.get("intersectionDistance"))?c.sH(b):c.Yv(),e=b/c.Yv();this.SL.makeTranslation(0,0,-b);this.SL.multiply(h.makeScale(e,
1425e,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.SL);d.Ml(this.RL,h);d.Ml(this.PL,h)}if(a){h.identity();(b=this.get("matrix"))&&h.multiply(b);h.multiply(this.jP);d.Ml(this.iP,h)}if(f){b=this.get("matrix");for(a=0;a<this.$t.length;a++){h.identity();b&&h.multiply(b);h.multiply(this.pr[a]);d.Ml(this.$t[a],h)}}};a.prototype.$Q=function(){if(this.D("index","meshGroup")){var a=this.get("meshGroup");a&&a.children.forEach(function(a){d.FT(a,this.get("index"))}.bind(this))}};
1426a.prototype.CY=function(){return this.get("pressed")?this.sb.F.get("vrPointerSelectionColor"):this.get("over")?this.sb.F.get("vrPointerOverColor"):this.sb.F.get("vrPointerColor")};return a});
1427define("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.CJ,a);this.wf=this.k=q;this.Mh=[];this.Mg=new d;this.g.add(this.Mg);this.Ad=new g;this.g.add(this.Ad);this.Xg=z;this.qe="";this.pa=q;this.Hg=new THREE.Matrix4});a.prototype.clear=function(){this.g.remove(this.Mg);this.g.remove(this.Ad);
1428this.Ad=this.Mg=q;this.pa&&this.g.remove(this.pa);this.pa=q};a.prototype.update=function(a){this.k=a;this.Ad.set("changing",a.YG);this.Ad.set("visible",a.YG);var b=m.HH();if(b){var c=b.quaternion(),d=b.position(),e=f.Tl().position,g=l.Ja(f.Tl().orientation);this.Hg.identity();if(d){this.Hg.multiply(r.makeRotationY((g-a.Ja)*o));this.Hg.multiply(r.makeTranslation(-e.x,-e.y,-e.z));this.Hg.multiply(r.makeTranslation(d.x,d.y,d.z));this.Hg.multiply(r.makeRotationFromQuaternion(c))}else{this.Hg.multiply(r.makeRotationY(-a.Ja*
1429o));b.hand()==m.ra?this.Hg.multiply(r.makeTranslation(-0.2,-0.4,0)):this.Hg.multiply(r.makeTranslation(0.2,-0.4,0));this.Hg.multiply(r.makeRotationY(g*o));this.Hg.multiply(r.makeRotationFromQuaternion(c));this.Hg.multiply(r.makeTranslation(0,0,-0.3))}this.Mg.set("matrix",q);this.Mg.set("matrix",this.Hg);this.Mg.set("pressed",b.pressed());this.Mg.set("visible",p)}else this.Mg.set("visible",z);this.Zh();a=!!b&&b.pressed();if(this.Xg!=a){this.Xg&&this.Wt();this.Xg=a}this.Mg.dj();this.Ad.dj()};a.prototype.Wt=
1430function(){var a=this.Ze(c.si);this.ff(a);this.Mg.set("over",p);this.Mg.set("intersectionDistance",a.wD);(a=m.HH())&&a.pulse(0.6,50)};a.prototype.Zh=function(){var a=this.Ze(c.qh);this.ff(a);this.wk(a.VB());var b;a:{b=this.Mh;for(var d=a.Mh,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.Bw()||this.Mg.get("over"))){this.Mh=a.Mh;(b=m.HH())&&b.pulse(0.6,5)}this.Mg.set("over",a.Bw());this.Mg.set("intersectionDistance",a.wD)};
1431a.prototype.wk=function(a){if(this.qe!=a){this.qe&&this.g.remove(this.pa);if(this.qe=a){this.pa=new j(this.qe);this.pa.set("text",this.qe);this.pa.set("matrix",q);this.pa.set("matrix",this.Hg);this.g.add(this.pa)}}};a.prototype.ff=function(a){this.g.mB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.oj(a)}.bind(this))};a.prototype.Ze=function(a){this.wf=e.Yka(this.Hg,this.wf);return new k(this,[this.wf],this.yM(),a)};return a});
1432define("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.BC,a);this.g.F.bind(c.uc,this.Gh,this,p);this.g.F.bind(c.nf,this.a_,this,p);this.g.F.bind(c.qb,this.Kb,this,p);this.g.F.bind(c.Ib,this.Mf,this,p);this.rn=this.Rh=this.ic=this.hc=n;this.wf=this.k=q;this.$i=z;this.pa=""});a.prototype.clear=function(){this.g.F.unbind(c.uc,this.Gh,this,p);this.g.F.unbind(c.nf,this.a_,this,p);this.g.F.unbind(c.qb,
1433this.Kb,this,p);this.g.F.unbind(c.Ib,this.Mf,this,p);this.$i&&(this.g.qw(k.Ud),this.$i=z);this.wk("")};a.prototype.update=function(a){this.k=a;this.PQ()};a.prototype.Gh=function(a){this.hc=a.x;this.ic=a.y;this.QQ()};a.prototype.a_=function(){this.ic=this.hc=n;this.QQ()};a.prototype.Kb=function(a){this.hc=this.Rh=a.x;this.ic=this.rn=a.y;this.ff(this.Ze(c.cV))};a.prototype.Mf=function(a){this.hc=a.x;this.ic=a.y;this.ff(this.Ze(c.dV));this.tN(this.Rh,this.rn,this.hc,this.ic)&&this.ff(this.Ze(c.si))};
1434a.prototype.PQ=function(){if(!this.Ak)this.Ak=setTimeout(function(){this.Ak=q;this.Zh()}.bind(this),300)};a.prototype.QQ=function(){if(this.Ak){clearTimeout(this.Ak);this.Ak=q}this.Zh()};a.prototype.Zh=function(){var a=this.Ze(c.qh);this.ff(a);this.wk(a.VB());if(this.$i!=a.Bw()){this.$i&&this.g.qw(k.Ud);(this.$i=a.Bw())&&this.g.OH(k.Ud)}};a.prototype.wk=function(a){if(this.pa!=a){this.pa=a;this.g.F.set("toolTip",this.pa)}};a.prototype.ff=function(a){this.g.mB().sort(function(a,b){return b.get("index")-
1435a.get("index")}).forEach(function(b){b.oj(a)}.bind(this))};a.prototype.Ze=function(a){return new g(this,this.TD(),q,a)};a.prototype.TD=function(){if(this.hc!==n&&this.ic!==n&&this.k.Se){var a=d.Vv(this.k.Se);if(a){this.wf=e.R4(a,this.hc,this.ic,this.k.width,this.k.height,this.wf);return[this.wf]}}return[]};a.prototype.tN=function(a,b,c,d){a=c-a;b=d-b;return Math.sqrt(a*a+b*b)<=5};return a});
1436define("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.CC,a);this.g.F.bind(c.qb,this.Kb,this,p);this.g.F.bind(c.Ib,this.Mf,this,p);this.rn=this.Rh=this.ic=this.hc=n;this.k=q;this.j$=Array(k.length);this.ufa=Array(h.length);this.pa="";this.Zh=this.Zh.bind(this)});a.prototype.clear=function(){this.g.F.unbind(c.qb,this.Kb,this,p);this.g.F.unbind(c.Ib,this.Mf,this,p);this.wk("")};a.prototype.update=
1437function(a){this.k=a;this.PQ()};a.prototype.Kb=function(a){this.hc=this.Rh=a.x;this.ic=this.rn=a.y;this.ff(this.Ze(c.cV))};a.prototype.Mf=function(a){this.hc=a.x;this.ic=a.y;this.ff(this.Ze(c.dV));this.tN(this.Rh,this.rn,this.hc,this.ic)&&this.ff(this.Ze(c.si))};a.prototype.PQ=function(){if(!this.Ak)this.Ak=setTimeout(this.Zh,300)};a.prototype.QQ=function(){if(this.Ak){clearTimeout(this.Ak);this.Ak=q}this.Zh()};a.prototype.Zh=function(){this.Ak=q;var a=this.Ze(c.qh);this.ff(a);this.wk(a.VB())};a.prototype.wk=
1438function(a){if(this.pa!=a){this.pa=a;a=this.g.F;if(!a.get("toolTipDisabled")){var b=a.fb().pa;this.pa?b.toa(a,this.pa):b.hide()}}};a.prototype.ff=function(a){this.g.mB().sort(function(a,b){return b.get("index")-a.get("index")}).forEach(function(b){b.oj(a)}.bind(this))};a.prototype.Ze=function(a){var b;b=a==c.qh?this.TD(this.k.width*0.5,this.k.height*0.5,k,this.j$):this.TD(this.hc,this.ic,h,this.ufa);return new g(this,b,q,a)};a.prototype.TD=function(a,b,c,g){var h=this.k.Se&&d.Vv(this.k.Se);if(h){var k=
1439this.k.width,j=this.k.height,u=Math.min(k,j)/100;c.forEach(function(c,d){g[d]=e.R4(h,a+c[0]*u,b+c[1]*u,k,j,g[d])});return g}return[]};a.prototype.tN=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;
1439b<=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<
1440-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});
1441define("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.AC:return new b(h);case g.BJ:return new c(h);case g.CJ:return new e(h);case g.BC:return new d(h);case g.CC:return new j(h)}}}});
1442define("jt",["require","N"],function(a){function b(a){this.tb=a;this.Tf=[]}var c=a("N");b.prototype.push=function(a){this.Tf.push(a);this.M()};b.prototype.pop=function(a){for(var b=this.Tf.length-1;0<=b;b--)if(this.Tf[b]==a){this.Tf.splice(b,1);this.M();break}};b.prototype.clear=function(){0<this.Tf.length&&(this.tb.set("cursor",c.oc),this.Tf=[])};b.prototype.M=function(){this.tb.set("cursor",0<this.Tf.length?this.Tf[this.Tf.length-1]:c.oc)};return b});
1443define("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.Nc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",j.Pw);this.set("layout","absolute");this.xa=a;this.F=
1444b;this.Qi=d;this.AL=new v(b);this.qk=q;this.k=new f;this.sb=new s(this.xa,this.F,this.Qi,this);this.sb.bind(e.W,this.Aa,this,p);this.rl=new r;this.k.Se=this.rl.ev;this.k.ah=this.rl.Vv();this.NZ=(new Date).getTime();this.La().append(this.rl.kb());this.rv=new l(b,d);this.La().append(this.rv.kb());this.R2=new y;this.R2.bind(e.O,this.Sea,this,p);this.l_=new x;this.l_.bind(e.W,this.Aea,this,p);this.LD=new m(this.k.width,this.k.height,this.k.Qc*J);this.bind(e.rb,this.ib,this,p);this.bind(e.Ef,this.fk,this,
1445p);this.bind(e.zg,this.ck,this,p);w.bind(e.W,this.Ni,this,p);h.bind(e.W,this.mea,this,p);c.Me(this.Qi,["hotspotsEnabled","preloadEnabled"],function(){this.k.hw=this.Qi.get("hotspotsEnabled");this.k.AB=this.Qi.get("preloadEnabled");this.Aa()}.bind(this),p);this.Ni();c.Me(this.xa,["defaultVRPointer"],this.FG.bind(this));this.FG()});B.prototype.create=function(a){return o.create(a)};B.prototype.add=function(a){this.sb.appendChild(a)};B.prototype.remove=function(a){(a=this.sb.jf(a))&&a.remove()};B.prototype.jf=
1446function(a){return this.sb.jf(a)};B.prototype.mB=function(){return this.sb.all()};B.prototype.I6=function(a){this.k.JH=a};B.prototype.OH=function(a){this.AL.push(a)};B.prototype.qw=function(a){this.AL.pop(a)};B.prototype.RH=function(a){this.k.YG=a;this.Aa()};B.prototype.getPixelRatio=function(){return this.rl.getPixelRatio()};B.prototype.FG=function(){var a;a=this.k.Hb?h.HH()&&this.xa.get("defaultVRPointer")=="laser"?u.CJ:w.uH()==w.k8.aJ?u.BJ:u.AC:k.Xa()?u.CC:u.BC;if(!(this.qk&&this.qk.Xf()==a)){this.qk&&
1447this.qk.clear();this.qk=t.create(a,this);this.qk.update(this.k)}};B.prototype.Sh=function(){this.AL.clear();g.prototype.Sh.call(this)};B.prototype.ib=function(){var a=this.za(),c=this.ab();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.LD.TB(this.k.width);this.LD.B6(this.k.height);this.Aa()}};B.prototype.fk=function(){this.k.enabled=p;this.Aa()};B.prototype.ck=function(){this.k.enabled=z;this.Aa()};B.prototype.Ni=function(){this.k.Hb=
1448w.isPresenting();this.FG();this.Aa()};B.prototype.mea=function(){this.FG();this.Aa()};B.prototype.Sea=function(){this.Aa()};B.prototype.Aea=function(){this.Aa()};B.prototype.ot=function(a){if(this.k.mh!=a){this.k.mh=a;this.Aa()}};B.prototype.Pa=function(a,c,d,f){if(this.k.Ja!=a||this.k.pitch!=c||this.k.ad!=d||this.k.Qc!=f)if(isNaN(a)||isNaN(c)||isNaN(d)||!f)b.log("Invalid position values: "+a+" "+c+" "+d+" "+f);else{this.k.Ja=a;this.k.pitch=c;this.k.ad=d;this.k.Qc=f;this.LD.JB(this.k.Qc*J);this.Aa()}};
1449B.prototype.mc=function(){return this.k.Ja};B.prototype.ac=function(){return this.k.pitch};B.prototype.ee=function(){return this.k.ad};B.prototype.Oe=function(){return this.k.Qc};B.prototype.UR=function(){return this.k.Hb?this.k.Ne:A.gm(this.k.Ne,this.k.width,this.k.height)};B.prototype.VR=function(){return this.k.Ne};B.prototype.unproject=function(a){return this.LD.unproject(a)};B.prototype.Aa=function(){C.Aa(this.af,this)};B.prototype.af=function(){if(C.sS){var a=(new Date).getTime(),b=Math.max(1,
1450Math.min(a-this.NZ,33));this.NZ=a;this.trigger(new d(B.VI,{frameTime:b}));if(this.k.enabled){this.k.Qd=b;this.rl.update(this.k);this.k.JR=this.rl.Nka();this.k.XG=this.rl.Mka();this.k.Ne=this.rl.Kka();this.k.QS=this.rl.getPixelRatio();this.sb.update(this.k);this.R2.update(this.k);this.l_.update(this.k);this.qk.update(this.k);this.rl.render()}}else this.Aa()};B.VI="render start";return B});
1451define("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.ha("video"),this.oO,this);this.oO()});a.prototype.clear=function(){this.N&&(this.N.unbind(EventName.ha("video"),this.oO,this),this.N=q);c.prototype.clear.call(this)};a.prototype.oO=function(){this.ET(this.N.get("video"))};return a});
1452define("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.va=a;this.G=c;this.v=document.createElement("div");this.Dt=b(this.v);this.Yd=q;this.xa=l.create(this.va,this.G.Pe(),this.G.tla());this.xa.bind(f.mf,this.fd,this,p);this.xa.bind(f.jm,this.hn,this,p);this.xa.bind(f.jd,this.df,this,p);this.xa.bind(f.Df,this.Ty,
1453this,p);this.$z=new m(this.G.t,this.xa);this.Fg=q;this.eg=0;this.$J=p;this.Ta=this.Ra=100;this.or=p});a.prototype.clear=function(){this.$z.clear();this.$z=q;this.xa.unbind(f.mf,this.fd,this,p);this.xa.unbind(f.jm,this.hn,this,p);this.xa.unbind(f.jd,this.df,this,p);this.xa.unbind(f.Df,this.Ty,this,p);this.xa.clear();this.Dt=this.v=this.Yd=this.xa=q};a.prototype.kb=P("Dt");a.prototype.getItem=P("G");
1453a.prototype.bd=function(a){if(this.eg!=a){this.eg=a;this.$J=p}};a.prototype.dm=function(a,b){if(this.Ra!=
1454a||this.Ta!=b){this.Ra=a;this.Ta=b;this.or=p}};a.prototype.cq=function(){this.xa.Yf(p)};a.prototype.ut=function(){this.xa.Yf(z)};a.prototype.play=function(){this.xa.Rd(k.T)};a.prototype.pause=function(){this.xa.Rd(k.Hc)};a.prototype.stop=function(){this.xa.Rd(k.L)};a.prototype.li=function(a){this.xa.li(a)};a.prototype.gj=function(){return this.xa.gj()};a.prototype.xw=function(a){this.xa.xw(a)};a.prototype.Nn=function(){return this.xa.Nn()};a.prototype.render=function(){if(this.or){this.or=z;var a=
1455this.G.Gc(),b=this.G.sd(),c,d;switch(this.G.Ec){case j.NONE:c=a;d=b;break;case j.Bj:c=this.Ra;d=b*this.Ra/a;break;case j.bg:d=this.Ta;c=a*this.Ta/b;break;case j.Pk:if(a*this.Ta>b*this.Ra){d=this.Ta;c=a*this.Ta/b}else{c=this.Ra;d=b*this.Ra/a}break;default:if(a*this.Ta>b*this.Ra){c=this.Ra;d=b*this.Ra/a}else{d=this.Ta;c=a*this.Ta/b}}this.u9(Math.round((this.Ra-c)*0.5),Math.round((this.Ta-d)*0.5),Math.round(c),Math.round(d));this.tP()}if(this.$J){this.$J=z;this.Yq(this.eg)}};a.prototype.u9=function(a,
1456b,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.Yq=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.df=function(){this.oA();this.tP()};a.prototype.tP=function(){h.Aa(this.Zda,
1457this)};a.prototype.Zda=function(){this.oA();this.xa&&this.xa.gi()==k.T&&this.tP()};a.prototype.Ty=function(){this.oA();this.trigger(new d(e.ua))};a.prototype.fd=function(){this.oA();this.trigger(new d(e.W))};a.prototype.hn=function(){this.oA();this.trigger(new d(e.W))};a.prototype.oA=function(){var a=q;if(this.xa){a=this.xa.mH();if(!this.Fg||!this.Fg.isEqual(a)){this.Fg=a;a=this.Fg.Yd}else a=this.Yd}if(this.Yd!=a){var b=this.Yd;if(this.Yd=a){this.Yd.removeAttribute("style");this.Yd.style.position=
1458"absolute";this.Yd.style.left=0;this.Yd.style.top=0;this.Yd.style.width="100%";this.Yd.style.height="100%";this.v.appendChild(this.Yd)}b&&this.v.removeChild(b)}};return a});
1459define("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.xa=a;this.F=b;this.N=f;this.Nc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",j.Pw);this.bind(d.rb,this.ib,this,p);this.bind(d.Ef,this.fk,this,p);this.bind(d.zg,this.ck,this,p);this.zs=z;this.C1=c("<div/>");this.rv=new m(b,f);this.qz=new h.XU;this.qz.rT(h.XU.dJ);
1460this.IO=z;[this.C1,this.rv.kb(),this.qz.kb()].forEach(function(a,b){this.La().append(a);a.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":b})}.bind(this));this.rg=z;this.oe=[];this.RQ()});a.prototype.QA=function(a){a=new f(this.fb(),a);a.dm(this.za(),this.ab());a.bind(d.ua,this.WE,this,p);a.bind(d.W,this.e0,this,p);this.C1.append(a.kb());this.oe.push(a);this.rg=p;this.RQ()};a.prototype.removeItem=function(a){if(a=this.Pj(a)){if(this.DK==a)this.DK=this.WW=q;this.oe=
1461b.without(this.oe,a);a.unbind(d.ua,this.WE,this);a.unbind(d.W,this.e0,this,p);a.kb().detach();a.clear();this.rg=p;this.RQ()}};a.prototype.vma=function(a){this.Pj(a).pause()};a.prototype.f6=function(a){this.Pj(a).play()};a.prototype.Aoa=function(a){this.Pj(a).stop()};a.prototype.gS=function(a){return this.Pj(a).gj()};a.prototype.sT=function(a,b){this.Pj(a).xw(b)};a.prototype.dla=function(a){return this.Pj(a).Nn()};a.prototype.a6=function(a){this.Pj(a).cq()};a.prototype.Joa=function(a){this.Pj(a).ut()};
1462a.prototype.ug=function(a,b){this.Pj(a).bd(b)};a.prototype.RA=function(a){if(a=this.Pj(a)){this.oe=b.without(this.oe,a);this.oe.push(a);this.rg=p}};a.prototype.doa=function(a){if(this.IO!=a){this.IO=a;this.qz.Re(a)}};a.prototype.RQ=function(){this.qz.Re(this.IO&&this.oe.length>0)};a.prototype.render=function(){this.sl&&this.Yu()};a.prototype.Yu=function(){if(this.zs){this.zs=z;for(var a=this.za(),b=this.ab(),c=0;c<this.oe.length;c++)this.oe[c].dm(a,b);this.qz.setSize(a,b)}if(this.rg){this.rg=z;for(c=
14630;c<this.oe.length;c++)this.oe[c].kb().css("z-index",c+1)}for(c=0;c<this.oe.length;c++)this.oe[c].render()};
1463a.prototype.Pj=function(a){if(this.WW==a)return this.DK;for(var b=q,c=0;c<this.oe.length&&!b;c++)this.oe[c].getItem()==a&&(b=this.oe[c]);this.WW=a;return this.DK=b};a.prototype.ib=function(){this.zs=p;this.render()};a.prototype.fk=function(){this.sl=p;this.render()};a.prototype.ck=function(){this.sl=z};a.prototype.e0=function(a){this.Yg(a.source.getItem())};a.prototype.WE=function(a){this.xG(a.source.getItem())};
1464a.prototype.xG=function(a){this.trigger(new g(d.ua,{item:a}))};a.prototype.Yg=function(a){this.trigger(new g(d.W,{item:a}))};return a});
1465define("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.Qw);this.set("vrPointerColor","#ffffff");this.set("vrPointerOverColor","#007acc");this.set("vrPointerSelectionColor","#ff6600");
1466this.set("vrPointerDistance",2);this.set("vrPointerSelectionTime",1200);this.set("doubleClickAction","toggle_fullscreen");this.set("subtitlesEnabled",p);this.al=this.jc=this.DD=this.pe=q;this.MO=this.ml=z;this.ef=d.L;this.th=this.uh=q;this.bind(u.bV,this.Iea,this);this.bind(u.aV,this.Gea,this);this.bind(e.qb,this.Hea,this);this.FR=new k(this,"buttonPause",r.sh);this.FR.bind(e.U,this.Ju,this);this.FR.set("state",s.oc);this.HR=new k(this,"buttonPlay",r.sh);this.HR.bind(e.U,this.Ku,this);this.HR.set("state",
1467s.oc);this.GR=new k(this,"buttonPlayPause",r.sh);this.GR.bind(e.U,this.Dea,this);this.GR.set("state",s.oc);this.IR=new k(this,"buttonStop",r.sh);this.IR.bind(e.U,this.bs,this);this.IR.set("state",s.ta);this.Uja=new k(this,"buttonRestart",r.vc);this.Uja.bind(e.U,this.as,this);this.VG=new k(this,"buttonToggleSubtitles",r.sh);this.VG.bind(e.cg,function(){this.set("subtitlesEnabled",p)},this,p);this.VG.bind(e.rh,function(){this.set("subtitlesEnabled",z)},this,p);this.bind(e.ha("subtitlesEnabled"),function(){this.VG.set("pressed",
1468this.get("subtitlesEnabled"))},this);this.VG.set("pressed",this.get("subtitlesEnabled"));this.jda=c.Xn(this.rja,this);this.bind(e.AU,this.Wea,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]]",
1469buttonRestart:"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]",
1470transitionDuration:"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",progressBarBackgroun
1470dColor:"or[array[color], color]",
1471progressBarBackgroundColorDirection:"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",
1472playbackBarBackgroundColor:"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",
1473playbackBarProgressBackgroundColor:"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]",
1474playbackBarHeadBorderColor:"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]",
1475subtitlesBackgroundColor:"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]",
1476subtitlesOpacity:"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",
1477subtitlesTextShadowOpacity:"number",subtitlesTextShadowVerticalLength:"number",subtitlesTop:"or[number, percent]",subtitlesVerticalAlign:"enum[top, middle, bottom]"}).vg({play:function(){this.Ku()},pause:function(){this.Ju()},stop:function(){this.bs()},restart:function(){this.as()}});u.Ya={progressBackgroundColor:n,progressBackgroundColorDirection:n,progressBackgroundColorRatios:n,progressBackgroundOpacity:n,progressBarBackgroun
1477dColor:n,progressBarBackgroundColorDirection:n,progressBarBackgroundColorRatios:n,
1478progressBarBorderColor: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,
1479playbackBarHeight: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,
1480playbackBarHeadBackgroundColorDirection: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,
1481playbackBarStepBackgroundColorRatios: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,
1482playbackBarStepSelectedBackgroundColorRatios: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,
1483subtitlesBackgroundColor:"#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,
1484subtitlesShadowColor:"#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.Ya,t.Ya);u.prototype.set=function(a,
1485b){if(a=="playbackState"){b=this.ef;if(this.get(a)!=b){this.MO=p;this.jda()}}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.oa=function(){this.zi(u.Ya)};
1486u.prototype.Ia=function(){t.prototype.Ia.call(this);if(this.pe==q){this.pe=new m;this.qa(this.pe)}if(this.jc==q){this.jc=new h;this.jc.bind(e.W,this.JO,this,p);this.qa(this.jc)}};u.prototype.bla=P("jc");u.prototype.nh=function(){t.prototype.nh.call(this);var a=this.Oa(),c=b(a).find(function(a){return a instanceof f}),d=b(a).find(function(a){return a instanceof l}),e=this.pe&&this.eB(this.pe)>=0?this.pe:q,g=this.jc&&this.eB(this.jc)>=0?this.jc:q;b([{child:c,index:0},{child:d,index:c?1:0},{child:g,
1487index:a.length-(e?2:1)},{child:e,index:a.length-1}]).each(function(a){var b=a.child,a=a.index;b&&this.eB(b)!=a&&this.ii(b,a)},this)};u.prototype.ea=function(){if(this.m("externalProgressBar")){(this.DD=this.j("externalProgressBar"))?this.removeChild(this.pe):this.qa(this.pe);this.o("externalProgressBar");b(u.$V).each(function(a){this.ws(a)},this)}this.Ua(u.B8,u.OV,[this.pe],p,p);var a=[this.pe];this.DD&&a.push(this.DD);this.Ua(u.$V,u.aW,a,p,p);if(this.m("externalPlaybackBar")){this.al&&this.al.unbind(e.W,
1488this.JO,this,p);(this.al=this.j("externalPlaybackBar"))?this.removeChild(this.jc):this.qa(this.jc);this.al&&this.al.bind(e.W,this.JO,this,p);this.o("externalPlaybackBar");b(u.WV).each(function(a){this.ws(a)},this)}this.Ua(u.A8,u.NV,[this.jc],p,p);a=[this.jc];this.al&&a.push(this.al);this.Ua(u.WV,u.XV,a,p,p);t.prototype.ea.call(this)};u.prototype.rja=function(){if(this.MO){this.MO=z;this.FR.set("state",this.ef==d.Hc?s.ta:s.oc);this.HR.set("state",this.ef==d.T||this.ef==d.Hc?s.ta:s.oc);this.GR.set("state",
1489this.ef==d.T?s.ta:s.oc);this.IR.set("state",this.ef==d.L?s.ta:s.oc)}};u.prototype.ob=function(a){this.ef=a;this.set("playbackState",a)};u.prototype.Ju=function(){this.ef==d.Hc?this.mg():this.mk()};u.prototype.Ku=function(){this.mg()};u.prototype.Dea=function(){this.ef==d.T?this.mk():this.mg()};u.prototype.bs=function(){this.Wi()};u.prototype.as=function(){this.Wi();this.mg()};u.prototype.Wea=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var a=this.fb();(a=a&&a.Gg)&&a.available()&&
1490a.toggle()}};u.prototype.mg=function(){this.th&&this.th.play()};u.prototype.mk=function(){this.th&&this.th.pause()};u.prototype.Wi=function(){this.th&&this.th.stop()};u.prototype.Iea=function(a){this.U1(a.data.player)};u.prototype.Gea=function(a){this.uh==a.data.player&&this.U1(q)};u.prototype.Hea=function(){u.ao(this)};
1490u.prototype.U1=function(a){if(this.uh!=a){this.uh&&this.uh.ao(z);this.th&&this.th.unbind(e.ha("state"),this.VJ,this);this.yfa=this.uh;(this.uh=a)&&this.uh.ao(!!this.Lr);(this.th=this.uh&&
1491this.uh.d$?this.uh:q)&&this.th.bind(e.ha("state"),this.VJ,this,p);this.VJ()}};u.prototype.ao=function(a){this.Lr=a;this.uh&&this.uh.ao(!!this.Lr)};u.prototype.Soa=function(){return!this.yfa};u.prototype.VJ=function(){this.th?this.ob(this.th.get("state")):this.ob(d.L)};u.prototype.JO=function(){var a=(this.al?this.al:this.jc).get("position");this.trigger(new g(u.SI,{position:a}))};u.OV={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",progressBackgroundColorRatios:"backgroundColorRatios",
1492progressBackgroundOpacity:"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",
1493progressBottom:"bottom",progressLeft:"left",progressRight:"right"};u.B8=b(u.OV).keys();u.aW={progressPercent:"percent",progressVisible:"visible"};u.$V=b(u.aW).keys();
1493u.NV={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",playbackBarBackgroundOpacity:"backgroundOpacity",playbackBarBorderColor:"borderColor",playbackBarBorderRadius:"borderRadius",playbackBarBorderSize:"borderSize",playbackBarBottom:"bottom",playbackBarHeight:"height",playbackBarWidth:"width",
1494playbackBarLeft:"left",playbackBarOpacity:"opacity",playbackBarRight:"right",playbackBarLiveDragging:"liveDragging",playbackBarProgressBackgroundColor:"barBackgroundColor",playbackBarProgressBackgroundColorDirection:"barBackgroundColorDirection",playbackBarProgressBackgroundColorRatios:"barBackgroundColorRatios",playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",
1495playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",
1496playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",
1497playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",
1498playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",
1499playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};
1500u.A8=b(u.NV).keys();u.XV={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};u.WV=b(u.XV).keys();u.rJ="requestByPlayer";u.bV="playerShow";u.aV="playerHide";u.SI="playbackBarPositionChange";u.zu=q;u.ao=function(a){if(u.zu!=a){u.zu&&u.zu.ao(z);u.zu=a;u.zu&&u.zu.ao(p)}};return u});
1501define("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.d$=a;this.Pz=this.fl=q});j.Te="mediaShow";j.yg="mediaHide";j.prototype.ao=D();
1501j.prototype.eG=function(a){if(this.fl!=a){if(this.fl){this.fl.unbind(g.rJ,this.U3,this);this.fl.unbind(g.SI,this.vF,this)}if(this.fl=a){this.fl.bind(g.rJ,this.U3,this);this.fl.bind(g.SI,this.vF,this)}}};j.prototype.IF=function(){this.fl.trigger(new e(g.rJ,{player:this}))};j.prototype.U3=function(a){a.data.player!=
1502this&&this.Yz()};j.prototype.vF=D();j.prototype.Yz=D();j.prototype.FE=function(a){this.trigger(new e(j.Te,{media:a}));this.Pz=this.fl;this.Pz.trigger(new e(g.bV,{player:this}))};j.prototype.EE=function(a){this.trigger(new e(j.yg,{media:a}));if(this.Pz){this.Pz.trigger(new e(g.aV,{player:this}));this.Pz=q}};return j});
1503define("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.ml=z;this.gQ=p;this.k=h.L;this.yK=new g(this,"buttonPlayPause",m.sh);this.yK.bind(c.cg,this.Eea,this,p);this.yK.bind(c.rh,this.Fea,this,p);this.PW=new g(this,"buttonPause",m.vc);this.PW.bind(c.U,this.Ju,this,p);this.QW=new g(this,"buttonPlay",m.vc);this.QW.bind(c.U,this.Ku,this,p);this.TW=new g(this,"buttonStop",m.vc);this.TW.bind(c.U,this.bs,this,p);this.V9=new g(this,
1504"buttonRestart",m.vc);this.V9.bind(c.U,this.as,this,p);this.AZ=a.Xn(this.fja,this);this.AZ()});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.fja=function(){if(this.gQ){this.gQ=z;this.PW.set("state",this.k==h.Hc?f.ta:f.oc);this.QW.set("state",this.k==h.T||this.k==h.Hc?f.ta:f.oc);this.yK.set("pressed",this.k==h.T);this.TW.set("state",this.k==h.L?f.ta:f.oc)}};
1505l.prototype.jv=function(a){if(this.ml!=a)(this.ml=a)||this.ob(h.L)};l.prototype.ob=function(a){var b=this.k;this.k=a;j.prototype.set.call(this,"state",a);if(b!=this.k){this.gQ=p;this.AZ();this.trigger(new e(l.jd,{oldState:b,state:this.k}))}};l.prototype.Ju=function(){this.ml&&(this.k==h.Hc?this.mg():this.mk())};l.prototype.Ku=function(){this.ml&&this.mg()};l.prototype.Eea=function(){this.ml&&this.mg()};l.prototype.Fea=function(){this.ml&&this.mk()};l.prototype.bs=function(){this.ml&&this.Wi()};l.prototype.as=
1506function(){if(this.ml){this.Wi();this.mg()}};l.prototype.mg=D();l.prototype.mk=D();l.prototype.Wi=D();l.jd="stateChange";return l});define("gm",[],function(){return{wq:"constrained",A7:"free_drag",gpa:"free_drag_and_rotation",yJ:"sync_with_field_of_view"}});
1507define("gI",["hb","gm","hA"],function(a,b,c){function e(){this.Y=p;this.aa=this.$=0.5;this.pb=0;this.la=1;this.Ec=c.ge;this.Hh=b.wq;this.PN=this.SN=1;this.fc=this.gc=this.wh=this.xh=100;this.Th=e.Sq}e.prototype.q5=function(){return this.Th!==e.Sq};e.prototype.p5=function(){return this.Th&e.Et?p:z};e.prototype.r5=function(){return this.Th&e.Ft?p:z};e.prototype.s5=function(){return this.Th&e.Vq?p:z};e.prototype.o5=function(){return this.Th&e.Rq?p:z};e.prototype.fh=function(){this.$h();return this.$};
1508e.prototype.gh=function(){this.$h();return this.aa};e.prototype.Fk=function(){this.$h();return this.la};e.prototype.Sv=function(){this.$h();return this.pb};e.prototype.FB=function(a,b,c,e,h){this.gc=a;this.fc=b;this.Ec=c;this.SN=e;this.PN=h;this.aa=this.$=0.5;this.pb=0;this.la=e;this.Y=p};e.prototype.Pa=function(a,b,c,e){this.$=a;this.aa=b;this.pb=c;this.la=e;this.Y=p};e.prototype.Ik=function(a){this.Hh=a;this.Y=p};e.prototype.setSize=function(a,b){this.xh=a;this.wh=b;this.Y=p};e.prototype.$h=function(){if(this.Y){this.Y=
1509z;var a=e.Sq;this.la>this.PN?(this.la=this.PN,a|=e.C8):this.la<this.SN&&(this.la=this.SN,a|=e.D8);var g,j,k,h;if(this.Hh==b.wq){switch(this.Ec){case c.NONE:j=this.gc;h=this.fc;break;case c.Bj:j=this.xh;h=this.fc*this.xh/this.gc;break;case c.bg:j=this.gc*this.wh/this.fc;h=this.wh;break;case c.Pk:this.gc*this.wh>this.fc*this.xh?(j=this.gc*this.wh/this.fc,h=this.wh):(j=this.xh,h=this.fc*this.xh/this.gc);break;default:case c.ge:this.gc*this.wh>this.fc*this.xh?(j=this.xh,h=this.fc*this.xh/this.gc):(j=
1510this.gc*this.wh/this.fc,h=this.wh)}j*=this.la;h*=this.la;g=Math.min(0.5*this.xh/j,0.5);j=Math.max(1-0.5*this.xh/j,0.5);k=Math.min(0.5*this.wh/h,0.5);h=Math.max(1-0.5*this.wh/h,0.5)}else g=0,j=1,k=0,h=1;this.$<g?(this.$=g,a|=e.Et):this.$>j&&(this.$=j,a|=e.Ft);this.aa<k?(this.aa=k,a|=e.Vq):this.aa>h&&(this.aa=h,a|=e.Rq);if((this.Hh==b.wq||this.Hh==b.A7)&&0!=this.pb)this.pb=0,a|=e.H8;this.Th=a}};e.Sq=0;e.Et=1;e.Ft=2;e.Vq=4;e.Rq=8;e.D8=16;e.C8=32;e.H8=64;return e});
1511define("dV",[],function(){function a(){this.Tx=0.1;this.tD=this.oL=this.sL=this.rL=this.zL=this.nL=this.xL=this.wL=this.OA=this.BR=this.Wq=this.bK=this.MA=this.yR=this.KA=this.wR=0}a.prototype.SH=N("Tx");a.prototype.K6=function(a,c,e,d,g,j,k,h){this.wR=a;this.yR=c;this.bK=e;this.BR=d;this.KA+=g;this.MA+=j;this.Wq+=k;this.OA+=h};a.prototype.$c=function(){return 0!=this.wL||0!=this.xL||0!=this.nL||0!=this.zL||0!=this.wR||0!=this.yR||0!=this.bK||0!=this.BR||0!=this.KA||0!=this.MA||0!=this.Wq||0!=this.OA};
1512a.prototype.Va=function(a){a=1E3/a;this.rL=this.AD(this.wL/a,this.wR/a+this.KA,this.Tx);this.sL=this.AD(this.xL/a,this.yR/a+this.MA,this.Tx);this.oL=this.AD(this.nL/a,this.bK/a+this.Wq,this.Tx);this.tD=this.AD(this.zL/a,this.BR/a+this.OA,this.Tx);this.wL=this.rL*a;this.xL=this.sL*a;this.nL=this.oL*a;this.zL=this.tD*a;this.OA=this.Wq=this.MA=this.KA=0};a.prototype.AD=function(a,c,e){return 0==c?this.ke(a,c,e):c};a.prototype.ke=function(a,c,e){a=(c-a)*(1-e);0.01>Math.abs(a)&&(a=0);return c-a};return a});
1513define("ea",["hb","jd","bI","dT","hA"],function(a,b,c,e){var d=a.extend(e,function(){e.call(this);this.eu=7;this.ME=this.pN=z;this.OE=n;this.pb=0;this.la=1;this.fc=this.gc=100;this.qE=1;this.SO=p;
1513this.TO=z;this.Gja=p;this.AR=z;this.Ba=q});d.prototype.GB=N("eu");d.prototype.Rd=function(a,b,c,d){this.pb=a;this.la=b;this.gc=c;this.fc=d};d.prototype.hoa=function(a){this.SO=a;this.aG(this.SO&&!!this.Ba)};d.prototype.EB=function(a){this.Ba!=a&&(this.aG(z),this.SP(z),this.Ll(),this.Ba=a,this.aG(this.SO&&
1514!!this.Ba),this.SP(this.Gja&&!!this.Ba))};d.prototype.Ll=function(){this.aG(z);this.SP(z);this.Ba=q};d.prototype.aG=function(a){this.TO!=a&&((this.TO=a)?this.H9():this.Hia())};d.prototype.SP=function(a){this.AR!=a&&((this.AR=a)?this.I9():this.Iia())};d.prototype.H9=function(){this.Ba.bind(b.qb,this.Kb,this,p);this.Ba.bind(b.uc,this.Gh,this,p);this.Ba.bind(b.Ib,this.Mf,this,p)};d.prototype.Hia=function(){this.Ba.unbind(b.qb,this.Kb,this);this.Ba.unbind(b.uc,this.Gh,this);this.Ba.unbind(b.Ib,this.Mf,
1515this)};d.prototype.I9=function(){this.Ba.bind(b.Mq,this.Ur,this,p);this.Ba.bind(b.zt,this.Fr,this,p)};d.prototype.Iia=function(){this.Ba.unbind(b.Mq,this.Ur,this);this.Ba.unbind(b.zt,this.Fr,this)};d.prototype.Kb=function(a){this.Iha(a)};d.prototype.Gh=function(a){this.z3(a)};d.prototype.Mf=function(){this.eM()};d.prototype.Ur=function(a){this.aR(a)};d.prototype.Fr=function(a){this.bR(a)};d.prototype.Iha=function(a){this.pN=p;this.ME=z;this.OE=a;this.z3(a)};d.prototype.z3=function(a){if(this.pN){var b=
1516a.pageX-this.OE.pageX,e=a.pageY-this.OE.pageY;this.ME||(Math.sqrt(b*b+e*e)>this.eu?this.ME=p:b=e=0);this.ME&&(this.OE=a);a=this.pb*Math.PI/180;this.trigger(new c(d.xj,{xDelta:-((b*Math.cos(a)+e*Math.sin(a))/this.gc),yDelta:-((e*Math.cos(a)-b*Math.sin(a))/this.fc)}))}};d.prototype.eM=function(){this.pN=z};d.prototype.bR=function(a){if(this.qE!=a.scale){this.eM();var b=this.qE;this.qE=a.scale;this.trigger(new c(d.Aj,{zoomDelta:this.la*this.qE/b-this.la}))}};d.prototype.aR=function(a){0!=a.Jn&&(this.eM(),
1517this.trigger(new c(d.Aj,{zoomDelta:0.1*this.la*a.PR})))};d.xj="position change";d.Aj="zoom change";d.ypa="vieport navigation";d.xpa="relative navigation";d.wpa="relative exponential navigation";d.vpa="dragging";return d});define("fZ",[],function(){return{sJ:"rotateClockwise",tJ:"rotateCounterClockwise",pm:"zoomIn",qm:"zoomOut",ud:"stop"}});
1518define("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.cl=this.DF=this.Z=z;this.aa=this.$=0.5;this.pb=0;this.la=1;this.fc=this.gc=100;this.Ec=e.wq;this.hb=new d;this.Ea=new g;if(this.g.Di){this.Ea.GB(k.PJ);this.hb.SH(k.QJ)}else{this.Ea.GB(0);this.hb.SH(1)}this.Ea.bind(g.xj,this.wea,this,p);this.Ea.bind(g.Aj,this.kp,this,p)});k.prototype.clear=function(){this.Ea.unbind(g.xj,this.Qqa,this,p);this.Ea.unbind(g.Aj,this.kp,
1519this,p);this.Ea.Ll();this.g=this.H=this.hb=this.Ea=q};k.prototype.wg=function(a){switch(a){case j.sJ:this.nb(0,0,+k.KJ,0,0,0,0,0);break;case j.tJ:this.nb(0,0,-k.KJ,0,0,0,0,0);break;case j.pm:this.nb(0,0,0,+k.$w,0,0,0,0);break;case j.qm:this.nb(0,0,0,-k.$w,0,0,0,0);break;case j.ud:this.nb(0,0,0,0,0,0,0,0)}};k.prototype.Pa=function(a,b,c,d,e,g){this.$=a;this.aa=b;this.pb=c;this.la=d;this.gc=e;this.fc=g;this.Ea.Rd(this.pb,this.la,this.gc,this.fc)};k.prototype.$c=function(){return this.Z&&this.hb.$c()};
1520k.prototype.Va=function(a){this.hb.Va(a);this.H.Pa(this.$+this.hb.rL,this.aa+this.hb.sL,this.pb+this.hb.oL,this.la+this.hb.tD);this.$=this.H.fh();this.aa=this.H.gh();this.pb=this.H.Sv();this.la=this.H.Fk()};k.prototype.KB=function(a){this.cl=a;this.Ea.hoa(!this.cl)};k.prototype.se=function(a){(this.Z=a)?this.Ea.EB(this.g.getParent()):this.Ea.Ll()};k.prototype.wea=function(a){this.nb(0,0,0,0,a.data.xDelta,a.data.yDelta,0,0)};k.prototype.kp=function(a){this.nb(0,0,0,0,0,0,0,a.data.zoomDelta)};k.prototype.nb=
1521function(a,b,c,d,e,g,k,j){this.hb.K6(a,b,c,d,e,g,k,j);this.Vf()};k.prototype.Vf=function(){this.trigger(new b(k.$f))};k.$f="position change request";k.PJ=7;k.QJ=0.2;k.$w=0.5;k.KJ=30;return k});
1522define("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.pb=0;this.la=1;this.fc=this.gc=100;this.J=q;this.ZL=p;this.mb=q;this.iF=0;this.yl=this.Cn=this.Bn=n;this.hb=new g;this.Ea=new j;if(this.g.Di){this.Ea.GB(h.PJ);this.hb.SH(h.QJ)}else{this.Ea.GB(0);this.hb.SH(1)}this.Ea.bind(j.Aj,this.kp,this,p)});h.prototype.Tna=function(a,b){this.gc=a;this.fc=b;this.KG()};
1522h.prototype.bo=function(a){if(this.mb!=
1523a){this.mb=a;this.iF=n;this.KG()}};h.prototype.nj=function(a,b){if(this.mb==a){this.iF=b;this.KG()}};h.prototype.KG=function(){var a,b,c;if(this.mb&&this.iF!=n){a=this.mb.get("x",0)/this.gc;b=this.mb.get("y",0)/this.fc;c=-(this.iF+this.mb.get("angle",0))}else c=b=a=n;if(this.yl!=c){this.yl=c;this.Vf()}if(this.Bn!=a||this.Cn!=b){this.Bn=a;this.Cn=b;this.ida();this.Vf()}};h.prototype.ida=function(){this.ZL=p;this.Vf()};h.prototype.pA=function(){if(this.ZL||this.J&&this.J.Dd()){this.ZL=z;this.J=q;if(this.Bn!=
1524n&&this.Cn!=n&&this.yl!=n){for(var a=this.yl-this.pb;a>180;)a=a-360;for(;a<-180;)a=a+360;if(this.$!=this.Bn||this.aa!=this.Cn)this.J=new e("quad_in_out",[new d("x",this.$,this.Bn,1),new d("y",this.aa,this.Cn,1),new d("angleDif",a,a,360)],500);else if(this.yl!=this.pb)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.Ea.unbind(j.Aj,this.kp,this,p);this.Ea.Ll();this.g=this.H=this.J=this.hb=this.Ea=
1525q};h.prototype.wg=function(a){switch(a){case k.pm:this.nb(+h.$w,0);break;case k.qm:this.nb(-h.$w,0);break;case k.ud:this.nb(0,0)}};h.prototype.Pa=function(a,b,c,d,e,g){this.$=a;this.aa=b;this.pb=c;this.la=d;this.Ea.Rd(this.pb,this.la,e,g)};h.prototype.$c=function(){return this.Z&&(this.J||this.hb.$c()||this.Bn!=n&&this.$!=this.Bn||this.Cn!=n&&this.aa!=this.Cn||this.yl!=n&&this.pb!=this.yl)?p:z};h.prototype.Va=function(a){this.pA();if(this.J){this.J.Va(a);this.$=this.J.bb("x");this.aa=this.J.bb("y");
1526this.pb=this.yl-this.J.bb("angleDif")}else{if(this.Bn!=n)this.$=this.Bn;if(this.Cn!=n)this.aa=this.Cn;if(this.yl!=n)this.pb=this.yl}this.hb.Va(a);this.H.Pa(this.$,this.aa,this.pb,this.la+this.hb.tD);this.$=this.H.fh();this.aa=this.H.gh();this.pb=this.H.Sv();this.la=this.H.Fk()};h.prototype.se=function(a){if(this.Z=a){this.Ea.EB(this.g.getParent());this.KG()}else this.Ea.Ll()};h.prototype.kp=function(a){this.nb(0,a.data.zoomDelta)};h.prototype.nb=function(a,b){this.hb.K6(0,0,0,a,0,0,0,b);this.Vf()};
1527h.prototype.Vf=function(){this.trigger(new b(h.$f))};h.$f="position change request";h.PJ=7;h.QJ=0.2;h.$w=0.5;h.KJ=30;return h});
1528define("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.rb,this.ib,this);this.Hh=e.wq;this.mb=q;this.aa=this.$=0.5;this.pb=0;this.la=1;this.na=q;this.RF=this.QF=this.Il=this.Hl=z;this.Wh=p;this.Z=z;this.H=new g;this.H.Ik(this.Hh);this.Ma=new j(this.g,this.H);this.Ma.bind(j.$f,this.pn,this,p);this.gf=new k(this.g,this.H);this.gf.bind(k.$f,this.pn,this,p);this.FF()});m.prototype.clear=function(){this.Ma.unbind(j.$f,
1529this.pn,this);this.Ma.clear();this.Ma=q;this.gf.unbind(k.$f,this.pn,this);this.gf.clear();this.na=this.H=this.gf=q;this.g.unbind(h.rb,this.ib,this);this.g=q};m.prototype.stop=function(){this.Rb=this.na=q;this.Z=z;this.Ma.se(z);this.gf.se(z);this.An(0,0,0,0)};m.prototype.start=function(a){var b=a.na,c=b.get("width",100),e=b.get("height",100),g=b.get("scaleMode",d.ge),h=b.get("minimumZoomFactor",1),k=b.get("maximumZoomFactor",1),j=b.get("initialZoomFactor",1);this.na=b;this.Z=p;this.Rb=a.getItem();
1530this.An(0,0,0,0);this.gf.Tna(c,e);this.H.FB(c,e,g,h,k);this.H.Pa(0.5,0.5,0,j);this.g.LB(this.Rb,this.H.fh(),this.H.gh(),this.H.Sv(),this.H.Fk());this.FF()};m.prototype.wg=function(a){this.Ma.wg(a);this.gf.wg(a)};m.prototype.Ik=function(a){if(this.Hh!=a){this.Hh=a;this.H.Ik(a);this.FF()}};m.prototype.bo=function(a){if(this.mb!=a){this.mb=a;this.gf.bo(a);this.FF()}};m.prototype.KB=function(a){this.Ma&&this.Ma.KB(a)};m.prototype.nj=function(a,b,c,d){this.gf.nj(a,b,c,d)};m.prototype.Yn=function(a){if(this.Z)if(this.gf.$c()){this.gf.Va(a);
1531this.Uh(this.gf.$,this.gf.aa,this.gf.pb,this.gf.la);this.ga()}else if(this.Ma.$c()){this.Ma.Va(a);this.Uh(this.Ma.$,this.Ma.aa,this.Ma.pb,this.Ma.la);this.ga()}else this.An(0,0,0,0)};m.prototype.$b=function(){if(this.Rb){var a=this.g.kB(this.Rb),b=this.g.lB(this.Rb),c=this.g.oH(this.Rb),d=this.g.M4(this.Rb),e=this.g.jB(this.Rb),g=this.g.iB(this.Rb),h=a-this.$,k=b-this.aa,j=c-this.pb,m=d-this.la;this.$=a;this.aa=b;this.pb=c;this.la=d;this.An(h,k,j,m);this.gf.Pa(a,b,c,d,e,g);this.Ma.Pa(a,b,c,d,e,g)}};
1532m.prototype.FF=function(){if(this.Hh==e.yJ&&this.mb!=q&&this.mb.get("map")==this.na){this.Ma.se(z);this.gf.se(p)}else{this.Ma.se(p);this.gf.se(z)}};m.prototype.pn=function(){this.ga()};m.prototype.ib=function(){this.H.setSize(this.g.za(),this.g.ab());this.ga()};m.prototype.ga=function(){this.trigger(new b(m.sa))};m.prototype.Uh=function(a,b,c,d){this.g.LB(this.Rb,a,b,c,d)};m.prototype.An=function(a,c,d,e){a=z;if(this.Il!=e<0){this.Il=!this.Il;a=p}if(this.Hl!=e>0){this.Hl=!this.Hl;a=p}if(this.QF!=
1533this.Wq>0){this.QF=!this.QF;a=p}if(this.RF!=this.Wq<0){this.RF=!this.RF;a=p}if(this.Wh!=(e==0)){this.Wh=!this.Wh;a=p}a&&this.trigger(new b(m.Zf,{rotatingClockwise:this.QF,rotatingCounterClockwise:this.RF,zoomingIn:this.Hl,zoomingOut:this.Il,stopped:this.Wh}))};m.sa="request frame";m.Zf="movement change";return m});
1534define("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});
1535define("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});
1536define("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.Fe=[];this.V=j.ui;this.Ve=this.Ae=q;this.Zi=this.F.get("transitionDuration");this.Yh=n});j.prototype.Ik=function(a){this.H.Ik(a)};j.prototype.ZA=function(a){a.sB()&&this.MK();this.Fe.push(a);this.VE()};j.prototype.hide=function(){this.MK();this.Fe.push(q);this.VE()};j.prototype.clear=function(){this.V=j.ui;this.MK();this.Nfa();this.mP();this.g=q};j.prototype.$b=
1537function(a){if(this.V!=j.ui&&(this.V==j.sm||this.V==j.dx)){this.Yh=this.Yh+a;a=Math.min(1,this.Yh/this.Zi);this.V==j.sm?this.g.ug(this.Ae.getItem(),a):this.g.ug(this.Ve.getItem(),1-a);this.Yh<this.Zi?this.ga():this.V==j.sm?this.cM():this.dM()}};j.prototype.VE=function(){if(this.V==j.ui){for(;this.Fe.length>0&&this.j9(this.Fe[0],this.Ve);)this.Fe.shift();this.Fe.length>0&&this.uo()}};j.prototype.j9=function(a,b){return a==b||!!a&&!!b&&a.isEqual(b)};j.prototype.uo=function(){this.Ve&&(!this.Fe[0]||
1538this.Fe[0].sB())&&this.trigger(new b(j.zq,{map:this.Ve.na}));if(this.F.get("transitionMode","blending")=="fade_out_fade_in"&&this.Ve&&this.Fe[0].sB())this.px();else(this.Ae=this.Fe.shift())?this.sK():this.Ve&&this.px()};j.prototype.sK=function(){this.R8();this.Ae.sB()&&this.vga();this.Yh=0;this.V=j.sm;this.ga()};j.prototype.cM=function(){this.mP();this.Ve=this.Ae;this.Ae=q;this.Ar()};j.prototype.px=function(){this.Yh=0;this.V=j.dx;this.ga()};j.prototype.dM=function(){this.mP();this.Ve=q;this.Ar()};
1539j.prototype.Ar=function(){this.V=j.ui;this.Ve&&this.Ve.sB()&&this.trigger(new b(j.Aq,{map:this.Ve.na}));this.Fe.length==0?this.Ve&&this.trigger(new b(j.KI,{level:this.Ve})):this.uo()};j.prototype.vga=function(){var a=this.Ae.na;this.Ae.aw();this.H.FB(a.get("width",100),a.get("height",100),a.get("scaleMode",d.ge),a.get("minimumZoomFactor",1),a.get("maximumZoomFactor",1));this.H.Pa(0.5,0.5,0,a.get("initialZoomFactor",1));this.g.LB(this.Ae.getItem(),this.H.fh(),this.H.gh(),this.H.Sv(),this.H.Fk())};
1540j.prototype.ga=function(){this.trigger(new b(j.sa))};j.prototype.MK=function(){for(;this.Fe.length>0;){var a=this.Fe.shift();a&&this.g.mi(a.getItem())}};j.prototype.R8=function(){if(this.Ae){this.g.QA(this.Ae.getItem());this.g.RA(this.Ae.getItem());this.g.ug(this.Ae.getItem(),0);this.trigger(new b(j.JI,{level:this.Ae}))}};j.prototype.mP=function(){if(this.Ve){this.g.removeItem(this.Ve.getItem());this.trigger(new b(j.jC,{level:this.Ve}));this.g.mi(this.Ve.getItem());this.Ve=q}};j.prototype.Nfa=function(){if(this.Ae){this.g.removeItem(this.Ae.getItem());
1541this.trigger(new b(j.jC,{level:this.Ae}));this.g.mi(this.Ae.getItem());this.Ae=q}};j.ui="stopped";j.sm="blending";j.dx="disolving";j.sa="request frame";j.JI="level added";j.jC="level removed";j.KI="level fully displayed";j.Aq="map show";j.zq="map hide";return j});
1542define("gS",[],function(){function a(a,c){this.na=a;this.Za=a.get("image");this.hf=c;this.nN=n}a.prototype.getItem=function(){switch(this.hf){case a.xC:return this.na.W4();default:return this.na.Pc()}};a.prototype.aw=function(){switch(this.hf){case a.xC:return this.na.Zs();default:return this.na.Dk()}};a.prototype.sB=function(){return this.nN===n?0==this.I4():this.nN};a.prototype.Dna=N("nN");a.prototype.tB=function(){return this.hf==a.wU};a.prototype.isEqual=function(a){return a&&this.na==a.map&&
1543this.hf==a.type};a.prototype.I4=function(){return this.hf==a.xC||this.na.gw()?0:1};a.prototype.D4=function(){return this.na.gw()?2:1};a.xC="preload";a.wU="load";return a});
1544define("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.Fe=[];this.Ox=this.Rr=this.Xd=q;this.Mr=z;this.rE=q});k.prototype.clear=function(){this.stop();this.g=q};k.prototype.lma=function(a){if(this.rE!=a){this.stop();a.gw()&&j.Xa()&&this.Fe.push(new g(a,g.xC));this.Fe.push(new g(a,g.wU));this.VE()}};k.prototype.stop=function(){this.rE=q;this.Fe=[];this.I2();if(this.Mr){this.Mr=z;
1545this.AQ();this.g.mi(this.Xd.getItem());this.Xd=q;this.trigger(new c(k.kC))}};k.prototype.VE=function(){this.Mr||this.KN()};k.prototype.KN=function(){if(this.Fe.length>0){this.Xd=this.Fe.shift();if(!this.Mr){this.Mr=p;this.trigger(new c(k.iC,{level:this.Xd,percent:0}))}this.C9();this.g.Un(this.Xd.getItem());this.g.KT(this.Xd.getItem())&&this.bO()}else if(this.Mr){this.Mr=z;this.trigger(new c(k.kC))}};k.prototype.bO=function(){this.AQ();this.Cha();this.Xd=q;this.KN()};k.prototype.Cha=function(){this.I2();
1546this.Rr=this.Xd;var a=this;this.Ox=setTimeout(function(){a.Ox=q;a.hea()},500)};k.prototype.hea=function(){var a=this.Rr.na;this.Rr.Dna(a!=this.rE);this.rE=a;this.trigger(new c(k.LI,{level:this.Rr}));this.Rr=q};k.prototype.I2=function(){if(this.Ox!=q){clearTimeout(this.Ox);this.Ox=q;this.g.mi(this.Rr.getItem());this.Rr=q}};k.prototype.A_=function(){this.AQ();this.Xd=q;this.KN()};k.prototype.B_=function(a){this.trigger(new c(k.iC,{level:this.Xd,percent:a.jh}))};k.prototype.C9=function(){var a=this.Xd.getItem();
1547a.bind(d.O,this.bO,this);a.bind(d.kd,this.A_,this);a.bind(d.cc,this.B_,this)};k.prototype.AQ=function(){var a=this.Xd.getItem();a.unbind(d.O,this.bO,this);a.unbind(d.kd,this.A_,this);a.unbind(d.cc,this.B_,this)};k.iC="level loading progress";k.LI="level loaded";k.kC="load stopped";return k});
1548define("bO",["require"],function(){function a(a,c){this.x=a;this.y=c}
1548a.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});
1549define("hP",["require","hA","W"],function(a){function b(a,b,j){this.He=a;this.y2=b;this.x2=j;this.Ec=c.km;this.Kg=e.tc;this.Zg=e.bc}var c=a("hA"),e=a("W");b.prototype.nq=N("Ec");b.prototype.yw=N("Kg");b.prototype.Aw=N("Zg");b.prototype.Qv=function(a,b,j){var k=this.y2,h=this.x2,m,f;switch(this.Ec){case c.NONE:f=m=1;break;case c.ge:m=f=Math.min(b/k,j/h);break;case c.Pk:m=f=Math.max(b/k,j/h);break;case c.Bj:m=f=b/k;break;case c.bg:m=f=j/h;break;default:m=b/k,f=j/h}var l=b/m;m=Math.min(this.y2*m,b);
1550l=Math.min(l,k);switch(this.Kg){case e.ra:sX=tX=0;break;case e.Qa: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.x2*f,j);b=Math.min(b,h);switch(this.Zg){case e.eb:h=j=0;break;case e.cb:j-=f;h-=b;break;default:j=0.5*(j-f),h=0.5*(h-b)}a.drawImage(this.He,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});
1551define("hF","require,jd,eU,bO,gE,hP".split(","),function(a){function b(a,b,d,f){this.g=a;this.na=b;this.gc=this.na.get("width");this.fc=this.na.get("height");this.Rb=this.na.Pc();this.mZ=d;this.Ci=f;this.Jr=q;if(this.Ci){this.dv=this.mZ.dv;this.R=this.Ci.get("width");this.ba=this.Ci.get("height");this.$=this.Ci.get("x",0);this.aa=this.Ci.get("y",0);this.Wr=this.Ci.get("offsetX",0);this.Xr=this.Ci.get("offsetY",0);if(this.an=this.Ci.Dk()){this.Ce=new g(e.Sk);this.Ce.load(this.an.get("url"));this.Ce.bind(c.O,
1552this.V_,this)}}else this.Ce=q}var c=a("jd"),e=a("eU"),d=a("bO"),g=a("gE"),j=a("hP");b.prototype.clear=function(){this.Ci=this.mZ=this.Rb=this.na=this.g=q;if(this.Ce){this.Ce.unbind(c.O,this.V_,this);this.Ce.cancel();this.Ce=q}this.Jr=q};b.prototype.N4=function(a,b){this.nZ=n;if(this.Jr&&a!=n&&b!=n){var c=this.g.za()*0.5,f=this.g.ab()*0.5,e=this.g.oH(this.Rb)*Math.PI/180,g=this.g.jB(this.Rb),j=this.g.iB(this.Rb),s=this.g.kB(this.Rb),t=this.g.lB(this.Rb),u=new d(a,b);u.translate(-c,-f);u.rotate(-e);
1553u.scale(1/g,1/j);u.translate(s,t);u.scale(this.gc,this.fc);u.translate(-this.$,-this.aa);if(!this.dv){u.rotate(e);u.scale(g/this.gc,j/this.fc)}u.translate(this.Wr,this.Xr);c=Math.round(u.x);u=Math.round(u.y);if(c>=0&&c<this.Jr.width&&u>=0&&u<this.Jr.height){u=(this.Jr.width*u+c)*4;c=this.Jr.data;this.nZ=c[u+3]>0?"#"+this.BK(c[u+0])+this.BK(c[u+1])+this.BK(c[u+2]):"transparent"}}return this.nZ};b.prototype.V_=function(){var a=new j(this.Ce.Cd(),this.an.get("width"),this.an.get("height"));a.nq(this.Ci.get("scaleMode"));
1554a.yw(this.Ci.get("horizontalAlign"));a.Aw(this.Ci.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.Qv(c,b.width,b.height);this.Jr=c.getImageData(0,0,b.width,b.height);b.width=b.height=0};b.prototype.BK=function(a){for(a=a.toString(16);a.length<2;)a="0"+a;return a};return b});
1555define("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.na=b;this.jb=c;this.G=this.jb.getItem();this.tk=this.jb.X4();this.vk=this.jb.Z4();this.Vm=this.Um=n;this.F=this.g.getParent();this.F.bind(e.uc,this.Kh,this);this.F.bind(e.nf,this.Xy,this);this.F.bind(e.qb,this.jp,this);this.F.bind(e.Ib,this.Yy,this);c.bind(e.ha("selected"),
1556this.k0,this);c.bind(e.ha("enabled"),this.jea,this);this.zE=new k(this.g,this.na,this.jb,this.jb.get("map",q));this.BE=new k(this.g,this.na,this.jb,this.jb.get("rollOverMap",this.jb.get("map",q)));this.CE=new k(this.g,this.na,this.jb,this.jb.get("selectedMap",this.jb.get("rollOverMap",this.jb.get("map",q))));this.WD=new k(this.g,this.na,this.jb,this.jb.get("image",q));this.XD=new k(this.g,this.na,this.jb,this.jb.get("rollOverImage",this.jb.get("image",q)));this.YD=new k(this.g,this.na,this.jb,this.jb.get("selectedImage",
1557this.jb.get("rollOverImage",this.jb.get("image",q))));this.ic=this.hc=n;this.yv=q;this.vm=[];this.kx=[];this.ye={};this.WZ=[];this.OM=z;this.$i=this.jb.get("useHandCursor")==p;this.J=q;this.qv=n;this.XF=this.OF=this.lE=0;a=this.jb.get("areas",[]);for(b=0;b<a.length;b++){var c=a[b],d=c.get("mapColor");
1557if(d){d=d.toLowerCase();if(this.ye[d]===n){this.ye[d]=[];this.WZ.push(d)}this.ye[d].push(c)}}if(this.G){this.g.TG(this.na.Pc(),this.G);this.g.ug(this.G,this.lE)}if(this.tk){this.g.TG(this.na.Pc(),this.tk);
1558this.g.ug(this.tk,this.OF)}if(this.vk){this.g.TG(this.na.Pc(),this.vk);this.g.ug(this.vk,this.XF)}this.Nz("none");this.KQ();this.b2(z);this.c2(this.jb.get("selected"))});l.prototype.clear=function(){this.F.unbind(e.uc,this.Kh,this);this.F.unbind(e.nf,this.Xy,this);this.F.unbind(e.qb,this.jp,this);this.F.unbind(e.Ib,this.Yy,this);this.F=q;this.zE&&this.zE.clear();this.zE=q;this.BE&&this.BE.clear();this.BE=q;this.CE&&this.CE.clear();this.CE=q;this.WD&&this.WD.clear();this.WD=q;this.XD&&this.XD.clear();
1559this.XD=q;this.YD&&this.YD.clear();this.YD=q;this.vm=[];this.Um=z;this.KQ();this.kx=[];this.ye={};this.L2();this.yA();this.na=this.g=q;this.jb.unbind(e.ha("selected"),this.k0,this);this.vk=this.tk=this.G=this.jb=q};l.prototype.match=function(a){return this.jb==a};l.prototype.$b=function(a){this.uu(z);if(this.J){this.J.Va(a);this.lE=this.J.bb("itemAlpha");this.OF=this.J.bb("rollOverItemAlpha");this.XF=this.J.bb("selectedItemAlpha");this.G&&this.g.ug(this.G,this.lE);this.tk&&this.g.ug(this.tk,this.OF);
1560this.vk&&this.g.ug(this.vk,this.XF);this.J.Dd()?this.J=q:this.ga()}};l.prototype.jp=function(a){this.hc=a.x-this.F.eh();this.ic=a.y-this.F.Sl();this.uu(p);this.kx=this.vm.slice()};l.prototype.Kh=function(a){this.hc=a.x-this.F.eh();this.ic=a.y-this.F.Sl();this.uu(p)};l.prototype.Yy=function(a){this.hc=a.x-this.F.eh();this.ic=a.y-this.F.Sl();this.uu(p);a=b.intersection(this.kx,this.vm);this.kx=[];this.zQ(a,"click")};l.prototype.Xy=function(){this.ic=this.hc=n;this.uu(p);this.kx=this.vm.slice()};l.prototype.k0=
1561function(){this.c2(this.jb.get("selected"))};l.prototype.jea=function(){this.uu(p);this.Od();this.ga()};l.prototype.uu=function(a){this.zZ=p;a?this.xv():this.tda()||this.Pha()};l.prototype.Pha=function(){this.L2();var a=this;this.yv=setTimeout(function(){a.yv=q;a.xv()},200)};l.prototype.tda=function(){return this.yv?p:z};l.prototype.L2=function(){if(this.yv){clearTimeout(this.yv);this.yv=q}};l.prototype.xv=function(){if(this.zZ){this.zZ=z;var a=this.vm,c=this.oba();this.vm=c;if(!this.F.Di){this.zQ(b.difference(c,
1562a),"rollOver");this.b2(c.length>0);this.zQ(b.difference(a,c),"rollOut");this.yA()}}};l.prototype.yA=function(){for(var a="",b=0;b<this.vm.length&&!a;b++){var c=this.vm[b];c.get("toolTip")&&(a=c.get("toolTip"))}if(this.pa!=a){this.pa&&this.g.Ama(this.pa);(this.pa=a)&&this.g.Hma(this.pa)}};l.prototype.KQ=function(){var a=this.Um&&(this.$i||b(this.vm).any(function(a){return a.get("useHandCursor")==p}));if(this.OM!=a)(this.OM=a)?this.g.OH(h.Ud):this.g.qw(h.Ud)};l.prototype.oba=function(){if(this.jb.get("enabled")===
1563z)return[];var a=[],b=this.Vm?this.CE:this.Um?this.BE:this.zE;if(b)if(b=b.N4(this.hc,this.ic)){this.ye.any&&(a=a.concat(this.ye.any));b=="transparent"&&this.ye.transparent&&(a=a.concat(this.ye.transparent));if(b!="transparent"){a=this.ye[b]?a.concat(this.ye[b]):a.concat(this.ye[j.bna(b,this.WZ,5)]||[]);this.ye.image&&(a=a.concat(this.ye.image))}}if(b=this.Vm?this.YD:this.Um?this.XD:this.WD)if(b=b.N4(this.hc,this.ic)){this.ye.any&&(a=a.concat(this.ye.any));b=="transparent"&&this.ye.transparent&&(a=
1564a.concat(this.ye.transparent));b!="transparent"&&this.ye.image&&(a=a.concat(this.ye.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.zQ=function(a,b){if(a)for(var c=0;c<a.length;c++)a[c].trigger(new d(b))};l.prototype.b2=function(a){if(this.Um!=a){this.Um=a;this.trigger(new d(l.FI));this.Od();this.KQ();this.ga()}};l.prototype.c2=function(a){if(this.Vm!=a){this.Vm=a;this.Od();this.ga()}};l.prototype.Od=function(){(this.Um||this.jb.get("rollOverDisplay")!=
1565p)&&this.jb.get("enabled")!==z?this.Vm?this.Nz("selected"):this.Um?this.Nz("roll over"):this.Nz("visible"):this.Nz("none")};l.prototype.Nz=function(a){if(this.qv!=a){this.qv=a;var c,d;if(b(["selected"]).contains(this.qv)&&this.vk){d=1;a=c=0}else if(b(["selected","roll over"]).contains(this.qv)&&this.tk){c=1;a=d=0}else if(b(["selected","roll over","visible"]).contains(this.qv)){a=1;d=c=0}else a=d=c=0;var e=this.lE,g=this.OF,h=this.XF,l=this.qv=="none"?"quad_out":"quad_in",k=Math.max(200*Math.abs(a-
1566e),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.ga=function(){this.trigger(new d(l.sa))};l.sa="request frame";l.FI="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.tV,a,c);this.$ca=g;this.ada=j;this.afa=k;this.bfa=h;this.Mb=m;this.AA=[]});c.prototype.at=P("Mb");return c});
1567define("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.qb,this.jp,this,p);this.F.bind(b.uc,this.Kh,this,p);this.F.bind(b.nf,this.Xy,this,p);this.na=c;this.gc=this.na.get("width");this.fc=this.na.get("height");this.Efa=Math.sqrt(this.gc*this.gc+this.fc*this.fc)*this.na.get("fieldOfViewOverlayRadiusScale",1);this.Rb=this.na.Pc();this.mb=d;this.Pu=this.mb.get("x",0);this.Qu=this.mb.get("y",0);this.hF=
1568this.mb.get("angle",0);this.G=this.faa();this.cl=z;this.fa=0;this.ma=Math.PI*0.5;this.Kb=z;this.ic=this.hc=n;this.g.TG(this.na.Pc(),this.G)});j.prototype.M6=function(a,b){this.fa=a+this.hF-90;this.ma=b;this.ga()};j.prototype.clear=function(){this.F.unbind(b.qb,this.jp,this);this.F.unbind(b.uc,this.Kh,this);this.F.unbind(b.nf,this.Xy,this);this.F=q;this.g.Nma(this.na.Pc(),this.G);this.G=this.mb=this.Rb=this.na=this.g=q};j.prototype.$b=function(){this.g.Hna(this.G,this.fa,this.ma)};j.prototype.faa=
1569function(){return new g(this.Pu,this.Qu,this.na.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.na.get("fieldOfViewOverlayInsideOpacity",0),this.na.get("fieldOfViewOverlayOutsideColor","#000000"),this.na.get("fieldOfViewOverlayOutsideOpacity",0),this.na.get("fieldOfViewOverlayRadiusScale",1))};j.prototype.ga=function(){this.trigger(new c(j.sa))};j.prototype.LQ=function(){var a=z;if(this.hc!=n&&this.ic!=n){var b=this.g.za()*0.5,e=this.g.ab()*0.5,f=this.g.oH(this.Rb)*Math.PI/180,g=this.g.jB(this.Rb),
1570r=this.g.iB(this.Rb),o=this.g.kB(this.Rb),s=this.g.lB(this.Rb),a=new d(this.hc,this.ic);a.translate(-b,-e);a.rotate(-f);a.scale(1/g,1/r);a.translate(o,s);a.scale(this.gc,this.fc);a.translate(-this.Pu,-this.Qu);a.rotate(-this.fa*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.Efa&&Math.abs(b)<this.ma*0.5}if(this.cl!=a){this.cl=a;this.trigger(new c(j.hJ,{inFOV:this.cl}))}};j.prototype.Lla=P("cl");j.prototype.jp=function(a){this.hc=a.x;this.ic=
1571a.y;this.Kb=p;this.LQ()};
1571j.prototype.Kh=function(a){if(!this.Kb){this.hc=a.x;this.ic=a.y;this.LQ()}};j.prototype.Xy=function(){this.ic=this.hc=n;this.Kb=z;this.LQ()};j.sa="request frame";j.hJ="mouse in fov change";return j});
1572define("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.Fy=[];this.Vj=[];this.Ch=[];this.Pi=this.mb=q});h.prototype.clear=function(){for(var a=0;a<this.Vj.length;a++)this.Vj[a].clear();for(a=0;a<this.Ch.length;a++)this.Ch[a].clear();this.g=this.Fy=this.mb=this.Ch=this.Vj=q};h.prototype.ZA=function(a){a.tB()&&this.Y8(a.na)};h.prototype.pS=function(a){a.tB()&&this.Ufa(a.na)};h.prototype.bo=function(a){if(this.mb!=a){this.mb&&
1573this.v1(this.mb.get("map"));this.mb=a;this.Pi=q;if(this.mb){a=this.mb.get("map");this.oN(a)&&this.kW(a)}}};h.prototype.nj=function(a,b,c,d){this.Pi={yaw:b,pitch:c,hfov:d};for(c=0;c<this.Ch.length;c++){var e=this.Ch[c];if(e.mb==a){e.M6(b,d);break}}};h.prototype.Y8=function(a){if(!this.oN(a)){this.Fy.push(a);this.U8(a);this.kW(a)}};h.prototype.Ufa=function(b){if(this.oN(b)){this.Fy=a(this.Fy).without(b);this.Qfa(b);this.v1(b)}};h.prototype.oN=function(b){return a(this.Fy).indexOf(b)>=0};h.prototype.$b=
1574function(a){for(var b=0;b<this.Vj.length;b++)this.Vj[b].$b(a);for(b=0;b<this.Ch.length;b++)this.Ch[b].$b(a)};h.prototype.U8=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.sa,this.ga,this,p);e.bind(g.FI,this.gE,this,p);this.Vj.push(e)}}this.gE()};h.prototype.kW=function(a){if(this.mb&&this.mb.get("map")==a&&this.mb.get("visible")!==z){a=new j(this.g,a,this.mb);a.bind(j.sa,this.ga,this,p);a.bind(j.hJ,this.TE,this,p);this.Ch.push(a);
1575this.Pi&&a.M6(this.Pi.yaw,this.Pi.hfov)}this.TE()};h.prototype.Qfa=function(a){for(var a=a.get("overlays",[]),b=0;b<a.length;b++)for(var c=a[b],d=0;d<this.Vj.length;d++){var e=this.Vj[d];if(e.match(c)){e.unbind(g.sa,this.ga,this);e.unbind(g.FI,this.gE,this);e.clear();this.Vj.splice(d,1);break}}this.gE()};h.prototype.v1=function(a){for(var b=0;b<this.Ch.length;b++){var c=this.Ch[b];if(c.na==a){c.unbind(j.sa,this.ga,this);c.unbind(j.hJ,this.TE,this);c.clear();this.Ch.splice(b,1);break}}this.TE()};h.prototype.gE=
1576function(){for(var a=z,b=0;b<this.Vj.length&&!a;b++)a=this.Vj[b].Um;this.g.getParent().set("cursor",a?k.Ud:k.oc)};h.prototype.ga=function(){this.trigger(new c(h.sa))};h.prototype.TE=function(){for(var a=z,b=0;b<this.Ch.length;b++)this.Ch[b].Lla()&&(a=p);this.trigger(new c(h.EI,{inFOV:a}))};h.sa="request frame";h.EI="in fov change";return h});
1577define("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.uc,this.Kh,this,p);this.F.bind(b.qb,this.jp,this,p);this.F.bind(b.Ib,this.Yy,this,p);this.na=q;this.Rb=this.fc=this.gc=n;this.mb=q;this.hF=this.Qu=this.Pu=n;this.cl=z;this.ic=this.hc=this.Hh=n;this.Kb=z;this.fa=0});j.prototype.clear=function(){this.F.unbind(b.uc,this.Kh,this);this.F.unbind(b.qb,this.jp,this);this.F.unbind(b.Ib,this.Yy,this);this.g=
1578this.mb=this.Rb=this.na=this.F=q};j.prototype.KB=function(a){this.cl=a;this.HQ()};j.prototype.ZA=function(a){a.tB()&&this.f2(a.na)};j.prototype.pS=function(a){a.tB()&&this.na==a.na&&this.f2(q)};j.prototype.f2=function(a){if(this.na!=a)if(this.na=a){this.gc=this.na.get("width");this.fc=this.na.get("height");this.Rb=this.na.Pc()}else{this.fc=this.gc=n;this.Rb=q}};j.prototype.bo=function(a){if(this.mb!=a)if(this.mb=a){this.Pu=this.mb.get("x",0);this.Qu=this.mb.get("y",0);this.hF=this.mb.get("angle",
15790)}else this.hF=this.Qu=this.Pu=n};j.prototype.nj=function(a,b){if(this.mb==a)this.fa=b};j.prototype.Ik=N("Hh");j.prototype.jp=function(a){this.hc=a.x;this.ic=a.y;this.Kb=p;this.HQ()};j.prototype.Kh=function(a){this.hc=a.x;this.ic=a.y;if(this.VL){a=this.TY();this.trigger(new c(j.ag,{yawDelta:a-this.pb}));this.pb=a}};j.prototype.Yy=function(a){this.hc=a.x;this.ic=a.y;this.Kb=z;this.HQ()};j.prototype.HQ=function(){var a=this.Kb&&this.mb&&this.na&&(this.Hh==d.yJ||this.cl);if(this.VL!=a)if(this.VL=a)this.pb=
1580this.TY()};j.prototype.TY=function(){var a=this.g.za()*0.5,b=this.g.ab()*0.5,c=new g(this.hc,this.ic);c.translate(-a,-b);if(this.Hh==d.yJ)return-Math.atan2(c.y,c.x)*180/Math.PI;var a=this.g.oH(this.Rb)*Math.PI/180,b=this.g.jB(this.Rb),f=this.g.iB(this.Rb),e=this.g.kB(this.Rb),j=this.g.lB(this.Rb);c.rotate(-a);c.scale(1/b,1/f);c.translate(e,j);c.scale(this.gc,this.fc);c.translate(-this.Pu,-this.Qu);return Math.atan2(c.y,c.x)*180/Math.PI};j.ag="request yaw change";return j});
1581define("dg",["hb","bI","dT","R"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.Z=p;this.Qj=z;this.g=a});d.prototype.clear=function(){this.Z=z;this.g=q};
1581d.prototype.Aa=function(){this.Qj||(this.Qj=p,e.Aa(this.af,this))};d.prototype.af=function(a){this.Z&&(this.Qj=z,this.trigger(new b(d.yj,{frameTime:a})),this.trigger(new b(d.zj,{frameTime:a})),this.g.render())};d.yj="frameStart";d.zj="positionSet";return d});
1582define("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.mF=q;this.qc=new f(this.g);this.Jd=new k(this.g);this.X=new j(this.F,this.g);this.ia=new g(this.g);this.lk=new h(this.g);this.jl=new m(this.g);this.F.bind(c.Ef,this.z0,this,p);this.qc.bind(f.yj,this.mp,this,p);this.qc.bind(f.zj,this.np,this,p);this.Jd.bind(k.kC,
1583this.Uy,this);this.Jd.bind(k.LI,this.P_,this);this.Jd.bind(k.iC,this.Q_,this);this.X.bind(j.sa,this.Tb,this,p);this.X.bind(j.JI,this.N_,this,p);this.X.bind(j.jC,this.R_,this,p);this.X.bind(j.KI,this.O_,this,p);this.X.bind(j.zq,this.hp,this,p);this.X.bind(j.Aq,this.ip,this,p);this.ia.bind(g.sa,this.Tb,this,p);this.ia.bind(g.Zf,this.dk,this);this.lk.bind(h.sa,this.Tb,this,p);this.lk.bind(h.EI,this.J_,this,p);this.jl.bind(m.ag,this.fz,this,p);this.dY=z});l.prototype.Ik=function(a){this.ia.Ik(a);this.X.Ik(a);
1584this.jl.Ik(a)};l.prototype.clear=function(){this.dY=p;this.Jd.clear();this.qc.clear();this.ia.clear();this.X.clear();this.lk.clear();this.jl.clear();this.F.unbind(c.Ef,this.z0,this);this.Jd.unbind(k.kC,this.Uy,this);this.Jd.unbind(k.LI,this.P_,this);this.Jd.unbind(k.iC,this.Q_,this);this.qc.unbind(f.yj,this.mp,this);this.qc.unbind(f.zj,this.np,this);this.X.unbind(j.sa,this.Tb,this);this.X.unbind(j.JI,this.N_,this);this.X.unbind(j.jC,this.R_,this);this.X.unbind(j.KI,this.O_,this);this.X.unbind(j.zq,
1585this.hp,this);this.X.unbind(j.Aq,this.ip,this);this.ia.unbind(g.y7,this.Tb,this);this.ia.unbind(g.Zf,this.dk,this);this.lk.unbind(h.sa,this.Tb,this);this.lk.unbind(h.EI,this.J_,this);this.jl.unbind(m.ag,this.fz,this);this.F=this.g=this.jl=this.lk=this.X=this.ia=this.qc=this.Jd=q};l.prototype.z0=function(){if(this.mF){this.G6(this.mF);this.mF=q}};l.prototype.G6=function(a){this.F.Wo?this.Jd.lma(a):this.mF=a};l.prototype.kt=function(){this.Jd.stop();this.ia.stop();this.X.hide()};l.prototype.wg=function(a){this.ia.wg(a)};
1586l.prototype.bo=function(a){if(!this.dY){this.ia.bo(a);this.lk.bo(a);this.jl.bo(a)}};l.prototype.nj=function(a,b,c,d){this.ia.nj(a,b,c,d);this.lk.nj(a,b,c,d);this.jl.nj(a,b,c,d)};l.prototype.Q_=function(a){var b=a.data.level,a=(a.data.percent+100*b.I4())/b.D4();this.trigger(new e(l.Ok,{percent:a}))};l.prototype.P_=function(a){a=a.data.level;this.ia.stop();this.X.ZA(a)};l.prototype.Uy=function(){this.trigger(new e(l.yq))};l.prototype.Tb=function(){this.qc.Aa()};l.prototype.mp=function(a){this.ia.Yn(a.data.frameTime)};
1587l.prototype.np=function(a){a=a.data.frameTime;this.X.$b(a);this.ia.$b(a);this.lk.$b(a)};l.prototype.N_=function(a){a=a.data.level;this.lk.ZA(a);this.jl.ZA(a)};l.prototype.R_=function(a){a=a.data.level;this.lk.pS(a);this.jl.pS(a)};l.prototype.O_=function(a){a=a.data.level;a.tB()&&this.ia.start(a)};l.prototype.J_=function(a){a=a.data.inFOV;this.ia.KB(a);this.jl.KB(a)};l.prototype.ip=function(a){this.trigger(new e(l.Aq,{map:a.data.map}))};l.prototype.hp=function(a){this.trigger(new e(l.zq,{map:a.data.map}))};
1588l.prototype.dk=function(a){this.trigger(new e(l.Zf,a.data))};l.prototype.fz=function(a){this.trigger(new e(l.ag,{yawDelta:a.data.yawDelta}))};l.Zf="movementChange";l.yq="loadingEnd";l.Ok="loadingProgress";l.Aq="mapShow";l.zq="mapHide";l.ag="requestYawChange";return l});
1589define("eG",["require","jquery.mod"],function(a){function b(a,b){this.G=a;this.P=b;this.zy=0;this.vl=this.ul=0.5;this.Bd=0;this.Ab=1;this.Dn=this.Zm=this.ba=this.R=0;this.Mb=1;this.hN=this.kN=p;this.v=c("<canvas/>");this.u=this.v.get(0);this.Ga=this.u.getContext("2d")}var c=a("jquery.mod");b.prototype.getItem=P("G");b.prototype.Rv=function(a){return this.G==a?this:q};b.prototype.dj=function(){this.P&&this.P.ER(this)};b.prototype.bd=function(a){this.Yga(a)};b.prototype.d2=function(a){this.zy!=a&&(this.zy=
1590a,this.P&&this.P.DH())};b.prototype.Yga=function(a){this.Ab!=a&&(this.Ab=a,this.CH())};b.prototype.bG=function(a){this.Bd!=a&&(this.Bd=a,this.CH())};b.prototype.Mz=function(a,b){if(this.R!=a||this.ba!=b)this.R=a,this.ba=b,this.zH()};b.prototype.Uh=function(a,b){if(this.Zm!=a||this.Dn!=b)this.Zm=a,this.Dn=b,this.CH()};b.prototype.CH=function(){this.P&&this.P.AH()};b.prototype.Vb=function(){this.kN=p};b.prototype.ea=function(){this.kN&&(this.kN=z,this.Ke())};b.prototype.Ke=D();b.prototype.zH=function(){this.hN=
1591p;this.CH()};b.prototype.eI=function(){if(this.hN){this.hN=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.Ga.clearRect(0,0,this.u.width,this.u.height);this.yf()}};b.prototype.yf=D();
1591b.prototype.uka=function(a){if(0<this.Ab&&1<=this.R&&1<=this.ba){a.save();var b=Math.round(this.Zm),c=Math.round(this.Dn),j=Math.round(this.R*this.ul),k=Math.round(this.ba*this.vl);a.scale(this.Mb,this.Mb);a.translate(b+j,c+k);a.rotate(this.Bd*Math.PI/
1592180);a.globalAlpha=this.Ab;a.drawImage(this.u,-j,-k);a.restore()}};return b});
1593define("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.vb=[];this.SG=q;this.rg=p});a.prototype.c4=function(a){(a=this.bL(a))||i("Container renderer can't create child renderer for an item");this.vb.push(a);this.DH();this.AH()};a.prototype.bL=D();a.prototype.m6=function(a){if(a=this.Nl(a))this.vb=b.without(this.vb,a),this.DH(),this.AH()};a.prototype.Rv=function(a){for(var b=e.prototype.Rv.call(this,a),c=0;c<this.vb.length&&
1594!b;c++)b=this.vb[c].Rv(a);return b};a.prototype.Nl=function(a){for(var b=q,c=0;c<this.vb.length&&!b;c++)this.vb[c].getItem()==a&&(b=this.vb[c]);return b};a.prototype.ER=function(a){this.vb=b.without(this.vb,a);this.vb.push(a);this.DH();this.AH()};a.prototype.DH=function(){this.rg=p;this.Vb()};a.prototype.AH=function(){this.zH()};a.prototype.ea=function(){e.prototype.ea.call(this);for(var a=0;a<this.vb.length;a++)this.vb[a].ea()};a.prototype.Ke=function(){if(this.rg){this.rg=z;for(var a=[],b=0;b<this.vb.length;b++){var c=
1595this.vb[b];a.push({l:c.zy,z:b,r:c})}a.sort(function(a,b){return a.l==b.l?a.z-b.z:a.l-b.l});this.SG=[];for(b=0;b<a.length;b++)this.SG.push(a[b].r);this.zH()}e.prototype.Ke.call(this)};a.prototype.eI=function(){for(var a=0;a<this.vb.length;a++)this.vb[a].eI();e.prototype.eI.call(this)};a.prototype.yf=function(){for(var a=0;a<this.SG.length;a++)this.SG[a].uka(this.Ga);e.prototype.yf.call(this)};return a});
1596define("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.UH=D();return a});
1597define("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.lF=this.P.getItem().Gc();this.kF=this.P.getItem().sd();this.Mb=2;this.cu=0;this.ma=0.5*Math.PI;this.iN=this.jN=p;this.Og=1;this.fE=p;this.d2(1)});a.prototype.UH=function(a,b){this.Og!=b&&(this.Og=b,this.fE=p,this.Vb())};a.prototype.wna=function(a,b){this.ma!=b&&(this.ma=b,this.jN=p,this.Vb());this.cu!=a&&(this.cu=a,this.iN=p,this.Vb())};a.prototype.Ke=function(){this.jN&&(this.jN=z,
1598this.zH());if(this.fE||this.iN){this.iN=this.fE=z;this.Mb=Math.max(1,Math.ceil(Math.sqrt(this.lF*this.lF+this.kF*this.kF))/4096);var a=this.Og/this.Mb,b=this.G.fh()*a,g=this.G.gh()*a,j=a*this.kF,a=Math.max(b,a*this.lF-b),j=Math.max(g,j-g),j=2*Math.ceil(Math.sqrt(a*a+j*j)),k=this.cu*Math.PI/180,a=Math.cos(k),k=Math.sin(k),b=b-this.ul*j-(0.5-this.ul)*j*a+(0.5-this.vl)*j*k,g=g-this.vl*j-(0.5-this.vl)*j*a-(0.5-this.ul)*j*k;this.fE=z;this.Uh(b,g);this.Mz(j,j);this.bG(this.cu)}c.prototype.Ke.call(this)};
1599a.prototype.yf=function(){var a=this.G.ada,b=this.G.bfa;if(0<b||0<a){var g=this.Og*this.lF,j=this.Og*this.kF,g=Math.ceil(Math.sqrt(g*g+j*j))*this.G.at()/this.Mb,j=Math.round(0.5*this.R),k=Math.round(0.5*this.ba),h=this.ma*Math.PI/180,m=0.5*-h,h=m+h;0<b&&(this.Ga.fillStyle=this.G.afa,this.Ga.globalAlpha=b,this.Ga.rect(0,0,this.R,this.ba),this.Ga.fill(),this.Ga.globalCompositeOperation="destination-out",this.Ga.fillStyle="#FFFFFF",this.Ga.globalAlpha=1,this.Ga.beginPath(),this.Ga.moveTo(j,k),this.Ga.arc(j,
1600k,g,m,h,z),this.Ga.lineTo(j,k),this.Ga.closePath(),this.Ga.fill(),this.Ga.globalCompositeOperation="source-over");0<a&&(this.Ga.fillStyle=this.G.$ca,this.Ga.globalAlpha=a,this.Ga.beginPath(),this.Ga.moveTo(j,k),this.Ga.arc(j,k,g,m,h,z),this.Ga.lineTo(j,k),this.Ga.closePath(),this.Ga.fill())}c.prototype.yf.call(this)};return a});
1601define("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.d2(this.G.L1?0:2);this.gb=e.Cd(this.G.Pe());this.UF=new d(this.gb,this.gb.width,this.gb.height);this.UF.nq(this.G.Ec);this.UF.Aw(this.G.Zg);this.UF.yw(this.G.Kg);this.Dy=0;this.Og=1;this.NN=p});a.prototype.UH=function(a,b){if(this.Dy!=a||this.Og!=b)this.Dy=a,this.Og=b,this.NN=p,this.Vb()};a.prototype.Ke=function(){if(this.NN){this.NN=z;var a=this.G.fh(),
1602b=this.G.gh(),d=this.G.Gc(),e=this.G.sd(),m=this.G.Wr,f=this.G.Xr;if(this.G.L1)this.bG(0),this.Uh((a-m)*this.Og,(b-f)*this.Og),this.Mz(d*this.Og,e*this.Og);else{var l=Math.cos(-this.Dy*Math.PI/180),r=Math.sin(-this.Dy*Math.PI/180),a=a*this.Og-this.ul*d-(m-this.ul*d)*l+(f-this.vl*e)*r,b=b*this.Og-this.vl*e-(f-this.vl*e)*l-(m-this.ul*d)*r;this.bG(-this.Dy);this.Uh(a,b);this.Mz(d,e)}}c.prototype.Ke.call(this)};a.prototype.yf=function(){this.UF.Qv(this.Ga,this.u.width,this.u.height);c.prototype.yf.call(this)};
1603return a});
1604define("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.kk);this.Ca=this.G.Gc();this.Ka=this.G.sd();this.Ec=this.G.Ec;this.FD=this.G.iM;this.Ta=this.Ra=100;this.or=p;this.aa=this.$=0.5;this.pb=0;this.la=1;this.sz=p;this.Kc=1;this.gb=e.Cd(this.G.Pe())});a.prototype.bL=function(a){a.Xf()!=d.wV&&i("Invalid item type");switch(a.dfa){case g.tV:a=new j(a,this);break;
1605case g.uV:a=new k(a,this);break;default:a=q}a&&a.UH(this.pb,this.Kc*this.la);return a};a.prototype.fh=P("$");a.prototype.gh=P("aa");a.prototype.Sv=P("pb");a.prototype.Fk=P("la");a.prototype.za=function(){return Math.round(this.Ca*this.la*this.Kc)};a.prototype.ab=function(){return Math.round(this.Ka*this.la*this.Kc)};a.prototype.dm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.or=p;this.Vb()}};a.prototype.Pa=function(a,b,c,d){if(this.$!=a||this.aa!=b||this.pb!=c||this.la!=d){this.$=
1606a;this.aa=b;this.pb=c;this.la=d;this.sz=p;this.Vb()}};a.prototype.Ke=function(){if(this.or){this.or=z;switch(this.Ec){case c.NONE:this.Kc=1;break;case c.Bj:this.Kc=this.Ra/this.Ca;break;case c.bg:this.Kc=this.Ta/this.Ka;break;case c.Pk:this.Kc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;default:this.Kc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ra/this.Ca:this.Ta/this.Ka}this.sz=p}if(this.sz){this.sz=z;var a=this.za(),b=this.ab(),d=Math.cos(this.pb*Math.PI/180),e=Math.sin(this.pb*
1607Math.PI/180);this.Uh(this.Ra*0.5-this.ul*a+(this.ul-this.$)*d*a-(this.vl-this.aa)*e*b,this.Ta*0.5-this.vl*b+(this.vl-this.aa)*d*b+(this.ul-this.$)*e*a);this.bG(this.pb);this.Mz(a,b);for(a=0;a<this.vb.length;a++)this.vb[a].UH(this.pb,this.Kc*this.la)}h.prototype.Ke.call(this)};a.prototype.yf=function(){var a=Math.round(this.R),b=Math.round(this.ba);if(this.FD){this.Ga.save();this.Ga.translate(a,0);this.Ga.scale(-1,1);this.Ga.drawImage(this.gb,0,0,a,b);
1607this.Ga.restore()}else this.Ga.drawImage(this.gb,
16080,0,a,b);h.prototype.yf.call(this)};return a});
1609define("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.IK=p});a.prototype.kb=P("v");a.prototype.render=function(){this.ea();this.eI()};a.prototype.bL=function(a){a.Xf()!=c.vV&&i("Invalid item type");a=new d(a,this);a.dm(this.R,this.ba);a.Pa(0.5,0.5,0,1);return a};a.prototype.setSize=function(a,b){this.Mz(a,b);this.IK=p;this.Vb()};a.prototype.Ke=function(){if(this.IK){this.IK=z;for(var a=0;a<this.vb.length;a++)this.vb[a].dm(this.R,
1610this.ba)}e.prototype.Ke.call(this)};return a});
1611define("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.Nc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.Pw);this.Fo=[];this.Bs=[];this.pa="";this.uf=new j;this.La().append(this.uf.kb());this.bind(e.rb,this.ib,this,p);this.bind(e.Ef,this.fk,this,p);this.bind(e.zg,this.ck,this,p);k.bind(e.W,this.TQ,this,p);this.sl=this.rP=z});a.prototype.Un=
1612function(a){g.Un(a,d.Sk)};a.prototype.KT=function(a){return g.KT(a)};a.prototype.mi=function(a){g.mi(a,d.Sk)};a.prototype.QA=function(a){this.uf.c4(a)};a.prototype.removeItem=function(a){this.uf.m6(a)};a.prototype.TG=function(a,b){this.uf.Nl(a).c4(b)};a.prototype.Nma=function(a,b){var c=this.uf.Nl(a);c&&c.m6(b)};a.prototype.RA=function(a){this.uf.Rv(a).dj()};a.prototype.ug=function(a,b){this.uf.Rv(a).bd(b)};a.prototype.LB=function(a,b,c,d,e){this.uf.Nl(a).Pa(b,c,d,e)};a.prototype.Hna=function(a,b,
1613c){this.uf.Rv(a).wna(b,c)};a.prototype.kB=function(a){return this.uf.Nl(a).fh()};a.prototype.lB=function(a){return this.uf.Nl(a).gh()};a.prototype.oH=function(a){return this.uf.Nl(a).Sv()};a.prototype.M4=function(a){return this.uf.Nl(a).Fk()};a.prototype.jB=function(a){return this.uf.Nl(a).za()};a.prototype.iB=function(a){return this.uf.Nl(a).ab()};a.prototype.render=function(){this.sl&&this.uf.render()};a.prototype.OH=function(a){this.Fo.push(a);this.s3()};a.prototype.qw=function(a){a=b(this.Fo).lastIndexOf(a);
1614a>=0&&this.Fo.splice(a,1);this.s3()};a.prototype.s3=function(){var a;a=this.Fo.length>0?this.Fo[this.Fo.length-1]:h.oc;this.getParent().set("cursor",a)};a.prototype.iD=function(){if(this.Fo.length>0){this.getParent().set("cursor",h.oc);this.Fo=[]}};a.prototype.Hma=function(a){this.Bs.push(a);this.yA()};a.prototype.Ama=function(a){a=b(this.Bs).lastIndexOf(a);a>=0&&this.Bs.splice(a,1);this.yA()};a.prototype.yA=function(){var a=this.Bs.length==0?"":this.Bs[this.Bs.length-1]||"";if(this.pa!=a){this.pa=
1615a;this.getParent().set("toolTip",this.pa)}};a.prototype.A$=function(){this.pa&&this.getParent().set("toolTip","");this.pa="";this.Bs=[]};a.prototype.Sh=function(){this.A$();this.iD();m.prototype.Sh.call(this)};a.prototype.ib=function(){this.uf.setSize(this.za(),this.ab());this.render()};a.prototype.fk=function(){this.rP=p;this.TQ()};a.prototype.ck=function(){this.rP=z;this.TQ()};a.prototype.TQ=function(){var a=this.rP&&!k.isPresenting();if(this.sl!=a)(this.sl=a)&&this.render()};return a});
1616define("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.NE=this.MN=this.pg=z;this.Pi=this.mb=this.p=this.g=q;this.yo={};for(var a in s.rm)this.yo[a]=this.T$(a);this.Vc=b.Xn(this.Ke,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]]",
1617buttonZoomOut:"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]]"}).nc([l.sC]).vg({stop:function(){this.nb(m.ud)},rotateClockwise:function(){this.nb(m.sJ)},rotateCounterClockwise:function(){this.nb(m.tJ)},zoomIn:function(){this.nb(m.pm)},zoomOut:function(){this.nb(m.qm)}});s.prototype.set=function(a,
1618b){if(this.get(a)!=b){switch(a){case "map":this.MN=p;this.Vc();break;case "viewerArea":this.pg=p;this.Vc();break;case "panoramaMapLocation":this.AO=p;this.Vc();break;case "movementMode":this.NE=p;this.Vc()}j.prototype.set.call(this,a,b)}};s.prototype.T$=function(a){var b=s.rm[a],a=new g(this,a,r.vc);a.bind(l.qb,function(){this.nb(b.movement)},this);b.stopOnRelease&&a.bind(l.Ib,function(){this.nb(m.ud)},this);return a};s.prototype.Nja=function(a){this.Pi=q;this.set("map",a.get("map"));this.set("panoramaMapLocation",
1619a)};s.prototype.Qma=function(a){this.get("panoramaMapLocation")==a&&this.set("panoramaMapLocation",q)};s.prototype.nj=function(a,b,c,d){this.p?this.p.nj(a,b,c,d):this.Pi={yaw:b,pitch:c,hfov:d}};s.prototype.Ke=function(){if(this.pg){this.pg=z;this.vr();this.get("viewerArea")&&this.qr();this.eG(this.get("viewerArea"))}if(this.p){if(this.MN){this.MN=z;var a=this.get("map");if(a){this.IF();this.p.G6(a)}else this.p.kt();
1619this.AO=this.NE=p}if(this.AO){this.AO=z;a=this.get("panoramaMapLocation");this.p.bo(a);
1620a&&this.Pi&&this.p.nj(a,this.Pi.yaw,this.Pi.pitch,this.Pi.hfov)}if(this.NE){this.NE=z;this.p.Ik(this.get("movementMode"))}}};s.prototype.Yz=function(){this.set("map",q)};s.prototype.qr=function(){var a=this.get("viewerArea");this.g=new f;this.g.Q({left:0,top:0,bottom:0,right:0});a.qa(this.g);this.p=new h(a,this.g);this.p.bind(h.Zf,this.dk,this);this.p.bind(h.Ok,this.jn,this);this.p.bind(h.yq,this.Iu,this);this.p.bind(h.Aq,this.ip,this);this.p.bind(h.zq,this.hp,this);this.p.bind(h.ag,this.fz,this,
1621p)};s.prototype.vr=function(){if(this.g){this.p.unbind(h.Zf,this.dk,this);this.p.unbind(h.Ok,this.jn,this);this.p.unbind(h.yq,this.Iu,this);this.p.unbind(h.Aq,this.ip,this);this.p.unbind(h.zq,this.hp,this);this.p.unbind(h.ag,this.fz,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q}};s.prototype.ip=function(a){this.FE(a.data.map)};s.prototype.hp=function(a){this.EE(a.data.map)};s.prototype.dk=function(a){for(var b in s.rm)this.yo[b].set("state",a.data[s.rm[b].pressedOn]?o.ta:o.oc);
1622this.trigger(new e(l.sC,a.data))};s.prototype.fz=function(a){this.trigger(new e(s.ag,{yawDelta:a.data.yawDelta}))};s.prototype.jn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,progressVisible:p})};s.prototype.Iu=function(){this.g.getParent().set("progressVisible",z)};s.prototype.nb=function(a){this.p&&this.p.wg(a)};s.rm={buttonRotateClockwise:{movement:m.sJ,pressedOn:"rotatingClockwise",stopOnRelease:p},buttonRotateCounterClockwise:{movement:m.tJ,pressedOn:"rotatingCounterClockwise",
1623stopOnRelease:p},buttonZoomIn:{movement:m.pm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:m.qm,pressedOn:"zoomingOut",stopOnRelease:p}};s.ag="requestYawChange";return s});
1624define("cG",["hb","hu","jd","bI","di"],function(a,b,c,e,d){a=a.extend(b,function(){b.call(this);this.Of=z});d.A("PlayListItem",a).B("Object").K({media:"Media",label:"string"}).nc([c.mo,c.tj,c.ud,c.ua]);a.prototype.start=function(){this.trigger(new e(c.mo))};a.prototype.stop=function(){this.WB()};a.prototype.WB=function(){this.trigger(new e(c.ud))};a.prototype.Kv=function(){this.Of=p;this.trigger(new e(c.tj))};a.prototype.end=function(){this.Of=z;this.trigger(new e(c.ua))};return a});
1625define("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.Te,this.ip,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.ip=function(){this.get("player").unbind(c.Te,
1626this.ip,this);this.get("player").bind(c.yg,this.hp,this);this.Kv()};a.prototype.hp=function(){this.get("player").unbind(c.yg,this.hp,this);this.end()};return a});
1627define("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"}).nc([e.Rc,e.pc]).kh([e.U]);return b});
1628define("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]"}).nc([e.Rc,e.pc]).kh([e.U]);return b});
1629define("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});
1630define("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={xq:"drag_acceleration",im:"drag_rotation"};a.zU=a.xq;a.rV=a.im;return a});define("jm",["hb","bI"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.MH=this.iI=this.fq=this.pq=0})});define("dk",["hb","bI"],function(a,b){return a.extend(b,function(a){b.call(this,a);this.oS=this.Hla=0})});
1631define("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.YZ=this.ZZ=1800;this.eu=7;this.Mda=this.oia=0;this.jE=z;this.Cp=n;this.Tr=h.zU;this.b3=h.rV;this.eu=0;this.SF=n;this.CA=z;this.Qt=q;this.Ir=3;this.ma=90;this.UL=this.As=
1632this.Mb=1;this.jc=this.Ba=q;this.rz=z});l.prototype.oT=function(a){this.ZZ=a.get("manualRotationSpeed");this.YZ=a.get("manualRotationSpeed");this.Ir=a.get("manualZoomSpeed");this.UL=a.get("draggingFactor")};l.prototype.mq=function(a){this.Tr=a;this.UQ()};l.prototype.qt=function(a){this.b3=a;this.UQ()};l.prototype.JB=function(a){this.ma=a;this.As=this.ma/90};l.prototype.EB=function(a){this.Ll();if(a){this.Ba=a;if(this.jc=a.bla&&a.jc){this.jc.bind(g.qb,this.U0,this,p);this.jc.bind(g.Ib,this.V0,this,
1633p)}this.Ba.bind(g.qb,this.Kb,this,p);this.Ba.bind(g.uc,this.Gh,this,p);this.Ba.bind(g.Ib,this.Mf,this,p);this.Ba.bind(g.Mq,this.Ur,this,p);this.Ba.fb().get("settings").get(TDV.PlayerSettings.Y7)!==z&&this.Ba.bind(g.zt,this.Fr,this,p);this.Ba.bind(g.cJ,this.tY,this,p);this.Ba.bind(g.bJ,this.rY,this,p);this.UQ()}};l.prototype.Ll=function(){if(this.Ba!=q){if(this.jc){this.jc.unbind(g.qb,this.U0,this);this.jc.unbind(g.Ib,this.V0,this);this.jc=q}this.Ba.unbind(g.qb,this.Kb,this);this.Ba.unbind(g.uc,this.Gh,
1634this);this.Ba.unbind(g.Ib,this.Mf,this);this.Ba.unbind(g.Mq,this.Ur,this);this.Ba.unbind(g.zt,this.Fr,this);this.Ba.unbind(g.cJ,this.tY,this);this.Ba.unbind(g.bJ,this.rY,this);this.Ba=q;this.CD()}};l.prototype.UQ=function(){if(this.Ba)if(this.Ba.Di){this.SF=this.b3;this.eu=this.oia}else{this.SF=this.Tr;this.eu=this.Mda}};l.prototype.U0=function(){this.rz=p};l.prototype.V0=function(){this.rz=z};
1634l.prototype.Kb=function(a){if(!this.rz){this.Mha(a);this.fQ()}};l.prototype.Gh=function(a){this.rz||this.IG(a)};
1635l.prototype.Mf=function(){if(!this.rz){this.fM();this.CD()}};l.prototype.Ur=function(a){this.aR(a);this.fQ(500)};l.prototype.tY=function(){this.fQ()};l.prototype.Fr=function(a){this.bR(a)};l.prototype.rY=function(){this.CD()};l.prototype.Mha=function(a){this.jE=p;this.Cp=a;this.IG(a)};l.prototype.IG=function(a){if(this.jE)switch(this.SF){case h.xq:this.mja(a);break;case h.im:this.lja(a)}};l.prototype.mja=function(a){this.E3(+b(c(e(Math.abs(a.x-this.Cp.x)<3?0:a.x-this.Cp.x,this.Ba.za())),this.ZZ*this.As),
1636-b(c(e(Math.abs(a.y-this.Cp.y)<3?0:a.y-this.Cp.y,this.Ba.ab())),this.YZ*this.As))};l.prototype.lja=function(a){this.kja(-b(e(a.x-this.Cp.x,this.Ba.za()),this.ma*this.UL),+b(e(a.y-this.Cp.y,this.Ba.za()),this.ma*this.UL));this.Cp=a};l.prototype.fM=function(){if(this.jE){this.jE=z;switch(this.SF){case h.xq:this.E3(0,0)}}};l.prototype.E3=function(a,b){var c=new m(l.Nw);c.pq=a;c.fq=b;this.trigger(c)};l.prototype.kja=function(a,b){var c=new m(l.Nw);c.iI=a;c.MH=b;this.trigger(c)};l.prototype.bR=function(a){if(this.Mb!=
1637a.scale){this.fM();var b=this.Mb;this.Mb=a.scale;a=new f(l.Aj);a.oS=this.ma*b/this.Mb-this.ma;this.trigger(a)}};l.prototype.aR=function(a){if(a.Jn!=0){this.fM();var b=new f(l.Aj);b.oS=this.ma*-a.Jn*this.Ir/100;this.trigger(b)}};l.prototype.fQ=function(a){var b=this.Qt!=q;this.H2();if(a&&(b||!this.CA)){var c=this;this.Qt=setTimeout(function(){c.Qt=q;c.CD()},a)}if(!this.CA){this.CA=p;this.trigger(new j(l.Td))}};l.prototype.CD=function(){this.H2();if(this.CA){this.CA=z;this.trigger(new j(l.Sd))}};l.prototype.H2=
1638function(){if(this.Qt!=q){clearTimeout(this.Qt);this.Qt=q}};l.Nw="rotation change";l.Aj="zoom change";l.Td="user interaction start";l.Sd="user interaction end";return l});
1639define("co",["require","r"],function(a){function b(){this.Rha=e.Xa()?0.066:0.1;this.Pda=0.5;this.Eha=e.Xa()?0.066:0.1;this.Fja=0.1;this.lG=this.nG=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.pL=this.qL=this.Jx=this.rr=this.Lx=this.uL=this.tL=this.yL=this.pu=this.Ir=this.NF=this.PF=this.nk=this.pz=this.Gl=this.NA=0};b.prototype.P6=function(a,b,c,e,h,m,f,l,r){return this.NA!=a||(this.pz=b)||this.PF!=c||0!=e||0!=h||
1640this.lG!=f||this.f_!=l||this.nG!=r?(this.NA=a,this.pz=b,this.PF=c,this.Gl+=e,this.nk+=h,this.NF+=m,this.lG=f,this.f_=l,this.nG=r,p):z};b.prototype.soa=function(a,b){return this.Ir!=a||0!=b?(this.Ir=a,this.pu+=b,p):z};b.prototype.$c=function(){return 0!=this.yL||0!=this.tL||0!=this.uL||0!=this.Lx||0!=this.NA||0!=this.pz||0!=this.PF||0!=this.Ir||0!=this.Gl||0!=this.nk||0!=this.pu};b.prototype.Va=function(a){var a=1E3/a,b=this.yL/a,e=this.NA/a+this.Gl;this.Gl=0;var k=this.tL/a,h=this.pz/a+this.nk;this.nk=
16410;var m=this.uL/a,f=this.PF/a+this.NF;this.NF=0;var l=this.Ir+this.pu*a;this.pu=0;var r=0==e&&0==h&&0==f,o=0==b&&0==k&&0==m;this.lG&&o&&!r||this.nG&&r&&!o||this.f_&&!r&&!o?(r=r?this.Rha:o?this.Eha:this.Pda,this.rr=c(b,e,r),this.Jx=c(k,h,r),this.qL=c(m,f,r)):(this.rr=e,this.Jx=h,this.qL=f);b=0==this.Lx;e=0==l;this.Lx=this.lG&&b&&!e||this.nG&&e&&!b?c(this.Lx,l,this.Fja):l;this.yL=this.rr*a;this.tL=this.Jx*a;this.uL=this.qL*a;this.pL=this.Lx/a};return b});
1642define("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.Nc("Renderer");this.u=a("<canvas></canvas>");this.u.css({position:"absolute",left:0,top:0});this.La().append(this.u);this.To=q;this.fa=this.tu=this.qu=this.su=0;this.Of=z;this.tfa=150;this.hy=0;this.Dh=q;this.bind(j.rb,this.ib,this,p);this.Ea=new e;this.Ea.Yqa(720);this.Ea.GB(0);this.Ea.mq("drag_rotation");this.Ea.JB(360);this.Ea.bind(e.Nw,this.Oea,this);this.hb=new d});b.prototype.Cna=
1643function(a,b,c){this.To=a;this.su=b;this.qu=c;this.tu=Math.floor(this.To.length*this.fa/360);this.vP();this.Ea.EB(this);this.ga()};b.prototype.cka=function(){this.To=q;this.xl();this.vP();this.Ea.Ll()};b.prototype.play=function(){this.Of=p;this.ga()};b.prototype.Oea=function(a){this.xl();this.hb.P6(a.pq,a.fq,0,a.iI,a.MH,0,z,p);this.ga()};b.prototype.cO=function(){this.play()};
1643b.prototype.af=function(a){if(this.To)if(this.hb.$c()){this.Of=z;this.hb.Va(a);this.rW(this.hb.rr);this.ga()}else if(this.Of){this.rW(this.tfa*
1644a/1E3);this.ga()}else this.wu()||this.Uz()};b.prototype.V6=function(a){for(this.fa=a;this.fa<0;)this.fa=this.fa+360;for(;this.fa>=360;)this.fa=this.fa-360;this.$ia()};b.prototype.$ia=function(){if(this.To){var a=Math.floor(this.To.length*this.fa/360);if(this.tu!=a){this.tu=a;this.s1()}}};b.prototype.rW=function(a){this.V6(this.fa+a)};b.prototype.ib=function(){this.vP()};b.prototype.vP=function(){var a=this.u.get(0);if(this.su==0||this.qu==0){a.width=0;a.height=0}else{var b=this.rd(),c=this.qd();if(c*
1645this.su>b*this.qu){a.width=b;a.height=this.qu*b/this.su}else{a.height=c;a.width=this.su*c/this.qu}this.u.css({left:Math.round((b-a.width)*0.5)+"px",top:Math.round((c-a.height)*0.5)+"px"});this.s1()}};b.prototype.s1=function(){if(this.To){var a=this.u.get(0),b=this.To[this.tu];a.getContext("2d").drawImage(b,0,0,this.su,this.qu,0,0,a.width,a.height)}};b.prototype.wu=function(){return this.Dh?p:z};b.prototype.Uz=function(){this.xl();if(this.hy>0){var a=this;this.Dh=setTimeout(function(){a.Dh=q;a.cO()},
1646this.hy)}};b.prototype.xl=function(){if(this.Dh){clearTimeout(this.Dh);this.Dh=q}};b.prototype.ga=function(){g.Aa(this.af,this)};return b});
1647define("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.Dc=this.Eh=this.pe=this.g=q;this.bind(e.Ef,this.fk,this);this.bind(e.zg,this.ck,this)});j.A("Object3D",a).B("UIComponent").K({frames:"array[ImageResource]",yaw:"number"}).nc([e.O]);a.prototype.Ia=
1648function(){Container.prototype.Ia.call(this);if(!this.g){this.g=new Renderer;this.g.Q({left:0,top:0,right:0,bottom:0});this.qa(this.g)}if(!this.pe){this.pe=new ProgressBar;this.pe.Q({left:0,bottom:0,right:0,height:20,visible:z});this.qa(this.pe)}};a.prototype.fk=function(){this.Ay()};a.prototype.ck=function(){this.Wi()};a.prototype.Ay=function(){this.pe.set("percent",0);this.pe.set("visible",p);this.g.V6(this.get("yaw"));var a=this.get("frames",[]);this.Eh=[];this.Dc=[];for(var b=0;b<a.length;b++){this.Eh.push(Level.Dk(a[b]));
1649var c=new ImageLoader(d.Sk);c.bind(e.O,this.Vy,this);c.bind(e.kd,this.Wy,this);this.Dc.push(c)}for(b=0;b<a.length;b++)this.Dc[b].load(this.Eh[b].get("url"))};a.prototype.Vy=function(){var a=b(this.Dc).filter(function(a){return a.Tn()});this.pe.set("percent",100*a.length/this.Dc.length);a.length==this.Dc.length&&this.bf()};a.prototype.Wy=D();a.prototype.bf=function(){this.pe.set("visible",z);var a=this.Eh[0].get("width",this.Dc[0].Gc()),c=this.Eh[0].get("height",this.Dc[0].sd());this.g.Cna(b(this.Dc).map(function(a){return a.Cd()}),
1650a,c);this.trigger(new g(e.O))};a.prototype.Wi=function(){if(this.Dc){this.pe.set("visible",z);this.g.cka();this.Dc=b(this.Dc).each(function(a){a.unbind(e.O,this.Vy,this);a.unbind(e.kd,this.Wy,this);a.cancel()});this.Eh=this.Dc=q}};return a});
1651define("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]",
1652initialPosition:"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});
1653define("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});
1654define("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});
1655define("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.lo))};a.prototype.pause=function(){this.trigger(new e(g.wC))};d.A("RotationalCameraSequence",a).B("Object").K({movements:"array[RotationalCameraMovement]",mandatory:"bool",movementIndex:"number",repeat:"number",restartMovementOnUserInteraction:"bool",restartMovementDelay:"number"}
1655).vg({pause:a.prototype.pause,
1656play:a.prototype.play}).nc([g.ua,g.Nq]);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});
1657define("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});
1658define("cd",["require","es","ex","a"],function(a){function b(a){this.g=a;this.Xk=[];this.Sc=[];this.du=[];this.Fa=this.fa=0}var c=a("es"),e=a("ex"),d=a("a");b.prototype.clear=function(){this.stop();this.du=this.Sc=this.Xk=this.g=q};b.prototype.end=function(){for(var a=0;a<this.Xk.length;a++)this.Xk[a].stop();this.Xk=[];this.Sc=[];this.du=[]};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.Tv();d&&(this.Xk.push(d),c.get("autoplay",z)&&this.Sc.push(d),
1659c instanceof e&&this.du.push(c))}this.t3();for(b=this.Sc.length-1;0<=b;b--)this.Sc[b].play()};b.prototype.play=function(){for(var a=0;a<this.Sc.length;a++)this.Sc[a].get("state")!=c.T&&this.Sc[a].play()};b.prototype.pause=function(){for(var a=0;a<this.Sc.length;a++)this.Sc[a].get("state")==c.T&&this.Sc[a].pause()};b.prototype.stop=function(){for(var a=0;a<this.Sc.length;a++)this.Sc[a].stop()};b.prototype.$b=function(){this.fa=this.g.mc();this.Fa=this.g.ac();this.t3()};b.prototype.t3=function(){if(0<
1660this.du.length)for(var a=Math.PI/180,b=this.fa*a,c=this.Fa*a,e=new d(Math.sin(b)*Math.cos(c),Math.sin(c),Math.cos(b)*Math.cos(c)),m=0;m<this.du.length;m++){var f=this.du[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.$A(l))/o));f.Tv().li(o)}};return b});
1661define("fn","require,cI,jd,gP,dp,a,in".split(","),function(a){function b(a){this.g=a;this.Y=z;this.Th=b.Sq;this.kM=this.sZ=z;this.lh(q);this.g.bind(e.rb,this.ib,this,p);this.ib()}var c=a("cI"),e=a("jd"),d=a("gP"),g=a("dp"),j=a("a"),k=a("in");b.prototype.q5=function(){return this.Th!==b.Sq};b.prototype.p5=function(){return this.Th&b.Et?p:z};b.prototype.r5=function(){return this.Th&b.Ft?p:z};b.prototype.s5=function(){return this.Th&b.Vq?p:z};b.prototype.o5=function(){return this.Th&b.Rq?p:z};b.prototype.TH=
1662N("sZ");b.prototype.mc=function(){this.$h();return this.fa};b.prototype.ac=function(){this.$h();return this.Fa};b.prototype.ee=function(){this.$h();return this.lc};b.prototype.Zp=function(){this.$h();return this.ma};b.prototype.lh=function(a){if(a){this.zO=a.get("hfov",360);this.jF=a.get("vfov",180);this.lz=a.get("pitch",0);this.cs=a.get("partial",z);this.RM=a.u5();this.PM=a.j5();this.VM=Math.min(a.get("hfovMax",170),170);this.ey=a.get("hfovMin");this.ON=k.P4(a)}else{this.zO=360;this.jF=180;this.lz=
16630;this.PM=this.RM=this.cs=z;this.VM=120;this.ON=this.ey=1}this.fa=0;this.Fa=this.lz;this.lc=0;this.Y=p};b.prototype.Pa=function(a,b,c,d,f){this.fa=a;this.Fa=b;this.lc=c;this.ma=d;this.kM=f;this.Y=p};b.prototype.ib=function(){var a=this.g.za(),b=this.g.ab();if(this.R!=a||this.ba!=b){this.R=a;this.ba=b;this.Y=p}};b.prototype.$h=function(){if(this.Y){this.Y=z;var a=this.fa*f,e=this.Fa*f,k=this.ma*f,t,u,v,x=(this.kM?d.gm(this.VM,this.R,this.ba):this.VM)*f,y;a:{y=this.ey;if(c(y).isString())if((y=y.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&&
1664y.length>=2){y=parseFloat(y[1]);break a}y=n}y=y!==n?2*Math.atan2(this.R*this.g.getPixelRatio()*0.5,this.ON*45*y/100):this.ey?(this.kM?d.gm(this.ey,this.R,this.ba):this.ey)*f:2*Math.atan2(this.R*this.g.getPixelRatio()*0.5,this.ON*45);y=Math.min(x,y);if(this.Tpa){t=360;v=180;u=0}else if(this.RM||this.PM){t=this.PM?90:this.lz+this.jF*0.5;var A=this.RM?-90:this.lz-this.jF*0.5;v=t-A;u=(t+A)*0.5;t=this.zO}else{t=this.zO;u=this.lz;v=this.jF}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=
1665a-2*h;k=Math.max(Math.min(k,x),y);x=b.Sq;e>m?x=x|b.Vq:e<-m&&(x=x|b.Rq);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.Vq|b.Rq}else{var C=Math.min(v*0.5+u,h*0.5);v=Math.max(-v*0.5+u,-h*0.5);u=!this.cs&&C>=h*0.495?h*0.5:C-w*0.5;v=!this.cs&&v<=-h*0.495?-h*0.5:v+w*0.5;if(e>u){e=u;x=x|b.Vq}else if(e<v){e=v;x=x|b.Rq}}if(this.cs){v=Math.tan(k*0.5);A=v/A;A=new j(-v,e>0?A:-A,1);v=new g;v.$n(-e);A.apply(v);A=A.mc()*2;A<0&&(A=A+2*
1666h);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.Et|b.Ft}else if(a>v){a=v;x=x|b.Ft}else if(a<w){a=w;x=x|b.Et}}this.fa=a*l;this.Fa=e*l;this.ma=k*l;this.Th=x}};var h=Math.PI,m=Math.PI*0.5,f=Math.PI/180,l=180/Math.PI;b.Sq=0;b.Et=1;b.Ft=2;b.Vq=4;b.Rq=8;return b});
1667define("eH","hb,jd,bI,dT,r,it".split(","),function(a,b,c,e,d,g){a=a.extend(e,function(){e.call(this);this.Q3=this.Z=z;this.lc=this.Fa=this.fa=0;this.LF=z;this.nk=this.Gl=0});
1667a.prototype.se=function(a){if(this.Z!=a)if(this.Z=a){g.bind(this.x_,this,p);var a=g.Wl(),b=a.pitch;this.Gl=this.fa-a.yaw;this.nk=this.Fa-b;this.Yg()}else g.unbind(this.x_,this,p)};a.prototype.Pa=function(a,b,c){if(this.fa!=a){this.Gl=this.cv(this.Gl+(a-this.cv(this.fa,a)),0);this.fa=a}if(this.Fa!=b){this.nk=this.nk+(b-this.Fa);
1668this.Fa=b}this.lc=c};a.prototype.Mn=P("fa");a.prototype.Ln=P("Fa");a.prototype.Ys=P("lc");a.prototype.$c=function(){return g.rma()};a.prototype.Va=function(a){var b=g.Wl(),a=20*a/1E3,c=b.pitch+(this.Q3?this.nk:0),d=b.roll;this.fa=this.ke(this.fa,this.cv(this.cv(b.yaw,this.fa)+this.Gl,this.fa),a);this.Fa=this.ke(this.Fa,c,a);this.lc=this.ke(this.lc,d,a)};a.prototype.noa=N("Q3");a.prototype.ke=function(a,b,c){a=(b-a)*(1-c);Math.abs(a)<0.01&&(a=0);return b-a};a.prototype.cv=function(a,b){for(;a+180<
1669b;)a=a+360;for(;a-180>b;)a=a-360;return a};a.prototype.x_=function(){this.Z&&this.Yg()};a.prototype.Yg=function(){this.trigger(new c(b.W))};return a});
1670define("jj",["require"],function(){function a(){this.It=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.It&&(this.It=z,this.nQ=this.oQ=this.Mp=this.Xi=this.Kx=this.Nx=this.Mx=this.sr=n)};a.prototype.moveTo=function(a,b,d,g){this.Xi=a;this.Mp=b;this.oQ=d;this.nQ=g;this.It=p};a.prototype.Pa=function(a,b,d,g){this.sr=a;this.Mx=b;this.Nx=d;this.Kx=g};a.prototype.Mn=P("sr");a.prototype.Ln=P("Mx");a.prototype.Ys=P("Nx");a.prototype.gB=
1671P("Kx");a.prototype.$c=P("It");a.prototype.Va=function(){if(this.It){for(var a=this.sr,e=this.Xi-180,d=this.Xi+180;a<e;)a+=d-e;for(;a>d;)a-=d-e;this.sr=a;this.sr=b(this.sr,this.Xi);this.Mx=b(this.Mx,this.Mp);this.Nx=b(this.Nx,this.oQ);this.Kx=b(this.Kx,this.nQ);this.sr==this.Xi&&this.Mx==this.Mp&&this.Nx==this.oQ&&this.Kx==this.nQ&&(this.It=z)}};return a});
1672define("bE",["require","iu","hE","bb"],function(a){function b(){this.Z=z;this.lc=this.Fa=this.fa=0;this.Yj=n}var c=a("iu"),e=a("hE"),d=a("bb");b.prototype.se=function(a){this.Z!=a&&(this.Z=a,this.Yj=n)};b.prototype.Pa=function(a,b,c){this.fa=a;this.Fa=b;this.lc=c};b.prototype.Mn=P("fa");b.prototype.Ln=P("Fa");b.prototype.Ys=P("lc");b.prototype.$c=Q(p);b.prototype.Va=function(){var a=c.NT(d.Tl().orientation);this.fa+=this.Yj===n?0:a.Ja-this.Yj;this.Yj=a.Ja;this.Fa=a.pitch;this.lc=a.ad;this.Fa=j===
1673n?a.pitch:j;this.lc=g===n?a.ad:g};var g=e.hh("debug")?e.nH("force_vr_roll"):n,j=e.hh("debug")?e.nH("force_vr_pitch"):n;return b});define("cL",[],function(){return{Sw:"left",Tw:"right",Rw:"down",Uw:"up",jV:"2x",T:"playing",pm:"zoomIn",qm:"zoomOut",ud:"stop"}});
1674define("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.wb=c;this.RO=this.No=this.cy=this.DF=this.Z=z;this.hb=new h;this.xk=new f;this.lc=this.Fa=this.fa=0;this.ma=90;this.As=1;this.ze=n;this.pK=this.nx=5;this.Ea=new m;this.Ea.bind(m.Nw,this.X_,this,p);this.Ea.bind(m.Aj,
1675this.kp,this,p);this.Ea.bind(m.Td,this.hk,this,p);this.Ea.bind(m.Sd,this.gk,this,p);this.Bi=new k;this.Bi.bind(e.W,this.nea,this);this.Mo=z;this.El=new l;o.bind(e.W,this.Ni,this,p);this.Ni()});t.prototype.clear=function(){this.Ea.unbind(m.Nw,this.X_,this,p);this.Ea.unbind(m.Aj,this.kp,this,p);this.Ea.unbind(m.Td,this.hk,this,p);this.Ea.unbind(m.Sd,this.gk,this,p);this.Ea.Ll();this.Ea=q;o.unbind(e.W,this.Ni,this,p);this.wb=this.H=this.hb=q;this.iD();this.g=q};t.prototype.oT=function(a){this.hb.reset();
1676this.xk.reset();this.Ea.oT(a);this.nx=a.get("automaticRotationSpeed");this.pK=a.get("automaticZoomSpeed")};t.prototype.wg=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.ud)){c(r.Sw)?d=-this.nx:c(r.Tw)&&(d=+this.nx);c(r.Rw)?f=-this.nx:c(r.Uw)&&(f=+this.nx);c(r.pm)?e=-this.pK:c(r.qm)&&(e=+this.pK);c(r.T)&&(g=p);if(c(r.jV)){d=d*2;f=f*2;e=e*2}d=d*this.As;f=f*this.As}this.nb(d,f,0,e,0,0,0,0,g,p,z,p)};t.prototype.Pa=function(a,b,c,d){this.fa=a;this.Fa=
1677b;this.lc=c;this.ma=d;this.As=this.ma/90;this.Bi.Pa(this.fa,this.Fa,this.lc);this.El.Pa(this.fa,this.Fa,this.lc);this.Ea.JB(this.ma);this.xk.Pa(this.fa,this.Fa,this.lc,this.ma)};t.prototype.moveTo=function(a,b,c,d){this.xk.moveTo(a,b,c,this.wb.y4(d));this.DF=z;this.hb.reset();
1677this.Vf()};t.prototype.AT=function(a,b,c){this.nb(0,0,0,0,a,b,c,0,z,z,z)};t.prototype.$c=function(){return this.Z&&(this.RO||this.gI())?p:z};t.prototype.gI=function(){return this.Z?this.El.Z?this.El.$c()||this.hb.$c():this.Bi.Z?
1678this.Mo?p:this.Bi.$c()||this.hb.$c():this.hb.$c()||this.xk.$c():z};t.prototype.Va=function(a){this.hb.Va(a);this.RO=z;var b,c,d;d=this.ma;if(this.El.Z){this.El.Va(a);a=this.El.Mn()+this.hb.rr;b=this.El.Ln();c=this.El.Ys()}else if(this.Bi.Z){this.Mo=z;this.Bi.Va(a);a=this.Bi.Mn()+this.hb.rr;b=this.Bi.Ln();this.cy&&(b=b+this.hb.Jx);c=this.Bi.Ys();d=d+this.hb.pL}else if(this.xk.$c()){this.xk.Va(a);a=this.xk.Mn();b=this.xk.Ln();c=this.xk.Ys();d=this.xk.gB()}else{a=this.fa+this.hb.rr;b=this.Fa+this.hb.Jx;
1679c=0;d=d+this.hb.pL}this.wb.em(d);this.H.Pa(a,b,c,this.wb.Oe(),this.wb.Xp());this.fa=this.H.mc();this.Fa=this.H.ac();this.lc=this.H.ee();this.ma=this.H.Zp();if(this.DF&&this.H.q5()){d=this.hb.NA;if(this.H.p5()||this.H.r5())d=-d;a=this.hb.pz;if(this.H.s5()||this.H.o5())a=-a;this.nb(d,a,0,0,0,0,0,0,p,z,z,p)}};t.prototype.Mn=P("fa");t.prototype.Ln=P("Fa");t.prototype.Ys=P("lc");t.prototype.gB=P("ma");t.prototype.se=function(a){if(this.Z!=a){if(this.Z=a){this.Hp(this.Ea.Tr==j.im?s.oC:n);this.Ea.EB(this.g.getParent());
1680this.Vf()}else{this.iD();this.Ea.Ll()}this.OQ()}};t.prototype.HB=function(a){if(this.No!=a){this.No=a;this.OQ();this.Mo=p}};t.prototype.OQ=function(){this.Bi.se(this.Z&&this.No&&!o.isPresenting());this.El.se(this.Z&&o.isPresenting())};t.prototype.nea=function(){this.Vf()};t.prototype.IB=function(a){this.cy=a;this.Bi.noa(this.cy)};t.prototype.mq=function(a){this.Ea.mq(a);this.Hp(this.Ea.Tr==j.im?s.oC:n)};t.prototype.qt=function(a){this.Ea.qt(a)};t.prototype.Ni=function(){this.OQ();this.Vf()};t.prototype.X_=
1681function(a){var b=!this.El.Z&&(!this.Bi.Z||this.cy);if(this.Ea.Tr==j.xq){var c=n;if(a.pq!=0||a.fq!=0){var d=Math.sqrt(a.fq*a.fq+a.pq*a.pq)>25,f=Math.atan2(a.fq,a.pq)*180/Math.PI;f>=-22.5&&f<22.5?c=d?s.CU:s.BU:f>=22.5&&f<67.5?c=d?s.EU:s.LU:f>=67.5&&f<112.5?c=d?s.DU:s.KU:f>=112.5&&f<157.5?c=d?s.FU:s.MU:f>=157.5||f<-157.5?c=d?s.JU:s.QU:f>=-157.5&&f<-112.5?c=d?s.IU:s.PU:f>=-112.5&&f<-67.5?c=d?s.GU:s.NU:f>=-67.5&&f<-22.5&&(c=d?s.HU:s.OU)}this.Hp(c);this.nb(a.pq,a.fq,0,0,a.iI,a.MH,0,0,z,z,z,b)}else this.nb(a.pq,
1682a.fq,0,0,a.iI,a.MH,0,0,z,z,b,b)};t.prototype.kp=function(a){this.nb(0,0,0,a.Hla,0,0,0,a.oS,z,p,z,p)};t.prototype.nb=function(a,b,c,d,f,e,g,h,l,j,k,m){if(a=(a=z||this.hb.P6(a,b,c,f,e,g,j,k,m))||this.hb.soa(d,h)){this.xk.reset();this.DF=l;this.Vf()}};t.prototype.Vf=function(){this.RO=p;this.trigger(new d(t.$f))};t.prototype.hk=function(){this.trigger(new d(t.Td));this.Ea.Tr==j.im&&this.Hp(s.tU)};t.prototype.gk=function(){this.trigger(new d(t.Sd));this.Ea.Tr==j.im&&this.Hp(s.oC)};t.prototype.Hp=function(a){if(this.ze!=
1683a&&this.Z){this.ze&&this.g.qw(this.ze);(this.ze=a)&&this.g.OH(this.ze)}};t.prototype.iD=function(){if(this.ze){this.g.qw(this.ze);this.ze=n}};t.$f="position change request";t.Td="user interaction start";t.Sd="user interaction end";return t});
1684define("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});
1685define("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.wb=c;this.av=this.Mc=q;this.rp=this.sp=z;this.Eu=[];this.sP=0;this.J=q;this.Fa=this.fa=0;this.ma=90});m.prototype.clear=function(){this.end();this.H=this.g=q};m.prototype.start=function(a){this.iha(a);this.kfa();this.sp=this.rp=z;this.Vf();this.Uf()};m.prototype.end=
1686function(){if(this.Mc!=q){this.pX();this.sp=this.rp=z;this.J=q;this.Uf()}};m.prototype.uma=function(){if(this.Mc&&this.Mc.get("restartMovementOnUserInteraction")){if(!this.sp){this.kQ();this.J=q;this.sp=p;this.Uf()}}else this.end()};m.prototype.zma=function(){if(this.sp){this.sp=z;this.JZ()||this.Lha()}};m.prototype.iha=function(a){this.pX();this.Mc=a;this.Mc.bind(c.lo,this.m0,this,p);this.Mc.bind(c.wC,this.l0,this,p);this.Mc.bind(c.ha("movementIndex"),this.fO,this,p);this.Eu=this.Mc.get("movements",
1687[])};m.prototype.pX=function(){this.kQ();if(this.Mc!=q){this.Mc.unbind(c.lo,this.m0,this);this.Mc.unbind(c.wC,this.l0,this);this.Mc.unbind(c.ha("movementIndex"),this.fO,this);this.Mc.set("movementIndex",-1);this.Mc=q;this.Eu=[]}};m.prototype.Wf=function(){return this.Mc?this.rp?e.Hc:e.T:e.L};m.prototype.Pa=function(a,b,c,d){this.fa=a;this.Fa=b;this.ma=d};m.prototype.$c=function(){return this.Mc&&!this.rp&&!this.sp&&!this.JZ()?p:z};
1687m.prototype.Va=function(a){if(this.$c()){this.J.Va(a);a=this.J.bb("hfov");
1688if(this.wb.L5()){var b=this.J.Qka();b.bB=this.wb.$G(b.bB);b.cI=this.wb.$G(b.cI);a=this.wb.$G(a)}this.H.Pa(this.J.bb("yaw"),this.J.bb("pitch"),0,a,this.wb.Xp());this.fa=this.H.mc();this.Fa=this.H.ac();this.ma=this.H.Zp();this.J.Dd()&&this.xea()}};m.prototype.Mn=P("fa");m.prototype.Ln=P("Fa");m.prototype.gB=P("ma");m.prototype.play=function(){if(this.rp){this.rp=z;this.Vf();this.Uf()}};m.prototype.pause=function(){if(!this.rp){this.rp=p;this.Uf()}};m.prototype.m0=function(){this.play()};m.prototype.l0=
1689function(){this.pause()};m.prototype.kfa=function(){this.sP=0;var a=this.Mc.get("movementIndex",-1);a==-1&&(a=0);this.uF(a)};m.prototype.mfa=function(){this.sP++;var a=this.Mc.get("repeat",1);if(this.Eu.length>0&&(a==0||this.sP<a))this.uF(0);else{this.Mc.trigger(new d(c.ua));this.end();this.Cia()}};m.prototype.lfa=function(){this.uF(this.Mc.get("movementIndex",0)+1)};m.prototype.uF=function(a){if(a<this.Eu.length)this.Mc.get("movementIndex")!=a?this.Mc.set("movementIndex",a):this.fO();else{this.Mc.trigger(new d(c.Nq));
1690this.mfa()}};m.prototype.fO=function(){var a=this.Mc.get("movementIndex");this.J=a>=0?this.X$(this.Eu[a]):q};m.prototype.xea=function(){this.Eu[this.Mc.get("movementIndex")].trigger(new d(c.ua));this.lfa()};m.prototype.JZ=function(){return this.av!=q};m.prototype.Lha=function(){this.kQ();var a=this,b=this.Mc.get("restartMovementDelay")||0;this.av=setTimeout(function(){a.av=q;a.Nea()},b);this.Uf()};m.prototype.kQ=function(){if(this.av){clearTimeout(this.av);this.av=q}};m.prototype.Nea=function(){this.uF(this.Mc.get("movementIndex"));
1691this.Vf();this.Uf()};m.prototype.X$=function(a){var b,c,d,e=this.ps(this.fa,-180,180),g=this.Fa,m=this.ma;if(j.ub("TargetRotationalCameraMovement",a)){b=a.get("targetYaw",e);c=a.get("targetPitch",g);if(d=a.get("targetHfov")){this.wb.F6(d);d=this.wb.Oe()}else d=m;this.H.Pa(b,c,0,d,this.wb.Xp());if(this.H.cs)b=this.H.mc();else switch(a.get("path")){case "left":b=this.ps(b,e-360,e);break;case "right":b=this.ps(b,e,e+360);break;case "longest":b=this.ps(b,e-180,e+180);b=b>=e?this.ps(b,e-360,e):this.ps(b,
1692e,e+360);break;default:b=this.ps(b,e-180,e+180)}}else if(j.ub("DistanceRotationalCameraMovement",a)){b=e+a.get("yawDelta",0);this.H.cs&&(b=Math.min(Math.max(-180,b),180));c=g+a.get("pitchDelta",0);d=m+a.get("hfovDelta",0);this.H.Pa(b,c,0,d,this.wb.Xp());this.H.cs&&(b=this.H.mc())}c=this.H.ac();d=this.H.Zp();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.ps=function(a,b,c){for(;a<
1693b;)a=a+(c-b);for(;a>c;)a=a-(c-b);return a};m.prototype.Vf=function(){this.trigger(new d(m.$f))};m.prototype.Cia=function(){this.trigger(new d(m.WI))};m.prototype.Uf=function(){this.trigger(new d(m.Cb))};m.$f="position change request";m.WI="sequence end";m.Cb="playback state change";return m});
1694define("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.rb,this.ib,this);f.bind(e.W,this.Ni,this,p);this.wb=b;this.wP=z;this.ma=this.lc=this.Fa=this.fa=n;this.Il=this.Hl=this.My=this.Py=this.Oy=this.Ny=z;this.Wh=p;this.pu=this.nk=0;this.Z=z;this.Dh=q;this.hy=5E3;this.ly=this.cN=
1695q;this.hv=[];this.ef=this.ro=l.L;this.H=new j(a);this.Ma=new k(this.g,this.H,this.wb);this.Ma.bind(k.$f,this.pn,this,p);this.Ma.bind(k.Td,this.hk,this,p);this.Ma.bind(k.Sd,this.gk,this,p);this.Fc=new h(this.g,this.H,this.wb);this.Fc.bind(h.$f,this.pn,this,p);this.Fc.bind(h.WI,this.kO,this,p);this.Fc.bind(h.Cb,this.n0,this,p)});r.prototype.clear=function(){this.xl();this.Ma.unbind(k.$f,this.pn,this);this.Ma.unbind(k.Td,this.hk,this,p);this.Ma.unbind(k.Sd,this.gk,this,p);this.Ma.clear();this.Ma=q;this.Fc.unbind(h.$f,
1696this.pn,this);this.Fc.unbind(h.WI,this.kO,this);this.Fc.unbind(h.Cb,this.n0,this);this.Fc.clear();this.H=this.Fc=q;this.g.unbind(e.rb,this.ib,this);f.unbind(e.W,this.Ni,this,p);this.g=q;b(this.hv).each(function(a){a.unbind(e.lo,this.FP,this,p)},this);this.hv=[]};r.prototype.end=function(){this.ro=l.L;this.xl();this.Ma.se(z);this.Fc.end();this.Z=z;this.An(0,0,0,0);this.ly=this.cN=q;b(this.hv).each(function(a){a.unbind(e.lo,this.FP,this,p)},this);this.hv=[];this.Gs()};r.prototype.start=function(a,b){this.ro=
1697l.T;this.Z=p;this.An(0,0,0,0);this.Jz(a);this.Kga(b);this.mG(this.ly);this.Gs()};r.prototype.Wf=P("ef");r.prototype.play=function(){this.ro=l.T;this.Fc.Wf()==l.Hc?this.Fc.play():this.Fc.Wf()==l.L&&(this.ly?this.mG(this.ly):this.wu()||this.Uz());this.Gs()};r.prototype.Yma=function(){this.ro==l.Hc&&this.play()};r.prototype.pause=function(){this.Ma.wg(m.ud);if(this.ro==l.T){this.ro=l.Hc;if(this.Fc.Wf()==l.T){this.Fc.pause();this.Gs()}else this.wu()&&this.xl()}};r.prototype.stop=function(){this.ro=l.L;
1698this.Fc.Wf()!=l.L&&this.Fc.end();this.Ma.wg(m.ud);this.Gs();this.wu()&&this.xl()};r.prototype.moveTo=function(a,b,c,d){this.Ma.moveTo(a,b,c,d)};r.prototype.Ni=function(){this.H.TH(f.isPresenting())};r.prototype.wg=function(a){this.Ma.wg(a)};r.prototype.AT=function(a,b,c){this.Ma.AT(a,b,c)};
1698r.prototype.HB=function(a){if(this.No!=a){this.No=a;this.Ma.HB(this.No);this.ga()}};r.prototype.IB=function(a){this.Ma.IB(a)};r.prototype.mq=function(a){this.Ma.mq(a)};r.prototype.qt=function(a){this.Ma.qt(a)};
1699r.prototype.Yn=function(a){if(this.Z)if(this.Ma.$c()||f.isPresenting()||this.No&&(this.Ma.Z||!this.Ma.cy)){this.Ma.gI()&&this.Fc.uma();this.Ma.Va(a);this.Uh(this.Ma.Mn(),this.Ma.Ln(),this.Ma.Ys(),this.Ma.gB());this.ga()}else if(this.Fc.sp){this.Fc.zma();this.ga()}else if(this.Fc.$c()){this.Fc.Va(a);this.Uh(this.Fc.Mn(),this.Fc.Ln(),0,this.Fc.gB());this.ga()}else if(this.wP){this.wP=z;this.wb.em(this.g.Oe());this.H.Pa(this.g.mc(),this.g.ac(),this.g.ee(),this.wb.Oe(),this.wb.Xp());this.Uh(this.H.mc(),
1700this.H.ac(),this.H.ee(),this.H.Zp());this.ga()}else{this.An(0,0,0,0);this.ro==l.T&&this.Fc.Wf()==l.L&&(this.wu()||this.Uz())}};r.prototype.$b=function(){var a=this.g.mc(),b=this.g.ac(),c=this.g.ee(),d=this.g.Oe(),e=a-this.fa||0,f=b-this.Fa||0,g=c-this.lc||0,h=d-this.ma||0;this.fa=a;this.Fa=b;this.lc=c;this.ma=d;this.An(e,f,g,h);this.Ma.Pa(a,b,c,d);this.Fc.Pa(a,b,c,d)};r.prototype.Jz=function(a){this.H.lh(a)};r.prototype.Kga=function(a){this.hy=a.get("timeToIdle",5E3);this.cN=a.get("idleSequence");
1701this.ly=a.get("initialSequence");this.Ma.oT(a);this.hv=a.get("sequences",[]);b(this.hv).each(function(a){a.bind(e.lo,this.FP,this,p)},this)};r.prototype.FP=function(a){this.mG(a.source)};r.prototype.pn=function(){this.xl();this.ga()};r.prototype.hk=function(){this.trigger(new d(r.Td))};r.prototype.gk=function(){this.trigger(new d(r.Sd))};r.prototype.mG=function(a){if(a){this.Ma.se(!a.get("mandatory",z));this.Fc.start(a)}else this.kO()};r.prototype.kO=function(){this.Ma.se(p);this.Uz()};r.prototype.n0=
1702function(){this.Gs()};r.prototype.ib=function(){this.wP=p;this.ga()};r.prototype.wu=function(){return this.Dh!=q};r.prototype.Uz=function(){this.xl();var a=this;this.Dh=setTimeout(function(){a.Dh=q;a.cO()},this.hy)};r.prototype.xl=function(){if(this.Dh){clearTimeout(this.Dh);this.Dh=q}};r.prototype.cO=function(){this.mG(this.cN)};r.prototype.ga=function(){this.trigger(new d(r.sa))};r.prototype.Uh=function(a,b,c,d){this.g.Pa(a,b,c,d)};r.prototype.An=function(a,b,c,e){var c=z,f=Math.abs(a)<0.001&&Math.abs(b)<
17030.001&&Math.abs(e)<0.001;if(f||this.No){c=this.Wh!=p;this.Il=this.Hl=this.My=this.Py=this.Oy=this.Ny=z;this.Wh=p}else{if(this.Ny!=a<-0.001){this.Ny=!this.Ny;c=p}if(this.Oy!=a>0.001){this.Oy=!this.Oy;c=p}if(this.My!=b<-0.001){this.My=!this.My;c=p}if(this.Py!=b>0.001){this.Py=!this.Py;c=p}if(this.Hl!=e<-0.001){this.Hl=!this.Hl;c=p}if(this.Il!=e>0.001){this.Il=!this.Il;c=p}if(this.Wh!=f){this.Wh=!this.Wh;c=p}}f||this.trigger(new d(r.xj,{yaw:this.fa,pitch:this.Fa,roll:this.lc,hfov:this.ma}));if(c){(this.Z||
1704this.Wh)&&this.trigger(new d(r.Zf,{movingLeft:this.Ny,movingRight:this.Oy,movingUp:this.Py,movingDown:this.My,zoomingIn:this.Hl,zoomingOut:this.Il,stopped:this.Wh}));this.Gs()}};r.prototype.Gs=function(){var a;if(this.Z){a=this.Fc.Wf();if(!this.Wh)a=l.T}else a=l.L;if(this.ef!=a){this.ef=a;this.trigger(new d(r.Cb,{state:this.ef}))}};r.sa="request frame";r.Zf="movement change";r.xj="position change";r.Cb="playback state change";r.Td="user interaction start";r.Sd="user interaction end";return r});
1705define("df","require,jd,fn,r,it,hE,bb,iu".split(","),function(a){function b(a,d,e){this.g=a;this.wb=d;this.tv=e;this.H=new c(a);e.rj&&this.H.lh(e.rj);this.zn=new c(a);this.FN=this.Yj=n;this.fa=this.g.mc();this.Fa=this.g.ac();this.lc=this.g.ee();this.ma=this.tv.rj?this.g.Oe():b.hC;this.G2=0;this.S=q;this.PZ=p}a("jd");var c=a("fn"),e=a("r"),d=a("it"),g=a("hE"),j=a("bb"),k=a("iu");b.prototype.lh=function(a){if(this.S!=a){this.qp=p;this.S=a}};b.prototype.nt=function(a,b){this.fa=a;this.Fa=b};b.prototype.Pv=
1706function(a){this.wb.F6(a);return this.wb.Oe()};b.prototype.em=N("ma");b.prototype.NB=N("PZ");b.prototype.ot=N("G2");b.prototype.Yn=function(){if(this.wb.L5())this.ma=this.wb.$G(this.ma);if(this.tv.Hb()){var a=j.Tl().orientation,a=k.NT(a);this.fa=this.fa+(this.Yj===n?0:a.Ja-this.Yj);this.Yj=a.Ja;this.Fa=a.pitch;this.lc=a.ad;this.Fa=m===n?a.pitch:m;this.lc=h===n?a.ad:h}else if(this.tv.Ala()){var a=d.Wl(),b=this.cv(a.yaw,this.fa);this.fa=this.fa+(this.Yj===n?0:b-this.Yj);this.Fa=this.Fa+(this.FN===n?
17070:a.pitch-this.FN);this.lc=a.roll;this.Yj=a.yaw;this.FN=a.pitch}this.qp&&this.H.lh(this.S);this.H.TH(j.isPresenting());this.H.Pa(this.fa,this.Fa,this.lc,this.ma,this.wb.Xp());if(this.qp){this.qp=z;if(this.tv&&this.tv.rj)if(a=this.g.jf(this.tv.rj)){a.set("deltaYaw",this.g.mc()-this.H.mc());a.set("deltaPitch",this.g.ac()-this.H.ac());a.set("deltaRoll",this.g.ee()-this.H.ee())}}this.fa=this.H.mc();this.Fa=this.H.ac();this.lc=this.H.ee();this.ma=this.PZ?this.H.Zp():this.ma;this.g.Pa(this.fa,this.Fa,this.lc,
1708this.ma);this.g.ot(this.G2)};b.prototype.QH=function(a,b){this.zn.lh(a);this.zn.Pa(0,0,0,b,this.wb.Xp());return this.zn.Zp()};b.prototype.ana=function(a,b){this.zn.lh(a);this.zn.Pa(b.Ja,b.pitch,b.ad,b.Qc,this.wb.Xp());b.Ja=this.zn.mc();b.pitch=this.zn.ac();b.ad=this.zn.ee();b.Qc=this.zn.Zp()};b.prototype.cv=function(a,b){for(;a+180<b;)a=a+360;for(;a-180>b;)a=a-360;return a};b.prototype.NR=function(){return b.hC};b.hC=e.Xa()?90:110;b.prototype.NR=function(){return b.hC};b.hC=e.Xa()?90:110;var h=g.hh("debug")?
1709g.nH("force_vr_roll"):n,m=g.hh("debug")?g.nH("force_vr_pitch"):n;return b});
1710define("cO","require,di,ej,hB,r,bb".split(","),function(a){function b(a,c,g,f){this.g=a;a=this.g.F;this.QT=a.get("transitionMode","blending");var l=a.get("transitionDuration",500);if(this.Oca(c,g)){this.QT=b.mC;l=1500}this.h4=a.get("blendingTransitionDuration",l);this.Dka=a.get("firstTransitionDuration",l);this.qka=a.get("disolveTransitionDuration",l);this.g7=a.get("translationTransitionDuration",1E3);this.Goa=a.get("translationTransitionEnabled",p);this.c6=a.get("originTransitionDuration",3E3);this.jI=
17111E3;this.rj=c;
1711this.woa=!c||c.F5();this.td=g;this.Eoa=!g||g.E5();this.JT=!g||g.F5();this.Doa=!!g&&this.uN(g);a=(this.IT=f)&&f.get("initialPosition")||new e;this.ih=new e;this.ih.set("yaw",a.get("yaw",0));this.ih.set("pitch",a.get("pitch"));this.ih.set("hfov",a.get("hfov"));this.Yc=new d;this.Yc.set("yaw",this.ih.get("yaw"));this.Yc.set("pitch",this.ih.get("pitch"));this.Yc.set("hfov",this.ih.get("hfov"));this.Yc.set("stereographicFactor",0);this.ej=[];if(!c){this.ej=f&&f.get("displayMovements")||[];
1712for(a=this.ej.length-1;a>=0;a--){this.Yc.set("yaw",this.Yc.get("yaw",this.ej[a].get("targetYaw")));this.Yc.set("pitch",this.Yc.get("pitch",this.ej[a].get("targetPitch")));this.Yc.set("hfov",this.Yc.get("hfov",this.ej[a].get("targethfov")));this.Yc.set("stereographicFactor",this.Yc.get("stereographicFactor",this.ej[a].get("stereographicFactor")))}f=f&&f.get("displayOriginPosition")||this.ih;this.Yc.set("yaw",f.get("yaw"));this.Yc.set("pitch",f.get("pitch"));this.Yc.set("hfov",f.get("hfov"));this.Yc.set("stereographicFactor",
1713f.get("stereographicFactor"))}this.mode=(this.dI=this.QT==b.Lk&&this.Goa&&this.Eoa?this.uca(c,g):q)?b.sV:c?g?this.QT=="blending"?b.Lk:b.mC:b.rU:b.qU;if(this.mode==b.Lk&&(!this.woa||!this.JT))if(this.Yc.get("stereographicFactor",0)>0||this.ej.filter(function(a){return a.get("targetStereographicFactor",0)>0}).length>0)this.mode=b.mC}var c=a("di"),e=a("ej"),d=a("hB"),g=a("r"),j=a("bb");b.prototype.Ala=function(){return this.g.Qi.get("gyroscopeEnabled")};b.prototype.Hb=function(){return j.isPresenting()};
1714b.prototype.uca=function(a,b){if(!a||!b)return q;var c=(a.get("adjacentPanoramas")||[]).filter(function(a){return a.Xja()&&a.get("panorama")==b});return c.length==0?q:c[0]};b.prototype.Oca=function(a,b){return this.Hb()&&g.Ed()==g.ri&&(this.uN(a)||this.uN(b))};b.prototype.uN=function(a){a=(a=a&&a.get("frames"))&&a.length>0&&a[0].get("sphere");return!(!a||!c.ub("Video360Resource",a))};b.mC="fade_out_fade_in";b.qU="fade_in";b.rU="fade_out";b.Lk="blending";b.sV="translation";return b});
1715define("cB",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb){if(!this.J){var b=this.g.jf(this.I.td);b.dj();b.set("alpha",0.01);this.J=new c("linear",[new e("alpha",0,1,n)],this.I.h4)}this.J.Va(a);a=this.J.bb("alpha");b=this.g.jf(this.I.td);b.set("alpha",a);this.J.Dd()&&(this.Eb=p)}};return b});
1716define("iv",["require"],function(){function a(a,c,e,d){this.p=a;this.ya=c;this.g=e;this.I=d;this.Eb=z}a.prototype.$l=P("Eb");a.prototype.lj=function(){this.Eb||(this.zp(),this.Eb=p)};a.prototype.zp=D();return a});
1717define("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.zp=function(){this.I.td&&!this.g.jf(this.I.td)&&(this.Nd=this.g.create(this.I.td),this.Nd.set("alpha",0),this.Nd.set("loadingActive",p),this.g.add(this.Nd))};return a});
1718define("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.zp=function(){this.I.Doa&&e.cT(this.g.fb(),this)};return a});
1719define("gM",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb&&(this.J||(this.J=new c("linear",[new e("alpha",0,1,n)],this.g.F.Soa()?this.I.Dka:this.I.h4)),this.J.Va(a),a=this.J.bb("alpha"),this.g.jf(this.I.td).set("alpha",a),this.J.Dd()))this.Eb=p};return b});
1720define("fN",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb&&(this.J||(this.J=new c("linear",[new e("alpha",1,0,n)],this.I.qka)),this.J.Va(a),a=this.J.bb("alpha"),this.g.jf(this.I.rj).set("alpha",a),this.J.Dd()))this.Eb=p};return b});
1721define("iP",["require","iS","bh"],function(a){function b(a,b,c,d){this.p=a;this.ya=b;this.g=c;this.I=d;this.J=q;this.Eb=z;this.LE=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.$l=P("Eb");
1721b.prototype.lj=function(a){if(!this.Eb&&(this.J||(this.J=this.LE<this.I.ej.length?this.jaa(this.LE):this.Y$()),this.J.Va(a),this.ya.nt(this.J.bb("yaw"),this.J.bb("pitch")),this.ya.em(this.J.bb("hfov")),this.ya.ot(this.J.bb("stereographicFactor")),this.J.Dd()))this.J=
1722q,this.LE++,this.LE>this.I.ej.length&&(this.ya.NB(p),this.Eb=p)};b.prototype.Y$=function(){var a=c(this.g.mc(),-180,180),b=this.g.ac();this.g.ee();var k=this.g.Oe(),h=this.g.k.mh,m=this.I.ih.get("hfov"),m={Ja:this.I.ih.get("yaw"),pitch:this.I.ih.get("pitch",b),ad:this.g.ee(),Qc:m?this.ya.Pv(m):k,mh:0};this.ya.ana(this.I.td,m);m.Ja=c(m.Ja,a-180,a+180);var f=0.5<Math.abs(k-m.Qc),l=Math.abs(h-m.mh),r=0.01<l,f=this.I.Hb()?1:Math.max(f?this.I.jI:1,r?this.I.c6*l:1);return new e(r?"linear":"cubic_in_out",
1723[new d("yaw",a,m.Ja,n),new d("pitch",b,m.pitch,n),new d("hfov",k,m.Qc,n),new d("stereographicFactor",h,m.mh,n)],f)};b.prototype.jaa=function(a){var b=this.I.ej[a],k=c(this.g.mc(),-180,180),h=this.g.ac();this.g.ee();var m=this.g.Oe(),f=this.g.k.mh,l=b.get("targetStereographicFactor",f),r=b.get("targetHfov");if(r)r=this.ya.Pv(r);else{for(r=z;a<this.I.ej.length&&!r;a++)r=this.I.ej[a].get("targetHfov")!==n;r?r=m:(r=this.ya.Pv(this.I.ih.get("hfov",this.ya.NR())),r=m+(r-m)*(f-l))}var a=b.get("targetYaw",
1724k),o=b.get("targetPitch",h);this.g.ee();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});
1725define("eI",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb){if(!this.J){var b=this.g.ac(),j=this.g.Oe(),k=this.g.k.mh,h=this.I.Yc.get("stereographicFactor",0),m=Math.abs(k-h),f=0<h?this.I.Yc.get("pitch",b):b,l=this.I.Yc.get("hfov"),l=l?this.ya.Pv(l):j;0==h&&(l=Math.min(j,this.ya.QH(this.I.td,l)));this.ya.NB(z);m=this.I.Hb()?1:Math.max(0.5<Math.abs(j-
1726l)?this.I.jI:1,0.01<m?this.I.c6: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.Va(a);this.ya.em(this.J.bb("hfov"));this.ya.ot(this.J.bb("stereographicFactor"));this.ya.nt(this.g.mc(),this.J.bb("pitch"));this.J.Dd()&&(this.ya.lh(this.I.td),this.ya.nt(this.I.Yc.get("yaw"),this.I.Yc.get("pitch",this.g.ac())),this.Eb=p)}};return b});
1727define("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.zp=function(){this.g.remove(this.g.jf(this.I.rj))};return a});
1728define("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.zp=function(){this.ya.lh(this.I.td);this.ya.nt(this.I.ih.get("yaw"),this.I.ih.get("pitch",this.g.ac()));var a=this.I.ih.get("hfov");a&&(a=this.ya.Pv(a),this.ya.em(a))};return a});
1729define("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.zp=function(){this.ya.lh(this.I.td);this.ya.ot(this.I.JT?this.I.Yc.get("stereographicFactor",0):0);this.ya.nt(this.I.Yc.get("yaw"),this.I.Yc.get("pitch",this.g.ac()));var a=this.I.Yc.get("hfov");!a&&!this.I.rj&&(a=this.ya.NR());a&&(a=this.ya.Pv(a),this.ya.em(a),this.ya.NB(!this.I.JT))};return a});
1730define("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.zp=function(){this.ya.lh(this.I.td);this.ya.em(this.ya.QH(this.I.td,this.g.Oe()));this.ya.nt(this.g.mc()+this.I.dI.E4(),this.g.ac())};return a});
1731define("ga",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb){if(!this.J){var b=this.g.Oe(),j=this.ya.QH(this.I.td,b),k=!this.I.Hb()&&0.01<Math.abs(b-j)?this.I.jI:1;this.J=new c("cubic_in_out",[new e("hfov",b,j,n)],k)}this.J.Va(a);this.ya.em(this.J.bb("hfov"));this.J.Dd()&&(this.ya.NB(p),this.Eb=p)}};return b});
1732define("gg",["require","iS","bh"],function(a){function b(a,b,c,e){this.p=a;this.ya=b;this.g=c;this.I=e;this.J=q;this.Eb=z}var c=a("iS"),e=a("bh");b.prototype.$l=P("Eb");
1732b.prototype.lj=function(a){if(!this.Eb){if(!this.J){var b=this.g.Oe(),j=Math.min(this.ya.QH(this.I.td,b),b),k=!this.I.Hb()&&0.01<Math.abs(b-j)?this.I.jI:1;this.J=new c("cubic_in_out",[new e("hfov",b,j,n)],k);this.ya.NB(z)}this.J.Va(a);this.ya.em(this.J.bb("hfov"));this.J.Dd()&&(this.ya.lh(this.I.td),this.ya.nt(this.g.mc()+this.I.dI.E4(),
1733this.g.ac()),this.Eb=p)}};return b});
1734define("hg",["require","iS","bh","r"],function(a){function b(a,b,c,d){this.p=a;this.ya=b;this.g=c;this.I=d;this.vK=this.Ds=q;this.Eb=z}var c=a("iS"),e=a("bh"),d=a("r");b.prototype.$l=P("Eb");b.prototype.lj=function(a){if(!this.Eb){if(!this.Ds){this.g.I6(!this.I.Hb()&&d.browser()!=d.Nk);var b=this.g.jf(this.I.td);b.dj();b.set("alpha",0.01);this.Ds=new c("cubic_in_out",[new e("source",0,0.75,n),new e("target",-0.75,0,n)],this.I.g7);this.vK=new c("linear",[new e("alpha",-1,2,n)],this.I.g7)}this.Ds.Va(a);
1735this.vK.Va(a);var a=this.g.jf(this.I.td),b=this.g.jf(this.I.rj),k=this.I.dI.Vka(),h=this.Ds.bb("target");a.set("translationX",k.x*h);a.set("translationY",k.y*h);a.set("translationZ",k.z*h);h=this.Ds.bb("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.vK.bb("alpha")));this.Ds.Dd()||(b=Math.max(0.01,Math.min(0.99,b)));a.set("alpha",b);this.Ds.Dd()&&(this.g.I6(z),this.Eb=p)}};return b});
1736define("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.b$=k});a.prototype.zp=function(){this.b$.call(this.p)};return a});define("bV",["require"],function(){function a(a,c,e,d){this.p=a;this.ya=c;this.g=e;this.I=d}a.prototype.$l=function(){var a=this.g.fb(),c=a&&a.LG,a=a&&a.HE;return!!c&&!c.get("visible")&&!!a&&!a.get("visible")};a.prototype.lj=D();return a});
1737define("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.wb=d;this.ya=q;this.TX=this.Km=this.oz=this.ds=n;this.I=q;this.Ie=[]});w.prototype.clear=function(){this.y1(this.Km);this.I&&
1738this.y1(this.I.td);this.oz=this.ds=n;this.H=this.wb=this.g=this.F=this.I=q};w.prototype.display=function(a,b){if(!this.I&&a==this.Km||this.I&&a==this.I.td)this.oz=this.ds=n;else{this.ds=a;this.oz=b;this.I||this.eQ()}};w.prototype.hide=function(){this.ds=q;!this.I&&this.Km&&this.eQ()};w.prototype.Rka=function(){return this.I&&this.I.td};w.prototype.eQ=function(){this.I=new d(this.g,this.Km,this.ds,this.oz);this.ya=new e(this.g,this.wb,this.I);this.oz=this.ds=n;this.Ob(j);switch(this.I.mode){case d.rU:this.wc(this.vv);
1739this.Ob(m);this.wc(this.uv);this.Ob(r);this.wc(this.Es);break;case d.qU:this.Ob(k);this.Ob(s);this.wc(this.wv);this.Ob(h);this.Ob(A);this.Ob(f);this.wc(this.yG);break;case d.mC:this.wc(this.vv);this.Ob(m);this.wc(this.uv);this.Ob(r);this.wc(this.Es);this.Ob(k);this.Ob(s);this.wc(this.wv);this.Ob(h);this.Ob(A);this.Ob(f);this.wc(this.yG);break;case d.sV:if(this.I.Hb()){this.wc(this.vv);this.wc(this.uv);this.Ob(t);this.wc(this.wv);this.Ob(x);this.Ob(r);this.wc(this.Es)}else{this.wc(this.vv);this.wc(this.uv);
1740this.Ob(v);this.wc(this.wv);this.Ob(x);this.Ob(r);this.wc(this.Es);this.Ob(u);this.Ob(k);this.Ob(A)}this.wc(this.yG);break;case d.Lk:if(this.I.Hb()){this.wc(this.vv);this.wc(this.uv);this.Ob(o);this.wc(this.wv);this.Ob(g);this.Ob(r);this.wc(this.Es)}else{this.wc(this.vv);this.wc(this.uv);this.Ob(l);this.wc(this.wv);this.Ob(g);this.Ob(r);this.wc(this.Es);this.Ob(k);this.Ob(A);this.Ob(f)}this.wc(this.yG)}this.ga()};w.prototype.yQ=function(){this.Km=this.I.td;this.TX=this.I.IT;this.I=this.ya=q;this.ds===
1741n?this.Km?this.pia(this.Km,this.TX):this.qia():this.eQ()};w.prototype.Yn=function(a){if(this.Ie.length){var b=this.Ie[0];b.lj(a);this.ga();this.ya.Yn(a);if(b.$l()){this.Ie.shift();this.Ie.length==0&&this.yQ()}}};w.prototype.$b=D();w.prototype.Ob=function(a){this.Ie.push(new a(this,this.ya,this.g,this.I))};w.prototype.wc=function(a){this.Ie.push(new y(this,this.ya,this.g,this.I,a))};
1741w.prototype.y1=function(a){if(a)if(a=this.g.jf(a)){this.g.remove(a);this.Es()}};w.prototype.Es=function(){this.trigger(new b(w.MI,
1742{panorama:this.I?this.I.rj:this.Km}))};w.prototype.vv=function(){this.trigger(new b(w.Cq,{panorama:this.I.rj}))};w.prototype.uv=function(){this.trigger(new b(w.Bq,{panorama:this.I.rj}))};w.prototype.yG=function(){this.trigger(new b(w.Dq,{panorama:this.I.td,camera:this.I.IT}))};w.prototype.wv=function(){this.trigger(new b(w.Eq,{panorama:this.I.td,camera:this.I.IT}))};w.prototype.pia=function(a,c){this.trigger(new b(w.AI,{panorama:a,camera:c}))};w.prototype.qia=function(){this.trigger(new b(w.BI))};
1743w.prototype.ga=function(){this.trigger(new b(w.sa))};w.sa="request frame";w.MI="panorama removed";w.AI="all pending panoramas displayed";w.BI="all pending panoramas hidden";w.Bq="panorama end";w.Eq="panorama start";w.Dq="panorama show";w.Cq="panorama hide";return w});
1744define("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.iw=function(a){for(var b=this.ND(a),c=a.K4(),d=0;d<b;d++)this.g.jf(this.xM(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.pw=D();d.prototype.uw=D();d.prototype.aI=D();d.prototype.stop=D();d.prototype.mt=
1745D();d.prototype.lt=D();d.prototype.hI=D();d.prototype.$b=D();d.prototype.Wf=D();d.prototype.ND=function(a){return a.get("frames").length};d.prototype.xM=function(a,b){return a.get("frames")[b]};d.prototype.ga=function(){this.trigger(new c(d.sa))};d.prototype.zk=function(a,b,e,h,m,f){this.trigger(new c(d.pi,{time:a,duration:b,transitionPosition:e,transitionLength:h,steps:m,selectedStep:f}))};d.prototype.Uf=function(){this.trigger(new c(d.Cb,{state:this.Wf()}))};d.sa="request frame";d.v7="frame display";
1746d.w7="frame hide";d.pi="time change";d.Cb="playback state change";return d});
1747define("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.JD=q;this.lM=this.Er=0;this.S=this.Sr=q;this.Ux=n;this.UO=z;this.ma=360;this.R3=180;this.Fa=0.5;this.Hi=0.2;this.bn=0.45;this.TZ=5E3;this.XZ=1;this.IE=[[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,
17480.625],[0.5,0.75]];this.Kda=[0.05,0.1,0.05,0.1,0.4,0.1,0.05,0.1,0.05]});f.prototype.iw=function(a){g.prototype.iw.call(this,a);this.Jz(a)};f.prototype.start=function(a){this.Jz(a);this.ga()};f.prototype.end=function(){this.Jz(q)};f.prototype.Jz=function(a){if(this.S!=a){if(this.S){this.Gia();this.S=q;this.Jia()}if(this.S=a){this.G9();this.ma=a.get("hfov",360);this.R3=a.get("vfov",180);this.Fa=a.get("pitch",0);this.ZO=this.ks=n;this.Eda(a);this.Wc=0.5}}};f.prototype.hI=function(){this.UO=z};f.prototype.mt=
1749function(a){this.Wc=a/f.cx;this.ga();this.UO=p};f.prototype.lt=function(a){this.mt(a)};f.prototype.zk=function(){var a=this.ND(this.S),b=this.Wc*(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.zk.call(this,this.Wc*f.cx,f.cx,this.Wc*f.cx,f.cx,a,d)};f.prototype.$b=function(a){if(this.S){var b=this.g.mc(),c=this.g.ac(),d=this.g.ee(),e=0;if(this.ks!==n&&this.ZO!==n&&this.g1!==n)var f=b-this.ks,g=c-this.ZO,m=d-this.g1,e=Math.sqrt(f*f+g*g+m*m)*1E3/a;this.ks=
1750b;this.ZO=c;this.g1=d;for(var f=this.ND(this.S),y=this.Wc*(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.jf(this.xM(this.S,C)).set("alpha",w[C]);this.zk();if(this.JD&&(e<=this.XZ||h.isPresenting())&&!this.UO){var C=Math.PI/180,e=180/Math.PI,w=this.g.za(),J=this.g.ab(),B=new k;B.iq(-d*C);B.$n(-c*C);B.hq(-b*C);b=[];for(C=0;C<this.IE.length;C++){d=this.g.unproject(new j(this.IE[C][0]*w,this.IE[C][1]*J,0)).vla();
1751d.apply(B);c=d.mc()*e;d=d.ac()*e;b.push(Math.round((90-d)*this.lM/180)*this.Er+Math.round((c+180)*this.Er/360))}c=[];for(C=0;C<f;C++){d=this.JD[C];for(w=e=0;w<this.IE.length;w++)e=e+this.Kda[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.TZ);f=this.Wc;m=Math.max.apply(Math,c);y=Math.min.apply(Math,c);g<this.Hi&&g<m?f=b>g?f+a:f-a:g>this.bn&&g>y&&(f=C<g?f-a:f+a);f=Math.min(1,Math.max(0,f));if(this.Wc!=f){this.Wc=f;this.ga()}}}};f.prototype.Eda=function(a){var c=b(a.get("frames",
1752[])).map(function(a){return a.get("thumbnailUrl")});this.Sr=b(c).map(function(a){var b=q;if(a){b=new m(d.Sk);
1752b.bind(e.O,this.T_,this);b.bind(e.kd,this.U_,this)}return b},this);b(this.Sr).each(function(a,b){a&&a.load(c[b])})};f.prototype.Jia=function(){this.QX();this.JD=q};f.prototype.tea=function(){this.Er=150;this.Sr.map(function(a){if(a)this.Er=Math.min(a.Gc()*360/this.ma,this.Er)},this);this.lM=Math.round(this.Er/2);this.JD=this.Sr.map(function(a){return this.gaa(a,this.Er,this.lM,this.ma,this.R3,
1753this.Fa)},this);this.QX()};f.prototype.gaa=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.Cd();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.QX=function(){b(this.Sr).each(function(a){if(a){a.unbind(e.O,
1754this.T_,this);a.unbind(e.kd,this.U_,this);a.cancel()}},this);this.Sr=q};f.prototype.T_=function(){b(this.Sr).filter(function(a){return a&&!a.Tn()}).length==0&&this.tea()};f.prototype.U_=D();f.prototype.G9=function(){this.S.bind(e.ha("minimumLuminance"),this.kn,this);this.S.bind(e.ha("maximumLuminance"),this.kn,this);this.S.bind(e.ha("luminanceChangeTime"),this.kn,this);this.S.bind(e.ha("maxLuminanceChangeSpeed"),this.kn,this);this.kn()};f.prototype.Gia=function(){this.S.unbind(e.ha("minimumLuminance"),
1755this.kn,this);this.S.unbind(e.ha("maximumLuminance"),this.kn,this);this.S.unbind(e.ha("luminanceChangeTime"),this.kn,this);this.S.unbind(e.ha("maxLuminanceChangeSpeed"),this.kn,this)};f.prototype.kn=function(){this.Hi=this.S.get("minimumLuminance");this.bn=this.S.get("maximumLuminance");if(this.Hi==n&&this.bn==n){this.Hi=0.2;this.bn=0.45}else this.Hi==n?this.Hi=Math.min(0.2,this.bn):this.Hi==n?this.bn=Math.max(0.45,this.Hi):this.Hi=Math.min(this.Hi,this.bn);this.bn=Math.min(1,Math.max(0,this.bn));
1756this.Hi=Math.min(1,Math.max(0,this.Hi));this.TZ=Math.max(100,this.S.get("luminanceChangeTime",5E3));this.XZ=this.S.get("maxLuminanceChangeSpeed",1);this.ga()};f.cx=1E3;return f});
1757define("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.HD=this.ID=q;this.jg=this.We=5E3;this.Ub=n;this.Db=this.We;this.Ai=1;this.S=q;this.Nr=z});a.prototype.start=function(a){this.S=a;this.Nr=z;this.hE=p;this.ID=c.watch(this.S,"frameDisplayTime",this.JQ,this);this.HD=c.watch(this.S,"frameTransitionTime",this.JQ,this);this.Ai=this.ND(this.S);this.Ub=0;this.JQ(p);this.zk();this.ga();this.Uf()};a.prototype.JQ=function(a){var b=
1758Math.max(100,this.S.get("frameDisplayTime",5E3)),c=Math.max(100,this.S.get("frameTransitionTime",5E3));if(this.We!=b||this.jg!=c||a){var a=this.lu(),d=this.Cba();this.sM();this.We=b;this.jg=c;1<this.Ai?(this.Ub=a*(this.We+this.jg)+d*this.We+d*this.jg,this.Db=this.Ai*(this.We+this.jg)):(this.Ub=d*this.We,this.Db=this.We)}};a.prototype.lu=function(){return 1<this.Ai?Math.floor(this.Ub/(this.We+this.jg)):0};a.prototype.Dba=function(){return 1<this.Ai?(this.lu()+1)%this.Ai:0};a.prototype.Cba=function(){return 1<
1759this.Ai?Math.max(0,Math.min(1,this.Ub-this.lu()*(this.We+this.jg))):this.Ub/this.We};a.prototype.sM=function(){return 1<this.Ai?Math.max(0,Math.min(1,(this.Ub-(this.lu()*(this.We+this.jg)+this.We))/this.jg)):0};a.prototype.Qha=function(a){var b=Math.floor(a/this.jg);return b*(this.We+this.jg)+this.We+(a-b*this.jg)};a.prototype.T2=function(a){var b=Math.floor(a/(this.We+this.jg)),a=Math.max(0,a-b*(this.We+this.jg)-this.We);return b*this.jg+a};a.prototype.play=function(){this.Nr&&(this.Nr=z,this.hE&&
1760this.ga(),this.Uf())};a.prototype.pause=function(){this.Nr=p;this.Uf()};a.prototype.pw=function(){this.pause()};a.prototype.uw=function(){this.play()};a.prototype.end=function(){this.hE=z;this.S=q;this.ID&&(this.ID.unwatch(),this.ID=q);this.HD&&(this.HD.unwatch(),this.HD=q);this.Uf()};a.prototype.mt=function(a){this.Ub=a;this.ga()};a.prototype.lt=function(a){this.Ub=this.Qha(a);this.ga();this.pause()};
1760a.prototype.$b=function(a){if(this.hE){this.Nr||(this.Ub+=a);this.Ub%=this.Db;for(var a=this.lu(),
1761b=this.Dba(),c=this.sM(),d=b>a?c:1,c=b>a?1:1-c,e=0;e<this.Ai;e++){var f;f=e==a?c:e==b?d:0;var l=this.g.jf(this.xM(this.S,e));l.get("alpha")!=f&&(0<f&&1>f&&l.dj(),l.set("alpha",f))}this.zk();this.Nr||this.ga()}};a.prototype.Wf=function(){return this.hE?this.Nr?e.Hc:e.T:e.L};a.prototype.Uf=function(){d.prototype.Uf.call(this,this.Wf())};a.prototype.zk=function(){var a=this.Ub,b=this.Db,c=this.T2(this.Ub),e=this.T2(this.Db),m=this.Ai+1,f=0===this.sM()?this.lu():n;d.prototype.zk.call(this,a,b,c,e,m,f)};
1762return 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)})});
1763define("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.ed=z});a.prototype.iw=D();a.prototype.start=function(a){this.end();this.S=a;this.S.set("mute",this.ed);this.S.set("state",e.T);this.um()};a.prototype.getTime=function(){return this.S?this.S.get("currentTime"):0};a.prototype.Wf=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=
1764function(){this.S&&this.S.set("state",e.Hc)};a.prototype.aI=function(){this.S&&this.S.set("state",e.Hc)};a.prototype.stop=function(){this.S&&this.S.set("state",e.L)};a.prototype.end=function(){this.S&&(this.xn(),this.S=q)};a.prototype.mt=function(a){this.S&&this.S.set("state",e.T);this.S&&this.S.set("currentTime",a)};a.prototype.Yf=function(a){this.ed=a;this.S&&this.S.set("mute",this.ed)};a.prototype.um=function(){this.S.bind(c.ha("currentTime"),this.fd,this,p);this.S.bind(c.ha("duration"),this.hn,
1765this,p);this.S.bind(c.ha("state"),this.df,this,p);this.S.get("state")!=e.L&&this.Uf()};a.prototype.xn=function(){this.S.unbind(c.ha("currentTime"),this.fd,this,p);this.S.unbind(c.ha("duration"),this.hn,this,p);this.S.unbind(c.ha("state"),this.df,this,p)};a.prototype.df=function(){this.Uf()};a.prototype.fd=function(){this.zk()};a.prototype.hn=function(){this.zk()};a.prototype.zk=function(){this.S&&d.prototype.zk.call(this,this.S.get("currentTime"),this.S.get("duration"))};return a});
1766define("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.IN=this.pD(k);this.SM=this.pD(j);this.QG=this.pD(m);this.cQ=this.pD(h);this.Jb=q});f.prototype.clear=function(){this.hD(this.IN);this.IN=q;this.hD(this.SM);this.SM=q;this.hD(this.QG);this.QG=q;this.hD(this.cQ);this.g=this.Jb=this.cQ=q};f.prototype.pD=function(a){a=new a(this.g);
1767a.bind(g.sa,this.Tb,this,p);a.bind(g.pi,this.op,this,p);a.bind(g.Cb,this.Ld,this,p);return a};f.prototype.hD=function(a){a.unbind(g.sa,this.Tb,this);a.unbind(g.pi,this.op,this);a.unbind(g.Cb,this.Ld,this);a.clear()};f.prototype.sN=function(a,b){return d.ub(b,a)};f.prototype.EY=function(a){return this.sN(a,"HDRPanorama")?this.SM:this.sN(a,"LivePanorama")?this.IN:this.sN(a,"VideoPanorama")?this.QG:this.cQ};f.prototype.iw=function(a){(this.Jb=this.EY(a))&&this.Jb.iw(a)};f.prototype.start=function(a){this.Tb();
1768(this.Jb=this.EY(a))&&this.Jb.start(a)};f.prototype.Wf=function(){if(this.Jb)return this.Jb.Wf()};f.prototype.getTime=function(){return this.Jb?this.Jb.getTime():0};f.prototype.play=function(){this.Jb&&this.Jb.play()};f.prototype.pause=function(){this.Jb&&this.Jb.pause()};f.prototype.pw=function(){this.Jb&&this.Jb.pw()};f.prototype.uw=function(){this.Jb&&this.Jb.uw()};f.prototype.aI=function(){this.Jb&&this.Jb.aI()};f.prototype.stop=function(){this.Jb&&this.Jb.stop();this.trigger(new c(f.pi,{duration:0,
1769time:0,steps:n,selectedStep:n}))};f.prototype.end=function(){if(this.Jb){this.Jb.end();this.Jb=q}};f.prototype.mt=function(a){this.Jb&&this.Jb.mt(a)};f.prototype.lt=function(a){this.Jb&&this.Jb.lt(a)};f.prototype.hI=function(){this.Jb&&this.Jb.hI()};f.prototype.$b=function(a){this.Jb&&this.Jb.$b(a)};f.prototype.Yf=function(a){this.QG.Yf(a)};f.prototype.Tb=function(){this.trigger(new c(f.sa))};f.prototype.op=function(a){this.trigger(new c(f.pi,a.data))};f.prototype.Ld=function(a){this.trigger(new c(f.Cb,
1770a.data))};f.sa="request frame";f.v7="frame display";f.w7="frame hide";f.pi="time change";f.Cb="playback state change";return f});
1771define("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.Nd=this.Tc=this.S=q;this.k="idle"});a.prototype.start=function(a,b){this.stop();this.S=a;this.Tc=b;this.g.jf(a)?(this.trigger(c.Sb,{panorama:this.S,camera:this.Tc}),this.trigger(c.O,{panorama:this.S,camera:this.Tc}),this.trigger(c.ud),this.Tc=this.S=q):(this.k="waiting ready",this.Nd=this.g.create(a),this.Nd.set("alpha",0),this.Nd.set("loadingActive",
1772p),this.Nd.bind(c.Sb,this.YE,this,p),this.Nd.bind(c.O,this.bf,this,p),this.Nd.bind(c.cc,this.Mi,this,p),this.g.add(this.Nd))};a.prototype.stop=function(){this.Nd&&("waiting ready"==this.k&&this.g.remove(this.Nd),this.Nd.unbind(c.Sb,this.YE,this),this.Nd.unbind(c.O,this.bf,this),this.Nd.unbind(c.cc,this.Mi,this),this.Nd.set("loadingActive",z),this.Nd=q,this.k="idle",this.trigger(c.ud),this.Tc=this.S=q)};a.prototype.clear=function(){this.stop()};a.prototype.YE=function(){this.Nd.unbind(c.Sb,this.YE,
1773this);this.k="waiting loaded";this.trigger(c.Sb,{panorama:this.S,camera:this.Tc})};a.prototype.bf=function(){this.Nd.unbind(c.Sb,this.YE,this);this.Nd.unbind(c.O,this.bf,this);this.k="idle";this.Nd=q;this.trigger(c.O,{panorama:this.S,camera:this.Tc});this.trigger(c.ud);this.Tc=this.S=q};a.prototype.Mi=function(a){this.trigger(new d(c.cc,a.jh))};return a});
1774define("gk",["hb","bI","dT","D"],function(a,b,c,e){var d=a.extend(c,function(a){c.call(this);this.g=a;this.dp=this.S=this.Ii=q;this.Fa=this.fa=0;this.ma=0.5*Math.PI});d.prototype.clear=function(){this.stop();this.Ii=this.g=q};d.prototype.vT=function(a){this.Ii!=a&&(this.LK(),this.Ii=a,this.mW())};d.prototype.stop=function(){this.LK();this.S=q};d.prototype.$b=function(){this.fa=this.g.mc();this.Fa=this.g.ac();this.ma=this.g.Oe();this.Ii&&this.dp&&this.Ii.nj(this.dp,this.fa,this.Fa,this.ma)};d.prototype.display=
1775function(a){this.S!=a&&(this.LK(),this.S=a,this.mW())};d.prototype.hide=function(a){this.S==a&&this.stop()};d.prototype.LK=function(){this.dp&&(this.Kca(),this.dp=q)};d.prototype.mW=function(){this.Ii&&this.S&&(this.dp=this.hga(this.S,this.Ii.get("map",q)))&&this.xha()};d.prototype.hga=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.xha=function(){this.Ii.Nja(this.dp);this.Ii.bind(e.ag,this.F1,this,p)};
1776d.prototype.Kca=function(){this.Ii&&(this.Ii.Qma(this.dp),this.Ii.unbind(e.ag,this.F1,this))};d.prototype.F1=function(a){this.trigger(new b(d.ag,{yawDelta:a.data.yawDelta}))};d.ag="request yaw change";return d});
1777define("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.VI,this.j0,this,p)});g.prototype.clear=function(){this.g.unbind(d.VI,this.j0,this,p);this.g=q};g.prototype.Aa=function(){this.g.Aa()};g.prototype.j0=function(a){a=a.data.frameTime;this.trigger(new c(g.yj,{frameTime:a}));this.trigger(new c(g.zj,{frameTime:a}))};g.yj="frameStart";g.zj="positionSet";return g});
1778define("fm",["require","r","gP"],function(a){function b(){this.ba=this.R=0;this.ma=90;this.Tg="landscape";this.qO=z;this.ny=c.Xa()}var c=a("r"),e=a("gP");b.prototype.F6=function(a){this.ma=this.y4(a)};b.prototype.y4=function(a){return this.ny&&"portrait"==this.Tg?e.XA(a,this.ba,this.R):a};b.prototype.ela=function(a){return this.ny&&"portrait"==this.Tg?e.hj(a,this.R,this.ba):a};b.prototype.em=function(a){return this.ma=this.ny&&this.qO?e.XA(a,this.ba,this.R):a};b.prototype.L5=function(){return this.ny&&
1779this.qO};b.prototype.Xp=function(){return this.ny&&"portrait"==this.Tg};b.prototype.Oe=P("ma");b.prototype.$G=function(a){return e.XA(a,this.ba,this.R)};b.prototype.setSize=function(a,b){this.R=a;this.ba=b;var c=this.aca();this.qO=this.Tg!=c;this.Tg=c};b.prototype.aca=function(){return 0===this.R||0===this.ba?"landscape":this.R<this.ba?"portrait":"landscape"};return b});
1780define("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.wb=new r;this.qc=new l(this.g);this.Jd=new m(this.g);this.X=new k(this.F,this.g,this.wb);this.ia=new j(this.g,this.wb);this.Uc=new h(this.g);this.cn=new f(this.g);this.vd=new g(this.g);this.qc.bind(l.yj,
1781this.mp,this,p);this.qc.bind(l.zj,this.np,this,p);this.Jd.bind(c.Sb,this.S_,this,p);this.Jd.bind(c.ud,this.Uy,this,p);this.Jd.bind(c.cc,this.jn,this,p);this.X.bind(k.sa,this.Tb,this,p);this.X.bind(k.MI,this.Z_,this,p);this.X.bind(k.AI,this.p_,this,p);this.X.bind(k.BI,this.q_,this,p);this.X.bind(k.Eq,this.az,this,p);this.X.bind(k.Cq,this.lp,this,p);this.X.bind(k.Dq,this.ln,this,p);this.X.bind(k.Bq,this.$y,this,p);this.ia.bind(j.sa,this.Tb,this,p);this.ia.bind(j.Zf,this.dk,this);this.ia.bind(j.xj,this.h0,
1782this);this.ia.bind(j.Cb,this.Ld,this,p);this.ia.bind(j.Td,this.hk,this,p);this.ia.bind(j.Sd,this.gk,this,p);this.Uc.bind(h.sa,this.Tb,this,p);this.Uc.bind(h.pi,this.op,this,p);this.Uc.bind(h.Cb,this.Ld,this,p);this.cn.bind(f.ag,this.W_,this,p)});s.prototype.clear=function(){this.Jd.clear();this.qc.clear();this.ia.clear();this.X.clear();
1782this.Uc.clear();this.cn.clear();this.vd.clear();this.Jd.unbind(c.Sb,this.S_,this);this.Jd.unbind(c.ud,this.Uy,this);this.Jd.unbind(c.cc,this.jn,this);this.qc.unbind(l.yj,
1783this.mp,this);this.qc.unbind(l.zj,this.np,this);this.X.unbind(k.sa,this.Tb,this);this.X.unbind(k.MI,this.Z_,this);this.X.unbind(k.AI,this.p_,this);this.X.unbind(k.BI,this.q_,this);this.X.unbind(k.Eq,this.az,this);this.X.unbind(k.Cq,this.lp,this);this.X.unbind(k.Dq,this.ln,this);this.X.unbind(k.Bq,this.$y,this);this.ia.unbind(j.y7,this.Tb,this);this.ia.unbind(j.Zf,this.dk,this);this.ia.unbind(j.xj,this.h0,this);this.ia.unbind(j.Cb,this.Ld,this,p);this.ia.unbind(j.Td,this.hk,this);this.ia.unbind(j.Sd,
1784this.gk,this);this.Uc.unbind(h.sa,this.Tb,this);this.Uc.unbind(h.pi,this.op,this);this.Uc.unbind(h.Cb,this.Ld,this);this.cn.unbind(f.ag,this.W_,this);this.F=this.g=this.vd=this.cn=this.Uc=this.X=this.ia=this.qc=this.Jd=q};s.prototype.vT=function(a){this.cn.vT(a)};s.prototype.lh=function(a,b,c){this.g.set("visible",p);this.Uc.aI();a.set("currentTime",c);this.Jd.start(a,b)};s.prototype.bw=function(){return this.Jd.S||this.X.Rka()||this.X.Km};s.prototype.kt=function(){this.Jd.stop();this.Uc.end();this.ia.end();
1785this.X.hide();this.cn.stop();this.vd.end()};s.prototype.uw=function(){this.ia.Yma();this.Uc.uw()};s.prototype.pw=function(){this.ia.pause();this.Uc.pw()};s.prototype.play=function(){this.ia.play();this.vd.play();this.Uc.play()};s.prototype.pause=function(){this.ia.pause();this.vd.pause();this.Uc.pause()};s.prototype.stop=function(){this.ia.stop();this.vd.stop();this.Uc.stop()};s.prototype.getTime=function(){return this.Uc.getTime()};s.prototype.moveTo=function(a,b,c,d){this.ia.moveTo(a,b,c,d)};s.prototype.mc=
1786function(){return this.g?this.g.mc():n};s.prototype.ac=function(){return this.g?this.g.ac():n};s.prototype.ee=function(){return this.g?this.g.ee():n};s.prototype.Oe=function(){return this.g?this.wb.ela(this.g.Oe()):n};s.prototype.UR=function(){return this.g?this.g.UR():n};s.prototype.VR=function(){return this.g?this.g.VR():n};s.prototype.Ld=function(){var a=this.Uc.Wf()||this.ia.Wf();this.trigger(new e(s.Cb,{state:a}))};s.prototype.wg=function(a){this.ia.wg(a)};s.prototype.HB=function(a){this.ia.HB(a)};
1787s.prototype.mq=function(a){this.ia.mq(a)};s.prototype.IB=function(a){this.ia.IB(a)};s.prototype.Yf=function(a){this.Uc.Yf(a)};s.prototype.qt=function(a){this.ia.qt(a)};s.prototype.qla=function(a,b){var c=o.get(a,b,this.g.mc(),this.g.ac(),this.g.ee(),this.g.Oe(),this.g.za(),this.g.ab());return c?{x:c.x,y:c.y}:q};s.prototype.jn=function(a){this.g.RH(p);this.trigger(new e(s.Ok,{percent:a.jh}))};s.prototype.S_=function(a){this.Uc.end();this.X.display(a.data.panorama,a.data.camera)};s.prototype.Uy=function(){this.g.RH(z);
1788this.trigger(new e(s.yq))};s.prototype.Tb=function(){this.qc.Aa()};s.prototype.mp=function(a){a=a.data.frameTime;this.wb.setSize(this.g.za(),this.g.ab());this.X.Yn(a);this.ia.Yn(a)};s.prototype.np=function(a){a=a.data.frameTime;this.X.$b(a);this.ia.$b(a);this.Uc.$b(a);this.cn.$b(a);this.vd.$b(a)};s.prototype.az=function(a){this.cn.display(a.data.panorama);this.Uc.iw(a.data.panorama);this.trigger(new e(s.Eq,{panorama:a.data.panorama}))};s.prototype.Z_=function(a){this.cn.hide(a.data.panorama)};s.prototype.p_=
1789function(a){this.Uc.start(a.data.panorama);this.ia.start(a.data.panorama,a.data.camera);this.vd.start(a.data.panorama)};s.prototype.q_=function(){this.Uc.end();this.g.set("visible",z)};s.prototype.$y=function(a){this.ia.end();this.vd.end();this.trigger(new e(s.Bq,{panorama:a.data.panorama}))};s.prototype.ln=function(a){this.trigger(new e(s.Dq,{panorama:a.data.panorama}))};s.prototype.lp=function(a){this.trigger(new e(s.Cq,{panorama:a.data.panorama}))};s.prototype.W_=function(a){this.ia.AT(a.data.yawDelta,
17900)};s.prototype.dk=function(a){this.trigger(new e(s.Zf,a.data))};s.prototype.h0=function(a){this.trigger(new e(s.xj,a.data))};s.prototype.hk=function(){this.Uc.hI();this.trigger(new e(s.Td))};s.prototype.gk=function(){this.trigger(new e(s.Sd))};s.prototype.xna=function(a){this.Uc.mt(a)};s.prototype.lt=function(a){this.Uc.lt(a)};s.prototype.op=function(a){this.trigger(new e(s.pi,a.data))};s.Ok="loadingProgress";s.yq="loadingEnd";s.Zf="movementChange";s.xj="positionChange";s.Eq="panoramaStart";s.Bq=
1791"panoramaEnd";s.Dq="panoramaShow";
1791s.Cq="panoramaHide";s.Cb="playbackStateChange";s.Td="userInteractionStart";s.Sd="userInteractionEnd";s.pi="timeChange";return s});
1792define("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.$M=this.Mo=this.AE=this.EK=this.qp=this.pg=this.fK=z;this.MM=p;this.wr=this.Lr=this.oD=z;this.KD=this.nM=this.Ub=
1793this.Db=0;this.LO=this.NO=n;this.WN=p;this.ef=j.L;this.nE=b(this.nE).bind(this);this.pE=b(this.pE).bind(this);this.Qr=[];this.p=this.g=q;this.e_={};for(var a in w.rm)this.e_[a]=this.iaa(a);this.VC=new m(this,"buttonToggleGyroscope",y.sh);this.VC.bind(d.cg,function(){this.set("gyroscopeEnabled",p)},this);this.VC.bind(d.rh,function(){this.set("gyroscopeEnabled",z)},this);this.VC.set("pressed",this.get("gyroscopeEnabled")&&u.available);this.K9=new m(this,"buttonCardboardView",y.vc);this.K9.bind(d.U,
1794function(){this.set("viewMode",w.oo)},this,p);this.X9=new m(this,"buttonVRView",y.vc);this.X9.bind(d.U,function(){this.set("viewMode",w.oo)},this,p);x.bind(d.W,function(){this.l3("viewMode");this.trigger(w.pU)},this,p);this.WC=new m(this,"buttonToggleHotspots",y.sh);this.WC.bind(d.cg,function(){this.set("hotspotsEnabled",p)},this);this.WC.bind(d.rh,function(){this.set("hotspotsEnabled",z)},this);this.WC.set("pressed",this.get("hotspotsEnabled"));this.Vc=e.Xn(this.Ke,this);this.set("hotspotsEnabled",
1795p);this.set("preloadEnabled",p)});w.hU="cameraPositionChange";w.Td="userInteractionStart";w.Sd="userInteractionEnd";w.Ok="loadingProgress";w.mU="preloadMediaShow";w.pU="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",
1796livePanoramaDisplayPlaybackBar:"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]]",
1797buttonMoveRight:"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]]",
1798buttonToggleGyroscope:"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]]",
1799buttonPause:"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]]"}).nc([d.sC,w.hU,w.Ok,w.Td,w.Sd,w.mU,w.pU,l.jd,f.Te,f.yg]).vg({moveLeft:function(){this.nb(s.Sw)},
1800moveRight:function(){this.nb(s.Tw)},moveUp:function(){this.nb(s.Uw)},moveDown:function(){this.nb(s.Rw)},playLeft:function(){this.nb(s.ppa)},playRight:function(){this.nb(s.qpa)},playUp:function(){this.nb(s.rpa)},playDown:function(){this.nb(s.npa)},play:function(){this.mg()},pause:function(){this.mk()},stop:function(){this.bs()},seek:function(a){this.Gz(a)},restart:function(){this.as()},zoomIn:function(){this.nb(s.pm)},zoomOut:function(){this.nb(s.qm)},resumeCamera:function(){this.ega()},pauseCamera:function(){this.hfa()},
1801moveTo:function(a,b,c,d){this.Nda(a,b,c,d)},getScreenPosition:function(a,b){return this.lca(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.oo:w.RJ;case "video":a="panorama";break;case "rendererPanorama":return this.p&&this.p.bw()}if(!b)switch(a){case "mouseControlMode":b=k.zU;break;case "touchControlMode":b=k.rV}return l.prototype.get.call(this,a,b)};w.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "application":this.fK=
1802p;this.Vc();break;case "startTime":this.qp=p;this.Vc();break;case "video":case "panorama":a="panorama";this.qp=p;this.Vc();break;case "camera":this.EK=p;this.Vc();break;case "viewerArea":this.pg=p;this.Vc();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.wr=p;this.Vc();break;case "mapPlayer":this.AE=p;this.Vc();break;case "gyroscopeEnabled":this.Mo=p;this.Vc();break;case "gyroscopeVerticalDraggingEnabled":this.MM=
1803p;this.Vc();break;case "viewMode":if(b=="vr")b=w.oo;b==w.oo&&!x.isPresenting()?x.dh():b!=w.oo&&x.isPresenting()&&x.Pd();b=x.isPresenting()?w.oo:w.RJ;break;case "hotspotsEnabled":this.$M=p;this.Vc();break;case "mouseControlMode":case "touchControlMode":this.oD=p;this.Vc()}l.prototype.set.call(this,a,b)}};
1803w.prototype.ao=function(a){if(this.Lr!=a){if(this.Lr){c(document).off("keydown",this.nE);c(document).off("keyup",this.pE);this.Qr=[]}if(this.Lr=a){c(document).on("keydown",this.nE);c(document).on("keyup",
1804this.pE)}}};var C={};C[38]=s.Uw;C[40]=s.Rw;C[37]=s.Sw;C[39]=s.Tw;C[65]=s.pm;C[90]=s.qm;var J=b(C).keys();w.prototype.nE=function(a){a=a.which.toString();if(b(J).contains(a)){this.Qr=b.union(this.Qr,[a]);this.w3()}};w.prototype.pE=function(a){a=a.which.toString();if(b(this.Qr).contains(a)){this.Qr=b.without(this.Qr,a);this.w3()}};w.prototype.w3=function(){var a=b(this.Qr).map(function(a){return C[a]});a.length==0?a.push(s.ud):a.push(s.jV);this.nb(a)};w.prototype.iaa=function(a){var b=w.rm[a],a=new m(this,
1805a,y.vc);a.bind(d.qb,function(){this.nb(b.movement)},this);b.stopOnRelease&&a.bind(d.Ib,function(){this.nb(s.ud)},this);return a};w.prototype.Ke=function(){if(this.pg||this.fK){this.pg=this.fK=z;this.oD=this.Mo=this.AE=p;this.vr();this.get("viewerArea")&&this.get("application")&&this.qr();this.eG(this.get("viewerArea"))}var a=z;if(this.g){if(this.AE){this.AE=z;this.p.vT(this.get("mapPlayer"))}if(this.oD){this.oD=z;this.p.mq(this.get("mouseControlMode"));this.p.qt(this.get("touchControlMode"))}if(this.qp||
1806this.EK){this.KD=this.nM=this.Db=this.Ub=0;this.LO=this.NO=n;a=p;this.EK=this.qp=z;if(this.get("panorama")){this.IF();this.p.lh(this.get("panorama"),this.get("camera",new r),this.get("startTime"))}else{this.p.kt();this.WN=p;this.ef=j.L;this.ob(j.L)}}if(this.MM){this.MM=z;this.p.IB(this.get("gyroscopeVerticalDraggingEnabled",p))}if(this.Mo){this.Mo=z;var b=this.get("gyroscopeEnabled")&&u.available;if(b&&u.disabled){b=z;v.sU.show(function(){u.aT(function(){this.set("gyroscopeEnabled",p)}.bind(this))}.bind(this))}this.set("gyroscopeEnabled",
1807b);this.p.HB(b);this.VC.set("pressed",b)}if(this.$M){this.$M=z;this.WC.set("pressed",this.get("hotspotsEnabled"))}if(this.wr){this.wr=z;a=p}a&&this.xA()}};w.prototype.Yz=function(){this.set("panorama",q)};w.prototype.qr=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.qa(this.g);this.p=new o(a,this.g);this.p.bind(o.Zf,this.dk,this);this.p.bind(o.xj,this.w_,this);this.p.bind(o.Ok,this.jn,this);this.p.bind(o.yq,this.Iu,
1808this);this.p.bind(o.Dq,this.ln,this);this.p.bind(o.Cq,this.lp,this);this.p.bind(o.Eq,this.az,this);this.p.bind(o.Bq,this.$y,this);this.p.bind(o.Cb,this.Ld,this);this.p.bind(o.Td,this.hk,this);this.p.bind(o.Sd,this.gk,this);this.p.bind(o.pi,this.op,this);this.get("application").bind(d.ha("mute"),this.Zy,this);this.get("application").get("mute",z)&&this.p.Yf(p);x.bind(d.W,this.Ni,this,p);this.HX();this.jv(p)};w.prototype.vr=function(){if(this.g){this.p.unbind(o.Zf,this.dk,this);this.p.unbind(o.xj,this.w_,
1809this);this.p.unbind(o.Ok,this.jn,this);this.p.unbind(o.yq,this.Iu,this);this.p.unbind(o.Dq,this.ln,this);this.p.unbind(o.Cq,this.lp,this);this.p.unbind(o.Eq,this.az,this);this.p.unbind(o.Bq,this.$y,this);this.p.unbind(o.Cb,this.Ld,this);this.p.unbind(o.Td,this.hk,this);this.p.unbind(o.Sd,this.gk,this);this.p.unbind(o.pi,this.op,this);this.p.clear();this.get("application").unbind(d.ha("mute"),this.Zy,this);this.g.getParent().removeChild(this.g);this.g=q;x.unbind(d.W,this.Ni,this,p);this.jv(z)}};w.prototype.Zy=
1810function(){this.g&&this.p.Yf(this.get("application").get("mute",z))};w.prototype.Ld=function(a){this.ef=a.data.state;this.Od()};w.prototype.Od=function(){this.ob(this.WN?this.ef:j.T)};w.prototype.hk=function(){this.trigger(new g(w.Td))};w.prototype.gk=function(){this.trigger(new g(w.Sd))};w.prototype.az=function(a){this.trigger(new g(w.mU,{panorama:a.data.panorama}))};w.prototype.$y=D();w.prototype.ln=function(a){this.FE(a.data.panorama)};w.prototype.lp=function(a){this.EE(a.data.panorama)};w.prototype.dk=
1811function(a){for(var b in w.rm)this.e_[b].set("state",a.data[w.rm[b].pressedOn]?A.ta:A.oc);this.WN=a.data.stopped;this.Od();this.trigger(new g(d.sC,a.data))};w.prototype.w_=function(a){this.HX();this.trigger(new g(w.hU,a.data))};w.prototype.HX=function(){if(this.p){this.set("yaw",this.p.mc());this.set("pitch",this.p.ac());this.set("roll",this.p.ee());this.set("hfov",this.p.Oe());this.set("actualHFOV",this.p.UR());this.set("actualVFOV",this.p.VR())}};w.prototype.jn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,
1812progressVisible:p});this.trigger(new g(w.Ok,a.data))};w.prototype.Iu=function(){this.g.getParent().set("progressVisible",z)};w.prototype.Ni=function(){this.set("viewMode",x.isPresenting()?w.oo:w.RJ)};w.prototype.Nda=function(a,b,c,d){this.p&&this.p.moveTo(a,b,c,d)};w.prototype.nb=function(a){this.p&&this.p.wg(a)};w.prototype.mg=function(){this.p.play()};w.prototype.Wi=function(){this.p.stop()};w.prototype.mk=function(){this.p.pause()};w.prototype.Gz=function(a){this.p&&(this.HY()?this.p.lt(a):this.p.xna(a))};
1813w.prototype.hfa=function(){this.p&&this.p.pw()};w.prototype.ega=function(){this.p&&this.p.uw()};w.prototype.lca=function(a,b){if(this.p)return this.p.qla(a,b)};w.prototype.vF=function(a){this.Gz(a.data.position)};w.prototype.op=function(a){this.Ub=a.data.time;this.Db=a.data.duration;this.nM=a.data.transitionPosition;this.KD=a.data.transitionLength;this.NO=a.data.steps;this.LO=a.data.selectedStep;this.xA()};w.prototype.xA=function(){var a=this.g.getParent(),b=z;if(this.Bba()){var c=this.HY(),d=this.cca();
1814if(c){if(this.KD>0){a.Q({playbackBarPosition:this.nM,playbackBarDuration:this.KD,playbackBarSteps:this.NO,playbackBarSelectedStep:this.LO,playbackBarLiveDragging:d});b=p}}else if(this.Db>0){a.Q({playbackBarPosition:this.Ub,playbackBarDuration:this.Db,playbackBarSteps:n,playbackBarSelectedStep:n,playbackBarLiveDragging:d});b=p}}a.set("playbackBarVisible",b)};w.prototype.Bba=function(){var a=this.get("panorama");return a?h.ub("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",
1815z)):h.ub("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",z)):h.ub("VideoPanorama",a)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",p)):z:z};w.prototype.HY=function(){var a=this.get("panorama");return!a?z:h.ub("HDRPanorama",a)?this.get("hdrPanoramaDisplayPlaybackBarSteps",p):h.ub("LivePanorama",a)?this.get("livePanoramaDisplayPlaybackBarSteps",p):z};w.prototype.cca=function(){var a=this.get("panorama");return!a||h.ub("VideoPanorama",
1816a)?z:p};w.oo="cardboard";w.RJ="standard";w.rm={buttonMoveLeft:{movement:s.Sw,pressedOn:"movingLeft",stopOnRelease:p},buttonMoveRight:{movement:s.Tw,pressedOn:"movingRight",stopOnRelease:p},buttonMoveUp:{movement:s.Uw,pressedOn:"movingUp",stopOnRelease:p},buttonMoveDown:{movement:s.Rw,pressedOn:"movingDown",stopOnRelease:p},buttonPlayLeft:{movement:[s.Sw,s.T],pressedOn:"movingLeft",stopOnRelease:z},buttonPlayRight:{movement:[s.Tw,s.T],pressedOn:"movingRight",stopOnRelease:z},buttonPlayUp:{movement:[s.Uw,
1817s.T],pressedOn:"movingUp",stopOnRelease:z},buttonPlayDown:{movement:[s.Rw,s.T],pressedOn:"movingDown",stopOnRelease:z},buttonZoomIn:{movement:s.pm,pressedOn:"zoomingIn",stopOnRelease:p},buttonZoomOut:{movement:s.qm,pressedOn:"zoomingOut",stopOnRelease:p}};return w});
1818define("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.Te,this.ln,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.Te,this.ln,this);a.get("panorama")==
1819this.get("media")&&a.set("panorama",q)}g.prototype.stop.call(this)};a.prototype.ln=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.Te,this.ln,this);this.get("player").bind(e.yg,this.lp,this);this.Kv()}};a.prototype.lp=function(a){if(a.data.media==this.get("media")){this.get("player").unbind(e.yg,this.lp,this);this.end()}};return a});
1820define("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.Bb=a;this.R=c;this.ba=g;this.iM=j});c.prototype.Ek=function(){return[this.Bb]};c.prototype.Pe=P("Bb");c.prototype.Gc=P("R");c.prototype.sd=P("ba");return c});
1821define("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.Pc=function(){if(this.G==n){var a=this.get("image");this.G=a?new j(g.Dk(a).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",
1822z)):q}return this.G};a.prototype.Qn=function(){var a=this.OD(this.Pc());b(this.get("audios",[])).each(function(b){a=a.concat(b.Qn())},this);return a};a.prototype.OD=function(a){return a?a.Ek():[]};return a});
1823define("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"}).nc([c.ua]);b.prototype.Qn=function(){var b=[],c=this.get("playList");c&&a(c.get("items"),[]).each(function(a){(a=a.get("media"))&&(b=b.concat(a.Qn()))});a(this.get("audios",[])).each(function(a){b=b.concat(a.Qn())});return b};return b});
1824define("ff",["hb","di","fz","fE"],function(a,b,c,e){a=a.extend(c,function(){c.call(this,e.W7)});b.A("PhotoAlbumAudio",a).B("MediaAudio");return a});
1825define("bZ",["es"],function(a){function b(a){this.DW=a;this.Xk=[];this.Sc=[]}b.prototype.clear=function(){for(var a=0;a<this.Xk.length;
1825a++)this.Xk[a].stop();this.Sc=this.Xk=q};b.prototype.stop=function(){for(var a=0;a<this.Sc.length;a++)this.Sc[a].stop()};b.prototype.play=function(){for(var b=0;b<this.Sc.length;b++)this.Sc[b].get("state")!=a.T&&this.Sc[b].play()};b.prototype.pause=function(){for(var b=0;b<this.Sc.length;b++)this.Sc[b].get("state")==a.T&&this.Sc[b].pause()};b.prototype.start=function(){this.stop();
1826for(var a=0;a<this.DW.length;a++){var b=this.DW[a],d=b.Tv();d&&(this.Xk.push(d),b.get("autoplay",z)&&this.Sc.push(d))}for(a=0;a<this.Sc.length;a++)this.Sc[a].play()};return b});define("fe",["hb","bZ"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.tF=a})});define("eC",["hb","bZ"],function(a,b){return a.extend(b,function(a){b.call(this,a.get("audios",[]));this.Ic=a})});
1827define("fQ",["fe","eC"],function(a,b){function c(){this.dg=[];this.Nf=[]}c.prototype.clear=function(){this.W6();this.Nf=this.dg=q};c.prototype.W6=function(){for(var a=0;a<this.dg.length;a++)this.dg[a].clear();for(a=0;a<this.Nf.length;a++)this.Nf[a].clear();this.dg=[];this.Nf=[]};c.prototype.pause=function(){for(var a=0;a<this.dg.length;a++)this.dg[a].pause();for(a=0;a<this.Nf.length;a++)this.Nf[a].pause()};c.prototype.play=function(){for(var a=0;a<this.dg.length;a++)this.dg[a].play();for(a=0;a<this.Nf.length;a++)this.Nf[a].play()};
1828c.prototype.stop=function(){for(var a=0;a<this.dg.length;a++)this.dg[a].stop();for(a=0;a<this.Nf.length;a++)this.Nf[a].clear();this.Nf=[]};c.prototype.yoa=function(b){b=new a(b);this.Nf.push(b);b.start()};c.prototype.Coa=function(a){for(var b=0;b<this.Nf.length;b++)if(this.Nf[b].tF==a){this.Nf[b].clear();this.Nf.splice(b,1);break}};c.prototype.GT=function(a){a=new b(a);this.dg.push(a);a.start()};c.prototype.zoa=function(a){for(var b=0;b<this.dg.length;b++)if(this.dg[b].Ic==a){this.dg[b].clear();this.dg.splice(b,
18291);break}};return c});
1830define("l",["hb","hA"],function(a,b){function c(){this.Y=p;this.aa=this.$=0.5;this.la=1;this.Ec=b.ge;this.wh=this.xh=100}c.prototype.fh=function(){this.$h();return this.$};c.prototype.gh=function(){this.$h();return this.aa};c.prototype.Fk=function(){this.$h();return this.la};c.prototype.FB=function(a,b,c){this.Ec=c;this.aa=this.$=0.5;this.la=1;this.Y=p};c.prototype.Pa=function(a,b,c){this.$=a;this.aa=b;this.la=c;this.Y=p};c.prototype.setSize=function(a,b){this.xh=a;this.wh=b;this.Y=p};c.prototype.$h=
1831function(){if(this.Y){this.Y=z;1>this.la&&(this.la=1);var a=Math.min(0.5/this.la,0.5),b=Math.max(1-0.5/this.la,0.5);this.$<a?this.$=a:this.$>b&&(this.$=b);a=Math.min(0.5/this.la,0.5);b=Math.max(1-0.5/this.la,0.5);this.aa<a?this.aa=a:this.aa>b&&(this.aa=b)}};return c});
1832define("bf",[],function(){function a(a,c){this.g=a;this.H=c;this.aa=this.$=0.5;this.la=1;this.LF=z}a.prototype.start=function(){this.aa=this.$=0.5;this.la=1;this.LF=p};a.prototype.clear=function(){this.H=this.g=q};a.prototype.Pa=function(a,c,e){this.$=a;this.aa=c;this.la=e};a.prototype.$c=P("LF");a.prototype.Va=function(){this.LF=z};return a});
1833define("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});
1834define("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.Va(0)};a.prototype.clear=function(){this.J=q;b.prototype.clear.call(this)};
1835a.prototype.$c=function(){return this.J!=q};a.prototype.Va=function(a){this.J&&(this.J.Va(a),this.H.Pa(this.J.bb("x"),this.J.bb("y"),this.J.bb("zoom")),this.$=this.H.fh(),this.aa=this.H.gh(),this.la=this.H.Fk(),this.J.Dd()&&(this.J=q))};return a});
1836define("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.Nb=b;this.g.bind(m.rb,this.ib,this);this.k=d.L;this.Qh=this.tF=this.Tc=this.G=q;this.H=new j});f.prototype.clear=function(){this.end();this.H=q;this.g.unbind(m.rb,this.ib,this);this.g=q};
1836f.prototype.end=function(a){if(this.G==a||typeof a=="undefined"){this.RX();this.Tc=this.tF=this.Tc=this.G=q}};f.prototype.start=function(a){if(this.G!=a){this.end(this.G);var b=
1837a.get("media"),c=a.get("camera"),d=b.get("width",100),f=b.get("height",100),e=c?c.get("scaleMode",g.ge):g.ge;this.G=a;this.Tc=c;this.tF=b;b.Pc();this.Z=p;this.H.FB(d,f,e);this.kaa(c);this.ga()}};f.prototype.stop=function(){if(this.k!=d.L){this.k=d.L;if(this.Qh){this.Qh.start(this.Tc);this.ga()}}};f.prototype.play=function(){if(this.k==d.L||this.k==d.Hc){this.k=d.T;this.ga()}};f.prototype.pause=function(){if(this.k==d.T)this.k=d.Hc};f.prototype.Yn=function(a){if(this.Qh&&this.Qh.$c()){if(this.k==d.T){this.Qh.Va(a);
1838this.ga()}this.Uh(this.Qh.$,this.Qh.aa,this.Qh.la)}};f.prototype.kaa=function(a){this.RX();this.Qh=e.ub("MovementPhotoCamera",a)?new h(this.g,this.H):new k(this.g,this.H);this.Qh.start(a)};f.prototype.RX=function(){if(this.Qh){this.Qh.clear();this.Qh=q}};f.prototype.ib=function(){this.H.setSize(this.g.za(),this.g.ab());this.ga()};f.prototype.ga=function(){this.trigger(new b(f.sa))};f.prototype.Uh=function(a,b,c){this.Nb.Pa(this.G,a,b,c)};f.sa="request frame";return f});
1839define("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.Tz=[];this.F=a;this.g=b});k.prototype.ht=function(a){this.Lo(a).ht();return this};k.prototype.bd=function(a,b){this.Lo(a).bd(b);return this};k.prototype.ji=function(a,b){this.Lo(a).ji(b);return this};k.prototype.Pa=function(a,b,c,d){this.Lo(a).Pa(b,c,d);return this};k.prototype.dj=function(a){this.Lo(a).dj();return this};
1840k.prototype.stop=function(){this.bY(function(a){a.clear()});this.Tz=[]};k.prototype.clear=function(){this.stop();this.g=this.F=this.Tz=q};k.prototype.$b=function(){this.bY(function(a){a.update()})};k.prototype.Lo=function(a){var b=this.Yaa(a);if(!b){b=new h(a,this.g);b.bind(h.fV,this.Ada,this);b.bind(h.eV,this.zda,this);this.Tz.push(b)}return b};k.prototype.bY=function(a){b(this.Tz).each(a,this)};k.prototype.Yaa=function(a){return b(this.Tz).find(function(b){return b.getItem()==a})};k.prototype.Ada=
1841function(){this.ga()};k.prototype.zda=function(a){this.trigger(new e(k.RI,{item:a.source.getItem()}))};k.prototype.ga=function(){this.trigger(new e(k.sa))};k.sa="request frame";k.RI="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.Ec=c?c.get("scaleMode",j.ge):j.ge;this.og=a.get("media").Pc();this.og.bind(g.O,this.bf,this);this.og.bind(g.kd,this.gp,this);this.V=h.ix;this.aa=this.$=0.5;this.la=1;this.eg=0;this.St=z;this.Kd=0;this.Y=z});h.prototype.getItem=
1842P("G");h.prototype.ht=function(){this.V==h.ix?this.yF():this.j3()};h.prototype.bd=function(a){if(this.eg!=a){this.eg=a;this.Cc()}};h.prototype.ji=function(a){if(this.Kd!=a){this.Kd=a;this.Cc()}};h.prototype.Pa=function(a,b,c){if(this.$!=a||this.aa!=b||this.la!=c){this.$=a;this.aa=b;this.la=c;this.Cc()}};h.prototype.dj=function(){if(!this.St){this.St=p;this.Cc()}};h.prototype.clear=function(){this.V==h.HC&&this.yp();(this.V==h.ex||this.V==h.hx||this.V==h.gx)&&this.Sp();this.og.unbind(g.O,this.bf);
1843this.og.unbind(g.kd,this.gp);this.og=q};h.prototype.update=function(){if(this.Y){this.Y=z;if(this.Kd>-1&&this.Kd<1&&this.eg>0){this.V==h.ix&&this.Ay();this.V==h.ex&&this.N8();if(this.V==h.HC){if(this.St){this.g.RA(this.og);this.St=z}this.g.ug(this.og,this.eg);this.g.Mna(this.og,this.Kd);this.g.LB(this.og,this.$,this.aa,this.la)}}else{this.V==h.HC&&this.yp();(this.V==h.ex||this.V==h.gx)&&this.Sp()}}};h.prototype.Cc=function(){if(!this.Y){this.Y=p;this.Lb()}};h.prototype.Lb=function(){this.trigger(new e(h.fV))};
1844h.prototype.yF=function(){this.V=h.hx;this.g.Un(this.og)};h.prototype.Ay=function(){this.V=h.gx;this.g.Un(this.og)};h.prototype.N8=function(){this.V=h.HC;this.g.QA(this.og);this.g.Pna(this.og,this.Ec)};h.prototype.yp=function(){this.V=h.ex;this.g.removeItem(this.og)};h.prototype.Sp=function(){this.V=h.ix;this.g.mi(this.og)};h.prototype.bf=function(){if(this.V==h.hx||this.V==h.gx){var a=this.V==h.hx;this.V=h.ex;this.Cc();a&&this.j3()}};h.prototype.gp=function(){if(this.V==h.hx||this.V==h.gx)this.V=
1845h.ix};h.prototype.j3=function(){this.trigger(new e(h.eV))};h.fV="requestUpdate";h.eV="preloadEnd";h.ix="unloaded";h.hx="preloading";h.gx="loading";h.ex="loaded";h.HC="added";return k});define("ij",[],function(){return{Lk:"blending",Uk:"scroll"}});
1846define("bu","cI,hb,bI,dT,jd,eZ,ij".split(","),function(a,b,c,e,d,g,j){function k(b,c,d){this.ci=b;this.item=c;this.f7=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.ci==this.ci&&a.item==this.item};var h=b.extend(e,function(a,b,c){e.call(this);this.F=a;this.g=b;this.Nb=c;this.Nb.bind(g.RI,this.S0,this);this.iA=j.Lk;this.V=h.Gt;this.cd=new k(q,q,0);this.Hm=this.lg=this.je=q;this.jA=n;this.Fp=0});h.prototype.moa=N("iA");
1847h.prototype.BT=N("Fp");h.prototype.RT=function(a,b,c){this.lg=q;a=new k(a,b,c);if(!a.isEqual(this.V==h.Gt?this.cd:this.je)){this.lg=a;this.$_()}};h.prototype.clear=function(){(this.V==h.KC||this.V==h.IC)&&this.trigger(new c(h.io,{album:this.je.ci,item:this.je.item}));this.V=h.Gt;this.g=this.F=this.Hm=this.cd=this.je=this.lg=q;this.Nb.unbind(g.RI,this.S0,this);this.Nb=q};
1847h.prototype.$b=function(a){if(this.V!=h.Gt){this.jA=this.jA+a;a=this.je.f7;a=this.jA>=a?1:this.jA/a;this.V==h.IC?this.Xia(a):this.V==
1848h.JC?this.Yia(a):this.iA==j.Lk?this.Pia(a):this.oja(a);a<1?this.ga():this.Ar()}};h.prototype.Xia=function(a){this.Nb.bd(this.je.item,a).ji(this.je.item,0)};h.prototype.Yia=function(a){this.Nb.bd(this.cd.item,1-a).ji(this.cd.item,0)};h.prototype.Pia=function(a){this.Nb.bd(this.je.item,Math.min(1,a*2)).ji(this.je.item,0);this.Nb.bd(this.cd.item,Math.min(1,(1-a)*2)).ji(this.cd.item,0)};h.prototype.oja=function(a){var b=this.cd.ci!=this.je.ci||this.cd.index<this.je.index;this.Nb.ji(this.je.item,(b?1-
1849a:a-1)*(1+this.Fp)).bd(this.je.item,1);this.Nb.ji(this.cd.item,(b?-a:a)*(1+this.Fp)).bd(this.cd.item,1)};h.prototype.$_=function(){this.lg&&this.V==h.Gt&&(this.lg.item&&!this.lg.loaded?this.Nb.ht(this.lg.item):this.uo())};h.prototype.S0=function(a){if(this.lg&&this.lg.item==a.data.item){this.lg.loaded=p;this.$_()}};h.prototype.uo=function(){if(this.Hm&&this.Hm!=this.lg.ci){this.trigger(new c(h.vj,{album:this.Hm}));this.Hm=q}this.trigger(new c(h.YI));if(this.F.get("transitionMode")=="fade_out_fade_in"&&
1850this.lg.item!=q&&this.cd.item!=q){this.V=h.JC;this.je=new k(this.cd.ci,q,this.cd.f7)}else{this.je=this.lg;this.lg=q;if(this.cd.item)if(this.je.item)this.V=h.KC;else{if(this.cd.item)this.V=h.JC}else this.V=h.IC}if(this.V==h.KC||this.V==h.IC){this.Nb.dj(this.je.item);this.trigger(new c(h.Fq,{album:this.je.ci,item:this.je.item}))}this.jA=0;this.ga()};h.prototype.Ar=function(){(this.V==h.KC||this.V==h.JC)&&this.trigger(new c(h.io,{album:this.cd.ci,item:this.cd.item}));this.cd=this.je;if(this.Hm!=this.cd.ci){this.Hm=
1851this.cd.ci;this.trigger(new c(h.wj,{album:this.Hm}))}this.V=h.Gt;if(this.lg==q){this.cd.item&&this.trigger(new c(h.Gq,{album:this.cd.ci,item:this.cd.item}));this.trigger(new c(h.ZI,{album:this.cd.ci,item:this.cd.item}))}else this.uo()};h.prototype.ga=function(){this.trigger(new c(h.sa))};h.Gt="stopped";h.KC="blending";h.JC="fading_out";h.IC="fading_in";h.sa="request frame";h.YI="transition begin";h.ZI="transition end";h.Fq="photo added";h.io="photo removed";h.Gq="photo displayed";h.wj="photo album show";
1852h.vj="photo album hide";return h});
1853define("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.Nb=c;this.Si=this.Fi=this.G=this.Ic=this.Ba=q;this.Rh=n;this.kG=0;this.Xg=z;this.Kd=0;this.JE=this.Si?-1:0;this.DE=this.Fi?1:0;this.J=q;this.Zi=400;this.Fp=0;this.H=new h});o.prototype.clear=function(){this.Nb=this.g=this.F=this.Hm=q};o.prototype.sna=function(b,c){this.Ic=b;this.G=c;var d=b&&b.get("playList")&&b.get("playList").get("items")||
1854[],e=a(d).indexOf(c);this.Fi=e>0?d[e-1]:q;this.Si=e<d.length-1?d[e+1]:q;this.Kd=0;this.JE=this.Si?-1:0;this.DE=this.Fi?1:0;this.yF()};o.prototype.enable=function(){if(this.Ba=this.g.getParent()){this.Ba.bind(d.qb,this.Kb,this,p);this.Ba.bind(d.uc,this.Gh,this,p);this.Ba.bind(d.Ib,this.Mf,this,p);this.yF()}};o.prototype.disable=function(){if(this.Ba){this.Ba.unbind(d.qb,this.Kb,this);this.Ba.unbind(d.uc,this.Gh,this);this.Ba.unbind(d.Ib,this.Mf,this);this.Ba=q}};o.prototype.loa=N("Zi");o.prototype.BT=
1855N("Fp");o.prototype.yF=function(){if(this.Ba){this.Fi&&this.Nb.ht(this.Fi);this.Si&&this.Nb.ht(this.Si)}};o.prototype.k_=function(){return(new Date).getTime()};o.prototype.Kb=function(a){if(!this.Xg){this.Rh=a.x;this.kG=0;this.YO=this.k_();this.Xg=p;this.J=q;this.trigger(new c(o.CI));if(this.Fi){a=this.PY(this.Fi);this.Nb.Pa(this.Fi,a.x,a.y,a.zoom)}if(this.Si){a=this.PY(this.Si);this.Nb.Pa(this.Si,a.x,a.y,a.zoom)}}};o.prototype.Gh=function(a){if(this.Xg){var b=a.x-this.Rh,c=b/this.Ba.za(),d=this.k_()-
1856this.YO;this.kG=b/d;this.YO=this.YO+d;this.Rh=a.x;this.Kd=Math.max(this.JE,Math.min(this.DE,this.Kd+c));this.ga()}};o.prototype.Mf=function(){if(this.Xg){this.Xg=z;var a,b;if(this.kG>1){a="quad_out";b=this.DE}else if(this.kG<-1){a="quad_out";b=this.JE}else{a="quad_in_out";b=this.Kd<-0.5?this.JE:this.Kd>0.5?this.DE:0}this.J=new l(a,[new r("offset",this.Kd,b,1E3/this.Zi)],0);this.ga()}};
1856o.prototype.$b=function(a){if(this.Xg||this.J){if(this.J){this.J.Va(a);this.Kd=this.J.bb("offset");if(this.J.Dd()){this.J=
1857q;this.Naa()}else this.ga()}this.G&&this.Nb.ji(this.G,this.Kd*(1+this.Fp)).bd(this.G,1);this.Fi&&this.Nb.ji(this.Fi,(this.Kd-1)*(1+this.Fp)).bd(this.Fi,1);this.Si&&this.Nb.ji(this.Si,(this.Kd+1)*(1+this.Fp)).bd(this.Si,1)}};o.prototype.Naa=function(){this.trigger(new c(o.DI,{album:this.Ic,item:this.Kd<0?this.Si:this.Kd>0?this.Fi:this.G}))};o.prototype.ga=function(){this.trigger(new c(o.sa))};o.prototype.PY=function(a){var b=a&&a.get("camera"),c=a&&a.get("media"),a=c&&c.get("width",100)||100,c=c&&
1858c.get("height",100)||100,d=b?b.get("scaleMode",j.ge):j.ge,e={};if(g.ub("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.FB(a,c,d);this.H.setSize(this.g.za(),this.g.ab());this.H.Pa(e.x,e.y,e.zoom);e.x=this.H.fh();e.y=this.H.gh();e.zoom=this.H.Fk();return e};o.sa="request frame";o.CI="interaction begin";o.DI="interaction end";return o});
1859define("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.Nb=d;this.iA=g.Lk;this.Zi=1E3;this.od=new j(this.F,this.g,this.Nb);this.od.bind(j.sa,this.Tb,this,p);this.od.bind(j.YI,this.t_,this,p);this.od.bind(j.ZI,this.u_,this,p);this.od.bind(j.Fq,this.bz,this,p);this.od.bind(j.io,this.ez,this,p);this.od.bind(j.Gq,this.dz,this,p);this.od.bind(j.vj,this.ek,this,p);this.od.bind(j.wj,this.Li,this,p);this.Ng=new k(this.F,
1860this.g,this.Nb);this.Ng.bind(k.sa,this.Tb,this,p);this.Ng.bind(k.CI,this.UZ,this,p);this.Ng.bind(k.DI,this.VZ,this,p)});h.prototype.ZH=function(a,b){this.iA=a;this.Zi=b;this.od.moa(a);this.Ng.loa(b);this.od.BT(0.05);this.Ng.BT(0.05)};h.prototype.display=function(a,b){this.od.RT(a,b,this.Zi)};h.prototype.hide=function(){this.od.RT(q,q,this.Zi)};h.prototype.clear=function(){this.od.unbind(j.sa,this.Tb,this);this.od.unbind(j.YI,this.t_,this);this.od.unbind(j.ZI,this.u_,this);this.od.unbind(j.Fq,this.bz,
1861this);this.od.unbind(j.io,this.ez,this);this.od.unbind(j.Gq,this.dz,this);this.od.unbind(j.vj,this.ek,this);this.od.unbind(j.wj,this.Li,this);this.od.clear();this.od=q;this.Ng.bind(k.sa,this.Tb,this,p);this.Ng.bind(k.CI,this.UZ,this,p);this.Ng.bind(k.DI,this.VZ,this,p);this.Ng.clear();this.Nb=this.g=this.F=this.Ng=q};h.prototype.$b=function(a){this.od.$b(a);this.Ng.$b(a)};h.prototype.Tb=function(){this.ga()};h.prototype.bz=function(a){this.trigger(new b(h.Fq,a.data))};h.prototype.ez=function(a){this.trigger(new b(h.io,
1862a.data))};h.prototype.dz=function(a){this.trigger(new b(h.Gq,a.data));this.Ng.sna(a.data.album,a.data.item)};h.prototype.ek=function(a){this.trigger(new b(h.vj,a.data))};h.prototype.Li=function(a){this.trigger(new b(h.wj,a.data))};h.prototype.t_=function(){this.Ng.disable()};h.prototype.u_=function(a){this.iA==g.Uk&&a.data.item&&this.Ng.enable()};h.prototype.UZ=function(){this.trigger(new b(h.jU))};h.prototype.VZ=function(a){this.od.RT(a.data.album,a.data.item,0);this.trigger(new b(h.kU,a.data))};
1863h.prototype.ga=function(){this.trigger(new b(h.sa))};h.sa="request frame";h.Fq="photo added";h.io="photo removed";h.Gq="photo displayed";h.wj="photo album show";h.vj="photo album hide";h.jU="manual interaction begin";h.kU="manual interaction end";return h});
1864define("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.Ic=q;this.k=j.L;this.DP=q});k.prototype.clear=function(){this.QR()};k.prototype.GT=function(a){this.QR();this.Ic=a;this.k=j.T;this.DP=e.watch(this.Ic,"playList.selectedIndex",this.ts,this);this.Ic.get("playList").get("selectedIndex")==0?this.ts():this.Ic.get("playList").set("selectedIndex",0)};k.prototype.QR=function(){if(this.Ic){this.k=
1865j.L;this.DP.unwatch();this.Ic=this.DP=q}};k.prototype.stop=function(){if(this.k!=j.L){this.k=j.L;this.Ic.get("playList").set("selectedIndex",0)}};k.prototype.play=function(){if(this.k==j.L){this.Ic.get("playList").set("selectedIndex",0);this.k=j.T;this.ts()}else if(this.k==j.Hc)this.k=j.T};k.prototype.pause=function(){if(this.k==j.T)this.k=j.Hc};k.prototype.next=function(){var a=this.Ic.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b<c-1||this.Ic.get("loop"))&&a.set("selectedIndex",
1866(b+1)%c)};k.prototype.SS=function(){var a=this.Ic.get("playList"),b=a.get("selectedIndex"),c=a.get("items").length;(b>0||this.Ic.get("loop"))&&a.set("selectedIndex",(b-1+c)%c)};k.prototype.EH=function(a){this.hha(a)};
1866k.prototype.ima=function(a){if(this.Ic){var c=b(this.Ic.get("playList").get("items")).last();if(a==c&&!this.Ic.get("loop")){this.k=j.L;this.trigger(new d(k.zI,{album:this.Ic}))}else this.next()}};k.prototype.ts=function(){var a=this.nca();a>=0&&(this.k!=j.T&&a!=0?this.trigger(new d(k.TI)):
1867this.trigger(new d(k.HI,{album:this.Ic,item:this.Ic.get("playList").get("items")[a]})))};k.prototype.nca=function(){return this.Ic?this.Ic.get("playList").get("selectedIndex"):-1};k.prototype.hha=function(a){if(this.Ic){var c=this.Ic.get("playList"),a=b(c.get("items")).indexOf(a);c.set("selectedIndex",a)}};k.TI="play request";k.HI="item request";k.zI="album end";return k});
1868define("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.gA=this.G=q;this.ns=n;this.mE=z;this.k=g.L;j.bind(c.W,this.A0,this,p)});k.prototype.EH=function(a){this.IL();if(this.G=a){a=this.G.get("media").get("duration",0);this.ns=a==0?n:Math.max(0,a-this.F.get("transitionDuration"));this.mE=z;this.k==g.T&&this.$L()}};k.prototype.clear=function(){j.unbind(c.W,this.A0,this,
1869p);this.EH(q)};k.prototype.stop=function(){if(this.k!=g.L){this.IL();this.ob(g.L)}};k.prototype.play=function(){if(this.k==g.L){this.ob(g.T);if(this.G){this.mE=z;this.ns=this.G.get("media").get("duration",0);this.$L()}}else if(this.k==g.Hc){this.ob(g.T);this.G&&this.$L()}};k.prototype.pause=function(){if(this.k==g.T){this.ob(g.Hc);this.Q0()}};k.prototype.$L=function(){if(!this.mE){this.mE=p;this.trigger(new e(k.II,{item:this.G}))}this.eY()};k.prototype.A0=function(){j.visible?this.eY():j.visible||
1870this.Q0()};k.prototype.eY=function(){if(this.ns!==n){var a=this;this.sG=(new Date).getTime()+this.ns;this.gA=setTimeout(function(){a.gA=q;a.hia()},this.ns)}else this.sG=n};k.prototype.IL=function(){if(this.gA){clearTimeout(this.gA);this.gA=q}};k.prototype.Q0=function(){if(this.sG!==n){this.IL();this.ns=Math.max(1,this.sG-(new Date).getTime());this.sG=n}};k.prototype.hia=function(){var a=this.G;this.G=q;this.ns=n;this.trigger(new e(k.GI,{item:a}))};k.prototype.ob=function(a){if(this.k!=a){this.k=a;
1871this.trigger(new e(k.Cb,{state:this.k}))}};k.Cb="playback state change";k.II="item start";k.GI="item end";return k});
1872define("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.Qj=z;this.g=a;this.Ai=d.browser()==d.cC&&d.Ed()==d.EJ?3:1;this.le=this.Ux=0});g.prototype.clear=function(){this.Z=z;this.g=q;this.le=this.Ux=0};g.prototype.Aa=function(){this.Qj||(this.Qj=p,e.Aa(this.af,this))};g.prototype.af=function(a){this.Z&&(this.Ux++,this.le+=a,this.Ux==this.Ai?(this.Ux=0,this.Qj=z,a=this.le,this.le=0,this.trigger(new b(g.yj,{frameTime:a})),this.trigger(new b(g.zj,
1873{frameTime:a})),this.g.render()):e.Aa(this.af,this))};g.yj="frameStart";g.zj="positionSet";return g});
1874define("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.Ge=new k(this.g);this.$a=new h(this.F);this.Nb=new m(this.F,this.g);this.X=new j(this.F,this.g,this.Nb);this.ia=new g(this.g,this.Nb);this.qc=new f(this.g);this.vd=new d;this.Nb.bind(m.sa,this.Tb,this,p);this.Ge.bind(k.HI,this.L_,this,p);this.Ge.bind(k.TI,this.d0,this,p);this.Ge.bind(k.zI,this.cz,this,p);this.$a.bind(h.II,this.M_,this);this.$a.bind(h.GI,
1875this.K_,this);this.$a.bind(h.Cb,this.Ld,this,p);this.X.bind(j.sa,this.Tb,this,p);this.X.bind(j.Fq,this.bz,this,p);this.X.bind(j.io,this.ez,this,p);this.X.bind(j.Gq,this.dz,this,p);this.X.bind(j.vj,this.ek,this,p);this.X.bind(j.wj,this.Li,this,p);this.X.bind(j.jU,this.uea,this,p);this.X.bind(j.kU,this.vea,this,p);this.ia.bind(g.sa,this.Tb,this,p);this.qc.bind(f.yj,this.mp,this,p);this.qc.bind(f.zj,this.np,this,p)});l.prototype.clear=function(){this.Ge.clear();this.$a.clear();this.X.clear();this.ia.clear();
1876this.qc.clear();this.vd.clear();this.Nb.clear();this.Nb.unbind(m.sa,this.Tb,this);this.Ge.unbind(k.HI,this.L_,this);this.Ge.unbind(k.zI,this.cz,this);this.Ge.unbind(k.TI,this.d0,this);this.$a.unbind(h.II,this.M_,this);this.$a.unbind(h.GI,this.K_,this);this.$a.unbind(h.Cb,this.Ld,this);this.X.unbind(j.sa,this.Tb,this);this.X.unbind(j.Fq,this.bz,this);this.X.unbind(j.io,this.ez,this);this.X.unbind(j.Gq,this.dz,this);this.X.unbind(j.vj,this.ek,this);this.X.unbind(j.wj,this.Li,this);this.ia.unbind(g.sa,
1877this.Tb,this);this.qc.unbind(f.yj,this.mp,this);this.qc.unbind(f.zj,this.np,this);this.F=this.g=this.Nb=this.vd=this.qc=this.ia=this.X=this.$a=this.Ge=q};l.prototype.ZH=function(a,b){this.X.ZH(a,b)};l.prototype.coa=function(a){this.Ge.GT(a)};l.prototype.kt=function(){this.Ge.QR();this.$a.stop();this.X.hide();this.ia.end();this.vd.W6()};l.prototype.next=function(){this.Ge.next()};l.prototype.SS=function(){this.Ge.SS()};l.prototype.stop=function(){this.$a.stop();this.vd.stop();this.Ge.stop();this.ia.stop()};
1878l.prototype.play=function(){this.$a.play();this.vd.play();this.Ge.play();this.ia.play()};l.prototype.pause=function(){this.$a.pause();this.vd.pause();this.Ge.pause();this.ia.pause()};l.prototype.uea=function(){this.$a.pause();this.vd.pause();this.Ge.pause();this.ia.pause()};l.prototype.vea=function(){this.$a.play();this.vd.play();this.Ge.play();this.ia.play()};l.prototype.L_=function(a){this.X.display(a.data.album,a.data.item)};l.prototype.d0=function(){this.play()};l.prototype.Tb=function(){this.qc.Aa()};
1879l.prototype.mp=function(a){this.ia.Yn(a.data.frameTime)};l.prototype.np=function(a){a=a.data.frameTime;this.X.$b(a);this.Nb.$b(a)};l.prototype.bz=function(a){this.ia.start(a.data.item)};l.prototype.ez=function(a){var b=a.data.album,a=a.data.item,d=a.get("media");this.ia.end(a);this.vd.Coa(d);this.trigger(new c(l.QI,{photoAlbum:b,item:a}))};l.prototype.dz=function(a){var b=a.data.album,a=a.data.item;a.get("media");this.Ge.EH(a);this.$a.EH(a);this.trigger(new c(l.OI,{photoAlbum:b,item:a}))};l.prototype.M_=
1880function(a){this.vd.yoa(a.data.item.get("media"))};l.prototype.K_=function(a){this.Ge.ima(a.data.item)};l.prototype.cz=function(a){this.$a.stop();this.vd.stop();this.trigger(new c(l.NI,{photoAlbum:a.data.album}))};l.prototype.Li=function(a){a=a.data.album;this.vd.GT(a);this.$a.play();this.ia.play();this.trigger(new c(l.wj,{photoAlbum:a}))};l.prototype.ek=function(a){a=a.data.album;this.vd.zoa(a);this.trigger(new c(l.vj,{photoAlbum:a}))};l.prototype.Ld=function(a){this.trigger(new c(l.Cb,{state:a.data.state}))};
1881l.wj="photoAlbumShow";l.NI="photoAlbumEnd";l.vj="photoAlbumHide";l.OI="photoBegin";l.QI="photoEnd";l.Cb="playbackStateChange";return l});
1882define("eM","require,jquery.mod,cI,hA,gX,hp,r".split(","),function(a){function b(a,b){this.G=a;this.P=b;this.Ca=a.Gc();this.Ka=a.sd();this.FD=a.iM;this.zR=this.zy=0;this.eg=1;this.Kd=0;this.Y=p;this.eL();this.Ta=this.Ra=100;this.aa=this.$=0.5;this.la=1;this.sz=p;this.Kc=1;this.cY={};this.rZ={};this.M3=j.LR&&k.browser()!=k.oh}var c=a("jquery.mod"),e=a("cI"),d=a("hA"),g=a("gX"),j=a("hp"),k=a("r");b.prototype.eL=function(){this.EC=c("<div></div>");var a={position:"absolute",left:"0",top:"0",width:this.Ra+
1883"px",height:this.Ta+"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.EC.css(a);this.GJ=c(g.Cd(this.G.Pe()));a={display:"block",position:"absolute",left:"0",top:"0",width:this.Ca+"px",height:this.Ka+"px"};a["-moz-transform-origin"]=a["-webkit-transform-origin"]=a["transform-origin"]="0 0 0";a["-ms-transform-origin"]="0 0";this.GJ.css(a);this.EC.append(this.GJ)};b.prototype.kb=
1884P("EC");b.prototype.getItem=P("G");b.prototype.fh=P("$");b.prototype.gh=P("aa");b.prototype.Fk=P("la");b.prototype.za=function(){return Math.round(this.Ca*this.la*this.Kc)};b.prototype.ab=function(){return Math.round(this.Ka*this.la*this.Kc)};
1884b.prototype.bd=function(a){if(this.eg!=a){this.eg=a;this.Y=p}};b.prototype.nq=function(a){if(this.Ec!=a){this.Ec=a;this.Y=p}};b.prototype.dm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Y=p}};b.prototype.Pa=function(a,b,c){if(this.$!=a||
1885this.aa!=b||this.la!=c){this.$=a;this.aa=b;this.la=c;this.Y=p}};b.prototype.ji=function(a){if(this.Kd!=a){this.Kd=a;this.Y=p}};b.prototype.tna=function(a){if(this.zR!=a){this.zR=a;this.Y=p}};b.prototype.render=function(){if(this.Y){this.Y=z;switch(this.Ec){case d.NONE:this.Kc=1;break;case d.Bj:this.Kc=this.Ra/this.Ca;break;case d.bg:this.Kc=this.Ta/this.Ka;break;case d.Pk:this.Kc=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;default:this.Kc=this.Ca*this.Ta>this.Ka*this.Ra?
1886this.Ra/this.Ca:this.Ta/this.Ka}var a=this.la*this.Kc,b=this.Ra*0.5-this.$*this.Ca*a,c=this.Ta*0.5-this.aa*this.Ka*a,g=this.Ra*this.Kd,j=function(a,b){return Math.round(a*Math.pow(10,b))*Math.pow(10,-b)},k={};k.width=j(this.Ra,0)+"px";k.height=j(this.Ta,0)+"px";k.transform=this.M3?"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.zR;if(this.eg==0)k.display="none";else{k.display="block";if(this.eg==
18871){k.filter=k["-ms-filter"]="";k.opacity=""}else{k.filter=k["-ms-filter"]="alpha(opacity="+Math.round(this.eg*100)+")";k.opacity=this.eg}}g=[];if(this.M3){g.push("translate3d("+j(b,2)+"px, "+j(c,2)+"px, 0px)");g.push("scale3d("+a+", "+a+", "+a+")");if(this.FD){g.push("translate3d("+this.Ca+"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.FD){g.push("translate("+this.Ca+"px, 0)");g.push("scale(-1, 1)")}}a={};a["-moz-transform"]=
1888a["-webkit-transform"]=a["-ms-transform"]=a.transform=g.join(" ");if(!e.isEqual(this.cY,k)){this.cY=k;this.EC.css(k)}if(!e.isEqual(this.rZ,a)){this.rZ=a;this.GJ.css(a)}}};return b});
1889define("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.Nc("Renderer");this.set("toolTipDisabled",p);this.set("cursor",h.Pw);this.bind(d.rb,this.ib,this,p);this.bind(d.Ef,this.fk,this,p);this.bind(d.zg,this.ck,this,p);this.sl=z;this.vb=[];this.zs=this.rg=z;this.FO=b("<div/>");this.FO.css({position:"absolute",left:0,top:0,right:0,bottom:0,
1890overflow:"hidden","-webkit-transform":"translateZ(0)"});this.La().append(this.FO)});a.prototype.Un=function(a){j.Un(a,g.Sk)};a.prototype.mi=function(a){j.mi(a,g.Sk)};a.prototype.QA=function(a){a=new k(a,this);a.dm(this.za(),this.ab());a.Pa(0.5,0.5,0,1);this.FO.append(a.kb());this.vb.push(a);this.rg=p};a.prototype.removeItem=function(a){if(a=this.Oj(a)){this.vb=c.without(this.vb,a);a.kb().detach();this.rg=p}};a.prototype.RA=function(a){if(a=this.Oj(a)){this.vb=c.without(this.vb,a);this.vb.push(a);
1891this.rg=p}};a.prototype.Pna=function(a,b){this.Oj(a).nq(b)};a.prototype.ug=function(a,b){this.Oj(a).bd(b)};a.prototype.Mna=function(a,b){this.Oj(a).ji(b)};a.prototype.LB=function(a,b,c,d){this.Oj(a).Pa(b,c,d)};a.prototype.kB=function(a){return this.Oj(a).fh()};a.prototype.lB=function(a){return this.Oj(a).gh()};a.prototype.M4=function(a){return this.Oj(a).Fk()};a.prototype.jB=function(a){return this.Oj(a).za()};a.prototype.iB=function(a){return this.Oj(a).ab()};a.prototype.render=function(){if(this.sl){this.jja();
1892this.Aha();for(var a=0;a<this.vb.length;a++)this.vb[a].render()}};a.prototype.jja=function(){if(this.zs){this.zs=z;for(var a=this.za(),b=this.ab(),c=0;c<this.vb.length;c++)this.vb[c].dm(a,b)}};a.prototype.Aha=function(){if(this.rg){this.rg=z;for(var a=[],b=0;b<this.vb.length;b++){var c=this.vb[b],d={};d.FH=c.zy;d.index=b;d.bm=c;a.push(d)}a.sort(function(a,b){return a.FH==b.FH?a.index-b.index:a.FH-b.FH});for(b=0;b<a.length;b++)a[b].bm.tna(b+1)}};a.prototype.Oj=function(a){if(this.Opa==a)return this.Npa;
1893for(var b=q,c=0;c<this.vb.length&&!b;c++)this.vb[c].getItem()==a&&(b=this.vb[c]);return b};a.prototype.ib=function(){this.zs=p;this.render()};a.prototype.fk=function(){this.sl=p;this.render()};a.prototype.ck=function(){this.sl=z};return a});
1894define("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=
1894a("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.wG=this.EO=this.pg=z;this.p=this.g=q;this.S9=new d(this,"buttonNext",f.vc);this.S9.bind(l.U,this.zea,this);this.T9=new d(this,"buttonPrevious",f.vc);this.T9.bind(l.U,this.Jea,this);this.Vc=b.Xn(this.Ke,this)});e.A("PhotoAlbumPlayer",a).B("Object").K({photoAlbum:"PhotoAlbum",
1895viewerArea:"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]]",
1896buttonPlayPause:"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]]"}).vg({play:function(){this.Ku()},pause:function(){this.Ju()},stop:function(){this.bs()},restart:function(){this.as()}}).nc([g.Te,g.yg,j.jd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "photoAlbum":this.EO=p;this.Vc();break;case "viewerArea":this.pg=
1897p;this.Vc();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.wG=p;this.Vc()}j.prototype.set.call(this,a,b)}};a.prototype.Ke=function(){if(this.pg){this.pg=z;this.wG=p;this.vr();this.get("viewerArea")&&this.qr();this.eG(this.get("viewerArea"))}if(this.g&&this.EO){this.EO=z;if(this.get("photoAlbum")){this.IF();this.p.coa(this.get("photoAlbum"))}else this.p.kt()}if(this.wG){this.wG=z;this.H3()}};a.prototype.Yz=
1898function(){this.set("photoAlbum",q)};a.prototype.qr=function(){var a=this.get("viewerArea");this.g=new m;this.g.Q({left:0,top:0,bottom:0,right:0});a.qa(this.g);this.p=new k(a,this.g);this.H3();this.p.bind(k.wj,this.Li,this);this.p.bind(k.vj,this.ek,this);this.p.bind(k.NI,this.cz,this);this.p.bind(k.OI,this.b0,this);this.p.bind(k.QI,this.c0,this);this.p.bind(k.Cb,this.Ld,this);this.jv(p)};a.prototype.vr=function(){if(this.g){this.p.unbind(k.wj,this.Li,this);this.p.unbind(k.vj,this.ek,this);this.p.unbind(k.NI,
1899this.cz,this);this.p.unbind(k.OI,this.b0,this);this.p.unbind(k.QI,this.c0,this);this.p.unbind(k.Cb,this.Ld,this);this.p.clear();this.g.getParent().removeChild(this.g);this.g=q;this.jv(z)}};a.prototype.H3=function(){var a=this.get("viewerArea");a&&this.p&&(a.Di?this.p.ZH(this.get("touchTransition",h.Lk),this.get("touchTransitionDuration",a.get("transitionDuration",1E3))):this.p.ZH(this.get("mouseTransition",h.Lk),this.get("mouseTransitionDuration",a.get("transitionDuration",1E3))))};a.prototype.Ld=
1900function(a){this.ob(a.data.state)};a.prototype.Li=function(a){this.FE(a.data.photoAlbum)};a.prototype.ek=function(a){this.EE(a.data.photoAlbum)};a.prototype.cz=function(a){a.data.photoAlbum.trigger(new c(l.ua))};a.prototype.b0=function(a){a.data.item.Kv()};a.prototype.c0=function(a){a.data.item.end()};a.prototype.jn=function(a){this.g.getParent().Q({progressPercent:a.data.percent,progressVisible:p})};a.prototype.Iu=function(){this.g.getParent().set("progressVisible",z)};a.prototype.zea=function(){this.p&&
1901this.get("photoAlbum")&&this.p.next()};a.prototype.Jea=function(){this.p&&this.get("photoAlbum")&&this.p.SS()};a.prototype.mg=function(){this.p&&this.get("photoAlbum")&&this.p.play()};a.prototype.Wi=function(){this.p&&this.get("photoAlbum")&&this.p.stop()};a.prototype.mk=function(){this.p&&this.get("photoAlbum")&&this.p.pause()};return a});
1902define("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.Te,this.Li,this),a.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var a=this.get("player");a&&(a.unbind(c.Te,this.Li,this),a.get("photoAlbum")==this.get("media")&&a.set("photoAlbum",q));e.prototype.stop.call(this)};
1903a.prototype.WB=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].WB())}e.prototype.WB.call(this)};a.prototype.Li=function(){this.get("player").unbind(c.Te,this.Li,this);this.get("player").bind(c.yg,this.ek,this);this.Kv()};a.prototype.ek=function(){this.get("player").unbind(c.yg,this.ek,this);this.end()};return a});
1904define("et",["hb","di","fz","fE"],function(a,b,c,e){a=a.extend(c,function(){c.call(this,e.X7)});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});
1905define("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.Lc=-1;this.dc=[];this.uz=this.ak=this.vf=n;e.call(this)});g.A("PlayList",a).B("Object").K({items:"array[PlayListItem]",selectedIndex:"number"}).kh([k.sI]).nc([k.W]);a.prototype.set=function(a,b){a=="selectedIndex"?this.gha(b):a=="items"?this.Wga(b):e.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){return a=="selectedIndex"?
1906this.Lc:a=="items"?this.dc:e.prototype.get.call(this,a,b)};a.prototype.Wga=function(a){a=a||[];if(!b.isEqual(this.dc,a)){var c=this.Lc;this.dc=a;a=this.K1(this.Lc);this.trigger(new d(k.sI,{nextSelectedIndex:a}));this.Lc=a;this.k2(this.Lo(this.Lc));this.B3();this.trigger(new d(k.W,{previousSelectedIndex:c}));e.prototype.set.call(this,"items",this.dc);e.prototype.set.call(this,"selectedIndex",this.Lc)}};a.prototype.gha=function(a){a=this.K1(a);if(this.Lc!=a){var b=this.Lc;this.trigger(new d(k.sI,{nextSelectedIndex:a}));
1907this.Lc=a;this.k2(this.Lo(this.Lc));this.B3();this.trigger(new d(k.W,{previousSelectedIndex:b}));e.prototype.set.call(this,"selectedIndex",this.Lc)}};a.prototype.K1=function(a){return Math.max(-1,Math.min(this.dc.length-1,a))};a.prototype.Lo=function(a){return a>=0?this.dc[a]:q};
1907a.prototype.k2=function(a){if((this.vf!=a||this.ak!==n)&&this.ak!==a)if(this.ak===n){this.ak=a;if(this.vf)if(this.ak&&this.vf.get("player")==this.ak.get("player")){this.vf.WB();this.$r()}else this.vf.stop();else this.$r()}else this.ak=
1908a};a.prototype.$r=function(){if(this.vf){this.vf.unbind(k.tj,this.hO,this);this.vf.unbind(k.ud,this.$r,this);this.vf.unbind(k.ua,this.$r,this)}if(this.ak){this.vf=this.ak;this.ak=n;this.vf.bind(k.tj,this.hO,this);this.vf.bind(k.ud,this.$r,this);this.vf.start()}else{this.ak=this.vf=n;this.set("selectedIndex",-1)}};a.prototype.hO=function(){this.vf.unbind(k.tj,this.hO,this);this.vf.unbind(k.ud,this.$r,this);this.vf.bind(k.ua,this.$r,this)};a.prototype.B3=function(){this.uz&&j.IH(this.uz.get("media"),
1909-1);(this.uz=this.dc&&this.Lc>=0?this.dc[(this.Lc+1)%this.dc.length]:q)&&j.IH(this.uz.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});
1910define("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]",
1911playheadBackgroundColorRatios:"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]",
1912stepBackgroundColorRatios:"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]",
1913selectedStepBackgroundColorRatios:"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",
1914position:"number",duration:"number",steps:"number",selectedStep:"number"});return b});
1915define("if",["require"],function(){function a(a){try{for(var d=(c.ES<<12)+c.LS&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={rka:"true"};c.ES=parseInt("0")||
19160;c.LS=parseInt("1120")||1;c.Boa="true";c.name=a("ASTASkAS2ATJATTATUATBASAASwATMATBATZATFATS");c.n7=a("");return c});
1917define("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):cl
1917ients.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||
1918window.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?
1919(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():
1920Promise.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""!=
1921a})}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")})})}
1922function 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,
1923b){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";
1924case ".gif":return"image/gif";case ".htm":case ".html":return"text/html";case ".jpeg":case ".jpg":return"image/jpeg";case ".js":return"text/javascript";
1924case ".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";
1925case ".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{LH:function(){return d()},toURL:function(b,c){return a(b).then(function(a){var a=new URL(a),b=
1926c?"persistent":"temporary",d=a.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+a.origin+"/"+b+d})},Wma:function(a){return e().then(function(b){return c(b,a)}).then(function(a){return b(a)}).then(function(a){v=a})},Oma: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)})},n6:function(a,c){var d=j(a);return b(1024,
1927c).then(function(a){return o(a.root,d)}).then(function(a){return h(a)},function(){return Promise.resolve()})},o7: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:",
1928a,b);g("error writing file: "+a)};d.write(new Blob([b],{type:c||u(e)}))})})}}});
1929define("bG",["require","hz","hE","r"],function(a){function b(a,b){this.yn=a;this.FK=z;this.xz=q;this.Mi=b||D()}function c(a){return a.tt>=g}var e=a("hz"),d=a("hE"),g=1048576,j=10485760,k=a("r").kf()?3:5,a={File:function(a,b){this.url=a;this.tt=b;this.CB=this.Nv=0}},h=a.Files=function(a,b,c,d){this.VW=this.A9=a;this.kl=b.slice();this.iY=[];var e=0;this.kl.sort(function(a,b){return a.tt-b.tt});this.kl.forEach(function(a){e+=a.tt});this.X2=e;this.zr=[];this.YC=n;this.bl=[];this.GK=z;this.nd=c||D();this.bM=
1930d||D()};h.prototype.Kl=function(){return this.s$().then(function(){return this.t$()}.bind(this))};h.prototype.s$=function(){return caches["delete"](this.VW)};h.prototype.t$=function(){var a=(new d(this.A9)).pathname;return e.n6(a,z).then(function(){return e.n6(a,p)})};h.prototype.requestStorage=function(){return e.Wma(Math.round(1.1*this.X2+10485760)).then(function(){return e.LH()})};h.prototype.download=function(){this.GK=z;this.YC=0;this.Kl().then(function(){this.Sx()}.bind(this))["catch"](function(a){console.log("error cleaning storage",
1931a);e.LH().then(function(a){this.bM(z,a)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.GK=p;this.bl.forEach(function(a){a.cancel()});this.Kl()};h.prototype.Sx=function(){if(!(this.GK||this.bl.length>=k))if(0<this.kl.length){var a;if(1==k)a=0.5<Math.random()?this.kl.shift():this.kl.pop();else if(0==this.zr.filter(c).length)a=this.kl.pop();else{if(c(this.kl[0]))return;a=this.kl.shift()}this.zr.push(a);var g=d.Jv(a.url,"nc="+(new Date).getTime()),h=new b(g,function(b){a.Nv=b.Nv;
1932this.Bk()}.bind(this));this.bl.push(h);h.fetch().then(function(b){return this.Tha(a.url,b)}.bind(this)).then(function(){this.ZX(a,h,p)}.bind(this))["catch"](function(b){console.log("download error",a.url,a.tt,a.Nv,b);this.ZX(a,h,z)}.bind(this));this.Sx()}else if(0==this.bl.length){var j=5>=this.iY.length;e.LH().then(function(a){this.bM(j,a)}.bind(this))}};h.prototype.ZX=function(a,b,d){d?(this.zr.splice(this.zr.indexOf(a),1),this.bl.splice(this.bl.indexOf(b),1),this.YC+=a.tt,this.Bk(),this.Sx()):
1933(a.Nv=0,a.CB+=1,this.Bk(),20<=a.CB?(console.log("Error downloading file: "+a.url+" after "+a.CB+" retries."),this.EZ(a.url)?(this.iY.push(a),this.bl.splice(this.bl.indexOf(b),1),this.Sx()):(this.cancelDownload(),e.LH().then(function(a){this.bM(z,a)}.bind(this)))):(console.log("Error downloading file: "+a.url+" attempt "+a.CB+" of 20. Will retry in 2000ms."),setTimeout(function(){this.zr.splice(this.zr.indexOf(a),1);this.bl.splice(this.bl.indexOf(b),1);c(a)?this.kl.push(a):this.kl.splice(0,0,a);this.Sx()}.bind(this),
19342E3)))};h.prototype.Tha=function(a,b){return this.Vha(a,b).then(function(){if(!this.EZ(a)
1934)return this.Uha(a,b)}.bind(this))};h.prototype.Uha=function(a,b){b=b.clone();return 200!=b.status?Promise.reject("response status: "+b.status):caches.open(this.VW).then(function(c){return c.put(a,b)})};h.prototype.Vha=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,
1935d){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==
1936a.length)return Promise.resolve();var b=a.shift();return e.o7(c,b).then(function(){h(a)})}function k(a){console.log("Error writing response to file system:",a);e.Oma(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.EZ=function(a){var a=(new d(a)).pathname,b="."+a.split(".").pop().toLowerCase();return 0<=m.indexOf(b)&&
19370>a.indexOf("loading/")};h.prototype.Bk=function(){var a=this.YC;this.zr.forEach(function(b){a+=b.Nv});this.nd(100*a/this.X2)};b.prototype.fetch=function(){return fetch(this.yn).then(function(a){if(this.FK)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.xz=a.body.getReader();var e=z,g=function(a){this.FK?a.close():e=p}.bind(this),h=function(a){return this.xz.read().then(function(b){var e=
1938b.value;e&&(d+=e.byteLength,a.enqueue(e));b.done&&(c=d,j(a));this.Mi({tt:c,Nv: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.xz=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.FK=p;this.xz&&this.xz.cancel()};a.Kl=function(a){return(new h(a,[])).Kl()};return a});
1939define("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.xa=a;this.k="initial";this.GP=this.fG=this.Kf=q;this.lP=z;this.Dr=q;this.EA=n;this.ur=l;this.tE=r.R5();this.GN=m.hh("vr");if(!this.ur&&!this.tE){window.removeEventListener("beforeinstallprompt",b);window.addEventListener("beforeinstallprompt",
1940this.cea.bind(this))}this.tE||window.addEventListener("appinstalled",this.h9.bind(this))});r.prototype.DT=function(a){this.fG=a;this.yh=m.oq(this.fG.get(TDV.PlayerSettings.BASE_DIR_URL)||m.getDirectory(this.fG.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));if(this.yh[this.yh.length-1]!="/")this.yh=this.yh+"/";this.Kf=new o(this.yh);this.EA=this.r1=a.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.Mca=m.parse(m.getDirectory(window.location.href)).pathname;this.Uaa=m.Jv(m.oq("files.json",this.yh),
1941this.r1);a=TDV.wa.d5();this.GP=m.Jv(this.fG.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+a.MAJOR+"."+a.MINOR);this.Kf=new o(this.yh);this.Kf.bind(d.O,this.dia,this,p);this.Kf.load()};r.prototype.jw=function(){return this.Kf.state==o.Mw};r.prototype.k4=function(){return this.k=="can_install"&&!this.GN};r.prototype.l4=function(){return this.jw()&&this.EA!=this.Kf.version&&!this.GN};r.prototype.j4=function(){return this.Kf.state!=o.cU&&!this.GN};r.prototype.B5=function(){if(this.k=="can_install")if(this.ur){this.ur.userChoice.then(function(a){a.outcome!=
1942"accepted"&&this.ob("unavailable")}.bind(this));this.ur.prompt().then(function(){this.ur=q}.bind(this))}else this.TL()};r.prototype.cancel=function(){if(this.k=="downloading"){if(this.Dr){this.Dr.cancelDownload();this.Dr=q}this.Kf.Kl();this.ob("unavailable")}};r.prototype.Kl=function(){k.Kl(this.yh);this.Kf.Kl()};r.prototype.dia=function(){this.xa.get("downloadEnabled")!==p?this.ob("unavailable"):j.browser()!=j.oi||j.pd()==j.tq||j.pd()==j.xt?this.ob("unavailable"):this.GP?"serviceWorker"
1942in navigator?
1943this.jw()&&!this.l4()?this.ob("unavailable"):navigator.onLine?this.Kfa():this.ob("unavailable"):this.ob("unavailable"):this.ob("unavailable")};r.prototype.ob=function(a){if(this.k!=a){this.k=a;a=["can_install","unavailable"].indexOf(this.k)>=0;if(this.lP!=a)(this.lP=a)&&this.trigger(d.Sb)}};r.prototype.Kfa=function(){this.ob("registering_sw");navigator.serviceWorker.register(this.GP,{scope:this.Mca}).then(function(){this.R1(p)}.bind(this))["catch"](function(){this.R1(z)}.bind(this))};r.prototype.R1=
1944function(a){if(a)if(j.kf())this.ob("can_install");else if(this.tE&&this.Kf.state==o.yI){this.ob("can_install");this.TL()}else if(this.ur)this.ob("can_install");else{this.ob("sw_registered");setTimeout(function(){this.k=="sw_registered"&&this.ob("can_install")}.bind(this),3E3)}else this.ob("unavailable")};r.prototype.cea=function(a){this.ur=a;this.k=="sw_registered"&&this.ob("can_install")};r.prototype.h9=function(){this.k=="sw_registered"&&this.ob("can_install");this.TL()};r.prototype.TL=function(){this.ob("downloading");
1945this.trigger(d.tj);this.k3(0);this.Cda()};r.prototype.Cda=function(){var a=[];j.kf()?a.push("mobilevr"):j.Xa()?a.push("mobile"):a.push("desktop");var b=m.Jv(this.Uaa,"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.oq(d,this.yh);c.push(new k.File(e,b[d].size))}var h=(new m(window.location.pathname,window.location.href)).toString();
1946c.filter(function(a){return a.url==h}).length==0&&c.push(new k.File(h,1024));this.Dr=new k.Files(this.yh,c,this.k3.bind(this),this.YX.bind(this));this.Dr.requestStorage().then(function(a){this.Kf.storage=a?o.Yw:o.xJ;this.Kf.state=o.yI;this.Kf.version=this.EA;this.Kf.save();this.Dr.download()}.bind(this))["catch"](function(){this.YX(z,n)}.bind(this))}}.bind(this))};r.prototype.k3=function(a){this.trigger(new f(d.cc,a))};r.prototype.YX=function(a,b){this.Dr=q;this.ob("unavailable");if(a){this.Kf.state=
1947o.Mw;this.Kf.save()}a?this.trigger(d.ua,{success:p}):b?this.trigger(d.ua,{success:z,error:r.eU}):j.kf()?this.trigger(d.ua,{success:z,error:r.dU}):this.tE?this.trigger(d.ua,{success:z,error:r.eU}):this.trigger(d.ua,{success:z,error:r.fU})};r.R5=function(){return m.Pl("installed",z)};r.Gma=function(a,b){var c=new r.eJ(a);c.bind(d.O,function(){var d=z;c.state==r.eJ.Mw&&(d=r.R5()?p:!navigator.onLine);d?h.toURL(a,c.storage==r.eJ.Yw).then(function(a){b(a)}):b(a)},this,p);c.load()};r.fU="launchFromHomeScreen";
1948r.dU="addToBookmark";r.eU="errorDownloading";var o=c.extend(g,function(a){g.call(this);this.yh=a;this.AN="installation_state_"+a;this.gfa=m.parse(this.yh).pathname+"installation_state.json";this.state=this.storage=this.version=n;this.X1()});o.prototype.load=function(){if(this.Dda()&&this.state==o.Mw)this.P2(this.storage==o.Yw).then(function(){this.trigger(d.O)}.bind(this))["catch"](function(){this.P2(this.storage!=o.Yw).then(function(){this.storage=this.storage==o.xJ?o.Yw:o.xJ;this.xP();this.trigger(d.O)}.bind(this))["catch"](function(){this.state=
1949o.yI;this.xP();this.trigger(d.O)}.bind(this))}.bind(this));else this.trigger(d.O)};o.prototype.save=function(){this.xP();this.state==o.Mw&&this.gga()};o.prototype.Dda=function(){var a=window.localStorage&&window.localStorage.getItem(this.AN);if(!a)return z;this.kba(a);return p};o.prototype.xP=function(){window.localStorage&&window.localStorage.setItem(this.AN,this.W2())};o.prototype.P2=function(a){return new Promise(function(b,c){h.toURL(this.yh+"installation_state.json",a).then(function(a){e.ajax({type:"GET",
1950url:a,success:function(){b()},error:function(){c()}})}.bind(this))}.bind(this))};o.prototype.gga=function(){h.o7(this.gfa,this.W2(),"text/json")};o.prototype.W2=function(){var a={};a.version=this.version;a.storage=this.storage;a.state=this.state;return JSON.stringify(a)};o.prototype.kba=function(a){this.jba(JSON.parse(a))};o.prototype.jba=function(a){this.version=a.version;this.storage=a.storage;this.state=a.state};o.prototype.Kl=function(){window.localStorage&&window.localStorage.removeItem(this.AN);
1951this.X1()};o.prototype.X1=function(){this.version="";this.storage=o.i8;this.state=o.cU};o.i8="unkonwn";o.xJ="temporary";o.Yw="persistent";o.cU="not started";o.yI="started";o.Mw="completed";r.eJ=o;return r});
1952define("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.bc});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.xa=a;this.xd=b;this.xd.bind(e.Sb,
1953this.eda,this,p);this.xd.bind(e.tj,this.bda,this,p);this.xd.bind(e.cc,this.dda,this,p);this.xd.bind(e.ua,this.cda,this,p);this.V="hidden";this.HA=n;this.OO=z;this.nd=n;this.Gf=this.Cm=this.br=this.er=this.cr=this.jG=this.ka=q;this.e9();this.Q({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:m.bc,layout:f.xe});this.Od()});a.prototype.eda=function(){if(this.xd.k4()||this.xd.jw()&&this.xd.j4()){this.V="ready";this.OO&&this.B2()}else this.V="hidden";
1954this.Od()};a.prototype.bda=function(){this.V="installing";this.Od()};a.prototype.dda=function(a){this.nd=a.jh;this.Od()};a.prototype.cda=function(a){this.V=a.data.success?"installed":"failed";this.gY=a.data.error;this.Od()};a.prototype.Kh=function(){this.Sha()};a.prototype.XE=function(){if(!this.OO){this.OO=p;this.V=="ready"&&this.B2()}};a.prototype.B2=function(){this.HA=setTimeout(function(){this.HA=q;this.Xea()}.bind(this),5E3);this.Od()};a.prototype.Sha=function(){this.A1();this.HA&&clearTimeout(this.HA);
1955this.HA=q};a.prototype.Xea=function(){this.A1();if(this.V=="ready"){this.V="hidden";this.Od()}};a.prototype.e9=function(){this.bind(e.uc,this.Kh,this);this.xa.bind(e.uc,this.XE,this);this.xa.bind(e.qb,this.XE,this)};a.prototype.A1=function(){this.unbind(e.uc,this.Kh,this);this.xa.unbind(e.uc,this.XE,this);this.xa.unbind(e.qb,this.XE,this)};a.prototype.Ia=function(){l.prototype.Ia.call(this);if(this.ka==q){this.ka=new o;this.ka.Q({fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",
1956fontSize:14,text:d("download-tour")});this.qa(this.ka)}if(this.cr==q){this.cr=b(d("download"));this.qa(this.cr);this.cr.bind(e.U,this.O9,this,p)}if(this.er==q){this.er=b(d("refresh-downloaded"));this.qa(this.er);this.er.bind(e.U,this.U9,this,p)}if(this.br==q){this.br=b(d("delete-downloaded"));this.qa(this.br);this.br.bind(e.U,this.N9,this,p)}if(this.jG==q){this.jG=new r;this.jG.Q({width:"100%"});this.qa(this.jG)}if(this.Cm==q){this.Cm=new h;this.Cm.Q({backgroundColor:"#ffffff",borderRadius:2,iconColor:"#000000",
1957iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31});this.qa(this.Cm);this.Cm.bind(e.U,this.M9,this,p)}if(this.Gf==q){this.Gf=b(d("cancel"));this.qa(this.Gf);this.Gf.bind(e.U,this.SC,this,p)}g.Xa()&&this.Hs();this.Od()};a.prototype.Ej=function(){l.prototype.Ej.call(this);g.Xa()&&this.getParent().bind(e.rb,this.Hs,this,p)};a.prototype.Sh=function(){g.Xa()&&this.getParent().unbind(e.rb,this.Hs,this,p);l.prototype.Sh.call(this)};a.prototype.Hs=function(){var a=this.getParent();if(a){var b=
1958Math.min(a.za(),a.ab())/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.ka&&this.ka.Q({fontSize:c(3)});[this.cr,this.Gf,this.er,this.br].forEach(function(a){a&&a.Q({borderRadius:c(0.4),fontSize:c(3),paddingLeft:c(3),paddingRight:c(3),height:c(6.7)})});this.Cm&&this.Cm.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.Od=function(){var a;switch(this.V){case "ready":a=
1959this.xd.jw()?d("downloaded"):d("download-tour");break;case "installing":a=d("downloading");this.nd!==n&&(a=a+("..."+this.nd.toFixed(1)+"%"));break;case "installed":a=d("downloaded");break;case "failed":a=this.gY==j.fU?g.Xa()?d("storage-not-provided-launch-from-homescreen"):d("storage-not-provided-launch-from-desktop"):this.gY==j.dU?d("storage-not-provided-bookmark"):d("download-failed")}this.ka&&this.ka.set("text",a);this.cr&&this.cr.set("visible",this.V=="ready"&&!this.xd.jw()&&this.xd.k4());this.br&&
1960this.br.set("visible",this.V=="ready"&&this.xd.jw()&&this.xd.j4());this.er&&this.er.set("visible",this.V=="ready"&&this.xd.l4());this.Gf&&this.Gf.set("visible",this.V=="installing");this.Cm&&this.Cm.set("visible",this.V!="installing");this.set("visible",this.V!="hidden")};a.prototype.O9=function(){this.xd.B5()};a.prototype.U9=function(){this.xd.B5()};a.prototype.N9=function(){this.xd.Kl();this.V="hidden";this.Od()};a.prototype.SC=function(){this.xd.cancel();this.V="hidden";this.Od()};a.prototype.M9=
1961function(){this.V=="installing"&&this.xd.cancel();this.V="hidden";this.Od()};return a});
1962define("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.Hn=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.$j=[];this.Gf=this.dr=this.ka=this.Kr=this.gv=this.Fl=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",
1963backgroundOpacity:0.6,horizontalAlign:k.tc,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:b,showEffect:a,visible:z})});a.prototype.Ia=function(){m.prototype.Ia.call(this);if(this.Fl==q){this.Fl=new m;this.Fl.Q({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:k.tc,verticalAlign:k.bc,layout:h.Ue,shadow:p,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:0.2});this.qa(this.Fl)}if(this.ka==q){this.ka=new o;this.ka.Q({fontColor:"#808080",fontWeight:"300",
1964fontFamily:"Tahoma, Geneva, sans-serif"});this.Fl.qa(this.ka)}if(this.Kr==q){this.Kr=new s;this.Kr.Q({width:"80%"});this.Fl.qa(this.Kr)}if(this.gv==q){this.gv=new m;this.gv.Q({backgroundColor:"#b3b3b3"});this.Fl.qa(this.gv)}if(this.fg==q){this.fg=new m;this.fg.Q({horizontalAlign:k.tc,verticalAlign:k.bc,layout:h.xe});this.Fl.qa(this.fg)}if(this.dr==q){this.dr=new r;this.dr.Q({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.tc,verticalAlign:k.bc,
1965label:g("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.dr.bind(d.U,this.OW,this,p);this.fg.qa(this.dr)}if(this.Gf==q){this.Gf=new r;this.Gf.Q({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:k.tc,verticalAlign:k.bc,label:g("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080"});this.Gf.bind(d.U,this.SC,this,p);this.fg.qa(this.Gf)}};a.prototype.Ej=function(){m.prototype.Ej.call(this);
1966this.getParent().bind(d.rb,this.Hs,this,p)};a.prototype.Sh=function(){this.getParent().unbind(d.rb,this.Hs,this,p);m.prototype.Sh.call(this)};a.prototype.Hs=function(){var a=this.getParent();if(a){var b=a.za(),a=a.ab();if(j.Xa())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.Fl&&this.Fl.Q({borderRadius:b(1),width:b(80),height:b(40),gap:b(4),shadowBlurRadius:b(1),shadowSpread:b(1)});this.gv&&this.gv.Q({width:b(60),minHeight:2,height:b(0.25)});
1967this.fg&&this.fg.Q({gap:b(5)});this.Gf&&this.Gf.Q({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.25)});this.dr&&this.dr.Q({borderRadius:b(1),width:b(20),height:b(10),fontSize:b(4.5)});this.ka&&this.ka.Q({fontSize:b(5)});this.CG()}};a.prototype.show=function(a,c){this.Hs();var d=this.SY(c);d>=0&&this.w1(d);this.Dfa(new b(a,c));this.St()};a.prototype.hide=function(a){a=this.SY(a);a>=0&&this.w1(a)};a.prototype.St=function(){var a=this.getParent();a&&a.ii(this,a.Oa().length-1)};a.prototype.OW=
1968function(){this.MC(p)};a.prototype.SC=function(){this.MC(z)};a.prototype.SY=function(a){for(var b=0;b<this.$j.length;b++)if(this.$j[b].Hn==a)return b;return-1};a.prototype.CG=function(){var a=this.cZ();if(a){if(a.text.length<20){this.Kr.set("visible",z);this.ka.set("text",a.text);this.ka.set("visible",p)}else{this.ka.set("visible",z);this.Kr.set("html",this.Iba(a.text));this.Kr.set("visible",p)}this.Gf.set("visible",a.Hn?p:z);this.set("visible",p)}else this.set("visible",z)};a.prototype.Iba=function(a){return"<div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+
1969this.ka.get("fontSize")+'px; text-align:center;" >'+a+"</div>"};a.prototype.MC=function(a){var b=this.cZ();if(b){b=this.Xba(b.text);this.Vfa(b);e(b).each(function(b){b.Hn&&b.Hn.call(this,a)},this)}};a.prototype.Dfa=function(a){this.$j.push(a);this.CG()};a.prototype.Xba=function(a){return e(this.$j).filter(function(b){return b.text==a})};a.prototype.Vfa=function(a){this.$j=e(this.$j).filter(function(b){return!e(a).contains(b)});this.CG()};a.prototype.w1=function(a){this.$j.splice(a,1);a==this.$j.length&&
1970this.CG()};a.prototype.cZ=function(){return this.$j.length>0?this.$j[this.$j.length-1]:q};return a});
1971define("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.va=a;this.Qba=b;this.aO=this.aO.bind(this);this.Kb=this.Kb.bind(this);this.zN=z;this.wN=this.wN.bind(this);
1972this.xN=this.xN.bind(this);this.vN=this.vN.bind(this);this.yN=this.yN.bind(this);this.v=document.createElement("ul");this.v.style.border="1px solid #bbb";this.v.style.Tja="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=
1973"all";this.v.style.textAlign="left";this.v.style.boxShadow="1px 1px 3px rgba(0, 0, 0, 0.2)";j.push(this.aO)});b.prototype.aO=function(a){var b=this.Qba();if(b.length!=0){this.v.innerHTML="";this.zN=z;var d=0;
1973b.forEach(function(a){if(a){var b=document.createElement("li");b.textContent=a;b.style.cursor="pointer";b.style.Tja="3px";b.style.padding="7px 20px";b.style.whiteSpace="nowrap";var c=d;d++;b.addEventListener("mouseenter",function(a){this.wN(a,c)}.bind(this));b.addEventListener("mouseleave",function(a){this.xN(a,
1974c)}.bind(this));b.addEventListener("mousedown",function(a){this.vN(a,c)}.bind(this));b.addEventListener("mouseup",function(a){this.yN(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.Ol()||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-
19755);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.va.bind(c.qb,this.Kb,this);document.addEventListener("mousedown",this.Kb);this.Eja=setInterval(this.Dja.bind(this),200)}};b.prototype.lZ=function(){clearInterval(this.Eja);this.v.parentNode.removeChild(this.v);document.removeEventListener("mousedown",this.Kb);this.va.unbind(c.qb,this.Kb,this);this.v.style.display="none"};b.prototype.Dja=
1976function(){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.Kb=function(){this.lZ()};b.prototype.vN=function(a){this.zN=p;a.preventDefault();a.stopImmediatePropagation()};b.prototype.yN=function(a,b){if(this.zN){this.lZ();a.preventDefault();a.stopImmediatePropagation();this.trigger(new e(c.Vk,{index:b}))}};b.prototype.wN=function(a){a.currentTarget.style.color="#ffffff";a.currentTarget.style.backgroundColor=
1977"rgba(0, 0, 0, 0.7)"};b.prototype.xN=function(a){a.currentTarget.style.color="";a.currentTarget.style.backgroundColor=""};return b});
1978define("hH",["require","hE","N"],function(a){function b(a){this.va=a;this.wl={};this.wl[e.O7]="move";this.wl[e.P7]="ew-resize";this.wl[e.R7]="ns-resize";this.wl[e.Q7]="nesw-resize";this.wl[e.S7]="nwse-resize";this.wl[e.Ud]="pointer";this.wl[e.Pw]="inherit";this.wl[e.oc]="default";this.ie={};this.ie[e.oC]="grab.cur";this.ie[e.tU]="grabbing.cur";this.ie[e.KU]="N.cur";this.ie[e.LU]="NE.cur";this.ie[e.BU]="E.cur";this.ie[e.OU]="SE.cur";this.ie[e.NU]="S.cur";this.ie[e.PU]="SW.cur";this.ie[e.QU]="W.cur";
1979this.ie[e.MU]="NW.cur";this.ie[e.DU]="FN.cur";this.ie[e.EU]="FNE.cur";this.ie[e.CU]="FE.cur";this.ie[e.HU]="FSE.cur";this.ie[e.GU]="FS.cur";this.ie[e.IU]="FSW.cur";this.ie[e.JU]="FW.cur";this.ie[e.FU]="FNW.cur";this.UW={}}var c=a("hE"),e=a("N");b.prototype.B4=function(a){return this.uda(a)?this.$Y(a):this.nda(a)?this.zba(a):this.$Y(e.oc)};b.prototype.Y9=function(a){if(!(a in this.UW)){var b=new Image;b.src=this.GY(a);this.UW[a]=b}};b.prototype.uda=function(a){return a in this.wl};b.prototype.$Y=function(a){return this.wl[a]};
1980b.prototype.nda=function(a){return this.ie[a]};b.prototype.zba=function(a){this.Y9(a);return"url("+this.GY(a)+"), default"};b.prototype.GY=function(a){return c.oq(this.va.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.ie[a]};return b});
1981define("bC",["cI"],function(a){function b(){this.un={};this.rk=[];this.Gx=0}b.prototype.push=function(b,e){if(this.un[e]==n)this.un[e]=[b],this.rk.push(e),this.rk.sort(function(a,b){return a-b}),this.Gx++;else{var d=this.un[e];a(d).contains(b)||(d.push(b),this.Gx++)}};b.prototype.D4=P("Gx");b.prototype.isEmpty=function(){return 0==this.rk.length};b.prototype.g6=function(){if(!this.isEmpty()){var a=this.rk[0],b=this.un[a].pop();0==this.un[a].length&&(delete this.un[a],this.rk=this.rk.slice(1));this.Gx--;
1982return b}};b.prototype.RS=function(){if(!this.isEmpty()){var a=this.rk[this.rk.length-1],b=this.un[a].pop();0==this.un[a].length&&(delete this.un[a],this.rk=this.rk.slice(0,this.rk.length-1));this.Gx--;return b}};return b});
1983define("fv","require,cI,hb,eg,bC,R,he".split(","),function(a){function b(){this.oF=z;this.R0=n;this.Z=p;this.bF=this.bF.bind(this);this.dD=new e;this.CF=new e;this.hG=new e;this.uE=new e;this.NL=new e;d.Aa(this.af,this)}a("cI");a("hb");
1983var c=a("eg"),e=a("bC"),d=a("R"),g=a("he");b.prototype.clear=function(){this.Z=z};b.prototype.pB=function(a){this.dD.push(a,this.mu(a));this.Dz()};b.prototype.Vb=function(a){this.CF.push(a,this.mu(a));this.Dz()};b.prototype.Ha=function(a){this.hG.push(a,this.mu(a));
1984this.Dz()};b.prototype.sc=function(a){this.uE.push(a,this.mu(a));this.Dz()};b.prototype.sg=function(a){this.NL.push(a,this.mu(a));this.Dz()};b.prototype.M=function(){this.Sia();this.pja();this.Uia()};b.prototype.Sia=function(){do{for(;!this.dD.isEmpty();)this.dD.RS().Ia();this.CF.isEmpty()||this.CF.RS().ea()}while(!this.CF.isEmpty()||!this.dD.isEmpty())};b.prototype.pja=function(){for(;!this.hG.isEmpty()||!this.uE.isEmpty();){this.JG();this.NQ()}};b.prototype.JG=function(){for(;!this.hG.isEmpty();){var a=
1985this.hG.RS();if(a.Moa()){var b=a.getParent();if(b){b.Ha();b.sc()}else a.w6(0,0,a.Yl(),a.Xl())}}};b.prototype.NQ=function(){for(;!this.uE.isEmpty();)this.uE.g6().nh()};b.prototype.Uia=function(){for(;!this.NL.isEmpty();)this.NL.g6().fe();c.Fma()};b.prototype.Dz=function(){if(!this.oF){this.oF=p;this.R0=(new Date).getTime()+500;g.DB(this.bF)}};b.prototype.bF=function(){this.oF=z;this.Z&&this.M()};b.prototype.mu=function(a){return(a=a.getParent())?this.mu(a)+1:0};b.prototype.af=function(){this.oF&&(new Date).getTime()>=
1986this.R0&&this.bF();d.Aa(this.af,this)};return b});
1987define("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.Mt=new h;d.call(this);this.Gp(this);this.Nc("Application");this.zc=a(b);this.Y0=p;this.VO=this.zc.contents();this.zc.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.Lp=a(document.createElement("div"));
1988this.Lp.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.zc.append(this.Lp);this.Lp.append(this.kb());this.M2=this.Lp.get(0);this.Ta=this.Ra=n;this.hda=10;this.m$=500;this.zz=q;this.BL=new j(this);this.pa=new k(this);this.v.append(this.pa.kb());this.Q$=new g(this,this.DY.bind(this));this.Q$.bind(e.Vk,this.re(this.z_),this,p);this.c_=p;this.set("contentOpaque",p);this.mr=q;this.Bx=[];this.fu(["globalmousemove"]);this.B9();this.oR=this.pR=0;this.Ou=1;
1989this.J3();this.Gg=new m(b);this.Gg.bind(e.W,function(){this.oM(this.Gg.enabled())},this)});c.prototype.J3=function(){if(!m.enabled()){this.pR=window.innerWidth;this.oR=window.innerHeight}};c.prototype.clear=function(){this.ww(q);this.K2();this.Oaa();this.Mt.clear();if(this.zc){this.kb().remove();this.zc.append(this.VO);this.zc=this.VO=q}this.BL=q;this.Gg.h7();this.Gg=q};c.prototype.Vna=N("c_");c.prototype.oM=function(a){a?this.W1():this.y$()};c.prototype.dn=function(){this.Hy=this.Qg=this.Lp.width();
1990this.Gy=this.Pg=this.Lp.height()};c.prototype.ea=function(){if(this.Y0){this.VO.detach();this.Y0=z}d.prototype.ea.call(this)};c.prototype.ww=function(a){if(this.mr!=a){this.mr!=q&&this.mr.xia();this.mr=a;for(var c=[];a!=q;){c=[a].concat(c);a=a.getParent()}for(var a=this.Bx.length-1,d=p;a>=0&&d;a--)b(c).contains(this.Bx[a])?d=z:this.Bx.pop().zia();for(a=0;a<c.length;a++)b(this.Bx).contains(c[a])||c[a].Aia();this.Bx=c;this.mr!=q&&this.mr.wia();this.pa.ww(this.mr)}};c.prototype.wca=function(a){var b=
1991this.by(a);this.HZ(a,b.x,b.y)?a.preventDefault():this.ww(q)};c.prototype.fZ=function(a){var b=this.Hr(a);this.HZ(a,b.x,b.y)?a.preventDefault():this.ww(q)};c.prototype.DY=function(){return[]};c.prototype.z_=D();c.prototype.HZ=function(a,b,c){return this.oda(a.target)&&b>=0&&c>=0&&b<this.R&&c<this.ba};c.prototype.oda=function(a){if(!this.zc)return z;for(var b=this.zc.get(0);a;){if(a===b)return p;a=a.parentElement}return z};c.prototype.B9=function(){this.fu(["globalresize"]);this.HK=setInterval(b.bind(function(){this.fX()},
1992this),this.m$)};c.prototype.Oaa=function(){this.Px(["globalresize"]);if(this.HK){clearInterval(this.HK);this.HK=q}};c.prototype.fX=function(){this.Gg.enabled()?this.W1():this.J3();var a=this.M2.clientWidth,b=this.M2.clientHeight;if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Kha()}};c.prototype.W1=function(){var a;if(f.Ed()==f.VT&&f.browser()==f.oi||f.Ed()==f.ri){var b=m.Ol();a=b.clientWidth;var b=b.clientHeight,c=(a>b?a:b)/(this.pR>this.oR?this.pR:this.oR),d=Math.round(a/c),e=Math.round(b/c);
1993this.Ou=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.Ou=1}this.Lp.css(a)};c.prototype.y$=function(){this.Lp.css({position:"abolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",transform:""});this.Ou=1};
1994c.prototype.Kha=function(){this.K2();var a=this;this.zz=setTimeout(function(){a.zz=q;a.Ha()},this.hda)};c.prototype.K2=function(){if(this.zz){this.zz=q;clearTimeout(this.zz)}};c.prototype.vca=function(){this.fX()};c.prototype.vM=function(){return b(d.prototype.vM.call(this)).defaults({globaltouchmove:[{target:a(document),name:"touchmove",handler:this.re(this.wca)}],globalmousemove:[{target:a(document),name:"mousemove",handler:this.re(this.fZ)},{target:a(window),name:"mouseout",handler:this.re(this.fZ)}],
1995globalresize:[{target:a(window),name:"resize",handler:this.re(this.vca)}]})};return c});
1996define("ee","require,jquery.mod,jq,bv,jd,dT,jc,r".split(","),function(a){function b(){r=TDV.wa.Wl();var a=l||r;
1996if(f!=a){f=a;m.trigger(g.W)}a=!!l&&r!=l&&h.Xa();if(o!=a){if(!s){s=c("<div/>");s.css({position:"fixed","z-index":e.z7,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="'+
1997d.Ww+'"/>','<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.b8?"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.hpa=TDV.wa.iJ;m.b8=TDV.wa.jJ;m.Sna=function(a){if(l!=a){l=a;b()}};
1998m.gla=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});
1999define("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=
2000a("ig");Orientation=a("ee");var r=b.extend(Application,function(a){Application.call(this,a);this.xd=new Installer(this);this.XX=new f(this,this.xd);this.so=new Container;this.so.Q({visible:p,width:"100%",height:"100%"});this.HE=new l;this.LG=new UserInteractionWindow;a=new VerticalLayout;a.$H(0);this.MB(a);this.Re(p);this.bind(e.ha("settings"),this.Qea,this,p);this.EA=TDV.wa.d5();Orientation.bind(e.W,this.Cea,this,p);this.R9=new h(this,"buttonMute",ButtonMode.vc);this.R9.bind(e.U,this.Y_,this,p);
2001this.W9=new h(this,"buttonUnmute",ButtonMode.vc);this.W9.bind(e.U,this.o0,this,p);this.XC=new h(this,"buttonToggleMute",ButtonMode.sh);this.XC.bind(e.cg,this.Y_,this,p);this.XC.bind(e.rh,this.o0,this,p);this.bind(e.ha("mute"),this.yea,this);this.XC.set("pressed",this.get("mute"));this.P9=new h(this,"buttonEnterFullscreen",ButtonMode.vc);this.P9.bind(e.U,this.C_,this,p);this.Q9=new h(this,"buttonExitFullscreen",ButtonMode.vc);this.Q9.bind(e.U,this.D_,this,p);this.UC=new h(this,"buttonToggleFullscreen",
2002ButtonMode.sh);this.UC.bind(e.cg,this.C_,this,p);this.UC.bind(e.rh,this.D_,this,p);this.UC.set("pressed",this.get("fullscreenEnabled"));this.bind(e.ha("fullscreenEnabled"),this.lea,this,p);this.set("fullscreenEnabled",this.Gg.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.mo,this.Rea,this,p)});r.lU=
2003"orientationChange";g.A("Player",r).Ena().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]]",
2004buttonUnmute:"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",
2005lockedOrientation:"enum[portrait, landscape]",orientation:"enum[portrait, landscape]",touchDevice:"bool",touchEnabled:"bool",vrAvailable:"bool",vrPolyfillScale:"number"}).Wna().vg({logCapabilities:function(){this.Ida()}}).kh([e.mo,r.lU]);r.prototype.oM=function(a){Application.prototype.oM.apply(this,arguments);this.set("fullscreenEnabled",a)};r.prototype.oa=function(){Application.prototype.oa.call(this);this.f("mute",z);this.f("fullscreenEnabled",z)};r.prototype.Ia=function(){Application.prototype.Ia.call(this);
2006this.XX.getParent()!=this&&this.qa(this.XX);if(this.so.getParent()!=this){this.qa(this.so);this.so.qa(this.HE);this.so.qa(this.LG);setTimeout(function(){m.fT(this)}.bind(this),100)}};r.prototype.ea=function(){this.q1||(this.q1=c.difference(this.jca(),["visible","includeInLayout","state","left","right","top","bottom","centerX","centerY","width","height","minWidth","minHeight","maxWidth","maxHeight","actualWidth","actualHeight","paddingLeft","paddingTop","paddingRight","paddingBottom"]));this.Ua(this.q1,
2007{},[this.so],p,p);Application.prototype.ea.call(this);this.Wpa===p&&this.Upa()};r.prototype.set=function(a,b){switch(a){case "children":case "creationPolicy":this.so.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.qT(b);break;case "lockedOrientation":Orientation.Sna(b);break;case "installAvailable":b=this.xd.ready();
2008break;case "mouseWheelEnabled":this.Vna(URL.Pl("mousewheelenabled",b));break;case "backgroundPreloadEnabled":this.uga(b);break;case "vrPolyfillScale":VR.goa(b);break;case "desktopMipmappingEnabled":TextureUtil.rna(b);break;case "mobileMipmappingEnabled":TextureUtil.Una(b)}Application.prototype.set.call(this,a,b)};r.prototype.get=function(a,b){switch(a){case "children":case "creationPolicy":return this.so.get(a,b);case "touchEnabled":return this.Di;case "touchDevice":return Device.OT();case "isMobile":return Device.Xa();
2009case "orientation":return Orientation.get();case "lockedOrientation":return Orientation.gla();case "gyroscopeAvailable":return Gyroscope.available;case "cardboardAvailable":case "vrAvailable":return VR.available();case "fullscreenAvailable":return this.Gg.available();case "vrPolyfillScale":return VR.lla();case "installAvailable":return this.xd.ready();default:return Application.prototype.get.apply(this,arguments)}};r.prototype.Y_=function(){this.set("mute",p)};r.prototype.o0=function(){this.set("mute",
2010z)};r.prototype.yea=function(){this.XC.set("pressed",this.get("mute"))};r.prototype.C_=function(){this.set("fullscreenEnabled",p)};r.prototype.D_=function(){this.set("fullscreenEnabled",z)};r.prototype.lea=function(){this.get("fullscreenEnabled")?this.Gg.dh():this.Gg.Pd();this.UC.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.Gg.enabled())};r.prototype.Qea=function(){var a=this.get("settings");if(a){LibsLoader.Sn(a);Preloader.DT(a);this.xd.DT(a)}};r.prototype.uga=function(a){Preloader.enabled(a)};
2011r.prototype.DY=function(){if(URL.hh("debug"))return[];var a=[];this.Zt=[];(this.get("menu")||[]).forEach(function(b){var c=b.get("label");a.push(b.get("label"));c&&this.Zt.push(function(){b.trigger("click")})}.bind(this));var b=this.Ql("PanoramaPlayer");if(b.length){a.push(b[0].get("mouseControlMode")==d.xq?k("change-to-drag-and-release"):k("change-to-click-and-move"));this.Zt.push(this.kia.bind(this))}if(this.Gg.available()){a.push(this.Gg.enabled()?k("exit-fullscreen"):k("enter-fullscreen"));this.Zt.push(this.iia.bind(this))}a.push(this.get("mute")?
2012k("unmute"):k("mute"));this.Zt.push(this.jia.bind(this));b=[].concat(j.name?[j.name]:[],j.rka!="false"?["v:"+j.ES+"."+j.LS]:[]).join(" ");if(b!=""){a.push("");a.push(b);this.Zt.push(this.$ea.bind(this))}return a};r.prototype.z_=function(a){this.Zt[a.data.index]()};r.prototype.kia=function(){var a=this.Ql("PanoramaPlayer"),b=a[0].get("mouseControlMode")==d.xq?d.im:d.xq;a.forEach(function(a){window.localStorage&&localStorage.setItem(o,b);a.set("mouseControlMode",b)})};r.prototype.Rea=function(){(window.localStorage&&
2013window.localStorage.getItem(o))==d.im&&this.Ql("PanoramaPlayer").forEach(function(a){a.set("mouseControlMode",d.im)});URL.hh("vr")&&VR.dh()};r.prototype.iia=function(){this.Gg.toggle()};r.prototype.jia=function(){this.set("mute",!this.get("mute"))};r.prototype.$ea=function(){j.n7&&window.open(j.n7,"_blank")};r.prototype.Cea=function(){this.trigger(r.lU)};r.prototype.Ida=function(){b.wka(p);b.log("UA: "+navigator.userAgent);b.log("screen: ("+Math.max(window.screen.width,window.screen.height)+", "+
2014Math.min(window.screen.width,window.screen.height)+") dpr: "+window.devicePixelRatio+" ("+Math.max(window.screen.width,window.screen.height)*window.devicePixelRatio+", "+
2014Math.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});
2015define("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"}).kh([e.U]);return b});
2016define("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.ha("state"),function(){this.trigger(e.mm)},this,p);this.Md=n});a.prototype.show=
2017function(){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.wC)};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",
2018popupMaxHeight:"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]",
2019showDuration:"number",visible:"bool",playbackPositions:"array[PopupPanoramaOverlayPlaybackPosition]"}).vg({hide:a.prototype.hide,pause:a.prototype.pause,play:a.prototype.play,show:a.prototype.show,stop:a.prototype.stop}).nc([e.ua,e.Bt,e.Lq,e.mm]).kh([e.U]);a.prototype.get=function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=j.nla(this);return this.Md}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.Md=
2020n;d=p}c.prototype.set.call(this,a,b);d&&a!="playbackPositions"&&this.trigger(e.ha("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});
2021define("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"}).nc([a.ua]);return b});
2022define("ba",[],function(){return{ra:"left",Qa:"right",eb:"top",cb:"bottom"}});
2023define("ck",["hb","cS","I","ba"],function(a,b){var c=a.extend(b,function(){b.call(this)});c.prototype.$x=Q(0);c.prototype.ay=Q(0);c.prototype.ov=function(){b.prototype.ov.call(this);this.Go(function(a){a.Re(p)})};c.prototype.Ip=function(){b.prototype.Ip.call(this);this.Go(function(a){a.PB(this.$x(a,this.cw()));a.QB(this.ay(a,this.cw()))})};c.prototype.mv=function(){this.Go(function(a){a.PB(this.$x(a,1));a.QB(this.ay(a,1))});b.prototype.mv.call(this)};c.prototype.nv=function(){this.Go(function(a){a.PB(this.$x(a,
20240));a.QB(this.ay(a,0))});b.prototype.nv.call(this)};return c});
2025define("iq",["hb","ck","ba"],function(a,b,c){a=a.extend(b,function(){b.call(this)});a.prototype.$x=function(a,b){switch(this.get("from")){case c.eb:case c.cb:return 0;case c.ra:var g=a.$,j=a.za();return isNaN(j)||isNaN(g)?1E4:(-g-j)*(1-b);default:g=a.getParent();if(!g)return 0;j=g.rd();g=a.$;return isNaN(g)||isNaN(j)?1E4:(j-g)*(1-b)}};a.prototype.ay=function(a,b){switch(this.get("from")){case c.eb:var g=a.aa,j=a.ab();return isNaN(j)||isNaN(g)?1E4:(-g-j)*(1-b);case c.cb:g=a.getParent();if(!g)return 0;
2026j=g.qd();g=a.aa;return isNaN(g)||isNaN(j)?1E4:(j-g)*(1-b);default:return 0}};a.prototype.nv=function(){this.Go(function(a){a.PB(0);a.QB(0);a.Re(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});
2027define("eJ",["hb","ck","I","ba"],function(a,b,c,e){a=a.extend(b,function(){b.call(this)});a.prototype.$x=function(a,b){switch(this.get("to")){case e.eb:case e.cb:return 0;case e.ra:var c=a.$,k=a.za();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;default:c=a.getParent();if(!c)return 0;k=c.rd();c=a.$;return isNaN(c)||isNaN(k)?1E4:(k-c)*b}};a.prototype.ay=function(a,b){switch(this.get("to")){case e.eb:var c=a.aa,k=a.ab();return isNaN(k)||isNaN(c)?1E4:(-c-k)*b;case e.cb:c=a.getParent();if(!c)return 0;k=c.qd();
2028c=a.aa;return isNaN(c)||isNaN(k)?1E4:(k-c)*b;default:return 0}};a.prototype.mv=function(){this.Go(function(a){a.PB(0);a.QB(0);a.Re(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});
2029define("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.gma=function(){var a=this.get("sphere");return a&&c.ub("Video360Resource",a)};return a});
2030define("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.Nc("Tab");this.vO=a;this.dA="";this.qQ=z;this.MZ=this.ka=q;this.jR=this.iR=z;this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p)});k.prototype.oa=function(){e.prototype.oa.call(this);this.f("horizontalAlign",d.tc);this.f("verticalAlign",d.bc);this.f("fontFamily");this.f("fontSize");this.f("fontColor");this.f("fontWeight");this.f("fontStyle");this.f("textDecoration");this.f("textShadowBlurRadius");
2031this.f("textShadowColor");this.f("textShadowHorizontalLength");this.f("textShadowOpacity");this.f("textShadowVerticalLength")};
2031k.prototype.U6=function(a){if(this.iR!=a){this.iR=a;this.jR=p;this.Vb()}};k.prototype.Ia=function(){e.prototype.Ia.call(this);if(this.ka==q){this.ka=new j;this.ka.set("horizontalAlign","center");this.qa(this.ka)}};k.prototype.Ej=function(){e.prototype.Ej.call(this);this.MZ=c.watch(this.vO,"label",this.pea,this);this.n2(this.vO.get("label"))};k.prototype.pP=function(){e.prototype.pP.call(this);
2032this.MZ.unwatch()};k.prototype.pea=function(){var a=this.vO.get("label");this.n2(a?a:"")};k.prototype.n2=function(a){if(this.dA!=a){this.dA=a;this.qQ=p;this.Vb()}};k.prototype.ea=function(){if(this.qQ){this.qQ=z;this.ka.set("text",this.dA)}if(this.jR){this.jR=z;this.ka.set("direction",this.iR?g.Ue:g.xe)}this.Ua(k.SV,k.Ht,[this.ka],p,p);e.prototype.ea.call(this)};k.SV=["fontFamily","fontSize","fontColor","fontWeight","fontStyle","textDecoration","textShadowColor","textShadowHorizontalLength","textShadowVerticalLength",
2033"textShadowBlurRadius","textShadowOpacity"];k.Ht={};a(k.SV).each(function(a){k.Ht[a]=a});return k});define("dh",[],function(){return{Vw:"normal",At:"inverse",ZT:"center"}});
2034define("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.Nc("TabPanel");this.Lc=-1;this.ts=z;this.bA=[];this.pG=z;this.il=[];this.xO=z;this.aA=[];this.be=this.Je=q;this.vs(z)});b.prototype.oa=function(){g.prototype.oa.call(this);this.f("pages",[]);this.f("selectedIndex",-1);this.f("tabsSize",25);this.f("tabsPosition",f.eb);this.f("tabsGap",0);this.f("tabsPadding",10);this.f("tabsAlign",m.Vw);this.f("tabsBackgroundOpacity",0.6);
2035this.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",
20364);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");
2037this.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");
2038this.f("tabsRollOverTextShadowHorizontalLength");this.f("tabsRollOverTextShadowOpacity");this.f("tabsRollOverTextShadowVerticalLength")};b.prototype.Ia=function(){g.prototype.Ia.call(this);if(this.be==q){this.be=new g;this.be.vs(z);this.qa(this.be)}if(this.Je==q){this.Je=new g;this.Je.vs(z);this.qa(this.Je)}};b.prototype.set=function(a,b){if(a=="pages")this.boa(b||[]);else if(a=="selectedIndex")this.CT(b);else if(a=="layout")b=k.Xoa;g.prototype.set.call(this,a,b)};b.prototype.get=function(a,b){return a==
2039"pages"?this.il:a=="selectedIndex"?this.Lc:g.prototype.get.call(this,a,b)};b.prototype.CT=function(a){if(this.Lc!=a){this.Lc=a;this.Lc=Math.min(Math.max(this.Lc,-1),this.il.length);this.ts=p;this.Vb();this.trigger(d.W)}};b.prototype.boa=function(b){if(!a.isEqual(this.il,b)){this.il=b;this.xO=p;this.Vb()}};b.prototype.aia=function(b){this.bA=a(this.bA).union([b.source]);this.pG=p;this.Vb()};b.prototype.$ha=function(b){this.bA=a(this.bA).difference([b.source]);this.pG=p;this.Vb()};b.prototype.Zha=function(b){this.CT(a(this.aA).indexOf(b.source))};
2040b.prototype.ea=function(){var b=z,r=z,o=z,s=z,t=z,u=this.j("tabsPosition"),v=this.j("tabsAlign");if(this.xO){this.aA=[];this.Je.l6();this.be.l6();a(this.il).forEach(function(b){var c=new h(b);c.vs(p);c.bind(d.Rc,a.bind(this.aia,this));c.bind(d.pc,a.bind(this.$ha,this));c.bind(d.qb,a.bind(this.Zha,this));this.aA.push(c);this.Je.qa(c);b.Q({top:n,left:n,right:n,bottom:n,width:"100%",height:"100%"});this.be.qa(b)},this);this.Lc=Math.min(Math.max(this.Lc,0),this.il.length-1);this.xO=z;r=b=t=p}if(this.m("tabsPosition")){this.o("tabsPosition");
2041s=r=b=p}if(this.ts){this.ts=z;o=r=t=p}if(this.pG){this.pG=z;o=p}
2041a(["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",
2042"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",
2043"selectedTabTextDecoration","selectedTabTextShadowColor","selectedTabTextShadowHorizontalLength","selectedTabTextShadowVerticalLength","selectedTabTextShadowBlurRadius","selectedTabTextShadowOpacity","tabsFontFamily","tabsFontSize","tabsFontColor","tabsFontWeight","tabsFontStyle","tabsPadding","tabsTextDecoration","tabsRollOverFontSize","tabsRollOverFontColor","tabsTextShadowColor","tabsTextShadowHorizontalLength","tabsTextShadowVerticalLength","tabsTextShadowBlurRadius","tabsTextShadowOpacity","tabsRollOverFontWeight",
2044"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.ra:this.Je.Q({left:0,
2045right:n});break;case f.Qa:this.Je.Q({left:n,right:0});break;case f.eb:this.Je.Q({bottom:n,top:0});break;case f.cb:this.Je.Q({bottom:0,top:n})}switch(u){case f.ra:case f.Qa:this.Je.Q({layout:k.Ue,top:0,bottom:0,height:n,width:this.j("tabsSize")});switch(v){case m.At:this.Je.set("verticalAlign",j.cb);break;case m.ZT:this.Je.set("verticalAlign",j.bc);break;default:this.Je.set("verticalAlign",j.eb)}break;case f.eb:case f.cb:this.Je.Q({layout:k.xe,left:0,right:0,height:this.j("tabsSize"),width:n});switch(v){case m.At:this.Je.set("horizontalAlign",
2046j.Qa);break;case m.ZT:this.Je.set("horizontalAlign",j.tc);break;default:this.Je.set("horizontalAlign",j.ra)}}this.Je.set("gap",this.j("tabsGap"))}if(r)for(var x=0;x<this.il.length;x++){var y=this.aA[x];if(u==f.cb||u==f.eb){y.Q({layout:k.xe,width:n,paddingLeft:this.j("tabsPadding"),paddingTop:0,paddingRight:this.j("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:c.AJ});y.U6(z)}else{y.Q({layout:k.Ue,width:"100%",paddingLeft:0,paddingTop:this.j("tabsPadding"),paddingRight:0,paddingBottom:this.j("tabsPadding"),
2047height:n,backgroundColorDirection:c.fJ});y.U6(p)}u==f.cb||u==f.Qa?y.set("borderTopLeftRadius",0):y.set("borderTopLeftRadius",this.j("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));u==f.cb||u==f.ra?y.set("borderTopRightRadius",0):y.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==f.eb||u==f.Qa?y.set("borderBottomLeftRadius",0):y.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius",
2048"borderLeftRadius","borderRadius"));u==f.eb||u==f.ra?y.set("borderBottomRightRadius",0):y.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));u==f.Qa&&y.set("borderSize",this.j("borderRightSize","borderSize"));u==f.ra&&y.set("borderSize",this.j("borderLeftSize","borderSize"));u==f.eb&&y.set("borderSize",this.j("borderTopSize","borderSize"));u==f.cb&&y.set("borderSize",this.j("borderBottomSize","borderSize"));var A;switch(u){case f.ra:A=
2049this.j("borderLeftColor","borderColor");break;case f.Qa:A=this.j("borderRightColor","borderColor");break;case f.cb:A=this.j("borderBottomColor","borderColor");break;default:case f.eb: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||
2050o)for(x=0;x<this.il.length;x++){y=this.aA[x];o=x==this.Lc;A=a(this.bA).contains(y);
2050if(o){A=this.j("selectedTabBackgroundColor","tabsBackgroundColor");if(a(A).isUndefined()){A=this.j("backgroundColor");A=a(A).isArray()&&A.length>0?u==f.ra||u==f.eb?A[0]:A[A.length-1]:A}y.Q({backgroundOpacity:this.j("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:A,backgroundColorRatios:this.j("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:e.oc,fontSize:this.j("selectedTabFontSize",
2051"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",
2052"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.Ud,
2053fontSize: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",
2054"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"),
2055textDecoration: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.Qa&&o?0:n,borderRightSize:u==f.ra&&o?0:n,borderBottomSize:u==f.eb&&o?0:n,borderTopSize:u==f.cb&&o?0:n})}if(s){x=this.j("tabsSize");switch(u){case f.ra:this.be.Q({left:x-
2056(this.j("borderLeftSize","borderSize")||0),right:0,top:0,bottom:0});break;case f.Qa:this.be.Q({left:0,right:x-(this.j("borderRightSize","borderSize")||0),top:0,bottom:0});break;case f.eb:this.be.Q({left:0,right:0,top:x-(this.j("borderTopSize","borderSize")||0),bottom:0});break;case f.cb:this.be.Q({left:0,right:0,top:0,bottom:x-(this.j("borderBottomSize","borderSize")||0)})}u==f.eb&&v==m.Vw||u==f.ra&&v==m.Vw?this.be.set("borderTopLeftRadius",0):this.be.set("borderTopLeftRadius",this.j("borderTopLeftRadius",
2057"borderTopRadius","borderLeftRadius","borderRadius"));u==f.eb&&v==m.At||u==f.Qa&&v==m.Vw?this.be.set("borderTopRightRadius",0):this.be.set("borderTopRightRadius",this.j("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));u==f.cb&&v==m.Vw||u==f.ra&&v==m.At?this.be.set("borderBottomLeftRadius",0):this.be.set("borderBottomLeftRadius",this.j("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));u==f.cb&&v==m.At||u==f.Qa&&v==m.At?this.be.set("borderBottomRightRadius",
20580):this.be.set("borderBottomRightRadius",this.j("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.be.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",
2059"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"),
2060backgroundColor:this.j("backgroundColor"),backgroundColorRatios:this.j("backgroundColorRatios")});u==f.eb||u==f.cb?this.be.set("backgroundColorDirection",c.AJ):this.be.set("backgroundColorDirection",c.fJ)}if(t)for(x=0;x<this.il.length;x++)this.il[x].set("visible",x==this.Lc);g.prototype.ea.call(this)};return b});
2061define("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",selectedTabBackgroun
2061dColor:"or[color, array[color]]",selectedTabBackgroundColorRatios:"array[number]",selectedTabBackgroundOpacity:"number",selectedTabFontColor:"color",selectedTabFontSize:"or[number, size]",selectedTabFontStyle:"enum[italic, normal]",
2062selectedTabFontWeight:"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]",
2063tabsBackgroundOpacity:"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",
2064tabsRollOverFontSize:"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]",
2065tabsTextShadowBlurRadius:"number",tabsTextShadowColor:"color",tabsTextShadowHorizontalLength:"number",tabsTextShadowOpacity:"number",tabsTextShadowVerticalLength:"number"}).co(["selectedTabFontSize","tabsFontSize","tabsRollOverFontSize"]).nc([c.W]);return a});define("dH",["hb","iO"],function(a,b){var c=a.extend(b,function(){b.call(this);this.Nc("Page");this.set("label","")});c.prototype.oa=function(){b.prototype.oa.call(this);this.f("visible",n)};return c});
2066define("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});
2067define("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});
2068define("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});
2069define("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.ka=this.rc=q;this.ir=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",g.Qw);this.set("cursor",j.Ud)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("overflow",
2070"hidden");this.f("item");this.f("thumbnailUrlFunction",this.EL);this.f("sourceProperties");this.f("labelFunction",this.CL);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");
2071this.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");
2072this.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",
2073f.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");
2074this.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",
2075f.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");
2076this.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",
2077f.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");
2078this.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",
2079f.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",
2080f.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",
2081f.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",
2082f.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");
2083this.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.SB=function(a){this.Lz(a)};t.prototype.Ia=function(){l.prototype.Ia.call(this);if(!this.rc){this.rc=new r;this.qa(this.rc);this.rc.set("horizontalAlign",d.tc);this.rc.set("verticalAlign",d.bc);this.rc.bind(e.O,
2084this.tQ,this)}if(!this.ka){this.ka=new o;this.qa(this.ka)}};
2084t.prototype.EL=function(a){if(s(a).isString())return a;if(a&&a.MT)return a.MT};t.prototype.CL=function(a){if(a&&a.label)return a.label};t.prototype.ea=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.ir.length;)this.ir.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.ir.push(c.watch(b,a,this.lO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
2085this.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.rc.get("url")!=a&&this.rc.Q({url:a,visible:p,opacity:0.5}):this.rc.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.ka.Q({text:a,visible:a?p:z});this.o("labelFunction")}this.o("item");
2086this.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.ra:case h.Qa:this.set("layout",k.xe);this.ka.set("width","100%");this.rc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.bg)});break;default:this.set("layout",k.Ue);this.ka.set("width","100%");this.rc.Q({height:a("thumbnailHeight",
2087"100%"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.bg)})}switch(this.j("labelPosition")){case h.ra:case h.eb:this.ii(this.ka,0);break;default:this.ii(this.ka,1)}this.o("labelPosition")}this.Ua(t.LJ,t.RV,[this],p,p);this.Ua(t.NJ,t.VV,[this.rc],p,p);this.Ua(t.MJ,t.TV,[this.ka],p,p);l.prototype.ea.call(this)};t.prototype.lO=function(){this.ws("item")};t.prototype.us=function(a){l.prototype.us.call(this,a)};t.prototype.tQ=function(){this.rc.set("opacity",1)};t.RV={labelGap:"gap"};
2088t.LJ=s(t.RV).keys();t.TV={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"};
2089t.MJ=s(t.TV).keys();t.VV={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"};
2090t.NJ=s(t.VV).keys();return t});
2091define("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.oa=function(){h.prototype.oa.call(this);this.f("layout",g.jo);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",j.Uk);this.f("itemHorizontalAlign",c.tc);this.f("itemLabelFontFamily");this.f("itemLabelPosition",k.cb);this.f("itemLabelFunction");this.f("itemLabelMaxWidth");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",
2092c.tc);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.bc);
2092this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");this.f("itemBackgroundColorRatios");this.f("itemBackgroundColorDirection");this.f("itemBorderRadius");this.f("itemBorderTopRadius");
2093this.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");
2094this.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");
2095this.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");
2095this.f("rollOverItemBackgroundOpacity");this.f("rollOverItemBackgroundColor");this.f("rollOverItemBackgroundColorRatios");
2096this.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");
2097this.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");
2098this.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");
2099this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");
2099this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");this.f("selectedItemBorderTopRadius");
2100this.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");
2101this.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");
2102this.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");
2103this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};l.prototype.sy=function(a){this.Yg=p;this.set("selectedIndex",this.BM(a.source))};l.prototype.BM=function(a){for(var b=this.Oa(),c=0;c<b.length;c++)if(b[c]==a)return c;return-1};l.prototype.ea=function(){this.m("layout")&&this.j("layout")!=g.jo&&this.set("layout",g.jo);var a=z;if(this.m("items")){var a=p,c=this.j("items")||
2104[],d=this.Oa();if(d.length<c.length){for(var f=d.length;f<c.length;f++){d=new m;d.bind(e.U,this.sy,this);this.Ua(l.ax,l.Tq,[d],z,z);this.Ua(l.bx,l.Uq,[d],z,z);this.qa(d)}d=this.Oa()}if(d.length>c.length){for(f=c.length;f<d.length;f++){var k=d[f];k.unbind(e.U,this.sy,this);this.removeChild(k)}d=this.Oa()}for(f=0;f<c.length;f++)d[f].set("item",c[f]);this.o("items")}if(this.m("selectedIndex")||a){c=this.Oa();a=Math.min(c.length-1,Math.max(-1,this.j("selectedIndex")));this.set("selectedIndex",a);for(f=
21050;f<c.length;f++)c[f].SB(f==a);this.o("selectedIndex");if(this.Yg){this.Yg=z;this.trigger(new b(e.W))}}this.Ua(l.ax,l.Tq,this.Oa(),p,z);this.Ua(l.bx,l.Uq,this.Oa(),p,p);h.prototype.ea.call(this)};l.Tq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};l.Uq={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",
2106itemLabelFontFamily:"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",
2107itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroun
2107dOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",
2108itemBorderBottomLeftRadius:"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",
2109itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",
2110itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",
2111itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroun
2111dOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",
2112rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",
2113rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",
2114rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",
2115rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",
2116rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroun
2116dOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",
2117selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",
2118selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",
2119selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",
2120selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",
2121selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",
2122toolTipBackgroundColor:"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",
2123toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",
2124toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};l.ax=f(l.Tq).keys();l.bx=f(l.Uq).keys();return l});
2125define("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.xb=q;this.set("itemMode","normal");this.Uj=z;this.ux=new d(this,"buttonScrollDown",g.vc);this.ux.bind(b.U,this.s6,this);this.vx=new d(this,"buttonScrollLeft",g.vc);this.vx.bind(b.U,this.scrollLeft,this);this.wx=new d(this,"buttonScrollRight",g.vc);this.wx.bind(b.U,this.t6,this);this.xx=new d(this,"buttonScrollUp",g.vc);this.xx.bind(b.U,this.u6,this);this.bind(b.W,this.Tea,this)});e.A("ThumbnailGrid",
2126a).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",
2127itemBorderBottomColor:"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",
2128itemBorderTopRightRadius:"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]",
2129itemLabelTextDecoration:"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",
2130itemThumbnailBorderRadius:"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",
2131itemThumbnailShadowVerticalLength:"number",itemWidth:"or[number, percent]",itemVerticalAlign:"enum[bottom, middle, top]",overflow:"enum[scroll, hidden, visible]",playList:"PlayList",rollOverItemBackgroun
2131dColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",rollOverItemBorderBottomRadius:"number",
2132rollOverItemBorderBottomRightRadius:"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",
2133rollOverItemBorderTopRightRadius:"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",
2134rollOverItemLabelTextShadowOpacity:"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",
2135rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroun
2135dColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
2136selectedItemBackgroundOpacity:"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",
2137selectedItemBorderTopLeftRadius:"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]",
2138selectedItemLabelTextShadowBlurRadius:"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",
2139selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]"}).co(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.nh=function(){c.prototype.nh.call(this);
2140this.Is()};a.prototype.Gn=function(){c.prototype.Gn.call(this);this.Is()};a.prototype.Is=function(){this.ux.set("visible",!this.Uj||this.ZC());this.xx.set("visible",!this.Uj||this.bD());this.vx.set("visible",!this.Uj||this.$C());this.wx.set("visible",!this.Uj||this.aD())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Ym);this.set("itemThumbnailUrlFunction",this.uy);this.set("itemTooltipFunction",this.Or);this.set("itemSourceProperties",
2141["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Or);this.set("itemThumbnailUrlFunction",this.Ym);this.set("itemTooltipFunction",this.Ym);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Or);this.set("itemThumbnailUrlFunction",this.uy);this.set("itemTooltipFunction",this.Ym);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else if(a==
2142"playList"){this.xb&&this.xb.unbind("change",this.nn,this);if(this.xb=b){this.set("items",this.xb.get("items"));this.set("selectedIndex",this.xb.get("selectedIndex"));this.xb.bind("change",this.nn,this,p)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Uj=b;this.Is()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.xb;default:return c.prototype.get.call(this,a,b)}};a.prototype.nn=function(){this.set("items",this.xb.get("items"));
2143this.set("selectedIndex",this.xb.get("selectedIndex"))};a.prototype.Tea=function(){this.xb&&this.xb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Ym=D();a.prototype.Or=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.uy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=j.d4(b));return b};return a});
2144define("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.ka=this.rc=q;this.ir=[];this.set("autoRolledOver",p);this.set("childrenInteractionEnabled",z);this.set("contentOpaque",p);this.set("creationPolicy",g.Qw);this.set("cursor",j.Ud)});t.prototype.oa=function(){l.prototype.oa.call(this);this.f("listLayout");
2145this.f("overflow","hidden");this.f("item");this.f("thumbnailUrlFunction",this.EL);this.f("sourceProperties");this.f("labelFunction",this.CL);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");
2146this.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");
2147this.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",
2148f.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");
2149this.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",
2150f.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");
2151this.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",
2152f.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");
2153this.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",
2154f.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",
2155f.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",
2156f.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",
2157f.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");
2158this.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.SB=function(a){this.Lz(a)};t.prototype.Ia=function(){l.prototype.Ia.call(this);if(!this.rc){this.rc=new r;this.qa(this.rc);this.rc.set("horizontalAlign",d.tc);this.rc.set("verticalAlign",d.bc);this.rc.bind(e.O,
2159this.tQ,this)}if(!this.ka){this.ka=new o;this.qa(this.ka)}};
2159t.prototype.EL=function(a){if(s(a).isString())return a;if(a&&a.MT)return a.MT};t.prototype.CL=function(a){if(a&&a.label)return a.label};t.prototype.ea=function(){if(this.m("sourceProperties")||this.m("item")){for(;this.ir.length;)this.ir.pop().unwatch();var a=this.j("sourceProperties"),b=this.j("item");a&&b&&a.forEach(function(a){this.ir.push(c.watch(b,a,this.lO,this,p))}.bind(this))}if(this.m("sourceProperties")||this.m("item")||this.m("tooltipFunction")){b=
2160this.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.rc.get("url")!=a&&this.rc.Q({url:a,visible:p,opacity:0.5}):this.rc.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.ka.Q({text:a,visible:a?p:z});this.o("labelFunction")}this.o("sourceProperties");
2161this.o("item");if(this.m("listLayout"))switch(this.j("listLayout")){case k.Ue: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.ra:case h.Qa:this.set("layout",k.xe);this.ka.set("width","100%");switch(this.j("listLayout")){case k.Ue:this.rc.Q({height:a("thumbnailHeight"),
2162width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.bg)});break;default:this.rc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",m.bg)})}break;default:this.set("layout",k.Ue);this.ka.set("width",n);switch(this.j("listLayout")){case k.Ue:this.rc.Q({height:a("thumbnailHeight"),width:a("thumbnailWidth","100%"),scaleMode:a("thumbnailScaleMode",m.Bj)});break;default:this.rc.Q({height:a("thumbnailHeight","100%"),width:a("thumbnailWidth"),scaleMode:a("thumbnailScaleMode",
2163m.bg)})}}switch(this.j("labelPosition")){case h.ra:case h.eb:this.ii(this.ka,0);break;default:this.ii(this.ka,1)}this.o("labelPosition")}this.o("listLayout");this.Ua(t.LJ,t.Ht,[this],p,p);this.Ua(t.NJ,t.Ht,[this.rc],p,p);this.Ua(t.MJ,t.Ht,[this.ka],p,p);l.prototype.ea.call(this)};t.prototype.lO=function(){this.ws("item")};t.prototype.us=function(a){l.prototype.us.call(this,a)};t.prototype.tQ=function(){this.rc.set("opacity",1)};t.LJ=["labelGap"];t.NJ=["thumbnailBorderColor","thumbnailBorderRadius",
2164"thumbnailBorderSize","thumbnailMaxWidth","thumbnailMaxHeight","thumbnailOpacity","thumbnailShadow","thumbnailShadowHorizontalLength","thumbnailShadowVerticalLength","thumbnailShadowBlurRadius","thumbnailShadowSpread","thumbnailShadowColor","thumbnailShadowOpacity"];t.MJ=["labelFontFamily","labelFontColor","labelFontSize","labelFontStyle","labelFontWeight","labelHorizontalAlign","labelTextDecoration","labelTextShadowColor","labelTextShadowHorizontalLength","labelTextShadowVerticalLength","labelTextShadowBlurRadius",
2165"labelTextShadowOpacity"];t.Ht={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",
2166thumbnailMaxWidth:"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});
2167define("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.ha("selectedIndex"),this.kga,this);this.bind(d.rb,this.gia,this)});f.prototype.oa=function(){h.prototype.oa.call(this);this.f("layout",g.xe);this.f("selectedIndex",-1);this.f("items",[]);this.f("overflow",j.Uk);this.f("itemHorizontalAlign",e.tc);this.f("itemLabelFontFamily");
2168this.f("itemLabelPosition",k.cb);this.f("itemLabelFunction");this.f("itemLabelGap");this.f("itemLabelHorizontalAlign",e.tc);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.bc);
2168this.f("itemBackgroundOpacity");this.f("itemBackgroundColor");
2169this.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");
2170this.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");
2171this.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");
2171this.f("rollOverItemBackgroundOpacity");
2172this.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");
2173this.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");
2174this.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");
2175this.f("rollOverItemThumbnailShadow");this.f("rollOverItemThumbnailShadowHorizontalLength");this.f("rollOverItemThumbnailShadowVerticalLength");this.f("rollOverItemThumbnailShadowBlurRadius");this.f("rollOverItemThumbnailShadowSpread");this.f("rollOverItemThumbnailShadowColor");this.f("rollOverItemThumbnailShadowOpacity");
2175this.f("selectedItemBackgroundOpacity");this.f("selectedItemBackgroundColor");this.f("selectedItemBackgroundColorRatios");this.f("selectedItemBackgroundColorDirection");this.f("selectedItemBorderRadius");
2176this.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");
2177this.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");
2178this.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");
2179this.f("selectedItemThumbnailShadowBlurRadius");this.f("selectedItemThumbnailShadowSpread");this.f("selectedItemThumbnailShadowColor");this.f("selectedItemThumbnailShadowOpacity")};f.prototype.sy=function(a){this.Yg=p;this.set("selectedIndex",this.BM(a.source))};f.prototype.kga=function(){this.O1()};f.prototype.gia=function(){this.O1()};f.prototype.O1=function(){var a=this.get("selectedIndex"),b=this.Oa();a>=0&&a<b.length&&this.scrollIntoView(b[a])};f.prototype.BM=function(a){for(var b=this.Oa(),
2180c=0;c<b.length;c++)if(b[c]==a)return c;return-1};f.prototype.ea=function(){if(this.m("layout")){var a=this.j("layout");a!=g.Ue&&a!=g.xe&&this.set("layout",g.xe)}var b=z;if(this.m("items")){var b=p,a=this.j("items")||[],e=this.Oa();if(e.length<a.length){for(var k=e.length;k<a.length;k++){e=new m;e.bind(d.U,this.sy,this);this.Ua(f.ax,f.Tq,[e],z,z);this.Ua(f.bx,f.Uq,[e],z,z);this.qa(e)}e=this.Oa()}if(e.length>a.length){for(k=a.length;k<e.length;k++){var j=e[k];j.unbind(d.U,this.sy,this);this.removeChild(j)}e=
2181this.Oa()}for(k=0;k<a.length;k++)e[k].set("item",a[k]);this.o("items")}if(this.m("selectedIndex")||b){a=this.Oa();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].SB(k==b);this.o("selectedIndex");if(this.Yg){this.Yg=z;this.trigger(new c(d.W))}}this.Ua(f.ax,f.Tq,this.Oa(),p,z);this.Ua(f.bx,f.Uq,this.Oa(),p,p);h.prototype.ea.call(this)};f.Tq={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
2182shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};f.Uq={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",
2183itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroun
2183dOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",
2184itemBorderLeftRadius:"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",
2185itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",
2186itemLabelTextShadowOpacity:"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",
2187itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroun
2187dOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",
2188rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",
2189rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",
2190rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",
2191rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",
2192rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroun
2192dOpacity:"selectedBackgroundOpacity",
2193selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",
2194selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",
2195selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",
2196selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",
2197selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",
2198selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",
2199toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",
2200toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};f.ax=a(f.Tq).keys();f.bx=a(f.Uq).keys();return f});
2201define("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.xb=q;this.set("itemMode","normal");this.Uj=z;this.ux=new d(this,"buttonScrollDown",g.vc);this.ux.bind(b.U,this.s6,this);this.vx=new d(this,"buttonScrollLeft",g.vc);this.vx.bind(b.U,this.scrollLeft,this);this.wx=new d(this,"buttonScrollRight",g.vc);this.wx.bind(b.U,this.t6,this);this.xx=new d(this,"buttonScrollUp",g.vc);this.xx.bind(b.U,this.u6,this);this.bind(b.W,this.Uea,this)});
2201e.A("ThumbnailList",
2202a).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]",
2203itemBackgroundColor:"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",
2204itemBorderRightRadius:"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]",
2205itemLabelGap:"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",
2206itemShadow:"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",
2207itemThumbnailShadowOpacity:"number",itemThumbnailShadowSpread:"number",itemThumbnailShadowVerticalLength:"number",itemVerticalAlign:"enum[bottom, middle, top]",layout:"enum[vertical, horizontal]",playList:"PlayList",rollOverItemBackgroun
2207dColor:"or[array[color], color]",rollOverItemBackgroundColorDirection:"enum[horizontal, vertical]",rollOverItemBackgroundColorRatios:"array[number]",rollOverItemBackgroundOpacity:"number",rollOverItemBorderBottomColor:"color",rollOverItemBorderBottomLeftRadius:"number",
2208rollOverItemBorderBottomRadius:"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",
2209rollOverItemBorderTopRadius:"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",
2210rollOverItemLabelTextShadowHorizontalLength:"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",
2211rollOverItemThumbnailShadowColor:"color",rollOverItemThumbnailShadowHorizontalLength:"number",rollOverItemThumbnailShadowOpacity:"number",rollOverItemThumbnailShadowSpread:"number",rollOverItemThumbnailShadowVerticalLength:"number",scrollBarColor:"color",scrollBarWidth:"number",scrollBarMargin:"number",scrollBarOpacity:"number",scrollBarVisible:"enum[rollOver, always]",selectedItemBackgroun
2211dColor:"or[array[color], color]",selectedItemBackgroundColorDirection:"enum[horizontal, vertical]",selectedItemBackgroundColorRatios:"array[number]",
2212selectedItemBackgroundOpacity:"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",
2213selectedItemBorderTopLeftRadius:"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]",
2214selectedItemLabelTextShadowBlurRadius:"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",
2215selectedItemThumbnailOpacity:"number",selectedItemThumbnailShadow:"bool",selectedItemThumbnailShadowBlurRadius:"number",selectedItemThumbnailShadowColor:"color",selectedItemThumbnailShadowHorizontalLength:"number",selectedItemThumbnailShadowOpacity:"number",selectedItemThumbnailShadowSpread:"number",selectedItemThumbnailShadowVerticalLength:"number",verticalAlign:"enum[bottom, middle, top]",itemLabelFunction:"*"}).co(["itemLabelFontSize","rollOverItemLabelFontSize","selectedItemLabelFontSize"]);a.prototype.nh=
2216function(){c.prototype.nh.call(this);this.Is()};a.prototype.Gn=function(){c.prototype.Gn.call(this);this.Is()};a.prototype.Is=function(){this.ux.set("visible",!this.Uj||this.ZC());this.xx.set("visible",!this.Uj||this.bD());this.vx.set("visible",!this.Uj||this.$C());this.wx.set("visible",!this.Uj||this.aD())};a.prototype.set=function(a,b){if(a=="itemMode")switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Ym);this.set("itemThumbnailUrlFunction",this.uy);this.set("itemTooltipFunction",
2217this.Or);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.Or);this.set("itemThumbnailUrlFunction",this.Ym);this.set("itemTooltipFunction",this.Ym);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.Or);this.set("itemThumbnailUrlFunction",this.uy);this.set("itemTooltipFunction",this.Ym);this.set("itemSourceProperties",["label","media.label",
2218"media.thumbnailUrl","media.flipImageHorizontally"])}else if(a=="playList"){this.xb&&this.xb.unbind("change",this.nn,this);if(this.xb=b){this.set("items",this.xb.get("items"));this.xb.bind("change",this.nn,this)}else this.set("items",[])}else if(a=="hideScrollButtons"){this.Uj=b;this.Is()}else c.prototype.set.call(this,a,b)};a.prototype.get=function(a,b){switch(a){case "playList":return this.xb;default:return c.prototype.get.call(this,a,b)}};a.prototype.nn=function(){this.set("items",this.xb.get("items"));
2219this.set("selectedIndex",this.xb.get("selectedIndex"))};a.prototype.Uea=function(){this.xb&&this.xb.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Ym=D();a.prototype.Or=function(a){return a.get("label")||a.get("media").get("label")};a.prototype.uy=function(a){var a=a.get("media"),b=a.get("thumbnailUrl");a.get("flipImageHorizontally")&&(b=j.d4(b));return b};return a});
2220define("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[c
2220olor], color]",backgroundColorDirection:"enum[horizontal, vertical]",backgroundColorRatios:"array[number]",backgroundImageUrl:"string",backgroundOpacity:"number",borderBottomColor:"color",borderBottomLeftRadius:"number",borderBottomRadius:"number",borderBottomRightRadius:"number",borderBottomSize:"number",
2221borderColor:"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",
2222inView:"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]]",
2223toolTipBackgroundOpacity:"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",
2224toolTipPaddingRight:"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]"}).co(["toolTipFontSize"]).pj(["backgroundImageUrl"]).nc([b.zg,
2225b.INIT,b.U,b.Cj,b.nf,b.rb,b.Rc,b.pc,b.Ef]);return a});
2226define("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.Bb=a.get("video").Pe();this.R=a.get("width",320);this.ba=a.get("height",Math.round(3*a.get("width",320)/4));this.Ec=a.get("scaleMode",e.ge)});a.prototype.Ek=function(){return[]};a.prototype.Pe=P("Bb");a.prototype.tla=function(){return this.t.get("video").get("subtitlesURL")};a.prototype.Gc=P("R");a.prototype.sd=P("ba");return a});
2227define("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.we=g.we;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]"}).nc([c.ua,a.we]);a.prototype.Pc=function(){if(this.G==n)this.G=this.get("video")?new j(this):q;return this.G};
2228a.prototype.Qn=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.we=a.we;e.A("VideoPanorama",b).B("Panorama").K({cues:"array[VideoCue]",loop:"bool"}).nc([c.ua,b.we]);return b});
2229define("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"}).pj(["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?
2230g:b}return c.prototype.get.call(this,a,b)};return b});
2231define("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.kk=this.t=n});e.A("Video360",a).B("VideoPanorama").K({video:"or[Video360Resource, array[Video360Resource]]"});a.prototype.set=function(a,b){a=="video"?this.y9(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)};
2231a.prototype.y9=function(a){if(this.t!=
2232a){this.t=a;a=[];if(this.t){var b=new d;b.set("sphere",this.Rda(this.t));a.push(b)}g.prototype.set.call(this,"frames",a)}};a.prototype.Rda=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});
2233define("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.Te,this.Lh,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");
2234a&&(a.unbind(c.Te,this.Lh,this),a.get("video")==this.get("media")&&a.set("video",q));e.prototype.stop.call(this)};a.prototype.Lh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Te,this.Lh,this),this.get("player").bind(c.yg,this.jk,this),this.Kv())};a.prototype.jk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.yg,this.jk,this),this.end())};return a});
2235define("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"}).pj(["posterURL","url"]);return b});
2236define("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.Md=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",
2237d.Hc)};m.prototype.stop=function(){this.set("state",d.L)};m.we=k.we;m.jd="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",
2238hfov:"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]"}).nc([e.mo,e.ua,e.Cj,e.nf,m.we,m.jd]).kh([e.U]).vg({pause:m.prototype.pause,play:m.prototype.play,stop:m.prototype.stop});
2239m.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.mo);j!=b&&this.trigger(new g(m.jd,{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.Md=n;h=p}c.prototype.set.call(this,a,b);h&&a!="playbackPositions"&&this.trigger(e.ha("playbackPositions"))};m.prototype.get=
2240function(a,b){switch(a){case "playbackPositions":if(this.Md===n)this.Md=h.tH(this);return this.Md}return c.prototype.get.call(this,a,b)};m.prototype.tH=function(){if(this.Md===n)this.Md=h.tH(this);return this.Md};return m});
2241define("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.Ev,this,p);this.g.bind(c.ua,this.FA,this,p);this.Ac=this.Mj=q;this.Of=z;this.pf=[];this.Ah=n;this.Wb=[]});b.prototype.clear=function(){this.g.unbind(c.W,this.Ev,this,p);this.g.unbind(c.ua,this.FA,this,p);this.Ac=this.Mj=this.g=q;this.pf=[];this.Wb=[]};b.prototype.start=function(a){this.end();this.Mj=a;this.Ac=
2242a.Pc();this.dL();this.Wz()};b.prototype.end=function(){this.zx();this.Ac=this.Mj=q};b.prototype.Rd=function(a){a=a!=g.L;if(this.Of!=a)(this.Of=a)?this.Wz():this.zx()};b.prototype.FA=function(){this.Ev()};b.prototype.Wz=function(){this.Ah=this.bu=0};b.prototype.Ev=function(){if(this.Ac&&this.Of){var b=this.Wb.slice(),d=this.g.gS(this.Ac),f=d-this.bu;if(f<0){this.Wb=[];this.Ah=0}f=f>=0&&f<2;this.bu=d;var g;for(g=this.Ah;g<this.pf.length;g++)if(this.pf[g].time>d)break;for(;this.Ah<g;this.Ah++){d=this.pf[this.Ah];
2243if(d.action=="start"){this.Wb=a(this.Wb).union([d.cue]);f&&d.cue.trigger(new e(c.tj))}else{this.Wb=a(this.Wb).difference([d.cue]);f&&d.cue.trigger(new e(c.ua))}}(b.length!=this.Wb.length||a(b).intersection(this.Wb).length!=this.Wb.length)&&this.kA()}};b.prototype.zx=function(){if(this.Wb.length>0){this.Wb=[];this.kA()}};b.prototype.kA=function(){this.Mj.trigger(new e(j.we,{activeCues:this.Wb.slice()}))};b.prototype.dL=function(){this.pf=[];var b=this.Mj.get("cues",[]);a(b).each(function(a){this.pf.push(new k(a.get("startTime",
22440),a,"start"));this.pf.push(new k(a.get("endTime",Number.POSITIVE_INFINITY),a,"end"))},this);this.pf.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});
2245define("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.Su=[];this.V=e.ui;this.ig=q;this.JL=n;this.Dg=q;this.Zi=this.F.get("transitionDuration");this.Yh=n});e.prototype.display=function(a,b){this.NK();if(this.Dg!=a||this.V!=e.ui)this.Su.push({video:a,startTime:b}),this.a0()};e.prototype.hide=function(){this.NK();this.Su.push({video:q,startTime:n});this.a0()};e.prototype.clear=function(){this.V=e.ui;this.NK();this.Ofa();this.nP();this.g=
2246q};
2246e.prototype.lj=function(a){if(this.V!=e.ui&&(this.V==e.sm||this.V==e.dx))this.Yh+=a,a=Math.min(1,this.Yh/this.Zi),this.V==e.sm?this.g.ug(this.ig.Pc(),a):this.g.ug(this.Dg.Pc(),1-a),this.Yh<this.Zi?this.ga():this.V==e.sm?this.cM():this.dM()};e.prototype.a0=function(){0<this.Su.length&&this.V==e.ui&&this.uo()};e.prototype.uo=function(){this.Dg&&this.trigger(new b(e.Iq,{video:this.Dg}));if("fade_out_fade_in"==this.F.get("transitionMode","blending")&&this.Dg)this.px();else{var a=this.Su.shift();this.ig=
2247a.video;this.JL=a.startTime;this.ig?this.sK():this.Dg&&this.px()}};e.prototype.sK=function(){this.S8();this.Yh=0;this.V=e.sm;this.ga()};e.prototype.cM=function(){this.nP();this.Dg=this.ig;this.ig=q;this.Ar()};e.prototype.px=function(){this.Yh=0;this.V=e.dx;this.ga()};e.prototype.dM=function(){this.nP();this.Dg=q;this.Ar()};e.prototype.Ar=function(){this.V=e.ui;this.Dg&&this.trigger(new b(e.Jq,{video:this.Dg}));0!=this.Su.length&&this.uo()};e.prototype.ga=function(){this.trigger(new b(e.sa))};e.prototype.NK=
2248function(){this.Su=[]};e.prototype.S8=function(){this.ig&&(this.g.QA(this.ig.Pc()),this.g.sT(this.ig.Pc(),this.JL||0),this.g.RA(this.ig.Pc()),this.g.ug(this.ig.Pc(),0),this.trigger(new b(e.$I,{video:this.ig,startTime:this.JL})))};e.prototype.nP=function(){this.Dg&&(this.g.removeItem(this.Dg.Pc()),this.trigger(new b(e.lC,{video:this.Dg})),this.Dg=q)};e.prototype.Ofa=function(){this.ig&&(this.g.removeItem(this.ig.Pc()),this.trigger(new b(e.lC,{video:this.ig})),this.ig=q)};e.ui="stopped";e.sm="blending";
2249e.dx="disolving";e.sa="request frame";e.$I="video added";e.lC="video removed";e.Jq="video show";e.Iq="video hide";return e});
2250define("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.ua,this.FA,this);this.g.bind(c.W,this.Ms,this,p);this.Ac=this.Mj=q;this.ed=z;this.vL=g.L});j.prototype.start=function(a,b){this.end();this.Mj=a;if(this.Ac=a.Pc()){this.ed&&this.g.a6(this.Ac);this.ob(g.T);this.g.f6(this.Ac);this.g.sT(this.Ac,b||0)}};j.prototype.end=function(){this.stop();this.Ac=this.Mj=q};j.prototype.clear=function(){this.g.unbind(c.W,
2251this.Ms,this,p);this.g.unbind(c.ua,this.FA,this);this.g=q};j.prototype.play=function(){if(this.Ac){this.ob(g.T);this.g.f6(this.Ac)}};j.prototype.pause=function(){if(this.Ac){this.ob(g.Hc);this.g.vma(this.Ac)}};j.prototype.stop=function(){if(this.Ac){this.ob(g.L);this.g.Aoa(this.Ac)}};j.prototype.cq=function(){if(!this.ed){this.ed=p;this.Ac&&this.g.a6(this.Ac)}};j.prototype.ut=function(){if(this.ed){this.ed=z;this.Ac&&this.g.Joa(this.Ac)}};j.prototype.setTime=function(a){this.Ac&&this.g.sT(this.Ac,
2252a)};j.prototype.getTime=function(){if(this.Ac)return this.g.gS(this.Ac)};j.prototype.Ms=function(a){a=a.data.item;this.Ac==a&&this.trigger(new e(j.Kq,{video:this.Mj,time:this.g.gS(a),duration:this.g.dla(a)}))};j.prototype.FA=function(a){if(this.Ac==a.data.item){if(this.Mj.get("loop")){this.setTime(0);this.play()}else this.ob(g.L);this.trigger(new e(j.Hq,{video:this.Mj}))}};j.prototype.ob=function(a){if(this.vL!=a){this.vL=a;this.trigger(new e(j.Cb,{state:this.vL}))}};j.Cb="playback state change";
2253j.Hq="video end";j.Kq="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.Qj=z;this.g=a});d.prototype.clear=function(){this.Z=z;this.g=q};d.prototype.Aa=function(){this.Qj||(this.Qj=p,e.Aa(this.af,this))};d.prototype.af=function(a){this.Z&&(this.Qj=z,this.trigger(new b(d.UI,{frameTime:a})),this.g.render())};d.UI="frame";return d});
2254define("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.qc=new j(this.g);this.X=new d(this.F,this.g);this.$a=new g(this.g);this.Lj=new e(this.g);this.qc.bind(j.UI,this.i0,this,p);this.X.bind(d.sa,this.Tb,this,p);this.X.bind(d.Iq,this.jk,this,p);this.X.bind(d.Jq,this.Lh,this,p);this.X.bind(d.$I,this.p0,this,p);this.X.bind(d.lC,this.u0,this,p);this.$a.bind(g.Cb,this.Ld,this,p);this.$a.bind(g.Hq,this.ik,this,p);this.$a.bind(g.Kq,
2255this.hz,this,p)});k.prototype.clear=function(){this.qc.clear();this.X.clear();this.$a.clear();this.Lj.clear();this.qc.unbind(j.UI,this.i0,this);this.X.unbind(d.sa,this.Tb,this);this.X.unbind(d.Iq,this.jk,this);this.X.unbind(d.Jq,this.Lh,this);this.X.unbind(d.$I,this.p0,this);this.X.unbind(d.lC,this.u0,this);this.$a.unbind(g.Cb,this.Ld,this);this.$a.unbind(g.Hq,this.ik,this);this.$a.unbind(g.Kq,this.hz,this);this.F=this.g=this.Lj=this.$a=this.X=this.qc=q};k.prototype.qoa=function(a,b){this.X.display(a,
2256b)};k.prototype.kt=function(){this.X.hide();this.$a.end();this.Lj.end()};k.prototype.play=function(){this.$a.play()};k.prototype.stop=function(){this.$a.stop()};k.prototype.pause=function(){this.$a.pause()};k.prototype.cq=function(){this.$a.cq()};k.prototype.ut=function(){this.$a.ut()};k.prototype.setTime=function(a){this.$a.setTime(a)};k.prototype.getTime=function(){return this.$a.getTime()};k.prototype.Tb=function(){this.qc.Aa()};k.prototype.i0=function(a){this.X.lj(a.data.frameTime)};k.prototype.p0=
2257function(a){var b=a.data.video;this.$a.start(b,a.data.startTime);this.Lj.start(b)};k.prototype.u0=D();k.prototype.Lh=function(a){this.trigger(new b(k.Jq,{video:a.data.video}))};k.prototype.jk=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.hz=function(a){this.trigger(new b(k.Kq,{video:a.data.video,time:a.data.time,duration:a.data.duration}))};k.prototype.Ld=function(a){a=a.data.state;this.Lj.Rd(a);this.trigger(new b(k.Cb,
2258{state:a}))};k.Jq="videoShow";k.Iq="videoHide";k.Hq="videoEnd";k.Kq="videoTimeChange";k.Cb="playbackStateChange";return k});
2259define("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.wr=this.dQ=this.Ms=this.pg=z;this.p=this.g=q;this.Db=this.Ub=0;this.Vc=b.Xn(this.Ke,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]]",
2260buttonPlayPause:"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"}).vg({seek:function(a){this.Gz(a)},play:function(){this.Ku()},pause:function(){this.Ju()},
2261stop:function(){this.bs()},restart:function(){this.as()}}).nc([g.Te,g.yg,j.jd]);a.prototype.set=function(a,b){if(this.get(a)!=b){switch(a){case "startTime":this.dQ=p;this.Vc();break;case "video":this.Ms=p;this.Vc();break;case "viewerArea":this.pg=p;this.Vc();break;case "displayPlaybackBar":this.wr=p;this.Vc()}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.Ke=function(){if(this.pg){this.pg=
2262z;this.vr();this.get("viewerArea")&&this.qr();this.eG(this.get("viewerArea"));this.Ms=p}var a=z;if(this.g&&(this.Ms||this.dQ)){var b=this.get("video"),c=this.get("startTime")||0;if(b&&!this.g.fb()){this.Vc();return}this.dQ=this.Ms=z;this.Db=this.Ub=0;a=p;if(b){this.IF();this.p.qoa(b,c)}else this.p.kt()}if(this.wr){this.wr=z;a=p}a&&this.xA()};a.prototype.Yz=function(){this.set("video",q)};a.prototype.qr=function(){var a=this.get("application"),b=this.get("viewerArea");this.g=new m(a,b,this);this.g.Q({left:0,
2263top:0,bottom:0,right:0});b.qa(this.g);b.bind(c.U,this.x0,this,p);this.p=new h(b,this.g);this.p.bind(h.Jq,this.Lh,this);this.p.bind(h.Iq,this.jk,this);this.p.bind(h.Hq,this.ik,this,p);this.p.bind(h.Kq,this.hz,this,p);this.p.bind(h.Cb,this.Ld,this);a.bind(c.ha("mute"),this.Zy,this);a.get("mute",z)&&this.p.cq();this.jv(p)};a.prototype.vr=function(){if(this.g){this.p.unbind(h.Jq,this.Lh,this);this.p.unbind(h.Iq,this.jk,this);this.p.unbind(h.Hq,this.ik,this);this.p.unbind(h.Kq,this.hz,this);this.p.unbind(h.Cb,
2264this.Ld,this);this.p.clear();this.get("application").unbind(c.ha("mute"),this.Zy,this);var a=this.g.getParent();a.removeChild(this.g);a.unbind(c.U,this.x0,this,p);this.g=q;this.jv(z)}};a.prototype.Zy=function(){this.g&&(this.get("application").get("mute",z)?this.p.cq():this.p.ut())};a.prototype.Ld=function(a){a=a.data.state;this.g&&this.g.doa(this.get("displayPlayOverlay")&&a!=k.T);this.ob(a)};a.prototype.Lh=function(a){var b=this.get("viewerArea");(this.jc=b&&b.jc)&&this.jc.bind(c.U,this.y0,this,
2265p);this.KO=z;this.FE(a.data.video)};a.prototype.jk=function(a){this.jc&&this.jc.unbind(c.U,this.y0,this,p);this.jc=q;this.EE(a.data.video)};a.prototype.ik=function(){this.get("video").trigger(new e(c.ua))};a.prototype.hz=function(a){this.Ub=a.data.time;this.Db=a.data.duration;this.xA()};a.prototype.x0=function(){if(this.KO)this.KO=z;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=k.T?this.p.play():this.p.pause()}};a.prototype.y0=function(){this.KO=p};a.prototype.vF=function(a){this.Gz(a.data.position)};
2266a.prototype.mg=function(){this.p.play()};a.prototype.Wi=function(){this.p.stop()};a.prototype.mk=function(){this.p.pause()};a.prototype.Gz=function(a){this.p&&this.p.setTime(a)};a.prototype.xA=function(){if(this.g){var a=this.g.getParent();this.Db>0&&this.get("displayPlaybackBar")?a.Q({playbackBarPosition:this.Ub,playbackBarDuration:this.Db,playbackBarVisible:p}):a.set("playbackBarVisible",z)}};return a});
2267define("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.Te,this.Lh,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.Te,this.Lh,this),a.get("video")==this.get("media")&&
2268a.set("video",q));e.prototype.stop.call(this)};a.prototype.Lh=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.Te,this.Lh,this),this.get("player").bind(c.yg,this.jk,this),this.Kv())};a.prototype.jk=function(a){a.data.media==this.get("media")&&(this.get("player").unbind(c.yg,this.jk,this),this.end())};return a});
2269define("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",subt
2269itlesURL:"string",webmUrl:"string",width:"number",height:"number"}).pj(["mp4Url","oggUrl","subtitlesURL","webmUrl"]);a.prototype.Pe=function(){var a=this.get("webmUrl"),b=this.get("oggUrl"),c=this.get("mp4Url");return c&&d.wH?c:a&&d.xH?a:b&&d.qS?b:c||a||b};return a});
2270define("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.Nc("WebFrame");this.Cy=this.Br=this.Be=this.Tp=q;this.dO=this.dO.bind(this);this.UE=this.UE.bind(this);this.bind(e.Ef,this.Zea,this,p);this.bind(e.zg,this.Yea,this,p)});a.prototype.oa=function(){j.prototype.oa.call(this);this.f("url");this.f("backgroundColor","#ffffff");this.f("insetBorder",z);this.f("scrollEnabled",
2271p)};a.prototype.Zea=function(){this.ws("url")};a.prototype.Yea=function(){this.ws("url")};a.prototype.Ia=function(){j.prototype.Ia.call(this);if(!this.Tp){this.Tp=b("<div></div>");this.Tp.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"});this.La().append(this.Tp)}if(!this.Be){this.Be=b("<iframe></iframe>");this.Be.css({position:"absolute",left:0,top:0});this.Be.attr("allowfullscreen","true");this.Be.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone");
2272this.Tp.append(this.Be)}if(!this.Br){this.Br=b("<div></div>");this.Br.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.Xa()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"});this.Tp.append(this.Br)}};a.prototype.ea=function(){if(this.m("url")){var a=this.j("url");a&&this.Wo?this.Z1(a):this.Z1("");this.o("url")}if(this.m("insetBorder")){this.j("insetBorder")?
2273this.Be.attr("frameborder","1"):this.Be.attr("frameborder","0");this.o("insetBorder")}if(this.m("scrollEnabled")){if(this.j("scrollEnabled")){this.Be.attr("scrolling","auto");this.Tp.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})}else{this.Be.attr("scrolling","no");this.Tp.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})}this.o("scrollEnabled")}j.prototype.ea.call(this)};a.prototype.fe=function(){this.Be&&k.css(this.Be.get(0),{width:this.R+"px",height:this.ba+"px"});j.prototype.fe.call(this)};
2274a.prototype.refresh=function(){if(this.j("url")&&this.Wo){this.XM();this.jD();this.BQ();this.Be.attr("src","");
2274setTimeout(function(){this.z2();this.JW();this.Be.attr("src",this.j("url"))}.bind(this),30)}};a.prototype.Z1=function(a){if(this.Be.attr("src")!=a){this.XM();if(a){this.z2();this.JW()}else{this.jD();this.BQ()}this.Be.attr("src",a)}};a.prototype.dO=function(){this.Cy=q;this.pda()&&this.wha()};a.prototype.UE=function(){this.XM();this.jD();this.BQ()};a.prototype.JW=function(){this.Be.on("load",
2275this.UE)};a.prototype.BQ=function(){this.Be.off("load",this.UE)};a.prototype.jD=function(){if(this.Cy){clearTimeout(this.Cy);this.Cy=q}};a.prototype.z2=function(){this.jD();this.Cy=setTimeout(this.dO.bind(this),3E3)};a.prototype.pda=function(){if(window.location.protocol=="https:"){var a=this.Be.attr("src");if(g.parse(a).protocol!="https:")return p}return z};a.prototype.wha=function(){this.Br.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");this.Br.show()};
2276a.prototype.XM=function(){this.Br.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"}).pj(["url"]).vg({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.Ya={layout:e.xe};a.defaults(d.Ya,c.Ya);d.prototype.oa=function(){this.zi(d.Ya)};return d});
2277define("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.Nc("Window");this.wo=this.Xt=this.hA=this.Jg=q;this.xK=new j;this.ku=q;this.UM=this.TM=0;this.q2=this.r2=z;this.tR=this.uR=n;for(var a in s.Lpa)this.ws(a);this.bind(c.rb,this.Bja,this);this.bind(c.Lq,this.zja,this);this.bind(c.Bt,this.Cja,this);this.bind(c.U,this.yja,this);this.NG=0;this.Oc=new j;this.Oc.Q({visible:z,includeInLayout:z,layout:"absolute",
2278height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:z});this.Oc.bind(c.rb,this.P3,this);this.Oc.bind(c.Bt,this.wja,this);this.Oc.bind(c.Lq,this.O3,this);this.Oc.bind(c.Lq,this.O3,this);this.Oc.bind(c.U,this.vja,this);this.Oc.qa(this)});s.prototype.set=function(a,b){switch(a){case "maxWidth":this.uR=b;this.BG();break;case "maxHeight":this.tR=b;this.BG();break;case "children":this.xK.set(a,b);break;case "shadow":this.r2=b;this.L3();break;default:h.prototype.set.call(this,a,b)}};s.prototype.show=
2279function(b,c){this.BG(b);this.set("visible",z);this.Oc.set("visible",z);this.x9();c&&this.bka();b.set("children",b.get("children").concat([this.Oc]));var d=this;a.defer(function(){d.Oc.set("visible",p)})};s.prototype.x9=function(){var a=this.j("modal"),b=this.j("veilShowEffect"),c=this.j("veilHideEffect");a&&b?this.Oc.set("showEffect",b):this.Oc.set("showEffect",q);a&&c?this.Oc.set("hideEffect",c):this.Oc.set("hideEffect",q)};s.prototype.hide=function(){this.get("visible")&&this.trigger(c.XT);this.NG=
22800;this.cG(z);this.set("visible",z)};s.prototype.bka=function(){this.set("centerX",0);this.set("centerY",0)};s.prototype.get=function(a,b){return a=="children"?this.xK.get(a,b):h.prototype.get.call(this,a,b)};s.MV={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",headerBorderSize:"borderSize",headerBorderLeftSize:"borderLeftSize",headerBorderTopSize:"borderTopSize",
2281headerBorderRightSize:"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.LV=a(s.MV).keys();s.JJ={borderRadius:"borderTopRadius",
2282borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};s.IJ=["borderLeftRadius","borderRightRadius","borderTopLeftRadius","borderTopRightRadius","borderTopRadius","borderRadius"];s.eW={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titlePaddingLeft:"paddingLeft",
2283titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};s.dW=a(s.eW).keys();
2283s.GV={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",
2284closeButtonBackgroundColorRatios:"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",
2285closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",
2286closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",
2287closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};s.FV=a(s.GV).keys();s.IV={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",
2288footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};s.HV=a(s.IV).keys();s.KV={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",borderBottomRightRadius:"borderBottomRightRadius"};
2289s.JV=["borderLeftRadius","borderRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderBottomRadius","borderRadius"];s.CV={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",bodyBorderBottomSize:"borderBottomSize",
2290bodyBorderColor:"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.BV=a(s.CV).keys();s.DV={layout:"layout",
2291horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};
2291s.w8=a(s.DV).keys();s.gW={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};s.fW=a(s.gW).keys();s.Ya=function(){var b={modal:z,visible:z,centerX:0,centerY:0,veilShowEffect:n,veilHideEffect:n};a.defaults(b,j.Ya);for(var c=[].concat(s.LV,s.dW,s.FV,s.BV,s.HV,s.fW),d=0;d<c.length;d++)b[c[d]]=n;return b}();s.prototype.oa=function(){this.zi(s.Ya)};
2292s.prototype.Ia=function(){h.prototype.Ia.call(this);if(this.Jg==q){this.Jg=new k;this.Jg.set("width","100%");this.Jg.bind(c.qb,this.Jca,this);this.qa(this.Jg)}if(this.hA==q){this.hA=new o;this.hA.set("width","100%");this.Jg.qa(this.hA)}if(this.Xt==q){this.Xt=new m;this.Xt.Q({horizontalAlign:d.tc,verticalAlign:d.bc});this.Xt.bind(c.U,this.G$,this);this.Jg.qa(this.Xt)}if(this.wo==q){this.wo=this.xK;this.wo.Q({width:"100%",height:"100%"});this.qa(this.wo)}if(this.ku==q){this.ku=new j;this.ku.set("width",
2293"100%");this.qa(this.ku)}};s.prototype.vja=function(){this.NG++;setTimeout(function(){this.NG>0&&this.hide()}.bind(this),100)};s.prototype.yja=function(){this.NG--};s.prototype.G$=function(){this.hide()};s.prototype.Jca=function(a){this.TM=a.pageX;this.UM=a.pageY;this.fb().bind(c.uc,this.Z3,this,p);this.fb().bind(c.Ib,this.a4,this,p)};s.prototype.Z3=function(a){this.set("centerX",this.get("centerX")+(a.pageX-this.TM));this.set("centerY",this.get("centerY")+(a.pageY-this.UM));this.TM=a.pageX;this.UM=
2294a.pageY;this.K3()};s.prototype.a4=function(){this.fb().unbind(c.uc,this.Z3,this);this.fb().unbind(c.Ib,this.a4,this)};s.prototype.P3=function(){this.BG()};s.prototype.wja=function(){this.set("visible",p)};s.prototype.O3=function(){this.Oc.unbind(c.rb,this.P3,this);var a=this.Oc.getParent();a&&a.removeChild(this.Oc);this.trigger(new e(c.vq))};s.prototype.Bja=function(){this.K3()};s.prototype.Cja=function(){this.cG(p)};s.prototype.zja=function(){this.Oc.set("visible",z)};s.prototype.cG=function(a){this.q2=
2295a;this.L3()};s.prototype.L3=function(){h.prototype.set.call(this,"shadow",this.q2&&this.r2)};s.prototype.BG=function(a){a||(a=this.P);this.uR!==n?h.prototype.set.call(this,"maxWidth",this.uR):a?h.prototype.set.call(this,"maxWidth",a.za()):h.prototype.set.call(this,"maxWidth",n);this.tR!==n?h.prototype.set.call(this,"maxHeight",this.tR):a?h.prototype.set.call(this,"maxHeight",a.ab()):h.prototype.set.call(this,"maxHeight",n)};s.prototype.K3=function(){var a=this.Oc.za(),b=this.za(),c=this.get("centerX"),
2296b=a*0.5+c-b*0.5,d=this.Jg.eh(),e=this.Jg.za(),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.Oc.ab();b=this.ab();c=this.get("centerY");b=a*0.5+c-b*0.5;d=this.Jg.Sl();e=this.Jg.ab();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.ea=function(){this.Ua(s.LV,s.MV,[this.Jg],p,p);this.Ua(s.IJ,s.JJ,[this.Jg],p,z);this.get("headerHeight")===0?this.Ua(s.IJ,s.JJ,[this.wo],p,z):this.Ua(s.IJ,
2297s.JJ,[this.Jg],p,z);this.Ua(s.dW,s.eW,[this.hA],p,p);this.Ua(s.FV,s.GV,[this.Xt],p,p);this.Ua(s.BV,s.CV,[this.wo],p,p);this.Ua(s.w8,s.DV,[this.wo],p,z);this.Ua(s.HV,s.IV,[this.ku],p,p);this.get("footerHeight")===0?this.Ua(s.JV,s.KV,[this.wo],p,z):this.Ua(s.JV,s.KV,[this.ku],p,z);if(this.j("modal")){this.Ua(s.fW,s.gW,[this.Oc],p,p);this.Oc.set("contentOpaque",p)}else{this.Oc.set("backgroundOpacity",0);this.Oc.set("contentOpaque",z)}this.Q({layout:g.Ue,horizontalAlign:d.tc,verticalAlign:d.bc});h.prototype.ea.call(this);
2298this.Ei.$H(0)};return s});
2299define("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",
2300headerBorderLeftColor:"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]",
2301titlePaddingLeft:"number",titlePaddingTop:"number",titlePaddingRight:"number",titlePaddingBottom:"number",titleTextDecoration:"enum[underline, overline, line-through, none]",titleTextShadowBlurRadius:"number",titleTextShadowColor:"color",titleTextShadowHorizontalLength:"number",titleTextShadowOpacity:"number",titleTextShadowVerticalLength:"number",closeButtonBackgroun
2301dColor:"or[array[color], color]",closeButtonBackgroundColorDirection:"enum[horizontal, vertical]",closeButtonBackgroundColorRatios:"array[number]",
2302closeButtonBackgroundOpacity:"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]",
2303closeButtonRollOverBackgroundColorDirection:"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]",
2304closeButtonPressedBackgroundColorRatios:"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",
2305footerBorderTopSize:"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",
2306bodyBorderRightSize:"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"}).co(["titleFontSize"]).vg({show:a.prototype.show,
2307hide:a.prototype.hide}).nc([d.XT,d.vq]);return a});
2308define("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.fw=this.source.get("grayscale");this.Vn=new l(g.Sk)}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.Xd=q;this.qZ=[];this.Eh=[];this.Ka=this.Ca=
2309this.Ta=this.Ra=100;this.Kc=1;this.Ao=this.zo=0.5;this.Mb=1;this.Hf=this.sf=q;this.nF=z;this.lL={};this.au={};this.au.low={};this.au.hight={};if(o.Lv()==o.Jw){this.au.low.transform="translateZ(0)";this.au.hight.transform=""}this.Z=z;this.ze="inherit";this.v=c("<div/>").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.fy=q;this.Cc=s.Xn(this.M,this)});t.prototype.kb=P("v");t.prototype.nq=function(a){if(this.Ec!=a){this.Ec=a;this.mK(1);this.Cc()}};t.prototype.pna=function(a){if(this.ze!=
2310a){this.ze=a;this.Hf&&this.Hf.css("cursor",this.ze);this.sf&&this.sf.css("cursor",this.ze)}};t.prototype.Ana=function(a){if(this.qZ!=a){this.KK();this.Xd=q;if(this.sf){this.sf.detach();this.sf=q}if(this.Hf){this.Hf.detach();this.Hf=q}if(this.ke)this.ke=q;this.KK();this.nF=z;e(this.Eh).each(function(a){a.Vn.cancel();a.Vn.unbind(d.O,this.OZ,this)},this);a=(this.qZ=a)&&a.get("levels")||[];this.Eh=e(a).map(function(a){a=new b(a);a.Vn.bind(d.O,this.OZ,this);return a},this);if(a=this.Uba()){this.Ca=a.width;
2311this.Ka=a.height}else this.Ka=this.Ca=100;this.Ao=this.zo=0.5;this.mK(1);this.Cc()}};t.prototype.dm=function(a,b){if(this.Ra!=a||this.Ta!=b){this.Ra=a;this.Ta=b;this.Cc()}};t.prototype.qna=function(a,b){if(this.OX!=a||this.NX!=b){this.OX=a;this.NX=b;this.Cc()}};
2311t.prototype.se=function(a){if(this.Z!=a){this.Z=a;this.Cc()}};t.prototype.move=function(a,b){var c=this.Kc*this.Mb;this.zo=this.zo+a/(this.Ca*c);this.Ao=this.Ao+b/(this.Ka*c);this.JF()};t.prototype.at=P("Mb");t.prototype.setScale=function(a){this.mK(Math.max(1,
2312Math.min(1/this.Kc,a)));this.Xd&&this.Xd.width<this.Mb*this.Kc*this.Ca&&this.Xd.width<this.Ca?this.M():this.JF()};t.prototype.N5=function(a){if(!this.sf)return z;var b=this.sf.offset(),c=a.pageX-b.left,a=a.pageY-b.top;return c>=0&&a>=0&&c<this.sf.width()&&a<this.sf.height()};t.prototype.M=function(){if(this.Z){this.nja();var a=this.$ba();if(a&&a.Vn.Tn()){if(a!=this.Xd){if(!this.Xd){this.Cc();this.nF=p}this.zaa(a);this.Xd=a}this.e2(q)}else this.e2(a);this.JF()}};t.prototype.nja=function(){var a;switch(this.Ec){case r.Bj:a=
2313this.Ra/this.Ca;break;case r.bg:a=this.Ta/this.Ka;break;case r.Pk:a=this.Ca*this.Ta>this.Ka*this.Ra?this.Ta/this.Ka:this.Ra/this.Ca;break;case r.t7:a=Math.min(this.OX/this.Ca,this.NX/this.Ka);break;default:a=this.Ca*this.Ta>this.Ka*this.Ra?this.Ra/this.Ca:this.Ta/this.Ka}this.v9(a)};t.prototype.OZ=function(){this.Cc()};t.prototype.zaa=function(a){if(this.Hf){this.KP(this.Hf,1);this.sf&&this.sf.detach();this.sf=this.Hf}this.Hf=this.baa(a);this.KP(this.Hf,0);this.v.append(this.Hf);this.ke=this.Z$();
2314this.lL={}};t.prototype.$ba=function(){return this.Xd?this.sba(this.Mb*this.Kc*this.Ca):this.oca()};t.prototype.e2=function(a){e(this.Eh).each(function(b){b==a?b.Vn.Pe()!=b.url&&b.Vn.load(b.url):b.Vn.Tn()||b.Vn.cancel()})};t.prototype.Uba=function(){return e(this.Eh).reduce(function(a,b){a||(a=b);if(b.width>a.width||b.width==a.width&&!b.fw&&a.fw)a=b;return a},q)};t.prototype.oca=function(){return e(this.Eh).reduce(function(a,b){a||(a=b);if(b.width<a.width||b.width==a.width&&b.fw&&!a.fw)a=b;return a},
2315q)};t.prototype.sba=function(a){return e(this.Eh).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.fw&&b.fw)b=c;return b},q)};t.prototype.baa=function(a){a=c(a.Vn.Cd(p));a.css({position:"absolute",cursor:this.ze,"pointer-events":"none"});return a};t.prototype.Z$=function(){return new m("linear",[new f("alpha",0,1)],200)};t.prototype.JF=function(){h.Aa(function(a){this.Yu(a,"low")},this)};t.prototype.dS=function(){return this.Ca*this.Mb*
2316this.Kc};t.prototype.cS=function(){return this.Ka*this.Mb*this.Kc};t.prototype.G4=function(){var a=this.dS();return a>this.Ra?Math.max(this.Ra-a,Math.min(0,this.Ra*0.5-a*this.zo)):(this.Ra-a)*0.5};t.prototype.H4=function(){var a=this.cS();return a>this.Ta?Math.max(this.Ta-a,Math.min(0,this.Ta*0.5-a*this.Ao)):(this.Ta-a)*0.5};t.prototype.Yu=function(a,b){var b=b||"low",c=this.dS(),e=this.G4(),f=this.cS(),g=this.H4();this.zo=(this.Ra*0.5-e)/c;this.Ao=(this.Ta*0.5-g)/f;var c={left:Math.round(e)+"px",
2317top:Math.round(g)+"px",width:Math.round(c)+"px",height:Math.round(f)+"px",display:"block"},h;for(h in this.au[b])c[h]=this.au[b][h];if(this.lL!=c){this.sf&&this.sf.css(c);this.Hf&&this.Hf.css(c);this.lL=c}this.KK();if(this.ke){this.ke.Va(a);this.KP(this.Hf,this.ke.bb("alpha"));if(this.ke.Dd()){this.ke=q;this.sf&&this.sf.detach();this.sf=this.Hf;this.Hf=q}this.JF()}else b=="low"&&this.Fha();if(!this.ke&&this.nF){this.nF=z;this.trigger(new j(d.O))}};t.prototype.KP=function(a,b){a.css({opacity:b,filter:"alpha(opacity="+
2318Math.round(b*100)+")","-ms-filter":"alpha(opacity="+Math.round(b*100)+")"})};t.prototype.KK=function(){if(this.fy!=q){clearTimeout(this.fy);this.fy=q}};t.prototype.Fha=function(){var a=this;this.fy=setTimeout(function(){a.fy=q;a.Yu(50,"hight")},50)};t.prototype.mK=function(a){if(this.Mb!=a){this.Mb=a;this.Bia()}};t.prototype.v9=function(a){if(this.Kc!=a)this.Kc=a};t.prototype.Bia=function(){this.trigger(new j(t.Ow,{scale:this.Mb}))};t.Ow="scaleChange";return t});
2319define("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.Nc("ZoomImage");this.rn=this.Rh=n;this.Xg=z;this.a1=n;this.uZ=this.Mb;this.DA=q;this.g=new e;this.g.bind(b.O,this.Lea,this);this.g.bind(e.Ow,this.Mea,this);this.La().append(this.g.kb());this.bind(b.rb,this.ib,this,p);this.bind(b.Ef,this.fk,this,p);this.bind(b.zg,this.ck,this,p);this.bind(b.qb,this.Kb,this,p);
2320this.bind(b.uc,this.Gh,this,p);this.bind(b.Ib,this.Mf,this,p);this.bind(b.Mq,this.Ur,this,p);this.bind(b.zt,this.Fr,this,p)});k.prototype.set=function(a,b){switch(a){case "scale":this.g.setScale(b);b=this.g.at();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.at();case "imageLeft":return this.g.G4();case "imageTop":return this.g.H4();case "imageWidth":return this.g.dS();
2321case "imageHeight":return this.g.cS()}return g.prototype.get.call(this,a,b)};k.prototype.oa=function(){g.prototype.oa.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.ea=function(){if(this.m("scaleMode")){this.g.nq(this.j("scaleMode"));this.o("scaleMode")}if(this.m("image")){this.g.Ana(this.j("image"));this.o("image");this.uZ=this.Mb}if(this.m("customHeight")||
2322this.m("customWidth")){this.o("customHeight");this.o("customWidth");this.ib()}if(this.m("imageCursor")){this.o("imageCursor");this.g.pna(this.va.BL.B4(this.get("imageCursor")))}g.prototype.ea.call(this)};k.prototype.ib=function(){var a=this.za(),b=this.ab(),c=this.get("customWidth","100%"),d=j.kj(c),c=d!==n?a*d/100:c,d=this.get("customHeight","100%"),e=j.kj(d);this.g.qna(c,e!==n?b*e/100:d);this.g.dm(a,b)};k.prototype.fk=function(){this.g.se(p)};k.prototype.ck=function(){this.g.se(z)};k.prototype.Kb=
2323function(a){this.Rh=a.x;this.rn=a.y;this.Xg=p;this.a1=this.g.N5(a)};
2323k.prototype.Gh=function(a){if(this.Xg){this.fR();this.g.move(-(a.x-this.Rh),-(a.y-this.rn));this.Rh=a.x;this.rn=a.y}};k.prototype.Mf=function(a){this.Xg=z;!this.a1&&!this.g.N5(a)&&this.trigger(new c(k.gU))};k.prototype.Ur=function(a){this.fR();this.g.setScale((1+a.Jn/20)*this.g.at())};k.prototype.Fr=function(a){this.fR();this.g.setScale(a.scale/this.uZ)};k.prototype.Lea=function(){this.trigger(new c(b.O))};k.prototype.Mea=function(){g.prototype.set.call(this,
2324"scale",this.g.at());this.trigger(new c(k.Ow))};k.prototype.fR=function(){if(this.DA){clearTimeout(this.DA);this.DA=q}else this.trigger(new c(k.Td));this.DA=setTimeout(function(){this.DA=q;this.trigger(new c(k.Sd))}.bind(this),300)};k.gU="backgroundClick";k.Ow="scaleChange";k.Td="userInteractionStart";k.Sd="userInteractionEnd";return k});
2325define("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"}).nc([c.gU,c.Ow,c.Td,c.Sd,b.O]);return Image});
2326define("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));
2327define("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.tma=function(a,b,c,d){this.gM=[];this.Bp=this.Wu(a);this.Vo=n;if(this.Bp.In.L4()){this.Vo=this.vY(this.Bp,k.ti);this.eaa(this.Vo,this.Bp,b,c,d);this.q9(this.Bp);this.o9(this.Bp,this.Vo);this.r9(this.Vo,this.Bp);this.F9(this.Vo,this.Bp)}else this.Dj("Invalid root class",[]);return this.gM.length==
23280};c.prototype.fb=function(){return this.Bp.Zc};c.prototype.Wu=function(a,b){b=b||[];return e(a).isArray()?this.Ffa(a,b):d.isPlainObject(a)&&a["class"]?this.Ifa(a,b):d.isPlainObject(a)?this.Gfa(a,b):e(a).isFunction()?this.Hfa(a,b):this.Jfa(a,b)};c.prototype.Ffa=function(a,b){for(var c=[],d=0;d<a.length;d++){b.push("Item["+d+"]");c.push(this.Wu(a[d],b));b.pop()}return new h(b.slice(),c)};c.prototype.Ifa=function(a,b){var c=a["class"],d=j.Ql(a["class"]);if(d){var e,c={},f={},g;for(g in a){b.push(g);
2329var h=a[g];switch(g){case "class":break;case "scripts":e=this.Wu(h,b);break;default:d.hasAttribute(g)?c[g]=this.Wu(h,b):d.k5(g)||d.m5(g)?f[g]=this.Wu(h,b):this.Dj(d.Wv()+" object doesn't have any attribute named "+g,b)}b.pop()}return new k(b.slice(),d,a.id,c,f,e)}this.Dj("Undefined class name: "+c,b.slice());return new l(b.slice(),q)};c.prototype.Gfa=function(a,b){var c={},d;for(d in a){b.push(d);c[d]=this.Wu(a[d],b);b.pop()}return new m(b.slice(),c)};c.prototype.Hfa=function(a,b){return new f(b.slice(),
2330a)};c.prototype.Jfa=function(a,b){return new l(b.slice(),a)};c.prototype.vY=function(a,b){for(var c=!b||a.type==b?[a]:[],d=0,e=a.Oa();d<e.length;d++)c=c.concat(this.vY(e[d],b));return c};c.prototype.eaa=function(a,b,c,d,e){b.Zc=b.In.Vp(q,d,e,[c]);b.Zc.set("application",b.Zc);for(c=0;c<a.length;c++){var f=a[c];if(f!=b)f.Zc=f.In.Vp(b.Zc,d,e)}};c.prototype.q9=function(a){if(a.scripts)if(a.scripts.type==m.ti)for(var b in a.scripts.value)this.p9(a,b);else this.Dj("Invalid content.",a.scripts.stack)};c.prototype.p9=
2331function(a,b){var c=a.Zc,d=a.scripts.value[b];e(c[b]).isUndefined()?d&&d.type==f.ti?c[b]=function(){return d.Zl().apply(c,arguments)}:this.Dj("Invalid content.",d.stack):this.Dj("Identifier: "+b+" is already in use",d.stack)};c.prototype.o9=function(a,b){for(var c=a.Zc,d=0;d<b.length;d++){var f=b[d],g=f.id;if(g)e(c[g]).isUndefined()?c[g]=f.Zc:this.Dj("Identifier: "+g+" is arleady in use",f.stack)}};c.prototype.r9=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.attributes,f;for(f in e)this.n9(d,
2332f,b)}};c.prototype.n9=function(a,b,c){var d=a.In;if(d.hasAttribute(b)){var e=a.attributes[b].Zl();try{e=d.XR(b)(e,c.Zc);a.Zc.set(b,e)}catch(f){this.Dj("Invalid value for property "+b+" of "+d.Wv()+" instance",a.stack)}}else this.Dj(d.Wv()+" object doesn't have any property named "+b,a.stack)};c.prototype.F9=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e;for(e in d.Us)this.E9(d,e,b)}};c.prototype.E9=function(a,b,c){var d=a.In,f=a.Zc,g=d.k5(b),h=d.m5(b);if(g||h){var a=a.Us[b],j=a.Zl();e(j).isFunction()?
2333f.bind(b,j,c.Zc,h,j):typeof j=="string"?f.bind(b,function(){eval("var event = arguments[0];"+j)},c.Zc,h,j):this.Dj("Invalid value.",a.stack)}else this.Dj(d.Wv()+" object doesn't have any event named "+b,a.stack)};c.prototype.Dj=function(a,b){this.gM.push("In "+b.join(" >> ")+": "+a)};b.prototype.Oa=function(){return[]};b.prototype.Zl=D();var k=g.extend(b,function(a,c,d,e,f,g){b.call(this,k.ti,a);this.In=c;this.id=d;this.attributes=e;this.Us=f;this.scripts=g;this.Zc=q});k.prototype.Oa=function(){var a=
2334this.In.S4(),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.Zl=P("Zc");k.ti="instance";var h=g.extend(b,function(a,c){b.call(this,h.ti,a);this.jj=c});h.prototype.Oa=function(){return this.jj.slice()};h.prototype.Zl=function(){for(var a=[],b=0;b<this.jj.length;b++)a.push(this.jj[b].Zl());return a};h.ti="array";var m=g.extend(b,function(a,c){b.call(this,m.ti,a);this.value=c});m.prototype.Oa=
2335function(){return e(this.value).values()};m.prototype.Zl=function(){var a={},b;for(b in this.value)a[b]=this.value[b].Zl();return a};m.ti="dict";var f=g.extend(b,function(a,c){b.call(this,f.ti,a);this.value=c});f.prototype.Zl=P("value");f.ti="function";var l=g.extend(b,function(a,c){b.call(this,l.ti,a);this.value=c});l.prototype.Zl=P("value");l.ti="simple";return c});
2336define("ia","require,cI,jd,bI,di,dY,r,db,hE,bb,if,jc,ig,hb".split(","),function(a){function b(a,b){k.Xa()&&!k.kf()&&r.Pd();var c=f.name,d=[];c&&d.push(c);d.push("v:"+f.ES+"."+f.LS);o.log(d.join(" "));this.qj=b;if(m.Xla()||[k.rq,k.sq].indexOf(k.browser())>=0){this.Nh=new j;if(c=this.qj.get(TDV.PlayerSettings.BASE_DIR_URL)){c=m.oq(c);c[c.length-1]!="/"&&(c=c+"/")}else c=m.getDirectory(this.qj.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL));this.j6=this.qj.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);
2337h.Gma(c,function(b){this.g4=b;this.ffa(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.ffa=function(a){a.trigger(new TDV.qJ(e.c8,{},[],n));c.defer(function(){if(!this.Nh.tma(this.qj.get(TDV.PlayerSettings.SCRIPT_DATA),this.qj.get(TDV.PlayerSettings.CONTAINER),this.g4,this.j6)){if(f.Boa!="false"){window.alert(this.WY());return}o.log(this.WY())}this.D9(a);
2338this.l9(this.qj);this.s9();this.Dia()}.bind(this))};b.prototype.clear=function(){if(this.Nh){c(this.Nh.Vo).each(function(a){a.Zc.h7();c(a.In.fB()).each(function(b){switch(b){case "VideoPlayer":a.Zc.stop();case "MapPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":case "VideoPlayer":a.Zc.set("viewerArea",q);break;case "ZoomImage":a.Zc.set("image",q);break;case "Audio":a.Zc.stop();break;case "Effect":a.Zc.end();break;case "Media":a.Zc.Rma()}})});this.Nh.fb().clear();this.qj=this.Nh=q}};b.prototype.rla=
2339function(a){return this.Nh.fb()[a]};b.prototype.Y4=function(a){var b=[];c(this.Nh.Vo).each(function(d){var e=d.In.fB();c(e).contains(a)&&b.push(d.Zc)});return b};b.prototype.Vp=function(a){var b=g.Ql(a);b||i("Invalid className: "+a);return b.Vp(this.Nh.fb(),this.g4,this.j6)};b.prototype.WY=function(){for(var a=this.Nh.gM,b=["Errors parsing script file:"],c=0;c<a.length;c++)b.push(a[c]);return b.join("\n")};b.prototype.D9=function(a){c(this.Nh.Vo).each(function(b){var d=b.In,e=b.Zc,f=b.id,g=d.fB();
2340c.union(d.$R(),d.eS()).forEach(function(b){e.bind(b,function(c){a.trigger(new TDV.qJ(b,c,g,f))},this,p)})})};b.prototype.l9=function(a){this.Nh.fb().set("settings",a)};b.prototype.s9=function(){var a=this.Nh.fb(),b=this;a.getByClassName=a.Ql=function(){return b.Y4.apply(b,arguments)};a.createInstance=a.Vp=function(){return b.Vp.apply(b,arguments)};a.isInstanceOfClass=a.ub=function(){return g.ub.apply(g,arguments)}};b.prototype.Dia=function(){this.Nh.fb().trigger(new d("start"))};b.Hoa=function(a){a.trigger(new TDV.qJ(e.K7,
2341{},[],n))};return b});define("main",["require","jquery.mod","ia"],function(a){var b=a("jquery.mod"),c=a("ia");b(document).ready(function(){TDV.wa.eoa(c)})});
2342// threejs.org/license
2343(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.")}
2344function 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);
2345this.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,
2346c.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=
23474}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,
2348d=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=
2349!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,
2350-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!==
2351b?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&&
2352d.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=
2353this.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=
2354!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)}
2355function 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),
2356b,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=
2357this.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]>
2357b&&(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};
2358this.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,
2359m);$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=
2360xh(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=
2361[];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||
2362e.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;
2363this.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);
2364this.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,
23650,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}
2365;this.renderTarget=new Eb(c,c,d);this.renderTarget.texture.name=
2366"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(),
2367f=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!==
2368d?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?
2369console.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&&
2370(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,
2371height: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),
2372f=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=
2373d.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,
2374depthWrite:!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;
2374l.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,
2375l.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);
2376if(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.");
2377return}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&&
2378a 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,
2379getMaxAnisotropy: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=
23800<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=
23810;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];
2382switch(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")||
2383a.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",
2384d);f.delete(e);
2384if(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,
2385b){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=
2386a.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.");
2387return}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:",
2388d)}}}}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,
2389p[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&&
2390c.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};
2391this.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===
2392c&&(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[
23920]=b.x,c[1]=b.y,c[2]=b.z}else if(void 0!==
2393b.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)||
2394(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,
2395e),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,
2396b),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;
2397case 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,
23984);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;
2399case 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;
2400this.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}
2400else h=g.map[p],void 0===h&&(h=new Ih(p),p=
2401g,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: "+
2402a);}}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;
2403case 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")?
2404"#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,
2405b.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 <"+
2406b+">");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":
24072===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=
2408"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"),
24090<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?
2410"#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":
2411"",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":
2412"",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;",
2413"#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;",
2414"\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":
2415"",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?
2416"#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":
2417"",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":
2418"","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("matc
2418apTexelToLinear",
2419f.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&&
2420!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")+
2421"\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")),
2422b=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=
2423g.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},
2424fragmentShader:{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=
2425m;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",
2426MeshNormalMaterial:"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 matc
2426ap 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(" ");
2427this.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",
2428l,"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,
2429emissiveMap:!!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,
2430vertexUvs:!!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,
2431useVertexTexture: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&&
24320<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===
2433b.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];
2433if(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;
2434return{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?
2435a.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,
2436init: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",
2437a)}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=
2438{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,
2439hemiLength:-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,
2440u=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);
2441F.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);
2442F.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),
2443e.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=
2444xa.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!==
2445r||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=
2446B,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",
2447a)}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}}}
2447function 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=
24481;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;
2449!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&&
2450(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),
2451b.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,
2452u))}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}"}),
2453n=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);
2454for(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,
2455magFilter: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);
2456k=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=
2457!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!==
2458U[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,
24591);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))):
2460g(2884);I=b}
2460function 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,
24610,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=
2462a},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),
2463v=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,
2464ng={};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,
24650)},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);
2466r.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,
2467c){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:",
2468R)}},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,
2469b):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,
2470c.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,
2471f))*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===
2472c)&&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&&
2473a.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<
2474f;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+
2475b);c.bindTexture(3553,e.__webglTexture)}function w(b,e){if(6===b.image.length){var g=d.get(b);
2475if(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=
24760;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,
2477c.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,
247810243,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,
247910241,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())),
2480d.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!==
2481d.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,
2482r=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=
24830;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,
24840,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;
2484if(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,
2485b);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,
2486c.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,
2487L=!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=
2488d.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,
2489r=!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=
2490C(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;
2491a.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,
249233306,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,
2493l.__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");
2494d.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=
2495[],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,
2496null)}};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&&
2497(!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=
2498c.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;
2499if(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;
2500if(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===
2501a||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;
2502if(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())?
2503p.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,
25040,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,
2505a.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"});
2506k.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,
2507a.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];
2507void 0===b&&(b=new Od,b.matrixAutoUpdate=!1,b.visible=!1,h[a]=b);return b};this.setFramebufferScaleFactor=function(){};this.setReferenceSpaceType=function(a){v=
2508a};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}),
2509l.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]+
25101)/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);
2511for(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)});
2512this.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());
2513Z.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.");
2514I=!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&&
2515Ib.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),
2516e=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=
2517p[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,
2518b,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}):
2519d.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=
25200;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=
2521e.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,
2522c.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!==
2523k.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",
2524a.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);
2525if(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=
2526new 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);
2527g.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));
2527if(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,
2528c),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=
2529c.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=
2530c.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()),
2531h.transparency.value=c.transparency):r(h,c,f);
2531else 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);
2532else 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;
2533else 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,
2534c.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);
2535h.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=
2536!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);
2537b.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?
2538d=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))}
2539function 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=
2540b.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=
2541void 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=
2542this.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};
2543u.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: "+
2544Xh.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};
2545this.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=
2546function(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)};
2547this.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())};
2547this.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=
2548function(){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)};
2549this.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&&
2550(H.bindBuffer(34962,c.position),H.bufferData(34962,a.positionArray,35048),Z.enableAttribute(b.position),H.vertexAttribPointer(b.position,3,5126,!1,0,0));
2550a.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,
2551a.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;
2552if(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!==
2553z){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*
2554t.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!==
2555q&&(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===
2556N?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))});
2557F.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.");
2558var 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,
2559mg,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!==
2560N&&(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=
2561function(){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;
2561a?(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);
2562Z.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."):
25631009===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&&
2564H.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);
2565V.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;
2566this.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===
2567Mc){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);
2568this.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();
2569else 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";
2570this.setValues(a)}
2570function 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=
2571null;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}))}
2572function 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");
2573void 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]+
2574","+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]+","+
2575f[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,
2576stacks: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+
25771E-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,
2578radius: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);
2579f(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);
2580(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);
2581g(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()}
2582function 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=
2583{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=
2584{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,
25856,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,
258519,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=
2586a.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,
2587closed: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,
25883));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*
2589(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();
2590for(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,
2591c,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*
2592Math.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,
2593g=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=
2594l.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<=
2595ta(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!==
2596l.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}
2596while(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?
2597e.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,
2598f.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;
2599if(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||
2600b.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)||
26010>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=
2602this.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-
2603b.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<=
2604--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]);
2604u(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);
2605f.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."),
2606U=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++,
2607V++,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),
2608l(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=
2609W.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/
26103,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);
2611void 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);
2612void 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";
2612this.parameters={radius:a,widthSegments:b,heightSegments:c,
2613phiStart: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,
2614q.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,
2615thetaLength: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),
2616k.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,
2617b,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+
26181,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&&
2619(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<
2620c;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,
2621b){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=
2622m[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";
2622this.parameters={radiusTop:a,radiusBottom:b,height:c,radialSegments:d,heightSegments:e,
2623openEnded: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):
2624h.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/
2625e,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,
26262))}function me(a,b,c,d,e,f,g){lc.call(this,0,a,b,c,d,e,f,g);
2626this.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,
2627thetaLength: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)/
26282;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=
26291;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=
26301;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=
2631new 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=
26321;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=
2633null;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=
2634null;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=
26351;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=
26360;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,
2637d){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,
2638c,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;
2638case "vector":case "vector2":case "vector3":case "vector4":return dd;
2639case "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=
2640!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};
2641this.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,
2642a)}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-
26432*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,
2644d){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);
2645this.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=
2646new 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=
2647this.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/
26483;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;
2648this._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,
2649d){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;
2650this.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);
2651this.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.");
2652Q.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);
2653c=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=
2654!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=
2655this.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();
2656this.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=
2657a.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},
2658get 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=
26592201;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,
2660a,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=
2661a.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(){}}
2662function 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=
26630;c<a.children.length;c++)b.push.apply(b,qi(a.children[c]));return b}
2663function 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=
2664!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");
2665b=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});
2666la.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,
26670,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,
26680,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",
2669l);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=
2670k;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";
2671this.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,
26720,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));
2672void 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,
26730,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});
2674la.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=
2675"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!");
2676var 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;
2677g&&(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"+
2678Yg()+"\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",
2679blending: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",
2680blending: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;
2680\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"}
2681function 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"}
2682function 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,
2683-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=
2684Object(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,
2685b){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()|
26860,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,
2687b,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,
2688Math.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},
2689setComponent: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."),
2690this.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},
2691subVectors: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},
2692max: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);
2693return this},ceil:function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}
2693,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*
2694this.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)+
2695Math.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,
2696b,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!==
2697p){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},
2698set: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||
2699!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=
2700k*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=
2701a.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,
2702b){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*=
2703-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
vendor: 9,916 bytes, lines 2703-2722
2703*=a,this._z*=a,this._w*=a);this._onChangeCallback();return this},
2704multiply: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();
2705return 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,
2706g);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+
27073]=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=
2708b;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,
2709b);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-=
2710a;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},
2711applyEuler: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()},
2712applyMatrix4: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)},
2713unproject: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,
2714a.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||
27151).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=
27160>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)},
2717lerp: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},
2718projectOnVector: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))},
2719distanceToSquared: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,
2720a.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===
2721this.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,
2722b,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},
2723applyToBufferAttribute: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];
2724b[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.");
2725var 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},
2726transpose: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+
2727b,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;
2728for(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",
2729"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,
2730this.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=
2731a.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],
2732offset:[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.t
vendor: 13,796 bytes, lines 2732-2759
2732ype,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=[];
2733for(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>
2734a.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,
2735{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;
2736case 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},
2737addScalar: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-=
2738a;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/
2739a)},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;
2740b=(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,
2741a.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,
2742this.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=
2743Math.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*
2744a.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-
2745this.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().");
2746this.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);
2747this.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,
2748set: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];
2749b[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(),
2750e=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);
2751d=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,
2752b[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,
2753c){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."),
2754this.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+
2755g*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=
27560,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];
2757a[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,
2758x=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]=
2759(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;
2759c[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;
2760b[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=
2761Math.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,
2762b,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(),
2763f=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.");
2764var 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;
2765a=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=
2766"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,
2767b,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)?
2768(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)):
2769(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,
2770b,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=
2771[]);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|
27720)},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();
2773this.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)}
2773,setRotationFromMatrix:function(a){this.quaternion.setFromRotationMatrix(a)},setRotationFromQuaternion:function(a){this.quaternion.copy(a)},rotateOnAxis:function(a,b){od.setFromAxisAngle(a,b);
2774this.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,
2775a)},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),
2776od.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<
2777arguments.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",
2778a)},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"),
2779a=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()},
2780raycast: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&&
2781this.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();
2781null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,
2782this.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;""!==
2783this.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=
2784this.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=
2785[],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);
2786this.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}});
2787pb.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,
2788a);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);
2789this.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);
2790p<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);
2791this.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"),
2792a=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),
2793this.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"),
2794b=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}
2794,intersectsPlane:function(a){if(0<a.normal.x){var b=a.normal.x*this.min.x;var c=
2795a.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,
2796Ce);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,
2797this.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);
2798Ab[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);
2799return 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);
2800this.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,
2801b){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);
2802this.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},
2803at: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?
2804b.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);
2805var 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,
2806-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*
2807a.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}
2807,intersectBox:function(a,b){var c=1/this.direction.x;var d=1/this.direction.y;var e=1/this.direction.z,
2808f=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,
2809b,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)&&
2810a.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,
2811a);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,
2812b){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)},
2813intersectsLine: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);
2814b=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);
2815d.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)}
2815,containsPoint:function(a,b,c,d){ma.getBarycoord(a,b,c,d,Db);
2816return 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]);
2817return 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,
2818this.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)},
2819closestPointToPoint: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<=
2820v&&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,
2821black: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,
2822darkslategray: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,
2823lawngreen: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,
2824mediumseagreen: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,
2825purple: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},
2826Ca={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,
28270,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],
282810))/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],
282910)/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},
2830setColorName: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)}
2830,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,
2831b);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*
2832this.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("+
2833(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*=
2834a.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];
2835this.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();
2836b=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=
28371===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;
2837d.type=this.type;""!==this.name&&(d.name=
2838this.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&&
2839(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&&
2840(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&&
2841this.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&&
2842(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);
28431!==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;
2844d.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);
2845void 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=
2846this.wireframeLinejoin);!0===this.morphTargets&&(d.morphTargets=!0);
2846!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=
2847a.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;
2848this.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=
2849a.precision;
2849this.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++}});
2850Oa.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=
2851a.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);
2852this.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++]=
2853f.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=
2854this.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),
2855this.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*
2856this.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+
28571]=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),
2858normalized: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=
2859Yb;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,
2860e=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}
2860var 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=
2861b[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 ",
2862h),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;
2863null!==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,
2864b){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);
2865b.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);
2866return 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));
2867this.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,
2868e.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=
2869!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!==
2870c&&(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*
2871a.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*
2872a.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;
2872b.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",
2873c.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,
2874Na.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===
2875this.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,
2876d),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(){},
2877computeVertexNormals: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]+=
2878h.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."));
2879var 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,
2880b){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]=
2881k}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;
2881a.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:{}};
2882b=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=
2883this.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;
2884for(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"})}});
2885var 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=
2886this.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,
2887d=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=
28880;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/
28893),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=
2890Array.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.c
2890opy(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),
2891{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},
2892rotateX: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,
2893b,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;
2894if(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=
2895v[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,
2896Kf.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===
2897a&&(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=
2898this.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;
28983===d.length?(d[0].copy(c.normal),d[1].copy(c.normal),
2899d[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]):
2900d.__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();
2901f.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;
2901c++)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===
2902this.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;
2903n=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=
2904c[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];
2905g=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=
2906[];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,
2907b,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"}};
2908e.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,
2909y=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)},
2910copy: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<
2911b;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());
2912this.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());
2913e=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=
2914a.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,
2915d,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.pu
2915sh(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,
2916height: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",
2917new 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;
2918this.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()}:
2919d&&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,
2920a,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)},
2921clone: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*
2922Math.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)}
2922,setViewOffset:function(a,b,c,d,e,f){this.aspect=a/b;null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,
2923offsetX: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,
2924k=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({},
2925this.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}",
2926fragmentShader:"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,
29275,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)},
2928copy: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();
2929b[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)<
2930a)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",
2931alphatest_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
2931( geometry.normal, geometry.viewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.specularRoughness );\n\t#endif\n#endif",
2932aomap_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 );
2932\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}
2932\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",
2933bumpmap_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",
2934clipping_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",
2935clipping_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",
2936color_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}",
2937cube_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) {\
2937n  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",
2938defaultnormal_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",
2939displacementmap_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",
2940encodings_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}
2940\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}",
2941envmap_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",
2942envmap_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",
2943envmap_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",
2944envmap_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}
2944 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",
2945fog_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",
2946gradientmap_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",
2947lightmap_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",
2948lights_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}
2948\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",
2949lights_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)",
2950lights_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
2950( 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)",
2951lights_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",
2952lights_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
2952( 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}",
2953lights_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}
2953\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",
2954lights_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",
2955lights_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",
2956logdepthbuf_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",
2957map_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",
2958map_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",
2959morphnormal_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",
2960morphtarget_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",
2961normal_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;",
2962normal_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 );
2962\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",
2963normalmap_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",
2964clearcoat_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",
2965packing:"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}",
2966premultiplied_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",
2967roughnessmap_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 ];
2967\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 );
2967\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",
2968shadowmap_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",
2969shadowmap_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",
2970shadowmask_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}",
2971skinbase_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",
2972skinning_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;
2972\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",
2973specularmap_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}",
2974uv_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",
2975uv2_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}",
2976background_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}",
2977cube_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}",
2978depth_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}",
2979distanceRGBA_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}",
2980distanceRGBA_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}",
2981equirect_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}",
2982equirect_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}",
2983linedashed_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}",
2984meshbasic_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}",
2985meshbasic_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}",
2986meshlambert_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}",
2987meshlambert_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}",
2988meshmatcap_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;
2988\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}",
2989meshmatcap_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}",
2990meshtoon_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}",
2991meshtoon_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}",
2992meshphong_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}",
2993meshphong_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}",
2994meshphysical_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;
2994\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}",
2995meshphysical_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}",
2996normal_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}",
2997normal_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}",
2998points_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}",
2999points_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}",
3000shadow_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}",
3001sprite_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}",
3002sprite_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}"},
3003E={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},
3004bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalScale:{value:new x(1,1)}}
3004,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:{},
3005color:{},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:{},
3006shadowCameraFar:{}}},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},
3007alphaMap:{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,
3008E.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},
3009toon:{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,
3010fragmentShader: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,
3011fragmentShader: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}}]),
3012vertexShader: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=
3013Object.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=
3014Jc;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,
3015d){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,
3016Ck=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};
3017Hb.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;
3018return this};og.prototype=Object.assign(Object.create(va.prototype),{constructor:og,isWebGLMultiviewRenderTarget:!0,copy:function(a){va.prototype.copy.call(this,a);
3018this.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);
3019Object.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,
3020{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=
3021a;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,
3022b){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*
3023this.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=
3024Jb;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,isS
3024prite:!0,raycast:function(a,b){null===a.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.');
3025wd.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,
30260);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}});
3027var 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=
3028this.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-
30291].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),
3030this.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"===
3031this.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);
3032this.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=
3033a.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,
3034getMatrixAt: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=
3035Object.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,
3036c=[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===
3037d.boundingSphere&&d.computeBoundingSphere();He.copy(d.boundingSphere);
3037He.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,
3038g,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,
3039object: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,
3040isLineSegments:!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=
30410,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=
3042a.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=
3043c.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=
3044{},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>=
3045a.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);
3046Rc.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=
3047$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=
3048ce;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);
3049for(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);
3050for(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,
3051this.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);
3052ie.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=
3053$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;
3053lc.prototype=Object.create(M.prototype);lc.prototype.constructor=lc;ub.prototype=Object.create(G.prototype);
3054ub.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,
3055IcosahedronGeometry:$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,
3056ExtrudeGeometry: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=
3057!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;
3058this.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=
3059a.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=
3060a.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=
3061a.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=
3062a.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=
3063!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=
3064a.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=
3065Object.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=
3066a.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=
3067a.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=
3068rc;
3068rc.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;
3069this.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,
3070MeshPhongMaterial: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)&&
3071!(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)),
3072f=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&&
3073(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;
3074return 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,
3075e,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=
3076Object.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;
3077this._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;
3077n=(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),
3078{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,
3079Array)};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,
3080this.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:",
3081b);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!==
3082d;++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.",
3083this),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,
3084c=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=
3085ea.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),
3086{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(),
3087a)},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,
3088a.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/
3089c))}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,
3090b){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=
3091[],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=
3092a;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!==
3093this.enabled&&(this.files[a]=b)}
3093,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,
3094b,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);
3095for(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=
3096this.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",
3097function(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!==
3098this.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=
3099this,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))},
3100c,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,
3101k.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);
3101g.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,
3102f.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",
3103e,!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",
3104e,!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}});
3105df.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);
3106return 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=
3107[],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;
3108a+=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],
3109c).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],
3110e[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;
3110a.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=
3111!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,
3112a);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,
3113a);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,
3114d=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),
3115l);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,
3116a);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=[];
3117for(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);
3118this.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=
3119!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=
3120function(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()};
3121Ea.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||
3122new 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);
3123return 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=
3124this.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);
3125this.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=
3126b||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());
3127return 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)},
3128closePath: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()},
3129getCurveLengths: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?
31302*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=
3131[];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},
3132moveTo: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},
3133splineThru: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}
3133,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,
3134e,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=
3135Object.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=
31360,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,
3137a);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,
3138isHemisphereLight:!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);
3139e.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},
3140clone: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,
3141e=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),
3142{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),
3143{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},
3144setViewOffset: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-
3145this.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}
vendor: 2,460 bytes, lines 3145-3150
3145this.projectionMatrix.makeOrthographic(e,c,a,b,this.near,this.far);this.projectionMatrixInverse.getInverse(this.projectionMatrix)},
3146toJSON: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),
3147{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=
3148this.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);
3149void 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=
3150a.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);
3150void 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=
3151a.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&&
3152(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);
3152void 0!==a.polygonOffset&&(d.polygonOffset=a.polygonOffset);void 0!==a.polygonOffsetFactor&&(d.polygonOffsetFactor=
3153a.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];
3154d.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&&
3155(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=
3156!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=
3157a.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&&
3158(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},
3159setTextures: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,
3160a);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);
3161a.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);
3162d=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=
3163e[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};
3164rf.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 "+
3165a):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]);
3166b[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,
3167g.segments,g.thetaStart,g.thetaLength);break;case "CylinderGeometry":case "CylinderBufferGeometry":h=new ua[g.type](g.radiusTop,g.radiu
3167sBottom,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,
3168g.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=
3169new 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=
3170new 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=
3171d.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},
3172parseMaterials: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},
3173parseImages: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)?
3174h.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]):
3175new 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);
3176void 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!==
3177a){if(Array.isArray(a)){for(var b=[],d=0,e=a.length;d<e;d++){var f=a[d];
3177void 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,
3178a.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=
3179new 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.");
3180case "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=
3181new 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),
3182void 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&&
3183(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,
3184CubeRefractionMapping: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,
3185setOptions: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&&
3186d(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);
3187return 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}
3188var 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]=
3189[];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;
3190var 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;
3191var 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)}}
3191m={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,
3192b,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),
3193{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);
3194b.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*
3195d*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},
3196copy: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;
3197b[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,
3198a)}});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;
3199b.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);
3200this.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?
3201Date: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!==
3202this.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;
3203var 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,
3204c);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}
3204,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();
3205return 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.");
3206else 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.");
3207else 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<
3208b;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},
3209setFilters: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.");
3210else 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=
3211a,!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},
3212setRefDistance: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=
3213a;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,
3214b);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;
3214a=a*d+d;
3215var 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]=
3216a[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),
3217hl=/(?:\.(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=
3218this._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: "+
3219a);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;
3220if(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,
3221b){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=
3222!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,
3223b){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,
3224d=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 no
3224de 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.",
3225this);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.",
3226this,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.",
3227this);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.",
3228this);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: "+
3229this.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!==
3230n;++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_=
3231c},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=
3232arguments[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_,
3233m=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()},
3234reset: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;
3235this._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;
3236null!==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,
32370,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||
3238this._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];
3239b*=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===
3240e?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?
3241this.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=
3242b?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,
3243l=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];
3243if(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,
3244c=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=
3245[];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}}}},
3246_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;
3247c=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,
3248d=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,
3249f=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++,
3250c=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=
3251this._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,
3252d=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)},
3253getRoot: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&&
3254(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,
3255copy: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,
32560,-1).transformDirection(b.matrixWorld),this.camera=b):console.error("THREE.Raycaster: 
3256Unsupported 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},
3257clone: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}});
3258Object.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);
3259this.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<
3260this.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);
3261this.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),
3262(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);
3263this.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"),
3264a=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)}
3264,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,
3265b){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)}});
3266te.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);
3267this.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),
3268d.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)};
3269var 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=
3270!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=
3271function(){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),
3272this.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,
3273-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!==
3274a&&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=
3275function(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);
3276we.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,
32770,-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);
3278return 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},
3279inputEncoding:{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",
3280blending: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;
32804<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,
3281m,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===
3282b&&(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=
3283null}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=
3284ri(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&&
3285(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.");
3286a=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,
3287e.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.")},
3288reparametrizeByArcLength: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(
3288) 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.");
3289return 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().");
3290return 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().");
3291return 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().");
3292return 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().");
3293return 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(
3293) 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.");
3294return 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.");
3295return(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(
3295) 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.");
3296return 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.")},
3297rotateX: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)},
3298applyToVector3Array: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=
vendor: 5,713 bytes, lines 3299-3308
3299function(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().");
3300return 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().");
3301return 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.");
3302return 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().");
3303return 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.")},
3304getPositionFromMatrix: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,
3305a)},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().");
3306return 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.")}});
3307Object.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.")}});
3308Object.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 n
3308ow uses quaternions by default.")},set:function(){console.warn("THREE.Object3D: .useQuaternion has been removed. The library now uses quaternions by default.")}}});
3309Object.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.")}}});
3310Object.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.")}
3310,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,
3311"__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,
3312{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.");
3313this.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.")}},
3314shadowBias:{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,
3315{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.");
3316this.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().");
3317return 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().");
3318this.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)}});
3319Object.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.");
3320this.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.")},
3321addShapeList: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}}});
3322Object.defineProperties(L.prototype,{wrapAround:{get:function(){console.warn("THREE.Material: .wrapAround has been removed.")}
3322,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."+
3323this.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=
3324a}}});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},
3325set: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().");
3326return 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' ).");
3327return 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' ).");
3328return 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.");
3329return 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.")},
3330addPostPlugin: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(
3330) 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.")},
3331setTextureCube: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},
3332set: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()}},
3333vr:{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.");
3334return!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.")},
3335set: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().")}},
3336activeMipMapLevel:{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.");
3337return 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},
3338set:function(a){console.warn("THREE.WebGLRenderTarget: .minFilter is now .texture.minFilter.");this.texture.minFilter=a}},anisotropy:{get:function(){console.warn("THREE.WebGLRenderTarget: .anisotropy 
3338is 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},
3339set: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.");
3340this.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.");
3341this.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=
3342function(a,b){console.warn("THREE.CubeCamera: .updateCubeMap() is now .update(
3342).");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.");
3343var 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"}}));
3344h.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.");
3345return 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=
3346K;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;
3347h.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=
3348bf;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.");
3349return(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=
3350gb;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.");
3351return 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)},
3352center: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=
33537682;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;
3354h.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=
3355$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=
33561008;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=
3357Hb;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;
3358a.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;
3358h.NotEqualDepth=7;h.NotEqualStencilFunc=517;h.NumberKeyframeTrack=cd;h.Object3D=D;h.ObjectLoader=rf;h.ObjectSpaceNormalMap=1;h.OctahedronBufferGeometry=
3359ec;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.");
3360return 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)};
3361h.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=
33623201;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=
336335842;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;
3364h.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=
3365N;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=
3366204;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=
3367Wc;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.");
3368return 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=
3369Xk;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=
3370Eb;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,
3371"__esModule",{value:!0})});
3372})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.