<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">try { (function() { 
var requirejs,require,define;
(function(){function J(d){return ia.call(d)==="[object Function]"}function X(d){return ia.call(d)==="[object Array]"}function Y(d,f,l){for(var j in f)if(!(j in F)&amp;&amp;(!(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&amp;&amp;(!q||q.indexOf("/")!==0&amp;&amp;q.indexOf(":")===-1))q=l+"/"+(q||o.name);d[o.name]={name:o.name,location:q||
o.name,main:(o.main||"main").replace(ua,"").replace(ka,"")}}}function Z(d,f){if(d.holdReady)d.holdReady(f);else if(f)d.readyWait+=1;else d.ready(true)}function va(d){function f(a){var b,c;for(b=0;c=a[b];b++)if(c==="."){a.splice(b,1);b-=1}else if(c==="..")if(b===1&amp;&amp;(a[2]===".."||a[0]===".."))break;else if(b&gt;0){a.splice(b-1,2);b-=2}}function l(a,b){var c;if(a.charAt(0)===".")if(b){if(r.pkgs[b])b=[b];else{b=b.split("/");b=b.slice(0,b.length-1)}a=b.concat(a.split("/"));f(a);c=r.pkgs[b=a[0]];a=a.join("/");
if(c&amp;&amp;a===b+"/"+c.main)a=b}return a}function j(a,b){var c=a?a.indexOf("!"):-1,e=null,g=b?b.name:null,k=a,n,m;if(c!==-1){e=a.substring(0,c);a=a.substring(c+1,a.length)}if(e)e=l(e,g);if(a){if(e)n=(c=p[e])?c.normalize?c.normalize(a,function(u){return l(u,g)}):l(a,g):"__$p"+g+"@"+a;else n=l(a,g);m=$[n];if(!m){m=h.toModuleUrl?h.toModuleUrl(i,n,b):i.nameToUrl(n,null,b);$[n]=m}}return{prefix:e,name:n,parentMap:b,url:m,originalName:k,fullName:e?e+"!"+n:n}}function q(){var a=true,b=r.priorityWait,c,e;if(b){for(e=
0;c=b[e];e++)if(!v[c]){a=false;break}a&amp;&amp;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&amp;&amp;J(g=e[e.length-1]))g.__requireJsBuild=true;e.push(b);return a.apply(null,e)}}function la(a,b){b=L(i.require,a,b);Y(b,{nameToUrl:L(i.nameToUrl,a),toUrl:L(i.toUrl,a),defined:L(i.requireDefined,a),specified:L(i.requireSpecified,a),ready:h.ready,isBrowser:h.isBrowser});if(h.paths)b.paths=h.paths;return b}
function xa(a){var b,c,e,g,k,n,m,u=T[a];if(u)for(g=0;c=u[g];g++){b=c.fullName;c=j(c.originalName,c.parentMap);c=c.fullName;e=w[b]||[];k=w[c];if(c!==b){if(b in y){delete y[b];y[c]=true}w[c]=k?k.concat(e):e;delete w[b];for(k=0;k&lt;e.length;k++){m=e[k].depArray;for(n=0;n&lt;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&amp;&amp;!G[b]){G[b]=undefined;(T[b]||(T[b]=[])).push(a);(w[b]||(w[b]=[])).push({onDep:function(e){e===b&amp;&amp;xa(b)}});ma(j(b))}i.paused.push(a)}}
function aa(a){var b,c,e;b=a.callback;var g=a.fullName,k=[],n=a.depArray;if(b&amp;&amp;J(b)){if(n)for(b=0;b&lt;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&amp;&amp;a.cjsModule.exports!==undefined)c=p[g]=a.cjsModule.exports;else if(c===undefined&amp;&amp;a.usingExports)c=p[g];else p[g]=c}else if(g)c=p[g]=b;if(B[a.waitId]){delete B[a.waitId];a.isDone=true;i.waitCount-=1;if(i.waitCount===0)ba=[]}if(e){e=K("defineerror",'Error evaluating module "'+g+'" at location "'+(g?
j(g).url:"")+'":\n'+e+"\nfileName:"+(e.fileName||e.sourceURL)+"\nlineNumber: "+(e.lineNumber||e.line),e);e.moduleName=g;return h.onError(e)}if(g)if(a=w[g]){for(b=0;b&lt;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&amp;&amp;aa(m)}}},u,t;if(k){if(k in p||v[k]===
true||k==="jquery"&amp;&amp;r.jQuery&amp;&amp;r.jQuery!==c().fn.jquery)return;y[k]=true;v[k]=true;k==="jquery"&amp;&amp;c&amp;&amp;U(c())}for(c=0;c&lt;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&amp;&amp;!(t in B))m.deps[t]=p[t];else if(!n[t]){m.depMax+=1;ma(u);(w[t]||(w[t]=[])).push(m);n[t]=true}}if(m.depCount===
m.depMax)aa(m);else{B[m.waitId]=m;ba.push(m);i.waitCount+=1}}function M(a){na.apply(null,a);v[a[0]]=true}function pa(a,b){if(!a.isDone){var c=a.fullName,e=a.depArray,g,k;if(c){if(b[c])return p[c];b[c]=true}for(k=0;k&lt;e.length;k++)(g=e[k])&amp;&amp;!a.deps[g]&amp;&amp;B[g]&amp;&amp;a.onDep(g,pa(B[g],b));return c?p[c]:undefined}}function ca(){var a=r.waitSeconds*1E3,b=a&amp;&amp;i.startTime+a&lt;(new Date).getTime();a="";var c=false,e=false,g;if(!(i.pausedCount&gt;0)){if(r.priorityWait)if(q())C();else return;for(g in v)if(!(g in F)){c=true;
if(!v[g])if(b)a+=g+" ";else{e=true;break}}if(c||i.waitCount){if(b&amp;&amp;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)&amp;&amp;!da)da=setTimeout(function(){da=0;ca()},50)}else{if(i.waitCount){for(D=0;a=ba[D];D++)pa(a,{});if(ea&lt;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&amp;&amp;h.onPluginLoad(i,
a,c,k);aa({prefix:b.prefix,name:b.name,fullName:b.fullName,callback:function(){return k}});v[e]=true};g.fromText=function(k,n){var m=N;i.loaded[k]=false;i.scriptCount+=1;if(m)N=false;h.exec(n);if(m)N=true;i.completeLoad(k)};G[a].load(c,la(b.parentMap,true),g,r)}}function Ba(a){if(a.prefix&amp;&amp;a.name.indexOf("__$p")===0&amp;&amp;p[a.prefix])a=j(a.originalName,a.parentMap);var b=a.prefix,c=a.fullName,e=i.urlFetched;if(!(y[c]||v[c])){y[c]=true;if(b)if(p[b])ra(b,a);else{if(!O[b]){O[b]=[];(w[b]||(w[b]=[])).push({onDep:function(g){if(g===
b){var k,n=O[b];for(g=0;g&lt;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&amp;&amp;a.fn.jquery!==r.jQuery))if("holdReady"in a||"readyWait"in a){i.jQuery=a;M(["jquery",
[],function(){return jQuery}]);if(i.scriptCount){Z(a,true);i.jQueryIncremented=true}}};C=function(){var a,b,c;fa+=1;if(i.scriptCount&lt;=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&amp;&amp;ca();fa-=1};i={contextName:d,
config:r,defQueue:P,waiting:B,waitCount:0,specified:y,loaded:v,urlMap:$,scriptCount:0,urlFetched:{},defined:p,paused:[],pausedCount:0,plugins:G,managerCallbacks:w,makeModuleMap:j,normalize:l,configure:function(a){var b,c,e;if(a.baseUrl)if(a.baseUrl.charAt(a.baseUrl.length-1)!=="/")a.baseUrl+="/";b=r.paths;e=r.pkgs;Y(r,a,true);if(a.paths){for(c in a.paths)c in F||(b[c]=a.paths[c]);r.paths=b}if((b=a.packagePaths)||a.packages){if(b)for(c in b)c in F||ja(e,b[c],c);a.packages&amp;&amp;ja(e,a.packages);r.pkgs=
e}if(a.priority){c=i.requireWait;i.requireWait=false;i.takeGlobalQueue();C();i.require(a.priority);C();i.requireWait=c;r.priorityWait=a.priority}if(a.deps||a.callback)i.require(a.deps||[],a.callback);a.ready&amp;&amp;h.ready(a.ready)},requireDefined:function(a,b){return j(a,b).fullName in p},requireSpecified:function(a,b){return j(a,b).fullName in y},require:function(a,b,c){if(typeof a==="string"){if(h.get)return h.get(i,a,b);c=b;b=j(a,c);a=b.fullName;if(!(a in p))return h.onError(K("notloaded","Module name '"+
b.fullName+"' has not been loaded yet for context: "+d));return p[a]}na(null,a,b,c);if(!i.requireWait)for(;!i.scriptCount&amp;&amp;i.paused.length;){i.takeGlobalQueue();C()}},takeGlobalQueue:function(){if(V.length){Ca.apply(i.defQueue,[i.defQueue.length-1,0].concat(V));V=[]}},completeLoad:function(a){var b;for(i.takeGlobalQueue();P.length;){b=P.shift();if(b[0]===null){b[0]=a;break}else if(b[0]===a)break;else{M(b);b=null}}b?M(b):M([a,[],a==="jquery"&amp;&amp;typeof jQuery!=="undefined"?function(){return jQuery}:null]);
v[a]=true;U();if(h.isAsync)i.scriptCount-=1;C();h.isAsync||(i.scriptCount-=1)},toUrl:function(a,b){var c=a.lastIndexOf("."),e=null;if(c!==-1){e=a.substring(c,a.length);a=a.substring(0,c)}return i.nameToUrl(a,e,b)},nameToUrl:function(a,b,c){var e,g,k,n,m=i.config;a=l(a,c&amp;&amp;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&gt;0;n--){k=c.slice(0,n).join("/");if(e[k]){c.splice(0,n,e[k]);break}else if(k=g[k]){a=a===k.name?k.location+"/"+k.main:k.location;
c.splice(0,n,a);break}}b=c.join("/")+(b||".js");b=(b.charAt(0)==="/"||b.match(/^\w+:/)?"":m.baseUrl)+b}return m.urlArgs?b+((b.indexOf("?")===-1?"?":"&amp;")+m.urlArgs):b}};i.jQueryCheck=U;i.resume=C;return i}function Da(){var d,f,l;if(Q&amp;&amp;Q.readyState==="interactive")return Q;d=document.getElementsByTagName("script");for(f=d.length-1;f&gt;-1&amp;&amp;(l=d[f]);f--)if(l.readyState==="interactive")return Q=l;return null}var Ea=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,Fa=/require\(["']([^'"\s]+)["']\)/g,ua=/^\.\//,ka=/\.js$/,
ia=Object.prototype.toString,x=Array.prototype,wa=x.slice,Ca=x.splice,A=!!(typeof window!=="undefined"&amp;&amp;navigator&amp;&amp;document),qa=!A&amp;&amp;typeof importScripts!=="undefined",Ga=A&amp;&amp;navigator.platform==="PLAYSTATION 3"?/^complete$/:/^(complete|loaded)$/,sa=typeof opera!=="undefined"&amp;&amp;opera.toString()==="[object Opera]",ya="_r@@",F={},H={},V=[],Q=null,Ha=false,ea=0,N=false,h;x={};var ga,s,I,W,z,R,S,D,ha,ta,E,U,da;if(typeof define==="undefined"){if(typeof requirejs!=="undefined")if(J(requirejs))return;else{x=
requirejs;requirejs=undefined}if(typeof require!=="undefined"&amp;&amp;!J(require)){x=require;require=undefined}h=requirejs=function(d,f,l){var j="_",q;if(!X(d)&amp;&amp;typeof d!=="string"){q=d;if(X(f)){d=f;f=l}else d=[]}if(q&amp;&amp;q.context)j=q.context;l=H[j]||(H[j]=va(j));q&amp;&amp;l.configure(q);return l.require(d,f)};if(typeof require==="undefined")require=h;h.toUrl=function(d){return H._.toUrl(d)};h.version="0.25.0";h.isArray=X;h.isFunction=J;h.mixin=Y;h.jsExtRegExp=/^\/|:|\?|\.js$/;s=h.s={contexts:H,skipAsync:{},isPageLoaded:!A,
readyCalls:[]};if(h.isAsync=h.isBrowser=A){I=s.head=document.getElementsByTagName("head")[0];if(W=document.getElementsByTagName("base")[0])I=s.head=W.parentNode}h.onError=function(d){throw d;};h.load=function(d,f,l){var j=d.loaded;Ha=false;j[f]||(j[f]=false);d.scriptCount+=1;h.attach(l,d,f);if(d.jQuery&amp;&amp;!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&amp;&amp;!f.length&amp;&amp;h.isFunction(l))if(l.length){l.toString().replace(Ea,
"").replace(Fa,function(q,o){f.push(o)});f=(l.length===1?["require"]:["require","exports","module"]).concat(f)}if(N){j=ga||Da();if(!j)return h.onError(K("interactive","No matching script interactive for "+l));d||(d=j.getAttribute("data-requiremodule"));j=H[j.getAttribute("data-requirecontext")]}(j?j.defQueue:V).push([d,f,l])};define.amd={multiversion:true,plugins:true,jQuery:true};h.exec=function(d){return eval(d)};h.execCb=function(d,f,l,j){return f.apply(j,l)};h.onScriptLoad=function(d){var f=d.currentTarget||
d.srcElement,l;if(d.type==="load"||Ga.test(f.readyState)){Q=null;d=f.getAttribute("data-requirecontext");l=f.getAttribute("data-requiremodule");H[d].completeLoad(l);f.detachEvent&amp;&amp;!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&amp;&amp;f.config&amp;&amp;f.config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");o.type=q||"text/javascript";
o.charset="utf-8";o.async=!s.skipAsync[d];f&amp;&amp;o.setAttribute("data-requirecontext",f.contextName);o.setAttribute("data-requiremodule",l);if(o.attachEvent&amp;&amp;!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&gt;-1&amp;&amp;(R=z[D]);D--){if(!I)I=R.parentNode;
if(S=R.getAttribute("data-main")){if(!x.baseUrl){z=S.split("/");R=z.pop();z=z.length?z.join("/")+"/":"./";x.baseUrl=z;S=R.replace(ka,"")}x.deps=x.deps?x.deps.concat(S):[S];break}}}s.baseUrl=x.baseUrl;h.pageLoaded=function(){if(!s.isPageLoaded){s.isPageLoaded=true;ha&amp;&amp;clearInterval(ha);if(ta)document.readyState="complete";h.callReady()}};h.checkReadyState=function(){var d=s.contexts,f;for(f in d)if(!(f in F))if(d[f].waitCount)return;s.isDone=true;h.callReady()};h.callReady=function(){var d=s.readyCalls,
f,l,j;if(s.isPageLoaded&amp;&amp;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&amp;&amp;s.isDone?d():s.readyCalls.push(d);return h};if(A){if(document.addEventListener){document.addEventListener("DOMContentLoaded",h.pageLoaded,false);window.addEventListener("load",h.pageLoaded,false);if(!document.readyState){ta=true;document.readyState="loading"}}else if(window.attachEvent){window.attachEvent("onload",
h.pageLoaded);if(self===self.top)ha=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");h.pageLoaded()}}catch(d){}},30)}document.readyState==="complete"&amp;&amp;h.pageLoaded()}h(x);if(h.isAsync&amp;&amp;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)}}})();/*
 jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"object"==typeof module&amp;&amp;"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==
typeof e&amp;&amp;"number"!=typeof e.nodeType&amp;&amp;"function"!=typeof e.item},x=function(e){return null!=e&amp;&amp;e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&amp;&amp;t.getAttribute(r))&amp;&amp;o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,
t)};function p(e){var t=!!e&amp;&amp;"length"in e&amp;&amp;e.length,n=w(e);return!m(e)&amp;&amp;!x(e)&amp;&amp;("array"===n||0===t||"number"==typeof t&amp;&amp;0&lt;t&amp;&amp;t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e&lt;0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,
t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e&lt;0?t:0);return this.pushStack(0&lt;=n&amp;&amp;n&lt;t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=
S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&amp;&amp;(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&amp;&amp;(a=this,s--);s&lt;u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&amp;&amp;a!==r&amp;&amp;(l&amp;&amp;r&amp;&amp;(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&amp;&amp;!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&amp;&amp;(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),
isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&amp;&amp;(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&amp;&amp;t.constructor)&amp;&amp;a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&amp;&amp;t.nonce},n)},each:function(e,t){var n,r=0;if(p(e))for(n=e.length;r&lt;n;r++){if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},
makeArray:function(e,t){var n=t||[];return null!=e&amp;&amp;(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r&lt;n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i&lt;o;i++)!t(e[i],i)!==a&amp;&amp;r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o&lt;r;o++)null!=(i=t(e[o],o,n))&amp;&amp;a.push(i);else for(o in e)null!=(i=t(e[o],
o,n))&amp;&amp;a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&amp;&amp;(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),j=function(e,t){return e===t&amp;&amp;(l=!0),0},D={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,
t){for(var n=0,r=e.length;n&lt;r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\x00-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+
W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([&gt;+~]|"+M+")"+M+"*"),U=new RegExp(M+"|&gt;"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),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("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[&gt;+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n&lt;0?String.fromCharCode(n+65536):String.fromCharCode(n&gt;&gt;
10|55296,1023&amp;n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\x00"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&amp;&amp;"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,
r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&amp;&amp;e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&amp;&amp;9!==p&amp;&amp;11!==p)return n;if(!r&amp;&amp;(T(e),e=e||C,E)){if(11!==p&amp;&amp;(u=Z.exec(t)))if(i=u[1])if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else{if(f&amp;&amp;(a=f.getElementById(i))&amp;&amp;y(e,a)&amp;&amp;a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&amp;&amp;d.getElementsByClassName&amp;&amp;e.getElementsByClassName)return H.apply(n,
e.getElementsByClassName(i)),n}if(d.qsa&amp;&amp;!N[t+" "]&amp;&amp;(!v||!v.test(t))&amp;&amp;(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&amp;&amp;(U.test(t)||z.test(t))){(f=ee.test(t)&amp;&amp;ye(e.parentNode)||e)===e&amp;&amp;d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&amp;&amp;e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=
[];return function e(t,n){return r.push(t+" ")&gt;b.cacheLength&amp;&amp;delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&amp;&amp;t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&amp;&amp;e,r=n&amp;&amp;1===e.nodeType&amp;&amp;1===t.nodeType&amp;&amp;e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?
1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&amp;&amp;e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&amp;&amp;e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&amp;&amp;!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&amp;&amp;ae(e)===t:e.disabled===t:"label"in e&amp;&amp;e.disabled===t}}function ve(a){return le(function(o){return o=+o,
le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&amp;&amp;(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&amp;&amp;"undefined"!=typeof e.getElementsByTagName&amp;&amp;e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&amp;&amp;e.namespaceURI,n=e&amp;&amp;(e.ownerDocument||e).documentElement;return!Y.test(t||n&amp;&amp;n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&amp;&amp;9===r.nodeType&amp;&amp;r.documentElement&amp;&amp;(a=(C=r).documentElement,E=!i(C),p!=C&amp;&amp;(n=C.defaultView)&amp;&amp;n.top!==n&amp;&amp;
(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&amp;&amp;n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&amp;&amp;!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),
d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&amp;&amp;E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&amp;&amp;e.getAttributeNode("id");return t&amp;&amp;t.value===n}},b.find.ID=
function(e,t){if("undefined"!=typeof t.getElementById&amp;&amp;E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&amp;&amp;n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&amp;&amp;n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===
n.nodeType&amp;&amp;r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&amp;&amp;function(e,t){if("undefined"!=typeof t.getElementsByClassName&amp;&amp;E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&amp;&amp;(ce(function(e){var t;a.appendChild(e).innerHTML="&lt;a id='"+S+"'&gt;&lt;/a&gt;&lt;select id='"+S+"-\r\\' msallowcapture=''&gt;&lt;option selected=''&gt;&lt;/option&gt;&lt;/select&gt;",e.querySelectorAll("[msallowcapture^='']").length&amp;&amp;v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||
v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="&lt;a href='' disabled='disabled'&gt;&lt;/a&gt;&lt;select disabled='disabled'&gt;&lt;option/&gt;&lt;/select&gt;";
var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&amp;&amp;v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&amp;&amp;v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&amp;&amp;v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||
a.msMatchesSelector))&amp;&amp;ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&amp;&amp;new RegExp(v.join("|")),s=s.length&amp;&amp;new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&amp;&amp;t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&amp;&amp;16&amp;e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},
j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&amp;(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&amp;&amp;t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&amp;&amp;y(p,e)?-1:t==C||t.ownerDocument==p&amp;&amp;y(p,t)?1:u?P(u,e)-P(u,t):0:4&amp;n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,
t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&amp;&amp;E&amp;&amp;!N[t+" "]&amp;&amp;(!s||!s.test(t))&amp;&amp;(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&amp;&amp;11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0&lt;se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||
e)!=C&amp;&amp;T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&amp;&amp;T(e);var n=b.attrHandle[t.toLowerCase()],r=n&amp;&amp;D.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&amp;&amp;r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&amp;&amp;e.slice(0),
e.sort(j),l){while(t=e[i++])t===e[i]&amp;&amp;(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i)if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else{if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{"&gt;":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",
first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&amp;&amp;(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&amp;&amp;se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&amp;&amp;e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&amp;&amp;X.test(n)&amp;&amp;
(t=h(n,!0))&amp;&amp;(t=n.indexOf(")",n.length-t)-n.length)&amp;&amp;(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&amp;&amp;e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&amp;&amp;m(e,function(e){return t.test("string"==typeof e.className&amp;&amp;e.className||"undefined"!=typeof e.getAttribute&amp;&amp;e.getAttribute("class")||"")})},ATTR:function(n,
r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&amp;&amp;0===t.indexOf(i):"*="===r?i&amp;&amp;-1&lt;t.indexOf(i):"$="===r?i&amp;&amp;t.slice(-i.length)===i:"~="===r?-1&lt;(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&amp;&amp;(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&amp;&amp;0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":
"previousSibling",c=e.parentNode,f=x&amp;&amp;e.nodeName.toLowerCase(),p=!n&amp;&amp;!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&amp;&amp;!u&amp;&amp;"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&amp;&amp;p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&amp;&amp;r[1])&amp;&amp;r[2],a=s&amp;&amp;c.childNodes[s];while(a=++s&amp;&amp;a&amp;&amp;a[l]||(d=s=0)||u.pop())if(1===a.nodeType&amp;&amp;++d&amp;&amp;a===e){i[h]=[k,s,d];break}}else if(p&amp;&amp;(d=s=(r=(i=(o=(a=e)[S]||(a[S]=
{}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&amp;&amp;r[1]),!1===d)while(a=++s&amp;&amp;a&amp;&amp;a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&amp;&amp;++d&amp;&amp;(p&amp;&amp;((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&amp;&amp;0&lt;=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1&lt;a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,
r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&amp;&amp;(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0&lt;se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1&lt;(e.textContent||o(e)).indexOf(t)}}),
lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-");while((e=e.parentNode)&amp;&amp;1===e.nodeType);return!1}}),target:function(e){var t=n.location&amp;&amp;n.location.hash;return t&amp;&amp;t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&amp;&amp;(!C.hasFocus||C.hasFocus())&amp;&amp;!!(e.type||e.href||
~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&amp;&amp;!!e.checked||"option"===t&amp;&amp;!!e.selected},selected:function(e){return e.parentNode&amp;&amp;e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType&lt;6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();
return"input"===t&amp;&amp;"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&amp;&amp;"text"===e.type&amp;&amp;(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n&lt;0?n+t:n]}),even:ve(function(e,t){for(var n=0;n&lt;t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n&lt;t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n&lt;0?n+t:t&lt;n?t:n;0&lt;=--r;)e.push(r);return e}),
gt:ve(function(e,t,n){for(var r=n&lt;0?n+t:n;++r&lt;t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t&lt;n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&amp;&amp;"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,
p];if(n)while(e=e[u]){if((1===e.nodeType||f)&amp;&amp;s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&amp;&amp;l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&amp;&amp;r[0]===k&amp;&amp;r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1&lt;i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s&lt;u;s++)(o=e[s])&amp;&amp;(n&amp;&amp;!n(o,
r,i)||(a.push(o),l&amp;&amp;t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&amp;&amp;!v[S]&amp;&amp;(v=Ce(v)),y&amp;&amp;!y[S]&amp;&amp;(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r&lt;i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&amp;&amp;h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&amp;&amp;g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&amp;&amp;(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&amp;&amp;i.push(f[o]=a);y(null,p=[],
i,r)}o=p.length;while(o--)(a=p[o])&amp;&amp;-1&lt;(i=y?P(e,a):s[o])&amp;&amp;(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1&lt;P(i,e)},a,!0),c=[function(e,t,n){var r=!o&amp;&amp;(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s&lt;r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,
e[s].matches))[S]){for(n=++s;n&lt;r;n++)if(b.relative[e[n].type])break;return Ce(1&lt;s&amp;&amp;we(c),1&lt;s&amp;&amp;xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s&lt;n&amp;&amp;Ee(e.slice(s,n)),n&lt;r&amp;&amp;Ee(e=e.slice(n)),n&lt;r&amp;&amp;xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&amp;&amp;!(r=_.exec(a))||(r&amp;&amp;(a=a.slice(r[0].length)||a),s.push(i=[])),
n=!1,(r=z.exec(a))&amp;&amp;(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&amp;&amp;!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0&lt;(y=i).length,x=0&lt;v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=
e&amp;&amp;[],f=[],p=w,d=e||x&amp;&amp;b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&amp;&amp;(w=t==C||t||i);l!==g&amp;&amp;null!=(o=d[l]);l++){if(x&amp;&amp;o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&amp;&amp;(k=h)}m&amp;&amp;((o=!s&amp;&amp;o)&amp;&amp;u--,e&amp;&amp;c.push(o))}if(u+=l,m&amp;&amp;l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0&lt;u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&amp;&amp;!e&amp;&amp;0&lt;f.length&amp;&amp;1&lt;u+y.length&amp;&amp;se.uniqueSort(r)}return i&amp;&amp;(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=
se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&amp;&amp;e,c=!r&amp;&amp;h(e=l.selector||e);if(n=n||[],1===c.length){if(2&lt;(o=c[0]=c[0].slice(0)).length&amp;&amp;"ID"===(a=o[0]).type&amp;&amp;9===t.nodeType&amp;&amp;E&amp;&amp;b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&amp;&amp;(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&amp;&amp;(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&amp;&amp;ye(t.parentNode)||
t))){if(o.splice(i,1),!(e=r.length&amp;&amp;xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&amp;&amp;ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(j).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&amp;e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="&lt;a href='#'&gt;&lt;/a&gt;","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?
1:2)}),d.attributes&amp;&amp;ce(function(e){return e.innerHTML="&lt;input/&gt;",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&amp;&amp;"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&amp;&amp;r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=
d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&amp;&amp;9!==e.nodeType)if(1===e.nodeType){if(i&amp;&amp;S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&amp;&amp;e!==t&amp;&amp;n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&amp;&amp;e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^&lt;([a-z][^\/\0&gt;:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?&gt;(?:&lt;\/\1&gt;|)$/i;
function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1&lt;i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&amp;&amp;(e=":not("+e+")"),1===t.length&amp;&amp;1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=
0;t&lt;r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t&lt;r;t++)S.find(e,i[t],n);return 1&lt;r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&amp;&amp;k.test(e)?S(e):e||[],!1).length}});var D,q=/^(?:\s*(&lt;[\w\W]+&gt;)[^&gt;]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="&lt;"===e[0]&amp;&amp;"&gt;"===e[e.length-1]&amp;&amp;
3&lt;=e.length?[null,e,null]:q.exec(e))||!r[1]&amp;&amp;t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&amp;&amp;t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&amp;&amp;S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&amp;&amp;(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,
D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&amp;&amp;1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e&lt;n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&amp;&amp;S(e);if(!k.test(e))for(;r&lt;i;r++)for(n=this[r];n&amp;&amp;n!==t;n=n.parentNode)if(n.nodeType&lt;11&amp;&amp;(a?-1&lt;a.index(n):1===n.nodeType&amp;&amp;S.find.matchesSelector(n,
e))){o.push(n);break}return this.pushStack(1&lt;o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&amp;&amp;this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&amp;&amp;11!==t.nodeType?t:null},parents:function(e){return h(e,
"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=
e.contentDocument&amp;&amp;r(e.contentDocument)?e.contentDocument:(A(e,"template")&amp;&amp;(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&amp;&amp;(t=e),t&amp;&amp;"string"==typeof t&amp;&amp;(n=S.filter(t,n)),1&lt;this.length&amp;&amp;(H[r]||S.uniqueSort(n),L.test(r)&amp;&amp;n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e;}function I(e,t,n,r){var i;try{e&amp;&amp;m(i=e.promise)?i.call(e).done(t).fail(n):e&amp;&amp;m(i=e.then)?i.call(e,
t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l&lt;s.length)!1===s[l].apply(t[0],t[1])&amp;&amp;r.stopOnFalse&amp;&amp;(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&amp;&amp;(s=t?[]:"")},f={add:function(){return s&amp;&amp;(t&amp;&amp;!i&amp;&amp;(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?
r.unique&amp;&amp;f.has(t)||s.push(t):t&amp;&amp;t.length&amp;&amp;"string"!==w(t)&amp;&amp;n(t)})}(arguments),t&amp;&amp;!i&amp;&amp;c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1&lt;(n=S.inArray(t,s,n)))s.splice(n,1),n&lt;=l&amp;&amp;l--}),this},has:function(e){return e?-1&lt;S.inArray(e,s):0&lt;s.length},empty:function(){return s&amp;&amp;(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||
(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),
this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&amp;&amp;i[t[4]];s[t[1]](function(){var e=n&amp;&amp;n.apply(this,arguments);e&amp;&amp;m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i&lt;u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");
t=e&amp;&amp;("object"==typeof e||"function"==typeof e)&amp;&amp;e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&amp;&amp;(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&amp;&amp;S.Deferred.exceptionHook(e,t.stackTrace),u&lt;=i+1&amp;&amp;(a!==M&amp;&amp;(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&amp;&amp;(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,
m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&amp;&amp;n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&amp;&amp;e.call(s,s),s},when:function(e){var n=arguments.length,t=n,
r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1&lt;arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n&lt;=1&amp;&amp;(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&amp;&amp;i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&amp;&amp;C.console.warn&amp;&amp;e&amp;&amp;W.test(e.name)&amp;&amp;C.console.warn("jQuery.Deferred exception: "+
e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e;})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&amp;&amp;0&lt;--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&amp;&amp;
!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&amp;&amp;(i=!0,m(r)||(a=!0),l&amp;&amp;(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s&lt;u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}
function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&amp;&amp;(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):
e[this.expando]&amp;&amp;e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&amp;&amp;"string"==typeof t&amp;&amp;void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&amp;&amp;(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&amp;&amp;!S.isEmptyObject(t)}};
var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&amp;&amp;1===e.nodeType)if(r="data-"+t.replace(K,"-$&amp;").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&amp;&amp;("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,
t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&amp;&amp;o.attributes;if(void 0===n){if(this.length&amp;&amp;(i=Q.get(o),1===o.nodeType&amp;&amp;!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&amp;&amp;0===(r=a[t].name).indexOf("data-")&amp;&amp;(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&amp;&amp;void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==
(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1&lt;arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&amp;&amp;(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&amp;&amp;(i=n.shift(),r--),i&amp;&amp;("fx"===t&amp;&amp;n.unshift("inprogress"),delete o.stop,
i.call(e,function(){S.dequeue(e,t)},o)),!r&amp;&amp;o&amp;&amp;o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&amp;&amp;(n=t,t="fx",e--),arguments.length&lt;e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&amp;&amp;"inprogress"!==e[0]&amp;&amp;S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,
e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&amp;&amp;(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&amp;&amp;n.empty&amp;&amp;(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,
e)},oe={composed:!0};re.getRootNode&amp;&amp;(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&amp;&amp;ie(e)&amp;&amp;"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&amp;&amp;n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&amp;&amp;(S.cssNumber[t]||"px"!==l&amp;&amp;+u)&amp;&amp;te.exec(S.css(e,t));if(c&amp;&amp;c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,
t,c+l),(1-o)*(1-(o=s()/u||.5))&lt;=0&amp;&amp;(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&amp;&amp;(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&amp;&amp;(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c&lt;f;c++)(r=e[c]).style&amp;&amp;(n=r.style.display,t?("none"===n&amp;&amp;(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&amp;&amp;ae(r)&amp;&amp;(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),
o.parentNode.removeChild(o),"none"===u&amp;&amp;(u="block"),ue[s]=u)))):"none"!==n&amp;&amp;(l[c]="none",Y.set(r,"display",n)));for(c=0;c&lt;f;c++)null!=l[c]&amp;&amp;(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/&lt;([a-z][^\/\0&gt;\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;
ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="&lt;textarea&gt;x&lt;/textarea&gt;",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="&lt;option&gt;&lt;/option&gt;",y.option=!!ce.lastChild;var ge={thead:[1,"&lt;table&gt;","&lt;/table&gt;"],col:[2,"&lt;table&gt;&lt;colgroup&gt;","&lt;/colgroup&gt;&lt;/table&gt;"],
tr:[2,"&lt;table&gt;&lt;tbody&gt;","&lt;/tbody&gt;&lt;/table&gt;"],td:[3,"&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;","&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&amp;&amp;A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n&lt;r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||
(ge.optgroup=ge.option=[1,"&lt;select multiple='multiple'&gt;","&lt;/select&gt;"]);var me=/&lt;|&amp;#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d&lt;h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=
""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&amp;&amp;-1&lt;S.inArray(o,r))i&amp;&amp;i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&amp;&amp;ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&amp;&amp;n.push(o)}return f}var be=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&amp;&amp;(r=r||n,n=void 0),t)Ee(e,
s,n,r,t[s],o);return e}if(null==r&amp;&amp;null==i?(i=n,r=n=void 0):null==i&amp;&amp;("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&amp;&amp;(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Se(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&amp;e.isTrigger&amp;&amp;this[i])if(r.length)(S.event.special[i]||{}).delegateType&amp;&amp;e.stopPropagation();
else{if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n&amp;&amp;n.value}else r.length&amp;&amp;(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&amp;&amp;S.event.add(e,i,we)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&amp;&amp;(n=(o=n).handler,i=o.selector),i&amp;&amp;S.find.matchesSelector(re,
i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&amp;&amp;S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=be.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&amp;&amp;(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&amp;&amp;S.expr.match.needsContext.test(i),
namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&amp;&amp;!1!==f.setup.call(t,r,h,a)||t.addEventListener&amp;&amp;t.addEventListener(d,a)),f.add&amp;&amp;(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&amp;&amp;Y.get(e);if(v&amp;&amp;(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=be.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||
{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&amp;&amp;new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&amp;&amp;g!==c.origType||n&amp;&amp;n.guid!==c.guid||s&amp;&amp;!s.test(c.namespace)||r&amp;&amp;r!==c.selector&amp;&amp;("**"!==r||!c.selector)||(p.splice(o,1),c.selector&amp;&amp;p.delegateCount--,f.remove&amp;&amp;f.remove.call(e,c));a&amp;&amp;!p.length&amp;&amp;(f.teardown&amp;&amp;!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&amp;&amp;Y.remove(e,
"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t&lt;arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&amp;&amp;!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&amp;&amp;!u.isImmediatePropagationStopped())u.rnamespace&amp;&amp;
!1!==o.namespace&amp;&amp;!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&amp;&amp;!1===(u.result=r)&amp;&amp;(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&amp;&amp;c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&amp;&amp;l.nodeType&amp;&amp;!("click"===e.type&amp;&amp;1&lt;=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&amp;&amp;("click"!==e.type||!0!==l.disabled)){for(o=
[],a={},n=0;n&lt;u;n++)void 0===a[i=(r=t[n]).selector+" "]&amp;&amp;(a[i]=r.needsContext?-1&lt;S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&amp;&amp;o.push(r);o.length&amp;&amp;s.push({elem:l,handlers:o})}return l=this,u&lt;t.length&amp;&amp;s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,
t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&amp;&amp;t.click&amp;&amp;A(t,"input")&amp;&amp;Se(t,"click",we),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&amp;&amp;t.click&amp;&amp;A(t,"input")&amp;&amp;Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&amp;&amp;t.click&amp;&amp;A(t,"input")&amp;&amp;Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==
e.result&amp;&amp;e.originalEvent&amp;&amp;(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&amp;&amp;e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&amp;&amp;e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&amp;&amp;!1===e.returnValue?we:Te,this.target=e.target&amp;&amp;3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=
e.relatedTarget):this.type=e,t&amp;&amp;S.extend(this,t),this.timeStamp=e&amp;&amp;e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.stopPropagation()},stopImmediatePropagation:function(){var e=
this.originalEvent;this.isImmediatePropagationStopped=we,e&amp;&amp;!this.isSimulated&amp;&amp;e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),
S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Se(this,e,Ce),!1},trigger:function(){return Se(this,e),!0},_default:function(){return!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&amp;&amp;(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,
arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&amp;&amp;e.preventDefault&amp;&amp;e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&amp;&amp;"function"!=typeof t||(n=t,t=void 0),!1===n&amp;&amp;(n=Te),this.each(function(){S.event.remove(this,e,n,t)})}});
var ke=/&lt;script|&lt;style|&lt;link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Ne=/^\s*&lt;!(?:\[CDATA\[|--)|(?:\]\]|--)&gt;\s*$/g;function je(e,t){return A(e,"table")&amp;&amp;A(11!==t.nodeType?t:t.firstChild,"tr")&amp;&amp;S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&amp;&amp;(s=Y.get(e).events))for(i in Y.remove(t,
"handle events"),s)for(n=0,r=s[i].length;n&lt;r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&amp;&amp;(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function He(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1&lt;f&amp;&amp;"string"==typeof d&amp;&amp;!y.checkClone&amp;&amp;Ae.test(d))return n.each(function(e){var t=n.eq(e);h&amp;&amp;(r[0]=d.call(this,e,t.html())),He(t,r,i,o)});if(f&amp;&amp;(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&amp;&amp;(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),De)).length;c&lt;f;c++)u=
e,c!==p&amp;&amp;(u=S.clone(u,!0,!0),s&amp;&amp;S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,qe),c=0;c&lt;s;c++)u=a[c],he.test(u.type||"")&amp;&amp;!Y.access(u,"globalEval")&amp;&amp;S.contains(l,u)&amp;&amp;(u.src&amp;&amp;"module"!==(u.type||"").toLowerCase()?S._evalUrl&amp;&amp;!u.noModule&amp;&amp;S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(Ne,""),u,l))}return n}function Oe(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&amp;&amp;
(n&amp;&amp;ie(r)&amp;&amp;ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&amp;&amp;11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r&lt;i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&amp;&amp;pe.test(s.type)?u.checked=s.checked:"input"!==l&amp;&amp;"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r&lt;
i;r++)Le(o[r],a[r]);else Le(e,c);return 0&lt;(a=ve(c,"script")).length&amp;&amp;ye(a,!f&amp;&amp;ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&amp;&amp;(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Oe(this,e,!0)},remove:function(e){return Oe(this,e)},text:function(e){return $(this,function(e){return void 0===e?
S.text(this):this.empty().each(function(){1!==this.nodeType&amp;&amp;11!==this.nodeType&amp;&amp;9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return He(this,arguments,function(e){1!==this.nodeType&amp;&amp;11!==this.nodeType&amp;&amp;9!==this.nodeType||je(this,e).appendChild(e)})},prepend:function(){return He(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return He(this,arguments,
function(e){this.parentNode&amp;&amp;this.parentNode.insertBefore(e,this)})},after:function(){return He(this,arguments,function(e){this.parentNode&amp;&amp;this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&amp;&amp;(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&amp;&amp;e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===
e&amp;&amp;1===t.nodeType)return t.innerHTML;if("string"==typeof e&amp;&amp;!ke.test(e)&amp;&amp;!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n&lt;r;n++)1===(t=this[n]||{}).nodeType&amp;&amp;(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&amp;&amp;this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return He(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)&lt;0&amp;&amp;(S.cleanData(ve(this)),t&amp;&amp;t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",
insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o&lt;=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&amp;&amp;t.opener||(t=C),t.getComputedStyle(e)},Me=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},
Ie=new RegExp(ne.join("|"),"i");function We(e,t,n){var r,i,o,a,s=e.style;return(n=n||Re(e))&amp;&amp;(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&amp;&amp;Pe.test(a)&amp;&amp;Ie.test(t)&amp;&amp;(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Fe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",
l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&amp;&amp;(l.style.backgroundClip=
"content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&amp;&amp;(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",
t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,re.removeChild(e)),a}}))}();var Be=["Webkit","Moz","ms"],$e=E.createElement("div").style,_e={};function ze(e){var t=S.cssProps[e]||_e[e];return t||(e in $e?e:_e[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Be.length;
while(n--)if((e=Be[n]+t)in $e)return e}(e)||e)}var Ue=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ve={position:"absolute",visibility:"hidden",display:"block"},Ge={letterSpacing:"0",fontWeight:"400"};function Ye(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a&lt;4;a+=2)"margin"===n&amp;&amp;(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&amp;&amp;(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&amp;&amp;(u-=S.css(e,
"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&amp;&amp;0&lt;=o&amp;&amp;(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Je(e,t,n){var r=Re(e),i=(!y.boxSizingReliable()||n)&amp;&amp;"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&amp;&amp;i||!y.reliableTrDimensions()&amp;&amp;
A(e,"tr")||"auto"===a||!parseFloat(a)&amp;&amp;"inline"===S.css(e,"display",!1,r))&amp;&amp;e.getClientRects().length&amp;&amp;(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&amp;&amp;(a=e[s])),(a=parseFloat(a)||0)+Qe(e,t,n||(i?"border":"content"),o,r,a)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,
gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&amp;&amp;3!==e.nodeType&amp;&amp;8!==e.nodeType&amp;&amp;e.style){var i,o,a,s=X(t),u=Xe.test(t),l=e.style;if(u||(t=ze(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&amp;&amp;"get"in a&amp;&amp;void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&amp;&amp;(i=te.exec(n))&amp;&amp;i[1]&amp;&amp;(n=se(e,t,i),o="number"),null!=n&amp;&amp;n==n&amp;&amp;("number"!==
o||u||(n+=i&amp;&amp;i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&amp;&amp;"set"in a&amp;&amp;void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Xe.test(t)||(t=ze(s)),(a=S.cssHooks[t]||S.cssHooks[s])&amp;&amp;"get"in a&amp;&amp;(i=a.get(e,!0,n)),void 0===i&amp;&amp;(i=We(e,t,r)),"normal"===i&amp;&amp;t in Ge&amp;&amp;(i=Ge[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,
t,n){if(t)return!Ue.test(S.css(e,"display"))||e.getClientRects().length&amp;&amp;e.getBoundingClientRect().width?Je(e,u,n):Me(e,Ve,function(){return Je(e,u,n)})},set:function(e,t,n){var r,i=Re(e),o=!y.scrollboxSize()&amp;&amp;"absolute"===i.position,a=(o||n)&amp;&amp;"border-box"===S.css(e,"boxSizing",!1,i),s=n?Qe(e,u,n,a,i):0;return a&amp;&amp;o&amp;&amp;(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Qe(e,u,"border",!1,i)-.5)),s&amp;&amp;(r=te.exec(t))&amp;&amp;"px"!==(r[3]||"px")&amp;&amp;(e.style[u]=t,t=S.css(e,u)),Ye(0,t,s)}}}),S.cssHooks.marginLeft=
Fe(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Me(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t&lt;4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&amp;&amp;(S.cssHooks[i+o].set=Ye)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,
i,o={},a=0;if(Array.isArray(t)){for(r=Re(e),i=t.length;a&lt;i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1&lt;arguments.length)}}),((S.Tween=Ke).prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&amp;&amp;e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,
n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&amp;&amp;this.options.step.call(this.elem,this.now,this),n&amp;&amp;n.set?n.set(this):Ke.propHooks._default.set(this),this}}).init.prototype=Ke.prototype,(Ke.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&amp;&amp;null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,
e.prop,""))&amp;&amp;"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&amp;&amp;null==e.elem.style[ze(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&amp;&amp;e.elem.parentNode&amp;&amp;(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=Ke.prototype.init,S.fx.step={};var Ze,et,tt,nt,rt=/^(?:toggle|show|hide)$/,
it=/queueHooks$/;function ot(){et&amp;&amp;(!1===E.hidden&amp;&amp;C.requestAnimationFrame?C.requestAnimationFrame(ot):C.setTimeout(ot,S.fx.interval),S.fx.tick())}function at(){return C.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function st(e,t){var n,r=0,i={height:e};for(t=t?1:0;r&lt;4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&amp;&amp;(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(lt.tweeners[t]||[]).concat(lt.tweeners["*"]),o=0,a=i.length;o&lt;a;o++)if(r=i[o].call(n,t,e))return r}function lt(o,e,
t){var n,a,r=0,i=lt.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=Ze||at(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r&lt;i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n&lt;1&amp;&amp;i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:Ze||at(),duration:t.duration,
tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t&lt;n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&amp;&amp;(i=o[1],o=e[n]=o[0]),n!==r&amp;&amp;(e[r]=o,delete e[n]),(a=S.cssHooks[r])&amp;&amp;"expand"in a)for(n in o=
a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r&lt;i;r++)if(n=lt.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&amp;&amp;(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ut,l),m(l.opts.start)&amp;&amp;l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(lt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,
t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r&lt;i;r++)n=e[r],lt.tweeners[n]=lt.tweeners[n]||[],lt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&amp;&amp;ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&amp;&amp;(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,
S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],rt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&amp;&amp;v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&amp;&amp;1===e.nodeType&amp;&amp;(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&amp;&amp;v.display)&amp;&amp;(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&amp;&amp;(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===
c&amp;&amp;null!=l)&amp;&amp;"none"===S.css(e,"float")&amp;&amp;(u||(p.done(function(){h.display=l}),null==l&amp;&amp;(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&amp;&amp;(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&amp;&amp;(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&amp;&amp;(v.hidden=!g),g&amp;&amp;le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ut(g?v[r]:0,r,p),r in v||(v[r]=u.start,
g&amp;&amp;(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?lt.prefilters.unshift(e):lt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&amp;&amp;"object"==typeof e?S.extend({},e):{complete:n||!n&amp;&amp;t||m(e)&amp;&amp;e,duration:e,easing:n&amp;&amp;t||t&amp;&amp;!m(t)&amp;&amp;t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&amp;&amp;(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&amp;&amp;!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&amp;&amp;r.old.call(this),
r.queue&amp;&amp;S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=lt(this,S.extend({},t),o);(i||Y.get(this,"finish"))&amp;&amp;e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&amp;&amp;(o=e,e=i,i=void 0),e&amp;&amp;this.queue(i||
"fx",[]),this.each(function(){var e=!0,t=null!=i&amp;&amp;i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&amp;&amp;r[t].stop&amp;&amp;a(r[t]);else for(t in r)r[t]&amp;&amp;r[t].stop&amp;&amp;it.test(t)&amp;&amp;a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&amp;&amp;n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&amp;&amp;o||S.dequeue(this,i)})},finish:function(a){return!1!==a&amp;&amp;(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&amp;&amp;r.stop&amp;&amp;r.stop.call(this,
!0),e=i.length;e--;)i[e].elem===this&amp;&amp;i[e].queue===a&amp;&amp;(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e&lt;o;e++)n[e]&amp;&amp;n[e].finish&amp;&amp;n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(st(r,!0),e,t,n)}}),S.each({slideDown:st("show"),slideUp:st("hide"),slideToggle:st("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,
r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(Ze=Date.now();t&lt;n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),Ze=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){et||(et=!0,ot())},S.fx.stop=function(){et=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&amp;&amp;S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=
C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},tt=E.createElement("input"),nt=E.createElement("select").appendChild(E.createElement("option")),tt.type="checkbox",y.checkOn=""!==tt.value,y.optSelected=nt.selected,(tt=E.createElement("input")).value="t",tt.type="radio",y.radioValue="t"===tt.value;var ct,ft=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1&lt;arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,
t,n){var r,i,o=e.nodeType;if(3!==o&amp;&amp;8!==o&amp;&amp;2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&amp;&amp;S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ct:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&amp;&amp;"set"in i&amp;&amp;void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&amp;&amp;"get"in i&amp;&amp;null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&amp;&amp;"radio"===t&amp;&amp;A(e,"input")){var n=e.value;return e.setAttribute("type",
t),n&amp;&amp;(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&amp;&amp;t.match(P);if(i&amp;&amp;1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),ct={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=ft[t]||S.find.attr;ft[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=ft[o],ft[o]=r,r=null!=a(e,t,n)?o:null,ft[o]=i),r}});var pt=/^(?:input|select|textarea|button)$/i,dt=/^(?:a|area)$/i;function ht(e){return(e.match(P)||
[]).join(" ")}function gt(e){return e.getAttribute&amp;&amp;e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&amp;&amp;e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1&lt;arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&amp;&amp;8!==o&amp;&amp;2!==o)return 1===o&amp;&amp;S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&amp;&amp;"set"in i&amp;&amp;void 0!==(r=i.set(e,
n,t))?r:e[t]=n:i&amp;&amp;"get"in i&amp;&amp;null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||dt.test(e.nodeName)&amp;&amp;e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&amp;&amp;t.parentNode&amp;&amp;t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&amp;&amp;(t.selectedIndex,t.parentNode&amp;&amp;t.parentNode.selectedIndex)}}),S.each(["tabIndex",
"readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,gt(this)))});if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&amp;&amp;" "+ht(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")&lt;0&amp;&amp;(r+=o+" ");i!==(s=ht(r))&amp;&amp;n.setAttribute("class",s)}return this},removeClass:function(t){var e,
n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,gt(this)))});if(!arguments.length)return this.attr("class","");if((e=vt(t)).length)while(n=this[u++])if(i=gt(n),r=1===n.nodeType&amp;&amp;" "+ht(i)+" "){a=0;while(o=e[a++])while(-1&lt;r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=ht(r))&amp;&amp;n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&amp;&amp;a?t?this.addClass(i):this.removeClass(i):
m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,gt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=vt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&amp;&amp;"boolean"!==o||((e=gt(this))&amp;&amp;Y.set(this,"__className__",e),this.setAttribute&amp;&amp;this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&amp;&amp;-1&lt;(" "+ht(gt(n))+" ").indexOf(t))return!0;return!1}});
var yt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&amp;&amp;(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&amp;&amp;(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&amp;&amp;"set"in r&amp;&amp;void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&amp;&amp;"get"in r&amp;&amp;void 0!==(e=r.get(t,
"value"))?e:"string"==typeof(e=t.value)?e.replace(yt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:ht(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o&lt;0?u:a?o:0;r&lt;u;r++)if(((n=i[r]).selected||r===o)&amp;&amp;!n.disabled&amp;&amp;(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,
i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1&lt;S.inArray(S.valHooks.option.get(r),o))&amp;&amp;(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1&lt;S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var mt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};
S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&amp;&amp;8!==n.nodeType&amp;&amp;!mt.test(d+S.event.triggered)&amp;&amp;(-1&lt;d.indexOf(".")&amp;&amp;(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")&lt;0&amp;&amp;"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&amp;&amp;e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=
void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&amp;&amp;!c.noBubble&amp;&amp;!x(n)){for(s=c.delegateType||d,mt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&amp;&amp;p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&amp;&amp;!e.isPropagationStopped())f=o,e.type=1&lt;i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&amp;&amp;Y.get(o,"handle"))&amp;&amp;l.apply(o,t),(l=u&amp;&amp;o[u])&amp;&amp;l.apply&amp;&amp;V(o)&amp;&amp;
(e.result=l.apply(o,t),!1===e.result&amp;&amp;e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&amp;&amp;!1!==c._default.apply(p.pop(),t)||!V(n)||u&amp;&amp;m(n[d])&amp;&amp;!x(n)&amp;&amp;((a=n[u])&amp;&amp;(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&amp;&amp;f.addEventListener(d,xt),n[d](),e.isPropagationStopped()&amp;&amp;f.removeEventListener(d,xt),S.event.triggered=void 0,a&amp;&amp;(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,
t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,
r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var bt=C.location,wt={guid:Date.now()},Tt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&amp;&amp;t.getElementsByTagName("parsererror")[0],t&amp;&amp;!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Ct=/\[\]$/,Et=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;
function At(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||Ct.test(n)?i(n,t):At(n+"["+("object"==typeof t&amp;&amp;null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)At(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&amp;&amp;!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)At(n,e[n],
t,i);return r.join("&amp;")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&amp;&amp;!S(this).is(":disabled")&amp;&amp;kt.test(this.nodeName)&amp;&amp;!St.test(e)&amp;&amp;(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(Et,"\r\n")}}):
{name:t.name,value:n.replace(Et,"\r\n")}}).get()}});var Nt=/%20/g,jt=/#.*$/,Dt=/([?&amp;])_=[^&amp;]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Ot={},Pt={},Rt="*/".concat("*"),Mt=E.createElement("a");function It(o){return function(e,t){"string"!=typeof e&amp;&amp;(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Wt(t,i,o,a){var s={},u=t===Pt;function l(e){var r;return s[e]=!0,
S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&amp;&amp;l("*")}function Ft(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&amp;&amp;((i[n]?e:r||(r={}))[n]=t[n]);return r&amp;&amp;S.extend(!0,e,r),e}Mt.href=bt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:bt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bt.protocol),global:!0,
processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ft(Ft(e,
S.ajaxSettings),t):Ft(S.ajaxSettings,e)},ajaxPrefilter:It(Ot),ajaxTransport:It(Pt),ajax:function(e,t){"object"==typeof e&amp;&amp;(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&amp;&amp;(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=qt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=
n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&amp;&amp;(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&amp;&amp;(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&amp;&amp;c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||bt.href)+"").replace(Ht,
bt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Mt.protocol+"//"+Mt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&amp;&amp;v.processData&amp;&amp;"string"!=typeof v.data&amp;&amp;(v.data=S.param(v.data,v.traditional)),Wt(Ot,v,t,T),h)return T;for(i in(g=S.event&amp;&amp;v.global)&amp;&amp;0==S.active++&amp;&amp;S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),
v.hasContent=!Lt.test(v.type),f=v.url.replace(jt,""),v.hasContent?v.data&amp;&amp;v.processData&amp;&amp;0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&amp;&amp;(v.data=v.data.replace(Nt,"+")):(o=v.url.slice(f.length),v.data&amp;&amp;(v.processData||"string"==typeof v.data)&amp;&amp;(f+=(Tt.test(f)?"&amp;":"?")+v.data,delete v.data),!1===v.cache&amp;&amp;(f=f.replace(Dt,"$1"),o=(Tt.test(f)?"&amp;":"?")+"_="+wt.guid++ +o),v.url=f+o),v.ifModified&amp;&amp;(S.lastModified[f]&amp;&amp;T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&amp;&amp;
T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&amp;&amp;v.hasContent&amp;&amp;!1!==v.contentType||t.contentType)&amp;&amp;T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&amp;&amp;v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+Rt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&amp;&amp;(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Wt(Pt,v,
t,T)){if(T.readyState=1,g&amp;&amp;m.trigger("ajaxSend",[T,v]),h)return T;v.async&amp;&amp;0&lt;v.timeout&amp;&amp;(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&amp;&amp;C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0&lt;e?4:0,i=200&lt;=e&amp;&amp;e&lt;300||304===e,n&amp;&amp;(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&amp;&amp;(r=e.mimeType||t.getResponseHeader("Content-Type"));
if(r)for(i in s)if(s[i]&amp;&amp;s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&amp;&amp;u.unshift(o),n[o]}(v,T,n)),!i&amp;&amp;-1&lt;S.inArray("script",v.dataTypes)&amp;&amp;S.inArray("json",v.dataTypes)&lt;0&amp;&amp;(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&amp;&amp;(n[e.responseFields[o]]=
t),!u&amp;&amp;r&amp;&amp;e.dataFilter&amp;&amp;(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&amp;&amp;u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&amp;&amp;(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&amp;&amp;(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&amp;&amp;e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&amp;&amp;((u=T.getResponseHeader("Last-Modified"))&amp;&amp;
(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&amp;&amp;(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&amp;&amp;l||(l="error",e&lt;0&amp;&amp;(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&amp;&amp;m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&amp;&amp;(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,
t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&amp;&amp;(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&amp;&amp;e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&amp;&amp;(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},
dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&amp;&amp;(m(e)&amp;&amp;(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&amp;&amp;t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},
wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},$t=S.ajaxSettings.xhr();
y.cors=!!$t&amp;&amp;"withCredentials"in $t,y.ajax=$t=!!$t,S.ajaxTransport(function(i){var o,a;if(y.cors||$t&amp;&amp;!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&amp;&amp;r.overrideMimeType&amp;&amp;r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&amp;&amp;(o=a=r.onload=r.onerror=
r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Bt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&amp;&amp;C.setTimeout(function(){o&amp;&amp;a()})},o=o("abort");try{r.send(i.hasContent&amp;&amp;
i.data||null)}catch(e){if(o)throw e;}},abort:function(){o&amp;&amp;o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&amp;&amp;(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&amp;&amp;(e.cache=!1),e.crossDomain&amp;&amp;(e.type="GET")}),S.ajaxTransport("script",function(n){var r,
i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("&lt;script&gt;").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&amp;&amp;t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&amp;&amp;i()}}});var _t,zt=[],Ut=/(=)\?(?=&amp;|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&amp;&amp;
(Ut.test(e.url)?"url":"string"==typeof e.data&amp;&amp;0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&amp;&amp;Ut.test(e.data)&amp;&amp;"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&amp;&amp;(e.url+=(Tt.test(e.url)?"&amp;":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===
i?S(C).removeProp(r):C[r]=i,e[r]&amp;&amp;(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&amp;&amp;m(i)&amp;&amp;i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="&lt;form&gt;&lt;/form&gt;&lt;form&gt;&lt;/form&gt;",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&amp;&amp;(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&amp;&amp;[],(i=
N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&amp;&amp;o.length&amp;&amp;S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1&lt;s&amp;&amp;(r=ht(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&amp;&amp;"object"==typeof t&amp;&amp;(i="POST"),0&lt;a.length&amp;&amp;S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("&lt;div&gt;").append(S.parseHTML(e)).find(r):e)}).always(n&amp;&amp;function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,
e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&amp;&amp;(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&amp;&amp;-1&lt;(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&amp;&amp;(t=t.call(e,n,S.extend({},s))),null!=t.top&amp;&amp;(f.top=t.top-s.top+a),null!=t.left&amp;&amp;
(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();
else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&amp;&amp;(e===n.body||e===n.documentElement)&amp;&amp;"static"===S.css(e,"position"))e=e.parentNode;e&amp;&amp;e!==r&amp;&amp;1===e.nodeType&amp;&amp;((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&amp;&amp;"static"===S.css(e,"position"))e=e.offsetParent;
return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&amp;&amp;(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},
function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&amp;&amp;(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),
S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
function(e,n){S.fn[n]=function(e,t){return 0&lt;arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&amp;&amp;(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=
X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&amp;&amp;!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},"function"==typeof define&amp;&amp;define.amd&amp;&amp;define("jquery",[],function(){return S});var Vt=C.jQuery,Gt=C.$;return S.noConflict=function(e){return C.$===S&amp;&amp;(C.$=Gt),e&amp;&amp;C.jQuery===S&amp;&amp;(C.jQuery=Vt),S},"undefined"==typeof e&amp;&amp;(C.jQuery=C.$=S),S});var Bb="function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,l){if(a==Array.prototype||a==Object.prototype)return a;a[e]=l.value;return a};function Cb(a){a=["object"==typeof globalThis&amp;&amp;globalThis,a,"object"==typeof window&amp;&amp;window,"object"==typeof self&amp;&amp;self,"object"==typeof global&amp;&amp;global];for(var e=0;e&lt;a.length;++e){var l=a[e];if(l&amp;&amp;l.Math==Math)return l}throw Error("Cannot find global object");}var Db=Cb(this);
function Eb(a,e){if(e)a:{var l=Db;a=a.split(".");for(var m=0;m&lt;a.length-1;m++){var k=a[m];if(!(k in l))break a;l=l[k]}a=a[a.length-1];m=l[a];e=e(m);e!=m&amp;&amp;null!=e&amp;&amp;Bb(l,a,{configurable:!0,writable:!0,value:e})}}
Eb("String.prototype.matchAll",function(a){return a?a:function(e){if(e instanceof RegExp&amp;&amp;!e.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var l=new RegExp(e,e instanceof RegExp?void 0:"g"),m=this,k=!1,c={next:function(){if(k)return{value:void 0,done:!0};var h=l.exec(m);if(!h)return k=!0,{value:void 0,done:!0};""===h[0]&amp;&amp;(l.lastIndex+=1);return{value:h,done:!1}}};c[Symbol.iterator]=function(){return c};return c}});
(function(){function a(d){this.Hp=d;this.xt=null;this.Qc={}}function e(){this.Bi={};this.Bi[e.SCRIPT_URL]=[];this.Bi[e.THREE_JS_WEBGL_URL]="lib/ThreeWebGL.js";this.Bi[e.WEBVR_POLYFILL_URL]="lib/WebVRPolyfill.js";this.Bi[e.WEBXR_POLYFILL_URL]="lib/webxr-polyfill.js";this.Bi[e.HLS_URL]="lib/Hls.js";this.Bi[e.GS_URL]="lib/tdvgs.js";this.Bi[e.qma]="lib/basis/";this.Bi[e.zma]="lib/draco/";this.Bi[e.CURSORS_DIR_URL]="lib/cursors";this.Bi[e.SERVICE_WORKER_URL]="tdvplayersw.js";this.Bi[e.LH]="lib/webxr-input-profiles/";
this.Bi[e.BACKGROUND_PRELOAD_ENABLED]=void 0;this.Bi[e.xV]=void 0}function l(){this.qQ=[];this.g0=[];this.UXa=[];this.cW=null}function m(d){return"[object Array]"==Object.prototype.toString.call(d)}function k(d){return!!(window.location.hash&amp;&amp;0&lt;=window.location.hash.indexOf("device="+d))}function c(d){return 0&lt;=g.search(d.toLowerCase())}var h=window.TDV=window.TDV||{},g=navigator.userAgent.toLowerCase();l.prototype.getVersion=l.prototype.UDa=function(){return{MAJOR:"0",MINOR:"2145"}};
l.prototype.getClassByName=function(){};l.prototype.dxa=function(){if(this.cW)for(;0&lt;this.qQ.length;){var d=this.qQ[0];this.qQ=this.qQ.slice(1);this.g0.push(d);this.wRa(d)}};l.prototype.oua=function(d){var f=document.createElement("a");f.href=d;return f.href};l.prototype.STa=function(){var d=document.currentScript;d||(d=document.getElementsByTagName("head")[0].getElementsByTagName("script"),d=d[d.length-1]);return this.oua(d.src)};l.prototype.wRa=function(d){var f=this,n=d.Hp.get(e.SELECTED_SCRIPT_URL);
setTimeout(function(){var q=document.createElement("script");q.type="text/javascript";q.src=n;document.getElementsByTagName("head")[0].appendChild(q);f.cW.Xbb(d)},1)};l.prototype.defineScript=function(d){for(var f=[],n=this.STa(),q=0;q&lt;this.g0.length;q++){var p=this.g0[q],r=this.oua(p.Hp.get(e.SELECTED_SCRIPT_URL));r==n?(p.Hp.set(e.SCRIPT_DATA,d),p.nab(new this.cW(p,p.Hp)),this.UXa.push(p)):f.push(r)}this.g0=f};l.prototype.create=l.prototype.create=function(d){var f=d.get(e.SCRIPT_URL);f=m(f)?this.QYa(f):
"string"===typeof f?f:"script.js";d.set(e.SELECTED_SCRIPT_URL,f);d=new h.Gna(d);this.qQ.push(d);this.dxa();return d};l.prototype.setPlayerClass=l.prototype.mab=function(d){this.cW=d;this.dxa();this.trigger({name:"classesReady",source:this})};l.prototype.bind=l.prototype.bind=function(d,f,n,q){this.Qc=this.Qc||{};this.Qc[d]=this.Qc[d]||[];this.Qc[d].push({handler:f,context:n,immediate:q||!1})};l.prototype.unbind=l.prototype.unbind=function(d,f,n,q){this.Qc&amp;&amp;d in this.Qc&amp;&amp;(this.Qc[d]=this.Qc[d].filter(function(p){return p.handler!=
f||p.context!=n||p.immediate!=q}))};l.prototype.trigger=function(d){this.Qc&amp;&amp;d.name in this.Qc&amp;&amp;(this.Dz(d,!0),setTimeout(function(){this.Dz(d,!1)}.bind(this),0))};l.prototype.Dz=function(d,f){d.unbindCurrentHandler=function(){}.bind(this);for(var n=this.Qc[d.name],q=0;q&lt;n.length;q++)if(n[q].immediate==f)try{n[q].handler.call(n[q].context||window,d)}catch(p){setTimeout(function(){throw p;},0)}};l.prototype.getOrientation=l.prototype.Tr=function(){var d=screen.orientation&amp;&amp;screen.orientation.type||
window.orientation;return"portrait-primary"==d||"portrait-secondary"==d||0===d||180==d?h.cb.j7:"landscape-primary"==d||"landscape-secondary"==d||90==d||-90==d?h.cb.i7:window.innerWidth&lt;window.innerHeight?h.cb.j7:h.cb.i7};l.prototype.QYa=function(d){if(0&lt;d.length){for(var f=0;f&lt;d.length;f++){var n=d[f];if(m(n)){if(this.oza(n[0]))return n[1]}else if("string"===typeof n)return n}return d[0][1]}return"script.js"};l.prototype.oza=function(d){if("string"===typeof d){var f=d.match(/^\s*default\s*$/);if(f)return!0;
if(f=d.match(/^\s*os\s*=\s*(\w+)\s*$/))return this.ud==f[1].toLowerCase();if(f=d.match(/^\s*browser\s*=\s*(\w+)\s*$/))return this.browser==f[1].toLowerCase();if(f=d.match(/^\s*device\s*=\s*(\w+)\s*$/))return this.jk==f[1].toLowerCase();if(f=d.match(/^\s*screen_size\s*(&lt;|&gt;|=|&lt;=|&gt;=)\s*(\d+)\s*x\s*(\d+)\s*$/)){d=parseInt(f[2]);var n=parseInt(f[3]);switch(f[1]){case "&lt;":var q=function(p,r){return p&lt;r};break;case "&gt;":q=function(p,r){return p&gt;r};break;case "=":q=function(p,r){return p==r};break;case "&lt;=":q=
function(p,r){return p&lt;=r};break;case "&gt;=":q=function(p,r){return p&gt;=r}}return q(screen.width,d)&amp;&amp;q(screen.height,n)||this.mobile&amp;&amp;q(screen.width,n)&amp;&amp;q(screen.height,d)}return!1}if(m(d)){for(f=0;f&lt;d.length;f++)if(!this.oza(d[f]))return!1;return!0}return!1};l.prototype.ORIENTATION_LANDSCAPE=l.prototype.i7="landscape";l.prototype.ORIENTATION_PORTRAIT=l.prototype.j7="portrait";l.prototype.OS_IOS=l.prototype.MV="ios";l.prototype.OS_ANDROID=l.prototype.k7="android";l.prototype.OS_WINDOWS=l.prototype.zna=
"windows";l.prototype.OS_WINDOWS_PHONE=l.prototype.o7="windows_phone";l.prototype.OS_MACOSX=l.prototype.l7="osx";l.prototype.OS_LINUX=l.prototype.yna="linux";l.prototype.OS_QNX=l.prototype.n7="qnx";l.prototype.OS_OTHER=l.prototype.m7="other";l.prototype.BROWSER_TYPE_WEBKIT=l.prototype.MM="webkit";l.prototype.BROWSER_TYPE_OPERA=l.prototype.b6="opera";l.prototype.BROWSER_TYPE_MSIE=l.prototype.a6="msie";l.prototype.BROWSER_TYPE_MOZILLA=l.prototype.Z5="mozilla";l.prototype.BROWSER_TYPE_OTHER=l.prototype.c6=
"other";l.prototype.BROWSER_SAFARI_IOS=l.prototype.rh="safari_ios";l.prototype.BROWSER_OPERA=l.prototype.pV="opera";l.prototype.BROWSER_SAFARI=l.prototype.Jj="safari";l.prototype.BROWSER_CHROME=l.prototype.io="chrome";l.prototype.BROWSER_EDGE=l.prototype.nH="edge";l.prototype.BROWSER_MSIE=l.prototype.Ty="msie";l.prototype.BROWSER_ANDROID=l.prototype.oV="android";l.prototype.BROWSER_MOZILLA=l.prototype.ys="mozilla";l.prototype.BROWSER_OTHER=l.prototype.W5="other";l.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET=
l.prototype.LM="samsunginternet";l.prototype.BROWSER_SUBTYPE_OCULUS_BROWSER=l.prototype.Vu="oculusbrowser";l.prototype.BROWSER_SUBTYPE_PICO_BROWSER=l.prototype.Wu="picobrowser";l.prototype.BROWSER_SUBTYPE_SAMSUNG_INTERNET_FOR_GEAR_VR=l.prototype.rV="samsunginternetgearvr";l.prototype.BROWSER_SUBTYPE_MI_BROWSER=l.prototype.X5="mibrowser";l.prototype.BROWSER_SUBTYPE_CHROME_IOS=l.prototype.IM="chromeios";l.prototype.BROWSER_SUBTYPE_SAFARI_IOS=l.prototype.JM="safari_ios";l.prototype.BROWSER_SUBTYPE_CHROME_WEBVIEW=
l.prototype.oH="chrome_webview";l.prototype.BROWSER_SUBTYPE_SAFARI_WEBVIEW=l.prototype.KM="safari_webview";l.prototype.BROWSER_SUBTYPE_TOUR_LAUNCHER=l.prototype.Vy="tour_launcher";l.prototype.BROWSER_SUBTYPE_CHROMIUM_EDGE=l.prototype.oH="chromium_edge";l.prototype.BROWSER_SUBTYPE_FIREFOX_REALITY=l.prototype.Uy="firefox_reality";l.prototype.BROWSER_SUBTYPE_VR_APP=l.prototype.zs="vrapp";l.prototype.BROWSER_SUBTYPE_XR_APP=l.prototype.Xu="xrapp";l.prototype.BROWSER_SUBTYPE_FACEBOOK_IOS_WEBVIEW=l.prototype.qV=
"facebook_ios_webview";l.prototype.BROWSER_SUBTYPE_OTHER=l.prototype.Y5="other";l.prototype.BROWSER_VERSION_UNKNOWN=l.prototype.d6=-1;l.prototype.DEVICE_IPHONE=l.prototype.g6="iphone";l.prototype.DEVICE_IPAD=l.prototype.OM="ipad";l.prototype.DEVICE_IPOD=l.prototype.h6="ipod";l.prototype.DEVICE_OCULUS_QUEST_2=l.prototype.tH="oculusquest2";l.prototype.DEVICE_OCULUS_QUEST_3=l.prototype.PM="oculusquest3";l.prototype.DEVICE_PICO_G2=l.prototype.tV="picog2";l.prototype.DEVICE_PICO_G3=l.prototype.SM="picog3";
l.prototype.DEVICE_PICO_NEO2=l.prototype.uV="piconeo2";l.prototype.DEVICE_PICO_NEO3=l.prototype.vV="piconeo3";l.prototype.DEVICE_PICO_4=l.prototype.QM="pico4";l.prototype.DEVICE_PICO_4_ULTRA=l.prototype.RM="pico4ultra";l.prototype.DEVICE_VIVE_FOCUS=l.prototype.wV="vivefocus";l.prototype.DEVICE_OTHER=l.prototype.i6="other";l.prototype.os=l.prototype.ud=c("iphone")||c("ipad")||c("ipod")?l.prototype.MV:c("qnx")?l.prototype.n7:c("android")||c("oculusbrowser")&amp;&amp;c("linux")?l.prototype.k7:c("windows phone")?
l.prototype.o7:c("windows")?l.prototype.zna:c("mac_powerpc")?l.prototype.l7:c("macintosh")?1&lt;navigator.maxTouchPoints?l.prototype.MV:l.prototype.l7:c("linux")||c("x11")?l.prototype.yna:l.prototype.m7;l.prototype.browser=l.prototype.browser=c("ipad")||c("iphone")||c("ipod")||c("macintosh")&amp;&amp;1&lt;navigator.maxTouchPoints?l.prototype.rh:c("opera")?l.prototype.pV:c("edge")?l.prototype.nH:c("chrome")||c("crmo")?l.prototype.io:c("safari")?l.prototype.Jj:c("trident")||c("msie")?l.prototype.Ty:!c("compatible")&amp;&amp;
c("mozilla")?l.prototype.ys:c("android")?l.prototype.oV:l.prototype.W5;l.prototype.browserType=l.prototype.SK=l.prototype.browser==l.prototype.rh||l.prototype.browser==l.prototype.io||l.prototype.browser==l.prototype.oV||l.prototype.browser==l.prototype.Jj||c("webkit")?l.prototype.MM:l.prototype.browser==l.prototype.pV||c("opera")?l.prototype.b6:c("trident")||c("msie")?l.prototype.a6:!c("compatible")&amp;&amp;c("mozilla")?l.prototype.Z5:l.prototype.c6;l.prototype.browserSubtype=l.prototype.sc=window.location.hash&amp;&amp;
0&lt;=window.location.hash.indexOf("xrapp")?l.prototype.Xu:window.location.hash&amp;&amp;0&lt;=window.location.hash.indexOf("vrapp")?l.prototype.zs:c("picobrowser")?l.prototype.Wu:c("oculusbrowser")?l.prototype.Vu:c("xiaomi")||c("miui")?l.prototype.X5:c("samsungbrowser")&amp;&amp;c("android")?c("mobile vr")?l.prototype.rV:l.prototype.LM:c("ipad")||c("iphone")||c("ipod")?c("crios")?l.prototype.IM:c("fban")||c("fbav")?l.prototype.qV:c("safari")&amp;&amp;c("version")&amp;&amp;!navigator.standalone?l.prototype.JM:l.prototype.KM:c("electron")?
l.prototype.Vy:c("chrome")&amp;&amp;c("wv")?l.prototype.oH:c("edg/")?l.prototype.rma:!c("compatible")&amp;&amp;c("mozilla")&amp;&amp;c("mobile vr")?l.prototype.Uy:l.prototype.Y5;l.prototype.browserVersion=l.prototype.FBa=function(){if(l.prototype.browser==l.prototype.Ty){var d=g.match(RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"));if(null!=d)return parseFloat(d[1]);d=g.match(RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"));if(null!=d)return parseFloat(d[1])}return l.prototype.d6}();l.prototype.device=l.prototype.jk=c("ipad")||c("macintosh")&amp;&amp;
1&lt;navigator.maxTouchPoints?l.prototype.OM:c("iphone")?l.prototype.g6:c("ipod")?l.prototype.h6:k("picog2")?l.prototype.tV:k("piconeo2")?l.prototype.uV:k("piconeo3")?l.prototype.vV:k("vivefocus")?l.prototype.wV:k("oculusquest3")?l.prototype.PM:k("oculusquest2")?l.prototype.tH:k("oculusquest")?l.prototype.tH:l.prototype.sc==l.prototype.Wu&amp;&amp;c("pico 4 ultra")?l.prototype.RM:l.prototype.sc==l.prototype.Xu&amp;&amp;c("picoa9210")?l.prototype.RM:l.prototype.sc==l.prototype.Wu&amp;&amp;c("pico 4")?l.prototype.QM:l.prototype.sc==
l.prototype.Xu&amp;&amp;c("picoa8110")?l.prototype.QM:l.prototype.sc==l.prototype.Wu&amp;&amp;c("pico g3")?l.prototype.SM:l.prototype.sc==l.prototype.Xu&amp;&amp;c("picoa7q10")?l.prototype.SM:l.prototype.sc==l.prototype.Vu&amp;&amp;c("quest 3")?l.prototype.PM:l.prototype.sc==l.prototype.Vu&amp;&amp;c("quest 2")?l.prototype.tH:l.prototype.i6;a:{switch(l.prototype.ud){case l.prototype.k7:case l.prototype.MV:case l.prototype.o7:case l.prototype.n7:var b=!0;break a}b=!1}l.prototype.mobile=l.prototype.mobile=b;h.PlayerAPI=h.cb=new l;e.prototype.append=
e.prototype.append=function(d,f,n){d==e.SCRIPT_URL&amp;&amp;("undefined"==typeof n&amp;&amp;(n=f,f="default"),f=[f,n]);m(this.Bi[d])||(this.Bi[d]=[]);this.Bi[d].push(f)};e.prototype.set=e.prototype.set=function(d,f){this.Bi[d]=f};e.prototype.get=e.prototype.get=function(d){return this.Bi[d]};e.SCRIPT_URL=e.SCRIPT_URL="ScriptURL";e.SCRIPT_DATA=e.SCRIPT_DATA="ScriptData";e.FLASH_EXPRESS_INSTALLER_URL=e.FLASH_EXPRESS_INSTALLER_URL="FlashExpressInstallerURL";e.FLASH_AUDIO_PLAYER_URL=e.FLASH_AUDIO_PLAYER_URL="FlashAudioPlayerURL";
e.FLASH_VIDEO_PLAYER_URL=e.FLASH_VIDEO_PLAYER_URL="FlashVideoPlayerURL";e.FLASH_PANORAMA_PLAYER_URL=e.FLASH_PANORAMA_PLAYER_URL="FlashPanoramaPlayerURL";e.GS_URL=e.GS_URL="GSURL";e.THREE_JS_WEBGL_URL=e.THREE_JS_WEBGL_URL="ThreeJSWebGLURL";e.WEBVR_POLYFILL_URL=e.WEBVR_POLYFILL_URL="WebVRPolyfillURL";e.WEBXR_POLYFILL_URL=e.WEBXR_POLYFILL_URL="WebXRPolyfillURL";e.WEBXR_INPUT_PROFILES_DIR_URL=e.LH="WebXRInputProfilesDirURL";e.CAPTURA_VIEWER_URL=e.CAPTURA_VIEWER_URL="CapturaViewerURL";e.DASH_URL=e.DASH_URL=
"DashURL";e.HLS_URL=e.HLS_URL="HlsURL";e.BASIS_URL=e.qma="BasisURL";e.DRACO_URL=e.zma="DRACOURL";e.CONTAINER=e.CONTAINER="Container";e.SELECTED_SCRIPT_URL=e.SELECTED_SCRIPT_URL="SelectedScriptURL";e.BASE_DIR_URL=e.BASE_DIR_URL="BaseDirURL";e.QUERY_STRING_PARAMETERS=e.QUERY_STRING_PARAMETERS="QueryStringParameters";e.CURSORS_DIR_URL=e.CURSORS_DIR_URL="CursorsDirURL";e.BACKGROUND_PRELOAD_ENABLED=e.BACKGROUND_PRELOAD_ENABLED="BackgroundPreloadEnabled";e.ACTIVE_VIDEO_ELEMENT=e.ACTIVE_VIDEO_ELEMENT="ActiveVideoElement";
e.SERVICE_WORKER_URL=e.SERVICE_WORKER_URL="ServiceWorkerURL";e.PINCH_TO_ZOOM_ENABLED=e.xMa="PinchToZoomEnabled";e.DOWNLOAD_DISABLED=e.xV="DownloadDisabled";h.PlayerSettings=h.PlayerSettings=e;h.PlayerEvent=h.PV=function(d,f,n,q){this.name=d;this.data=this.originalEvent=f;this.sourceClassName=n[n.length-1];this.sourceClassPath=n;this.sourceId=q};a.prototype.nab=function(d){this.xt=d};a.prototype["delete"]=function(){this.xt&amp;&amp;(this.xt.clear(),this.xt=null)};a.prototype.getById=a.prototype.qB=function(d){return this.xt?
this.xt.l6a(d):null};a.prototype.getByClassName=a.prototype.Yi=function(d){return this.xt?this.xt.Yi(d):[]};a.prototype.createInstance=a.prototype.Bm=function(d){return this.xt.Bm(d)};a.prototype.disposeInstance=a.prototype.$K=function(d){return this.xt.$K(d)};a.prototype.bind=a.prototype.bind=function(d,f,n,q){var p=d.split(":");d=p[0];p=1&lt;p.length?p[1]:"*";this.Qc[d]=this.Qc[d]||{};this.Qc[d][p]=this.Qc[d][p]||[];this.Qc[d][p].push({handler:f,context:n,immediate:q});return this};a.prototype.unbind=
a.prototype.unbind=function(d,f,n,q){var p=d.split(":");d=p[0];p=1&lt;p.length?p[1]:"*";if(d in this.Qc&amp;&amp;p in this.Qc[d]){for(var r=[],t=this.Qc[d][p],u=0;u&lt;t.length;u++){var v=t[u];v.handler==f&amp;&amp;v.context==n&amp;&amp;v.immediate==q||r.push(v)}this.Qc[d][p]=r}};a.prototype.bindOnObject=function(d,f,n,q,p){return this.bind(f+":"+this.iaa(d),n,q,p)};a.prototype.unbindOnObject=function(d,f,n,q,p){return this.unbind(f+":"+this.iaa(d),n,q,p)};a.prototype.bindOnObjectsOf=function(d,f,n,q,p){return this.bind(f+":"+
this.Y$(d),n,q,p)};a.prototype.unbindOnObjectsOf=function(d,f,n,q,p){return this.unbind(f+":"+this.Y$(d),n,q,p)};a.prototype.cookiesEnabled=a.prototype.f4a=!1;a.DEFAULT_PANORAMA_HFOV=a.lLa=l.prototype.mobile?90:110;a.prototype.trigger=function(d){if(d.name in this.Qc){this.Dz(d,!0);var f=this;setTimeout(function(){f.Dz(d,!1)},0)}};a.prototype.Dz=function(d,f){f=this.dTa(d,f);for(var n=0;n&lt;f.length;n++)try{f[n].handler.call(f[n].context||window,d)}catch(q){console.log("Exception handling event "+(d&amp;&amp;
d.name),q.message,q.stack)}};a.prototype.dTa=function(d,f){var n=[];if(d.name in this.Qc){for(var q=[],p=0;p&lt;d.sourceClassPath.length;p++)q.push(this.Y$(d.sourceClassPath[p]));d.sourceId&amp;&amp;q.push(this.iaa(d.sourceId));q.push("*");d=this.Qc[d.name];for(p=0;p&lt;q.length;p++)for(var r=d[q[p]]||[],t=0;t&lt;r.length;t++)!!r[t].immediate==!!f&amp;&amp;n.push(r[t])}return n};a.prototype.iaa=function(d){return"instance("+d+")"};a.prototype.Y$=function(d){return"className("+d+")"};h.Player=h.Gna=a})();
var Z=this&amp;&amp;this.Ddb||function(){function a(e,l){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(m,k){m.__proto__=k}||function(m,k){for(var c in k)Object.prototype.hasOwnProperty.call(k,c)&amp;&amp;(m[c]=k[c])};return a(e,l)}return function(e,l){function m(){this.constructor=e}if("function"!==typeof l&amp;&amp;null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");a(e,l);e.prototype=null===l?Object.create(l):(m.prototype=l.prototype,new m)}}();
define("jquery.mod",["require","jquery"],function(a){return a("jquery").noConflict(!0)});
(function(){var a=window.TDV||(window.TDV={});(function(){(function(){function e(G,P){return G.vPa?r(P).chain():P}function l(G){return"\\"+da[G]}function m(G){function P(Y){return G[Y]}var T="(?:"+r.keys(G).join("|")+")",M=RegExp(T),Q=RegExp(T,"g");return function(Y){return Y=null==Y?"":""+Y,M.test(Y)?Y.replace(Q,P):Y}}function k(G,P,T,M){if(G===P)return 0!==G||1/G===1/P;if(null==G||null==P)return G===P;G instanceof r&amp;&amp;(G=G.CF);P instanceof r&amp;&amp;(P=P.CF);var Q=E.call(G);if(Q!==E.call(P))return!1;switch(Q){case "[object RegExp]":case "[object String]":return""+
G==""+P;case "[object Number]":return+G!==+G?+P!==+P:0===+G?1/+G===1/P:+G===+P;case "[object Date]":case "[object Boolean]":return+G===+P}Q="[object Array]"===Q;if(!Q){if("object"!=typeof G||"object"!=typeof P)return!1;var Y=G.constructor,aa=P.constructor;if(Y!==aa&amp;&amp;!(r.isFunction(Y)&amp;&amp;Y instanceof Y&amp;&amp;r.isFunction(aa)&amp;&amp;aa instanceof aa)&amp;&amp;"constructor"in G&amp;&amp;"constructor"in P)return!1}T=T||[];M=M||[];for(Y=T.length;Y--;)if(T[Y]===G)return M[Y]===P;if(T.push(G),M.push(P),Q){if(Y=G.length,Y!==P.length)return!1;
for(;Y--;)if(!k(G[Y],P[Y],T,M))return!1}else{var ca;Q=r.keys(G);if(Y=Q.length,r.keys(P).length!==Y)return!1;for(;Y--;)if(ca=Q[Y],!r.has(P,ca)||!k(G[ca],P[ca],T,M))return!1}return T.pop(),M.pop(),!0}function c(G,P,T,M,Q){if(!(M instanceof P))return G.apply(T,Q);P=f(G.prototype);G=G.apply(P,Q);return r.CL(G)?G:P}function h(G,P,T,M){var Q=[],Y=0;M=M||0;for(var aa=W(G);aa&gt;M;M++){var ca=G[M];if(b(ca)&amp;&amp;(r.isArray(ca)||r.isArguments(ca))){P||(ca=h(ca,P,T));var fa=0,ha=ca.length;for(Q.length+=ha;ha&gt;fa;)Q[Y++]=
ca[fa++]}else T||(Q[Y++]=ca)}return Q}function g(G){return function(P,T,M){var Q={};return T=q(T,M),r.each(P,function(Y,aa){aa=T(Y,aa,P);G(Q,Y,aa)}),Q}}function b(G){G=W(G);return"number"==typeof G&amp;&amp;0&lt;=G&amp;&amp;V&gt;=G}function d(G){return function(P){return null==P?void 0:P[G]}}function f(G){if(!r.CL(G))return{};if(U)return U(G);t.prototype=G;G=new t;return t.prototype=null,G}function n(G,P){return function(T){var M=arguments.length;if(2&gt;M||null==T)return T;for(var Q=1;M&gt;Q;Q++)for(var Y=arguments[Q],aa=G(Y),
ca=aa.length,fa=0;ca&gt;fa;fa++){var ha=aa[fa];P&amp;&amp;void 0!==T[ha]||(T[ha]=Y[ha])}return T}}function q(G,P,T){return null==G?r.identity:r.isFunction(G)?p(G,P,T):r.CL(G)?r.R7a(G):r.tHa(G)}function p(G,P,T){if(void 0===P)return G;switch(null==T?3:T){case 1:return function(M){return G.call(P,M)};case 2:return function(M,Q){return G.call(P,M,Q)};case 3:return function(M,Q,Y){return G.call(P,M,Q,Y)};case 4:return function(M,Q,Y,aa){return G.call(P,M,Q,Y,aa)}}return function(){return G.apply(P,arguments)}}function r(G){return G instanceof
r?G:this instanceof r?void(this.CF=G):new r(G)}function t(){}function u(G){return function(P,T,M,Q){T=p(T,Q,4);var Y=!b(P)&amp;&amp;r.keys(P),aa=(Y||P).length,ca=0&lt;G?0:aa-1;3&gt;arguments.length&amp;&amp;(M=P[Y?Y[ca]:ca],ca+=G);for(var fa=T,ha=M;0&lt;=ca&amp;&amp;aa&gt;ca;ca+=G){var ia=Y?Y[ca]:ca;ha=fa(ha,P[ia],ia,P)}return ha}}function v(G){return function(P,T,M){T=q(T,M);M=W(P);for(var Q=0&lt;G?0:M-1;0&lt;=Q&amp;&amp;M&gt;Q;Q+=G)if(T(P[Q],Q,P))return Q;return-1}}function w(G,P,T){return function(M,Q,Y){var aa=0,ca=W(M);if("number"==typeof Y)0&lt;
G?aa=0&lt;=Y?Y:Math.max(Y+ca,aa):ca=0&lt;=Y?Math.min(Y+1,ca):Y+ca+1;else if(T&amp;&amp;Y&amp;&amp;ca)return Y=T(M,Q),M[Y]===Q?Y:-1;if(Q!==Q)return Y=P(A.call(M,aa,ca),r.isNaN),0&lt;=Y?Y+aa:-1;for(Y=0&lt;G?aa:ca-1;0&lt;=Y&amp;&amp;ca&gt;Y;Y+=G)if(M[Y]===Q)return Y;return-1}}function x(G,P){var T=N.length,M=G.constructor;M=r.isFunction(M)&amp;&amp;M.prototype||D;var Q="constructor";for(r.has(G,Q)&amp;&amp;!r.contains(P,Q)&amp;&amp;P.push(Q);T--;)Q=N[T],Q in G&amp;&amp;G[Q]!==M[Q]&amp;&amp;!r.contains(P,Q)&amp;&amp;P.push(Q)}var y=this,z=y._,B=Array.prototype,D=Object.prototype,I=B.push,
A=B.slice,E=D.toString,J=D.hasOwnProperty,C=Array.isArray,L=Object.keys,S=Function.prototype.bind,U=Object.create;"undefined"!=typeof exports?("undefined"!=typeof module&amp;&amp;module.exports&amp;&amp;(exports=module.exports=r),exports._=r):y._=r;r.VERSION="1.8.3";var V=Math.pow(2,53)-1,W=d("length");r.each=r.forEach=function(G,P,T){P=p(P,T);var M;if(b(G))for(T=0,M=G.length;M&gt;T;T++)P(G[T],T,G);else{var Q=r.keys(G);T=0;for(M=Q.length;M&gt;T;T++)P(G[Q[T]],Q[T],G)}return G};r.map=function(G,P,T){P=q(P,T);T=!b(G)&amp;&amp;r.keys(G);
for(var M=(T||G).length,Q=Array(M),Y=0;M&gt;Y;Y++){var aa=T?T[Y]:Y;Q[Y]=P(G[aa],aa,G)}return Q};r.reduce=u(1);r.reduceRight=u(-1);r.find=r.detect=function(G,P,T){var M;return M=b(G)?r.findIndex(G,P,T):r.Z4a(G,P,T),void 0!==M&amp;&amp;-1!==M?G[M]:void 0};r.filter=r.select=function(G,P,T){var M=[];return P=q(P,T),r.each(G,function(Q,Y,aa){P(Q,Y,aa)&amp;&amp;M.push(Q)}),M};r.reject=function(G,P,T){return r.filter(G,r.negate(q(P)),T)};r.every=r.all=function(G,P,T){P=q(P,T);T=!b(G)&amp;&amp;r.keys(G);for(var M=(T||G).length,Q=0;M&gt;
Q;Q++){var Y=T?T[Q]:Q;if(!P(G[Y],Y,G))return!1}return!0};r.some=r.any=function(G,P,T){P=q(P,T);T=!b(G)&amp;&amp;r.keys(G);for(var M=(T||G).length,Q=0;M&gt;Q;Q++){var Y=T?T[Q]:Q;if(P(G[Y],Y,G))return!0}return!1};r.contains=r.includes=r.include=function(G,P,T,M){return b(G)||(G=r.values(G)),("number"!=typeof T||M)&amp;&amp;(T=0),0&lt;=r.indexOf(G,P,T)};r.invoke=function(G,P){var T=A.call(arguments,2),M=r.isFunction(P);return r.map(G,function(Q){var Y=M?P:Q[P];return null==Y?Y:Y.apply(Q,T)})};r.pluck=function(G,P){return r.map(G,
r.tHa(P))};r.max=function(G,P,T){var M,Q=-1/0,Y=-1/0;if(null==P&amp;&amp;null!=G){G=b(G)?G:r.values(G);for(var aa=0,ca=G.length;ca&gt;aa;aa++)T=G[aa],T&gt;Q&amp;&amp;(Q=T)}else P=q(P,T),r.each(G,function(fa,ha,ia){M=P(fa,ha,ia);(M&gt;Y||M===-1/0&amp;&amp;Q===-1/0)&amp;&amp;(Q=fa,Y=M)});return Q};r.min=function(G,P,T){var M,Q=1/0,Y=1/0;if(null==P&amp;&amp;null!=G){G=b(G)?G:r.values(G);for(var aa=0,ca=G.length;ca&gt;aa;aa++)T=G[aa],Q&gt;T&amp;&amp;(Q=T)}else P=q(P,T),r.each(G,function(fa,ha,ia){M=P(fa,ha,ia);(Y&gt;M||1/0===M&amp;&amp;1/0===Q)&amp;&amp;(Q=fa,Y=M)});return Q};r.gbb=
function(G){for(var P=b(G)?G:r.values(G),T=P.length,M=Array(T),Q=0;T&gt;Q;Q++)G=r.random(0,Q),G!==Q&amp;&amp;(M[Q]=M[G]),M[G]=P[Q];return M};r.sample=function(G,P,T){return null==P||T?(b(G)||(G=r.values(G)),G[r.random(G.length-1)]):r.gbb(G).slice(0,Math.max(0,P))};r.sortBy=function(G,P,T){return P=q(P,T),r.pluck(r.map(G,function(M,Q,Y){return{value:M,index:Q,mCa:P(M,Q,Y)}}).sort(function(M,Q){var Y=M.mCa,aa=Q.mCa;if(Y!==aa){if(Y&gt;aa||void 0===Y)return 1;if(aa&gt;Y||void 0===aa)return-1}return M.index-Q.index}),
"value")};r.groupBy=g(function(G,P,T){r.has(G,T)?G[T].push(P):G[T]=[P]});g(function(G,P,T){G[T]=P});g(function(G,P,T){r.has(G,T)?G[T]++:G[T]=1});r.toArray=function(G){return G?r.isArray(G)?A.call(G):b(G)?r.map(G,r.identity):r.values(G):[]};r.size=function(G){return null==G?0:b(G)?G.length:r.keys(G).length};r.first=r.head=function(G,P,T){return null==G?void 0:null==P||T?G[0]:r.initial(G,G.length-P)};r.initial=function(G,P,T){return A.call(G,0,Math.max(0,G.length-(null==P||T?1:P)))};r.last=function(G,
P,T){return null==G?void 0:null==P||T?G[G.length-1]:r.rest(G,Math.max(0,G.length-P))};r.rest=function(G,P,T){return A.call(G,null==P||T?1:P)};r.compact=function(G){return r.filter(G,r.identity)};r.flatten=function(G,P){return h(G,P,!1)};r.without=function(G){return r.difference(G,A.call(arguments,1))};r.uniq=r.unique=function(G,P,T,M){r.isBoolean(P)||(M=T,T=P,P=!1);null!=T&amp;&amp;(T=q(T,M));M=[];for(var Q=[],Y=0,aa=W(G);aa&gt;Y;Y++){var ca=G[Y],fa=T?T(ca,Y,G):ca;P?(Y&amp;&amp;Q===fa||M.push(ca),Q=fa):T?r.contains(Q,
fa)||(Q.push(fa),M.push(ca)):r.contains(M,ca)||M.push(ca)}return M};r.union=function(){return r.uniq(h(arguments,!0,!0))};r.intersection=function(G){for(var P=[],T=arguments.length,M=0,Q=W(G);Q&gt;M;M++){var Y=G[M];if(!r.contains(P,Y)){for(var aa=1;T&gt;aa&amp;&amp;r.contains(arguments[aa],Y);aa++);aa===T&amp;&amp;P.push(Y)}}return P};r.difference=function(G){var P=h(arguments,!0,!0,1);return r.filter(G,function(T){return!r.contains(P,T)})};r.zip=function(){return r.bcb(arguments)};r.bcb=function(G){for(var P=G&amp;&amp;r.max(G,
W).length||0,T=Array(P),M=0;P&gt;M;M++)T[M]=r.pluck(G,M);return T};r.object=function(G,P){for(var T={},M=0,Q=W(G);Q&gt;M;M++)P?T[G[M]]=P[M]:T[G[M][0]]=G[M][1];return T};r.findIndex=v(1);r.$4a=v(-1);r.sortedIndex=function(G,P,T,M){T=q(T,M,1);P=T(P);M=0;for(var Q=W(G);Q&gt;M;){var Y=Math.floor((M+Q)/2);T(G[Y])&lt;P?M=Y+1:Q=Y}return M};r.indexOf=w(1,r.findIndex,r.sortedIndex);r.lastIndexOf=w(-1,r.$4a);r.range=function(G,P,T){null==P&amp;&amp;(P=G||0,G=0);T=T||1;P=Math.max(Math.ceil((P-G)/T),0);for(var M=Array(P),Q=0;P&gt;
Q;Q++,G+=T)M[Q]=G;return M};r.bind=function(G,P){function T(){return c(G,T,P,this,M.concat(A.call(arguments)))}if(S&amp;&amp;G.bind===S)return S.apply(G,A.call(arguments,1));if(!r.isFunction(G))throw new TypeError("Bind must be called on a function");var M=A.call(arguments,2);return T};r.fka=function(G){function P(){for(var M=0,Q=T.length,Y=Array(Q),aa=0;Q&gt;aa;aa++)Y[aa]=T[aa]===r?arguments[M++]:T[aa];for(;M&lt;arguments.length;)Y.push(arguments[M++]);return c(G,P,this,this,Y)}var T=A.call(arguments,1);return P};
r.bindAll=function(G){var P,T=arguments.length;if(1&gt;=T)throw Error("bindAll must be passed function names");for(P=1;T&gt;P;P++){var M=arguments[P];G[M]=r.bind(G[M],G)}return G};r.memoize=function(G,P){function T(M){var Q=T.cache,Y=""+(P?P.apply(this,arguments):M);return r.has(Q,Y)||(Q[Y]=G.apply(this,arguments)),Q[Y]}return T.cache={},T};r.delay=function(G,P){var T=A.call(arguments,2);return setTimeout(function(){return G.apply(null,T)},P)};r.defer=r.fka(r.delay,r,1);r.throttle=function(G,P,T){function M(){fa=
!1===T.N7a?0:r.now();ca=null;aa=G.apply(Q,Y);ca||(Q=Y=null)}var Q,Y,aa,ca=null,fa=0;T||(T={});return function(){var ha=r.now();fa||!1!==T.N7a||(fa=ha);var ia=P-(ha-fa);return Q=this,Y=arguments,0&gt;=ia||ia&gt;P?(ca&amp;&amp;(clearTimeout(ca),ca=null),fa=ha,aa=G.apply(Q,Y),ca||(Q=Y=null)):ca||!1===T.veb||(ca=setTimeout(M,ia)),aa}};r.debounce=function(G,P,T){function M(){var ha=r.now()-ca;P&gt;ha&amp;&amp;0&lt;=ha?Q=setTimeout(M,P-ha):(Q=null,T||(fa=G.apply(aa,Y),Q||(aa=Y=null)))}var Q,Y,aa,ca,fa;return function(){aa=this;Y=
arguments;ca=r.now();var ha=T&amp;&amp;!Q;return Q||(Q=setTimeout(M,P)),ha&amp;&amp;(fa=G.apply(aa,Y),aa=Y=null),fa}};r.wrap=function(G,P){return r.fka(P,G)};r.negate=function(G){return function(){return!G.apply(this,arguments)}};r.compose=function(){var G=arguments,P=G.length-1;return function(){for(var T=P,M=G[P].apply(this,arguments);T--;)M=G[T].call(this,M);return M}};r.after=function(G,P){return function(){return 1&gt;--G?P.apply(this,arguments):void 0}};r.before=function(G,P){var T;return function(){return 0&lt;
--G&amp;&amp;(T=P.apply(this,arguments)),1&gt;=G&amp;&amp;(P=null),T}};r.once=r.fka(r.before,2);var K=!{toString:null}.propertyIsEnumerable("toString"),N="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" ");r.keys=function(G){if(!r.CL(G))return[];if(L)return L(G);var P=[],T;for(T in G)r.has(G,T)&amp;&amp;P.push(T);return K&amp;&amp;x(G,P),P};r.kha=function(G){if(!r.CL(G))return[];var P=[],T;for(T in G)P.push(T);return K&amp;&amp;x(G,P),P};r.values=function(G){for(var P=r.keys(G),T=P.length,M=Array(T),
Q=0;T&gt;Q;Q++)M[Q]=G[P[Q]];return M};r.invert=function(G){for(var P={},T=r.keys(G),M=0,Q=T.length;Q&gt;M;M++)P[G[T[M]]]=T[M];return P};r.functions=r.methods=function(G){var P=[],T;for(T in G)r.isFunction(G[T])&amp;&amp;P.push(T);return P.sort()};r.extend=n(r.kha);r.JCa=r.assign=n(r.keys);r.Z4a=function(G,P,T){P=q(P,T);var M;T=r.keys(G);for(var Q=0,Y=T.length;Y&gt;Q;Q++)if(M=T[Q],P(G[M],M,G))return M};r.y4=function(G,P,T){var M,Q,Y={},aa=G;if(null==aa)return Y;r.isFunction(P)?(Q=r.kha(aa),M=p(P,T)):(Q=h(arguments,
!1,!1,1),M=function(ja,ka,la){return ka in la},aa=Object(aa));for(var ca=0,fa=Q.length;fa&gt;ca;ca++){var ha=Q[ca],ia=aa[ha];M(ia,ha,aa)&amp;&amp;(Y[ha]=ia)}return Y};r.defaults=n(r.kha,!0);r.create=function(G,P){G=f(G);return P&amp;&amp;r.JCa(G,P),G};r.clone=function(G){return r.CL(G)?r.isArray(G)?G.slice():r.extend({},G):G};r.tap=function(G,P){return P(G),G};r.w7a=function(G,P){var T=r.keys(P),M=T.length;if(null==G)return!M;G=Object(G);for(var Q=0;M&gt;Q;Q++){var Y=T[Q];if(P[Y]!==G[Y]||!(Y in G))return!1}return!0};r.isEqual=
function(G,P){return k(G,P)};r.isEmpty=function(G){return null==G?!0:b(G)&amp;&amp;(r.isArray(G)||r.isString(G)||r.isArguments(G))?0===G.length:0===r.keys(G).length};r.isElement=function(G){return!(!G||1!==G.nodeType)};r.isArray=C||function(G){return"[object Array]"===E.call(G)};r.CL=function(G){var P=typeof G;return"function"===P||"object"===P&amp;&amp;!!G};r.each("Arguments Function String Number Date RegExp Error".split(" "),function(G){r["is"+G]=function(P){return E.call(P)==="[object "+G+"]"}});r.isArguments(arguments)||
(r.isArguments=function(G){return r.has(G,"callee")});"function"!=typeof/./&amp;&amp;"object"!=typeof Int8Array&amp;&amp;(r.isFunction=function(G){return"function"==typeof G||!1});r.isFinite=function(G){return isFinite(G)&amp;&amp;!isNaN(parseFloat(G))};r.isNaN=function(G){return r.isNumber(G)&amp;&amp;G!==+G};r.isBoolean=function(G){return!0===G||!1===G||"[object Boolean]"===E.call(G)};r.isNull=function(G){return null===G};r.isUndefined=function(G){return void 0===G};r.has=function(G,P){return null!=G&amp;&amp;J.call(G,P)};r.noConflict=
function(){return y._=z,this};r.identity=function(G){return G};r.constant=function(G){return function(){return G}};r.noop=function(){};r.tHa=d;r.R7a=r.matches=function(G){return G=r.JCa({},G),function(P){return r.w7a(P,G)}};r.times=function(G,P,T){var M=Array(Math.max(0,G));P=p(P,T,1);for(T=0;G&gt;T;T++)M[T]=P(T);return M};r.random=function(G,P){return null==P&amp;&amp;(P=G,G=0),G+Math.floor(Math.random()*(P-G+1))};r.now=Date.now||function(){return(new Date).getTime()};C={"&amp;":"&amp;amp;","&lt;":"&amp;lt;","&gt;":"&amp;gt;",'"':"&amp;quot;",
"'":"&amp;#x27;","`":"&amp;#x60;"};var R=r.invert(C);r.escape=m(C);r.unescape=m(R);r.result=function(G,P,T){P=null==G?void 0:G[P];return void 0===P&amp;&amp;(P=T),r.isFunction(P)?P.call(G):P};var X=0;r.uniqueId=function(G){var P=++X+"";return G?G+P:P};r.Nbb={evaluate:/&lt;%([\s\S]+?)%&gt;/g,k7a:/&lt;%=([\s\S]+?)%&gt;/g,escape:/&lt;%-([\s\S]+?)%&gt;/g};var ba=/(.)^/,da={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ea=/\\|'|\r|\n|\u2028|\u2029/g;r.template=function(G,P,T){function M(ca){return aa.call(this,
ca,r)}!P&amp;&amp;T&amp;&amp;(P=T);P=r.defaults({},P,r.Nbb);var Q=0,Y="__p+='";G.replace(RegExp([(P.escape||ba).source,(P.k7a||ba).source,(P.evaluate||ba).source].join("|")+"|$","g"),function(ca,fa,ha,ia,ja){return Y+=G.slice(Q,ja).replace(ea,l),Q=ja+ca.length,fa?Y+="'+\n((__t=("+fa+"))==null?'':_.escape(__t))+\n'":ha?Y+="'+\n((__t=("+ha+"))==null?'':__t)+\n'":ia&amp;&amp;(Y+="';\n"+ia+"\n__p+='"),ca});Y+="';\n";P.JKa||(Y="with(obj||{}){\n"+Y+"}\n");Y="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+
Y+"return __p;\n";try{var aa=new Function(P.JKa||"obj","_",Y)}catch(ca){throw ca.source=Y,ca;}return M.source="function("+(P.JKa||"obj")+"){\n"+Y+"}",M};r.chain=function(G){G=r(G);return G.vPa=!0,G};r.mixin=function(G){r.each(r.functions(G),function(P){var T=r[P]=G[P];r.prototype[P]=function(){var M=[this.CF];return I.apply(M,arguments),e(this,T.apply(r,M))}})};r.mixin(r);r.each("pop push reverse shift sort splice unshift".split(" "),function(G){var P=B[G];r.prototype[G]=function(){var T=this.CF;
return P.apply(T,arguments),"shift"!==G&amp;&amp;"splice"!==G||0!==T.length||delete T[0],e(this,T)}});r.each(["concat","join","slice"],function(G){var P=B[G];r.prototype[G]=function(){return e(this,P.apply(this.CF,arguments))}});r.prototype.value=function(){return this.CF};r.prototype.valueOf=r.prototype.toJSON=r.prototype.value;r.prototype.toString=function(){return""+this.CF};"function"==typeof define&amp;&amp;define.Wdb&amp;&amp;define("pR",[],function(){return r})}).call(this)}).call(a)})();define("underscore-min",function(){});
define("es",["require","underscore-min"],function(a){a("underscore-min");return window.TDV._.noConflict()});
define("py",["require","exports"],function(){return{G:function(a){return a+"_change"},Ke:"default",hb:"mouseDown",Pb:"mouseMove",Eb:"mouseUp",Gs:"mouseWheel",ma:"click",Dl:"doubleClick",Dc:"rollOver",Jb:"rollOut",LC:"mouseEnter",Zp:"mouseLeave",El:"pointerOver",gdb:"pointerOut",mz:"pointerDown",GH:"pointerUp",Vf:"pointerClick",FLa:"focusIn",GLa:"focusOut",bz:"gestureStart",Z6:"gestureChange",wH:"gestureEnd",PLa:"gestureRotate",xH:"gestureScale",kc:"progress",pH:"close",OPEN:"open",gq:"select",tc:"resize",
sV:"changing",ba:"change",Ae:"stateChange",uk:"cueChange",PC:"preloaded",ea:"loaded",xc:"loadingError",lo:"start",Wf:"stop",lz:"play",FH:"pause",nV:"beforeFrame",Uh:"frame",hd:"ready",WLa:"instanceCreation",Mp:"begin",Gb:"end",Tcb:"cancel",Lj:"press",Gl:"release",cq:"repeatEnd",fq:"scroll",ena:"movementChange",Scb:"beforeShow",cLa:"beforeHide",INIT:"init",jd:"show",cd:"hide",cN:"showEnd",WM:"hideEnd",XLa:"loadingScript",BMa:"processingScript",uH:"enableCookies",$Ka:"applicationSet",WC:"userInteraction",
eoa:"userInteractionStart",doa:"userInteractionEnd",E7:"transitionEnd",NMa:"toolTipShow",Una:"toolTipHide",Fl:"positionSet",Ona:"sizeSet",uma:"controllerConnected",vma:"controllerDisconnected"}});define("cI",["require","exports"],function(){return function(){return function(a,e){void 0===e&amp;&amp;(e=void 0);this.name=a;this.data=e;this.source=void 0}}()});
define("bu",["require"],function(){return[123,34,70,97,100,101,73,110,69,102,102,101,99,116,34,58,32,256,112,114,111,112,101,114,116,105,101,115,270,272,125,44,32,34,112,97,114,101,110,269,271,34,264,266,268,34,286,288,77,111,260,108,51,68,68,105,115,112,108,97,121,298,267,295,272,289,291,293,319,34,66,97,115,101,79,98,106,318,301,287,34,80,104,111,116,111,65,108,98,117,109,80,314,121,76,311,116,73,116,101,109,284,273,275,277,279,281,283,271,256,109,101,100,105,97,357,34,116,121,277,284,336,338,340,
342,344,356,302,289,348,278,371,373,375,296,337,339,341,343,345,347,315,386,125,383,290,292,294,376,396,349,351,353,355,334,288,396,110,101,304,306,308,330,332,300,364,289,359,278,280,282,371,293,99,305,105,110,103,371,260,102,97,117,108,324,115,114,103,98,34,335,388,101,376,293,345,91,108,431,101,291,287,441,443,93,410,34,117,112,89,387,374,448,296,110,345,98,398,335,260,112,116,104,84,282,319,256,435,437,439,284,116,114,117,101,446,467,376,98,111,111,108,461,104,101,105,103,104,481,372,492,469,
471,473,288,119,105,100,477,466,389,288,470,109,472,114,461,463,90,515,468,517,508,521,383,463,88,525,376,518,520,461,99,327,116,83,104,259,111,119,533,296,494,496,461,97,116,116,97,99,478,111,80,322,403,421,483,438,319,436,108,328,491,516,34,548,497,383,110,111,114,109,97,108,532,421,447,534,528,461,574,576,578,465,581,506,527,519,509,34,586,577,108,524,590,569,535,594,115,512,526,482,101,436,563,376,102,275,403,568,526,34,450,109,91,100,111,117,98,108,490,32,612,111,294,287,98,554,107,460,399,335,
401,323,376,69,120,354,114,110,578,415,101,307,68,418,333,383,81,117,259,72,339,312,339,558,586,97,577,79,118,278,348,77,97,112,371,274,276,424,362,357,400,559,324,654,656,658,112,660,97,662,664,666,114,348,73,577,103,101,326,328,461,86,605,111,51,54,48,82,282,622,114,99,606,422,674,361,426,421,115,623,280,116,625,115,85,82,76,546,288,115,487,431,433,335,311,85,690,486,488,101,383,625,666,566,725,34,291,114,315,91,699,260,701,703,705,115,707,709,76,101,740,635,335,103,97,431,434,608,484,319,49,615,
583,593,529,335,542,115,65,117,368,111,764,609,485,271,487,489,769,547,495,572,678,402,324,748,101,750,704,706,117,708,101,756,740,461,405,632,99,107,326,521,421,673,360,425,363,320,632,114,326,806,103,275,117,110,100,67,496,575,310,292,268,105,629,742,618,91,338,114,105,122,629,553,108,287,689,280,538,108,759,726,354,112,541,543,545,600,616,571,461,328,625,268,367,83,850,852,621,854,320,582,787,549,400,348,499,259,818,107,820,622,823,825,108,575,82,551,831,814,256,869,288,744,746,602,114,848,34,
859,318,862,850,87,512,514,855,376,575,91,893,287,360,709,294,895,816,66,575,260,114,884,368,117,887,505,601,584,872,315,874,100,865,544,83,274,455,100,742,893,858,850,915,114,917,919,105,921,936,925,335,727,101,112,876,878,822,824,826,114,828,318,831,110,833,518,835,575,838,840,578,843,675,846,895,897,861,929,864,542,866,79,290,99,105,373,946,771,858,648,898,975,950,940,917,83,838,710,889,595,947,726,987,974,863,950,930,119,657,837,839,294,578,756,432,903,868,591,997,985,383,973,354,989,951,633,
953,880,956,884,280,111,922,996,891,121,907,528,895,100,798,885,832,904,507,1017,637,873,934,1004,979,554,982,121,984,536,1018,976,853,932,292,259,1052,603,1055,866,86,970,1010,293,103,1013,888,1015,937,1054,950,1048,981,983,1041,592,1053,1044,927,934,991,278,943,945,1078,1016,1080,288,313,1082,259,1004,881,575,742,429,882,772,999,860,1020,1002,851,977,544,66,108,798,1086,1030,1071,998,570,291,1084,114,1096,809,1014,569,1099,1097,926,121,928,1004,1064,361,846,1011,1068,104,1060,1101,896,1E3,1104,
939,916,278,1120,1098,956,938,1003,1107,1005,965,1008,841,1133,1069,923,616,1072,335,816,1075,1050,1136,461,1092,1127,1046,1149,1006,966,1009,108,1154,1135,1088,1158,849,950,901,513,1174,1122,616,906,908,32,910,323,895,1165,928,1118,1144,1088,1124,1137,1190,934,1179,1155,996,1184,528,909,278,911,116,913,1117,1142,114,993,122,995,1114,1043,288,914,1023,821,1025,1100,1027,886,742,1032,1034,771,1189,1045,875,1210,1212,1214,924,1216,1138,1103,899,950,1163,1073,1106,853,1193,1182,376,1195,986,1238,1021,
952,1220,955,1100,742,906,1226,1195,93,287,1259,461,1218,819,1253,1245,1070,569,1257,114,745,1033,1259,1261,956,972,939,1219,879,1254,1097,1088,1270,1272,91,1274,32,1262,1126,1128,1149,742,857,1290,934,72,500,502,504,1201,114,1227,520,1204,799,912,1147,1022,1265,1280,1120,1223,1029,1225,1271,892,1035,1308,1297,501,503,1256,1302,1185,1187,1307,1018,1139,1239,951,1210,1112,1241,948,1329,1251,1279,954,1120,958,830,1040,1246,296,834,836,1170,841,969,1131,578,1277,1148,853,1109,1111,259,944,1113,1235,
1090,896,1062,544,1161,1077,1344,1079,603,1336,1105,1004,1057,934,1334,1091,1230,100,1366,1051,1175,1115,1197,1094,1149,1356,918,1358,1087,1368,1089,1370,1250,1105,1320,1299,1323,1303,278,1305,1206,1229,1093,100,1252,1311,956,1341,1028,961,1088,1346,1151,967,842,32,844,105,971,1308,1192,1146,1194,1146,1242,1118,1233,1376,1237,988,1372,1149,1267,1156,1247,1425,1081,1166,875,1338,1221,1282,1391,1284,746,1287,1289,948,850,1360,1157,1115,1019,1330,1129,1065,1172,1067,1200,1215,1362,684,604,1410,1429,
1454,1021,1380,1241,790,639,296,85,73,825,109,684,413,403,383,793,795,752,754,800,757,648,672,423,713,887,1471,560,288,1482,1484,798,755,1487,572,335,405,350,727,408,356,421,1487,294,922,727,276,371,311,68,608,278,292,935,783,736,1054,291,504,1515,1517,1271,367,735,489,383,472,103,763,421,1526,266,1528,1520,32,784,737,335,293,1540,256,1537,1518,1529,1521,1531,1493,324,696,329,331,333,637,1490,813,371,366,368,370,1088,77,367,369,938,551,1234,616,834,1512,112,277,100,457,553,361,432,909,348,729,1579,
276,112,729,895,314,472,497,1088,727,837,432,301,636,288,932,499,292,647,649,651,420,320,811,675,714,320,1248,561,765,610,296,35,265,1619,102,445,288,996,1248,383,745,920,922,562,782,32,53,786,1369,1137,577,120,1333,1382,1236,475,477,479,727,780,766,1530,626,1435,870,1501,288,109,431,1639,1391,1072,1553,640,642,278,645,108,1604,417,1557,300,383,692,97,694,412,414,305,648,1666,419,504,1609,1491,1514,693,1572,376,1670,694,1497,799,461,428,430,1597,1614,781,440,442,444,1634,617,963,453,413,456,32,458,
98,635,1659,390,314,413,1665,650,1667,269,653,655,100,657,116,659,116,661,575,663,97,665,667,315,1489,712,1561,364,1709,288,1720,1722,1724,745,688,1729,1051,1717,682,1721,684,1723,686,1725,1741,690,315,1686,695,327,710,1509,1721,371,104,605,1514,115,1516,1538,1519,1648,1018,338,867,1547,1764,1527,1767,1551,737,1735,325,1756,1606,269,1559,1732,676,421,276,1049,1367,607,1695,284,768,1623,1461,594,368,727,686,709,1429,105,1683,742,1754,1688,1800,1126,805,107,80,1029,982,960,1451,376,1226,681,100,1739,
1726,1728,1752,121,804,633,1811,1464,960,895,1418,709,1815,296,1226,1820,577,1811,431,1207,1598,383,84,104,471,645,105,1172,351,427,666,1510,371,555,686,694,1763,1765,1549,1540,1542,1599,321,791,376,1474,1476,1478,639,1783,812,1785,320,275,108,108,1822,1506,558,100,368,432,84,1513,1640,1362,982,355,76,97,1592,70,840,87,1298,1322,1412,963,494,108,1578,32,1899,917,287,453,1299,1400,32,49,48,48,287,50,1911,287,51,1915,32,52,1918,53,1918,703,1912,32,55,1918,56,1918,57,1918,596,1352,461,1887,346,259,1881,
103,1883,671,1885,1393,988,1506,1406,1339,1026,1039,1833,890,1316,1033,893,895,1874,1876,689,1506,1889,1592,479,642,1047,980,1162,1943,1137,1936,1961,648,1963,540,1149,1130,845,1066,1012,1181,1268,1452,1236,1957,1877,354,109,1118,756,102,116,1656,1981,770,1362,1984,1959,1986,1118,915,552,111,109,82,1321,1991,1389,1951,1392,1137,348,622,1300,1015,834,1831,968,32,1347,1152,1934,383,1936,1118,2004,1299,1434,1624,1437,1102,1945,1998,1210,2E3,340,2003,2005,1992,1650,1635,461,1996,278,1960,1890,1972,101,
1964,1433,1423,1391,1625,1335,1250,1506,1843,1845,762,108,1965,1788,1381,1657,1453,1336,1946,1210,1941,2038,996,1176,1430,974,2066,941,1085,2005,2027,1015,2052,288,2042,114,2074,942,2005,1428,1968,1935,1986,1004,1293,788,2041,496,1958,2043,1998,1441,1281,1121,1993,296,1445,1273,1276,1275,1100,1956,2095,1985,355,1118,1941,2087,2063,1236,1970,2045,108,1973,2060,1076,2062,2102,2040,2022,1986,1879,1939,2025,1896,2116,1362,1467,2055,1844,519,1846,2059,1975,1457,1173,1429,2082,2084,278,1941,1989,2006,1628,
1466,2065,1986,1971,2120,2047,1974,853,1469,2088,1626,2110,1997,2112,1210,2149,2078,1123,2029,2072,1020,1878,1938,729,2149,1801,2032,2075,114,2114,994,2177,2112,2099,2168,1183,1302,1258,2106,1288,1276,2089,2165,2179,2034,2002,2186,1436,1255,1328,2054,2178,917,2068,2037,2007,2183,1987,2166,608,116,2198,296,2080,34,1936,2056,2138,2058,669,120,1396,2132,2125,2009,858,99,1957,808,2160,2133,603,2228,2095,808,1199,1980,2039,2226,2201,2031,355,2129,729,2196,1507,2232,1969,2203,278,2246,2115,2225,2071,2135,
2098,1310,1948,1100,1409,960,962,451,2019,1415,1350,1977,847,1164,348,1504,2013,569,1503,1849,2127,355,2218,98,2139,2223,2273,1982,1886,1986,2279,2139,1004,1169,2020,1458,1979,2144,2163,2097,2194,917,2149,2253,2239,2071,2023,1332,2086,2182,2161,2053,2242,2209,2179,2131,540,2306,2248,2193,1937,1880,2245,339,2035,2152,2202,2278,2137,2280,2058,1422,1255,1424,2200,731,2250,918,2206,2151,2307,2030,2073,2333,2213,288,2215,2118,1962,2157,2289,1414,1171,2143,2337,2171,367,2136,2057,1847,1373,933,1059,2351,
2145,2333,2300,2070,2064,2323,1987,2099,2231,2254,1115,2303,2195,2320,2002,2069,1795,2249,1888,2119,1827,1813,1343,2225,834,625,1990,287,340,112,287,837,1299,631,2374,109,972,2153,2324,2355,2140,853,2290,1415,2350,2315,2241,2339,355,2369,2301,2365,2309,1999,2395,2341,34,2343,2333,1941,2416,2215,2361,2399,2219,2356,1292,1088,1294,2332,355,1976,1419,578,342,501,1411,1391,834,494,2001,109,287,1654,1880,625,2388,276,2109,1875,2111,2310,917,2252,2314,2370,1236,115,2234,1875,808,2403,1171,669,442,1535,
2406,2430,109,2287,2058,2091,2428,2093,2277,2367,2258,823,2410,2364,2457,2398,109,2155,1892,294,2363,1015,1202,771,457,994,460,731,115,2115,1861,335,2423,2469,2325,2139,2479,2377,2094,2450,2164,2483,2119,2121,1168,2348,1153,1459,2238,2480,1362,1761,260,83,2459,108,66,117,2001,110,2008,2429,288,2372,2204,276,2149,2376,1361,594,2344,648,70,822,1342,2437,2225,42,2316,2470,1847,1427,2455,2411,2481,2366,2546,1876,1966,1789,2550,2285,2379,2345,2048,1244,2050,2225,2422,2295,2083,2154,2119,2485,2212,2563,
2239,2215,2016,108,2435,103,2542,2239,2439,2395,2443,512,100,2446,1541,2448,1249,2413,2067,2532,2211,2534,2284,2536,2340,2572,2028,2331,2529,2568,1592,2462,841,2577,2579,996,834,1206,1908,2386,116,2391,2005,895,2217,2501,2327,1332,2207,2351,2537,108,71,670,1466,2521,808,699,604,624,1684,1345,963,2082,287,578,119,315,115,2449,2096,2567,2297,1143,2598,2079,2170,2499,1947,1442,1388,1028,2008,1226,1955,2505,2643,2044,1891,1893,1895,2283,449,1898,496,1901,1903,2611,2005,1908,1910,1925,1914,1925,1917,1925,
1920,1925,1922,1925,1924,287,1927,1925,1929,1925,1931,1925,1933,2269,2162,2506,2296,2476,877,1266,1408,105,829,1465,1897,2264,2512,2017,2575,2616,2333,2246,2312,2594,1994,594,2499,2503,2535,2378,2508,2661,2486,373,625,2263,619,982,578,1419,287,2691,2708,2424,2326,2426,2159,2555,2124,2557,2714,2566,2173,2318,432,2246,2208,2553,2716,2595,2718,2553,2237,2322,2309,2553,1095,2647,2169,2600,34,2650,2620,2336,2467,2338,2172,2128,2174,1882,1884,2763,2352,100,2660,2538,840,2421,2170,344,2525,2520,1957,85,
1942,1444,2188,1953,91,906,1555,2523,2525,287,73,429,110,2790,340,110,93,1260,32,2788,1756,2796,629,2792,2794,2804,2798,2397,2366,2472,1391,2528,2216,2257,2697,1407,1222,1950,1315,1285,2657,2475,1988,2211,2487,2717,461,553,98,262,260,120,1429,2265,1171,2606,2724,1286,323,2611,2211,2614,1299,972,2628,291,2776,2758,2617,2400,2520,578,1674,260,2839,574,413,287,102,1847,1416,2861,116,95,431,604,260,2860,982,95,2012,2868,626,2864,95,340,95,511,1180,2870,2865,2878,499,2615,2589,2408,2452,2251,2395,2827,
2748,2887,2765,2645,114,2167,2756,616,2418,2896,2205,1299,2712,1042,1995,2740,2090,2427,2813,2474,2468,2024,2621,2770,2499,2754,1386,1110,1388,2762,2456,2134,2482,2414,2441,2533,2915,2923,2739,2694,2644,2889,817,2415,2899,2199,1125,2913,2591,112,2905,2126,2468,2155,1973,1516,429,745,2702,2438,963,954,667,454,287,111,689,1702,626,2960,45,477,821,502,2729,629,101,913,2524,2797,2780,2095,2312,1398,1226,2802,328,2808,2806,629,2808,2799,2957,1302,2789,2971,2805,32,2793,2982,2988,2809,461,761,2783,2930,
1137,2499,2244,432,2176,2360,2908,2559,2046,2561,1063,2142,2514,2752,2888,2553,2548,1213,2627,2229,291,2464,1534,2607,2504,2693,2659,2602,2774,2721,121,2723,2703,2725,841,2728,32,2730,2545,2618,2734,3009,1351,2292,1134,3012,2895,2719,3007,2158,866,1387,2943,2240,2468,647,1646,1616,517,575,597,1622,2580,963,2691,2388,3038,108,45,629,108,121,1905,2119,3067,110,3069,2731,2696,1024,2100,2261,2383,3061,2704,1007,2266,1417,1457,3076,2918,2562,2329,2051,2170,2256,3006,2156,3008,544,2604,1978,3043,2351,3094,
3077,2698,3091,2225,2104,1286,2190,1448,2601,2732,2139,2328,1443,2564,2649,3005,2934,2420,2937,2214,3118,2932,2146,2180,276,3051,2071,2760,2311,2335,1359,3017,2235,291,2432,846,3020,2466,2998,2658,2451,3001,103,2975,3102,2925,2210,1990,3129,1115,2917,3065,2357,1058,1546,2738,2999,3119,3014,1232,2549,2516,2931,3025,3095,2510,1355,2920,3152,2551,2590,2311,2929,3159,3143,2507,3089,978,2736,2208,2484,840,2892,905,1324,1203,1705,2492,3060,311,2496,1522,2498,3119,2926,2035,3172,2558,109,2747,2713,3160,
3125,2286,3065,3115,2101,2573,3093,3149,2179,2299,3164,3023,2468,2553,2221,2751,3148,2366,2024,3133,1390,3142,2824,3163,3016,2351,2794,354,294,1048,113,489,2092,871,2308,2888,3184,294,1894,2005,2839,1903,2394,1900,2670,1907,114,287,2673,1913,1918,2677,287,2679,287,2681,287,2683,1926,1928,1930,1932,3058,2021,2945,2569,840,258,1654,3069,742,1595,729,3178,2695,3224,2026,3122,2342,2170,2623,3169,3049,3171,3176,3165,1137,2778,2972,2521,3003,2784,91,2977,2986,2803,2993,2981,2795,2993,2984,2801,3300,2979,
3302,2990,2807,3305,2810,3174,2531,851,3216,2828,2407,3045,2113,276,2849,2939,2764,2353,3026,3096,3048,544,3324,3205,3167,2500,2852,2511,3084,2349,3011,3222,2309,3242,540,2722,2633,288,834,2726,453,99,2967,587,2692,3240,3045,2946,2157,2948,1725,2951,2384,2953,823,2955,2859,2801,2959,2956,32,2962,2964,622,2966,3035,2968,3314,2888,3145,3147,2770,3103,3180,544,3238,1652,2771,2354,2425,2401,3288,1357,2922,3177,2475,3343,3332,2316,3099,2576,1906,3022,569,2609,2841,3252,3370,2843,32,2392,503,2642,2451,
3357,642,3359,2950,2262,3031,91,2954,690,3369,2958,3365,2961,454,2963,104,2965,104,2967,413,3412,2507,3343,3186,2103,3188,2490,3190,1213,2493,2529,2495,2314,2497,1217,2993,2973,1875,68,544,3402,2187,3298,2786,2978,695,3310,2991,3304,2525,3306,3458,2980,3311,2992,3463,3076,3145,3296,3227,2940,2373,2927,2593,3290,3217,3326,2772,3328,3287,544,3138,3100,1460,3319,3196,3206,3113,2471,2141,3041,2405,3473,3112,3335,3389,3156,1375,2622,2333,2928,3393,3291,3279,2933,3383,119,3397,3024,2451,2651,1379,3182,
3341,2888,3198,2375,3478,3488,2081,3197,2033,2395,3504,3134,3502,3491,3039,1108,3289,3505,3479,2759,3524,2179,2903,503,3200,1944,3518,3229,3346,2240,1862,1836,97,67,663,278,1565,1608,1560,1872,123,1778,82,339,1039,1663,3550,366,745,803,378,557,2271,1849,810,3555,1611,1547,1986,2655,2786,391,340,2275,1505,1986,1708,637,679,404,3569,1645,383,825,111,107,362,1811,3350,2737,1680,1733,320,798,1593,1391,3277,1597,2494,733,3601,3447,34,694,111,820,670,1761,99,65,1058,2976,2786,3603,103,2800,3620,3583,1091,
3585,296,1555,1781,461,1737,1747,3548,1822,691,1803,3571,1784,3573,1778,3631,685,687,1727,2959,1753,1683,1555,803,1749,1740,97,1838,1494,358,3638,922,121,97,1771,3394,637,982,555,1470,3584,1864,3627,1780,1715,461,669,112,3580,352,1986,1731,1871,3573,34,1563,1569,1566,2626,1126,386,3683,3673,385,529,1778,3674,1506,698,700,67,3237,1508,1851,1759,421,1533,3141,2216,1773,1766,1550,1541,3195,3347,823,1857,1774,3707,1861,1778,144,3628,3670,1870,1610,922,1545,84,1802,3545,2255,1580,116,3723,366,1470,1481,
281,119,278,3616,455,1562,101,477,305,922,1165,677,3584,921,606,1054,2769,3557,2498,480,1524,677,1778,1866,2002,1868,614,1091,3572,1511,717,982,720,3483,3510,3283,2417,2170,1165,1809,808,80,275,820,282,115,3203,2906,594,109,1675,2120,557,3650,1726,84,745,115,314,1410,68,1038,3361,34,1630,767,3261,1794,3522,384,315,3772,291,2282,1398,1325,1205,1188,858,3763,719,282,2755,3106,3211,2758,487,686,1828,629,3054,3419,2632,823,1585,627,259,101,2872,2524,95,436,260,2866,2798,461,118,114,2625,1213,3653,643,
72,605,3729,3725,1383,3775,292,115,115,3514,3779,2944,288,1797,496,666,3788,3820,2382,110,3793,3417,3081,3506,400,3850,3777,3015,3848,1236,3293,629,752,3727,3618,1285,3465,3460,3312,3469,2985,91,2987,2791,3467,3462,2797,2799,1164,3870,3852,808,3514,2416,3108,1447,2192,1018,3812,720,2744,1283,3439,1304,1186,3809,1327,1438,3804,2897,105,666,68,745,103,3021,433,2473,3239,1377,3803,633,808,3559,2932,310,312,348,3385,3838,2180,2325,727,1419,107,3559,553,1410,1105,3055,1631,1925,3661,288,2861,114,727,3861,
2526,3863,3865,3561,1429,3771,3926,1117,2185,3768,3899,3110,3901,335,538,941,494,291,1819,111,1839,2646,3816,2599,3325,570,2993,405,558,3746,3879,746,3881,3888,3461,2983,2800,3985,2797,3303,3988,2270,3925,806,2461,1167,3170,3392,3528,2770,3958,3996,3805,1083,3961,3975,2488,2785,1285,3900,2108,3934,3843,278,83,1139,960,1434,3797,376,1618,102,54,1924,3060,3976,1196,348,3913,3472,2239,2489,3908,1326,1840,1808,3959,114,3774,3611,3851,3853,4007,827,2700,959,3867,2014,963,2836,1349,3086,3041,2970,2525,
1883,3919,625,83,3903,3679,1301,3456,3880,3308,3459,3986,3883,3891,3989,4067,3466,3987,3313,461,102,111,99,921,3736,97,2853,3030,320,4021,271,48,46,1633,3800,2893,3902,114,436,709,705,845,4060,4018,629,4020,1615,1631,34,4023,1620,4027,2648,2758,4003,807,291,4041,3776,3895,3544,1466,4062,3853,4118,2351,3875,110,405,3983,1033,3990,2989,4075,3884,3307,3886,3301,4069,3468,4071,3811,4095,554,101,4098,1419,625,2410,4087,32,4089,54,1699,2255,4120,3209,1145,2758,716,98,718,3765,3358,267,3360,3418,2952,451,
3421,2960,2957,3368,3366,3371,3429,3373,3431,3375,3433,3994,121,3913,3897,2699,2701,4164,3362,3083,1348,2706,3087,1263,3449,2389,4127,2787,4073,3882,4137,629,3464,4195,4136,3890,4198,1403,4179,4039,1297,1385,853,3933,4038,4004,114,4207,929,2049,4008,2757,3977,1797,1165,1883,496,280,112,262,4061,4140,709,4017,1103,4184,3796,4104,319,1542,1699,2814,4112,3896,2761,4001,3496,896,4120,3471,2211,3957,4030,4039,3380,3107,3907,1908,4036,972,4120,2812,2225,2814,97,97,69,645,2632,3158,4147,4236,4092,493,2912,
3760,4042,3777,3806,3906,1399,3406,4255,4178,3913,4115,4043,4181,2819,2654,2821,1317,1228,3811,4158,3764,282,4263,1890,625,4266,4234,1648,4237,4271,34,3839,4015,1119,2572,4147,4106,1620,265,4109,4218,1137,716,4228,4142,3739,4144,101,4230,4048,110,4146,4298,271,1793,3947,711,4116,115,4032,4064,3808,1306,4037,3912,4039,3905,3297,4333,1402,3893,4273,3895,3960,2477,2100,1313,3576,2822,1318,383,4303,3972,294,278,3930,553,110,1800,1694,1647,271,50,4151,1453,4245,2767,103,4338,4243,2157,1662,578,1825,4212,
742,4375,4113,4029,3995,4379,4214,2914,3534,3801,4239,4005,259,3221,4339,3189,4279,4211,4382,934,3855,3052,726,4120,3766,3050,3521,4093,1783,4329,4154,2330,3977,4353,3973,114,1822,4103,1791,1617,1911,55,554,99,4311,2900,3770,3894,4121,3175,4385,4404,3924,4205,4212,3854,3516,2770,4372,644,4374,4424,808,4377,4438,291,4280,4206,3998,866,3399,3495,4327,3839,1892,666,3956,4361,3056,3946,3868,3966,3970,3969,941,4304,4357,1799,3873,1462,4441,4412,4433,4243,4387,2935,2179,3437,3856,4302,4040,4354,643,4320,
2541,3847,3944,767,2675,4365,2457,4367,2742,1940,3749,4327,673,4406,4045,2653,1224,1088,2656,4351,4336,4212,4282,3871,4241,3226,4492,4249,4212,4390,4252,4277,1401,3810,4394,2230,4469,4327,4157,4159,3814,3337,4187,3042,3487,4428,4244,4291,3813,115,2625,2997,4327,340,117,555,1822,4082,4084,710,4147,4326,4457,1623,745,2526,3791,960,3952,3821,110,932,101,3707,4243,3967,100,4460,3971,4411,4480,1410,3511,948,4400,2346,4522,2291,4448,4543,4328,4283,1209,4426,4242,4518,4153,2368,4517,4570,4493,4572,4346,
1340,4047,2541,2839,4052,4188,4055,4290,4520,115,2570,3273,1847,2737,996,3620,4591,4292,2495,2919,4E3,4506,4570,4519,4601,4284,3116,3817,3977,4471,4383,1210,4563,4544,3820,4547,629,4549,3954,3794,4232,4580,3786,577,1883,1604,3861,3790,3561,3955,3795,4541,1911,4456,3535,4607,4529,4397,2071,4613,4006,4583,4182,4321,4587,2705,1416,2707,4443,4212,4214,1456,3494,3340,4002,4424,4641,1115,4124,86,82,699,101,3660,4064,3299,4134,3309,4201,3988,3885,3887,3991,3889,3993,4515,4114,4441,4645,4217,3455,2189,2108,
2107,575,4256,4528,720,4655,2268,4569,4638,4120,3485,3400,2436,2839,2389,2583,2445,626,2440,2035,4256,4315,4143,99,625,4414,4362,288,4107,1619,4421,2938,1137,4220,348,4222,439,105,4225,110,1883,4535,104,2780,4553,2526,4210,4405,4572,817,4495,3080,3454,2665,4186,2291,2267,2433,3354,4272,4329,4251,4033,4253,4278,3910,4335,3448,2525,3981,697,4276,4669,4675,4130,4070,4203,4674,4135,4676,4131,4138,4679,4213,1296,2663,3807,4392,4752,913,625,3826,1882,4545,4550,4633,4624,3535,3819,3953,3792,4623,4049,3801,
4639,4691,1149,4660,4487,4690,282,3399,2838,3419,2612,1261,3405,2844,3411,2829,4780,4619,4726,4780,3863,4294,4265,4733,4399,4796,115,3766,4794,1462,4508,107,863,1571,2839,1575,1577,1583,315,3827,290,3746,100,1036,622,2632,67,3350,107,65,4586,4454,4105,340,4059,3830,102,438,566,2228,4731,4717,2634,451,4844,103,625,3833,4848,2458,292,293,3432,2969,4600,4529,3379,3245,3102,4120,2570,4474,34,4034,1908,604,3442,4342,4494,4682,4610,4668,2786,4012,4688,4878,4735,4407,3092,4111,4821,3997,4208,866,1374,2359,
3381,4565,3097,119,4697,4694,4386,4438,2395,4773,3440,4393,4458,3968,111,3970,4304,4561,4548,3724,3957,4467,3872,4119,4816,2570,4616,3802,4430,4395,1440,4880,4496,1314,4498,2786,2823,4501,4926,1405,4122,4002,4891,4388,4215,2735,2061,4248,4381,3773,4904,2179,4923,4791,282,1941,4906,4035,4775,3838,3733,3823,4165,619,1798,823,3970,843,894,4865,720,2570,3244,1397,3824,2667,3248,1904,3370,2671,3406,3254,32,4485,32,3257,1919,1921,1923,1918,2685,287,2687,287,2689,3352,597,4689,4592,4871,3345,2839,3349,3034,
3036,4769,4888,3117,2200,1862,3723,4296,1805,797,799,801,1488,3637,3678,922,275,3767,822,2664,3780,1137,1099,825,5019,3665,3625,3667,288,5009,753,1498,1486,802,383,83,453,260,79,2524,317,1607,3655,5015,387,779,4800,3408,4701,3409,2005,2394,2441,3624,1863,1472,288,5041,1716,335,915,120,1713,3629,3698,323,3742,1812,3942,3739,3712,3706,1860,3709,896,994,4017,1525,3705,1859,1768,1778,641,643,1663,5063,3718,4272,5044,561,3918,761,2632,88,825,294,1874,115,4712,3056,4308,102,4636,48,4852,3284,2758,2960,
4510,4233,4415,1909,4486,1362,4096,101,5099,4105,4715,4310,1699,2215,1654,110,5109,4570,2960,4323,5111,4542,3535,5123,4275,2770,100,5091,4295,101,89,5095,487,496,5098,4306,4324,4714,1911,265,1911,5105,3769,2758,1642,478,480,4483,4299,4269,1651,461,5135,1671,5092,625,90,5140,5097,5117,324,35,5103,5120,5158,5106,4219,5136,2632,3616,5017,4448,4147,1922,5113,594,2880,1155,4541,5183,4719,950,5186,5145,5130,3801,5123,1516,476,2515,3535,2960,5168,4022,4309,1621,5121,2170,5161,3919,5137,1601,278,4142,3176,
5181,5188,498,4772,4842,767,5215,400,5068,960,3917,5162,5137,5156,271,565,567,5173,570,4301,4876,101,5224,5208,2632,5227,3828,566,1649,996,2814,5115,5128,4713,4637,3319,1862,3641,116,3672,3634,315,3672,3677,3720,3744,5027,5056,34,5251,5253,3645,121,1754,3648,383,1713,1806,710,3597,3556,289,5222,629,599,4086,5145,5248,4526,1463,3863,580,5279,5111,5281,3204,1164,5276,110,589,5286,5247,5220,3196,3941,960,5278,1790,5295,5231,3130,3560,1410,5293,5301,4455,5296,3523,5298,629,79,2179,5239,34,88,89,524,1699,
834,5318,90,287,88,90,89,287,89,5326,5329,90,88,287,5333,5328,32,5327,88,895,3600,3276,728,3604,3444,3606,1768,5297,3561,5285,5308,3945,5310,34,739,648,1629,5145,91,2800,2239,1226,5270,5010,1499,758,2227,2854,5239,5193,4526,431,844,5300,5110,4713,5229,5242,1015,2814,5373,424,5307,5376,3056,5378,4300,3923,2216,110,844,5351,5385,1631,5387,5231,2814,4785,4631,1410,5393,4147,5288,5021,4806,4618,3561,5384,5403,5354,5399,4808,5375,5410,5303,925,1778,5364,5031,5011,1500,461,5036,605,262,5058,5257,1681,421,
628,2247,4185,619,4801,2587,2390,5050,2393,1902,2395,5054,638,1494,297,265,652,335,70,3791,3633,5265,4378,2381,3795,5273,3679,1787,2123,1429,280,366,1798,1477,1429,3658,4667,3535,1957,3957,3663,5198,5249,3666,5261,3717,1678,461,5449,551,5251,5451,1742,5267,1756,1850,5066,1760,1762,1536,5079,1539,5348,726,1770,5071,5080,1776,1862,5443,1554,3669,5477,3719,5429,320,5458,1967,5294,3056,5371,5289,383,1797,4358,4360,3381,846,4540,5192,5354,4112,5454,1814,4287,1033,5479,1748,3643,5254,1824,4821,5523,4198,
1935,3636,1391,5030,1485,461,111,265,328,116,5393,4570,5541,102,5543,5384,4570,2885,4970,2770,4588,4698,2578,2839,2610,3406,5435,3410,4753,34,5185,5472,5282,5471,1429,2575,4799,4959,91,4705,2002,4702,2585,626,2389,2846,2854,4958,5433,91,2861,1875,2882,3836,2874,5587,2873,605,5587,2878,5565,5593,111,95,5552,503,4863,895,5466,2294,1875,3731,335,1818,5482,1823,5453,5291,5428,3598,256,5507,2556,4570,5461,3752,5464,2351,1831,4063,1015,1835,4626,3652,4478,5442,3626,288,5476,5447,411,5627,3563,3552,3930,
1165,5533,2579,5456,1492,5474,5444,3940,3561,578,5637,745,5639,348,5641,461,5314,98,982,350,5553,256,1758,5067,4550,5077,5496,5492,5498,1778,5659,1322,5504,5614,896,1149,1883,625,4545,5516,5352,319,4089,4091,4327,1613,5509,5118,5203,5150,2215,5603,5218,284,5404,4475,538,727,4258,5394,564,578,5230,2239,2814,115,1149,2038,4147,56,5354,3973,4786,2737,5187,5416,1641,311,1165,1297,108,360,5239,5396,5703,4301,3782,2856,5692,296,2861,120,367,2877,5597,1580,694,1782,5231,834,5730,5732,2878,538,3564,97,2870,
5731,100,5733,2877,291,5736,2109,5312,3864,5176,4085,5680,284,5723,5243,4301,1588,116,3664,5728,4148,5354,5705,1355,369,5358,5287,5768,1149,3672,2300,4147,108,1920,57,4150,5715,1053,1862,4463,4359,101,3548,5650,97,304,666,366,3654,711,5089,285,5645,324,5785,4097,5305,960,5649,3551,745,5791,355,639,383,1011,4593,314,292,5609,3932,5014,5258,421,5691,4002,5568,4123,625,554,1761,1693,5686,5681,5354,2632,5825,729,5800,5519,5287,46,52,5220,3691,5627,5530,3694,749,3548,5486,1852,1508,3711,5490,1858,5667,
3708,1531,3966,489,67,542,432,710,1548,5852,3715,5798,404,5627,3060,5643,1853,489,4349,746,1482,3696,4864,738,495,4532,4147,5760,5380,4301,437,2389,5816,5828,5157,5724,871,5250,683,339,5264,5483,3647,5485,5817,5505,256,5570,3401,5316,2444,5577,5150,2581,2441,5576,2586,5579,5535,1671,3545,5538,5032,5540,5542,3739,5402,5280,5354,5547,5549,5239,5694,4398,34,5599,504,5415,4327,5555,5571,5758,2214,3405,5905,963,5559,1905,3408,5562,895,5565,5924,5354,5713,5920,5782,594,2834,5766,5925,2255,5518,5582,5699,
611,2862,5937,451,2858,2875,2862,5587,2867,5592,627,2871,5591,2869,5968,2883,5597,5595,5972,5749,5928,5630,5028,1779,328,3629,383,1811,112,463,5815,1730,5897,5673,100,291,107,293,3514,5239,4268,5888,3386,5522,5291,5871,1033,5985,5987,5841,5452,5532,5291,2616,5536,2225,5914,1689,4352,311,105,5238,5766,5880,569,2814,118,700,742,1496,5365,448,400,5822,4002,276,463,5834,2294,5754,5375,4570,275,5754,5550,5468,5802,629,5545,3535,5820,4243,882,3591,65,2639,121,1883,3845,260,4482,5766,2675,5953,1453,3941,
5835,4713,1363,1587,1529,5321,963,4826,367,4828,121,4830,437,328,4833,5290,5986,112,2221,5133,4511,908,4908,288,2518,101,69,327,3278,5766,5355,454,4442,6069,451,2960,1704,3236,259,3836,287,6101,5748,2012,6104,1718,3836,3831,2613,1288,623,1419,6103,6113,5657,99,6111,1261,6114,6119,431,6120,32,6101,279,6116,6127,2865,6107,6126,655,6128,6124,6132,3236,1839,6129,117,6139,6137,6141,294,6110,2012,1590,495,4839,6053,6055,5489,5886,1776,5388,3386,5705,544,6090,604,5827,5934,288,6099,521,6097,5434,6095,3406,
6105,6140,6102,6143,6102,6136,2524,6121,6118,6116,4080,6179,6132,6181,6115,6176,6112,6130,6172,6128,6174,6135,110,6125,6138,6145,431,6108,6142,6177,6133,6139,6186,895,6088,4782,3081,4635,1918,4492,6033,6081,97,120,5125,4009,4512,6086,5674,544,6206,2579,6208,6061,1236,104,4078,118,1429,6050,4532,5761,5389,5883,276,5885,4259,2474,383,5662,5488,260,4263,3158,5861,1775,5853,1543,849,1571,5857,1855,5860,5491,6246,3608,1545,5666,6255,5074,4710,3938,6258,3707,5378,1769,6159,5849,320,6245,3714,1522,5840,
5529,5265,3060,366,3740,100,1511,4192,1734,1438,5259,321,3982,6282,6087,6153,3750,5494,3384,1734,1862,5210,837,99,3548,70,1740,5272,3761,371,312,1602,3545,906,6014,709,287,1482,702,796,5420,709,1353,292,111,6295,6306,1302,6308,626,6311,751,6028,5979,5261,6298,6300,3671,450,3693,5065,5847,1873,2110,2524,6263,5073,5854,3523,2932,6339,5493,2417,4838,6344,5228,5701,1777,5864,3668,5982,5087,5795,5818,1612,1761,1900,402,5525,91,1567,470,1506,1590,2119,5343,1596,433,399,5035,798,5115,4709,625,5086,5477,
5990,5274,5514,4464,5945,5949,1137,5555,5722,6350,6156,5160,5190,5154,1645,5766,5998,6232,789,6352,5057,1661,4436,1664,3783,1677,5634,34,932,339,5670,504,6240,810,5291,5665,5850,3713,6340,6351,5260,5444,6410,5867,6302,561,351,6383,5952,5521,5291,5236,5163,6064,5386,6389,5397,5882,432,5757,5957,271,703,5354,260,538,5947,5111,4364,6385,537,5144,5111,5101,4108,5205,2758,6048,6440,5767,6449,6030,5764,2238,5930,4606,5706,5213,5520,6460,948,1386,5771,6384,4327,5711,1464,6446,4713,5511,5405,5513,5717,348,
5719,5721,6020,6435,5999,461,5951,6154,6459,4327,6040,4632,5756,6433,5395,6487,6397,537,539,5698,5879,6499,5881,5389,6477,5309,6469,1091,618,98,3565,6428,6510,34,122,6473,6465,853,5776,2549,5778,48,5780,5839,5984,3567,776,778,5613,3556,5418,1568,97,6530,831,3566,392,5789,5654,6380,3679,4597,3535,6490,4243,839,2002,258,268,4881,3023,3716,5502,6406,5481,6007,1742,4082,5846,3700,320,3782,3746,756,97,666,6348,6247,383,6565,328,2782,6570,6265,335,6573,5235,3453,6576,6350,3512,6338,6416,5072,6345,2082,
6570,3608,6261,806,6582,5241,6572,622,328,4263,643,6590,6272,6399,5981,1556,5503,5088,6357,256,4080,3950,6553,3403,963,3797,287,3612,98,287,5858,1901,3782,666,1036,6482,315,4722,4224,262,4727,555,4730,293,5772,4713,6396,6506,3386,577,112,3898,1302,1195,44,3348,1683,44,5399,5500,44,686,121,3892,530,328,72,686,824,798,753,3210,6500,383,340,496,3723,6231,1015,4599,6372,5607,1718,6558,6274,5894,5912,6532,3639,6603,1818,6673,1750,3644,6675,694,5268,335,5656,982,1713,5789,6677,922,431,1813,578,6035,5766,
6479,4475,1637,6697,2770,5195,6426,5786,1429,621,623,4711,4838,4840,4634,5145,2417,5936,6167,2840,4355,3406,5962,6327,5444,6690,5805,370,5810,6368,6543,922,4078,3028,6439,2608,963,4999,3351,3375,3353,1830,1457,5933,3082,619,5049,5903,2586,5574,2396,2829,4161,2949,4453,5572,4167,3423,4170,3426,413,3428,3430,5601,4077,3272,663,4596,6369,3278,6663,2157,6767,1597,6769,4899,4901,4657,4243,354,4899,4402,4427,5512,773,4649,6742,6734,6098,3408,5939,5438,4805,383,6731,116,4969,2224,6743,5573,4972,5440,3249,
5560,4976,3253,1918,4980,4982,3259,1632,4985,1925,4987,32,4989,32,4991,6738,4993,6763,2486,3318,3455,1185,5234,3443,3704,3194,6341,372,4566,3090,6612,4422,3818,6830,3181,4943,2351,6793,4923,6778,3330,1150,3338,2513,2293,2161,3755,1475,3757,2968,1480,6687,1715,308,6562,922,882,3829,6244,6254,6271,1552,6603,3756,1477,6851,5737,6356,5898,34,612,3551,6003,91,6322,5602,3659,5606,288,5527,6681,3651,5842,6729,6284,5500,376,6882,1821,6275,1669,110,413,114,6378,333,6885,421,829,500,666,5698,6662,335,111,1715,
73,3158,4598,5344,6371,4458,5697,2910,6237,5889,6603,6896,1668,335,5893,1823,6692,6886,5631,6604,5983,5060,4765,3081,6412,3554,3777,6601,6828,292,5824,4757,6269,6861,6418,383,6592,107,6594,328,5499,6926,6865,3758,6868,5868,3571,3777,367,3928,2643,4609,957,4585,3795,6786,619,5555,4743,1420,3869,6955,100,3766,6775,6846,4658,6969,6957,1822,2947,4162,3866,4739,4853,619,6755,3366,3424,3422,4171,3427,3372,117,3374,6721,6750,4899,4923,933,3852,367,2155,6771,6912,6164,6728,3602,6911,3893,6975,2566,4871,6821,
3187,4512,3441,4864,2494,6827,6248,3536,2932,2122,5508,6049,315,2012,4648,6844,4589,2268,895,6841,3416,6753,5583,6984,626,6986,4168,4975,6759,6990,6992,3376,7007,6998,100,6976,689,4968,5217,5572,3247,6800,4974,1906,503,2672,6805,3256,1918,6808,3799,3263,6812,6814,6816,5001,3489,2643,4922,3768,2215,6997,6077,7047,2147,6835,3532,4604,2008,4642,4043,6956,2566,3519,109,6996,7082,100,4594,6765,3275,1594,7006,2022,2794,6215,1269,4750,4513,3911,3760,7008,2932,3281,503,4872,7081,6969,3461,6083,4749,7013,
6218,7073,862,6915,6488,6968,7045,7075,4472,3316,7107,3153,2566,4818,4579,3535,7115,4936,3538,276,7124,1236,6841,2347,7027,4524,5566,6782,7102,7120,2740,7096,902,7140,3438,7113,4955,7119,7074,7009,6764,3274,6545,569,6669,446,7077,119,6780,4575,6039,7153,6732,3545,3348,3033,6737,7067,7142,6077,4919,3004,7020,4216,6832,4718,461,5726,7167,963,5986,5705,2447,4845,1189,7088,7121,4692,4744,4902,4526,2082,7105,2571,4683,7179,3512,689,6903,6637,7044,7152,2932,6971,3010,6973,4470,7088,2825,1990,6840,7160,
4819,594,6839,7071,3124,2643,1004,7162,4605,7129,7189,7126,7215,7128,4903,7103,6958,2941,7087,7109,7145,1180,4953,4254,7150,7068,1822,6959,4348,6362,4933,7172,7083,3125,2794,7111,4332,4774,4334,7188,7231,7242,2304,3282,7198,3123,4111,7088,7049,4868,7051,6799,2669,6802,3251,6804,2674,7059,2678,4984,2682,4986,3265,2688,3267,6739,7204,367,7085,4923,6793,4872,4874,3406,6824,3192,3445,3230,6571,446,1890,2832,2047,4917,6969,3766,4447,6776,4492,7226,2932,4996,3029,7182,451,6736,4992,3269,7247,4941,866,7234,
7143,7104,3525,2441,7134,2907,7319,3214,2826,7011,6480,7241,689,7207,4656,7209,7304,7256,689,7212,2313,7293,4243,2082,7010,7339,7112,6823,3191,7016,3446,5074,7286,4997,3419,7311,6817,7313,422,7335,4016,7177,6661,4110,4612,7211,4578,6837,2770,6793,6795,5020,3710,451,7052,7268,1905,6803,1909,7058,2676,7060,7275,3262,7277,2686,3266,2690,3268,4745,7356,7045,7337,7322,594,7130,7121,7301,4649,7193,7141,7388,6077,7127,7365,7210,7357,4736,4928,7244,4931,4350,4289,7151,7283,4615,7219,7262,6969,7196,4923,2082,
7137,4523,7397,7328,7314,7070,7260,5174,1137,7136,3493,4693,7303,4580,7305,7221,4603,2921,7163,7225,7416,7320,2035,7391,3333,1822,7191,1132,7432,6043,7324,2453,2936,7426,5151,7362,7404,7425,7178,7261,7455,7318,7232,7325,7213,7414,3977,2082,7395,7138,7422,4475,7195,7441,2002,7443,498,6784,5901,3419,6789,5561,2886,7411,7131,2085,1299,7475,1532,2993,71,821,6667,7157,7094,1559,7404,6959,4193,4884,4965,7483,6978,6752,6962,4050,4166,3364,6987,7036,6757,7374,7040,4173,6991,4175,6993,7200,2251,7364,5459,
2351,7130,7243,2820,7408,4288,520,895,2996,7299,7461,7257,4473,7327,7471,7084,7233,7465,1196,7263,3185,7351,5572,7353,7171,4302,6741,7478,7266,5907,32,6746,5578,2588,7517,2083,7250,7050,6084,7253,4341,7483,7446,3486,7147,4475,7522,4737,6961,4783,6613,4741,3085,4651,7095,2982,608,575,800,7004,6916,6E3,7088,7222,3533,7438,7230,7531,7201,7117,6904,6342,2643,3766,7418,7227,3415,6979,7033,6797,7035,4169,3425,7511,101,6760,4174,6762,7483,4814,7019,7435,1056,2358,6909,7449,7462,2298,2211,7317,7205,7617,
3974,7458,7427,7282,7046,7596,6842,7595,7450,2147,7133,7534,5926,7130,7420,4568,7448,3801,6793,4595,7092,7005,6370,3507,5003,4611,7539,7300,7160,7620,7248,6958,7519,7022,7334,7045,4401,7585,7224,3801,7195,4495,7498,3964,4013,7555,7174,2916,7628,7584,7079,7530,6077,3500,4896,7403,7588,7358,7613,3157,7674,7653,1822,7216,7649,7045,7686,7626,7190,4567,2404,7639,5282,7363,4928,7665,4686,2191,7667,7495,7045,7021,5617,7616,7242,7568,4183,4789,1573,4051,4649,6966,7355,7393,2566,7704,7156,7194,7536,3132,7486,
7634,5304,7249,629,7097,6822,7560,4514,7702,6077,7342,6320,7013,7290,7347,7293,3608,7522,7537,7453,2565,7306,7154,6766,7093,7645,7575,110,7251,6216,4340,7731,7592,1822,7264,5660,6797,7372,2667,3250,7056,4977,7377,1916,7379,2680,6810,2684,7278,4990,7280,6818,6670,1495,2436,3739,354,1713,1827,116,673,1832,6161,3921,3554,3656,1853,6451,6065,5170,5103,5104,6455,3977,431,6894,5707,5280,46,55,5921,4517,5403,46,51,5921,2524,1085,6467,5129,5839,6918,6404,68,7782,7784,3777,6768,335,3917,276,3452,119,2579,
6932,6609,5858,1856,6586,5497,6571,6848,1867,6867,6423,7789,6899,7717,7590,7203,1126,2272,4377,3587,5059,4272,1477,7369,1363,7749,3355,367,5985,2782,7497,4408,1196,276,2782,3145,4952,7521,7861,1243,6836,7520,6032,112,2782,4531,7683,100,5178,3331,7538,6819,116,7642,7719,376,7158,1623,7651,7878,5221,7871,1309,2817,954,7689,383,744,1108,7577,292,7E3,3922,3386,7218,7743,3770,7866,4384,7586,5282,7866,7637,7693,7333,5618,7296,3364,6547,6493,7084,7664,4758,4883,7666,4885,6773,116,7032,7504,7571,6983,7507,
7038,7037,3369,4172,6761,4176,5875,637,7909,7436,3541,7444,7336,4495,7407,1391,4499,7410,7159,6774,7208,3101,2770,1591,5013,7644,7821,6087,7477,4699,5047,2387,1288,4803,6790,5563,684,7889,7858,4889,3977,7286,7634,7288,2491,4877,7738,526,7740,7434,4537,1271,7877,7903,2758,7895,119,7728,7398,7716,7104,7919,3297,4685,4688,4687,7500,7732,7283,7992,4511,7994,894,7996,1189,7939,4209,7900,6079,7862,4368,4748,5618,7228,7402,7657,7173,7944,7524,7946,4932,4500,1952,5017,7873,7521,7583,7842,6022,5762,8006,3040,
7431,7912,3535,7529,6838,2662,7265,5583,7761,6801,7374,7270,7376,7272,7378,7274,7769,7276,6811,7772,6815,7774,7355,1467,7856,112,7457,7360,4312,3507,8057,7969,5004,4612,8031,7983,7624,7454,7428,7160,7302,8034,7640,7541,7308,4998,7169,7312,7387,7967,8010,4489,4331,7129,7866,8059,4155,7460,7621,7445,8028,856,8030,7889,7676,7615,7662,2566,7876,3767,7984,3977,7429,3999,7437,7661,4526,7986,7752,3801,7986,7652,7627,7991,7406,8019,2225,7947,7527,8009,3673,4368,4370,7917,2932,8057,8088,7859,1841,335,5263,
670,5530,1754,6924,6287,5055,5444,8133,112,8135,5895,697,383,72,84,77,724,6898,320,7350,8077,7352,8079,7354,7387,7031,7598,7927,7711,7506,917,7931,7510,7039,7605,7041,7515,7043,6792,7746,7643,2225,7884,6829,7950,7332,7952,6777,7160,7223,7080,1115,3232,5056,8175,7494,3948,8038,7759,6963,6798,1900,4973,7763,643,7271,3255,8047,3258,7380,32,7063,8052,7066,7386,895,7972,7343,7252,3440,7737,3444,7017,7924,3815,8069,2215,8105,7868,7656,4570,7902,8219,2170,6841,6785,7505,619,6789,106,921,280,102,3070,3407,
7962,5942,6994,6842,8073,8180,3394,7835,6850,1479,7848,34,943,646,7816,5652,315,5427,8151,607,2526,101,3847,1516,6236,6458,51,46,6224,2134,401,328,258,260,6551,340,3210,7806,6699,5926,260,8259,8271,101,8273,4610,8276,5354,5123,1802,395,4478,5777,5145,50,8266,5768,277,367,8283,8275,7801,50,5683,3868,5418,8253,6625,316,5446,6920,288,1894,98,6299,3551,3738,6278,5016,608,3851,1980,6948,5980,6950,7837,5672,5274,5342,7748,3278,3605,734,5498,948,2521,4812,4296,7610,822,6858,100,87,499,7751,2584,293,7610,
2867,3739,1118,4210,1862,1482,6856,427,6268,1772,5851,6259,6828,4080,5116,7830,6253,8357,6862,6419,8139,324,1567,1564,7838,5796,256,5932,7548,6163,6715,6719,5960,8231,7964,7481,2845,537,5870,6362,5873,489,895,6610,791,6058,6703,7810,6388,5241,6390,6943,4173,4627,3429,282,338,1900,2835,7558,5684,8399,3549,7887,335,5944,3102,6063,2839,1165,6075,4832,1586,1576,367,1830,6025,1088,6027,6314,6029,1159,4777,1939,6519,3535,1037,6980,5569,7547,7960,6491,3680,2584,2723,6717,6748,5908,7553,112,5580,6377,1675,
5316,2876,5966,2856,6717,5962,5965,9,3953,5971,2876,5970,5963,5973,2879,7146,5596,5598,2663,895,6234,3743,6395,736,8397,335,6230,8395,5702,7591,2417,8408,83,3782,339,5826,7787,3227,1862,65,519,281,3234,99,4710,921,960,7781,1029,7783,275,7785,6092,7788,8372,896,5518,5370,6209,5546,2524,5986,5929,6714,4021,6717,6615,32,97,111,2616,4355,5712,5370,5830,6472,6515,4327,624,7673,5766,5838,6516,455,7786,6221,5239,3799,4327,5994,644,648,7800,6447,8302,5131,1655,706,1110,6713,5773,6460,8304,416,7817,8497,7819,
3852,7957,336,5636,6725,4017,3236,428,6301,7839,5797,6420,324,5647,1410,5804,5744,8561,489,6706,5984,5627,3692,3676,8257,3680,6535,4377,5866,6943,6725,8583,3643,6691,3685,8060,616,3548,405,398,3691,7847,3693,5035,574,119,5988,3596,6424,320,1798,279,8534,6059,5103,5768,2389,8608,6491,6060,8267,1061,4824,6093,8416,5345,6797,8620,103,8419,1577,8519,6695,2059,8414,8619,1584,8621,8193,8623,8625,8421,1570,279,4823,354,8415,8632,8624,1705,2389,8626,1935,8520,6476,5924,4090,8295,4553,4297,5836,8301,7814,
8567,5865,6674,6923,5810,8039,6869,5614,6555,6354,5477,383,6881,5891,5528,6682,5530,6561,8257,3640,8672,8602,6561,383,5834,8569,5803,108,5789,5807,5793,1679,8604,8373,6227,8262,553,5465,3659,8694,3553,4470,5471,8698,5026,8367,376,8684,629,8571,3552,8688,5809,5060,2993,8137,6336,7726,110,722,8150,7956,8621,732,8331,7294,2529,2794,8718,7001,7291,5347,8332,7314,3461,8727,8328,8721,721,8723,7979,7404,8733,723,8728,8330,3607,6602,8659,6353,4068,2797,3649,3643,6537,5046,8502,6608,6534,1564,8753,461,4082,
8141,6884,8755,5898,8678,1746,5892,8134,6891,335,3696,6118,6329,8314,8580,6181,5913,1683,5271,1263,4905,1088,6322,2829,4491,996,8784,1532,633,1804,8779,6028,1147,6317,8772,8778,5912,8780,1626,8664,8787,8792,8426,4077,613,7851,8788,8474,4247,8783,8803,5539,8321,6328,5627,8313,3730,5984,3689,6364,117,6333,320,7828,6346,6262,7832,5852,6265,8667,6605,1558,6607,6870,7954,3601,8188,7749,1862,1818,8817,5787,6559,6923,6334,6563,365,6597,1486,6568,8363,6417,6345,6088,6935,7018,6158,3660,6270,6942,335,4078,
4080,3778,6585,6940,8364,8861,7756,8866,8356,8853,8731,6871,4079,921,262,8856,7555,8879,3966,6347,8828,6246,6577,1653,8849,6599,3686,8867,8873,7834,6603,8602,8371,6608,4924,1809,5641,6874,5608,8844,5653,6009,4550,5341,6655,6657,3696,6611,8591,4270,5389,8412,2770,8327,8720,730,5346,8738,5074,4720,6626,788,6628,4726,622,6631,4850,6633,7610,293,5137,8655,6635,8472,6436,5389,5623,6874,8593,5629,8785,6665,4724,8728,383,5928,1801,6719,554,1410,8335,4554,6458,6636,8029,5389,8186,294,262,643,8952,3915,6497,
5700,8396,8938,3386,1802,6676,8811,8798,8793,6663,4780,6887,6486,8968,7118,3547,3567,8714,256,8915,4243,8971,7831,5537,8812,5915,8948,8406,8224,453,4225,1683,3399,8174,7118,474,4788,6981,4475,437,778,8941,6529,777,831,6722,8368,8582,1669,6012,617,3699,922,6944,6946,8366,8978,288,8323,8248,8896,6870,8374,8437,5583,7480,5941,7482,335,8917,8838,8329,8920,8745,6828,2458,5581,8449,3419,8455,5968,5586,5976,8452,8461,6111,5589,5976,5594,8464,9054,5597,5978,3838,8436,5557,4971,7550,7552,2447,8446,8131,288,
65,110,8971,2172,8991,1689,8580,292,277,551,8431,7640,6300,8613,4243,2861,1663,8842,5316,314,1645,6717,3949,727,3071,727,2109,5018,5794,4606,8630,8438,6071,935,6717,9102,6073,8417,6077,8389,496,5024,9098,3535,6024,2631,4145,4551,6281,6491,8957,8094,5389,6872,366,9111,7851,2071,8469,8263,4267,8937,8981,1544,9018,6303,3878,8884,8365,6239,8355,3704,8868,6588,950,455,116,6243,8879,1778,8784,6578,3739,338,6279,672,6236,678,6286,8566,6066,2997,7776,34,84,5751,3739,8706,3562,6725,8254,121,8710,5794,6953,
868,9165,3344,5211,4042,3613,1419,8298,5460,9176,72,6227,9183,442,3739,89,6878,7521,551,7565,1700,6787,8239,5051,1705,836,354,9093,3370,629,694,9095,8794,794,3612,112,3614,8298,4552,8955,7913,9188,1723,6031,8486,6603,9167,8708,5806,3424,8689,803,4467,8984,1116,7405,7891,2652,4738,7026,4523,7714,7387,1264,9231,2100,7698,7995,7700,7923,1159,4573,942,4403,7989,4752,1429,914,7413,8103,3292,291,7893,9245,7122,4016,7724,4661,4345,9239,1312,8118,5362,8021,7410,8246,6866,9026,8146,8148,76,1973,9228,4860,
3136,114,7988,7423,8504,3018,4305,9254,2227,9284,3140,9004,5926,9278,2460,9256,7229,4526,9292,2522,3137,6017,6019,5572,2636,8516,108,6053,2641,498,116,109,8837,2239,8176,9297,2629,1457,9289,1429,6986,102,882,5467,7928,91,9297,6619,8344,110,843,9300,625,2846,9284,3399,9317,6847,6864,6849,9271,8711,288,1818,1482,8895,8580,6001,4550,8901,1718,8602,5611,8906,1690,4264,5008,110,4663,5997,9131,8478,555,275,8400,8319,2667,6707,8306,6627,4724,6629,8928,4729,8930,4732,8008,6792,3829,5039,7925,9003,5239,4980,
4449,970,5624,569,5626,3643,3843,895,8933,4265,4226,4358,5992,941,9358,785,8969,4956,749,6026,700,8799,8428,1545,8501,6163,8616,5022,8385,7525,1033,8387,7937,288,6024,749,2630,6018,9116,863,8786,7843,3966,8408,4949,9100,8376,9102,8379,9324,8646,6072,1186,8643,909,6076,8637,2022,9016,8802,8974,8804,383,5616,6508,1631,8277,2071,6664,2120,8946,8735,7002,5390,8963,2541,8954,8935,3056,9120,8913,3386,9391,9355,3550,4910,3970,9397,5379,8958,3386,9361,2002,4083,8482,477,9407,4327,6382,6706,2351,3746,6656,
880,6659,8069,2814,9465,8955,9130,9398,9001,3948,3829,262,9083,6458,9382,5126,5877,7610,9128,5989,2911,6917,3347,9134,421,6579,6567,6569,9137,8869,1363,6250,8362,8881,6288,5727,8891,6587,8874,8858,9519,8875,8864,9378,9526,8606,5078,9142,8874,8360,6251,5859,9526,1984,8871,9141,8892,6256,9140,8860,6345,8863,8877,2579,9545,8874,6589,9514,6345,9020,9553,6349,6595,6578,8888,8378,9556,8893,8747,5635,8661,3932,9151,8316,9155,9505,6290,6285,6939,9572,1575,3754,8663,1712,7816,5064,8764,5673,9446,8522,6516,
5685,8376,5119,5204,5231,2215,5153,1644,8511,5111,9462,5159,383,8986,6458,9449,1115,5735,3739,5414,5948,4533,9176,5919,8549,9608,9216,5409,9607,8303,6603,5083,4373,6403,8552,6928,288,9164,9216,6724,5744,9172,8690,8565,888,9176,6702,6777,9176,9190,9322,4526,5466,558,5191,6452,6158,279,5155,6717,8382,5600,9199,575,9201,6112,882,5859,9206,6663,9176,6038,4784,9609,9187,5736,6042,3801,9604,7880,2958,9661,3739,80,9218,8245,7815,8552,8687,9224,9340,34,304,1410,1387,8496,727,8555,7786,9228,6475,7656,5714,
4518,663,313,3679,4147,1914,8658,8704,296,9682,8498,4079,7820,6772,8132,8672,6922,348,8676,8824,9509,8715,1876,9540,9550,8724,7611,1822,9526,9555,9522,7833,8830,6603,5633,300,8325,3679,6639,6641,3109,1100,6644,6735,6646,6648,679,6650,110,6652,8907,101,9485,6658,8911,7610,9451,6666,8947,8351,9403,6028,5012,9311,9174,256,9036,180,9312,7006,8744,6345,889,9037,9703,890,5720,542,3672,8734,8918,8729,8921,6828,1463,643,9768,9762,8919,3704,8730,9715,9123,3552,8641,3102,708,9581,2543,5216,8801,3535,9600,4570,
429,6444,4587,50,54,4091,104,9796,52,913,982,2950,4465,8595,9723,6556,8309,9678,7816,5789,8573,8563,9228,9077,9145,9585,4327,577,4962,8274,9447,8967,8477,9424,2081,3752,279,9628,79,8717,328,2083,8951,4841,6491,6021,9121,3386,3851,3727,9628,8262,9571,9819,9676,8961,7915,1429,6622,5808,6335,8119,2786,9626,8709,9847,4037,6239,9710,256,1798,354,9536,8989,8872,9523,9715,3702,9549,6941,6345,6257,9562,3608,9816,551,9147,9875,8746,9697,5632,9808,6868,6277,9153,3742,9156,3745,9574,3748,9161,5006,9176,5788,
6725,9628,8984,1778,9624,5736,9221,8686,9897,9858,461,4767,6931,9861,7399,9538,987,5896,9720,5862,6260,8883,9915,8885,6583,9270,6951,9027,5673,2145,8726,8742,9454,9770,9040,7018,7130,8741,8719,9776,9930,6345,5900,9030,7760,2582,7551,8440,8445,7255,7679,4468,8015,7433,8740,9927,9935,9757,7853,7958,7138,8229,9323,5435,6789,8240,7750,9775,9954,9038,9778,9771,7018,7181,8415,921,4175,4855,9331,4190,2525,7490,622,7492,616,8176,2830,7297,7916,7164,2932,9257,4617,2526,5443,99,121,6712,8965,7610,7130,9988,
7399,9214,7843,1862,8369,369,8759,8580,9504,7882,9598,1778,8759,383,9903,9675,5792,8187,9017,5487,5848,6860,9533,9563,9882,6927,6355,9754,3796,9380,2351,8532,9479,8193,6165,6108,6175,9328,6133,6173,6200,6171,6186,6178,6185,10036,6184,6119,6183,6122,6146,10039,6134,2865,6197,10037,6190,10050,1524,10049,6187,6144,10052,10036,6195,6131,10050,6202,6193,6147,461,5466,9213,8098,4526,6226,2958,10071,5470,6462,10076,6847,8576,9388,3689,9228,4124,4126,7920,4066,4670,8749,4761,4197,2809,4764,4671,4766,4762,
2994,7488,2525,9467,4557,60,4911,941,4665,9637,7012,4759,6930,10036,9908,10093,4133,4760,10110,10097,6653,335,7986,75,101,121,775,9836,8376,6494,8641,6717,10126,5578,4807,1571,7608,335,6024,4666,3735,3617,8424,3733,10137,3737,4094,5115,4914,629,4697,9070,4856,9805,3292,2993,90,495,109,8878,10087,3984,4200,10096,10092,4199,10089,4074,10116,4056,2797,5807,8012,6216,10108,10095,10091,4202,10112,4129,10115,10161,6624,3931,315,405,8763,6163,9838,9463,9976,2972,9118,8001,3457,10159,10173,4673,10113,10109,
3992,4076,8948,9186,4123,3979,9438,4193,10176,10197,4132,10205,4677,10198,10134,8423,1391,6324,5104,2162,5754,9459,9996,9671,4570,4124,3877,3753,10157,4128,10192,10177,10174,10162,10114,10206,4768,335,5994,4179,10103,6970,10131,354,10145,110,10148,6439,4147,1931,8286,670,8594,8912,7148,5363,10248,3689,2800,3672,10249,8422,4666,5956,8193,4961,9395,1901,4556,4558,4964,1590,8965,3548,9170,4378,808,1105,2527,4301,6549,109,10218,9375,7495,8339,10279,9119,9359,9826,3680,7816,10249,742,7781,10083,383,6457,
4570,9417,794,10270,8306,10272,4442,10280,4399,4315,10241,4798,6438,10150,550,268,655,108,72,70,79,86,1466,9428,6797,9105,9435,4829,1582,1186,9438,6078,8585,5744,8587,6682,8589,446,9371,5166,496,10260,8230,620,3918,95,4419,987,6980,287,5207,95,10126,1829,550,4262,9354,1E4,9472,461,453,666,10298,10180,5531,4945,10301,9506,3386,761,1213,647,10283,10184,6505,10353,7894,10310,578,86,10314,10316,2351,104,5135,10357,5640,4939,10250,1217,4301,6708,4836,6711,10124,6458,5390,1602,982,9431,9974,4846,4859,9373,
2388,10239,626,431,10392,5563,10364,2855,101,10120,121,825,9521,9936,383,103,121,275,2458,674,4697,6431,729,10367,9494,3978,4057,3611,10149,71,10415,1029,429,516,10190,10088,10231,10209,10207,10227,10232,4203,10187,629,405,10169,7098,4065,10158,10163,4196,10229,4072,10448,4672,10210,4754,2797,3980,10203,10225,4194,10452,10160,10450,10094,10090,10228,4678,8862,120,4261,10422,8478,8923,10359,4925,4439,10302,9516,279,8392,4555,798,8391,4916,10201,4755,348,7825,9290,3108,10208,10111,10230,10196,10436,
10233,10455,10442,348,6575,10459,10491,10165,10464,10164,10178,10441,4551,9373,6158,7851,10490,10438,10495,4763,10195,10172,10466,10454,4244,10304,4101,234,263,10351,10072,10186,6596,3746,10334,9620,7309,619,10345,10341,5677,3561,10344,10339,10347,5534,10099,10456,2271,8810,7993,10191,10461,10193,3313,10504,10449,10467,10497,8927,4845,5251,2008,10512,10547,10518,10437,10559,10439,10098,1159,2993,5807,8085,10445,10171,10465,10563,10493,10517,10572,10166,10146,4664,3733,10204,10513,10492,10451,10435,
10582,7476,8767,1721,10422,9492,9471,9839,537,10388,8548,6065,5962,9431,1165,95,4831,5230,7516,10565,2525,10153,2002,9529,10501,10581,10503,10516,10571,10514,10564,7592,9251,10566,3424,10500,10545,10434,10494,10582,10550,10453,3469,10507,4058,10427,97,10365,9044,10621,10447,10584,10611,10502,10506,10541,3822,3424,10488,10580,10562,10614,10573,10613,10585,678,3643,10329,3651,10628,10426,4060,6374,4141,10241,10644,10636,10178,10625,10462,10552,10287,10411,6797,436,9202,6101,453,373,895,5994,950,1713,
76,4911,260,8340,982,338,2524,10678,538,10595,6434,8980,8478,259,106,4141,294,8942,9347,10471,10286,10414,10416,10431,6089,10524,7610,10378,4040,5627,10271,10382,10274,8350,9133,10018,320,10135,119,647,9865,8852,9868,3608,9851,8689,10718,9530,6063,10724,9880,6828,3681,97,6056,10719,7833,10721,6535,541,6292,9919,9138,9035,9833,8962,3552,9458,9544,9872,8874,933,8339,10003,4083,5495,10728,7018,5743,3552,5641,10727,10739,9515,8339,729,4503,3852,9526,3746,9834,9457,3942,9136,10760,5081,9807,8668,8833,
8581,9569,9510,3424,1883,672,291,3551,643,814,91,3142,335,645,3730,296,5603,302,10788,517,8775,1091,5568,10794,3177,10789,10797,7611,410,10795,595,10803,10074,6228,125,93,6596,3916,6581,8138,10277,10608,9159,9851,4251,1328,101,6945,810,10783,6277,278,10786,10806,10790,616,5283,1465,10811,9157,9891,9559,666,10620,9575,8851,6632,2526,378,6925,10528,8586,8138,8470,9159,5543,8842,9351,3863,10782,6300,10785,284,10787,10801,10796,10791,1091,5612,10835,1438,10821,1449,3749,1126,10840,1328,1723,5612,10825,
10857,10828,10859,10830,10803,10793,287,10880,10863,289,10799,10883,10861,10807,10885,5469,10800,3506,10802,10885,10809,301,10812,1335,7880,6300,4621,1410,6542,1608,10826,3739,10878,271,10860,10894,10862,10832,10865,10899,9827,9531,6284,9851,3472,10413,3739,10843,10905,256,292,116,798,9374,1623,115,58,123,120,271,1185,121,10936,528,125,47,10934,58,1925,10938,48,125,5867,10907,10858,10910,10884,616,10882,2315,10895,10832,10799,10916,4924,10921,760,9669,8577,10875,1873,3739,10929,814,372,10932,123,
5466,10939,4907,5471,10975,520,10941,10973,3659,10944,909,10977,10947,10949,10877,3950,10879,10889,10831,376,2834,10893,2504,10957,376,1743,10960,3851,345,5116,10848,9159,1165,10643,10816,10154,10156,285,8487,9010,111,8780,8580,4950,721,9928,9769,9759,8874,3834,329,2524,10480,6458,9409,2995,762,6222,6468,4327,10426,9779,9936,11021,9715,1477,51,11035,9965,8736,9779,5863,9564,10024,8669,1502,8903,10181,8905,10855,8580,9584,3004,6041,6036,5350,5460,3724,5463,9980,7398,10294,3535,10897,7521,10220,9113,
10200,7670,5605,9336,11046,9724,8249,3674,8353,421,1854,432,9479,9714,8886,8479,6252,9148,10774,8832,9725,8834,5673,2135,9849,3529,109,8941,8597,3582,9068,8558,8588,9905,10015,9173,8691,3558,6044,9168,9627,9906,3589,10248,11050,2737,8825,9511,455,9513,10772,9551,6337,9532,9542,5074,9552,11121,9715,9719,9867,9721,6583,9559,3746,8889,3210,9714,11045,10023,8895,9726,1629,6705,5679,7917,10318,6504,10689,10286,1855,10244,9615,3535,9484,8909,9487,10383,5232,5389,8988,8797,1687,8975,773,11071,8987,6894,
280,8699,6458,10185,10009,5269,7816,9070,9072,4232,10026,431,2833,1429,686,11177,629,9233,6093,2691,9431,3063,9304,5084,1571,895,10992,9929,6943,10482,323,11026,8224,431,578,9087,6093,9089,6868,8193,9092,9652,539,8389,11198,294,11186,5572,4078,114,2639,941,631,633,11219,10326,1449,8618,9101,9433,9103,5738,6070,11228,9106,10323,10601,9439,9002,8434,2351,8475,8979,9825,10370,10118,2524,6235,9845,11148,11242,10592,1862,8825,9863,8361,11087,9562,11085,9874,11128,11085,9877,9146,10746,10021,9722,11075,
9884,6276,9152,3741,9570,2124,10836,3747,10869,9161,3751,689,9891,3547,8559,5744,10925,8665,6533,9220,11109,9222,5628,4550,461,8256,9582,6381,10028,4434,6091,6162,6797,10033,10037,5748,10053,6171,6174,11302,10067,6200,10045,6180,10048,10047,6179,10041,10054,10061,10034,10055,10059,10057,11314,10063,6140,6199,10059,10066,6111,8468,9071,577,3792,7569,7710,4740,619,11190,578,11192,354,6148,9423,10370,9860,10713,9862,10771,11131,8829,11133,3948,6330,11256,11349,2759,1487,3950,10702,10020,8892,11257,11263,
11359,11353,292,11278,4319,11346,9541,9868,11265,10023,11076,11268,10778,1612,4464,8837,1126,6284,9576,8138,11364,10828,11274,288,5736,11283,10927,10969,5512,9749,749,6312,8578,409,8580,10730,9402,11392,703,6501,10328,1088,10013,8586,1523,10479,10484,4938,397,11158,8593,10292,8596,315,2272,8598,9704,10587,9706,9845,10026,6639,742,8762,5265,5256,7555,9170,8337,8908,9486,9744,11241,10591,10526,7329,2043,9441,1015,11425,6684,8427,7756,689,5256,1088,11441,1823,11427,731,11439,569,11448,3635,6676,3320,
9491,5145,11172,10384,5389,9490,9460,1631,9597,11461,6157,2065,11452,616,11454,3646,11456,7854,100,11446,1391,11472,9171,3684,10118,1058,6874,11479,4082,9012,376,11420,1743,335,3788,4724,305,3550,8123,9566,11421,11107,6603,11495,8895,1842,9176,11404,11111,11105,9629,8503,290,4525,11334,452,9033,5439,9643,9651,1905,9204,480,7030,9895,11069,9664,9184,11166,9612,9662,9191,2406,11108,5754,11288,9898,10081,6682,9228,6639,10685,3561,6634,3056,5360,1699,9387,6682,3672,11539,1410,895,7181,1172,4079,11540,
5239,11543,5231,11545,3651,10677,11553,11549,1164,1524,369,9311,8478,10809,77,3703,8212,1304,7114,9671,6464,11066,11526,9792,4459,10237,8821,10290,450,550,11013,8941,5627,8753,1830,11577,3535,9781,11586,3643,8842,8468,100,10692,1206,3548,6874,65,11597,10693,8673,3651,6204,6227,2221,9366,4961,709,1883,5449,495,8299,5129,7802,5354,9320,9369,8998,4649,9E3,8478,3839,11581,1566,11583,9445,5265,11593,8674,5265,11487,9698,9014,335,9343,11115,9228,9346,3863,11632,6883,6008,4381,5641,9390,10524,262,9357,8471,
9493,9360,8408,1843,9364,8404,2351,10473,9368,4725,6630,9372,4861,10930,7581,1263,8429,9479,11575,7640,9377,2524,9498,9694,8507,11591,9496,3864,11295,6163,9500,3535,11463,9393,6657,9469,11653,11435,9598,10211,9401,10139,749,9404,10798,6462,2627,9043,10667,11208,5964,9049,8457,9051,8460,8465,5975,2876,2884,2663,10133,9416,11590,3801,8360,6874,9414,5753,5408,11058,5401,1801,11470,1685,9074,1807,11693,794,9419,2632,9831,9422,11063,11692,2342,9426,8410,6249,9783,11227,6067,11229,10319,11232,10321,6074,
11234,10325,2642,9318,7805,11032,5618,788,9747,11196,731,9835,8953,10703,11690,8473,3710,8934,262,10101,4558,9470,11765,8479,9362,9476,495,9478,11298,4570,9481,11145,4570,11155,11432,6660,8932,11763,10284,11654,10286,11067,2770,11065,3801,11240,10362,11584,5884,9845,6662,11343,9853,10287,6566,11119,10733,9916,9041,10726,9518,10754,8948,6289,11368,10734,5074,9525,11811,8862,8876,8865,11124,10720,11816,11367,11138,6260,5856,11810,11128,9876,11123,9526,11258,11347,8358,7018,9547,115,11010,11835,10740,
11444,8890,11841,9515,11130,11814,11348,9558,8887,11135,9561,11830,9881,9023,11102,11633,1742,11373,9887,11271,10846,10837,849,10870,11391,794,6312,9228,10296,8754,4511,10214,5271,2637,2786,11874,6326,8422,749,1002,6317,1398,11878,8426,11876,1285,11885,1485,6653,1778,11639,10651,5269,10253,11410,11537,2626,3687,10507,8569,5116,882,806,511,9574,7112,10570,10505,10463,10612,11910,10665,10722,323,10336,9323,2794,1595,11030,9434,612,4553,95,5207,2860,4861,11925,10339,6657,10346,11109,457,121,4359,8463,
477,3833,281,1900,2872,102,95,10715,10576,110,11902,9125,1143,11904,107,11906,7735,11909,10551,10549,11912,11956,10627,10640,110,10606,3202,9540,4882,10622,10574,10646,10583,10623,10165,10507,11963,11840,11908,10546,10661,11911,10638,10450,4956,10136,114,9708,2225,10105,10141,6726,11801,8847,10287,11507,10759,11845,10773,11266,10775,11091,10777,11861,421,10817,8871,383,10277,11840,9892,6284,10129,11949,1119,11951,11953,12009,5305,11903,4079,11952,311,3747,10002,11583,8846,5016,11832,11818,11843,11137,
10747,11129,9918,11995,9557,6947,6534,6365,3676,11142,371,11055,5134,11144,8966,284,6448,8126,7654,7697,8130,7555,8129,7970,1137,7641,7091,10008,849,9955,2771,8064,7648,1263,8E3,12062,7555,9998,1467,12052,8065,12054,2775,7887,5006,68,5007,282,5419,5539,8580,8339,993,624,729,11541,11465,10285,9472,455,961,6239,7982,2180,9176,5239,5781,4492,291,328,2221,74,6906,12085,319,7808,6516,108,488,3550,555,414,431,8291,5111,3263,4327,1518,575,11657,8402,9365,11239,12108,5825,414,6213,12113,4713,6814,9480,3453,
10750,6213,12101,98,12103,284,12096,4570,6701,6392,8703,11856,12078,8992,11418,1738,11640,12024,371,11838,11975,11826,6828,11838,10818,12033,10022,11856,11141,11092,5274,673,1678,11458,5111,11460,11159,9840,2566,11429,10477,11686,9356,82,8476,11691,11467,7180,670,12136,10910,5361,1031,10546,8671,10587,8602,3672,287,6889,1751,668,670,287,6680,8679,11115,3672,10117,3497,12181,32,11556,9267,10088,12186,12147,11497,5266,6646,32,12191,6683,1823,1754,12195,6672,12197,12209,1754,12200,1700,11767,4551,10657,
4229,10522,11771,9399,1626,101,6138,6246,10368,11149,11243,11766,4813,11764,12230,1544,8308,7851,5427,7555,11292,2225,12245,8862,11680,11676,8292,11678,3801,12173,4823,4962,9396,12240,10423,4411,8964,629,10589,5145,11466,12168,3507,1506,12202,12204,12184,12206,3791,12213,8143,5912,12190,12219,11858,12215,12211,12196,12187,11115,12221,9740,9742,8910,11785,10477,5559,1822,12171,11796,9139,12224,11769,10237,12176,11772,11023,9378,12252,6447,12254,7720,2932,3672,12271,12183,5625,12185,12275,12280,11645,
1742,12189,12212,12316,6890,12318,12194,32,12284,12208,12281,12193,8446,8468,11483,11555,12312,9386,12314,5480,12321,12192,315,4082,12279,12285,12209,12341,12325,12218,12343,12328,12340,1058,11891,10012,11287,9904,8572,12232,8574,11145,10026,11261,9850,11688,9822,7610,9841,1524,9830,9832,2043,11761,7570,11250,3751,9531,9843,648,11799,5131,9858,9984,9850,9858,6874,11505,9857,11507,5054,8825,11834,11848,11836,12231,9078,11262,11358,11823,6863,11997,11090,9885,11269,9154,810,9889,3625,9158,3557,1862,
12207,3632,12198,11899,11293,6678,11046,12410,3642,12349,12210,5912,6686,303,10288,4478,11844,10017,11802,6579,5807,9526,6579,11007,11854,8359,12032,12391,11842,3796,4835,6710,8827,12434,9969,8849,10840,12437,6942,8831,3629,12039,1786,2392,431,9663,4526,965,3021,6046,3801,12457,431,9658,3801,368,7709,11962,9366,12466,12455,7398,12465,4321,12459,4093,5006,3065,7490,512,11079,6358,11255,12443,8814,5444,9025,1869,12161,3679,3E3,4368,7864,2770,2623,7758,6796,8193,8041,7054,7375,4978,6806,7768,3260,7770,
3264,7383,7279,7385,7281,2475,7863,11341,9296,2925,8018,4286,9412,4277,3434,2695,3414,6842,9998,3286,7160,6972,8244,9986,3334,7337,7941,12269,2709,2395,2711,9248,9282,2530,2076,7259,8226,4156,3213,7451,2441,12536,6781,9282,2499,12522,8218,11158,2215,3382,3155,4793,9295,7398,3103,3322,2942,12537,4475,12560,7258,503,7630,12530,12566,7338,10308,2475,7202,12237,9716,2507,12061,11966,1446,7922,7997,12028,3126,2181,8211,3535,12525,4899,12524,2766,4489,10444,12514,2552,12556,853,12527,11511,12549,3537,3316,
3527,8108,12559,2482,12551,12557,9949,7706,12577,3150,7197,12542,3977,3103,4246,1990,2208,12561,7487,2913,12064,12579,2105,7699,3111,2815,2896,2246,4949,12544,7632,2942,3225,8184,2117,3503,7619,11740,12628,3498,2733,1664,6213,8111,9296,2847,9948,7869,7340,3161,12596,866,7610,9314,291,9281,12564,2482,3145,8125,4570,12539,2935,7321,9261,3173,3518,7708,4647,3419,6965,4054,7029,4178,7845,1088,11078,2475,2553,12646,7398,2851,3499,7692,3339,8074,5372,1986,12658,4873,7099,3909,7254,2316,7196,12621,3480,
3126,2312,12698,12641,12661,8782,3381,2482,3162,4948,12640,12664,12547,7907,12605,3223,9253,12614,2718,12607,2402,7396,7694,12714,2753,12653,931,7614,5604,12569,7533,12586,4790,12515,4346,12590,12629,12535,12563,5926,2623,11283,10032,5048,276,4804,6112,6748,3377,3045,3509,8243,12599,12659,2366,12067,12632,12665,2035,4923,12664,3121,9286,2475,11569,5124,7146,2208,10147,8375,9941,9064,9944,9066,12520,2933,7085,12702,12656,4213,4649,9335,12493,3207,3336,8007,12296,12622,12734,12558,9282,3103,3436,7973,
12693,8214,6826,7348,6936,12652,2400,9998,12550,2509,8072,12721,12688,7398,6088,3450,2522,2993,10275,11160,2419,2592,3151,12738,2302,12783,3389,7669,4243,12555,12800,12789,4475,12588,7629,12640,12802,2720,12613,12553,2170,9939,9062,7549,2035,8444,12773,2894,3327,2902,12815,2150,12713,12538,1986,12682,7148,7754,7101,12641,7647,4028,2316,2155,4798,12769,8193,9032,9197,8383,12680,3208,4505,12636,3201,2155,8025,5517,9284,11732,6733,10337,9303,2638,2640,12774,3126,12568,3513,12516,4497,8020,7409,8121,
7555,2773,108,12495,7851,2581,8195,7053,8197,7057,8046,7767,8048,12504,8050,7771,12507,7773,12509,7775,11437,12775,12670,10389,8193,12673,7574,3474,12545,3199,12635,12728,2451,12735,3046,12890,8076,12874,9323,7544,8208,3037,12784,8222,7705,8099,3490,2317,1939,12662,12587,12819,12643,12921,2750,12766,3517,12749,12725,8102,12717,12533,2896,12532,11457,3481,2243,12491,12513,12723,3241,3271,294,4923,4124,12809,12446,12624,10460,11978,10194,11980,10665,3103,12574,12373,3497,7523,12517,12885,7526,278,3076,
7390,12667,1362,9983,11095,5554,7959,12836,9031,8381,11514,6791,8333,9284,12759,3328,3220,12943,12782,3530,2059,5955,10633,5583,9046,5585,2863,2871,9050,5590,2524,9053,11711,5974,9056,13013,8466,9034,12699,12534,12666,12731,12594,3315,278,2898,12762,12915,12633,12712,12604,12600,12934,12972,11436,12974,12866,12919,3179,12946,8183,3044,12842,2934,2246,12603,12867,3166,3513,7473,7086,12710,12814,12562,12548,12826,3482,6751,4163,11333,6982,3420,7930,6756,7603,8167,7606,7514,11714,3387,12939,2288,7940,
12817,1115,8036,11072,3334,12617,9126,7125,12934,12719,8032,7192,12722,12790,12707,12865,12730,12572,3053,12645,8994,12610,12521,12959,3344,8154,7543,8156,7545,9319,9321,4825,2521,9326,1880,4862,1417,9330,9415,12641,3509,12598,9194,2255,12606,12803,6779,7660,13047,2718,11917,8162,11335,7386,3064,2400,3073,3069,3071,1592,13130,6652,12696,12910,8161,11512,12913,4189,12864,12930,8068,12833,12543,2366,13083,3098,12805,12528,4638,12733,9264,3962,4010,12580,12626,3965,3497,12708,917,12881,12611,7132,6640,
12829,12601,13025,7326,13022,7398,3131,3316,12951,12908,12700,12918,11096,12764,12849,12564,12648,4697,12781,12651,12934,4867,8192,12938,355,12997,7237,12944,13043,12531,13074,1983,12799,12685,7681,3501,13077,2451,13161,9260,13171,13032,3334,13148,7161,13121,13042,12953,2934,13175,12583,13071,3492,4942,12650,6474,3328,7734,7238,7289,7346,8215,12797,7018,13173,2890,12546,13197,3201,12801,13199,12643,12854,7361,4313,12756,3215,13207,13056,13E3,13192,12752,9291,12756,13030,13122,12696,4937,4555,840,
323,3235,3697,12786,13019,3095,12891,3246,7267,7762,7269,7764,8199,4979,7273,8202,8049,7381,8051,12904,8053,12906,8055,12648,13185,13222,13262,8173,12057,7852,8557,13231,2334,12541,13145,7797,13057,13120,8528,12706,12715,13165,12777,12756,12761,12948,12952,12889,7594,13167,12934,12750,13150,13248,13117,13147,13097,863,13099,5583,12927,12510,11475,13304,13058,11238,6754,13063,6985,8166,7934,7607,7936,12748,13043,13188,12496,13152,12595,13143,10106,11737,12641,3396,13052,355,12858,9940,12860,12990,
12862,12992,13217,3168,13321,7599,8193,7601,3367,13065,13327,13068,13329,12949,12922,13224,4276,7345,7976,13228,7739,5074,12962,2521,12433,10433,10635,11971,10662,11958,10626,10496,12703,4368,10568,12689,12736,3476,12816,13055,13249,13312,2560,6842,13115,13038,2695,13114,7951,13310,2371,13218,3531,119,4895,10525,12847,2896,13046,13392,3508,12946,13163,3280,7655,12932,13023,3543,3475,3199,13234,13048,13164,12916,2002,13405,11096,3509,13041,7175,12729,13174,13178,13296,13024,1211,12982,8595,8663,10356,
5866,12149,6899,9144,9878,11361,12397,9022,6926,5845,12451,6269,9071,11169,12890,6300,12381,6838,10902,4810,1410,11200,11591,9082,9367,11408,8486,9015,9443,12079,12414,6857,1500,6874,6322,9752,11635,9883,11998,8249,9164,98,661,7955,5661,9910,11081,9866,12447,11996,10023,5140,11921,6166,12488,1511,1336,13477,13305,13027,1623,1890,4593,12072,13496,2771,13477,12069,12065,3584,1672,12955,11736,4475,2830,115,7394,7886,13501,13511,7121,7307,12925,13125,91,13317,12907,13497,12135,13513,13294,8107,13252,
9656,12135,7502,13059,9290,834,13354,7932,6988,7512,7935,10603,3625,13507,4489,12937,12732,1250,13477,4432,12609,11524,13525,7671,12608,13221,7913,13531,12804,7469,13086,13510,13498,13362,4391,8213,13227,12796,13367,6828,13516,7165,12832,8089,7428,13498,12741,10337,5435,5049,5562,5052,4706,2829,13498,13549,13555,13334,988,13548,12623,6216,6643,8516,7921,2108,11521,13552,7206,12526,13395,13116,9603,13562,13284,8947,7295,12135,13263,4971,12894,7373,4975,8044,12501,13271,4983,13273,8204,7382,4988,7384,
8080,13330,6970,1890,12975,12884,9854,12886,12979,13583,12135,12578,13591,956,11887,13157,4688,13623,13503,3185,12793,7736,13566,3193,13229,13530,4044,8117,12976,13628,12978,12582,13502,1890,13532,13322,7034,13324,7509,13356,6989,7513,7042,4177,13647,12702,13511,7331,8033,13151,13551,4817,8182,13212,2351,13570,8116,13154,7453,906,13592,8002,12222,1467,13494,8014,13586,13672,7401,13688,13413,1020,13640,3243,13094,9323,12498,12896,7765,12898,4981,12503,6809,12902,12506,13620,12508,13622,13631,115,3145,
9183,13597,7593,13351,13138,13061,13536,13326,13662,13540,8171,13506,8843,8084,10544,9634,13714,7757,13641,13244,12692,13643,13365,13567,7978,11816,2065,12985,13728,13499,7166,8078,2727,7170,12928,678,9205,6362,13477,13479,108,558,694,13596,13512,7918,12788,13550,13692,367,13686,4899,12751,13601,12668,13693,13655,13599,8179,13396,7135,13498,13495,13302,11475,13763,6842,13425,2770,13677,12048,13679,883,9266,12273,13652,13756,12870,13741,13517,8191,13333,13697,13265,8042,13612,13268,8045,8200,12899,
13272,12901,13274,12903,13707,12905,13709,13748,13725,2130,9789,13672,13526,8242,13309,13766,2924,13547,1890,13518,10531,13521,13101,13747,13606,775,12859,10337,11190,5382,11356,4802,6719,1708,11503,13478,686,648,13754,8564,8503,8836,9748,11500,967,454,1137,3550,5391,327,1673,6919,11508,8897,538,13851,2008,2544,8585,13858,3847,11062,1429,1691,8430,6093,1706,9431,11300,1706,13473,336,1711,10406,1605,3670,6528,392,11394,5432,11284,9727,8582,12678,8983,10327,3552,4377,3567,8589,11414,406,3581,409,8682,
12043,9856,9223,11507,9228,5466,8702,11660,12043,13904,7366,2958,13907,8700,6462,13910,4327,120,13913,4570,122,13916,6047,13919,5473,11046,13899,5790,11112,5448,12315,12348,12317,12282,8972,13467,6925,5980,12417,11605,12322,13931,6685,5485,5269,13885,13933,581,3065,11041,6910,7645,11037,3608,13844,11196,12449,13878,335,1057,1887,13854,9228,5412,3561,350,413,5201,1617,5688,7796,7428,10239,960,13963,329,11754,7813,6516,10833,5223,6496,12301,12241,726,994,65,552,450,7599,11248,12177,12268,9139,9793,
11671,6714,13869,9646,6169,457,1697,6011,13932,6013,11728,11443,3796,6496,13972,5109,9689,11779,6392,9594,12229,10423,8949,11660,14006,454,5246,5510,6443,6496,5094,840,5167,7791,5100,4023,5103,5689,3093,8505,6698,5411,13970,11185,13979,11434,11772,9791,8432,6496,5165,14024,5142,13965,5146,4636,5172,13505,9989,5400,13971,454,12873,12044,12034,13989,2814,5207,6432,6319,14046,6453,4716,13968,5160,14017,13964,14026,5687,4309,14030,3818,14035,110,14007,12998,6163,9602,1641,6496,5139,14044,566,14063,7793,
5148,7795,9591,8227,14075,7470,8278,6496,6319,8541,4713,8543,9664,14075,9606,9611,5618,14075,9614,14103,4784,14075,9610,5302,4327,1799,836,14110,4455,8652,6516,14113,575,14106,5247,14117,9480,6496,8101,5180,5145,5182,6516,5234,6431,5226,14038,12230,11990,5663,3863,6415,12483,948,5076,5070,11811,5082,6401,5085,9580,6355,9886,11270,421,11386,105,5731,13001,5369,13439,10928,644,10970,7974,32,2954,9085,9439,3547,6211,9350,11052,5455,8691,3536,6037,11723,960,12470,12600,5754,12474,7398,5619,13864,2351,
11793,10073,11716,5567,11699,11074,11371,11267,11535,13930,8263,9754,13954,11048,6880,6300,9344,9709,11344,11803,328,9512,11806,12392,773,11813,12153,8857,10753,14140,8190,9528,9713,12030,11831,2450,14217,10021,3608,12151,9871,14222,11126,2566,9718,12436,11084,11353,6579,11136,11088,11046,12160,13883,922,118,14187,7989,14170,5524,12518,14169,11647,6010,522,11431,9743,12291,13260,14173,11722,11056,11059,9483,8723,11036,9039,6588,2095,11610,4221,8925,9369,8927,4728,10843,12812,9464,11787,6163,12267,
2814,11791,6777,11757,9453,9769,8993,13813,5372,12371,12264,14273,8956,12087,12973,5564,14078,4327,70,14185,7989,11523,4526,8960,352,12371,11120,12235,11249,13035,2216,11726,296,8808,14051,9023,14302,14058,6238,3732,11399,48,10289,8677,8894,8577,10292,11638,700,14317,13944,815,3979,8263,12965,12969,11957,14330,11960,474,10299,348,10183,11171,10369,14290,10085,5653,10458,10634,10226,10645,10624,13376,10664,10519,8390,11199,13462,5684,10594,4232,4307,10597,6717,10599,11235,13069,12962,10189,11976,11967,
10648,10637,10610,10639,10604,10456,14343,13372,14345,12967,14331,14369,11981,1523,11742,5583,10320,8635,10324,4832,11880,794,11398,14388,6481,10358,10300,11158,2814,3746,1482,8842,1027,14056,6247,11772,10222,9828,10511,13156,14375,13374,11979,14378,10665,10715,11988,9402,11983,8681,14136,9135,9517,12482,12157,10735,1564,10732,12431,10736,14213,14421,11855,6926,11372,9568,12001,8605,10189,11378,10849,14373,10822,10824,10906,10988,10829,10991,10803,13977,832,10866,10917,11346,9162,3548,11547,11561,
11178,14172,13285,2071,11423,11900,7894,10307,1429,9985,9113,13111,10711,12399,9622,11857,3651,83,645,112,10510,11641,10966,2225,9896,11282,10865,11451,14001,2239,8788,14197,6406,12144,5421,802,8580,9756,13948,9966,8722,9931,9656,103,12311,1699,3108,834,3782,5657,9331,2800,14502,6906,1847,2969,13873,11372,13464,11163,8426,9752,13960,1671,10557,14406,91,834,10749,10679,44,14503,14509,44,4724,259,673,44,8876,1110,115,103,111,14525,14508,739,3252,14526,14540,50,694,9328,629,260,9820,4833,14506,7183,
6937,14524,14542,490,14529,100,14531,14533,921,14536,14538,14504,757,14541,14539,14565,14544,4862,14547,355,6657,12222,14492,6668,9758,14261,8874,3612,10122,14032,14253,14015,2770,14040,7230,109,563,4724,453,367,342,9210,11170,11800,11089,14469,67,500,1702,103,11501,12148,14325,9572,11856,14603,12209,3630,68,82,5845,12080,345,11202,5786,10718,13458,5194,6213,8288,2483,14615,645,9482,6703,6213,76,14624,4464,10718,10079,6703,6694,14588,14623,5123,6427,11530,14319,11894,12146,12411,12209,11477,5043,
8756,6603,12276,5265,5484,8145,6921,12424,9683,8499,9702,8485,14238,434,311,8934,13980,10423,1797,5137,8341,14509,5791,13993,12166,14339,14304,11463,14013,10472,14662,2632,14668,625,85,10742,12371,11298,13988,8397,14486,9809,4837,1029,10465,9686,2794,14077,13193,6974,7045,3461,14695,13772,4466,9951,4102,12640,7990,2659,14694,454,12691,7725,14707,629,14700,13818,2536,2794,8114,3461,13409,7556,14704,12762,8831,2808,461,13488,13848,8315,14433,9862,2521,8962,111,10105,10856,10784,10909,12203,2225,12486,
3759,10890,2900,6359,935,14448,9283,2095,10781,10876,14737,10989,10952,14444,10885,10994,10888,10912,14743,10998,10898,12484,324,14741,6952,14172,12778,14055,2839,12876,9305,12878,9287,9279,9334,5751,11570,5199,7024,11965,10337,13498,496,7810,9236,6619,4649,9332,9279,4923,14298,13258,3545,2814,555,1847,5135,293,10743,745,10745,14663,10477,12778,14710,1453,13280,14777,9290,5954,9284,9998,13076,4243,9029,12988,6797,12861,6112,9962,10134,9061,13534,2666,12771,4703,12840,1018,13183,9316,14809,9318,689,
9320,10738,14382,13106,2018,9327,9329,9115,13112,14796,6360,8345,12518,14765,8389,1058,10904,496,1419,13285,3348,10242,100,118,4464,10344,12377,121,14166,383,14765,12480,8848,11804,8851,8856,1699,304,11135,3699,8944,9452,1106,14836,13485,8874,8855,11352,11850,6219,8859,12030,11085,6579,12446,14211,14871,8888,14874,6663,14279,112,14424,12027,5390,10393,14898,12432,10815,12443,14891,14873,9677,10386,12441,6593,10754,14905,6598,14893,7241,14221,11125,11789,569,14872,14913,9677,11127,14428,14918,616,
14920,6089,14914,2342,14230,14218,14289,11488,14892,14922,282,2549,14211,10527,6598,11853,14924,13989,14927,69,14893,14688,14766,9630,372,14895,13332,13080,3874,13050,13251,5460,14895,7659,13295,4243,494,7722,3540,13417,7428,14952,8124,12705,4243,8952,10311,13181,5926,1809,3078,1754,13947,14576,13949,14578,9715,9746,4724,13563,7559,13565,13735,13645,13568,7018,14984,8058,13793,12892,2666,13610,13266,8043,13799,13614,8201,13616,13804,13618,13275,13807,13277,13809,6578,431,14806,7135,14895,9170,14619,
14297,3405,14180,9282,5559,14177,12564,8093,14304,14972,578,15013,1362,14963,7618,7464,13515,14895,7090,7155,13605,1217,13137,12372,13139,7713,12674,4744,913,13254,8526,2941,13216,14884,12247,2239,12249,1623,15035,12924,13823,13522,7355,5562,13225,7100,5563,431,14735,14804,1149,13401,9251,13050,13422,2770,15031,12633,12702,15074,2897,3477,13386,2071,6748,15062,12694,7561,10332,8945,8123,4489,12492,4470,13508,15070,13165,14957,3102,7359,13573,12063,12049,14344,9730,9242,12627,14993,13669,13085,12806,
9282,14993,13343,14817,12742,7962,9961,13018,5232,14964,12571,15093,13420,2003,14966,14875,11758,14281,1159,13050,13667,14895,7906,13031,7566,359,1671,6250,12436,8478,431,8493,260,262,1889,121,7025,10477,290,13726,12618,13676,14895,12552,15098,1769,12597,13600,14958,15087,7468,7421,13560,5926,14993,7563,7139,1466,13554,8223,3535,15077,15050,15170,2077,12640,14584,14987,4954,12695,6016,14842,9745,15056,12960,12640,14976,1253,9998,15163,13073,15080,4661,12716,13291,1196,14969,2441,14958,13509,13733,
12851,5563,14586,7729,4907,7240,15055,15087,11,13633,10445,13592,834,9735,791,12222,2082,9998,5132,13696,14284,10769,960,10697,12575,5769,4446,13817,15157,14876,12821,5684,11157,2839,8515,6620,7030,15130,15192,15153,15086,14876,13775,15193,858,15189,12846,4475,15077,2148,15079,15245,5926,6088,15052,996,15054,14951,15087,7910,12687,13671,4526,14993,1892,1875,544,14927,7610,1637,15029,594,15185,2818,13785,13650,12205,13788,8781,13165,6840,15130,13411,14457,9603,15151,15068,12727,15150,15087,9998,12041,
14278,15257,15167,13412,14181,14968,15148,14954,15030,12612,15076,13050,15279,15158,13687,15168,14620,2222,15218,7989,8011,14283,7398,2612,15083,4393,5784,11332,1663,3548,10005,14605,34,14294,9282,1637,14622,10243,13091,11698,5765,14640,14236,11587,11013,3671,7816,14476,4781,14037,9837,14673,13338,13866,14671,6065,13995,11230,6098,13997,1705,13999,4139,6375,4317,4710,12111,11947,15123,8789,4346,3548,9964,14493,11043,9968,2022,4330,10679,12165,5377,15342,12178,8789,5994,6970,2157,798,9693,11459,15372,
13990,10118,294,11565,5771,2175,5422,8525,11779,11682,6210,4411,10290,12424,15393,14829,2854,14132,9301,14311,11772,6304,278,4744,6656,576,629,1419,115,2221,1516,3776,14400,11028,14894,15087,15038,6094,1299,6874,6410,1277,11226,9429,11228,10598,9436,14385,6077,8636,11224,2342,11004,2225,13924,9353,6024,613,8689,10743,8521,14033,9586,6502,15025,13338,4078,103,1516,15442,6491,15415,4564,10521,4231,14286,14803,15341,12236,14290,4314,10144,10522,825,608,5239,12105,4576,4708,15355,6377,6213,15171,13590,
15209,13635,32,15211,8977,679,12222,14835,13785,3393,4635,5354,14858,837,686,7851,8176,6900,8965,13034,13338,11183,753,5141,1588,99,70,1847,643,15387,14490,15452,11619,11202,13451,10797,8376,11206,9431,11209,9094,5563,6906,1678,14499,11557,9855,14148,1678,8209,3611,14086,13967,14090,2758,10539,5755,5225,15400,14338,15460,15026,11329,11554,12518,1713,11176,11330,10348,6792,6050,4770,8664,11672,4526,10473,15253,1015,1713,9170,15255,1588,14155,1313,12764,4539,9818,10221,2099,14978,11019,14260,9967,14496,
335,120,6895,12023,1391,11581,11197,1528,294,15017,7398,15483,12649,9688,11755,5131,6213,78,455,9841,1781,115,14769,15389,9790,575,1900,85,13449,4628,10908,14753,6032,14656,9701,8556,14685,5359,12334,616,5363,14655,9700,8500,432,4707,15354,4099,5212,15485,15584,12255,5391,2700,629,8689,15363,14980,14494,8737,15569,3948,15546,9729,15210,963,15212,1188,11550,3783,15394,8552,11697,5275,4411,15520,15275,1033,8496,4411,11340,15198,4260,11245,10850,15401,14135,10712,11802,11847,14890,5231,14927,1713,14946,
14907,12440,11903,12442,14943,14912,13876,308,15664,1480,8757,1569,14432,14151,320,119,15595,100,4738,1883,11539,9311,11388,14160,376,1064,6552,114,51,10987,14752,14443,996,15690,8274,15693,10997,296,12472,4586,10995,14919,551,837,120,52,3060,11195,1653,15707,14154,87,15681,14762,6283,14437,12407,9599,15681,5641,15684,11553,15686,10968,15688,296,15698,575,15700,5027,15695,10990,15697,318,15732,15711,14445,14481,15574,15714,15709,15740,10885,11330,15708,15716,690,14746,10960,5736,10924,14477,11354,
14159,10930,10971,10933,10935,3035,3189,10938,15763,3440,9114,9420,101,271,571,12089,125,124,470,5605,3666,15735,14754,15737,15691,15733,14760,296,14446,12090,14758,6216,3620,287,14164,454,6078,15701,288,15518,652,10960,11380,9159,5736,5834,11613,15546,371,15687,15759,14162,15792,413,15794,15734,10827,15601,10911,1015,15731,15692,15746,10914,11290,14747,15500,14440,10926,15728,15808,1302,1713,14927,14800,328,2541,15791,3364,14165,15812,1863,15779,14739,14755,616,14757,10956,10913,14761,14747,9651,
15832,12671,10967,15758,14161,1302,571,15835,435,15793,6825,401,15840,15816,569,15818,15783,15712,5275,4550,49,10805,2239,15865,15820,376,15786,50,15718,11385,3739,669,728,6214,15717,14158,11389,7148,15881,15708,8530,15810,8637,15778,15814,15696,15789,6911,15857,608,15859,15874,296,12479,10835,1862,5857,14797,13959,13438,1608,6414,14143,12483,14145,11192,10530,13877,6606,14660,6413,15339,15533,11152,14672,15536,13338,5123,15750,1900,1883,9670,14155,15561,6838,15509,11204,8438,15513,9091,2700,9202,
11206,2616,15368,6859,14664,8478,632,15375,1973,15378,12202,12167,14059,15391,4606,14582,14079,5354,15531,14102,14111,7164,11057,15593,8099,14179,9080,9296,11147,13994,15426,14359,15428,11235,1901,9102,8209,15546,14097,5510,15453,10864,4550,15961,6509,6210,4550,14115,5353,13976,5291,14121,15986,15956,15398,15340,15655,10423,15531,5314,917,5316,5330,5320,15348,619,5323,5325,5327,5329,5331,32,5319,5334,5338,5318,5335,5330,8389,15445,12785,11668,4352,291,369,9112,7493,12059,15797,268,15645,13787,15647,
15523,318,11721,3792,15997,15535,14303,15496,15538,1410,6874,15541,16043,15544,10118,552,5825,15930,5631,15998,8478,15581,7111,15549,14181,14101,15968,16059,5407,5306,16061,15021,11213,3728,14353,8995,11615,14019,15990,4533,14109,16065,4475,11795,16023,6578,6213,15928,6970,557,14154,648,15933,6703,15639,1566,7816,15642,15493,6902,15446,15373,11244,11798,9823,5759,15381,1294,1862,71,495,10149,12310,308,12076,15410,16091,8793,9345,12098,12125,120,12134,12202,1910,5354,670,105,10408,15418,12117,12093,
9216,9381,15982,5355,9204,982,777,15329,617,12092,12119,6158,11659,6491,16119,12106,12123,12110,2221,12127,3056,2681,16129,4547,10928,11702,8432,12131,10679,12100,12102,15467,16149,16143,499,15560,6523,5145,2677,15415,9900,12075,14509,16110,15641,11164,288,12478,955,1009,14728,8580,1936,12764,15269,4313,12648,14776,2465,14810,1115,12835,14824,7371,9942,9065,5436,14789,9293,9285,13776,3284,8520,116,14793,7610,14844,14798,110,14800,12263,10523,15458,16079,726,12648,16181,3398,15309,12850,7730,12852,
12778,13281,15956,14812,12825,5926,14814,5931,12987,16189,8380,6719,5940,13347,15064,12690,14292,11571,7239,15178,13092,15308,15312,13403,109,13180,16215,13182,12872,14466,3419,14771,9306,16194,9298,114,13184,14832,2351,13103,14878,10261,14838,2518,8279,14841,15769,3076,13247,14715,5022,14745,6361,14847,9338,6951,14849,9145,960,3594,14853,4998,14856,14858,5786,14860,385,10326,9922,7837,383,901,823,14878,10026,4710,14691,2808,3774,6969,9998,16294,10517,13626,4930,12977,1954,8022,6346,16295,3979,7211,
15237,12050,773,934,7518,15100,14374,15102,8003,9243,13653,16300,10465,12704,15196,10377,16314,9230,3078,9998,928,2890,13415,2197,12640,16322,2808,7121,6959,11215,5583,13140,4590,6663,4292,15418,16336,2993,16338,16311,12053,2829,4292,13504,12855,8993,3829,16328,3105,4046,12466,9234,4742,15044,6967,14822,1847,9265,15274,16033,12519,10593,16308,2525,14974,2071,16331,9259,13432,13732,16376,16327,13239,8061,6943,882,10517,16338,15475,4684,13594,15103,13159,5232,100,121,12697,13433,3292,305,16396,15281,
8405,16357,12561,7285,11776,16332,7485,12567,16335,16386,16323,7696,13784,11158,3963,13158,7701,9416,14600,10732,15552,569,15255,494,16395,16324,2321,8037,339,16408,13232,12758,15184,16400,7284,16435,16395,15208,16390,4011,12581,6204,16327,14953,1429,16347,4755,16414,3078,4584,16361,12672,15043,12914,8190,16431,16358,15272,16416,14520,7499,8389,15,16412,2808,7110,16245,15251,16445,15195,16429,13908,16458,12981,16380,15191,16439,16350,12070,8781,16478,13298,16398,16481,1824,15092,13676,16353,13731,
7735,13364,7015,13366,13737,12435,16373,2797,3461,16213,16356,7451,7463,15119,16430,643,12620,16484,16385,16497,629,14719,16438,16486,12592,16241,5695,16465,10202,15297,143,15070,16439,12883,16303,13651,16305,7948,10384,16482,15121,13667,4292,13690,15306,10073,16470,15089,12956,9282,16377,16507,16476,1236,5726,578,7610,16426,16396,12612,4923,666,16367,4646,12911,10337,16342,12675,16509,16387,13758,16415,7945,16525,16371,16344,3813,13608,7266,14998,13797,7055,8198,13800,13270,15003,7061,12505,7064,
13621,8157,15525,16474,12570,12702,16448,10456,16310,13090,16521,16548,16588,3231,16518,2525,16349,16591,2770,16585,10442,16487,5554,16382,16583,16508,11819,16582,15278,16411,16510,4125,16450,16359,4929,6874,7246,16307,16301,16479,14050,5927,16382,16523,16614,16306,4520,13656,13352,10337,13719,13661,13539,13328,13541,16620,16357,16375,9603,4292,15111,16228,11513,15114,7964,14821,14930,16609,16446,16592,16609,16500,446,16532,13514,16197,16394,16590,3316,16550,14600,9729,13683,8004,16485,16475,16134,
4078,16606,15032,13572,16312,16528,16514,1939,13381,7398,16547,7417,12640,4520,13079,16403,917,16680,16648,10517,16297,14698,14708,413,16650,1623,4292,12512,15198,9450,16652,13764,15226,16684,10465,15131,13529,16651,3813,15106,7447,15108,16517,16609,16440,10107,16391,16319,12627,16666,16506,16402,5622,14600,15187,16489,13743,8155,13745,15010,16691,16704,13674,14961,4533,16692,16471,2002,16681,16432,13289,16410,13501,16377,12768,13344,10337,8443,9943,14827,16193,16372,16685,7088,16512,13501,16598,
11947,7144,14713,14709,16235,3535,16752,16388,13759,13691,16675,16436,15040,13060,7370,6964,16455,13141,8882,16609,7121,16750,16654,16752,14699,16756,14696,9084,16407,16378,4949,1770,15345,10688,16041,16096,16645,16748,7416,16717,16597,16593,2797,16339,15318,16362,7573,16770,16420,2426,6159,12243,742,15255,16715,16735,2454,16542,5114,16781,16636,1236,16759,2566,16330,16602,16503,14791,16794,2982,15047,5551,16818,16530,16604,16726,625,15036,7747,15126,16457,16716,13649,13627,15646,16564,16605,16834,
16415,16340,6797,16556,15045,6763,16667,13206,16134,16679,15311,13189,11717,16821,4322,16223,2071,16752,13585,16534,11390,15657,11991,16322,9526,472,11217,9741,14210,14932,12398,13487,13847,6894,11860,15678,8373,6289,6266,3660,15861,15894,15736,1015,14727,16874,15795,8704,15705,10592,16887,5559,1529,15904,11174,9621,3670,15909,16877,10667,14939,6470,14878,16901,11851,6574,4532,16904,14204,6580,7826,9538,12026,14214,12576,12426,16908,15659,16870,13444,5980,14431,13491,12040,13974,6478,5521,14553,7677,
16040,14312,5389,6088,1555,1379,3864,12043,15946,10286,12173,11652,11788,16931,3386,15636,294,4082,9994,14301,16930,11772,11783,14251,8284,12266,14933,15343,14287,10590,11772,608,299,12244,16804,12246,16804,1088,15255,12256,9394,11689,16942,11772,6088,14680,1674,6024,15606,15924,16787,15382,5106,5037,14133,16972,13981,5927,605,16975,14682,12370,15220,16978,15371,15925,16788,15256,14876,15418,2082,12265,9596,16956,16996,6944,17001,8936,14925,10526,1862,11372,8580,5992,8695,1088,13860,731,13402,2529,
8279,8235,281,3690,13879,379,394,13882,12389,13442,11815,16871,12143,8582,13447,273,7847,13890,13880,17036,5876,16538,16996,9006,16836,16370,3578,393,381,11588,11101,9618,6402,15908,15322,16099,4088,5354,7916,16058,9282,6518,15965,5282,679,6908,13845,13923,16035,9809,9628,17046,6691,17012,15955,11685,11297,14659,10032,15350,10040,10062,6109,11305,10058,10042,6123,10044,11311,11308,10048,11321,10051,6189,10064,11319,6192,6194,10060,11323,6145,6143,11326,10068,2022,13449,11565,13576,2274,13891,6725,
5654,9656,9216,17107,8592,17109,14480,15822,3691,17116,13889,8146,2348,16174,17053,14647,6870,15290,9601,6443,3915,6017,629,16118,16129,9593,5155,12260,8478,820,512,15527,14072,14066,6943,3405,13972,5143,3816,4307,9589,14073,12615,16163,5129,16166,9617,14146,8252,16896,14198,34,8488,5657,323,6422,8776,14070,5169,15528,16619,9687,2556,14009,6554,6603,6422,8670,3069,1822,15436,8580,10675,14896,8406,16959,16986,11780,15414,8286,431,16813,1362,14908,15667,806,9994,6207,6714,10277,9431,10277,7608,8551,
1676,68,10331,9565,6682,15936,17126,5673,477,2400,14979,16028,15628,11044,5074,7037,2640,6362,8602,972,14473,10510,11644,1726,14472,12180,378,14511,14192,335,11974,9016,8825,10767,16206,10745,12396,17030,7018,8339,8955,16908,15271,1339,14931,14226,6828,17238,14285,9117,10224,16914,9042,4711,11829,14943,14763,1865,16273,8324,16923,1536,1683,16674,12790,15957,6474,1683,12290,8069,834,15233,14573,5911,13484,9442,14514,8813,5855,1512,109,14974,7974,6218,8864,2035,12691,17287,15205,14305,5912,17192,2536,
1683,16690,17294,694,15090,4518,13002,16152,9323,8451,11706,13010,1721,5967,13016,11710,2871,11712,9198,17289,2002,13836,14322,11696,16112,15322,3734,98,109,17215,9981,14577,15568,6345,11017,15626,17216,15365,15630,3680,112,52,17327,7883,17329,14495,8854,327,15321,14274,17003,16981,16620,16516,5926,15202,7398,11034,14259,11042,9777,17343,8874,5356,741,12518,8425,1485,13472,11029,3703,17174,13922,14191,13475,461,884,431,14201,17211,5274,17128,7806,8657,14130,3727,12305,4713,8615,8611,7824,15391,11677,
4636,5354,9587,10390,17151,17144,11225,14381,10390,8623,15427,10322,8644,15977,8648,8628,8640,14400,4924,9966,8634,15428,17404,11406,3344,15424,8622,17412,11228,8519,3233,8650,5952,14123,4606,8296,11464,5681,17424,17175,15333,14609,16895,17205,17072,15322,1637,12463,4526,1637,15020,6700,6213,15023,12739,5577,9813,14626,15435,9811,8560,12357,9814,1328,8562,5786,16032,12313,1285,13924,17447,6315,7180,431,4451,11060,366,1883,6908,13519,14295,14189,14627,120,9670,17472,4243,15571,17006,16786,16943,6763,
6228,14184,11529,11167,17406,17452,17448,2239,17460,17488,11729,11741,17408,9430,15973,17402,9437,8418,8645,11744,8468,11245,15587,291,258,11616,16994,16980,2814,5123,17441,5926,5123,17444,14458,12462,5569,114,17479,6498,16995,17349,13961,3942,17426,15562,8544,4125,14296,7398,17515,17485,9819,6213,17465,2622,17105,11203,9667,5766,55,14099,4526,436,17508,15981,16129,6234,17505,114,17507,5676,3552,17489,17059,7535,5754,14633,15958,6516,6694,13450,15989,5829,17562,17539,108,15993,16073,12663,17568,15985,
17571,3535,10235,4558,17521,4235,17348,5381,17568,9636,16076,8278,16937,17538,8628,17475,15331,9408,8286,9560,16209,14288,17008,15926,17443,17534,4570,1703,17547,3945,8266,14080,1362,15282,1236,14464,3801,17061,15332,12427,11991,15786,14139,17260,10741,16991,10744,11762,17241,11807,7018,17252,15220,629,4823,279,14235,17371,12400,16875,12403,8605,9669,15756,16881,15600,15895,569,2544,16887,15786,15878,4924,11863,11384,9160,11379,10923,8274,7855,17638,10950,14738,15863,616,17643,15846,15785,10915,9162,
7110,9705,8769,11859,14318,11046,11479,15336,9674,11104,9852,6411,9910,9781,11833,17029,17624,17261,8748,12450,17265,320,121,17560,13914,17688,4580,5471,17690,11679,8272,9362,9498,8224,3829,1883,17697,3535,122,17693,8075,118,17704,17545,17699,111,6996,15756,17557,8278,17074,12255,17076,2839,11300,17080,10034,6106,10056,11306,6125,11309,10053,11309,11312,10043,17097,11320,17081,10057,6191,10061,17097,10066,6198,17100,10065,6196,11307,5563,11023,6299,16334,13501,10070,17527,13905,11611,4319,17750,11530,
17433,649,13881,11537,13943,17449,8552,4178,12426,996,10291,11897,17682,411,11099,13896,17320,10297,17770,13882,11422,17760,15872,6025,17414,15579,9282,1165,17764,15817,14323,11413,8894,17774,461,12326,14644,12419,11985,15919,11005,6926,14650,6560,3617,12353,11532,12355,10757,17638,14767,643,9208,745,9210,9181,8952,8069,2071,15324,4475,14277,4492,17531,6480,14948,6331,327,15378,17125,17614,11143,17752,11994,14879,11038,1675,17829,14939,15914,9619,13959,17034,743,1058,12792,13732,14162,7290,738,2119,
16072,5219,6516,17188,13340,13501,17850,17846,16856,1115,17136,6394,15459,17510,5882,1058,17847,5693,6429,1839,2221,15050,322,97,2155,16710,7459,7860,1839,17142,6454,15529,3977,17869,3343,7881,15418,401,13450,5834,17871,16389,7199,11482,3737,17062,15310,361,6696,12043,2155,9998,5127,16925,14020,15991,1839,5236,6996,11564,17895,17752,17881,12056,15418,822,982,12202,10777,6296,9431,6277,6296,287,1802,360,11565,8005,1839,4413,16678,591,9429,729,8441,16006,9324,17930,626,14588,4723,9692,10179,5515,7579,
12831,17882,11759,3857,10299,17906,108,17886,7580,17596,17481,7894,17840,17854,13760,15313,13313,17154,6478,12046,16236,13226,14989,7292,16495,17243,13097,17943,16832,17839,455,17851,16654,684,17866,1655,15359,14334,17908,2119,17872,7625,5221,1839,15050,17884,11565,17949,12831,4923,17188,17585,2071,8836,13504,17150,17170,16355,8474,17981,12064,17150,7794,14089,16619,10473,17989,13480,17951,11772,17869,17876,14065,17878,4719,8306,4082,7899,17859,17952,3666,17885,17896,17958,17842,12794,3191,17984,
11802,4147,12272,17458,746,1567,17823,1603,17068,10874,1839,15638,17305,13520,4850,10132,15478,368,6112,11945,10354,454,18013,14049,17999,17945,17980,12831,7287,18027,4877,738,16778,9641,16926,8550,17122,13929,13938,11455,13940,11907,8825,14881,17256,14427,17830,11139,11856,16922,17795,5615,17900,9448,17130,17752,11700,15923,18064,4507,14247,9347,17222,11115,10854,11562,10216,14255,7670,15967,2622,14306,5029,14003,498,14241,9282,17815,15251,16227,5558,13346,14820,15116,5763,17591,9383,3041,9958,13520,
16743,16192,5910,15397,8448,18042,11512,13006,8456,13012,5969,13011,17311,17314,13014,2881,9057,13017,5439,16633,14240,17541,13077,6879,9678,12413,17377,9727,14635,345,11963,9182,16257,11631,6362,11489,8209,11940,1379,102,10105,8135,11706,9998,17353,12538,17573,10154,18151,12493,18101,34,14308,17350,16852,17545,18157,79,18159,3733,5530,1112,16087,9084,18176,18178,4666,18161,2874,7285,8996,1754,8999,13285,5244,18184,18160,5265,9378,18188,12640,17257,10406,2857,2968,18128,18132,17094,18129,8462,17313,
8462,9059,6572,14621,14636,18150,17812,11158,2071,2861,648,18158,18196,1742,18198,605,7893,15675,6726,1502,6529,17026,17346,18080,18228,10011,335,11602,11598,323,14613,14202,11802,1019,9021,17768,11047,10776,10026,17992,9192,10651,12678,8584,1544,11650,12225,15455,15851,17347,17597,16996,14675,17138,10286,18107,15081,11222,3970,17584,10080,335,12385,5651,10299,17805,14950,949,6317,9209,9211,18217,12142,6926,18273,11289,10855,17024,17047,395,10083,8580,14341,12378,10569,11977,14408,12968,14410,10519,
6579,10903,15041,13061,3825,1939,457,2521,11946,15587,642,10660,18297,14377,14346,11972,11961,10457,12407,14365,13373,11968,14347,14332,13378,14412,11984,10138,10213,10140,18327,10142,10332,4728,18302,16766,9195,619,18305,3827,9297,11946,11735,18312,18322,14368,18315,14370,10553,4756,11954,18296,18345,13375,18324,10440,14380,13823,14383,15974,11751,7180,8849,18335,11681,13657,8526,16348,14404,18344,14367,18354,18299,14333,1091,18231,381,17037,17025,18377,18317,11364,831,15132,13733,11955,13377,10515,
18355,10615,14951,18334,13456,5223,17715,12475,16862,6280,14419,9537,14901,6535,14897,16914,10730,10737,14885,17250,16920,5475,11267,15677,17635,17035,9571,11273,11379,14435,10789,6770,11381,18369,10849,18382,6597,9577,18230,6540,15434,18080,8504,11701,13823,13005,13008,17308,5976,11708,18136,18210,5977,8467,1598,14597,13955,9069,15335,11016,15970,9642,15972,17932,18359,17498,15429,11236,890,18447,1391,8753,15642,11017,11987,18331,14595,17785,14415,17800,8474,9502,14134,9132,9508,14203,10918,14898,
11253,17833,16919,9139,17623,12392,17821,18412,9888,18415,9890,17649,15800,12408,8670,11674,9146,16966,14605,5082,16964,17772,3568,13839,17825,17028,18481,12438,9535,17259,18076,14429,5980,13853,18038,9924,5274,11718,8386,3695,8388,8384,15577,16068,10863,4243,14588,17398,14686,16986,11161,8791,13465,12145,3710,13992,16993,5100,15347,11299,15350,13872,537,11656,8401,16138,17018,5926,9474,577,9427,17416,17411,18454,15975,15431,14387,11872,17778,17321,9444,9405,4778,14659,17713,2071,8433,16627,8112,
15653,9129,15380,17523,2814,16078,16950,16986,18545,11775,8483,10031,6554,17801,5648,17803,6514,15322,6234,15543,99,9167,17688,15486,17562,17446,17492,3545,18285,17461,14004,17563,17106,15756,996,18285,17111,11760,17487,17455,11781,1015,18594,18592,14067,5162,729,18168,17561,9480,8306,9628,6874,9901,9166,12354,5789,9170,9628,17503,2035,885,99,11963,18588,5192,17135,8306,5314,501,17375,18599,18607,18621,9169,18275,15822,18255,643,3843,729,6055,2348,16938,12575,9820,10311,18587,17754,14079,12129,4570,
17183,262,17589,5291,9831,4549,4808,18649,15461,18592,12384,18639,12356,18605,13112,18651,578,18629,18654,17129,6516,338,7048,18282,17892,15109,3724,17468,5904,14190,18078,17233,303,8532,17824,18038,3843,13902,14463,1429,17612,9219,14468,18445,14470,1726,11560,10686,14455,14950,18266,1115,11217,709,1604,10678,1358,18533,17522,17860,5389,18114,16268,10069,18696,2351,11551,15640,17205,461,18698,9672,18700,17161,15502,3950,1723,10828,10641,17673,11402,15322,17183,16057,16955,18261,17349,1637,1395,16468,
16857,2095,17132,3864,10908,10389,17186,14665,15666,4837,3938,17197,11031,6452,17525,448,6717,18762,13069,11951,15266,18471,14596,17067,18737,17121,1502,18291,6940,86,2727,7627,339,5887,10026,4353,3069,13006,18182,4533,9371,1516,6024,18606,12575,965,323,18564,13520,684,279,745,982,3071,823,9042,277,11946,15597,18523,18351,14366,11913,18314,14376,18374,3680,8394,12292,11579,3970,65,14858,1847,16984,16210,6871,10397,11666,15222,15461,12226,4319,10522,18819,2058,18822,10423,4124,77,18815,15101,18389,
10647,18810,18813,429,3591,3593,14852,9992,4193,3590,3592,282,16278,9992,2800,18850,18846,3595,15235,4728,18827,14304,3839,10529,5677,18832,18821,15534,8478,5793,117,17222,8820,6332,11100,11961,10629,6377,18838,16317,18840,11970,18353,14379,474,16154,259,17579,16100,18569,4301,17247,823,16297,10282,16958,18742,18021,10553,11136,2539,1875,4860,4851,10609,18347,14409,18906,10665,10699,10430,674,18866,1591,17470,13338,311,304,14564,7610,3797,4663,4304,9088,1756,13490,6797,10405,9094,13630,8948,327,9194,
8176,2639,643,577,114,15825,18010,16986,14555,11569,112,6639,1588,432,18861,13338,11951,367,18634,18794,13717,16767,91,18797,3819,18800,3370,6657,18803,13112,4124,641,982,18901,4849,11666,18370,18842,4071,10663,10548,18813,4124,18877,8282,18825,18904,18839,18373,18972,14348,18974,13378,4847,18902,9373,258,1875,1809,5316,2012,11942,3833,6330,6717,18994,5541,18996,3551,13069,3839,18913,18834,18869,6535,16948,3561,5956,4307,511,16291,545,6717,19013,866,631,3305,4077,18979,293,19005,18868,10286,15858,
17105,17133,6362,11076,6825,1210,5693,5513,282,107,2389,18943,18945,10421,14287,18869,8849,8341,4553,108,18888,6155,17187,4234,11627,16304,14521,963,18987,18968,4731,2443,14785,3409,11109,11891,18397,14418,17630,14882,6947,6905,837,18953,4019,18506,14231,14883,17626,17621,4232,19074,19068,2529,2526,17940,67,14850,19078,18479,1778,16885,386,18484,371,5736,65,12135,14784,354,11041,15807,10970,4599,15893,17640,16883,17334,9777,15867,5342,14747,8964,14858,354,18233,17639,10951,15841,996,1721,58,40,41,
32,61,62,1417,3972,11745,15867,846,343,8790,14747,18044,354,262,18085,15885,15729,13474,17633,19102,19115,17658,17341,14981,15784,14930,327,115,78,8314,14747,311,19135,17940,18177,4837,19148,15806,15827,10970,857,19141,17657,15567,19128,9089,19149,19151,15788,569,18079,15867,2867,17940,17646,4220,14691,19154,14639,273,17656,15815,2225,19172,10803,19174,6383,14747,5736,66,10409,19167,19150,18521,15757,15886,8023,746,19031,15694,16882,15780,15627,8621,19166,19148,19194,6029,10812,5784,8234,17376,18430,
17379,7801,17606,1796,17587,15452,17429,4790,8612,17389,12253,17391,17382,1524,17384,3056,17386,9586,17168,5202,17143,18015,1570,18524,6714,17400,17497,11749,17403,17419,17405,13450,17407,5316,19240,17932,14384,17413,11225,8639,10318,18549,19242,18552,8648,17421,15583,5836,19217,4313,18676,17380,9696,12159,11640,5984,275,12164,11476,1571,15489,15916,6405,5042,18430,8426,18270,3381,1485,14593,542,17993,13602,9216,8796,15950,292,742,17016,517,15588,1673,18665,9463,12089,858,1485,17438,14181,9635,17600,
9659,9216,19284,11170,18561,1453,1485,19289,15377,19291,17015,13583,9216,19302,15109,9660,13676,9635,1466,107,16548,17058,18568,18717,5824,15787,726,1485,17513,2255,1485,17516,5417,17157,15915,13959,17756,308,14324,18146,922,18293,13285,10558,18812,18983,18881,10507,18318,11907,14329,18982,18388,19357,18390,18976,10655,17753,837,9201,18970,11959,19351,19359,12222,14351,15578,16069,15169,4191,17041,18385,18352,18371,18907,19350,18356,14371,16599,18319,19356,18908,18811,18313,18813,11253,4825,11747,
14384,15975,10179,10381,10360,14394,5233,274,1887,115,19048,14401,16986,14403,18475,18981,19387,10561,19381,18390,18724,16090,17762,6016,18467,17891,18329,19418,11989,19064,5430,11351,11259,11353,14523,259,10751,18406,10725,18399,13484,16908,10730,18403,17618,1653,14426,16903,19087,18444,15918,14150,18413,17647,15720,11864,3609,15880,3783,15931,16086,17270,19099,12559,18418,15433,476,15378,17700,551,97,9964,19456,296,9313,10842,10509,10845,18421,19408,18490,18237,15384,2727,327,9699,9684,9479,10026,
3852,4261,83,9691,625,14516,6059,17593,10667,4307,19483,370,9104,115,4261,44,102,10469,97,13873,19479,14657,15605,6371,125,19252,3461,16210,10268,14954,14040,9502,5524,16272,8203,9851]});
define("iM",["require","es","py"],function(a){function e(f){var n=b[f];if(n)return n;if("string"!=typeof f)return b[f]=function(){return f};var q=(n=d.exec(f))&amp;&amp;parseFloat(n[1]);switch(n&amp;&amp;n[4]&amp;&amp;n[4].toLowerCase()){case "vw":return b[f]=function(p){return p*q};case "vh":return b[f]=function(p,r){return r*q};case "vmin":return b[f]=function(p,r,t){return t*q};case "vmax":return b[f]=function(p,r,t,u){return u*q};default:return b[f]=function(){return f}}}function l(f){this.mb=f;this.VK=this.VK.bind(this);
this.mb.bind(c.tc,this.Ic,this,!0);this.Uea=new Map;this.IW=[];this.Ic()}function m(f,n,q,p){var r={};r.instance=f;r.bbb=n;r.name=q;r.value=p;h.push(r);g||(g=setTimeout(function(){g=null;k()},100))}function k(){g&amp;&amp;(clearTimeout(g),g=null);var f=h;h=[];f.forEach(function(n){l.Q1(n.instance,n.bbb,n.name,n.value)})}a("es");var c=a("py");l.prototype.Ic=function(){this.s2a();this.Uea.forEach(function(f){for(var n in f)this.VK(f[n])}.bind(this));this.IW.forEach(this.VK)};l.prototype.s2a=function(){var f=
this.mb.Cb();this.I1=.01*this.mb.Za();this.C1=.01*f;this.UAa=Math.min(this.I1,this.C1);this.TAa=Math.max(this.I1,this.C1)};l.prototype.VK=function(f){f(this.I1,this.C1,this.UAa,this.TAa)};l.prototype.T2a=function(f){this.IW.push(f)};l.prototype.p9a=function(f){f=this.IW.indexOf(f);0&lt;=f&amp;&amp;this.IW.splice(f,1)};l.prototype.Q1=function(f,n,q,p){function r(u,v,w,x){n.call(f,q,t(u,v,w,x))}var t=e(p);(p=this.Uea.get(f))||this.Uea.set(f,p={});p[q]=r;r(this.I1,this.C1,this.UAa,this.TAa)};l.ld=new Map;l.get=
function(f){var n=l.ld.get(f);n||(n=new l(f),l.ld.set(f,n));return n};l.Q1=function(f,n,q,p){var r=f.get&amp;&amp;f.get("application")||f.Db&amp;&amp;f.Db();r?(k(),l.get(r).Q1(f,n,q,p)):m(f,n,q,p)};var h=[],g=null,b={},d=/^\s*((\+|\-)?(\d*\.)?\d+)\s*(vmin|vmax|vw|vh|px|%)?\s*$/i;return l});
define("mS",["require","exports"],function(){return function(){function a(){}a.bja=function(e){if(this.lg("crossorigin",!1))return!0;if(this.v3(e)){var l=window.location.protocol+"//"+window.location.hostname;window.location.port&amp;&amp;(l+=":"+window.location.port);return e.substring(0,l.length)!=l}return!1};a.Jy=function(e,l){if(this.I7a(e))e=window.location.protocol+e;else if(!this.v3(e)&amp;&amp;!this.wB(e)){if(l)if(0==e.indexOf("/")){var m=l.indexOf("//"),k="";0&lt;=m&amp;&amp;(k=l.substr(0,m+2),l=l.substr(m+2));m=l.indexOf("/");
0&lt;m&amp;&amp;(l=l.substr(0,m));e=k+l+e}else e=l+e;this.Bn.href=e;e=this.Bn.href}return e};a.t7a=function(){switch(window.location.protocol){case "http:":case "https:":return!0;default:return!1}};a.I7a=function(e){return 0===e.indexOf("//")};a.v3=function(e){if(!e)return!1;var l=e.indexOf("://");return 3&lt;=l&amp;&amp;5&gt;=l?!0:0==e.indexOf("filesystem:")};a.C7a=function(e){return e&amp;&amp;0&lt;=e.indexOf("/pdfjs/")};a.getDirectory=function(e){e=this.Jy(e);e=e.split("?")[0];e=e.split("/");1&lt;e.length&amp;&amp;e.splice(e.length-1,1);return e.join("/")+
"/"};a.Dj=function(e){this.GJ||(this.GJ=this.xsa());return void 0!==this.GJ[e]};a.getQueryParameter=function(e){this.GJ||(this.GJ=this.xsa());return this.GJ[e]};a.uJa=function(e,l){var m=e.split(l);e=m[0];(m=m.slice(1).join(l))&amp;&amp;(m=l+m);return[e,m]};a.hB=function(e,l){if(!l)return e;var m=this.uJa(e,"#"),k=m[1];m=this.uJa(m[0],"?");var c=m[0];m=m[1];return 0&lt;=m.indexOf(l)?e:c+(m+(m?"&amp;":"?")+l)+k};a.parse=function(e){this.Bn.href=e;e={};e.protocol=this.Bn.protocol;e.hostname=this.Bn.hostname;e.port=
this.Bn.port;e.pathname=this.Bn.pathname;e.search=this.Bn.search;e.hash=this.Bn.hash;e.host=this.Bn.host;var l=e.pathname?e.pathname.lastIndexOf("."):-1;e.S4a=0&lt;=l?e.pathname.substr(l).toLowerCase():"";return e};a.getExtension=function(e){e=this.parse(e).pathname;var l=e.lastIndexOf(".");return 0&lt;=l?e.substr(l,e.length):""};a.lg=function(e,l){e=(this.getQueryParameter(e)||"").toLowerCase();return this.S8a(e,l)};a.S8a=function(e,l){switch(e){case "false":case "0":case "no":case "n":return!1;case "true":case "1":case "yes":case "y":return!0;
default:return l}};a.tDa=function(e,l){e=parseInt(this.getQueryParameter(e));return isNaN(e)?l:e};a.W2=function(e){e=parseFloat(this.getQueryParameter(e));return isNaN(e)?void 0:e};a.xsa=function(){for(var e={},l=window.location.hash.substring(1).split("&amp;").concat(window.location.search.substring(1).split("&amp;")),m=0;m&lt;l.length;m++){var k=l[m].split("="),c=decodeURIComponent(k[0]);k=1&lt;k.length?decodeURIComponent(k[1]):null;e[c]=k}return e};a.Bn=document.createElement("a");a.GJ=null;a.wB=function(e){return e&amp;&amp;
0==e.indexOf("data:")};return a}()});
define("lS",["require","exports"],function(){function a(g,b){function d(){}d.prototype=b.prototype;g.prototype=new d;g.prototype.constructor=g}function e(g,b){b.forEach(function(d){Object.getOwnPropertyNames(d).forEach(function(f){g.prototype[f]=d[f]})})}function l(g){setTimeout(function(){try{g()}catch(b){k("Deferred callback failed",b)}},1)}function m(g){if(g!=h){h=g;try{if(c){var b=document.createElement("div");b.innerText=g;c.insertBefore(b,c.childNodes[0]||null)}else console.log(g)}catch(d){}}}
function k(g,b){var d=[];d.push("Exception: "+g);b.message?(d.push(b.message),d.push(b.stack)):d.push(b);m(d.join("\n"))}var c,h;return{U1:e,D4a:function(g){for(;;){var b=g.pop();if(!b)break;if(b==g.length)break;g.splice(b,1)}b=[];for(var d=0;256&gt;d;d+=1)b[d]=String.fromCharCode(d);var f=256,n=String.fromCharCode(g[0]),q=n;for(d=1;d&lt;g.length;d+=1){var p=g[d];p=b[p]?b[p]:n+n.charAt(0);q+=p;b[f++]=n+p.charAt(0);n=p}return JSON.parse(q)},defer:l,deferred:function(g,b){return function(){var d=arguments;
l(function(){g.apply(b||window,d)})}},extend:function(){var g=arguments[arguments.length-1],b=Array.prototype.slice.call(arguments,1,arguments.length-1);a(g,arguments[0]);e(g,b);return g},Q4a:function(g){c=document.createElement("div");c.style.overflow="auto";c.style.position="absolute";c.style.bottom="0";c.style.left="0";c.style.right="0";c.style.padding="20px";c.style.fontFamily="Verdana";c.style.backgroundColor="#FFFFFF";c.style.color="#000000";c.style.zIndex="100";g?c.style.top="0":(c.style.width=
"40%",c.style.right="0",c.style.left="auto",c.style.height="50%",c.style.filter="alpha(opacity=60)",c.style.opacity="0.6");document.body.appendChild(c);console.log=function(b){m(b)}},log:m,ET:k,Ap:function(g,b){var d=!1;return function(){d||(d=!0,l(function(){d=!1;g.apply(b||window)}))}},i9a:function(g){for(var b=[],d=0;d&lt;g;d++)b.push(Math.floor(16*Math.random()).toString(16));return b.join("")},toArray:function(g){return void 0===g||null===g?[]:Array.isArray(g)?g:[g]},T6a:function(g,b){if(g.length!=
b.length)return!1;for(var d=0;d&lt;g.length;d++)if(g[d]!=b[d])return!1;return!0},isString:function(g){var b="[object "+g+"]";return function(d){return Object.prototype.toString.call(d)===b}}("String")}});
define("ol","require jquery.mod es bu iM mS lS".split(" "),function(a){function e(b,d,f){this.tD=b;this.JN=f;this.i_=d.parent;this.qVa=d.isValidRoot||!1;this.ida={};this.cda=[];this.Gwa=[];this.Fwa=[];this.kX={};b=d.properties||{};for(var n in b)f=b[n],this.ida[n]=f.type,f.isUrl&amp;&amp;this.Gwa.push(n),f.isSize&amp;&amp;this.Fwa.push(n),void 0!==f.order&amp;&amp;(this.cda[f.order]=n),void 0!==f["default"]&amp;&amp;(this.kX[n]=f["default"]);this.Dwa=[];this.Ewa=[];d=d.events||{};for(var q in d)d[q].isDeferred?this.Dwa.push(q):
this.Ewa.push(q);this.gA=this.Rz=this.jO=this.v0=this.gF=this.u1=this.yF=this.AI=this.ZH=this.uN=void 0;this.uta=!1}var l=a("jquery.mod"),m=a("es"),k=a("bu"),c=a("iM"),h=a("mS"),g=a("lS");k=g.D4a(k);e.prototype.a6a=function(){if(this.i_)return e.Yi(this.i_)};e.prototype.YF=function(){return this.tD};e.prototype.ZS=function(){return this.dA()?this.qw().ZS().concat(this.tD):[this.tD]};e.prototype.hasAttributes=function(){return 0&lt;this.getAttributeNames().length};e.prototype.hasAttribute=function(b){return this.qia(b)?
!0:!1};e.prototype.getAttributeNames=function(){void 0==this.uN&amp;&amp;this.wqa();return this.uN};e.prototype.FDa=function(){if(this.cda)return this.cda;if(this.dA())this.qw().FDa();else return[]};e.prototype.jDa=function(){if(this.AI)return this.AI;this.AI={};if(this.dA()){var b=this.qw().jDa(),d;for(d in b)this.AI[d]=b[d]}if(this.kX)for(d in this.kX)this.AI[d]=this.kX[d];return this.AI};e.prototype.qia=function(b){void 0==this.ZH&amp;&amp;this.wqa();return this.ZH[b]};e.prototype.R6a=function(){return 0&lt;this.SDa().length};
e.prototype.SDa=function(){void 0==this.yF&amp;&amp;this.Eqa();return this.yF};e.prototype.p6a=function(){void 0==this.u1&amp;&amp;this.Eqa();return this.u1};e.prototype.P6a=function(){return 0&lt;this.NDa().length};e.prototype.NDa=function(){void 0==this.gF&amp;&amp;this.Dqa();return this.gF};e.prototype.n6a=function(){void 0==this.v0&amp;&amp;this.Dqa();return this.v0};e.prototype.C6a=function(){return 0&lt;this.uia().length};e.prototype.gEa=function(b){void 0==this.Rz&amp;&amp;this.rI();return-1!=this.Rz.indexOf(b)};e.prototype.uia=function(){void 0==
this.Rz&amp;&amp;this.rI();return this.Rz};e.prototype.H6a=function(){return 0&lt;this.Bia().length};e.prototype.hEa=function(b){void 0==this.gA&amp;&amp;this.rI();return-1!=this.gA.indexOf(b)};e.prototype.Bia=function(){void 0==this.gA&amp;&amp;this.rI();return this.gA};e.prototype.E6a=function(b){void 0==this.jO&amp;&amp;this.rI();return-1!=this.jO.indexOf(b)};e.prototype.F5a=function(){void 0==this.jO&amp;&amp;this.rI();return this.jO};e.prototype.uDa=function(){return this.qVa||this.dA()&amp;&amp;this.qw().uDa()};e.prototype.Bm=function(b,d,f,
n){this.QXa(d,f);var q=this.JN;var p=n&amp;&amp;0&lt;n.length?new (g.extend(q,function(){q.apply(this,n)})):new q;p.set("application",b);p.set("baseDirectoy",d);p.set("queryStringParameters",f);p.set("class",this.YF());return p};e.prototype.QXa=function(b,d){this.uta||(this.uta=!0,this.dRa(b,d),this.QRa(),this.zNa())};e.prototype.dRa=function(b,d){if(this.R6a()||this.P6a()){var f=this.JN.prototype,n=this.p6a(),q=this.n6a(),p=f.set;f.set=function(r,t){n[r]?(!t||h.wB(t)||h.v3(t)||h.C7a(t)||(t=h.hB(h.Jy(t,b),d)),
p.call(this,r,t)):q[r]?c.Q1(this,p,r,t):p.call(this,r,t)}}};e.prototype.zNa=function(){var b=this.JN.prototype;this.getAttributeNames().forEach(function(d){Object.defineProperty(b,d,{get:function(){return this.get(d)},set:function(f){this.set(d,f)},enumerable:!0,configurable:!0})})};e.prototype.QRa=function(){var b=this.JN.prototype,d=this;this.hasAttributes()&amp;&amp;(b.set=b.set,b.get=b.get);if(this.C6a()||this.H6a())b.bind=b.bind,b.getBindings=b.nL,b.hasBindings=b.h3,b.trigger=b.trigger,b.unbind=b.unbind;
b.getClassName=function(){return d.YF()};b.getClassPath=function(){return d.ZS()};b.getAttributeNames=function(){return d.getAttributeNames()};b.getEventNames=function(){return d.F5a()};b.hasEvent=function(f){return d.E6a(f)}};e.prototype.wqa=function(){this.uN=[];this.ZH={};for(var b in this.ida)this.uN.push(b),this.ZH[b]=e.daa(this.ida[b]);if(this.dA())for(var d=this.qw(),f=d.getAttributeNames(),n=0;n&lt;f.length;n++)b=f[n],this.ZH[b]||(this.uN.push(b),this.ZH[b]=d.qia(b))};e.prototype.Eqa=function(){this.yF=
this.Gwa.slice();this.dA()&amp;&amp;(this.yF=m(this.yF).union(this.qw().SDa()));this.u1={};for(var b=0;b&lt;this.yF.length;b++)this.u1[this.yF[b]]=!0};e.prototype.Dqa=function(){this.gF=this.Fwa.slice();this.dA()&amp;&amp;(this.gF=m(this.gF).union(this.qw().NDa()));this.v0={};for(var b=0;b&lt;this.gF.length;b++)this.v0[this.gF[b]]=!0};e.prototype.rI=function(){this.Rz=this.Dwa.slice();this.gA=this.Ewa.slice();this.dA()&amp;&amp;(this.Rz=m(this.Rz).union(this.qw().uia()),this.gA=m(this.gA).union(this.qw().Bia()));this.jO=m(this.Rz).union(this.gA)};
e.prototype.dA=function(){return this.i_?!0:!1};e.prototype.qw=function(){return e.Yi(this.i_)};e.Y8=new Map;e.Ypa=new Map;e.define=function(b,d,f){d=g.extend(d,function(){f.apply(this,arguments);var q=n.jDa(),p;for(p in q)this.set(p,q[p])});var n=new e(b,k[b],d);e.Y8.set(b,n);e.Ypa.set(d,n);return d};e.getAll=function(){var b=[];e.Y8.forEach(function(d){b.push(d)});return b};e.Yi=function(b){return e.Y8.get(b)};e.o5a=function(b){return e.Ypa.get(b)};e.Ja=function(b,d){b=e.Yi(b);if(m(d).isNull())return!0;
if(d&amp;&amp;d.constructor)for(d=e.o5a(d.constructor);d;){if(d==b)return!0;d=d.a6a()}return!1};e.daa=function(b){switch(b){case "string":case "code":return e.f0a;case "number":return e.VVa;case "bool":return e.VOa;case "color":return e.WPa;case "percent":return e.AXa;case "size":return e.z_a;case "identifier":return e.AUa;case "array":return e.cpa;case "canvas":return e.tPa;case "img":return e.DUa;case "dict":return e.BXa;case "*":return e.FRa;default:if(e.ZUa(b))switch(e.KSa(b)){case "array":var d=e.daa(e.Ora(b));
return function(q,p){q=e.cpa(q,p);for(var r=0;r&lt;q.length;r++)q[r]=d(q[r],p);return q};case "enum":var f=e.Pra(b);return e.MSa(f);case "or":f=e.Pra(b);var n=m(f).map(function(q){return e.daa(q)});return function(q,p){for(var r=0;r&lt;n.length;r++)try{return n[r](q,p)}catch(t){}throw"Invalid value";};default:throw"Invalid type validator definition: "+b;}else return e.mn(function(q){return e.Ja(b,q)})}};e.ZUa=function(b){return 0&lt;=b.indexOf("[")&amp;&amp;b.lastIndexOf("]")==b.length-1};e.KSa=function(b){return b.substring(0,
b.indexOf("["))};e.Ora=function(b){return b.substring(b.indexOf("[")+1,b.lastIndexOf("]"))};e.Pra=function(b){b=e.Ora(b);for(var d=[],f="",n=0,q=0;q&lt;b.length;q++){var p=b.charAt(q);f+=p;switch(p){case "[":n++;break;case "]":n--;break;case ",":0==n&amp;&amp;(d.push(f.substr(0,f.length-1)),f="")}}""!=f&amp;&amp;d.push(f);return m(d).map(function(r){return e.Z0a(r)})};e.Z0a=function(b){return b.replace(/^\s+|\s+$/g,"")};e.mn=function(b){return function(d,f){if(!b(d)){if("string"!=typeof d)throw"Invalid value";d=e.ORa(d,
f);if(!b(d))throw"Invalid value";}return d}};e.ORa=function(b,d){return function(){return eval(b)}.call(d)};e.FRa=function(b){return b};e.VVa=e.mn(function(b){return"[object Number]"==Object.prototype.toString.call(b)});e.f0a=e.mn(function(b){return"string"==typeof b||null===b});e.VOa=e.mn(function(b){return!0===b||!1===b});e.cpa=e.mn(function(b){return"[object Array]"==Object.prototype.toString.call(b)});e.tPa=e.mn(function(b){return b&amp;&amp;"CANVAS"==b.tagName});e.DUa=e.mn(function(b){return b&amp;&amp;"IMG"==
b.tagName});e.MSa=function(b){return e.mn(function(d){return-1!=b.indexOf(d)})};e.FX=function(b,d){return m(b).isString()&amp;&amp;d.test(b)};e.AUa=e.mn(function(b){return e.FX(b,RegExp("^[a-z][a-z0-9_]*$","i"))});e.AXa=e.mn(function(b){return e.FX(b,RegExp("^\\s*([+-]?\\d+\\.?\\d*)%\\s*$","i"))});e.z_a=e.mn(function(b){return e.FX(b,RegExp("^\\s*([+-]?\\d+\\.?\\d*)\\s*((vw)|(vh)|(vmin)|(vmax)|(px))\\s*$","i"))});e.WPa=e.mn(function(b){return e.FX(b,RegExp("^#[0-9a-f]{6}$","i"))});e.BXa=e.mn(function(b){try{return l.isPlainObject(b)}catch(d){return!1}});
window.TDV.PlayerAPI.getClassByName=function(b){return e.Yi(b).JN};return e});
define("jk",["require"],function(){function a(){c[0]=c[1]=c[2]=c[3]=c[4]=c[5]=c[6]=c[7]=c[8]=c[9]=c[10]=c[11]=c[12]=c[13]=c[14]=c[15]=c[16]=0;this.wha=c;this.kT=1779033703;this.lT=3144134277;this.mT=1013904242;this.nT=2773480762;this.oT=1359893119;this.pT=2600822924;this.qT=528734635;this.rT=1541459225;this.block=this.start=this.lB=this.Qia=0;this.mia=this.j3=!1;this.first=!0}var e="0123456789abcdef".split(""),l=[-2147483648,8388608,32768,128],m=[24,16,8,0],k=[1116352408,1899447441,3049323471,3921009573,
961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,
883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],c=[];a.prototype.update=function(h){if(!this.mia){for(var g,b=0,d,f=h.length,n=this.wha;b&lt;f;){this.j3&amp;&amp;(this.j3=!1,n[0]=this.block,n[16]=n[1]=n[2]=n[3]=n[4]=n[5]=n[6]=n[7]=n[8]=n[9]=n[10]=n[11]=n[12]=n[13]=n[14]=n[15]=0);for(d=this.start;b&lt;f&amp;&amp;64&gt;d;++b)g=h.charCodeAt(b),128&gt;g?n[d&gt;&gt;2]|=g&lt;&lt;m[d++&amp;3]:(2048&gt;g?n[d&gt;&gt;2]|=(192|g&gt;&gt;6)&lt;&lt;m[d++&amp;3]:(55296&gt;g||57344&lt;=g?n[d&gt;&gt;
2]|=(224|g&gt;&gt;12)&lt;&lt;m[d++&amp;3]:(g=65536+((g&amp;1023)&lt;&lt;10|h.charCodeAt(++b)&amp;1023),n[d&gt;&gt;2]|=(240|g&gt;&gt;18)&lt;&lt;m[d++&amp;3],n[d&gt;&gt;2]|=(128|g&gt;&gt;12&amp;63)&lt;&lt;m[d++&amp;3]),n[d&gt;&gt;2]|=(128|g&gt;&gt;6&amp;63)&lt;&lt;m[d++&amp;3]),n[d&gt;&gt;2]|=(128|g&amp;63)&lt;&lt;m[d++&amp;3]);this.M7a=d;this.lB+=d-this.start;64&lt;=d?(this.block=n[16],this.start=d-64,this.hash(),this.j3=!0):this.start=d}4294967295&lt;this.lB&amp;&amp;(this.Qia+=this.lB/4294967296&lt;&lt;0,this.lB%=4294967296);return this}};a.prototype.MCa=function(){if(!this.mia){this.mia=!0;var h=this.wha,g=this.M7a;h[16]=this.block;h[g&gt;&gt;
2]|=l[g&amp;3];this.block=h[16];56&lt;=g&amp;&amp;(this.j3||this.hash(),h[0]=this.block,h[16]=h[1]=h[2]=h[3]=h[4]=h[5]=h[6]=h[7]=h[8]=h[9]=h[10]=h[11]=h[12]=h[13]=h[14]=h[15]=0);h[14]=this.Qia&lt;&lt;3|this.lB&gt;&gt;&gt;29;h[15]=this.lB&lt;&lt;3;this.hash()}};a.prototype.hash=function(){var h=this.kT,g=this.lT,b=this.mT,d=this.nT,f=this.oT,n=this.pT,q=this.qT,p=this.rT,r=this.wha,t;for(t=16;64&gt;t;++t){var u=r[t-15];var v=(u&gt;&gt;&gt;7|u&lt;&lt;25)^(u&gt;&gt;&gt;18|u&lt;&lt;14)^u&gt;&gt;&gt;3;u=r[t-2];u=(u&gt;&gt;&gt;17|u&lt;&lt;15)^(u&gt;&gt;&gt;19|u&lt;&lt;13)^u&gt;&gt;&gt;10;r[t]=r[t-16]+v+r[t-7]+u&lt;&lt;0}var w=
g&amp;b;for(t=0;64&gt;t;t+=4){if(this.first){var x=704751109;u=r[0]-210244248;p=u-1521486534&lt;&lt;0;d=u+143694565&lt;&lt;0;this.first=!1}else{v=(h&gt;&gt;&gt;2|h&lt;&lt;30)^(h&gt;&gt;&gt;13|h&lt;&lt;19)^(h&gt;&gt;&gt;22|h&lt;&lt;10);u=(f&gt;&gt;&gt;6|f&lt;&lt;26)^(f&gt;&gt;&gt;11|f&lt;&lt;21)^(f&gt;&gt;&gt;25|f&lt;&lt;7);x=h&amp;g;var y=x^h&amp;b^w;var z=f&amp;n^~f&amp;q;u=p+u+z+k[t]+r[t];v+=y;p=d+u&lt;&lt;0;d=u+v&lt;&lt;0}v=(d&gt;&gt;&gt;2|d&lt;&lt;30)^(d&gt;&gt;&gt;13|d&lt;&lt;19)^(d&gt;&gt;&gt;22|d&lt;&lt;10);u=(p&gt;&gt;&gt;6|p&lt;&lt;26)^(p&gt;&gt;&gt;11|p&lt;&lt;21)^(p&gt;&gt;&gt;25|p&lt;&lt;7);w=d&amp;h;y=w^d&amp;g^x;z=p&amp;f^~p&amp;n;u=q+u+z+k[t+1]+r[t+1];v+=y;q=b+u&lt;&lt;0;b=u+v&lt;&lt;0;v=(b&gt;&gt;&gt;2|b&lt;&lt;30)^(b&gt;&gt;&gt;13|b&lt;&lt;19)^(b&gt;&gt;&gt;22|b&lt;&lt;10);
u=(q&gt;&gt;&gt;6|q&lt;&lt;26)^(q&gt;&gt;&gt;11|q&lt;&lt;21)^(q&gt;&gt;&gt;25|q&lt;&lt;7);x=b&amp;d;y=x^b&amp;h^w;z=q&amp;p^~q&amp;f;u=n+u+z+k[t+2]+r[t+2];v+=y;n=g+u&lt;&lt;0;g=u+v&lt;&lt;0;v=(g&gt;&gt;&gt;2|g&lt;&lt;30)^(g&gt;&gt;&gt;13|g&lt;&lt;19)^(g&gt;&gt;&gt;22|g&lt;&lt;10);u=(n&gt;&gt;&gt;6|n&lt;&lt;26)^(n&gt;&gt;&gt;11|n&lt;&lt;21)^(n&gt;&gt;&gt;25|n&lt;&lt;7);w=g&amp;b;y=w^g&amp;d^x;z=n&amp;q^~n&amp;p;u=f+u+z+k[t+3]+r[t+3];v+=y;f=h+u&lt;&lt;0;h=u+v&lt;&lt;0}this.kT=this.kT+h&lt;&lt;0;this.lT=this.lT+g&lt;&lt;0;this.mT=this.mT+b&lt;&lt;0;this.nT=this.nT+d&lt;&lt;0;this.oT=this.oT+f&lt;&lt;0;this.pT=this.pT+n&lt;&lt;0;this.qT=this.qT+q&lt;&lt;0;this.rT=this.rT+p&lt;&lt;0};a.prototype.U6a=function(){this.MCa();var h=this.kT,
g=this.lT,b=this.mT,d=this.nT,f=this.oT,n=this.pT,q=this.qT,p=this.rT;return e[h&gt;&gt;28&amp;15]+e[h&gt;&gt;24&amp;15]+e[h&gt;&gt;20&amp;15]+e[h&gt;&gt;16&amp;15]+e[h&gt;&gt;12&amp;15]+e[h&gt;&gt;8&amp;15]+e[h&gt;&gt;4&amp;15]+e[h&amp;15]+e[g&gt;&gt;28&amp;15]+e[g&gt;&gt;24&amp;15]+e[g&gt;&gt;20&amp;15]+e[g&gt;&gt;16&amp;15]+e[g&gt;&gt;12&amp;15]+e[g&gt;&gt;8&amp;15]+e[g&gt;&gt;4&amp;15]+e[g&amp;15]+e[b&gt;&gt;28&amp;15]+e[b&gt;&gt;24&amp;15]+e[b&gt;&gt;20&amp;15]+e[b&gt;&gt;16&amp;15]+e[b&gt;&gt;12&amp;15]+e[b&gt;&gt;8&amp;15]+e[b&gt;&gt;4&amp;15]+e[b&amp;15]+e[d&gt;&gt;28&amp;15]+e[d&gt;&gt;24&amp;15]+e[d&gt;&gt;20&amp;15]+e[d&gt;&gt;16&amp;15]+e[d&gt;&gt;12&amp;15]+e[d&gt;&gt;8&amp;15]+e[d&gt;&gt;4&amp;15]+e[d&amp;15]+e[f&gt;&gt;28&amp;15]+e[f&gt;&gt;24&amp;15]+e[f&gt;&gt;20&amp;15]+e[f&gt;&gt;16&amp;15]+e[f&gt;&gt;12&amp;15]+e[f&gt;&gt;
8&amp;15]+e[f&gt;&gt;4&amp;15]+e[f&amp;15]+e[n&gt;&gt;28&amp;15]+e[n&gt;&gt;24&amp;15]+e[n&gt;&gt;20&amp;15]+e[n&gt;&gt;16&amp;15]+e[n&gt;&gt;12&amp;15]+e[n&gt;&gt;8&amp;15]+e[n&gt;&gt;4&amp;15]+e[n&amp;15]+e[q&gt;&gt;28&amp;15]+e[q&gt;&gt;24&amp;15]+e[q&gt;&gt;20&amp;15]+e[q&gt;&gt;16&amp;15]+e[q&gt;&gt;12&amp;15]+e[q&gt;&gt;8&amp;15]+e[q&gt;&gt;4&amp;15]+e[q&amp;15]+e[p&gt;&gt;28&amp;15]+e[p&gt;&gt;24&amp;15]+e[p&gt;&gt;20&amp;15]+e[p&gt;&gt;16&amp;15]+e[p&gt;&gt;12&amp;15]+e[p&gt;&gt;8&amp;15]+e[p&gt;&gt;4&amp;15]+e[p&amp;15]};a.prototype.digest=function(){this.MCa();var h=this.kT,g=this.lT,b=this.mT,d=this.nT,f=this.oT,n=this.pT,q=this.qT,p=this.rT;return[h&gt;&gt;24&amp;255,h&gt;&gt;16&amp;255,h&gt;&gt;8&amp;255,h&amp;255,g&gt;&gt;24&amp;255,g&gt;&gt;16&amp;255,g&gt;&gt;8&amp;255,g&amp;255,b&gt;&gt;
24&amp;255,b&gt;&gt;16&amp;255,b&gt;&gt;8&amp;255,b&amp;255,d&gt;&gt;24&amp;255,d&gt;&gt;16&amp;255,d&gt;&gt;8&amp;255,d&amp;255,f&gt;&gt;24&amp;255,f&gt;&gt;16&amp;255,f&gt;&gt;8&amp;255,f&amp;255,n&gt;&gt;24&amp;255,n&gt;&gt;16&amp;255,n&gt;&gt;8&amp;255,n&amp;255,q&gt;&gt;24&amp;255,q&gt;&gt;16&amp;255,q&gt;&gt;8&amp;255,q&amp;255,p&gt;&gt;24&amp;255,p&gt;&gt;16&amp;255,p&gt;&gt;8&amp;255,p&amp;255]};return function(h){return(new a(!0)).update(h).U6a()}});
define("cd",["require","jk"],function(a){function e(){for(var c=[[256,"9799e3eb6096a48f515a94324200b7af24251a4131eccf9a2cd65d012a1f5c71"],[1024,"cbab1f6d618e723188cfdb1c7c3f47146e46da4da56030386d85055016afd5d9"],[1E4,"d9c4539649520e3f4a35e5a3331b0fbdc67958dd64ef65a83a75d545413643dd"]],h=0;h&lt;c.length;h++){var g=Array.apply(null,Array(c[h][0])).map((b,d)=&gt;String.fromCharCode(d%256)).join("");if(k(g)!=c[h][1])return!1}return!0}function l(c){var h=Array.isArray(c)?"array":null===c?"null":typeof c;switch(h){case "array":return"["+
c.map(l).join(",")+"]";case "object":return"{"+Object.keys(c).sort().map(function(g){return l(g)+":"+l(c[g])}).join(",")+"}";case "boolean":return c?"true":"false";case "number":return c.toFixed(3);case "string":return'"'+c.split('"').join('\\"')+'"';case "null":case "undefined":return h;case "function":return"&lt;"+h+"&gt;"}return""}function m(c){return c.map(function(h){return String.fromCharCode(h)}).join("")}var k=a("jk");return{validate:function(c){var h=[104,97,115,104],g=[116,100,118],b=window.location[m([111,
114,105,103,105,110])],d=c[m(h)];delete c[m(h)];c=m(g)+l(c);c=k(c);g=m(g)+b;g=k(g);return c==d||g==d||!e()}}});
define("lV",["require","exports","lS"],function(a,e,l){function m(){var d=h.length,f=h.splice(0,d);c+=d;for(var n=0;n&lt;d;n++){var q=f[n];if(q)try{q()}catch(p){l.ET("Error in async task",p)}}}var k=0,c=0,h=[],g,b=new Promise(function(d){d()});setInterval(function(){0&lt;h.length&amp;&amp;100&lt;(new Date).getTime()-g&amp;&amp;m()},100);return{UB:function(d,f){void 0===f&amp;&amp;(f=void 0);if(void 0!==f&amp;&amp;0&lt;f)return-1-setTimeout(d,f||1);0==h.length&amp;&amp;(b.then(m),g=(new Date).getTime());k++;h.push(d);return k-1},cancel:function(d){if(0&gt;
d)clearTimeout(-1-d);else{var f=d-c;if(0&lt;=f){if(!h[f])throw"invalid async handle: "+d;h[f]=null}}}}});
define("gE",["require","exports","cI","lV","lS"],function(a,e,l,m,k){var c=function(){return function(){}}();return function(){function h(){this.Qc={}}h.prototype.z3a=function(g,b,d){this.tpa(g,b,d,!0,b,!0,!1)};h.prototype.bind=function(g,b,d,f,n,q){void 0===q&amp;&amp;(q=!1);return this.tpa(g,b,d,f,n||b,!1,q)};h.prototype.tpa=function(g,b,d,f,n,q,p){if(void 0===g)throw"Event name undefined";if(void 0===b)throw"Event handler undefined";d=d||this;f=f?!0:!1;g in this.Qc||(this.Qc[g]=[]);var r=new c;r.sT=b;
r.y6a=n||b;r.context=d;r.zEa=f;r.q7a=p;g=this.Qc[g];q?g.unshift(r):g.push(r);return this};h.prototype.unbind=function(g,b,d){g in this.Qc&amp;&amp;(d=d||this,this.Qc[g]=this.Qc[g].filter(function(f){return f.sT!=b||f.context!=d}),0==this.Qc[g].length&amp;&amp;delete this.Qc[g]);return this};h.prototype.$bb=function(g){g in this.Qc&amp;&amp;delete this.Qc[g]};h.prototype.ama=function(){this.Qc={}};h.prototype.trigger=function(g,b){void 0===b&amp;&amp;(b=void 0);"string"==typeof g&amp;&amp;(g=new l(g,b));g.name in this.Qc&amp;&amp;(g.source=this,
this.Dz(g,!0),g.name in this.Qc&amp;&amp;this.eRa(g));return this};h.prototype.eRa=function(g){h.lX.push({caller:this,event:g});h.V9||(h.V9=!0,m.UB(h.Mqa))};h.Mqa=function(){for(var g=(new Date).getTime()+1E3;h.lX.length;){var b=h.lX.shift();h.prototype.Dz.call(b.caller,b.event,!1);if((new Date).getTime()&gt;g)break}0&lt;h.lX.length?m.UB(h.Mqa,1):h.V9=!1};h.prototype.h3=function(g){return g in this.Qc};h.prototype.tT=function(g){if(g in this.Qc){g=this.Qc[g];for(var b=0;b&lt;g.length;b++)if(g[b].q7a)return!0}return!1};
h.prototype.nL=function(g,b){var d=[];g=this.Qc[g]||[];for(var f=0;f&lt;g.length;f++){var n=g[f];void 0!==b&amp;&amp;n.zEa!=b||d.push(n.y6a)}return d};h.prototype.Dz=function(g,b){var d=this;g.unbindCurrentHandler=function(){q&amp;&amp;d.unbind(g.name,q.sT,q.context)};if(g.name in this.Qc)for(var f=this.Qc[g.name],n=0;n&lt;f.length;n++){var q=f[n];if(q.zEa==b)try{q.sT.call(q.context,g)}catch(p){k.ET("Exception handling event "+g.name,p)}}};h.lX=[];h.V9=!1;return h}()});
define("mw",["require","exports","py","cI","gE"],function(a,e,l,m,k){return function(c){function h(){var g=c.call(this)||this;g.pq={};return g}Z(h,c);h.prototype.set=function(g,b){var d=this;if("object"===typeof g){b=[];var f=0;for(g=Object.entries(g);f&lt;g.length;f++){var n=g[f],q=n[0];n=n[1];this.pq[q]!==n&amp;&amp;(this.pq[q]=n,b.push(q))}b.forEach(function(p){return d.Rfa(p)})}else this.pq[g]!==b&amp;&amp;(this.pq[g]=b,this.Rfa(g))};h.prototype.Rfa=function(g){g=new m(l.G(g));this.trigger(g)};h.prototype.copy=
function(g){this.pq={};for(var b in g.pq)this.pq[b]=g.pq[b];return this};h.prototype.get=function(g,b){void 0===b&amp;&amp;(b=void 0);g=this.pq[g];return void 0!==g?g:b};return h}(k)});
define("fr",["require"],function(){function a(e,l,m){this.set("undefined"!=typeof e?e:0,"undefined"!=typeof l?l:0,"undefined"!=typeof m?m:0)}a.prototype.set=function(e,l,m){this.x=e;this.y=l;this.z=m;return this};a.prototype.clone=function(){return new a(this.x,this.y,this.z)};a.prototype.apply=function(e){e.QK(this)};a.prototype.project=function(e){e.project(this)};return a});
define("a",["require","lS","fr"],function(a){var e=a("lS"),l=a("fr"),m=e.extend(l,function(k,c,h){l.call(this,k,c,h)});m.prototype.clone=function(){return new m(this.x,this.y,this.z)};m.prototype.Oc=function(){return 0==this.x&amp;&amp;0==this.z?0:-Math.atan2(this.x,this.z)};m.prototype.Nc=function(){return 0==this.y&amp;&amp;0==this.z?0:Math.atan2(this.y,Math.sqrt(this.z*this.z+this.x*this.x))};m.prototype.Eia=function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)};m.prototype.FU=function(k){k/=
this.Eia();this.x*=k;this.y*=k;this.z*=k;return this};m.prototype.normalize=function(){return this.FU(1)};m.prototype.QF=function(k){return this.x*k.x+this.y*k.y+this.z*k.z};m.prototype.j2=function(k){var c=this.z*k.x-this.x*k.z,h=this.x*k.y-this.y*k.x;this.x=this.y*k.z-this.z*k.y;this.y=c;this.z=h;return this};m.pB=function(k,c){return new m(c.x-k.x,c.y-k.y,c.z-k.z)};m.T2=function(k,c){k=NaN-k;c=NaN-c;return Math.sqrt(k*k+c*c+NaN)};m.Yx=function(k,c){return new m(Math.cos(c)*Math.sin(k),Math.sin(c),
Math.cos(c)*Math.cos(k))};return m});
define("jR",["require","mw","ol","a"],function(a){var e=a("mw"),l=a("ol"),m=a("a");a=l.define("AdjacentPanorama",e,function(){e.call(this);this.Oga=this.bw=void 0});a.prototype.lDa=function(){if(void 0===this.bw){for(this.bw=this.gsa()-this.get("yaw");180&lt;this.bw;)this.bw-=360;for(;-180&gt;this.bw;)this.bw+=360}return this.bw};a.prototype.E5a=function(){void 0===this.Oga&amp;&amp;(this.Oga=m.Yx(this.gsa()*Math.PI/180,0));return this.Oga};a.prototype.G3a=function(){return void 0!==this.get("yaw")&amp;&amp;void 0!==this.get("backwardYaw")};
a.prototype.gsa=function(){return this.get("backwardYaw")-180};return a});define("iz",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("AmbientLight",e,function(){e.call(this)})});
define("fu",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("Model3DPostprocessing",e,function(){e.call(this)});a.prototype.dC=function(l){this.lp!==l&amp;&amp;(this.lp=l,this.cAa())};a.prototype.bo=function(l){this.oJ!==l&amp;&amp;(this.oJ=l,this.cAa())};a.prototype.cAa=function(){this.set("disabled",this.oJ&amp;&amp;this.get("disableWhileMoving")||this.lp&amp;&amp;this.get("disableWhileUserInteracting"))};return a});
define("ot",["require","ol","fu"],function(a){var e=a("ol"),l=a("fu");return e.define("AmbientOcclusionModel3DPostprocessing",l,function(){l.call(this)})});define("lu",["require","exports"],function(){return{V:"stopped",PLAYING:"playing",Qb:"paused"}});define("ft",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("ImageResource",e,function(){e.call(this)})});
define("eD","require lS py lu ol ft".split(" "),function(a){a("lS");var e=a("py"),l=a("lu"),m=a("ol"),k=a("ft");a=m.define("AnimatedImageResource",k,function(){k.call(this)});a.prototype.play=a.prototype.play=function(){this.set("state",l.PLAYING)};a.prototype.pause=a.prototype.pause=function(){this.set("state",l.Qb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",l.V)};a.prototype.set=function(c,h){switch(c){case "state":(this.get("state")||l.V)==l.V&amp;&amp;h==l.PLAYING&amp;&amp;this.trigger(e.lo)}k.prototype.set.call(this,
c,h)};a.prototype.mk=function(c,h,g){h||(h=1);g||(g=1);return k.prototype.mk.call(this,c,h*this.get("colCount",1),g*this.get("rowCount",1))};return a});define("eo",["require","ol","fu"],function(a){var e=a("ol"),l=a("fu");return e.define("AntialiasModel3DPostprocessing",l,function(){l.call(this)})});
define("iN",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("HotspotMapOverlay",e,function(l){e.call(this);this.ZJ=void 0===l?!0:l;this.fJ=this.nr=this.mr=this.Aa=void 0});a.prototype.getItem=function(){if(void 0===this.Aa){var l=this.get("image");this.Aa=l?l.i2(this.ZJ):null}return this.Aa};a.prototype.JDa=function(){if(void 0===this.mr){var l=this.get("rollOverImage");this.mr=l?l.i2(this.ZJ):null}return this.mr};a.prototype.MDa=function(){if(void 0===this.nr){var l=this.get("selectedImage");
this.nr=l?l.i2(this.ZJ):null}return this.nr};a.prototype.T5a=function(){if(void 0===this.fJ){this.fJ=[];var l=this.getItem();l&amp;&amp;this.fJ.push(l);(l=this.JDa())&amp;&amp;this.fJ.push(l);(l=this.MDa())&amp;&amp;this.fJ.push(l)}return this.fJ};return a});define("fd",["require","ol","iN"],function(a){var e=a("ol"),l=a("iN");return e.define("AreaHotspotMapOverlay",l,function(){l.call(this,!0)})});define("oX",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("AudioResource",e,function(){e.call(this)})});
define("cZ",["require"],function(){return{JC:"inAdvance",xma:"delayed"}});
define("bh",["require","exports"],function(){return function(){function a(){}a.cz="grab";a.Vh="grabbing";a.fna="move";a.pna="move-n";a.qna="move-ne";a.gna="move-e";a.tna="move-se";a.sna="move-s";a.una="move-sw";a.vna="move-w";a.rna="move-nw";a.gMa="move-ew";a.iMa="move-ns";a.hMa="move-nesw";a.jMa="move-nwse";a.ina="move-fast-n";a.jna="move-fast-ne";a.hna="move-fast-e";a.mna="move-fast-se";a.lna="move-fast-s";a.nna="move-fast-sw";a.ona="move-fast-w";a.kna="move-fast-nw";a.Le="hand";a.UC="transparent";
a.Ke="default";a.kv="inherit";return a}()});
define("hL",["require","py"],function(a){function e(){this.kj=[]}var l=a("py");e.prototype.register=function(m){this.ANa(m);this.kj.push(m);m.get("pressed")&amp;&amp;this.dya(m)};e.prototype.unregister=function(m){this.fYa(m)};e.prototype.ANa=function(m){m.bind(l.Lj,this.Mua,this,!0)};e.prototype.fYa=function(m){m.unbind(l.Lj,this.Mua,this)};e.prototype.Mua=function(m){this.dya(m.source)};e.prototype.dya=function(m){this.kj.forEach(function(k){k.set("pressed",k==m)})};e.register=function(m,k){this.unregister(m);
k=this.Fi(k);m.X7=k;k.register(m)};e.unregister=function(m){m.X7&amp;&amp;(m.X7.unregister(m),delete m.X7)};e.Fi=function(m){return this.eta[m]||(this.eta[m]=new e)};e.eta={};return e});define("ep",["require"],function(){return{Me:"push",Oj:"toggle"}});define("il",["require"],function(){return{JH:"visible",Oma:"hidden",fq:"scroll"}});define("hg",["require"],function(){return{Ke:void 0,aa:"over",Ab:"pressed",jc:"pressedOver",ja:"selected"}});
define("w",["require","exports","lS","mS"],function(a,e,l,m){var k={};k.yi=TDV.cb.MV;k.Su=TDV.cb.k7;k.J7=TDV.cb.zna;k.zdb=TDV.cb.o7;k.d7=TDV.cb.l7;k.Tma=TDV.cb.yna;k.jdb=TDV.cb.n7;k.m7=TDV.cb.m7;k.MM=TDV.cb.MM;k.b6=TDV.cb.b6;k.a6=TDV.cb.a6;k.Z5=TDV.cb.Z5;k.c6=TDV.cb.c6;k.rh=TDV.cb.rh;k.pV=TDV.cb.pV;k.Jj=TDV.cb.Jj;k.io=TDV.cb.io;k.nH=TDV.cb.nH;k.Ty=TDV.cb.Ty;k.oV=TDV.cb.oV;k.ys=TDV.cb.ys;k.W5=TDV.cb.W5;k.LM=TDV.cb.LM;k.Vu=TDV.cb.Vu;k.Wu=TDV.cb.Wu;k.rV=TDV.cb.rV;k.X5=TDV.cb.X5;k.JM=TDV.cb.JM;k.IM=TDV.cb.IM;
k.oH=TDV.cb.oH;k.KM=TDV.cb.KM;k.Vy=TDV.cb.Vy;k.rma=TDV.cb.rma;k.Uy=TDV.cb.Uy;k.zs=TDV.cb.zs;k.Xu=TDV.cb.Xu;k.qV=TDV.cb.qV;k.Y5=TDV.cb.Y5;k.d6=TDV.cb.d6;k.g6=TDV.cb.g6;k.OM=TDV.cb.OM;k.h6=TDV.cb.h6;k.tH=TDV.cb.tH;k.PM=TDV.cb.PM;k.tV=TDV.cb.tV;k.SM=TDV.cb.SM;k.uV=TDV.cb.uV;k.vV=TDV.cb.vV;k.QM=TDV.cb.QM;k.RM=TDV.cb.RM;k.wV=TDV.cb.wV;k.i6=TDV.cb.i6;k.RD=function(h){h="force_"+h;if(m.Dj("debug")&amp;&amp;m.Dj(h))return m.getQueryParameter(h)};k.lSa=k.RD("os");k.ud=function(){return k.lSa||TDV.cb.ud};k.gSa=k.RD("browser");
k.browser=function(){return k.gSa||TDV.cb.browser};k.hSa=k.RD("browser_type");k.SK=function(){return k.hSa||TDV.cb.SK};k.Dra=k.RD("browser_subtype");k.sc=function(){return k.Dra?k.Dra:TDV.cb.sc};k.iSa=k.RD("browser_version");k.FBa=function(){return k.iSa||TDV.cb.FBa};k.kSa=k.RD("device");k.jk=function(){return k.kSa||TDV.cb.jk};k.qb=function(){return TDV.cb.mobile};k.SRa=function(){for(var h=navigator.userAgent.toLowerCase(),g=["SM-G960","SM-G965"],b=0;b&lt;g.length;b++)if(0&lt;=h.indexOf(g[b].toLowerCase()))return!0;
return!1}();k.yPa=k.browser()!=k.io||0&gt;navigator.userAgent.indexOf("; wv")?!1:!0;k.jSa=!!k.RD("chromewebview");k.VBa=function(){return k.jSa||k.yPa};k.Sf=function(){return k.sc()==k.Vu||k.sc()==k.Wu||k.sc()==k.rV||k.sc()==k.zs||k.sc()==k.Xu||k.sc()==k.Uy};k.A3=function(){return k.jG()};k.z3=function(){return k.GL()||k.LEa()||k.UEa()||k.QEa()};k.dja=function(){return k.sc()==k.zs};k.Wga=void 0;k.Icb=function(){if(void 0===k.Wga){var h=void 0;k.xB()&amp;&amp;(window.location.hash.split("&amp;").forEach(function(g){"app-version"==
g.split("=")[0]&amp;&amp;(h=g.split("=")[1])}),h&amp;&amp;(h=parseInt(h)));h=h||0;k.Wga=h}return k.Wga};k.xB=function(){return k.CT()||k.dja()};k.CT=function(){return k.sc()==k.Xu};k.F7a=function(){return k.jk()==k.tV};k.x7a=function(){return k.jk()==k.uV};k.LEa=function(){return k.jk()==k.vV};k.D7a=function(){return k.jk()==k.QM};k.E7a=function(){return k.jk()==k.RM};k.PEa=function(){return k.jk()==k.SM};k.QEa=function(){return!!(window.location.hash&amp;&amp;0&lt;=window.location.hash.indexOf("device=picoxr"))};k.UEa=function(){return k.jk()==
k.wV};k.jG=function(){return k.jk()==k.PM};k.GL=function(){return k.jk()==k.tH};k.OE=void 0;k.e9a=function(){void 0===k.OE&amp;&amp;(k.OE=parseInt(m.getQueryParameter("sts")),isNaN(k.OE)&amp;&amp;(k.Sf()&amp;&amp;!k.SRa?k.OE=512:k.qb()&amp;&amp;k.ud()==k.yi?k.OE=512:k.OE=k.qb()?256:1024));return k.OE};k.KYa=function(){if(k.browser()==k.Jj||k.browser()==k.rh)try{var h=/Version\/([0-9]+\.[0-9]+)/i.exec(navigator.userAgent);if(h)return parseFloat(h[1])}catch(g){}}();k.Gka=function(){return k.KYa};k.xUa=function(){try{var h=parseFloat((""+
(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||!1}catch(g){}h||(h=k.Gka());return h}();k.Via=function(){return k.xUa};k.$Na=function(){if(k.ud()==k.Su)try{var h=/Android ([0-9]+\.?[0-9]*)/i.exec(navigator.userAgent);if(h)return parseFloat(h[1])}catch(g){}}();k.p3a=function(){return k.$Na};k.Msa=function(){var h={XDa:"unknown",S7a:1},g=document.createElement("canvas");if(g&amp;&amp;(g=g.getContext("webgl")||
g.getContext("experimental-webgl"))){var b=g.getExtension("WEBGL_debug_renderer_info");b&amp;&amp;(h.XDa=g.getParameter(b.UNMASKED_RENDERER_WEBGL));h.maxTextureSize=g.getParameter(g.MAX_TEXTURE_SIZE);if(b=g.getExtension("EXT_texture_filter_anisotropic")||g.getExtension("MOZ_EXT_texture_filter_anisotropic")||g.getExtension("WEBKIT_EXT_texture_filter_anisotropic"))h.S7a=g.getParameter(b.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}return h}();k.v6a=function(){return k.Msa};k.bOa=function(){var h=k.Msa.XDa.match(/Apple\s+(.+)\s+GPU/);
return h?h[1].toUpperCase():"unknown"}();k.Xdb=function(){return k.bOa};k.jVa=k.jk()==k.OM?!0:!1;k.hy=function(){return k.jVa};k.MBa=function(){return k.browser()==k.Jj&amp;&amp;14&lt;=k.Gka()};var c=!1;try{c="true"==window.localStorage.getItem("tdvp_video_drift_2")}catch(h){}k.O6a=function(){return c};k.Aab=function(){c=!0;try{window.localStorage.setItem("tdvp_video_drift_2","true")}catch(h){}};k.RO="ontouchstart"in window||"undefined"!==typeof window.PointerEvent&amp;&amp;"undefined"!==typeof navigator.maxTouchPoints&amp;&amp;
0&lt;navigator.maxTouchPoints?!0:!1;k.Vla=function(){return k.RO};k.Go=m.Dj("touchenabled")?m.lg("touchenabled"):"ontouchstart"in window?k.ud()==k.J7?!1:!0:!1;k.E5=function(){return k.Go};k.summary=function(){return["browser: "+k.browser(),"browserType: "+k.SK(),"browserSubtype: "+k.sc(),"device: "+k.jk(),"isMobile: "+k.qb(),"chromeWebView: "+k.VBa(),"touchDevice"+k.Vla(),"touchEnabled"+k.E5()].join(", ")};k.log=function(){l.log("browser: "+k.browser());l.log("browserType: "+k.SK());l.log("browserSubtype: "+
k.sc());l.log("device: "+k.jk());l.log("isMobile: "+k.qb());l.log("chromeWebView: "+k.VBa());l.log("touchDevice: "+k.Vla());l.log("touchEnabled: "+k.E5())};return k});define("nC",["require"],function(){return{ab:"left",ub:"right",Ze:"center",Ec:"top",wc:"bottom",se:"middle"}});define("fU",["require"],function(){return{Dc:"rollOver",ALWAYS:"always"}});
define("mA",["require","w"],function(a){function e(){for(;d.length;)d.shift()();document.body.removeEventListener("click",e,!0);document.body.removeEventListener("touchstart",k,!0);document.body.removeEventListener("touchmove",m,!0);document.body.removeEventListener("touchend",l,!0);g=!1}function l(){b&amp;&amp;e()}function m(){b=!1}function k(){b=!0;h.ud()==h.yi&amp;&amp;e()}function c(){document.body.addEventListener("click",e,!0);document.body.addEventListener("touchstart",k,!0);document.body.addEventListener("touchmove",
m,!0);document.body.addEventListener("touchend",l,!0)}var h=a("w"),g=!1,b=!1,d=[];return{M5:function(){e()},wait:function(f){d.push(f);g||(g=!0,document.body?c():document.addEventListener("DOMContentLoaded",c))},teb:function(f){f=d.indexOf(f);0&lt;=f&amp;&amp;d.splice(f,1)}}});define("ix",["require","exports"],function(){return{cMa:7,V5:6,Xma:5,Bl:4,Pna:3,aN:2,q7:1,ddb:0,bna:3,KC:2,wMa:1,vMa:2,sMa:2,oo:2,PMa:3,vdb:4}});define("bo",["require"],function(){return{c7:"horizontal",D7:"vertical"}});
define("pY",["require"],function(){return{VMa:"1",UMa:"auto",GMa:"1",pMa:"2",oMa:"auto",V5:"2",fLa:"3",eLa:"auto",FMa:"5",OMa:"100",Wcb:"101",ILa:999998,xdb:999999,VLa:1E6}});define("gW",["require"],function(){var a=1,e={};return{css:function(l,m){var k=l.__duqid;void 0===k&amp;&amp;(k=a.toString(),l.__duqid=k,a++);l=e[k]||(e[k]={e:l,s:{}});for(var c in m)l.s[c]=m[c]},process:function(){for(var l in e){var m=e[l],k=m.e.style;m=m.s;for(var c in m)k[c]=m[c]}e={}}}});
define("bW",["require"],function(){return{F6a:function(a){return!!a&amp;&amp;0&lt;=a.indexOf("&amp;tdvflipx")},eBa:function(a){a&amp;&amp;(0&gt;a.indexOf("#")&amp;&amp;(a+="#"),a+="&amp;tdvflipx");return a},c5a:function(a,e,l){var m=document.createElement("canvas");m.width=e;m.height=l;l=m.getContext("2d");l.translate(e,0);l.scale(-1,1);l.drawImage(a,0,0);a.src=m.toDataURL()}}});
define("J",["require","exports"],function(){return function(){function a(e,l,m,k,c,h){this.queue=e;this.url=l;this.priority=m;this.time=k;this.nbb=c;this.H3a=h}a.prototype.loaded=function(){this.queue.EU(this.url);this.queue.remove(this)};a.prototype.cancel=function(){this.queue.remove(this)};return a}()});
define("bA","require exports w mS lV J".split(" "),function(a,e,l,m,k,c){var h=l.sc()===l.Vy,g=!(m.Dj("debug")&amp;&amp;m.lg("disable-cache"));return function(){function b(){}b.add=function(d,f,n,q){d=new c(this,d,f,(new Date).getTime(),n,q);this.jx.push(d);this.oa();return d};b.Abb=function(d){this.qK.push(d);this.oa()};b.zbb=function(d){d=this.qK.indexOf(d);0&lt;=d&amp;&amp;this.qK.splice(d,1);this.oa()};b.Lcb=function(d){var f;return h?!0:g?null!==(f=this.Hta[d])&amp;&amp;void 0!==f?f:!1:!1};b.EU=function(d){h||g&amp;&amp;(this.Hta[d]=
!0)};b.oa=function(){this.Cga||(this.Cga=k.UB(b.v1a.bind(this)))};b.v1a=function(){this.Cga=null;for(var d=this.SYa(),f=0,n=this.OY;f&lt;n.length;f++){var q=n[f];d.includes(q)||q.H3a()}f=this.OY;this.OY=d;d=0;for(n=this.OY;d&lt;n.length;d++)q=n[d],f.includes(q)||q.nbb()};b.A_a=function(){this.jx.sort(function(d,f){return d.priority-f.priority||f.time-d.time});this.qK.sort(function(d,f){return d-f})};b.SYa=function(){this.A_a();var d=[];if(this.jx.length)for(var f=this.qK.length?this.qK[0]:this.jx[0].priority,
n=0;10&gt;n&amp;&amp;n&lt;this.jx.length&amp;&amp;this.jx[n].priority&lt;=f;n++)d.push(this.jx[n]);return d};b.remove=function(d){d=this.jx.indexOf(d);0&lt;=d&amp;&amp;this.jx.splice(d,1);this.oa()};b.jx=[];b.OY=[];b.qK=[];b.Cga=null;b.Hta={};return b}()});
define("hi","require lS cI gE py ix mS bW bA".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("py"),c=a("ix"),h=a("mS"),g=a("bW"),b=a("bA");a=e.extend(m,function(f){m.call(this);this.zt=f||c.cMa;this.wa=this.sa=this.hc=this.Wd=null;this.nA=!1;this.YJ=this.Io=null;this.U_=0;this.cba=[];this.kY=this.kY.bind(this);this.lY=this.lY.bind(this)});a.prototype.load=function(f){this.cancel();this.Wd=f;this.U_=0;this.Bxa()};a.prototype.Bxa=function(){this.Io=b.add(this.Wd,this.zt,this.K_a.bind(this),
this.rPa.bind(this))};a.prototype.cancel=function(){this.Io&amp;&amp;(this.Io.cancel(),this.Io=null);this.Zpa();this.Wd=null};a.prototype.v7a=function(){return!!this.hc&amp;&amp;!this.nA||this.YJ};a.prototype.Lh=function(){return this.nA};a.prototype.Cf=function(f){return f?(f=this.hc.cloneNode(!0),this.cba.push(f),f):this.hc};a.prototype.Fe=function(){return this.sa};a.prototype.Ue=function(){return this.wa};a.prototype.Zi=function(){return this.Wd};a.prototype.K_a=function(){this.hc=this.HQa(this.Wd)};a.prototype.rPa=
function(){this.v7a()&amp;&amp;this.Zpa()};a.prototype.Zpa=function(){if(this.hc){this.YJ&amp;&amp;(clearTimeout(this.YJ),this.YJ=null);for(this.nA=!1;this.cba.length;)this.Wqa(this.cba.shift());this.Wqa(this.hc);this.hc=null}};a.prototype.ENa=function(f){f.addEventListener("load",this.kY);f.addEventListener("error",this.lY)};a.prototype.uxa=function(f){f.removeEventListener("load",this.kY);f.removeEventListener("error",this.lY)};a.prototype.kY=function(){this.hc.width&amp;&amp;this.hc.height||!(-1&lt;this.Wd.indexOf(".svg"))||
this.WRa();this.Io.loaded();this.Io=null;this.uxa(this.hc);this.nA=!0;this.sa=this.hc.width;this.wa=this.hc.height;g.F6a(this.Wd)&amp;&amp;g.c5a(this.hc,this.sa,this.wa);this.trigger(new l(k.ea))};a.prototype.lY=function(){this.cancel();this.U_&lt;d?(this.U_++,this.YJ=setTimeout(function(){this.YJ=null;this.Bxa()}.bind(this),1E3*Math.pow(2,this.U_))):this.trigger(new l(k.xc))};a.prototype.WRa=function(){var f=new XMLHttpRequest;f.open("GET",this.Wd,!1);f.send();var n=document.createElement("div");n.innerHTML=
f.responseText;f=n.children[0];this.hc.width=f.width.baseVal.value;this.hc.height=f.height.baseVal.value};a.prototype.HQa=function(f){var n=document.createElement("img");h.bja(f)?n.setAttribute("crossOrigin","Anonymous"):n.removeAttribute("crossOrigin");n.setAttribute("draggable","false");n.style.position="static";n.style.border="none";n.style.display="none";this.ENa(n);n.src=f;return n};a.prototype.Wqa=function(f){this.uxa(f);f.parentNode&amp;&amp;f.parentNode.removeChild(f);f.src=""};var d=5;a.z5=function(f){return b.Lcb(f)};
return a});
define("gP","require es jquery.mod py ix bo pY gW hi".split(" "),function(a){function e(){this.qq=this.sq=this.tq=this.rq=this.Pv=this.Ov=this.Rv=this.Qv=0;this.sW=this.uW=this.vW=this.tW="";this.Mb=1;this.Gc=void 0;this.yD=[];this.k9=[];this.h9=h.D7;this.QW=!1;this.hY=void 0;this.fi=null;this.Aaa=this.Yga=0;this.mc=document.createElement("canvas");this.mc.setAttribute("tdvlayer","background");this.xa=m(this.mc);b.css(this.mc,{position:"absolute",left:0,top:0,"z-index":g.V5,"user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none"});this.Ig=!0}var l=a("es"),m=a("jquery.mod"),k=a("py"),c=a("ix"),h=a("bo"),g=a("pY"),b=a("gW"),d=a("hi");e.prototype.setSize=function(f,n){if(this.Yga!=f||this.Aaa!=n)this.Yga=f||0,this.Aaa=n||0,this.Ig=!0};e.prototype.zIa=function(f){this.Iq!=f&amp;&amp;(this.Iq=f,this.Ig=!0)};e.prototype.gd=function(){return this.xa};e.prototype.ke=function(){return this.mc};e.prototype.H$a=function(f){if(this.hY!=f){this.fi&amp;&amp;(this.fi.unbind(k.ea,this.JO,this),this.fi.cancel(),
this.fi=null);if(this.hY=f)this.fi=new d(c.Pna),this.fi.bind(k.ea,this.JO,this),this.fi.load(this.hY);this.Ig=!0}};e.prototype.Tka=function(f){this.Qv!=f&amp;&amp;(this.Qv=f,this.Ig=!0)};e.prototype.Uka=function(f){this.Rv!=f&amp;&amp;(this.Rv=f,this.Ig=!0)};e.prototype.Oka=function(f){this.Ov!=f&amp;&amp;(this.Ov=f,this.Ig=!0)};e.prototype.Pka=function(f){this.Pv!=f&amp;&amp;(this.Pv=f,this.Ig=!0)};e.prototype.Rka=function(f){this.rq!=f&amp;&amp;(this.rq=f,this.Ig=!0)};e.prototype.Vka=function(f){this.tq!=f&amp;&amp;(this.tq=f,this.Ig=!0)};e.prototype.Ska=
function(f){this.sq!=f&amp;&amp;(this.sq=f,this.Ig=!0)};e.prototype.Qka=function(f){this.qq!=f&amp;&amp;(this.qq=f,this.Ig=!0)};e.prototype.c$a=function(f){this.tW!=f&amp;&amp;(this.tW=f,this.Ig=!0)};e.prototype.e$a=function(f){this.vW!=f&amp;&amp;(this.vW=f,this.Ig=!0)};e.prototype.d$a=function(f){this.uW!=f&amp;&amp;(this.uW=f,this.Ig=!0)};e.prototype.b$a=function(f){this.sW!=f&amp;&amp;(this.sW=f,this.Ig=!0)};e.prototype.Nh=function(f){this.Mb!=f&amp;&amp;(this.Mb=f,this.Ig=!0)};e.prototype.kl=function(){return this.Mb};e.prototype.setColor=function(f){l.isEqual(this.Gc,
f)||(this.Gc=f,l(f).isArray()||(f=[f]),f=l(f).filter(function(n){return l(n).isString()}),this.jIa(f))};e.prototype.pL=function(){return this.Gc};e.prototype.jIa=function(f){l.isEqual(this.yD,f)||(this.yD=f,this.Ig=!0)};e.prototype.k$a=function(f){this.Idb!=f&amp;&amp;(this.k9=f,this.Ig=!0)};e.prototype.j$a=function(f){this.h9!=f&amp;&amp;(this.h9=f,this.Ig=!0)};e.prototype.JO=function(){this.Ig=!0;this.qh()};e.prototype.qh=function(){this.Ig&amp;&amp;(this.oa(),this.Ig=!1)};e.prototype.oa=function(){var f=Math.max(0,this.Yga-
(this.rq+this.sq)),n=Math.max(0,this.Aaa-(this.tq+this.qq)),q=this.xa.get(0);q.width=f;q.height=n;q=q.getContext("2d");var p=this.nPa(),r=0&lt;p.length,t=this.fi&amp;&amp;this.fi.Lh(),u=0&lt;this.rq&amp;&amp;this.tW||0&lt;this.tq&amp;&amp;this.vW||0&lt;this.sq&amp;&amp;this.uW||0&lt;this.qq&amp;&amp;this.sW;u=r||t||u;if(r){var v=this.h9==h.c7?q.createLinearGradient(0,0,f,0):q.createLinearGradient(0,0,0,n);l(p).forEach(function(w){v.addColorStop(w.ratio,w.color)});q.fillStyle=v;q.fillRect(0,0,f,n);this.QW=!0}else this.QW&amp;&amp;(q.clearRect(0,0,f,n),this.QW=
!1);t&amp;&amp;(q.drawImage(this.fi.Cf(),0,0,f,n),this.QW=!0);this.mc.style.opacity=this.Mb;this.mc.style.filter="alpha(opacity="+Math.round(100*this.Mb)+")";this.mc.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Mb)+")";this.mc.style.borderTopLeftRadius=this.Qv+"px";this.mc.style.borderTopRightRadius=this.Rv+"px";this.mc.style.borderBottomLeftRadius=this.Ov+"px";this.mc.style.borderBottomRightRadius=this.Pv+"px";this.mc.style.borderLeft=this.QX(this.rq,this.tW);this.mc.style.borderTop=this.QX(this.tq,
this.vW);this.mc.style.borderRight=this.QX(this.sq,this.uW);this.mc.style.borderBottom=this.QX(this.qq,this.sW);this.mc.style.width=f+"px";this.mc.style.height=n+"px";this.mc.style.cursor="inherit";this.mc.style.display=u?"block":"none";0===this.mc.clientWidth&amp;&amp;0!==f&amp;&amp;(this.mc.style.width=0,this.mc.style.width=f+"px")};e.prototype.QX=function(f,n){return 0&lt;f?n?f+"px solid "+n:f+"px solid transparent":"none"};e.prototype.nPa=function(){var f=[];if(0&lt;this.yD.length){var n=this.yD.slice();n=[].concat([n[0]],
n,[n[n.length-1]]);var q=this.mPa();q=[].concat([0],q,[1]);for(var p=0;p&lt;n.length;p++){var r=q[p];0&lt;=r&amp;&amp;f.push({color:n[p],ratio:r})}for(p=0;p&lt;f.length-1;)f[p].ratio==f[p+1].ratio&amp;&amp;f[p].color==f[p+1].color?f.splice(p,1):p++;for(p=1;p&lt;f.length-1;)f[p-1].ratio==f[p+1].ratio?f.splice(p,1):p++}return f};e.prototype.mPa=function(){var f=this.yD.length,n;for(n=0&lt;this.k9.length?l(this.k9).map(function(q){return Math.min(1,Math.max(0,q))}):1==f?[.5]:l(l.range(f)).map(function(q,p){return 1*p/(f-1)});n.length&lt;
f;)n.push(1);n.length&gt;f&amp;&amp;n.splice(f,n.length-f);return n};return e});
define("eV",["require","jquery.mod","pY","gW"],function(a){function e(){this.a_=this.c_=this.d_=this.b_=this.qq=this.sq=this.tq=this.rq=0;this.nQ=this.Iq=!0;this.Sga=this.Waa=0;this.Ba=!0;this.RQ=document.createElement("div");this.RQ.setAttribute("tdvlayer","content");this.Vxa=l(this.RQ);k.css(this.RQ,{position:"absolute"});this.MN=document.createElement("div");this.r9=l(this.MN);k.css(this.MN,{position:"absolute"});this.Vxa.append(this.r9)}var l=a("jquery.mod"),m=a("pY"),k=a("gW");e.prototype.append=
function(c){this.r9.append(c)};e.prototype.prepend=function(c){this.r9.prepend(c)};e.prototype.lha=function(c){this.MN.appendChild(c)};e.prototype.s9a=function(c){this.MN.removeChild(c)};e.prototype.gd=function(){return this.Vxa};e.prototype.ke=function(){return this.RQ};e.prototype.E$a=function(c){this.Waa!=c&amp;&amp;(this.Waa=c,this.Ba=!0)};e.prototype.$ab=function(c){this.Sga!=c&amp;&amp;(this.Sga=c,this.Ba=!0)};e.prototype.sL=function(){return this.b_+this.rq};e.prototype.uL=function(){return this.d_+this.tq};
e.prototype.tL=function(){return this.c_+this.sq};e.prototype.oL=function(){return this.a_+this.qq};e.prototype.nM=function(c){this.nQ!=c&amp;&amp;(this.nQ=c,this.Ba=!0)};e.prototype.fab=function(c){this.b_!=c&amp;&amp;(this.b_=c,this.Ba=!0)};e.prototype.hab=function(c){this.d_!=c&amp;&amp;(this.d_=c,this.Ba=!0)};e.prototype.gab=function(c){this.c_!=c&amp;&amp;(this.c_=c,this.Ba=!0)};e.prototype.eab=function(c){this.a_!=c&amp;&amp;(this.a_=c,this.Ba=!0)};e.prototype.Rka=function(c){this.rq!=c&amp;&amp;(this.rq=c,this.Ba=!0)};e.prototype.Vka=function(c){this.tq!=
c&amp;&amp;(this.tq=c,this.Ba=!0)};e.prototype.Ska=function(c){this.sq!=c&amp;&amp;(this.sq=c,this.Ba=!0)};e.prototype.Qka=function(c){this.qq!=c&amp;&amp;(this.qq=c,this.Ba=!0)};e.prototype.zIa=function(c){this.Iq!=c&amp;&amp;(this.Iq=c,this.Ba=!0)};e.prototype.qh=function(){this.Ba&amp;&amp;(this.oa(),this.Ba=!1)};e.prototype.oa=function(){k.css(this.RQ,{overflow:this.nQ?"visible":"hidden","z-index":this.Iq?m.fLa:m.eLa,left:this.sL()+"px",top:this.uL()+"px",right:this.tL()+"px",bottom:this.oL()+"px",cursor:"inherit"});k.css(this.MN,{left:-this.Waa+
"px",top:-this.Sga+"px",right:this.nQ?0:"initial",bottom:this.nQ?0:"initial",cursor:"inherit"})};return e});
define("kz","require es jquery.mod lS pY gW".split(" "),function(a){function e(){this.wa=this.sa=this.Qa=this.Na=void 0;this.Pv=this.Ov=this.Rv=this.Qv=0;this.Tb=!1;this.Vaa=0;this.Rga=4;this.K8=6;this.ffa=0;this.Gc="#000000";this.Mb=1;this.mc=document.createElement("div");this.mc.setAttribute("tdvlayer","shadow");this.xa=l(this.mc);k.css(this.mc,{position:"absolute",left:0,top:0,right:0,bottom:"0"});this.Ba=!1}a("es");var l=a("jquery.mod");a("lS");var m=a("pY"),k=a("gW");e.prototype.gd=function(){return this.xa};
e.prototype.ke=function(){return this.mc};e.prototype.Tka=function(c){this.Qv!=c&amp;&amp;(this.Qv=c,this.Ba=!0)};e.prototype.Uka=function(c){this.Rv!=c&amp;&amp;(this.Rv=c,this.Ba=!0)};e.prototype.Oka=function(c){this.Ov!=c&amp;&amp;(this.Ov=c,this.Ba=!0)};e.prototype.Pka=function(c){this.Pv!=c&amp;&amp;(this.Pv=c,this.Ba=!0)};e.prototype.Nh=function(c){this.Mb!=c&amp;&amp;(this.Mb=c,this.Ba=!0)};e.prototype.kl=function(){return this.Mb};e.prototype.Ye=function(c){this.Tb!=c&amp;&amp;(this.Tb=c,this.Ba=!0)};e.prototype.D$a=function(c){this.Vaa!=
c&amp;&amp;(this.Vaa=c,this.Ba=!0)};e.prototype.Zab=function(c){this.Rga!=c&amp;&amp;(this.Rga=c,this.Ba=!0)};e.prototype.a$a=function(c){this.K8!=c&amp;&amp;(this.K8=c,this.Ba=!0)};e.prototype.Bab=function(c){this.ffa!=c&amp;&amp;(this.ffa=c,this.Ba=!0)};e.prototype.setColor=function(c){this.Gc!=c&amp;&amp;(this.Gc=c,this.Ba=!0)};e.prototype.pL=function(){return this.Gc};e.prototype.qh=function(){this.Ba&amp;&amp;(this.oa(),this.Ba=!1)};e.prototype.oa=function(){var c=this.Vaa+"px "+this.Rga+"px "+this.K8+"px "+this.ffa+"px "+this.Gc;this.mc.style.display=
this.Tb?"block":"none";this.mc.style.boxShadow=c;this.mc.style["-webkit-box-shadow"]=c;this.mc.style["-moz-box-shadow"]=c;this.mc.style.borderTopLeftRadius=this.Qv+"px";this.mc.style.borderTopRightRadius=this.Rv+"px";this.mc.style.borderBottomLeftRadius=this.Ov+"px";this.mc.style.borderBottomRightRadius=this.Pv+"px";this.mc.style.filter="alpha(opacity="+Math.round(100*this.Mb)+")";this.mc.style["-ms-filter"]="alpha(opacity="+Math.round(100*this.Mb)+")";this.mc.style.opacity=this.Mb;this.mc.style.zIndex=
m.GMa};return e});
define("nG","require jquery.mod es lS mw bh py gP eV kz pY cI gW w".split(" "),function(a){var e=a("jquery.mod");a("es");var l=a("lS"),m=a("mw"),k=a("bh"),c=a("py"),h=a("gP"),g=a("eV"),b=a("kz"),d=a("pY"),f=a("cI"),n=a("gW");a("w");var q=l.extend(m,function(){m.call(this);this.VI=q.VI++;this.q9=this.te=this.gda=this.mQ=this.Wea=this.xa=this.mc=null;this.Oza=this.jta=!1;this.ta=this.mb=null;this.wa=this.sa=this.Jw=this.Iw=0;this.hA=this.Tb=!1;this.Zsa=!0;this.lP=this.mP=this.bm=this.cm=0;this.Mb=1;
this.bi=k.Ke;this.set("inView",!1);this.set("toolTip",void 0);this.dF(!0);this.Mea(!0)});q.prototype.Re=function(p){this.tD=p};q.prototype.toString=function(){return"["+this.xa.attr("tdvclass")+"::"+this.VI+"]"};q.prototype.log=function(p){l.log(p+" "+this.toString()+" "+(new Date).getTime().toString())};q.prototype.Db=function(){return this.mb};q.prototype.Ht=function(p){(this.mb=p)&amp;&amp;this.kba();this.yK();this.trigger(c.$Ka)};q.prototype.gd=function(){this.xa=e(this.ke());this.gd=function(){return this.xa};
return this.xa};q.prototype.UIa=function(p){(p=p||this.tD)?this.mc.setAttribute("tdvclass",p):this.mc.removeAttribute("tdvclass")};q.prototype.M9a=function(){this.UIa()};q.prototype.ke=function(){this.mc=document.createElement("div");this.mc.setAttribute("id",this.VI);this.tD&amp;&amp;this.mc.setAttribute("tdvclass",this.tD);n.css(this.mc,{margin:0,padding:0,position:"absolute",overflow:"visible",display:"block"});this.ke=function(){return this.mc};return this.mc};q.prototype.Rl=function(){this.Wea=new b;
this.Rl=function(){return this.Wea};return this.Wea};q.prototype.dd=function(){this.te=new h;this.dd=function(){return this.te};return this.te};q.prototype.RI=function(){this.mQ=document.createElement("div");this.mQ.setAttribute("tdvlayer","overShadow");n.css(this.mQ,{position:"absolute",left:0,top:0,cursor:"inherit"});this.RI=function(){return this.mQ};return this.mQ};q.prototype.qaa=function(){this.gda=e(this.RI());this.qaa=function(){return this.gda};return this.gda};q.prototype.Yb=function(){this.q9=
new g;this.Yb=function(){return this.q9};return this.q9};q.prototype.getParent=function(){return this.ta};q.prototype.Za=function(){return this.sa};q.prototype.Cb=function(){return this.wa};q.prototype.B6a=function(){return void 0!==this.sa&amp;&amp;void 0!==this.wa};q.prototype.Bf=function(){return this.sa-this.Yb().sL()-this.Yb().tL()};q.prototype.Af=function(){return this.wa-this.Yb().uL()-this.Yb().oL()};q.prototype.Dm=function(){return this.Yb().sL()};q.prototype.nu=function(){return this.Yb().uL()};
q.prototype.mu=function(){return this.Yb().tL()};q.prototype.qL=function(){return this.Yb().oL()};q.prototype.Ye=function(p){this.Tb!=p&amp;&amp;(this.Tb=p,this.xe(),this.ta&amp;&amp;(this.ta.fc(),this.ta.Xd()),this.yK())};q.prototype.yK=function(){var p=!1;this.mb&amp;&amp;this.Tb&amp;&amp;0&lt;this.kl()&amp;&amp;(this==this.mb?p=!0:this.ta&amp;&amp;(p=this.ta.hA));this.hA!=p&amp;&amp;this.w8(p)};q.prototype.w8=function(p){this.hA=p;this.set("inView",p);this.hA?this.trigger(new f(c.jd)):this.trigger(new f(c.cd))};q.prototype.OZa=function(p){this.Zsa!=p&amp;&amp;
(this.Zsa=p,this.ta&amp;&amp;this.ta.Xd())};q.prototype.FZa=function(p){this.II!=p&amp;&amp;(this.II=p,this.fc())};q.prototype.EZa=function(p){this.HI!=p&amp;&amp;(this.HI=p,this.fc())};q.prototype.DZa=function(p){this.GI!=p&amp;&amp;(this.GI=p,this.fc())};q.prototype.CZa=function(p){this.FI!=p&amp;&amp;(this.FI=p,this.fc())};q.prototype.GZa=function(p){this.qn!=p&amp;&amp;(this.qn=p,void 0!=this.qn&amp;&amp;(this.Jn=void 0),this.fc())};q.prototype.BZa=function(p){this.JD!=p&amp;&amp;(this.JD=p,void 0!=this.JD&amp;&amp;(this.In=void 0),this.fc())};q.prototype.$Za=function(p){this.Jn!=
p&amp;&amp;(this.Jn=p,void 0!=this.Jn&amp;&amp;(this.qn=void 0),this.fc())};q.prototype.WZa=function(p){this.In!=p&amp;&amp;(this.In=p,void 0!=this.In&amp;&amp;(this.JD=void 0),this.fc())};q.prototype.QZa=function(p){this.Cw!=p&amp;&amp;(void 0!=p&amp;&amp;(this.r_=void 0),this.Cw=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.o_a=function(p){this.sr!=p&amp;&amp;(void 0!=p&amp;&amp;(this.t_=void 0),this.sr=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.b_a=function(p){this.OQ!=p&amp;&amp;(void 0!=p&amp;&amp;(this.s_=void 0),this.OQ=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.sZa=
function(p){this.AN!=p&amp;&amp;(void 0!=p&amp;&amp;(this.q_=void 0),this.AN=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.XZa=function(p){this.r_!=p&amp;&amp;(void 0!=p&amp;&amp;(this.Cw=void 0),this.r_=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.ZZa=function(p){this.t_!=p&amp;&amp;(void 0!=p&amp;&amp;(this.sr=void 0),this.t_=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.YZa=function(p){this.s_!=p&amp;&amp;(void 0!=p&amp;&amp;(this.OQ=void 0),this.s_=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.VZa=function(p){this.q_!=p&amp;&amp;(void 0!=p&amp;&amp;(this.AN=void 0),
this.q_=p,this.ta&amp;&amp;this.ta.Xd(),this.fc())};q.prototype.wZa=function(p){this.Fz!=p&amp;&amp;(this.Fz=p,this.ta&amp;&amp;this.ta.Xd())};q.prototype.xZa=function(p){this.Gz!=p&amp;&amp;(this.Gz=p,this.ta&amp;&amp;this.ta.Xd())};q.prototype.su=function(){return isNaN(this.qn)?this.cm:this.qn};q.prototype.ru=function(){return isNaN(this.JD)?this.bm:this.JD};q.prototype.HTa=function(){return isNaN(this.PRa)?this.Qta:this.PRa};q.prototype.pu=function(){return isNaN(this.II)?this.mP:this.II};q.prototype.$x=function(){return isNaN(this.HI)?
this.lP:this.HI};q.prototype.a3=function(){return isNaN(this.GI)?1E4:this.GI};q.prototype.Z2=function(){return isNaN(this.FI)?1E4:this.FI};q.prototype.uya=function(p){this.taa()!=p&amp;&amp;(this.Yb().fab(p),this.fc())};q.prototype.taa=function(){return this.Yb().b_};q.prototype.wya=function(p){this.vaa()!=p&amp;&amp;(this.Yb().hab(p),this.fc())};q.prototype.vaa=function(){return this.Yb().d_};q.prototype.vya=function(p){this.uaa()!=p&amp;&amp;(this.Yb().gab(p),this.fc())};q.prototype.uaa=function(){return this.Yb().c_};
q.prototype.tya=function(p){this.saa()!=p&amp;&amp;(this.Yb().eab(p),this.fc())};q.prototype.saa=function(){return this.Yb().a_};q.prototype.IU=function(p){if(this.Iw!=p){var r=0==this.Iw!=(0==p);this.Iw=p;this.ol();r&amp;&amp;this.ta&amp;&amp;this.ta.Xd()}};q.prototype.JU=function(p){if(this.Jw!=p){var r=0==this.Jw!=(0==p);this.Jw=p;this.ol();r&amp;&amp;this.ta&amp;&amp;this.ta.Xd()}};q.prototype.K6a=function(){return 0!=this.Iw||0!=this.Jw};q.prototype.Nh=function(p){this.Mb!=p&amp;&amp;(this.Mb=p,n.css(this.RI(),{filter:"alpha(opacity="+Math.round(100*
this.Mb)+") ",opacity:this.Mb}),this.yK(),this.ol())};q.prototype.kl=function(){return this.Mb};q.prototype.pZa=function(p){this.dd().Qv!=p&amp;&amp;(this.Rl().Tka(p),this.dd().Tka(p))};q.prototype.ESa=function(){return this.dd().Qv};q.prototype.qZa=function(p){this.dd().Rv!=p&amp;&amp;(this.Rl().Uka(p),this.dd().Uka(p))};q.prototype.FSa=function(){return this.dd().Rv};q.prototype.hZa=function(p){this.dd().Ov!=p&amp;&amp;(this.Rl().Oka(p),this.dd().Oka(p))};q.prototype.CSa=function(){return this.dd().Ov};q.prototype.iZa=
function(p){this.dd().Pv!=p&amp;&amp;(this.Rl().Pka(p),this.dd().Pka(p))};q.prototype.DSa=function(){return this.dd().Pv};q.prototype.lZa=function(p){this.dd().rq!=p&amp;&amp;(this.dd().Rka(p),this.Yb().Rka(p),this.fc())};q.prototype.Tra=function(){return this.dd().rq};q.prototype.rZa=function(p){this.dd().tq!=p&amp;&amp;(this.dd().Vka(p),this.Yb().Vka(p),this.fc())};q.prototype.Vra=function(){return this.dd().tq};q.prototype.nZa=function(p){this.dd().sq!=p&amp;&amp;(this.dd().Ska(p),this.Yb().Ska(p),this.fc())};q.prototype.Ura=
function(){return this.dd().sq};q.prototype.jZa=function(p){this.dd().qq!=p&amp;&amp;(this.dd().Qka(p),this.Yb().Qka(p),this.fc())};q.prototype.Sra=function(){return this.dd().qq};q.prototype.kZa=function(p){this.dd().c$a(p)};q.prototype.oZa=function(p){this.dd().e$a(p)};q.prototype.mZa=function(p){this.dd().d$a(p)};q.prototype.gZa=function(p){this.dd().b$a(p)};q.prototype.r0=function(p){this.Rl().Ye(p)};q.prototype.h_a=function(p){this.Rl().D$a(p)};q.prototype.k_a=function(p){this.Rl().Zab(p)};q.prototype.f_a=
function(p){this.Rl().a$a(p)};q.prototype.j_a=function(p){this.Rl().Bab(p)};q.prototype.i_a=function(p){this.Rl().Nh(p)};q.prototype.g_a=function(p){this.Rl().setColor(p)};q.prototype.cZa=function(p){this.zSa()!=p&amp;&amp;this.dd().Nh(p)};q.prototype.zSa=function(){return this.dd().kl()};q.prototype.ZYa=function(p){this.ySa()!=p&amp;&amp;this.dd().setColor(p)};q.prototype.ySa=function(){return this.dd().pL()};q.prototype.aZa=function(p){this.dd().k$a(p)};q.prototype.$Ya=function(p){this.dd().j$a(p)};q.prototype.bZa=
function(p){this.dd().H$a(p)};q.prototype.UA=function(p){this.bi!=p&amp;&amp;(this.bi=p,this.ol())};q.prototype.n_a=function(p){this.sfa!==p&amp;&amp;(this.sfa=p,this.ke().tabIndex=void 0===this.sfa?void 0:this.sfa)};q.prototype.XYa=function(p){this.s8!=p&amp;&amp;((this.s8=p)?this.ke().setAttribute("aria-label",this.s8):this.ke().removeAttribute("aria-label"))};q.prototype.YYa=function(p){this.t8!=p&amp;&amp;((this.t8=p)?this.ke().setAttribute("role",this.t8):this.ke().removeAttribute("role"))};q.prototype.dF=function(p){this.Iq!=
p&amp;&amp;(this.Iq=p,n.css(this.RI(),{"z-index":this.Iq?d.pMa:d.oMa}),this.Yb().zIa(this.Iq),this.ol())};q.prototype.Mea=function(p){this.Mwa!=p&amp;&amp;(this.Mwa=p,n.css(this.ke(),{"z-index":this.Mwa?d.VMa:d.UMa}),this.ol())};q.prototype.mq=function(){this.yK();this.xT()};q.prototype.Ln=function(){this.yK()};q.prototype.mea=function(){};q.prototype.kba=function(){this.xT();this.xe();this.fc();this.Xd();this.ol()};q.prototype.Hw=function(){this.lP=this.mP=this.bm=this.cm=0;this.Qta=void 0};q.prototype.xT=function(){var p=
this.Db();p&amp;&amp;p.VH.xT(this)};q.prototype.xe=function(){var p=this.Db();p&amp;&amp;p.VH.xe(this)};q.prototype.fc=function(){var p=this.Db();p&amp;&amp;p.VH.fc(this)};q.prototype.Xd=function(){var p=this.Db();p&amp;&amp;p.VH.Xd(this)};q.prototype.ol=function(){var p=this.Db();p&amp;&amp;p.VH.ol(this)};q.prototype.Gaa=function(){var p=isNaN(this.r_)&amp;&amp;isNaN(this.Cw),r=isNaN(this.s_)&amp;&amp;isNaN(this.OQ);return isNaN(this.qn)&amp;&amp;isNaN(this.Jn)&amp;&amp;(p||r)?!0:!1};q.prototype.Nsa=function(){var p=isNaN(this.t_)&amp;&amp;isNaN(this.sr),r=isNaN(this.q_)&amp;&amp;isNaN(this.AN);
return isNaN(this.JD)&amp;&amp;isNaN(this.In)&amp;&amp;(p||r)?!0:!1};q.prototype.Z1a=function(){this.Hw();var p=this.HTa();if(p){var r=this.Gaa(),t=this.Nsa();r&amp;&amp;!t?(r=this.Af(),0!=r&amp;&amp;(this.cm=r*p+this.Dm()+this.mu(),this.bm=r+this.nu()+this.qL())):!r&amp;&amp;t&amp;&amp;(r=this.Bf(),0!=r&amp;&amp;(this.bm=r/p+this.Dm()+this.mu(),this.cm=r+this.Dm()+this.mu()))}!isNaN(this.II)&amp;&amp;this.cm&lt;this.II&amp;&amp;(this.cm=this.II);!isNaN(this.GI)&amp;&amp;this.cm&gt;this.GI&amp;&amp;(this.cm=this.GI);!isNaN(this.HI)&amp;&amp;this.bm&lt;this.HI&amp;&amp;(this.bm=this.HI);!isNaN(this.FI)&amp;&amp;this.bm&gt;
this.FI&amp;&amp;(this.bm=this.FI)};q.prototype.Hb=function(){if(!this.Oza){this.Oza=!0;var p=this.ke(),r=this.RI();p.appendChild(this.Rl().ke());p.appendChild(r);r.appendChild(this.dd().ke());r.appendChild(this.Yb().ke())}};q.prototype.mcb=function(){this.Z1a();var p=this.su(),r=this.ru(),t=this.pu(),u=this.$x();return p!=this.bWa||r!=this.aWa||t!=this.YVa||u!=this.XVa||this.Jn!=this.$Va||this.In!=this.ZVa?(this.bWa=p,this.aWa=r,this.YVa=t,this.XVa=u,this.$Va=this.Jn,this.ZVa=this.In,!0):!1};q.prototype.bb=
function(){this.ol()};q.prototype.dj=function(){};q.prototype.hIa=function(p,r,t,u){if(this.Na!=p||this.Qa!=r||this.sa!=t||this.wa!=u)this.Na=p,this.Qa=r,this.sa=t,this.wa=u,this.dd().setSize(this.sa,this.wa),this.Xd(),this.ol(),this.trigger(new f(c.tc))};q.prototype.qh=function(){var p=this.ke(),r=this.RI();this.Tb?(r.style.width=this.sa+"px",r.style.height=this.wa+"px",p.style.left=this.Na+this.Iw+"px",p.style.top=this.Qa+this.Jw+"px",p.style.width=this.sa+"px",p.style.height=this.wa+"px",p.style.visibility=
"inherit",p.style.overflow="visible",p.style.cursor=this.mb&amp;&amp;this.mb.R9.gDa(this.bi),0===r.clientWidth&amp;&amp;0!==this.sa&amp;&amp;(p.style.width=0,p.style.width=this.sa+"px")):(p.style.visibility="hidden",p.style.width=0,p.style.height=0,p.style.overflow="hidden",r.style.width=0,r.style.height=0);this.Rl().qh();this.dd().qh();this.Yb().qh();!this.jta&amp;&amp;this.mb&amp;&amp;(this.jta=!0,this.mb.lja()?this.lba():this.mb.bind(c.lo,this.lba,this,!0))};q.prototype.lba=function(){this.trigger(c.INIT)};q.prototype.j6a=function(p){p=
p.gd().offset();var r=this.gd().offset(),t={};t.left=r.left-p.left;t.top=r.top-p.top;this.mb&amp;&amp;(t.left/=this.mb.DA,t.top/=this.mb.DA);return t};q.VI=0;return q});
define("S","require es lS py cI hg nG".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("hg"),h=a("nG"),g=l.extend(h,function(){this.o={};this.ix=this.Era=void 0;this.LA={};this.Bra=!0;this.Xya={};h.call(this);this.fRa();this.yb();this.Re("UICustomizable");this.xe()});g.Fc={ariaLabel:void 0,ariaRole:void 0,visible:!0,includeInLayout:!0,state:void 0,left:void 0,right:void 0,top:void 0,bottom:void 0,centerX:void 0,centerY:void 0,width:void 0,height:void 0,minWidth:void 0,minHeight:void 0,
maxWidth:void 0,maxHeight:void 0,actualWidth:void 0,actualHeight:void 0,paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,opacity:1,borderRadius:0,borderTopRadius:void 0,borderBottomRadius:void 0,borderLeftRadius:void 0,borderRightRadius:void 0,borderTopLeftRadius:void 0,borderTopRightRadius:void 0,borderBottomLeftRadius:void 0,borderBottomRightRadius:void 0,borderSize:0,borderLeftSize:void 0,borderTopSize:void 0,borderRightSize:void 0,borderBottomSize:void 0,borderColor:void 0,borderLeftColor:void 0,
borderTopColor:void 0,borderRightColor:void 0,borderBottomColor:void 0,shadow:!1,shadowHorizontalLength:0,shadowVerticalLength:3,shadowBlurRadius:6,shadowSpread:0,shadowColor:"#000000",shadowOpacity:void 0,tabIndex:void 0,backgroundOpacity:1,backgroundColor:void 0,backgroundColorRatios:void 0,backgroundColorDirection:void 0,backgroundImageUrl:void 0,hideEffect:void 0,showEffect:void 0};g.prototype.fRa=function(){this.Xya[c.jc]=c.Ab};g.prototype.yb=function(){this.Bo(g.Fc)};g.prototype.Bo=function(b){for(var d in b){var f=
b[d],n=f&amp;&amp;f.length;n&amp;&amp;"string"!=typeof f?1==n?this.h(d,f[0]):2==n?this.A(d,f[0],f[1]):3==n&amp;&amp;this.A(d,f[0],f[1],f[2]):this.h(d,f)}};g.prototype.h=function(b,d){this.o[b]={i:!0,d}};g.prototype.MTa=function(){var b=[],d;for(d in this.o)b.push(d);return b};g.prototype.A=function(b,d,f,n){this.LA[d]||(this.LA[d]={});this.h(b,n);this.LA[d][f]=b};g.prototype.gK=function(b,d){if(d)this.Era=b;else if(void 0!=this.Era)return;if(this.ix!=b){if(d=this.LA[this.ix])for(var f in d)(this.o[f]||(this.o[f]={})).i=
!0;this.ix=b;if(d=this.LA[this.ix])for(f in d)(this.o[f]||(this.o[f]={})).i=!0;this.xe()}};g.prototype.ra=function(b){if(e(b).isString())this.set(b,void 0);else{var d=b;for(b in d)this.set(b,d[b])}};g.prototype.set=function(b,d){var f=this.o[b];f?(void 0==d&amp;&amp;(d=f.d),e.isEqual(this.get(b),d)||("state"==b&amp;&amp;this.gK(d,!0),h.prototype.set.call(this,b,d),f.i=!0,this.xe())):h.prototype.set.call(this,b,d)};g.prototype.get=function(b,d){switch(b){case "actualWidth":return this.Za();case "actualHeight":return this.Cb();
default:var f=h.prototype.get.call(this,b);void 0===f&amp;&amp;((b=this.o[b])&amp;&amp;(f=b.d),void 0===f&amp;&amp;(f=d));return f}};g.prototype.bpa=function(){for(var b="paddingLeft paddingTop paddingRight paddingBottom borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize".split(" "),d=0;d&lt;b.length;d++)if(this.L(b[d]))return!0;return!1};
g.prototype.L=function(b){if((this.o[b]||{}).i)return!0;if(void 0!==this.ix)return b=this.LA[this.ix][b],!!(this.o[b]||{}).i};g.prototype.fF=function(b){(this.o[b]||(this.o[b]={})).i=!0;this.xe()};g.prototype.S=function(b){(this.o[b]||(this.o[b]={})).i=!1;void 0!=this.ix&amp;&amp;(b=this.LA[this.ix][b])&amp;&amp;((this.o[b]||(this.o[b]={})).i=!1)};g.prototype.B=function(){for(var b,d=0;d&lt;arguments.length;d++){for(var f=arguments[d],n=this.ix;n;){if(b=this.LA[n][f])if(b=this.get(b),void 0!=b&amp;&amp;null!=b)return b;n=this.Xya[n]}b=
this.get(f);if(void 0!=b&amp;&amp;null!=b)return b}};g.prototype.Yea=function(b){b.source.unbind(m.Gb,this.Yea,this);this.trigger(new k(m.cN))};g.prototype.Saa=function(b){b.source.unbind(m.Gb,this.Saa,this);this.trigger(new k(m.WM))};g.prototype.Kv=function(){return this.get("ariaLabel")||this.get("toolTip")};g.prototype.bb=function(){if(this.Bra)this.Bra=!1;else if(this.L("visible")){var b=this.B("visible"),d=this.get(b?"hideEffect":"showEffect");d&amp;&amp;d.EL(this)&amp;&amp;(d.unbind(m.Gb,b?this.Saa:this.Yea,this),
d.end());(d=this.get(b?"showEffect":"hideEffect"))?d.EL(this)||(this.S("visible"),d.bind(m.Gb,b?this.Yea:this.Saa,this),d.play(this)):this.trigger(new k(b?m.cN:m.WM))}this.L("visible")&amp;&amp;(this.Ye(this.B("visible")),this.S("visible"));this.L("includeInLayout")&amp;&amp;(this.OZa(this.B("includeInLayout")),this.S("includeInLayout"));this.L("left")&amp;&amp;(d=this.B("left"),b=g.Bp(d),d=void 0===b?d:void 0,this.XZa(b),this.QZa(d),this.S("left"));this.L("top")&amp;&amp;(d=this.B("top"),b=g.Bp(d),d=void 0===b?d:void 0,this.ZZa(b),
this.o_a(d),this.S("top"));this.L("right")&amp;&amp;(d=this.B("right"),b=g.Bp(d),d=void 0===b?d:void 0,this.YZa(b),this.b_a(d),this.S("right"));this.L("bottom")&amp;&amp;(d=this.B("bottom"),b=g.Bp(d),d=void 0===b?d:void 0,this.VZa(b),this.sZa(d),this.S("bottom"));this.L("centerX")&amp;&amp;(this.wZa(this.B("centerX")),this.S("centerX"));this.L("centerY")&amp;&amp;(this.xZa(this.B("centerY")),this.S("centerY"));this.L("width")&amp;&amp;(d=this.B("width"),b=g.Bp(d),d=void 0===b?d:void 0,this.$Za(b),this.GZa(d),this.S("width"));this.L("height")&amp;&amp;
(d=this.B("height"),b=g.Bp(d),d=void 0===b?d:void 0,this.WZa(b),this.BZa(d),this.S("height"));this.L("minWidth")&amp;&amp;(d=this.B("minWidth"),this.FZa(d),this.S("minWidth"));this.L("minHeight")&amp;&amp;(d=this.B("minHeight"),this.EZa(d),this.S("minHeight"));this.L("maxWidth")&amp;&amp;(d=this.B("maxWidth"),this.DZa(d),this.S("maxWidth"));this.L("maxHeight")&amp;&amp;(d=this.B("maxHeight"),this.CZa(d),this.S("maxHeight"));this.L("paddingLeft")&amp;&amp;(this.uya(this.B("paddingLeft")),this.S("paddingLeft"));this.L("paddingTop")&amp;&amp;(this.wya(this.B("paddingTop")),
this.S("paddingTop"));this.L("paddingRight")&amp;&amp;(this.vya(this.B("paddingRight")),this.S("paddingRight"));this.L("paddingBottom")&amp;&amp;(this.tya(this.B("paddingBottom")),this.S("paddingBottom"));b=!1;this.L("borderRadius")&amp;&amp;(this.S("borderRadius"),b=!0);d=!1;this.L("borderLeftRadius")&amp;&amp;(this.S("borderLeftRadius"),d=!0);var f=!1;this.L("borderTopRadius")&amp;&amp;(this.S("borderTopRadius"),f=!0);var n=!1;this.L("borderRightRadius")&amp;&amp;(this.S("borderRightRadius"),n=!0);var q=!1;this.L("borderBottomRadius")&amp;&amp;(this.S("borderBottomRadius"),
q=!0);if(this.L("borderTopLeftRadius")||f||d||b)this.pZa(this.B("borderTopLeftRadius","borderLeftRadius","borderTopRadius","borderRadius")),this.S("borderTopLeftRadius");if(this.L("borderTopRightRadius")||f||n||b)this.qZa(this.B("borderTopRightRadius","borderRightRadius","borderTopRadius","borderRadius")),this.S("borderTopRightRadius");if(this.L("borderBottomLeftRadius")||q||d||b)this.hZa(this.B("borderBottomLeftRadius","borderLeftRadius","borderBottomRadius","borderRadius")),this.S("borderBottomLeftRadius");
if(this.L("borderBottomRightRadius")||q||n||b)this.iZa(this.B("borderBottomRightRadius","borderRightRadius","borderBottomRadius","borderRadius")),this.S("borderBottomRightRadius");b=!1;this.L("borderSize")&amp;&amp;(this.S("borderSize"),b=!0);if(this.L("borderLeftSize")||b)this.lZa(this.B("borderLeftSize","borderSize")),this.S("borderLeftSize");if(this.L("borderTopSize")||b)this.rZa(this.B("borderTopSize","borderSize")),this.S("borderTopSize");if(this.L("borderRightSize")||b)this.nZa(this.B("borderRightSize",
"borderSize")),this.S("borderRightSize");if(this.L("borderBottomSize")||b)this.jZa(this.B("borderBottomSize","borderSize")),this.S("borderBottomSize");b=!1;this.L("borderColor")&amp;&amp;(this.S("borderColor"),b=!0);if(this.L("borderLeftColor")||b)this.kZa(this.B("borderLeftColor","borderColor")),this.S("borderLeftColor");if(this.L("borderTopColor")||b)this.oZa(this.B("borderTopColor","borderColor")),this.S("borderTopColor");if(this.L("borderRightColor")||b)this.mZa(this.B("borderRightColor","borderColor")),
this.S("borderRightColor");if(this.L("borderBottomColor")||b)this.gZa(this.B("borderBottomColor","borderColor")),this.S("borderBottomColor");this.L("shadow")&amp;&amp;(this.r0(this.B("shadow")),this.S("shadow"));this.L("shadowHorizontalLength")&amp;&amp;(this.h_a(this.B("shadowHorizontalLength")),this.S("shadowHorizontalLength"));this.L("shadowVerticalLength")&amp;&amp;(this.k_a(this.B("shadowVerticalLength")),this.S("shadowVerticalLength"));this.L("shadowBlurRadius")&amp;&amp;(this.f_a(this.B("shadowBlurRadius")),this.S("shadowBlurRadius"));
this.L("shadowSpread")&amp;&amp;(this.j_a(this.B("shadowSpread")),this.S("shadowSpread"));this.L("shadowColor")&amp;&amp;(this.g_a(this.B("shadowColor")),this.S("shadowColor"));this.L("tabIndex")&amp;&amp;(this.n_a(this.B("tabIndex")),this.S("tabIndex"));b=!1;this.L("opacity")&amp;&amp;(this.Nh(this.B("opacity")),this.S("opacity"),b=!0);if(this.L("shadowOpacity")||b)this.i_a(this.B("shadowOpacity","opacity")),this.S("shadowOpacity");this.L("backgroundOpacity")&amp;&amp;(this.cZa(this.B("backgroundOpacity")),this.S("backgroundOpacity"));
this.L("backgroundColor")&amp;&amp;(this.ZYa(this.B("backgroundColor")),this.S("backgroundColor"));this.L("backgroundColorRatios")&amp;&amp;(this.aZa(this.B("backgroundColorRatios")),this.S("backgroundColorRatios"));this.L("backgroundColorDirection")&amp;&amp;(this.$Ya(this.B("backgroundColorDirection")),this.S("backgroundColorDirection"));this.L("backgroundImageUrl")&amp;&amp;(this.bZa(this.B("backgroundImageUrl")),this.S("backgroundImageUrl"));this.L("ariaRole")&amp;&amp;(this.YYa(this.B("ariaRole")),this.S("ariaRole"));this.XYa(this.Kv());
h.prototype.bb.call(this)};g.Bp=function(b){if(e(b).isString()&amp;&amp;(b=b.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&amp;&amp;2&lt;=b.length)return parseFloat(b[1])};return g});define("kh",["require","es","lS","cI"],function(a){var e=a("es"),l=a("lS"),m=a("cI");return l.extend(m,function(k,c,h,g,b,d,f,n){e.isNumber(c)||(c=1);e.isNumber(h)||(h=0);m.call(this,k);this.scale=c;this.rotation=h;this.x=g;this.y=b;this.pageX=d;this.pageY=f;this.touches=n||[]})});
define("pC",["require","exports","cI"],function(a,e,l){return function(m){function k(c,h,g,b,d,f,n,q){c=m.call(this,c)||this;c.x=h;c.y=g;c.pageX=b;c.pageY=d;c.delta=f;c.HS=n;c.originalEvent=q;c.movementX=q?q.movementX:0;c.movementY=q?q.movementY:0;return c}Z(k,m);return k}(l)});
define("e","require jquery.mod es lS py hg mA S kh pC gW w mS".split(" "),function(a){var e=a("jquery.mod"),l=a("es"),m=a("lS"),k=a("py"),c=a("hg"),h=a("mA"),g=a("S"),b=a("kh"),d=a("pC");a("gW");var f=a("w");a=a("mS");var n=m.extend(g,function(){g.call(this);this.Re("UIComponent");this.yX=[];this.eua=0;this.rca=void 0;this.vRa=500;this.Rc=1;this.Go=f.E5();this.PO=this.yw=this.wY=!1;this.set("propagateClick",!0)});n.Fc={autoRolledOver:!1,autoPressed:!1,contentOpaque:!0,cursor:void 0,inheritedCursor:void 0,
inheritedInteractionEnabled:!0,interactionEnabled:!0,rollOverOpacity:[c.aa,"opacity"],rollOverShadow:[c.aa,"shadow"],toolTipFollowMouse:!1};l.defaults(n.Fc,g.Fc);n.prototype.yb=function(){this.Bo(n.Fc)};n.prototype.spa=function(){this.Aya(!0)};n.prototype.rpa=function(){this.Aya(!1)};n.prototype.ppa=function(){this.fK(!0)};n.prototype.qpa=function(){this.fK(!1)};n.prototype.aR=function(p){this.yw!=p&amp;&amp;(this.yw=p,this.yg())};n.prototype.fK=function(p){this.PO!=p&amp;&amp;(this.PO=p,this.yg())};n.prototype.Aya=
function(p){this.wY!=p&amp;&amp;(this.wY=p,this.yg())};n.prototype.yg=function(){this.yw?this.gK(c.ja):this.PO&amp;&amp;this.wY?this.gK(c.jc):this.PO?this.gK(c.Ab):this.wY?this.gK(c.aa):this.gK(c.Ke)};n.prototype.trigger=function(){g.prototype.trigger.apply(this,arguments)};n.prototype.Gza=function(p,r){this.trigger(new d(k.hb,p.x,p.y,p.pageX,p.pageY,void 0,void 0,r&amp;&amp;r.originalEvent))};n.prototype.Hza=function(p,r){this.trigger(new d(k.Pb,p.x,p.y,p.pageX,p.pageY,void 0,void 0,r&amp;&amp;r.originalEvent))};n.prototype.Iza=
function(p,r){this.trigger(new d(k.Eb,p.x,p.y,p.pageX,p.pageY,void 0,void 0,r&amp;&amp;r.originalEvent))};n.prototype.R0a=function(p,r,t){this.trigger(new d(k.Gs,p.x,p.y,p.pageX,p.pageY,r.delta,r.HS,t&amp;&amp;t.originalEvent))};n.prototype.Dza=function(p){this.trigger(new d(k.ma,p.x,p.y,p.pageX,p.pageY))};n.prototype.Eza=function(p){this.trigger(new d(k.Dl,p.x,p.y,p.pageX,p.pageY))};n.prototype.U0a=function(){this.trigger(new d(k.Dc))};n.prototype.T0a=function(){this.trigger(new d(k.Jb))};n.prototype.P0a=function(){this.trigger(new d(k.LC))};
n.prototype.Q0a=function(){this.trigger(new d(k.Zp))};n.prototype.O0a=function(p,r,t){this.trigger(new b(k.bz,p,r,t.x,t.y,t.pageX,t.pageY,t.touches))};n.prototype.K0a=function(p,r,t){this.trigger(new b(k.Z6,p,r,t.x,t.y,t.pageX,t.pageY,t.touches))};n.prototype.L0a=function(p,r,t){this.trigger(new b(k.wH,p,r,t.x,t.y,t.pageX,t.pageY,t.touches))};n.prototype.M0a=function(p){this.trigger(new b(k.PLa,void 0,p))};n.prototype.N0a=function(p){this.trigger(new b(k.xH,p))};n.prototype.Gfa=function(p){p.stopImmediatePropagation();
this.CI(["touchend"]);this.pta(p)?this.Uda(p):this.lxa(p,!0)};n.prototype.lxa=function(p,r){var t=this.VD(p);r&amp;&amp;this.C0a(t);this.Gza(t,p);this.ta&amp;&amp;this.ta.lxa(p,r&amp;&amp;this.get("propagateClick"))};n.prototype.Ffa=function(p){p.preventDefault();p.stopImmediatePropagation();this.pta(p)?this.Sda(p):this.kxa(p)};n.prototype.kxa=function(p){var r=this.VD(p);this.B0a(r);this.Hza(r,p);this.ta&amp;&amp;this.ta.kxa(p)};n.prototype.aaa=function(p,r){var t=p.pageX-r.pageX;p=p.pageY-r.pageY;return Math.sqrt(t*t+p*p)};n.prototype.$A=
function(p,r){this.ZN(["touchend"]);!1!==r&amp;&amp;p.preventDefault();p.stopImmediatePropagation();this.QJ?this.Tda(p):(r=this.VD(p),this.jxa(p,this.ota(r)),this.cta(r));this.QJ=null;this.tN()};n.prototype.jxa=function(p,r){var t=this.VD(p);this.Iza(t,p);this.A0a(r);this.ta&amp;&amp;this.ta.jxa(p,r)};n.prototype.C0a=function(p){this.bind(k.Jb,this.wza,this,!0);this.oF=p};n.prototype.B0a=function(p){if(this.oF){p=this.aaa(this.oF,p);if(f.qb()){var r=this.Db();r=.01*n.oNa*Math.min(r.Za(),r.Cb())}else r=n.uNa;p&gt;r&amp;&amp;
this.X0()}};n.prototype.A0a=function(p){this.oF&amp;&amp;(this.Dza(this.oF),p&amp;&amp;this.Eza(this.oF),this.X0())};n.prototype.X0=function(){this.oF&amp;&amp;(this.unbind(k.Jb,this.wza,this),this.oF=void 0)};n.prototype.wza=function(){this.X0()};n.prototype.V$=function(p){this.CI(["gesturechange","gestureend"]);p.preventDefault();p.stopImmediatePropagation();this.Uda(p)};n.prototype.Uda=function(p){var r=this.haa(p);this.QJ=r;this.O0a(r.scale,r.rotation,r.coordinates);this.ta&amp;&amp;this.ta.Uda(p)};n.prototype.Hra=function(p){p.preventDefault();
p.stopImmediatePropagation();this.Sda(p)};n.prototype.Sda=function(p){var r=this.haa(p,this.QJ),t=r.rotation-this.QJ.rotation,u=r.scale/this.QJ.scale;this.QJ=r;this.Rc*=u;for(this.Zk+=t;180&lt;this.Zk;)this.Zk-=360;for(;-180&gt;this.Zk;)this.Zk+=360;this.K0a(this.Rc,this.Zk,r.coordinates);0!=t&amp;&amp;this.M0a(this.Zk);1!=u&amp;&amp;this.N0a(this.Rc);this.X0();this.ta&amp;&amp;this.ta.Sda(p)};n.prototype.Jra=function(p){this.ZN(["gesturechange","gestureend"]);p.preventDefault();p.stopImmediatePropagation();this.Tda(p)};n.prototype.Tda=
function(p){var r=this.haa(p);this.L0a(this.Rc,this.Zk,r.coordinates);this.ta&amp;&amp;this.ta.Tda(p)};n.prototype.mca=function(p){this.CI(["mouseup"]);p.stopImmediatePropagation();this.fxa(p,!0);q&amp;&amp;this.EVa(p.ctrlKey)};n.prototype.fxa=function(p,r){var t=this.Zz(p);r&amp;&amp;this.TPa(t);this.Gza(t,p);this.ta&amp;&amp;this.ta.fxa(p,r&amp;&amp;this.get("propagateClick"))};n.prototype.qca=function(p){p.preventDefault();p.stopImmediatePropagation();this.Db().JG(this);this.gxa(p)};n.prototype.gxa=function(p){var r=this.Zz(p);this.SPa(r);
this.Hza(r,p);this.ta&amp;&amp;this.ta.gxa(p)};n.prototype.dZ=function(p){this.ZN(["mouseup"]);p.preventDefault();p.stopImmediatePropagation();var r=this.Zz(p);this.hxa(p,this.ota(r));this.cta(r)};n.prototype.hxa=function(p,r){var t=this.Zz(p);this.Iza(t);this.RPa(r);this.ta&amp;&amp;this.ta.hxa(p,r)};n.prototype.TPa=function(p){this.bind(k.Jb,this.fqa,this,!0);this.xD=p};n.prototype.SPa=function(p){this.xD&amp;&amp;this.aaa(this.xD,p)&gt;n.hNa&amp;&amp;this.e9()};n.prototype.RPa=function(p){this.xD&amp;&amp;(this.Dza(this.xD),p&amp;&amp;this.Eza(this.xD),
this.e9())};n.prototype.e9=function(){this.xD&amp;&amp;(this.unbind(k.Jb,this.fqa,this),this.xD=void 0)};n.prototype.fqa=function(){this.e9()};n.prototype.gua=function(p){this.mb.fua&amp;&amp;(p.preventDefault(),p.stopImmediatePropagation(),this.ixa(p))};n.prototype.Mpa=function(){return!1};n.prototype.ixa=function(p){var r=this.Zz(p),t=this.vTa(p);this.ta&amp;&amp;!this.Mpa(t.delta)&amp;&amp;this.ta.ixa(p);this.R0a(r,t,p)};n.prototype.Zz=function(p){return this.RX(p.pageX,p.pageY)};n.prototype.vTa=function(p){p=window.event||p.originalEvent||
p;var r={};r.delta=Math.max(-1,Math.min(1,p.wheelDelta||-p.detail));r.HS=p.wheelDelta?.01*p.wheelDelta:r.delta;return r};n.prototype.VD=function(p){var r=this.faa(p);if(void 0===r){var t=void 0!==p.pageX?this.RX(p.pageX,p.pageY):this.RX(p.originalEvent.pageX,p.originalEvent.pageY);t.touches=[t]}else 0==r.length?t=this.TXa:(t={x:0,y:0,pageX:0,pageY:0,KB:0,LB:0,touches:[]},Array.from(r).forEach(function(u){u||(u=r[0]);u=this.RX(u.pageX,u.pageY);t.x+=u.x;t.y+=u.y;t.pageX+=u.pageX;t.pageY+=u.pageY;t.KB+=
u.KB;t.LB+=u.LB;t.touches.push(u)}.bind(this)),t.x/=r.length,t.y/=r.length,t.pageX/=r.length,t.pageY/=r.length,t.KB/=r.length,t.LB/=r.length);return this.TXa=t};n.prototype.pta=function(p){if((p=this.faa(p))&amp;&amp;1&lt;p.length)for(var r=0,t=0;t&lt;p.length;t++)if(this.$Ua(p[t].target)&amp;&amp;(r++,1&lt;r))return!0;return!1};n.prototype.$Ua=function(p){for(;p;){if(p==this.mc)return!0;p=p.parentNode}return!1};n.prototype.faa=function(p){return p.originalEvent.touches||p.originalEvent.targetTouches||p.originalEvent.changedTouches};
n.prototype.RX=function(p,r){var t=this.gd().offset(),u=this.mb?this.mb.DA:1,v={};v.x=(p-t.left)/u;v.y=(r-t.top)/u;v.pageX=p/u;v.pageY=r/u;v.KB=p;v.LB=r;return v};n.prototype.haa=function(p,r){var t=this.VD(p);return void 0!==p.originalEvent.scale||void 0!==p.originalEvent.rotation?{coordinates:t,scale:p.originalEvent.scale,rotation:p.originalEvent.rotation}:r?(p=this.isa(p),{coordinates:t,scale:r.scale*p/r.touchesDistance,rotation:0,touchesDistance:p}):{coordinates:t,scale:1,rotation:0,touchesDistance:this.isa(p)}};
n.prototype.isa=function(p){var r=this.faa(p);return r&amp;&amp;1&lt;r.length?(p=Math.abs(r[0].pageX-r[1].pageX),r=Math.abs(r[0].pageY-r[1].pageY),Math.sqrt(p*p+r*r)):0};n.prototype.CI=function(p){this.yX=l(this.yX).union(p);p=this.hsa(p);for(var r=0;r&lt;p.length;r++){var t=p[r];t.target.bind(t.name,t.handler)}};n.prototype.cta=function(p){this.eua=(new Date).getTime();this.rca=p};n.prototype.ota=function(p){if((new Date).getTime()-this.eua&gt;this.vRa||!this.rca)return!1;p=this.aaa(this.rca,p);if(f.qb()){var r=
this.Db();r=.01*n.nNa*Math.min(r.Za(),r.Cb())}else r=n.iNa;return p&gt;r?!1:!0};n.prototype.ZN=function(p){this.yX=l(this.yX).difference(p);p=this.hsa(p);for(var r=0;r&lt;p.length;r++){var t=p[r];t.target.unbind(t.name,t.handler)}};n.prototype.hsa=function(p){this.vra||(this.vra=this.eaa());for(var r=[],t=0;t&lt;p.length;t++)r=r.concat(this.vra[p[t]]);return r};n.prototype.eaa=function(){var p=this.gd(),r=e(document),t=e(window);return{touchstart:[{target:p,name:"touchstart",handler:this.Ih(this.Gfa)}],touchmove:[{target:p,
name:"touchmove",handler:this.Ih(this.Ffa)}],touchend:[{target:p,name:"touchend",handler:this.Ih(this.$A,!0)},{target:r,name:"touchend",handler:this.Ih(this.$A,!0)},{target:p,name:"touchcancel",handler:this.Ih(this.$A,!0)},{target:r,name:"touchcancel",handler:this.Ih(this.$A,!0)}],gesturestart:[{target:p,name:"gesturestart",handler:this.Ih(this.V$)}],gesturechange:[{target:p,name:"gesturechange",handler:this.Ih(this.Hra)}],gestureend:[{target:p,name:"gestureend",handler:this.Ih(this.Jra)}],mousedown:[{target:p,
name:"mousedown",handler:this.Ih(this.mca)}],mousemove:[{target:p,name:"mousemove",handler:this.Ih(this.qca)}],mouseup:[{target:p,name:"mouseup",handler:this.Ih(this.dZ,!0)},{target:t,name:"mouseup",handler:this.Ih(this.dZ,!0)}],mousewheel:[{target:p,name:"mousewheel",handler:this.Ih(this.gua)},{target:p,name:"DOMMouseScroll",handler:this.Ih(this.gua)}]}};n.prototype.Ih=function(p,r){var t=this;return function(){r&amp;&amp;h.M5();n.v1+=1;var u=p.apply(t,arguments);--n.v1;return u}};n.prototype.bb=function(){this.L("autoRolledOver")&amp;&amp;
(this.unbind(k.Dc,this.spa,this),this.unbind(k.Jb,this.rpa,this),this.B("autoRolledOver")&amp;&amp;(this.bind(k.Dc,this.spa,this),this.bind(k.Jb,this.rpa,this)),this.S("autoRolledOver"));this.L("autoPressed")&amp;&amp;(this.unbind(k.hb,this.ppa),this.unbind(k.Eb,this.qpa),this.B("autoPressed")&amp;&amp;(this.bind(k.hb,this.ppa),this.bind(k.Eb,this.qpa)),this.S("autoPressed"));var p=!1;this.L("contentOpaque")&amp;&amp;(p=!0,this.S("contentOpaque"));this.L("inheritedInteractionEnabled")&amp;&amp;(p=!0,this.S("inheritedInteractionEnabled"));
this.L("interactionEnabled")&amp;&amp;(p=!0,this.S("interactionEnabled"));if(this.L("backgroundOpacity")||this.L("backgroundColor"))p=!0;g.prototype.bb.call(this);if(p){var r=this.dd();r=0&lt;r.kl()&amp;&amp;0&lt;r.yD.length;var t=this.B("contentOpaque"),u=this.B("inheritedInteractionEnabled"),v=this.B("interactionEnabled");this.cF(u&amp;&amp;v&amp;&amp;(t||r))}if(p||this.L("cursor")||this.L("inheritedCursor"))this.S("cursor"),this.S("inheritedCursor"),this.jW?this.UA(this.B("cursor")):this.UA(this.B("inheritedCursor"))};n.prototype.cF=
function(p){this.jW!=p&amp;&amp;((this.jW=p)?this.CI(n.Qoa):this.ZN(n.Qoa),this.tN())};n.prototype.tN=function(){this.ke().style["pointer-events"]=this.Bsa()};n.prototype.Bsa=function(){return this.jW?"auto":"none"};n.prototype.EVa=function(p){if(p){p=[];for(var r=this;r;)p.push(r),r=r.getParent();console.log(p.map(function(t){return t.pq}))}else console.log(this.pq)};n.y3=function(){return 0&lt;n.v1};n.Qoa=function(){var p=[];p=p.concat(["touchstart","touchmove"]);f.ud()!=f.yi&amp;&amp;(p=p.concat(["mousedown","mousemove",
"mousewheel"]));return p}();n.v1=0;n.Cdb=1E3;n.uNa=10;n.oNa=5;n.hNa=10;n.nNa=10;n.iNa=10;var q=a.lg("debug");return n});define("d",["require"],function(){return{mV:"absolute",Gg:"horizontal",dz:"grid",Xh:"vertical"}});define("cJ",["require"],function(){return function(a){this.Od=a;this.height=this.width=this.y=this.x=0}});define("dR",["require"],function(){return function(){this.minHeight=this.minWidth=this.height=this.width=0}});
define("cn",["require","nC","cJ","dR"],function(a){function e(){this.ad=null;this.xm=l.Ec;this.Vl=l.ab;this.zF=this.tw=0}var l=a("nC"),m=a("cJ"),k=a("dR");e.prototype.xIa=function(c){this.tw!=c&amp;&amp;(this.tw=c,this.jf())};e.prototype.f5=function(c){this.zF!=c&amp;&amp;(this.zF=c,this.jf())};e.prototype.VIa=function(c){this.ad=c;this.jf()};e.prototype.mM=function(c){this.Vl!=c&amp;&amp;(this.Vl=c,this.jf())};e.prototype.sM=function(c){this.xm!=c&amp;&amp;(this.xm=c,this.jf())};e.prototype.measure=function(){return new k};e.prototype.update=
function(){var c=this.sQa();this.wK(c);this.zZa(c)};e.prototype.wK=function(c){this.OR(c);this.NR(c)};e.prototype.UX=function(){for(var c=this.Ksa(),h=[],g=0;g&lt;c.length;g++){var b=c[g];b.get("includeInLayout")&amp;&amp;h.push(b)}return h};e.prototype.Ksa=function(){for(var c=this.ad.pb(),h=[],g=0;g&lt;c.length;g++){var b=c[g];b.get("visible")&amp;&amp;h.push(b)}return h};e.prototype.sQa=function(){for(var c=this.Ksa(),h=[],g=0;g&lt;c.length;g++)h.push(new m(c[g]));return h};e.prototype.zZa=function(c){for(var h=0;h&lt;c.length;h++){var g=
c[h];g.Od.hIa(g.x,g.y,g.width,g.height)}};e.prototype.jf=function(){this.ad&amp;&amp;(this.ad.fc(),this.ad.Xd())};return e});
define("dK",["require","lS","nC","cn","dR"],function(a){var e=a("lS");a("nC");var l=a("cn"),m=a("dR");a=e.extend(l,function(){l.call(this)});a.prototype.measure=function(){for(var k=new m,c=this.UX(),h=0;h&lt;c.length;h++){var g=c[h],b=g.Cw,d=g.OQ,f=0;isNaN(b)||(f+=b);isNaN(d)||(f+=d);k.width=Math.max(f+g.su(),k.width);k.minWidth=Math.max(f+g.pu(),k.minWidth);b=g.sr;d=g.AN;f=0;isNaN(b)||(f+=b);isNaN(d)||(f+=d);k.height=Math.max(f+g.ru(),k.height);k.minHeight=Math.max(f+g.$x(),k.minHeight)}c=this.ad.Dm()+
this.ad.mu();k.width+=c;k.minWidth+=c;c=this.ad.nu()+this.ad.qL();k.height+=c;k.minHeight+=c;return k};a.prototype.wK=function(k){this.OR(k);this.NR(k)};a.prototype.wK=function(k){for(var c=this.ad.Bf(),h=this.ad.Af(),g=0;g&lt;k.length;g++){var b=k[g],d=b.Od,f=d.Cw;if(isNaN(f)){var n=d.r_;isNaN(n)||(f=Math.round(n*c*.01))}n=d.OQ;if(isNaN(n)){var q=d.s_;isNaN(q)||(n=Math.round(q*c*.01))}q=d.Fz;var p=d.qn;if(isNaN(p)){var r=d.Jn;isNaN(r)?isNaN(f)||isNaN(n)||(p=c-f-n):p=Math.round(r*c*.01)}r=d.sr;if(isNaN(r)){var t=
d.t_;isNaN(t)||(r=Math.round(t*h*.01))}t=d.AN;if(isNaN(t)){var u=d.q_;isNaN(u)||(t=Math.round(u*h*.01))}u=d.Gz;var v=d.JD;if(isNaN(v)){var w=d.In;isNaN(w)?isNaN(r)||isNaN(t)||(v=h-r-t):v=Math.round(w*h*.01)}b.width=isNaN(p)?d.su():Math.max(d.pu(),Math.min(d.a3(),p));b.height=isNaN(v)?d.ru():Math.max(d.$x(),Math.min(d.Z2(),v));b.x=isNaN(f)||isNaN(n)?isNaN(f)?isNaN(n)?isNaN(q)?0:Math.round(.5*c+q-.5*b.width):c-n-b.width:f:Math.round(f+.5*(c-n-f-b.width));b.y=isNaN(r)||isNaN(t)?isNaN(r)?isNaN(t)?isNaN(u)?
0:Math.round(.5*h+u-.5*b.height):h-t-b.height:r:Math.round(r+.5*(h-t-r-b.height))}};return a});
define("kO",["require","lS","nC","cn","dR"],function(a){var e=a("lS"),l=a("nC"),m=a("cn"),k=a("dR");a=e.extend(m,function(){m.call(this);this.Lxa=this.iqa=this.SO=this.TO=this.UO=this.kE=this.zw=this.Aw=this.WO=this.jA=this.qn=void 0});a.prototype.u$a=function(c){this.qn!=c&amp;&amp;(this.qn=c,this.jf())};a.prototype.M$a=function(c){this.Aw!=c&amp;&amp;(this.Aw=c,void 0!=this.Aw&amp;&amp;(this.jA=void 0),this.jf())};a.prototype.L$a=function(c){this.zw!=c&amp;&amp;(this.zw=c,void 0!=this.zw&amp;&amp;(this.WO=void 0),this.jf())};a.prototype.U$a=
function(c){this.jA!=c&amp;&amp;(this.jA=c,void 0!=this.Aw&amp;&amp;(this.Aw=void 0),this.jf())};a.prototype.T$a=function(c){this.WO!=c&amp;&amp;(this.WO=c,void 0!=this.zw&amp;&amp;(this.zw=void 0),this.jf())};a.prototype.R$a=function(c){this.kE!=c&amp;&amp;(this.kE=c,this.jf())};a.prototype.Q$a=function(c){this.UO!=c&amp;&amp;(this.UO=c,this.jf())};a.prototype.P$a=function(c){this.TO!=c&amp;&amp;(this.TO=c,this.jf())};a.prototype.O$a=function(c){this.SO!=c&amp;&amp;(this.SO=c,this.jf())};a.prototype.measure=function(){for(var c=new k,h=this.UX(),g=0,b=0;b&lt;h.length;b++)h[b].get("includeInLayout")&amp;&amp;
g++;if(!isNaN(this.jA))for(isNaN(this.kE)||(c.minWidth=this.kE),b=0;b&lt;h.length;b++){var d=h[b].pu();isNaN(d)||(c.minWidth=Math.max(d,c.minWidth))}if(isNaN(this.Aw))for(b=0;b&lt;h.length;b++)d=h[b].su(),isNaN(d)||(c.width=Math.max(d,c.width));else c.width=this.Aw;if(isNaN(this.zw))for(b=0;b&lt;h.length;b++)d=h[b].ru(),isNaN(d)||(c.height=Math.max(d,c.height));else c.height=this.zw;isNaN(this.jA)?isNaN(this.qn)?h=Math.ceil(Math.sqrt(g)):(h=this.qn-this.ad.Dm()-this.ad.mu(),h=Math.max(1,Math.floor((h+this.tw)/
(c.width+this.tw)))):h=Math.max(1,Math.floor(100/this.jA));g=Math.ceil(g/h);c.width=c.width*h+Math.max(0,h-1)*this.tw+this.ad.Dm()+this.ad.mu();c.minWidth=c.minWidth+this.ad.Dm()+this.ad.mu();c.height=c.height*g+Math.max(0,g-1)*this.zF+this.ad.nu()+this.ad.qL();c.minHeight=0;return c};a.prototype.wK=function(c){for(var h,g,b=[],d=[],f=0;f&lt;c.length;f++)g=c[f].Od,g.get("includeInLayout")?b.push(c[f]):d.push(c[f]);var n=b.length,q=this.ad.Bf(),p=this.tw;if(isNaN(this.Aw))if(isNaN(this.jA)){for(f=c=0;f&lt;
b.length;f++)g=b[f].Od,c=Math.max(g.pu(),g.su(),c);c=Math.min(q,c)}else c=Math.max(1,Math.floor(100/this.jA)),c=(q-(c-1)*p)/c,f=!1,!isNaN(this.TO)&amp;&amp;this.TO&lt;c&amp;&amp;(c=this.TO,f=!0),!isNaN(this.kE)&amp;&amp;this.kE&gt;c&amp;&amp;(c=this.kE,f=!0),f&amp;&amp;(c=Math.max(1,Math.floor((q+p)/(c+p))),c=(q-(c-1)*p)/c);else c=this.Aw;c=Math.max(1,c);var r=Math.max(1,Math.floor(.001+(q+p)/(c+p)));f=r*c;var t=r*(c+p)-p,u=0;if(q&gt;=t)switch(this.Vl){case l.ub:u=q-t;break;case l.Ze:u=Math.round(.5*(q-t));break;default:u=0}q=[];t=[];for(var v=
0;v&lt;r;v++)g=Math.round(f/(r-v)),f-=g,t.push(u),u+=g+p,q.push(g);u=this.ad.Af();v=this.zF;if(isNaN(this.zw))if(isNaN(this.WO))for(p=1,f=0;f&lt;b.length;f++)g=b[f].Od,p=Math.max(g.$x(),g.ru(),p);else p=Math.max(1,100/this.WO),p=(u-(p-1)*v)/p,f=!1,!isNaN(this.SO)&amp;&amp;this.SO&lt;p&amp;&amp;(p=this.SO,f=!0),!isNaN(this.UO)&amp;&amp;this.UO&gt;p&amp;&amp;(p=this.UO,f=!0),f&amp;&amp;(p=Math.max(1,Math.floor((u+v)/(p+v))),p=(u-(p-1)*v)/p);else p=this.zw;n=Math.max(1,Math.ceil(n/r));f=n*p;g=n*(p+v)-v;h=0;if(u&gt;=g)switch(this.xm){case l.wc:h=u-g;break;
case l.se:h=Math.round(.5*(u-g))}u=[];g=[];for(var w=0;w&lt;n;w++){var x=Math.round(f/(n-w));f-=x;g.push(h);h+=x+v;u.push(x)}for(f=0;f&lt;b.length;f++)h=b[f],v=f%r,w=Math.floor(f/r),h.x=t[v],h.width=q[v],h.y=g[w],h.height=u[w];for(f=0;f&lt;d.length;f++)h=d[f],h.x=0,h.width=Math.round(c),h.y=0,h.height=Math.round(p);this.iqa=r;this.Lxa=n};return a});
define("lQ",["require","lS","nC","cn","dR"],function(a){var e=a("lS"),l=a("nC"),m=a("cn"),k=a("dR");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var c=new k,h=this.UX(),g=0;g&lt;h.length;g++){var b=h[g];c.height=Math.max(b.ru(),c.height);c.minHeight=Math.max(b.$x(),c.minHeight);c.width+=b.su();c.minWidth+=b.pu()}h=Math.max(0,h.length-1)*this.tw+this.ad.Dm()+this.ad.mu();c.width+=h;c.minWidth+=h;h=this.ad.nu()+this.ad.qL();c.height+=h;c.minHeight+=h;return c};a.prototype.wK=
function(c){this.OR(c);this.NR(c)};a.prototype.OR=function(c){for(var h=0,g=0;g&lt;c.length;g++)c[g].Od.get("includeInLayout")&amp;&amp;h++;g=Math.max(0,h-1)*this.tw;var b=this.ad.Bf()-g,d=this.ad.Af();h=b;var f=0,n=[];for(g=0;g&lt;c.length;g++){var q=c[g],p=q.Od,r=p.In;q.height=isNaN(r)?p.ru():Math.max(p.$x(),Math.min(p.Z2(),Math.round(d*r*.01)));r=p.Jn;isNaN(r)?(q.width=p.su(),h-=q.width):p.get("includeInLayout")?(f+=r,n.push(q)):q.width=Math.max(p.pu(),Math.min(p.a3(),Math.round(b*r*.01)))}h-=Math.max(0,h-b*
f*.01);do{c=!1;b=Math.max(0,0&lt;f?h/f:0);d=[];for(g=f=0;g&lt;n.length;g++){q=n[g];p=q.Od;r=Math.round(p.Jn*b);var t=p.pu(),u=p.a3();r&lt;t?(q.width=t,h-=q.width,c=!0):r&gt;u?(q.width=u,h-=q.width,c=!0):(f+=p.Jn,d.push(q))}n=d}while(c);for(g=0;g&lt;n.length;g++)q=n[g],p=q.Od,b=Math.max(0,0&lt;f?h/f:0),q.width=Math.round(p.Jn*b),h-=q.width,f-=p.Jn};a.prototype.NR=function(c){for(var h=this.tw,g=this.ad.Bf(),b=this.ad.Af(),d=0,f=0,n=0;n&lt;c.length;n++){var q=c[n];q.Od.get("includeInLayout")&amp;&amp;(d+=c[n].width,f++)}d+=h*(f-
1);if(g&gt;=d)switch(this.Vl){case l.ub:g-=d;break;case l.Ze:g=Math.round(.5*(g-d));break;default:g=0}else g=0;for(n=0;n&lt;c.length;n++)if(q=c[n],q.Od.get("includeInLayout")){if(b&gt;=q.height)switch(this.xm){case l.wc:q.y=b-q.height;break;case l.se:q.y=Math.round(.5*(b-q.height));break;default:q.y=0}else q.y=0;q.x=g;g+=q.width+h}else q.x=0,q.y=0};return a});
define("do",["require","lS","nC","cn","dR"],function(a){var e=a("lS"),l=a("nC"),m=a("cn"),k=a("dR");a=e.extend(m,function(){m.call(this)});a.prototype.measure=function(){for(var c=new k,h=this.UX(),g=0;g&lt;h.length;g++){var b=h[g];c.width=Math.max(b.su(),c.width);c.minWidth=Math.max(b.pu(),c.minWidth);c.height+=b.ru();c.minHeight+=b.$x()}h=Math.max(0,h.length-1)*this.zF+this.ad.nu()+this.ad.qL();c.height+=h;c.minHeight+=h;h=this.ad.Dm()+this.ad.mu();c.width+=h;c.minWidth+=h;return c};a.prototype.wK=
function(c){this.OR(c);this.NR(c)};a.prototype.OR=function(c){for(var h=0,g=0;g&lt;c.length;g++)c[g].Od.get("includeInLayout")&amp;&amp;h++;g=Math.max(0,h-1)*this.zF;var b=this.ad.Bf(),d=this.ad.Af()-g;h=d;var f=0,n=[];for(g=0;g&lt;c.length;g++){var q=c[g],p=q.Od,r=p.Jn;q.width=isNaN(r)?p.su():Math.max(p.pu(),Math.min(p.a3(),Math.round(b*r*.01)));r=p.In;isNaN(r)?(q.height=p.ru(),h-=q.height):p.get("includeInLayout")?(f+=r,n.push(q)):q.height=Math.max(p.$x(),Math.min(p.Z2(),Math.round(d*r*.01)))}h-=Math.max(0,h-
d*f*.01);do{c=!1;b=Math.max(0,0&lt;f?h/f:0);d=[];for(g=f=0;g&lt;n.length;g++){q=n[g];p=q.Od;r=Math.round(p.In*b);var t=p.$x(),u=p.Z2();r&lt;t?(q.height=t,h-=q.height,c=!0):r&gt;u?(q.height=u,h-=q.height,c=!0):(f+=p.In,d.push(q))}n=d}while(c);for(g=0;g&lt;n.length;g++)q=n[g],p=q.Od,b=Math.max(0,0&lt;f?h/f:0),q.height=Math.round(p.In*b),h-=q.height,f-=p.In};a.prototype.NR=function(c){for(var h=this.zF,g=this.ad.Bf(),b=this.ad.Af(),d=0,f=0,n=0;n&lt;c.length;n++){var q=c[n];q.Od.get("includeInLayout")&amp;&amp;(d+=q.height,q.width&gt;
g&amp;&amp;(g=q.width),f++)}d+=h*(f-1);if(b&gt;=d)switch(this.xm){case l.wc:b-=d;break;case l.se:b=Math.round(.5*(b-d));break;default:b=0}else b=0;for(n=0;n&lt;c.length;n++)if(q=c[n],q.Od.get("includeInLayout")){switch(this.Vl){case l.ub:q.x=g-q.width;break;case l.Ze:q.x=Math.round(.5*(g-q.width));break;default:q.x=0}q.y=b;b+=q.height+h}else q.x=0,q.y=0};return a});
define("n","require lS es e S nC cZ d dK kO lQ do".split(" "),function(a){var e=a("lS"),l=a("es"),m=a("e"),k=a("S"),c=a("nC"),h=a("cZ"),g=a("d"),b=a("dK"),d=a("kO"),f=a("lQ"),n=a("do"),q=e.extend(m,function(){m.call(this);this.Re("BaseContainer");this.Zl=null;this.Zd=[];this.xq=[];this.WN=h.xma;this.set("contentOpaque",!1)});q.Fc={children:[[]],childrenInteractionEnabled:!0,gap:0,horizontalAlign:c.ab,itemHeight:void 0,itemMaxHeight:void 0,itemMaxWidth:void 0,itemMinHeight:void 0,itemMinWidth:void 0,
itemWidth:void 0,layout:g.mV,verticalAlign:c.Ec};l.defaults(q.Fc,m.Fc);q.prototype.yb=function(){this.Bo(q.Fc)};q.prototype.set=function(p,r){"children"==p?this.ph(r):"creationPolicy"==p?this.m$a(r):m.prototype.set.call(this,p,r)};q.prototype.get=function(p,r){return"children"==p?this.pb():"creationPolicy"==p?this.WN:m.prototype.get.call(this,p,r)};q.prototype.m$a=function(p){this.WN!=p&amp;&amp;(this.WN=p,this.Zfa())};q.prototype.ph=function(p){var r=this.pb();p=p||[];for(var t=l(r).difference(p),u=0;u&lt;
t.length;u++)this.removeChild(t[u]);r=l(p).difference(r);for(u=0;u&lt;r.length;u++)this.Ya(r[u]);for(u=0;u&lt;p.length;u++)this.ao(p[u],u)};q.prototype.pb=function(){return this.Zd};q.prototype.Ya=function(p){p.getParent()&amp;&amp;p.getParent().removeChild(p);this.Zd.push(p);p.ta=this;this.hpa(p);p.Mea(this.Iq);this.xq.push(p);this.Zfa();p.mq()};q.prototype.removeChild=function(p){p.getParent()==this&amp;&amp;(p.Ln(),p.ta=null,l(this.xq).contains(p)?this.xq=l.without(this.xq,p):(p.gd().detach(),p.Ht(null),this.fc(),this.Xd()),
this.Zd=l.without(this.Zd,p),p.mea())};q.prototype.vHa=function(){l(this.pb()).forEach(function(p){this.removeChild(p)})};q.prototype.sia=function(p){return l(this.Zd).indexOf(p)};q.prototype.ao=function(p,r){var t=this.sia(p);if(0&gt;t)throw"Can't set index. This is not a child of this container";var u=this.Zd.slice();u.splice(t,1);u.splice(r,0,p);if(!l.isEqual(this.Zd,u)&amp;&amp;(this.Zd=u,!l(this.xq).contains(p))){r=this.sia(p);p.gd().detach();u=t=null;for(var v=r-1;0&lt;=v&amp;&amp;!t;v--)l(this.xq).contains(this.Zd[v])||
(t=this.Zd[v]);for(v=r+1;v&lt;this.Zd.length&amp;&amp;!u&amp;&amp;!t;v++)l(this.xq).contains(this.Zd[v])||(u=this.Zd[v]);t?p.gd().insertAfter(t.gd()):u?p.gd().insertBefore(u.gd()):this.Yb().lha(p.ke());this.Xd()}};q.prototype.cF=function(p){m.prototype.cF.call(this,p);this.Xza()};q.prototype.Xza=function(){l(this.Zd).forEach(function(p){this.hpa(p)},this)};q.prototype.hpa=function(p){p.set("inheritedInteractionEnabled",this.B("interactionEnabled")&amp;&amp;this.B("inheritedInteractionEnabled")&amp;&amp;this.B("childrenInteractionEnabled"))};
q.prototype.tN=function(){m.prototype.tN.call(this);this.Zd.forEach(function(p){p.tN()})};q.prototype.dF=function(p){m.prototype.dF.call(this,p);l(this.Zd).forEach(function(r){r.Mea(this.Iq)},this)};q.prototype.w8=function(p){m.prototype.w8.call(this,p);l(this.pb()).forEach(function(r){r.yK()});this.Zfa()};q.prototype.Ht=function(p){m.prototype.Ht.call(this,p);l(this.pb()).forEach(function(r){l(this.xq).contains(r)||r.Ht(p)},this)};q.prototype.Zfa=function(){(this.WN==h.xma&amp;&amp;this.hA||this.WN==h.JC)&amp;&amp;
0&lt;this.xq.length&amp;&amp;(l(this.xq).forEach(function(p){this.Yb().lha(p.ke());p.Ht(this.Db())},this),this.xq=[],this.fc(),this.Xd())};q.prototype.CU=function(p){this.Zl!=p&amp;&amp;(this.Zl&amp;&amp;this.Zl.VIa(null),(this.Zl=p)&amp;&amp;this.Zl.VIa(this))};q.prototype.bb=function(){var p=!1,r=this.B("layout");if(this.L("layout")){switch(r){case g.dz:this.CU(new d);break;case g.Gg:this.CU(new f);break;case g.Xh:this.CU(new n);break;default:this.CU(new b)}this.S("layout");p=!0}var t=this.Zl;if(this.L("horizontalAlign")||p)t.mM(this.B("horizontalAlign")),
this.S("horizontalAlign");if(this.L("verticalAlign")||p)t.sM(this.B("verticalAlign")),this.S("verticalAlign");if(this.L("gap")||p)r==g.dz?(t.xIa(this.B("gap")),t.f5(this.B("gap"))):r==g.Gg?t.xIa(this.B("gap")):r==g.Xh&amp;&amp;t.f5(this.B("gap")),this.S("gap");if(r==g.dz){if(this.L("itemWidth")||p){var u=this.B("itemWidth"),v=k.Bp(u);void 0!==v?t.U$a(v):t.M$a(u);this.S("itemWidth")}if(this.L("itemHeight")||p)u=this.B("itemHeight"),v=k.Bp(u),void 0!==v?t.T$a(v):t.L$a(u),this.S("itemHeight");this.L("itemMinWidth")&amp;&amp;
(t.R$a(this.B("itemMinWidth")),this.S("itemMinWidth"));this.L("itemMinHeight")&amp;&amp;(t.Q$a(this.B("itemMinHeight")),this.S("itemMinHeight"));this.L("itemMaxWidth")&amp;&amp;(t.P$a(this.B("itemMaxWidth")),this.S("itemMaxWidth"));this.L("itemMaxHeight")&amp;&amp;(t.O$a(this.B("itemMaxHeight")),this.S("itemMaxHeight"))}this.L("childrenInteractionEnabled")&amp;&amp;(this.S("childrenInteractionEnabled"),this.Xza());this.uc(["cursor"],{cursor:"inheritedCursor"},this.Zd,!0,!1);m.prototype.bb.call(this);r==g.dz&amp;&amp;t.u$a(this.qn)};q.prototype.uc=
function(p,r,t,u,v){for(var w=0;w&lt;p.length;w++){var x=p[w];if(!u||this.L(x)){for(var y=0;y&lt;t.length;y++)t[y].set(r[x]?r[x]:x,this.B(x));v&amp;&amp;this.S(x)}}};q.prototype.Hw=function(){if(this.Zl){var p=this.Zl.measure();this.cm=p.width;this.bm=p.height;this.mP=p.minWidth;this.lP=p.minHeight}else m.prototype.Hw.call(this)};q.prototype.dj=function(){this.Zl&amp;&amp;this.Zl.update(this);m.prototype.dj.call(this)};return q});
define("pA",["require","jquery.mod","lS","pY","gW"],function(a){function e(c,h){this.BI=c;this.Gc="#000000";this.Mb=.5;this.sa=10;this.aS=this.BO=5;this.If=h;this.ZW=this.kda=this.gb=0;this.apa=this.Tb=this.wW=!1;this.Ba=!0;this.oI=document.createElement("div");this.oI.setAttribute("tdvlayer","scrollbar");this.LN=l(this.oI);k.css(this.oI,{position:"absolute","z-index":m.FMa});this.wN=document.createElement("div");this.E8=l(this.wN);k.css(this.wN,{position:"absolute",left:0,top:0});this.LN.append(this.E8)}
var l=a("jquery.mod");a("lS");var m=a("pY"),k=a("gW");e.prototype.Fe=function(){return this.LN.width()};e.prototype.Ue=function(){return this.LN.height()};e.prototype.setPosition=function(c){this.gb!=c&amp;&amp;(this.gb=c,this.Mxa(),this.Ba=!0)};e.prototype.ll=function(){return this.gb};e.prototype.setSize=function(c,h){this.kda=c;this.ZW=h;this.Mxa();this.Ba=!0};e.prototype.Ye=function(c){this.Tb!=c&amp;&amp;(this.Tb=c,this.Ba=!0)};e.prototype.gIa=function(c){this.wW!=c&amp;&amp;(this.wW=c,this.Ba=!0)};e.prototype.setColor=
function(c){this.Gc!=c&amp;&amp;(this.Gc=c,this.Ba=!0)};e.prototype.Nh=function(c){this.Mb!=c&amp;&amp;(this.Mb=c,this.Ba=!0)};e.prototype.OU=function(c){this.sa!=c&amp;&amp;(this.sa=c,this.Ba=!0)};e.prototype.vIa=function(c){this.BO!=c&amp;&amp;(this.BO=c,this.Ba=!0)};e.prototype.bJa=function(c){this.aS!=c&amp;&amp;(this.aS=c,this.Ba=!0)};e.prototype.qh=function(){this.Ba&amp;&amp;(this.apa!=this.Tb&amp;&amp;(this.Tb?this.If.append(this.LN):this.LN.detach(),this.apa=this.Tb),this.oa(),this.Ba=!1)};e.prototype.oa=function(){var c=Math.round(100*this.kda/
this.ZW),h=Math.round(100*this.gb/this.ZW);k.css(this.oI,{filter:"alpha(opacity="+Math.round(100*this.Mb)+")",opacity:this.Mb,display:this.Tb?"block":"none"});k.css(this.wN,{backgroundColor:this.Gc,"border-radius":Math.floor(this.sa/2)+"px"});this.BI==e.Gg?(k.css(this.oI,{left:this.BO+"px",right:(this.wW?this.sa:0)+this.BO+"px",height:this.sa+"px",bottom:this.aS+"px"}),k.css(this.wN,{left:h+"%",width:c+"%",height:this.sa+"px"})):(k.css(this.oI,{top:this.aS+"px",right:this.BO+"px",width:this.sa+"px",
bottom:(this.wW?this.sa:0)+this.aS+"px"}),k.css(this.wN,{top:h+"%",width:this.sa+"px",height:c+"%"}))};e.prototype.Mxa=function(){var c=this.ZW-this.kda;0&gt;this.gb?this.gb=0:this.gb&gt;c&amp;&amp;(this.gb=c)};e.Gg="horizontal";e.Xh="vertical";return e});define("ku",["require","lS","pA"],function(a){var e=a("lS"),l=a("pA");return e.extend(l,function(m){l.call(this,l.Gg,m)})});define("eF",["require","lS","pA"],function(a){var e=a("lS"),l=a("pA");return e.extend(l,function(m){l.call(this,l.Xh,m)})});
define("hB","require exports py cI gE mS".split(" "),function(a,e,l,m,k,c){return new (function(h){function g(){var b=h.call(this)||this;b.visible=!0;b.sb=!1;b.O5=!1;b.visible=!0;b.sb=!1;b.O5=!1;b.uHa=c.getQueryParameter("redirect-when-hidden")||"";b.l9a=c.lg("reload-when-hidden",!1);document.addEventListener("visibilitychange",b.onChange.bind(b),!1);b.onChange();return b}Z(g,h);g.prototype.Cy=function(b){if(this.sb=b)this.O5=!1;this.onChange()};g.prototype.yla=function(b){this.O5=b;this.onChange()};
g.prototype.onChange=function(){var b=this.sb?!this.O5:!document.hidden;this.visible!=b&amp;&amp;((this.visible=b)&amp;&amp;this.K8a(),this.trigger(new m(l.ba)))};g.prototype.K8a=function(){this.uHa?window.location.href=this.uHa:this.l9a&amp;&amp;window.location.reload()};return g}(k))});
define("nf",["require","exports","mS"],function(a,e,l){a={};a.av=l.lg("debug",!1);a.SLa=l.Dj("hqhls");a.pma=l.lg("audiocontext",!0);a.sdb=l.lg("testhash",!1);a.ELa=l.lg("exitvronblur",!1);a.pLa=l.lg("download",!0);a.RMa=l.lg("updatewhilehidden",!1);a.KLa=l.lg("webgl2",!1);a.JLa=l.lg("webgl1",!1);a.HLa=l.lg("lowp",!1);a.Lma=l.lg("antialias");a.WMa=l.lg("unlimited-video-resolution",!1);return a});
define("bn",["require","exports","lS","hB","nf"],function(a,e,l,m,k){var c=window.requestAnimationFrame.bind(window),h=window.cancelAnimationFrame.bind(window),g=function(){function d(){}d.requestFrame=function(f,n,q){for(var p=0;p&lt;d.ds.length;p++)if(d.ds[p].is(f,n))return;p=d.G3;void 0!==q&amp;&amp;(p+=q);d.ds.push(new b(f,n,p));d.paused||void 0!==d.Ku||(d.Ku=d.mU(d.M2))};d.RBa=function(f,n){for(var q=0;q&lt;d.ds.length;q++)if(d.ds[q].is(f,n)){d.ds.splice(q,1);break}};d.KU=function(f){d.paused!=f&amp;&amp;(d.paused=
f,d.paused?void 0!==d.Ku&amp;&amp;(d.Bha(d.Ku),d.Ku=void 0):0&lt;d.ds.length&amp;&amp;(d.Ku=d.mU(d.M2)))};d.SIa=function(f,n){d.mU!=f&amp;&amp;(void 0!==d.Ku&amp;&amp;(d.Bha(d.Ku),d.Ku=f(d.M2)),d.mU=f,d.Bha=n)};d.L9a=function(){d.SIa(c,h)};d.M2=function(f){d.ICa(f);d.Ku=0&lt;d.ds.length?d.mU(d.M2):void 0};d.ICa=function(f){f&lt;d.Te&amp;&amp;(d.startTime=f-d.G3*d.X6,d.Te=f);var n=0;void 0===d.startTime?d.startTime=f:n=Math.round((f-d.startTime)/d.X6);var q=(n-d.G3)*d.X6,p=d.ds;d.ds=[];d.o3=!0;d.G3=n;q=1&lt;q?100&gt;q?q:100:1;d.Te=f;d.aDa=q;for(f=0;f&lt;
p.length;f++){var r=p[f];n&lt;r.wFa?d.ds.push(r):r.call(q)}d.o3=!1};d.Te=(new Date).getTime();d.aDa=0;d.o3=!1;d.mU=c;d.Bha=h;d.ds=[];d.Ku=void 0;d.paused=!1;d.X6=1E3/60;d.G3=0;d.startTime=void 0;return d}();k.RMa&amp;&amp;setInterval(function(){m.visible||g.ICa(g.Te+100)},100);var b=function(){function d(f,n,q){this.wFa=0;this.op=f;this.context=n;this.wFa=q}d.prototype.is=function(f,n){return this.op==f&amp;&amp;this.context==n};d.prototype.call=function(f){try{this.op.call(this.context,f)}catch(n){l.ET("Error in animation frame",
n)}};return d}();return g});define("bL",["require","exports"],function(){return function(){return function(a,e,l,m){void 0===m&amp;&amp;(m=void 0);this.name=a;this.from=e;this.to=l;this.T7a=m}}()});
define("pa",["require","exports","bL"],function(a,e,l){function m(b){return function(d,f,n){d=Math.abs(f-d);return 1&gt;d/n?0:1/(1-Math.pow((d-n)/d,1/b))}}function k(b){var d=new g;d.oia=function(f,n,q,p){return f+(n-f)*Math.pow(0&gt;=q?0:q&gt;=p?1:q/p,b)};d.Bja=m(b);return d}function c(b){var d=new g;d.oia=function(f,n,q,p){return f+(n-f)*(1-Math.pow(1-(0&gt;=q?0:q&gt;=p?1:q/p),b))};d.Bja=m(b);return d}function h(b){var d=new g;d.oia=function(f,n,q,p){q=0&gt;=q?0:q&gt;=p?1:q/p;.5&gt;q?q=Math.pow(2*q,b):(q=1-Math.pow(1-
(2*q-1),b),q+=1);return f+.5*(n-f)*q};d.Bja=m(b);return d}a=function(){function b(d,f,n){void 0===n&amp;&amp;(n=void 0);switch(d){case "quad_in":this.curve=k(2);break;case "quad_out":this.curve=c(2);break;case "quad_in_out":this.curve=h(2);break;case "cubic_in":this.curve=k(3);break;case "cubic_out":this.curve=c(3);break;case "cubic_in_out":this.curve=h(3);break;case "quart_in":this.curve=k(4);break;case "quart_out":this.curve=c(4);break;case "quart_in_out":this.curve=h(4);break;case "quint_in":this.curve=
k(5);break;case "quint_out":this.curve=c(5);break;case "quint_in_out":this.curve=h(5);break;default:this.curve=k(1)}this.Sx=f.slice();this.time=0;this.duration=this.HBa(f,n);this.Uha={};for(d=0;d&lt;this.Sx.length;d++)this.Uha[this.Sx[d].name]=f[d].from}b.prototype.via=function(d){for(var f=0;f&lt;this.Sx.length;f++)if(this.Sx[f].name==d)return this.Sx[f];return null};b.prototype.eb=function(d){return this.Uha[d]};b.prototype.lja=function(){return 0&lt;this.time};b.prototype.We=function(){return this.time&gt;=
this.duration};b.prototype.ui=function(){return this.duration};b.prototype.ll=function(){return this.time/this.duration};b.prototype.getTime=function(){return this.time};b.prototype.setTime=function(d){this.time=Math.min(Math.max(0,d),this.duration);for(d=0;d&lt;this.Sx.length;d++){var f=this.Sx[d];this.Uha[f.name]=this.curve.oia(f.from,f.to,this.time,this.duration)}};b.prototype.Fb=function(d){this.setTime(this.time+d)};b.prototype.HBa=function(d,f,n){void 0===n&amp;&amp;(n=void 0);for(var q=[],p=0;p&lt;this.Sx.length;p++){var r=
this.Sx[p],t=n?n:r.T7a;void 0!==t&amp;&amp;0&lt;t&amp;&amp;q.push(this.curve.Bja(r.from,r.to,t/1E3))}if(0&lt;q.length){d=q[0];for(p=1;p&lt;q.length;p++)d=Math.max(d,q[p]);return void 0!==f&amp;&amp;0&lt;f?Math.max(f,d):d}return void 0!==f?Math.max(f,.001):this.HBa(d,f,1E3)};b.ui=function(){return(new b(void 0,[new l("",void 0,void 0,void 0)])).ui()};return b}();var g=function(){return function(){}}();return a});
define("bs",["require","exports"],function(){var a={hj:38,Rh:40,ub:39,ab:37,HH:32,fo:65,ZV:90,Av:87,tv:83,$u:68,Q:81,E:69,NV:187,KV:189,zV:27,na:{}};a.na.hj="ArrowUp";a.na.Rh="ArrowDown";a.na.ub="ArrowRight";a.na.ab="ArrowLeft";a.na.fo="KeyA";a.na.ZV="KeyZ";a.na.Av="KeyW";a.na.tv="KeyS";a.na.$u="KeyD";a.na.Q="KeyQ";a.na.E="KeyE";a.na.NV="BracketRight";a.na.KV="Slash";a.na.zV="Escape";a.na.HH="Space";a.na.yV="Enter";return a});
define("ju",["require","exports","py","bs","gE"],function(a,e,l,m,k){a=function(){function h(){}h.tp=function(){return document.activeElement&amp;&amp;document.activeElement!==document.body};h.I5a=function(){return document.activeElement};h.r7a=function(g){return Array.isArray(g)?g.includes(document.activeElement):g==document.activeElement};h.GHa=function(g,b){void 0===g&amp;&amp;(g=void 0);void 0===b&amp;&amp;(b=void 0);this.aj||(this.aj=document.createElement("div"));document.querySelectorAll("*[tabindex]").forEach(function(d){d.tabIndex&gt;
this.aj.tabIndex&amp;&amp;(this.aj.tabIndex=d.tabIndex+1)}.bind(this));document.body.appendChild(this.aj);void 0!=g&amp;&amp;void 0!=b?(this.aj.style.position="absolute",this.aj.style.top=b+"px",this.aj.style.left=g+"px",this.aj.style.width="1px",this.aj.style.height="1px"):(this.aj.style.position="fixed",this.aj.style.top="0",this.aj.style.left="0",this.aj.style.width="100%",this.aj.style.height="100%");this.aj.focus();this.aj.blur();document.body.removeChild(this.aj);this.I2.trigger(l.ba)};h.blur=function(){document.activeElement.blur()};
h.hha=function(g){this.IS.push(g)};h.tka=function(g){g=this.IS.indexOf(g);-1!=g&amp;&amp;this.IS.splice(g,1)};h.l3a=function(g){this.tU.push(g)};h.E9a=function(g){g=this.tU.indexOf(g);-1!=g&amp;&amp;this.tU.splice(g,1)};h.kBa=function(g,b){this.Wka(g,b.map(function(d){return[d]}))};h.b3a=function(g,b){this.Wka(g,[b])};h.Z2a=function(g,b,d,f){for(var n=[],q=0;q&lt;d;q++)n.push(b.slice(q*f,(q+1)*f));this.Wka(g,n)};h.Wka=function(g,b){this.Qha.set(g,new c(b))};h.r9a=function(g){this.Qha.delete(g)};h.Uja=function(g){if(g.code==
m.na.HH||g.code==m.na.yV){var b=this.KDa();b&amp;&amp;this.G4a(b)}else g.code!=m.na.zV&amp;&amp;[m.na.hj,m.na.Rh,m.na.ub,m.na.ab].includes(g.code)&amp;&amp;this.Qha.forEach(function(d){d.D6a()&amp;&amp;d.e5a(g.code)})};h.Vja=function(g){g.code==m.na.HH||g.code==m.na.yV?(g=this.KDa())?g.dispatchEvent(this.fCa("mouseup",g)):this.tU.length&amp;&amp;this.tU.pop()():g.code==m.na.zV&amp;&amp;(this.IS.length?this.IS.pop()():this.tp()&amp;&amp;this.GHa())};h.lh=function(g){!g.isTrusted||g.target&amp;&amp;["BUTTON","INPUT","SELECT","TEXTAREA"].includes(g.target.tagName)||
setTimeout(function(){this.GHa(g.pageX,g.pageY)}.bind(this),0)};h.l8a=function(){this.I2.trigger(l.ba)};h.G4a=function(g){g.dispatchEvent(this.fCa("mousedown",g))};h.KDa=function(){return this.tp()?document.activeElement:null};h.fCa=function(g,b){b=b.getBoundingClientRect();return new window.MouseEvent(g,{clientX:b.left+b.width/2,clientY:b.top+b.height/2})};h.$a=function(){document.addEventListener("mouseup",this.lh.bind(this),!0);document.addEventListener("keydown",this.Uja.bind(this),!0);document.addEventListener("keyup",
this.Vja.bind(this),!0);document.addEventListener("focusin",this.l8a.bind(this),!0)};h.I2=new k;h.aj=null;h.IS=[];h.tU=[];h.Qha=new Map;return h}();var c=function(){function h(g){void 0===g&amp;&amp;(g=[]);this.cL=g}h.prototype.D6a=function(){return null!=this.nDa()};h.prototype.nDa=function(){for(var g=document.activeElement,b=0;b&lt;this.cL.length;b++)for(var d=0;d&lt;this.cL[b].length;d++)if(this.cL[b][d]==g)return{Q9a:b,a4a:d};return null};h.prototype.e5a=function(g){var b=this.nDa();if(null!=b){var d=0,f=
0;switch(g){case m.na.ub:d=1;break;case m.na.ab:d=-1;break;case m.na.hj:f=-1;break;case m.na.Rh:f=1}g=b.Q9a+f;0&gt;g||g&gt;=this.cL.length||(b=b.a4a+d,0&gt;b||b&gt;=this.cL[g].length||this.cL[g][b].focus())}};return h}();return a});
define("oR","require es lS py cI w nC il fU n ku eF bn pa bL ju".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("w"),h=a("nC"),g=a("il"),b=a("fU"),d=a("n"),f=a("ku"),n=a("eF"),q=a("bn"),p=a("pa"),r=a("bL"),t=a("ju"),u=l.extend(d,function(){d.call(this);this.Re("Container");this.yd=this.ae=this.jg=this.Ng=this.dc=this.Rb=this.tqa=this.sqa=0;this.qba=this.yba=this.fm=this.em=!1;this.nqa=0;this.n9=this.m9=void 0;this.p9=this.o9=0;this.RA=null;this.hda=g.Oma;this.cA=!1;this.YX=
null;this.Xt=!1;this.w1=null;t.I2.bind(m.ba,this.tWa,this)});u.Fc={overflow:g.JH,scrollBarColor:"#000000",scrollBarWidth:10,scrollBarMargin:5,scrollBarHorizontalMargin:void 0,scrollBarVerticalMargin:void 0,scrollBarOpacity:.5,scrollBarVisible:b.Dc};e.defaults(u.Fc,d.Fc);u.prototype.Co=function(){this.YX=new f(this.qaa());this.YX.E8.bind("mousedown touchstart",e.bind(this.jUa,this));this.Co=function(){return this.YX};return this.YX};u.prototype.Do=function(){this.w1=new n(this.qaa());this.w1.E8.bind("mousedown touchstart",
e.bind(this.y2a,this));this.Do=function(){return this.w1};return this.w1};u.prototype.tWa=function(){if(t.tp()){var v=this.pb().map(function(w){return w.ke()}).indexOf(t.I5a());-1!==v&amp;&amp;this.scrollIntoView(this.pb()[v])}};u.prototype.scrollIntoView=function(v){var w=v.Na,x=v.Qa;this.scrollTo(Math.min(w,Math.max(w+v.Za()-this.Ng,this.ae)),Math.min(x,Math.max(x+v.Cb()-this.jg,this.yd)))};u.prototype.scrollTo=function(v,w){var x=this.ae;v&gt;this.ae?this.NW()&amp;&amp;(x=Math.min(v,this.Rb-this.Ng)):v&lt;this.ae&amp;&amp;
this.MW()&amp;&amp;(x=Math.max(v,0));v=this.yd;w&gt;this.yd?this.LW()&amp;&amp;(v=Math.min(w,this.dc-this.jg)):w&lt;this.yd&amp;&amp;this.OW()&amp;&amp;(v=Math.max(w,0));this.qR(x,v)};u.prototype.SHa=function(){if(this.LW()){for(var v=Math.max(0,this.dc-this.jg),w=Math.min(v,this.yd+.5*this.jg),x=v=Math.min(v,this.yd+this.jg),y=this.pb().slice(),z=y.shift();y.length;z=y.shift())if(z.get("visible")){var B=z.Qa;B+z.Cb()&gt;this.yd+this.jg&amp;&amp;B&gt;=w&amp;&amp;B&lt;v&amp;&amp;B&lt;x&amp;&amp;(x=B)}this.qR(this.ae,x)}};u.prototype.LW=function(){return this.Kpa()&amp;&amp;this.yd+this.jg&lt;
this.dc};u.prototype.UHa=function(){if(this.OW()){for(var v=Math.max(0,this.yd-this.jg),w=Math.max(0,this.yd-.5*this.jg),x=v,y=this.pb().slice(),z=y.shift();y.length;z=y.shift())if(z.get("visible")){var B=z.Qa;z=B+z.Cb();B&lt;this.yd&amp;&amp;z&gt;=v+this.jg&amp;&amp;z&lt;w+this.jg&amp;&amp;z&gt;x+this.jg&amp;&amp;(x=z-this.jg)}this.qR(this.ae,x)}};u.prototype.OW=function(){return this.Kpa()&amp;&amp;0&lt;this.yd};u.prototype.THa=function(){if(this.NW()){for(var v=Math.max(0,this.Rb-this.Ng),w=Math.min(v,this.ae+.5*this.Ng),x=v=Math.min(v,this.ae+this.Ng),
y=this.pb().slice(),z=y.shift();y.length;z=y.shift())if(z.get("visible")){var B=z.Na;B+z.Za()&gt;this.ae+this.Ng&amp;&amp;B&gt;=w&amp;&amp;B&lt;v&amp;&amp;B&lt;x&amp;&amp;(x=B)}this.qR(x,this.yd)}};u.prototype.NW=function(){return this.Jpa()&amp;&amp;this.ae+this.Ng&lt;this.Rb};u.prototype.scrollLeft=function(){if(this.MW()){for(var v=Math.max(0,this.ae-this.Ng),w=Math.max(0,this.ae-.5*this.Ng),x=v,y=this.pb().slice(),z=y.shift();y.length;z=y.shift())if(z.get("visible")){var B=z.Na;z=B+z.Za();B&lt;this.ae&amp;&amp;z&gt;=v+this.Ng&amp;&amp;z&lt;w+this.Ng&amp;&amp;z&gt;x+this.Ng&amp;&amp;(x=z-this.Ng)}this.qR(x,
this.yd)}};u.prototype.MW=function(){return this.Jpa()&amp;&amp;0&lt;this.ae};u.prototype.qR=function(v,w){this.em=this.ae!=v;this.fm=this.yd!=w;this.Vt();this.RA=new p("cubic_in_out",[new r("hScrollPosition",this.ae,v),new r("vScrollPosition",this.yd,w)],500);q.requestFrame(this.l8,this)};u.prototype.Kpa=function(){return this.Xt&amp;&amp;this.jg&lt;this.dc};u.prototype.Jpa=function(){return this.cA&amp;&amp;this.Ng&lt;this.Rb};u.prototype.yb=function(){this.Bo(u.Fc)};u.prototype.dQa=function(){this.yba=!0;this.Vt()};u.prototype.cQa=
function(){this.yba=!1;this.Vt()};u.prototype.jUa=function(){this.em=!0};u.prototype.y2a=function(){this.fm=!0};u.prototype.$Pa=function(v){this.em||this.fm?(this.Db().bind(m.Pb,this.lqa,this),this.Db().bind(m.Eb,this.mqa,this),this.Iz=v.pageX,this.Jz=v.pageY,this.Vt()):this.oqa(v)};u.prototype.lqa=function(v){if(this.em){var w=(v.pageX-this.Iz)*this.Rb/this.Co().Fe();this.ae+=w}else this.fm&amp;&amp;(w=(v.pageY-this.Jz)*this.dc/this.Do().Ue(),this.yd+=w);this.Iz=v.pageX;this.Jz=v.pageY;this.Ix()};u.prototype.mqa=
function(){this.Db().unbind(m.Pb,this.lqa,this);this.Db().unbind(m.Eb,this.mqa,this);this.fm=this.em=!1;this.Vt()};u.prototype.Mpa=function(v){return this.Xt&amp;&amp;(0&lt;v&amp;&amp;0&lt;this.yd||0&gt;v&amp;&amp;this.yd&lt;this.dc-this.jg)?!0:!1};u.prototype.bQa=function(v){this.Xt&amp;&amp;(this.yd-=(c.ud()==c.d7?.1*v.HS:v.delta)*this.jg*.1,this.Ix())};u.prototype.oqa=function(v){if(this.cA||this.Xt)this.Db().bind(m.Pb,this.pqa,this),this.Db().bind(m.Eb,this.qqa,this),this.qba=!0,this.Iz=v.pageX,this.Jz=v.pageY,this.Vt(),this.EUa()};u.prototype.pqa=
function(v){var w=v.pageX-this.Iz,x=v.pageY-this.Jz;!this.em&amp;&amp;!this.fm&amp;&amp;25&lt;w*w+x*x&amp;&amp;(this.em=this.cA,this.fm=this.Xt,this.Vt());if(this.em||this.fm)this.ae-=w,this.yd-=x,this.Iz=v.pageX,this.Jz=v.pageY,this.Ix(),this.r1a()};u.prototype.qqa=function(){this.Db().unbind(m.Pb,this.pqa,this);this.Db().unbind(m.Eb,this.qqa,this);this.qba=!1;this.Vt();var v=Math.max(Math.abs(this.o9/.001),Math.abs(this.p9/.001));this.RA=new p("linear",[new r("hScrollPosition",this.ae,this.ae-.5*this.o9*v),new r("vScrollPosition",
this.yd,this.yd-.5*this.p9*v)],v);q.requestFrame(this.l8,this)};u.prototype.EUa=function(){this.m9=this.Iz;this.n9=this.Jz};u.prototype.r1a=function(){var v=(new Date).getTime(),w=v-this.nqa;10&lt;w&amp;&amp;(this.nqa=v,this.o9=(this.Iz-this.m9)/w,this.p9=(this.Jz-this.n9)/w,this.m9=this.Iz,this.n9=this.Jz)};u.prototype.l8=function(v){this.RA&amp;&amp;!this.RA.We()&amp;&amp;(this.em||this.fm)?(this.RA.Fb(v),this.em&amp;&amp;(this.ae=this.RA.eb("hScrollPosition"),0&gt;this.ae||this.ae&gt;this.Rb-this.Ng)&amp;&amp;(this.em=!1),this.fm&amp;&amp;(this.yd=this.RA.eb("vScrollPosition"),
0&gt;this.yd||this.yd&gt;this.dc-this.jg)&amp;&amp;(this.fm=!1),this.Ix(),q.requestFrame(this.l8,this)):(this.fm=this.em=!1,this.RA=null,this.Vt())};u.prototype.Ix=function(v){if(v){if(!this.cA)switch(this.B("horizontalAlign")){case h.ub:this.ae=this.Rb-this.Ng;break;case h.Ze:this.ae=(this.Rb-this.Ng)/2;break;default:this.ae=0}if(!this.Xt)switch(this.B("verticalAlign")){case h.wc:this.yd=this.dc-this.jg;break;case h.se:this.yd=(this.dc-this.jg)/2;break;default:this.yd=0}}this.ae=Math.max(0,Math.min(this.Rb-this.Ng,
this.ae));this.yd=Math.max(0,Math.min(this.dc-this.jg,this.yd));this.Co().setPosition(this.ae);this.Do().setPosition(this.yd);this.Yb().E$a(this.ae);this.Yb().$ab(this.yd);this.ol();if(this.Ywa!=this.ae||this.Zwa!=this.yd)void 0!==this.Ywa&amp;&amp;void 0!==this.Zwa&amp;&amp;this.trigger(new k(m.fq)),this.Ywa=this.ae,this.Zwa=this.yd};u.prototype.Vt=function(){var v=this.get("scrollBarVisible")==b.ALWAYS?!0:this.Go?this.em||this.fm||this.qba:this.em||this.fm||this.yba;this.Co().Ye(this.cA&amp;&amp;v);this.Do().Ye(this.Xt&amp;&amp;
v);this.ol()};u.prototype.Hb=function(){d.prototype.Hb.call(this);this.aQa||(this.aQa=!0,this.Go?this.bind(m.hb,this.oqa,this):(this.bind(m.hb,this.$Pa,this),this.bind(m.Dc,this.dQa,this),this.bind(m.Jb,this.cQa,this),this.bind(m.Gs,this.bQa,this)))};u.prototype.bb=function(){this.L("overflow")&amp;&amp;(this.hda=this.B("overflow"),this.S("overflow"),this.Xd());this.L("scrollBarColor")&amp;&amp;(this.Co().setColor(this.B("scrollBarColor")),this.Do().setColor(this.B("scrollBarColor")),this.S("scrollBarColor"));this.L("scrollBarWidth")&amp;&amp;
(this.Co().OU(this.B("scrollBarWidth")),this.Do().OU(this.B("scrollBarWidth")),this.S("scrollBarWidth"));if(this.L("scrollBarMargin")||this.L("scrollBarVerticalMargin")||this.L("scrollBarHorizontalMargin")){var v=this.B("scrollBarHorizontalMargin","scrollBarMargin"),w=this.B("scrollBarVerticalMargin","scrollBarMargin");this.Co().vIa(v);this.Co().bJa(w);this.Do().vIa(v);this.Do().bJa(w);this.S("scrollBarMargin");this.S("scrollBarVerticalMargin");this.S("scrollBarHorizontalMargin")}this.L("scrollBarOpacity")&amp;&amp;
(this.Co().Nh(this.B("scrollBarOpacity")),this.Do().Nh(this.B("scrollBarOpacity")),this.S("scrollBarOpacity"));d.prototype.bb.call(this)};u.prototype.dj=function(){d.prototype.dj.call(this);this.t1a();this.T1a();this.R1a();this.Vt();this.ol()};u.prototype.t1a=function(){for(var v=0,w=0,x=0,y=0,z=this.pb(),B=0;B&lt;z.length;B++){var D=z[B];D.get("visible")&amp;&amp;(y=Math.min(y,D.Na),x=Math.min(x,D.Qa),v=Math.max(v,D.Na+D.Za()),w=Math.max(w,D.Qa+D.Cb()))}this.sqa=y;this.tqa=x;this.Rb=v;this.dc=w};u.prototype.T1a=
function(){this.Ng=Math.min(this.Bf(),this.Rb);this.jg=Math.min(this.Af(),this.dc)};u.prototype.R1a=function(){var v=this.Zd.some(function(y){return y.K6a()}),w=0&gt;this.sqa||0&gt;this.tqa||this.Rb&gt;this.Ng||this.dc&gt;this.jg;if(this.hda==g.fq){this.cA=this.Ng&lt;this.Rb;var x=(this.Xt=this.jg&lt;this.dc)&amp;&amp;this.cA;this.Co().setSize(this.Ng,this.Rb);this.Co().gIa(x);this.Do().setSize(this.jg,this.dc);this.Do().gIa(x);this.Yb().nM(!w&amp;&amp;!v)}else this.Xt=this.cA=!1,this.hda==g.JH?this.Yb().nM(!0):this.Yb().nM(!w&amp;&amp;!v);
this.Ix(!0)};u.prototype.qh=function(){this.Do().qh();this.Co().qh();d.prototype.qh.call(this)};return u});define("W",["require"],function(){return{Xh:"vertical",Gg:"horizontal"}});define("hS",["require","exports"],function(){return function(){function a(){}a.Vx=function(e){return e?e.split(",").map(function(l){return l.trim()}).filter(function(l){return""!=l}).map(function(l){"'"!=l[0]&amp;&amp;'"'!=l[0]&amp;&amp;(l="'"+l+"'");return l}).join(", "):""};return a}()});
define("dE","require jquery.mod es lS nC W e gW hS".split(" "),function(a){function e(f){var n=f.Nn.width(),q=f.Nn.height();"italic"==f.get("fontStyle")&amp;&amp;(n+=1*q/5);return Math.round(n)}var l=a("jquery.mod"),m=a("es"),k=a("lS"),c=a("nC"),h=a("W"),g=a("e");a("gW");var b=a("hS");a=k.extend(g,function(){g.call(this);this.Re("Label");this.Nn=this.jR=null});a.Fc={};a.prototype.yb=function(){g.prototype.yb.call(this);this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");
this.h("horizontalAlign",c.ab);this.h("verticalAlign",c.se);this.h("direction",h.Gg);this.h("text","");this.h("textDecoration");this.h("textShadowBlurRadius",3);this.h("textShadowColor","#000000");this.h("textShadowHorizontalLength",0);this.h("textShadowOpacity",0);this.h("textShadowVerticalLength",0)};a.prototype.Hb=function(){g.prototype.Hb.call(this);if(!this.Nn){this.jR=document.createElement("span");this.Nn=l(this.jR);this.efa({position:"absolute","text-align":"center",cursor:"inherit","white-space":"nowrap",
transform:"translate3d(0, 0, 0)"});var f=this.Yb();f.nM(!1);f.append(this.Nn)}};a.prototype.Hw=function(){g.prototype.Hw.call(this);var f=this.Yb();this.cm=e(this)+f.sL()+f.tL();this.bm=this.Nn.height()+f.uL()+f.oL();d(this)};a.prototype.bb=function(){var f={};if(this.L("direction")||this.L("text")){switch(this.B("direction")){case h.Xh:f["line-height"]="100%";this.Nn.html(this.Nn.text(this.B("text")).text().split("").join("&lt;br/&gt;"));break;default:f["line-height"]="normal",this.Nn.text(this.B("text")),
this.Nn.html(this.Nn.html().split(" ").join("&amp;nbsp;"))}this.S("direction");this.S("text");setTimeout(function(){this.fc();this.Xd()}.bind(this),0)}if(this.L("fontFamily")){var n=this.B("fontFamily");m(n).isString()||(n="");f.fontFamily=b.Vx(n);this.S("fontFamily");this.fc();this.Xd()}this.L("fontSize")&amp;&amp;(n=this.B("fontSize"),m(n).isNumber()?n+="px":m(n).isString()||(n=""),f.fontSize=n,this.S("fontSize"),this.fc(),this.Xd());this.L("fontColor")&amp;&amp;(n=this.B("fontColor"),m(n).isString()||(n=""),f.color=
n,this.S("fontColor"));if(this.L("fontWeight")){n=this.B("fontWeight");switch(n){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:n="normal"}f.fontWeight=n;this.S("fontWeight");this.fc();this.Xd()}if(this.L("fontStyle")){n=this.B("fontStyle");switch(n){case "italic":case "normal":break;default:n="normal"}f.fontStyle=n;this.S("fontStyle");this.fc();this.Xd()}if(this.L("textDecoration")){n=
this.B("textDecoration");switch(n){case "underline":case "overline":case "line-through":case "none":break;default:n="none"}f.textDecoration=n;this.S("textDecoration");this.fc();this.Xd()}this.L("horizontalAlign")&amp;&amp;(this.Xd(),this.S("horizontalAlign"));this.L("verticalAlign")&amp;&amp;(this.Xd(),this.S("verticalAlign"));n=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(m(n).any(function(p){return this.L(p)},this)){var q={};m(n).each(function(p){q[p]=
this.B(p);this.S(p)},this);f["-moz-text-shadow"]=f["-webkit-text-shadow"]=f["text-shadow"]=[q.textShadowHorizontalLength+"px",q.textShadowVerticalLength+"px",q.textShadowBlurRadius+"px","rgba("+parseInt("0x"+q.textShadowColor.substr(1,2))+", "+parseInt("0x"+q.textShadowColor.substr(3,2))+", "+parseInt("0x"+q.textShadowColor.substr(5,2))+", "+q.textShadowOpacity+")"].join(" ");n=0==q.textShadowVerticalLength&amp;&amp;0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(q.textShadowHorizontalLength,
-q.textShadowVerticalLength)/Math.PI);f.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*q.textShadowOpacity).toString(16)).slice(-2)+q.textShadowColor.substr(1,6)+",direction="+n+")";this.Yb().nM((0&lt;q.textShadowHorizontalLength||0&lt;q.textShadowVerticalLength||0&lt;q.textShadowBlurRadius)&amp;&amp;0&lt;q.textShadowOpacity)}this.efa(f);g.prototype.bb.call(this)};a.prototype.dj=function(){var f={left:"auto",right:"auto",top:"auto",bottom:"auto"};switch(this.B("horizontalAlign")){case c.ab:f.left=
"0";break;case c.ub:this.qh();f.left=this.Bf()-e(this)+"px";break;case c.Ze:this.qh(),f.left=Math.max(0,Math.round(.5*(this.Bf()-e(this))))+"px"}switch(this.B("verticalAlign")){case c.Ec:f.top="0";break;case c.wc:this.qh();f.top=this.Af()-this.jR.clientHeight+"px";break;case c.se:this.qh(),f.top=Math.max(0,Math.round(.5*(this.Af()-this.jR.clientHeight)))+"px"}this.efa(f)};a.prototype.efa=function(f){var n=this.jR.style,q;for(q in f)n[q]=f[q]};var d=function(){function f(){r||n()&amp;&amp;(r=setTimeout(function(){r=
null;var t=(new Date).getTime()-5E3,u;for(u in p){var v=p[u];v.timestamp&lt;t&amp;&amp;delete p[u];var w=v.label;if(v.width!=e(w)||v.height!=w.Nn.height())w.fc(),w.Xd()}f()},500))}function n(){for(var t in p)return!0;return!1}var q=1,p={},r=null;return function(t){t.kua||(t.kua=q++);p[t.kua]={label:t,timestamp:(new Date).getTime(),width:e(t),height:t.Nn.height()};f()}}();return a});
define("mt","require lS es cZ bh py cI hL ep il hg oR dE".split(" "),function(a){var e=a("lS"),l=a("es"),m=a("cZ"),k=a("bh"),c=a("py"),h=a("cI"),g=a("hL"),b=a("ep"),d=a("il"),f=a("hg"),n=a("oR"),q=a("dE"),p=e.extend(n,function(){this.Re("Button");n.call(this);this.Gi=this.Pa=null;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",m.JC);this.set("overflow",d.Oma);this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("cursor",k.Le);this.set("ariaRole",
"button")});p.prototype.yb=function(){n.prototype.yb.call(this);this.h("label");this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowBlurRadius");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowOpacity");this.h("textShadowVerticalLength");this.h("layout","horizontal");this.h("iconWidth");this.h("iconHeight");this.h("iconBeforeLabel");this.h("gap",5);this.h("mode",b.Me);this.h("buttonGroup");
this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",5);this.h("pressed");this.A("rollOverOpacity",f.aa,"opacity");this.A("rollOverIconWidth",f.aa,"iconWidth");this.A("rollOverIconHeight",f.aa,"iconHeight");this.A("rollOverFontSize",f.aa,"fontSize");this.A("rollOverFontColor",f.aa,"fontColor");this.A("rollOverFontWeight",f.aa,"fontWeight");this.A("rollOverFontStyle",f.aa,"fontStyle");this.A("rollOverTextDecoration",f.aa,"textDecoration");this.A("rollOverTextShadowBlurRadius",
f.aa,"textShadowBlurRadius");this.A("rollOverTextShadowColor",f.aa,"textShadowColor");this.A("rollOverTextShadowHorizontalLength",f.aa,"textShadowHorizontalLength");this.A("rollOverTextShadowOpacity",f.aa,"textShadowOpacity");this.A("rollOverTextShadowVerticalLength",f.aa,"textShadowVerticalLength");this.A("rollOverBorderSize",f.aa,"borderSize");this.A("rollOverBorderLeftSize",f.aa,"borderLeftSize");this.A("rollOverBorderTopSize",f.aa,"borderTopSize");this.A("rollOverBorderRightSize",f.aa,"borderRightSize");
this.A("rollOverBorderBottomSize",f.aa,"borderBottomSize");this.A("rollOverBorderColor",f.aa,"borderColor");this.A("rollOverBorderLeftColor",f.aa,"borderLeftColor");this.A("rollOverBorderTopColor",f.aa,"borderTopColor");this.A("rollOverBorderRightColor",f.aa,"borderRightColor");this.A("rollOverBorderBottomColor",f.aa,"borderBottomColor");this.A("rollOverShadow",f.aa,"shadow");this.A("rollOverShadowHorizontalLength",f.aa,"shadowHorizontalLength");this.A("rollOverShadowVerticalLength",f.aa,"shadowVerticalLength");
this.A("rollOverShadowBlurRadius",f.aa,"shadowBlurRadius");this.A("rollOverShadowSpread",f.aa,"shadowSpread");this.A("rollOverShadowOpacity",f.aa,"shadowOpacity");this.A("rollOverShadowColor",f.aa,"shadowColor");this.A("rollOverBackgroundOpacity",f.aa,"backgroundOpacity");this.A("rollOverBackgroundColor",f.aa,"backgroundColor");this.A("rollOverBackgroundColorRatios",f.aa,"backgroundColorRatios");this.A("rollOverBackgroundColorDirection",f.aa,"backgroundColorDirection");this.A("pressedLabel",f.Ab,
"label");this.A("pressedOpacity",f.Ab,"opacity");this.A("pressedIconWidth",f.Ab,"iconWidth");this.A("pressedIconHeight",f.Ab,"iconHeight");this.A("pressedFontSize",f.Ab,"fontSize");this.A("pressedFontColor",f.Ab,"fontColor");this.A("pressedFontWeight",f.Ab,"fontWeight");this.A("pressedFontStyle",f.Ab,"fontStyle");this.A("pressedTextDecoration",f.Ab,"textDecoration");this.A("pressedTextShadowBlurRadius",f.Ab,"textShadowBlurRadius");this.A("pressedTextShadowColor",f.Ab,"textShadowColor");this.A("pressedTextShadowHorizontalLength",
f.Ab,"textShadowHorizontalLength");this.A("pressedTextShadowOpacity",f.Ab,"textShadowOpacity");this.A("pressedTextShadowVerticalLength",f.Ab,"textShadowVerticalLength");this.A("pressedBorderSize",f.Ab,"borderSize");this.A("pressedBorderLeftSize",f.Ab,"borderLeftSize");this.A("pressedBorderTopSize",f.Ab,"borderTopSize");this.A("pressedBorderRightSize",f.Ab,"borderRightSize");this.A("pressedBorderBottomSize",f.Ab,"borderBottomSize");this.A("pressedBorderColor",f.Ab,"borderColor");this.A("pressedBorderLeftColor",
f.Ab,"borderLeftColor");this.A("pressedBorderTopColor",f.Ab,"borderTopColor");this.A("pressedBorderRightColor",f.Ab,"borderRightColor");this.A("pressedBorderBottomColor",f.Ab,"borderBottomColor");this.A("pressedShadow",f.Ab,"shadow");this.A("pressedShadowHorizontalLength",f.Ab,"shadowHorizontalLength");this.A("pressedShadowVerticalLength",f.Ab,"shadowVerticalLength");this.A("pressedShadowBlurRadius",f.Ab,"shadowBlurRadius");this.A("pressedShadowSpread",f.Ab,"shadowSpread");this.A("pressedShadowOpacity",
f.Ab,"shadowOpacity");this.A("pressedShadowColor",f.Ab,"shadowColor");this.A("pressedBackgroundOpacity",f.Ab,"backgroundOpacity");this.A("pressedBackgroundColor",f.Ab,"backgroundColor");this.A("pressedBackgroundColorRatios",f.Ab,"backgroundColorRatios");this.A("pressedBackgroundColorDirection",f.Ab,"backgroundColorDirection");this.A("pressedLabel",f.jc,"label");this.A("pressedRollOverOpacity",f.jc,"opacity");this.A("pressedRollOverIconWidth",f.jc,"iconWidth");this.A("pressedRollOverIconHeight",f.jc,
"iconHeight");this.A("pressedRollOverFontSize",f.jc,"fontSize");this.A("pressedRollOverFontColor",f.jc,"fontColor");this.A("pressedRollOverFontWeight",f.jc,"fontWeight");this.A("pressedRollOverFontStyle",f.jc,"fontStyle");this.A("pressedRollOverTextDecoration",f.jc,"textDecoration");this.A("pressedRollOverTextShadowBlurRadius",f.jc,"textShadowBlurRadius");this.A("pressedRollOverTextShadowColor",f.jc,"textShadowColor");this.A("pressedRollOverTextShadowHorizontalLength",f.jc,"textShadowHorizontalLength");
this.A("pressedRollOverTextShadowOpacity",f.jc,"textShadowOpacity");this.A("pressedRollOverTextShadowVerticalLength",f.jc,"textShadowVerticalLength");this.A("pressedRollOverBorderSize",f.jc,"borderSize");this.A("pressedRollOverBorderLeftSize",f.jc,"borderLeftSize");this.A("pressedRollOverBorderTopSize",f.jc,"borderTopSize");this.A("pressedRollOverBorderRightSize",f.jc,"borderRightSize");this.A("pressedRollOverBorderBottomSize",f.jc,"borderBottomSize");this.A("pressedRollOverBorderColor",f.jc,"borderColor");
this.A("pressedRollOverBorderLeftColor",f.jc,"borderLeftColor");this.A("pressedRollOverBorderTopColor",f.jc,"borderTopColor");this.A("pressedRollOverBorderRightColor",f.jc,"borderRightColor");this.A("pressedRollOverBorderBottomColor",f.jc,"borderBottomColor");this.A("pressedRollOverShadow",f.jc,"shadow");this.A("pressedRollOverShadowHorizontalLength",f.jc,"shadowHorizontalLength");this.A("pressedRollOverShadowVerticalLength",f.jc,"shadowVerticalLength");this.A("pressedRollOverShadowBlurRadius",f.jc,
"shadowBlurRadius");this.A("pressedRollOverShadowSpread",f.jc,"shadowSpread");this.A("pressedRollOverShadowOpacity",f.jc,"shadowOpacity");this.A("pressedRollOverShadowColor",f.jc,"shadowColor");this.A("pressedRollOverBackgroundOpacity",f.jc,"backgroundOpacity");this.A("pressedRollOverBackgroundColor",f.jc,"backgroundColor");this.A("pressedRollOverBackgroundColorRatios",f.jc,"backgroundColorRatios");this.A("pressedRollOverBackgroundColorDirection",f.jc,"backgroundColorDirection")};p.prototype.A9=function(){};
p.prototype.Hb=function(){n.prototype.Hb.call(this);this.Gi||(this.Gi=this.A9(),this.Ya(this.Gi));this.Pa||(this.Pa=new q,this.Ya(this.Pa))};p.prototype.CN=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new h(c.Gl))):(this.set("pressed",!0),this.trigger(new h(c.Lj)))};p.prototype.Kv=function(){return this.get("label")||n.prototype.Kv.call(this)};p.prototype.bb=function(){var r=!1;this.L("mode")&amp;&amp;(this.B("mode")==b.Me?(this.unbind(c.ma,this.CN,this,!0),this.set("autoPressed",!0)):
(this.bind(c.ma,this.CN,this,!0),this.set("autoPressed",!1)),this.S("mode"),r=!0);if(r||this.L("pressed"))this.B("mode")==b.Oj?this.fK(1==this.B("pressed")):r&amp;&amp;this.fK(!1);this.L("label")&amp;&amp;(r=this.B("label"),this.Pa.set("text",r),this.Pa.set("visible",r?!0:!1),this.S("label"));this.uc(p.xoa,p.yoa,[this.Pa],!0,!0);this.L("iconBeforeLabel")&amp;&amp;(0==this.B("iconBeforeLabel")?this.ao(this.Pa,0):this.ao(this.Gi,0),this.S("iconBeforeLabel"));this.L("iconWidth")&amp;&amp;(this.Gi.set("width",this.B("iconWidth")),this.S("iconWidth"));
this.L("iconHeight")&amp;&amp;(this.Gi.set("height",this.B("iconHeight")),this.S("iconHeight"));this.L("buttonGroup")&amp;&amp;((r=this.B("buttonGroup"))?g.register(this,r):g.unregister(this),this.S("buttonGroup"));this.uc(["horizontalAlign","verticalAlign"],{},[this.Gi],!0,!1);n.prototype.bb.call(this)};p.xoa="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");p.yoa={};l(p.xoa).each(function(r){p.yoa[r]=
r});return p});define("ki",["require","ol","mt"],function(a){var e=a("ol"),l=a("mt");return e.define("BaseButton",l,function(){l.call(this)})});define("jT",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("BaseObject",e,function(){e.call(this)})});
define("eG","require lS mw py cI bn pa bL".split(" "),function(a){var e=a("lS"),l=a("mw");a("py");var m=a("cI"),k=a("bn"),c=a("pa"),h=a("bL"),g={},b=e.extend(l,function(){l.call(this);this.C="stopped";this.Xb=void 0;this.fp=[];this.set("easing","linear");this.set("duration",1E3);this.set("loop",!1);this.set("animationDirection","normal")});b.prototype.play=function(d){d||(d=g);this.EL(d)||("stopped"==this.C||0&gt;this.fp.indexOf(d)?(this.C="playing",this.fp.push(d),this.af=0,this.Xb=Math.max(this.get("duration",
1E3),1),this.sg=new c(this.get("easing","linear"),[new h("pos",0,1)],this.Xb),this.sg.setTime(this.af),this.jK(),this.vx(),this.AQ()):this.C="playing")};b.prototype.reverse=function(d){d||(d=g);this.G7a(d)||("stopped"==this.C||0&gt;this.fp.indexOf(d)?(this.C="playingReverse",this.fp.push(d),this.af=this.Xb=Math.max(this.get("duration",1E3),0),this.sg=new c(this.get("easing","linear"),[new h("pos",0,1)],this.Xb),this.sg.setTime(this.af),this.jK(),this.vx(),this.AQ()):this.C="playingReverse")};b.prototype.stop=
function(){"stopped"!=this.C&amp;&amp;(this.C="stopped",0!==this.af&amp;&amp;(this.af=0,this.sg.setTime(this.af),this.vx(),this.AQ()))};b.prototype.end=function(){"stopped"!=this.C&amp;&amp;(this.af=this.Xb,this.sg.setTime(this.af),this.vx(),this.AQ())};b.prototype.cancel=function(){this.C="stopped";this.af=0;this.fp=[]};b.prototype.EL=function(d){return"playing"==this.C&amp;&amp;0&lt;=this.fp.indexOf(d)};b.prototype.G7a=function(d){return"playingReverse"==this.C&amp;&amp;0&lt;=this.fp.indexOf(d)};b.prototype.ck=function(d){"stopped"!=this.C&amp;&amp;
(this.af="playing"==this.C?Math.min(this.Xb,this.af+d):Math.max(0,this.af-d),this.sg.setTime(this.af),this.vx(),this.AQ())};b.prototype.ll=function(){return this.sg&amp;&amp;this.sg.eb("pos")||0};b.prototype.Uz=function(d){if(this.fp)for(var f=0;f&lt;this.fp.length;f++)d.call(this,this.fp[f],f)};b.prototype.jK=function(){this.trigger(new m("playingReverse"==this.C?b.ALa:b.CLa))};b.prototype.vx=function(){this.trigger(new m(b.t6))};b.prototype.hK=function(){this.trigger(new m(b.vk))};b.prototype.iK=function(){this.trigger(new m(b.ev))};
b.prototype.AQ=function(){"playingReverse"==this.C&amp;&amp;0&gt;=this.af?(this.af=0,this.iK(),this.fp=[],"stopped"!=this.C&amp;&amp;(this.C="stopped",this.get("loop")&amp;&amp;this.play())):"playing"==this.C&amp;&amp;this.af&gt;=this.Xb?(this.af=this.Xb,this.hK(),this.fp=[],"stopped"!=this.C&amp;&amp;(this.C="stopped","alternate"==this.get("animationDirection")?this.reverse():this.get("loop")&amp;&amp;this.play())):"stopped"!=this.C&amp;&amp;k.requestFrame(this.ck,this)};b.CLa="start";b.t6="frame";b.vk="end";b.ALa="reverseStart";b.ev="reverseEnd";return b});
define("hd",["require","py","eG"],function(a){var e=a("py"),l=a("eG");return{HRa:function(){this.Dk=this.$e=null;this.bind(e.jd,this.pra,this,!0);this.bind(e.cd,this.kra,this,!0);this.bind(e.Dc,this.mra,this,!0);this.bind(e.Jb,this.lra,this,!0);this.bind(e.G("effect"),this.ira,this,!0);this.bind(e.G("rollOverEffect"),this.nra,this,!0);this.FD=!1},Jdb:function(){this.unbind(e.jd,this.pra,this,!0);this.unbind(e.cd,this.kra,this,!0);this.unbind(e.Dc,this.mra,this,!0);this.unbind(e.Jb,this.lra,this,!0);
this.unbind(e.G("effect"),this.ira,this,!0);this.unbind(e.G("rollOverEffect"),this.nra,this,!0)},pra:function(){this.$e&amp;&amp;this.$e.play()},kra:function(){this.$e&amp;&amp;this.$e.stop();this.Dk&amp;&amp;this.Dk.stop();this.FD=!1},mra:function(){this.FD||(this.FD=!0,this.Dk&amp;&amp;(this.$e&amp;&amp;this.$e.get("loop")&amp;&amp;0&lt;this.$e.ll()?this.$e.reverse():this.$e&amp;&amp;0!=this.$e.ll()&amp;&amp;1!=this.$e.ll()||(this.$e&amp;&amp;this.$e.stop(),this.Dk.play())))},lra:function(){this.FD&amp;&amp;(this.FD=!1,this.Dk&amp;&amp;(0&lt;this.Dk.ll()?this.Dk.reverse():this.$e&amp;&amp;this.$e.get("loop")&amp;&amp;
this.$e.play()))},jra:function(){this.t$()},t$:function(){this.FD&amp;&amp;this.Dk&amp;&amp;(this.$e.stop(),this.Dk.play())},ora:function(){this.FD||(this.Dk.stop(),this.$e&amp;&amp;this.$e.get("loop")&amp;&amp;this.$e.play())},ira:function(){this.$e&amp;&amp;this.$e.unbind(l.vk,this.jra,this,!0);this.$e&amp;&amp;this.$e.unbind(l.ev,this.t$,this,!0);(this.$e=this.get("effect"))&amp;&amp;this.$e.bind(l.vk,this.jra,this,!0);this.$e&amp;&amp;this.$e.bind(l.ev,this.t$,this,!0)},nra:function(){this.Dk&amp;&amp;this.Dk.unbind(l.ev,this.ora,this,!0);(this.Dk=this.get("rollOverEffect"))&amp;&amp;
this.Dk.bind(l.ev,this.ora,this,!0)}}});
define("je",["require","lS","mw","ol","hd"],function(a){var e=a("lS"),l=a("mw"),m=a("ol");a=a("hd");m=m.define("Model3DObject",l,function(){l.call(this);this.set("hidden",!1);this.HRa();this.lp=this.oJ=this.Paa=this.Oaa=!1;this.eba=!0;this.aE=!1});e.U1(m,[a]);var k=["enabledInStandard","enabledInVR","hideBasedOnDistance","hideWhileUserInteracting","hideWhileMoving"];m.prototype.set=function(c,h){l.prototype.set.call(this,c,h);-1!=k.indexOf(c)&amp;&amp;this.sF()};m.prototype.bla=function(c){this.Paa!==c&amp;&amp;
(this.Paa=c,this.sF())};m.prototype.dC=function(c){this.lp!==c&amp;&amp;(this.lp=c,this.sF())};m.prototype.bo=function(c){this.oJ!==c&amp;&amp;(this.oJ=c,this.sF())};m.prototype.U4=function(c){this.eba!==c&amp;&amp;(this.eba=c,this.sF())};m.prototype.Cy=function(c){this.aE!==c&amp;&amp;(this.aE=c,this.sF())};m.prototype.ala=function(c){this.Oaa!==c&amp;&amp;(this.Oaa=c,this.sF())};m.prototype.sF=function(){this.set("hidden",this.Paa||this.Oaa||this.aE&amp;&amp;!1===this.get("enabledInVR")||this.eba&amp;&amp;!1===this.get("enabledInStandard")||this.oJ&amp;&amp;
this.get("hideWhileMoving")||this.lp&amp;&amp;this.get("hideWhileUserInteracting"))};return m});define("gA",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("BoxModel3DObject",l,function(){l.call(this)})});define("mK",["require"],function(){return{NONE:"none",az:"fill",Th:"fit_inside",As:"fit_outside",Vp:"fit_to_width",xk:"fit_to_height",hLa:"custom"}});
define("nh","require es jquery.mod lS py ix w nC mK e gW hi".split(" "),function(a){function e(r){this.Q8=r;this.Bd=[];this.Nl=null}var l=a("es"),m=a("jquery.mod"),k=a("lS"),c=a("py"),h=a("ix"),g=a("w"),b=a("nC"),d=a("mK"),f=a("e"),n=a("gW"),q=a("hi");e.Bn=document.createElement("a");e.prototype.YPa=function(r){e.Bn.href=r;return e.Bn.href};e.prototype.load=function(r,t,u){r=this.YPa(r);this.Nl&amp;&amp;!this.Nl.Lh()&amp;&amp;(this.Nl.cancel(),this.Bd=l(this.Bd).without(this.Nl));(this.Nl=l(this.Bd).find(function(x){return x.Zi()==
r}))?this.Bd=l(this.Bd).without(this.Nl):(this.Nl=new q(h.Pna),this.Nl.load(r));for(this.Bd.splice(0,0,this.Nl);this.Bd.length&gt;this.Q8;)this.Bd.pop().cancel();if(t){var v=this.Nl,w=function(){t.call(u||window,v.Cf(),v.Fe(),v.Ue())};this.Nl.Lh()?w():this.Nl.bind(c.ea,w)}};e.prototype.clear=function(){this.Bd.forEach(function(r){r.cancel()});this.Nl=null};a=k.extend(f,function(r){f.call(this);this.Re("Image");this.Q8=r||1;this.Gga=!1;this.Vl=b.ab;this.aY=!1;this.xm=b.Ec;this.B1=!1;this.Of=d.NONE;this.wea=
!1;this.BJ=this.CJ=0;this.bba=this.eda=!1;this.dc=this.Rb=0;this.Vv=!1;this.rd=this.Wl=this.hc=this.jY=this.iY=null;this.bind(c.tc,this.BUa,this);this.bind(c.jd,this.CUa,this)});a.prototype.oaa=function(){this.rd=new e(this.Q8);this.oaa=function(){return this.rd};return this.rd};a.prototype.yb=function(){f.prototype.yb.call(this);this.h("horizontalAlign",b.ab);this.h("verticalAlign",b.Ec);this.h("scaleMode",d.NONE)};a.prototype.set=function(r,t){"url"==r&amp;&amp;this.get("url")!=t&amp;&amp;(this.Gga=!0,this.xe());
f.prototype.set.call(this,r,t)};a.prototype.mM=function(r){this.Vl!=r&amp;&amp;(this.Vl=r,this.aY=!0,this.xe())};a.prototype.sM=function(r){this.xm!=r&amp;&amp;(this.xm=r,this.B1=!0,this.xe())};a.prototype.cC=function(r){this.Of!=r&amp;&amp;(this.Of=r,this.wea=!0,this.xe(),this.fc())};a.prototype.BUa=function(){this.Vv=!0;this.xe()};a.prototype.CUa=function(){this.DAa()};var p={position:"static",cursor:"inherit",display:"inline",verticalAlign:"top",visibility:"hidden","pointer-events":"none","user-select":"none","-ms-user-select":"none",
"-moz-user-select":"none","-webkit-user-select":"none","touch-callout":"none","-webkit-touch-callout":"none"};g.browser()==g.io&amp;&amp;g.qb()&amp;&amp;(p.transform="translate3d(0,0,0)");a.prototype.ipa=function(r,t,u){this.CJ=t?t:0;this.BJ=u?u:0;this.hc&amp;&amp;(this.hc.remove(),this.hc=null);if(this.Wl=r)this.hc=m(this.Wl),n.css(this.Wl,p),this.iY.append(this.hc);this.eda=this.bba=!0;this.xe();this.fc();this.hc&amp;&amp;this.trigger(c.ea)};a.prototype.Hb=function(){f.prototype.Hb.call(this);this.iY||(this.jY=document.createElement("div"),
this.iY=m(this.jY),n.css(this.jY,{position:"static",overflow:"hidden",cursor:"inherit"}),this.Yb().append(this.iY))};a.prototype.Hw=function(){this.cm=this.CJ+this.Dm()+this.mu();this.bm=this.BJ+this.nu()+this.qL();this.Qta=0==this.CJ&amp;&amp;0==this.BJ?0:this.CJ/this.BJ;this.lP=this.mP=0};a.prototype.bb=function(){this.L("scaleMode")&amp;&amp;(this.cC(this.B("scaleMode")),this.S("scaleMode"));this.L("horizontalAlign")&amp;&amp;(this.mM(this.B("horizontalAlign")),this.S("horizontalAlign"));this.L("verticalAlign")&amp;&amp;(this.sM(this.B("verticalAlign")),
this.S("verticalAlign"));this.bpa()&amp;&amp;(this.Vv=!0);f.prototype.bb.call(this);this.DAa();if(this.B6a()){var r=!1;if(this.wea||this.eda||this.Vv){var t=this.Bf(),u=this.Af(),v=this.CJ,w=this.BJ,x;if(0==v||0==w)var y=x=0;else switch(this.Of){case d.NONE:x=v;y=w;break;case d.az:x=t;y=u;break;case d.Th:v*u&gt;w*t?(x=t,y=w*t/v):(x=v*u/w,y=u);break;case d.As:v*u&gt;w*t?(x=v*u/w,y=u):(x=t,y=w*t/v);break;case d.Vp:x=t;y=w*t/v;break;case d.xk:x=v*u/w,y=u}if(this.Rb!=x||this.dc!=y)this.Rb=x,this.dc=y,r=!0;this.eda=
this.wea=!1}if(r||this.Vv||this.bba)this.B1=this.aY=!0,this.Wl&amp;&amp;n.css(this.Wl,{width:this.Rb+"px",height:this.dc+"px",visibility:"inherit"}),n.css(this.jY,{width:this.Bf()+"px",height:this.Af()+"px","border-top-left-radius":this.WX(this.ESa(),this.Vra(),this.Tra())+"px","border-top-right-radius":this.WX(this.FSa(),this.Vra(),this.Ura())+"px","border-bottom-left-radius":this.WX(this.CSa(),this.Sra(),this.Tra())+"px","border-bottom-right-radius":this.WX(this.DSa(),this.Sra(),this.Ura())+"px"}),this.fc(),
this.bba=this.Vv=!1;if(this.aY&amp;&amp;this.Wl){switch(this.Vl){case b.ab:n.css(this.Wl,{"margin-left":0,"margin-right":this.Bf()-this.Rb+"px"});break;case b.ub:n.css(this.Wl,{"margin-left":this.Bf()-this.Rb+"px","margin-right":0});break;case b.Ze:n.css(this.Wl,{"margin-left":Math.floor(.5*(this.Bf()-this.Rb))+"px","margin-right":Math.ceil(.5*(this.Bf()-this.Rb))+"px"})}this.aY=!1}if(this.B1&amp;&amp;this.Wl){switch(this.xm){case b.Ec:n.css(this.Wl,{"margin-top":0,"margin-bottom":this.Af()-this.dc+"px"});break;
case b.wc:n.css(this.Wl,{"margin-top":this.Af()-this.dc+"px","margin-bottom":0});break;case b.se:n.css(this.Wl,{"margin-top":Math.floor(.5*(this.Af()-this.dc))+"px","margin-bottom":Math.ceil(.5*(this.Af()-this.dc))+"px"})}this.B1=!1}}};a.prototype.DAa=function(){if(this.Gga){var r=this.get("url");r?this.oaa().load(r,this.ipa,this):(this.oaa().clear(),this.ipa(null,0,0));this.Gga=!1}};a.prototype.WX=function(r,t,u){if(!r)return 0;var v=0;t&amp;&amp;(v=Math.max(v,t));u&amp;&amp;(v=Math.max(v,u));return Math.max(0,
r-v)};return a});
define("gk","require lS mK hg mt nh".split(" "),function(a){var e=a("lS"),l=a("mK"),m=a("hg"),k=a("mt"),c=a("nh");a=e.extend(k,function(){k.call(this)});a.prototype.yb=function(){k.prototype.yb.call(this);this.h("iconURL");this.A("rollOverIconURL",m.aa,"iconURL");this.A("pressedIconURL",m.Ab,"iconURL");this.A("pressedRollOverIconURL",m.jc,"iconURL")};a.prototype.A9=function(){var h=new c(3);h.set("scaleMode",l.Th);return h};a.prototype.bb=function(){if(this.L("iconURL")){var h=this.B("iconURL");this.Gi.set("url",
h);this.Gi.set("visible",h?!0:!1);this.S("iconURL")}k.prototype.bb.call(this)};return a});define("gj",["require","ol","gk"],function(a){var e=a("ol"),l=a("gk");return e.define("Button",l,function(){l.call(this)})});define("kr",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("ExternalModel3DObject",l,function(){l.call(this)})});define("pT",["require","ol","kr"],function(a){var e=a("ol"),l=a("kr");return e.define("PlaneModel3DObject",l,function(){l.call(this)})});
define("lD",["require","ol","pT"],function(a){var e=a("ol"),l=a("pT");return e.define("CanvasPlaneModel3DObject",l,function(){l.call(this)})});define("iC",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("CapPanoramaOverlay",e,function(){e.call(this)})});define("ir",["require","ol","iC"],function(a){var e=a("ol"),l=a("iC");return e.define("CeilingCapPanoramaOverlay",l,function(){l.call(this)})});
define("l",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("ChildModel3DObject",l,function(){l.call(this);this.set("floorColor","transparent")})});
define("cH","require es jquery.mod lS py cI e".split(" "),function(a){a("es");var e=a("jquery.mod"),l=a("lS"),m=a("py"),k=a("cI"),c=a("e");a=l.extend(c,function(){c.call(this);this.Re("Canvas");this.p$=!0;this.T=null;this.bind(m.tc,this.uPa,this)});a.prototype.uPa=function(){this.r3()};a.prototype.r3=function(){this.p$=!0;this.ol()};a.prototype.Hb=function(){c.prototype.Hb.call(this);this.T||(this.T=e("&lt;canvas/&gt;"),this.T.css({position:"absolute",left:0,top:0,cursor:"inherit"}),this.Yb().append(this.T))};
a.prototype.bb=function(){this.bpa()&amp;&amp;this.r3();c.prototype.bb.call(this)};a.prototype.qh=function(){if(this.p$){this.p$=!1;var h=this.T.get(0);h.width=this.Bf();h.height=this.Af();this.icb()}c.prototype.qh.call(this)};a.prototype.D5a=function(){return this.T.get(0).width};a.prototype.C5a=function(){return this.T.get(0).height};a.prototype.B5a=function(){return this.T.get(0).getContext("2d")};a.prototype.icb=function(){this.trigger(new k(m.ba))};return a});
define("kC","require lS py hg mt cH".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("hg"),k=a("mt"),c=a("cH");a=e.extend(k,function(){k.call(this)});a.prototype.dj=function(){k.prototype.dj.call(this)};a.prototype.yb=function(){k.prototype.yb.call(this);this.h("iconColor");this.A("rollOverIconColor",m.aa,"iconColor");this.A("pressedIconColor",m.Ab,"iconColor");this.A("pressedRollOverIconColor",m.jc,"iconColor")};a.prototype.A9=function(){var h=new c;h.bind(l.ba,this.zKa,this,!0);return h};a.prototype.bb=
function(){this.L("iconColor")&amp;&amp;(this.Gi.r3(),this.S("iconColor"));k.prototype.bb.call(this)};a.prototype.fTa=function(){return this.B("iconColor")};a.prototype.gTa=function(){return this.Gi.B5a()};a.prototype.iTa=function(){return this.Gi.D5a()};a.prototype.hTa=function(){return this.Gi.C5a()};a.prototype.zKa=function(){};return a});
define("gt","require lS py kC nC hg ju".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("kC"),k=a("nC"),c=a("hg"),h=a("ju");a=e.extend(m,function(){m.call(this);this.ra({horizontalAlign:k.Ze,verticalAlign:k.se});this.Lw=this.Lw.bind(this);this.bind(l.jd,this.tj,this,!0);this.bind(l.cd,this.sj,this,!0)});a.prototype.yb=function(){m.prototype.yb.call(this);this.h("iconLineWidth");this.A("rollOverIconLineWidth",c.aa,"iconLineWidth");this.A("pressedIconLineWidth",c.Ab,"iconLineWidth");this.A("pressedRollOverIconLineWidth",
c.jc,"iconLineWidth")};a.prototype.rTa=function(){return this.B("iconLineWidth")};a.prototype.bb=function(){this.L("iconLineWidth")&amp;&amp;(this.Gi.r3(),this.S("iconLineWidth"));m.prototype.bb.call(this)};a.prototype.zKa=function(){var g=this.gTa(),b=this.fTa(),d=this.iTa(),f=this.hTa(),n=this.rTa();g.clearRect(0,0,d,f);g.lineWidth=n||1;g.strokeStyle=b||"#000000";g.beginPath();g.moveTo(0,0);g.lineTo(d,f);g.moveTo(0,f);g.lineTo(d,0);g.closePath();g.stroke()};a.prototype.tj=function(){h.hha(this.Lw)};a.prototype.sj=
function(){h.tka(this.Lw)};a.prototype.Lw=function(){this.trigger(l.ma)};return a});define("jQ",["require","ol","gt"],function(a){var e=a("ol"),l=a("gt");return e.define("CloseButton",l,function(){l.call(this)})});define("kE",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("CookiesPolicy",e,function(){e.call(this)})});
define("mu",["require","lV","ol","oR"],function(a){var e=a("lV"),l=a("ol"),m=a("oR");a=l.define("Container",m,function(){m.call(this)});a.prototype.scrollTo=function(k,c){m.prototype.scrollTo.call(this,k,c)};a.prototype.scrollIntoView=function(k){e.UB(function(){m.prototype.scrollIntoView.call(this,k)}.bind(this))};return a});
define("ma",["require","mw","ol"],function(a){var e=a("mw"),l=a("ol");a=l.define("PanoramaFrame",e,function(){e.call(this);this.za=null});a.prototype.get=function(m,k){switch(m){case "overlays":return this.raa();case "hfov":case "vfov":case "pitch":case "flipImageHorizontally":case "minFaceSize":if(this.za)return this.za.get(m,k)}return e.prototype.get.call(this,m,k)};a.prototype.raa=function(){var m=e.prototype.get.call(this,"overlays");m||(m=[]);return this.bfa(m)};a.prototype.bfa=function(m){if(void 0===
this.kK||this.IY!=m){var k=function(h){return l.Ja("PopupPanoramaOverlay",h)},c=function(h){return l.Ja("LensFlarePanoramaOverlay",h)};this.IY=m;this.kK=[].concat(m.filter(function(h){return!(k(h)||c(h))}),m.filter(c),m.filter(k))}return this.kK};a.prototype.u3a=function(m){this.za=m};a.prototype.tB=function(){return this.za};a.prototype.Fm=function(){return!1};return a});define("pg",["require","ol","ma"],function(a){var e=a("ol"),l=a("ma");return e.define("CubicPanoramaFrame",l,function(){l.call(this)})});
define("iP",["require"],function(){return{"bg-bg":{mute:"\u0417\u0430\u0433\u043b\u0443\u0448\u0430\u0432\u0430\u043d\u0435","cardboard-v1":"\u0410\u043a\u043e \u043d\u0435 \u0441\u0442\u0435 \u0441\u0438\u0433\u0443\u0440\u043d\u0438 \u043a\u043e\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 Cardboard \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435, \u0438\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435. \u0421\u043b\u0435\u0434 \u0442\u043e\u0432\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0449\u0435 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0449\u0435 \u0438\u0437\u0447\u0430\u043a\u0430\u0442\u0435, \u0434\u043e\u043a\u0430\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u0441\u0435 \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0430.",
"download-tour":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0442\u0443\u0440\u0430 \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d","change-to-drag-and-release":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041f\u043b\u044a\u0437\u0433\u0430\u043d\u0435 \u0438 \u041f\u0443\u0441\u043a\u0430\u043d\u0435",
accept:"\u041f\u0440\u0438\u0435\u043c\u0435\u0442\u0435",cancel:"\u041e\u0442\u043a\u0430\u0437","storage-not-provided-bookmark":"\u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0442\u043e \u0441\u044a\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0432 \u043e\u0442\u043c\u0435\u0442\u043a\u0438 \u0438 \u0434\u0430 \u044f \u043f\u0440\u0435\u0437\u0430\u0440\u0435\u0434\u0438\u0442\u0435.",
"dont-display-again":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u0439 \u0442\u0430\u0437\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0442\u043d\u043e\u0432\u043e","web-server-required":"\u0422\u043e\u0437\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u0435\u043b\u0435\u043d \u0442\u0443\u0440 \u043d\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0431\u044a\u0434\u0435 \u043f\u0443\u0441\u043d\u0430\u0442 \u043e\u0442 \u043b\u043e\u043a\u0430\u043b\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e. \u041c\u043e\u043b\u044f, \u043a\u0430\u0447\u0435\u0442\u0435 \u0433\u043e \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043e\u043f\u0438\u0442\u0430\u0439\u0442\u0435 \u043e\u0442\u043d\u043e\u0432\u043e.\n\u0410\u043a\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u0442\u0435, \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u0442\u0435 htm \u0444\u0430\u0439\u043b\u0430 (\u0438\u043b\u0438 \u0446\u044f\u043b\u0430\u0442\u0430 \u043f\u0430\u043f\u043a\u0430 \u043d\u0430 \u0442\u0443\u0440\u0430) \u0432\u044a\u0440\u0445\u0443 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e TourViewer.",
download:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","change-to-click-and-move":"\u041f\u0440\u043e\u043c\u0435\u043d\u0435\u0442\u0435 \u0440\u0435\u0436\u0438\u043c\u0430 \u043d\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u041a\u043b\u0438\u043a\u0432\u0430\u043d\u0435 \u0438 \u041f\u0440\u0435\u043c\u0435\u0441\u0442\u0432\u0430\u043d\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0418\u0437\u0442\u0440\u0438\u0432\u0430\u043d\u0435","use-safari-for-vr":"\u041f\u0440\u0435\u043f\u043e\u0440\u044a\u0447\u0432\u0430\u043c\u0435 Safari, \u0437\u0430 \u0434\u0430 \u0440\u0430\u0437\u0433\u043b\u0435\u0434\u0430\u0442\u0435 \u0442\u043e\u0437\u0438 \u0442\u0443\u0440 \u0432 \u0440\u0435\u0436\u0438\u043c VR",
"exit-fullscreen":"\u0418\u0437\u043b\u0435\u0437\u0442\u0435 \u043e\u0442 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",no:"\u043d\u0435","download-failed":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435\u0442\u043e \u0441\u0435 \u043f\u0440\u043e\u0432\u0430\u043b\u0438","giroscope-disabled-http":"\u0418\u043c\u0430\u0442\u0435 \u0434\u043e\u0441\u0442\u044a\u043f \u0434\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0447\u0440\u0435\u0437 http, \u0442\u0430\u043a\u0430 \u0447\u0435 \u0434\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0434\u043e \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435\u0442\u043e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438, \u043c\u043e\u043b\u044f, \u043e\u0442\u0432\u043e\u0440\u0435\u0442\u0435 \u0433\u043e \u0447\u0440\u0435\u0437 https, \u0437\u0430 \u0434\u0430 \u0433\u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435.",
"cookies-notice":"\u0422\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438 \u0437\u0430 \u0441\u044a\u0431\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0434\u0430\u043d\u043d\u0438 \u0437\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u043d\u0435\u0442\u043e. \u0417\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043c\u043e\u043b\u044f, \u043f\u043e\u0441\u0435\u0442\u0435\u0442\u0435 &lt;a&gt; \u041f\u0440\u0430\u0432\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0431\u0438\u0441\u043a\u0432\u0438\u0442\u043a\u0438\u0442\u0435 &lt;/a&gt;.",
"use-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard","launch-default-browser":"\u0421\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043d\u0435 \u0432 \u0431\u0440\u0430\u0443\u0437\u044a\u0440\u0430 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","rotate-device":"\u041c\u043e\u043b\u044f \u0437\u0430\u0432\u044a\u0440\u0442\u0435\u0442\u0435 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0418\u0437\u043b\u0438\u0437\u0430\u043d\u0435 \u043e\u0442 \u0440\u0435\u0436\u0438\u043c VR","storage-not-provided-launch-from-desktop":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u0430, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.",
"disable-measure":"Stop measuring",downloading:"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435","cardboard-v2":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Cardboard v2, \u043a\u043e\u0438\u0442\u043e \u0440\u0430\u0437\u043f\u043e\u043b\u0430\u0433\u0430\u0442 \u0441 \u0431\u0443\u0442\u043e\u043d, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u043f\u043e\u0433\u043b\u0435\u0434\u043d\u0435\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442\u0430 \u0438 \u0434\u0430 \u043d\u0430\u0442\u0438\u0441\u043d\u0435\u0442\u0435 \u0431\u0443\u0442\u043e\u043d\u0430, \u0437\u0430 \u0434\u0430 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u0442\u043e \u043c\u0443.",
"enable-video-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?",reject:"\u041e\u0442\u0445\u0432\u044a\u0440\u043b\u0435\u0442\u0435",downloaded:"\u0422\u043e\u0437\u0438 \u0442\u0443\u0440 \u0435 \u0438\u0437\u0442\u0435\u0433\u043b\u0435\u043d \u0437\u0430 \u0432\u044a\u0437\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043e\u0444\u043b\u0430\u0439\u043d.","samsung-internet-vr-app-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0422\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u0435 Samsung Internet \u0431\u0440\u0430\u0443\u0437\u044a\u0440 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435.",
"samsung-internet-vr-info":"\u0410\u043a\u043e \u0438\u043c\u0430\u0442\u0435 \u043e\u0447\u0438\u043b\u0430 Gear VR, \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 \u0441 \u0442\u043e\u0432\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0438 \u0441\u0442\u0435 \u0438\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043b\u0438 Samsung Internet for VR, \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0433\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0438 \u0437\u0430 \u043f\u0440\u0435\u0433\u043b\u0435\u0434 \u043d\u0430 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR. \u0421\u0435\u0433\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u0440\u044f\u0431\u0432\u0430 \u0434\u0430 \u0441\u043b\u043e\u0436\u0438\u0442\u0435 \u043c\u043e\u0431\u0438\u043b\u043d\u0438\u044f \u0441\u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0432 \u043e\u0447\u0438\u043b\u0430\u0442\u0430 \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0430 \u0440\u0435\u0430\u043b\u043d\u043e\u0441\u0442.",
"enable-video-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u044a\u043f\u044a\u0442 \u0437\u0430 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0435 \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0440\u0435\u0436\u0438\u043c\u044a\u0442 VR \u0441\u0430 \u0434\u0435\u0430\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0438 \u0437\u0430 \u0442\u043e\u0437\u0438 \u0441\u0430\u0439\u0442.",
"\u0417\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043d\u043e \u0442\u0430\u0437\u0438 \u0443\u0435\u0431 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430, \u043c\u043e\u043b\u044f, \u043a\u043b\u0438\u043a\u043d\u0435\u0442\u0435 \u0432\u044a\u0440\u0445\u0443 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0438 \u0438 \u043f\u0440\u0438\u0435\u043c\u0435\u0442\u0435 \u0438\u0441\u043a\u0430\u043d\u0435\u0442\u043e \u0437\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435."],
"storage-not-provided-launch-from-homescreen":"\u041c\u043e\u043b\u044f, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u043e\u0431\u0438\u043a\u043e\u043b\u043a\u0430\u0442\u0430 \u043e\u0442 \u0438\u043a\u043e\u043d\u0430\u0442\u0430 \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u043d\u0438\u044f \u0435\u043a\u0440\u0430\u043d, \u0437\u0430 \u0434\u0430 \u044f \u0438\u0437\u0442\u0435\u0433\u043b\u0438\u0442\u0435.","enter-fullscreen":"\u0412\u043b\u0435\u0437\u0442\u0435 \u0432 \u0446\u044f\u043b \u0435\u043a\u0440\u0430\u043d",
"use-cardboard-v2":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 Cardboard v2",unmute:"\u041f\u0443\u0441\u043a\u0430\u043d\u0435 \u0437\u0432\u0443\u043a","enter-vr":"\u0412\u043b\u0435\u0437 \u0432\u044a\u0432 VR \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435","enable-measure":"Start measuring","use-cardboard-info":"\u041c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0442\u0435 \u0432\u0441\u044f\u043a\u0430\u043a\u0432\u0438 \u0441\u044a\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0438 Google Cardboard \u043e\u0447\u0438\u043b\u0430, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u0442\u043e\u0432\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435 \u0432\u044a\u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u044f\u0432\u0430\u043d\u0435","use-default-cardboard":"\u0418\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0431\u0438\u0440\u0430\u043d\u0435","enable-audio-prompt":"\u0410\u043a\u0442\u0438\u0432\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0443\u0434\u0438\u043e?"},"fi-fi":{mute:"Poista \u00e4\u00e4ni k\u00e4yt\u00f6st\u00e4","cardboard-v1":"Mik\u00e4li et ole varma, mit\u00e4 Cardboard-versiota k\u00e4yt\u00e4t, valitse oletusarvoinen hotspot-hallinta. T\u00e4m\u00e4n j\u00e4lkeen katsomalla hotspotia, toiminto k\u00e4ynnistyy.",
"download-tour":"Lataa t\u00e4m\u00e4 sis\u00e4lt\u00f6 offline-toistoa varten","change-to-drag-and-release":"Muuta ohjaustilaa vet\u00e4m\u00e4ll\u00e4 ja vapauttamalla",accept:"Hyv\u00e4ksy",download:"Lataa","storage-not-provided-bookmark":"Tallennus ep\u00e4onnistui. Kokeile lis\u00e4t\u00e4 t\u00e4m\u00e4 verkkosivu kirjanmerkkeihin ja suorita lataus uudelleen.","dont-display-again":"\u00c4l\u00e4 n\u00e4yt\u00e4 t\u00e4t\u00e4 ilmoitusta uudelleen","web-server-required":"T\u00e4t\u00e4 sis\u00e4lt\u00f6\u00e4 ei voi toistaa paikalliselta asemalta. Lataa sis\u00e4lt\u00f6 internet-palvelimelle ja yrit\u00e4 uudelleen.\nVoit my\u00f6s vet\u00e4\u00e4 htm-tiedoston (tai koko kansion) TourViewer-sovelluskuvakkeen p\u00e4\u00e4lle.",
cancel:"Sulje","change-to-click-and-move":"Muuta ohjaustilaa klikkaamalla ja siirt\u00e4m\u00e4ll\u00e4",yes:"Kyll\u00e4","delete-downloaded":"Poista","use-safari-for-vr":"Suosittelemme Safari-selainta t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa.","exit-fullscreen":"Sulje koko n\u00e4yt\u00f6n n\u00e4kym\u00e4",no:"Ei","download-failed":"Lataus ep\u00e4onnistui","giroscope-disabled-http":"K\u00e4yt\u00e4t t\u00e4t\u00e4 verkkosivua http:n kautta, joten laitteesi liiketunnistimet sek\u00e4 VR-tila on poistettu k\u00e4yt\u00f6st\u00e4. Ota ne k\u00e4ytt\u00f6\u00f6n siirtym\u00e4ll\u00e4 sivulle https:n kautta.",
"cookies-notice":"T\u00e4m\u00e4 verkkosivu k\u00e4ytt\u00e4\u00e4 ev\u00e4steit\u00e4 k\u00e4ytt\u00f6tilastojen ker\u00e4\u00e4miseen. Lis\u00e4tietoja &lt;a&gt;ev\u00e4stek\u00e4yt\u00e4nn\u00f6st\u00e4&lt;/a&gt;.","use-cardboard":"K\u00e4yt\u00e4 Cardboardia","launch-default-browser":"K\u00e4ynnist\u00e4 oletusselaimessa","rotate-device":"K\u00e4\u00e4nn\u00e4 laitettasi","exit-vr":"Poistu VR-tilasta",reject:"Hylk\u00e4\u00e4","disable-measure":"Lopeta mittaaminen",downloading:"Ladataan","cardboard-v2":"Mik\u00e4li sinulla on Cardboard v2 -virtuaalilasit, joissa on painike, voit katsoa hotspotia ja aktivoida sen painamalla painiketta.",
"enable-video-audio-prompt":"Otetaanko \u00e4\u00e4ni ja video k\u00e4ytt\u00f6\u00f6n?","storage-not-provided-launch-from-desktop":"Uudelleenk\u00e4ynnist\u00e4 t\u00e4m\u00e4 sis\u00e4lt\u00f6 ty\u00f6p\u00f6yd\u00e4n kuvakkeesta aloittaaksesi lataamisen.",downloaded:"T\u00e4m\u00e4 sis\u00e4lt\u00f6 on ladattu offline-toistoa varten","samsung-internet-vr-app-info":"Mik\u00e4li sinulla on t\u00e4m\u00e4n laitteen kanssa yhteensopivat Gear VR -virtuaalilasit ja olet asentanut Samsung Internet for VR:n, voit k\u00e4ytt\u00e4\u00e4 virtuaalilaseja t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa. Sinun on lis\u00e4ksi m\u00e4\u00e4ritett\u00e4v\u00e4 Samsung Internet oletusselaimeksi.",
"samsung-internet-vr-info":"Mik\u00e4li sinulla on t\u00e4m\u00e4n laitteen kanssa yhteensopivat Gear VR -virtuaalilasit ja olet asentanut Samsung Internet for VR:n, voit k\u00e4ytt\u00e4\u00e4 virtuaalilaseja t\u00e4m\u00e4n sis\u00e4ll\u00f6n katseluun VR-tilassa. Aseta \u00e4lypuhelin virtuaalilaseihin aloittaaksesi.","enable-video-prompt":"Otetaanko video k\u00e4ytt\u00f6\u00f6n?","giroscope-disabled-safari-request-permission":["Laitteesi liiketunnistimen k\u00e4ytt\u00f6oikeus ja VR-tila on poistettu k\u00e4yt\u00f6st\u00e4 t\u00e4ll\u00e4 sivustolla.",
"N\u00e4hd\u00e4ksesi t\u00e4m\u00e4n verkkosivun oikein, valitse jatka ja hyv\u00e4ksy lupapyynt\u00f6 pyydett\u00e4ess\u00e4."],"storage-not-provided-launch-from-homescreen":"Uudelleenk\u00e4ynnist\u00e4 t\u00e4m\u00e4 sis\u00e4lt\u00f6 kotin\u00e4yt\u00f6n kuvakkeesta aloittaaksesi lataamisen","enter-fullscreen":"Avaa koko n\u00e4yt\u00f6n n\u00e4kym\u00e4","use-cardboard-v2":"K\u00e4yt\u00e4 Cardboard v2:sta",unmute:"Ota \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n","enter-vr":"Siirry VR-tilaan","enable-measure":"Aloita mittaaminen",
"use-cardboard-info":"Voit k\u00e4ytt\u00e4\u00e4 mit\u00e4 tahansa yhteensopivia Google Cardboard -virtuaalilaseja katsellaksesi t\u00e4t\u00e4 sis\u00e4lt\u00f6\u00e4 VR-tilassa.","refresh-downloaded":"P\u00e4ivit\u00e4","use-default-cardboard":"K\u00e4yt\u00e4 oletuksena","enable-audio-prompt":"Otetaanko \u00e4\u00e4ni k\u00e4ytt\u00f6\u00f6n?"},"sk-sk":{mute:"St\u00ed\u0161i\u0165","cardboard-v1":"Ak ste si nie ist\u00ed, ktor\u00fa verziu Cardboardu pou\u017e\u00edvate, vyberte si predvolen\u00e9 ovl\u00e1danie hotspotu. Potom sa jednoducho pozriete na hotspot a po\u010dkajte, k\u00fdm sa akcia nespust\u00ed.",
"download-tour":"Stiahnu\u0165 prehliadku na hranie v offline re\u017eime","change-to-drag-and-release":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Presun\u00fa\u0165 a Uvo\u013eni\u0165",accept:"s\u00fahlasi\u0165",cancel:"Zru\u0161i\u0165","storage-not-provided-bookmark":"Trval\u00e9 \u00falo\u017eisko odmietnut\u00e9. Sk\u00faste si t\u00fato webov\u00fa str\u00e1nku ulo\u017ei\u0165 a na\u010d\u00edta\u0165 ju znova.","dont-display-again":"Tieto inform\u00e1cie u\u017e nezobrazova\u0165","web-server-required":"T\u00e1to virtu\u00e1lna prehliadka sa ned\u00e1 prehra\u0165 z lok\u00e1lneho disku. Nahrajte ju na internet a sk\u00faste to znova.\nAk chcete, potiahnite s\u00fabor htm (alebo cel\u00fd prie\u010dinok prehliadky) na ikonu aplik\u00e1cie TourViewer.",
download:"Stiahnu\u0165","change-to-click-and-move":"Zmeni\u0165 re\u017eim ovl\u00e1dania na Klikn\u00fa\u0165 a Presun\u00fa\u0165",yes:"\u00e1no","delete-downloaded":"Zmaza\u0165","use-safari-for-vr":"Odpor\u00fa\u010dame pou\u017e\u00edva\u0165 Safari prehliada\u010d pre t\u00fato prehliadku v re\u017eime VR","exit-fullscreen":"Ukon\u010di\u0165 cel\u00fa obrazovku",no:"nie","download-failed":"S\u0165ahovanie zlyhalo","giroscope-disabled-http":"Na t\u00fato webov\u00fa str\u00e1nku pristupujete cez http protokol, preto pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR s\u00fa deaktivovan\u00e9. Ak ich chcete povoli\u0165, nav\u0161t\u00edvte str\u00e1nku cez https.",
"cookies-notice":"T\u00e1to webov\u00e1 str\u00e1nka pou\u017e\u00edva s\u00fabory cookie na zhroma\u017e\u010fovanie \u0161tatist\u00edk pou\u017e\u00edvania. \u010eal\u0161ie inform\u00e1cie n\u00e1jdete v &lt;a&gt; pravidl\u00e1ch pou\u017e\u00edvania s\u00faborov cookie &lt;/a&gt;.","use-cardboard":"Pou\u017eite Cardboard okuliare.","launch-default-browser":"Spusti\u0165 v predvolenom prehliada\u010di","rotate-device":"Oto\u010dte svoje zariadenie","exit-vr":"Ukon\u010denie VR","storage-not-provided-launch-from-desktop":"Znovu na\u010d\u00edtajte prehliadku pomocou desktop ikony pre jej stiahnite.",
"disable-measure":"Ukon\u010di\u0165 meranie",downloading:"S\u0165ahovanie","cardboard-v2":"Ak m\u00e1te n\u00e1hlavn\u00fa s\u00fapravu Cardboard v2, ktor\u00e1 je dod\u00e1van\u00e1 s tla\u010didlom, m\u00f4\u017eete sa pozrie\u0165 na hotspot a stla\u010den\u00edm tla\u010didla spusti\u0165 akciu.","enable-video-audio-prompt":"Povoli\u0165 video a zvuk?",reject:"Odmietnu\u0165",downloaded:"T\u00e1to prehliadka je stiahnut\u00e1 na hranie v offline re\u017eime.","samsung-internet-vr-app-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Mus\u00edte si nastavi\u0165 Samsung Internet ako predvolen\u00fd prehliada\u010d.",
"samsung-internet-vr-info":"Ak m\u00e1te Gear VR sl\u00fachadl\u00e1 kompatibiln\u00e9 s t\u00fdmto zariaden\u00edm a m\u00e1te nain\u0161talovan\u00fd program Samsung Internet pre VR, m\u00f4\u017eete ho tie\u017e pou\u017ei\u0165 na prezeranie tohto obsahu vo VR. Sta\u010d\u00ed teraz vlo\u017ei\u0165 mobiln\u00fd telef\u00f3n do n\u00e1hlavnej s\u00fapravy.","enable-video-prompt":"Povoli\u0165 video?","giroscope-disabled-safari-request-permission":["Pre t\u00fato str\u00e1nku s\u00fa pr\u00edstup k pohybu a orient\u00e1cii v\u00e1\u0161ho zariadenia a re\u017eim VR deaktivovan\u00e9.",
"Aby ste korektne videli t\u00fato webov\u00fa str\u00e1nku, pros\u00edm kliknite pokra\u010dova\u0165 a akceptujte po\u017eadovan\u00e9 povolenie."],"storage-not-provided-launch-from-homescreen":"Znovu na\u010d\u00edtajte prehliadku pomocou ikony na ploche pre jej stiahnite.","enter-fullscreen":"Prejs\u0165 na cel\u00fa obrazovku","use-cardboard-v2":"Pou\u017eite Cardboard v2",unmute:"Zapn\u00fa\u0165 zvuk","enter-vr":"Vlo\u017ei\u0165 VR obsah","enable-measure":"Za\u010da\u0165 meranie","use-cardboard-info":"Na zobrazenie tohto obsahu vo VR m\u00f4\u017eete pou\u017ei\u0165 \u013eubovo\u013en\u00fa kompatibiln\u00fa n\u00e1hlavn\u00fa s\u00fapravu Google Cardboard.",
"refresh-downloaded":"Obnovi\u0165","use-default-cardboard":"Pou\u017ei\u0165 predvolen\u00e9","enable-audio-prompt":"Povoli\u0165 zvuk?"},"uk-ua":{mute:"\u0412\u0438\u043c\u043a\u043d\u0443\u0442\u0438 \u0437\u0432\u0443\u043a","cardboard-v1":"\u042f\u043a\u0449\u043e \u0432\u0438 \u043d\u0435 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456, \u044f\u043a\u0443 \u0432\u0435\u0440\u0441\u0456\u044e Cardboard \u0432\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u0435, \u0432\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0442\u043e\u0447\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c. \u041f\u043e\u0442\u0456\u043c \u0432\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u0438\u0432\u0438\u0442\u0435\u0441\u044f \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 \u0442\u0430 \u043f\u043e\u0447\u0435\u043a\u0430\u0439\u0442\u0435, \u0434\u043e\u043a\u0438 \u0434\u0456\u044f \u043d\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u0441\u044f.",
"download-tour":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0442\u0443\u0440 \u0434\u043b\u044f \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0432 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0456","change-to-drag-and-release":"\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u041f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0456 \u0432\u0456\u0434\u043f\u0443\u0441\u0442\u0456\u0442\u044c",
accept:"\u041f\u0440\u0438\u0439\u043c\u0456\u0442\u044c",cancel:"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438","storage-not-provided-bookmark":"\u041f\u043e\u0441\u0442\u0456\u0439\u043d\u0435 \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u043d\u043d\u044f \u0437\u0430\u0431\u043e\u0440\u043e\u043d\u0435\u043d\u043e. \u0421\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0434\u0430\u0442\u0438 \u0446\u044e \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0442\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0457\u0457.",
"dont-display-again":"\u041d\u0435 \u043f\u043e\u043a\u0430\u0437\u0443\u0439\u0442\u0435 \u0446\u044e \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0437\u043d\u043e\u0432\u0443","web-server-required":"\u0426\u0435\u0439 \u0432\u0456\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0438\u0439 \u0442\u0443\u0440 \u043d\u0435 \u043c\u043e\u0436\u043d\u0430 \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0442\u0435 \u0439\u043e\u0433\u043e \u0432 \u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0456 \u043f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c \u0441\u043f\u0440\u043e\u0431\u0443.\n\u042f\u043a\u0449\u043e \u0431\u0430\u0436\u0430\u0454\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b htm (\u0430\u0431\u043e \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0443) \u043d\u0430 \u043f\u0456\u043a\u0442\u043e\u0433\u0440\u0430\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438 TourViewer.",
download:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","change-to-click-and-move":"\u0417\u043c\u0456\u043d\u0456\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u043d\u0430 \u041a\u043b\u0430\u0446\u043d\u0456\u0442\u044c \u0456 \u043f\u0435\u0440\u0435\u043c\u0456\u0441\u0442\u0456\u0442\u044c",yes:"\u0442\u0430\u043a","delete-downloaded":"\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438","use-safari-for-vr":"\u041c\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u043c\u043e Safari \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0442\u0443\u0440\u0443 \u0432 \u0440\u0435\u0436\u0438\u043c\u0456 VR",
"exit-fullscreen":"\u0412\u0438\u0439\u0442\u0438 \u0437 \u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0443",no:"\u043d\u0456","download-failed":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438","giroscope-disabled-http":"\u0412\u0438 \u043e\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0446\u0456\u0454\u0457 \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 http, \u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0440\u0443\u0445\u0443 \u0442\u0430 \u043e\u0440\u0456\u0454\u043d\u0442\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u043e\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044e \u0442\u0430 \u0440\u0435\u0436\u0438\u043c VR \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e. \u0429\u043e\u0431 \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0457\u0445, \u043f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0434\u043e \u043d\u0438\u0445 \u0447\u0435\u0440\u0435\u0437 https.",
"cookies-notice":"\u0426\u044f \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0444\u0430\u0439\u043b\u0438 cookie \u0434\u043b\u044f \u0437\u0431\u043e\u0440\u0443 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f. \u0414\u043b\u044f \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u043d\u044f \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u043e\u0457 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457 \u0432\u0456\u0434\u0432\u0456\u0434\u0430\u0439\u0442\u0435 &lt;a&gt; \u041f\u043e\u043b\u0456\u0442\u0438\u043a\u0443 \u0449\u043e\u0434\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0444\u0430\u0439\u043b\u0456\u0432 cookie&lt;/a&gt;.",
"use-cardboard":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0456 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","rotate-device":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0441\u0432\u0456\u0439 \u043f\u0440\u0438\u0441\u0442\u0440\u0456\u0439",
"exit-vr":"\u0412\u0438\u0439\u0434\u0456\u0442\u044c \u0456\u0437 VR","storage-not-provided-launch-from-desktop":"\u0429\u043e\u0431 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u043e\u0433\u043b\u044f\u0434 \u0456\u0437 \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0440\u043e\u0431\u043e\u0447\u043e\u043c\u0443 \u0441\u0442\u043e\u043b\u0456.","disable-measure":"\u041f\u0440\u0438\u043f\u0438\u043d\u0456\u0442\u044c \u0432\u0438\u043c\u0456\u0440\u044e\u0432\u0430\u043d\u043d\u044f",
downloading:"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f","cardboard-v2":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Cardboard v2, \u044f\u043a\u0430 \u043f\u043e\u0441\u0442\u0430\u0447\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u043a\u043d\u043e\u043f\u043a\u043e\u044e, \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u0438\u0432\u0438\u0442\u0438\u0441\u044f \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 \u0442\u0430 \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0442\u0438 \u043a\u043d\u043e\u043f\u043a\u0443, \u0449\u043e\u0431 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u0457\u0457.",
"enable-video-audio-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0432\u0456\u0434\u0435\u043e \u0442\u0430 \u0430\u0443\u0434\u0456\u043e?",reject:"\u0412\u0456\u0434\u0445\u0438\u043b\u0438\u0442\u0438",downloaded:"\u0426\u0435\u0439 \u0442\u0443\u0440 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043e \u0434\u043b\u044f \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0432 \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u043c\u0443 \u0440\u0435\u0436\u0438\u043c\u0456.",
"samsung-internet-vr-app-info":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Gear VR, \u0441\u0443\u043c\u0456\u0441\u043d\u0430 \u0437 \u0446\u0438\u043c \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0454\u043c, \u0456 \u0432\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0457 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR, \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u0440\u043e\u0431\u0438\u0442\u0438 Samsung Internet \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c.",
"samsung-internet-vr-info":"\u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0430 Gear VR, \u0441\u0443\u043c\u0456\u0441\u043d\u0430 \u0437 \u0446\u0438\u043c \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u0454\u043c, \u0456 \u0432\u0438 \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f \u0432\u0456\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0457 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0456, \u0432\u0438 \u0442\u0430\u043a\u043e\u0436 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0457 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0440\u0430\u0437 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u0456\u0434\u2019\u0454\u0434\u043d\u0430\u0442\u0438 \u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0438\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0434\u043e \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0438.",
"enable-video-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0432\u0456\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u0440\u0443\u0445\u0443 \u0442\u0430 \u043e\u0440\u0456\u0454\u043d\u0442\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u043e\u0433\u043e \u043f\u0440\u0438\u0441\u0442\u0440\u043e\u044e, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0440\u0435\u0436\u0438\u043c VR \u0432\u0438\u043c\u043a\u043d\u0435\u043d\u043e \u0434\u043b\u044f \u0446\u044c\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0443.",
"\u0429\u043e\u0431 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u0446\u044e \u0432\u0435\u0431-\u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443, \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u00ab\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438\u00bb \u0442\u0430 \u043f\u0440\u0438\u0439\u043c\u0456\u0442\u044c \u0437\u0430\u043f\u0438\u0442 \u043d\u0430 \u0434\u043e\u0437\u0432\u0456\u043b, \u044f\u043a\u0449\u043e \u0437\u2019\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0437\u0430\u043f\u0438\u0442."],
"storage-not-provided-launch-from-homescreen":"\u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0442\u0443\u0440 \u0437\u0456 \u0437\u043d\u0430\u0447\u043a\u0430 \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0433\u043e \u0435\u043a\u0440\u0430\u043d\u0430, \u0449\u043e\u0431 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438.","enter-fullscreen":"\u041f\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044c \u0443 \u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u0438\u0439 \u0440\u0435\u0436\u0438\u043c",
"use-cardboard-v2":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442\u0435 Cardboard v2",unmute:"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0437\u0432\u0443\u043a","enter-vr":"\u041e\u0431\u0435\u0440\u0456\u0442\u044c \u0432\u043c\u0456\u0441\u0442 VR","enable-measure":"\u041f\u043e\u0447\u043d\u0456\u0442\u044c \u0432\u0438\u043c\u0456\u0440\u044e\u0432\u0430\u0442\u0438","use-cardboard-info":"\u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0431\u0443\u0434\u044c-\u044f\u043a\u0443 \u0441\u0443\u043c\u0456\u0441\u043d\u0443 \u0433\u0430\u0440\u043d\u0456\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0443 \u0446\u044c\u043e\u0433\u043e \u0432\u043c\u0456\u0441\u0442\u0443 \u0443 VR.",
"refresh-downloaded":"\u041e\u043d\u043e\u0432\u0438\u0442\u0438","use-default-cardboard":"\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c","enable-audio-prompt":"\u0423\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u0438 \u0430\u0443\u0434\u0456\u043e?"},"en-us":{mute:"Mute","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.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Accept",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",
download:"Download","change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"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.","cookies-notice":"This web page uses cookies to collect usage statistics. For more information, please visit the &lt;a&gt;Cookie Policy&lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"Enable video and audio?",
reject:"Reject",downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"sv-se":{mute:"Inaktivera ljud","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.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att dra och sl\u00e4ppa",accept:"Acceptera",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",
cancel:"Cancel","change-to-click-and-move":"\u00c4ndra kontrolll\u00e4ge f\u00f6r att klicka och flytta",yes:"ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Avsluta fullsk\u00e4rmen",no:"Nej","download-failed":"Download failed","giroscope-disabled-http":"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.","cookies-notice":"Denna webbsida anv\u00e4nder cookies f\u00f6r att samla in anv\u00e4ndningsstatistik. F\u00f6r mer information, bes\u00f6k &lt;a&gt;Cookie Policy&lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Avvisa","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"Aktivera ljud och video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"Aktivera video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Ange fullsk\u00e4rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktivera ljud","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktivera ljud?"},"id-id":{mute:"Mute","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.","download-tour":"Download Tour for offline playing",
"change-to-drag-and-release":"Change control mode to Drag and Release",accept:"Menerima",cancel:"Cancel","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",download:"Download",
"change-to-click-and-move":"Change control mode to Click and Move",yes:"yes","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Exit fullscreen",no:"no","download-failed":"Download failed","giroscope-disabled-http":"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.","cookies-notice":"Halaman web ini menggunakan cookie untuk mengumpulkan statistik penggunaan. Untuk informasi lebih lanjut, silakan kunjungi &lt;a&gt;Kebijakan Cookie&lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"Enable video and audio?",
reject:"Menolak",downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"Enable video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Enter fullscreen","use-cardboard-v2":"Use Cardboard v2",unmute:"Unmute","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Enable audio?"},"pt-br":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.",
"download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar","storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",
download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair da tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.",
"cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a &lt;a&gt;Pol\u00edtica de cookies&lt;/a&gt;.","use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",
downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.","enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.",
"samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.","enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],
"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar em tela cheia","use-cardboard-v2":"Use Cardboard v2",unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o",
"enable-audio-prompt":"Ativar \u00e1udio?"},"it-it":{mute:"Disabilita audio","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.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Cambia la modalit\u00e0 di controllo per trascinare e rilasciare",accept:"Accettare",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.",
"dont-display-again":"Don't display this info again","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.",cancel:"Cancel","change-to-click-and-move":"Cambia la modalit\u00e0 di controllo per fare clic e spostare",yes:"s\u00ec","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode",
"exit-fullscreen":"Esci dalla modalit\u00e0 schermo intero",no:"no","download-failed":"Download failed","giroscope-disabled-http":"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.","cookies-notice":"Questa pagina web utilizza i cookie per raccogliere statistiche sull'utilizzo. Per ulteriori informazioni, visita la &lt;a&gt;Cookie Policy&lt;/a&gt;.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser",
"rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Rifiutare","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"Abilita audio e video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.",
"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.","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.","enable-video-prompt":"Abilita il video?",
"giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Entra a schermo intero","use-cardboard-v2":"Use Cardboard v2",unmute:"Abilita audio","enter-vr":"Enter VR content","enable-measure":"Start measuring",
"use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Abilita l'audio?"},"zh-tw":{mute:"\u975c\u97f3","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.","download-tour":"\u4e0b\u8f09\u865b\u64ec\u5c0e\u89bd\uff0c\u4ee5\u9032\u884c\u96e2\u7dda\u64ad\u653e",
"change-to-drag-and-release":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u62d6\u653e\u6a21\u5f0f\u201c",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","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","dont-display-again":"\u4e0d\u518d\u986f\u793a\u672c\u8a0a\u606f","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",
download:"\u4e0b\u8f09","change-to-click-and-move":"\u5c07\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u70ba\u201c\u9ede\u64ca\u4e26\u79fb\u52d5\u201d",yes:"\u662f","delete-downloaded":"\u522a\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u87a2\u5e55",no:"\u5426","download-failed":"\u4e0b\u8f09\u5931\u6557","giroscope-disabled-http":"\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",
"cookies-notice":"\u8a72\u7db2\u9801\u4f7f\u7528cookie\u4f86\u6536\u96c6\u4f7f\u7528\u60c5\u6cc1\u7d71\u8a08\u4fe1\u606f\u3002 \u6709\u95dc\u66f4\u591a\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f&lt;a&gt; Cookie\u653f\u7b56&lt;/a&gt;\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","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",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f09","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.","enable-video-audio-prompt":"\u5141\u8a31\u5f71\u7247\u53ca\u8072\u97f3\u64ad\u653e?",reject:"\u62d2\u7d55",downloaded:"\u865b\u64ec\u5c0e\u89bd\u5df2\u4e0b\u8f09\uff0c\u53ef\u9032\u884c\u96e2\u7dda\u64ad\u653e\u3002","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.",
"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.","enable-video-prompt":"\u5141\u8a31\u5f71\u7247\u64ad\u653e?","giroscope-disabled-safari-request-permission":["\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",
"\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"],"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","enter-fullscreen":"\u9032\u5165\u5168\u87a2\u5e55","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u975c\u97f3",
"enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u91cd\u65b0\u6574\u7406","use-default-cardboard":"Use Default","enable-audio-prompt":"\u5141\u8a31\u8072\u97f3\u64ad\u653e?"},"nb-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
"download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k &lt;a&gt;retningslinjer for informasjonskapsler&lt;/a&gt;.","use-cardboard":"Bruk Cardboard","launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned",
"cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.",
"samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],
"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard",
"enable-audio-prompt":"Aktivere audio?"},"pt-pt":{mute:"Desativar som","cardboard-v1":"Se voc\u00ea n\u00e3o tiver certeza de qual vers\u00e3o do Cardboard est\u00e1 usando, selecione o controle de ponto de acesso padr\u00e3o. Voc\u00ea simplesmente olha para um ponto de acesso e espera at\u00e9 que a a\u00e7\u00e3o seja acionada.","download-tour":"Download do Tour para reprodu\u00e7\u00e3o offline","change-to-drag-and-release":"Alterar controle para arrastar e soltar",accept:"Aceitar",cancel:"Cancelar",
"storage-not-provided-bookmark":"Armazenamento persistente negado. Tente marcar esta p\u00e1gina da Web e recarreg\u00e1-la.","dont-display-again":"N\u00e3o exibir essas informa\u00e7\u00f5es novamente","web-server-required":"Este passeio virtual n\u00e3o pode ser reproduzido a partir de uma unidade local. Envie-o para a Internet e tente novamente.\nSe preferir, arraste o arquivo htm (ou toda a pasta do tour) para o \u00edcone do aplicativo TourViewer.",download:"Download","change-to-click-and-move":"Alterar controle para clicar e mover",
yes:"sim","delete-downloaded":"Apagar","use-safari-for-vr":"Recomendamos o Safari para ver este passeio no modo VR","exit-fullscreen":"Sair da tela cheia",no:"n\u00e3o","download-failed":"Falha no Download","giroscope-disabled-http":"Voc\u00ea est\u00e1 acessando esta p\u00e1gina da Web por meio do http, para que o acesso \u00e0 orienta\u00e7\u00e3o e movimento do dispositivo e o modo VR sejam desativados, acesse-o atrav\u00e9s de https para ativ\u00e1-los.","cookies-notice":"Esta p\u00e1gina da web usa cookies para coletar estat\u00edsticas de uso. Para obter mais informa\u00e7\u00f5es, visite a &lt;a&gt;Pol\u00edtica de cookies&lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Iniciar no navegador padr\u00e3o","rotate-device":"Por favor, gire seu dispositivo","exit-vr":"Sair do VR","storage-not-provided-launch-from-desktop":"Por favor, reinicie o tour no \u00edcone da \u00e1rea de trabalho para fazer o download.","disable-measure":"Stop measuring",downloading:"Baixando","cardboard-v2":"Se voc\u00ea tiver um fone de ouvido Cardboard v2, que vem com um bot\u00e3o, poder\u00e1 observar um ponto de acesso e pressionar o bot\u00e3o para acionar sua a\u00e7\u00e3o.",
"enable-video-audio-prompt":"Ativar \u00e1udio e v\u00eddeo?",reject:"Rejeitar",downloaded:"This tour is downloaded for offline playing.","samsung-internet-vr-app-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Voc\u00ea precisa tornar o Samsung Internet o seu padr\u00e3o. browser.","samsung-internet-vr-info":"Se voc\u00ea possui um fone de ouvido Gear VR compat\u00edvel com este dispositivo e instalou o Samsung Internet for VR, tamb\u00e9m pode us\u00e1-lo para visualizar esse conte\u00fado em VR. Basta colocar o celular no fone de ouvido agora.",
"enable-video-prompt":"Ativar v\u00eddeo?","giroscope-disabled-safari-request-permission":["O acesso a movimento e orienta\u00e7\u00e3o do dispositivo e o modo VR est\u00e3o desativados para este site.","Para ver corretamente esta p\u00e1gina da web, clique em continuar e aceite a solicita\u00e7\u00e3o de permiss\u00e3o, se solicitado."],"storage-not-provided-launch-from-homescreen":"Reinicie o tour no \u00edcone da tela inicial para fazer o download.","enter-fullscreen":"Entrar em tela cheia","use-cardboard-v2":"Use Cardboard v2",
unmute:"Ativar som","enter-vr":"Inserir conte\u00fado VR","enable-measure":"Start measuring","use-cardboard-info":"Voc\u00ea pode usar qualquer fone de ouvido compat\u00edvel do Google Cardboard para visualizar este conte\u00fado em VR","refresh-downloaded":"Atualizar","use-default-cardboard":"Use o padr\u00e3o","enable-audio-prompt":"Ativar \u00e1udio?"},"hr-hr":{mute:"nijem","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.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Promijenite na\u010din upravljanja u povla\u010denje i otpu\u0161tanje",accept:"Prihvatiti",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",
cancel:"Cancel","change-to-click-and-move":"Promijenite na\u010din upravljanja na Klik i Premjesti",yes:"Da","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Iza\u0111ite s punog zaslona",no:"Ne","download-failed":"Download failed","giroscope-disabled-http":"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.","cookies-notice":"Ova web stranica koristi kola\u010di\u0107e za prikupljanje statistike upotrebe. Za vi\u0161e informacija posjetite &lt;a&gt;Pravila o kola\u010di\u0107ima&lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Odbiti","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"Omogu\u0107iti videozapis i zvuk?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",
downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"Omogu\u0107ite videozapis?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Unesite cijeli zaslon","use-cardboard-v2":"Use Cardboard v2",unmute:"Uklju\u010di mikrofon",
"enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u017delite li omogu\u0107iti zvuk?"},"ja-jp":{mute:"\u30df\u30e5\u30fc\u30c8","cardboard-v1":"\u4f7f\u7528\u3057\u3066\u3044\u308bCardboard\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u308f\u304b\u3089\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u30db\u30c3\u30c8\u30b9\u30dd\u30c3\u30c8\u3092\u6ce8\u8996\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u304c\u52d5\u4f5c\u3059\u308b\u307e\u3067\u5f85\u6a5f\u3057\u307e\u3059\u3002\uff08\u4e00\u90e8\u52d5\u4f5c\u3057\u306a\u3044\u30a2\u30af\u30b7\u30e7\u30f3\u6709\u308a\uff09",
"download-tour":"\u30aa\u30d5\u30e9\u30a4\u30f3\u518d\u751f\u7528\u30c4\u30a2\u30fc\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","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",accept:"\u53d7\u3051\u5165\u308c\u308b",cancel:"\u30ad\u30e3\u30f3\u30bb\u30eb","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",
"dont-display-again":"\u4eca\u5f8c\u3053\u306e\u60c5\u5831\u3092\u8868\u793a\u3057\u306a\u3044","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",
download:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","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",yes:"\u306f\u3044","delete-downloaded":"\u524a\u9664","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","exit-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3092\u7d42\u4e86\u3059\u308b",
no:"\u3044\u3044\u3048","download-failed":"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5931\u6557\u3057\u307e\u3057\u305f","giroscope-disabled-http":"\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",
"cookies-notice":"\u3053\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306fCookie\u3092\u4f7f\u7528\u3057\u3066\u4f7f\u7528\u7d71\u8a08\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002 \u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001&lt;a&gt;Cookie\u30dd\u30ea\u30b7\u30fc&lt;/a&gt;\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002","use-cardboard":"Cardboard\u5229\u7528","launch-default-browser":"\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u8d77\u52d5","rotate-device":"\u7aef\u672b\u3092\u56de\u8ee2\u3055\u305b\u3066\u304f\u3060\u3055\u3044",
"exit-vr":"VR\u30d3\u30e5\u30fc \u7d42\u4e86","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","disable-measure":"Stop measuring",downloading:"\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d","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\u306f\u3053\u3061\u3089\u3002",
"enable-video-audio-prompt":"\u30d3\u30c7\u30aa\u3068\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f",reject:"\u62d2\u5426\u3059\u308b",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","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",
"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",
"enable-video-prompt":"\u30d3\u30c7\u30aa\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f","giroscope-disabled-safari-request-permission":["\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","\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"],
"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","enter-fullscreen":"\u30d5\u30eb\u30b9\u30af\u30ea\u30fc\u30f3\u3067\u5165\u529b\u3059\u308b","use-cardboard-v2":"Cardboard v2\u5229\u7528",unmute:"\u30df\u30e5\u30fc\u30c8\u89e3\u9664","enter-vr":"VR\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5165\u529b","enable-measure":"Start measuring",
"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","refresh-downloaded":"\u66f4\u65b0","use-default-cardboard":"\u30c7\u30d5\u30a9\u30eb\u30c8\u5229\u7528","enable-audio-prompt":"\u97f3\u58f0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u304b\uff1f"},"zh-cn":{mute:"\u9759\u97f3",
"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.","download-tour":"\u4e0b\u8f7d\u5168\u666f\u6f2b\u6e38\uff0c\u4ee5\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e","change-to-drag-and-release":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u62d6\u653e\u201d",accept:"\u63a5\u53d7",cancel:"\u53d6\u6d88","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",
"dont-display-again":"\u4e0d\u518d\u663e\u793a\u6b64\u4fe1\u606f","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",
download:"\u4e0b\u8f7d","change-to-click-and-move":"\u5c06\u63a7\u5236\u6a21\u5f0f\u66f4\u6539\u4e3a\u201c\u5355\u51fb\u5e76\u79fb\u52a8\u201d",yes:"\u662f","delete-downloaded":"\u5220\u9664","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u9000\u51fa\u5168\u5c4f",no:"\u5426","download-failed":"\u4e0b\u8f7d\u5931\u8d25","giroscope-disabled-http":"\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",
"cookies-notice":"\u8be5\u7f51\u9875\u4f7f\u7528cookie\u6765\u6536\u96c6\u4f7f\u7528\u60c5\u51b5\u7edf\u8ba1\u4fe1\u606f\u3002 \u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u8bf7\u8bbf\u95ee&lt;a&gt;Cookie\u653f\u7b56&lt;/a&gt;\u3002","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR","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",
"disable-measure":"Stop measuring",downloading:"\u6b63\u5728\u4e0b\u8f7d","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.","enable-video-audio-prompt":"\u542f\u7528\u89c6\u9891\u548c\u97f3\u9891\uff1f",reject:"\u62d2\u7edd",downloaded:"\u6b64\u5168\u666f\u6f2b\u6e38\u5df2\u4e0b\u8f7d\uff0c\u53ef\u8fdb\u884c\u79bb\u7ebf\u64ad\u653e\u3002","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.",
"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.","enable-video-prompt":"\u542f\u7528\u89c6\u9891\uff1f","giroscope-disabled-safari-request-permission":["\u8be5\u7ad9\u70b9\u5df2\u7981\u7528\u8bbe\u5907\u7684\u8fd0\u52a8\u548c\u65b9\u5411\u8bbf\u95ee\u6743\u9650\uff0cVR\u6a21\u5f0f\u4e5f\u88ab\u7981\u7528\u3002",
"\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"],"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","enter-fullscreen":"\u8fdb\u5165\u5168\u5c4f","use-cardboard-v2":"Use Cardboard v2",unmute:"\u53d6\u6d88\u9759\u97f3","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"\u5237\u65b0","use-default-cardboard":"Use Default","enable-audio-prompt":"\u542f\u7528\u97f3\u9891\uff1f"},"nl-nl":{mute:"Schakel audio uit","cardboard-v1":"Als u niet weet wat voor versie van Cardboard u gebruikt, selecteer dan de default hotspot control. Dan zult u moeten wachten op een hotspot tot er een bepaald actie is gestart.","download-tour":"Download Tour voor offline afspelen",
"change-to-drag-and-release":"Verander de besturingsmodus om te slepen en los te laten",accept:"Aanvaarden",download:"Download","storage-not-provided-bookmark":"Aanhoudende inhoud geweigerd. Probeer deze pagina als bookmark op te slaan en te verversen.","dont-display-again":"Niet meer laten zien","web-server-required":"Deze virtuele tour kan niet worden afgespeeld vanaf een lokale schijf. Upload dit alstublieft op het internet. Je kan ook de htm bestand slepen naar het icoon van de TourViewer app.",
cancel:"Annuleren","change-to-click-and-move":"Verander de bedieningsmodus om te klikken en te verplaatsen",yes:"Ja","delete-downloaded":"Verwijderen","use-safari-for-vr":"We raden aan om in Safari deze tour te bekijken in VR mode","exit-fullscreen":"Volledig scherm verlaten",no:"Nee","download-failed":"Download mislukt","giroscope-disabled-http":"Jij betreedt deze pagina door http, dus uw toestel's motion en orientation access en VR modus zijn uitgeschakeld. Betreed deze pagina door https om ze weer aan te schakelen.",
"cookies-notice":"Deze webpagina maakt gebruik van cookies om gebruiksstatistieken te verzamelen. Raadpleeg het &lt;a&gt;Cookiebeleid&lt;/a&gt; voor meer informatie.","use-cardboard":"Gebruik Cardboard","launch-default-browser":"Start op in standaard browser","rotate-device":"Draai uw toestel om, alstublieft","exit-vr":"VR verlaten",reject:"Weigeren","disable-measure":"Stop meten",downloading:"Downloaden","cardboard-v2":"Als u een Cardboard v2 headset heeft, wat met een knop komt, kunt u wachten op een hotspot en een op een knop drukken om een actie te starten.",
"enable-video-audio-prompt":"Audio en video inschakelen?","storage-not-provided-launch-from-desktop":"Start de tour alstublieft opnieuw up vanaf het bureaublad om te kunnen downloaden.",downloaded:"Deze tour is gedownload voor offline afspelen.","samsung-internet-vr-app-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR. U moet alleen Samsung Internet instellen als uw standaard browser.","samsung-internet-vr-info":"Als u een Gear VR headset heeft dat werkt met dit toestel en u Samsung Internet voor VR heeft ge\u00efnstalleerd, kunt u dit ook bekijken in VR, u moet alleen uw mobiele toestel op uw headset zetten.",
"enable-video-prompt":"Video inschakelen?","giroscope-disabled-safari-request-permission":["Uw toestel's motion en orientation access en VR modus zijn uitgeschakeld voor deze site..","Om deze pagina goed te kunnen zien, druk op doorgaan en geef toestemming als dat gevraagd wordt."],"storage-not-provided-launch-from-homescreen":"Start de tour alstublieft opnieuw up vanaf het homescherm om te kunnen downloaden.","enter-fullscreen":"Volledig scherm inschakelen","use-cardboard-v2":"Gebruik Cardboard v2",
unmute:"Schakel audio in","enter-vr":"Voer VR inhoud in","enable-measure":"Begin meten","use-cardboard-info":"U kunt elk werkend Google Cardboard headset gebruiken om dit te bekijken.","refresh-downloaded":"Verversen","use-default-cardboard":"Standaard gebruiken","enable-audio-prompt":"Audio inschakelen?"},"hu-hu":{mute:"N\u00e9m\u00edt\u00e1s","cardboard-v1":"Ha nem vagy biztos benne, hogy milyen VR eszk\u00f6zt haszn\u00e1lsz, akkor v\u00e1laszd az alap\u00e9rtelmezettet \u00e9s az egyes hotspot-ok megtekint\u00e9s\u00e9hez csak tartsd ott a jel\u00f6l\u0151t.",
"download-tour":"T\u00fara let\u00f6lt\u00e9se offline megtekint\u00e9shez","change-to-drag-and-release":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa: megfog \u00e9s mozgat m\u00f3dra",accept:"Elfogad",cancel:"M\u00e9gsem","storage-not-provided-bookmark":"Pr\u00f3b\u00e1lja meg az oldalt megjel\u00f6lni \u00e9s \u00fajrat\u00f6lteni!","dont-display-again":"Ne mutasd \u00fajra","web-server-required":"Ez a t\u00fara nem j\u00e1tszat\u00f3 le helyi futtat\u00e1ssal, k\u00e9rlek t\u00f6lsd fel az internetre \u00e9s pr\u00f3b\u00e1ld meg \u00fajra\nM\u00e1sik megold\u00e1s, ha a Tourviewer applik\u00e1ci\u00f3ra h\u00fazod a t\u00fara f\u00e1jlt, vagy az azt tartalmaz\u00f3 t\u00fara mapp\u00e1t.",
download:"Let\u00f6lt\u00e9s","change-to-click-and-move":"Ir\u00e1ny\u00edt\u00e1s \u00e1t\u00e1ll\u00edt\u00e1sa kattint \u00e9s k\u00f6rben\u00e9z m\u00f3dra",yes:"igen","delete-downloaded":"T\u00f6rl\u00e9s","use-safari-for-vr":"Azt javasoljuk, hogy haszn\u00e1lj Safari b\u00f6ng\u00e9sz\u0151t a VR n\u00e9zet megtekint\u00e9s\u00e9hez","exit-fullscreen":"Kil\u00e9p\u00e9s a teljesk\u00e9perny\u0151 m\u00f3db\u00f3l",no:"nem","download-failed":"Let\u00f6lt\u00e9s sikertelen","giroscope-disabled-http":"Az oldalt https el\u0151taggal sz\u00fcks\u00e9ges megnyitnod ahhoz, hogy a k\u00e9sz\u00fcl\u00e9ked mozg\u00e1s\u00e1t \u00e9rz\u00e9kelni tudja.",
"cookies-notice":"Ez a weboldal s\u00fctiket haszn\u00e1l a haszn\u00e1lati statisztik\u00e1k gy\u0171jt\u00e9s\u00e9hez. Tov\u00e1bbi inform\u00e1ci\u00f3\u00e9rt l\u00e1togasson el a &lt;a&gt;s\u00fctikre vonatkoz\u00f3 ir\u00e1nyelvekbe&lt;/a&gt;.","use-cardboard":"Cardboard haszn\u00e1lata","launch-default-browser":"Futtat\u00e1s az alap\u00e9rtelmezett b\u00f6ng\u00e9sz\u0151ben","rotate-device":"Forgasd el a telefont!","exit-vr":"Kil\u00e9p\u00e9s a VR m\u00f3db\u00f3l","storage-not-provided-launch-from-desktop":"K\u00e9rlek ind\u00edtsd \u00fajra az oldalt az asztalon tal\u00e1lhat\u00f3 iconra kattintva.",
"disable-measure":"Stop measuring",downloading:"Let\u00f6lt\u00e9s","cardboard-v2":"Ha Cardboard 2.0 t\u00edpus\u00fa eszk\u00f6zt haszn\u00e1lsz, akkor a kapcsol\u00f3kkal ir\u00e1ny\u00edthatod a t\u00far\u00e1t, kattinthatsz az egyes hotspotokra","enable-video-audio-prompt":"Hang \u00e9s vide\u00f3 enged\u00e9lyez\u00e9se",reject:"Elutas\u00edt",downloaded:"Let\u00f6ltve offline megtekint\u00e9shez","samsung-internet-vr-app-info":"Ha Samsung Gear VR szem\u00fcveget szeretn\u00e9l haszn\u00e1lni, akkor nyisd meg a Samsung internetb\u00f6ng\u00e9sz\u0151ben a t\u00far\u00e1t.",
"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.","enable-video-prompt":"Vide\u00f3 enged\u00e9lyez\u00e9se","giroscope-disabled-safari-request-permission":["A megjelen\u00edt\u0151 eszk\u00f6z\u00f6d nem adott hozz\u00e1f\u00e9r\u00e9st a mozg\u00e1s \u00e9rz\u00e9kel\u00e9s\u00e9hez ezen az oldalon.","Ahhoz hogy megfelel\u0151en l\u00e1sd az oldalt k\u00e9rlek enged\u00e9lyezd a hozz\u00e1f\u00e9r\u00e9st."],
"storage-not-provided-launch-from-homescreen":"Ind\u00edtsd \u00fajra a t\u00far\u00e1t a home ikonra kattintva.","enter-fullscreen":"Teljesk\u00e9perny\u0151","use-cardboard-v2":"Cardboard 2.0 haszn\u00e1lata",unmute:"N\u00e9m\u00edt\u00e1s kikapcsol\u00e1sa","enter-vr":"VR tartalom megtekint\u00e9se","enable-measure":"Start measuring","use-cardboard-info":"Haszn\u00e1lhatsz b\u00e1rmilyen google cardboard-ot ahhoz, hogy VR m\u00f3dban l\u00e1sd a t\u00far\u00e1t.","refresh-downloaded":"Friss\u00edt\u00e9s",
"use-default-cardboard":"Alap\u00e9rtelmezett haszn\u00e1lata","enable-audio-prompt":"Hang enged\u00e9lyez\u00e9se"},"ar-ar":{mute:"\u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u0635\u0648\u062a","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.","download-tour":"Download Tour for offline playing","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",
accept:"\u0642\u0628\u0648\u0644",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",cancel:"Cancel","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",
yes:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0627\u0644\u062e\u0631\u0648\u062c \u0645\u0646 \u0648\u0636\u0639 \u0645\u0644\u0626 \u0644\u0644\u0634\u0627\u0634\u0629",no:"\u0644\u0627","download-failed":"Download failed","giroscope-disabled-http":"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.",
"cookies-notice":"\u062a\u0633\u062a\u062e\u062f\u0645 \u0635\u0641\u062d\u0629 \u0627\u0644\u0648\u064a\u0628 \u0647\u0630\u0647 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 \u0644\u062c\u0645\u0639 \u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u0627\u0644\u0627\u0633\u062a\u062e\u062f\u0627\u0645. \u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u060c \u064a\u0631\u062c\u0649 \u0632\u064a\u0627\u0631\u0629 &lt;a&gt; \u0633\u064a\u0627\u0633\u0629 \u0645\u0644\u0641\u0627\u062a \u062a\u0639\u0631\u064a\u0641 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637 &lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"\u064a\u0631\u0641\u0636","disable-measure":"Stop measuring",downloading:"Downloading","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.","enable-video-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a \u0648\u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0641\u064a\u062f\u064a\u0648\u061f","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0623\u062f\u062e\u0644 \u0645\u0644\u0621 \u0627\u0644\u0634\u0627\u0634\u0629",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u0635\u0648\u062a\u061f"},"ca-es":{mute:"Silenciar","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.",
"download-tour":"Descarregueu la visita virtual per a jugar fora de l\u00ednia","change-to-drag-and-release":"Canvieu el mode de control a Arrossegar i deixeu anar",accept:"Accepta",cancel:"Cancel\u00b7lar","storage-not-provided-bookmark":"S'ha denegat l'emmagatzematge persistent. Proveu de marcar aquesta p\u00e0gina web i torneu-la a carregar.","dont-display-again":"No tornis a mostrar aquesta informaci\u00f3","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.",
download:"Descarregar","change-to-click-and-move":"Canvieu el mode de control a Fer clic i desplaceu",yes:"s\u00ed","delete-downloaded":"Suprimeix","use-safari-for-vr":"Recomanem Safari per a visualitzar aquesta visita virtual en mode VR","exit-fullscreen":"Surt de pantalla completa",no:"no","download-failed":"Error de desc\u00e0rrega","giroscope-disabled-http":"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.",
"cookies-notice":"Aquesta p\u00e0gina web utilitza cookies per recopilar estad\u00edstiques d\u2019\u00fas. Per obtenir m\u00e9s informaci\u00f3, visiteu la &lt;a&gt;Pol\u00edtica de cookies&lt;/a&gt;.","use-cardboard":"Utilitzeu Cardboard","launch-default-browser":"Inicieu el navegador per defecte","rotate-device":"Gireu el dispositiu","exit-vr":"Surt de VR","storage-not-provided-launch-from-desktop":"Torneu a iniciar la visita virtual des de la icona de l'escriptori per a descarregar-la.","disable-measure":"Stop measuring",
downloading:"Baixant","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.","enable-video-audio-prompt":"Habilitar v\u00eddeo i \u00e0udio?",reject:"Rebutjar",downloaded:"Aquesta visita virtual es descarrega per a reproduir-la fora de l\u00ednia.","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.",
"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.","enable-video-prompt":"Activar v\u00eddeo?","giroscope-disabled-safari-request-permission":["Aquest lloc web est\u00e0 desactivat en el moviment i en la direcci\u00f3 o en mode VR del dispositiu.","Per veure correctament aquesta p\u00e0gina web, feu clic a Continuar i accepteu la sol\u00b7licitud de perm\u00eds si se us demana."],
"storage-not-provided-launch-from-homescreen":"Torneu a iniciar la visita virtual des de la icona de la pantalla inicial.","enter-fullscreen":"Entra a pantalla completa","use-cardboard-v2":"Utilitzeu Cardboard v2",unmute:"No activa","enter-vr":"Introdu\u00efu contingut de VR","enable-measure":"Start measuring","use-cardboard-info":"Podeu utilitzar qualsevol auricular de Google Cardboard compatible per a visualitzar aquest contingut en VR.","refresh-downloaded":"Actualitzaci\u00f3","use-default-cardboard":"\u00das per defecte",
"enable-audio-prompt":"Activar \u00e0udio?"},"ru-ru":{mute:"\u0411\u0435\u0437 \u0437\u0432\u0443\u043a\u0430","cardboard-v1":"\u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Cardboard \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u043a\u0430\u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0417\u0430\u0442\u0435\u043c \u0432\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u0434\u043e\u0436\u0434\u0438\u0442\u0435\u0441\u044c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"download-tour":"\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0442\u0443\u0440  \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f","change-to-drag-and-release":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435",
accept:"\u041f\u0440\u0438\u043d\u044f\u0442\u044c",download:"\u0421\u043a\u0430\u0447\u0430\u0442\u044c","storage-not-provided-bookmark":"\u0412 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043d\u043e. \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0438 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0435.",
"dont-display-again":"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u044d\u0442\u0443 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e","web-server-required":"\u042d\u0442\u043e\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0443\u0440 \u043d\u0435\u043b\u044c\u0437\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0433\u043e \u0432 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.\n\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043f\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 htm-\u0444\u0430\u0439\u043b (\u0438\u043b\u0438 \u0432\u0441\u044e \u043f\u0430\u043f\u043a\u0443 \u0442\u0443\u0440\u0430) \u043d\u0430 \u0437\u043d\u0430\u0447\u043e\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f TourViewer.",
cancel:"\u041e\u0442\u043c\u0435\u043d\u0430","change-to-click-and-move":"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430 \u043d\u0430\u0436\u0430\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435",yes:"\u0434\u0430","delete-downloaded":"\u0423\u0434\u0430\u043b\u0438\u0442\u044c","use-safari-for-vr":"\u041c\u044b \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c Safari \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u0442\u0443\u0440\u0430 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 VR.",
"exit-fullscreen":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u043f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0436\u0438\u043c\u0430",no:"\u043d\u0435\u0442","download-failed":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438","giroscope-disabled-http":"\u0412\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u044d\u0442\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0447\u0435\u0440\u0435\u0437 http, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 https, \u0447\u0442\u043e\u0431\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0445.",
"cookies-notice":"\u042d\u0442\u0430 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b cookie \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430 \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0441\u043c. &lt;a&gt;\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 cookie&lt;/a&gt;.",
"use-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard","launch-default-browser":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","rotate-device":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0432\u0435\u0440\u043d\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e",
"exit-vr":"\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 VR",reject:"\u041e\u0442\u043a\u043b\u043e\u043d\u0438\u0442\u044c","disable-measure":"\u041f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f",downloading:"\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435","cardboard-v2":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Cardboard v2 \u0441 \u043a\u043d\u043e\u043f\u043a\u043e\u0439, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0445\u043e\u0442\u0441\u043f\u043e\u0442 \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0435\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",
"enable-video-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e?","storage-not-provided-launch-from-desktop":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0440\u0430\u0431\u043e\u0447\u0435\u043c \u0441\u0442\u043e\u043b\u0435..",
downloaded:"\u042d\u0442\u043e\u0442 \u0442\u0443\u0440 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0433\u043e \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f.","samsung-internet-vr-app-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c Samsung Internet \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.",
"samsung-internet-vr-info":"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0430 Gear VR, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430\u044f \u0441 \u044d\u0442\u0438\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c, \u0438 \u0432\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 Samsung Internet \u0434\u043b\u044f VR, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR, \u0432\u0430\u043c \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0434\u0435\u0442\u044c \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u043d\u0430 \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 \u0441\u0435\u0439\u0447\u0430\u0441.",
"enable-video-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0438\u0434\u0435\u043e?","giroscope-disabled-safari-request-permission":["\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u044e \u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0436\u0438\u043c VR \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u044b \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430.",
"\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0443 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c\u00bb \u0438 \u043f\u0440\u0438\u043c\u0438\u0442\u0435 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e."],
"storage-not-provided-launch-from-homescreen":"\u0427\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c, \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0442\u0443\u0440 \u0441\u043e \u0437\u043d\u0430\u0447\u043a\u0430 \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u044d\u043a\u0440\u0430\u043d\u0435.","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",
"use-cardboard-v2":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Cardboard v2",unmute:"\u0421\u043e \u0437\u0432\u0443\u043a\u043e\u043c","enter-vr":"\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c VR \u043a\u043e\u043d\u0442\u0435\u043d\u0442","enable-measure":"\u041d\u0430\u0447\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f","use-cardboard-info":"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0443\u044e \u0433\u0430\u0440\u043d\u0438\u0442\u0443\u0440\u0443 Google Cardboard \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 VR.",
"refresh-downloaded":"\u041e\u0431\u043d\u043e\u0432\u0438\u0442\u044c","use-default-cardboard":"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e","enable-audio-prompt":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0430\u0443\u0434\u0438\u043e?"},"nn-no":{mute:"Skru av lyd","cardboard-v1":"Hvis du ikke er sikker, hvilken Cardboard versjon du bruker, velger du standard hotspot-kontrollen. Du vil da bare se p\u00e5 et hotspot og vente til handlingen utl\u00f8ses.",
"download-tour":"Last ned visningen, s\u00e5 den kan bli sett uten internett","change-to-drag-and-release":"Endre kontrollmodus til Trekk og Slipp",accept:"Aksepterer",cancel:"Avbryt","storage-not-provided-bookmark":"Vedvarende lagring nektet. Pr\u00f8v \u00e5 bokmerke denne nettsiden og laste den inn p\u00e5 nytt.","dont-display-again":"Ikke vis denne informasjonen igjen","web-server-required":"Denne virtuelle visningen kan ikke spilles av lokalt. Vennligst last den opp til internett, og fors\u00f8k igjen.\ndersom du prefererer det, kan du dra htm filen (eller hele mappen som inneholder visningen) over 'TourViewer' appen.",
download:"Last ned","change-to-click-and-move":"Endre kontrollmodus til Klikk og Flytt",yes:"Ja","delete-downloaded":"Slett","use-safari-for-vr":"Vi anbefaler Safari for \u00e5 se p\u00e5 venne visningen i VR modus","exit-fullscreen":"G\u00e5 ut av full skjerm",no:"Nei","download-failed":"Nedlastning feilet","giroscope-disabled-http":"Du er koblet til denne nettsiden via http. Dermed er enhetens bevegelses- og orienteringstilgang og VR-modus deaktivert. Koble til via https for \u00e5 aktivere denne.",
"cookies-notice":"Denne websiden bruker informasjonskapsler for \u00e5 samle inn bruksstatistikk. For mer informasjon, bes\u00f8k &lt;a&gt;retningslinjer for informasjonskapsler&lt;/a&gt;.","use-cardboard":"Bruk Cardboard","launch-default-browser":"\u00c5pne i standard nettleser","rotate-device":"Vennligst roter enheten","exit-vr":"G\u00e5 ut av VR","storage-not-provided-launch-from-desktop":"Start turen p\u00e5 nytt fra skrivebordsikonet for \u00e5 laste ned.","disable-measure":"Stop measuring",downloading:"Laster ned",
"cardboard-v2":"Dersom du har Cardboard versjon 2, hvilket kommer med en knapp, kan du kikke p\u00e5 en klikkbar ting i visningen, og bruke knappen for \u00e5 bruke disse tingene, p\u00e5 samme m\u00e5te som p\u00e5 en laptop eller telefon.","enable-video-audio-prompt":"Aktivere video og lyd?",reject:"Avvis",downloaded:"Denne visningen er lastet ned, s\u00e5 den kan bli sett uten internett.","samsung-internet-vr-app-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten og har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du m\u00e5 ogs\u00e5 gj\u00f8re Samsung Internet til standard nettleser.",
"samsung-internet-vr-info":"Hvis du har et Gear VR-headset som er kompatibelt med denne enheten, og du har installert Samsung Internet for VR, kan du ogs\u00e5 bruke det til \u00e5 se dette innholdet i VR, du trenger bare \u00e5 sette mobiltelefonen p\u00e5 headsettet n\u00e5.","enable-video-prompt":"Aktivere video?","giroscope-disabled-safari-request-permission":["Din enhet sin bevegelses- og orienterings tilgang, samt VR modus er deaktivert for denne nettsiden.","For \u00e5 se denne siden korrekt, vennligst klikk p\u00e5 fortsett og godta tillatelsesforesp\u00f8rselen hvis du blir bedt om dette."],
"storage-not-provided-launch-from-homescreen":"Start turen p\u00e5 nytt fra startskjermikonet for \u00e5 laste ned.","enter-fullscreen":"G\u00e5 til full skjerm","use-cardboard-v2":"Bruk Cardboard Versjon 2",unmute:"Skru p\u00e5 lyd","enter-vr":"\u00c5pne VR Modus","enable-measure":"Start measuring","use-cardboard-info":"Du kan bruke hvilke some helst Google Cardboard kompatible headsett for \u00e5 se denne visningen i VR.","refresh-downloaded":"Last inn p\u00e5 nytt","use-default-cardboard":"Bruk Standard",
"enable-audio-prompt":"Aktivere audio?"},"es-es":{mute:"Silenciar","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.","download-tour":"Descargar el tour para reproducirlo sin conexi\u00f3n","change-to-drag-and-release":"Cambiar el modo de control a arrastrar y soltar",accept:"Aceptar","use-cardboard-v2":"Usar Cardboard v2","storage-not-provided-bookmark":"Almacenamiento persistente denagado. Intente a\u00f1adir la p\u00e1gina a los marcadores y recargarla.",
"dont-display-again":"No volver a mostrar esta informaci\u00f3n","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.",download:"Descargar","change-to-click-and-move":"Cambiar el modo de control a pulsar y mover",yes:"si","delete-downloaded":"Borrar","use-safari-for-vr":"Recomendamos Safari para ver este tour en modo VR",
"exit-fullscreen":"Salir de pantalla completa",no:"no","download-failed":"La descarga ha fallado","giroscope-disabled-http":"Est\u00e1 accediendo 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.","cookies-notice":"Esta p\u00e1gina usa cookies para recolectar estad\u00edsticas de uso. Para m\u00e1s informaci\u00f3n, visite la &lt;a&gt;Pol\u00edtica de Cookies&lt;/a&gt;.","use-cardboard":"Usar Cardboard",
"launch-default-browser":"Lanzar en el navegador por defecto","rotate-device":"Por favor, gire el dispositivo","exit-vr":"Salir de VR","storage-not-provided-launch-from-desktop":"Por favor lance el tour desde el escritorio para descargarlo.","disable-measure":"Stop measuring",cancel:"Cancel",downloading:"Descargando","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.","enable-video-audio-prompt":"\u00bfActivar v\u00eddeo y audio?",
reject:"Rechazar",downloaded:"Este tour esta descargado para reproducirlo sin conexi\u00f3n.","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.","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.",
"enable-video-prompt":"\u00bfActivar v\u00eddeo?","giroscope-disabled-safari-request-permission":["El acceso al movimiento y la orientaci\u00f3n del dispositivo est\u00e1 deshabiltado para este sitio.","Para ver correctamente la p\u00e1gina por favor pulse Continuar y acepte la petici\u00f3n de permiso si se muestra."],"storage-not-provided-launch-from-homescreen":"Por favor lance el tour desde el icono de la pantalla de inicio para descargarlo.","enter-fullscreen":"Mostrar en pantalla completa",
unmute:"Habilitar sonido","enter-vr":"Entrar al contenido VR","enable-measure":"Start measuring","use-cardboard-info":"Puede usar unas gafas compatibles con Google Cardboard para ver este contenido en VR.","refresh-downloaded":"Actualizar","use-default-cardboard":"Usar versi\u00f3n por defecto","enable-audio-prompt":"\u00bfActivar audio?"},"el-gr":{mute:"\u0391\u03c0\u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf\u03bd \u03ae\u03c7\u03bf","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.",
"download-tour":"Download Tour for offline playing","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",accept:"\u0391\u03c0\u03bf\u03b4\u03ad\u03c7\u03bf\u03bc\u03b1\u03b9",download:"Download",
"storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",cancel:"Cancel","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",
yes:"\u039d\u03b1\u03af","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"\u0388\u03be\u03bf\u03b4\u03bf\u03c2 \u03b1\u03c0\u03cc \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",no:"\u03cc\u03c7\u03b9","download-failed":"Download failed","giroscope-disabled-http":"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.",
"cookies-notice":"\u0391\u03c5\u03c4\u03ae \u03b7 \u03b9\u03c3\u03c4\u03bf\u03c3\u03b5\u03bb\u03af\u03b4\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b5\u03af cookie \u03b3\u03b9\u03b1 \u03c4\u03b7 \u03c3\u03c5\u03bb\u03bb\u03bf\u03b3\u03ae \u03c3\u03c4\u03b1\u03c4\u03b9\u03c3\u03c4\u03b9\u03ba\u03ce\u03bd \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03c9\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7\u03c2. \u0393\u03b9\u03b1 \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b5\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2, \u03b5\u03c0\u03b9\u03c3\u03ba\u03b5\u03c6\u03b8\u03b5\u03af\u03c4\u03b5 \u03c4\u03b7\u03bd &lt;a&gt; \u03a0\u03bf\u03bb\u03b9\u03c4\u03b9\u03ba\u03ae cookie &lt;/a&gt;.",
"use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"\u0391\u03c0\u03bf\u03c1\u03c1\u03af\u03c0\u03c4\u03c9","disable-measure":"Stop measuring",downloading:"Downloading","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.","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;",
"storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b2\u03af\u03bd\u03c4\u03b5\u03bf;","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"\u0395\u03b9\u03c3\u03ac\u03b3\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03c0\u03bb\u03ae\u03c1\u03b7 \u03bf\u03b8\u03cc\u03bd\u03b7",
"use-cardboard-v2":"Use Cardboard v2",unmute:"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"\u0395\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03ae\u03c7\u03bf\u03c5;"},
"da-dk":{mute:"Deaktiver lyd","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.","download-tour":"Download Tour for offline playing","change-to-drag-and-release":"Skift kontroltilstand for at tr\u00e6kke og slippe",accept:"Acceptere",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again",
"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.",cancel:"Cancel","change-to-click-and-move":"Skift kontroltilstand for at klikke og flytte",yes:"Ja","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Afslut fuldsk\u00e6rm",no:"ingen","download-failed":"Download failed",
"giroscope-disabled-http":"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.","cookies-notice":"Denne webside bruger cookies til at indsamle brugsstatistikker. For mere information, se venligst &lt;a&gt; Cookiepolitik &lt;/a&gt;.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Afvise","disable-measure":"Stop measuring",
downloading:"Downloading","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.","enable-video-audio-prompt":"Aktiv\u00e9r lyd og video?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","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.",
"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.","enable-video-prompt":"Aktiv\u00e9r video?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],
"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Indtast fuldsk\u00e6rm","use-cardboard-v2":"Use Cardboard v2",unmute:"Aktiv\u00e9r lyd","enter-vr":"Enter VR content","enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Aktiv\u00e9r lyd?"},"pl-pl":{mute:"Wycisz",
"cardboard-v1":"Je\u015bli nie masz pewno\u015bci, kt\u00f3rej wersji Cardboard u\u017cywasz, wybierz domy\u015blne sterowanie hotspotem. Nast\u0119pnie skieruj wzrok na hotspot i poczekaj na uruchomienie ich dzia\u0142ania.","download-tour":"Pobierz spacer do odtwarzania w trybie offline","change-to-drag-and-release":"Zmie\u0144 tryb na Przeci\u0105gnij i Upu\u015b\u0107",accept:"Zaakceptowa\u0107",cancel:"Anuluj","storage-not-provided-bookmark":"Odmowa zapisu w pami\u0119ci sta\u0142ej. Spr\u00f3buj doda\u0107 stron\u0119 do zak\u0142adek i za\u0142aduj j\u0105 ponownie.",
"dont-display-again":"Nie wy\u015bwietlaj tego ponownie","web-server-required":"Nie mo\u017cna odtworzy\u0107 tego spaceru z dysku lokalnego. Prze\u015blij go do internetu i spr\u00f3buj ponownie.\nMo\u017cesz te\u017c przeci\u0105gn\u0105\u0107 plik htm (lub ca\u0142y folder spaceru) na ikon\u0119 aplikacji TourViewer.",download:"Pobierz","change-to-click-and-move":"Zmie\u0144 tryb na to Kliknij i Przenie\u015b",yes:"tak","delete-downloaded":"Usu\u0144","use-safari-for-vr":"Zalecamy Safari, jako przegl\u0105dark\u0119 spacer\u00f3w w trybie VR",
"exit-fullscreen":"Wyjd\u017a z trybu pe\u0142nego ekranu",no:"nie","download-failed":"Pobieranie nie powiod\u0142o si\u0119","giroscope-disabled-http":"To jest dost\u0119p za po\u015brednictwem protoko\u0142u http, wi\u0119c dost\u0119p do ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone. Prze\u0142\u0105cz si\u0119\u00a0na protok\u00f3\u0142 https, aby je w\u0142\u0105czy\u0107.","cookies-notice":"Ta strona u\u017cywa plik\u00f3w cookie do zbierania statystyk u\u017cytkowania. Aby uzyska\u0107 wi\u0119cej informacji, odwied\u017a &lt;a&gt;Zasady dotycz\u0105ce plik\u00f3w cookie&lt;/a&gt;.",
"use-cardboard":"U\u017cyj Cardboard","launch-default-browser":"Uruchom w domy\u015blnej przegl\u0105darce","rotate-device":"Obr\u00f3\u0107 urz\u0105dzenie","exit-vr":"Wyjd\u017a z VR","storage-not-provided-launch-from-desktop":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 pulpitu.","disable-measure":"Stop measuring",downloading:"Pobieranie","cardboard-v2":"Je\u015bli masz okulary Cardboard v2, kt\u00f3re maj\u0105 przycisk, mo\u017cesz spojrze\u0107 na hotspot i nacisn\u0105\u0107 przycisk, aby uruchomi\u0107 ich dzia\u0142anie.",
"enable-video-audio-prompt":"W\u0142\u0105czy\u0107 video i d\u017awi\u0119k?",reject:"Odrzuca\u0107",downloaded:"Spacer jest pobierany do odtwarzania w trybie offline.","samsung-internet-vr-app-info":"Je\u015bli masz okulary zgodne z Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, mo\u017cesz je u\u017cy\u0107 do przegl\u0105dania zawarto\u015bci w VR. Musisz w tym przypadku ustawi\u0107 Samsung Internet jako domy\u015bln\u0105 przegl\u0105dark\u0119.","samsung-internet-vr-info":"Je\u015bli masz okulary Gear VR i zainstalowa\u0142e\u015b Samsung Internet for VR, to mo\u017cesz u\u017cy\u0107 ich do przegl\u0105dania zawarto\u015bci w VR. Umie\u015b\u0107 teraz telefon w okularach Gear VR.",
"enable-video-prompt":"W\u0142\u0105czy\u0107 video?","giroscope-disabled-safari-request-permission":["Dost\u0119p do funkcji ruchu i orientacji oraz tryb VR s\u0105 wy\u0142\u0105czone dla tej strony.","Aby poprawnie wy\u015bwietli\u0107 stron\u0119, kliknij kontynuuj i zaakceptuj wszystkie zgody."],"storage-not-provided-launch-from-homescreen":"Aby pobra\u0107, uruchom ponownie spacer klikaj\u0105c ikon\u0119 strony g\u0142\u00f3wnej.","enter-fullscreen":"Uruchom pe\u0142ny ekran","use-cardboard-v2":"U\u017cyj Cardboard v2",
unmute:"Wy\u0142\u0105cz Wycisz","enter-vr":"Wejd\u017a do VR","enable-measure":"Start measuring","use-cardboard-info":"Do wy\u015bwietlania w VR mo\u017cesz u\u017cy\u0107 oklular\u00f3w zgodnych z Google Cardboard.","refresh-downloaded":"Od\u015bwie\u017c","use-default-cardboard":"U\u017cyj Domy\u015blnych","enable-audio-prompt":"W\u0142\u0105czy\u0107 d\u017awi\u0119k?"},"fr-fr":{mute:"Couper le son","cardboard-v1":"Si vous n'\u00eates pas s\u00fbr de la version de votre Cardboard, s\u00e9lectionnez le contr\u00f4le de hotspot par d\u00e9faut. Ensuite, vous n'aurez qu'\u00e0 fixer un hotspot du regard et attendre que l'action se d\u00e9clenche.",
"download-tour":"T\u00e9l\u00e9charger la visite pour jouer hors ligne","change-to-drag-and-release":"Changer le mode de contr\u00f4le en glisser-d\u00e9poser",accept:"Accepter",cancel:"Annuler","storage-not-provided-bookmark":"Stockage persistant refus\u00e9. Essayez de mettre cette page Web en signet et de la recharger.","dont-display-again":"Ne plus afficher ces informations","web-server-required":"Cette visite virtuelle ne peut pas \u00eatre lue \u00e0 partir d'un lecteur local. Veuillez la t\u00e9l\u00e9charger sur Internet et r\u00e9essayer.\nSi vous pr\u00e9f\u00e9rez, faites glisser le fichier htm (ou l'int\u00e9gralit\u00e9 du dossier de la visite) sur l'ic\u00f4ne de l'application TourViewer.",
download:"T\u00e9l\u00e9charger","change-to-click-and-move":"Changer le mode de contr\u00f4le pour cliquer et d\u00e9placer",yes:"Oui","delete-downloaded":"Supprimer","use-safari-for-vr":"Nous recommandons Safari pour visionner cette visite en mode VR","exit-fullscreen":"Quitter le mode plein \u00e9cran",no:"Non","download-failed":"\u00c9chec du t\u00e9l\u00e9chargement","giroscope-disabled-http":"Vous acc\u00e9dez \u00e0 cette page Web via http, donc l'acc\u00e8s au mouvement et \u00e0 l'orientation de votre appareil et le mode VR sont d\u00e9sactiv\u00e9s, veuillez y acc\u00e9der via https pour les activer.",
"cookies-notice":"Cette page Web utilise des cookies pour collecter des statistiques d'utilisation. Pour plus d'informations, veuillez consulter la &lt;a&gt;Politique en mati\u00e8re de cookies&lt;/a&gt;.","use-cardboard":"Utiliser le Cardboard","launch-default-browser":"Lancer dans le navigateur par d\u00e9faut","rotate-device":"Veuillez faire pivoter votre appareil","exit-vr":"Quitter la r\u00e9alit\u00e9 virtuelle","storage-not-provided-launch-from-desktop":"Veuillez relancer la visite \u00e0 partir de l'ic\u00f4ne du bureau pour t\u00e9l\u00e9charger.",
"disable-measure":"Arr\u00eatez de mesurer",downloading:"T\u00e9l\u00e9chargement","cardboard-v2":"Si vous disposez d'un casque Cardboard v2, qui est \u00e9quip\u00e9 d'un bouton, vous pouvez fixer un hotspot du regard et appuyer sur le bouton pour d\u00e9clencher son action.","enable-video-audio-prompt":"Activer la vid\u00e9o et l'audio?",reject:"Rejeter",downloaded:"Cette visite est t\u00e9l\u00e9charg\u00e9e pour jouer hors ligne.","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.",
"samsung-internet-vr-info":"Si vous disposez d'un casque Gear VR compatible avec cet appareil et que vous avez install\u00e9 Samsung Internet pour VR, vous pouvez \u00e9galement l'utiliser pour visualiser ce contenu en r\u00e9alit\u00e9 virtuelle. Il vous suffit de placer maintenant le t\u00e9l\u00e9phone mobile sur le casque.","enable-video-prompt":"Activer la vid\u00e9o?","giroscope-disabled-safari-request-permission":["L'acc\u00e8s au mouvement et \u00e0 l'orientation de votre appareil et le mode VR sont d\u00e9sactiv\u00e9s pour ce site.",
"Pour voir correctement cette page Web, veuillez cliquer sur Continuer et accepter la demande d'autorisation si vous y \u00eates invit\u00e9."],"storage-not-provided-launch-from-homescreen":"Veuillez relancer la visite \u00e0 partir de l'ic\u00f4ne de l'\u00e9cran d'accueil pour t\u00e9l\u00e9charger.","enter-fullscreen":"Passer en mode plein \u00e9cran","use-cardboard-v2":"Utiliser le Cardboard v2",unmute:"R\u00e9tablir le son","enter-vr":"Entrez le contenu VR","enable-measure":"Commencer \u00e0 mesurer",
"use-cardboard-info":"Vous pouvez utiliser n'importe quel casque Google Cardboard compatible pour visualiser ce contenu en r\u00e9alit\u00e9 virtuelle.","refresh-downloaded":"Rafra\u00eechir","use-default-cardboard":"Utiliser par d\u00e9faut","enable-audio-prompt":"Activer le son?"},"de-de":{mute:"Deaktiviere Audio","cardboard-v1":"Wenn Sie sich nicht sicher sind, welche Cardboard-Version Sie verwenden, w\u00e4hlen Sie die Standard-Hotspot-Steuerung. Sie schauen dann einfach auf einen Hotspot und warten, bis die jeweilige Aktion ausgel\u00f6st wird.",
"download-tour":"Tour zum Offline-Abspielen herunterladen","giroscope-disabled-safari-request-permission":["Der Bewegungs- und Orientierungszugriff, sowie VR Modus Ihres Ger\u00e4ts ist f\u00fcr diese Seite deaktiviert.","Um diese Webseite korrekt anzuzeigen, klicken Sie auf Weiter und akzeptieren Sie die Erlaubnisanfrage, wenn Sie dazu aufgefordert werden."],accept:"Akzeptieren",download:"Download",downloading:"Downloading","dont-display-again":"Diese Info nicht mehr anzeigen","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.",
cancel:"Abbrechen","change-to-click-and-move":"\u00c4ndern Sie den Steuerungsmodus, um zu klicken und zu drehen",yes:"ja","delete-downloaded":"L\u00f6schen","use-safari-for-vr":"Wir empfehlen Safari, um diese Tour im VR-Modus zu sehen","exit-fullscreen":"Vollbild verlassen",no:"nein","storage-not-provided-bookmark":"Dauerhafte Speicherung verweigert. Versuchen Sie, diese Seite als Lesezeichen zu speichern und erneut zu laden.","download-failed":"Download fehlgeschlagen","giroscope-disabled-http":"Der Bewegungs- und Ausrichtungsszugriff Ihres Ger\u00e4ts ist f\u00fcr diese Webseite deaktiviert. Greifen Sie bitte \u00fcber https darauf zu.",
"cookies-notice":"Diese Webseite verwendet Cookies, um Nutzungsstatistiken zu sammeln. Weitere Informationen finden Sie in der &lt;a&gt;Cookie-Richtlinie&lt;/a&gt;.","use-cardboard":"Cardboard verwenden","launch-default-browser":"Im Standardbrowser starten","rotate-device":"Bitte drehen Sie Ihr Ger\u00e4t","exit-vr":"VR verlassen",reject:"Ablehnen","disable-measure":"Messung beenden","change-to-drag-and-release":"\u00c4ndern Sie den Steuerungsmodus zu Ziehen und Loslassen","cardboard-v2":"Wenn Sie ein Cardboard v2-Headset haben, das mit einer Taste ausgestattet ist, k\u00f6nnen Sie auf einen Hotspot blicken und die Taste dr\u00fccken, um dessen Aktion auszul\u00f6sen.",
"enable-video-audio-prompt":"Video und Audio aktivieren?","storage-not-provided-launch-from-desktop":"Bitte starten Sie die Tour erneut \u00fcber das Desktop-Symbol, um sie herunterzuladen.",downloaded:"Diese Tour ist zum Offline-Abspielen heruntergeladen.","samsung-internet-vr-app-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR anzusehen. Machen Sie dazu Samsung Internet zu Ihrem Standardbrowser.",
"samsung-internet-vr-info":"Wenn Sie ein Gear VR-Headset haben, das mit diesem Ger\u00e4t kompatibel ist, und Sie Samsung Internet f\u00fcr VR installiert haben, k\u00f6nnen Sie es auch verwenden, um diese Inhalte in VR zu sehen. Setzen Sie dazu nun das Mobiltelefon auf das Headset.","enable-video-prompt":"Video aktivieren?","storage-not-provided-launch-from-homescreen":"Bitte starten Sie die Tour erneut \u00fcber das Symbol auf dem Startbildschirm, um sie herunterzuladen.","enter-fullscreen":"Vollbildmodus aktivieren",
"use-cardboard-v2":"Cardboard v2 verwenden",unmute:"Audio aktivieren","enter-vr":"VR Inhalt eingeben","enable-measure":"Messung beginnen","use-cardboard-info":"Sie k\u00f6nnen jedes kompatible Google Cardboard-Headset verwenden, um diese Inhalte in VR zu sehen.","refresh-downloaded":"Aktualisieren","use-default-cardboard":"Standard verwenden","enable-audio-prompt":"Audio aktivieren?"},"tr-tr":{mute:"Sesi devre d\u0131s\u0131 b\u0131rakmak","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.",
"download-tour":"Download Tour for offline playing","change-to-drag-and-release":"S\u00fcr\u00fckleyip b\u0131rakmak i\u00e7in kontrol modunu de\u011fi\u015ftirin",accept:"Kabul etmek",download:"Download","storage-not-provided-bookmark":"Persistent storage denied. Try bookmarking this webpage and reloading it.","dont-display-again":"Don't display this info again","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.",
cancel:"Cancel","change-to-click-and-move":"T\u0131klamak ve ta\u015f\u0131mak i\u00e7in kontrol modunu de\u011fi\u015ftirin",yes:"evet","delete-downloaded":"Delete","use-safari-for-vr":"We recommend Safari to view this tour in VR mode","exit-fullscreen":"Tam ekrandan \u00e7\u0131k",no:"hay\u0131r","download-failed":"Download failed","giroscope-disabled-http":"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.",
"cookies-notice":"Bu web sayfas\u0131, kullan\u0131m istatistiklerini toplamak i\u00e7in tan\u0131mlama bilgileri kullan\u0131r. Daha fazla bilgi i\u00e7in l\u00fctfen &lt;a&gt;\u00c7erez Politikas\u0131n\u0131&lt;/a&gt; ziyaret edin.","use-cardboard":"Use Cardboard","launch-default-browser":"Launch in default browser","rotate-device":"Please rotate your device","exit-vr":"Exit VR",reject:"Reddet","disable-measure":"Stop measuring",downloading:"Downloading","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.",
"enable-video-audio-prompt":"Ses ve video etkinle\u015ftirilsin mi?","storage-not-provided-launch-from-desktop":"Please relaunch the tour from the desktop icon to download.",downloaded:"This tour is downloaded for offline playing.","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.","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.",
"enable-video-prompt":"Video aktif edilsin mi?","giroscope-disabled-safari-request-permission":["Your device's motion and orientation access and VR mode are disabled for this site.","To properly see this webpage, please click continue and accept the permission request if prompted."],"storage-not-provided-launch-from-homescreen":"Please relaunch the tour from the home screen icon to download.","enter-fullscreen":"Tam ekran yap","use-cardboard-v2":"Use Cardboard v2",unmute:"Sesi etkinle\u015ftir","enter-vr":"Enter VR content",
"enable-measure":"Start measuring","use-cardboard-info":"You can use any compatible Google Cardboard headset to view this content in VR.","refresh-downloaded":"Refresh","use-default-cardboard":"Use Default","enable-audio-prompt":"Ses aktif edilsin mi?"}}});
define("pw",["require","lS","iP","mS"],function(a){function e(d){return m[b][d]||m.en[d]||d}var l=a("lS"),m=a("iP"),k=a("mS"),c;for(c in m)m[c.substr(0,2)]=m[c];m.en["giroscope-disabled-safari-toggle-on"]='&lt;div&gt;Your device\'s motion and orientation access and VR mode are disabled for this site.&lt;/div&gt;\n&lt;div&gt;To properly see this webpage, please enable it:&lt;/div&gt;\n&lt;ul style="display:inline-block; text-align:left;"&gt;\n&lt;li&gt;Access you device\'s settings: "Settings &gt; Safari &gt; Privacy &amp; Security" and toggle on: "Motion &amp; Orientation Access".&lt;/li&gt;\n&lt;li&gt;Refresh the browser.&lt;/li&gt;\n&lt;/ul&gt;';m["zh-hk"]=
m["zh-mo"]=m["zh-tw"];m.no=m.nn;var h=function(){var d=window.navigator,f=["language","browserLanguage","systemLanguage","userLanguage"],n,q,p=[];(n=k.getQueryParameter("language"))&amp;&amp;p.push(n.toLowerCase());var r=d.languages;if(Array.isArray(r))for(n=0;n&lt;r.length;n++)(q=r[n])&amp;&amp;q.length&amp;&amp;(q=q.toLowerCase(),-1==p.indexOf(q)&amp;&amp;p.push(q));for(n=0;n&lt;f.length;n++)(q=d[f[n]])&amp;&amp;q.length&amp;&amp;(q=q.toLowerCase(),-1==p.indexOf(q)&amp;&amp;p.push(q));return p}(),g=Object.keys(m),b=function(){for(var d=0;d&lt;h.length;d++){var f=
h[d];if(0&lt;=g.indexOf(f))return f;f=f.substr(0,2);if(0&lt;=g.indexOf(f))return f}return"en"}();e.log=function(){l.log("translation lang: "+b);l.log("browser lang: "+h.join(", "))};return e});
define("pN",["require"],function(){var a={};a.src=a.peb="data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADengAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcAAAAsJtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAALwABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAAB7HRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAIAAAAAAAAALwAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC8AAAAAAAEAAAAAAWRtZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAIAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEPbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADTc3RibAAAAGdzdHNkAAAAAAAAAAEAAABXbXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAAzZXNkcwAAAAADgICAIgACAASAgIAUQBUAAAAAAfQAAAHz+QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=";return a});
define("el",["require","pN","w"],function(a){function e(q){var p=document.createElement("video");p.setAttribute("webkit-playsinline","true");p.setAttribute("playsinline","true");p.src=h.src;var r=p.play();if(r){var t=!1;r.then(function(){t=!0;p.pause();q(!1)})["catch"](function(){t||q(!0)})}else p.pause(),q(!1)}function l(q){var p=!1,r=document.createElement("video");r.setAttribute("webkit-playsinline","true");r.setAttribute("playsinline","true");r.src="";(r=r.play())?r["catch"](function(t){p="NotAllowedError"!==
t.name}).then(function(){q(!p)}):q(!0)}function m(q){n=q;d=!0;k()}function k(){for(;f.length;)f.shift().call(window,n)}function c(){b||(b=!0,g.browser()==g.Jj&amp;&amp;11&lt;=g.Gka()?m(!0):g.browser()==g.rh?e(m):l(function(q){q?e(m):m(!1)}))}var h=a("pN"),g=a("w"),b=!1,d=!1,f=[],n;return{test:function(q){d||b||c();f.push(q);d&amp;&amp;k()}}});
define("bK",["require","pw","mA","el"],function(a){function e(h,g){this.GF=h;this.op=g;this.kr=this.kr.bind(this);this.lr=!1}function l(){this.kr=this.kr.bind(this);this.Iga=this.Iga.bind(this);this.C="not tested";this.Poa=[];this.Iv=[];this.m_=!1;k.wait(this.Iga)}var m=a("pw"),k=a("mA"),c=a("el");l.prototype.Ubb=function(){"not tested"==this.C&amp;&amp;(this.C="testing",c.test(function(h){this.C=h?"requires action":"allowed";this.gWa()}.bind(this)))};l.prototype.gWa=function(){"allowed"==this.C?this.kr(!0):
this.m_&amp;&amp;(this.m_=!1,this.Iv.forEach(function(h){h.request()}))};l.prototype.mma=function(h){"allowed"==this.C?h.call(this,!0):this.Poa.push(h)};l.prototype.request=function(h){this.Ct(h)};l.prototype.cancel=function(h){this.pD(h)};l.prototype.active=function(){return"allowed"==this.C};l.prototype.uab=function(){"allowed"==this.C&amp;&amp;(this.C="requires action")};l.prototype.Iga=function(){setTimeout(this.sPa.bind(this),300);this.Ts(!0)};l.prototype.sPa=function(){for(;this.Iv.length;)this.Iv.pop().cancel()};
l.prototype.Ct=function(h){"testing"==this.C||"not tested"==this.C?(this.c8(h),this.m_=!0):"requires action"==this.C&amp;&amp;this.c8(h).request()};l.prototype.pD=function(h){"testing"==this.C||"not tested"==this.C?this.m_=!1:"requires action"==this.C&amp;&amp;this.c8(h).cancel()};l.prototype.kr=function(h){var g=this.Iv;this.Iv=[];g.forEach(function(b){h||b.GF.set("mute",!0);b.cancel()});this.Ts(h)};l.prototype.Ts=function(h){this.C="allowed";this.Poa.forEach(function(g){g.call(window,h)})};l.prototype.c8=function(h){for(var g=
null,b=0;b&lt;this.Iv.length&amp;&amp;!g;b++)this.Iv[b].GF==h&amp;&amp;(g=this.Iv[b]);g||(g=new e(h,this.kr),this.Iv.push(g));return g};e.prototype.request=function(){this.lr||(this.lr=!0,"button"==this.GF.get("mediaActivationMode")?this.GF.CK.H9a(this.kr):this.GF.jJ.show(m("enable-audio-prompt"),this.kr))};e.prototype.cancel=function(){this.GF.CK.K3a(this.kr);this.GF.jJ.hide(this.kr)};e.prototype.kr=function(h){this.op(!1!==h);this.lr=!1};return new l});
define("go",["require","py","nf","bK","hB"],function(a){var e=a("py"),l=a("nf"),m=a("bK"),k=a("hB");if(!l.pma||!1==="AudioContext"in window)return null;var c=new AudioContext;m.mma(function(){"running"!==c.state&amp;&amp;c.resume()});k.bind(e.ba,function(){k.visible&amp;&amp;"interrupted"==c.state&amp;&amp;c.resume()});return c});
define("er","require go py w mS nf hB".split(" "),function(a){function e(g){this.Li=this.Li.bind(this);this.rt=this.rt.bind(this);this.bf=!1;this.Cr=this.MX=1;this.ZX=!0;this.Xz=this.aI=null;this.U=g;this.U.addEventListener("play",this.Li,!0);this.U.addEventListener("playing",this.rt,!0);this.Hya();this.wF()}var l=a("go");a("py");var m=a("w"),k=a("mS"),c=a("nf");a("hB");var h;e.prototype.clear=function(){this.U&amp;&amp;(this.m0a(),this.U.removeEventListener("play",this.Li,!0),this.U.removeEventListener("playing",
this.rt,!0),this.U=null)};e.prototype.Hya=function(){c.pma&amp;&amp;m.browser()==m.rh&amp;&amp;m.sc()!=m.IM&amp;&amp;l&amp;&amp;!this.aI&amp;&amp;this.$z()&amp;&amp;(h||(h=l.createDelay(),h.delayTime.value=.3,h.connect(l.destination)),this.aI=l.createMediaElementSource(this.U),this.Xz=l.createGain(),this.aI.connect(this.Xz),this.Xz.connect(h))};e.prototype.m0a=function(){this.aI&amp;&amp;(this.aI.disconnect(),this.aI=null);this.Xz&amp;&amp;(this.Xz.disconnect(),this.Xz=null)};e.prototype.B$a=function(g){this.ZX!=g&amp;&amp;(this.U.log("AudioController","set hasAudio: "+
g),this.ZX=g,this.wF())};e.prototype.Tf=function(g){this.bf!=g&amp;&amp;(this.U.log("AudioController","set muted: "+g),this.bf=g,this.wF())};e.prototype.Hy=function(g){this.Cr!=g&amp;&amp;(this.U.log("AudioController","set volume: "+g),this.Cr=g,this.wF())};e.prototype.wU=function(g){this.MX!=g&amp;&amp;(this.U.log("AudioController","set gain: "+g),this.MX=Math.max(0,Math.min(1,g)),this.wF())};e.prototype.Li=function(){this.wF()};e.prototype.rt=function(){this.wF()};e.prototype.wF=function(){this.U.log("AudioController",
"updateVolume paused: "+this.U.paused+" outputVolume: "+(!this.ZX||this.bf?0:this.Cr*this.MX));var g=!this.ZX||this.bf?0:this.Cr*this.MX;0&lt;g&amp;&amp;1&gt;g&amp;&amp;this.Hya();this.Xz?(this.Xz.gain.value=g,this.U.volume=1):this.U.volume=g;this.U.muted=0==g};e.prototype.$z=function(){var g=this.U.currentSrc||this.U.children.length&amp;&amp;this.U.children[0].src||"";k.wB(g)&amp;&amp;(g=void 0);return g};return e});define("iq",["require"],function(){return{oo:"video",aLa:"audio"}});
define("nN","require lS py lu ix cI gE w mS bA hB".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("ix"),c=a("cI"),h=a("gE"),g=a("w"),b=a("mS"),d=a("bA"),f=a("hB"),n=e.extend(h,function(q){h.call(this);this.U=q;this.vE=this.vE.bind(this);this.Kw=this.Kw.bind(this);this.gm=this.gm.bind(this);this.zE=this.zE.bind(this);this.dk=this.dk.bind(this);this.im=this.im.bind(this);this.Li=this.Li.bind(this);this.rt=this.rt.bind(this);this.TR=this.TR.bind(this);this.U.addEventListener("ended",this.gm,
!0);this.U.addEventListener("pause",this.im,!1);this.U.addEventListener("stalled",this.im,!1);this.U.addEventListener("waiting",this.im,!1);this.U.addEventListener("canplay",this.vE,!0);this.U.addEventListener("canplaythrough",this.Kw,!1);this.U.addEventListener("loadedmetadata",this.dk,!0);this.U.addEventListener("play",this.Li,!1);this.U.addEventListener("playing",this.rt,!1);this.U.addEventListener("error",this.zE,!1);this.l$=!1;this.C=m.V;this.IJ=this.si=null;f.bind(l.ba,this.D2a,this)});n.prototype.clear=
function(){this.U&amp;&amp;(this.U.removeEventListener("ended",this.gm,!0),this.U.removeEventListener("pause",this.im,!1),this.U.removeEventListener("stalled",this.im,!1),this.U.removeEventListener("waiting",this.im,!1),this.U.removeEventListener("canplay",this.vE,!0),this.U.removeEventListener("canplaythrough",this.Kw,!1),this.U.removeEventListener("loadedmetadata",this.dk,!0),this.U.removeEventListener("play",this.Li,!1),this.U.removeEventListener("error",this.zE,!1),this.U=null)};n.prototype.play=function(){this.U.log("PlaybackController",
"play");this.IJ=m.PLAYING;this.FQ()};n.prototype.stop=function(){this.U.log("PlaybackController","stop");this.IJ=m.V;this.FQ()};n.prototype.getState=function(){return this.si||this.C};n.prototype.dG=function(){return this.U.readyState==this.U.HAVE_NOTHING||this.U.readyState==this.U.HAVE_METADATA||0===this.U.currentTime?!1:!0};n.prototype.FQ=function(){!this.si&amp;&amp;this.IJ&amp;&amp;(this.si=this.IJ,this.IJ=null,this.si==m.PLAYING?this.ifa():this.hfa())};n.prototype.D2a=function(){if(f.visible)this.U.log("PlaybackController",
"visibile changed to true, setting state to "+this.C),this.si=this.C,this.si==m.PLAYING?this.ifa():this.hfa();else if(!this.U.paused){this.U.log("PlaybackController","paused by visibile changed to false");var q=this.U.pause();q&amp;&amp;q["catch"](this.zE)}};n.prototype.$z=function(){return this.U.currentSrc||this.U.children.length&amp;&amp;this.U.children[0].src||""};n.prototype.ifa=function(){var q=this.$z();this.j0(q&amp;&amp;!b.wB(q));this.pW=g.browser()==g.rh;this.U.paused?(this.U.log("PlaybackController","startPlaying calling play"),
this.U.muted=!0,this.U.log("PlaybackController","this._media.play()"),(q=this.U.play())&amp;&amp;q["catch"](this.zE)):(this.U.log("PlaybackController","startPlaying already playing"),this.Li())};n.prototype.rt=function(){this.U.log("PlaybackController","onPlaying event received. Visible: "+f.visible)};n.prototype.Li=function(){this.si==m.PLAYING?(this.U.log("PlaybackController","onPlay event received when waiting to play"),this.si=null,this.C=m.PLAYING,this.trigger(new c(n.O6)),this.FQ()):this.U.log("PlaybackController",
"onPlay event received. Visible: "+f.visible)};n.prototype.hfa=function(){this.j0(!1);this.pW=!1;if(this.U.paused)this.U.log("PlaybackController","startPausing already paused"),this.im();else{this.U.log("PlaybackController","startPausing calling pause");var q=this.U.pause();q&amp;&amp;q["catch"](this.zE)}};n.prototype.im=function(){this.si==m.V?(this.U.log("PlaybackController","onPause event received when waiting to stop"),this.si=null,this.C=m.V,this.FQ()):f.visible?(this.U.log("PlaybackController","onPause event received without calling to pause"),
(this.C==m.PLAYING&amp;&amp;!this.si||this.si==m.PLAYING)&amp;&amp;!this.U.hasAttribute("loop")&amp;&amp;!isNaN(this.U.duration)&amp;&amp;this.U.currentTime==this.U.duration&amp;&amp;0&lt;this.U.duration&amp;&amp;this.gm(),this.TR()):this.U.log("PlaybackController","onPause event received when not visible")};n.prototype.vE=function(){this.U.log("PlaybackController","on can play");this.TR()};n.prototype.Kw=function(){this.U.log("PlaybackController","can play through");this.TR();this.j0(!1)};n.prototype.TR=function(){if(this.Kya()){if(this.pW&amp;&amp;0==this.U.currentTime){this.U.log("PlaybackController",
"updatePlaying applying ios hack");this.pW=!1;try{this.U.currentTime=.3}catch(q){}}g.browser()!=g.nH&amp;&amp;this.Hxa()}};n.prototype.Kya=function(){return this.C==m.PLAYING&amp;&amp;f.visible&amp;&amp;this.U.paused&amp;&amp;3&lt;=this.U.readyState};n.prototype.Hxa=function(q){this.Ixa||(q?this.Kya()&amp;&amp;(this.U.log("PlaybackController","updatePlaying retrying play"),this.si=m.PLAYING,this.ifa()):this.Ixa=setTimeout(function(){this.Ixa=null;this.Hxa(!0)}.bind(this),500))};n.prototype.zE=function(){this.si==m.PLAYING&amp;&amp;(this.U.log("PlaybackController",
"onError waiting to play"),this.si=null,this.IJ?this.FQ():g.browser()==g.rh?this.trigger(new c(n.s6)):this.si=m.PLAYING)};n.prototype.dk=function(){this.U.log("PlaybackController","on loaded metadata");!isNaN(this.U.duration)&amp;&amp;this.U.currentTime==this.U.duration&amp;&amp;0&lt;this.U.duration&amp;&amp;this.gm()};n.prototype.gm=function(){this.U.log("PlaybackController","onEnded");this.pW=!1;if(this.C==m.PLAYING&amp;&amp;!this.si||this.si==m.V)this.U.log("PlaybackController","onEnded finalizing video"),this.j0(!1),this.si=m.V,
this.hfa(),this.trigger(new c(n.vk))};n.prototype.j0=function(q){this.l$!=q&amp;&amp;(this.U.log("PlaybackController","downloading changed to: "+q),(this.l$=q)?d.Abb(k.Xma):d.zbb(k.Xma))};n.s6="deactivated";n.vk="end";n.O6="play";return n});
define("C",["require","lS","py","cI","gE"],function(a){var e=a("lS"),l=a("py");a("cI");var m=a("gE");a=e.extend(m,function(k){m.call(this);this.dk=this.dk.bind(this);this.yca=this.yca.bind(this);this.Ji=this.Ji.bind(this);this.U=k;this.cl=null;this.Ne=[];this.U.addEventListener("loadedmetadata",this.dk,!0);this.U.textTracks.addEventListener("addtrack",this.yca,!1)});a.prototype.set=function(k){k&amp;&amp;this.UNa(k)};a.prototype.clear=function(){this.zYa()};a.prototype.VS=function(){var k=this.cl&amp;&amp;this.cl.track.activeCues;
k&amp;&amp;(k=Array.prototype.slice.call(k,0));return k||[]};a.prototype.dk=function(){this.BAa()};a.prototype.yca=function(){this.BAa()};a.prototype.Ji=function(){this.$xa(this.cl.track.activeCues)};a.prototype.$xa=function(k){k||(k=[]);if(0!=this.Ne.length||0!=k.length)this.Ne=Array.prototype.slice.call(k),this.trigger(l.uk,this.Ne)};a.prototype.UNa=function(k){this.U.log("TextTracksController","add text track src: "+k);this.cl=document.createElement("track");this.cl.kind="subtitles";this.cl.src=k;this.U.appendChild(this.cl)};
a.prototype.zYa=function(){this.cl&amp;&amp;(this.U.log("TextTracksController","remove text track"),this.cl.track.removeEventListener("cuechange",this.Ji),this.cl.track.mode="disabled",this.cl.src="",this.U.removeChild(this.cl),this.cl=null,this.$xa([]))};a.prototype.BAa=function(){for(var k=0;k&lt;this.U.textTracks.length;k++){var c=this.U.textTracks[k];c.removeEventListener("cuechange",this.Ji);c.mode=this.cl&amp;&amp;c==this.cl.track?"hidden":"disabled";"hidden"==c.mode&amp;&amp;c.addEventListener("cuechange",this.Ji)}};
return a});
define("iE",["require","exports","mS"],function(a,e,l){return function(){function m(){}m.is=function(k,c){k=l.parse(k).S4a;return-1!=c.indexOf(k)};m.wB=function(k,c){return!!k&amp;&amp;c.some(function(h){return 0===k.indexOf(h)})};m.xna=[".mp4",".m4v",".m4p"];m.QLa=[".hevc"];m.dna=[".mov"];m.aNa=[".webm"];m.nMa=[".ogv",".ogg"];m.HLS=[".m3u8"];m.Mma=[".ply",".bin",".splat"];m.dNa=[".json"];m.TLa=".jpg .jpeg .png .webp .gif .avif .apng .bmp".split(" ");m.oo=".m3u8 .mpd .mp4 .m4v .m4p .webm .ogv .ogg .mpg .mpeg .m3u8 .mpd".split(" ");m.ULa=
["data:image/"];return m}()});
define("eK","require lS py cI gE w iE".split(" "),function(a){var e=a("lS");a("py");var l=a("cI"),m=a("gE"),k=a("w"),c=a("iE"),h=e.extend(m,function(g){m.call(this);this.U=g;this.Kw=this.Kw.bind(this);this.im=this.im.bind(this);this.Li=this.Li.bind(this);this.dk=this.dk.bind(this);this.gm=this.gm.bind(this);this.TZ=this.TZ.bind(this);this.lf=this.lf.bind(this);this.Rba=this.pJ=this.mF=void 0;this.Bfa=0;this.U.addEventListener("ended",this.gm,!0);this.U.addEventListener("pause",this.im,!1);this.U.addEventListener("canplaythrough",
this.Kw,!1);this.U.addEventListener("timeupdate",this.TZ,!1);this.U.addEventListener("play",this.Li,!1);this.U.addEventListener("playing",this.rt,!1)});h.prototype.clear=function(){this.U&amp;&amp;(this.U.removeEventListener("ended",this.gm,!0),this.U.removeEventListener("pause",this.im,!1),this.U.removeEventListener("canplaythrough",this.Kw,!1),this.U.removeEventListener("timeupdate",this.TZ,!1),this.U.removeEventListener("play",this.Li,!1),this.U.removeEventListener("playing",this.rt,!1),this.U=null,this.mF&amp;&amp;
clearInterval(this.mF))};h.prototype.setTime=function(g){if(!this.U.srcObject){this.Bfa=0;this.JY=void 0;this.U.log("TimeController","setTime: "+g);k.MBa()&amp;&amp;!c.is(this.$z(),c.HLS)?this.sN=g||0:this.sN=void 0;try{this.U.currentTime=g}catch(b){}k.browser()==k.Ty||k.browser()==k.nH||k.sc()==k.LM&amp;&amp;0==g||(this.pJ=g,this.aAa())}};h.prototype.getTime=function(){return this.pJ||this.U.currentTime||0};h.prototype.ui=function(){return this.U.duration||0};h.prototype.Li=function(){this.Qea(!0)};h.prototype.im=
function(){this.Qea(!1);this.JY=void 0};h.prototype.Kw=function(){this.U.log("TimeController","on can play through");this.aAa()};h.prototype.gm=function(){this.sN=void 0;this.Qea(!1)};h.prototype.dk=function(){this.trigger(new l(h.ej))};h.prototype.aAa=function(){if(this.U.readyState&gt;=this.U.HAVE_ENOUGH_DATA&amp;&amp;void 0!==this.pJ){this.U.log("TimeController","updateCurrentTime when can play through set time to: "+this.pJ);try{this.U.currentTime=this.pJ}catch(g){}this.pJ=void 0}};h.prototype.lf=function(){this.trigger(new l(h.Uf))};
h.prototype.TZ=function(){if(k.MBa()&amp;&amp;!k.O6a()&amp;&amp;!this.U.paused&amp;&amp;this.U.readyState&gt;=this.U.HAVE_ENOUGH_DATA){var g=(new Date).getTime();this.JY||(this.JY=g);this.Rba&amp;&amp;500&lt;g-this.Rba&amp;&amp;(this.Bfa++,.4&lt;this.Bfa/(.001*(g-this.JY))&amp;&amp;k.Aab());this.Rba=g}if(void 0!==this.sN&amp;&amp;this.U.currentTime&gt;this.sN){this.sN=void 0;try{this.U.currentTime-=.01}catch(b){}}this.lf()};h.prototype.Qea=function(g){!!this.mF!=g&amp;&amp;(this.mF?(clearInterval(this.mF),this.mF=null):this.mF=setInterval(this.lf,16))};h.prototype.$z=function(){return this.U.currentSrc||
this.U.children.length&amp;&amp;this.U.children[0].src||""};h.Uf="time update";h.ej="duration update";return h});
define("mn","require jquery.mod lS go w nf mS".split(" "),function(a){function e(){}a("jquery.mod");var l=a("lS"),m=a("go"),k=a("w"),c=a("nf");a=a("mS");e.Xga=!1;e.Xab=function(){e.Xga=!0};e.oUa=function(){window.MediaSource=window.MediaSource||window.Adb;return window.MediaSource&amp;&amp;"function"===typeof window.MediaSource.isTypeSupported&amp;&amp;window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')};e.yUa=function(){if(k.browser()==k.rh){var b=k.Via();if(10&lt;=b&amp;&amp;11&gt;b||11.3&lt;=b)return!0}return!1};
e.pUa=function(){return k.browser()==k.Jj||k.browser()==k.rh?!0:!1};var h;e.PBa=function(b){try{return h||(h=document.createElement("audio")),!!h.canPlayType(b).replace(/^no$/,"")}catch(d){}return!1};var g;e.WK=function(b){try{return g||(g=document.createElement("video"),g.setAttribute("webkit-playsinline","true"),g.setAttribute("playsinline","true")),!!g.canPlayType(b).replace(/^no$/,"")}catch(d){}return!1};e.C3a=function(){return k.browser()==k.rh?15&lt;=k.Via()||m?!0:!1:!0};e.qUa=function(){try{if(document.createElement("canvas").getContext("webgl"))return!0}catch(b){}try{if(document.createElement("canvas").getContext("experimental-webgl"))return!0}catch(b){}return!1};
e.RJa=function(b,d,f,n){if(c.WMa)return!0;if(k.ud()==k.yi)if(!f||30&lt;f){if(3168&gt;=b&amp;&amp;1584&gt;=d)return!0}else{if(4096&gt;=b&amp;&amp;2048&gt;=d)return!0}else if((k.GL()||k.jG())&amp;&amp;!k.xB())if("h264"==n){if(4400&gt;=b&amp;&amp;4400&gt;=d||6200&gt;=b&amp;&amp;3100&gt;=d)return!0}else{if(5760&gt;=b&amp;&amp;5760&gt;=d||8192&gt;=b&amp;&amp;4096&gt;=d)return!0}else if((k.GL()||k.jG())&amp;&amp;k.dja()){if("h264"==n&amp;&amp;(5760&gt;=b&amp;&amp;5760&gt;=d||7680&gt;=b&amp;&amp;3840&gt;=d)||3840&gt;=b&amp;&amp;2160&gt;=d)return!0}else if(k.CT())if("h264"==n){if(5760&gt;=b&amp;&amp;5760&gt;=d||7680&gt;=b&amp;&amp;3840&gt;=d)return!0}else{if(4400&gt;=b&amp;&amp;2200&gt;=d)return!0}else if(k.qb()){if(3840&gt;=
b&amp;&amp;2160&gt;=d)return!0}else if(4096&gt;=b&amp;&amp;2048&gt;=d)return!0;return!1};e.E3a=function(){return k.CT()||(k.GL()||k.jG())&amp;&amp;k.sc()==k.Vu||!k.qb()&amp;&amp;e.Xga&amp;&amp;k.browser()==k.io?!0:!1};e.QJa=function(b){return e.RJa(b.get("width"),b.get("height"),b.get("framerate"),b.get("codec"))};e.D3a=function(){return e.Xga?!0:!1};e.hHa=!c.KLa&amp;&amp;c.JLa?1:2;e.F3a=function(){return void 0!==c.Lma?c.Lma:k.jG()||k.CT()||k.D7a()||k.E7a()||k.PEa()||k.GL()&amp;&amp;!k.xB()||!k.Sf()&amp;&amp;k.ud()!=k.Su&amp;&amp;k.ud()!=k.yi?!0:!1};e.Pbb=function(b,d){return e.RJa(b,
d,30)};e.log=function(){l.log("webgl: "+e.xs);l.log("html5 audio: "+e.vEa);l.log("html5 video: "+e.yEa)};e.g0a=function(){return["webgl:"+e.xs,"html5audio:"+e.vEa,"html5video:"+e.yEa].join(" ")};e.xEa=e.PBa('audio/ogg; codecs="vorbis"');e.wEa=e.PBa("audio/mpeg");e.vEa=e.xEa||e.wEa;e.Tia=e.WK('video/ogg; codecs="theora"');e.WK('video/mp4; codecs="avc1.42E01E"');e.Uia=e.WK('video/webm; codecs="vp8, vorbis"');e.Y6a=e.WK('video/mp4; codecs="hev1"');e.l3=e.WK("video/mp4");e.Z6a=e.WK("video/quicktime");
e.$6a=e.yUa();e.iEa=e.pUa();e.G6a=e.iEa||e.l3&amp;&amp;e.oUa();e.yEa=e.Tia||e.l3||e.Uia;e.xs=e.qUa();a.Dj("debug")&amp;&amp;a.Dj("capabilities")&amp;&amp;e.log();e.summary=e.g0a();return e});
define("cF",["require","exports","mS"],function(a,e,l){e=function(){function k(){this.J3=null;this.Z1=[]}k.prototype.initialize=function(c){this.J3=l.Jy(c);this.iV=this.iV.bind(this);this.update()};k.prototype.load=function(c,h){this.Z1.push({call:c,context:h||window});this.ML||(this.ML=this.E2());this.update()};k.prototype.Lh=function(){return void 0!==this.ML};k.prototype.update=function(){0&lt;this.Z1.length&amp;&amp;(void 0!==this.ML?this.F4a():this.J3&amp;&amp;this.rja())};k.prototype.iV=function(){var c=this.E2();
void 0===c?setTimeout(this.iV,250):(this.ML=c,this.update())};k.prototype.rja=function(){throw Error("Method not implemented.");};k.prototype.E2=function(){throw Error("Method not implemented.");};k.prototype.F4a=function(){for(;0&lt;this.Z1.length;){var c=this.Z1.pop();c.call.call(c.context,this.ML)}};return k}();a=function(k){function c(h){var g=k.call(this)||this;g.bFa=h;return g}Z(c,k);c.prototype.rja=function(){this.O4||(this.O4=document.createElement("script"),this.O4.type="text/javascript",this.O4.src=
this.J3,document.getElementsByTagName("head")[0].appendChild(this.O4),this.iV())};c.prototype.E2=function(){for(var h=window,g=0;g&lt;this.bFa.length&amp;&amp;void 0!==h;g++)h=h[this.bFa[g]];return h};return c}(e);e=function(k){function c(h){var g=k.call(this)||this;g.namespace=h;return g}Z(c,k);c.prototype.rja=function(){this.module||(c.i7a(),this.module=document.createElement("script"),this.module.type="module",this.module.textContent=['import * as all from "'+this.J3+'";',"window."+this.namespace.join(".")+
" = all;"].join("\n"),document.getElementsByTagName("head")[0].appendChild(this.module),this.iV())};c.prototype.E2=function(){for(var h=window,g=0;g&lt;this.namespace.length&amp;&amp;void 0!==h;g++)h=h[this.namespace[g]];return h};c.i7a=function(){this.n3||(this.n3=document.createElement("script"),this.n3.type="importmap",this.n3.textContent=['{\n"imports":\n{','"three": "'+this.u4a()+'"',"}\n}"].join("\n"),document.getElementsByTagName("head")[0].appendChild(this.n3))};c.u4a=function(){var h=[];h.push("const three = window.THREE;");
for(var g in window.THREE)h.push("export const "+g+" = three."+g+";");return window.URL.createObjectURL(new Blob([h.join("\n")],{type:"application/javascript"}))};return c}(e);var m={};m.GS=new e(["TDV","GS"]);m.bNa=new a(["WebVRConfig","FORCE_ENABLE_VR"]);m.hoa=new a(["WebXRPolyfill"]);m.HLS=new a(["Hls"]);m.initialize=function(k){this.HLS.initialize(k.get(TDV.PlayerSettings.HLS_URL));this.bNa.initialize(k.get(TDV.PlayerSettings.WEBVR_POLYFILL_URL));this.hoa.initialize(k.get(TDV.PlayerSettings.WEBXR_POLYFILL_URL));
this.GS.initialize(k.get(TDV.PlayerSettings.GS_URL))};return m});
define("fk",["require"],function(){var a={GFa:"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU2LjM2LjEwMAAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAAEAAABIADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV6urq6urq6urq6urq6urq6urq6urq6urq6v////////////////////////////////8AAAAATGF2YzU2LjQxAAAAAAAAAAAAAAAAJAAAAAAAAAAAASDs90hvAAAAAAAAAAAAAAAAAAAA//MUZAAAAAGkAAAAAAAAA0gAAAAATEFN//MUZAMAAAGkAAAAAAAAA0gAAAAARTMu//MUZAYAAAGkAAAAAAAAA0gAAAAAOTku//MUZAkAAAGkAAAAAAAAA0gAAAAANVVV"};a.src=
a.GFa;return a});
define("dO","require lS py cI gE mn mS nf iE cF fk".split(" "),function(a){function e(q,p,r){this.src=q||"";this.wl=p||"";this.startTime=r||0}var l=a("lS"),m=a("py"),k=a("cI"),c=a("gE"),h=a("mn"),g=a("mS"),b=a("nf"),d=a("iE"),f=a("cF"),n=a("fk");a=l.extend(c,function(q,p){c.call(this);this.U=q;this.Qn=p;this.$ba=!1;this.A0=[];this.wf=this.Ce=this.zI=null});a.prototype.set=function(q,p,r){this.U.log("SrcSetter","set: "+q+" subtitles: "+p+" startTime: "+r);q=new e(q,p,r);this.Ce&amp;&amp;this.Ce.isEqual(q)||(!this.Ce&amp;&amp;
this.zI&amp;&amp;this.zI.isEqual(q)?this.c1():(this.Ce=q,this.zVa()))};a.prototype.clear=function(){this.wf&amp;&amp;(this.wf.destroy(),this.wf=null);this.zI=null;this.yYa();this.Qn.clear()};a.prototype.L6a=function(){return!!this.Ce};a.prototype.zVa=function(){this.$ba=!0;this.Dxa(this.Ce.src)&amp;&amp;!f.HLS.Lh()?(this.U.log("SrcSetter","hls lib required"),f.HLS.load(this.Dta,this)):this.Dta()};a.prototype.Dta=function(){this.$ba&amp;&amp;(this.$ba=!1,this.zOa())};a.prototype.zOa=function(){this.clear();this.AZa(this.CYa(this.Ce.src));
this.Dxa(this.Ce.src)?this.nOa():this.vba(this.Ce.src)?this.AOa():this.BOa()};a.prototype.nOa=function(){var q=f.HLS.ML,p=1048576*(navigator.connection?Math.max(navigator.connection.downlink,2):2),r=.66*p;this.wf=new q({debug:b.av,startPosition:0===this.Ce.startTime?-1:this.Ce.startTime,playlistLoadPolicy:{"default":{maxTimeToFirstByteMs:6E4,maxLoadTimeMs:6E4}},startLevel:-1,maxMaxBufferLength:12,autoStartLoad:!1,abrEwmaDefaultEstimate:p});this.wf.loadSource(this.Ce.src);this.wf.attachMedia(this.U);
var t=function(){this.wf.off(q.Events.MANIFEST_PARSED,t);var u=this.wf.levels.filter(function(w){return w.bitrate&lt;=p});if(u.length){u.sort(function(w,x){return x.width-w.width});var v=this.wf.levels.indexOf(u[0]);this.wf.startLevel=v}u=this.wf.levels.filter(function(w){return w.bitrate&lt;=r});u.length&amp;&amp;(u.sort(function(w,x){return x.width-w.width}),this.wf.config.minAutoBitrate=u[0].bitrate-1);u=this.wf.levels.filter(function(w){return h.Pbb(w.width,w.height)});b.SLa&amp;&amp;(u.sort(function(w,x){return x.width-
w.width}),v=this.wf.levels.indexOf(u[0]),this.wf.startLevel=v);u.length&amp;&amp;u.length&lt;this.wf.levels.length&amp;&amp;(u.sort(function(w,x){return x.width-w.width}),this.wf.autoLevelCapping=this.wf.levels.indexOf(u[0]));this.U.log("SrcSetter","bandwidth: "+p+" lowBandwidth: "+r);this.U.log("SrcSetter","levels: "+this.wf.levels);this.U.log("SrcSetter","startLevel: "+this.wf.levels[this.wf.startLevel]);this.U.log("SrcSetter","minLevel: "+this.wf.levels[this.wf.minAutoLevel]);this.wf.startLoad(0===this.Ce.startTime?
-1:this.Ce.startTime);0!=this.Ce.startTime&amp;&amp;this.It(this.Ce.startTime);this.Ce.wl&amp;&amp;this.Qn.set(this.Ce.wl);this.zI=this.Ce;this.Ce=null;this.c1()}.bind(this);this.wf.on(q.Events.MANIFEST_PARSED,t);this.wf.on(q.Events.$cb,function(u,v){v.fatal&amp;&amp;v.type==q.ErrorTypes.edb&amp;&amp;this.wf.recoverMediaError()}.bind(this))};a.prototype.BOa=function(){this.Ce.src?this.Zoa(this.Ce.src):this.Zoa(n.GFa,"audio/mpeg");this.Ce.wl&amp;&amp;this.Qn.set(this.Ce.wl);this.U.load();0!=this.Ce.startTime&amp;&amp;this.It(this.Ce.startTime);
this.zI=this.Ce;this.Ce=null;this.c1()};a.prototype.AOa=function(){this.U.srcObject=this.Ce.src;this.zI=this.Ce;this.Ce=null;this.c1()};a.prototype.c1=function(){this.U.log("SrcSetter","src ready");this.trigger(new k(m.hd))};a.prototype.Dxa=function(q){return!!q&amp;&amp;!this.vba(q)&amp;&amp;d.is(q,d.HLS)&amp;&amp;!h.iEa};a.prototype.CYa=function(q){return!!q&amp;&amp;!this.vba(q)&amp;&amp;g.bja(q)};a.prototype.AZa=function(q){q&amp;&amp;!this.U.hasAttribute("crossorigin")?this.U.setAttribute("crossorigin","anonymous"):!q&amp;&amp;this.U.hasAttribute("crossorigin")&amp;&amp;
this.U.removeAttribute("crossorigin")};a.prototype.vba=function(q){return q instanceof MediaStream};a.prototype.It=function(q){try{this.U.currentTime=q}catch(p){}};a.prototype.Zoa=function(q,p){var r=document.createElement("source");p||(p=this.iUa(q));p&amp;&amp;(r.type=p);g.wB(q)||(q=g.hB(q,"swbypass=true"));r.src=q;this.U.appendChild(r);this.A0.push(r)};a.prototype.yYa=function(){for(;this.A0&amp;&amp;this.A0.length;){var q=this.A0.shift();q.src="";this.U.removeChild(q)}this.U.srcObject=null};a.prototype.iUa=function(q){switch(g.getExtension(q).toLowerCase()){case ".mp3":return"audio/mpeg";
case ".ogg":return"audio/ogg";case ".m4v":case ".mp4":return"video/mp4";case ".webm":return"video/webm";case ".ogv":return"video/ogg";case ".m3u8":return"application/x-mpegURL";case ".mov":return"video/quicktime"}};e.prototype.isEqual=function(q){return this.src==q.src&amp;&amp;this.wl==q.wl};return a});
define("oO","require lS py cI gE w nf e bK mA er iq nN C eK dO".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("w"),h=a("nf"),g=a("e"),b=a("bK"),d=a("mA"),f=a("er"),n=a("iq"),q=a("nN"),p=a("C"),r=a("eK"),t=a("dO"),u=0,v=e.extend(k,function(w,x){k.call(this);this.pf=w;this.G2a=x;this.dk=this.dk.bind(this);this.Ts=this.Ts.bind(this);this.Tca=this.Tca.bind(this);this.dr=this.xI=null;this.n_=void 0;this.rc=this.mb=null;this.Ym="inactive";this.hp=this.Ma=this.Yd=this.yx=this.Qn=
null;this.bf=!1;this.Iya(document.createElement(this.pf));x&amp;&amp;d.wait(this.Ts)});v.prototype.Iya=function(w){this.mza();this.rc=w;for(this.rc.parentNode&amp;&amp;this.rc.parentNode.removeChild(this.rc);this.rc.children.length;)this.rc.removeChild(this.rc.children[0]);this.v_a();this.rc.autoplay=!1;this.rc.autobuffer="autobuffer";this.rc.preload=c.browser()==c.rh?"metadata":"none";this.rc.setAttribute("preload",c.browser()==c.rh?"metadata":"none");this.rc.setAttribute("webkit-playsinline","true");this.rc.setAttribute("playsinline",
"true");this.rc.addEventListener("loadedmetadata",this.dk,!0);this.Qn=new p(this.rc);this.Qn.bind(l.uk,this.Ji,this,!0);this.yx=new t(this.rc,this.Qn);this.yx.bind(l.hd,this.rwa,this,!0);this.Yd=new f(this.rc);this.Ma=new q(this.rc);this.Ma.bind(q.s6,this.Sua,this,!0);this.Ma.bind(q.vk,this.gm,this,!0);this.Ma.bind(q.O6,this.Li,this,!0);this.hp=new r(this.rc);this.hp.bind(r.Uf,this.lf,this,!0);this.hp.bind(r.ej,this.Dn,this,!0)};v.prototype.v_a=function(){if(h.av){var w="["+this.pf+" "+u++ +"]";this.rc.log=
function(x,y){console.log(w+"["+(new Date).toISOString().split("T")[1]+"] "+x+" "+y)}}else this.rc.log=function(){}};v.prototype.mza=function(){this.rc&amp;&amp;(this.rc.removeEventListener("loadedmetadata",this.dk,!0),this.yx&amp;&amp;(this.yx.unbind(l.hd,this.rwa,this,!0),this.yx.clear(),this.yx=null),this.Qn&amp;&amp;(this.Qn.unbind(l.uk,this.Ji,this,!0),this.Qn.clear(),this.Qn=null),this.Yd&amp;&amp;(this.Yd.clear(),this.Yd=null),this.Ma&amp;&amp;(this.Ma.unbind(q.s6,this.Sua,this,!0),this.Ma.unbind(q.vk,this.gm,this,!0),this.Ma.unbind(q.O6,
this.Li,this,!0),this.Ma.clear(),this.Ma=null),this.hp&amp;&amp;(this.hp.unbind(r.Uf,this.lf,this,!0),this.hp.unbind(r.ej,this.Dn,this,!0),this.hp.clear(),this.hp=null),this.rc=null)};v.prototype.clear=function(){this.mza()};v.prototype.bL=function(w,x,y){if(this.Fm()&amp;&amp;this.dG())try{return w.drawImage(this.rc,0,0,x,y),!0}catch(z){}w.fillRect(0,0,x,y);return!1};v.prototype.play=function(w,x,y){this.rc.log("HTMLMediaPlayer","play src: "+x.src+" subtitlesSrc: "+x.wl+" hasAudio: "+x.vB+" gain: "+x.gain);this.mb=
w;this.xI=null;this.dr=x.clone();this.n_=y||0;this.gOa()};v.prototype.w3=function(){return"activated"==this.Ym};v.prototype.P5=function(){return this.G2a};v.prototype.stop=function(){this.rc.log("HTMLMediaPlayer","stop");this.Ma.stop();this.dr=null};v.prototype.getState=function(){return this.Ma.getState()};v.prototype.dG=function(){return this.yx.L6a()?!1:this.Ma.dG()};v.prototype.Tf=function(w){this.Yd.Tf(w);this.bf=w;this.mb&amp;&amp;"requested"==this.Ym&amp;&amp;(this.bf?b.cancel(this.mb):b.request(this.mb))};
v.prototype.Hy=function(w){this.Yd.Hy(w)};v.prototype.wU=function(w){this.Yd.wU(w)};v.prototype.setLoop=function(w){this.vOa(w)};v.prototype.getCurrentTime=function(){return this.hp.getTime()};v.prototype.setCurrentTime=function(w){return this.hp.setTime(w)};v.prototype.ui=function(){return this.hp.ui()};v.prototype.Fm=function(){return this.pf==n.oo};v.prototype.getType=function(){return this.pf};v.prototype.Fe=function(){return this.rc&amp;&amp;this.Fm()&amp;&amp;this.rc.videoWidth||0};v.prototype.Ue=function(){return this.rc&amp;&amp;
this.Fm()&amp;&amp;this.rc.videoHeight||0};v.prototype.VS=function(){return this.Qn.VS()};v.prototype.gOa=function(){this.rc.log("HTMLMediaPlayer","assert can play");"activated"==this.Ym||!this.dr.vB||this.bf?(this.rc.log("HTMLMediaPlayer","can play activationState: "+this.Ym+" pending media has audio: "+this.dr.vB+" muted: "+this.bf),this.vE()):"inactive"==this.Ym&amp;&amp;(this.rc.log("HTMLMediaPlayer","needs activation"),this.mb&amp;&amp;this.pf==n.oo&amp;&amp;this.nUa()?this.xNa():this.mb&amp;&amp;g.y3()?this.Ts():this.mb&amp;&amp;this.fOa())};
v.prototype.nUa=function(){var w=this.Mra();return!w||w.currentSrc&amp;&amp;!w.paused||w.muted?!1:!0};v.prototype.Mra=function(){return this.mb.get("settings").get(TDV.PlayerSettings.ACTIVE_VIDEO_ELEMENT)};v.prototype.xNa=function(){this.rc.log("HTMLMediaPlayer","activate with application parameter");this.Iya(this.Mra());this.Ts()};v.prototype.fOa=function(){this.rc.log("HTMLMediaPlayer","ask for activation");this.Ym="requested";b.mma(this.Ts);this.mb&amp;&amp;!this.bf&amp;&amp;b.request(this.mb)};v.prototype.Ts=function(){if("inactive"==
this.Ym||"requested"==this.Ym)this.rc.log("HTMLMediaPlayer","activate received when state: "+this.Ym+" and has media: "+!!this.xI),this.xI?setTimeout(function(){d.wait(this.Ts)}.bind(this),0):(this.Ym="activating",this.yx.set("","",0))};v.prototype.vE=function(){this.rc.log("HTMLMediaPlayer","media can play. Has pending properties: "+!!this.dr);this.dr&amp;&amp;this.yx.set(this.dr.src,this.dr.wl,this.n_)};v.prototype.rwa=function(){"activating"==this.Ym?this.cXa():this.dr&amp;&amp;this.NWa()};v.prototype.cXa=function(){this.rc.log("HTMLMediaPlayer",
"on src ready activating");this.Ma.play()};v.prototype.Li=function(){"activating"==this.Ym&amp;&amp;(this.rc.log("HTMLMediaPlayer","on play activating"),this.Ma.stop(),this.Ym="activated",this.vE())};v.prototype.NWa=function(){this.rc.log("HTMLMediaPlayer","on pending src ready");this.xI=this.dr;this.dr=null;this.oOa(this.xI.vB);this.mOa(this.xI.gain);this.hp.setTime(this.n_);this.n_=void 0;this.Ma.play()};v.prototype.oOa=function(w){this.Yd.B$a(w)};v.prototype.mOa=function(w){this.Yd.wU(w)};v.prototype.vOa=
function(w){w&amp;&amp;!this.rc.hasAttribute("loop")?this.rc.setAttribute("loop",""):!w&amp;&amp;this.rc.hasAttribute("loop")&amp;&amp;this.rc.removeAttribute("loop")};v.prototype.Sua=function(){this.rc.log("HTMLMediaPlayer","on deactivated");b.uab();d.wait(this.Tca);this.mb&amp;&amp;setTimeout(function(){b.request(this.mb)}.bind(this),0)};v.prototype.Tca=function(){this.rc.log("HTMLMediaPlayer","on reactivated");this.Ma.play()};v.prototype.Ji=function(){this.trigger(l.uk,this.Qn.VS())};v.prototype.dk=function(){this.trigger(new m(v.BLa))};
v.prototype.lf=function(){this.trigger(new m(v.Uf))};v.prototype.Dn=function(){this.trigger(new m(v.ej))};v.prototype.gm=function(){this.trigger(new m(v.vk))};v.Uf="time update";v.ej="duration update";v.BLa="size update";v.vk="end";return v});define("dM",["require"],function(){return function(a){this.cue=a;this.text=a.text}});
define("nE",["require"],function(){function a(){this.wl=this.src=void 0;this.vB=!1;this.gain=1}a.prototype.clone=function(){var e=new a;e.src=this.src;e.wl=this.wl;e.vB=this.vB;e.gain=this.gain;return e};return a});
define("cb","require lS es py lu cI gE mn w mS oO iq".split(" "),function(a){function e(u){this.Lv=u;this.Aa=null;this.Sba=(new Date).getTime()}var l=a("lS"),m=a("es"),k=a("py"),c=a("lu"),h=a("cI"),g=a("gE"),b=a("mn"),d=a("w"),f=a("mS"),n=a("oO"),q=a("iq");e.prototype.eja=function(){return null==this.Aa};e.prototype.w3=function(){return this.Lv.w3()};e.prototype.P5=function(){return this.Lv.P5()};e.prototype.item=function(){return this.Aa};e.prototype.h5a=function(){this.Aa.aFa();this.Aa=null};e.prototype.use=
function(u){this.Aa=u;this.Aa.ECa(this.Lv);this.Sba=(new Date).getTime()};var p=l.extend(g,function(){g.call(this);this.Lt=[];var u=f.tDa("avs",10);var v=d.sc()==d.Vy?10:b.C3a()?4:1;v=f.tDa("avpas",v);for(var w=0;w&lt;u;w++)this.Lt.push(new e(new n(q.oo,w&lt;v)));this.df=[];this.C=c.V});p.prototype.EL=function(){return 0&lt;this.Esa().length};p.prototype.J4=function(u){this.df=[u].concat(m(this.df).without(u));this.uda();t()};p.prototype.appendItem=function(u){this.df.push(u);this.uda();t()};p.prototype.cU=
function(u){this.df=m(this.df).without(u);this.uda()};p.prototype.uda=function(){var u=this.LTa();if(p.qEa())for(;this.Lt.length&lt;u.length;)this.Lt.push(new e(new n(q.oo,!1)));this.Esa().forEach(function(v){0&gt;u.indexOf(v.item())&amp;&amp;v.h5a()});this.xd(0&lt;u.length?c.PLAYING:c.V);u.forEach(function(v){if(!this.jTa(v)){var w=this.ZSa(v.getType(),v.Cka());w||v.Cka()||this.Lt.push(w=new e(new n(q.oo,!1)));w&amp;&amp;w.use(v)}}.bind(this));this.$Sa().forEach(function(v){v.Lv.stop()})};p.prototype.LTa=function(){return this.df.map(function(u,
v){var w={};w.index=v;w.priority=u.HDa();w.item=u;return w}).sort(function(u,v){return u.priority-v.priority||u.index-v.index}).map(function(u){return u.item})};p.prototype.xd=function(u){this.C!=u&amp;&amp;(this.C=u,this.trigger(new h(this.C==c.V?k.Wf:k.lo)))};p.prototype.ZSa=function(u,v){u=this.Lt.filter(function(w){return w.eja()});return u.length?(v?(v=u.filter(function(w){return w.w3()}),v.length||(v=u.filter(function(w){return w.P5()}))):(v=u.filter(function(w){return!w.P5()}),v.length||(v=u.filter(function(w){return!w.w3()}))),
v.length&amp;&amp;(u=v),d.browser()==d.Jj?(u.sort(function(w,x){return x.Sba-w.Sba}),u[Math.min(2,u.length-1)]):u[0]):null};p.prototype.$Sa=function(){return this.Lt.filter(function(u){return u.eja()})};p.prototype.Esa=function(){return this.Lt.filter(function(u){return!u.eja()})};p.prototype.jTa=function(u){for(var v=0;v&lt;this.Lt.length;v++)if(this.Lt[v].item()==u)return this.Lt[v];return null};p.mba=null;p.bind=function(){var u=p.Fi();u.bind.apply(u,arguments)};p.unbind=function(){var u=p.Fi();u.unbind.apply(u,
arguments)};var r=0&lt;=[d.Uy,d.zs].indexOf(d.sc());p.qEa=function(){return r};p.EL=function(){return p.Fi().EL()};p.appendItem=function(u){p.Fi().appendItem(u)};p.J4=function(u){p.Fi().J4(u)};p.cU=function(u){p.Fi().cU(u)};p.Wv=function(){null===p.mba&amp;&amp;(p.mba=new p);return p.mba};p.Fi=p.Wv;p.Wv();var t=function(){if(0&lt;=[d.Uy,d.zs].indexOf(d.sc())){var u=document.createElement("video");u.muted=!1;u.setAttribute("loop","");u.src="data:video/mp4;base64,AAAAIGZ0eXBtcDQyAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAACKBtZGF0AAAC8wYF///v3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE0MiByMjQ3OSBkZDc5YTYxIC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAxNCAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTEgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MToweDExMSBtZT1oZXggc3VibWU9MiBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0wIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MCA4eDhkY3Q9MCBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0wIHRocmVhZHM9NiBsb29rYWhlYWRfdGhyZWFkcz0xIHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTMgYl9weXJhbWlkPTIgYl9hZGFwdD0xIGJfYmlhcz0wIGRpcmVjdD0xIHdlaWdodGI9MSBvcGVuX2dvcD0wIHdlaWdodHA9MSBrZXlpbnQ9MzAwIGtleWludF9taW49MzAgc2NlbmVjdXQ9NDAgaW50cmFfcmVmcmVzaD0wIHJjX2xvb2thaGVhZD0xMCByYz1jcmYgbWJ0cmVlPTEgY3JmPTIwLjAgcWNvbXA9MC42MCBxcG1pbj0wIHFwbWF4PTY5IHFwc3RlcD00IHZidl9tYXhyYXRlPTIwMDAwIHZidl9idWZzaXplPTI1MDAwIGNyZl9tYXg9MC4wIG5hbF9ocmQ9bm9uZSBmaWxsZXI9MCBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAAAOWWIhAA3//p+C7v8tDDSTjf97w55i3SbRPO4ZY+hkjD5hbkAkL3zpJ6h/LR1CAABzgB1kqqzUorlhQAAAAxBmiQYhn/+qZYADLgAAAAJQZ5CQhX/AAj5IQAD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";
return function(){try{u.pause(),setTimeout(function(){u.play()["catch"](function(){})},0)}catch(v){}}}return function(){}}();return p});
define("G","require lS cI gE py lu oO dM nE iq cb bn mn".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("py"),c=a("lu"),h=a("oO"),g=a("dM"),b=a("nE"),d=a("iq"),f=a("cb"),n=a("bn"),q=a("mn"),p=e.extend(m,function(r,t,u){m.call(this);this.mb=r;this.v=t;this.zt=u;this.o=null;this.fR();this.rZ=this.rZ.bind(this);this.v.bind(k.G("gain"),this.sJ,this,!0);this.v.bind(k.G("mp3Url"),this.Mk,this,!0);this.v.bind(k.G("oggUrl"),this.Mk,this,!0);this.v.bind(k.G("subtitlesURL"),this.Mk,this,!0);this.C=
c.V;this.Jk=!1;this.Mz=this.Xb=0;this.bf=!1;this.Cr=1;this.lO=!1;this.JI=1;this.Ed=null;this.qo=[]});p.prototype.Db=function(){return this.mb};p.prototype.Xc=function(r){this.C==r||r==c.Qb&amp;&amp;this.C!=c.PLAYING||(this.C=r,this.C==c.PLAYING?(this.qPa(),f.J4(this)):this.H_a(),this.Sfa())};p.prototype.H_a=function(){this.lO||(this.lO=!0,this.yra=this.v.get("fadeOutTime"),0==this.yra?this.eza():this.rZ(0))};p.prototype.rZ=function(r){this.Ed&amp;&amp;0!=this.JI&amp;&amp;this.lO&amp;&amp;!this.XUa()?(this.JI=Math.max(0,this.JI-
r/this.yra),this.qW(),n.requestFrame(this.rZ)):this.eza()};p.prototype.qPa=function(){this.lO=!1;this.JI=1;this.qW()};p.prototype.eza=function(){this.lO=!1;this.JI=1;this.Ed&amp;&amp;(f.cU(this),this.C==c.V&amp;&amp;this.Pea())};p.prototype.getState=function(){return this.C};p.prototype.ui=function(){return this.Xb};p.prototype.setCurrentTime=function(r){this.Mz=r;this.Ed&amp;&amp;this.Ed.play(this.mb,this.o,this.Mz)};p.prototype.getCurrentTime=function(){return this.Mz};p.prototype.Hy=function(r){this.Cr=r;this.qW()};p.prototype.qW=
function(){this.Ed&amp;&amp;this.Ed.Hy(this.Cr*this.JI)};p.prototype.Tf=function(r){this.bf=r;this.Ed&amp;&amp;this.Ed.Tf(r)};p.prototype.setLoop=function(r){this.Jk=r;this.Ed&amp;&amp;this.Ed.setLoop(r)};p.prototype.Cka=function(){return!this.bf};p.prototype.getType=function(){return d.aLa};p.prototype.HDa=function(){return this.zt};p.prototype.ECa=function(r){this.Ed=r;setTimeout(function(){this.Ed&amp;&amp;this.Ed.bind(h.vk,this.GP,this,!0)}.bind(this),0);this.fR();this.Ed.bind(h.Uf,this.lf,this,!0);this.Ed.bind(h.ej,this.Dn,
this,!0);this.Ed.bind(k.uk,this.Ji,this,!0);this.Ed.Tf(this.bf);this.qW();this.Ed.setLoop(this.Jk);this.Ed.play(this.mb,this.o,this.Mz)};p.prototype.aFa=function(){this.Mz=this.Ed.getCurrentTime();this.Ed.unbind(h.vk,this.GP,this,!0);this.Ed.unbind(h.Uf,this.lf,this,!0);this.Ed.unbind(h.ej,this.Dn,this,!0);this.Ed.unbind(k.uk,this.Ji,this,!0);this.Ed=null};p.prototype.clear=function(){this.Xc(c.V);this.v&amp;&amp;(this.v.unbind(k.G("gain"),this.sJ,this,!0),this.v.unbind(k.G("mp3Url"),this.Mk,this,!0),this.v.unbind(k.G("oggUrl"),
this.Mk,this,!0),this.v.unbind(k.G("subtitlesURL"),this.Mk,this,!0),this.v=null)};p.prototype.Mk=function(){this.RE&amp;&amp;clearTimeout(this.RE);this.RE=setTimeout(function(){this.RE=null;this.Ed&amp;&amp;(this.o.src=this.$z(this.v),this.o.wl=this.v.get("subtitlesURL"),this.Ed.play(this.mb,this.o,this.Mz))}.bind(this),10)};p.prototype.sJ=function(){if(this.Ed){var r=this.v.get("gain");this.o.gain!=r&amp;&amp;(this.o.gain=r,this.Ed.wU(this.o.gain))}};p.prototype.fR=function(){this.o=new b;this.o.src=this.$z(this.v);this.o.wl=
this.v.get("subtitlesURL");this.o.vB=!0;this.o.gain=this.v.get("gain")};p.prototype.$z=function(r){var t=r.get("mp3Url");return t&amp;&amp;q.wEa?t:(r=r.get("oggUrl"))&amp;&amp;q.xEa?r:t||r};p.prototype.Dn=function(){this.Xb=this.Ed.ui();this.Nfa()};p.prototype.lf=function(){this.Xb!=this.Ed.ui()&amp;&amp;this.Dn();this.Mz=this.Ed.getCurrentTime();this.LR()};p.prototype.Ji=function(){this.qo=this.Ed.VS().map(function(r){for(var t=null,u=0;u&lt;this.qo.length&amp;&amp;!t;u++)this.qo[u].cue==r&amp;&amp;(t=this.qo[u]);t||(t=new g(r));return t}.bind(this));
this.trigger(new l(k.uk))};p.prototype.GP=function(){this.Xc(c.V);this.Ofa()};p.prototype.XUa=function(){return this.Ed&amp;&amp;this.Ed.getCurrentTime()&amp;&amp;this.Ed.getCurrentTime()==this.Ed.ui()};p.prototype.Pea=function(){this.Mz=0;this.LR()};p.prototype.LR=function(){this.trigger(new l(p.Uf))};p.prototype.Nfa=function(){this.trigger(new l(p.ej))};p.prototype.Ofa=function(){this.trigger(new l(k.Gb))};p.prototype.Sfa=function(){this.trigger(new l(k.Ae))};p.Uf="time update";p.ej="duration update";return p});
define("hn",["require"],function(){function a(l,m,k){this.Wd=l;this.tza=m;this.ct=k||e}var e=function(){var l=document.createElement("canvas");l.width=l.height=256;l.getContext("2d").clearRect(0,0,l.width,l.height);return l}();a.prototype.isEmpty=function(){return this.ct==e||"CANVAS"==this.ct.tagName&amp;&amp;(0==this.ct.width||0==this.ct.height)};a.prototype.isEqual=function(l,m){return this.Wd==l.Wd&amp;&amp;Math.abs(this.tza-l.tza)&lt;(m||0)&amp;&amp;this.ct==l.ct};return a});
define("dq",["require","mn","w","iE"],function(a){function e(g){return k.QJa(g)}function l(g,b){if(!b)return!0;var d=g.get("url"),f=g.get("srcObject");g=g.get("type")||"";switch(b){case "srcObj":return!!f;case "webm":return c.is(d,c.aNa)||m(g,"webm");case "h265":return c.is(d,c.QLa)||(c.is(d,c.xna)||c.is(d,c.dna)||!d)&amp;&amp;(m(g,"hev1")||m(g,"h265")||m(g,"heic"))?!0:!1;case "mp4":return c.is(d,c.xna)||m(g,"mp4");case "hls":return c.is(d,c.HLS)||m(g,"x-mpegurl");case "ogv":return c.is(d,c.nMa)||m(g,"ogg");
case "mov":return c.is(d,c.dna)||m(g,"quicktime");default:return!1}}function m(g,b){return 0&lt;=(g||"").toLowerCase().indexOf(b)}var k=a("mn");a("w");var c=a("iE"),h={t6a:function(g){return h.select(g.get("levels"))},r6a:function(g){return h.select(g.get("levels"))},select:function(g){g||(g=[]);g=g.slice();var b=[];b.push({type:"srcObj",ts:!0});k.G6a&amp;&amp;b.push({type:"hls",ts:!1});k.Y6a&amp;&amp;b.push({type:"h265",ts:!0});k.Uia&amp;&amp;b.push({type:"webm",ts:!0});k.l3&amp;&amp;b.push({type:"mp4",ts:!0});k.Z6a&amp;&amp;b.push({type:"mov",
ts:!0});k.Tia&amp;&amp;b.push({type:"ogv",ts:!0});b.push({type:"mp4",ts:!0});b.push({type:"webm",ts:!0});b.push({type:"mp4",ts:!1});b.push({type:"webm",ts:!1});for(var d=0;d&lt;b.length;d++){var f=g;b[d].ts&amp;&amp;(f=f.filter(e));f=f.filter(function(n){if(l(n,b[d].type))return!0});"hls"!=b[d].type&amp;&amp;f.sort(function(n,q){return q.get("width")-n.get("width")});if(f.length)return f[0]}return null}};return h});
define("oT","require lS cI gE py lu ix ol w mS oO dM hn nE iq cb dq".split(" "),function(a){function e(x){d.browser()==d.Jj&amp;&amp;(x=f.hB(x,"playbacksession="+(new Date).getTime()));return x}var l=a("lS"),m=a("cI"),k=a("gE"),c=a("py"),h=a("lu"),g=a("ix"),b=a("ol"),d=a("w"),f=a("mS"),n=a("oO"),q=a("dM"),p=a("hn"),r=a("nE"),t=a("iq"),u=a("cb"),v=a("dq"),w=l.extend(k,function(x,y){k.call(this);this.mb=x;this.v=y;this.fb=w.mk(this.v);this.o=null;this.fR();this.v.bind(c.G("subtitlesURL"),this.Mk,this,!0);this.v.bind(c.G("gain"),
this.sJ,this,!0);this.fb.bind(c.G("srcObject"),this.Mk,this,!0);this.fb.bind(c.G("subtitlesURL"),this.Mk,this,!0);this.fb.bind(c.G("url"),this.Mk,this,!0);this.fb.bind(c.G("gain"),this.sJ,this,!0);this.C=h.V;this.Jf=this.Xb=0;this.bf=!1;this.Cr=1;this.Jk=!1;this.T=this.bc=null;this.jI=!1;this.RW=void 0;this.cqa=!1;this.qo=[]});w.prototype.Db=function(){return this.mb};w.prototype.Xc=function(x){this.C==x||x==h.Qb&amp;&amp;this.C!=h.PLAYING||(this.cqa&amp;&amp;x==h.PLAYING&amp;&amp;this.C==h.V&amp;&amp;this.Z8(),this.C=x,this.C==
h.PLAYING?(this.bc&amp;&amp;this.bc.play(this.mb,this.o,this.Jf),u.J4(this)):(u.qEa()?this.bc&amp;&amp;this.bc.stop():u.cU(this),this.C==h.V&amp;&amp;this.Pea()),this.Sfa())};w.prototype.getState=function(){return this.C};w.prototype.ui=function(){return this.Xb};w.prototype.setCurrentTime=function(x){this.Jf=x;this.bc&amp;&amp;(this.bc.dG()&amp;&amp;this.fO(),this.bc.play(this.mb,this.o,this.Jf))};w.prototype.getCurrentTime=function(){return this.Jf};w.prototype.Hy=function(x){this.Cr=x;this.bc&amp;&amp;this.bc.Hy(x)};w.prototype.Tf=function(x){this.bf=
x;this.bc&amp;&amp;this.bc.Tf(x)};w.prototype.setLoop=function(x){this.Jk=x;this.bc&amp;&amp;this.bc.setLoop(x)};w.prototype.h$a=function(){this.cqa=!0};w.prototype.bL=function(x,y,z){this.bc&amp;&amp;this.bc.dG()?this.bc.bL(x,y,z):this.jI?x.drawImage(this.T,0,0,y,z):x.fillRect(0,0,y,z)};w.prototype.S2=function(){if(this.bc&amp;&amp;this.bc.dG()){var x=this.bc.getCurrentTime(),y=this.bc.rc;if(this.NO())return new p(this.o.src,this.RW,this.T);this.Z8();return new p(this.o.src,x,y)}return this.jI?new p(this.o.src,this.Jf,this.T):
new p(this.o.src,this.Jf,null)};w.prototype.Cka=function(){return!this.bf&amp;&amp;this.v.get("hasAudio")};w.prototype.getType=function(){return t.oo};w.prototype.HDa=function(){return g.oo};w.prototype.ECa=function(x){this.bc=x;setTimeout(function(){this.bc&amp;&amp;this.bc.bind(n.vk,this.GP,this,!0)}.bind(this),0);this.fR();this.bc.bind(n.Uf,this.lf,this,!0);this.bc.bind(n.ej,this.Dn,this,!0);this.bc.bind(c.uk,this.Ji,this,!0);this.bc.Tf(this.bf);this.bc.Hy(this.Cr);this.bc.setLoop(this.Jk);this.bc.play(this.mb,
this.o,this.Jf)};w.prototype.aFa=function(){this.bc.dG()&amp;&amp;this.fO();this.Jf=this.bc.getCurrentTime();this.bc.unbind(n.vk,this.GP,this,!0);this.bc.unbind(n.Uf,this.lf,this,!0);this.bc.unbind(n.ej,this.Dn,this,!0);this.bc.unbind(c.uk,this.Ji,this,!0);this.C==h.V&amp;&amp;(this.bc.stop(),this.bc.setCurrentTime(0),this.NPa());this.bc=null};w.prototype.clear=function(){u.cU(this);this.Z8();this.v&amp;&amp;(this.v.unbind(c.G("subtitlesURL"),this.Mk,this,!0),this.v.unbind(c.G("gain"),this.sJ,this,!0),this.v=null);this.fb&amp;&amp;
(this.fb.unbind(c.G("subtitlesURL"),this.Mk,this,!0),this.fb.unbind(c.G("url"),this.Mk,this,!0),this.fb.unbind(c.G("srcObject"),this.Mk,this,!0),this.fb=null)};w.prototype.Mk=function(){this.RE&amp;&amp;clearTimeout(this.RE);this.RE=setTimeout(function(){this.RE=null;this.bc&amp;&amp;(this.o.wl=this.v.get("subtitlesURL")||this.fb.get("subtitlesURL"),this.o.src=this.fb.get("srcObject")||e(this.fb.get("url")),this.bc.play(this.mb,this.o,this.Jf))}.bind(this),10)};w.prototype.sJ=function(){this.bc&amp;&amp;(this.o.gain=this.v.get("gain",
1)*this.fb.get("gain",1),this.bc.wU(this.o.gain))};w.prototype.fR=function(){this.o=new r;this.o.src=this.fb.get("srcObject")||e(this.fb.get("url"));this.o.wl=this.v.get("subtitlesURL")||this.fb.get("subtitlesURL");this.o.vB=this.v.get("hasAudio",!0)&amp;&amp;this.fb.get("hasAudio",!0);this.o.gain=this.v.get("gain",1)*this.fb.get("gain",1)};w.prototype.fO=function(){this.T||(this.T=document.createElement("canvas"));if(!this.NO()){this.T.width=this.bc.Fe();this.T.height=this.bc.Ue();this.RW=this.bc.getCurrentTime();
var x=this.T.getContext("2d");x.clearRect(0,0,this.T.width,this.T.height);this.jI=this.bc.bL(x,this.T.width,this.T.height)}};w.prototype.NO=function(){var x=this.bc.getCurrentTime();this.Xb&amp;&amp;(x=Math.min(x,this.Xb));return this.jI&amp;&amp;.15&gt;=Math.abs(x-this.RW)};w.prototype.Z8=function(){this.jI&amp;&amp;(this.RW=void 0,this.jI=!1,d.browser()!=d.Jj&amp;&amp;(this.T.width=0,this.T.height=0,this.T=null))};w.prototype.Dn=function(){this.Xb=this.bc.ui();this.Nfa()};w.prototype.lf=function(){var x=this.bc.ui();0!==x&amp;&amp;(this.Xb!=
x&amp;&amp;this.Dn(),this.Jf=this.bc.getCurrentTime(),d.ud()==d.yi&amp;&amp;0&lt;this.Jf&amp;&amp;this.Jf&gt;this.Xb-.15&amp;&amp;!this.NO()&amp;&amp;!this.Jk?this.fO():d.browser()==d.Jj&amp;&amp;0&lt;this.Jf&amp;&amp;this.Jf&gt;this.Xb-.05&amp;&amp;!this.NO()&amp;&amp;!this.Jk?this.fO():d.browser()==d.io&amp;&amp;0&lt;this.Jf&amp;&amp;this.Jf&gt;this.Xb-.05&amp;&amp;!this.NO()&amp;&amp;this.Jk&amp;&amp;this.fO(),this.LR())};w.prototype.Ji=function(){this.qo=this.bc.VS().map(function(x){for(var y=null,z=0;z&lt;this.qo.length&amp;&amp;!y;z++)this.qo[z].cue==x&amp;&amp;(y=this.qo[z]);y||(y=new q(x));return y}.bind(this));this.trigger(new m(c.uk))};
w.prototype.NPa=function(){0!=this.qo.length&amp;&amp;(this.qo=[],this.trigger(new m(c.uk)))};w.prototype.GP=function(){this.Xc(h.V);this.Ofa()};w.prototype.Pea=function(){this.Jf=0;this.LR()};w.prototype.LR=function(){this.trigger(new m(w.Uf))};w.prototype.Nfa=function(){this.trigger(new m(w.ej))};w.prototype.Ofa=function(){this.trigger(new m(c.Gb))};w.prototype.Sfa=function(){this.trigger(new m(c.Ae))};w.Uf="time update";w.ej="duration update";w.mk=function(x){if(b.Ja("Video360Resource",x))return v.r6a(x);
if(b.Ja("VideoResource",x))return v.t6a(x);throw"invalid video resource object: "+x;};return w});
define("kN",["require","oT","py"],function(a){function e(m,k){this.rW=m;this.Lv=k;this.a8=[];this.IOa();this.Ji()}a("oT");var l=a("py");e.prototype.clear=function(){this.GPa();this.$0a();this.Lv=this.rW=null};e.prototype.IOa=function(){this.Lv.bind(l.uk,this.Ji,this,!0)};e.prototype.$0a=function(){this.Lv.unbind(l.uk,this.Ji,this,!0)};e.prototype.Ji=function(){this.rW.set("activeSubtitles",this.a8=this.Lv.qo)};e.prototype.GPa=function(){this.rW.get("activeSubtitles")==this.a8&amp;&amp;this.rW.set("activeSubtitles",
this.a8=[])};return e});
define("hs","require py ix lu mw cI ol G kN".split(" "),function(a){var e=a("py"),l=a("ix"),m=a("lu"),k=a("mw"),c=a("cI"),h=a("ol"),g=a("G"),b=a("kN");a=h.define("Audio",k,function(d){k.call(this);this.zt=d||l.PMa;this.vo=void 0;this.rm=null});a.prototype.XF=function(){if(void 0==this.vo){this.rm&amp;&amp;(this.rm.clear(),this.rm=null);var d=this.get("audio");d?(this.vo=new g(this.get("application"),d,this.zt),d=function(){this.vo.setLoop(this.get("loop",!1))},d.call(this),this.bind(e.G("loop"),d,this),d=
function(){this.vo.Tf(this.get("application").get("mute",!1))},d.call(this),this.get("application").bind(e.G("mute"),d,this,!0),d=function(){this.set("state",this.vo.getState())},d.call(this),this.vo.bind(e.Ae,d,this,!0),this.vo.bind(e.Gb,this.fWa,this,!0),this.rm=new b(this,this.vo)):this.vo=null}return this.vo};a.prototype.set=function(d,f){switch(d){case "state":var n=this.get("state")||m.V,q=this.vo&amp;&amp;this.vo.getState()||m.V;q!=n&amp;&amp;(n==m.V&amp;&amp;q==m.PLAYING&amp;&amp;this.trigger(e.lo),this.trigger(new c(e.Ae,
{oldState:n,state:q})));break;case "subtitlesViewerArea":(n=k.prototype.get.call(this,d))&amp;&amp;n.P0.remove(this),f&amp;&amp;f.P0.add(this)}k.prototype.set.call(this,d,f)};a.prototype.tu=function(){return[]};a.prototype.fWa=function(){this.trigger(new c(e.Gb))};a.prototype.play=a.prototype.Sk=function(){var d=this.XF();d&amp;&amp;d.Xc(m.PLAYING)};a.prototype.stop=a.prototype.bp=function(){var d=this.XF();d&amp;&amp;d.Xc(m.V)};a.prototype.pause=a.prototype.br=function(){var d=this.XF();d&amp;&amp;d.Xc(m.Qb)};return a});
define("jw",["require","ol","hs"],function(a){var e=a("ol"),l=a("hs");return e.define("MediaAudio",l,function(m){l.call(this,m)})});define("qc",["require","ix","ol","jw"],function(a){var e=a("ix"),l=a("ol"),m=a("jw");return l.define("PanoramaAudio",m,function(){m.call(this,e.sMa)})});define("hG",["require","ol","qc"],function(a){var e=a("ol"),l=a("qc");return e.define("DirectionalPanoramaAudio",l,function(){l.call(this)})});
define("fz",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Model3DCameraMovement",e,function(){e.call(this)})});define("iI",["require","ol","fz"],function(a){var e=a("ol"),l=a("fz");return e.define("DistanceModel3DCameraMovement",l,function(){l.call(this)})});define("lA",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("DistancePanoramaCameraMovement",e,function(){e.call(this)})});
define("hj",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("DistanceRotationalCameraMovement",e,function(){e.call(this)})});
define("z",["require","exports","py","lS"],function(a,e,l,m){return function(){function k(c,h,g,b,d){this.Gq=null;this.wca=c;this.vf=l.G(this.wca);this.Baa=h;this.Da=g||window;this.dba=b;this.nua=d;this.rba=!1}k.prototype.hC=function(){this.qea(null)};k.prototype.qea=function(c){var h=this;m.toArray(this.Gq).forEach(function(g){g&amp;&amp;g.unbind(this.vf,h.Tpa,h)}.bind(this));this.Gq=c;m.toArray(this.Gq).forEach(function(g){g&amp;&amp;g.bind(this.vf,this.Tpa,h,h.dba)}.bind(this));this.Exa()};k.prototype.Exa=function(){this.nua&amp;&amp;
this.nua.qea(this.eTa())};k.prototype.eTa=function(){return null==this.Gq?null:Array.isArray(this.Gq)?this.Gq.map(function(c){return c?c.get(this.wca):null}.bind(this)):this.Gq.get(this.wca)};k.prototype.Tpa=function(c){if(!this.rba){try{this.rba=!0,this.Exa(),this.Baa.call(this.Da,c)}catch(h){m.ET("ChangeWatcher._changeHandler",h)}this.rba=!1}};k.Ru=function(c,h,g,b,d){void 0===d&amp;&amp;(d=!1);m.isString(h)&amp;&amp;(h=h.split("."));return 0&lt;h.length?(h=new k(h[0],g,b,d,k.Ru(null,h.slice(1),g,b,d)),h.qea(c),h):
null};return k}()});
define("pU",["require","jquery.mod","lS","py","e"],function(a){var e=a("jquery.mod"),l=a("lS"),m=a("py"),k=a("e"),c=l.extend(k,function(){k.call(this);this.Re("DropDownArrow");this.T=null;this.Vv=!0;this.bind(m.tc,this.ERa,this)});c.prototype.yb=function(){k.prototype.yb.call(this);this.h("color","#000000");this.h("direction",c.j6)};c.prototype.ERa=function(){this.Vv=!0;this.xe()};c.prototype.Hb=function(){k.prototype.Hb.call(this);this.T||(this.T=e("&lt;canvas/&gt;"),this.T.css({position:"absolute",left:0,
top:0}),this.Yb().append(this.T))};c.prototype.bb=function(){var h=!1;this.L("color")&amp;&amp;(h=!0,this.S("color"));this.L("direction")&amp;&amp;(h=!0,this.S("direction"));this.Vv&amp;&amp;(h=!0,this.Vv=!1);if(h){h=this.Bf();var g=this.Af(),b=this.B("color"),d=this.B("direction"),f=[.5*h,0,h];d=d==c.j6?[g,0,0]:[0,g,g];var n=this.T.get(0);n.width=h;n.height=g;n=n.getContext("2d");n.clearRect(0,0,h,g);n.beginPath();n.moveTo(f[0],d[0]);n.lineTo(f[1],d[1]);n.lineTo(f[2],d[2]);n.fillStyle=b;n.fill()}k.prototype.bb.call(this)};
c.j6="down";c.Ycb="up";return c});
define("ie","require lS cI nC bh py d hg oR pU dE".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("nC"),k=a("bh"),c=a("py"),h=a("d"),g=a("hg"),b=a("oR"),d=a("pU"),f=a("dE");a=e.extend(b,function(){b.call(this);this.Re("DropDownButton");this.rz=this.Pa=null;this.Mba=!0;this.set("ariaRole","dropdown");this.set("autoRolledOver",!0);this.set("autoPressed",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("cursor",k.Le);this.bind(c.ma,this.q$,this)});a.prototype.yb=
function(){b.prototype.yb.call(this);this.h("arrowColor","#000000");this.h("arrowBeforeLabel");this.h("arrowWidth",9);this.h("arrowHeight",5);this.h("arrowGap",5);this.h("shadow",!1);this.h("layout",h.Gg);this.h("verticalAlign",m.se);this.h("borderRadius",5);this.h("borderColor","#AAAAAA");this.h("borderSize",1);this.h("backgroundColor",["#FAFAFA","#E5E5E5"]);this.h("backgroundColorRatios",[0,1]);this.h("backgroundColorDirection","vertical");this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",
5);this.h("paddingBottom",5);this.h("fontFamily");this.h("fontSize");this.h("fontColor","#555555");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.A("rollOverBorderColor",g.aa,"borderColor");this.A("rollOverArrowColor",g.aa,"arrowColor");this.A("rollOverBackgroundColor",g.aa,"backgroundColor");this.A("rollOverBackgroundColorRatios",
g.aa,"backgroundColorRatios");this.A("rollOverShadow",g.aa,"shadow");this.A("pressedBorderColor",g.Ab,"borderColor");this.A("pressedArrowColor",g.Ab,"arrowColor");this.A("pressedBackgroundColor",g.Ab,"backgroundColor");this.A("pressedBackgroundColorRatios",g.Ab,"backgroundColorRatios");this.A("pressedShadow",g.Ab,"shadow");this.A("pressedRollOverBorderColor",g.jc,"borderColor");this.A("pressedRollOverArrowColor",g.jc,"arrowColor");this.A("pressedRollOverBackgroundColor",g.jc,"backgroundColor");this.A("pressedRollOverBackgroundColorRatios",
g.jc,"backgroundColorRatios");this.A("pressedRollOverShadow",g.jc,"shadow");this.A("pressedBorderColor",g.ja,"borderColor");this.A("pressedArrowColor",g.ja,"arrowColor");this.A("pressedBackgroundColor",g.ja,"backgroundColor");this.A("pressedBackgroundColorRatios",g.ja,"backgroundColorRatios");this.A("pressedShadow",g.ja,"shadow")};a.prototype.set=function(n,q){"label"==n&amp;&amp;this.get("label")!=q&amp;&amp;(this.Mba=!0,this.xe());b.prototype.set.call(this,n,q)};a.prototype.Hb=function(){b.prototype.Hb.call(this);
this.Pa||(this.Pa=new f,this.Pa.set("width","100%"),this.Ya(this.Pa));this.rz||(this.rz=new d,this.rz.set("direction",d.j6),this.Ya(this.rz))};a.prototype.q$=function(){this.open();this.trigger(new l(c.OPEN))};a.prototype.open=function(){this.unbind(c.ma,this.q$,this);this.aR(!0)};a.prototype.close=function(){this.bind(c.ma,this.q$,this);this.aR(!1)};a.prototype.Kv=function(){return this.Pa&amp;&amp;this.Pa.get("text")||b.prototype.Kv.call(this)};a.prototype.bb=function(){if(this.Mba){var n=this.get("label");
this.Pa.set("text",n);this.Mba=!1}this.uc("horizontalAlign fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),{},[this.Pa],!0,!0);this.L("arrowGap")&amp;&amp;(this.set("gap",this.B("arrowGap")),this.S("arrowGap"));this.L("arrowColor")&amp;&amp;(this.rz.set("color",this.B("arrowColor")),this.S("arrowColor"));this.L("arrowBeforeLabel")&amp;&amp;(1==this.B("arrowBeforeLabel")?this.ao(this.rz,
0):this.ao(this.Pa,0),this.S("arrowBeforeLabel"));this.L("arrowWidth")&amp;&amp;(this.rz.set("width",this.B("arrowWidth")),this.S("arrowWidth"));this.L("arrowHeight")&amp;&amp;(this.rz.set("height",this.B("arrowHeight")),this.S("arrowHeight"));b.prototype.bb.call(this)};return a});define("hO",["require","es","lS","oR","d"],function(a){var e=a("es"),l=a("lS"),m=a("oR");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Fc={layout:a.Xh};e.defaults(k.Fc,m.Fc);k.prototype.yb=function(){this.Bo(k.Fc)};return k});
define("lZ","require lS cI nC bh il py oR hO dE".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("nC"),k=a("bh"),c=a("il"),h=a("py"),g=a("oR"),b=a("hO"),d=a("dE");a=e.extend(g,function(){g.call(this);this.Re("DropDownPopup");this.set("ariaRole","listbox");this.Ad=null;this.xW=!1;this.Lb=null;this.aP=[];this.ZA=!0});a.prototype.wDa=function(){return this.Lb.pb().map(function(f){return f.ke()})};a.prototype.open=function(f){this.Ad=f;this.xW=!0;this.Db().ao(this,this.Db().pb().length-1);this.set("overIndex",
-1);this.set("visible",!0);this.bind(h.hb,this.ce,this);this.Db().bind(h.Eb,this.ot,this);this.Db().bind(h.tc,this.Ic,this)};a.prototype.close=function(){this.Ad=null;this.xW=!0;this.set("visible",!1);this.Lb.set("overflow",c.JH);this.Lb.set("contentOpaque",!0);this.unbind(h.hb,this.ce,this);this.Db().unbind(h.Eb,this.ot,this);this.Db().bind(h.tc,this.Ic,this)};a.prototype.Hb=function(){g.prototype.Hb.call(this);this.Lb||(this.Lb=new b,this.Lb.set("overflow",c.JH),this.Lb.bind(h.tc,this.Ic,this),
this.Lb.bind(h.fq,this.QA,this),this.Ya(this.Lb))};a.prototype.Ic=function(){this.rAa()};a.prototype.ce=function(){this.yea=!1};a.prototype.QA=function(){this.yea=!0};a.prototype.ot=function(){-1!=this.get("overIndex")||this.yea&amp;&amp;this.Go||this.trigger(new l(h.pH));this.yea=!1};a.prototype.wWa=function(f){this.set("overIndex",this.naa(f.source))};a.prototype.xWa=function(f){f=this.naa(f.source);this.get("overIndex")==f&amp;&amp;this.set("overIndex",-1)};a.prototype.vWa=function(f){f=this.naa(f.source);this.set("overIndex",
f);this.set("selectedIndex",f);this.trigger(new l(h.gq))};a.prototype.naa=function(f){for(var n=0;n&lt;this.aP.length;n++)if(this.aP[n]==f)return n;return-1};a.prototype.yb=function(){g.prototype.yb.call(this);this.h("visible",!1);this.h("width","100%");this.h("height","100%");this.h("includeInLayout",!1);this.h("items",[]);this.h("selectedIndex",-1);this.h("overIndex",-1);this.h("popUpGap",0);this.h("popUpBackgroundColor");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");this.h("selectedPopUpBackgroundColor");
this.h("popUpFontColor");this.h("rollOverPopUpFontColor");this.h("selectedPopUpFontColor");this.h("popUpShadow",!0);this.h("popUpShadowBlurRadius");this.h("popUpShadowColor");this.h("popUpShadowHorizontalLength");this.h("popUpShadowOpacity");this.h("popUpShadowSpread");this.h("popUpShadowVerticalLength");this.h("fontFamily");this.h("fontSize");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");
this.h("textShadowBlurRadius");this.h("textShadowOpacity");this.h("buttonWidth")};a.prototype.bb=function(){var f=!1,n=!1;if(this.L("items")){f=this.B("items")||[];for(var q=this.aP.length;q&lt;f.length;q++){var p=new d;p.ra({width:"100%",paddingLeft:5,paddingRight:5,paddingBottom:2,paddingTop:2,cursor:k.Le});p.bind(h.LC,this.wWa,this);p.bind(h.Zp,this.xWa,this);p.bind(h.ma,this.vWa,this);this.aP.push(p)}p=this.Lb.pb();for(q=f.length;q&lt;p.length;q++)this.Lb.removeChild(p[q]);for(q=p.length;q&lt;f.length;q++)this.Lb.Ya(this.aP[q]);
for(q=0;q&lt;f.length;q++)p[q].ra({text:f[q],ariaLabel:f[q],ariaRole:"option"});this.S("items");n=f=!0}this.L("selectedIndex")&amp;&amp;(this.S("selectedIndex"),f=!0);var r="horizontalAlign popUpBackgroundOpacity popUpPaddingBottom popUpPaddingLeft popUpPaddingRight popUpPaddingTop fontFamily fontSize fontWeight fontStyle tabIndex textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");for(q=0;q&lt;r.length;q++)p=r[q],this.L(p)&amp;&amp;(this.S(p),
n=!0);if(n)for(r={fontFamily:this.B("fontFamily"),fontSize:this.B("fontSize"),fontWeight:this.B("fontWeight"),fontStyle:this.B("fontStyle"),horizontalAlign:this.B("horizontalAlign"),tabIndex:this.B("tabIndex"),textDecoration:this.B("textDecoration"),textShadowColor:this.B("textShadowColor"),textShadowHorizontalLength:this.B("textShadowHorizontalLength"),textShadowVerticalLength:this.B("textShadowVerticalLength"),textShadowBlurRadius:this.B("textShadowBlurRadius"),textShadowOpacity:this.B("textShadowOpacity"),
paddingBottom:this.B("popUpPaddingBottom"),paddingLeft:this.B("popUpPaddingLeft"),paddingRight:this.B("popUpPaddingRight"),paddingTop:this.B("popUpPaddingTop"),backgroundOpacity:this.B("popUpBackgroundOpacity")},p=this.Lb.pb(),q=0;q&lt;p.length;q++)p[q].ra(r);r="selectedIndex overIndex popUpBackgroundColor rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor".split(" ");for(q=0;q&lt;r.length;q++)p=r[q],this.L(p)&amp;&amp;(this.S(p),f=!0);if(f){f=
this.B("popUpBackgroundColor");r=this.B("rollOverPopUpBackgroundColor")||f;n=this.B("selectedPopUpBackgroundColor")||f;var t=this.B("popUpFontColor"),u=this.B("rollOverPopUpFontColor")||t,v=this.B("selectedPopUpFontColor")||t,w=this.B("selectedIndex"),x=this.B("overIndex");p=this.Lb.pb();for(q=0;q&lt;p.length;q++)q==w?p[q].ra({fontColor:v,backgroundColor:n}):q==x?p[q].ra({fontColor:u,backgroundColor:r}):p[q].ra({fontColor:t,backgroundColor:f})}if(this.xW||this.L("popUpGap")||this.L("buttonWidth"))this.Ad&amp;&amp;
this.Lb.set("minWidth",this.Ad.Za()),this.S("popUpGap"),this.rAa(),this.xW=!1;this.uc("popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),{popUpShadow:"shadow",popUpShadowBlurRadius:"shadowBlurRadius",popUpShadowColor:"shadowColor",popUpShadowHorizontalLength:"shadowHorizontalLength",popUpShadowOpacity:"shadowOpacity",popUpShadowSpread:"shadowSpread",popUpShadowVerticalLength:"shadowVerticalLength"},
[this.Lb],!0,!0);this.Wza();g.prototype.bb.call(this)};a.prototype.rAa=function(){if(this.Ad){var f=this.Db(),n=this.Ad.j6a(f),q=this.Ad.Za(),p=this.Ad.Cb(),r=this.B("popUpGap"),t=this.Lb.Rb,u=this.Lb.dc,v=f.Cb()-(n.top+p+r)-5,w=n.top-5-r,x=this.B("horizontalAlign");u&lt;=v?(this.ZA=!0,this.Lb.set("top",n.top+p+r),this.Lb.set("maxHeight",void 0),this.Lb.set("overflow",c.JH)):u&lt;=w?(this.ZA=!1,this.Lb.set("top",n.top-u-r),this.Lb.set("maxHeight",void 0),this.Lb.set("overflow",c.JH)):(v&gt;=w?(this.ZA=!0,
this.Lb.set("top",n.top+p+r),this.Lb.set("maxHeight",v)):(this.ZA=!1,this.Lb.set("top",n.top-w+r),this.Lb.set("maxHeight",w)),this.Lb.set("overflow",c.fq));p=x==m.Ze?n.left+Math.round(.5*(q-t)):x==m.ub?n.left+q-t:n.left;0&gt;p?p=n.left:n.left+t&gt;f.Za()&amp;&amp;(p=n.left+q-t);this.Lb.set("left",p);this.Wza()}};a.prototype.Wza=function(){var f=this.B("popUpBorderRadius");this.Lb.ra({borderTopRadius:this.ZA?0:f,borderBottomRadius:this.ZA?f:0});for(var n=this.Lb.pb(),q=0;q&lt;n.length;q++){var p=0==q,r=q==n.length-
1;n[q].ra({borderTopRadius:!this.ZA&amp;&amp;p?f:0,borderBottomRadius:this.ZA&amp;&amp;r?f:0})}};return a});
define("pL","require lS cI py oR ie lZ ju".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("py"),k=a("oR"),c=a("ie"),h=a("lZ"),g=a("ju");a=e.extend(k,function(){k.call(this);this.Lw=this.Lw.bind(this);this.Re("DropDown");this.PO=!1;this.Ad=this.Pi=null;this.Oya=!0;this.Pf=-1;this.jp=!1});a.prototype.yb=function(){k.prototype.yb.call(this);this.h("prompt","");this.h("label","");this.h("items",[]);this.h("selectedIndex",-1);this.h("arrowBeforeLabel");this.h("arrowWidth",9);this.h("arrowHeight",5);
this.h("arrowGap",5);this.h("borderRadius",5);this.h("borderSize",1);this.h("backgroundColorDirection","vertical");this.h("horizontalAlign","left");this.h("paddingLeft",5);this.h("paddingTop",5);this.h("paddingRight",5);this.h("paddingBottom",5);this.h("fontFamily");this.h("fontSize");this.h("fontColor","#555555");this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowVerticalLength");this.h("textShadowBlurRadius");
this.h("textShadowOpacity");this.h("popUpGap",0);this.h("popUpBorderRadius");this.h("popUpPaddingBottom",2);this.h("popUpPaddingLeft",5);this.h("popUpPaddingRight",5);this.h("popUpPaddingTop",2);this.h("popUpShadow",!0);this.h("popUpShadowBlurRadius");this.h("popUpShadowColor");this.h("popUpShadowHorizontalLength");this.h("popUpShadowOpacity");this.h("popUpShadowSpread");this.h("popUpShadowVerticalLength");this.h("popUpBackgroundColor","#FFFFFF");this.h("popUpBackgroundOpacity");this.h("rollOverPopUpBackgroundColor");
this.h("selectedPopUpBackgroundColor");this.h("popUpFontColor","#555555");this.h("rollOverPopUpFontColor");this.h("selectedPopUpFontColor");this.h("borderColor","#AAAAAA");this.h("arrowColor","#000000");this.h("backgroundColor",["#FAFAFA","#E5E5E5"]);this.h("backgroundColorRatios",[0,1]);this.h("shadow",!1);this.h("rollOverBorderColor");this.h("rollOverArrowColor");this.h("rollOverBackgroundColor");this.h("rollOverBackgroundColorRatios");this.h("rollOverShadow");this.h("pressedBorderColor");this.h("pressedArrowColor");
this.h("pressedBackgroundColor");this.h("pressedBackgroundColorRatios");this.h("pressedShadow");this.h("pressedRollOverBorderColor");this.h("pressedRollOverArrowColor");this.h("pressedRollOverBackgroundColor");this.h("pressedRollOverBackgroundColorRatios");this.h("pressedRollOverShadow")};a.prototype.Hb=function(){k.prototype.Hb.call(this);this.Ad||(this.Ad=new c,this.Ad.bind(m.tc,this.kWa,this),this.Ad.bind(m.OPEN,this.LWa,this),this.Ad.bind(m.pH,this.oZ,this),this.Ad.bind(m.cd,this.jWa,this),this.Ad.set("width",
"100%"),this.Ad.set("height","100%"),this.Ad.set("toolTipDisabled",!0),this.Ya(this.Ad));this.Pi||(this.Pi=new h,this.Pi.bind(m.pH,this.oZ,this),this.Pi.bind(m.gq,this.ZWa,this),this.Db().Ya(this.Pi))};a.prototype.kWa=function(){this.Oya=!0;this.xe()};a.prototype.LWa=function(){this.Ad.open();this.Pi.set("selectedIndex",this.get("selectedIndex"));this.Pi.open(this.Ad);g.kBa(this,[this.Ad.ke()].concat(this.Pi.wDa()));g.hha(this.Lw)};a.prototype.Lw=function(){this.oZ()};a.prototype.oZ=function(){g.r7a([this.Ad.ke()].concat(this.Pi.wDa()))&amp;&amp;
this.Ad.ke().focus();g.r9a(this);g.tka(this.Lw);this.Ad.close();this.Pi.close()};a.prototype.jWa=function(){this.Ad.close();this.Pi.close()};a.prototype.ZWa=function(){this.set("selectedIndex",this.Pi.get("selectedIndex"));this.oZ();this.jp=!0};a.prototype.bb=function(){var b=!1;if(this.L("prompt")||this.L("label"))b=!0,this.S("label"),this.S("prompt");if(this.L("selectedIndex")||this.L("items")){b=!0;var d=this.B("selectedIndex"),f=this.B("items");0&lt;=d&amp;&amp;d&gt;=f.length&amp;&amp;(d=-1);this.set("selectedIndex",
d);this.Pi.set("items",this.B("items"));this.Pi.set("selectedIndex",this.B("selectedIndex"));this.S("items");this.S("selectedIndex");this.jp&amp;&amp;(this.jp=!1,this.trigger(new l(m.ba)))}b&amp;&amp;(b=this.B("label"),b||(d=this.B("selectedIndex"),b=0&gt;d?this.B("prompt"):this.B("items")[d]),this.Ad.set("label",b));this.Oya&amp;&amp;(this.Pi.set("minWidth",this.Ad.Za()),this.Pi.set("buttonWidth",this.Ad.Za()));this.uc("fontFamily fontSize fontColor fontWeight fontStyle tabIndex textDecoration horizontalAlign textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" "),
{},[this.Ad,this.Pi],!0,!0);this.uc("popUpBorderRadius popUpGap popUpPaddingBottom popUpPaddingLeft popUpPaddingRight popUpPaddingTop popUpBackgroundColor popUpBackgroundOpacity rollOverPopUpBackgroundColor selectedPopUpBackgroundColor popUpFontColor rollOverPopUpFontColor selectedPopUpFontColor popUpShadow popUpShadowBlurRadius popUpShadowColor popUpShadowHorizontalLength popUpShadowOpacity popUpShadowSpread popUpShadowVerticalLength".split(" "),{},[this.Pi],!0,!0);this.uc("arrowBeforeLabel arrowWidth arrowHeight arrowColor rollOverArrowColor pressedArrowColor pressedRollOverArrowColor arrowGap shadow shadowBlurRadius shadowColor shadowHorizontalLength shadowOpacity shadowSpread shadowVerticalLength borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize borderColor borderLeftColor borderTopColor borderRightColor borderBottomColor rollOverBorderColor pressedBorderColor pressedRollOverBorderColor backgroundColor backgroundColorRatios backgroundColorDirection backgroundOpacity rollOverBackgroundColor rollOverBackgroundColorRatios rollOverShadow pressedBackgroundColor pressedBackgroundColorRatios pressedShadow pressedRollOverBackgroundColor pressedRollOverBackgroundColorRatios pressedRollOverShadow paddingLeft paddingTop paddingRight paddingBottom".split(" "),
{},[this.Ad],!0,!0);k.prototype.bb.call(this)};return a});
define("ga",["require","z","py","ol","pL"],function(a){var e=a("z"),l=a("py"),m=a("ol"),k=a("pL");a=m.define("DropDown",k,function(){k.call(this);this.Dd=null;this.wta=[];this.bind(l.ba,this.nWa,this)});a.prototype.set=function(c,h){if("playList"==c){if(this.Dd)for(this.Dd.unbind("change",this.Vw,this);this.wta.length;)this.wta.shift().hC();(this.Dd=h)?(e.Ru(this.Dd,"items.label",this.g1,this),e.Ru(this.Dd,"items.media.label",this.g1,this),this.g1(),this.Dd.bind("change",this.Vw,this),this.Vw()):
this.g1()}k.prototype.set.call(this,c,h)};a.prototype.g1=function(){this.Dd?this.set("items",this.Dd.get("items").map(function(c){return c.get("label")||c.get("media")&amp;&amp;c.get("media").get("label")})):this.set("items",[])};a.prototype.Vw=function(){this.set("selectedIndex",this.Dd.get("selectedIndex"))};a.prototype.nWa=function(){this.Dd&amp;&amp;this.Dd.set("selectedIndex",this.get("selectedIndex"))};return a});
define("dA",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("DustPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&amp;&amp;void 0===m&amp;&amp;(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});
define("bG",["require","ol","eG"],function(a){var e=a("ol"),l=a("eG");a=e.define("Effect",l,function(){l.call(this)});a.prototype.cancel=function(){return l.prototype.cancel.apply(this,arguments)};a.prototype.getPosition=function(){return l.prototype.ll.apply(this,arguments)};a.prototype.play=function(){return l.prototype.play.apply(this,arguments)};a.prototype.reverse=function(){return l.prototype.reverse.apply(this,arguments)};a.prototype.stop=function(){return l.prototype.stop.apply(this,arguments)};
return a});
define("bt",["require","lS","eG"],function(a){var e=a("lS"),l=a("eG");a=e.extend(l,function(){l.call(this);this.h8=this.f8=null});a.prototype.jK=function(){l.prototype.jK.call(this);this.f8=[];this.h8=[];this.Uz(function(m){this.f8.push(this.get("alphaFrom",m.kl()));this.h8.push(this.get("alphaTo",m.kl()))});this.P_()};a.prototype.vx=function(){l.prototype.vx.call(this);this.P_()};a.prototype.P_=function(){this.Uz(function(m,k){var c=this.f8[k];k=c+(this.h8[k]-c)*this.ll();!(0&lt;m.kl()&amp;&amp;m.Tb)&amp;&amp;0&lt;k?
(m.Nh(0),m.Ye(!0),m.Nh(k)):0==k?(m.Ye(!1),m.Nh(1)):m.Nh(k)})};a.prototype.hK=function(){this.P_();l.prototype.hK.call(this)};a.prototype.iK=function(){this.P_();l.prototype.iK.call(this)};return a});define("od",["require","lS","bt"],function(a){var e=a("lS"),l=a("bt");return e.extend(l,function(){l.call(this);this.set("alphaFrom",0);this.set("alphaTo",1)})});define("op",["require","ol","od"],function(a){var e=a("ol"),l=a("od");return e.define("FadeInEffect",l,function(){l.call(this)})});
define("oy",["require","lS","bt"],function(a){var e=a("lS"),l=a("bt");return e.extend(l,function(){l.call(this);this.set("alphaFrom",1);this.set("alphaTo",0)})});define("kl",["require","ol","oy"],function(a){var e=a("ol"),l=a("oy");return e.define("FadeOutEffect",l,function(){l.call(this)})});
define("gr","require mw py lu ol lV".split(" "),function(a){var e=a("mw"),l=a("py"),m=a("lu"),k=a("ol"),c=a("lV");a=k.define("Model3DCamera",e,function(){e.call(this);this.set("userInteracting",!1);this.set("moving",!1);this.set("mouseDisabled",!1);this.set("clickTranslationDisabled",!1);this.set("doubleClickDisabled",!1);this.i$=this.OVa=this.g9=this.f9=!1;"distance fov yaw pitch x y z".split(" ").forEach(function(h){this.bind(l.G(h),this.TWa,this,!0)}.bind(this))});a.prototype.ybb=function(){this.pK=
{x:this.get("x"),y:this.get("y"),z:this.get("z"),yaw:this.get("yaw"),pitch:this.get("pitch"),distance:this.get("distance"),fov:this.get("fov")}};a.prototype.setPosition=function(h){void 0!==h.x&amp;&amp;this.set("x",h.x);void 0!==h.y&amp;&amp;this.set("y",h.y);void 0!==h.z&amp;&amp;this.set("z",h.z);void 0!==h.distance&amp;&amp;this.set("distance",h.distance);void 0!==h.yaw&amp;&amp;this.set("yaw",h.yaw);void 0!==h.pitch&amp;&amp;this.set("pitch",h.pitch);void 0!==h.fov&amp;&amp;this.set("fov",h.fov);void 0!==h.easing?this.set("easing",h.easing):this.set("easing",
0)};a.prototype.l_a=function(h){this.pK||(this.pK={});for(var g in h)this.pK[g]=h[g]};a.prototype.N9a=function(){this.pK&amp;&amp;this.setPosition(this.pK)};a.prototype.HIa=function(h){this.Uta!==h&amp;&amp;(this.Uta=h,this.O1a())};a.prototype.O1a=function(){this.set("mouseDisabled",this.OVa||this.Uta)};a.prototype.i$a=function(h){this.f9!==h&amp;&amp;(this.f9=h,this.Yza())};a.prototype.iIa=function(h){this.g9!==h&amp;&amp;(this.g9=h,this.Yza())};a.prototype.Yza=function(){this.set("clickTranslationDisabled",this.f9||this.g9)};
a.prototype.q$a=function(h){this.i$!==h&amp;&amp;(this.i$=h,this.w1a())};a.prototype.w1a=function(){this.set("doubleClickDisabled",this.i$)};a.prototype.TWa=function(){this.Owa||(this.Owa=!0,c.UB(function(){this.Owa=!1;this.S0a()}.bind(this)))};a.prototype.S0a=function(){this.trigger(l.Fl)};a.hdb=100;a.prototype.setStoredPosition=function(h){this.l_a(h)};a.prototype.play=function(){this.set("state",m.PLAYING)};a.prototype.pause=function(){this.set("state",m.Qb)};a.prototype.stop=function(){this.set("state",
m.V)};return a});define("ll",["require","ol","gr"],function(a){var e=a("ol"),l=a("gr");return e.define("FirstPersonModel3DCamera",l,function(){l.call(this);this.set("distance",0)})});
define("cW",["require","mw","py","ol","eG"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("eG");a=m.define("HotspotPanoramaOverlay",e,function(){e.call(this);this.bind(l.jd,this.tj,this,!0);this.bind(l.cd,this.sj,this,!0);this.Ai=[];this.Tb=!1});a.prototype.set=function(c,h){switch(c){case "enabledInCardboard":this.set("enabledInVR",h);break;case "effect":case "rollOverEffect":case "areas":this.jYa(),this.Ai=[]}e.prototype.set.call(this,c,h);switch(c){case "enabledInCardboard":this.set("enabledInVR",
h);break;case "effect":case "rollOverEffect":case "areas":this.DNa()}};a.prototype.DNa=function(){this.get("effect")&amp;&amp;this.get("effect").bind(k.ev,this.Uua,this,!0);this.get("rollOverEffect")&amp;&amp;this.get("rollOverEffect").bind(k.ev,this.fwa,this,!0);this.get("areas",[]).forEach(function(c){c.bind(l.Dc,this.Jua,this,!0);c.bind(l.Jb,this.Iua,this,!0)}.bind(this))};a.prototype.jYa=function(){this.get("effect")&amp;&amp;this.get("effect").unbind(k.ev,this.Uua,this,!0);this.get("rollOverEffect")&amp;&amp;this.get("rollOverEffect").unbind(k.ev,
this.fwa,this,!0);this.get("areas",[]).forEach(function(c){c.unbind(l.Dc,this.Jua,this,!0);c.unbind(l.Jb,this.Iua,this,!0)}.bind(this))};a.prototype.Jua=function(c){0&gt;this.Ai.indexOf(c.source)&amp;&amp;(this.Ai.push(c.source),1==this.Ai.length&amp;&amp;this.NZ())};a.prototype.Iua=function(c){c=this.Ai.indexOf(c.source);0&lt;=c&amp;&amp;(this.Ai.splice(c,1),0==this.Ai.length&amp;&amp;this.Wq())};a.prototype.NZ=function(){var c=this.get("effect"),h=this.get("rollOverEffect");h&amp;&amp;(c&amp;&amp;0&lt;c.ll()?c.reverse():h.play())};a.prototype.Wq=function(){var c=
this.get("rollOverEffect");if(c){var h=this.get("effect");0&lt;c.ll()?c.reverse():h&amp;&amp;h.get("loop")&amp;&amp;h.play()}};a.prototype.Uua=function(){if(0&lt;this.Ai.length){var c=this.get("rollOverEffect");c&amp;&amp;(this.get("effect").stop(),c.play())}};a.prototype.fwa=function(){if(0==this.Ai.length){this.get("rollOverEffect").stop();var c=this.get("effect");c&amp;&amp;c.get("loop")&amp;&amp;c.play()}};a.prototype.tj=function(){var c=this.get("effect");c&amp;&amp;c.play()};a.prototype.sj=function(){var c=this.get("effect");c&amp;&amp;c.stop();(c=this.get("rollOverEffect"))&amp;&amp;
c.stop()};return a});define("nj",["require","ol","cW"],function(a){var e=a("ol"),l=a("cW");return e.define("FlatHotspotPanoramaOverlay",l,function(){l.call(this)})});define("v",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("HotspotPanoramaOverlayArea",e,function(){e.call(this);this.set("displayTooltipInTouchScreens",!0)})});define("fS",["require","ol","v"],function(a){var e=a("ol"),l=a("v");return e.define("FlatHotspotPanoramaOverlayArea",l,function(){l.call(this)})});
define("iv",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("QuadPanoramaOverlayPlaybackPosition",e,function(l,m,k){e.call(this);void 0!==l&amp;&amp;this.set("vertices",l);this.set("opacity",void 0!==m?m:1);void 0!==k&amp;&amp;this.set("timestamp",k)})});
define("en",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("FlatPanoramaOverlayPlaybackPosition",e,function(l,m,k,c,h){e.call(this);void 0!==l&amp;&amp;this.set("yaw",l);void 0!==m&amp;&amp;this.set("pitch",m);void 0!==k&amp;&amp;this.set("roll",k);this.set("opacity",void 0!==c?c:1);void 0!==h&amp;&amp;this.set("timestamp",h)})});
define("gD",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaOverlayPlaybackPosition",e,function(l,m,k,c,h,g,b,d,f){e.call(this);void 0!==l&amp;&amp;this.set("yaw",l);void 0!==m&amp;&amp;this.set("pitch",m);void 0!==k&amp;&amp;this.set("rotationX",k);void 0!==c&amp;&amp;this.set("rotationY",c);void 0!==h&amp;&amp;this.set("roll",h);void 0!==g&amp;&amp;this.set("hfov",g);void 0!==b&amp;&amp;this.set("vfov",b);this.set("opacity",void 0!==d?d:1);void 0!==f&amp;&amp;this.set("timestamp",f)})});
define("cM",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaPoint",e,function(l,m){e.call(this);this.set("yaw",l);this.set("pitch",m)})});
define("U",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PopupPanoramaOverlayPlaybackPosition",e,function(l,m,k,c,h,g,b){e.call(this);void 0!==l&amp;&amp;this.set("yaw",l);void 0!==m&amp;&amp;this.set("pitch",m);void 0!==k&amp;&amp;this.set("rotationX",k);void 0!==c&amp;&amp;this.set("rotationY",c);void 0!==h&amp;&amp;this.set("rotationZ",h);void 0!==g&amp;&amp;this.set("hfov",g);void 0!==b&amp;&amp;this.set("timestamp",b)})});
define("kQ","require mw iv en gD cM U".split(" "),function(a){var e=a("mw"),l=a("iv"),m=a("en"),k=a("gD"),c=a("cM"),h=a("U");return{H5a:function(g){return this.VX(g,this.dSa)},Kia:function(g){return this.VX(g,this.GXa)},f6a:function(g){return this.VX(g,this.NXa)},Lia:function(g){return this.VX(g,this.XXa)},dSa:function(g){return new m(e.prototype.get.call(g,"yaw",0),e.prototype.get.call(g,"pitch",0),e.prototype.get.call(g,"roll",0),e.prototype.get.call(g,"opacity",1),0)},XXa:function(g){var b=e.prototype.get.call(g,
"vertices",[null,null,null,null]);return new l([b[0]||new c(0,0),b[1]||new c(0,0),b[2]||new c(0,0),b[3]||new c(0,0)],e.prototype.get.call(g,"opacity",1),0)},GXa:function(g){function b(d,f){return e.prototype.get.call(g,d,f)}return new k(b("yaw",0),b("pitch",0),b("rotationX",0),b("rotationY",0),b("roll",0),b("hfov",void 0===b("vfov")?45:void 0),b("vfov"),b("opacity",1),0)},NXa:function(g){function b(d,f){return e.prototype.get.call(g,d,f)}return new h(b("yaw",0),b("pitch",0),b("rotationX",0),b("rotationY",
0),b("rotationZ",0),b("hfov",45),0)},VX:function(g,b){var d=e.prototype.get.call(g,"playbackPositions")||[];return 0&lt;d.length?d.slice().sort(function(f,n){return f.get("timestamp")-n.get("timestamp")||d.indexOf(f)-d.indexOf(n)}):[b(g)]}}});
define("jN",["require","mw","py","ol","kQ"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("kQ");a=m.define("FlatHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.sd=void 0});a.prototype.get=function(c,h){switch(c){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=k.H5a(this)),this.sd}return e.prototype.get.call(this,c,h)};a.prototype.set=function(c,h){var g=!1;switch(c){case "opacity":case "distance":case "pitch":case "roll":case "yaw":case "playbackPositions":this.sd=void 0,
g=!0}e.prototype.set.call(this,c,h);g&amp;&amp;"playbackPositions"!=c&amp;&amp;this.trigger(l.G("playbackPositions"))};return a});define("r",["require","ol","jN"],function(a){var e=a("ol"),l=a("jN");return e.define("FlatHotspotPanoramaOverlayImage",l,function(){l.call(this)})});define("ei",["require","ol","jN"],function(a){var e=a("ol"),l=a("jN");return e.define("FlatHotspotPanoramaOverlayMap",l,function(){l.call(this)})});
define("pn",["require","ol","gr"],function(a){var e=a("ol"),l=a("gr");return e.define("FlyOverModel3DCamera",l,function(){l.call(this)})});
define("ny",["require","mw","py","ol","kQ"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("kQ");a=m.define("FramePanoramaOverlay",e,function(){e.call(this);this.sd=void 0});a.prototype.set=function(c,h){var g=!1;switch(c){case "hfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.sd=void 0,g=!0}e.prototype.set.call(this,c,h);g&amp;&amp;"playbackPositions"!=c&amp;&amp;this.trigger(l.G("playbackPositions"))};a.prototype.get=function(c,h){switch(c){case "playbackPositions":return void 0===
this.sd&amp;&amp;(this.sd=k.Kia(this)),this.sd}return e.prototype.get.call(this,c,h)};return a});define("kt",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("Model3DResource",e,function(){e.call(this)});a.prototype.get=function(l,m){switch(l){case "levels":m=[this];break;case "url":for(var k=e.prototype.get.call(this,l),c=this.get("levels"),h=0;c&amp;&amp;h&lt;c.length&amp;&amp;void 0===k;h++){var g=c[h];g!=this&amp;&amp;(k=g.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
define("cy",["require","kt","ol"],function(a){var e=a("kt");return a("ol").define("TDTilesModel3DResource",e,function(){e.call(this)})});
define("mU",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("Model3DResourceLevel",e,function(){e.call(this)});a.VV="mobile";a.prototype.get=function(l,m){switch(l){case "levels":m=[this];break;case "url":for(var k=e.prototype.get.call(this,l),c=this.get("levels"),h=0;c&amp;&amp;h&lt;c.length&amp;&amp;void 0===k;h++){var g=c[h];g!=this&amp;&amp;(k=g.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
define("df",["require","cy","mU","ol"],function(a){var e=a("cy"),l=a("mU");a=a("ol").define("GoogleMaps3DTilesModel3DResource",e,function(){e.call(this)});a.prototype.set=function(c,h){e.prototype.set.call(this,c,h);switch(c){case "latitude":case "longitude":this.yf();break;case "apiKey":this.J1a()}};a.prototype.yf=function(){var c=this.get("latitude"),h=this.get("longitude");if(void 0!==c&amp;&amp;void 0!==h){c=this.$ra(c,h);h=(new THREE.Vector3).crossVectors(c,(new THREE.Vector3).crossVectors(this.$ra(90,
0),c));var g=new THREE.Vector3(0,0,0);h=(new THREE.Matrix4).lookAt(c,g,h).invert();h=(new THREE.Matrix4).makeRotationX(-Math.PI/2).multiply(h);h=(new THREE.Euler).setFromRotationMatrix(h,"XYZ");this.set("rotationOrder",h.order);this.set("rotationX",h.x*k);this.set("rotationY",h.y*k);this.set("rotationZ",h.z*k);this.set("positionX",-c.x);this.set("positionY",-c.y);this.set("positionZ",-c.z)}};a.prototype.$ra=function(c,h){c*=m;h*=m;var g=1/298.257223563;const b=Math.sin(c);c=Math.cos(c);g=2*g-g*g;
const d=6378137/Math.sqrt(1-g*b*b);return new THREE.Vector3((d+0)*c*Math.cos(h),(d+0)*c*Math.sin(h),d*(1-g)*b)};a.prototype.J1a=function(){var c=this.get("apiKey");if(void 0!==c){var h=new l;h.set("url","https://tile.googleapis.com/v1/3dtiles/root.json?key="+c);this.set("levels",[h])}};var m=Math.PI/180,k=180/Math.PI;return a});
define("dw",["require","es","lS","oR","d"],function(a){var e=a("es"),l=a("lS"),m=a("oR");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Fc={layout:a.dz};e.defaults(k.Fc,m.Fc);k.prototype.yb=function(){this.Bo(k.Fc)};return k});define("kq",["require","ol","dw"],function(a){var e=a("ol"),l=a("dw");return e.define("GridContainer",l,function(){l.call(this)})});
define("jW","require es jquery.mod cI gE py ix mS hi bA lS".split(" "),function(a){function e(){}function l(q){this.k9a=q;this.items=[];this.priority=0}var m=a("es");a("jquery.mod");var k=a("cI"),c=a("gE"),h=a("py"),g=a("ix"),b=a("mS"),d=a("hi"),f=a("bA"),n=a("lS").extend(c,function(q){c.call(this);this.url=q;this.ska=this.priority=0;this.status=n.w7;this.Py=null});n.prototype.Eja=function(q){this.ska+=q};n.prototype.QL=function(q){this.priority+=q};n.prototype.start=function(){this.status=n.TV;d.z5(this.url)?
this.nA():this.Io=f.add(this.url,g.V5,this.VYa.bind(this),this.Lpa.bind(this))};n.prototype.VYa=function(){this.Py=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");this.Py.open("GET",this.url);this.Py.onreadystatechange=function(){3&lt;this.Py.readyState&amp;&amp;this.nA()}.bind(this);this.Py.send()};n.prototype.Lpa=function(){this.Py&amp;&amp;(this.Py.abort(),this.Py=null)};n.prototype.stop=function(){this.status==n.TV&amp;&amp;(this.status=n.w7,this.Lpa(),this.Io&amp;&amp;this.Io.cancel())};n.prototype.nA=
function(){this.Py=null;this.Io&amp;&amp;(this.Io.loaded(),this.Io=null);this.status=n.IMa;this.trigger(new k(h.ea))};n.w7="not loaded";n.TV="loading";n.IMa="loaded";l.prototype.e3a=function(q){q.forEach(function(p){0&gt;this.items.indexOf(p)&amp;&amp;(this.items.push(p),p.QL(this.priority),p.Eja(1))}.bind(this))};l.prototype.w9a=function(q){var p=this.items;this.items=[];p.forEach(function(r){0&gt;q.indexOf(r)?this.items.push(r):(r.QL(-this.priority),r.Eja(-1))}.bind(this))};l.prototype.m9a=function(){this.items.forEach(function(q){q.QL(-this.priority);
q.Eja(-1)}.bind(this));this.items=[];this.priority=0};l.prototype.QL=function(q){this.priority+=q;this.items.forEach(function(p){p.QL(q)})};e.Bh=[];e.rxa=[];e.mSa=0;e.jBa=function(q,p){this.K_(q).e3a(p.map(function(r){return this.Aa(r)}.bind(this)));this.z0();this.oa()};e.F9a=function(q,p){this.K_(q).w9a(p.map(function(r){return this.Aa(r)}.bind(this)));this.z0();this.oa()};e.n9a=function(q){this.K_(q).m9a();this.z0();this.oa()};e.R3=function(q,p){this.K_(q).QL(p);this.z0();this.oa()};e.z0=function(){this.Bh.sort(function(q,
p){return p.priority-q.priority})};e.oa=function(q){if(this.enabled()&amp;&amp;(q||!this.Wt))if(q){this.Wt&amp;&amp;clearTimeout(this.Wt);this.Wt=null;q=this.lTa();var p=this.mTa();m(q).difference(p).forEach(function(r){r.stop()});m(p).difference(q).forEach(function(r){r.start()})}else this.Wt=setTimeout(function(){this.Wt=null;this.oa(!0)}.bind(this),1E3)};e.Wt=null;e.lTa=function(){return this.Bh.filter(function(q){return q.status==n.TV})};e.mTa=function(){for(var q=this.nTa(),p=[],r=0;r&lt;this.Bh.length&amp;&amp;p.length&lt;
q;r++){var t=this.Bh[r];0&lt;t.ska&amp;&amp;(t.status==n.w7||t.status==n.TV)&amp;&amp;p.push(t)}return p};e.nTa=function(){return 0&lt;this.mSa?0:5};e.K_=function(q){var p=m(this.rxa).find(function(r){return r.k9a==q});p||(p=new l(q),this.rxa.push(p));return p};e.Aa=function(q){var p=m(this.Bh).find(function(r){return r.url==q});p||(p=new n(q),p.bind(h.ea,this.oa,this),this.Bh.push(p));return p};e.enabled=function(q){if(void 0===q)return e.jRa||e.kRa?!1:void 0!==e.v$?e.v$:e.W;e.W=q};e.W=!0;e.qla=function(q){e.v$=q.get(TDV.PlayerSettings.BACKGROUND_PRELOAD_ENABLED)};
e.v$=void 0;e.kRa=b.lg("disable-background-preload",!1);e.jRa=!1;return e});define("ez",["require","lS","mw","ol","jW"],function(a){var e=a("lS"),l=a("mw"),m=a("ol"),k=a("jW");a=m.define("Media",l,function(){l.call(this);this.rga=e.Ap(this.rga,this)});a.prototype.rga=function(){k.jBa(this,this.tu())};a.prototype.tu=function(){return[]};a.prototype.B9a=function(){k.n9a(this)};a.prototype.set=function(c,h){l.prototype.set.call(this,c,h);this.rga()};return a});
define("fo",["require","ol","ez"],function(a){var e=a("ol"),l=a("ez");a=e.define("Panorama",l,function(){l.call(this);this.IY=this.kK=void 0;this.set("minFaceSize",void 0)});a.prototype.get=function(m,k){switch(m){case "overlays":return this.raa();case "frames":return this.nsa();case "partial":if(359.9&gt;this.get("hfov"))return!0}return l.prototype.get.call(this,m,k)};a.prototype.set=function(m,k){switch(m){case "cardboardMenu":this.set("vrMenu",k)}l.prototype.set.call(this,m,k)};a.prototype.raa=function(){var m=
l.prototype.get.call(this,"overlays");m||(m=[]);return this.bfa(m)};a.prototype.bfa=function(m){if(void 0===this.kK||this.IY!=m){var k=function(h){return e.Ja("PopupPanoramaOverlay",h)},c=function(h){return e.Ja("LensFlarePanoramaOverlay",h)};this.IY=m;this.kK=[].concat(m.filter(function(h){return!(k(h)||c(h))}),m.filter(c),m.filter(k))}return this.kK};a.prototype.pEa=function(){return 0&lt;this.get("overlays").filter(function(m){return e.Ja("TripodCapPanoramaOverlay",m)}).length};a.prototype.fEa=function(){return 0&lt;
this.get("overlays").filter(function(m){return e.Ja("CeilingCapPanoramaOverlay",m)}).length};a.prototype.FEa=function(){if(!this.aja())return!1;var m=this.get("pitch",0),k=this.get("vfov",180);if(179.9&lt;=k)return!0;var c=this.fEa()?90:m+.5*k;m=this.pEa()?-90:m-.5*k;return 179.9&lt;=c-m?!0:!1};a.prototype.aja=function(){return 359.9&lt;=this.get("hfov")&amp;&amp;!this.get("partial")};a.prototype.Fm=function(){var m=this.nsa();return 0&lt;m.length&amp;&amp;m[0].Fm()};a.prototype.$S=function(){return 0};a.prototype.nsa=function(){var m=
l.prototype.get.call(this,"frames",[]);m.forEach(function(k){k.u3a(this)}.bind(this));return m};return a});define("nT",["require","ol","fo"],function(a){var e=a("ol"),l=a("fo");a=e.define("HDRPanorama",l,function(){l.call(this)});a.prototype.$S=function(){var m=this.get("frames")||[];return Math.floor((m.length-1)/2)};return a});define("bb",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("HorizonGridModel3DObject",l,function(){l.call(this)})});
define("mB",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("HotspotMapOverlayArea",e,function(){e.call(this)})});
define("mF",["require","mw","ol"],function(a){var e=a("mw"),l=a("ol").define("ImageResourceLevel",e,function(){e.call(this)});l.prototype.get=function(m,k){switch(m){case "tags":return(m=e.prototype.get.call(this,m))||(m=[]),Array.isArray(m)||(m=[m]),0&gt;m.indexOf(l.Ps)&amp;&amp;e.prototype.get.call(this,"grayscale")&amp;&amp;(m=m.concat([l.Ps])),m}return e.prototype.get.call(this,m,k)};l.prototype.oEa=function(m){return 0&lt;=this.get("tags").indexOf(m)};l.Ps="preload";l.VV="mobile";l.Sna="ipadpro";l.WV="mobilevr";l.B7=
"mobilevr2gen";l.C7="ondemand";return l});
define("gw",["require","mF","w","mS"],function(a){var e=a("mF"),l=a("w"),m=a("mS");return{Sr:function(k){return this.mk(k,"load")},aG:function(k){return this.mk(k,"preload")},xL:function(k){return this.Sr(k)!=this.aG(k)},mk:function(k,c){k=k.get("levels")||[];var h=this.wSa(k);h=this.JTa(c,h);k=this.YRa(k,c);(c=this.vsa(k,h[0],h[1],this.ITa(c)))||(c=this.vsa(k,h[0],h[1],void 0));return c},YRa:function(k,c){"preload"==c?k=this.mO(k,e.Ps):"load"==c&amp;&amp;(k=this.XRa(k,e.Ps));l.hy()&amp;&amp;(k=this.mO(k,e.Sna));
if(l.z3()||l.A3())k=this.mO(k,e.B7);l.Sf()&amp;&amp;(k=this.mO(k,e.WV));l.qb()&amp;&amp;(k=this.mO(k,e.VV));return k},wSa:function(k){if(0==k.length)return 1;k.sort(function(c,h){return h.get("width")-c.get("width")});return k[0].get("width")/k[0].get("height")},JTa:function(k,c){if("preload"==k)return[0,0];k=1E4;this.fSa()||(l.Sf()?k=2048:l.hy()?k=2048:l.qb()&amp;&amp;(k=2048));return 1&gt;c?[k*c,k]:[k,k/c]},ITa:function(k){if("load"==k)return!1},fSa:function(){return l.hy()&amp;&amp;m.lg("recent_ipad_use_max_res",!1)},mO:function(k,
c){var h=k.filter(function(g){return g.oEa(c)});0==h.length&amp;&amp;(h=k);return h},XRa:function(k,c){var h=k.filter(function(g){return!g.oEa(c)});0==h.length&amp;&amp;(h=k);return h},vsa:function(k,c,h,g){function b(d){return Math.abs(d.get("width")*d.get("height")-c*h)}k=k.filter(function(d){return void 0!==g&amp;&amp;g!=d.get("grayscale",!1)?!1:!0});if(0==k.length)return null;k.sort(function(d,f){return b(d)-b(f)});return k[0]}}});
define("L",["require","mw","ol","gw"],function(a){var e=a("mw"),l=a("ol"),m=a("gw");a=l.define("HotspotMapOverlayImageBase",e,function(){e.call(this)});a.prototype.Sr=function(){return this.get("image")?m.Sr(this.get("image")):null};a.prototype.aG=function(){return this.get("image")?m.aG(this.get("image")):null};return a});define("lT",["require","lS","cI"],function(a){var e=a("lS"),l=a("cI");return e.extend(l,function(m,k){l.call(this,m);this.Tg=k})});
define("cA",["require","lS","mw","py","lT"],function(a){var e=a("lS"),l=a("mw"),m=a("py"),k=a("lT");a=e.extend(l,function(){l.call(this);this.YR=[];this.kg=void 0;this.C="initial"});a.prototype.vu=function(){return this.YR};a.prototype.qM=function(c){this.YR!=c&amp;&amp;(this.YR=c,this.nA=this.kg=void 0)};a.prototype.X$a=function(c){this.kg!==c&amp;&amp;(this.C="loading",this.kg=c,this.trigger(new k(m.kc,this.kg)))};a.prototype.EU=function(){"loaded"!==this.C&amp;&amp;(this.C="loaded",this.trigger(m.ea))};a.prototype.s$a=
function(){"loaded"!==this.C&amp;&amp;(this.C="error",this.trigger(m.xc))};return a});define("dG",["require","lS","cA"],function(a){var e=a("lS"),l=a("cA");a=e.extend(l,function(m){l.call(this);this.pf=m;this.v=void 0});a.prototype.getType=function(){return this.pf};a.prototype.N6a=function(m){return void 0!==this.v&amp;&amp;this.v===m.v};a.boa="map";a.coa="overlay";return a});
define("kw",["require","lS","dG"],function(a){var e=a("lS"),l=a("dG");a=e.extend(l,function(m,k,c){l.call(this,l.coa);this.vXa=m;this.Na=k;this.Qa=c});a.prototype.getX=function(){return this.Na};a.prototype.getY=function(){return this.Qa};a.$na="image";a.Zna="fov";return a});
define("mz",["require","lS","kw"],function(a){var e=a("lS"),l=a("kw");a=e.extend(l,function(m,k,c,h,g,b,d,f,n,q,p,r){l.call(this,l.$na,c,h);this.v=m;this.Wd=k;this.Pxa=g;this.Iw=b;this.Jw=d;this.sa=f;this.wa=n;this.Of=q;this.Vl=p;this.xm=r;this.YR=[k]});a.prototype.Zi=function(){return this.Wd};a.prototype.Fe=function(){return this.sa};a.prototype.Ue=function(){return this.wa};return a});
define("hC",["require","ol","L","gw","mz"],function(a){var e=a("ol"),l=a("L"),m=a("gw"),k=a("mz");a=e.define("HotspotMapOverlayImage",l,function(){l.call(this);this.Ew=void 0});a.prototype.getItem=function(){return this.nk()};a.prototype.nk=function(){void 0===this.Ew&amp;&amp;(this.Ew=this.i2());return this.Ew};a.prototype.i2=function(c){var h=this.get("image");return h?(h=m.Sr(h),new k(this,h.get("url"),this.get("x"),this.get("y"),c,this.get("offsetX"),this.get("offsetY"),this.get("width"),this.get("height"),
this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"))):null};return a});define("O",["require","ol","L"],function(a){var e=a("ol"),l=a("L");return e.define("HotspotMapOverlayMap",l,function(){l.call(this)})});
define("gC",["require","mw","py","ol","kQ"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("kQ");a=m.define("HotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.sd=void 0});a.prototype.get=function(c,h){switch(c){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=k.Kia(this)),this.sd}return e.prototype.get.call(this,c,h)};a.prototype.set=function(c,h){var g=!1;switch(c){case "distance":case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "roll":case "yaw":case "opacity":case "playbackPositions":this.sd=
void 0,g=!0}e.prototype.set.call(this,c,h);g&amp;&amp;"playbackPositions"!=c&amp;&amp;this.trigger(l.G("playbackPositions"))};return a});define("mh",["require","ol","gC"],function(a){var e=a("ol"),l=a("gC");return e.define("HotspotPanoramaOverlayImage",l,function(){l.call(this)})});define("Y",["require","ol","gC"],function(a){var e=a("ol"),l=a("gC");return e.define("HotspotPanoramaOverlayMap",l,function(){l.call(this)})});
define("lU",["require"],function(){function a(f){var n={};f=f.split(",");for(var q=0;q&lt;f.length;q++)n[f[q]]=!0;return n}var e=/^&lt;([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)((?:\s+[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^&gt;\s]+))?)*)\s*(\/?)&gt;/,l=/^&lt;\/([-A-Za-z0-9_]+:?[-A-Za-z0-9_]*)[^&gt;]*&gt;/,m=/([-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^&gt;\s]+)))?/g,k=a("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"),c=a("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"),
h=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"),g=a("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),b=a("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),d=a("script,style");return function(f,n){function q(w,x,y,z){x=x.toLowerCase();if(c[x])for(;r.last()&amp;&amp;h[r.last()];)p("",r.last());g[x]&amp;&amp;
r.last()==x&amp;&amp;p("",x);(z=k[x]||!!z)||r.push(x);if(n.start){var B=[];y.replace(m,function(D,I,A,E,J){D=A?A:E?E:J?J:b[I]?I:"";B.push({name:I,value:D,hia:D.replace(/(^|[^\\])"/g,'$1\\"')})});n.start&amp;&amp;n.start(x,B,z)}}function p(w,x){if(x)for(x=x.toLowerCase(),w=r.length-1;0&lt;=w&amp;&amp;r[w]!=x;w--);else w=0;if(0&lt;=w){for(x=r.length-1;x&gt;=w;x--)n.end&amp;&amp;n.end(r[x]);r.length=w}}var r=[],t=f;for(r.last=function(){return this[this.length-1]};f;){var u=!0;if(r.last()&amp;&amp;d[r.last()])f=f.replace(new RegExp("(.*?)&lt;/"+r.last()+
"[^&gt;]*&gt;"),function(w,x){x=x.replace(/\x3c!--(.*?)--\x3e/g,"$1").replace(/&lt;!\[CDATA\[(.*?)]]\x3e/g,"$1");n.xS&amp;&amp;n.xS(x);return""}),p("",r.last());else{if(0==f.indexOf("\x3c!--")){var v=f.indexOf("--\x3e");0&lt;=v&amp;&amp;(n.b4a&amp;&amp;n.b4a(f.substring(4,v)),f=f.substring(v+3),u=!1)}else if(0==f.indexOf("&lt;/")){if(v=f.match(l))f=f.substring(v[0].length),v[0].replace(l,p),u=!1}else 0==f.indexOf("&lt;")&amp;&amp;(v=f.match(e))&amp;&amp;(f=f.substring(v[0].length),v[0].replace(e,q),u=!1);u&amp;&amp;(v=f.indexOf("&lt;"),u=0&gt;v?f:f.substring(0,v),f=0&gt;
v?"":f.substring(v),n.xS&amp;&amp;n.xS(u))}if(f==t)throw"Parse Error: "+f;t=f}p()}});
define("fK","require jquery.mod es lS py cI gE w lU".split(" "),function(a){var e=a("jquery.mod");a("es");var l=a("lS"),m=a("py"),k=a("cI"),c=a("gE"),h=a("w"),g=a("lU"),b=l.extend(c,function(d){c.call(this);this.If=e(d);this.QQ=[];this.Oz=null});b.prototype.j7a=function(d){d&amp;&amp;0&lt;=d.toLowerCase().indexOf("&lt;script")?h.SK()==h.MM?this.IUa(d):this.HUa(d):this.GUa(d)};b.prototype.GUa=function(d){this.If.empty();d&amp;&amp;this.If.append(d);this.Fza()};b.prototype.IUa=function(d){this.If.empty();var f=this.If,n=
null,q=[],p=null;new g(d,{start:function(r,t,u){if("script"==r){u=void 0;for(var v=0;v&lt;t.length&amp;&amp;void 0===u;v++){var w=t[v];"src"==w.name&amp;&amp;(u=w.value)}p={parent:f,previousSibling:n,src:u,content:""}}else{var x={};for(v=0;v&lt;t.length;v++)w=t[v],x[w.name]=w.value;t=e("&lt;"+r+"/&gt;");t.attr(x);f.append(t);u?n=t:(f=t,n=null)}},xS:function(r){p?p.content+=r:f.append(r)},end:function(r){"script"==r?(q.push(p),p=null):(n=f,f=f.parent())}});this.QQ=q;this.NY()};b.prototype.HUa=function(d){function f(){q++;return n+
q}this.If.empty();var n="fragment_"+l.i9a(6)+"_",q=0,p=f(),r=[p],t=void 0,u=[],v=null,w="";new g(d,{start:function(z,B,D){if("script"==z){D=void 0;for(z=0;z&lt;B.length&amp;&amp;void 0===D;z++){var I=B[z];"src"==I.name&amp;&amp;(D=I.value)}v={parentClsName:r[r.length-1],previousSiblingClsName:t,src:D,content:""}}else{w+="&lt;"+z;var A=f(),E=!1;for(z=0;z&lt;B.length;z++)I=B[z],"class"==I.name&amp;&amp;(I.hia+=" "+A,E=!0),w+=" "+I.name+'="'+I.hia+'"';E||(w+=' class="'+A+'"');D?(w+="/&gt;",t=A):(w+="&gt;",r.push(A),t=void 0)}},xS:function(z){v?
v.content+=z:w+=z},end:function(z){"script"==z?(u.push(v),v=null):(t=r[r.length-1],r.pop())}});this.If.get(0).innerHTML=w;this.If.addClass(p);for(d=0;d&lt;u.length;d++){var x=u[d],y=x.parentClsName;delete x.parentClsName;t=x.previousSiblingClsName;delete x.previousSiblingClsName;x.parent=e("."+y);x.previousSibling=t?e("."+t):null}this.If.removeClass(p);this.QQ=u;this.NY()};b.prototype.NY=function(){if(!this.Oz)if(0&lt;this.QQ.length){this.Oz=this.QQ[0];this.QQ.splice(0,1);var d=this.Oz.src;if(d){var f=
this;b.wVa(d,function(){f.Ita()},function(){f.DVa()})}else{var n=this.Oz.parent;d=this.Oz.previousSibling;var q=d?d.next():n.children(":first");d=document.write;document.write=q.length?function(p){q.before(p)}:function(p){n.append(p)};e.globalEval(this.Oz.content);document.write=d;this.Ita()}}else this.Fza()};b.prototype.DVa=function(){this.Oz=null;this.NY()};b.prototype.Ita=function(){this.Oz=null;this.NY()};b.prototype.Fza=function(){this.trigger(new k(m.Gb))};b.Gta={};b.wVa=function(d,f,n){b.Gta[d]?
f.call(window):e.ajax({url:d,async:!1,dataType:"script",error:n,success:function(){b.Gta[d]=!0;f.call(window)}})};return b});
define("nq",["require","lS","py","cI","gE"],function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE");a=e.extend(k,function(c,h){k.call(this);this.RUa=c;this.W=h;this.yj=null});a.prototype.bind=function(){var c=k.prototype.bind.apply(this,arguments);this.UR();return c};a.prototype.unbind=function(){var c=k.prototype.unbind.apply(this,arguments);this.UR();return c};a.prototype.start=function(){this.W=!0;this.UR()};a.prototype.stop=function(){this.W=!1;this.UR()};a.prototype.fQ=function(){this.trigger(new m(l.Ke))};
a.prototype.UR=function(){if(this.W&amp;&amp;this.h3(l.Ke)){if(null==this.yj){var c=this;this.yj=setTimeout(function(){c.yj=null;c.fQ();c.UR()},this.RUa)}}else null!=this.yj&amp;&amp;(clearTimeout(this.yj),this.yj=null)};return a});
define("lR","require jquery.mod es lS py iM nC e fK hS nq".split(" "),function(a){var e=a("jquery.mod"),l=a("es"),m=a("lS"),k=a("py"),c=a("iM"),h=a("nC"),g=a("e"),b=a("fK"),d=a("hS");a=a("nq");var f=m.extend(g,function(){g.call(this);this.Re("HTML");this.sD=f.bW;this.axa=this.bxa=0;this.Pya=(new Date).getTime();this.qX=this.Sj=null;this.WH=this.WH.bind(this);this.n8=[]});f.prototype.yb=function(){g.prototype.yb.call(this);this.h("content");this.h("horizontalAlign",h.ab);this.h("verticalAlign",h.se);
this.h("fontFamily");this.h("fontSize");this.h("fontColor");this.h("fontWeight");this.h("fontStyle");this.h("textAlign");this.h("textDecoration");this.h("textShadowBlurRadius",3);this.h("textShadowColor","#000000");this.h("textShadowHorizontalLength",0);this.h("textShadowOpacity",0);this.h("textShadowVerticalLength",0)};f.prototype.Ht=function(q){this.mb&amp;&amp;c.get(this.mb).p9a(this.WH);g.prototype.Ht.call(this,q);this.mb&amp;&amp;(c.get(this.mb).T2a(this.WH),c.get(this.mb).VK(this.WH))};f.prototype.Hb=function(){g.prototype.Hb.call(this);
if(!this.qX){this.Sj=document.createElement("div");this.qX=e(this.Sj);this.d$({position:"absolute",display:"inline",left:0,top:0,"box-sizing":"border-box"});var q=this.Yb();q.nM(!1);q.append(this.qX);this.Ssa=new b(this.qX);this.Ssa.bind(k.Gb,this.vUa,this,!0);this.bind(k.tc,this.Tsa,this)}};f.prototype.bb=function(){var q={},p=!1;this.L("visible")&amp;&amp;(p=!0);this.L("content")&amp;&amp;(p=this.B("content"),this.Ssa.j7a(p),this.S("content"),p=!0);if(this.L("width")||this.L("height"))p=!0;this.L("fontFamily")&amp;&amp;
(p=this.B("fontFamily"),l(p).isString()||(p=""),q.fontFamily=d.Vx(p),this.S("fontFamily"),p=!0);this.L("fontSize")&amp;&amp;(p=this.B("fontSize"),l(p).isNumber()?p+="px":l(p).isString()||(p=""),q.fontSize=p,this.S("fontSize"),p=!0);this.L("fontColor")&amp;&amp;(p=this.B("fontColor"),l(p).isString()||(p=""),q.color=p,this.S("fontColor"),p=!0);if(this.L("fontWeight")){p=this.B("fontWeight");switch(p){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:p="normal"}q.fontWeight=p;this.S("fontWeight");p=!0}if(this.L("fontStyle")){p=this.B("fontStyle");switch(p){case "italic":case "normal":break;default:p="normal"}q.fontStyle=p;this.S("fontStyle");p=!0}if(this.L("textDecoration")){p=this.B("textDecoration");switch(p){case "underline":case "overline":case "line-through":case "none":break;default:p="none"}q.textDecoration=p;this.S("textDecoration");p=!0}if(this.L("textAlign")){p=this.B("textAlign");switch(p){case "left":case "right":case "center":case "justify":break;
default:p=""}q["text-align"]=p;this.S("textAlign");p=!0}var r=["textShadowColor","textShadowHorizontalLength","textShadowVerticalLength","textShadowBlurRadius","textShadowOpacity"];if(l(r).any(function(u){return this.L(u)},this)){var t={};l(r).each(function(u){t[u]=this.B(u);this.S(u)},this);q["-moz-text-shadow"]=q["-webkit-text-shadow"]=q["text-shadow"]=[t.textShadowHorizontalLength+"px",t.textShadowVerticalLength+"px",t.textShadowBlurRadius+"px","rgba("+parseInt("0x"+t.textShadowColor.substr(1,
2))+", "+parseInt("0x"+t.textShadowColor.substr(3,2))+", "+parseInt("0x"+t.textShadowColor.substr(5,2))+", "+t.textShadowOpacity+")"].join(" ");r=0==t.textShadowVerticalLength&amp;&amp;0==this.B("textShadowHorizontalLength")?135:45*Math.round(4*Math.atan2(t.textShadowHorizontalLength,-t.textShadowVerticalLength)/Math.PI);q.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+("00"+(255*t.textShadowOpacity).toString(16)).slice(-2)+t.textShadowColor.substr(1,6)+",direction="+r+")"}l(["paddingTop","paddingRight",
"paddingBottom","paddingLeft"]).any(function(u){return this.L(u)},this)&amp;&amp;(p=!0);this.d$(q);g.prototype.bb.call(this);p&amp;&amp;this.mua()};f.prototype.mua=function(){this.Tsa();this.fc();this.B("visible")&amp;&amp;this.B("content")?this.UQ(f.moa):this.UQ(f.bW)};f.prototype.$A=function(q,p){for(p=q.target;p&amp;&amp;"A"!=p.tagName&amp;&amp;"BUTTON"!=p.tagName;)p=p.parentElement;p=!p;g.prototype.$A.call(this,q,p)};f.prototype.Hw=function(){g.prototype.Hw.call(this);var q=this.Yb();this.cm=this.Sj.clientWidth+q.sL()+q.tL();this.bm=
this.Sj.clientHeight+q.uL()+q.oL()};f.prototype.uya=function(q){this.taa()!=q&amp;&amp;(this.Sj.style.paddingLeft=q+"px",this.fc())};f.prototype.taa=function(){return parseInt(this.Sj.style.paddingLeft)||0};f.prototype.wya=function(q){this.vaa()!=q&amp;&amp;(this.Sj.style.paddingTop=q+"px",this.fc())};f.prototype.vaa=function(){return parseInt(this.Sj.style.paddingTop)||0};f.prototype.vya=function(q){this.uaa!=q&amp;&amp;(this.Sj.style.paddingRight=q+"px",this.fc())};f.prototype.uaa=function(){return parseInt(this.Sj.style.paddingRight)||
0};f.prototype.tya=function(q){this.saa()!=q&amp;&amp;(this.Sj.style.paddingBottom=q+"px",this.fc())};f.prototype.saa=function(){return parseInt(this.Sj.style.paddingBottom)||0};f.prototype.vUa=function(){this.n8=Array.prototype.slice.call(this.Sj.querySelectorAll("*[style]")).map(function(q){var p={};p.P4a=q;p.style=q.getAttribute("style");return p}).filter(function(q){return n.test(q.style)}).map(function(q){for(var p=q.style,r=[];;){var t=n.exec(p);if(t)r.push(function(u){return function(){return u}}(p.substr(0,
t.index+1))),r.push(function(u,v){switch(v){case "vw":return function(w){return Math.round(w*u)+"px"};case "vh":return function(w,x){return Math.round(x*u)+"px"};case "vmin":return function(w,x,y){return Math.round(y*u)+"px"};case "vmax":return function(w,x,y){return Math.round(y*u)+"px"}}}(parseFloat(t[1]),t[3].toLowerCase())),p=p.substr(t.index+t[0].length);else return r.push(function(u){return function(){return u}}(p)),q.functions=r,q}});this.mb&amp;&amp;c.get(this.mb).VK(this.WH)};f.prototype.WH=function(q,
p,r,t){0!=this.n8.length&amp;&amp;(this.n8.forEach(function(u){var v=u.functions.map(function(w){return w(q,p,r,t)}).join("");u.P4a.setAttribute("style",v)}),this.mua())};f.prototype.Tsa=function(){var q={width:"auto",height:"auto"},p=this.Yb();if(!this.Gaa()){this.cm!=this.sa&amp;&amp;this.fc();var r=this.sa-(p.sL()+p.tL());0&lt;r&amp;&amp;(q.width=r+"px")}this.Nsa()||(this.bm!=this.wa&amp;&amp;this.fc(),p=this.wa-(p.uL()+p.oL()),0&lt;p&amp;&amp;(q.height=p+"px"));this.d$(q)};f.prototype.Oua=function(){var q=this.Sj.clientWidth,p=this.Sj.clientHeight;
this.bxa!=q||this.axa!=p?(this.bxa=q,this.axa=p,this.fc(),this.UQ(f.moa)):(q=(new Date).getTime()-this.Pya,q&gt;f.tNa?this.UQ(f.gNa):q&gt;f.sNa&amp;&amp;this.UQ(f.fNa))};f.prototype.GYa=function(){this.Pya=(new Date).getTime()};f.prototype.UQ=function(q){this.sD==f.Vcb&amp;&amp;this.GYa();this.sD!=q&amp;&amp;(this.sD!=f.bW&amp;&amp;f.Wpa[this.sD].unbind(k.Ke,this.Oua,this),this.sD=q,this.sD!=f.bW&amp;&amp;f.Wpa[this.sD].bind(k.Ke,this.Oua,this,!0))};f.prototype.d$=function(q){var p=this.Sj.style,r;for(r in q)p[r]=q[r]};var n=/[^\d]((\d*\.)?\d+)\s*(vmin|vmax|vw|vh)/i;
f.bW="stopped";f.gNa="slow";f.fNa="normal";f.moa="fast";f.tNa=3E4;f.sNa=5E3;f.Wpa={slow:new a(2E3,!0),normal:new a(500,!0),fast:new a(100,!0)};return f});define("kK",["require","lR","ol"],function(a){var e=a("lR");return a("ol").define("HTML",e,function(){e.call(this)})});define("b",["require","es","lS","oR","d"],function(a){var e=a("es"),l=a("lS"),m=a("oR");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Fc={layout:a.mV};e.defaults(k.Fc,m.Fc);k.prototype.yb=function(){this.Bo(k.Fc)};return k});
define("jq",["require","lS","il","b","lR"],function(a){var e=a("lS"),l=a("il"),m=a("b"),k=a("lR");a=e.extend(m,function(){m.call(this);this.eA=null;this.set("contentOpaque",!0)});a.prototype.yb=function(){m.prototype.yb.call(this);this.h("overflow",l.fq);this.h("html")};a.prototype.Hb=function(){m.prototype.Hb.call(this);null==this.eA&amp;&amp;(this.eA=new k,this.eA.ra({left:0,toolTipDisabled:!0}),this.Ya(this.eA))};a.prototype.bb=function(){this.L("html")&amp;&amp;(this.eA.set("content",this.B("html")),this.S("html"));
this.uc(["paddingLeft","paddingTop","paddingRight","paddingBottom"],{},[this.eA],!0,!0);this.uc(["cursor"],{},[this.eA],!0,!1);m.prototype.bb.call(this);this.eA.set("width",this.Gaa()?void 0:"100%")};return a});define("bC",["require","jq","ol"],function(a){var e=a("jq");return a("ol").define("HTMLText",e,function(){e.call(this)})});
define("mv","require jquery.mod lS py cI mS hL bh mK hg ep nh".split(" "),function(a){function e(r,t,u){return function(v){var w="mouse"==t?this.Zz(v):this.VD(v);this.nta(w)?r.call(this,v):"release"==u?r.call(this,v):this.nSa(w,v)}}var l=a("jquery.mod"),m=a("lS"),k=a("py"),c=a("cI"),h=a("mS"),g=a("hL"),b=a("bh"),d=a("mK"),f=a("hg"),n=a("ep"),q=a("nh"),p=h.Dj("debug");a=m.extend(q,function(){this.Re("Button");q.call(this,3);this.set("ariaRole","button");this.set("autoRolledOver",!0);this.set("autoPressed",
!0);this.set("cursor",b.Le);this.set("scaleMode",d.Th);this.i9=document.createElement("canvas");this.i9.width=1;this.i9.height=1;this.j9=this.i9.getContext("2d");this.j9.globalCompositeOperation="copy";this.N$=!1;this.bind(k.Jb,this.zUa,this)});a.prototype.yb=function(){q.prototype.yb.call(this);this.h("buttonGroup");this.h("mode",n.Me);this.h("pressed");this.h("iconURL");this.h("transparencyActive");this.A("rollOverOpacity",f.aa,"opacity");this.A("rollOverIconURL",f.aa,"iconURL");this.A("pressedOpacity",
f.Ab,"opacity");this.A("pressedIconURL",f.Ab,"iconURL");this.A("pressedRollOverOpacity",f.jc,"opacity");this.A("pressedRollOverIconURL",f.jc,"iconURL")};a.prototype.V$=e(q.prototype.V$,"touch","capture");a.prototype.Hra=e(q.prototype.rSa,"touch");a.prototype.Jra=e(q.prototype.rSa,"touch","release");a.prototype.Gfa=e(q.prototype.Gfa,"touch","capture");a.prototype.Ffa=e(q.prototype.Ffa,"touch");a.prototype.$A=e(q.prototype.$A,"touch","release");a.prototype.mca=e(q.prototype.mca,"mouse","capture");a.prototype.qca=
function(r){var t=this.Zz(r);if(this.nta(t)||this.N$)q.prototype.qca.call(this,r),q.prototype.set.call(this,"cursor",this.Lqa);else{this.N$=!0;if(t=this.msa(t))l(t).trigger(this.gqa(r)),r.preventDefault(),r.stopImmediatePropagation();"pointer"==this.fsa(t)?q.prototype.set.call(this,"cursor",b.Le):q.prototype.set.call(this,"cursor",b.Ke);this.N$=!1}};a.prototype.zUa=function(){q.prototype.set.call(this,"cursor",this.Lqa)};a.prototype.dZ=e(q.prototype.dZ,"mouse","release");a.prototype.nta=function(r){if(!this.hc)return!1;
if(this.get("transparencyActive"))return!0;var t=this.mb?this.mb.DA:1,u=this.hc.offset(),v=(r.KB-u.left)/t,w=this.hc.width();r=(r.LB-u.top)/t;t=this.hc.height();if(0&lt;=v&amp;&amp;0&lt;=r&amp;&amp;v&lt;w&amp;&amp;r&lt;t){if(p)return!0;v=v*this.CJ/w;w=r*this.BJ/t;this.j9.drawImage(this.hc.get(0),v,w,1,1,0,0,1,1);if(0&lt;this.j9.getImageData(0,0,1,1).data[3])return!0}return!1};a.prototype.nSa=function(r,t){if(r=this.msa(r))l(r).trigger(this.gqa(t)),t.preventDefault(),t.stopImmediatePropagation()};a.prototype.msa=function(r){this.ke().style.pointerEvents=
"none";r=document.elementFromPoint(r.KB,r.LB);setTimeout(function(){this.ke().style.pointerEvents=this.Bsa()}.bind(this),0);return r};a.prototype.gqa=function(r){return l.extend(l.Event(r.type),{originalEvent:r.originalEvent,wheelDelta:r.wheelDelta,detail:r.detail,which:1,clientX:r.clientX,clientY:r.clientY,pageX:r.pageX,pageY:r.pageY,screenX:r.screenX,screenY:r.screenY})};a.prototype.fsa=function(r){if(r){var t=r.style.cursor;"inherit"==t&amp;&amp;(t=this.fsa(r.parentElement))}else t="default";return t};
a.prototype.CN=function(){this.get("pressed")?(this.set("pressed",!1),this.trigger(new c(k.Gl))):(this.set("pressed",!0),this.trigger(new c(k.Lj)))};a.prototype.set=function(r,t){"cursor"===r&amp;&amp;(this.Lqa=t);return q.prototype.set.call(this,r,t)};a.prototype.bb=function(){var r=!1;if(this.L("backgroundOpacityy")||this.L("backgroundColor"))r=!0;if(this.L("iconURL")){var t=this.B("iconURL");this.set("url",t);this.S("iconURL")}t=!1;this.L("mode")&amp;&amp;(this.B("mode")==n.Me?(this.unbind(k.ma,this.CN,this,!0),
this.set("autoPressed",!0)):(this.bind(k.ma,this.CN,this,!0),this.set("autoPressed",!1)),this.S("mode"),t=!0);if(t||this.L("pressed"))this.B("mode")==n.Oj?this.fK(1==this.B("pressed")):t&amp;&amp;this.fK(!1);this.L("buttonGroup")&amp;&amp;((t=this.B("buttonGroup"))?g.register(this,t):g.unregister(this),this.S("buttonGroup"));q.prototype.bb.call(this);r&amp;&amp;(r=this.dd(),0==r.kl()||0==r.yD.length)&amp;&amp;(r.Nh(.001),r.jIa(["#000000"]))};return a});
define("br",["require","mv","ol"],function(a){var e=a("mv");return a("ol").define("IconButton",e,function(){e.call(this)})});define("nS",["require","ol","iN"],function(a){var e=a("ol"),l=a("iN");return e.define("IconHotspotMapOverlay",l,function(){l.call(this,!1)})});define("oP",["require","nh","ol"],function(a){var e=a("nh");a=a("ol").define("Image",e,function(){e.call(this)});a.prototype.set=function(l,m){e.prototype.set.call(this,l,m)};return a});
define("jE",["require","ol","pT"],function(a){var e=a("ol"),l=a("pT");return e.define("ImagePlaneModel3DObject",l,function(){l.call(this)})});define("me",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("InnerModel3DObject",l,function(){l.call(this)})});define("jJ",["require","dE","ol"],function(a){var e=a("dE");return a("ol").define("Label",e,function(){e.call(this)})});
define("bR",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("LensFlarePanoramaOverlay",e,function(){e.call(this)})});define("cR",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("LineModel3DObject",l,function(){l.call(this)})});define("oY",["require","ol","fo"],function(a){var e=a("ol"),l=a("fo");a=e.define("LivePanorama",l,function(){l.call(this)});a.prototype.$S=function(){return this.get("initialFrameIndex",0)};return a});
define("jX",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Light",e,function(){e.call(this)})});
define("dh",["require","lS","dG"],function(a){var e=a("lS"),l=a("dG");a=e.extend(l,function(m,k,c,h,g,b,d){l.call(this,l.boa);this.v=m;this.Wd=k;this.sa=c;this.wa=h;this.Of=g;this.I$=b;this.Oo=d.slice()});a.prototype.vu=function(){for(var m=[this.Wd],k=0;k&lt;this.Oo.length;k++)m=m.concat(this.Oo[k].vu());return m};a.prototype.Zi=function(){return this.Wd};a.prototype.Fe=function(){return this.sa};a.prototype.Ue=function(){return this.wa};return a});
define("nO","require ol mK ez gw dh".split(" "),function(a){var e=a("ol"),l=a("mK"),m=a("ez"),k=a("gw"),c=a("dh");a=e.define("Map",m,function(){m.call(this);this.Ew=this.BQ=void 0});a.prototype.K9a=function(){this.Ew=this.BQ=void 0};a.prototype.xL=function(){return!(!this.get("image")||!k.xL(this.get("image")))};a.prototype.aG=function(){return this.get("image")&amp;&amp;k.aG(this.get("image"))};a.prototype.Sr=function(){return this.get("image")&amp;&amp;k.Sr(this.get("image"))};a.prototype.GDa=function(){void 0==
this.BQ&amp;&amp;(this.xL()?this.BQ=new c(this,this.aG().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",l.qC),this.get("flipImageHorizontally",!1),[]):this.BQ=null);return this.BQ};a.prototype.nk=function(){if(void 0==this.Ew)if(this.get("image")){var h=Array.prototype.concat.apply([],this.get("overlays",[]).map(function(g){return g.T5a()}));this.Ew=new c(this,this.Sr().get("url"),this.get("width"),this.get("height"),this.get("scaleMode",l.qC),this.get("flipImageHorizontally",!1),h)}else this.Ew=
null;return this.Ew};a.prototype.tu=function(){return[].concat(this.TX(this.GDa()),this.TX(this.nk()))};a.prototype.TX=function(h){return h?h.vu():[]};return a});define("lE",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("MapOverlay",e,function(){e.call(this)})});
define("kk","require lS es py cI gE ep hg".split(" "),function(a){var e=a("lS"),l=a("es"),m=a("py"),k=a("cI"),c=a("gE"),h=a("ep"),g=a("hg");a=e.extend(c,function(b,d,f){c.call(this);this.kqa=b;this.VXa=d;this.zpa=f||h.Me;this.kj=[];this.oD=[];this.Bz={};this.Bz.mode=this.zpa;this.zpa==h.Oj&amp;&amp;(this.Bz.pressed=!1);this.kqa.bind(m.G(d),this.mxa,this);this.mxa()});a.prototype.mxa=function(){var b=this.kqa.get(this.VXa);b||(b=[]);l.isArray(b)||(b=[b]);this.tZa(b)};a.prototype.tZa=function(b){var d=l.difference(this.kj,
b);l(d).each(function(f){f.unbind(m.Lj,this.Cpa,this,!0);f.unbind(m.Gl,this.Dpa,this,!0);f.unbind(m.ma,this.ypa,this,!0);f.unbind(m.hb,this.Apa,this,!0);f.unbind(m.Eb,this.Bpa,this,!0);f.unbind(m.Dc,this.Fpa,this,!0);f.unbind(m.Jb,this.Epa,this,!0)},this);d=l.difference(b,this.kj);l(d).each(function(f){f.ra(this.Bz);f.bind(m.Lj,this.Cpa,this,!0);f.bind(m.Gl,this.Dpa,this,!0);f.bind(m.ma,this.ypa,this,!0);f.bind(m.hb,this.Apa,this,!0);f.bind(m.Eb,this.Bpa,this,!0);f.bind(m.Dc,this.Fpa,this,!0);f.bind(m.Jb,
this.Epa,this,!0)},this);this.kj=b;this.oD=this.oD.filter(function(f){return 0&lt;=this.kj.indexOf(f)}.bind(this))};a.prototype.Cpa=function(){this.trigger(new k(m.Lj))};a.prototype.Dpa=function(){this.trigger(new k(m.Gl))};a.prototype.ypa=function(){this.trigger(new k(m.ma))};a.prototype.Apa=function(){this.trigger(new k(m.hb))};a.prototype.Bpa=function(){this.trigger(new k(m.Eb))};a.prototype.Fpa=function(b){this.oD.push(b.source);this.el()};a.prototype.Epa=function(b){this.oD=this.oD.filter(function(d){return d!=
b.source});this.el()};a.prototype.set=function(b,d){this.Bz[b]=d;this.kj.forEach(function(f){f.ra(this.Bz)}.bind(this));this.el()};a.prototype.el=function(){this.kj.forEach(function(b){b.get("state")==g.Ab&amp;&amp;0&lt;=this.oD.indexOf(b)?b.set("state",g.jc):b.get("state")==g.jc&amp;&amp;0&gt;this.oD.indexOf(b)&amp;&amp;b.set("state",g.Ab)}.bind(this))};return a});define("three.mod",["require","exports"],function(){return window.THREE});
define("le",["require","exports","lS","z"],function(a,e,l,m){var k=function(){return function(){}}();return function(){function c(){}c.da=function(h,g,b,d){this.Soa(h,g,b,d,!1)};c.bu=function(h,g,b,d){this.Soa(h,g,b,d,!0)};c.Soa=function(h,g,b,d,f){function n(){for(var r=[],t=0;t&lt;g.length;t++)try{r.push(h.get(g[t]))}catch(u){r.push(void 0),l.ET("BindingsHandler._addBinding",u)}b.apply(this,r)}g=l.toArray(g);f&amp;&amp;(n=l.Ap(n));var q=[];g.forEach(function(r){(r=m.Ru(h,r,n,this,!f))&amp;&amp;q.push(r)},this);var p=
new k;p.Mcb=q;p.host=h;p.properties=g;p.sT=b;this.uha.push(p);d&amp;&amp;n()};c.ca=function(h,g,b){var d=[];this.uha.forEach(function(f){f.sT==b&amp;&amp;f.host==h&amp;&amp;l.T6a(f.properties,l.toArray(g))?f.Mcb.forEach(function(n){n.hC()}):d.push(f)});this.uha=d};c.uha=[];return c}()});
define("gJ","require es lS py cI hg bh b e od oy".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("hg"),h=a("bh"),g=a("b"),b=a("e");a("od");a("oy");var d=l.extend(g,function(){g.call(this);this.Re("PlaybackBar");this.nm=this.kg=null;this.gh=[];this.y_=!1;this.Cda=this.ME=void 0;this.lfa=!1});d.Fc={cursor:h.Le,overflow:"visible",height:20,position:0,duration:100,steps:void 0,selectedStep:void 0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:void 0,
barBackgroundColorRatios:void 0,barBorderColor:void 0,barBorderRadius:void 0,barBorderSize:void 0,barOpacity:void 0,liveDragging:void 0,playheadBackgroundColor:"#FFFFFF",playheadBackgroundColorDirection:void 0,playheadBackgroundColorRatios:void 0,playheadBorderColor:void 0,playheadBorderRadius:void 0,playheadBorderSize:void 0,playheadOpacity:void 0,playheadWidth:5,playheadHeight:30,playheadShadow:!0,playheadShadowBlurRadius:3,playheadShadowColor:"#000000",playheadShadowHorizontalLength:0,playheadShadowOpacity:void 0,
playheadShadowSpread:0,playheadShadowVerticalLength:3,stepBackgroundColor:"#FFFFFF",stepBackgroundColorDirection:void 0,stepBackgroundColorRatios:void 0,stepBorderColor:void 0,stepBorderRadius:6,stepBorderSize:0,stepOpacity:1,stepWidth:12,stepHeight:12,stepShadow:!0,stepShadowBlurRadius:6,stepShadowColor:"#000000",stepShadowHorizontalLength:0,stepShadowOpacity:void 0,stepShadowSpread:0,stepShadowVerticalLength:0,selectedStepBackgroundColor:"#3399FF",selectedStepBackgroundColorDirection:void 0,selectedStepBackgroundColorRatios:void 0,
selectedStepBorderColor:"#ffffff",selectedStepBorderRadius:10,selectedStepBorderSize:2,selectedStepOpacity:1,selectedStepWidth:20,selectedStepHeight:20,selectedStepShadow:!0,selectedStepShadowBlurRadius:3,selectedStepShadowColor:"#000000",selectedStepShadowHorizontalLength:0,selectedStepShadowOpacity:void 0,selectedStepShadowSpread:0,selectedStepShadowVerticalLength:0};e.defaults(d.Fc,g.Fc);d.prototype.yb=function(){this.Bo(d.Fc)};d.prototype.Hb=function(){g.prototype.Hb.call(this);this.kg&amp;&amp;this.nm||
this.bind(m.tc,this.HXa,this,!0);null==this.kg&amp;&amp;(this.kg=new b,this.kg.ra({left:"0",height:"100%",cursor:h.Le}),this.Ya(this.kg));null==this.nm&amp;&amp;(this.nm=new b,this.nm.ra({left:"0",cursor:h.Le}),this.nm.bind(m.tc,this.KXa,this,!0),this.nm.bind(m.hb,this.IXa,this,!0),this.Db().bind(m.Pb,this.Uwa,this,!0),this.bind(m.ma,this.FXa,this,!0),this.nm.bind(m.Eb,this.JXa,this,!0),this.Ya(this.nm));var n=this.get("steps")||0;if(this.gh.length!=n){for(;this.gh.length&gt;n;)this.hRa(this.gh.pop());for(;this.gh.length&lt;
n;)this.gh.push(this.ZQa());this.uc(d.Joa,d.T7,this.gh,!1,!0);this.yAa();this.wga();this.ao(this.nm,this.pb().length-1)}};d.prototype.ZQa=function(){var n=new f;n.ra({cursor:h.Le});n.bind(m.ma,this.Yya,this,!0);n.bind(m.tc,this.Zya,this,!0);this.Ya(n);return n};d.prototype.hRa=function(n){n.unbind(m.ma,this.Yya,this,!0);n.unbind(m.tc,this.Zya,this,!0);this.removeChild(n)};d.prototype.bb=function(){var n=!1;if(this.L("position")||this.L("duration"))this.S("position"),this.S("duration"),n=!0;this.L("selectedStep")&amp;&amp;
(this.S("selectedStep"),this.yAa());this.L("steps")&amp;&amp;(this.S("steps"),this.xT());this.uc(d.M7,d.iN,[this.kg],!0,!0);this.uc(d.pNa,d.Foa,[this.nm],!0,!0);this.uc(d.Joa,d.T7,this.gh,!0,!0);g.prototype.bb.call(this);n&amp;&amp;this.p1()};d.prototype.yAa=function(){var n=this.get("selectedStep");this.gh.forEach(function(q,p){q.NU(p===n)});this.nm.set("visible",void 0===n)};d.prototype.p1=function(){var n=this.Za(),q=this.nm.Za(),p=this.nm.Cb(),r=this.qO(),t=this.Eq(),u=t*n/r;n=Math.round((this.y_?this.ME:t)*
n/r-.5*q);n=Math.max(0,Math.min(n,this.Bf()-q));q=Math.round(.5*this.Af()-.5*p);this.nm.ra({left:n,top:q});this.kg.set("width",Math.round(u))};d.prototype.KXa=function(){this.p1()};d.prototype.IXa=function(n){this.y_=!0;this.Cda=n.pageX;this.ME=this.B("position")};d.prototype.Uwa=function(n){if(this.y_){var q=n.pageX-this.Cda;this.Cda=n.pageX;n=this.Za();var p=this.qO();this.ME=Math.max(0,Math.min(p,this.ME+p*q/n));this.p1();this.get("liveDragging")&amp;&amp;(this.set("position",this.ME),this.trigger(new k(m.ba)))}};
d.prototype.JXa=function(n){this.Uwa(n);this.y_=!1;this.get("liveDragging")||(this.set("position",this.ME),this.trigger(new k(m.ba)));this.ME=void 0};d.prototype.FXa=function(n){if(!this.lfa){var q=this.Za(),p=this.qO();this.set("position",p*n.x/q);this.trigger(new k(m.ba))}};d.prototype.Zya=function(){this.wga()};d.prototype.HXa=function(){this.wga();this.p1()};d.prototype.wga=function(){for(var n=this.Za(),q=this.Cb(),p=this.Na,r=this.getParent().Za()-(p+n),t=0,u=this.gh.length;t&lt;u;t++){var v=this.gh[t],
w=v.Za();v.ra({left:0==t&amp;&amp;0==p?0:t==u-1&amp;&amp;0==r?n-w:Math.round(n*t/(u-1)-.5*w),top:Math.round(.5*q-.5*v.Cb())})}};d.prototype.Yya=function(n){n=this.gh.indexOf(n.source);var q=this.qO();this.set("position",q*n/(this.gh.length-1));this.lfa=!0;this.trigger(new k(m.ba));setTimeout(function(){this.lfa=!1}.bind(this),0)};d.prototype.qO=function(){var n=this.B("duration");return n?n:1};d.prototype.Eq=function(){return Math.max(0,Math.min(this.qO(),this.B("position")))};d.iN={barBackgroundColor:"backgroundColor",
barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",barOpacity:"opacity"};d.M7=e(d.iN).keys();d.Foa={playheadBackgroundColor:"backgroundColor",playheadBackgroundColorDirection:"backgroundColorDirection",playheadBackgroundColorRatios:"backgroundColorRatios",playheadBorderColor:"borderColor",playheadBorderRadius:"borderRadius",playheadBorderSize:"borderSize",playheadOpacity:"opacity",
playheadWidth:"width",playheadHeight:"height",playheadShadow:"shadow",playheadShadowBlurRadius:"shadowBlurRadius",playheadShadowColor:"shadowColor",playheadShadowHorizontalLength:"shadowHorizontalLength",playheadShadowOpacity:"shadowOpacity",playheadShadowSpread:"shadowSpread",playheadShadowVerticalLength:"shadowVerticalLength"};d.pNa=e(d.Foa).keys();d.T7={stepBackgroundColor:"backgroundColor",stepBackgroundColorDirection:"backgroundColorDirection",stepBackgroundColorRatios:"backgroundColorRatios",
stepBorderColor:"borderColor",stepBorderRadius:"borderRadius",stepBorderSize:"borderSize",stepOpacity:"opacity",stepWidth:"width",stepHeight:"height",stepShadow:"shadow",stepShadowBlurRadius:"shadowBlurRadius",stepShadowColor:"shadowColor",stepShadowHorizontalLength:"shadowHorizontalLength",stepShadowOpacity:"shadowOpacity",stepShadowSpread:"shadowSpread",stepShadowVerticalLength:"shadowVerticalLength",selectedStepBackgroundColor:"selectedBackgroundColor",selectedStepBackgroundColorDirection:"selectedBackgroundColorDirection",
selectedStepBackgroundColorRatios:"selectedBackgroundColorRatios",selectedStepBorderColor:"selectedBorderColor",selectedStepBorderRadius:"selectedBorderRadius",selectedStepBorderSize:"selectedBorderSize",selectedStepOpacity:"selectedOpacity",selectedStepWidth:"selectedWidth",selectedStepHeight:"selectedHeight",selectedStepShadow:"selectedShadow",selectedStepShadowBlurRadius:"selectedShadowBlurRadius",selectedStepShadowColor:"selectedShadowColor",selectedStepShadowHorizontalLength:"selectedShadowHorizontalLength",
selectedStepShadowOpacity:"selectedShadowOpacity",selectedStepShadowSpread:"selectedShadowSpread",selectedStepShadowVerticalLength:"selectedShadowVerticalLength"};d.Joa=e(d.T7).keys();var f=l.extend(b,function(){b.call(this)});f.prototype.NU=function(n){this.aR(n)};f.prototype.yb=function(){b.prototype.yb.call(this);this.h("backgroundColor");this.h("backgroundColorDirection");this.h("backgroundColorRatios");this.h("borderColor");this.h("borderRadius");this.h("borderSize");this.h("opacity");this.h("width");
this.h("height");this.h("shadow");this.h("shadowBlurRadius");this.h("shadowColor");this.h("shadowHorizontalLength");this.h("shadowOpacity");this.h("shadowSpread");this.h("shadowVerticalLength");this.A("selectedBackgroundColor",c.ja,"backgroundColor");this.A("selectedBackgroundColorDirection",c.ja,"backgroundColorDirection");this.A("selectedBackgroundColorRatios",c.ja,"backgroundColorRatios");this.A("selectedBorderColor",c.ja,"borderColor");this.A("selectedBorderRadius",c.ja,"borderRadius");this.A("selectedBorderSize",
c.ja,"borderSize");this.A("selectedOpacity",c.ja,"opacity");this.A("selectedWidth",c.ja,"width");this.A("selectedHeight",c.ja,"height");this.A("selectedShadow",c.ja,"shadow");this.A("selectedShadowBlurRadius",c.ja,"shadowBlurRadius");this.A("selectedShadowColor",c.ja,"shadowColor");this.A("selectedShadowHorizontalLength",c.ja,"shadowHorizontalLength");this.A("selectedShadowOpacity",c.ja,"shadowOpacity");this.A("selectedShadowSpread",c.ja,"shadowSpread");this.A("selectedShadowVerticalLength",c.ja,
"shadowVerticalLength")};f.prototype.bb=function(){b.prototype.bb.call(this)};return d});
define("B",["require","es","lS","b","e"],function(a){var e=a("es"),l=a("lS"),m=a("b"),k=a("e"),c=l.extend(m,function(){m.call(this);this.Re("ProgressBar")});c.Fc={percent:0,backgroundColor:"#000000",barBackgroundColor:"#FFFFFF",barBackgroundColorDirection:void 0,barBackgroundColorRatios:void 0,barBorderColor:void 0,barBorderRadius:void 0,barBorderSize:void 0,barOpacity:void 0};e.defaults(c.Fc,m.Fc);c.prototype.yb=function(){this.Bo(c.Fc)};c.prototype.Hb=function(){m.prototype.Hb.call(this);null==
this.kg&amp;&amp;(this.kg=new k,this.kg.ra({left:"0",width:"0%",height:"100%"}),this.Ya(this.kg))};c.prototype.bb=function(){this.L("percent")&amp;&amp;(this.kg.set("width",Math.round(this.B("percent"))+"%"),this.S("percent"));this.uc(c.M7,c.iN,[this.kg],!0,!0);m.prototype.bb.call(this)};c.iN={barBackgroundColor:"backgroundColor",barBackgroundColorDirection:"backgroundColorDirection",barBackgroundColorRatios:"backgroundColorRatios",barBorderColor:"borderColor",barBorderRadius:"borderRadius",barBorderSize:"borderSize",
barOpacity:"opacity"};c.M7=e(c.iN).keys();return c});
define("gy","require mn w iE nf mS bn".split(" "),function(a){var e=a("mn"),l=a("w"),m=a("iE");a("nf");var k=a("mS");a("bn");var c={jeb:function(q){return this.HL(q)||this.TEa(q)?!0:!1},wv:function(){var q=l.e9a();c.wv=function(){return q};return q},TEa:function(q){return"string"==typeof q&amp;&amp;m.is(q,m.oo)?!0:!1},eeb:function(q){return this.gja(q)||this.hja(q)?!0:!1},hja:function(q){return"string"==typeof q&amp;&amp;(m.is(q,m.TLa)||m.wB(q,m.ULa))?!0:!1},HL:function(q){return!!q&amp;&amp;!!q.tagName&amp;&amp;"VIDEO"==q.tagName},
BL:function(q){return"string"==typeof q&amp;&amp;m.is(q,m.HLS)||this.HL(q)&amp;&amp;m.is(q.currentSrc,m.HLS)?!0:!1},Fm:function(q){return"string"==typeof q&amp;&amp;m.is(q,m.oo)||this.HL(q)&amp;&amp;m.is(q.currentSrc,m.oo)?!0:!1},gja:function(q){return!!q&amp;&amp;!!q.tagName&amp;&amp;"IMG"==q.tagName},m7a:function(q){return!!q&amp;&amp;!!q.tagName&amp;&amp;"CANVAS"==q.tagName},aeb:function(q){return Math.pow(2,Math.round(Math.log(q)/Math.LN2))},geb:function(q){return 0!==q&amp;&amp;0===(q&amp;q-1)},IEa:function(){return l.browser()==l.Jj},feb:function(){return l.browser()==
l.Ty},rp:function(){return l.ud()==l.yi}},h=l.ud()==l.Su&amp;&amp;!l.Sf()&amp;&amp;11&gt;l.p3a();c.LKa=function(q){return b||h&amp;&amp;q&amp;&amp;.2&gt;q.currentTime?!0:!1};c.sEa=function(){return c.IEa()||c.rp()};c.rEa=function(){return c.rp()&amp;&amp;e.$6a&amp;&amp;11&gt;l.Via()};var g=!1;c.EEa=function(){g=!1};c.n7a=function(){return g};c.g$a=function(){g=!0};var b=k.Dj("vic");c.X8a=function(){c.rp()&amp;&amp;(b=!0)};c.IDa=function(){return{alpha:!0,depth:!0,stencil:!1,antialias:e.F3a()?!0:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!1,powerPreference:"default",
failIfMajorPerformanceCaveat:!1,xrCompatible:!c.IEa()}};c.B4a=function(q){if(2==e.hHa){var p=c.IDa();p=q.getContext("webgl2",p)}p||(p=c.IDa(),p=q.getContext("webgl",p)||q.getContext("experimental-webgl",p));return p};c.Oha=function(q,p){p||(p=q.getSize(new THREE.Vector2));q=new THREE.WebGLRenderTarget(p.width,p.height,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,type:THREE.HalfFloatType,samples:q.capabilities.isWebGL2?l.qb()?2:8:0});q.depthTexture=new THREE.DepthTexture;
return q};c.A4a=function(q){return new THREE.WebGLCubeRenderTarget(q,{minFilter:THREE.LinearFilter,magFilter:THREE.LinearFilter,format:THREE.RGBAFormat,type:THREE.HalfFloatType})};c.getPixelRatio=function(){if(l.qb()){var q=0,p=0;try{q=window.top.innerWidth,p=window.top.innerHeight}catch(r){if(l.ud()==l.Su&amp;&amp;1&lt;window.devicePixelRatio)return window.devicePixelRatio}q=[Math.max(document.documentElement.clientWidth,q),Math.max(document.documentElement.clientHeight,p)].sort(function(r,t){return t-r});
q=[n[0]/q[0],n[1]/q[1]].sort()[0];if(Infinity!==q)return q}else if(l.ud()==l.Tma&amp;&amp;l.browser()==l.io)return 1;return window.devicePixelRatio};c.l5a=function(q){if(!l.qb()||l.ud()!=l.Su)return c.getPixelRatio();q=[q.clientWidth,q.clientHeight].sort(function(p,r){return r-p});return[n[0]/q[0],n[1]/q[1]].sort()[0]};var d=!1,f=[];c.d5=function(q){d=q;f.forEach(function(p){p(q)})};c.m3a=function(q){f.push(q)};c.J7a=function(){return d};var n=[screen.width*window.devicePixelRatio,screen.height*window.devicePixelRatio].sort(function(q,
p){return p-q});return c});define("hV",["require","gy"],function(a){return a("gy")});
define("oh",["require"],function(){var a=Math.PI/180,e=180/Math.PI,l=new THREE.Euler(0,0,0,"YXZ"),m=new THREE.Quaternion;return{create:function(){return{x:0,y:0,z:0,w:0}},cDa:function(k,c,h){m.setFromEuler(l.set(c*a,-k*a,h*a,"YXZ"));k={};k.x=m.x;k.y=m.y;k.z=m.z;k.w=m.w;return k},D5:function(k,c){l.setFromQuaternion(m.set(k.x,k.y,k.z,k.w),"YXZ");k={};k.Ra=-l.y*e;k.pitch=l.x*e;k.Dg=l.z*e;c||(k.pitch=Math.min(90,Math.max(-90,k.pitch)));return k},Ra:function(k){l.setFromQuaternion(m.set(k.x,k.y,k.z,k.w),
"YXZ");return-l.y*e}}});
define("ou",["require"],function(){var a={};a.degToRad=Math.PI/180;a.radToDeg=180/Math.PI;a.Vector2=function(e,l){this.x=e||0;this.y=l||0};a.Vector2.prototype={constructor:a.Vector2,set:function(e,l){this.x=e;this.y=l;return this},copy:function(e){this.x=e.x;this.y=e.y;return this},subVectors:function(e,l){this.x=e.x-l.x;this.y=e.y-l.y;return this}};a.Vector3=function(e,l,m){this.x=e||0;this.y=l||0;this.z=m||0};a.Vector3.prototype={constructor:a.Vector3,set:function(e,l,m){this.x=e;this.y=l;this.z=
m;return this},copy:function(e){this.x=e.x;this.y=e.y;this.z=e.z;return this},length:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},normalize:function(){var e=this.length();0!==e?this.multiplyScalar(1/e):this.z=this.y=this.x=0;return this},multiplyScalar:function(e){this.x*=e;this.y*=e;this.z*=e},applyQuaternion:function(e){var l=this.x,m=this.y,k=this.z,c=e.x,h=e.y,g=e.z;e=e.w;var b=e*l+h*k-g*m,d=e*m+g*l-c*k,f=e*k+c*m-h*l;l=-c*l-h*m-g*k;this.x=b*e+l*-c+d*-g-f*-h;this.y=d*
e+l*-h+f*-c-b*-g;this.z=f*e+l*-g+b*-h-d*-c;return this},dot:function(e){return this.x*e.x+this.y*e.y+this.z*e.z},crossVectors:function(e,l){var m=e.x,k=e.y;e=e.z;var c=l.x,h=l.y;l=l.z;this.x=k*l-e*h;this.y=e*c-m*l;this.z=m*h-k*c;return this}};a.Quaternion=function(e,l,m,k){this.x=e||0;this.y=l||0;this.z=m||0;this.w=void 0!==k?k:1};a.Quaternion.prototype={constructor:a.Quaternion,set:function(e,l,m,k){this.x=e;this.y=l;this.z=m;this.w=k;return this},copy:function(e){this.x=e.x;this.y=e.y;this.z=e.z;
this.w=e.w;return this},tIa:function(e,l,m){var k=Math.cos(e/2),c=Math.cos(l/2),h=Math.cos(m/2);e=Math.sin(e/2);l=Math.sin(l/2);m=Math.sin(m/2);this.x=e*c*h+k*l*m;this.y=k*l*h-e*c*m;this.z=k*c*m-e*l*h;this.w=k*c*h+e*l*m;return this},setFromAxisAngle:function(e,l){l/=2;var m=Math.sin(l);this.x=e.x*m;this.y=e.y*m;this.z=e.z*m;this.w=Math.cos(l);return this},multiply:function(e){return this.multiplyQuaternions(this,e)},multiplyQuaternions:function(e,l){var m=e.x,k=e.y,c=e.z;e=e.w;var h=l.x,g=l.y,b=l.z;
l=l.w;this.x=m*l+e*h+k*b-c*g;this.y=k*l+e*g+c*h-m*b;this.z=c*l+e*b+m*g-k*h;this.w=e*l-m*h-k*g-c*b;return this},inverse:function(){this.x*=-1;this.y*=-1;this.z*=-1;this.normalize();return this},normalize:function(){var e=Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w);0===e?(this.z=this.y=this.x=0,this.w=1):(e=1/e,this.x*=e,this.y*=e,this.z*=e,this.w*=e);return this},slerp:function(e,l){if(0===l)return this;if(1===l)return this.copy(e);var m=this.x,k=this.y,c=this.z,h=this.w,g=h*
e.w+m*e.x+k*e.y+c*e.z;0&gt;g?(this.w=-e.w,this.x=-e.x,this.y=-e.y,this.z=-e.z,g=-g):this.copy(e);if(1&lt;=g)return this.w=h,this.x=m,this.y=k,this.z=c,this;e=Math.acos(g);var b=Math.sqrt(1-g*g);if(.001&gt;Math.abs(b))return this.w=.5*(h+this.w),this.x=.5*(m+this.x),this.y=.5*(k+this.y),this.z=.5*(c+this.z),this;g=Math.sin((1-l)*e)/b;l=Math.sin(l*e)/b;this.w=h*g+this.w*l;this.x=m*g+this.x*l;this.y=k*g+this.y*l;this.z=c*g+this.z*l;return this},setFromUnitVectors:function(){var e,l;return function(m,k){void 0===
e&amp;&amp;(e=new a.Vector3);l=m.dot(k)+1;1E-6&gt;l?(l=0,Math.abs(m.x)&gt;Math.abs(m.z)?e.set(-m.y,m.x,0):e.set(0,-m.z,m.y)):e.crossVectors(m,k);this.x=e.x;this.y=e.y;this.z=e.z;this.w=l;this.normalize();return this}}()};return a});
define("fF",["require","py","cI","gE","ou"],function(a){function e(){d||(d=!0,p=new b.Vector3(0,0,1),r=new b.Quaternion,t=new b.Quaternion(-Math.sqrt(.5),0,0,Math.sqrt(.5)),u=new b.Quaternion,m(),window.addEventListener("orientationchange",m,!1),window.addEventListener("deviceorientation",k,!1),l())}function l(){if(v&amp;&amp;void 0!==n&amp;&amp;void 0!==q){v=!1;var y=b.degToRad*q;u.tIa(b.degToRad*n.beta,b.degToRad*n.alpha,-(b.degToRad*n.gamma));u.multiply(t);u.multiply(r.setFromAxisAngle(p,-y));w||(x++,5&lt;=x&amp;&amp;(w=
!0,f.trigger(new h(c.hd))));f.trigger(new h(c.ba))}}function m(){q=window.orientation||0;v=!0;l()}function k(y){n=y;v=!0;l()}var c=a("py"),h=a("cI"),g=a("gE"),b=a("ou"),d=!1,f=new g,n,q,p,r,t,u,v,w=!1,x=0;e.prototype.Tr=function(){l();return u};e.prototype.bind=function(){f.bind.apply(f,arguments)};e.prototype.unbind=function(){f.unbind.apply(f,arguments)};e.prototype.stop=function(){window.removeEventListener("orientationchange",m,!1);window.removeEventListener("deviceorientation",k,!1)};return e});
define("jx","require py cI gE w ou".split(" "),function(a){function e(n){this.L7a=n;this.Pha=new k;this.l2=new k;this.pka=new k;this.WF=new b.Quaternion;this.oka=new b.Quaternion;this.$Aa=new b.Quaternion;this.NEa=!1;this.w2=new b.Vector3;this.yja=new b.Vector3;this.w6a=new b.Quaternion}function l(){this.deviceId="webvr-polyfill:fused";this.BFa=!1;this.AFa=0;this.lS=new b.Vector3;this.g3=new b.Vector3;this.filter=new e(.98);this.c9a=new m(.04);this.AL=f.AL();this.rp=f.rp();f.tia();this.mja=f.p7a();
this.D2=new b.Quaternion;f.rp()?this.D2.setFromAxisAngle(new b.Vector3(1,0,0),Math.PI/2):this.D2.setFromAxisAngle(new b.Vector3(1,0,0),-Math.PI/2);this.u3=new b.Quaternion;this.GM=new b.Quaternion;this.GGa=new b.Quaternion;this.GGa.setFromAxisAngle(new b.Vector3(0,0,1),-window.orientation*Math.PI/180);this.TIa();f.KEa()&amp;&amp;this.D2.multiply(this.u3);this.Lu=new b.Quaternion;this.AL=f.AL();this.rp=f.rp();this.o7a=66&lt;=f.tia();this.sG=this.sG.bind(this);this.TT=this.TT.bind(this);this.ST=this.ST.bind(this);
screen&amp;&amp;screen.orientation&amp;&amp;screen.orientation.addEventListener?screen.orientation.addEventListener("change",this.sG):window.addEventListener("orientationchange",this.sG);this.mja?window.addEventListener("deviceorientation",this.TT):window.addEventListener("devicemotion",this.ST)}function m(n){this.d9a=n;this.F4=new b.Quaternion;this.eM=null;this.oCa=new b.Quaternion;this.XT=new b.Quaternion}function k(n,q){this.set(n,q)}var c=a("py"),h=a("cI"),g=a("gE");a("w");var b=a("ou"),d=new g;e.prototype.S2a=
function(n,q){this.Pha.set(n,q)};e.prototype.$2a=function(n,q){this.l2.set(n,q);f.K7a(q-this.pka.C5)&amp;&amp;this.R9a();this.pka.copy(this.l2)};e.prototype.R9a=function(){if(this.NEa){var n=this.x6a(this.l2.sample,this.l2.C5-this.pka.C5);this.w6a.multiply(n);this.WF.copy(this.oka);this.WF.multiply(n);n=new b.Quaternion;n.copy(this.WF);n.inverse();this.w2.set(0,0,-1);this.w2.applyQuaternion(n);this.w2.normalize();this.yja.copy(this.Pha.sample);this.yja.normalize();n=new b.Quaternion;n.setFromUnitVectors(this.w2,
this.yja);n.inverse();var q=new b.Quaternion;q.copy(this.WF);q.multiply(n);this.WF.slerp(q,1-this.L7a);this.oka.copy(this.WF)}else this.$Aa=this.R2a(this.Pha.sample),this.oka.copy(this.$Aa),this.NEa=!0};e.prototype.Tr=function(){return this.WF};e.prototype.R2a=function(n){var q=new b.Vector3;q.copy(n);q.normalize();n=new b.Quaternion;n.setFromUnitVectors(new b.Vector3(0,0,-1),q);n.inverse();return n};e.prototype.x6a=function(n,q){var p=new b.Quaternion,r=new b.Vector3;r.copy(n);r.normalize();p.setFromAxisAngle(r,
n.length()*q);return p};l.prototype.stop=function(){screen&amp;&amp;screen.orientation&amp;&amp;screen.orientation.addEventListener&amp;&amp;screen.orientation.removeEventListener("change",this.sG);window.removeEventListener("orientationchange",this.sG);window.removeEventListener("deviceorientation",this.TT);window.removeEventListener("devicemotion",this.ST)};l.prototype.ll=function(){return null};l.prototype.Tr=function(){var n=void 0;if(this.mja&amp;&amp;this.mX){this.qCa=this.qCa||function(){var p=(new b.Quaternion).setFromAxisAngle(new b.Vector3(0,
0,-1),0),r=new b.Quaternion;"landscape-secondary"==this.f0?r.setFromAxisAngle(new b.Vector3(0,1,0),Math.PI/-2):r.setFromAxisAngle(new b.Vector3(0,1,0),Math.PI/2);return p.multiply(r)}();this.pCa=this.pCa||function(){var p=new b.Quaternion;p.setFromAxisAngle(new b.Vector3(1,0,0),-Math.PI/2);return p}();n=this.mX;var q=new b.Quaternion;q.copy(n);q.multiply(this.pCa);q.multiply(this.Lu);q.multiply(this.GM);q.multiplyQuaternions(this.qCa,q);this.xeb&amp;&amp;(q.x=0,q.z=0,q.normalize());this.u4[0]=q.x;this.u4[1]=
q.y;this.u4[2]=q.z;this.u4[3]=q.w;return this.u4}n=this.filter.Tr();n=this.c9a.g6a(n,this.g3,this.eM);q=new b.Quaternion;q.copy(this.D2);q.multiply(this.Lu);q.multiply(n);q.multiply(this.GM);return q};l.prototype.resetPose=function(){this.Lu.copy(this.filter.Tr());this.Lu.x=0;this.Lu.y=0;this.Lu.z*=-1;this.Lu.normalize();f.KEa()&amp;&amp;this.Lu.multiply(this.u3);this.Lu.multiply(this.GGa)};l.prototype.TT=function(n){this.mX=this.mX||new b.Quaternion;var q=n.alpha,p=n.beta;n=n.gamma;q=(q||0)*Math.PI/180;
p=(p||0)*Math.PI/180;n=(n||0)*Math.PI/180;this.mX.tIa(p,q,-n)};l.prototype.ST=function(n){var q=n.rotationRate;if(q){var p=n.accelerationIncludingGravity;n=n.timeStamp/1E3;this.AL&amp;&amp;(n/=1E3);var r=n-this.eM;r&lt;=f.$ma||r&gt;f.Wma?this.eM=n:(this.lS.set(-p.x,-p.y,-p.z),this.g3.set(q.alpha,q.beta,q.gamma),(this.rp||this.AL||this.o7a)&amp;&amp;this.g3.multiplyScalar(Math.PI/180),this.filter.S2a(this.lS,n),this.filter.$2a(this.g3,n),this.eM=n,this.BFa||(this.AFa++,5&lt;=this.AFa&amp;&amp;(this.BFa=!0,d.trigger(new h(c.hd)))),
this.f0!=this.hDa()&amp;&amp;this.sG(),d.trigger(new h(c.ba)))}else this.mja=!0,window.addEventListener("deviceorientation",this.TT),window.removeEventListener("devicemotion",this.ST)};l.prototype.bind=function(){d.bind.apply(d,arguments)};l.prototype.unbind=function(){d.unbind.apply(d,arguments)};l.prototype.sG=function(){this.TIa();d.trigger(new h(c.ba))};l.prototype.TIa=function(){this.GM.set(0,0,0,1);this.f0=this.hDa();switch(this.f0){case "landscape-primary":this.GM.setFromAxisAngle(new b.Vector3(0,
0,1),-Math.PI/2);break;case "landscape-secondary":this.GM.setFromAxisAngle(new b.Vector3(0,0,1),Math.PI/2)}this.u3.copy(this.GM);this.u3.inverse()};l.prototype.hDa=function(){var n=screen.orientation&amp;&amp;screen.orientation.type;if(!n)switch(window.orientation){case 0:n="portrait-primary";break;case 90:n="landscape-primary";break;case -90:n="landscape-secondary";break;case 180:n="portrait-secondary"}"landscape-primary"==n&amp;&amp;(4.9&lt;this.lS.z||-4.9&gt;this.lS.z?n=this.f0||n:0&lt;this.lS.x&amp;&amp;(n="landscape-secondary"));
return n};m.prototype.g6a=function(n,q,p){if(!this.eM)return this.F4.copy(n),this.eM=p,n;p=new b.Vector3;p.copy(q);p.normalize();q=q.length();if(q&lt;20*b.degToRad)return this.XT.copy(n),this.F4.copy(n),this.XT;this.oCa.setFromAxisAngle(p,q*this.d9a);this.XT.copy(this.F4);this.XT.multiply(this.oCa);this.F4.copy(n);return this.XT};k.prototype.set=function(n,q){this.sample=n;this.C5=q};k.prototype.copy=function(n){this.set(n.sample,n.C5)};var f={$ma:.001,Wma:1,K7a:function(n){return isNaN(n)||n&lt;=f.$ma||
n&gt;f.Wma?!1:!0}};f.rp=function(){var n=/iPad|iPhone|iPod/.test(navigator.platform);return function(){return n}}();f.ieb=function(){var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return function(){return n}}();f.AL=function(){var n=-1!==navigator.userAgent.indexOf("Firefox")&amp;&amp;-1!==navigator.userAgent.indexOf("Android");return function(){return n}}();f.tia=function(){var n=navigator.userAgent.match(/.*Chrome\/([0-9]+)/),q=n?parseInt(n[1],10):null;return function(){return q}}();f.p7a=
function(){var n=!1;if(65===f.tia()){var q=navigator.userAgent.match(/.*Chrome\/([0-9\.]*)/);if(q){q=q[1].split(".");var p=q[3];n=3325===parseInt(q[2],10)&amp;&amp;148&gt;parseInt(p,10)}}return function(){return n}}();f.KEa=function(){return 90==window.orientation||-90==window.orientation};return l});
define("ij","require lS py cI gE oh w fF jx mS".split(" "),function(a){function e(){function w(){q=!0;f.trigger(new m(l.ba))}function x(){var A;!I||!y&amp;&amp;B?B&amp;&amp;(A=z):A=D;p!=A&amp;&amp;(p&amp;&amp;(p.unbind(l.ba,w),p.stop()),p=A)&amp;&amp;(p.bind(l.ba,w,this,!0),w())}var y=h.ud()==h.yi||d.Dj("debug")&amp;&amp;"deviceorientation"==d.getQueryParameter("sensor"),z=new b,B=!1;z.bind(l.hd,function(){B=!0;x()},this,!0);var D=new g,I=!1;D.bind(l.hd,function(){I=!0;x()},this,!0)}a("lS");var l=a("py"),m=a("cI"),k=a("gE"),c=a("oh"),h=a("w"),
g=a("fF"),b=a("jx"),d=a("mS"),f=new k,n={},q=!1,p,r=[],t=!1,u=!1;n.Aka=function(w){w&amp;&amp;r.push(w);if(!n.disabled)for(;r.length;)r.pop()();else if(h.ud()==h.yi&amp;&amp;window.DeviceMotionEvent&amp;&amp;DeviceMotionEvent.requestPermission){DeviceOrientationEvent.requestPermission().then(function(y){"granted"===y&amp;&amp;(u=!0,x())})["catch"](function(){});DeviceMotionEvent.requestPermission().then(function(y){"granted"===y&amp;&amp;(t=!0,x())})["catch"](function(){});var x=function(){if(n.disabled&amp;&amp;t&amp;&amp;u)for(n.disabled=!1,e();r.length;)r.pop()()};
x()}};n.bind=function(w,x){f.bind(l.ba,w,x)};n.unbind=function(w,x){f.unbind(l.ba,w,x)};n.L8a=function(){return q};n.Tr=function(){q=!1;if(p){var w=p.Tr();w=c.D5(w);return{yaw:w.Ra,pitch:w.pitch,roll:w.Dg}}return{yaw:0,pitch:0,roll:0}};if(h.ud()==h.J7||h.ud()==h.d7||h.ud()==h.Tma)n.ik=!1,n.disabled=!1;else if(h.ud()==h.Su&amp;&amp;h.browser()==h.io&amp;&amp;"https:"!=window.location.protocol&amp;&amp;"localhost"!=window.location.hostname)n.ik=!0,n.disabled=!0;else if(h.ud()==h.yi)if(n.ik=!0,n.disabled=!0,window.DeviceMotionEvent&amp;&amp;
DeviceMotionEvent.requestPermission)n.Aka();else{var v=function(){window.removeEventListener("deviceorientation",v,!1);n.disabled=!1;e()};window.addEventListener("deviceorientation",v,!1)}else n.ik=void 0!=window.DeviceMotionEvent,n.disabled=!1;n.ik&amp;&amp;!n.disabled&amp;&amp;e();return n});
define("bg","require exports w mn ij cF mS".split(" "),function(a,e,l,m,k,c,h){return function(){function g(){}g.initialize=function(b){this.XR.P4?(this.pla(!0),b()):(this.Zia||(this.Zia=this.Obb().then(function(d){this.pla(d);return d}.bind(this)).catch(function(){this.pla(!1);return!1}.bind(this))),this.Zia.then(function(){b()}))};g.pla=function(b){this.XR.FM=b;this.XR.Jcb=b&amp;&amp;(l.Sf()||!l.qb());b&amp;&amp;m.Xab()};g.Obb=function(){return this.Qbb().then(function(b){return b?Promise.resolve(!0):this.Rbb()}.bind(this))};
g.Qbb=function(){return navigator.xr&amp;&amp;"cardboard"!=h.getQueryParameter("vr_mode")?this.Sbb():Promise.resolve(!1)};g.Rbb=function(){return this.B3a()?this.r3a():Promise.resolve(!1)};g.Sbb=function(){return navigator.xr&amp;&amp;navigator.xr.isSessionSupported?navigator.xr.isSessionSupported("immersive-vr"):navigator.xr&amp;&amp;navigator.xr.supportsSession?navigator.xr.supportsSession("immersive-vr"):Promise.reject()};g.B3a=function(){return k.ik&amp;&amp;l.qb()&amp;&amp;l.jk()!=l.OM};g.r3a=function(){var b=this;return new Promise(function(d){c.hoa.load(function(){var f;
b.a9a=new window.WebXRPolyfill({overwriteNativeXR:!0,cardboardConfig:{DPDB_URL:"https://raw.githubusercontent.com/immersive-web/webvr-polyfill-dpdb/refs/heads/main/dpdb.json",BUFFER_SCALE:null===(f=b.XR)||void 0===f?void 0:f.E4,CARDBOARD_UI_DISABLED:!1,ROTATE_INSTRUCTIONS_DISABLED:!0,MOBILE_WAKE_LOCK:!1}});b.XR.FL=!0;d(!0)})})};g.Zia=null;g.a9a=null;return g}()});
define("qa",["require","exports","py","three.mod"],function(a,e,l,m){var k=function(){function r(){}r.initialize=function(){this.XR.Aj=new m.Group;this.XR.Aj.matrixAutoUpdate=!1;this.XR.Un=new m.Group;this.XR.Un.matrixAutoUpdate=!1;this.XR.Aj.add(this.XR.Un);this.XR.N.bind(l.nV,this.HB,this,!0);this.XR.N.bind(l.ba,this.ze,this,!0)};r.setScale=function(t){this.gg!==t&amp;&amp;(this.gg=t,this.XR.zm=1/t,this.setPosition({x:this.XR.Bc.x,y:this.XR.Bc.y,z:this.XR.Bc.z,Ra:-b.setFromQuaternion(this.XR.cg,"YXZ").y*
p}))};r.kM=function(t){var u,v;this.N3(this.kC,h);this.N3(n.copy(this.kC).premultiply(this.XR.Aj.matrixWorld),c);var w=this.XR.Aj.matrix;w.identity();w.multiply(n.makeRotationY(void 0===t?c.yaw:-t*q));w.multiply(n.makeRotationY(-h.yaw));w.multiply(n.makeScale(this.XR.zm,this.XR.zm,this.XR.zm));w.multiply(n.makeTranslation(-h.x,-h.y,-h.z));void 0!==t&amp;&amp;(w=this.XR.Un.matrix,w.identity(),w.multiply(n.makeTranslation(h.x,h.y,h.z)),w.multiply(n.makeRotationY(-h.yaw*q)));this.XR.Aj.updateMatrixWorld(!0);
null===(u=this.camera)||void 0===u?void 0:u.updateMatrixWorld(!0);null===(v=this.tk)||void 0===v?void 0:v.updateMatrixWorld(!0);this.jma()};r.setPosition=function(t){var u,v;this.N3(this.kC,h);this.N3(n.copy(this.kC).premultiply(this.XR.Aj.matrixWorld),c);var w=this.XR.Aj.matrix;w.identity();w.multiply(n.makeTranslation(void 0===t.x?c.x:t.x,void 0===t.y?c.y:t.y,void 0===t.z?c.z:t.z));w.multiply(n.makeRotationY(void 0===t.yaw?c.yaw:-t.yaw*q));w.multiply(n.makeRotationX(void 0===t.pitch?c.pitch:t.pitch*
q));w.multiply(n.makeRotationZ(void 0===t.roll?c.roll:t.roll*q));w.multiply(n.makeRotationZ(-h.roll));w.multiply(n.makeRotationX(-h.pitch));w.multiply(n.makeRotationY(-h.yaw));w.multiply(n.makeScale(this.XR.zm,this.XR.zm,this.XR.zm));w.multiply(n.makeTranslation(-h.x,-h.y,-h.z));if(void 0!==t.yaw||void 0!==t.pitch||void 0!==t.roll)w=this.XR.Un.matrix,w.identity(),w.multiply(n.makeTranslation(h.x,h.y,h.z)),w.multiply(n.makeRotationY(-h.yaw*q)),w.multiply(n.makeRotationX(h.pitch*q)),w.multiply(n.makeRotationX(h.roll*
q));this.XR.Aj.updateMatrixWorld(!0);null===(u=this.camera)||void 0===u?void 0:u.updateMatrixWorld(!0);null===(v=this.tk)||void 0===v?void 0:v.updateMatrixWorld(!0);this.jma()};r.HB=function(){var t,u,v,w;this.Pu(this.XR.RB);this.eJa((null===(t=this.XR.mh)||void 0===t?void 0:t.xr.getCamera())||null);this.setCamera(this.XR.Ju);if(u=(u=(t=null===(u=this.XR.mh)||void 0===u?void 0:u.xr.getFrame())&amp;&amp;this.XR.referenceSpace&amp;&amp;t.getViewerPose(this.XR.referenceSpace))&amp;&amp;u.transform)this.XR.IBa=u.position.y,
this.kC.fromArray(u.matrix),this.kC.decompose(this.XR.Fcb,this.XR.hH,f),null===(v=this.camera)||void 0===v?void 0:v.updateMatrixWorld(!0),null===(w=this.tk)||void 0===w?void 0:w.updateMatrixWorld(!0),this.jma()};r.ze=function(){this.XR.isPresenting?this.scene&amp;&amp;this.camera&amp;&amp;(this.XR.RB!=this.scene||this.XR.Ju!=this.camera)&amp;&amp;(this.Pu(this.XR.RB),this.setCamera(this.XR.Ju),this.XR.mh.xr.updateCamera(this.XR.Ju),this.setPosition({x:this.XR.Bc.x,y:this.XR.Bc.y,z:this.XR.Bc.z,Ra:-b.setFromQuaternion(this.XR.cg,
"YXZ").y*p})):(this.Pu(null),this.eJa(null),this.setCamera(null))};r.jma=function(){n.copy(this.kC).premultiply(this.XR.Aj.matrixWorld).decompose(this.XR.Bc,this.XR.cg,f);b.setFromRotationMatrix(this.XR.Un.matrix,"YXZ");d.setFromMatrixPosition(this.kC);this.XR.Un.matrix.identity();this.XR.Un.matrix.multiply(n.makeTranslation(d.x,d.y,d.z));this.XR.Un.matrix.multiply(n.makeRotationFromEuler(b));this.XR.Un.updateMatrixWorld(!0)};r.Pu=function(t){this.scene!==t&amp;&amp;(this.scene&amp;&amp;this.scene.remove(this.XR.Aj),
null==t&amp;&amp;(this.HHa(),this.JHa()),(this.scene=t)&amp;&amp;this.scene.add(this.XR.Aj))};r.setCamera=function(t){this.camera!==t&amp;&amp;(this.HHa(),(this.camera=t)&amp;&amp;this.XR.Aj.add(this.camera))};r.eJa=function(t){this.tk!==t&amp;&amp;(this.JHa(),(this.tk=t)&amp;&amp;this.XR.Aj.add(this.tk))};r.HHa=function(){this.scene&amp;&amp;this.camera&amp;&amp;this.camera.parent===this.XR.Aj&amp;&amp;(this.scene.add(this.camera),this.camera=null)};r.JHa=function(){this.tk&amp;&amp;this.tk.parent===this.XR.Aj&amp;&amp;(this.tk.parent.remove(this.tk),this.tk=null)};r.N3=function(t,
u){t.decompose(d,g,f);b.setFromQuaternion(g,"YXZ");u.yaw=b.y;u.pitch=b.x;u.roll=b.z;u.x=d.x;u.y=d.y;u.z=d.z};r.kC=new m.Matrix4;r.gg=1;r.scene=null;r.camera=null;r.tk=null;return r}(),c={x:void 0,y:void 0,z:void 0,Ra:void 0},h={x:void 0,y:void 0,z:void 0,Ra:void 0},g=new m.Quaternion,b=new m.Euler,d=new m.Vector3,f=new m.Vector3,n=new m.Matrix4,q=Math.PI/180,p=180/Math.PI;window.Qm=function(r){k.setPosition({x:void 0,y:void 0,z:void 0,Ra:r})};return k});
define("bT",["require","exports"],function(){return{vH:"gaze",XM:"laser"}});
define("jn",["require","exports","py"],function(a,e,l){return function(){function m(){}m.J$a=function(k,c,h){var g=this.XR.Nm.indexOf(k);-1&lt;g&amp;&amp;g!==this.XR.Nm.length-1&amp;&amp;(this.XR.Nm.splice(g,1),this.XR.Nm.splice(this.XR.Nm.length,0,k));this.XR.yka.set(k,c);this.XR.xka.set(k,h);k!==this.XR.mh||this.XR.RB===c&amp;&amp;this.XR.Ju===h||(this.XR.RB=c,this.XR.Ju=h,this.XR.N.trigger(l.ba))};m.add=function(k){this.remove(k);this.XR.Nm.push(k)};m.remove=function(k){var c=this.XR.Nm.indexOf(k);-1!=c&amp;&amp;(this.XR.Nm.splice(c,
1),this.XR.yka.delete(k),this.XR.xka.delete(k))};return m}()});define("iQ",["require","exports"],function(){return{p7:"Panorama",ana:"Model3D"}});define("jF",["require","exports"],function(){return{vH:"gaze",NLa:"gaze_click"}});define("F",["require","exports"],function(){return{zl:"Cardboard",ydb:"WebVR",cNa:"WebXR"}});
define("nJ",["require","exports","py","nf","hB"],function(a,e,l,m,k){return function(){function c(){}c.initialize=function(){this.ze=this.ze.bind(this);this.s4=this.s4.bind(this);this.XR.N.bind(l.ba,this.ze,this,!0);window.addEventListener("vrdisplayblur",function(){k.yla(!0)},!0);window.addEventListener("vrdisplayfocus",function(){k.yla(!1)},!0)};c.ze=function(){this.XR.session?(this.mC=this.XR.session,this.mC.addEventListener("visibilitychange",this.s4)):(this.mC&amp;&amp;this.mC.removeEventListener("visibilitychange",
this.s4),this.mC=null);k.Cy(this.XR.isPresenting)};c.s4=function(){k.yla(!this.mC||"visible"!=this.mC.visibilityState);m.ELa&amp;&amp;"visible"!=this.mC.visibilityState&amp;&amp;this.XR.iia()};c.mC=null;return c}()});
define("dC",["require","exports","w","mS"],function(a,e,l,m){return function(){function k(){}k.initialize=function(){this.xB=-1&lt;[l.zs,l.Xu].indexOf(l.sc());this.HKa=m.Dj("vr");if(this.xB||this.HKa)this.oKa(),document.addEventListener("visibilitychange",function(){document.hidden||this.oKa()}.bind(this),!1)};k.oKa=function(){this.V3a();this.pha=0;this.DJa()};k.DJa=function(){this.pha++;this.B5=setTimeout(this.I8a.bind(this),this.HKa?500:1E3*this.pha)};k.V3a=function(){this.B5&amp;&amp;(clearTimeout(this.B5),
this.B5=null)};k.I8a=function(){this.B5=null;this.xB&amp;&amp;5&lt;this.pha?window.location.reload():document.hidden||k.XR.isPresenting||(!this.NS()||this.xB)&amp;&amp;this.DJa()};k.NS=function(){for(var c=this.XR.A4.Yi("PanoramaPlayer"),h=0;h&lt;c.length;h++){var g=c[h];if(g.get("panorama"))return g.get("viewerArea").set("viewMode","vr"),!0}c=this.XR.A4.Yi("Model3DPlayer");for(h=0;h&lt;c.length;h++)if(g=c[h],g.get("model")&amp;&amp;g.get("model").get("isLoaded"))return g.get("viewerArea").set("viewMode","vr"),!0;return!1};return k}()});
define("on",["require","exports","three.mod"],function(a,e,l){return function(){function m(){}m.T9a=function(k,c){if(m.REa(k)){var h=m.cs(k),g,b=256;c.forEach(function(d){if(m.REa(d)){var f=m.KHa(h,m.cs(d));f&lt;b&amp;&amp;(g=d,b=f)}});if(g&amp;&amp;5&gt;=b)return g}return k};m.T2=function(k,c){return m.KHa(m.cs(k),m.cs(c))};m.REa=function(k){return!!k&amp;&amp;0===k.indexOf("#")};m.cs=function(k){return[parseInt(k.substr(1,2),16),parseInt(k.substr(3,2),16),parseInt(k.substr(5,2),16)]};m.KHa=function(k,c){return Math.max(Math.abs(k[0]-
c[0]),Math.abs(k[1]-c[1]),Math.abs(k[2]-c[2]))};m.Wbb=function(k){k=m.cs(k);return k[0]&lt;&lt;16|k[1]&lt;&lt;8|k[2]&lt;&lt;0};m.Jp=function(k){return new l.Color(m.Wbb(k))};return m}()});
define("fZ",["require","exports","on","three.mod"],function(a,e,l,m){a=function(){function g(b,d){this.dot=this.ray=this.qa=null;this.qa=new m.Group;this.ray=new k(b,d);this.qa.add(this.ray.qa);this.dot=new c(b,d);this.qa.add(this.dot.qa)}g.prototype.update=function(){this.ray.update();this.dot.update()};g.prototype.dispose=function(){var b;this.qa&amp;&amp;(this.ray.dispose(),this.ray=null,this.dot.dispose(),this.dot=null,null===(b=this.qa.parent)||void 0===b?void 0:b.remove(this.qa),this.qa=null)};return g}();
var k=function(){function g(b,d){this.xp=this.material=this.qa=null;this.color="#ffffff";this.pc=b;this.yl=d;this.tla();this.qa=new m.Mesh(new m.CylinderGeometry(5E-4,5E-4,.35,8),this.material);this.qa.renderOrder=999;this.qa.position.z=-.175;this.qa.position.y=-.001;this.qa.rotation.copy(new m.Euler(-Math.PI/2,0,0,"YXZ"));this.qa.updateMatrix()}g.prototype.update=function(){this.aV();this.ima()};g.prototype.dispose=function(){var b;this.qa&amp;&amp;(this.qa.geometry.dispose(),this.Mla(),null===(b=this.qa.parent)||
void 0===b?void 0:b.remove(this.qa),this.qa=null)};g.prototype.tla=function(){if(!this.material){var b=document.createElement("canvas");b.width=b.height=256;this.xp=b.getContext("2d");this.material=new m.MeshBasicMaterial;this.material.map=new m.Texture(b);this.material.map.colorSpace=m.SRGBColorSpace;this.material.transparent=!0;this.aV()}};g.prototype.Mla=function(){var b,d;if(this.material){var f=null===(b=this.material.map)||void 0===b?void 0:b.image;f.width=f.height=1;null===(d=this.material.map)||
void 0===d?void 0:d.dispose();this.material.map=null;this.material.dispose();this.xp=this.material=null}};g.prototype.aV=function(){var b=this.pL();if(this.color!==b){this.color=b;b=l.cs(this.color).join(", ");var d=this.material.map.image,f=this.xp.createLinearGradient(0,0,0,d.height);f.addColorStop(0,"rgba("+b+", 0)");f.addColorStop(.5,"rgba("+b+", 1)");f.addColorStop(1,"rgba("+b+", 1)");this.xp.fillStyle=f;this.xp.clearRect(0,0,d.width,d.height);this.xp.fillRect(0,0,d.width,d.height);this.material.map.needsUpdate=
!0;this.material.needsUpdate=!0}};g.prototype.ima=function(){this.qa.visible=!this.pc.disabled&amp;&amp;!this.pc.hidden};g.prototype.pL=function(){return this.pc.pressed?this.yl.D4:this.pc.WL?this.yl.ika:this.yl.B4};return g}(),c=function(){function g(b,d){this.xp=this.cu=this.material=this.border=this.dot=this.qa=null;this.color="#ffffff";this.pc=b;this.yl=d;this.Jab();this.tla();this.qa=new m.Group;this.qa.renderOrder=999;this.border=new m.Mesh(new m.SphereGeometry(.0046,32,32),this.cu);this.dot=new m.Mesh(new m.SphereGeometry(.004,
32,32),this.material);this.qa.add(this.dot);this.qa.add(this.border);this.vKa()}g.prototype.update=function(){this.aV();this.vKa();this.ima()};g.prototype.dispose=function(){var b;this.qa&amp;&amp;(this.qa.remove(this.dot),this.dot.geometry.dispose(),this.Mla(),this.qa.remove(this.border),this.border.geometry.dispose(),this.Hbb(),null===(b=this.qa.parent)||void 0===b?void 0:b.remove(this.qa),this.qa=null)};g.prototype.Jab=function(){if(!this.cu){var b=document.createElement("canvas");b.width=b.height=256;
var d=b.getContext("2d");d.fillStyle="rgba(0, 0, 0, 0.75)";d.clearRect(0,0,b.width,b.height);d.fillRect(0,0,b.width,b.height);d=new m.MeshBasicMaterial;d.map=new m.Texture(b);d.map.colorSpace=m.SRGBColorSpace;d.map.needsUpdate=!0;d.transparent=!0;d.depthTest=!1;d.side=m.BackSide;this.cu=d;this.cu.needsUpdate=!0}};g.prototype.Hbb=function(){var b,d;if(this.cu){var f=null===(b=this.cu.map)||void 0===b?void 0:b.image;f.width=f.height=1;null===(d=this.cu.map)||void 0===d?void 0:d.dispose();this.cu.map=
null;this.cu.dispose();this.cu=null}};g.prototype.tla=function(){if(!this.material){var b=document.createElement("canvas");b.width=b.height=256;this.xp=b.getContext("2d");var d=new m.MeshBasicMaterial;d.map=new m.Texture(b);d.map.colorSpace=m.SRGBColorSpace;d.transparent=!0;d.depthTest=!1;this.material=d;this.aV()}};g.prototype.Mla=function(){var b,d;if(this.material){var f=null===(b=this.material.map)||void 0===b?void 0:b.image;f.width=f.height=1;null===(d=this.material.map)||void 0===d?void 0:d.dispose();
this.material.map=null;this.material.dispose();this.xp=this.material=null}};g.prototype.ima=function(){this.qa.visible=!this.pc.hidden&amp;&amp;!this.pc.disabled&amp;&amp;void 0!==this.pc.yu};g.prototype.vKa=function(){var b,d=this.qa.parent?h.setFromMatrixScale(null===(b=this.qa)||void 0===b?void 0:b.parent.matrixWorld).x:1;b=(this.pc.yu||500)/d;this.qa.position.z=-b;this.qa.scale.set(b,b,b);this.qa.updateMatrix()};g.prototype.aV=function(){var b=this.pL();this.color!==b&amp;&amp;(this.color=b,b=this.material.map.image,
this.xp.fillStyle=this.color,this.xp.clearRect(0,0,b.width,b.height),this.xp.fillRect(0,0,b.width,b.height),this.material.map.needsUpdate=!0,this.material.needsUpdate=!0)};g.prototype.pL=function(){return this.pc.pressed?this.yl.D4:this.pc.WL?this.yl.ika:this.yl.B4};return g}();new m.Matrix4;var h=new m.Vector3;return a});
define("jy",["require","exports","three.mod"],function(a,e,l){return function(){function m(){this.id=0;this.ray=new l.Ray;this.matrixWorld=new l.Matrix4;this.disabled=!1;this.handedness="";this.wi=this.WL=!1;this.OGa=0;this.yu=void 0;this.hidden=this.Hr=this.pressed=!1;this.Wb=new l.Vector2;this.dH=!1;this.id=m.NT++}m.NT=0;return m}()});
define("hP","require exports py w fZ jy mS three.mod".split(" "),function(a,e,l,m,k,c,h,g){var b=[0,1],d="trigger grip unknown0 thumbstick buttonA buttonB pico".split(" ");a=function(){function f(){}f.initialize=function(){this.XR.N.bind(l.ba,this.ze.bind(this),this,!0);this.XR.N.bind(l.Uh,this.IB.bind(this),this,!0);this.py=this.py.bind(this);this.oy=this.oy.bind(this);this.a4=this.a4.bind(this);this.d4=this.d4.bind(this);this.b4=this.b4.bind(this);this.qha=h.getQueryParameter("backURL")};f.rb=function(n){this.enabled=
n};f.isConnected=function(){return this.XK.some(function(n){return n})};f.KIa=function(n){var q;if(0&lt;this.Mh.length!==n)if(n){var p=new g.DirectionalLight(16777215,Math.PI);p.position.set(10,20,0);null===(q=this.Mm)||void 0===q?void 0:q.add(p);this.Mh.push(p)}else for(;this.Mh.length;)q=this.Mh.pop(),null===(p=this.Mm)||void 0===p?void 0:p.remove(q)};f.YIa=function(n){this.G5!==n&amp;&amp;((this.G5=n)?this.iu.forEach(this.zFa.bind(this)):this.iu.forEach(this.IHa.bind(this)))};f.X9a=function(n,q){n=this.d6a(n);
-1!=n&amp;&amp;(n=this.f2[n])&amp;&amp;n.hapticActuators&amp;&amp;n.hapticActuators.length&amp;&amp;(n=n.hapticActuators[0],n.pulse&amp;&amp;n.pulse(.6,q))};f.ze=function(){this.XR.isPresenting?this.$a():this.Ca()};f.$a=function(){b.forEach(function(n){this.Lab(n);this.Mab(n)}.bind(this))};f.Ca=function(){b.forEach(function(n){this.Lbb(n);this.Kbb(n);this.Jbb(n)}.bind(this))};f.IB=function(){this.kab(this.enabled&amp;&amp;this.XR.Aj||null);this.fma();this.fcb()};f.fma=function(){if(this.enabled){for(;this.XR.ng.length;)this.XR.ng.pop();b.forEach(function(n){var q=
this.controllers[n];if(q&amp;&amp;this.XK[n]){var p=this.MF[n];this.gcb(n);p.matrixWorld.copy(q.matrixWorld);p.ray.origin.set(0,0,0);p.ray.direction.set(0,0,-1);n=(n=(n=this.iu[n].motionController)&amp;&amp;n.components["xr-standard-thumbstick"])&amp;&amp;n.values;p.dH=n&amp;&amp;"pressed"==n.state||!1;p.Wb.set(n&amp;&amp;n.xAxis||0,n&amp;&amp;n.yAxis||0);this.XR.ng.push(p)}}.bind(this))}};f.fcb=function(){this.enabled&amp;&amp;b.forEach(function(n){n=this.CS[n];null===n||void 0===n?void 0:n.update()}.bind(this))};f.Sab=function(){if(!this.gia){var n=
this.XR.mh,q=n.xr.enabled;n.eu=!0;n.xr.enabled=!1;var p=new g.RoomEnvironment(n);this.gia=(new g.PMREMGenerator(n)).fromScene(p).texture;n.eu=!1;n.xr.enabled=q}};f.Lab=function(n){var q=this.XR.mh.xr.getController(n);this.controllers[n]!=q&amp;&amp;(q.addEventListener("selectstart",this.py),q.addEventListener("selectend",this.oy),q.addEventListener("connected",this.a4),q.addEventListener("disconnected",this.d4),q.userData.W3=!0,this.controllers[n]=q,this.MF[n]=new c,this.Jha[n]=0)};f.Jbb=function(n){var q=
this.controllers[n];q&amp;&amp;(q.removeEventListener("selectstart",this.py),q.removeEventListener("selectend",this.oy),q.removeEventListener("connected",this.a4),q.removeEventListener("disconnected",this.d4),this.controllers[n]=null)};f.Mab=function(n){if(!this.LF[n]){var q=this.XR.mh.xr.getControllerGrip(n);q.userData.W3=!0;this.g2||(this.g2=new g.XRControllerModelFactory);this.g2.path=g.LH.endsWith("/")?g.LH.slice(0,-1):g.LH;var p=this.g2.createControllerModel(q,this.Pcb);p.addEventListener("loaded",this.b4);
this.iu[n]=p;q.add(p);this.LF[n]=q}};f.Pcb=function(n){n=Array.from(n.profiles);if(m.jG())n=["meta-quest-touch-plus"].concat(n);else if(m.GL())n=["oculus-touch-v3"].concat(n);else if(m.PEa())n=["generic-trigger"].concat(n);else if(m.QEa()||0&lt;=n.indexOf("pico-phoenix")||0&lt;=n.indexOf("pico-4"))n=["pico-4"].concat(n);else if(m.UEa()||0&lt;=n.indexOf("htc-vive-focus-3")||0&lt;=n.indexOf("htc-vive-focus-3-plus"))n=["htc-vive-focus-3"].concat(n);else if(m.F7a()||m.x7a()||m.LEa()||0&lt;=n.indexOf("pico-g2")||0&lt;=
n.indexOf("pico-neo2")||0&lt;=n.indexOf("pico-neo3"))n=["generic-trigger"].concat(n);return n};f.Kbb=function(n){var q,p=this.LF[n];if(p){var r=this.iu[n];this.iu[n]=null;r.removeEventListener("loaded",this.b4);p.remove(r);this.LF[n]=null;null===(q=p.parent)||void 0===q?void 0:q.remove(p)}};f.Nab=function(n){if(!this.CS[n]){var q=new k(this.MF[n],this.XR.yl);this.CS[n]=q;this.controllers[n].add(q.qa)}};f.Lbb=function(n){var q=this.CS[n];q&amp;&amp;(q.dispose(),this.CS[n]=null)};f.kab=function(n){this.Mm!==n&amp;&amp;
(this.Mm=n,this.ocb())};f.ocb=function(){this.controllers.forEach(function(n){var q,p;n&amp;&amp;n.parent!=this.Mm&amp;&amp;(null===(q=n.parent)||void 0===q?void 0:q.remove(n),null===(p=this.Mm)||void 0===p?void 0:p.add(n))}.bind(this));this.LF.forEach(function(n){var q,p;n&amp;&amp;n.parent!=this.Mm&amp;&amp;(null===(q=n.parent)||void 0===q?void 0:q.remove(n),null===(p=this.Mm)||void 0===p?void 0:p.add(n))}.bind(this));this.Mh.forEach(function(n){var q,p;n.parent!==this.Mm&amp;&amp;(null===(q=n.parent)||void 0===q?void 0:q.remove(n),null===
(p=this.Mm)||void 0===p?void 0:p.add(n))}.bind(this))};f.py=function(n){n=this.R2(n.target);if(this.XK[n]){var q=this.MF[n];q.pressed=!0;this.XR.N.trigger(l.mz,{pointerState:q});this.Jha[n]=Date.now()}};f.oy=function(n){n=this.R2(n.target);if(this.XK[n]){var q=this.MF[n];q.pressed=!1;this.qha&amp;&amp;(this.GEa(n,"buttonB")||this.GEa(n,"pico"))?window.location.href=this.qha:(this.XR.N.trigger(l.GH,{pointerState:q}),this.Jha[n]+300&gt;Date.now()&amp;&amp;this.XR.N.trigger(l.Vf,{pointerState:q}))}};f.a4=function(n){var q,
p;if("gaze"!=n.data.targetRayMode){var r=this.R2(n.target);this.Nab(r);null===(q=this.Mm)||void 0===q?void 0:q.add(this.controllers[r]);null===(p=this.Mm)||void 0===p?void 0:p.add(this.LF[r]);this.XK[r]=!0;this.f2[r]=n.data.gamepad;this.MF[r].handedness=n.data.handedness;this.XR.N.trigger(l.uma)}};f.fja=function(n){return n.profiles.some(function(q){return 0&lt;=q.indexOf("hand")})};f.d4=function(n){var q,p;n=this.R2(n.target);null===(q=this.Mm)||void 0===q?void 0:q.remove(this.controllers[n]);null===
(p=this.Mm)||void 0===p?void 0:p.remove(this.LF[n]);this.XK[n]=!1;this.f2[n]=null;this.XR.N.trigger(l.vma)};f.b4=function(n){var q=this.w5a(n.target);q=this.iu[q];q.userData.fja=this.fja(n.target.motionController.xrInputSource);q.userData.Lh=!0;q.userData.SEa=!1};f.Oab=function(n){n=this.iu[n];this.Sab();n.setEnvironmentMap(this.gia);this.G5?this.zFa(n):this.IHa(n);n.userData.SEa=!0};f.gcb=function(n){var q=this.iu[n];q.userData.Lh&amp;&amp;(q.userData.SEa||this.Oab(n),n=this.MF[n],q.visible=q.userData.fja||
n.hidden?!1:!0)};f.GEa=function(n,q){q=d.indexOf(q);n=this.f2[n];if(!n)return!1;n=n.buttons.length&gt;q?n.buttons[q]:null;return!!n&amp;&amp;n.pressed};f.zFa=function(n){n&amp;&amp;n.traverse(function(q){if("isMesh"in q&amp;&amp;q.material){var p=q.material;if(!p.userData.bs){var r=p.userData.X7a;r||(r=p.clone(),p.userData.X7a=r,r.userData.bs=p,r.transparent||(r.transparent=!0,r.opacity=1,"map"in r&amp;&amp;r.map&amp;&amp;(r.map=this.e4a(r.map)),r.needsUpdate=!0));q.material=r}void 0===q.userData.bka&amp;&amp;(q.userData.bka=q.renderOrder);q.renderOrder=
1E3}}.bind(this))};f.IHa=function(n){n&amp;&amp;n.traverse(function(q){if("isMesh"in q&amp;&amp;q.material){var p=q.material;p.userData.bs&amp;&amp;(q.material=p.userData.bs);void 0==q.userData.bka&amp;&amp;(q.renderOrder=q.userData.bka)}}.bind(this))};f.e4a=function(n){if(!n)return null;var q=document.createElement("canvas");q.width=n.image.width;q.height=n.image.height;var p=q.getContext("2d");p.drawImage(n.image,0,0);for(var r=p.getImageData(0,0,q.width,q.height),t=r.data,u=0;u&lt;t.length;u+=4)t[u+3]=255;p.putImageData(r,0,0);
n=(new g.Texture).copy(n);n.image=q;n.needsUpdate=!0;return n};f.R2=function(n){return this.controllers.indexOf(n)};f.w5a=function(n){return this.iu.indexOf(n)};f.d6a=function(n){return this.XR.ng.indexOf(n)};f.enabled=!0;f.controllers=[null,null];f.XK=[!1,!1];f.LF=[null,null];f.iu=[null,null];f.g2=null;f.CS=[null,null];f.f2=[null,null];f.Mh=[];f.G5=!1;f.MF=[];f.Jha=[];f.Mm=null;f.gia=null;f.qha=null;return f}();new g.Matrix4;return a});
define("mq",["require","exports"],function(){return function(){function a(e){this.Gc=this.it(e.B4);this.qx=this.it(e.D4);this.Dx=this.Yk([0,0,0],0);this.t0=this.Yk([0,0,0],.125);this.tRa=this.Yk(this.Gc,1);this.uRa=this.Yk(this.qx,1);this.CPa=this.Yk(this.qx,1);this.BPa=this.Yk(this.Gc,.5);this.zPa=this.Yk(this.Gc,1);this.APa=this.Yk(this.qx,1);this.Ll=this.Xg=128;this.m8=4E3;this.Zqa=.1;this.Ml=.16;this.Zo=.04;this.Xpa=this.UW=.68-this.Zo;this.TW=1-this.Zo;this.T=document.createElement("canvas");
this.T.width=this.Xg;this.T.height=this.Ll;this.Da=this.T.getContext("2d");this.od=this.Tv=!1;this.eJ=this.$Z=void 0;this.fD=0}a.prototype.it=function(e){return(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]};a.prototype.Yk=function(e,l){return"rgba("+e.join(",")+", "+l+")"};a.prototype.PG=function(e,l){this.od=e;this.$Z=l};a.prototype.By=function(e){this.Tv=e};a.prototype.Fe=function(){return this.Xg};a.prototype.Ue=function(){return this.Ll};
a.prototype.dg=function(){return this.T};a.prototype.update=function(e){return this.Tv?this.xRa(e):this.od?this.CRa():this.BRa()};a.prototype.dispose=function(){this.Da=null;this.T.width=this.T.height=1};a.prototype.lI=function(){var e;null===(e=this.Da)||void 0===e?void 0:e.clearRect(0,0,this.Xg,this.Ll)};a.prototype.BRa=function(){if(this.eJ==a.Sma)return!1;this.lI();this.fra(this.tRa,1);this.eJ=a.Sma;return!0};a.prototype.CRa=function(){if(void 0===this.$Z){if(this.eJ==a.aa)return!1;this.lI();
this.fra(this.uRa,2)}else this.uXa(this.$Z);this.eJ=a.aa;return!0};a.prototype.xRa=function(e){for(this.fD+=e;this.fD&gt;this.m8;)this.fD-=this.m8;this.wPa(this.fD/this.m8);this.eJ=a.sV;return!0};a.prototype.fra=function(e,l){this.Tj(this.Zqa*l+this.Zo,0,this.Dx,this.t0,0,2*Math.PI);this.Tj(this.Zqa*l,0,this.Dx,e,0,2*Math.PI)};a.prototype.DRa=function(e){this.Tj(this.UW-.5*(this.Ml+this.Zo),this.Ml+this.Zo,this.t0,this.Dx,0,2*Math.PI);this.Tj(this.UW-.5*this.Ml,this.Ml,this.BPa,this.Dx,0,2*Math.PI);
this.Tj(this.UW-.5*this.Ml,this.Ml,this.CPa,this.Dx,.5*Math.PI,(.5+2*e)*Math.PI)};a.prototype.yRa=function(e,l){this.Tj(this.Xpa-.5*(this.Ml+this.Zo),this.Ml+this.Zo,this.t0,this.Dx,0,2*Math.PI);this.Tj(this.Xpa-.5*this.Ml,this.Ml,this.zPa,this.Dx,0,2*Math.PI);e=(.5+2*e)*Math.PI;for(l=(.5+2*l)*Math.PI;l&lt;e;)l+=2*Math.PI;var m=e-this.Zo/(2*this.TW*Math.PI),k=l+this.Zo/(2*this.TW*Math.PI);Math.abs(k-m+2*Math.PI)&lt;2*this.Zo&amp;&amp;(m=0,k=l);this.Tj(this.TW-.5*(this.Ml+this.Zo),this.Ml+this.Zo,this.t0,this.Dx,
m,k);this.Tj(this.TW-.5*this.Ml,this.Ml,this.APa,this.Dx,e,l)};a.prototype.Tj=function(e,l,m,k,c,h){var g=Math.round(.5*this.Xg),b=Math.round(.5*this.Ll),d=Math.min(g,b);e=Math.round(e*d);var f=this.Da;f&amp;&amp;(f.imageSmoothingEnabled=!0,f.lineWidth=l*d,f.strokeStyle=m,f.fillStyle=k,f.beginPath(),f.arc(g,b,e,c,h,!1),f.stroke(),f.fill())};a.prototype.wPa=function(e){this.lI();if(.25&gt;e){var l=e/.25;e=.5*l}else.5&gt;e?(l=(e-.25)/.25,e=.5+l,l=1+.5*l):.75&gt;e?(l=(e-.5)/.25,e=.5+.5*l,l=.5+l):(e=l=(e-.75)/.25,l=.5+
.5*l);this.yRa(e,l)};a.prototype.uXa=function(e){this.lI();this.DRa(e)};a.Sma="initial";a.sV="changing";a.aa="over";return a}()});define("np",["require"],function(){return{rdb:"single",FRONT:"front",ab:"left",BACK:"back",ub:"right",Ec:"top",wc:"bottom"}});
define("jI",["require","np"],function(a){a=a("np");var e={},l=Math.PI/180,m=new THREE.Matrix4;new THREE.Matrix4;var k=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];e.Fg=500;e.f6=.5*e.Fg;e.HMa=e.Fg;e.Tna=[a.FRONT,a.ub,a.BACK,a.ab,a.Ec,a.wc];e.kCa=function(c,h){for(var g=e.Fg,b=e.f6,d=c*h,f=this.Wv(),n=[],q=0,p=6*d;q&lt;p;q++)n.push(q);q=[];var r=d;q.push(this.UH(f,c,h,-b,+b,-b,+g,0,-g,0,n.slice(0,r)));p=r;r+=d;q.push(this.UH(f,c,h,+b,+b,
-b,0,+g,-g,0,n.slice(p,r)));p=r;r+=d;q.push(this.UH(f,c,h,+b,+b,+b,-g,0,-g,0,n.slice(p,r)));p=r;r+=d;q.push(this.UH(f,c,h,-b,+b,+b,0,-g,-g,0,n.slice(p,r)));p=r;r+=d;q.push(this.UH(f,c,h,-b,+b,+b,+g,0,0,-g,n.slice(p,r)));q.push(this.UH(f,c,h,-b,-b,-b,+g,0,0,+g,n.slice(r,r+d)));f.mergeVertices();f.computeFaceNormals();f.userData.type="cube";f.userData.uEa=c;f.userData.KKa=h;f.userData.V8a=q;return e.CR(f)};e.YK=function(){var c=this.Wv();this.Yoa(c,-.5,.5,0,1,0,0,0,-1,0,0);c.mergeVertices();c.computeFaceNormals();
c.userData.type="plane";return e.CR(c)};e.jCa=function(c,h,g,b,d,f,n,q,p,r,t,u){var v=this.Wv();v.vertices.push(new THREE.Vector3(c,h,g));v.vertices.push(new THREE.Vector3(b,d,f));v.vertices.push(new THREE.Vector3(n,q,p));v.vertices.push(new THREE.Vector3(r,t,u));v.faces.push(new THREE.Face3(0,2,1,null,null,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,0),new THREE.Vector2(1,1)]);v.faces.push(new THREE.Face3(0,3,2,null,null,0));v.faceVertexUvs[0].push([new THREE.Vector2(0,
1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);v.mergeVertices();v.computeFaceNormals();v.userData.type="quad";return e.CR(v)};e.NIa=function(c,h,g,b,d){c=e.Efa(c);var f=c.faceVertexUvs[0][0];f[0].x=h;f[0].y=g+d;f[1].x=h;f[1].y=g;f[2].x=h+b;f[2].y=g;f=c.faceVertexUvs[0][1];f[0].x=h;f[0].y=g+d;f[1].x=h+b;f[1].y=g;f[2].x=h+b;f[2].y=g+d;c.uvsNeedUpdate=!0;return e.CR(c,!0)};e.Rr=function(){return e.f6};e.Iia=function(c,h){return 2*c*Math.tan(.5*h*l)};e.Jia=function(c,h){return 2*c*Math.tan(.5*h*
l)};e.qu=function(c){return Math.max(Math.min(3.539647*c-6.669366*c*c+4.7454*c*c*c,e.f6),.1)};e.Wv=function(){var c=new THREE.Geometry;c.userData={};return c};e.dispose=function(c){c&amp;&amp;(c.isBufferGeometry&amp;&amp;c.userData&amp;&amp;c.userData.geometry&amp;&amp;c.userData.geometry.dispose(),c.isGeometry&amp;&amp;c.userData&amp;&amp;c.userData.TK&amp;&amp;c.userData.TK.dispose(),c.dispose())};e.CR=function(c,h){if(c.isBufferGeometry)return c;if(c.isGeometry){if(!c.userData.TK||h)c.userData.TK&amp;&amp;c.userData.TK.dispose(),h=c.toBufferGeometry(),(h.userData=
{}).geometry=c,c.userData.TK=h;return c.userData.TK}return null};e.Efa=function(c){return c.isGeometry?c:c.isBufferGeometry&amp;&amp;c.userData&amp;&amp;c.userData.geometry?c.userData.geometry:null};e.UH=function(c,h,g,b,d,f,n,q,p,r,t){for(var u={},v=0,w=0;w&lt;g;w++){u[w]={};for(var x=0;x&lt;h;x++)this.Yoa(c,b+n*x/h+0*w/g,d+0*x/h+p*w/g,f+q*x/h+r*w/g,n/h,0/h,q/h,0/g,p/g,r/g,t[v]),u[w][x]=c.faces.slice(c.faces.length-2,c.faces.length),v+=1}return u};e.beb=function(c,h,g){h=.5*h/Math.tan(.5*g);m.copy(c);c=k[0];c.x=0;c.y=
0;c.z=0;c.applyMatrix4(m);g=Math.sqrt(c.x*c.x+c.y*c.y+c.z*c.z);var b=h/c.z,d=k[1];d.x=c.x*b;d.y=c.y*b;d.z=h;return g/Math.sqrt(d.x*d.x+d.y*d.y+d.z*d.z)};e.V5a=function(c,h,g){c=e.Efa(c);m.copy(h.matrixWorldInverse).multiply(g);switch(c.userData.type){case "cube":return e.XTa(c,m,h.projectionMatrix);default:return e.YTa(c)}};e.Q5a=function(c,h,g){c=e.Efa(c);switch(c.userData.type){case "plane":return e.DTa(c,h,g);case "quad":return e.jsa(c,1,h,g)||e.jsa(c,0,h,g);default:return null}};e.Yoa=function(c,
h,g,b,d,f,n,q,p,r,t){var u=c.vertices.length;c.vertices.push(new THREE.Vector3(h,g,b));c.vertices.push(new THREE.Vector3(h+q,g+p,b+r));c.vertices.push(new THREE.Vector3(h+d+q,g+f+p,b+n+r));c.vertices.push(new THREE.Vector3(h+d,g+f,b+n));c.faces.push(new THREE.Face3(u,u+1,u+2,null,null,t));c.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(0,0),new THREE.Vector2(1,0)]);c.faces.push(new THREE.Face3(u,u+2,u+3,null,null,t));c.faceVertexUvs[0].push([new THREE.Vector2(0,1),new THREE.Vector2(1,
0),new THREE.Vector2(1,1)])};e.DTa=function(c,h,g){var b=c.faces[0],d=c.faces[1],f=k[0],n=k[1],q=k[2];f.copy(c.vertices[b.a]).applyMatrix4(h);n.copy(c.vertices[d.c]).applyMatrix4(h);q.copy(c.vertices[b.b]).applyMatrix4(h);h=n.x-f.x;d=n.y-f.y;var p=n.z-f.z;n=q.x-f.x;var r=q.y-f.y;q=q.z-f.z;var t=d*q-p*r,u=p*n-h*q,v=h*r-d*n,w=g.direction.x*t+g.direction.y*u+g.direction.z*v;if(0!=w&amp;&amp;(v=-(t*(g.origin.x-f.x)+u*(g.origin.y-f.y)+v*(g.origin.z-f.z))/w,!(0&gt;=v||(t=g.origin.x+g.direction.x*v-f.x,u=g.origin.y+
g.direction.y*v-f.y,f=g.origin.z+g.direction.z*v-f.z,g=(h*t+d*u+p*f)/(h*h+d*d+p*p),f=(n*t+r*u+q*f)/(n*n+r*r+q*q),h=c.faceVertexUvs[0][0][0],d=c.faceVertexUvs[0][1][2],c=c.faceVertexUvs[0][0][1],0&gt;g||1&lt;g||0&gt;f||1&lt;f))))return{pKa:h.x+(d.x-h.x)*g+(c.x-h.x)*f,IKa:h.y+(d.y-h.y)*g+(c.y-h.y)*f,materialIndex:b.materialIndex}};e.jsa=function(c,h,g,b){var d=c.faces[h],f=k[0],n=k[1],q=k[2];f.copy(c.vertices[d.a]).applyMatrix4(g);n.copy(c.vertices[d.b]).applyMatrix4(g);q.copy(c.vertices[d.c]).applyMatrix4(g);
g=n.x-f.x;var p=n.y-f.y,r=n.z-f.z;n=q.x-f.x;var t=q.y-f.y;q=q.z-f.z;var u=p*q-r*t,v=r*n-g*q,w=g*t-p*n,x=b.direction.x*u+b.direction.y*v+b.direction.z*w;if(0!=x&amp;&amp;(w=-(u*(b.origin.x-f.x)+v*(b.origin.y-f.y)+w*(b.origin.z-f.z))/x,!(0&gt;=w))){u=b.origin.x+b.direction.x*w-f.x;v=b.origin.y+b.direction.y*w-f.y;b=b.origin.z+b.direction.z*w-f.z;if(0!=(f=t*g-n*p))g=(v*g-u*p)/f,p=(v*n-u*t)/-f;else if(0!=(f=q*g-n*r))g=(v*g-u*p)/f,p=(v*n-u*t)/-f;else if(0!=(f=q*p-t*r))g=(b*p-v*r)/f,p=(b*t-v*q)/-f;else return;if(!(0&gt;
p||1&lt;p||0&gt;g||1&lt;g||1&lt;p+g))return n=c.faceVertexUvs[0][h][0],t=c.faceVertexUvs[0][h][1],c=c.faceVertexUvs[0][h][2],{pKa:n.x+(t.x-n.x)*p+(c.x-n.x)*g,IKa:n.y+(t.y-n.y)*p+(c.y-n.y)*g,materialIndex:d.materialIndex}}};e.XTa=function(c,h,g){var b=Array.prototype.concat.apply([],c.userData.V8a.map(function(d){return e.zsa(h,g,d,c.vertices,0,0,c.userData.uEa,c.userData.KKa).map(function(f){return f.materialIndex})}));return e.Jsa(b)};e.YTa=function(c){c=c.faces.map(function(h){return h.materialIndex});return e.Jsa(c)};
e.Jsa=function(c){var h={};c.forEach(function(b){h[b]=!0});c=[];for(var g in h)c.push(g);return c};e.zsa=function(c,h,g,b,d,f,n,q){var p=[];if(e.r0a(c,h,b[g[f][d][0].a],b[g[f+q-1][d][0].b],b[g[f+q-1][d+n-1][0].c],b[g[f][d+n-1][1].c]))if(1==n&amp;&amp;1==q)p.push(g[f][d][0]);else for(f=1&lt;q?[f,f+Math.ceil(.5*q),f+q]:[f,f+q],d=1&lt;n?[d,d+Math.ceil(.5*n),d+n]:[d,d+n],n=1;n&lt;f.length;n++){q=f[n-1];for(var r=f[n]-q,t=1;t&lt;d.length;t++){var u=d[t-1];p=p.concat(e.zsa(c,h,g,b,u,q,d[t]-u,r))}}return p};e.r0a=function(c,
h,g,b,d,f){var n=[null,null,null,null,null];k[0].copy(g).applyMatrix4(c);k[1].copy(b).applyMatrix4(c);k[2].copy(d).applyMatrix4(c);k[3].copy(f).applyMatrix4(c);g=0;b=4;for(c=0;4&gt;c;c++){d=k[(c+3)%4];f=k[c];var q=k[(c+1)%4];if(0&gt;=f.z)n[g++]=f;else{if(0&gt;=d.z){var p=k[b++],r=d.z/(d.z-f.z);p.x=d.x+(f.x-d.x)*r;p.y=d.y+(f.y-d.y)*r;p.z=-1E-5;n[g++]=p}0&gt;=q.z&amp;&amp;(p=k[b++],r=f.z/(f.z-q.z),p.x=f.x+(q.x-f.x)*r,p.y=f.y+(q.y-f.y)*r,p.z=-1E-5,n[g++]=p)}}if(2&lt;g){for(c=0;c&lt;g;c++)n[c].applyMatrix4(h);c=0;for(h=g-2;c&lt;
h;c++)if(g=n[c],b=n[c+1],d=n[c+2],!(1&lt;g.x&amp;&amp;1&lt;b.x&amp;&amp;1&lt;d.x||-1&gt;g.x&amp;&amp;-1&gt;b.x&amp;&amp;-1&gt;d.x||1&lt;g.y&amp;&amp;1&lt;b.y&amp;&amp;1&lt;d.y||-1&gt;g.y&amp;&amp;-1&gt;b.y&amp;&amp;-1&gt;d.y))return!0}return!1};e.lCa=function(c,h,g,b,d,f,n,q,p){var r=c*l,t=.5*-r+.5*Math.PI,u=h*l,v=.5*(Math.PI-u)-g*l,w=.5*e.HMa,x=64/Math.PI,y=Math.max(2,Math.ceil(r/b*x));x=Math.max(2,Math.ceil(u/d*x));for(var z=b*y,B=d*x,D=this.Wv(),I=0,A=[],E=0;E&lt;=B;E++){for(var J=[],C=v+E*u/B,L=0;L&lt;=z;L++){var S=-(t+L*r/z);D.vertices.push(new THREE.Vector3(-w*Math.cos(S)*Math.sin(C),+w*Math.cos(C),
+w*Math.sin(S)*Math.sin(C)));J.push(I++)}A.push(J)}for(t=r=0;t&lt;d;t++)for(u=t*x,v=0;v&lt;b;v++){w=v*y;for(E=0;E&lt;x;E++)for(z=n+(1-E/x)*p,B=n+(1-(E+1)/x)*p,L=0;L&lt;y;L++){I=f+L/y*q;J=f+(L+1)/y*q;C=A[u+E][w+L];S=A[u+E+1][w+L+1];var U=A[u+E][w+L+1];D.faces.push(new THREE.Face3(C,A[u+E+1][w+L],S,null,null,r));D.faceVertexUvs[0].push([new THREE.Vector2(I,z),new THREE.Vector2(I,B),new THREE.Vector2(J,B)]);D.faces.push(new THREE.Face3(C,S,U,null,null,r));D.faceVertexUvs[0].push([new THREE.Vector2(I,z),new THREE.Vector2(J,
B),new THREE.Vector2(J,z)])}r++}D.mergeVertices();D.computeFaceNormals();D.userData.type="sphere";D.userData.Ve=c;D.userData.vs=h;D.userData.pitch=g;D.userData.uEa=b;D.userData.KKa=d;return e.CR(D)};return e});
define("cL","require exports mq bn three.mod jI".split(" "),function(a,e,l,m,k,c){a=function(){function g(b,d){this.Ux=this.Dp=null;this.pc=b;this.yl=d;this.canvas=new l(d);this.o4a();this.h4a();this.qa=new k.Group;this.qa.add(this.Dp);this.qa.add(this.Ux)}g.prototype.update=function(){this.canvas.update(m.aDa)&amp;&amp;(this.Dp.material.map.needsUpdate=!0);var b=c.qu(this.yl.ZGa||2),d=2*b*Math.tan(g.RLa/2);this.qa.matrixAutoUpdate=!1;this.qa.matrixWorldNeedsUpdate=!1;this.qa.matrix.identity();this.qa.matrix.multiply(h.makeTranslation(0,
0,-b));this.qa.matrix.multiply(h.makeScale(d,d,d));this.qa.updateMatrixWorld(!0)};g.prototype.ff=function(b){this.Dp.material.opacity=b};g.prototype.PG=function(b,d){void 0===d&amp;&amp;(d=void 0);this.canvas.PG(b,d)};g.prototype.By=function(b){this.canvas.By(b)};g.prototype.dispose=function(){var b;this.L4a();this.I4a();this.canvas.dispose();null===(b=this.qa.parent)||void 0===b?void 0:b.remove(this.qa);this.qa=null};g.prototype.I4a=function(){var b;if(this.Ux){this.Ux.geometry.dispose();var d=this.Ux.material.map.source;
d.width=d.height=1;this.Ux.material.map.dispose();null===(b=this.Ux.parent)||void 0===b?void 0:b.remove(this.Ux);this.Ux=null}};g.prototype.h4a=function(){var b=document.createElement("canvas");b.width=b.height=256;var d=b.getContext("2d");d.fillStyle="rgba(0, 0, 0, 0)";d.fillRect(0,0,256,256);d=new k.Texture;d.image=b;d.generateMipmaps=!0;d.minFilter=k.LinearMipMapLinearFilter;d.needsUpdate=!0;b=new k.MeshBasicMaterial({map:d,transparent:!0});b.map.needsUpdate=!0;b.needsUpdate=!0;b=new k.Mesh(new k.PlaneGeometry,
b);b.renderOrder=1E4;this.Ux=b};g.prototype.L4a=function(){var b;this.Dp&amp;&amp;(this.Dp.geometry.dispose(),this.Dp.material.map.dispose(),this.Dp.material.dispose(),null===(b=this.Dp.parent)||void 0===b?void 0:b.remove(this.Dp),this.Dp=null)};g.prototype.o4a=function(){var b=new k.PlaneGeometry,d=new k.Texture;this.canvas.update(10);d.colorSpace=k.SRGBColorSpace;d.image=this.canvas.dg();d.generateMipmaps=!0;d.minFilter=k.LinearMipMapLinearFilter;d.needsUpdate=!0;d=new k.MeshBasicMaterial({map:d,transparent:!0});
this.Dp=new k.Mesh(b,d);this.Dp.renderOrder=1E4};g.RLa=6*Math.PI/180;return g}();var h=new k.Matrix4;return a});
define("jB","require exports py jy cL jF three.mod".split(" "),function(a,e,l,m,k,c,h){a=function(){function d(){}d.initialize=function(){this.py=this.py.bind(this);this.oy=this.oy.bind(this);this.XR.N.bind(l.ba,this.ze.bind(this),this,!0);this.XR.N.bind(l.Uh,this.IB.bind(this),this,!0);this.XR.N.bind(l.gq,this.z8a.bind(this),this,!0)};d.rb=function(f){this.enabled=f;this.xKa()};d.ze=function(){this.xKa()};d.IB=function(){this.setCamera(this.enabled&amp;&amp;this.XR.Ju||null);this.fma();this.ucb()};d.z8a=
function(){this.XR.Kka==c.XV&amp;&amp;this.XR.N.trigger(l.Vf,{pointerState:this.pc})};d.xKa=function(){this.XR.isPresenting&amp;&amp;this.enabled?this.xla():this.Qla()};d.setCamera=function(f){this.camera!==f&amp;&amp;(this.camera=f,this.wcb())};d.fma=function(){this.XR.jL.origin.copy(this.XR.Bc);this.XR.jL.direction.set(0,0,-1).applyQuaternion(this.XR.cg);if(this.enabled){if(1!=this.XR.ng.length&amp;&amp;this.XR.ng[0]!==this.pc){for(;this.XR.ng.length;)this.XR.ng.pop();this.XR.ng.push(this.pc)}this.pc.matrixWorld.copy(g.compose(this.XR.Bc,
this.XR.cg,b));this.pc.ray.origin.set(0,0,0);this.pc.ray.direction.set(0,0,-1)}};d.wcb=function(){this.Xe&amp;&amp;this.Xe.qa.parent!==this.camera&amp;&amp;(this.Xe.qa.parent&amp;&amp;this.Xe.qa.parent.remove(this.Xe.qa),this.camera.add(this.Xe.qa))};d.xla=function(){var f;this.Xe||(this.Xe=new k(this.pc,this.XR.yl),null===(f=this.camera)||void 0===f?void 0:f.add(this.Xe.qa),this.controller=this.XR.mh.xr.getController(0),this.controller.addEventListener("selectstart",this.py),this.controller.addEventListener("selectend",
this.oy))};d.Qla=function(){this.Xe&amp;&amp;(this.Xe.dispose(),this.Xe=null,this.controller.removeEventListener("selectstart",this.py),this.controller.removeEventListener("selectend",this.oy),this.controller=null)};d.ucb=function(){var f,n,q,p;if(this.enabled){if(this.wi=this.pc.wi)this.CJa=this.pc.OGa;var r=Date.now();if(this.XR.Kka==c.vH){var t=this.wi?r-this.CJa:0;var u=this.XR.yl.cHa;this.NGa&lt;u&amp;&amp;t&gt;=u&amp;&amp;this.XR.N.trigger(l.Vf,{pointerState:this.pc});this.NGa=t;null===(f=this.Xe)||void 0===f?void 0:f.PG(this.wi&amp;&amp;
this.pc.WL,Math.min(1,t/u))}else null===(t=this.Xe)||void 0===t?void 0:t.PG(this.pc.WL);this.pc.wi||this.pc.Hr?this.uT=void 0:void 0==this.uT&amp;&amp;(f=this.XR.yl.fDa,void 0!==f&amp;&amp;(this.uT=r+f));r=(void 0!==this.uT?this.uT:Infinity)-r;null===(n=this.Xe)||void 0===n?void 0:n.ff(this.pc.hidden?0:Math.max(.01,Math.min(1,r/500)));null===(q=this.Xe)||void 0===q?void 0:q.By(this.pc.Hr);null===(p=this.Xe)||void 0===p?void 0:p.update()}};d.py=function(){this.pc.pressed=!0;this.XR.N.trigger(l.mz,{pointerState:this.pc})};
d.oy=function(){this.pc.pressed=!1;this.XR.N.trigger(l.mz,{pointerState:this.pc});this.XR.N.trigger(l.Vf,{pointerState:this.pc})};d.pc=new m;d.enabled=!1;d.camera=null;d.Xe=null;d.wi=!1;d.CJa=0;d.NGa=0;d.uT=void 0;d.controller=null;return d}();var g=new h.Matrix4,b=new h.Vector3(1,1,1);return a});
define("kG","require exports py bT hP jB".split(" "),function(a,e,l,m,k,c){return function(){function h(){}h.tab=function(g){this.gHa=g};h.initialize=function(){this.XR.N.bind(l.ba,this.ze.bind(this),this,!0);this.XR.N.bind(l.Uh,this.IB.bind(this),this,!0);this.XR.N.bind(l.uma,this.h8a.bind(this),this,!0);this.XR.N.bind(l.vma,this.i8a.bind(this),this,!0)};h.ze=function(){this.gma()};h.IB=function(){};h.h8a=function(){this.gma()};h.i8a=function(){this.gma()};h.gma=function(){var g=this.XR.isPresenting?
this.gHa===m.XM&amp;&amp;k.isConnected()?m.XM:m.vH:null;this.pointerType!==g&amp;&amp;(this.pointerType=g,k.rb(g===m.XM),c.rb(g===m.vH))};h.gHa=m.XM;h.pointerType=null;return h}()});define("cN",["require","exports"],function(){return function(){return function(){this.fDa=1E3;this.B4="#ffffff";this.ZGa=2;this.ika="#007acc";this.D4="#ff6600";this.cHa=1200;this.$Ca=0}}()});
define("cl",["require"],function(){return{zl:"data:image/png;base64,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",OLa:"data:image/png;base64,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",
DMa:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUsAAAFLCAMAAABoaV6sAAADAFBMVEUAAAAJCQkDAwMDAwMLCwsFBQXb29qgoKDg4ODy8vJRUVHBwcH19fWXl5fZ2djW1tX5+fny8vLY2Njp6el5eXnV1dSwsK/v7+/Ly8vu7u6goKDu7u7ExMO1tbTOzs10dHO6urnJycnAwL/Z2djQ0dDIyMja2tktnuotmez09PQso+koYMf8/Pwule3v7+8sp+cvke/6UFPOFR4nZcWsrKwrr+Urq+br7OwqtOMvi/EnasQncMfn6Ocoe8zj4+MqueLDw8QndckoeMongMwnbMYog8/d3dwojtModM3g4OAohtApktUomNUni9ApndgpsOAofNApptspq94qqOEocMssmOUqmdowh/EpcdEpodkpd9Eqf9cqitgqj9kro+MqdNYpidQpldkrnuMretgse90rbdUpbMwqa9Epf9MoZ8krmd8qhtsqg9kqnd4qot4tlegrkt8theUqZ88skeQrjd0pZMwtf+QugOkteOIsjeIphdUshuAsgd4ti+YrcNktkOgsdN4uiesqetQsdtru8vUujusvgu7Hx8jR0tMog9MveufMzc0snecrgdsWQG8sieEolNEqktvg6/UrleHM4fXn7/UobMnX5/W7v8Z3uPIqitwaS4AuhenA3PRcqfCcyvMgd6ao0PSEvvJPp+9Hm++11fORxfNts/FskMk5mO8caI9lr/Cwucijs8sklcOEn8mZq8hTne8ecZo2bsgwaMcbXIQ7n+1EpO5GeMo/cshhicmvv9SaueSpwuNnldXGzNMkhMEnoM4/gdl1pOZlnOfM1d9Vg8shYaq1yeNNfMdAhuV4l8kdUpTe5OrS3OeOpcpAju62trcghq3gMDY4d9IkY7gijrcifLRUkOhKjdmBrd0fWp+8xdKJsejAzd7E0+aTsNZ5oNTwVlrDHid8hZ4wWX1bjtVCpdSpqquINUgldb2sJTOipaqIlaFefZfMZXNrjLRLaoo1aI1kRl6an6W5b3s+UnLdWmPlu7ybdpBVmr+yhYlYU3CLmraxbYKtSmBvYR20AAAAJnRSTlMADRUdLSTtHFmoOi7dUODF681AbUnWbL+wlWSAmnm8NIajjKeLetZ4Pp0AAF5LSURBVHja7JpLbuJAEIbDChBeGHuBEAdIWspIs+UkuVCf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",
bN:"data:image/png;base64,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",
MMa:"data:image/png;base64,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",
e6:"data:image/png;base64,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",
lz:"data:image/png;base64,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",
r7:115,yMa:115,FH:"data:image/png;base64,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",
uMa:115,tMa:115,XMa:"data:image/png;base64,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",
YMa:115,wdb:117,$Ma:"data:image/png;base64,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",
UC:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}});
define("nL","require jquery.mod lS py cI gE w".split(" "),function(a){var e=a("jquery.mod"),l=a("lS"),m=a("py"),k=a("cI"),c=a("gE");a=a("w");if(a.sc()!=a.KM){var h=function(r){return r.requestFullscreen||r.msRequestFullscreen||r.mozRequestFullScreen||r.webkitRequestFullscreen},g=function(){return document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen},b=document.createElement("div");if(!(a=!(!h(b)&amp;&amp;!g())))try{a=window.self===window.top}catch(r){a=
!1}if(a){var d=l.extend(c,function(r){c.call(this);this.xa=r;this.Ct=h(r);this.pD=g(r);this.W=this.baa();var t=this;e(document).bind("msfullscreenchange webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){t.vfa()});e(window).bind("resize",function(){t.vfa()})});d.Yka=function(){};d.prototype.ik=function(){return!(!h(this.xa||b)&amp;&amp;!g())};d.prototype.u2=function(){this.enabled()||this.toggle()};d.prototype.Mr=function(){this.enabled()&amp;&amp;this.toggle()};d.prototype.toggle=function(){this.enabled()?
this.pD.call(document):this.Ct.call(this.xa);this.vfa()};d.prototype.enabled=function(){return this.W&amp;&amp;this.baa()};d.prototype.baa=function(){return this.xa===d.fullscreenElement()};d.prototype.vfa=function(){var r=this.baa();this.W!=r&amp;&amp;(this.W=r,this.trigger(new k(m.ba)),d.N.trigger(m.ba))};d.N=new c;d.enabled=function(){return!!d.fullscreenElement()};d.fullscreenElement=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement};
d.Mr=function(){d.enabled()&amp;&amp;g().call(document)}}else{d=l.extend(c,function(r){c.call(this);this.xa=r});var f=!0;d.Yka=function(r){f="out_of_frame"==r};d.prototype.ik=function(){return f};d.prototype.u2=function(){this.toggle()};d.prototype.Mr=function(){};d.prototype.toggle=function(){f&amp;&amp;window.open(window.self.location.href,"_blank")};d.prototype.enabled=function(){return d.enabled()};d.N=new c;d.enabled=function(){return!1};d.fullscreenElement=function(){return null};d.Mr=function(){}}}else{d=
l.extend(c,function(r){c.call(this);this.xa=r});d.prototype.ik=function(){return!0};d.prototype.u2=function(){this.enabled()||this.toggle()};d.prototype.Mr=function(){this.enabled()&amp;&amp;this.toggle()};d.prototype.toggle=function(){if(this.enabled())n("fullscreen"),d.Wz=null;else{d.Wz&amp;&amp;d.Wz.Mr();n("fullscreen");var r=q();r.push("fullscreen");p(r);d.Wz=this}this.trigger(new k(m.ba));d.N.trigger(m.ba)};d.prototype.enabled=function(){return this==d.Wz};d.N=new c;d.enabled=function(){return!!d.fullscreenElement()};
d.fullscreenElement=function(){return d.Wz&amp;&amp;d.Wz.xa};d.Mr=function(){d.enabled()&amp;&amp;d.Wz.Mr()};d.Yka=function(){};d.Wz=null;var n=function(r){for(var t=q(),u=[],v=0;v&lt;t.length;v++)t[v]!=r&amp;&amp;u.push(t[v]);p(u)},q=function(){var r=window.location.hash.substring(1);return r.length?r.split("&amp;"):[]},p=function(r){window.location.hash="#"+(r.length?r.join("&amp;"):"")}}return d});
define("dF",["require"],function(){var a={};a:{try{if("localStorage"in window&amp;&amp;(window.localStorage.setItem("test","test"),"test"==window.localStorage.getItem("test"))){window.localStorage.removeItem("test");var e=!0;break a}}catch(m){}e=!1}if(e)a.setItem=function(m,k){window.localStorage.setItem(m,k)},a.getItem=function(m){return window.localStorage.getItem(m)},a.removeItem=function(m){return window.localStorage.removeItem(m)},a.clear=function(){try{window.localStorage.clear()}catch(m){}};else{var l=
{};a.setItem=function(m,k){l[m]=k};a.getItem=function(m){return l[m]};a.removeItem=function(m){delete l[m]};a.clear=function(){l={}}}return a});
define("js","require jquery.mod lS pw w mS pY cl nL dF".split(" "),function(a){function e(V,W){this.J2a=V;this.eQa=W;this.qfa=[];this.Pj=null;this.wx=!1}var l=a("jquery.mod"),m=a("lS"),k=a("pw"),c=a("w"),h=a("mS"),g=a("pY"),b=a("cl"),d=a("nL"),f=a("dF"),n="color:#000; font-family:Arial, Helvetica, sans-serif;",q="",p="border-color:#b2b2b2;",r=p,t="background-color:#009adb; border:none; box-sizing:border-box; color:#fff; cursor:pointer; font-family:Arial, Helvetica, sans-serif; text-align:center;",u=
"vertical-align:middle; padding:0;",v='&lt;img style="width:33vmin;" src="'+b.zl+'"/&gt;',w='&lt;img style="width:24vmin;" src="'+b.zl+'"/&gt;',x='&lt;img style="width:34vmin;" src="'+b.e6+'"/&gt;',y='&lt;img style="width:34vmin;" src="'+b.OLa+'"/&gt;',z='&lt;img style="width:24vmin;" src="'+b.DMa+'"/&gt;';c.qb()?(t+=" margin:0 1vmin; min-width:20vmin; padding:2.2vmin 4vmin; font-size:3.6vmin; font-weight:bold; min-width:30vmin;",n+=" font-size:3.6vmin; line-height:4.3vmin;",q+=" margin:5vmin 0;",p+="  margin:5vmin 0;",r+="  margin:3vmin 0;",
u+=" height:4vmin; margin:0 1vmin 0 0; width:4vmin;"):t+=" font-size:19px; padding:17px 34px;";q+=n;e.prototype.z9=function(){this.Pj||(this.Pj=l("&lt;div/&gt;"),this.Pj.css({position:"fixed","z-index":g.VLa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),this.Pj.html(this.eQa),l(this.Pj).find("button").on("click",function(V){this.iWa(l(V.currentTarget).attr("id"))}.bind(this)))};e.prototype.Eea=function(V,W){var K={},N;for(N in W)K[N]=V.css(N);
this.qfa.push({$el:V,css:K});V.css(W)};e.prototype.HYa=function(){for(;this.qfa.length;){var V=this.qfa.pop();V.$el.css(V.css)}};e.prototype.show=function(V,W,K){V||(V=function(){});W||(W=function(){});if(this.wx){var N=this.aX;this.aX=function(){N();V()};var R=this.PW;this.PW=function(){R();W()}}else{this.z9();this.aX=V;this.PW=W;var X=this.VSa();if(void 0===X){this.wx=!0;var ba=this;X=d.fullscreenElement()||document.body;X=l(X);!0!==K?X.children().each(function(){ba.Eea(l(this),{visibility:"hidden"})}):
(this.Eea(X,{overflow:"hidden"}),X.children().each(function(){ba.Eea(l(this),{position:"absolute","z-index":0})}));X.append(this.Pj)}else this.wx=!1,X?this.aX():this.PW()}};e.prototype.hide=function(){this.wx&amp;&amp;(this.wx=!1,this.Pj.detach(),this.HYa())};e.prototype.VSa=function(){var V=f.getItem(this.dsa());if("true"==V)return!0;if("false"==V)return!1};e.prototype.gya=function(V){f.setItem(this.dsa(),V?"true":"false")};e.prototype.dsa=function(){return this.J2a+"DontDisplay:"+window.location.pathname};
e.prototype.iWa=function(V){var W=l("#tdvvriw_dontdisplay").is(":checked");this.hide();"tdvvriw_continue"==V?(this.aX(),W&amp;&amp;this.gya(!0)):"tdvvriw_cancel"==V&amp;&amp;(this.PW(),W&amp;&amp;this.gya(!1))};a=m.extend(e,function(){var V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',v,'&lt;div style="'+q+'"&gt;'+k("use-cardboard-info")+"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;'+
k("use-cardboard")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;",'&lt;hr style="'+p+'"&gt;',"&lt;div&gt;",'&lt;div style="'+q+'"&gt;','&lt;div style="margin-bottom:2vmin;"&gt;'+k("samsung-internet-vr-app-info")+"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_cancel"&gt;'+k("launch-default-browser")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;",y,"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;",'&lt;div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'"&gt;','&lt;input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"&gt;&lt;label for="tdvvriw_dontdisplay"&gt;'+
k("dont-display-again")+"&lt;/label&gt;","&lt;/div&gt;"].join("\n");e.call(this,"ChromeAppInfoWindow",V)});var B=m.extend(e,function(){var V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',v,'&lt;div style="'+q+'"&gt;'+k("use-cardboard-info")+"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;OK&lt;/button&gt;&lt;/div&gt;',"&lt;/div&gt;",'&lt;hr style="'+p+'"&gt;',"&lt;div&gt;",'&lt;div style="'+q+'"&gt;',
'&lt;div style="margin-bottom:2vmin;"&gt;'+k("samsung-internet-vr-info")+"&lt;/div&gt;","&lt;/div&gt;",y,"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;",'&lt;div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'"&gt;','&lt;input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"&gt;&lt;label for="tdvvriw_dontdisplay"&gt;'+k("dont-display-again")+"&lt;/label&gt;","&lt;/div&gt;"].join("\n");e.call(this,"SamsungInternetInfoWindow",V)}),D=m.extend(e,function(){e.call(this,"SamsungInternetForGearVRInfoWindow",
['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',y,'&lt;div style="'+q+'"&gt;This content requires access to the WebVR API.&lt;br&gt;To enable WebVR open the "More" menu you\'ll find above this window and then click on the "Labs" item.&lt;/div&gt;','&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_cancel"&gt;OK&lt;/button&gt;&lt;/div&gt;',"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;"].join("\n"))}),I=m.extend(e,function(){var V=
['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;','&lt;div style="'+q+'"&gt;&lt;/div&gt;','&lt;div style="text-align:center;"&gt;&lt;button style="'+t+' box-shadow:0 0 4px rgba(0, 0, 0, 0.5);" id="tdvvriw_continue"&gt;'+k("exit-vr")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;&lt;/div&gt;"].join("\n");e.call(this,"ExternalVRDisplayVRInfoWindow",V)});I.prototype.z9=function(){e.prototype.z9.call(this);!0===h.lg("vrv")&amp;&amp;
this.Pj.css({background:"none"})};var A=m.extend(e,function(){var V=c.browser()==c.rh?"https:"!=window.location.protocol&amp;&amp;"localhost"!=window.location.hostname?"&lt;div&gt;"+k("giroscope-disabled-http")+"&lt;/div&gt;":k("giroscope-disabled-safari-request-permission").map(function(W){return"&lt;div&gt;"+W+"&lt;/div&gt;"}).join("\n"):"&lt;div&gt;"+k("giroscope-disabled-http")+"&lt;/div&gt;";V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',
'&lt;div style="'+q+'"&gt;',V,"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;OK&lt;/button&gt;&lt;/div&gt;',"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;",'&lt;div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'"&gt;','&lt;input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"&gt;&lt;label for="tdvvriw_dontdisplay"&gt;'+k("dont-display-again")+"&lt;/label&gt;","&lt;/div&gt;"].join("\n");e.call(this,"GiroscopeDisabledInfoWindow",V)}),E=m.extend(e,function(){var V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',
v,'&lt;div style="'+q+'"&gt;'+k("use-cardboard-info")+'&lt;/div&gt;&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;'+k("use-cardboard")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;",'&lt;hr style="'+p+'"&gt;',"&lt;div&gt;",y,'&lt;div style="'+q+'"&gt;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).&lt;/div&gt;','&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_cancel"&gt;Use Carmel web browser&lt;/button&gt;&lt;/div&gt;',"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;"].join("\n");e.call(this,"CarmelInstallationPromptVRInfoWindow",
V)}),J=m.extend(e,function(){var V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;\n&lt;div&gt;',v,'&lt;div style="'+n+' margin:2vmin 0;"&gt;'+k("cardboard-v1")+"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+t+'" id="tdvvriw_cancel"&gt;'+k("use-default-cardboard")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;",'&lt;hr style="'+r+'"&gt;',"&lt;div&gt;",'&lt;div style="'+n+' margin-bottom:2vmin;"&gt;'+k("cardboard-v2")+"&lt;/div&gt;",'&lt;div&gt;&lt;button style="'+
t+'" id="tdvvriw_continue"&gt;'+k("use-cardboard-v2")+"&lt;/button&gt;&lt;/div&gt;",x,"&lt;/div&gt;\n&lt;/div&gt;&lt;/div&gt;",'&lt;div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+q+'"&gt;','&lt;input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"&gt;&lt;label for="tdvvriw_dontdisplay"&gt;'+k("dont-display-again")+"&lt;/label&gt;","&lt;/div&gt;"].join("\n");e.call(this,"CardboardV2InfoWindow",V)}),C=m.extend(e,function(){var V=['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;',
'&lt;div style="'+q+'"&gt;&lt;/div&gt;','&lt;div style="text-align:center;"&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;'+k("enter-vr")+"&lt;/button&gt;&lt;/div&gt;","&lt;/div&gt;&lt;/div&gt;"].join("\n");e.call(this,"EnterVRInfoWindow",V)}),L=m.extend(e,function(){e.call(this,"PreparingVRInfoWindow",['&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;','&lt;div style="'+q+'"&gt;Preparing VR...&lt;/div&gt;',"&lt;/div&gt;&lt;/div&gt;"].join("\n"))}),
S=m.extend(e,function(){var V=['&lt;div style="position: absolute; top: 7vmin; right:5vmin; "&gt;',w,'&lt;/div&gt;\n&lt;div style="box-sizing:border-box; margin:0; padding:0 12vmin; display:table; height:100%; width:100%;"&gt;&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;',z,'&lt;div style="'+q+'"&gt;'+k("use-safari-for-vr")+"&lt;/div&gt;",'&lt;div style="text-align:center;"&gt;&lt;button style="'+t+'" id="tdvvriw_continue"&gt;OK&lt;/button&gt;&lt;/div&gt;',"&lt;/div&gt;&lt;/div&gt;",'&lt;div style="position:absolute; left:12vmin; right:12vmin; bottom:6vmin; '+
q+'"&gt;','&lt;input type="checkbox" id="tdvvriw_dontdisplay" name="tdvvriw_dontdisplay" value="true" style="'+u+'"&gt;&lt;label for="tdvvriw_dontdisplay"&gt;'+k("dont-display-again")+"&lt;/label&gt;","&lt;/div&gt;"].join("\n");e.call(this,"UseSafariVRInfoWindow",V)});m=m.extend(e,function(){var V=['&lt;div style="position: absolute; top: 5vmin; right:5vmin;"&gt;','&lt;img style="width:24vmin" src="'+b.zl+'"/&gt;','&lt;/div&gt;\n&lt;div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;"&gt;\n&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;',
'&lt;img style="width:22vmin" src="'+b.bN+'"/&gt;','&lt;div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;"&gt;'+k("rotate-device")+"&lt;/div&gt;","&lt;/div&gt;\n&lt;/div&gt;"].join("\n");e.call(this,"RotateVRInfoWindow",V)});var U={};U.odb=new B;U.pdb=new D;U.Ima=new I;U.Ucb=new E;U.Zcb=new C;U.idb=new L;U.foa=new S;U.bN=new m;U.Nma=new A;U.dLa=new a;U.e6=new J;return U});
define("ed","require lS jquery.mod es pw cl py w e od oy".split(" "),function(a){function e(){this.Tb=!1;this.zR=null;this.wa=this.sa=100;this.Yaa=this.Gi=void 0;this.Zaa=100;this.xa=document.createElement("div");this.xa.style.opacity=0;this.xa.style.display="none";this.xa.style.transition="opacity 0.3s";this.xa.addEventListener("transitionend",this.Kfa.bind(this));this.te=document.createElement("div");this.eIa(!0);this.te.style.position="absolute";this.te.style.left=0;this.te.style.top=0;this.te.style.right=
0;this.te.style.bottom=0;this.xa.appendChild(this.te);this.hc=document.createElement("img");this.hc.style.cursor="pointer";this.hc.style.position="absolute";this.hc.style.left="50%";this.hc.style.top="50%";this.hc.style.transform="translate(-50%, -50%)";this.xa.appendChild(this.hc);this.K7=k(this.xa)}function l(t,u){this.reason=t;this.op=u}var m=a("lS"),k=a("jquery.mod");a("es");a("pw");var c=a("cl"),h=a("py"),g=a("w"),b=a("e"),d=a("od"),f=a("oy"),n=m.extend(b,function(){b.call(this);this.Re("UserInteractionWindow");
this.oc=null;this.Dt=[];var t=new d;t.set("duration",500);t.set("easing","cubic_in");var u=new f;u.set("duration",500);u.set("easing","cubic_out");this.ra({contentOpaque:!0,left:0,top:0,right:0,bottom:0,hideEffect:u,showEffect:t,visible:!1});this.bind(h.tc,this.Kga,this,!0);this.bind(h.ma,this.x2a,this,!0)});n.prototype.Kga=function(){this.oc&amp;&amp;this.oc.setSize(this.Bf(),this.Af())};n.prototype.x2a=function(){var t=this.Dt.slice();this.Dt=[];this.q1();t.forEach(function(u){u.op.call(u.context)})};n.prototype.Hb=
function(){b.prototype.Hb.call(this);this.oc||(this.oc=new e,this.oc.setSize(this.Bf(),this.Af()),this.oc.Ye(!0),this.Yb().append(this.oc.gd().css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"})),this.q1())};n.prototype.mq=function(){b.prototype.mq.call(this);this.getParent().bind(h.tc,this.Kga,this,!0);n.INa(this)};n.prototype.Ln=function(){this.getParent().unbind(h.tc,this.Kga,this,!0);b.prototype.Ln.call(this);n.mYa(this)};n.prototype.H9a=function(t){this.Ct(p,t)};n.prototype.lU=
function(t){this.Ct(q,t)};n.prototype.Ct=function(t,u){this.Dt.push(new l(t,u));this.Dt.sort(function(v,w){return r[v.reason]-r[w.reason]});this.q1()};n.prototype.K3a=function(t){this.cancel(p,t)};n.prototype.I3a=function(){this.cancel(q,void 0)};n.prototype.cancel=function(t,u){t=this.OTa(t,u);0&lt;=t&amp;&amp;this.xYa(t)};n.prototype.dI=function(){this.oW(!0)};n.prototype.Az=function(){this.oW(!1)};n.prototype.OTa=function(t,u){for(var v=0;v&lt;this.Dt.length;v++){var w=this.Dt[v];if(w.reason==t&amp;&amp;w.op==u)return v}return-1};
n.prototype.q1=function(){if(this.oc){var t=this.ZTa();if(t){switch(t.reason){case q:this.oc.cla(e.Pma);break;case p:this.oc.cla(e.a7)}this.set("visible",!0)}else this.set("visible",!1)}};n.prototype.xYa=function(t){this.Dt.splice(t,1);t==this.Dt.length&amp;&amp;this.q1()};n.prototype.ZTa=function(){return 0&lt;this.Dt.length?this.Dt[0]:null};var q="vr",p="play",r={};r[q]=0;r[p]=1;e.prototype.gd=function(){return this.K7};e.prototype.setSize=function(t,u){if(this.sa!==t||this.wa!==u)this.sa=t,this.wa=u,this.s1()};
e.prototype.eIa=function(t){this.te.style.backdropFilter=t?"blur(8px)":"none"};e.prototype.Ye=function(t){this.Tb!=t&amp;&amp;(this.Tb=t,this.zR&amp;&amp;(clearTimeout(this.zR),this.zR=null),this.Tb?(this.xa.style.display="block",this.xa.style.opacity=0,this.zR=setTimeout(function(){this.zR=null;this.xa.style.opacity=1}.bind(this),30)):this.xa.style.opacity=0)};e.prototype.cla=function(t){this.Gi!=t&amp;&amp;(this.Gi=t,this.E1a())};e.prototype.Kfa=function(){this.Tb||(this.xa.style.display="none")};e.prototype.E1a=function(){switch(this.Gi){case e.a7:this.Yaa=
c.lz;this.Zaa=c.r7;break;case e.Pma:this.Yaa=c.XMa,this.Zaa=c.YMa}this.hc.src=this.Yaa;this.s1()};e.prototype.s1=function(){g.qb()?(this.hc.style.maxWidth=Math.round(.5*this.sa)+"px",this.hc.style.width="20vmin"):(this.hc.style.maxWidth=Math.round(.33*this.sa)+"px",this.hc.style.width=this.Zaa+"px")};e.a7="play";e.Pma="vr";n.Ana=e;n.ld=[];n.qda=[];n.INa=function(t){n.ld.push(t);n.qda.forEach(function(u){n.dta(t,u)});n.qda=[]};n.mYa=function(t){n.ld.splice(n.ld.indexOf(t),1)};n.ready=function(){return 0&lt;
n.ld.length};n.lU=function(t){n.ld.length?n.ld.forEach(function(u){n.dta(u,t)}):n.qda.push(t)};n.dta=function(t,u){t.lU(function(){n.ld.forEach(function(v){v!=t&amp;&amp;v.I3a()});u()})};return n});
define("dj",["require","exports"],function(){return function(){function a(){}a.addParameter=function(e){this.removeParameter(e);var l=this.toArray();l.push(e);this.$Ja(l)};a.removeParameter=function(e){var l=this.toArray().filter(function(m){return m!=e});this.$Ja(l)};a.toArray=function(){var e=window.location.hash.substring(1);return e.length?e.split("&amp;"):[]};a.$Ja=function(e){window.location.hash="#"+(e.length?e.join("&amp;"):"")};return a}()});
define("gR","require exports w ij js e nL mA ed dj jF mS".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n){var q=!1;g.wait(function(){setTimeout(function(){q=!0},10)});return function(){function p(){}p.VG=function(r){this.CCa(r)};p.CCa=function(r){function t(){v.CCa(r)}function u(){v.ebb(r)}var v=this;this.XR.FL?m.disabled?k.Nma.show(function(){m.Aka(t)}):h.enabled()||!c.y3()?(h.Mr(),b.lU(t)):u():this.XR.P4?u():l.xB()?u():l.sc()==l.Vu||l.sc()==l.Wu?q?u():c.y3()?setTimeout(u,10):b.lU(function(){setTimeout(u,
10)}):c.y3()?u():b.lU(u)};p.ebb=function(r){function t(){u.U9a(r)}var u=this;l.sc()==l.oH?(d.removeParameter("vr"),k.dLa.show(t,function(){d.addParameter("vr")}.bind(this))):l.sc()==l.IM?k.foa.show(t):l.sc()==l.qV?k.foa.show():t()};p.U9a=function(r){function t(){v.XR.Kka=f.NLa;r()}function u(){v.XR.Kka=f.vH;r()}var v=this;!l.qb()||l.Sf()?u():"1"==n.getQueryParameter("cardboard_version")?u():"2"==n.getQueryParameter("cardboard_version")?t():k.e6.show(t,u)};return p}()});
define("u",["require","jquery.mod","nL"],function(a){function e(){f.get(0)==document.body&amp;&amp;h.height(window.innerHeight)}function l(p,r){var t={},u;for(u in r)t[u]=p.css(u);n.push({$el:p,css:t});p.css(r)}function m(p){this.xa=p}var k=a("jquery.mod"),c=a("nL");m.prototype.u2=function(){this.enabled()||this.toggle()};m.prototype.Mr=function(){this.enabled()&amp;&amp;this.toggle()};m.prototype.toggle=function(){this.enabled()?m.cancel():m.request(this.xa)};m.prototype.enabled=function(){return m.enabled(this.xa)};
var h=k("&lt;div/&gt;").css({position:"fixed",bottom:0,left:0,height:"100vh",width:"100vw"}),g=k("&lt;div/&gt;"),b=null,d=null,f=null,n=[],q=null;m.request=function(p){if(p!==b){m.cancel();b=p;var r=c.fullscreenElement()||document.body;d=k(p);f=k(r);g.insertAfter(d);d.appendTo(h);f.children().each(function(){l(k(this),{visibility:"hidden"})});l(d,{position:"absolute",left:0,top:0,width:"100%",height:"100%"});r==document.body?l(h,{position:"fixed",left:0,top:"",right:"",bottom:0,height:"100vh",width:"100vw",margin:0,
padding:0}):l(h,{position:"absolute",left:0,top:0,right:"",bottom:"",width:"100%",height:"100%",margin:0,padding:0});h.appendTo(f);e();q=setInterval(e,300)}};m.cancel=function(){if(b){h.detach();d.insertBefore(g);for(g.detach();n.length;){var p=n.pop();p.$el.css(p.css)}f=d=b=null;n=[];clearInterval(q)}};m.enabled=function(p){return b==p};return m});
define("lL","require lS py cI gE pw cl".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("pw");a=a("cl");var h=['&lt;div style="position: absolute; top: 5vmin; right:5vmin;"&gt;','&lt;img style="width:24vmin" src="'+a.zl+'"/&gt;','&lt;/div&gt;\n&lt;div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;"&gt;\n&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;'].join("\n"),g=h+['&lt;img style="width:22vmin" src="'+a.bN+'"/&gt;','&lt;div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;"&gt;'+
c("rotate-device")+"&lt;/div&gt;"].join("\n")+"&lt;/div&gt;\n&lt;/div&gt;",b=h+['&lt;img style="width:13vmin; vertical-align:middle;" src="'+a.MMa+'"/&gt;','&lt;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;"&gt;Please, swipe up to&lt;br&gt;enter Fullscreen Mode&lt;/div&gt;'].join("\n")+"&lt;/div&gt;\n&lt;/div&gt;";e=e.extend(k,function(){k.call(this);this.jm=this.zo=this.Ao=this.bP=this.cP=this.Oba=this.Pba=
void 0;this.nY=!1;this.QA=this.Dda=this.Nba=this.If=null;this.Gra=[];this.lba=this.lr=!1;this.Ic=this.Ic.bind(this)});e.prototype.request=function(){this.lr||(this.lr=!0,this.y9(),window.addEventListener("resize",this.Ic),document.body.appendChild(this.If),document.body.appendChild(this.QA),this.e0a=document.documentElement.style.overflow,this.d0a=document.body.style.overflow,document.documentElement.style.overflow="auto",document.body.style.overflow="auto",this.eQ())};e.prototype.cancel=function(){this.lr&amp;&amp;
(this.lr=!1,window.removeEventListener("resize",this.Ic),document.body.style.overflow=this.d0a,document.documentElement.style.overflow=this.e0a,document.body.removeChild(this.If),document.body.removeChild(this.QA),this.kya(!1))};e.prototype.enabled=function(){return this.nY};e.prototype.y9=function(){this.If||(this.If=this.eX({position:"fixed",top:0,left:0,zIndex:9999998},!0),this.If.id="tdvminuictr",this.Dda=this.eX({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,g),
this.If.appendChild(this.Dda),this.Nba=this.eX({position:"fixed",backgroundColor:"#fff",top:0,left:0,textAlign:"center"},!0,b),this.If.appendChild(this.Nba),this.QA=this.eX({position:"absolute",top:0,left:0,right:0,height:"999999999vmax",zIndex:9999999},!1),this.QA.id="tdvminuiscrl",this.QA.addEventListener("touchend",this.Ic))};e.prototype.eX=function(d,f,n){var q=document.createElement("div");this.VQ(q,d);void 0!==n&amp;&amp;this.MZa(q,n);f&amp;&amp;this.Gra.push(q);return q};e.prototype.Ic=function(){[0,250,1E3,
2E3].forEach(function(d){setTimeout(this.Uca.bind(this),d)}.bind(this))};e.prototype.Uca=function(){this.Ao==window.innerWidth&amp;&amp;this.zo==window.innerHeight||this.eQ()};e.prototype.eQ=function(){this.Ao=window.innerWidth;this.zo=window.innerHeight;this.jm=this.Ao&gt;this.zo?"landscape":"portrait";if("landscape"==this.jm){this.Pba&amp;&amp;this.Oba&amp;&amp;this.nVa(this.Pba,this.Oba)&amp;&amp;(!this.cP&amp;&amp;!this.bP||this.oVa(this.cP,this.bP))&amp;&amp;(this.cP=this.Ao,this.bP=this.zo);this.iVa()&amp;&amp;(this.cP=this.Ao,this.bP=this.zo);this.Pba=
this.Ao;this.Oba=this.zo;var d=this.cP==this.Ao&amp;&amp;this.bP==this.zo}else d=!1;this.Gra.forEach(function(p){p.style.height=this.zo+"px";p.style.width=this.Ao+"px"}.bind(this));var f=this.lr&amp;&amp;"portrait"==this.jm,n=this.lr&amp;&amp;"landscape"==this.jm&amp;&amp;!d,q=this.lr&amp;&amp;"landscape"==this.jm;this.VQ(this.If,{display:f||n?"block":"none"});this.VQ(this.Dda,{display:f?"block":"none"});this.VQ(this.Nba,{display:n?"block":"none"});this.VQ(this.QA,{display:q?"block":"none",right:n?0:"99.9%"});this.kya(d)};e.prototype.kya=
function(d){null!=this.k0&amp;&amp;(clearTimeout(this.k0),this.k0=null);this.nY!=d&amp;&amp;(this.k0=setTimeout(function(){this.k0=null;(this.nY=d)?this.trigger(new m(l.Mp)):this.trigger(new m(l.Gb));this.trigger(new m(l.ba))}.bind(this),d?1E3:0))};e.prototype.iVa=function(){var d=window.innerWidth,f=window.innerHeight,n=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(q){n=Math.min(n,Math.abs(100-100*d*q[1]/
(f*q[0])))});return 1&gt;=n?!0:!1};e.prototype.nVa=function(d,f){return d*window.innerHeight&gt;f*window.innerWidth};e.prototype.oVa=function(d,f){return d*window.innerHeight&gt;=f*window.innerWidth};e.prototype.VQ=function(d,f){for(var n in f)d.style[n]=f[n]};e.prototype.MZa=function(d,f){d.innerHTML=f};return new e});
define("pD",["require","exports"],function(){return function(){function a(){}a.enable=function(){null===this.wakeLock&amp;&amp;navigator.wakeLock&amp;&amp;navigator.wakeLock.request("screen").then(function(e){this.wakeLock=e}.bind(this))};a.disable=function(){null!==this.wakeLock&amp;&amp;(this.wakeLock.release(),this.wakeLock=null)};a.wakeLock=null;return a}()});
define("kX",["require","jquery.mod","pw","cl"],function(a){function e(){this.Pj=null;this.W=!1;this.Ic=this.Ic.bind(this);this.zo=this.Ao=this.jm=void 0}var l=a("jquery.mod"),m=a("pw"),k=a("cl");e.prototype.Wv=function(){this.Pj||(this.Pj=l("&lt;div/&gt;"),this.Pj.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.Pj.html(['&lt;div style="position: absolute; top: 5vmin; right:5vmin;"&gt;','&lt;img style="width:24vmin" src="'+
k.zl+'"/&gt;','&lt;/div&gt;\n&lt;div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;"&gt;\n&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;','&lt;img style="width:22vmin" src="'+k.bN+'"/&gt;','&lt;div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;"&gt;'+m("rotate-device")+"&lt;/div&gt;","&lt;/div&gt;\n&lt;/div&gt;"].join("\n")))};e.prototype.show=function(c){this.W||(this.W=!0,this.Wv(),
l(c).append(this.Pj),l(window).on("resize",this.Ic),this.eQ())};e.prototype.hide=function(){this.W&amp;&amp;(this.W=!1,l(window).off("resize",this.Ic),this.Pj.detach())};e.prototype.Ic=function(){[0,250,1E3,2E3].forEach(function(c){setTimeout(this.Uca.bind(this),c)}.bind(this))};e.prototype.Uca=function(){this.Ao==window.innerWidth&amp;&amp;this.zo==window.innerHeight||this.eQ()};e.prototype.eQ=function(){this.Ao=window.innerWidth;this.zo=window.innerHeight;this.jm=this.Ao&gt;this.zo?"landscape":"portrait";this.Pj.toggle("landscape"!=
this.jm)};return new e});
define("hT","require exports py w js dj nL u lL pD kX bn".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n){function q(p,r){p?setTimeout(r,200):r()}return function(){function p(){}p.request=function(r,t){this.XR.isPresenting||this.XR.BT||(this.ul=r,this.Bka=t,this.ul&amp;&amp;(this.XR.BT=!0,this.b8a(),this.requestSession().then(function(u){this.D8a(u);this.ul.xr.setReferenceSpaceType("local-floor");this.ul.xr.setFoveation(this.Bka.$Ca);return this.ul.xr.setSession(u)}.bind(this)).then(function(){this.XR.referenceSpace=this.ul.xr.getReferenceSpace();
this.XR.BT=!1;this.E8a()}.bind(this)).catch(function(u){console.error(u);this.XR.BT=!1;this.C8a()}.bind(this))))};p.end=function(){this.XR.session&amp;&amp;this.XR.session.end()};p.requestSession=function(){var r,t=["local-floor","bounded-floor","hand-tracking"];(null===(r=this.ul)||void 0===r?0:r.capabilities.isWebGL2)&amp;&amp;t.push("layers");return navigator.xr.requestSession("immersive-vr",{optionalFeatures:t})};p.b8a=function(){n.KU(!0);this.z$a(this.ul);this.cbb()};p.D8a=function(r){this.Zja||(this.Zja=this.B8a.bind(this));
this.$ja||(this.$ja=this.F8a.bind(this));r.addEventListener("end",p.Zja);r.addEventListener("select",p.$ja)};p.C8a=function(){n.KU(!1);this.NJa()};p.E8a=function(){var r;null===(r=this.ul)||void 0===r?void 0:r.xr.setAnimationLoop(this.Zn.bind(this));n.SIa(this.requestFrame.bind(this),this.L3a.bind(this));n.KU(!1);this.QIa(this.ul,this.Bka);this.ul=null;m.sc()!=m.JM&amp;&amp;f.show(h.fullscreenElement());m.qb()||k.Ima.show(this.XR.iia.bind(this.XR))};p.B8a=function(){var r;this.XR.session&amp;&amp;(this.XR.session.removeEventListener("end",
p.Zja),this.XR.session.removeEventListener("select",p.$ja),null===(r=this.ul)||void 0===r?void 0:r.xr.setAnimationLoop(null),n.L9a(),this.NJa(),this.QIa(null,null))};p.F8a=function(){this.XR.N.trigger(l.gq)};p.QIa=function(r,t){this.XR.mh!==r&amp;&amp;(this.XR.mh=r,this.XR.yl=t,this.XR.session=r?r.xr.getSession():null,this.XR.isPresenting=!!r,this.XR.RB=r?this.XR.yka.get(r)||null:null,this.XR.Ju=r?this.XR.xka.get(r)||null:null,this.yKa(),q(!this.XR.isPresenting,function(){this.XR.N.trigger(l.ba)}.bind(this)))};
p.z$a=function(r){var t=void 0;m.jG()?t=1.2545454545454546:m.Sf()?t=1.4222222222:m.qb()&amp;&amp;this.XR.FL&amp;&amp;(t=this.XR.E4);t&amp;&amp;r.xr.setFramebufferScaleFactor(t)};p.cbb=function(){var r;g.request(null===(r=this.ul)||void 0===r?void 0:r.domElement);this.XR.FL&amp;&amp;(this.ul.domElement.width=this.ul.domElement.height=100,m.sc()==m.KM?c.addParameter("vr"):d.enable(),m.sc()==m.JM&amp;&amp;b.request())};p.NJa=function(){g.cancel();f.hide();m.qb()||k.Ima.hide();this.XR.FL&amp;&amp;(c.removeParameter("vr"),b.cancel(),d.disable())};p.Zn=
function(r){var t;null!==(t=this.XR.mh)&amp;&amp;void 0!==t&amp;&amp;t.xr.getFrame()&amp;&amp;(this.yKa(),t=this.N2,this.N2=null,this.XR.N.trigger(l.nV),t&amp;&amp;t(r),this.XR.N.trigger(l.Uh))};p.yKa=function(){if(this.XR.session&amp;&amp;this.XR.session.renderState)if(this.XR.session.renderState.baseLayer)this.XR.framebufferWidth=this.XR.session.renderState.baseLayer.framebufferWidth,this.XR.framebufferHeight=this.XR.session.renderState.baseLayer.framebufferHeight;else{var r=this.XR.session.renderState.layers;r&amp;&amp;0&lt;r.length&amp;&amp;r[0].textureWidth&amp;&amp;
(this.XR.framebufferWidth=r[0].textureWidth,this.XR.framebufferHeight=r[0].textureHeight)}};p.requestFrame=function(r){this.N2=r;return 0};p.L3a=function(){this.N2=null};p.ul=null;p.Bka=null;p.N2=null;return p}()});
define("oS","require exports lS gE bg qa bT jn iQ jF F nJ dC hP jB kG cN gR hT three.mod".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n,q,p,r,t,u,v,w,x){a=function(){function y(){}y.initialize=function(z){k.initialize(function(){this.Nm.forEach(function(B){B.xr.enabled=this.FM}.bind(this));n.initialize();q.initialize();p.initialize();r.initialize();t.initialize();c.initialize();this.AEa=!0;z()}.bind(this))};y.getType=function(){return this.FL?this.yv.zl:this.yv.cNa};y.NS=function(z,B){this.AEa?!this.FM||
this.isPresenting||this.BT||this.VG(function(){w.request(z,B)}.bind(w)):this.initialize(function(){y.NS(z,B)}.bind(y))};y.iia=function(){w.end()};y.cJa=function(z){t.tab(z)};y.setScale=function(z){c.setScale(z)};y.setPosition=function(z){c.setPosition(z)};y.kM=function(z){c.kM(z)};y.ila=function(z,B,D,I){g.J$a(z,B,D);switch(I){case b.p7:p.YIa(!0);p.KIa(!0);break;default:p.YIa(!1),p.KIa(!1)}};y.k3a=function(z){z.xr.enabled=this.FM;g.add(z)};y.C9a=function(z){g.remove(z)};y.hla=function(z,B,D,I){void 0===
I&amp;&amp;(I=void 0);z.wi=B;z.WL=D;z.yu=I;B&amp;&amp;(z.OGa=Date.now())};y.OIa=function(z,B){B!=z.disabled&amp;&amp;(z.disabled=B)};y.bIa=function(z,B){p.X9a(z,B)};y.pab=function(z,B){z.Hr=B};y.gla=function(z,B){z.hidden=B};y.log=function(){l.log("VR: "+(this.FM?"available":"not available"))};y.VG=function(z){v.VG(z)};y.Hna=h;y.yv=f;y.RV=b;y.goa=u;y.FM=!0;y.FL=!1;y.mh=null;y.RB=null;y.Ju=null;y.isPresenting=!1;y.BT=!1;y.session=null;y.framebufferWidth=void 0;y.framebufferHeight=void 0;y.cg=new x.Quaternion;y.IBa=1.7;y.Bc=
new x.Vector3;y.zm=1;y.hH=new x.Quaternion;y.Fcb=new x.Vector3;y.E4=Math.min(1,1280/(Math.max(screen.width,screen.height)*window.devicePixelRatio));y.Nm=[];y.yl=null;y.yka=new Map;y.xka=new Map;y.N=new m;y.referenceSpace=null;y.AEa=!1;y.ng=[];y.jL=new x.Ray;y.P4=null;return y}();k.XR=a;c.XR=a;g.XR=a;n.XR=a;q.XR=a;p.XR=a;r.XR=a;t.XR=a;v.XR=a;return w.XR=a});define("mY",["require","exports"],function(){return function(){return function(){this.oB=this.gL=void 0}}()});
define("eT",["require","exports","hV","three.mod"],function(a,e,l,m){a=function(){function c(h,g,b,d){this.state=h;this.renderer=g;this.scene=b;this.camera=d;this.Mha()}c.prototype.dispose=function(){this.Fha()};c.prototype.update=function(h,g){if(void 0!==this.state.oB)if(this.Kh.material.opacity=1-this.state.oB,h=null!=g.parent?g:h,this.Kh.parent!==h&amp;&amp;h.add(this.Kh),g.isPerspectiveCamera){this.Kh.position.z=1.01*-g.near;var b=this.renderer.getSize(new m.Vector2),d=b.height;h=this.A2.width;var f=
this.A2.height;g=d/(2*Math.tan(g.fov*k/2));g=Math.max(d/g,b.width/(g*h/f));this.Kh.scale.y=g;this.Kh.scale.x=g*h/f}else g.isOrthographicCamera&amp;&amp;(this.Kh.position.z=-(g.near+.1),this.renderer.getSize(new m.Vector2),this.Kh.scale.y=g.top-g.bottom,this.Kh.scale.x=g.right-g.left)};c.prototype.qf=function(){return this.scene};c.prototype.Mha=function(){this.A2=this.M3a();this.Kh=this.s4a(this.A2)};c.prototype.M3a=function(){this.renderer.eu=!0;var h=l.Oha(this.renderer),g=this.renderer.getRenderTarget();
this.renderer.setRenderTarget(h);this.renderer.render(this.scene,this.camera);this.renderer.setRenderTarget(g);this.renderer.eu=!1;return h};c.prototype.s4a=function(h){h=new m.SpriteMaterial({map:h.texture});h.sizeAttenuation=!1;h.transparent=!0;h.visible=!0;h.opacity=1;h.depthTest=!1;h.needsUpdate=!0;h=new m.Sprite(h);h.renderOrder=1E3;return h};c.prototype.Fha=function(){var h,g,b,d=this.Kh.material;null===(h=d.map)||void 0===h?void 0:h.dispose();null===(g=d.envMap)||void 0===g?void 0:g.dispose();
d.dispose();this.Kh.geometry.dispose();this.A2.dispose();null===(b=this.Kh.parent)||void 0===b?void 0:b.remove(this.Kh)};return c}();var k=Math.PI/180;return a});
define("mk",["require","exports","hV","oS","three.mod"],function(a,e,l,m,k){a=function(){function g(b,d,f,n){this.state=b;this.renderer=d;this.scene=f;this.camera=n;this.Mha();this.x4a()}g.prototype.dispose=function(){this.Fha();this.X3a()};g.prototype.update=function(){var b=void 0===this.state.oB?0:1-this.state.oB,d=void 0===this.state.gL?1:1-this.state.gL;b*=d;this.hL.material.opacity=1*d;this.Kh.children.forEach(function(f){f.material.opacity=b})};g.prototype.qf=function(){return this.scene};
g.prototype.Mha=function(){this.Kh||(this.KCa=this.N3a(),this.Kh=this.g4a(this.KCa),m.Un.add(this.Kh))};g.prototype.N3a=function(){var b=new k.Vector2(1024,1024),d=this.camera,f=this.renderer,n=this.scene,q=f.getRenderTarget(),p=f.getActiveCubeFace(),r=f.getActiveMipmapLevel(),t=f.xr.enabled,u=new k.PerspectiveCamera(90,1,d.near,d.far);u.matrixAutoUpdate=!1;u.layers=d.layers;this.renderer.eu=!0;f.xr.enabled=!1;m.Un.add(u);d=c.map(function(v){var w=l.Oha(f,b);u.matrix.identity();u.matrix.multiply(h.makeRotationFromEuler(v));
u.updateMatrixWorld();f.setRenderTarget(w,0,0);f.render(n,u);return w});f.setRenderTarget(q,p,r);f.xr.enabled=t;this.renderer.eu=!1;m.Un.remove(u);return d};g.prototype.g4a=function(b){var d=new k.Group;c.forEach(function(f,n){var q=new k.PlaneGeometry(2,2);n=new k.MeshBasicMaterial({side:k.DoubleSide,depthTest:!1,transparent:!0,map:b[n].texture});q=new k.Mesh(q,n);q.matrixAutoUpdate=!1;q.renderOrder=1001;q.userData.W3=!0;q.matrix.identity();q.matrix.multiply(h.makeRotationFromEuler(f));q.matrix.multiply(h.makeTranslation(0,
0,-1));d.add(q)});return d};g.prototype.Fha=function(){var b;this.Kh.children.forEach(function(d){var f,n;d.material.dispose();null===(f=d.geometry)||void 0===f?void 0:f.dispose();null===(n=d.parent)||void 0===n?void 0:n.remove(d)});this.KCa.forEach(function(d){d.texture.dispose();d.dispose()});null===(b=this.Kh.parent)||void 0===b?void 0:b.remove(this.Kh)};g.prototype.x4a=function(){var b=new k.SphereGeometry(1,32,16,0,2*Math.PI,0,Math.PI),d=new k.MeshBasicMaterial({color:0,side:k.DoubleSide,depthTest:!1,
transparent:!0});b=new k.Mesh(b,d);b.renderOrder=1E3;b.userData.W3=!0;this.hL=b;m.Un.add(this.hL)};g.prototype.X3a=function(){var b;this.hL.material.dispose();this.hL.geometry.dispose();null===(b=this.hL.parent)||void 0===b?void 0:b.remove(this.hL)};return g}();var c=[new k.Euler(0,0,0,"YXZ"),new k.Euler(0,-.5*Math.PI,0,"YXZ"),new k.Euler(0,-Math.PI,0,"YXZ"),new k.Euler(0,.5*Math.PI,0,"YXZ"),new k.Euler(.5*Math.PI,0,0,"YXZ"),new k.Euler(-.5*Math.PI,0,0,"YXZ")],h=new k.Matrix4;new k.Euler;return a});
define("jp","require exports py mY eT mk oS w nf".split(" "),function(a,e,l,m,k,c,h,g,b){return function(){function d(f){this.q5=this.p5=this.s5=this.t5=this.r5=this.u5=void 0;this.ms=null;this.kja=!1;this.PS=void 0;this.renderer=f;this.Nu=new m;this.HGa=this.renderer.render.bind(f);this.renderer.render=this.render.bind(this);this.JGa=this.renderer.setSize.bind(f);this.renderer.setSize=this.setSize.bind(this);this.M8a=this.renderer.clear.bind(f);this.renderer.clear=this.clear.bind(this);this.IGa=
this.renderer.setRenderTarget.bind(f);this.renderer.setRenderTarget=this.setRenderTarget.bind(this);h.N.bind(l.ba,this.ze,this,!0);window.startFadeOut=this.YG.bind(this);window.setFadeOutPosition=this.MG.bind(this);window.endFadeOut=this.TF.bind(this)}d.prototype.dispose=function(){var f;h.N.unbind(l.ba,this.ze,this);null===(f=this.ms)||void 0===f?void 0:f.dispose()};d.prototype.setSize=function(f,n,q){void 0===q&amp;&amp;(q=!0);!this.renderer.eu&amp;&amp;this.nl()?(this.u5=f,this.r5=n,this.t5=q):this.JGa(f,n,q)};
d.prototype.setRenderTarget=function(f,n,q){void 0===n&amp;&amp;(n=0);void 0===q&amp;&amp;(q=0);this.kja||this.renderer.eu||!this.nl()||f.isXRRenderTarget?this.IGa(f,n,q):(this.s5=f,this.p5=n,this.q5=q)};d.prototype.render=function(f,n){if(f.isScene){if(!this.renderer.eu){if(this.ms&amp;&amp;this.ms.qf()===f&amp;&amp;f!==this.H3)return;h.ila(this.renderer,f,n,this.VKa);if(this.nl()||null===this.renderer.getRenderTarget())this.H3=f,this.WEa=n,this.ms&amp;&amp;this.ms.update(f,n)}if(this.Y4a(f,n))return}this.kja=!0;try{this.HGa(f,n)}catch(q){b.av&amp;&amp;
console.error("render error:",q)}this.kja=!1};d.prototype.clear=function(f,n,q){this.M8a(f,n,q)};d.prototype.ze=function(){this.nl()||(void 0!==this.u5&amp;&amp;void 0!==this.r5&amp;&amp;void 0!==this.t5&amp;&amp;(this.JGa(this.u5,this.r5,this.t5),this.t5=this.r5=this.u5=void 0),void 0!==this.s5&amp;&amp;void 0!==this.p5&amp;&amp;void 0!==this.q5&amp;&amp;(this.IGa(this.s5,this.p5,this.q5),this.q5=this.p5=this.s5=void 0))};d.prototype.nl=function(){return h.isPresenting&amp;&amp;h.mh===this.renderer};d.prototype.YG=function(){this.Nu.oB=0;this.eV()};d.prototype.MG=
function(f){this.Nu.oB=f};d.prototype.TF=function(){this.Nu.oB=void 0;this.eV()};d.prototype.wM=function(){this.Nu.gL=0;this.eV()};d.prototype.lM=function(f){this.Nu.gL=f;this.eV()};d.prototype.dL=function(){this.Nu.gL=void 0;this.eV()};d.prototype.Y4a=function(f,n){if(!h.isPresenting||0===this.PS)return!1;if(void 0===this.PS){if(g.sc()!=g.zs&amp;&amp;g.sc()!=g.Uy)return this.PS=0,!1;this.PS=20}this.PS--;var q=n.near,p=n.far;n.near=Math.min(q,.1);n.far=Math.max(p,1E3);this.HGa(f,n);n.near=q;n.far=p;return!0};
d.prototype.eV=function(){var f=this.H3&amp;&amp;(h.isPresenting&amp;&amp;void 0!==this.Nu.gL||void 0!==this.Nu.oB);f!==!!this.ms&amp;&amp;(f?this.nl()?this.ms=new c(this.Nu,this.renderer,this.H3,this.WEa):this.ms=new k(this.Nu,this.renderer,this.H3,this.WEa):this.ms&amp;&amp;(this.ms.dispose(),this.ms=null))};return d}()});
define("fV","require exports py hV nf oS jp three.mod nL".split(" "),function(a,e,l,m,k,c,h,g,b){return function(){function d(f){this.kS=!0;this.ls=this.renderer=null;this.kU=void 0;this.Hj=0;this.kS=f;this.container=document.createElement("div")}d.prototype.dispose=function(){this.Ca()};d.prototype.P1=function(){this.Hj++};d.prototype.M6a=function(){return 0&lt;this.Hj};d.prototype.K4=function(){this.Hj--;0===this.Hj&amp;&amp;this.Ca()};d.prototype.gd=function(){return this.container};d.prototype.Ur=function(){this.aJa();
return this.renderer};d.prototype.p5a=function(){this.Pab();return this.mB};d.prototype.q5a=function(){this.Qab();return this.Lr};d.prototype.pbb=function(){this.jla(d.Kna)};d.prototype.obb=function(){this.jla(d.Jna)};d.prototype.tbb=function(){this.jla(d.Lna)};d.prototype.YG=function(){var f;null===(f=this.ls)||void 0===f?void 0:f.YG()};d.prototype.MG=function(f){var n;null===(n=this.ls)||void 0===n?void 0:n.MG(f)};d.prototype.TF=function(){var f;null===(f=this.ls)||void 0===f?void 0:f.TF()};d.prototype.wM=
function(){this.aJa();this.ls.wM()};d.prototype.lM=function(f){this.ls.lM(f)};d.prototype.dL=function(){this.ls.dL()};d.prototype.Pab=function(){this.mB||(this.mB=new g.CSS3DRenderer,this.mB.domElement.style.position="absolute",this.mB.domElement.style.zIndex="0",this.container.prepend(this.mB.domElement))};d.prototype.aJa=function(){if(!this.renderer){var f={alpha:!0};k.HLa&amp;&amp;(f.precision="lowp");0&lt;d.Iha.length?(f.context=d.Iha.pop(),f.canvas=f.context.canvas):(f.canvas=document.createElement("canvas"),
f.context=m.B4a(f.canvas));this.renderer=new g.WebGLRenderer(f);this.ls=new h(this.renderer);this.renderer.setAnimationLoop(null);this.renderer.setPixelRatio(m.getPixelRatio());this.renderer.debug.checkShaderErrors=k.av;this.renderer.domElement.style.position="absolute";this.renderer.domElement.style.zIndex="1";this.renderer.domElement.style.pointerEvents="none";this.renderer.outputColorSpace=g.SRGBColorSpace;this.renderer.shadowMap.type=g.PCFShadowMap;this.Lr?this.container.insertBefore(this.renderer.domElement,
this.Lr.domElement):this.container.appendChild(this.renderer.domElement);this.EKa();c.k3a(this.renderer);b.N.bind(l.ba,this.YFa,this,!0)}};d.prototype.YFa=function(){setTimeout(function(){if(this.renderer){var f=b.enabled()||!1;this.renderer.setPixelRatio(f?m.l5a(this.renderer.domElement):m.getPixelRatio())}}.bind(this),100)};d.prototype.jla=function(f){this.kU!==f&amp;&amp;(this.kU=f,this.EKa())};d.prototype.EKa=function(){this.renderer&amp;&amp;(this.kU===d.Kna?(this.renderer.setClearColor(0,1),this.renderer.autoClear=
!0,this.renderer.shadowMap.enabled=!1,this.ls.VKa=c.RV.p7):this.kU===d.Jna?(this.renderer.setClearColor(0,0),this.renderer.autoClear=!1,this.renderer.shadowMap.enabled=!0,this.ls.VKa=c.RV.ana):this.kU===d.Lna&amp;&amp;(this.renderer.setClearColor(0,0),this.renderer.autoClear=!1,this.renderer.shadowMap.enabled=!1))};d.prototype.Qab=function(){this.Lr||(this.Lr=new g.CSS3DRenderer,this.Lr.domElement.style.position="absolute",this.Lr.domElement.style.zIndex="2",this.Lr.domElement.style.pointerEvents="none",
this.container.appendChild(this.Lr.domElement))};d.prototype.Ca=function(){var f;this.Lr&amp;&amp;(this.container.removeChild(this.Lr.domElement),this.Lr=null);this.renderer&amp;&amp;(b.N.unbind(l.ba,this.YFa,this),c.C9a(this.renderer),this.container.removeChild(this.renderer.domElement),d.Iha.push(this.renderer.getContext()),this.renderer.dispose(),this.renderer=null,null===(f=this.ls)||void 0===f?void 0:f.dispose(),this.ls=null);this.mB&amp;&amp;(this.container.removeChild(this.mB.domElement),this.mB=null)};d.Kna=0;d.Jna=
1;d.Lna=2;d.Iha=[];return d}()});
define("gl",["require","exports","py","gE","w"],function(a,e,l,m,k){return function(c){function h(g,b){var d=c.call(this)||this;d.enabled=!1;d.U3=0;d.V3=0;d.parentElement=null;d.Xi=null;d.tl=null;d.xM=null;d.Hj=0;d.vc=g;d.parentElement=b;return d}Z(h,c);h.prototype.dispose=function(){this.rb(!1);this.parentElement=this.vc=null};h.prototype.P1=function(){this.Hj++;1&lt;=this.Hj&amp;&amp;this.rb(!0)};h.prototype.K4=function(){this.Hj--;0&gt;=this.Hj&amp;&amp;this.rb(!1)};h.prototype.rb=function(g){this.enabled!=g&amp;&amp;((this.enabled=
g)?(this.vc.UIa("Button"),this.o3a()):(this.vc.M9a(),this.Gha(),this.stop(),this.G9a()))};h.prototype.getX=function(){return this.U3};h.prototype.getY=function(){return this.V3};h.prototype.Zr=function(g){this.lh(g);this.enabled&amp;&amp;(this.Jja=this.Hja=g.x,this.Kja=this.Ija=g.y,this.Cab())};h.prototype.JB=function(g){this.Jja=g.x;this.Kja=g.y;this.xM?this.Tbb():this.Xi&amp;&amp;this.cV()};h.prototype.lh=function(){this.Gha();this.stop()};h.prototype.ZFa=function(){this.lh()};h.prototype.rG=function(){this.N5=
Math.min(this.vc.Za(),this.vc.Cb())/100};h.prototype.start=function(){this.i4a();this.trigger(l.lo);this.cV()};h.prototype.stop=function(){this.Xi&amp;&amp;(this.J4a(),this.trigger(l.Wf))};h.prototype.Tbb=function(){var g=this.Jja-this.Hja,b=this.Kja-this.Ija;Math.sqrt(g*g+b*b)&gt;this.N5*h.nLa&amp;&amp;this.Gha()};h.prototype.Cab=function(){this.xM=window.setTimeout(this.sbb.bind(this),h.oLa)};h.prototype.Gha=function(){this.xM&amp;&amp;(clearTimeout(this.xM),this.xM=null)};h.prototype.i4a=function(){this.Xi=document.createElement("div");
this.Xi.setAttribute("tdvclass","Button");this.Xi.style.position="absolute";this.Xi.style.width=this.Xi.style.height=Math.round(2*h.tma*this.N5)+"px";this.Xi.style.borderRadius="50%";this.Xi.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.Xi.style.transform="translate(-50%, -50%)";this.Xi.style.zIndex="1000";this.Xi.style.left=this.Hja+"px";this.Xi.style.top=this.Ija+"px";this.parentElement.appendChild(this.Xi);this.tl=document.createElement("div");this.tl.setAttribute("tdvclass","Button");
this.tl.style.position="absolute";this.tl.style.width=this.tl.style.height=Math.round(2*h.AMa*this.N5)+"px";this.tl.style.borderRadius="50%";this.tl.style.backgroundColor="rgba(255, 255, 255, 0.5)";this.tl.style.transform="translate(-50%, -50%)";this.tl.style.zIndex="1000";this.Xi.appendChild(this.tl)};h.prototype.cV=function(){var g=this.Jja-this.Hja,b=this.Kja-this.Ija;if(0==g&amp;&amp;0==b)this.V3=this.U3=0;else{var d=Math.atan2(-b,g);g=Math.min(Math.sqrt(g*g+b*b)/(this.N5*h.tma),h.$La);this.U3=Math.cos(d)*
g;this.V3=Math.sin(d)*g}this.tl.style.left=(50+50*this.U3).toFixed(2)+"%";this.tl.style.top=(50-50*this.V3).toFixed(2)+"%";this.trigger(l.ba)};h.prototype.J4a=function(){var g,b;null===(g=this.tl.parentNode)||void 0===g?void 0:g.removeChild(this.tl);this.tl=null;null===(b=this.Xi.parentNode)||void 0===b?void 0:b.removeChild(this.Xi);this.Xi=null};h.prototype.sbb=function(){this.xM=null;this.start()};h.prototype.o3a=function(){this.vc.bind(l.hb,this.Zr,this,!0);this.vc.bind(l.Pb,this.JB,this,!0);this.vc.bind(l.Eb,
this.lh,this,!0);this.vc.bind(l.tc,this.rG,this,!0);this.vc.bind(l.bz,this.ZFa,this,!0);this.rG()};h.prototype.G9a=function(){this.vc.unbind(l.hb,this.Zr,this);this.vc.unbind(l.Pb,this.JB,this);this.vc.unbind(l.Eb,this.lh,this);this.vc.unbind(l.tc,this.rG,this);this.vc.unbind(l.bz,this.ZFa,this)};h.nLa=k.qb()?5:.5;h.oLa=k.qb()?300:600;h.tma=k.qb()?10:6.6;h.AMa=k.qb()?5:3.3;h.$La=6;return h}(m)});
define("dN","require jquery.mod es py nC bn hS".split(" "),function(a){function e(n){this.Ila=n;this.element=document.createElement("div");this.Sla=document.createElement("span");this.element.appendChild(this.Sla);this.Sla.innerHTML=n.text.split("&lt;br&gt;").join("\n").split("\n").map(m).join("&lt;br&gt;");this.e2=!1}function l(n){this.M=n;this.PR=c.throttle(this.PR.bind(this),100);this.QR=c.throttle(this.QR.bind(this),100);this.xa=document.createElement("div");this.xa.style.position="absolute";this.xa.style.left=
0;this.xa.style.top=0;this.xa.style.right=0;this.xa.style.bottom=0;this.xa.style.zIndex=1;this.xa.style.cursor="inherit";this.xa.style.display="none";this.K7=k(this.xa);this.km=document.createElement("div");this.km.style.position="absolute";this.km.style.left=0;this.km.style.right=0;this.km.style.zIndex=1;this.km.style.cursor="inherit";this.xa.appendChild(this.km);this.iR=[];this.tR=[];this.ji=[];this.mda={};this.EK=g.wc;this.M.bind(h.G("subtitlesEnabled"),this.Gx,this);l.Bna.forEach(function(q){this.M.bind(h.G(q),
this.PR,this)}.bind(this));l.Cna.forEach(function(q){this.M.bind(h.G(q),this.QR,this)}.bind(this));this.Gx();this.PR();this.QR()}function m(n){f.innerHTML=n;return f.innerText}var k=a("jquery.mod"),c=a("es"),h=a("py"),g=a("nC"),b=a("bn"),d=a("hS");l.prototype.clear=function(){this.seb(null);this.M&amp;&amp;(this.M.unbind(h.G("subtitlesEnabled"),this.Gx,this),l.Bna.forEach(function(n){this.M.unbind(h.G(n),this.PR,this)}.bind(this)),l.Cna.forEach(function(n){this.M.unbind(h.G(n),this.QR,this)}.bind(this)),
this.M=null)};l.prototype.gd=function(){return this.K7};l.prototype.ke=function(){return this.xa};l.prototype.jha=function(n){0&gt;this.iR.indexOf(n)&amp;&amp;(this.iR.push(n),n.bind(h.G("activeSubtitles"),this.mZ,this,!0),this.mZ())};l.prototype.wka=function(n){var q=this.iR.indexOf(n);0&lt;=q&amp;&amp;(this.iR.splice(q,1),n.unbind(h.G("activeSubtitles"),this.mZ,this,!0),this.mZ())};l.prototype.mZ=function(){var n=[];this.iR.forEach(function(q){n=n.concat(q.get("activeSubtitles")||[])});this.m_a(n)};l.prototype.Gx=function(){this.W=
this.M.get("subtitlesEnabled");this.xga()};l.prototype.PR=function(){this.EK=this.sO("subtitlesVerticalAlign",[g.Ec,g.se,g.wc],g.wc);this.km.style["text-align"]=this.sO("subtitlesHorizontalAlign",[g.ab,g.ub,g.Ze],g.Ze);this.km.style.bottom=this.EK==g.wc?this.Gk("subtitlesBottom",0):"";this.km.style.top=this.EK==g.Ec?this.Gk("subtitlesTop",0):this.EK==g.se?"50%":"";this.km.style.transform=this.EK==g.se?"translate(0, -50%)":"";this.xga()};l.prototype.QR=function(){var n={};n["background-color"]=this.yaa("subtitlesBackgroundColor",
"subtitlesBackgroundOpacity");n.border=[this.Gk("subtitlesBorderSize"),"solid",this.Fi("subtitlesBorderColor")].join(" ");n["box-shadow"]=this.Fi("subtitlesShadow",!1)?[this.Gk("subtitlesShadowHorizontalLength"),this.Gk("subtitlesShadowVerticalLength"),this.Gk("subtitlesShadowBlurRadius"),this.yaa("subtitlesShadowColor","subtitlesShadowOpacity","#000000",0)].join(" "):"";n.display="inline-block";n["font-family"]=d.Vx(this.Fi("subtitlesFontFamily"));n["font-size"]=this.Gk("subtitlesFontSize");n.color=
this.Fi("subtitlesFontColor");n["font-weight"]=this.sO("subtitlesFontWeight","bold bolder lighter 100 200 300 400 500 600 700 800 900 normal".split(" "),"normal");n["font-style"]=this.sO("subtitlesFontStyle",["italic","normal"],"normal");n["margin-bottom"]=this.Gk("subtitlesGap");n.opacity=this.Fi("subtitlesOpacity");n["padding-top"]=this.Gk("subtitlesPaddingTop");n["padding-bottom"]=this.Gk("subtitlesPaddingBottom");n["padding-left"]=this.Gk("subtitlesPaddingLeft");n["padding-right"]=this.Gk("subtitlesPaddingRight");
n.position="relative";n["text-align"]=this.sO("subtitlesHorizontalAlign",["left","right","center"],"center");n["text-decoration"]=this.Fi("subtitlesTextDecoration",["underline","overline","line-through","none"],"none");n["text-shadow"]=[this.Gk("subtitlesTextShadowHorizontalLength"),this.Gk("subtitlesTextShadowVerticalLength"),this.Gk("subtitlesTextShadowBlurRadius"),this.yaa("subtitlesTextShadowColor","subtitlesTextShadowOpacity","#000000",0)].join(" ");this.mda=n;this.xOa()};l.prototype.m_a=function(n){this.tR=
n;this.xga()};l.prototype.xga=function(){for(var n=this.W?this.tR:[],q=this.ji.length-1;0&lt;=q;q--){var p=this.ji[q];if(0&lt;=n.indexOf(p.Ila))break;this.km.removeChild(p.element)}for(var r=[],t=!1;0&lt;=q;q--)p=this.ji[q],!p.e2&amp;&amp;0&gt;n.indexOf(p.Ila)&amp;&amp;(p.e2=!0,p.element.style.visibility="hidden",t=!0),r.splice(0,0,p);t&amp;&amp;b.requestFrame(this.jqa,this);this.ji=r;var u=this.ji.filter(function(v){return!v.e2}).map(function(v){return v.Ila});n.filter(function(v){return 0&gt;u.indexOf(v)}).forEach(function(v){v=new e(v);
this.kpa(v);this.EK==g.wc&amp;&amp;0&lt;this.ji.length?this.km.insertBefore(v.element,this.ji[this.ji.length-1].element):this.km.appendChild(v.element);this.ji.push(v)}.bind(this));this.xa.style.display=0&lt;this.ji.length?"block":"none"};l.prototype.jqa=function(n){var q=!1;n=Math.round(200*n/1E3);for(var p=0;p&lt;this.ji.length;p++){var r=this.ji[p];if(r.e2)if(q=!0,n&gt;=r.element.clientHeight)n-=r.element.clientHeight,this.km.removeChild(r.element),this.ji.splice(p,1),p--;else{r.element.style.height=r.element.clientHeight-
n+"px";break}}q&amp;&amp;b.requestFrame(this.jqa,this)};l.prototype.xOa=function(){this.ji.forEach(this.kpa.bind(this))};l.prototype.kpa=function(n){for(var q in this.mda)n.Sla.style[q]=this.mda[q]};l.prototype.Fi=function(n,q){return this.M.get(n,q)};l.prototype.Gk=function(n,q){n=this.M.get(n,q);isNaN(n)||(n=Math.round(n)+"px");return n};l.prototype.sO=function(n,q,p){n=this.M.get(n);return 0&gt;q.indexOf(n)?p:n};l.prototype.yaa=function(n,q,p,r){n=this.M.get(n,p);q=this.M.get(q,r);return"rgba("+parseInt("0x"+
n.substr(1,2))+", "+parseInt("0x"+n.substr(3,2))+", "+parseInt("0x"+n.substr(5,2))+", "+q+")"};l.Bna=["subtitlesHorizontalAlign","subtitlesVerticalAlign","subtitlesTop","subtitlesBottom"];l.Cna="subtitlesBackgroundColor subtitlesBackgroundOpacity subtitlesBorderColor subtitlesBorderSize subtitlesFontFamily subtitlesFontColor subtitlesFontSize subtitlesFontStyle subtitlesFontWeight subtitlesGap subtitlesOpacity subtitlesPaddingTop subtitlesPaddingBottom subtitlesPaddingLeft subtitlesPaddingRight subtitlesShadow subtitlesShadowBlurRadius subtitlesShadowHorizontalLength subtitlesShadowVerticalLength subtitlesShadowColor subtitlesTextDecoration subtitlesTextShadowBlurRadius subtitlesTextShadowColor subtitlesTextShadowHorizontalLength subtitlesTextShadowOpacity subtitlesTextShadowVerticalLength".split(" ");
var f=document.createElement("div");return l});
define("mi","require exports le py lu ol".split(" "),function(a,e,l,m,k,c){a=function(){function n(q){this.vM=new Map;this.vl=q}n.prototype.add=function(q){c.Ja("PanoramaPlayer",q)?this.vM.set(q,new h(this.vl,q)):c.Ja("VideoPlayer",q)?this.vM.set(q,new g(this.vl,q)):c.Ja("PhotoAlbumPlayer",q)?this.vM.set(q,new b(this.vl,q)):c.Ja("Audio",q)&amp;&amp;this.vM.set(q,new f(this.vl,q))};n.prototype.remove=function(q){var p=this.vM.get(q);p&amp;&amp;(p.clear(),this.vM.delete(q))};return n}();e=function(){function n(q,p){this.vl=
q;this.source=p}n.prototype.clear=function(){};return n}();var h=function(n){function q(p,r){p=n.call(this,p,r)||this;p.IF=new d(p.vl);p.Ef=null;p.source.bind(m.G("panorama"),p.Wja,p,!0);p.Wja();return p}Z(q,n);q.prototype.clear=function(){this.source&amp;&amp;(this.source.unbind(m.G("panorama"),this.Wja,this),this.source=null,this.tf(null),this.IF.clear(),this.IF=null)};q.prototype.Wja=function(){this.tf(this.source.get("panorama"))};q.prototype.tf=function(p){if(this.Ef!=p){this.Ef&amp;&amp;(this.Ef.unbind(m.G("audios"),
this.oG,this),this.vl.wka(this.Ef));if(this.Ef=p)this.vl.jha(this.Ef),this.Ef.bind(m.G("audios"),this.oG,this,!0);this.oG()}};q.prototype.oG=function(){this.IF.Nka(this.Ef&amp;&amp;this.Ef.get("audios")||[])};return q}(e),g=function(n){function q(p,r){p=n.call(this,p,r)||this;p.video=null;p.source.bind(m.G("video"),p.uG,p,!0);p.source.bind(m.Ae,p.uG,p,!0);p.uG();return p}Z(q,n);q.prototype.clear=function(){this.source&amp;&amp;(this.source.unbind(m.G("video"),this.uG,this),this.source.unbind(m.Ae,this.uG,this),this.source=
null,this.g5(null))};q.prototype.uG=function(){var p;this.g5((null===(p=this.source)||void 0===p?void 0:p.get("state"))!=k.V?this.source.get("video"):null)};q.prototype.g5=function(p){this.video!=p&amp;&amp;(this.video&amp;&amp;this.vl.wka(this.video),(this.video=p)&amp;&amp;this.vl.jha(this.video))};return q}(e),b=function(n){function q(p,r){p=n.call(this,p,r)||this;p.qG=p.qG.bind(p);p.IF=new d(p.vl);p.OB=null;l.bu(p.source,"photoAlbum.playList.items",p.qG,!1);l.bu(p.source,"photoAlbum.playList.selectedIndex",p.qG,!1);
p.qG();return p}Z(q,n);q.prototype.clear=function(){this.source&amp;&amp;(l.ca(this.source,"photoAlbum.playList.items",this.qG),l.ca(this.source,"photoAlbum.playList.selectedIndex",this.qG),this.source=null,this.MIa(null),this.IF.clear(),this.IF=null)};q.prototype.qG=function(){var p=this.source.get("photoAlbum");p=(p=p?p.get("playList"):null)&amp;&amp;0&lt;=p.get("selectedIndex")?p.get("items")[p.get("selectedIndex")]:null;this.MIa(p?p.get("media"):null)};q.prototype.MIa=function(p){this.OB!=p&amp;&amp;(this.OB&amp;&amp;this.OB.unbind(m.G("audios"),
this.oG,this),(this.OB=p)&amp;&amp;this.OB.bind(m.G("audios"),this.oG,this,!0),this.oG())};q.prototype.oG=function(){this.IF.Nka(this.OB&amp;&amp;this.OB.get("audios")||[])};return q}(e),d=function(){function n(q){this.X1=[];this.W1=new Map;this.vl=q}n.prototype.clear=function(){this.Nka([])};n.prototype.Nka=function(q){this.X1!=q&amp;&amp;(this.X1.forEach(function(p){0&lt;=q.indexOf(p)||(this.W1.get(p).clear(),this.W1.delete(p))}.bind(this)),this.X1=q,this.X1.forEach(function(p){this.W1.has(p)||this.W1.set(p,new f(this.vl,
p))}.bind(this)))};return n}(),f=function(n){function q(p,r){p=n.call(this,p,r)||this;p.QB=!1;p.source.bind(m.G("state"),p.Qja,p,!0);p.Qja();return p}Z(q,n);q.prototype.clear=function(){this.source&amp;&amp;(this.dIa(!1),this.source.unbind(m.G("state"),this.Qja,this),this.source=null)};q.prototype.Qja=function(){this.dIa(this.source.get("state")!=k.V)};q.prototype.dIa=function(p){this.QB!=p&amp;&amp;(this.QB&amp;&amp;this.vl.wka(this.source),(this.QB=p)&amp;&amp;this.vl.jha(this.source))};return q}(e);return a});
define("bE","require es three.mod lS le py lu cI ol kk gJ B fV gl dN mi w oS ep bh cZ hg oR e".split(" "),function(a){function e(){function C(){w.RB==U&amp;&amp;w.Ju==V?S.Ur().render(U,V):w.N.unbind(h.Uh,C,this)}w.P4=new b(h.qdb);var L=E=new w.goa,S=J=new p,U=new m.Scene,V=new m.PerspectiveCamera;w.ila(S.Ur(),U,V,w.RV.p7);w.NS(S.Ur(),L);w.N.bind(h.Uh,C,this,!0);w.P4=null}var l=a("es"),m=a("three.mod"),k=a("lS"),c=a("le"),h=a("py"),g=a("lu"),b=a("cI"),d=a("ol"),f=a("kk"),n=a("gJ"),q=a("B"),p=a("fV"),r=a("gl"),
t=a("dN"),u=a("mi"),v=a("w"),w=a("oS"),x=a("ep"),y=a("bh"),z=a("cZ"),B=a("hg"),D=a("oR"),I=a("e"),A=d.define("ViewerArea",D,function(){D.call(this);this.set("childrenInteractionEnabled",!0);this.set("contentOpaque",!0);this.set("creationPolicy",z.JC);this.set("subtitlesEnabled",!0);this.set("checkToolTipOcclusion",!0);this.set("isKeyboardTarget",!1);this.Qt=this.YO=this.Jq=this.Si=this.OA=this.et=this.ee=this.BX=this.mi=null;this.tR=new t(this);this.P0=new u(this.tR);this.zda=this.wt=!1;this.Oi=g.V;
this.Zm=this.Ak=null;this.vn=!1;this.KQ=[];this.bind(A.Ena,this.SWa,this,!0);this.bind(A.Dna,this.RWa,this,!0);this.bind(h.hb,this.Qva,this);this.bind(h.hb,this.Qva,this);this.bind(h.Dc,this.lXa,this);this.bind(h.Jb,this.kXa,this);this.bind(h.jd,this.WZ,this,!0);this.bind(h.cd,this.iXa,this,!0);this.eI=new f(this,"buttonPause",x.Oj);this.eI.bind(h.ma,this.FE,this);this.eI.set("state",B.Ke);this.fI=new f(this,"buttonPlay",x.Oj);this.fI.bind(h.ma,this.GE,this);this.fI.set("state",B.Ke);this.mD=new f(this,
"buttonPlayPause",x.Oj);this.mD.bind(h.ma,this.OWa,this);this.mD.set("state",B.Ke);this.hI=new f(this,"buttonStop",x.Oj);this.hI.bind(h.ma,this.AA,this);this.hI.set("state",B.Ab);this.hPa=new f(this,"buttonRestart",x.Me);this.hPa.bind(h.ma,this.zA,this);this.EW=new f(this,"buttonToggleSubtitles",x.Oj);this.EW.bind(h.Lj,function(){this.set("subtitlesEnabled",!0)},this,!0);this.EW.bind(h.Gl,function(){this.set("subtitlesEnabled",!1)},this,!0);this.bind(h.G("subtitlesEnabled"),function(){this.EW.set("pressed",
this.get("subtitlesEnabled"))},this);this.EW.set("pressed",this.get("subtitlesEnabled"));(new f(this,"buttonVRView",x.Me)).bind(h.ma,function(){this.set("viewMode","vr")},this,!0);this.UUa=k.Ap(this.v2a,this);this.bind(h.Dl,this.hXa,this,!0);this.bind(A.QV,this.jXa,this,!0);w.N.bind(h.ba,function(){this.set("viewMode",w.isPresenting?"vr":"standard");this.trigger(A.W6)},this,!0)});A.prototype.play=function(){this.GE()};A.prototype.pause=function(){this.FE()};A.prototype.stop=function(){this.AA()};
A.prototype.restart=function(){this.zA()};A.Fc={progressBackgroundColor:void 0,progressBackgroundColorDirection:void 0,progressBackgroundColorRatios:void 0,progressBackgroundOpacity:void 0,progressBarBackgroundColor:void 0,progressBarBackgroundColorDirection:void 0,progressBarBackgroundColorRatios:void 0,progressBarBorderColor:void 0,progressBarBorderRadius:void 0,progressBarBorderSize:void 0,progressBarOpacity:void 0,progressBorderColor:void 0,progressBorderRadius:void 0,progressBorderSize:void 0,
progressBottom:0,progressHeight:20,progressLeft:0,progressOpacity:void 0,progressPercent:0,progressRight:0,progressVisible:!1,externalPlaybackBar:void 0,externalProgressBar:void 0,playbackBarBackgroundColor:void 0,playbackBarBackgroundColorDirection:void 0,playbackBarBackgroundOpacity:void 0,playbackBarBorderColor:void 0,playbackBarBorderRadius:void 0,playbackBarBorderSize:void 0,playbackBarBottom:10,playbackBarHeight:void 0,playbackBarWidth:void 0,playbackBarLeft:void 0,playbackBarOpacity:void 0,
playbackBarRight:void 0,playbackBarLiveDragging:void 0,playbackBarDuration:100,playbackBarPosition:0,playbackBarRollOverDisplay:!1,plabackBarSteps:void 0,plabackBarSelectedStep:void 0,playbackBarVisible:!1,playbackBarProgressBackgroundColor:void 0,playbackBarProgressBackgroundColorDirection:void 0,playbackBarProgressBackgroundColorRatios:void 0,playbackBarProgressBorderColor:void 0,playbackBarProgressBorderRadius:void 0,playbackBarProgressBorderSize:void 0,playbackBarProgressOpacity:void 0,playbackBarHeadBackgroundColor:void 0,
playbackBarHeadBackgroundColorDirection:void 0,playbackBarHeadBackgroundColorRatios:void 0,playbackBarHeadBorderColor:void 0,playbackBarHeadBorderRadius:void 0,playbackBarHeadBorderSize:void 0,playbackBarHeadOpacity:void 0,playbackBarHeadWidth:void 0,playbackBarHeadHeight:void 0,playbackBarHeadShadow:void 0,playbackBarHeadShadowBlurRadius:void 0,playbackBarHeadShadowColor:void 0,playbackBarHeadShadowHorizontalLength:void 0,playbackBarHeadShadowOpacity:void 0,playbackBarHeadShadowSpread:void 0,playbackBarHeadShadowVerticalLength:void 0,
playbackBarStepBackgroundColor:void 0,playbackBarStepBackgroundColorDirection:void 0,playbackBarStepBackgroundColorRatios:void 0,playbackBarStepBorderColor:void 0,playbackBarStepBorderRadius:void 0,playbackBarStepBorderSize:void 0,playbackBarStepOpacity:void 0,playbackBarStepWidth:void 0,playbackBarStepHeight:void 0,playbackBarStepShadow:void 0,playbackBarStepShadowBlurRadius:void 0,playbackBarStepShadowColor:void 0,playbackBarStepShadowHorizontalLength:void 0,playbackBarStepShadowOpacity:void 0,
playbackBarStepShadowSpread:void 0,playbackBarStepShadowVerticalLength:void 0,playbackBarStepSelectedBackgroundColor:void 0,playbackBarStepSelectedBackgroundColorDirection:void 0,playbackBarStepSelectedBackgroundColorRatios:void 0,playbackBarStepSelectedBorderColor:void 0,playbackBarStepSelectedBorderRadius:void 0,playbackBarStepSelectedBorderSize:void 0,playbackBarStepSelectedOpacity:void 0,playbackBarStepSelectedWidth:void 0,playbackBarStepSelectedHeight:void 0,playbackBarStepSelectedShadow:void 0,
playbackBarStepSelectedShadowBlurRadius:void 0,playbackBarStepSelectedShadowColor:void 0,playbackBarStepSelectedShadowHorizontalLength:void 0,playbackBarStepSelectedShadowOpacity:void 0,playbackBarStepSelectedShadowSpread:void 0,playbackBarStepSelectedShadowVerticalLength:void 0,subtitlesBackgroundColor:"#000000",subtitlesBackgroundOpacity:1,subtitlesBorderColor:void 0,subtitlesBorderSize:0,subtitlesBottom:"10%",subtitlesFontFamily:void 0,subtitlesFontColor:"#ffffff",subtitlesFontSize:"12px",subtitlesFontStyle:void 0,
subtitlesFontWeight:void 0,subtitlesGap:10,subtitlesHorizontalAlign:"center",subtitlesOpacity:1,subtitlesPaddingTop:5,subtitlesPaddingBottom:5,subtitlesPaddingLeft:5,subtitlesPaddingRight:5,subtitlesShadow:!1,subtitlesShadowBlurRadius:void 0,subtitlesShadowHorizontalLength:0,subtitlesShadowVerticalLength:0,subtitlesShadowColor:"#000000",subtitlesShadowOpacity:0,subtitlesTextDecoration:void 0,subtitlesTextShadowBlurRadius:void 0,subtitlesTextShadowColor:"#000000",subtitlesTextShadowHorizontalLength:0,
subtitlesTextShadowOpacity:0,subtitlesTextShadowVerticalLength:0,subtitlesTop:void 0,subtitlesVerticalAlign:"bottom",transitionDuration:500,blendingTransitionDuration:void 0,disolveTransitionDuration:void 0,translationTransitionDuration:void 0,translationTransitionEnabled:!0,toolTipEnabled:!0};l.defaults(A.Fc,D.Fc);A.prototype.get=function(C,L){switch(C){case "viewMode":return w.isPresenting?"vr":"standard"}return D.prototype.get.call(this,C,L)};A.prototype.set=function(C,L){"playbackState"==C&amp;&amp;(L=
this.Oi,this.get(C)!=L&amp;&amp;(this.zda=!0,this.UUa()));switch(C){case "toolTipEnabled":this.set("toolTipDisabled",!1===L);break;case "cardboardPointerDistance":this.set("vrPointerDistance",L);break;case "cardboardPointerColor":this.set("vrPointerColor",L);break;case "cardboardPointerSelectionColor":this.set("vrPointerSelectionColor",L);break;case "cardboardPointerSelectionTime":this.set("vrPointerSelectionTime",L);break;case "playbackBarVisible":case "playbackBarRollOverDisplay":this.SR();break;case "viewMode":this.Pd().M6a()&amp;&amp;
("vr"!=L||w.isPresenting?"vr"!=L&amp;&amp;w.isPresenting&amp;&amp;w.iia():w.NS(this.Pd().Ur(),this.Nia())),L=w.isPresenting?"vr":"standard"}D.prototype.set.call(this,C,L)};A.prototype.yb=function(){this.Bo(A.Fc)};A.prototype.Hb=function(){D.prototype.Hb.call(this);null==this.OA&amp;&amp;(this.OA=new I,this.OA.set("width","100%"),this.OA.set("height","100%"),this.OA.set("interactionEnabled",!1),this.OA.set("toolTipDisabled",!0),this.Ya(this.OA),this.OA.Yb().ke().appendChild(this.Pd().gd()));null==this.Jq&amp;&amp;(this.Jq=new I,
this.Jq.set("width","100%"),this.Jq.set("height","100%"),this.Jq.set("toolTipDisabled",!0),this.Jq.set("interactionEnabled",!1),this.Ya(this.Jq),k.defer(function(){this.Jq.set("cursor",y.kv)}.bind(this)),this.YO=new r(this,this.Jq.Yb().ke()),this.YO.rb(!1));null==this.Qt&amp;&amp;(this.Qt=new I,this.Qt.set("width","100%"),this.Qt.set("height","100%"),this.Qt.set("toolTipDisabled",!0),this.Qt.set("interactionEnabled",!1),this.Ya(this.Qt),this.Qt.Yb().ke().appendChild(this.tR.ke()));null==this.mi&amp;&amp;(this.mi=
new q,this.Ya(this.mi));null==this.ee&amp;&amp;(this.ee=new n,this.ee.bind(h.ba,this.wda,this,!0),this.Ya(this.ee),this.SR())};A.prototype.Nia=function(){if(this.WAa)return this.WAa;if(E){var C=E;E=null}else C=new w.goa;c.da(this,"vrGazePointerHideTime vrFoveation vrPointerColor vrPointerDistance vrPointerOverColor vrPointerSelectionColor vrPointerSelectionTime".split(" "),function(){C.fDa=this.get("vrGazePointerHideTime");C.$Ca=this.get("vrFoveation");C.B4=this.get("vrPointerColor");C.ZGa=this.get("vrPointerDistance");
C.ika=this.get("vrPointerOverColor");C.D4=this.get("vrPointerSelectionColor");C.cHa=this.get("vrPointerSelectionTime")}.bind(this),!0);return this.WAa=C};A.prototype.P5a=function(){return this.ee};A.prototype.Pd=function(){this.Si||(J?(this.Si=J,J=null):this.Si=new p(this.get("aaEnabled")));return this.Si};A.prototype.dj=function(){D.prototype.dj.call(this);for(var C=[],L=this.KQ.length-1;0&lt;=L;L--)C.push(this.KQ[L].j);this.Qt&amp;&amp;C.push(this.Qt);this.Jq&amp;&amp;C.push(this.Jq);this.ee&amp;&amp;C.push(this.ee);this.mi&amp;&amp;
C.push(this.mi);var S=this.pb();C=C.filter(function(U){return 0&lt;=S.indexOf(U)});S=S.filter(function(U){return-1==C.indexOf(U)}).concat(C);S.forEach(function(U,V){U&amp;&amp;this.sia(U)!=V&amp;&amp;this.ao(U,V)}.bind(this))};A.prototype.bb=function(){this.L("externalProgressBar")&amp;&amp;((this.BX=this.B("externalProgressBar"))?this.removeChild(this.mi):this.Ya(this.mi),this.S("externalProgressBar"),l(A.Hoa).each(function(L){this.fF(L)},this));this.uc(A.kNa,A.woa,[this.mi],!0,!0);var C=[this.mi];this.BX&amp;&amp;C.push(this.BX);
this.uc(A.Hoa,A.Ioa,C,!0,!0);this.L("externalPlaybackBar")&amp;&amp;(this.et&amp;&amp;this.et.unbind(h.ba,this.wda,this,!0),(this.et=this.B("externalPlaybackBar"))?this.removeChild(this.ee):this.Ya(this.ee),this.SR(),this.et&amp;&amp;this.et.bind(h.ba,this.wda,this,!0),this.S("externalPlaybackBar"),l(A.Doa).each(function(L){this.fF(L)},this));this.uc(A.jNa,A.voa,[this.ee],!0,!0);C=[this.ee];this.et&amp;&amp;C.push(this.et);this.uc(A.Doa,A.Eoa,C,!0,!0);D.prototype.bb.call(this)};A.prototype.v2a=function(){this.zda&amp;&amp;(this.zda=!1,
this.eI.set("state",this.Oi==g.Qb?B.Ab:B.Ke),this.fI.set("state",this.Oi==g.PLAYING||this.Oi==g.Qb?B.Ab:B.Ke),this.mD.set("state",this.Oi==g.PLAYING?B.Ab:B.Ke),this.hI.set("state",this.Oi==g.V?B.Ab:B.Ke))};A.prototype.xd=function(C){this.Oi=C;this.set("playbackState",C)};A.prototype.WZ=function(){A.tj(this)};A.prototype.iXa=function(){A.sj(this)};A.prototype.FE=function(){this.Oi==g.Qb?this.Sk():this.br()};A.prototype.GE=function(){this.Sk()};A.prototype.OWa=function(){this.Oi==g.PLAYING?this.br():
this.Sk()};A.prototype.AA=function(){this.bp()};A.prototype.zA=function(){this.bp();this.Sk()};A.prototype.hXa=function(){if(!this.Ak||!this.Ak.Eha())switch(this.get("doubleClickAction")){case "toggle_fullscreen":var C=this.Db().qj;C&amp;&amp;C.ik()&amp;&amp;C.toggle()}};A.prototype.jXa=function(C){this.KQ.forEach(function(L){this.P0.remove(L)}.bind(this));this.KQ=C.data.players;this.KQ.forEach(function(L){this.P0.add(L)}.bind(this));this.Xd()};A.prototype.Sk=function(){this.Zm&amp;&amp;this.Zm.play()};A.prototype.br=function(){this.Zm&amp;&amp;
this.Zm.pause()};A.prototype.bp=function(){this.Zm&amp;&amp;this.Zm.stop()};A.prototype.SWa=function(C){this.aya(C.data.player)};A.prototype.RWa=function(C){this.Ak==C.data.player&amp;&amp;this.aya(null)};A.prototype.Qva=function(){A.Fp(this)};A.prototype.lXa=function(){this.vn=!0;this.SR()};A.prototype.kXa=function(){this.vn=!1;this.SR()};A.prototype.SR=function(){this.ee&amp;&amp;this.ee.set("visible",this.get("playbackBarVisible")&amp;&amp;(this.vn||!this.get("playbackBarRollOverDisplay")||v.E5()))};A.prototype.aya=function(C){this.Ak!=
C&amp;&amp;(this.set("playbackBarVisible",!1),this.Ak&amp;&amp;this.Ak.Fp(!1),this.Zm&amp;&amp;this.Zm.unbind(h.G("state"),this.Z7,this),this.RXa=this.Ak,(this.Ak=C)&amp;&amp;this.Ak.Fp(!!this.un),(this.Zm=this.Ak&amp;&amp;this.Ak.pPa?this.Ak:null)&amp;&amp;this.Zm.bind(h.G("state"),this.Z7,this,!0),this.Z7())};A.prototype.Fp=function(C){this.un=C;this.set("isKeyboardTarget",C);this.Ak&amp;&amp;this.Ak.Fp(!!this.un)};A.prototype.Kcb=function(){return!this.RXa};A.prototype.Z7=function(){this.Zm?this.xd(this.Zm.get("state")):this.xd(g.V)};A.prototype.wda=
function(){var C=(this.et?this.et:this.ee).get("position");this.trigger(new b(A.P6,{position:C}))};A.woa={progressBackgroundColor:"backgroundColor",progressBackgroundColorDirection:"backgroundColorDirection",progressBackgroundColorRatios:"backgroundColorRatios",progressBackgroundOpacity:"backgroundOpacity",progressBarBackgroundColor:"barBackgroundColor",progressBarBackgroundColorDirection:"barBackgroundColorDirection",progressBarBackgroundColorRatios:"barBackgroundColorRatios",progressBarBorderColor:"barBorderColor",
progressBarBorderRadius:"barBorderRadius",progressBarBorderSize:"barBorderSize",progressBarOpacity:"barOpacity",progressBorderColor:"borderColor",progressBorderRadius:"borderRadius",progressBorderSize:"borderSize",progressHeight:"height",progressOpacity:"opacity",progressBottom:"bottom",progressLeft:"left",progressRight:"right"};A.kNa=l(A.woa).keys();A.Ioa={progressPercent:"percent",progressVisible:"visible"};A.Hoa=l(A.Ioa).keys();A.voa={playbackBarBackgroundColor:"backgroundColor",playbackBarBackgroundColorDirection:"backgroundColorDirection",
playbackBarBackgroundOpacity:"backgroundOpacity",playbackBarBorderColor:"borderColor",playbackBarBorderRadius:"borderRadius",playbackBarBorderSize:"borderSize",playbackBarBottom:"bottom",playbackBarHeight:"height",playbackBarWidth:"width",playbackBarLeft:"left",playbackBarOpacity:"opacity",playbackBarRight:"right",playbackBarLiveDragging:"liveDragging",playbackBarProgressBackgroundColor:"barBackgroundColor",playbackBarProgressBackgroundColorDirection:"barBackgroundColorDirection",playbackBarProgressBackgroundColorRatios:"barBackgroundColorRatios",
playbackBarProgressBorderColor:"barBorderColor",playbackBarProgressBorderRadius:"barBorderRadius",playbackBarProgressBorderSize:"barBorderSize",playbackBarProgressOpacity:"barOpacity",playbackBarHeadBackgroundColor:"playheadBackgroundColor",playbackBarHeadBackgroundColorDirection:"playheadBackgroundColorDirection",playbackBarHeadBackgroundColorRatios:"playheadBackgroundColorRatios",playbackBarHeadBorderColor:"playheadBorderColor",playbackBarHeadBorderRadius:"playheadBorderRadius",playbackBarHeadBorderSize:"playheadBorderSize",
playbackBarHeadOpacity:"playheadOpacity",playbackBarHeadWidth:"playheadWidth",playbackBarHeadHeight:"playheadHeight",playbackBarHeadShadow:"playheadShadow",playbackBarHeadShadowBlurRadius:"playheadShadowBlurRadius",playbackBarHeadShadowColor:"playheadShadowColor",playbackBarHeadShadowHorizontalLength:"playheadShadowHorizontalLength",playbackBarHeadShadowOpacity:"playheadShadowOpacity",playbackBarHeadShadowSpread:"playheadShadowSpread",playbackBarHeadShadowVerticalLength:"playheadShadowVerticalLength",
playbackBarStepBackgroundColor:"stepBackgroundColor",playbackBarStepBackgroundColorDirection:"stepBackgroundColorDirection",playbackBarStepBackgroundColorRatios:"stepBackgroundColorRatios",playbackBarStepBorderColor:"stepBorderColor",playbackBarStepBorderRadius:"stepBorderRadius",playbackBarStepBorderSize:"stepBorderSize",playbackBarStepOpacity:"stepOpacity",playbackBarStepWidth:"stepWidth",playbackBarStepHeight:"stepHeight",playbackBarStepShadow:"stepShadow",playbackBarStepShadowBlurRadius:"stepShadowBlurRadius",
playbackBarStepShadowColor:"stepShadowColor",playbackBarStepShadowHorizontalLength:"stepShadowHorizontalLength",playbackBarStepShadowOpacity:"stepShadowOpacity",playbackBarStepShadowSpread:"stepShadowSpread",playbackBarStepShadowVerticalLength:"stepShadowVerticalLength",playbackBarSelectedStepBackgroundColor:"selectedStepBackgroundColor",playbackBarSelectedStepBackgroundColorDirection:"selectedStepBackgroundColorDirection",playbackBarSelectedStepBackgroundColorRatios:"selectedStepBackgroundColorRatios",
playbackBarSelectedStepBorderColor:"selectedStepBorderColor",playbackBarSelectedStepBorderRadius:"selectedStepBorderRadius",playbackBarSelectedStepBorderSize:"selectedStepBorderSize",playbackBarSelectedStepOpacity:"selectedStepOpacity",playbackBarSelectedStepWidth:"selectedStepWidth",playbackBarSelectedStepHeight:"selectedStepHeight",playbackBarSelectedStepShadow:"selectedStepShadow",playbackBarSelectedStepShadowBlurRadius:"selectedStepShadowBlurRadius",playbackBarSelectedStepShadowColor:"selectedStepShadowColor",
playbackBarSelectedStepShadowHorizontalLength:"selectedStepShadowHorizontalLength",playbackBarSelectedStepShadowOpacity:"selectedStepShadowOpacity",playbackBarSelectedStepShadowSpread:"selectedStepShadowSpread",playbackBarSelectedStepShadowVerticalLength:"selectedStepShadowVerticalLength"};A.jNa=l(A.voa).keys();A.Eoa={playbackBarDuration:"duration",playbackBarPosition:"position",playbackBarSteps:"steps",playbackBarSelectedStep:"selectedStep",playbackBarVisible:"visible"};A.Doa=l(A.Eoa).keys();A.QV=
"requestByPlayer";A.Ena="playerShow";A.Dna="playerHide";A.P6="playbackBarPositionChange";A.W6="viewModeChange";A.mE=null;A.Fp=function(C){A.mE!=C&amp;&amp;(A.mE&amp;&amp;A.mE.Fp(!1),A.mE=C,A.mE&amp;&amp;A.mE.Fp(!0))};A.fB=[];A.tj=function(C){var L=A.fB.indexOf(C);-1&lt;L&amp;&amp;A.fB.splice(L,1);A.fB.push(C);this.Fp(C)};A.sj=function(C){var L=A.fB.indexOf(C);-1&lt;L&amp;&amp;A.fB.splice(L,1);A.mE==C&amp;&amp;A.Fp(A.fB.length?A.fB[A.fB.length-1]:null)};var E=null,J=null;navigator.xr&amp;&amp;navigator.xr.addEventListener("sessiongranted",function(){e()});return A});
define("dn",["require","lS","mw","cI","bE"],function(a){var e=a("lS"),l=a("mw"),m=a("cI"),k=a("bE"),c=e.extend(l,function(h){l.call(this);this.pPa=h;this.hR=this.qA=null});c.sh="mediaShow";c.Vm="mediaHide";c.prototype.Fp=function(){};c.prototype.Eha=function(){return!1};c.prototype.eR=function(h){this.qA!=h&amp;&amp;(this.qA&amp;&amp;this.Wfa(this.qA),(this.qA=h)&amp;&amp;this.I8(this.qA))};c.prototype.I8=function(h){h.bind(k.QV,this.SAa,this,!0);h.bind(k.P6,this.uQ,this)};c.prototype.Wfa=function(h){h.unbind(k.QV,this.SAa,
this);h.unbind(k.P6,this.uQ,this)};c.prototype.EG=function(h){this.qA.trigger(new m(k.QV,{players:h||[this]}))};c.prototype.SAa=function(h){0&gt;h.data.players.indexOf(this)&amp;&amp;this.oK()};c.prototype.uQ=function(){};c.prototype.oK=function(){};c.prototype.oP=function(h){this.trigger(new m(c.sh,{media:h}));this.hR=this.qA;this.hR.trigger(new m(k.Ena,{player:this}))};c.prototype.nP=function(h){this.trigger(new m(c.Vm,{media:h}));this.hR&amp;&amp;(this.hR.trigger(new m(k.Dna,{player:this})),this.hR=null)};return c});
define("kA",["require"],function(){return{qC:"constrained",MLa:"free_drag",bdb:"free_drag_and_rotation",y7:"sync_with_field_of_view"}});
define("lf",["require","lS","kA","mK"],function(a){function e(){this.Ba=!0;this.Qa=this.Na=.5;this.qd=0;this.ob=1;this.Of=m.Th;this.Cn=l.qC;this.fca=this.ica=1;this.Pe=this.Qe=this.$m=this.an=100;this.Mn=e.YC}a("lS");var l=a("kA"),m=a("mK");e.prototype.lEa=function(){return this.Mn!==e.YC};e.prototype.kEa=function(){return this.Mn&amp;e.PH?!0:!1};e.prototype.mEa=function(){return this.Mn&amp;e.QH?!0:!1};e.prototype.nEa=function(){return this.Mn&amp;e.aD?!0:!1};e.prototype.jEa=function(){return this.Mn&amp;e.XC?!0:
!1};e.prototype.getX=function(){this.Sn();return this.Na};e.prototype.getY=function(){this.Sn();return this.Qa};e.prototype.Vr=function(){this.Sn();return this.ob};e.prototype.mL=function(){this.Sn();return this.qd};e.prototype.setConfiguration=function(k,c,h,g,b){this.Qe=k;this.Pe=c;this.Of=h;this.ica=g;this.fca=b;this.Qa=this.Na=.5;this.qd=0;this.ob=g;this.Ba=!0};e.prototype.setPosition=function(k,c,h,g){this.Na=k;this.Qa=c;this.qd=h;this.ob=g;this.Ba=!0};e.prototype.rs=function(k){this.Cn=k;this.Ba=
!0};e.prototype.setSize=function(k,c){this.an=k;this.$m=c;this.Ba=!0};e.prototype.Sn=function(){if(this.Ba){this.Ba=!1;var k=e.YC;this.ob&gt;this.fca?(this.ob=this.fca,k|=e.lNa):this.ob&lt;this.ica&amp;&amp;(this.ob=this.ica,k|=e.mNa);if(this.Cn==l.qC){switch(this.Of){case m.NONE:var c=this.Qe;var h=this.Pe;break;case m.Vp:c=this.an;h=this.Pe*this.an/this.Qe;break;case m.xk:c=this.Qe*this.$m/this.Pe;h=this.$m;break;case m.As:this.Qe*this.$m&gt;this.Pe*this.an?(c=this.Qe*this.$m/this.Pe,h=this.$m):(c=this.an,h=this.Pe*
this.an/this.Qe);break;default:case m.Th:this.Qe*this.$m&gt;this.Pe*this.an?(c=this.an,h=this.Pe*this.an/this.Qe):(c=this.Qe*this.$m/this.Pe,h=this.$m)}c*=this.ob;h*=this.ob;var g=Math.min(.5*this.an/c,.5);c=Math.max(1-.5*this.an/c,.5);var b=Math.min(.5*this.$m/h,.5);h=Math.max(1-.5*this.$m/h,.5)}else g=0,c=1,b=0,h=1;this.Na&lt;g?(this.Na=g,k|=e.PH):this.Na&gt;c&amp;&amp;(this.Na=c,k|=e.QH);this.Qa&lt;b?(this.Qa=b,k|=e.aD):this.Qa&gt;h&amp;&amp;(this.Qa=h,k|=e.XC);this.Cn!=l.qC&amp;&amp;this.Cn!=l.MLa||0==this.qd||(this.qd=0,k|=e.rNa);
this.Mn=k}};e.YC=0;e.PH=1;e.QH=2;e.aD=4;e.XC=8;e.mNa=16;e.lNa=32;e.rNa=64;return e});
define("gI",["require"],function(){function a(){this.gO=.1;this.jX=this.F9=this.I9=this.H9=this.P9=this.E9=this.N9=this.M9=this.jS=this.gha=this.dD=this.k8=this.hS=this.dha=this.gS=this.cha=0}a.prototype.S4=function(e){this.gO=e};a.prototype.IIa=function(e,l,m,k,c,h,g,b){this.cha=e;this.dha=l;this.k8=m;this.gha=k;this.gS+=c;this.hS+=h;this.dD+=g;this.jS+=b};a.prototype.rf=function(){return 0!=this.M9||0!=this.N9||0!=this.E9||0!=this.P9||0!=this.cha||0!=this.dha||0!=this.k8||0!=this.gha||0!=this.gS||
0!=this.hS||0!=this.dD||0!=this.jS};a.prototype.Fb=function(e){e=1E3/e;this.H9=this.wX(this.M9/e,this.cha/e+this.gS,this.gO);this.I9=this.wX(this.N9/e,this.dha/e+this.hS,this.gO);this.F9=this.wX(this.E9/e,this.k8/e+this.dD,this.gO);this.jX=this.wX(this.P9/e,this.gha/e+this.jS,this.gO);this.M9=this.H9*e;this.N9=this.I9*e;this.E9=this.F9*e;this.P9=this.jX*e;this.jS=this.dD=this.hS=this.gS=0};a.prototype.wX=function(e,l,m){return 0==l?this.sg(e,l,m):l};a.prototype.sg=function(e,l,m){e=(l-e)*(1-m);.01&gt;
Math.abs(e)&amp;&amp;(e=0);return l-e};return a});
define("gN","require lS py cI gE mK".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE");a("mK");var c=e.extend(k,function(){k.call(this);this.eO=7;this.gZ=this.xba=!1;this.iZ=void 0;this.qd=0;this.ob=1;this.Pe=this.Qe=100;this.GY=1;this.Eda=!0;this.Fda=!1;this.Q2a=!0;this.fha=!1;this.ib=null});c.prototype.vU=function(h){this.eO=h};c.prototype.Xc=function(h,g,b,d){this.qd=h;this.ob=g;this.Qe=b;this.Pe=d};c.prototype.sab=function(h){this.Eda=h;this.o0(this.Eda&amp;&amp;!!this.ib)};c.prototype.ns=
function(h){this.ib!=h&amp;&amp;(this.o0(!1),this.Tea(!1),this.Am(),this.ib=h,this.o0(this.Eda&amp;&amp;!!this.ib),this.Tea(this.Q2a&amp;&amp;!!this.ib))};c.prototype.Am=function(){this.o0(!1);this.Tea(!1);this.ib=null};c.prototype.o0=function(h){this.Fda!=h&amp;&amp;((this.Fda=h)?this.QOa():this.c1a())};c.prototype.Tea=function(h){this.fha!=h&amp;&amp;((this.fha=h)?this.TOa():this.e1a())};c.prototype.QOa=function(){this.ib.bind(l.hb,this.ce,this,!0);this.ib.bind(l.Pb,this.Zj,this,!0);this.ib.bind(l.Eb,this.$j,this,!0)};c.prototype.c1a=
function(){this.ib.unbind(l.hb,this.ce,this);this.ib.unbind(l.Pb,this.Zj,this);this.ib.unbind(l.Eb,this.$j,this)};c.prototype.TOa=function(){this.ib.bind(l.Gs,this.tE,this,!0);this.ib.bind(l.xH,this.QD,this,!0)};c.prototype.e1a=function(){this.ib.unbind(l.Gs,this.tE,this);this.ib.unbind(l.xH,this.QD,this)};c.prototype.ce=function(h){this.M_a(h)};c.prototype.Zj=function(h){this.qAa(h)};c.prototype.$j=function(){this.x$()};c.prototype.tE=function(h){this.Ega(h)};c.prototype.QD=function(h){this.Fga(h)};
c.prototype.M_a=function(h){this.xba=!0;this.gZ=!1;this.iZ=h;this.qAa(h)};c.prototype.qAa=function(h){if(this.xba){var g=h.pageX-this.iZ.pageX,b=h.pageY-this.iZ.pageY;this.gZ||(Math.sqrt(g*g+b*b)&gt;this.eO?this.gZ=!0:g=b=0);this.gZ&amp;&amp;(this.iZ=h);h=this.qd*Math.PI/180;this.trigger(new m(c.Qp,{xDelta:-((g*Math.cos(h)+b*Math.sin(h))/this.Qe),yDelta:-((b*Math.cos(h)-g*Math.sin(h))/this.Pe)}))}};c.prototype.x$=function(){this.xba=!1};c.prototype.Fga=function(h){if(this.GY!=h.scale){this.x$();var g=this.GY;
this.GY=h.scale;this.trigger(new m(c.Up,{zoomDelta:this.ob*this.GY/g-this.ob}))}};c.prototype.Ega=function(h){0!=h.delta&amp;&amp;(this.x$(),this.trigger(new m(c.Up,{zoomDelta:this.ob*h.HS*.1})))};c.Qp="position change";c.Up="zoom change";c.ndb="vieport navigation";c.mdb="relative navigation";c.ldb="relative exponential navigation";c.kdb="dragging";return c});define("kj",["require"],function(){return{s7:"rotateClockwise",t7:"rotateCounterClockwise",Bv:"zoomIn",Cv:"zoomOut",Wf:"stop"}});
define("oi","require lS cI gE mK gI gN kj py".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("mK"),c=a("gI"),h=a("gN"),g=a("kj");a("py");var b=e.extend(m,function(d,f){m.call(this);this.j=d;this.pa=f;this.kt=this.J_=this.W=!1;this.Qa=this.Na=.5;this.qd=0;this.ob=1;this.Pe=this.Qe=100;this.Of=k.qC;this.nc=new c;this.vb=new h;this.j.Go?(this.vb.vU(b.U7),this.nc.S4(b.V7)):(this.vb.vU(0),this.nc.S4(1));this.vb.bind(h.Qp,this.EWa,this,!0);this.vb.bind(h.Up,this.vA,this,!0)});b.prototype.clear=
function(){this.vb.unbind(h.Qp,this.qeb,this,!0);this.vb.unbind(h.Up,this.vA,this,!0);this.vb.Am();this.j=this.pa=this.nc=this.vb=null};b.prototype.rk=function(d){switch(d){case g.s7:this.Zc(0,0,+b.P7,0,0,0,0,0);break;case g.t7:this.Zc(0,0,-b.P7,0,0,0,0,0);break;case g.Bv:this.Zc(0,0,0,+b.jN,0,0,0,0);break;case g.Cv:this.Zc(0,0,0,-b.jN,0,0,0,0);break;case g.Wf:this.Zc(0,0,0,0,0,0,0,0)}};b.prototype.setPosition=function(d,f,n,q,p,r){this.Na=d;this.Qa=f;this.qd=n;this.ob=q;this.Qe=p;this.Pe=r;this.vb.Xc(this.qd,
this.ob,this.Qe,this.Pe)};b.prototype.rf=function(){return this.W&amp;&amp;this.nc.rf()};b.prototype.Fb=function(d){this.nc.Fb(d);this.pa.setPosition(this.Na+this.nc.H9,this.Qa+this.nc.I9,this.qd+this.nc.F9,this.ob+this.nc.jX);this.Na=this.pa.getX();this.Qa=this.pa.getY();this.qd=this.pa.mL();this.ob=this.pa.Vr()};b.prototype.zU=function(d){this.kt=d;this.vb.sab(!this.kt)};b.prototype.rb=function(d){(this.W=d)?this.vb.ns(this.j.getParent()):this.vb.Am()};b.prototype.EWa=function(d){this.Zc(0,0,0,0,d.data.xDelta,
d.data.yDelta,0,0)};b.prototype.vA=function(d){this.Zc(0,0,0,0,0,0,0,d.data.zoomDelta)};b.prototype.Zc=function(d,f,n,q,p,r,t,u){this.nc.IIa(d,f,n,q,p,r,t,u);this.pi()};b.prototype.pi=function(){this.trigger(new l(b.Sh))};b.Sh="position change request";b.U7=7;b.V7=.2;b.jN=.5;b.P7=30;return b});
define("nv","require lS cI gE pa bL gI gN kj py".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("pa"),c=a("bL"),h=a("gI"),g=a("gN"),b=a("kj");a("py");var d=e.extend(m,function(f,n){m.call(this);this.j=f;this.pa=n;this.W=!1;this.Qa=this.Na=.5;this.qd=0;this.ob=1;this.Pe=this.Qe=100;this.fa=null;this.s$=!0;this.fd=null;this.g_=0;this.St=this.bl=this.Bx=void 0;this.nc=new h;this.vb=new g;this.j.Go?(this.vb.vU(d.U7),this.nc.S4(d.V7)):(this.vb.vU(0),this.nc.S4(1));this.vb.bind(g.Up,this.vA,
this,!0)});d.prototype.Z$a=function(f,n){this.Qe=f;this.Pe=n;this.AK()};d.prototype.Fy=function(f){this.fd!=f&amp;&amp;(this.fd=f,this.g_=void 0,this.AK())};d.prototype.Gp=function(f,n){this.fd==f&amp;&amp;(this.g_=n,this.AK())};d.prototype.AK=function(){if(this.fd&amp;&amp;void 0!=this.g_){var f=this.fd.get("x",0)/this.Qe;var n=this.fd.get("y",0)/this.Pe;var q=-(this.g_+this.fd.get("angle",0))}else q=n=f=void 0;this.St!=q&amp;&amp;(this.St=q,this.pi());if(this.Bx!=f||this.bl!=n)this.Bx=f,this.bl=n,this.TUa(),this.pi()};d.prototype.TUa=
function(){this.s$=!0;this.pi()};d.prototype.rF=function(){if(this.s$||this.fa&amp;&amp;this.fa.We())if(this.s$=!1,this.fa=null,void 0!=this.Bx&amp;&amp;void 0!=this.bl&amp;&amp;void 0!=this.St){for(var f=this.St-this.qd;180&lt;f;)f-=360;for(;-180&gt;f;)f+=360;this.Na!=this.Bx||this.Qa!=this.bl?this.fa=new k("quad_in_out",[new c("x",this.Na,this.Bx,1),new c("y",this.Qa,this.bl,1),new c("angleDif",f,f,360)],500):this.St!=this.qd&amp;&amp;(this.fa=new k("quad_in_out",[new c("x",this.Na,this.Na,1),new c("y",this.Qa,this.Qa,1),new c("angleDif",
f,0,360)],500))}};d.prototype.clear=function(){this.vb.unbind(g.Up,this.vA,this,!0);this.vb.Am();this.j=this.pa=this.fa=this.nc=this.vb=null};d.prototype.rk=function(f){switch(f){case b.Bv:this.Zc(+d.jN,0);break;case b.Cv:this.Zc(-d.jN,0);break;case b.Wf:this.Zc(0,0)}};d.prototype.setPosition=function(f,n,q,p,r,t){this.Na=f;this.Qa=n;this.qd=q;this.ob=p;this.vb.Xc(this.qd,this.ob,r,t)};d.prototype.rf=function(){return this.W&amp;&amp;(this.fa||this.nc.rf()||void 0!=this.Bx&amp;&amp;this.Na!=this.Bx||void 0!=this.bl&amp;&amp;
this.Qa!=this.bl||void 0!=this.St&amp;&amp;this.qd!=this.St)?!0:!1};d.prototype.Fb=function(f){this.rF();this.fa?(this.fa.Fb(f),this.Na=this.fa.eb("x"),this.Qa=this.fa.eb("y"),this.qd=this.St-this.fa.eb("angleDif")):(void 0!=this.Bx&amp;&amp;(this.Na=this.Bx),void 0!=this.bl&amp;&amp;(this.Qa=this.bl),void 0!=this.St&amp;&amp;(this.qd=this.St));this.nc.Fb(f);this.pa.setPosition(this.Na,this.Qa,this.qd,this.ob+this.nc.jX);this.Na=this.pa.getX();this.Qa=this.pa.getY();this.qd=this.pa.mL();this.ob=this.pa.Vr()};d.prototype.rb=function(f){(this.W=
f)?(this.vb.ns(this.j.getParent()),this.AK()):this.vb.Am()};d.prototype.vA=function(f){this.Zc(0,f.data.zoomDelta)};d.prototype.Zc=function(f,n){this.nc.IIa(0,0,0,f,0,0,0,n);this.pi()};d.prototype.pi=function(){this.trigger(new l(d.Sh))};d.Sh="position change request";d.U7=7;d.V7=.2;d.jN=.5;d.P7=30;return d});
define("oG","require lS cI gE kA mK lf oi nv py".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("kA"),c=a("mK"),h=a("lf"),g=a("oi"),b=a("nv"),d=a("py"),f=e.extend(m,function(n){m.call(this);this.j=n;this.j.bind(d.tc,this.Ic,this);this.Cn=k.qC;this.fd=null;this.Qa=this.Na=.5;this.qd=0;this.ob=1;this.Ua=null;this.Z_=this.Y_=this.au=this.$t=!1;this.On=!0;this.W=!1;this.pa=new h;this.pa.rs(this.Cn);this.ec=new g(this.j,this.pa);this.ec.bind(g.Sh,this.Vq,this,!0);this.Vi=new b(this.j,this.pa);
this.Vi.bind(b.Sh,this.Vq,this,!0);this.L_()});f.prototype.clear=function(){this.ec.unbind(g.Sh,this.Vq,this);this.ec.clear();this.ec=null;this.Vi.unbind(b.Sh,this.Vq,this);this.Vi.clear();this.Ua=this.pa=this.Vi=null;this.j.unbind(d.tc,this.Ic,this);this.j=null};f.prototype.stop=function(){this.pe=this.Ua=null;this.W=!1;this.ec.rb(!1);this.Vi.rb(!1);this.sx(0,0,0)};f.prototype.start=function(n){var q=n.Ua,p=q.get("width",100),r=q.get("height",100),t=q.get("scaleMode",c.Th),u=q.get("minimumZoomFactor",
1),v=q.get("maximumZoomFactor",1),w=q.get("initialZoomFactor",1);this.Ua=q;this.W=!0;this.pe=n.getItem();this.sx(0,0,0);this.Vi.Z$a(p,r);this.pa.setConfiguration(p,r,t,u,v);this.pa.setPosition(.5,.5,0,w);this.j.BU(this.pe,this.pa.getX(),this.pa.getY(),this.pa.mL(),this.pa.Vr());this.L_()};f.prototype.rk=function(n){this.ec.rk(n);this.Vi.rk(n)};f.prototype.rs=function(n){this.Cn!=n&amp;&amp;(this.Cn=n,this.pa.rs(n),this.L_())};f.prototype.Fy=function(n){this.fd!=n&amp;&amp;(this.fd=n,this.Vi.Fy(n),this.L_())};f.prototype.zU=
function(n){this.ec&amp;&amp;this.ec.zU(n)};f.prototype.Gp=function(n,q,p,r){this.Vi.Gp(n,q,p,r)};f.prototype.wy=function(n){this.W&amp;&amp;(this.Vi.rf()?(this.Vi.Fb(n),this.pm(this.Vi.Na,this.Vi.Qa,this.Vi.qd,this.Vi.ob),this.Sa()):this.ec.rf()?(this.ec.Fb(n),this.pm(this.ec.Na,this.ec.Qa,this.ec.qd,this.ec.ob),this.Sa()):this.sx(0,0,0))};f.prototype.Nd=function(){if(this.pe){var n=this.j.cT(this.pe),q=this.j.dT(this.pe),p=this.j.X2(this.pe),r=this.j.vDa(this.pe),t=this.j.bT(this.pe),u=this.j.aT(this.pe),v=n-this.Na,
w=q-this.Qa,x=r-this.ob;this.Na=n;this.Qa=q;this.qd=p;this.ob=r;this.sx(v,w,x);this.Vi.setPosition(n,q,p,r,t,u);this.ec.setPosition(n,q,p,r,t,u)}};f.prototype.L_=function(){this.Cn==k.y7&amp;&amp;null!=this.fd&amp;&amp;this.fd.get("map")==this.Ua?(this.ec.rb(!1),this.Vi.rb(!0)):(this.ec.rb(!0),this.Vi.rb(!1))};f.prototype.Vq=function(){this.Sa()};f.prototype.Ic=function(){this.pa.setSize(this.j.Za(),this.j.Cb());this.Sa()};f.prototype.Sa=function(){this.trigger(new l(f.Ob))};f.prototype.pm=function(n,q,p,r){this.j.BU(this.pe,
n,q,p,r)};f.prototype.sx=function(n,q,p){n=!1;this.au!=0&gt;p&amp;&amp;(this.au=!this.au,n=!0);this.$t!=0&lt;p&amp;&amp;(this.$t=!this.$t,n=!0);this.Y_!=0&lt;this.dD&amp;&amp;(this.Y_=!this.Y_,n=!0);this.Z_!=0&gt;this.dD&amp;&amp;(this.Z_=!this.Z_,n=!0);this.On!=(0==p)&amp;&amp;(this.On=!this.On,n=!0);n&amp;&amp;this.trigger(new l(f.wk,{rotatingClockwise:this.Y_,rotatingCounterClockwise:this.Z_,zoomingIn:this.$t,zoomingOut:this.au,stopped:this.On}))};f.Ob="request frame";f.wk="movement change";return f});
define("kn","require lS cI gE mK lf".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("mK"),c=a("lf"),h=e.extend(m,function(g,b){m.call(this);this.M=g;this.j=b;this.pa=new c;this.Og=[];this.ua=h.Yh;this.Bq=this.Qj=this.Ol=null;this.hh=this.M.get("transitionDuration");this.um=void 0});h.prototype.rs=function(g){this.pa.rs(g)};h.prototype.KS=function(g){g.zT()&amp;&amp;this.c9();this.Og.push(g);this.JZ()};h.prototype.hide=function(){this.c9();this.Og.push(null);this.JZ()};h.prototype.clear=function(){this.ua=
h.Yh;this.c9();this.gYa();this.eea();this.j=null};h.prototype.Nd=function(g){this.ua==h.Yh||this.ua!=h.Il&amp;&amp;this.ua!=h.Rs||(this.um+=g,g=Math.min(1,this.um/this.hh),this.ua==h.Il?this.j.qs(this.Bq,g):this.j.qs(this.nX,1-g),this.um&lt;this.hh?this.Sa():this.ua==h.Il?this.IRa():this.KRa())};h.prototype.JZ=function(){if(this.ua==h.Yh){for(;0&lt;this.Og.length&amp;&amp;this.eOa(this.Og[0],this.Qj);)this.Og.shift();0&lt;this.Og.length&amp;&amp;this.oq()}};h.prototype.eOa=function(g,b){return g==b||!!g&amp;&amp;!!b&amp;&amp;g.isEqual(b)};h.prototype.oq=
function(){!this.Qj||this.Og[0]&amp;&amp;!this.Og[0].zT()||this.Qj.Ua==(this.Og[0]&amp;&amp;this.Og[0].Ua)||this.trigger(new l(h.tC,{map:this.Qj.Ua}));"fade_out_fade_in"!=this.M.get("transitionMode","blending")||!this.Qj||this.Og[0]&amp;&amp;!this.Og[0].zT()?(this.Bq=(this.Ol=this.Og.shift())&amp;&amp;this.Ol.getItem(),this.Ol?this.xN():this.Qj&amp;&amp;this.xz()):this.xz()};h.prototype.xN=function(){this.CNa();this.Ol.zT()&amp;&amp;this.fZa();this.um=0;this.ua=h.Il;this.Sa()};h.prototype.IRa=function(){this.eea();this.Qj=this.Ol;this.nX=this.Bq;
this.Bq=this.Ol=null;this.Vz()};h.prototype.xz=function(){this.um=0;this.ua=h.Rs;this.Sa()};h.prototype.KRa=function(){this.eea();this.Qj=null;this.Vz()};h.prototype.Vz=function(){this.ua=h.Yh;this.Qj&amp;&amp;this.Qj.zT()&amp;&amp;this.trigger(new l(h.uC,{map:this.Qj.Ua}));0==this.Og.length?this.Qj?this.trigger(new l(h.C6,{level:this.Qj})):this.trigger(new l(h.n6)):this.oq()};h.prototype.fZa=function(){var g=this.Ol.Ua;this.Ol.mk();this.pa.setConfiguration(g.get("width",100),g.get("height",100),g.get("scaleMode",
k.Th),g.get("minimumZoomFactor",1),g.get("maximumZoomFactor",1));this.pa.setPosition(.5,.5,0,g.get("initialZoomFactor",1));this.j.BU(this.Bq,this.pa.getX(),this.pa.getY(),this.pa.mL(),this.pa.Vr())};h.prototype.Sa=function(){this.trigger(new l(h.Ob))};h.prototype.c9=function(){for(;0&lt;this.Og.length;){var g=this.Og.shift();g&amp;&amp;this.j.Ij(g.getItem())}};h.prototype.CNa=function(){this.Ol&amp;&amp;(this.j.iha(this.Bq),this.j.Aha(this.Bq),this.j.qs(this.Bq,0),this.trigger(new l(h.B6,{level:this.Ol})))};h.prototype.eea=
function(){this.Qj&amp;&amp;(this.j.removeItem(this.nX),this.trigger(new l(h.BV,{level:this.Qj})),this.j.Ij(this.nX),this.nX=this.Qj=null)};h.prototype.gYa=function(){this.Ol&amp;&amp;(this.j.removeItem(this.Bq),this.trigger(new l(h.BV,{level:this.Ol})),this.j.Ij(this.Bq),this.Bq=this.Ol=null)};h.Yh="stopped";h.Il="blending";h.Rs="disolving";h.Ob="request frame";h.B6="level added";h.BV="level removed";h.C6="level fully displayed";h.n6="all pending maps hidden";h.uC="map show";h.tC="map hide";return h});
define("lF",["require"],function(){function a(e,l){this.Ua=e;this.Xa=e.get("image");this.pf=l;this.sba=void 0}a.prototype.getItem=function(){switch(this.pf){case a.OV:return this.Ua.GDa();default:return this.Ua.nk()}};a.prototype.mk=function(){switch(this.pf){case a.OV:return this.Ua.aG();default:return this.Ua.Sr()}};a.prototype.zT=function(){return void 0===this.sba?0==this.getIndex():this.sba};a.prototype.K$a=function(e){this.sba=e};a.prototype.AT=function(){return this.pf==a.Uma};a.prototype.isEqual=
function(e){return e&amp;&amp;this.Ua==e.map&amp;&amp;this.pf==e.type};a.prototype.getIndex=function(){return this.pf==a.OV||this.Ua.xL()?0:1};a.prototype.iDa=function(){return this.Ua.xL()?2:1};a.OV="preload";a.Uma="load";return a});
define("jv","require lS le py cI gE lF w".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("cI"),c=a("gE"),h=a("lF"),g=a("w"),b=e.extend(c,function(d){c.call(this);this.j=d;this.Og=[];this.YN=this.oE=this.Zg=null;this.hE=!1;this.HY=null;this.zZ=e.Ap(this.zZ,this)});b.prototype.clear=function(){this.stop();this.j=null};b.prototype.lFa=function(d,f){if(this.HY!=d||f)this.stop(),this.Ua=d,this.Ua.K9a(),l.bu(this.Ua,"image.levels.url",this.zZ),f=[],d.xL()&amp;&amp;g.qb()&amp;&amp;f.push(new h(d,h.OV)),f.push(new h(d,
h.Uma)),f=f.filter(function(n){return n.getItem().Zi()}),f.length&amp;&amp;(this.Og=this.Og.concat(f),this.JZ())};b.prototype.zZ=function(){this.reload()};b.prototype.reload=function(){this.lFa(this.Ua,!0)};b.prototype.stop=function(){l.ca(this.Ua,"image.levels.url",this.zZ);this.HY=this.Ua=null;this.Og=[];this.cza();this.hE&amp;&amp;(this.hE=!1,this.Tfa(),this.j.Ij(this.Zg.getItem()),this.Zg=null,this.trigger(new k(b.CV)))};b.prototype.JZ=function(){this.hE||this.Zba()};b.prototype.Zba=function(){0&lt;this.Og.length?
(this.Zg=this.Og.shift(),this.hE||(this.hE=!0,this.trigger(new k(b.AV,{level:this.Zg,percent:0}))),this.KOa(),this.j.Yn(this.Zg.getItem()),this.j.A5(this.Zg.getItem())&amp;&amp;this.Cca()):this.hE&amp;&amp;(this.hE=!1,this.trigger(new k(b.CV)))};b.prototype.Cca=function(){this.Tfa();this.D_a();this.Zg=null;this.Zba()};b.prototype.D_a=function(){this.cza();this.oE=this.Zg;var d=this;this.YN=setTimeout(function(){d.YN=null;d.mWa()},500)};b.prototype.mWa=function(){var d=this.oE.Ua;this.oE.K$a(d!=this.HY);this.HY=d;
this.trigger(new k(b.D6,{level:this.oE}));this.oE=null};b.prototype.cza=function(){null!=this.YN&amp;&amp;(clearTimeout(this.YN),this.YN=null,this.j.Ij(this.oE.getItem()),this.oE=null)};b.prototype.Qua=function(){this.Tfa();this.Zg=null;this.Zba()};b.prototype.Rua=function(d){this.trigger(new k(b.AV,{level:this.Zg,percent:d.Tg}))};b.prototype.KOa=function(){var d=this.Zg.getItem();d.bind(m.ea,this.Cca,this);d.bind(m.xc,this.Qua,this);d.bind(m.kc,this.Rua,this)};b.prototype.Tfa=function(){var d=this.Zg.getItem();
d.unbind(m.ea,this.Cca,this);d.unbind(m.xc,this.Qua,this);d.unbind(m.kc,this.Rua,this)};b.AV="level loading progress";b.D6="level loaded";b.CV="load stopped";return b});
define("cU",["require"],function(){function a(e,l){this.x=e;this.y=l}a.prototype.rotate=function(e){var l=Math.cos(e);e=Math.sin(e);var m=this.x*e+this.y*l;this.x=this.x*l-this.y*e;this.y=m;return this};a.prototype.translate=function(e,l){this.x+=e;this.y+=l;return this};a.prototype.scale=function(e,l){this.x*=e;this.y*=l;return this};return a});
define("nm",["require","mK","nC"],function(a){function e(k,c,h){this.ni=k;this.Sya=c;this.Qya=h;this.Of=l.az;this.Vl=m.Ze;this.xm=m.se}var l=a("mK"),m=a("nC");e.prototype.cC=function(k){this.Of=k};e.prototype.mM=function(k){this.Vl=k};e.prototype.sM=function(k){this.xm=k};e.prototype.bL=function(k,c,h){var g=this.Sya,b=this.Qya,d;switch(this.Of){case l.NONE:var f=d=1;break;case l.Th:d=f=Math.min(c/g,h/b);break;case l.As:d=f=Math.max(c/g,h/b);break;case l.Vp:d=f=c/g;break;case l.xk:d=f=h/b;break;default:d=
c/g,f=h/b}var n=Math.min(this.Sya*d,c);d=Math.min(c/d,g);switch(this.Vl){case m.ab:g=c=0;break;case m.ub:c-=n;g-=d;break;default:c=.5*(c-n),g=.5*(g-d)}var q=Math.min(this.Qya*f,h);f=Math.min(h/f,b);switch(this.xm){case m.Ec:b=h=0;break;case m.wc:h-=q;b-=f;break;default:h=.5*(h-q),b=.5*(b-f)}k.drawImage(this.ni,Math.round(g),Math.round(b),Math.round(d+g-Math.round(g)),Math.round(f+b-Math.round(b)),Math.round(c),Math.round(h),Math.round(n+c-Math.round(c)),Math.round(q+h-Math.round(h)))};return e});
define("mT","require py ix cU hi nm".split(" "),function(a){function e(g,b,d,f){this.j=g;this.Ua=b;this.Qe=this.Ua.get("width");this.Pe=this.Ua.get("height");this.pe=this.Ua.nk();this.Qsa=d;this.Fo=f;this.XD=null;if(this.Fo){if(this.ZJ=this.Qsa.ZJ,this.sa=this.Fo.get("width"),this.wa=this.Fo.get("height"),this.Na=this.Fo.get("x",0),this.Qa=this.Fo.get("y",0),this.Iw=this.Fo.get("offsetX",0),this.Jw=this.Fo.get("offsetY",0),this.fb=this.Fo.Sr())this.fi=new c(m.Bl),this.fi.load(this.fb.get("url")),
this.fi.bind(l.ea,this.wva,this)}else this.fi=null}var l=a("py"),m=a("ix"),k=a("cU"),c=a("hi"),h=a("nm");e.prototype.clear=function(){this.Fo=this.Qsa=this.pe=this.Ua=this.j=null;this.fi&amp;&amp;(this.fi.unbind(l.ea,this.wva,this),this.fi.cancel(),this.fi=null);this.XD=null};e.prototype.yDa=function(g,b){this.Rsa=void 0;if(this.XD&amp;&amp;void 0!=g&amp;&amp;void 0!=b){var d=.5*this.j.Za(),f=.5*this.j.Cb(),n=this.j.X2(this.pe)*Math.PI/180,q=this.j.bT(this.pe),p=this.j.aT(this.pe),r=this.j.cT(this.pe),t=this.j.dT(this.pe);
g=new k(g,b);g.translate(-d,-f);g.rotate(-n);g.scale(1/q,1/p);g.translate(r,t);g.scale(this.Qe,this.Pe);g.translate(-this.Na,-this.Qa);this.ZJ||(g.rotate(n),g.scale(q/this.Qe,p/this.Pe));g.translate(this.Iw,this.Jw);d=Math.round(g.x);f=Math.round(g.y);0&lt;=d&amp;&amp;d&lt;this.XD.width&amp;&amp;0&lt;=f&amp;&amp;f&lt;this.XD.height&amp;&amp;(d=4*(this.XD.width*f+d),f=this.XD.data,this.Rsa=0&lt;f[d+3]?"#"+this.P8(f[d+0])+this.P8(f[d+1])+this.P8(f[d+2]):"transparent")}return this.Rsa};e.prototype.wva=function(){var g=new h(this.fi.Cf(),this.fb.get("width"),
this.fb.get("height"));g.cC(this.Fo.get("scaleMode"));g.mM(this.Fo.get("horizontalAlign"));g.sM(this.Fo.get("verticalAlign"));var b=document.createElement("canvas");b.width=Math.round(this.sa);b.height=Math.round(this.wa);var d=b.getContext("2d");g.bL(d,b.width,b.height);this.XD=d.getImageData(0,0,b.width,b.height);b.width=b.height=0};e.prototype.P8=function(g){for(g=g.toString(16);2&gt;g.length;)g="0"+g;return g};return e});
define("lz","require es lS py cI gE on mT bh pa bL".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("gE"),h=a("on"),g=a("mT"),b=a("bh"),d=a("pa"),f=a("bL"),n=l.extend(c,function(q,p,r){c.call(this);this.j=q;this.Ua=p;this.oc=r;this.Aa=this.oc.getItem();this.mr=this.oc.JDa();this.nr=this.oc.MDa();this.yw=this.vn=void 0;this.M=this.j.getParent();this.M.bind(m.Pb,this.Mf,this);this.M.bind(m.Jb,this.SP,this);this.M.bind(m.hb,this.Lo,this);this.M.bind(m.Eb,this.Qw,this);this.M.bind(m.ma,
this.Pw,this);r.bind(m.G("selected"),this.kwa,this);r.bind(m.G("enabled"),this.Sq,this);this.QY=new g(this.j,this.Ua,this.oc,this.oc.get("map",null));this.SY=new g(this.j,this.Ua,this.oc,this.oc.get("rollOverMap",this.oc.get("map",null)));this.TY=new g(this.j,this.Ua,this.oc,this.oc.get("selectedMap",this.oc.get("rollOverMap",this.oc.get("map",null))));this.eY=new g(this.j,this.Ua,this.oc,this.oc.get("image",null));this.fY=new g(this.j,this.Ua,this.oc,this.oc.get("rollOverImage",this.oc.get("image",
null)));this.gY=new g(this.j,this.Ua,this.oc,this.oc.get("selectedImage",this.oc.get("rollOverImage",this.oc.get("image",null))));this.nd=this.md=void 0;this.vK=null;this.Jv=[];this.Us=[];this.IN=[];this.Zh={};this.Mta=[];this.sw=!1;this.Hga=this.oc.get("useHandCursor");this.fa=null;this.nK=void 0;this.h0=this.W_=this.yY=0;q=this.oc.get("areas",[]);for(p=0;p&lt;q.length;p++){r=q[p];var t=r.get("mapColor");t&amp;&amp;(t=t.toLowerCase(),void 0===this.Zh[t]&amp;&amp;(this.Zh[t]=[],this.Mta.push(t)),this.Zh[t].push(r))}this.Aa&amp;&amp;
(this.j.O1(this.Ua.nk(),this.Aa),this.j.qs(this.Aa,this.yY));this.mr&amp;&amp;(this.j.O1(this.Ua.nk(),this.mr),this.j.qs(this.mr,this.W_));this.nr&amp;&amp;(this.j.O1(this.Ua.nk(),this.nr),this.j.qs(this.nr,this.h0));this.dR("none");this.ega();this.lya(!1);this.mya(this.oc.get("selected"))});n.prototype.clear=function(){this.M.unbind(m.Pb,this.Mf,this);this.M.unbind(m.Jb,this.SP,this);this.M.unbind(m.hb,this.Lo,this);this.M.unbind(m.Eb,this.Qw,this);this.M.unbind(m.ma,this.Pw,this);this.M=null;this.QY&amp;&amp;this.QY.clear();
this.QY=null;this.SY&amp;&amp;this.SY.clear();this.SY=null;this.TY&amp;&amp;this.TY.clear();this.TY=null;this.eY&amp;&amp;this.eY.clear();this.eY=null;this.fY&amp;&amp;this.fY.clear();this.fY=null;this.gY&amp;&amp;this.gY.clear();this.gY=null;this.Jv=[];this.vn=!1;this.ega();this.Us=[];this.IN=[];this.Zh={};this.hza();this.VR();this.Ua=this.j=null;this.oc.unbind(m.G("selected"),this.kwa,this);this.nr=this.mr=this.Aa=this.oc=null};n.prototype.match=function(q){return this.oc==q};n.prototype.Nd=function(q){this.ZI(!1);this.fa&amp;&amp;(this.fa.Fb(q),
this.yY=this.fa.eb("itemAlpha"),this.W_=this.fa.eb("rollOverItemAlpha"),this.h0=this.fa.eb("selectedItemAlpha"),this.Aa&amp;&amp;this.j.qs(this.Aa,this.yY),this.mr&amp;&amp;this.j.qs(this.mr,this.W_),this.nr&amp;&amp;this.j.qs(this.nr,this.h0),this.fa.We()?this.fa=null:this.Sa())};n.prototype.Lo=function(q){this.md=q.x-this.M.Dm();this.nd=q.y-this.M.nu();this.ZI(!0);this.Us=this.Jv.slice()};n.prototype.Mf=function(q){this.md=q.x-this.M.Dm();this.nd=q.y-this.M.nu();this.ZI(!0)};n.prototype.Qw=function(q){this.md=q.x-this.M.Dm();
this.nd=q.y-this.M.nu();this.ZI(!0);this.IN=e.intersection(this.Us,this.Jv);this.Us=[]};n.prototype.Pw=function(){this.IN&amp;&amp;(this.Mfa(this.IN,"click"),this.IN=[])};n.prototype.SP=function(){this.nd=this.md=void 0;this.ZI(!0);this.Us=this.Jv.slice()};n.prototype.kwa=function(){this.mya(this.oc.get("selected"))};n.prototype.Sq=function(){this.ZI(!0);this.yg();this.Sa()};n.prototype.ZI=function(q){this.fta=!0;q?this.uK():this.kVa()||this.Y_a()};n.prototype.Y_a=function(){this.hza();var q=this;this.vK=
setTimeout(function(){q.vK=null;q.uK()},200)};n.prototype.kVa=function(){return this.vK?!0:!1};n.prototype.hza=function(){this.vK&amp;&amp;(clearTimeout(this.vK),this.vK=null)};n.prototype.uK=function(){if(this.fta){this.fta=!1;var q=this.Jv,p=this.vSa();this.Jv=p;this.M.Go||(this.Mfa(e.difference(p,q),"rollOver"),this.lya(0&lt;p.length),this.Mfa(e.difference(q,p),"rollOut"),this.VR())}};n.prototype.VR=function(){for(var q="",p=0;p&lt;this.Jv.length&amp;&amp;!q;p++){var r=this.Jv[p];r.get("toolTip")&amp;&amp;(q=r.get("toolTip"))}this.$b!=
q&amp;&amp;(this.$b&amp;&amp;this.j.b9a(this.$b),(this.$b=q)&amp;&amp;this.j.h9a(this.$b))};n.prototype.ega=function(){var q=this.vn&amp;&amp;(!1!==this.Hga||e(this.Jv).any(function(p){return!0===p.get("useHandCursor")}));this.sw!=q&amp;&amp;((this.sw=q)?this.j.I4(b.Le):this.j.cM(b.Le))};n.prototype.vSa=function(){if(!1===this.oc.get("enabled"))return[];var q=[],p=this.yw?this.TY:this.vn?this.SY:this.QY;p&amp;&amp;(p=p.yDa(this.md,this.nd))&amp;&amp;(this.Zh.any&amp;&amp;(q=q.concat(this.Zh.any)),"transparent"==p&amp;&amp;this.Zh.transparent&amp;&amp;(q=q.concat(this.Zh.transparent)),
"transparent"!=p&amp;&amp;(q=this.Zh[p]?q.concat(this.Zh[p]):q.concat(this.Zh[h.T9a(p,this.Mta)]||[]),this.Zh.image&amp;&amp;(q=q.concat(this.Zh.image))));if(p=this.yw?this.gY:this.vn?this.fY:this.eY)if(p=p.yDa(this.md,this.nd))this.Zh.any&amp;&amp;(q=q.concat(this.Zh.any)),"transparent"==p&amp;&amp;this.Zh.transparent&amp;&amp;(q=q.concat(this.Zh.transparent)),"transparent"!=p&amp;&amp;this.Zh.image&amp;&amp;(q=q.concat(this.Zh.image));p=[];for(var r=0;r&lt;q.length;r++){var t=q[r];0&gt;p.indexOf(t)&amp;&amp;p.push(t)}return p};n.prototype.Mfa=function(q,p){if(q)for(var r=
0;r&lt;q.length;r++)q[r].trigger(new k(p))};n.prototype.DL=function(){return this.vn};n.prototype.lya=function(q){this.vn!=q&amp;&amp;(this.vn=q,this.trigger(new k(n.x6)),this.yg(),this.ega(),this.Sa())};n.prototype.mya=function(q){this.yw!=q&amp;&amp;(this.yw=q,this.yg(),this.Sa())};n.prototype.yg=function(){!this.vn&amp;&amp;1==this.oc.get("rollOverDisplay")||!1===this.oc.get("enabled")?this.dR("none"):this.yw?this.dR("selected"):this.vn?this.dR("roll over"):this.dR("visible")};n.prototype.dR=function(q){if(this.nK!=q){this.nK=
q;var p;if(e(["selected"]).contains(this.nK)&amp;&amp;this.nr){var r=1;q=p=0}else e(["selected","roll over"]).contains(this.nK)&amp;&amp;this.mr?(p=1,q=r=0):e(["selected","roll over","visible"]).contains(this.nK)?(q=1,r=p=0):q=r=p=0;var t=this.yY,u=this.W_,v=this.h0,w=Math.max(200*Math.abs(q-t),200*Math.abs(p-u),200*Math.abs(r-v));this.fa=new d("none"==this.nK?"quad_out":"quad_in",[new f("itemAlpha",t,q),new f("rollOverItemAlpha",u,p),new f("selectedItemAlpha",v,r)],w)}};n.prototype.Sa=function(){this.trigger(new k(n.Ob))};
n.Ob="request frame";n.x6="is over update";return n});define("nB",["require","lS","kw"],function(a){var e=a("lS"),l=a("kw");a=e.extend(l,function(m,k,c,h,g,b,d){l.call(this,l.Zna,m,k);this.JUa=c;this.KUa=h;this.sXa=g;this.tXa=b;this.Rc=d;this.YR=[]});a.prototype.by=function(){return this.Rc};return a});
define("fX","require lS py cI gE cU nB".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("cU"),h=a("nB"),g=e.extend(k,function(b,d,f){k.call(this);this.j=b;this.M=this.j.getParent();this.M.bind(l.hb,this.Lo,this,!0);this.M.bind(l.Pb,this.Mf,this,!0);this.M.bind(l.Zp,this.SP,this,!0);this.Ua=d;this.Qe=this.Ua.get("width");this.Pe=this.Ua.get("height");this.YXa=Math.sqrt(this.Qe*this.Qe+this.Pe*this.Pe)*this.Ua.get("fieldOfViewOverlayRadiusScale",1);this.pe=this.Ua.nk();this.fd=
f;this.EJ=this.fd.get("x",0);this.FJ=this.fd.get("y",0);this.f_=this.fd.get("angle",0);this.Aa=this.JQa();this.kt=!1;this.Ka=0;this.Wa=.5*Math.PI;this.ce=!1;this.nd=this.md=void 0;this.j.O1(this.Ua.nk(),this.Aa)});g.prototype.LIa=function(b,d){this.Ka=b+this.f_-90;this.Wa=d;this.Sa()};g.prototype.clear=function(){this.M.unbind(l.hb,this.Lo,this);this.M.unbind(l.Pb,this.Mf,this);this.M.unbind(l.Zp,this.SP,this);this.M=null;this.j.q9a(this.Ua.nk(),this.Aa);this.Aa=this.fd=this.pe=this.Ua=this.j=null};
g.prototype.Nd=function(){this.j.N$a(this.Aa,this.Ka,this.Wa)};g.prototype.JQa=function(){return new h(this.EJ,this.FJ,this.Ua.get("fieldOfViewOverlayInsideColor","#FFFFFF"),this.Ua.get("fieldOfViewOverlayInsideOpacity",0),this.Ua.get("fieldOfViewOverlayOutsideColor","#000000"),this.Ua.get("fieldOfViewOverlayOutsideOpacity",0),this.Ua.get("fieldOfViewOverlayRadiusScale",1))};g.prototype.Sa=function(){this.trigger(new m(g.Ob))};g.prototype.iga=function(){var b=!1;if(void 0!=this.md&amp;&amp;void 0!=this.nd){var d=
.5*this.j.Za(),f=.5*this.j.Cb(),n=this.j.X2(this.pe)*Math.PI/180,q=this.j.bT(this.pe),p=this.j.aT(this.pe),r=this.j.cT(this.pe),t=this.j.dT(this.pe);b=new c(this.md,this.nd);b.translate(-d,-f);b.rotate(-n);b.scale(1/q,1/p);b.translate(r,t);b.scale(this.Qe,this.Pe);b.translate(-this.EJ,-this.FJ);b.rotate(-this.Ka*Math.PI/180);d=Math.round(180*Math.atan2(b.y,b.x)/Math.PI);b=Math.round(Math.sqrt(b.x*b.x+b.y*b.y))&lt;=this.YXa&amp;&amp;Math.abs(d)&lt;.5*this.Wa}this.kt!=b&amp;&amp;(this.kt=b,this.trigger(new m(g.h7,{inFOV:this.kt})))};
g.prototype.b7a=function(){return this.kt};g.prototype.Lo=function(b){this.md=b.x;this.nd=b.y;this.ce=!0;this.iga()};g.prototype.Mf=function(b){this.ce||(this.md=b.x,this.nd=b.y,this.iga())};g.prototype.SP=function(){this.nd=this.md=void 0;this.ce=!1;this.iga()};g.Ob="request frame";g.h7="mouse in fov change";return g});
define("pk","require es lS cI gE iN lz fX".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("cI"),k=a("gE"),c=a("iN"),h=a("lz"),g=a("fX"),b=l.extend(k,function(d){k.call(this);this.j=d;this.jP=[];this.vw=[];this.rn=[];this.Gn=this.fd=null});b.prototype.clear=function(){for(var d=0;d&lt;this.vw.length;d++)this.vw[d].clear();for(d=0;d&lt;this.rn.length;d++)this.rn[d].clear();this.j=this.jP=this.fd=this.rn=this.vw=null};b.prototype.KS=function(d){d.AT()&amp;&amp;this.ONa(d.Ua)};b.prototype.Sia=function(d){d.AT()&amp;&amp;
this.qYa(d.Ua)};b.prototype.Fy=function(d){this.fd!=d&amp;&amp;(this.fd&amp;&amp;this.hea(this.fd.get("map")),this.fd=d,this.Gn=null,this.fd&amp;&amp;(d=this.fd.get("map"),this.uba(d)&amp;&amp;this.Voa(d)))};b.prototype.Gp=function(d,f,n,q){this.Gn={yaw:f,pitch:n,hfov:q};for(n=0;n&lt;this.rn.length;n++){var p=this.rn[n];if(p.fd==d){p.LIa(f,q);break}}};b.prototype.ONa=function(d){this.uba(d)&amp;&amp;(this.vxa(d),this.hea(d));this.jP.push(d);this.GNa(d);this.Voa(d)};b.prototype.qYa=function(d){var f=this.jP.indexOf(d);0&lt;=f&amp;&amp;this.jP.splice(f,
1);this.uba(d)||(this.vxa(d),this.hea(d))};b.prototype.uba=function(d){return 0&lt;=e(this.jP).indexOf(d)};b.prototype.Nd=function(d){for(var f=0;f&lt;this.vw.length;f++)this.vw[f].Nd(d);for(f=0;f&lt;this.rn.length;f++)this.rn[f].Nd(d)};b.prototype.GNa=function(d){for(var f=d.get("overlays",[]),n=0;n&lt;f.length;n++){var q=f[n];q instanceof c&amp;&amp;(q=new h(this.j,d,q),q.bind(h.Ob,this.Sa,this,!0),q.bind(h.x6,this.rta,this,!0),this.vw.push(q))}};b.prototype.Voa=function(d){this.fd&amp;&amp;this.fd.get("map")==d&amp;&amp;!1!==this.fd.get("visible")&amp;&amp;
(d=new g(this.j,d,this.fd),d.bind(g.Ob,this.Sa,this,!0),d.bind(g.h7,this.uZ,this,!0),this.rn.push(d),this.Gn&amp;&amp;d.LIa(this.Gn.yaw,this.Gn.hfov));this.uZ()};b.prototype.vxa=function(d){d=d.get("overlays",[]);for(var f=0;f&lt;d.length;f++)for(var n=d[f],q=0;q&lt;this.vw.length;q++){var p=this.vw[q];if(p.match(n)){p.unbind(h.Ob,this.Sa,this);p.unbind(h.x6,this.rta,this);p.clear();this.vw.splice(q,1);break}}};b.prototype.hea=function(d){for(var f=0;f&lt;this.rn.length;f++){var n=this.rn[f];if(n.Ua==d){n.unbind(g.Ob,
this.Sa,this);n.unbind(g.h7,this.uZ,this);n.clear();this.rn.splice(f,1);break}}this.uZ()};b.prototype.rta=function(){};b.prototype.Sa=function(){this.trigger(new m(b.Ob))};b.prototype.uZ=function(){for(var d=!1,f=0;f&lt;this.rn.length;f++)this.rn[f].b7a()&amp;&amp;(d=!0);this.trigger(new m(b.w6,{inFOV:d}))};b.Ob="request frame";b.w6="in fov change";return b});
define("la","require lS py cI gE kA cU".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("kA"),h=a("cU"),g=e.extend(k,function(b){k.call(this);this.j=b;this.M=this.j.getParent();this.M.bind(l.Pb,this.Mf,this,!0);this.M.bind(l.hb,this.Lo,this,!0);this.M.bind(l.Eb,this.Qw,this,!0);this.Ua=null;this.pe=this.Pe=this.Qe=void 0;this.fd=null;this.f_=this.FJ=this.EJ=void 0;this.kt=!1;this.nd=this.md=this.Cn=void 0;this.ce=!1;this.Ka=0});g.prototype.clear=function(){this.M.unbind(l.Pb,
this.Mf,this);this.M.unbind(l.hb,this.Lo,this);this.M.unbind(l.Eb,this.Qw,this);this.j=this.fd=this.pe=this.Ua=this.M=null};g.prototype.zU=function(b){this.kt=b;this.aga()};g.prototype.KS=function(b){b.AT()&amp;&amp;this.pya(b.Ua)};g.prototype.Sia=function(b){b.AT()&amp;&amp;this.Ua==b.Ua&amp;&amp;this.pya(null)};g.prototype.pya=function(b){this.Ua!=b&amp;&amp;((this.Ua=b)?(this.Qe=this.Ua.get("width"),this.Pe=this.Ua.get("height"),this.pe=this.Ua.nk()):(this.Pe=this.Qe=void 0,this.pe=null))};g.prototype.Fy=function(b){this.fd!=
b&amp;&amp;((this.fd=b)?(this.EJ=this.fd.get("x",0),this.FJ=this.fd.get("y",0),this.f_=this.fd.get("angle",0)):this.f_=this.FJ=this.EJ=void 0)};g.prototype.Gp=function(b,d){this.fd==b&amp;&amp;(this.Ka=d)};g.prototype.rs=function(b){this.Cn=b};g.prototype.Lo=function(b){this.md=b.x;this.nd=b.y;this.ce=!0;this.aga()};g.prototype.Mf=function(b){this.md=b.x;this.nd=b.y;this.Ei&amp;&amp;(b=this.usa(),this.trigger(new m(g.xi,{yawDelta:b-this.qd})),this.qd=b)};g.prototype.Qw=function(b){this.md=b.x;this.nd=b.y;this.ce=!1;this.aga()};
g.prototype.aga=function(){var b=this.ce&amp;&amp;this.fd&amp;&amp;this.Ua&amp;&amp;(this.Cn==c.y7||this.kt);this.Ei!=b&amp;&amp;(this.Ei=b)&amp;&amp;(this.qd=this.usa())};g.prototype.usa=function(){var b=.5*this.j.Za(),d=.5*this.j.Cb(),f=new h(this.md,this.nd);f.translate(-b,-d);if(this.Cn==c.y7)return 180*-Math.atan2(f.y,f.x)/Math.PI;b=this.j.X2(this.pe)*Math.PI/180;d=this.j.bT(this.pe);var n=this.j.aT(this.pe),q=this.j.cT(this.pe),p=this.j.dT(this.pe);f.rotate(-b);f.scale(1/d,1/n);f.translate(q,p);f.scale(this.Qe,this.Pe);f.translate(-this.EJ,
-this.FJ);return 180*Math.atan2(f.y,f.x)/Math.PI};g.xi="request yaw change";return g});
define("nu",["require","lS","cI","gE","bn"],function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("bn"),c=e.extend(m,function(h){m.call(this);this.W=!0;this.ND=!1;this.j=h});c.prototype.clear=function(){this.W=!1;this.j=null};c.prototype.requestFrame=function(){this.ND||(this.ND=!0,k.requestFrame(this.ck,this))};c.prototype.ck=function(h){this.W&amp;&amp;(this.ND=!1,this.trigger(new l(c.Rp,{frameTime:h})),this.trigger(new l(c.Sp,{frameTime:h})),this.j.render())};c.Rp="frameStart";c.Sp="positionSet";return c});
define("dI","require lS py cI gE oG kn jv pk la nu".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("oG"),h=a("kn"),g=a("jv"),b=a("pk"),d=a("la"),f=a("nu"),n=e.extend(k,function(q,p){k.call(this);this.M=q;this.j=p;this.j.set("visible",!1);this.l_=null;this.vg=new f(this.j);this.oe=new g(this.j);this.Oa=new h(this.M,this.j);this.jb=new c(this.j);this.ar=new b(this.j);this.ut=new d(this.j);this.M.bind(l.jd,this.WZ,this,!0);this.vg.bind(f.Rp,this.xA,this,!0);this.vg.bind(f.Sp,
this.yA,this,!0);this.oe.bind(g.CV,this.OP,this);this.oe.bind(g.D6,this.lva,this);this.oe.bind(g.AV,this.mva,this);this.Oa.bind(h.Ob,this.cf,this,!0);this.Oa.bind(h.B6,this.jva,this,!0);this.Oa.bind(h.BV,this.nva,this,!0);this.Oa.bind(h.C6,this.kva,this,!0);this.Oa.bind(h.tC,this.Mw,this,!0);this.Oa.bind(h.uC,this.tA,this,!0);this.Oa.bind(h.n6,this.xua,this,!0);this.jb.bind(c.Ob,this.cf,this,!0);this.jb.bind(c.wk,this.Tq,this);this.ar.bind(b.Ob,this.cf,this,!0);this.ar.bind(b.w6,this.$ua,this,!0);
this.ut.bind(d.xi,this.dQ,this,!0);this.rra=!1});n.prototype.rs=function(q){this.jb.rs(q);this.Oa.rs(q);this.ut.rs(q)};n.prototype.clear=function(){this.rra=!0;this.oe.clear();this.vg.clear();this.jb.clear();this.Oa.clear();this.ar.clear();this.ut.clear();this.M.unbind(l.jd,this.WZ,this);this.oe.unbind(g.CV,this.OP,this);this.oe.unbind(g.D6,this.lva,this);this.oe.unbind(g.AV,this.mva,this);this.vg.unbind(f.Rp,this.xA,this);this.vg.unbind(f.Sp,this.yA,this);this.Oa.unbind(h.Ob,this.cf,this);this.Oa.unbind(h.B6,
this.jva,this);this.Oa.unbind(h.BV,this.nva,this);this.Oa.unbind(h.C6,this.kva,this);this.Oa.unbind(h.tC,this.Mw,this);this.Oa.unbind(h.uC,this.tA,this);this.Oa.unbind(h.n6,this.xua,this);this.jb.unbind(c.DLa,this.cf,this);this.jb.unbind(c.wk,this.Tq,this);this.ar.unbind(b.Ob,this.cf,this);this.ar.unbind(b.w6,this.$ua,this);this.ut.unbind(d.xi,this.dQ,this);this.M=this.j=this.ut=this.ar=this.Oa=this.jb=this.vg=this.oe=null};n.prototype.WZ=function(){this.l_&amp;&amp;(this.DIa(this.l_),this.l_=null)};n.prototype.DIa=
function(q){this.j.set("visible",!0);this.M.hA?this.oe.lFa(q):(this.oe.stop(),this.jb.stop(),this.Oa.hide(),this.l_=q)};n.prototype.Ay=function(){this.oe.stop();this.jb.stop();this.Oa.hide()};n.prototype.rk=function(q){this.jb.rk(q)};n.prototype.Fy=function(q){this.rra||(this.jb.Fy(q),this.ar.Fy(q),this.ut.Fy(q))};n.prototype.Gp=function(q,p,r,t){this.jb.Gp(q,p,r,t);this.ar.Gp(q,p,r,t);this.ut.Gp(q,p,r,t)};n.prototype.mva=function(q){var p=q.data.level;q=(q.data.percent+100*p.getIndex())/p.iDa();
this.trigger(new m(n.dv,{percent:q}))};n.prototype.lva=function(q){this.j.set("visible",!0);q=q.data.level;this.jb.stop();this.Oa.KS(q)};n.prototype.OP=function(){this.trigger(new m(n.sC))};n.prototype.cf=function(){this.vg.requestFrame()};n.prototype.xA=function(q){this.jb.wy(q.data.frameTime)};n.prototype.yA=function(q){q=q.data.frameTime;this.Oa.Nd(q);this.jb.Nd(q);this.ar.Nd(q)};n.prototype.jva=function(q){q=q.data.level;this.ar.KS(q);this.ut.KS(q)};n.prototype.nva=function(q){q=q.data.level;
this.ar.Sia(q);this.ut.Sia(q)};n.prototype.kva=function(q){q=q.data.level;q.AT()&amp;&amp;this.jb.start(q)};n.prototype.xua=function(){this.j.set("visible",!1)};n.prototype.$ua=function(q){q=q.data.inFOV;this.jb.zU(q);this.ut.zU(q)};n.prototype.tA=function(q){this.trigger(new m(n.uC,{map:q.data.map}))};n.prototype.Mw=function(q){this.trigger(new m(n.tC,{map:q.data.map}))};n.prototype.Tq=function(q){this.trigger(new m(n.wk,q.data))};n.prototype.dQ=function(q){this.trigger(new m(n.xi,{yawDelta:q.data.yawDelta}))};
n.wk="movementChange";n.sC="loadingEnd";n.dv="loadingProgress";n.uC="mapShow";n.tC="mapHide";n.xi="requestYawChange";return n});define("ln",["require","ix"],function(a){function e(){this.status=e.LV;this.progress=this.Hj=0;this.qka=[]}a("ix");e.LOADING="loading";e.ea="loaded";e.LV="not loaded";return e});
define("lP","require es lS cI py hi ln".split(" "),function(a){function e(){this.tra={};this.Bh=[];this.pA=[];this.Bd={}}var l=a("es"),m=a("lS");a("cI");var k=a("py"),c=a("hi"),h=a("ln");e.prototype.A5=function(g){g=g.vu();for(var b=0,d=g.length;b&lt;d;b++)if(this.rO(g[b]).status!=h.ea)return!1;return!0};e.prototype.Yn=function(g,b){this.Bh.push(g);this.JNa(g,b)};e.prototype.Ij=function(g,b){var d=l(this.Bh).indexOf(g);0&gt;d&amp;&amp;m.log("Unloading item not loaded");this.Bh.splice(d,1);this.nYa(g,b)};e.prototype.Cf=
function(g,b){return this.Bd[g].Cf(b)};e.prototype.JNa=function(g,b){this.pA.push(g);g=g.vu();for(var d=0,f=g.length;d&lt;f;d++){var n=g[d],q=this.rO(n);q.Hj++;q.qka.push(b);q.status==h.LV&amp;&amp;(q.status=h.LOADING,this.BVa(n,Math.min.apply(Math,q.qka)))}this.lAa()};e.prototype.nYa=function(g,b){this.pA=l(this.pA).without(g);g=g.vu();for(var d=0,f=g.length;d&lt;f;d++){var n=g[d],q=this.rO(n);q.Hj--;var p=q.qka,r=p.indexOf(b);0&lt;=r&amp;&amp;p.splice(r,1);0==q.Hj&amp;&amp;q.status!=h.LV&amp;&amp;(q.status=h.LV,q.progress=0,this.i1a(n))}};
e.prototype.lAa=function(g){g=(void 0==g?this.pA:this.ssa(g)).slice();for(var b=0;b&lt;g.length;b++){for(var d=g[b],f=d.vu(),n=0,q=0,p=f.length,r=0;r&lt;f.length;r++){var t=this.rO(f[r]);n+=t.progress;t.status==h.ea&amp;&amp;q++}d.X$a(n/p);q==p&amp;&amp;(d.EU(),this.pA=l(this.pA).without(d))}};e.prototype.rO=function(g){var b=this.tra[g];b||(this.tra[g]=b=new h);return b};e.prototype.ssa=function(g){for(var b=[],d=0;d&lt;this.pA.length;d++){var f=this.pA[d];l(f.vu()).contains(g)&amp;&amp;b.push(f)}return b};e.prototype.BVa=function(g,
b){b=new c(b);this.Bd[g]=b;b.bind(k.ea,this.PP,this,!0);b.bind(k.xc,this.QP,this,!0);b.load(g)};e.prototype.i1a=function(g){var b=this.Bd[g];delete this.Bd[g];b.unbind(k.ea,this.PP,this);b.unbind(k.xc,this.QP,this);b.cancel()};e.prototype.PP=function(g){g=g.source.Zi();var b=this.rO(g);b.progress=100;b.status=h.ea;this.lAa(g)};e.prototype.QP=function(g){g=g.source.Zi();for(var b=this.ssa(g),d=0;d&lt;b.length;d++){var f=b[d];this.Ij(f);f.s$a()}m.log("Error loading: "+g)};return e.instance=new e});
define("hY",["require","jquery.mod","w"],function(a){function e(m,k){this.Aa=m;this.ta=k;this.eP=0;this.Gt=this.Ft=.5;this.Zk=0;this.Mb=1;this.sr=this.Cw=this.wa=this.sa=0;this.Rc=1;this.rY=this.tY=!0;this.xa=l("&lt;canvas/&gt;");this.T=this.xa.get(0);this.Da=this.T.getContext("2d")}var l=a("jquery.mod");a=a("w");e.prototype.getItem=function(){return this.Aa};e.prototype.QS=function(m){return this.Aa==m?this:null};e.prototype.F2=function(m){return this.Aa==m?[this]:[]};e.prototype.Jh=function(){this.ta&amp;&amp;
this.ta.zha(this)};e.prototype.ff=function(m){this.SZa(m)};e.prototype.nya=function(m){this.eP!=m&amp;&amp;(this.eP=m,this.ta&amp;&amp;this.ta.t3())};e.prototype.SZa=function(m){this.Mb!=m&amp;&amp;(this.Mb=m,this.s3())};e.prototype.p0=function(m){this.Zk!=m&amp;&amp;(this.Zk=m,this.s3())};e.prototype.cR=function(m,k){if(this.sa!=m||this.wa!=k)this.sa=m,this.wa=k,this.p3()};e.prototype.pm=function(m,k){if(this.Cw!=m||this.sr!=k)this.Cw=m,this.sr=k,this.s3()};e.prototype.s3=function(){this.ta&amp;&amp;this.ta.q3()};e.prototype.xe=function(){this.tY=
!0};e.prototype.bb=function(){this.tY&amp;&amp;(this.tY=!1,this.ih())};e.prototype.ih=function(){};e.prototype.p3=function(){this.rY=!0;this.s3()};e.prototype.My=function(){if(this.rY){this.rY=!1;if(this.T.width!=this.sa||this.T.height!=this.wa)this.T.width=Math.round(this.sa),this.T.height=Math.round(this.wa);this.Da.clearRect(0,0,this.T.width,this.T.height);this.wg()}};e.prototype.wg=function(){};e.prototype.O4a=function(m){if(0&lt;this.Mb&amp;&amp;1&lt;=this.sa&amp;&amp;1&lt;=this.wa){m.save();var k=Math.round(this.Cw),c=Math.round(this.sr),
h=Math.round(this.sa*this.Ft),g=Math.round(this.wa*this.Gt);m.scale(this.Rc,this.Rc);m.translate(k+h,c+g);m.rotate(this.Zk*Math.PI/180);m.globalAlpha=this.Mb;m.drawImage(this.T,-h,-g);m.restore()}};e.prototype.O2=function(){this.T.width=this.T.height=1;this.tY=this.rY=!0};e.Vma=Math.min(window.devicePixelRatio||1,a.ud()==a.Su?2:Infinity);e.qk=e.Vma;e.YLa=a.ud()==a.yi?16E6:256E6;return e});
define("nt",["require","es","lS","hY"],function(a){var e=a("es"),l=a("lS"),m=a("hY");a=l.extend(m,function(k,c){m.call(this,k,c);this.yc=[];this.M1=null;this.Mx=!0});a.prototype.dBa=function(k){k=this.v9(k);if(!k)throw"Container renderer can't create child renderer for an item";this.yc.push(k);this.t3();this.q3()};a.prototype.v9=function(){};a.prototype.zHa=function(k){if(k=this.ku(k))this.yc=e.without(this.yc,k),this.t3(),this.q3()};a.prototype.QS=function(k){for(var c=m.prototype.QS.call(this,k),
h=0;h&lt;this.yc.length&amp;&amp;!c;h++)c=this.yc[h].QS(k);return c};a.prototype.F2=function(k){for(var c=m.prototype.F2.call(this,k),h=0;h&lt;this.yc.length;h++)c=c.concat(this.yc[h].F2(k));return c};a.prototype.ku=function(k){for(var c=null,h=0;h&lt;this.yc.length&amp;&amp;!c;h++)this.yc[h].getItem()==k&amp;&amp;(c=this.yc[h]);for(h=0;h&lt;this.yc.length&amp;&amp;!c;h++)this.yc[h].getItem().N6a(k)&amp;&amp;(c=this.yc[h]);return c};a.prototype.zha=function(k){this.yc=e.without(this.yc,k);this.yc.push(k);this.t3();this.q3()};a.prototype.t3=function(){this.Mx=
!0;this.xe()};a.prototype.q3=function(){this.p3()};a.prototype.bb=function(){m.prototype.bb.call(this);for(var k=0;k&lt;this.yc.length;k++)this.yc[k].bb()};a.prototype.ih=function(){if(this.Mx){this.Mx=!1;for(var k=[],c=0;c&lt;this.yc.length;c++){var h=this.yc[c];k.push({l:h.eP,z:c,r:h})}k.sort(function(g,b){return g.l==b.l?g.z-b.z:g.l-b.l});this.M1=[];for(c=0;c&lt;k.length;c++)this.M1.push(k[c].r);this.p3()}m.prototype.ih.call(this)};a.prototype.My=function(){for(var k=0;k&lt;this.yc.length;k++)this.yc[k].My();
m.prototype.My.call(this)};a.prototype.wg=function(){for(var k=0;k&lt;this.M1.length;k++)this.M1[k].O4a(this.Da);m.prototype.wg.call(this)};a.prototype.O2=function(){for(var k=0;k&lt;this.yc.length;k++)this.yc[k].O2();m.prototype.O2.call(this)};return a});define("Q",["require","lS","hY"],function(a){var e=a("lS"),l=a("hY");a=e.extend(l,function(m,k){l.call(this,m,k)});a.prototype.V4=function(){};return a});
define("jg",["require","lS","Q","w"],function(a){var e=a("lS"),l=a("Q"),m=a("w");a=e.extend(l,function(k,c){l.call(this,k,c);this.k_=this.ta.getItem().Fe();this.j_=this.ta.getItem().Ue();this.Rc=2;this.BI=0;this.Wa=.5*Math.PI;this.oba=this.pba=!0;this.am=1;this.sY=!0;this.nya(1)});a.prototype.V4=function(k,c){this.am!=c&amp;&amp;(this.am=c,this.sY=!0,this.xe())};a.prototype.rIa=function(k,c){this.Wa!=c&amp;&amp;(this.Wa=c,this.pba=!0,this.xe());this.BI!=k&amp;&amp;(this.BI=k,this.oba=!0,this.xe())};a.prototype.ih=function(){this.pba&amp;&amp;
(this.pba=!1,this.p3());if(this.sY||this.oba){this.oba=this.sY=!1;this.Rc=Math.max(1,Math.ceil(Math.sqrt(this.k_*this.k_+this.j_*this.j_))/(m.ud()==m.yi?1024:4096));var k=this.am/this.Rc,c=this.Aa.getX()*k,h=this.Aa.getY()*k,g=Math.max(c,k*this.k_-c);k=Math.max(h,k*this.j_-h);g=2*Math.ceil(Math.sqrt(g*g+k*k));var b=this.BI*Math.PI/180;k=Math.cos(b);b=Math.sin(b);c=c-this.Ft*g-(.5-this.Ft)*g*k+(.5-this.Gt)*g*b;h=h-this.Gt*g-(.5-this.Gt)*g*k-(.5-this.Ft)*g*b;this.sY=!1;this.pm(c,h);this.cR(g,g);this.p0(this.BI)}l.prototype.ih.call(this)};
a.prototype.wg=function(){var k=this.Aa.KUa,c=this.Aa.tXa;if(0&lt;c||0&lt;k){var h=this.am*this.k_,g=this.am*this.j_;h=Math.ceil(Math.sqrt(h*h+g*g))*this.Aa.by()/this.Rc;g=Math.round(.5*this.sa);var b=Math.round(.5*this.wa),d=this.Wa*Math.PI/180,f=.5*-d;d=f+d;0&lt;c&amp;&amp;(this.Da.fillStyle=this.Aa.sXa,this.Da.globalAlpha=c,this.Da.rect(0,0,this.sa,this.wa),this.Da.fill(),this.Da.globalCompositeOperation="destination-out",this.Da.fillStyle="#FFFFFF",this.Da.globalAlpha=1,this.Da.beginPath(),this.Da.moveTo(g,b),
this.Da.arc(g,b,h,f,d,!1),this.Da.lineTo(g,b),this.Da.closePath(),this.Da.fill(),this.Da.globalCompositeOperation="source-over");0&lt;k&amp;&amp;(this.Da.fillStyle=this.Aa.JUa,this.Da.globalAlpha=k,this.Da.beginPath(),this.Da.moveTo(g,b),this.Da.arc(g,b,h,f,d,!1),this.Da.lineTo(g,b),this.Da.closePath(),this.Da.fill())}l.prototype.wg.call(this)};return a});
define("k","require lS hY Q lP nm".split(" "),function(a){var e=a("lS"),l=a("hY"),m=a("Q"),k=a("lP"),c=a("nm");a=e.extend(m,function(h,g){m.call(this,h,g);this.nya(this.Aa.Pxa?0:2);this.hc=k.Cf(this.Aa.Zi());this.b0=new c(this.hc,this.hc.width,this.hc.height);this.b0.cC(this.Aa.Of);this.b0.sM(this.Aa.xm);this.b0.mM(this.Aa.Vl);this.hP=0;this.am=1;this.cca=!0});a.prototype.V4=function(h,g){if(this.hP!=h||this.am!=g)this.hP=h,this.am=g,this.cca=!0,this.xe()};a.prototype.ih=function(){if(this.cca){this.cca=
!1;var h=this.Aa.getX(),g=this.Aa.getY(),b=this.Aa.Fe(),d=this.Aa.Ue(),f=this.Aa.Iw,n=this.Aa.Jw;if(this.Aa.Pxa)this.p0(0),this.pm((h-f)*this.am,(g-n)*this.am),this.cR(b*this.am,d*this.am);else{b*=l.qk;d*=l.qk;f*=l.qk;n*=l.qk;var q=Math.cos(-this.hP*Math.PI/180),p=Math.sin(-this.hP*Math.PI/180);h=h*this.am-this.Ft*b-(f-this.Ft*b)*q+(n-this.Gt*d)*p;g=g*this.am-this.Gt*d-(n-this.Gt*d)*q-(f-this.Ft*b)*p;this.p0(-this.hP);this.pm(h,g);this.cR(b,d)}}m.prototype.ih.call(this)};a.prototype.wg=function(){this.b0.bL(this.Da,
this.T.width,this.T.height);m.prototype.wg.call(this)};return a});
define("iK","require lS mK lP dG kw jg k nt".split(" "),function(a){var e=a("lS"),l=a("mK"),m=a("lP"),k=a("dG"),c=a("kw"),h=a("jg"),g=a("k"),b=a("nt");a=e.extend(b,function(d,f){b.call(this,d,f,d.Oo);this.Rb=this.Aa.Fe();this.dc=this.Aa.Ue();this.Of=this.Aa.Of;this.DX=this.Aa.I$;this.Sd=this.Id=100;this.l9=!0;this.Qa=this.Na=.5;this.qd=0;this.ob=1;this.zQ=!0;this.xf=1;this.hc=m.Cf(this.Aa.Zi())});a.prototype.v9=function(d){if(d.getType()!=k.coa)throw"Invalid item type";switch(d.vXa){case c.Zna:d=
new h(d,this);break;case c.$na:d=new g(d,this);break;default:d=null}d&amp;&amp;d.V4(this.qd,this.xf*this.ob);return d};a.prototype.getX=function(){return this.Na};a.prototype.getY=function(){return this.Qa};a.prototype.mL=function(){return this.qd};a.prototype.Vr=function(){return this.ob};a.prototype.Za=function(){return Math.round(this.Rb*this.ob*this.xf)};a.prototype.Cb=function(){return Math.round(this.dc*this.ob*this.xf)};a.prototype.KG=function(d,f){if(this.Id!=d||this.Sd!=f)this.Id=d,this.Sd=f,this.l9=
!0,this.xe()};a.prototype.setPosition=function(d,f,n,q){if(this.Na!=d||this.Qa!=f||this.qd!=n||this.ob!=q)this.Na=d,this.Qa=f,this.qd=n,this.ob=q,this.zQ=!0,this.xe()};a.prototype.ih=function(){if(this.l9){this.l9=!1;switch(this.Of){case l.NONE:this.xf=1;break;case l.Vp:this.xf=this.Id/this.Rb;break;case l.xk:this.xf=this.Sd/this.dc;break;case l.As:this.xf=this.Rb*this.Sd&gt;this.dc*this.Id?this.Sd/this.dc:this.Id/this.Rb;break;default:this.xf=this.Rb*this.Sd&gt;this.dc*this.Id?this.Id/this.Rb:this.Sd/
this.dc}this.zQ=!0}if(this.zQ){this.zQ=!1;var d=this.Za(),f=this.Cb(),n=Math.cos(this.qd*Math.PI/180),q=Math.sin(this.qd*Math.PI/180);this.pm(.5*this.Id-this.Ft*d+(this.Ft-this.Na)*n*d-(this.Gt-this.Qa)*q*f,.5*this.Sd-this.Gt*f+(this.Gt-this.Qa)*n*f+(this.Ft-this.Na)*q*d);this.p0(this.qd);this.cR(d,f);for(d=0;d&lt;this.yc.length;d++)this.yc[d].V4(this.qd,this.xf*this.ob)}b.prototype.ih.call(this)};a.prototype.wg=function(){var d=Math.round(this.sa),f=Math.round(this.wa);this.DX?(this.Da.save(),this.Da.translate(d,
0),this.Da.scale(-1,1),this.Da.drawImage(this.hc,0,0,d,f),this.Da.restore()):this.Da.drawImage(this.hc,0,0,d,f);b.prototype.wg.call(this)};return a});
define("hp","require es lS dG nt iK".split(" "),function(a){a("es");var e=a("lS"),l=a("dG"),m=a("nt"),k=a("iK");a=e.extend(m,function(){m.call(this,null,null);this.X8=!0});a.prototype.gd=function(){return this.xa};a.prototype.render=function(){this.bb();this.My()};a.prototype.Y5a=function(){for(var c=1,h=0;h&lt;this.yc.length;h++){var g=this.yc[h];g=g.Za()*g.Cb();c&lt;g&amp;&amp;(c=g)}return c};a.prototype.v9=function(c){if(c.getType()!=l.boa)throw"Invalid item type";c=new k(c,this);c.KG(this.sa,this.wa);c.setPosition(.5,
.5,0,1);return c};a.prototype.setSize=function(c,h){this.cR(c,h);this.X8=!0;this.xe()};a.prototype.ih=function(){if(this.X8){this.X8=!1;for(var c=0;c&lt;this.yc.length;c++)this.yc[c].KG(this.sa,this.wa)}m.prototype.ih.call(this)};return a});
define("kY","require es lS py ix lP hY hp oS bh e".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("ix"),c=a("lP"),h=a("hY"),g=a("hp"),b=a("oS"),d=a("bh"),f=a("e");a=l.extend(f,function(){f.call(this);this.Re("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",d.kv);this.Qz=[];this.nF=[];this.$b="";this.Ch=new g;this.Yb().append(this.Ch.gd());this.bind(m.tc,this.Ic,this,!0);this.bind(m.jd,this.tj,this,!0);this.bind(m.cd,this.sj,this,!0);b.N.bind(m.ba,this.sga,this,!0);this.XE=
this.nea=!1});a.prototype.Yn=function(n){c.Yn(n,k.Bl)};a.prototype.A5=function(n){return c.A5(n)};a.prototype.Ij=function(n){c.Ij(n,k.Bl)};a.prototype.iha=function(n){this.Ch.dBa(n)};a.prototype.removeItem=function(n){this.Ch.zHa(n)};a.prototype.O1=function(n,q){this.Ch.ku(n).dBa(q);this.pga()};a.prototype.q9a=function(n,q){(n=this.Ch.ku(n))&amp;&amp;n.zHa(q)};a.prototype.Aha=function(n){this.Ch.QS(n).Jh()};a.prototype.qs=function(n,q){this.Ch.F2(n).forEach(function(p){p.ff(q)})};a.prototype.BU=function(n,
q,p,r,t){this.Ch.ku(n).setPosition(q,p,r,t);this.pga()};a.prototype.pga=function(){var n=this.Ch.Y5a();n&amp;&amp;(h.qk=Math.min(h.Vma,h.qk*Math.sqrt(h.YLa/n)),this.mAa())};a.prototype.N$a=function(n,q,p){this.Ch.QS(n).rIa(q,p)};a.prototype.cT=function(n){return this.Ch.ku(n).getX()};a.prototype.dT=function(n){return this.Ch.ku(n).getY()};a.prototype.X2=function(n){return this.Ch.ku(n).mL()};a.prototype.vDa=function(n){return this.Ch.ku(n).Vr()};a.prototype.bT=function(n){return this.Ch.ku(n).Za()/h.qk};
a.prototype.aT=function(n){return this.Ch.ku(n).Cb()/h.qk};a.prototype.render=function(){this.XE&amp;&amp;this.Ch.render()};a.prototype.I4=function(n){this.Qz.push(n);this.bAa()};a.prototype.cM=function(n){n=e(this.Qz).lastIndexOf(n);0&lt;=n&amp;&amp;this.Qz.splice(n,1);this.bAa()};a.prototype.bAa=function(){var n=0&lt;this.Qz.length?this.Qz[this.Qz.length-1]:d.Ke;this.getParent().set("cursor",n)};a.prototype.WW=function(){0&lt;this.Qz.length&amp;&amp;(this.getParent().set("cursor",d.Ke),this.Qz=[])};a.prototype.h9a=function(n){this.nF.push(n);
this.VR()};a.prototype.b9a=function(n){n=e(this.nF).lastIndexOf(n);0&lt;=n&amp;&amp;this.nF.splice(n,1);this.VR()};a.prototype.VR=function(){var n=0==this.nF.length?"":this.nF[this.nF.length-1]||"";this.$b!=n&amp;&amp;(this.$b=n,this.getParent().set("toolTip",this.$b))};a.prototype.OPa=function(){this.$b&amp;&amp;this.getParent().set("toolTip","");this.$b="";this.nF=[]};a.prototype.Ln=function(){this.OPa();this.WW();f.prototype.Ln.call(this)};a.prototype.Ic=function(){this.mAa();this.pga()};a.prototype.mAa=function(){this.Ch.gd().css({transform:1!=
h.qk?"scale("+(1/h.qk).toFixed(3)+")":"none","transform-origin":"0% 0%"});this.Ch.setSize(this.Za()*h.qk,this.Cb()*h.qk);this.render()};a.prototype.tj=function(){this.nea=!0;this.sga()};a.prototype.sj=function(){this.nea=!1;this.sga()};a.prototype.sga=function(){var n=this.nea&amp;&amp;!b.isPresenting;this.XE!=n&amp;&amp;((this.XE=n)?(this.Ic(),this.render()):this.Ch.O2())};return a});
define("R","require lS cI ol kk dn dI kj kY py ep hg".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("ol"),k=a("kk"),c=a("dn"),h=a("dI"),g=a("kj"),b=a("kY"),d=a("py"),f=a("ep"),n=a("hg"),q=m.define("MapPlayer",c,function(){c.call(this,"map");this.hZ=this.bca=this.ri=!1;this.Gn=this.fd=this.O=this.j=null;this.Bz={};for(var p in q.Dv)this.Bz[p]=this.oQa(p);this.Jd=e.Ap(this.ih,this)});q.prototype.stop=function(){this.Zc(g.Wf)};q.prototype.rotateClockwise=function(){this.Zc(g.s7)};q.prototype.rotateCounterClockwise=
function(){this.Zc(g.t7)};q.prototype.zoomIn=function(){this.Zc(g.Bv)};q.prototype.zoomOut=function(){this.Zc(g.Cv)};q.prototype.set=function(p,r){if(this.get(p)!=r){switch(p){case "map":this.bca=!0;this.Jd();break;case "viewerArea":this.ri=!0;this.Jd();break;case "panoramaMapLocation":this.pda=!0;this.Jd();break;case "movementMode":this.hZ=!0,this.Jd()}c.prototype.set.call(this,p,r)}};q.prototype.oQa=function(p){var r=q.Dv[p];p=new k(this,p,f.Me);p.bind(d.hb,function(){this.Zc(r.movement)},this);
r.stopOnRelease&amp;&amp;p.bind(d.Eb,function(){this.Zc(g.Wf)},this);return p};q.prototype.j3a=function(p){this.Gn=null;this.set("map",p.get("map"));this.set("panoramaMapLocation",p)};q.prototype.z9a=function(p){this.get("panoramaMapLocation")==p&amp;&amp;(this.set("panoramaMapLocation",null),this.Gn=null)};q.prototype.Gp=function(p,r,t,u){this.O&amp;&amp;this.O.Gp(p,r,t,u);this.Gn={yaw:r,pitch:t,hfov:u}};q.prototype.ih=function(){this.ri&amp;&amp;(this.ri=!1,this.aw(),this.get("viewerArea")&amp;&amp;this.Zv(),this.eR(this.get("viewerArea")));
if(this.O){if(this.bca){this.bca=!1;var p=this.get("map");p?(this.EG(),this.O.DIa(p)):this.O.Ay();this.pda=this.hZ=!0}this.pda&amp;&amp;(this.pda=!1,p=this.get("panoramaMapLocation"),this.O.Fy(p),p&amp;&amp;this.Gn&amp;&amp;this.O.Gp(p,this.Gn.yaw,this.Gn.pitch,this.Gn.hfov));this.hZ&amp;&amp;(this.hZ=!1,this.O.rs(this.get("movementMode")))}};q.prototype.oK=function(){this.set("map",null)};q.prototype.Zv=function(){var p=this.get("viewerArea");this.j=new b;this.j.ra({left:0,top:0,bottom:0,right:0});p.Ya(this.j);this.O=new h(p,this.j);
this.O.bind(h.wk,this.Tq,this);this.O.bind(h.dv,this.Ki,this);this.O.bind(h.sC,this.vJ,this);this.O.bind(h.uC,this.tA,this);this.O.bind(h.tC,this.Mw,this);this.O.bind(h.xi,this.dQ,this,!0)};q.prototype.aw=function(){this.j&amp;&amp;(this.O.unbind(h.wk,this.Tq,this),this.O.unbind(h.dv,this.Ki,this),this.O.unbind(h.sC,this.vJ,this),this.O.unbind(h.uC,this.tA,this),this.O.unbind(h.tC,this.Mw,this),this.O.unbind(h.xi,this.dQ,this),this.O.clear(),this.j.getParent().removeChild(this.j),this.j=null)};q.prototype.tA=
function(p){this.oP(p.data.map)};q.prototype.Mw=function(p){this.nP(p.data.map)};q.prototype.Tq=function(p){for(var r in q.Dv)this.Bz[r].set("state",p.data[q.Dv[r].pressedOn]?n.Ab:n.Ke);this.trigger(new l(d.ena,p.data))};q.prototype.dQ=function(p){this.trigger(new l(q.xi,{yawDelta:p.data.yawDelta}))};q.prototype.Ki=function(p){this.j.getParent().ra({progressPercent:p.data.percent,progressVisible:!0})};q.prototype.vJ=function(){this.j.getParent().set("progressVisible",!1)};q.prototype.Zc=function(p){this.O&amp;&amp;
this.O.rk(p)};q.Dv={buttonRotateClockwise:{movement:g.s7,pressedOn:"rotatingClockwise",stopOnRelease:!0},buttonRotateCounterClockwise:{movement:g.t7,pressedOn:"rotatingCounterClockwise",stopOnRelease:!0},buttonZoomIn:{movement:g.Bv,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:g.Cv,pressedOn:"zoomingOut",stopOnRelease:!0}};q.xi="requestYawChange";return q});
define("iL",["require","mw","py","cI","ol"],function(a){var e=a("mw"),l=a("py"),m=a("cI");a=a("ol").define("PlayListItem",e,function(){e.call(this);this.C="stopped"});a.prototype.get=function(k,c){return"state"==k?this.C:e.prototype.get.call(this,k,c)};a.prototype.start=function(){this.Zbb()};a.prototype.Zbb=function(){if("stopped"==this.C||"stopping"==this.C)this.C="starting",this.trigger(new m(l.lo))};a.prototype.jB=function(){this.kKa()};a.prototype.kKa=function(){if("starting"==this.C||"stopping"==
this.C)this.C="playing",this.trigger(new m(l.Mp))};a.prototype.stop=function(){this.BM()};a.prototype.BM=function(){if("playing"==this.C||"starting"==this.C)this.C="stopping",this.trigger(new m(l.Wf))};a.prototype.end=function(){this.lKa()};a.prototype.lKa=function(){if("stopping"==this.C||"starting"==this.C)this.C="stopped",this.trigger(new m(l.Gb))};return a});
define("qg",["require","ol","dn","iL"],function(a){var e=a("ol"),l=a("dn"),m=a("iL");a=e.define("MapPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&amp;&amp;(k.bind(l.sh,this.tA,this),k.set("map",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&amp;&amp;k.get("map")==this.get("media")&amp;&amp;k.set("map",null);m.prototype.stop.call(this)};a.prototype.tA=function(){this.get("player").unbind(l.sh,this.tA,this);this.get("player").bind(l.Vm,
this.Mw,this);this.jB();this.get("player").get("map")!=this.get("media")&amp;&amp;this.Mw()};a.prototype.Mw=function(){this.get("player").unbind(l.Vm,this.Mw,this);this.stop();this.end()};return a});
define("gu",["require","py","ol","kr"],function(a){var e=a("py"),l=a("ol"),m=a("kr"),k=l.define("MeasureModel3DObject",m,function(){m.call(this);this.bind(e.G("mode"),function(){this.trigger(k.xLa)},this,!0);this.bind(e.G("distance"),function(){this.trigger(k.tLa)},this,!0)});k.xLa="modeChange";k.tLa="distanceChange";return k});define("dv",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("MeasureModel3DObjectPoint",e,function(){e.call(this)})});
define("eq",["require","ol","gr"],function(a){var e=a("ol"),l=a("gr");return e.define("OrbitModel3DCamera",l,function(){l.call(this)})});
define("pV",["require","exports","py","gE"],function(a,e,l,m){var k=function(){return function(c){this.cCa=c;this.Tg=0;this.finished=!1}}();return function(c){function h(g){var b=c.call(this)||this;b.wn=new Map;b.EI=g||b;return b}Z(h,c);h.prototype.t$a=function(g){if(this.EI=g)this.zj(),this.i1()};h.prototype.update=function(){this.zj();this.i1()};h.prototype.WBa=function(){this.wn.forEach(function(g,b){this.M_(b)}.bind(this));this.wn=new Map};h.prototype.Lh=function(){var g=0;this.wn.forEach(function(b){b.finished&amp;&amp;
g++});return g==this.wn.size};h.prototype.dispose=function(){this.WBa();this.wn.clear();this.EI=void 0};h.prototype.NK=function(g,b){void 0===b&amp;&amp;(b=1);if(this.wn.has(g))return g;this.wn.set(g,new k(b));this.LNa(g);return g};h.prototype.fM=function(g){this.wn.has(g)&amp;&amp;(this.wn["delete"](g),this.M_(g))};h.prototype.ju=function(g){void 0===g&amp;&amp;(g=1);var b=new m;return this.NK(b,g)};h.prototype.Cd=function(g){g=g.source;var b=this.wn.get(g);b&amp;&amp;(this.M_(g),b.Tg=100,b.finished=!0,this.zj(),this.i1())};h.prototype.Ki=
function(g){this.wn.get(g.source).Tg=g.data.percent;this.zj()};h.prototype.bg=function(g){g=g.source;this.M_(g);g=this.wn.get(g);g.finished=!0;g.Tg=100;this.EI.trigger(l.xc);this.zj();this.i1()};h.prototype.zj=function(){var g=0,b=0;this.wn.forEach(function(d){b+=d.cCa;g+=d.Tg*d.cCa});this.EI.trigger(l.kc,{percent:b?g/b:100})};h.prototype.i1=function(){this.Lh()&amp;&amp;this.EI.trigger(l.ea)};h.prototype.LNa=function(g){g.bind(l.ea,this.Cd,this,!0);g.bind(l.kc,this.Ki,this,!0);g.bind(l.xc,this.bg,this,!0)};
h.prototype.M_=function(g){g.unbind(l.ea,this.Cd,this);g.unbind(l.kc,this.Ki,this);g.unbind(l.xc,this.bg,this)};return h}(m)});
define("cc","require py lu ol ez eq pV".split(" "),function(a){function e(r,t){Array.isArray(t)?r.fromArray(t):r.copy(t);return r}function l(r,t){Array.isArray(t)?r.fromArray(t):r.copy(t);return r}function m(r,t){if(Array.isArray(t))return r.toArray(t);t.x=r.x;t.y=r.y;t.z=r.z;return t}var k=a("py"),c=a("lu"),h=a("ol"),g=a("ez"),b=a("eq"),d=a("pV");a=h.define("Model3D",g,function(){g.call(this);this.set("camera",new b);this.set("geometryQuery",void 0);this.set("objectQuery",void 0);this.set("preload",
!0)});a.prototype.Dka=function(){this.Ri&amp;&amp;(this.Ri.unbind(k.ea,this.zJ,this),this.Ri.dispose());this.Ri=new d;this.Ri.bind(k.ea,this.zJ,this,!0);this.Oe&amp;&amp;this.Oe.dispose();this.Oe=new d(this)};a.prototype.zJ=function(){this.trigger(k.PC)};a.prototype.Y2=function(){this.Oe||this.Dka();return this.Oe};a.prototype.b3=function(){this.Ri||this.Dka();return this.Ri};a.prototype.pause=function(){this.get("state")==c.PLAYING&amp;&amp;this.set("state",c.Qb)};a.prototype.play=function(){this.set("state",c.PLAYING)};
a.prototype.stop=function(){this.set("state",c.V)};a.prototype.worldPositionToLocal=function(r,t){l(f,r);e(q,t);q.invert();f.applyMatrix4(q);return m(f,r)};a.prototype.getMatrixWorld=function(r){var t=this.get("objectQuery");return t&amp;&amp;t.ADa(r)};a.prototype.worldDirectionToLocal=function(r,t){l(f,r);e(p,t);q.extractRotation(p);q.invert();f.applyMatrix4(q);return m(f,r)};a.prototype.testIntersection=function(r,t){var u=this.get("geometryQuery");if(u)return l(f,r),l(n,t),u.aH(f,n)};a.prototype.getDistanceToFloor=
function(r){var t=this.get("geometryQuery");if(t)return l(f,r),t.A5a(f)};a.prototype.pick=function(r,t){var u=this.get("picker");if(u)return u.y4(r,t)};a.prototype.getScreenPosition=function(r,t){var u=this.get("projectionQuery");if(u)return u.Mia(l(f,r),t)};var f=new THREE.Vector3,n=new THREE.Vector3,q=new THREE.Matrix4,p=new THREE.Matrix4;a.prototype.tu=function(){return[]};return a});
define("bj",["require","mw","lu","py","ol"],function(a){var e=a("mw"),l=a("lu"),m=a("py");a=a("ol").define("Model3DAnimation",e,function(){e.call(this);this.bind(m.G("state"),function(){this.trigger(m.Ae)},this,!0)});a.prototype.pause=function(){this.get("state")==l.PLAYING&amp;&amp;this.set("state",l.Qb)};a.prototype.play=function(){this.set("currentDirection","forward");this.set("state",l.PLAYING)};a.prototype.reverse=function(){this.set("currentDirection","backward");this.set("state",l.PLAYING)};a.prototype.stop=
function(){this.set("currentTime",0);this.set("state",l.V)};return a});
define("hl",["require","mw","lu","ol","py"],function(a){var e=a("mw"),l=a("lu"),m=a("ol"),k=a("py");a=m.define("Model3DCameraSequence",e,function(){e.call(this);this.set("state",l.V);this.bind(k.G("state"),function(){this.trigger(k.Ae)},this,!0)});a.prototype.play=a.prototype.play=function(){this.set("state",l.PLAYING)};a.prototype.pause=a.prototype.pause=function(){this.get("state")==l.PLAYING&amp;&amp;this.set("state",l.Qb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",l.V)};return a});
define("Z",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Model3DDisplayEffect",e,function(){e.call(this)})});
define("iY","require lS py cI kk dn lu ep hg".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("kk"),c=a("dn"),h=a("lu"),g=a("ep"),b=a("hg");a=e.extend(c,function(){c.call(this,!0);this.wt=!1;this.mK=!0;this.C=h.V;this.mD=new k(this,"buttonPlayPause",g.Oj);this.mD.bind(l.Lj,this.PWa,this,!0);this.mD.bind(l.Gl,this.QWa,this,!0);this.eI=new k(this,"buttonPause",g.Me);this.eI.bind(l.ma,this.FE,this,!0);this.fI=new k(this,"buttonPlay",g.Me);this.fI.bind(l.ma,this.GE,this,!0);this.hI=new k(this,
"buttonStop",g.Me);this.hI.bind(l.ma,this.AA,this,!0);this.iPa=new k(this,"buttonRestart",g.Me);this.iPa.bind(l.ma,this.zA,this,!0);this.gta=e.Ap(this.X1a,this);this.gta()});a.prototype.set=function(d,f){"state"!=d&amp;&amp;c.prototype.set.call(this,d,f)};a.prototype.get=function(d,f){switch(d){case "state":return this.C}return c.prototype.get.call(this,d,f)};a.prototype.X1a=function(){this.mK&amp;&amp;(this.mK=!1,this.eI.set("state",this.C==h.Qb?b.Ab:b.Ke),this.fI.set("state",this.C==h.PLAYING||this.C==h.Qb?b.Ab:
b.Ke),this.mD.set("pressed",this.C==h.PLAYING),this.hI.set("state",this.C==h.V?b.Ab:b.Ke))};a.prototype.VA=function(d){this.wt!=d&amp;&amp;((this.wt=d)||this.xd(h.V))};a.prototype.xd=function(d){var f=this.C;this.C=d;c.prototype.set.call(this,"state",d);f!=this.C&amp;&amp;(this.mK=!0,this.gta(),this.trigger(new m(l.Ae,{oldState:f,state:this.C})))};a.prototype.FE=function(){this.wt&amp;&amp;(this.C==h.Qb?this.Sk():this.br())};a.prototype.GE=function(){this.wt&amp;&amp;this.Sk()};a.prototype.PWa=function(){this.wt&amp;&amp;this.Sk()};a.prototype.QWa=
function(){this.wt&amp;&amp;this.br()};a.prototype.AA=function(){this.wt&amp;&amp;this.bp()};a.prototype.zA=function(){this.wt&amp;&amp;(this.bp(),this.Sk())};a.prototype.Sk=function(){};a.prototype.br=function(){};a.prototype.bp=function(){};return a});
define("eX",["require","lS","bn","cI","gE"],function(a){var e=a("lS"),l=a("bn"),m=a("cI"),k=a("gE"),c=e.extend(k,function(h,g){k.call(this);this.M=h;this.j=g;this.cr=null;this.ua=c.Yh;this.mj=this.Ci=null;this.Rn=this.hh=void 0;this.Jca=[]});c.prototype.display=function(h){this.cr=null;if(this.mj!=h||this.ua!=c.Yh)this.cr=h,this.Kva()};c.prototype.hide=function(){this.cr="none";this.Kva()};c.prototype.clear=function(){this.ua=c.Yh;this.cr=null;this.hYa();this.fea();this.j=null};c.prototype.Ug=function(h){for(;this.Jca.length;)this.Jca.shift()();
this.ua==c.Yh||this.ua!=c.Il&amp;&amp;this.ua!=c.Rs&amp;&amp;this.ua!=c.Ev||(this.Rn+=h,h=Math.min(1,this.Rn/this.hh),this.ua==c.Il?(this.Ci.set("opacity",h),this.M.Pd().lM(h)):this.ua==c.Ev?(this.M.Pd().lM(h),this.M.Pd().MG(h)):(this.M.Pd().MG(h),this.mj.set("opacity",1-h)),this.j.Ta(),this.Rn&lt;this.hh?this.Sa():this.Vz())};c.prototype.eT=function(){return this.mj&amp;&amp;this.j.eT(this.mj)||void 0};c.prototype.Kva=function(){this.cr&amp;&amp;this.ua==c.Yh&amp;&amp;this.oq()};c.prototype.oq=function(){this.mj&amp;&amp;this.trigger(new m(c.vC,
{model:this.mj}));"fade_out_fade_in"==this.M.get("transitionMode","blending")&amp;&amp;this.mj?this.xz():(this.Ci="none"==this.cr?null:this.cr,this.cr=null,this.Ci?this.mj?this.G8():this.xN():this.mj&amp;&amp;this.xz())};c.prototype.xN=function(){this.ua=c.Il;this.Toa();this.j.FIa(this.Ci);this.M.Pd().wM();this.Rn=0;this.hh=this.M.get("transitionDuration");this.Sa()};c.prototype.G8=function(){this.ua=c.Ev;this.M.Pd().YG();this.fea();this.Toa();this.j.FIa(this.Ci);this.M.Pd().wM();this.Rn=0;this.hh=2*this.M.get("transitionDuration");
this.Sa()};c.prototype.xz=function(){this.ua=c.Rs;this.Ci=null;this.Rn=0;this.hh=this.M.get("transitionDuration");this.M.Pd().YG();this.Sa()};c.prototype.Vz=function(){this.cr!=this.mj&amp;&amp;this.fea();this.mj=this.Ci;this.Ci=null;this.ua==c.Rs?this.M.Pd().TF():this.ua==c.Il?this.M.Pd().dL():this.ua==c.Ev&amp;&amp;(this.M.Pd().dL(),this.M.Pd().TF());this.ua=c.Yh;this.mj?this.trigger(new m(c.wC,{model:this.mj})):this.cr||this.trigger(new m(c.o6));this.cr&amp;&amp;this.oq()};c.prototype.Sa=function(){l.requestFrame(this.Ug,
this)};c.prototype.Toa=function(){if(this.Ci){this.Ci.set("opacity",this.ua==c.Ev?1:.01);this.Ci.set("currentTime",0);this.j.gBa(this.Ci);this.trigger(new m(c.E6,{model:this.Ci}));var h=this.Ci;this.Jca.push(function(){this.trigger(new m(c.xC,{model:h}))}.bind(this))}};c.prototype.fea=function(){this.mj&amp;&amp;(this.j.vka(this.mj),this.trigger(new m(c.DV,{model:this.mj})),this.mj=null)};c.prototype.hYa=function(){this.Ci&amp;&amp;(this.j.vka(this.Ci),this.trigger(new m(c.DV,{model:this.Ci})),this.Ci=null)};c.Yh=
"stopped";c.Il="blending";c.Ev="double blending";c.Rs="disolving";c.Ob="request frame";c.E6="model added";c.DV="model removed";c.xC="model start";c.wC="model show";c.vC="model hide";c.o6="all pending models hidden";return c});
define("da",["require","lS","gE","py"],function(a){var e=a("lS"),l=a("gE"),m=a("py");a=e.extend(l,function(k,c){l.call(this);this.M=k;this.j=c;this.Kg=null});a.prototype.clear=function(){this.stop();this.j=null};a.prototype.load=function(k){k!=this.Kg&amp;&amp;(this.stop(),this.j.J6a(k)?(this.Lza(k),this.b1(k)):(this.Kg=k,this.Kg.set("opacity",0),this.OOa(),this.j.gBa(this.Kg)))};a.prototype.stop=function(){this.Kg&amp;&amp;(this.Vfa(),this.j.vka(this.Kg),this.Kg=null)};a.prototype.zJ=function(){this.Pza();this.Lza(this.Kg)};
a.prototype.Cd=function(){this.Kg.h3(m.PC)&amp;&amp;this.zJ();this.Vfa();var k=this.Kg;this.Kg=null;this.M.set("progressVisible",!1);this.b1(k)};a.prototype.bg=function(){this.Vfa();this.Kg=null;this.M.set("progressVisible",!1)};a.prototype.Ki=function(k){this.M.ra({progressPercent:k.data.percent,progressVisible:!0})};a.prototype.ROa=function(){this.Kg.bind(m.PC,this.zJ,this,!0)};a.prototype.Pza=function(){this.Kg.unbind(m.PC,this.zJ,this,!0)};a.prototype.OOa=function(){this.ROa();this.Kg.bind(m.ea,this.Cd,
this,!0);this.Kg.bind(m.kc,this.Ki,this,!0);this.Kg.bind(m.xc,this.bg,this,!0)};a.prototype.Vfa=function(){this.Pza();this.Kg.unbind(m.ea,this.Cd,this,!0);this.Kg.unbind(m.kc,this.Ki,this,!0);this.Kg.unbind(m.xc,this.bg,this,!0)};a.prototype.Lza=function(k){this.trigger(m.PC,{model:k})};a.prototype.b1=function(k){this.trigger(m.ea,{model:k})};a.prototype.H7a=function(){return this.Kg&amp;&amp;this.Kg.h3(m.PC)};a.Hma=m.PC;a.Ema=m.ea;return a});
define("hx","require lS py cI gE lu".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("lu"),h=e.extend(k,function(){k.call(this);this.ia=null;this.C=c.V});h.prototype.start=function(g){this.ia=g;this.ia.bind(l.G("camera"),this.Aca,this,!0);this.ia.bind(l.G("state"),this.Zca,this,!0);this.ia.bind(l.G("currentTime"),this.SZ,this,!0);this.ia.bind(l.G("duration"),this.SZ,this,!0);this.Zca();this.Aca()};h.prototype.end=function(){this.stop();this.Kb&amp;&amp;(this.Kb.unbind(l.G("state"),
this.EP,this,!0),this.Kb=null);this.ia&amp;&amp;(this.ia.unbind(l.G("camera"),this.Aca,this,!0),this.ia.unbind(l.G("state"),this.Zca,this,!0),this.ia.unbind(l.G("currentTime"),this.SZ,this,!0),this.ia.unbind(l.G("duration"),this.SZ,this,!0),this.ia=null)};h.prototype.clear=function(){this.end()};h.prototype.play=function(){this.ia&amp;&amp;this.ia.set("state",c.PLAYING)};h.prototype.pause=function(){this.ia&amp;&amp;this.ia.set("state",c.Qb)};h.prototype.stop=function(){this.ia&amp;&amp;this.ia.set("state",c.V)};h.prototype.setTime=
function(g){this.ia&amp;&amp;this.ia.set("currentTime",g)};h.prototype.getTime=function(){return this.ia&amp;&amp;this.ia.get("currentTime")||void 0};h.prototype.Zca=function(){var g=this.ia.get("state");this.C!=g&amp;&amp;(this.C=g,this.Kb&amp;&amp;this.Kb.set("state",g),this.trigger(new m(h.Sc,{state:this.C})))};h.prototype.SZ=function(){this.trigger(new m(h.Kj,{model:this.ia,time:this.ia.get("currentTime"),duration:this.ia.get("duration")}));this.EP()};h.prototype.Aca=function(){this.Kb&amp;&amp;this.Kb.unbind(l.G("state"),this.EP,this,
!0);(this.Kb=this.ia.get("camera"))&amp;&amp;this.Kb.bind(l.G("state"),this.EP,this,!0);this.EP()};h.prototype.EP=function(){0===this.ia.get("duration")&amp;&amp;this.ia.set("state",this.Kb?this.Kb.get("state"):c.V)};h.Sc="playback state change";h.Kj="time change";return h});
define("eh","require lS lu cI gE eX da hx".split(" "),function(a){var e=a("lS"),l=a("lu"),m=a("cI"),k=a("gE"),c=a("eX"),h=a("da"),g=a("hx"),b=e.extend(k,function(d,f){k.call(this);this.M=d;this.j=f;this.j.set("visible",!1);this.oe=new h(this.M,this.j);this.Oa=new c(this.M,this.j);this.Ma=new g(this.j);this.oe.bind(h.Hma,this.Bva,this,!0);this.oe.bind(h.Ema,this.Ow,this,!0);this.Oa.bind(c.vC,this.uA,this,!0);this.Oa.bind(c.wC,this.hm,this,!0);this.Oa.bind(c.xC,this.RP,this,!0);this.Oa.bind(c.E6,this.yva,
this,!0);this.Oa.bind(c.DV,this.Cva,this,!0);this.Oa.bind(c.o6,this.yua,this,!0);this.Ma.bind(g.Sc,this.kf,this,!0);this.Ma.bind(g.Kj,this.Xq,this,!0)});b.prototype.clear=function(){this.oe.clear();this.Oa.clear();this.Ma.clear();this.oe.unbind(h.Hma,this.Bva,this);this.oe.unbind(h.Ema,this.Ow,this);this.Oa.unbind(c.vC,this.uA,this);this.Oa.unbind(c.wC,this.hm,this);this.Oa.unbind(c.xC,this.RP,this);this.Oa.unbind(c.E6,this.yva,this);this.Oa.unbind(c.DV,this.Cva,this);this.Oa.unbind(c.o6,this.yua,
this);this.Ma.unbind(g.Sc,this.kf,this);this.Ma.unbind(g.Kj,this.Xq,this);this.M=this.j=this.Ma=this.Oa=this.oe=null};b.prototype.bab=function(d){this.j.set("visible",!0);this.oe.load(d)};b.prototype.Ay=function(){this.oe.H7a()&amp;&amp;this.oe.stop();this.Oa.hide();this.Ma.end()};b.prototype.play=function(){this.Ma.play()};b.prototype.stop=function(){this.Ma.stop()};b.prototype.pause=function(){this.Ma.pause()};b.prototype.setTime=function(d){this.Ma.setTime(d)};b.prototype.getTime=function(){return this.Ma.getTime()};
b.prototype.eT=function(){return this.Oa.eT()};b.prototype.Bva=function(d){this.Oa.display(d.data.model)};b.prototype.Ow=function(){};b.prototype.yva=function(d){this.Ma.start(d.data.model)};b.prototype.RP=function(d){d=d.data.model;this.j.set("visible",!0);this.trigger(new m(b.xC,{model:d}))};b.prototype.Cva=function(){};b.prototype.hm=function(d){d=d.data.model;d.get("autoplay")&amp;&amp;d.get("state")!=l.PLAYING&amp;&amp;d.set("state",l.PLAYING);this.trigger(new m(b.wC,{model:d}))};b.prototype.uA=function(d){this.trigger(new m(b.vC,
{model:d.data.model}))};b.prototype.yua=function(){this.j.set("visible",!1)};b.prototype.Xq=function(d){this.trigger(new m(b.F6,d.data))};b.prototype.kf=function(d){this.trigger(new m(b.Sc,{state:d.data.state}))};b.wC="modelShow";b.vC="modelHide";b.adb="modelEnd";b.xC="modelStart";b.F6="videoTimeChange";b.Sc="playbackStateChange";return b});
define("ey",["require","exports"],function(){return function(){function a(){}a.prototype.clear=function(){};a.tb=function(e){this.id=e+"Component";this.not="!"+this.id};a.Ub=function(e){this.tb(e+"SystemState");this.B3=!0};a.B3=!1;return a}()});
define("fT",["require","exports","ey","three.mod"],function(a,e,l,m){var k;(function(c){var h=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.bias=0;F.zCa=500;F.intensity=1;F.scale=100;F.VEa=25;F.vFa=0;F.xha=4;F.output=null;return F}Z(O,H);return O}(l);c.lH=h;h.tb("AmbientOcclusionEffect");var g=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.color="#ffffff";F.intensity=1;return F}Z(O,H);return O}(l);c.AmbientLight=g;g.tb("AmbientLight");var b=function(H){function O(){var F=
null!==H&amp;&amp;H.apply(this,arguments)||this;F.light=null;return F}Z(O,H);return O}(l);c.Ry=b;b.Ub("AmbientLight");var d=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.properties=null;return F}Z(O,H);return O}(l);c.Animation=d;d.tb("Animation");var f=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Tu=f;f.Ub("Animation");var n=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.dDa=!1;F.yJa=
!1;F.SU=2;return F}Z(O,H);return O}(l);c.oC=n;n.tb("AntialiasEffect");var q=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.u=[];F.renderOrder=null;F.N=null;return F}Z(O,H);return O}(l);c.Tm=q;q.tb("Area");var p=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.u=[];return F}Z(O,H);return O}(l);c.Sy=p;p.Ub("Area");var r=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.V1=[];return F}Z(O,H);return O}(l);c.pC=r;r.Ub("AreaPoint");
var t=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.Wy=t;t.tb("Beacon");var u=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.position=null;return F}Z(O,H);return O}(l);c.Xy=u;u.Ub("Beacon");var v=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.N=null;return F}Z(O,H);return O}(l);c.jo=v;v.tb("BeaconTracker");var w=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.position=null;
return F}Z(O,H);return O}(l);c.Yu=w;w.Ub("BeaconTracker");var x=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.zg=null;F.RHa=null;F.yB=!0;F.enabled=!0;F.locked=!1;F.ZK=!0;F.gg=void 0;F.sk=0;return F}Z(O,H);return O}(l);c.Xcb=x;var y=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.La=null;F.rotate=!1;return F}Z(O,H);return O}(l);c.qH=y;y.tb("CameraOffsetTransform");var z=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.La=null;
return F}Z(O,H);return O}(l);c.jLa=z;z.Ub("CameraOffsetTransform");var B=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.properties=null;return F}Z(O,H);return O}(l);c.rH=B;B.tb("CameraSequence");var D=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Zu=D;D.Ub("CameraSequence");var I=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.source=null;F.WG=null;F.opacity=1;F.isSprite=!1;F.hidden=
!1;F.depthTest=!0;return F}Z(O,H);return O}(l);c.gf=I;I.tb("CanvasMaterial");var A=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Yy=A;A.Ub("CanvasMaterial");var E=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.UM=E;E.tb("Data");var J=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.target=null;return F}Z(O,H);return O}(l);c.DirectionalLight=J;J.tb("DirectionalLight");
var C=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.Xn=null;return F}Z(O,H);return O}(l);c.Np=C;C.Ub("DirectionalLight");var L=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.N=null;F.direction=null;F.min=null;return F}Z(O,H);return O}(l);c.cv=L;L.tb("Draggable");var S=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.$ha=null;return F}Z(O,H);return O}(l);c.Zy=S;S.Ub("Draggable");var U=function(H){function O(){return null!==
H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.Um=U;U.tb("Dragging");var V=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(x);c.HC=V;V.tb("FirstPersonControls");var W=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Bs=W;W.Ub("FirstPersonControls");var K=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.color="#ffffff";F.opacity=1;F.height=0;F.radius=1;F.renderOrder=
0;return F}Z(O,H);return O}(l);c.Wp=K;K.tb("Floor");var N=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.floor=null;return F}Z(O,H);return O}(l);c.gv=N;N.Ub("Floor");var R=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.distance=0;F.vT=!1;F.x=0;F.y=0;F.z=0;return F}Z(O,H);return O}(l);c.hv=R;R.tb("FloorTransform");var X=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Cs=X;X.Ub("FloorTransform");
var ba=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(x);c.IC=ba;ba.tb("FlyOverControls");var da=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.jv=da;da.Ub("FlyOverControls");var ea=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.geometry=null;return F}Z(O,H);return O}(l);c.Geometry=ea;ea.tb("Geometry");var G=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,
arguments)||this;F.SBa="#ffffff";F.depthTest=!0;F.n2=10;F.YDa="#ffffff";F.size=10;return F}Z(O,H);return O}(l);c.Ds=G;G.tb("Grid");var P=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.grid=null;return F}Z(O,H);return O}(l);c.ez=P;P.Ub("Grid");var T=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.group=null;return F}Z(O,H);return O}(l);c.Group=T;T.tb("Group");var M=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.group=null;
return F}Z(O,H);return O}(l);c.yH=M;M.Ub("Group");var Q=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.properties=null;F.m3=null;F.N=null;F.wp=null;F.priority=void 0;F.isSprite=!1;return F}Z(O,H);return O}(l);c.Al=Q;Q.tb("ImageMaterial");var Y=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.fz=Y;Y.Ub("ImageMaterial");var aa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.NHa=7;F.intensity=
1;return F}Z(O,H);return O}(l);c.ZM=aa;aa.tb("MotionBlurEffect");var ca=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.line=null;F.renderOrder=0;return F}Z(O,H);return O}(l);c.Line=ca;ca.tb("Line");var fa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.line=null;return F}Z(O,H);return O}(l);c.iz=fa;fa.Ub("Line");var ha=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.color="#ffffff";F.opacity=1;F.width=1;F.transparent=!0;F.depthTest=
!0;return F}Z(O,H);return O}(l);c.th=ha;ha.tb("LineMaterial");var ia=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.hz=ia;ia.Ub("LineMaterial");var ja=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.F=null;F.position=null;return F}Z(O,H);return O}(l);c.Es=ja;ja.tb("LineToTransform");var ka=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.jz=ka;ka.Ub("LineToTransform");
var la=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.material=null;return F}Z(O,H);return O}(l);c.Material=la;la.tb("Material");var ma=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.name=null;return F}Z(O,H);return O}(l);c.mv=ma;ma.tb("MaterialVariant");var na=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.$p=na;na.Ub("MaterialVariant");var oa=function(H){function O(){var F=null!==
H&amp;&amp;H.apply(this,arguments)||this;F.yp=null;F.renderOrder=0;return F}Z(O,H);return O}(l);c.Mesh=oa;oa.tb("Mesh");var pa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.yp=null;return F}Z(O,H);return O}(l);c.Hs=pa;pa.Ub("Mesh");var qa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.properties=null;F.Dja=null;F.iHa=null;F.wp=null;F.N=null;F.Oia=null;F.vc=null;return F}Z(O,H);return O}(l);c.Wh=qa;qa.tb("Model");var ra=function(H){function O(){var F=null!==
H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.nv=ra;ra.Ub("Model");var sa=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.MC=sa;sa.tb("NotCollidable");var ta=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.mMa=ta;ta.Ub("NotCollidable");var ua=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.Zla=!0;F.$la=!0;return F}Z(O,H);return O}(l);c.aq=ua;ua.tb("NotSelectable");
var va=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.NC=va;va.Ub("NotSelectable");var wa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.qa=null;return F}Z(O,H);return O}(l);c.Object3D=wa;wa.tb("Object3D");var xa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.id=null;F.container=null;return F}Z(O,H);return O}(l);c.EH=xa;xa.tb("Object3DId");var ya=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,
arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.ov=ya;ya.Ub("Object3DId");var za=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.nS=void 0;F.castShadow=void 0;F.receiveShadow=void 0;F.opacity=1;F.uS=void 0;F.N=null;return F}Z(O,H);return O}(l);c.uh=za;za.tb("ObjectTransform");var Aa=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.kz=Aa;Aa.Ub("ObjectTransform");var Ba=function(H){function O(){return null!==H&amp;&amp;H.apply(this,
arguments)||this}Z(O,H);return O}(x);c.OC=Ba;Ba.tb("OrbitControls");var Ca=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.pv=Ca;Ca.Ub("OrbitControls");var Da=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.width=100;F.height=100;return F}Z(O,H);return O}(l);c.OrthographicCamera=Da;Da.tb("OrthographicCamera");var Ea=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.camera=null;F.width=
void 0;F.height=void 0;return F}Z(O,H);return O}(l);c.Is=Ea;Ea.Ub("OrthographicCamera");var Fa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.F=null;F.attach=!1;F.id=null;return F}Z(O,H);return O}(l);c.lb=Fa;Fa.tb("Parent");var Ga=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.parent=null;F.Od=null;F.id=void 0;F.attach=!1;return F}Z(O,H);return O}(l);c.Js=Ga;Ga.Ub("Parent");var Ha=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||
this;F.width=100;F.height=100;F.fov=75;F.near=.01;F.far=100;F.vBa=!1;F.wBa=0;F.nl=!1;return F}Z(O,H);return O}(l);c.PerspectiveCamera=Ha;Ha.tb("PerspectiveCamera");var Ia=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.camera=null;F.tk=null;F.scene=null;F.boundingBox=null;F.yha=null;F.w4=!1;F.width=void 0;F.height=void 0;F.fov=void 0;F.near=void 0;F.far=void 0;return F}Z(O,H);return O}(l);c.Mj=Ia;Ia.Ub("PerspectiveCamera");var Ja=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,
arguments)||this;F.sf=1;F.Ff=1;F.nh=1;F.scale=1;F.BB=void 0;F.CB=void 0;return F}Z(O,H);return O}(l);c.Nj=Ja;Ja.tb("PixelScaleTransform");var Ka=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.QC=Ka;Ka.Ub("PixelScaleTransform");var La=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.renderOrder=null;return F}Z(O,H);return O}(l);c.Plane=La;La.tb("Plane");var Ma=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;
F.manager=null;return F}Z(O,H);return O}(l);c.qv=Ma;Ma.Ub("Plane");var Na=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.La=null;F.N=null;F.matrixWorld=null;F.origin=new m.Vector3;F.direction=new m.Vector3;F.Wb=new m.Vector2;F.dH=!1;F.dCa=!1;F.$i=!1;F.enabled=!0;return F}Z(O,H);return O}(l);c.Cc=Na;Na.tb("Pointer");var Oa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.F=null;F.rotate=!0;F.N=null;return F}Z(O,H);return O}(l);c.yk=Oa;Oa.tb("PointerOverTransform");
var Pa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Ks=Pa;Pa.Ub("PointerOverTransform");var Qa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.rv=Qa;Qa.Ub("PointerDragging");var Ra=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.sv=Ra;Ra.Ub("PointerSelection");var Sa=function(H){function O(){var F=
null!==H&amp;&amp;H.apply(this,arguments)||this;F.eC=null;F.PU=null;F.WU=null;return F}Z(O,H);return O}(l);c.Wm=Sa;Sa.tb("ProjectedMaterial");var Ta=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.eC=null;F.qa=null;F.tM=null;F.ny=null;F.material=null;F.OL=null;return F}Z(O,H);return O}(l);c.bq=Ta;Ta.Ub("ProjectedMaterial");var Ua=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.vc=null;F.renderer=null;F.sU=[];return F}Z(O,H);return O}(l);c.zi=Ua;Ua.tb("Renderer");
var Va=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Ls=Va;Va.Ub("Renderer");var Wa=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.opacity=1;F.locked=!1;F.enabled=!0;F.scene=null;F.La=null;F.backgroundColor=null;F.rha=null;F.xBa=null;F.environmentIntensity=1;F.HCa=null;F.fia=null;F.XCa=null;F.YCa=0;F.OS=0;F.outputEncoding=null;F.z4=1;F.N=null;return F}Z(O,H);return O}(l);c.Scene=Wa;Wa.tb("Scene");var Xa=
function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.scene=null;F.manager=null;return F}Z(O,H);return O}(l);c.mo=Xa;Xa.Ub("Scene");var Ya=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.N=null;F.AM=!1;F.Qx=!0;F.zy=!1;F.gH=!1;return F}Z(O,H);return O}(l);c.Hd=Ya;Ya.tb("Selectable");var Za=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.RC=Za;Za.Ub("Selectable");var $a=function(H){function O(){var F=null!==H&amp;&amp;
H.apply(this,arguments)||this;F.color="#ffffff";F.opacity=1;F.depthTest=!0;F.doubleSided=!1;return F}Z(O,H);return O}(l);c.kd=$a;$a.tb("SolidMaterial");var ab=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.vv=ab;ab.Ub("SolidMaterial");var bb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.radius=1;F.widthSegments=32;F.heightSegments=16;F.renderOrder=0;return F}Z(O,H);return O}(l);c.Sphere=bb;bb.tb("Sphere");
var cb=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.SC=cb;cb.Ub("Sphere");var db=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.SpotLight=db;db.tb("SpotLight");var eb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.light=null;F.Xn=null;return F}Z(O,H);return O}(l);c.Ns=eb;eb.Ub("SpotLight");var fb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.OK=.5;F.PK=
.5;F.height=100;F.width=100;F.scale=1;F.sizeAttenuation=!1;F.Oh=null;F.renderOrder=0;return F}Z(O,H);return O}(l);c.Sprite=fb;fb.tb("Sprite");var gb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Os=gb;gb.Ub("Sprite");var hb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.Nx=!1;F.positionX=0;F.positionY=0;F.positionZ=0;F.Qd=0;F.vd=0;F.He=0;F.Ge="XYZ";F.scale=1;F.sf=1;F.Ff=1;F.nh=1;F.translationX=0;F.translationY=
0;F.Je=0;F.easing=0;F.N=null;return F}Z(O,H);return O}(l);c.va=hb;hb.tb("Transform");var ib=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.Nx=!1;F.positionX=0;F.positionY=0;F.positionZ=0;F.Qd=0;F.vd=0;F.He=0;F.Ge="XYZ";F.scale=1;F.sf=1;F.Ff=1;F.nh=1;F.translationX=0;F.translationY=0;F.Je=0;return F}Z(O,H);return O}(l);c.Xf=ib;ib.Ub("Transform");var jb=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.VC=jb;jb.Ub("TransformEasing");
var kb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.translate=!0;F.rotate=!0;F.scale=!0;F.N=null;return F}Z(O,H);return O}(l);c.Wg=kb;kb.tb("TransformControls");var lb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.F5=null;F.Iu=null;F.vy=null;return F}Z(O,H);return O}(l);c.Hl=lb;lb.Ub("TransformControls");var mb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.gg=void 0;return F}Z(O,H);return O}(x);c.xv=mb;mb.tb("TransitionControls");
var nb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.Qs=nb;nb.Ub("TransitionControlsSystemState");var ob=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.properties=null;F.kma=null;F.N=null;return F}Z(O,H);return O}(l);c.po=ob;ob.tb("VideoMaterial");var pb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.oz=pb;pb.Ub("VideoMaterial");var qb=
function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.La=null;F.width=null;F.height=null;return F}Z(O,H);return O}(l);c.Xm=qb;qb.tb("Viewport");var rb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.La=null;F.properties=null;return F}Z(O,H);return O}(l);c.pz=rb;rb.tb("ViewportPlaneGeometry");var sb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.geometry=null;F.oJa=void 0;F.mJa=void 0;F.tEa=void 0;F.verticalAlign=void 0;F.OHa=void 0;
F.zIndex=void 0;return F}Z(O,H);return O}(l);c.zv=sb;sb.Ub("ViewportPlaneGeometry");var tb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.MGa=1;F.BEa=.5;F.color="#000000";F.opacity=.5;return F}Z(O,H);return O}(l);c.KH=tb;tb.tb("VignetteEffect");var ub=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(l);c.zk=ub;ub.Ub("XRPerspectiveCamera");var vb=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(x);
c.MH=vb;vb.tb("XRDragControls");var wb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.iq=wb;wb.Ub("XRDragControlsSystemState");var xb=function(H){function O(){return null!==H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(x);c.NH=xb;xb.tb("XRFlyControls");var yb=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.jq=yb;yb.Ub("XRFlyControlsSystemState");var zb=function(H){function O(){return null!==
H&amp;&amp;H.apply(this,arguments)||this}Z(O,H);return O}(x);c.OH=zb;zb.tb("XRTeleportControls");var Ab=function(H){function O(){var F=null!==H&amp;&amp;H.apply(this,arguments)||this;F.manager=null;return F}Z(O,H);return O}(l);c.kq=Ab;Ab.Ub("XRTeleportControlsSystemState")})(k||(k={}));return k});
define("kH",["require","jquery.mod","w"],function(a){function e(){this.xa=l("&lt;div/&gt;");this.xa.css({position:"absolute",left:0,top:0,right:0,bottom:0,"z-index":0,"pointer-events":"none","background-color":"#ffffff"});this.xa.hide()}var l=a("jquery.mod"),m=a("w");e.prototype.gd=function(){return this.xa};e.prototype.trigger=function(){m.browser()!=m.rh&amp;&amp;this.xa.fadeIn(100).fadeOut(100)};return e});
define("mC",["require","exports"],function(){return function(){function a(e,l){this.P=e;this.tag=l||"Entity";this.id=this.tag+"_"+a.NT++;this.components={};this.jU={};this.Jla=0}a.prototype.getComponent=function(e){return this.components[e.id]};a.prototype.J=function(e,l){void 0===l&amp;&amp;(l=!1);var m=this.components[e.id];m?this.P.P3a(this,e):l&amp;&amp;(m=this.I(e));return m};a.prototype.I=function(e){if(e.id in this.components)return this.components[e.id];e.B3&amp;&amp;this.Jla++;var l=this.components[e.id]=new e;
this.P.X2a(this,e);return l};a.prototype.ha=function(e){var l;void 0===l&amp;&amp;(l=!1);e.id in this.components&amp;&amp;(e.B3&amp;&amp;this.Jla--,l?this.components[e.id].clear():this.jU[e.id]=this.components[e.id],delete this.components[e.id],this.P.BHa(this,e,l))};a.prototype.T3a=function(){for(var e in this.jU)this.jU[e].clear(),delete this.jU[e]};a.prototype.o9a=function(){for(var e in this.components){var l=this.components[e].constructor;l.B3||(this.jU[e]=this.components[e],delete this.components[e],this.P.BHa(this,
l,!1))}};a.NT=0;return a}()});define("ci",["require","exports"],function(){return function(){function a(){this.id=a.UVa++;this.u=[]}a.UVa=0;return a}()});define("lo",["require","exports"],function(){return function(){function a(e,l){this.id=a.NT++;this.name=l;this.u=e.u;this.Md=e.u.slice();this.Ea=[];this.og=[]}a.prototype.Q3a=function(){this.Md.length&amp;&amp;(this.Md=[]);this.Ea.length&amp;&amp;(this.Ea=[]);this.og.length&amp;&amp;(this.og=[])};a.NT=0;return a}()});
define("bv",["require","exports","ci","lo"],function(a,e,l,m){function k(g){return"string"==typeof g?g:g.id}function c(g,b){0&gt;g.indexOf(b)&amp;&amp;g.push(b);return g}function h(g,b){b=g.indexOf(b);0&lt;=b&amp;&amp;g.splice(b,1);return g}return function(){function g(){this.S6a={};this.H={};this.DG={};this.eL={};this.Wx={};this.BG={};this.BS={};this.AG={}}g.prototype.la=function(b){this.BS[b.id]={};this.BS[b.not]={}};g.prototype.t4a=function(b,d){b=this.NTa(b);d=new m(b,d);this.DG[b.id].push(d);return d};g.prototype.NTa=
function(b){var d=this.i6a(b);if(d=this.S6a[d])return d;d=new l;this.H[d.id]=d;b=b.map(k);this.AG[d.id]={};for(var f=0;f&lt;b.length;f++){var n=b[f];this.AG[d.id][n]=!0;this.BS[n][d.id]=!0}this.BG[d.id]={};this.DG[d.id]=[];return d};g.prototype.i6a=function(b){b=b.map(k);b.sort();return b.join("-")};g.prototype.j8a=function(b){this.eL[b.id]={};this.Wx[b.id]={}};g.prototype.k8a=function(b){delete this.eL[b.id];delete this.Wx[b.id]};g.prototype.e8a=function(b,d){var f=d.id,n=d.not;d=b.id;this.eL[d][f]=
!0;for(var q in this.Wx[d])if(n in this.AG[q]){delete this.BG[q][d];delete this.Wx[d][q];h(this.H[q].u,b);for(var p=this.DG[q],r=0,t=p.length;r&lt;t;r++){var u=p[r];c(u.og,b);h(u.Md,b);h(u.Ea,b)}}for(q in this.BS[f])if(!(d in this.BG[q])){f=!0;for(var v in this.AG[q])if(n="!"!=v[0],(n?v:v.slice(1))in this.eL[d]!=n){f=!1;break}if(f)for(this.BG[q][d]=!0,this.Wx[d][q]=!0,c(this.H[q].u,b),p=this.DG[q],r=0,t=p.length;r&lt;t;r++)u=p[r],c(u.Md,b),h(u.og,b),h(u.Ea,b)}};g.prototype.g8a=function(b,d){var f=d.id,
n="!"+f;d=b.id;delete this.eL[d][f];for(var q in this.Wx[d])if(f in this.AG[q]){delete this.BG[q][d];delete this.Wx[d][q];h(this.H[q].u,b);for(var p=this.DG[q],r=0,t=p.length;r&lt;t;r++){var u=p[r];c(u.og,b);h(u.Md,b);h(u.Ea,b)}}for(q in this.BS[n])if(!(d in this.BG[q])){f=!0;for(var v in this.AG[q])if(n="!"!=v[0],(n?v:v.slice(1))in this.eL[d]!=n){f=!1;break}if(f)for(this.BG[q][d]=!0,this.Wx[d][q]=!0,this.H[q].u.push(b),p=this.DG[q],r=0,t=p.length;r&lt;t;r++)u=p[r],c(u.Md,b),h(u.og,b),h(u.Ea,b)}};g.prototype.f8a=
function(b,d){d=d.id;var f=b.id,n;for(n in this.Wx[f])if(d in this.AG[n]){f=this.DG[n];for(var q=0,p=f.length;q&lt;p;q++)c(f[q].Ea,b)}};return g}()});
define("lK",["require","exports","bn","mC","bv"],function(a,e,l,m,k){return function(){function c(h){this.enabled=!0;this.u={};this.FS=[];this.components={};this.VU=[];this.CG=new k;this.v2=[];this.gka=!1;this.A4=h}c.prototype.T4=function(h){this.f5a=h};c.prototype.qp=function(){return this.A4};c.prototype.la=function(h){this.components[h.id]=h;this.CG.la(h);return this};c.prototype.bd=function(h,g){var b=(new h).initialize(this,g,this.VU.length);this.VU.push(b);for(var d in h.H)b[d]=this.CG.t4a(h.H[d],
g+"."+d);this.VU.sort(function(f,n){return f.order-n.order});return this};c.prototype.Mc=function(h){h=new m(this,h);this.u[h.id]=h;this.CG.j8a(h);this.Ta();return h};c.prototype.Gd=function(h){h.id in this.u&amp;&amp;(delete this.u[h.id],this.FS.push(h),h.o9a(),this.Ta())};c.prototype.X2a=function(h,g){this.CG.e8a(h,g);this.Ta()};c.prototype.BHa=function(h,g,b){this.CG.g8a(h,g);b||this.v2.push(h);this.Ta()};c.prototype.P3a=function(h,g){this.CG.f8a(h,g);this.Ta()};c.prototype.rb=function(h){this.enabled=
h;this.Ta()};c.prototype.Ta=function(){this.enabled&amp;&amp;!this.gka&amp;&amp;(this.gka=!0,l.requestFrame(this.update,this,this.f5a))};c.prototype.update=function(h){h=h||0;this.gka=!1;if(this.enabled){for(var g=(new Date).getTime(),b=0;b&lt;this.VU.length;b++){var d=this.VU[b];d.Vc(h,g);for(var f in d.constructor.H)d[f].Q3a()}for(b=0;b&lt;this.v2.length;b++)this.v2[b].T3a();this.v2.length=0;for(b=this.FS.length-1;0&lt;=b;b--)0==this.FS[b].Jla&amp;&amp;(this.CG.k8a(this.FS[b]),this.FS.splice(b,1))}};return c}()});
define("mc",["require","exports"],function(){return function(){function a(){this.order=0;this.P=null;this.name=""}a.prototype.initialize=function(e,l,m){void 0===m&amp;&amp;(m=0);this.P=e;this.name=l;this.order=m;return this};a.prototype.Vc=function(){};return a}()});
define("cQ","require exports three.mod on fT mc".split(" "),function(a,e,l,m,k,c){a=function(h){function g(){var b=h.call(this)||this;b.Vb=b.Vb.bind(b);b.Ib=b.Ib.bind(b);b.zf=b.zf.bind(b);b.kb=b.kb.bind(b);return b}Z(g,h);g.prototype.Vc=function(){this.zB.u.length&amp;&amp;this.zB.u.slice().forEach(this.Vb);this.AB.u.length&amp;&amp;this.AB.u.slice().forEach(this.kb);this.Mh.Ea.length&amp;&amp;this.Mh.Ea.slice().forEach(this.Ib);this.Mh.u.length&amp;&amp;this.Mh.u.slice().forEach(this.zf)};g.prototype.Vb=function(b){var d=b.I(k.Ry),
f=b.I(k.Object3D);d.light=f.qa=new l.AmbientLight;this.Ib(b)};g.prototype.Ib=function(b){var d=b.getComponent(k.AmbientLight);b=b.getComponent(k.Ry).light;b.color=m.Jp(d.color).convertLinearToSRGB();b.intensity=d.intensity*Math.PI;b.visible=0&lt;b.intensity};g.prototype.zf=function(){};g.prototype.kb=function(b){var d=b.getComponent(k.Ry).light;d.parent&amp;&amp;d.parent.remove(d);b.ha(k.Ry);b.ha(k.Object3D)};g.H={};return g}(c);a.H={};a.H.zB=[k.AmbientLight,k.Ry.not];a.H.Mh=[k.AmbientLight,k.Ry];a.H.AB=[k.AmbientLight.not,
k.Ry];return a});
define("cm",["require","py","lu"],function(a){function e(k,c,h,g,b){this.o=k;this.qe=c;this.pg=h;this.Bk=g;this.Ga=b;this.s0()}var l=a("py"),m=a("lu");e.prototype.getAnimations=function(){return this.pg};e.prototype.WS=function(){return this.Bk};e.prototype.frame=function(k){this.C==m.PLAYING&amp;&amp;(this.It(this.wh.time+k/1E3),this.Ga())};e.prototype.dispose=function(){this.T0();this.qz=this.eD=this.wh=this.Ga=this.Bk=this.pg=this.qe=this.o=null};e.prototype.s0=function(){this.wh=new THREE.AnimationMixer(this.qe);this.Xb=
0;this.Bb=!1;this.eD=[];this.qz=[];for(var k=0;k&lt;this.pg.length;k++){var c=this.pg[k],h="alternate"==c.get("animationDirection"),g=this.Xb;this.Xb+=this.Bk[k].duration*(h?2:1);this.qz.push({start:g,end:this.Xb});g=this.wh.clipAction(this.Bk[k]);h?g.setLoop(THREE.LoopPingPong,2):g.setLoop(THREE.LoopOnce,1);this.eD.push(g);c.set("state",m.V);c.set("currentTime",0);c.set("duration",this.Bk[k].duration)}this.C=m.V;this.Jl=void 0;this.o.bind(l.G("state"),this.Mi,this,!0);this.o.bind(l.G("currentTime"),
this.wE,this,!0);this.o.bind(l.G("animationDirection"),this.Tua,this,!0);this.o.set("duration",this.Xb);this.It(0);this.o.get("autoplay")&amp;&amp;this.o.set("state",m.PLAYING)};e.prototype.T0=function(){this.o.unbind(l.G("state"),this.Mi,this,!0);this.o.unbind(l.G("currentTime"),this.wE,this,!0);this.o.unbind(l.G("animationDirection"),this.Tua,this,!0);this.o.set("state",m.V);for(var k=0;k&lt;this.pg.length;k++)this.eD[k].stop(),this.wh.uncacheClip(this.Bk[k]),this.pg[k].set("state",m.V),this.pg[k].set("currentTime",
0);this.o.set("duration",void 0);this.o.set("currentTime",void 0)};e.prototype.Tua=function(){this.T0();this.s0()};e.prototype.Mi=function(){var k=this.o.get("state");this.C!=k&amp;&amp;(this.C==m.V?k==m.Qb?this.o.set("state",m.V):k==m.PLAYING&amp;&amp;(this.C=m.PLAYING,this.Bb=!1,this.It(0),this.Ga()):this.C==m.PLAYING?k==m.V?(this.C=m.V,this.Bb&amp;&amp;"last"==this.o.get("finalFrame")?this.It(this.Xb):this.It(0)):k==m.Qb&amp;&amp;(this.C=m.Qb):this.C==m.Qb&amp;&amp;(k==m.PLAYING?(this.C=m.PLAYING,this.Ga()):k==m.V&amp;&amp;(this.C=m.V,this.It(0))),
void 0!==this.Jl&amp;&amp;this.pg[this.Jl].set("state",this.C),this.o.set("state",this.C))};e.prototype.wE=function(){var k=this.o.get("currentTime");this.wh.time!=k&amp;&amp;(this.C!=m.V&amp;&amp;this.It(k),this.o.set("currentTime",this.wh.time))};e.prototype.It=function(k){if(this.wh.time!=k||void 0===this.Jl)if(k&gt;this.Xb)this.o.get("loop")?this.o.set("currentTime",k%this.Xb):(this.Bb=!0,this.o.trigger(l.Gb),this.o.set("state",m.V));else{for(var c=this.Jl||0;k&gt;this.qz[c].end;)c++;for(;k&lt;this.qz[c].start;)c--;if(this.Jl!==
c){for(var h=this.Jl||0;h&lt;c;h++){var g=this.pg[h],b=this.eD[h],d=this.qz[h];"last"==g.get("finalFrame")&amp;&amp;"normal"==g.get("animationDirection")?(b.reset(),b.startAt(d.start),g.set("currentTime",g.get("duration")),b.clampWhenFinished=!0,b.play()):(g.set("currentTime",0),b.stop(),b.clampWhenFinished=!1);g.set("state",m.V)}g=this.pg[c];b=this.eD[c];d=this.qz[c];b.reset();b.startAt(d.start);b.clampWhenFinished="last"==g.get("finalFrame")&amp;&amp;"normal"==g.get("animationDirection");b.play();for(h=this.Jl||0;h&gt;
c;h--)g=this.pg[h],b=this.eD[h],g.set("currentTime",0),b.stop();this.Jl=c}else b=this.eD[this.Jl],k&lt;this.wh.time&amp;&amp;(b.reset(),b.startAt(this.qz[this.Jl].start)),b.paused=!1;this.wh.update(k-this.wh.time);g=this.pg[this.Jl];g.set("state",this.C);k=this.wh.time-this.qz[this.Jl].start;g=g.get("duration");c=k&gt;g;this.pg[this.Jl].set("currentTime",c?2*g-k:k);this.pg[this.Jl].set("currentDirection",c?"backward":"forward");this.o.set("currentTime",this.wh.time);this.Ga()}};return e});
define("kc",["require","py","lu"],function(a){function e(k,c,h,g,b){this.o=k;this.qe=c;this.pg=h;this.Bk=g;this.Ga=b;this.Oca=this.Oca.bind(this);this.Ica=this.Ica.bind(this);this.s0()}var l=a("py"),m=a("lu");e.prototype.dispose=function(){this.T0();this.Ga=this.Bk=this.pg=this.qe=this.o=null};e.prototype.getAnimations=function(){return this.pg};e.prototype.WS=function(){return this.Bk};e.prototype.frame=function(k){0&lt;this.Hv.length&amp;&amp;(this.wh.update(k/1E3),this.Hv.forEach(function(c){this.fpa(c)}.bind(this)),
this.Ga())};e.prototype.s0=function(){this.wh=new THREE.AnimationMixer(this.qe);this.wh.addEventListener("loop",this.Oca);this.wh.addEventListener("finished",this.Ica);this.Gv=new Map;this.mW=new Map;this.Hv=[];for(var k=0;k&lt;this.pg.length;k++){var c=this.pg[k],h=this.Bk[k];this.mW.set(c,h);var g=this.wh.clipAction(h);this.Gv.set(c,g);c.set("duration",h.duration);c.set("currentTime",c.get("currentTime")||0);c.set("currentDirection","forward");c.bind(l.G("state"),this.Hua,this,!0);c.bind(l.G("animationDirection"),
this.Eua,this,!0);c.bind(l.G("currentTime"),this.Dua,this,!0);c.bind(l.G("currentDirection"),this.Cua,this,!0);c.bind(l.G("loop"),this.Gua,this,!0);c.bind(l.G("finalFrame"),this.Fua,this,!0);this.tK(c);this.Sza(c)}this.Ga()};e.prototype.T0=function(){for(var k=0;k&lt;this.pg.length;k++){var c=this.pg[k];c.unbind(l.G("state"),this.Hua,this,!0);c.unbind(l.G("animationDirection"),this.Eua,this,!0);c.unbind(l.G("currentTime"),this.Dua,this,!0);c.unbind(l.G("currentDirection"),this.Cua,this,!0);c.unbind(l.G("loop"),
this.Gua,this,!0);c.unbind(l.G("finalFrame"),this.Fua,this,!0);this.Gv.get(c).stop();this.Gv["delete"](c);this.wh.uncacheClip(this.mW.get(c));this.mW["delete"](c);this.pg[k].set("state",m.V);this.pg[k].set("currentTime",0)}this.wh=this.mW=this.Gv=null};e.prototype.Oca=function(k){this.Gv.forEach(function(c,h){k.action==c&amp;&amp;h.get("loop")&amp;&amp;h.trigger(l.cq)})};e.prototype.Ica=function(k){this.Gv.forEach(function(c,h){k.action==c&amp;&amp;(this.fpa(h),h.set("state",m.V),"alternate"==h.get("animationDirection")&amp;&amp;
h.set("currentDirection","forward"==h.get("currentDirection")?"backward":"forward"),h.trigger(l.Gb))}.bind(this))};e.prototype.Eua=function(k){this.tK(k.source)};e.prototype.Gua=function(k){this.tK(k.source)};e.prototype.Fua=function(k){this.tK(k.source)};e.prototype.Cua=function(k){this.tK(k.source)};e.prototype.Dua=function(k){this.tK(k.source)};e.prototype.fpa=function(k){this.dpa=!0;var c=this.Gv.get(k),h="alternate"==k.get("animationDirection");h=0&lt;c._loopCount&amp;&amp;1==c._loopCount%2&amp;&amp;h;k.set("currentDirection",
h?"backward":"forward");c=c.time;var g=k.get("duration");h?k.set("currentTime",g-c):k.set("currentTime",c);this.dpa=!1};e.prototype.tK=function(k){if(!this.dpa){var c=this.Gv.get(k),h="alternate"==k.get("animationDirection"),g="backward"==k.get("currentDirection")&amp;&amp;h,b=k.get("loop"),d="last"==k.get("finalFrame"),f=k.get("currentTime");k=k.get("duration");b?(c.loop=h?THREE.LoopPingPong:THREE.LoopRepeat,c.repetitions=Infinity,c.clampWhenFinished=!1):g?(c.loop=THREE.LoopPingPong,c.repetitions=2,c.clampWhenFinished=
!1):(c.loop=THREE.LoopOnce,c.repetitions=1,c.clampWhenFinished=d||h);h=!h||-1!=c._loopCount&amp;&amp;0!=c._loopCount%2?h&amp;&amp;1==c._loopCount%2?k-f:f:g?k+k-f:f;c.time!=h&amp;&amp;(c.time=h,c.paused&amp;&amp;c.enabled&amp;&amp;0==h&amp;&amp;c.stop());this.Ga()}};e.prototype.Hua=function(k){this.Sza(k.source)};e.prototype.Sza=function(k){var c=this.Gv.get(k),h=k.get("state");var g=0&lt;=this.Hv.indexOf(k)?m.PLAYING:c.paused&amp;&amp;c.enabled&amp;&amp;c.time&lt;k.get("duration")?m.Qb:m.V;g!=h&amp;&amp;(g==m.PLAYING?h==m.Qb?(this.Hv.splice(this.Hv.indexOf(k),1),c.paused=!0):
h==m.V&amp;&amp;(this.Hv.splice(this.Hv.indexOf(k),1),!c.paused&amp;&amp;c.enabled&amp;&amp;c.stop()):g==m.Qb?h==m.PLAYING?(this.Hv.push(k),c.paused=!1):h==m.V&amp;&amp;c.stop():g==m.V&amp;&amp;(h==m.PLAYING?(this.Hv.push(k),c.paused&amp;&amp;c.enabled&amp;&amp;"alternate"==k.get("animationDirection")&amp;&amp;"backward"==k.get("currentDirection")?c.paused=!1:(c.reset(),c.play(),c.fadeIn(.1))):h==m.Qb&amp;&amp;(c.play(),c.paused=!0,this.wh.update(0))),k.set("state",h),this.Ga())};return e});
define("lw",["require","exports"],function(){return function(){function a(){}a.Em=function(e,l,m){return this.NF(e,l,m)};a.Lp=function(e,l,m){return this.NF(e,m,l)};a.NF=function(e,l,m){return 2*Math.atan(m*Math.tan(e*this.TC*.5)/l)*this.QMa};a.QMa=180/Math.PI;a.TC=Math.PI/180;return a}()});
define("cv",["require","exports","fT","lw","three.mod"],function(a,e,l,m,k){return function(){function c(){}c.Wc=function(h){return h?h.isObject3D?h:(h=h.getComponent(l.Object3D))?h.qa:null:null};c.getWorldPosition=function(h,g){g=g||new k.Vector3;h=this.Wc(h);if(!h)return null;g.setFromMatrixPosition(h.matrixWorld);return g};c.GU=function(h,g){(h=h.getComponent(l.Object3D))&amp;&amp;null!==h.qa&amp;&amp;(h=h.qa,h.matrixAutoUpdate=!1,h.matrixWorldNeedsUpdate=!1,g.Nx&amp;&amp;h.parent?(h.parent.updateWorldMatrix(!0,!1),h.matrix.copy(h.parent.matrixWorld).invert()):
h.matrix.identity(),h.matrix.multiply(this.M3.makeTranslation(g.translationX,g.translationY,g.Je)),h.matrix.multiply(this.M3.makeRotationFromEuler(this.R4a.set(g.Qd*this.TC,g.vd*this.TC,g.He*this.TC,g.Ge))),h.matrix.multiply(this.M3.makeTranslation(g.positionX,g.positionY,g.positionZ)),h.matrix.multiply(this.M3.makeScale(g.scale*g.sf,g.scale*g.Ff,g.scale*g.nh)),h.updateMatrixWorld(!0),h.matrix.decompose(h.position,h.quaternion,h.scale))};c.WS=function(h){if(!h)return[];h=h.getComponent(l.Wh);return(h=
null===h||void 0===h?void 0:h.Oia)?h.animations||[]:[]};c.YS=function(h){return h.getComponent(l.Is)||h.getComponent(l.Mj)};c.Or=function(h){var g=h.getComponent(l.Is);return g?g.camera:(h=h.getComponent(l.Mj))?h.tk||h.camera:null};c.qf=function(h){return this.fT(this.Wc(h))};c.fT=function(h){for(;h&amp;&amp;!h.isScene;)h=h.parent;return h};c.wab=function(h,g){h.userData.camera=g};c.zab=function(h,g,b){h.userData.width=g;h.userData.height=b};c.xab=function(h,g){h.userData.colorSpace!==g&amp;&amp;(h.userData.colorSpace=
g,this.hma(h))};c.yab=function(h,g){h.userData.eDa!==g&amp;&amp;(h.userData.eDa=g,this.hma(h))};c.uu=function(h){return h.userData.camera};c.iT=function(h){return h.userData.width};c.uB=function(h){return h.userData.height};c.hT=function(h){return h.userData.colorSpace};c.c5=function(h,g){h.userData.background!==g&amp;&amp;(h.userData.background=g,this.hma(h))};c.hma=function(h){if(h&amp;&amp;h.userData){var g=h.userData.background,b=h.userData.colorSpace,d=h.userData.eDa;g&amp;&amp;g.isColor?h.background=b==k.SRGBColorSpace||d?
g:g.clone().convertLinearToSRGB():(g&amp;&amp;g.isTexture&amp;&amp;(g.colorSpace=b==k.SRGBColorSpace?k.SRGBColorSpace:k.LinearSRGBColorSpace),h.background=g)}};c.U2a=function(h,g){var b=h.userData.Gla||(h.userData.Gla=[]);0&lt;=b.indexOf(g)||(b.push(g),h.add(g),this.H5(h))};c.wHa=function(h,g){var b=h.userData.Gla;if(b){var d=b.indexOf(g);0&gt;d||(b.splice(d,1),h.remove(g))}};c.H5=function(h){var g=h.userData.Gla;if(g){var b=.99*-h.far;g.forEach(function(d){d.position.z=b})}};c.W2a=function(h,g){var b=h.userData.Cla||
(h.userData.Cla=[]);0&lt;=b.indexOf(g)||(b.push(g),h.add(g),this.tKa(h))};c.yHa=function(h,g){var b=h.userData.Cla;if(b){var d=b.indexOf(g);0&gt;d||(b.splice(d,1),h.remove(g))}};c.tKa=function(h){var g=h.userData.Cla;if(g){var b=.99*h.far;g.forEach(function(d){d.scale.x=d.scale.y=d.scale.z=b})}};c.V2a=function(h,g){var b=h.userData.Lja||(h.userData.Lja=[]);0&lt;=b.indexOf(g)||(b.push(g),h.add(g),this.sKa(h))};c.xHa=function(h,g){var b=h.userData.Lja;if(b){var d=b.indexOf(g);0&gt;d||(b.splice(d,1),h.remove(g))}};
c.sKa=function(h){var g=h.userData.Lja;if(g){var b=1.001*h.near;g.forEach(function(d){d.position.z=-b;d.scale.x=d.scale.y=d.scale.z=2*Math.tan((1&lt;h.aspect?m.Lp(h.fov,h.aspect,1):h.fov)*this.TC*.5)*b*2}.bind(this))}};c.$F=function(h){if((h=this.Wc(h))&amp;&amp;h.parent){var g=this.VDa(h);if(g)return this.PT.setFromMatrixScale(h.parent.matrixWorld),g/Math.max(this.PT.x,this.PT.y,this.PT.z)}};c.VDa=function(h){if((h=this.Wc(h))&amp;&amp;h.parent){var g=this.fT(h);if(g){var b=this.uu(g);if(b)return h.matrixWorld.decompose(this.objectPosition,
this.$7a,this.PT),this.objectPosition.applyMatrix4(b.matrixWorldInverse),this.zm.setFromMatrixScale(b.matrixWorld),2*Math.abs(this.objectPosition.z)*Math.tan(b.fov*this.TC/2)*Math.max(this.zm.x,this.zm.y,this.zm.z)/this.uB(g)}}};c.qB=function(h,g){if(h.userData.id===g)return h;var b=null;if(h.children)for(var d=0;d&lt;h.children.length&amp;&amp;!b;d++)b=this.qB(h.children[d],g);if(!b&amp;&amp;h.skeleton)for(d=0;d&lt;h.skeleton.bones.length&amp;&amp;!b;d++)b=this.qB(h.skeleton.bones[d],g);return b};c.mDa=function(){this.cia||(this.cia=
new k.WebGLRenderer);return this.cia};c.$Ia=function(h){this.Zha||(this.Zha=new k.DRACOLoader,this.Zha.setDecoderPath(k.qLa));this.F3||(this.F3=new k.KTX2Loader,this.F3.setTranscoderPath(k.bLa),this.F3.detectSupport(this.mDa()));h.setKTX2Loader(this.F3);h.setMeshoptDecoder(k.MeshoptDecoder);h.setDRACOLoader(this.Zha);return h};c.M3=new k.Matrix4;c.R4a=new k.Euler;c.objectPosition=new k.Vector3;c.$7a=new k.Quaternion;c.PT=new k.Vector3;c.zm=new k.Vector3;c.TC=Math.PI/180;c.cia=null;return c}()});
define("D","require le lu fT bj cm kc cv".split(" "),function(a){function e(f){this.m=f;this.Bk=this.qe=null;this.nW={};this.vX=new Map;this.pt=this.Kl=this.o=null;this.xg=!1;this.CP=this.CP.bind(this);this.update()}function l(f,n){if(f==n||!(null!=f&amp;&amp;0!=f.length||null!=n&amp;&amp;0!=n.length))return!0;if(null==f||null==n||f.length!=n.length)return!1;for(var q=0;q&lt;f.length;q++)if(f[q]!=n[q])return!1;return!0}var m=a("le"),k=a("lu"),c=a("fT"),h=a("bj"),g=a("cm"),b=a("kc"),d=a("cv");e.prototype.update=function(){var f=
this.m.getComponent(c.Animation);this.Ui(f&amp;&amp;f.properties)};e.prototype.frame=function(f,n){this.AK();this.xg&amp;&amp;(this.xg=!1,this.Kl&amp;&amp;this.Kl.frame(f,n),this.pt&amp;&amp;this.pt.frame(f,n))};e.prototype.dispose=function(){this.Ui(null)};e.prototype.Ui=function(f){this.o!=f&amp;&amp;(this.o&amp;&amp;(m.ca(this.o,["animations.autoplay"],this.CP),this.EYa()),(this.o=f)&amp;&amp;m.bu(this.o,["animations.autoplay"],this.CP),this.CP())};e.prototype.CP=function(){this.$za()};e.prototype.AK=function(){if(!this.qe){var f=d.Wc(this.m),n=d.WS(this.m);
if(this.qe!=f||this.Bk!=n)this.qe=f,this.Bk=n,this.nW={},this.Bk.forEach(function(q){q.name&amp;&amp;(this.nW[q.name]=q)}.bind(this)),this.$za()}};e.prototype.$za=function(){var f=this.o&amp;&amp;this.o.get("animations")||[],n=this.Bk||[],q=n.slice(),p=[],r=[],t=[],u=[];f.length&amp;&amp;n.length&amp;&amp;f.forEach(function(v){var w=v.get("index"),x=v.get("name"),y;void 0!==w&amp;&amp;w&lt;n.length?y=n[w]:void 0!==x&amp;&amp;x in this.nW&amp;&amp;(y=this.nW[x]);0&lt;=q.indexOf(y)&amp;&amp;(q.splice(q.indexOf(y),1),v.get("autoplay")?(p.push(y),r.push(v)):(t.push(y),
u.push(v)))}.bind(this));this.o&amp;&amp;0==r.length&amp;&amp;0&lt;q.length&amp;&amp;(r=q.map(function(v){if(this.vX.has(v))return this.vX.get(v);var w=new h;this.vX.set(v,w);return w}.bind(this)),p=q);l(this.Kl&amp;&amp;this.Kl.getAnimations()||[],r)&amp;&amp;l(this.Kl&amp;&amp;this.Kl.WS()||[],p)||(this.Kl&amp;&amp;(this.Kl.dispose(),this.Kl=null),0&lt;r.length&amp;&amp;(this.Kl=new g(this.o,this.qe,r,p,this.Ga.bind(this))));l(this.pt&amp;&amp;this.pt.getAnimations()||[],u)&amp;&amp;l(this.pt&amp;&amp;this.pt.WS()||[],t)||(this.pt&amp;&amp;(this.pt.dispose(),this.pt=null),0&lt;u.length&amp;&amp;(this.pt=new b(this.o,
this.qe,u,t,this.Ga.bind(this))))};e.prototype.EYa=function(){(this.o&amp;&amp;this.o.get("animations")||[]).forEach(function(f){f.set("state",k.V);f.set("currentTime",0)});this.vX.clear()};e.prototype.Ga=function(){this.xg||(this.xg=!0,this.m.P.Ta())};e.$a=function(f){f.I(c.Tu).manager=new e(f)};e.Ca=function(f){var n=f.getComponent(c.Tu);n.manager.dispose();n.manager=null;f.ha(c.Tu)};e.update=function(f){f.getComponent(c.Tu).manager.update()};e.frame=function(f,n,q){f.getComponent(c.Tu).manager.frame(n,
q)};return e});
define("nI",["require","lS","mc","fT","D"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("D");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(c,h){this.nBa.u.length&amp;&amp;this.nBa.u.slice().forEach(k.$a);this.animations.Ea.length&amp;&amp;this.animations.Ea.slice().forEach(function(g){k.update(g,c,h)});this.animations.u.length&amp;&amp;this.animations.u.slice().forEach(function(g){k.frame(g,c,h)});this.oBa.u.length&amp;&amp;this.oBa.u.slice().forEach(k.Ca)};a.H={};a.H.nBa=[m.Animation,m.Tu.not];
a.H.oBa=[m.Animation.not,m.Tu];a.H.animations=[m.Animation,m.Tu];return a});
define("fp",["require"],function(){function a(v,w,x,y,z){for(var B,D=0,I=w,A=x-y;I&lt;x;I+=y)D+=(v[A]-v[I])*(v[I+1]+v[A+1]),A=I;if(z===0&lt;D)for(z=w;z&lt;x;z+=y)B=r(z,v[z],v[z+1],B);else for(z=x-y;z&gt;=w;z-=y)B=r(z,v[z],v[z+1],B);B&amp;&amp;b(B,B.next)&amp;&amp;(t(B),B=B.next);return B}function e(v,w){if(!v)return v;w||(w=v);do{var x=!1;if(v.EJa||!b(v,v.next)&amp;&amp;0!==g(v.prev,v,v.next))v=v.next;else{t(v);v=w=v.prev;if(v===v.next)break;x=!0}}while(x||v!==w);return w}function l(v,w,x,y,z,B,D){if(v){if(!D&amp;&amp;B){var I=v,A=I;do 0===
A.z&amp;&amp;(A.z=c(A.x,A.y,y,z,B)),A.hs=A.prev,A=A.Lm=A.next;while(A!==I);A.hs.Lm=null;A.hs=null;I=A;var E,J,C,L,S=1;do{A=I;var U=I=null;for(J=0;A;){J++;var V=A;for(E=C=0;E&lt;S&amp;&amp;(C++,V=V.Lm,V);E++);for(L=S;0&lt;C||0&lt;L&amp;&amp;V;)0!==C&amp;&amp;(0===L||!V||A.z&lt;=V.z)?(E=A,A=A.Lm,C--):(E=V,V=V.Lm,L--),U?U.Lm=E:I=E,E.hs=U,U=E;A=V}U.Lm=null;S*=2}while(1&lt;J)}for(I=v;v.prev!==v.next;){A=v.prev;V=v.next;if(B)U=m(v,y,z,B);else a:{var W=v;U=W.prev;L=W.next;if(0&lt;=g(U,W,L))U=!1;else{J=U.x;C=W.x;S=L.x;E=U.y;W=W.y;var K=L.y,N=J&lt;C?J&lt;S?J:S:
C&lt;S?C:S,R=E&lt;W?E&lt;K?E:K:W&lt;K?W:K,X=J&gt;C?J&gt;S?J:S:C&gt;S?C:S,ba=E&gt;W?E&gt;K?E:K:W&gt;K?W:K;for(L=L.next;L!==U;){if(L.x&gt;=N&amp;&amp;L.x&lt;=X&amp;&amp;L.y&gt;=R&amp;&amp;L.y&lt;=ba&amp;&amp;h(J,E,C,W,S,K,L.x,L.y)&amp;&amp;0&lt;=g(L.prev,L,L.next)){U=!1;break a}L=L.next}U=!0}}if(U)w.push(A.Qg/x|0),w.push(v.Qg/x|0),w.push(V.Qg/x|0),t(v),I=v=V.next;else if(v=V,v===I){if(D)if(1===D){v=e(v);D=w;I=x;A=v;do V=A.prev,U=A.next.next,!b(V,U)&amp;&amp;d(V,A,A.next,U)&amp;&amp;q(V,U)&amp;&amp;q(U,V)&amp;&amp;(D.push(V.Qg/I|0),D.push(A.Qg/I|0),D.push(U.Qg/I|0),t(A),t(A.next),A=v=U),A=A.next;while(A!==v);v=e(A);
l(v,w,x,y,z,B,2)}else{if(2===D)a:{D=v;do{for(I=D.next.next;I!==D.prev;){if(A=D.Qg!==I.Qg){A=D;V=I;if(U=A.next.Qg!==V.Qg&amp;&amp;A.prev.Qg!==V.Qg){b:{U=A;do{if(U.Qg!==A.Qg&amp;&amp;U.next.Qg!==A.Qg&amp;&amp;U.Qg!==V.Qg&amp;&amp;U.next.Qg!==V.Qg&amp;&amp;d(U,U.next,A,V)){U=!0;break b}U=U.next}while(U!==A);U=!1}U=!U}if(U){if(U=q(A,V)&amp;&amp;q(V,A)){U=A;J=!1;C=(A.x+V.x)/2;S=(A.y+V.y)/2;do U.y&gt;S!==U.next.y&gt;S&amp;&amp;U.next.y!==U.y&amp;&amp;C&lt;(U.next.x-U.x)*(S-U.y)/(U.next.y-U.y)+U.x&amp;&amp;(J=!J),U=U.next;while(U!==A);U=J}U=U&amp;&amp;(g(A.prev,A,V.prev)||g(A,V.prev,V))||b(A,
V)&amp;&amp;0&lt;g(A.prev,A,A.next)&amp;&amp;0&lt;g(V.prev,V,V.next)}A=U}if(A){v=p(D,I);D=e(D,D.next);v=e(v,v.next);l(D,w,x,y,z,B,0);l(v,w,x,y,z,B,0);break a}I=I.next}D=D.next}while(D!==v)}}else l(e(v),w,x,y,z,B,1);break}}}}function m(v,w,x,y){var z=v.prev,B=v.next;if(0&lt;=g(z,v,B))return!1;var D=z.x,I=v.x,A=B.x,E=z.y,J=v.y,C=B.y,L=D&lt;I?D&lt;A?D:A:I&lt;A?I:A,S=E&lt;J?E&lt;C?E:C:J&lt;C?J:C,U=D&gt;I?D&gt;A?D:A:I&gt;A?I:A,V=E&gt;J?E&gt;C?E:C:J&gt;C?J:C,W=c(L,S,w,x,y);w=c(U,V,w,x,y);x=v.hs;for(v=v.Lm;x&amp;&amp;x.z&gt;=W&amp;&amp;v&amp;&amp;v.z&lt;=w;){if(x.x&gt;=L&amp;&amp;x.x&lt;=U&amp;&amp;x.y&gt;=S&amp;&amp;x.y&lt;=V&amp;&amp;
x!==z&amp;&amp;x!==B&amp;&amp;h(D,E,I,J,A,C,x.x,x.y)&amp;&amp;0&lt;=g(x.prev,x,x.next))return!1;x=x.hs;if(v.x&gt;=L&amp;&amp;v.x&lt;=U&amp;&amp;v.y&gt;=S&amp;&amp;v.y&lt;=V&amp;&amp;v!==z&amp;&amp;v!==B&amp;&amp;h(D,E,I,J,A,C,v.x,v.y)&amp;&amp;0&lt;=g(v.prev,v,v.next))return!1;v=v.Lm}for(;x&amp;&amp;x.z&gt;=W;){if(x.x&gt;=L&amp;&amp;x.x&lt;=U&amp;&amp;x.y&gt;=S&amp;&amp;x.y&lt;=V&amp;&amp;x!==z&amp;&amp;x!==B&amp;&amp;h(D,E,I,J,A,C,x.x,x.y)&amp;&amp;0&lt;=g(x.prev,x,x.next))return!1;x=x.hs}for(;v&amp;&amp;v.z&lt;=w;){if(v.x&gt;=L&amp;&amp;v.x&lt;=U&amp;&amp;v.y&gt;=S&amp;&amp;v.y&lt;=V&amp;&amp;v!==z&amp;&amp;v!==B&amp;&amp;h(D,E,I,J,A,C,v.x,v.y)&amp;&amp;0&lt;=g(v.prev,v,v.next))return!1;v=v.Lm}return!0}function k(v,w){return v.x-w.x}function c(v,w,x,y,
z){v=(v-x)*z|0;w=(w-y)*z|0;v=(v|v&lt;&lt;8)&amp;16711935;v=(v|v&lt;&lt;4)&amp;252645135;v=(v|v&lt;&lt;2)&amp;858993459;w=(w|w&lt;&lt;8)&amp;16711935;w=(w|w&lt;&lt;4)&amp;252645135;w=(w|w&lt;&lt;2)&amp;858993459;return(v|v&lt;&lt;1)&amp;1431655765|((w|w&lt;&lt;1)&amp;1431655765)&lt;&lt;1}function h(v,w,x,y,z,B,D,I){return(z-D)*(w-I)&gt;=(v-D)*(B-I)&amp;&amp;(v-D)*(y-I)&gt;=(x-D)*(w-I)&amp;&amp;(x-D)*(B-I)&gt;=(z-D)*(y-I)}function g(v,w,x){return(w.y-v.y)*(x.x-w.x)-(w.x-v.x)*(x.y-w.y)}function b(v,w){return v.x===w.x&amp;&amp;v.y===w.y}function d(v,w,x,y){var z=n(g(v,w,x)),B=n(g(v,w,y)),D=n(g(x,y,v)),I=n(g(x,y,w));
return z!==B&amp;&amp;D!==I||0===z&amp;&amp;f(v,x,w)||0===B&amp;&amp;f(v,y,w)||0===D&amp;&amp;f(x,v,y)||0===I&amp;&amp;f(x,w,y)?!0:!1}function f(v,w,x){return w.x&lt;=Math.max(v.x,x.x)&amp;&amp;w.x&gt;=Math.min(v.x,x.x)&amp;&amp;w.y&lt;=Math.max(v.y,x.y)&amp;&amp;w.y&gt;=Math.min(v.y,x.y)}function n(v){return 0&lt;v?1:0&gt;v?-1:0}function q(v,w){return 0&gt;g(v.prev,v,v.next)?0&lt;=g(v,w,v.next)&amp;&amp;0&lt;=g(v,v.prev,w):0&gt;g(v,w,v.prev)||0&gt;g(v,v.next,w)}function p(v,w){var x=new u(v.Qg,v.x,v.y),y=new u(w.Qg,w.x,w.y),z=v.next,B=w.prev;v.next=w;w.prev=v;x.next=z;z.prev=x;y.next=x;x.prev=y;B.next=
y;y.prev=B;return y}function r(v,w,x,y){v=new u(v,w,x);y?(v.next=y.next,v.prev=y,y.next.prev=v,y.next=v):(v.prev=v,v.next=v);return v}function t(v){v.next.prev=v.prev;v.prev.next=v.next;v.hs&amp;&amp;(v.hs.Lm=v.Lm);v.Lm&amp;&amp;(v.Lm.hs=v.hs)}function u(v,w,x){this.Qg=v;this.x=w;this.y=x;this.next=this.prev=null;this.z=0;this.Lm=this.hs=null;this.EJa=!1}return function(v,w,x){x=x||2;var y=w&amp;&amp;w.length,z=y?w[0]*x:v.length,B=a(v,0,z,x,!0),D=[];if(!B||B.next===B.prev)return D;var I;if(y){var A=B;var E=x;B=[];var J;
y=0;for(J=w.length;y&lt;J;y++){var C=w[y]*E;var L=y&lt;J-1?w[y+1]*E:v.length;C=a(v,C,L,E,!1);C===C.next&amp;&amp;(C.EJa=!0);L=B;var S=L.push,U=C,V=C;do{if(U.x&lt;V.x||U.x===V.x&amp;&amp;U.y&lt;V.y)V=U;U=U.next}while(U!==C);S.call(L,V)}B.sort(k);for(y=0;y&lt;B.length;y++){E=void 0;w=B[y];b:{J=A;C=w.x;L=w.y;S=-Infinity;do{if(L&lt;=J.y&amp;&amp;L&gt;=J.next.y&amp;&amp;J.next.y!==J.y&amp;&amp;(U=J.x+(L-J.y)*(J.next.x-J.x)/(J.next.y-J.y),U&lt;=C&amp;&amp;U&gt;S&amp;&amp;(S=U,E=J.x&lt;J.next.x?J:J.next,U===C)))break b;J=J.next}while(J!==A);if(E){V=E;var W=E.x,K=E.y,N=Infinity;J=E;do{if(C&gt;=
J.x&amp;&amp;J.x&gt;=W&amp;&amp;C!==J.x&amp;&amp;h(L&lt;K?C:S,L,W,K,L&lt;K?S:C,L,J.x,J.y)){U=Math.abs(L-J.y)/(C-J.x);var R;if((R=q(J,w))&amp;&amp;!(R=U&lt;N)&amp;&amp;(R=U===N)&amp;&amp;!(R=J.x&gt;E.x)&amp;&amp;(R=J.x===E.x)){R=E;var X=J;R=0&gt;g(R.prev,R,X.prev)&amp;&amp;0&gt;g(X.next,R,R.next)}R&amp;&amp;(E=J,N=U)}J=J.next}while(J!==V)}else E=null}E&amp;&amp;(w=p(E,w),e(w,w.next),A=e(E,E.next))}B=A}if(v.length&gt;80*x){var ba=I=v[0];var da=y=v[1];for(A=x;A&lt;z;A+=x)w=v[A],E=v[A+1],w&lt;ba&amp;&amp;(ba=w),E&lt;da&amp;&amp;(da=E),w&gt;I&amp;&amp;(I=w),E&gt;y&amp;&amp;(y=E);I=Math.max(I-ba,y-da);I=0!==I?32767/I:0}l(B,D,x,ba,da,I,0);return D}});
define("os",["require","exports","three.mod"],function(a,e,l){return function(){function m(){}m.Z5a=function(k){return k.userData.bs||k.material};m.iB=function(k,c){if(k.material!=c&amp;&amp;k.userData.bs!=c){var h=k.userData.IT,g=k.userData.vja;this.oU(k);k.material=c;g?this.eCa(k):h&amp;&amp;this.eia(k);k.needsUpdate=!0}};m.eia=function(k,c){void 0===c&amp;&amp;(c=null);k.userData.IT||(k.userData.IT=!0,k.userData.bs=k.material,k.material=c||this.$3a(k.material))};m.oU=function(k){k.userData.IT&amp;&amp;(this.K4a(k.material),k.material=
k.userData.bs,delete k.userData.bs,delete k.userData.IT,delete k.userData.vja)};m.ecb=function(k){if(k.userData.IT){var c=k.userData.bs;k=k.material;k.side=c.side;k.depthTest=c.depthTest;k.map&amp;&amp;c.map&amp;&amp;(k.map.colorSpace=c.map.colorSpace);k.emissiveMap&amp;&amp;c.emissiveMap&amp;&amp;(k.emissiveMap.colorSpace=c.emissiveMap.colorSpace)}};m.eCa=function(k){this.A6a(k)||(this.oU(k),this.eia(k,this.Z3a(k.material)),k.userData.vja=!0)};m.A6a=function(k){return!(!k.userData.vja&amp;&amp;k.material&amp;&amp;!this.x3(k.material))};m.x3=function(k){return Array.isArray(k)?
!!k.every(function(c){return m.x3(c)}):k?!(k.isMeshPhysicalMaterial||k.isMeshStandardMaterial):!1};m.Z3a=function(k){return Array.isArray(k)?k.map(function(c){return m.aCa(c)}):k?this.aCa(k):k};m.aCa=function(k){return(new l.MeshBasicMaterial).copy(k)};m.$3a=function(k){return Array.isArray(k)?k.map(function(c){return c.clone()}):k?k.clone():k};m.K4a=function(k){Array.isArray(k)?k.forEach(function(c){c.dispose()}):k&amp;&amp;k.dispose()};return m}()});
define("p","require lS py fp mc fT cv os".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("fp"),k=a("mc"),c=a("fT"),h=a("cv"),g=a("os");a=e.extend(k,function(){k.apply(this,arguments);this.Vb=this.Vb.bind(this);this.Ib=this.Ib.bind(this);this.kb=this.kb.bind(this);this.I5=this.I5.bind(this)});a.prototype.Vc=function(){this.rBa.u.length&amp;&amp;this.rBa.u.slice().forEach(this.Vb);this.qBa.Ea.length&amp;&amp;this.dcb(this.qBa.Ea.slice());this.areas.Ea.length&amp;&amp;this.areas.Ea.slice().forEach(this.Ib);this.sBa.u.length&amp;&amp;
this.sBa.u.slice().forEach(this.kb);this.tBa.u.length&amp;&amp;this.tBa.u.slice().forEach(this.kb)};a.prototype.Vb=function(C){C.I(c.Sy);this.Ib(C)};a.prototype.Ib=function(C){this.lcb(C);this.bV(C)};a.prototype.dcb=function(C){var L=[];C.forEach(function(S){S.getComponent(c.pC).V1.forEach(function(U){-1===L.indexOf(U)&amp;&amp;L.push(U)})});L.forEach(this.I5)};a.prototype.lcb=function(C){this.qcb(C);this.I5(C)};a.prototype.qcb=function(C){var L=C.getComponent(c.Tm),S=L&amp;&amp;L.u||[],U=(L=C.getComponent(c.Sy))&amp;&amp;L.u||
[];U.forEach(function(V){if(-1===S.indexOf(V)){var W=V.getComponent(c.pC).V1.filter(function(K){return K!==K});0==W.length?V.ha(c.pC):V.J(c.pC).V1=W}});S.forEach(function(V){-1===U.indexOf(V)&amp;&amp;V.J(c.pC,!0).V1.push(C)})};var b=new THREE.Matrix4,d=[];a.prototype.I5=function(C){var L=C.getComponent(c.Tm);for(L=L&amp;&amp;L.u||[];d.length&lt;L.length;)d.push(new THREE.Vector3);var S=L.map(function(N,R){return N.getComponent(c.Object3D).qa.getWorldPosition(d[R])});S=S.filter(function(N,R){return 1E-4&lt;N.distanceTo(S[(R+
1)%S.length])});L=this.o6a(S);if(0===L.length)this.Uqa(C),this.Cza(C);else{this.LZa(C,3*L.length);this.scb(C,d,L);b.copy(C.getComponent(c.Object3D).qa.matrixWorld).invert();d.forEach(function(N){N.applyMatrix4(b)});C=C.getComponent(c.Geometry);for(var U=C.geometry.attributes.position.array,V=0,W=0;V&lt;L.length;){var K=d[L[V++]];U[W++]=K.x;U[W++]=K.y;U[W++]=K.z;K=d[L[V++]];U[W++]=K.x;U[W++]=K.y;U[W++]=K.z;K=d[L[V++]];U[W++]=K.x;U[W++]=K.y;U[W++]=K.z}C.geometry.attributes.position.needsUpdate=!0}};var f=
new THREE.Plane,n=new THREE.Vector3,q=new THREE.Vector3,p=new THREE.Vector3,r=new THREE.Line3,t=new THREE.Vector3,u=new THREE.Vector3,v=new THREE.Vector3,w=new THREE.Vector3,x=new THREE.Vector3,y=5*Math.PI/180;a.prototype.o6a=function(C){if(3&gt;C.length)return[];var L=C[0];for(var S=Number.NEGATIVE_INFINITY,U=1;U&lt;C.length;++U){var V=L.distanceToSquared(C[U]);if(!(V&lt;=S)){S=V;var W=C[U]}}if(0&gt;=S)return[];r.set(L,W);S=Number.NEGATIVE_INFINITY;for(U=0;U&lt;C.length;++U)if(V=r.closestPointToPoint(C[U],!0,t).distanceToSquared(C[U]),
!(V&lt;=S)){S=V;var K=C[U]}if(0&gt;=S)return[];f.setFromCoplanarPoints(L,W,K);for(U=0;U&lt;C.length;++U)if(S=C[U],S!==L&amp;&amp;S!==W&amp;&amp;S!==K){u.copy(L).sub(S).normalize();v.copy(W).sub(S).normalize();w.copy(K).sub(S).normalize();S=u.dot(v);V=u.dot(w);var N=v.dot(w);S&lt;V&amp;&amp;S&lt;N?x.copy(u).cross(v):V&lt;N?x.copy(u).cross(w):x.copy(v).cross(w);x.normalize();S=Math.abs(Math.acos(x.dot(f.normal)));S&gt;.5*Math.PI&amp;&amp;(S=Math.PI-S);if(S&gt;y)return[]}q.copy(C[1]).sub(C[0]).normalize();p.copy(f.normal).cross(q).normalize();L=[];for(U=
0;U&lt;C.length;++U)f.projectPoint(C[U],n),L.push(n.dot(q),n.dot(p));return m(L,null,2)};var z=new THREE.Vector3,B=new THREE.Vector3,D=new THREE.Vector3,I=new THREE.Vector3,A=new THREE.Vector3,E=new THREE.Vector3,J=new THREE.Vector3;a.prototype.scb=function(C,L,S){var U=0;z.set(0,0,0);for(var V=0;V&lt;S.length;){D.copy(L[S[V++]]);I.copy(L[S[V++]]);A.copy(L[S[V++]]);B.copy(D).add(I).add(A).divideScalar(3);var W=.5*J.subVectors(A,D).cross(E.subVectors(I,D)).length();B.multiplyScalar(W);z.add(B);U+=W}z.divideScalar(U);
L=C.J(c.va,!0);L.positionX=z.x;L.positionY=z.y;L.positionZ=z.z;h.GU(C,L);this.Cza(C,U)};a.prototype.Cza=function(C,L){(C=(C=C.J(c.Tm))&amp;&amp;C.N)&amp;&amp;C.trigger(l.ba,{area:L})};a.prototype.bV=function(C){var L=C.getComponent(c.Object3D);if(L=L&amp;&amp;L.qa){var S=C.getComponent(c.Material).material;S&amp;&amp;g.iB(L,S);L.renderOrder=C.getComponent(c.Tm).renderOrder}};a.prototype.Uqa=function(C){var L=C.getComponent(c.Geometry);L&amp;&amp;(L.geometry&amp;&amp;L.geometry.dispose(),C.ha(c.Geometry),C.getComponent(c.Object3D).qa.geometry=null);
if(L=C.getComponent(c.Object3D))L.qa&amp;&amp;L.qa.parent&amp;&amp;L.qa.parent.remove(L.qa),C.ha(c.Object3D)};a.prototype.LZa=function(C,L){var S=C.getComponent(c.Geometry);S&amp;&amp;S.geometry&amp;&amp;S.geometry.attributes.position.array.length===3*L||(S=C.J(c.Geometry,!0),S.geometry&amp;&amp;S.geometry.dispose(),S.geometry=this.nQa(L),L=C.getComponent(c.Object3D),L||(L=C.I(c.Object3D),L.qa=new THREE.Mesh,this.bV(C)),L.qa.geometry=S.geometry)};a.prototype.nQa=function(C){var L=new THREE.BufferGeometry,S=L.setAttribute,U=THREE.Float32BufferAttribute;
C*=3;for(var V=[],W=0;W&lt;C;W++)V.push(0);S.call(L,"position",new U(V,3));return L};a.prototype.kb=function(C){this.Uqa(C);C.ha(c.Sy);C.ha(c.Object3D)};a.H={};a.H.rBa=[c.Material,c.Tm,c.Sy.not];a.H.qBa=[c.Object3D,c.va,c.pC];a.H.areas=[c.Tm,c.Material,c.Sy];a.H.sBa=[c.Tm.not,c.Sy];a.H.tBa=[c.Material.not,c.Sy];return a});
define("nD","require lS py mc fT cv".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("mc"),k=a("fT"),c=a("cv");a=e.extend(m,function(){m.apply(this,arguments);this.sla=this.sla.bind(this);this.y5=this.y5.bind(this);this.rla=this.rla.bind(this);this.x5=this.x5.bind(this);this.vS=new Map;this.LFa=new Map;this.Y1=new Map;this.MFa=new Map});a.prototype.Vc=function(){this.yBa.u.length&amp;&amp;this.yBa.u.slice().forEach(this.sla);this.zBa.u.length&amp;&amp;this.zBa.u.slice().forEach(this.y5);this.ABa.u.length&amp;&amp;this.ABa.u.slice().forEach(this.y5);
this.BBa.u.length&amp;&amp;this.BBa.u.slice().forEach(this.rla);this.CBa.u.length&amp;&amp;this.CBa.u.slice().forEach(this.x5);this.DBa.u.length&amp;&amp;this.DBa.u.slice().forEach(this.x5);this.frame()};a.H={};a.H.yBa=[k.Object3D,k.jo,k.Yu.not];a.H.y3a=[k.Object3D,k.jo,k.Yu];a.H.zBa=[k.Object3D.not,k.Yu];a.H.ABa=[k.jo.not,k.Yu];a.H.BBa=[k.Object3D,k.Wy,k.Xy.not];a.H.CBa=[k.Object3D.not,k.Xy];a.H.DBa=[k.Wy.not,k.Xy];a.prototype.frame=function(){0!=this.y3a.u.length&amp;&amp;this.Y1.forEach(function(h,g){var b=this.vS.get(g)||[];
b.forEach(function(d){var f=d.getComponent(k.Object3D).qa;d.getComponent(k.Xy).position.set(0,0,0).applyMatrix4(f.matrixWorld)});h.forEach(function(d){var f=d.getComponent(k.Object3D).qa;d.getComponent(k.Yu).position.set(0,0,0).applyMatrix4(f.matrixWorld)});h.forEach(function(d){var f=d.getComponent(k.jo).N;d=this.XS(b,d.getComponent(k.Yu).position);f.trigger(l.ba,{beacons:d})}.bind(this))}.bind(this))};a.prototype.n5a=function(h){return function(g){var b=this.vS.get(h.P)||[];return this.XS(b,g)}.bind(this)};
a.prototype.XS=function(h,g){h=h.map(function(b){return{entity:b,distance:g.distanceTo(b.getComponent(k.Xy).position)}});h.sort(function(b,d){return b.distance-d.distance});return h};a.prototype.sla=function(h){h.I(k.Yu).position=new THREE.Vector3;this.MFa.set(h,c.Wc(h));var g=this.Y1.get(h.P);g||this.Y1.set(h.P,g=[]);0&gt;g.indexOf(h)&amp;&amp;g.push(h);h.getComponent(k.jo).XS=this.n5a(h)};a.prototype.y5=function(h){var g=this.Y1.get(h.P),b=g.indexOf(h);0&lt;=b&amp;&amp;g.splice(b,1);this.MFa["delete"](h);h.ha(k.Yu)};
a.prototype.rla=function(h){h.I(k.Xy).position=new THREE.Vector3;this.LFa.set(h,c.Wc(h));var g=this.vS.get(h.P);g||this.vS.set(h.P,g=[]);0&gt;g.indexOf(h)&amp;&amp;g.push(h)};a.prototype.x5=function(h){var g=this.vS.get(h.P),b=g.indexOf(h);0&lt;=b&amp;&amp;g.splice(b,1);this.LFa["delete"](h);h.ha(k.Xy)};return a});
define("iw","require lS py mc fT lw oS cv".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("mc"),k=a("fT"),c=a("lw"),h=a("oS"),g=a("cv");a=e.extend(m,function(){m.apply(this,arguments);this.ula=this.ula.bind(this);this.vla=this.vla.bind(this);this.J5=this.J5.bind(this);this.K5=this.K5.bind(this);this.Nla=this.Nla.bind(this);this.Ola=this.Ola.bind(this);h.N.bind(l.ba,this.ze,this,!0)});a.prototype.Vc=function(){this.KGa.u.length&amp;&amp;this.KGa.u.slice().forEach(this.ula);this.QGa.u.length&amp;&amp;this.QGa.u.slice().forEach(this.vla);
this.vG.Ea.length&amp;&amp;this.vG.Ea.slice().forEach(this.J5);this.fs.Ea.length&amp;&amp;this.fs.Ea.slice().forEach(this.K5);this.LGa.u.length&amp;&amp;this.LGa.u.slice().forEach(this.Nla);this.RGa.u.length&amp;&amp;this.RGa.u.slice().forEach(this.Ola)};a.prototype.ze=function(){this.fs.u.forEach(function(p){p.J(k.PerspectiveCamera)})};a.prototype.ula=function(p){var r=p.J(k.OrthographicCamera),t=p.I(k.Is);p.I(k.Object3D).qa=t.camera=r.camera=new THREE.OrthographicCamera;this.J5(p)};a.prototype.vla=function(p){var r=p.J(k.PerspectiveCamera),
t=p.I(k.Mj);t.boundingBox=new THREE.Box3;t.w4=!0;p.I(k.Object3D).qa=t.camera=r.camera=new THREE.PerspectiveCamera;this.K5(p)};a.prototype.J5=function(p){var r=p.getComponent(k.OrthographicCamera);p=p.getComponent(k.Is);p.width=r.width;p.height=r.height;p=p.camera;p.left=-.5*r.width;p.right=.5*r.width;p.top=.5*r.height;p.bottom=-.5*r.height;p.updateProjectionMatrix()};a.prototype.K5=function(p){var r=p.getComponent(k.PerspectiveCamera),t=p.getComponent(k.Mj);r.nl?(p.I(k.zk),t.width=h.framebufferWidth?
.5*h.framebufferWidth:r.width,t.height=h.framebufferHeight||r.height,p=t.tk=h.mh.xr.getCamera(),p.aspect=t.width/t.height,p.fov=t.fov=p&amp;&amp;p.cameras.length?2*Math.atan2(1,p.cameras[0].projectionMatrix.elements[5])*f:r.fov,p.near=t.near=.1,p.far=t.far=1E3,g.H5(p)):(p.ha(k.zk),t.fov=r.fov,t.width=r.width,t.height=r.height,t.tk=null,p=t.camera,p.aspect=t.width/t.height,p.fov=t.width&gt;t.height?c.Em(t.fov,t.width,t.height):t.fov,p.near=t.near=r.near,p.far=t.far=r.far,g.H5(p),t.camera.updateProjectionMatrix())};
a.prototype.Nla=function(p){var r=p.getComponent(k.Is);r.camera.parent&amp;&amp;r.camera.parent.remove(r.camera);r.camera=null;p.ha(k.Is);p.ha(k.Object3D)};a.prototype.Ola=function(p){var r=p.getComponent(k.Mj),t=r.camera;h.heb&amp;&amp;t.parent&amp;&amp;t.parent.remove(t);r.camera=null;p.ha(k.Mj);p.ha(k.Object3D)};a.H={};a.H.KGa=[k.OrthographicCamera,k.Is.not];a.H.LGa=[k.OrthographicCamera.not,k.Is];a.H.QGa=[k.PerspectiveCamera,k.Mj.not];a.H.RGa=[k.PerspectiveCamera.not,k.Mj];a.H.vG=[k.OrthographicCamera,k.Is];a.H.fs=[k.PerspectiveCamera,
k.Mj];a.mH=e.extend(m,function(){m.apply(this,arguments);this.hka=this.hka.bind(this)});a.mH.prototype.Vc=function(){this.fs.u.length&amp;&amp;this.fs.u.slice().forEach(this.hka)};a.mH.prototype.hka=function(p){var r=p.getComponent(k.PerspectiveCamera);if(r.vBa){var t=p.getComponent(k.Mj),u=t.scene||g.qf(p),v=t.camera;if(u&amp;&amp;v&amp;&amp;g.fT(v)===u){var w=Number.POSITIVE_INFINITY,x=Number.NEGATIVE_INFINITY;if(r.nl)w=.1,x=1E3;else{var y=!1;t.w4&amp;&amp;(t.boundingBox=this.ZPa(u,t.boundingBox),t.w4=!1,y=!0);u=t.boundingBox;
u=[[u.min.x,u.max.x],[u.min.y,u.max.y],[u.min.z,u.max.z]];for(var z=0;2&gt;z;z++)for(var B=0;2&gt;B;B++)for(var D=0;2&gt;D;D++)q.set(u[0][z],u[1][B],u[2][D]).applyMatrix4(v.matrixWorldInverse),-q.z&gt;x&amp;&amp;(x=-q.z),-q.z&lt;w&amp;&amp;(w=-q.z);u=Math.max(r.wBa||0,0);z=.5*(w+x);w+=(w-z)*u;x+=(x-z)*u;x=Infinity==x||isNaN(x)?2E3:x;w=0&lt;w?w:20&lt;x?.1:.01}if(Math.abs(r.near-w)&gt;d||Math.abs(r.far-x)&gt;d)v.far=t.far=r.far=x,v.near=t.near=r.near=w,g.H5(v),g.tKa(v),g.sKa(v),v.updateProjectionMatrix();y||t.yha||(t.yha=setTimeout(function(){t.yha=
null;t.w4=!0;p.P&amp;&amp;p.P.Ta()},b))}}};a.mH.prototype.ZPa=function(p,r){r||(r=new THREE.Box3);r.makeEmpty();p.traverse(function(t){if(t.boundingBox)var u=t.boundingBox;else{if(!t.geometry||t.isSprite||t.zu||t.material&amp;&amp;!t.material.visible)return;t.updateWorldMatrix(!1,!1);u=t.geometry;null===u.boundingBox&amp;&amp;u.computeBoundingBox();u=u.boundingBox}n.copy(u);n.applyMatrix4(t.matrixWorld);r.union(n)});return r};var b=500,d=1E-4,f=180/Math.PI,n=new THREE.Box3,q=new THREE.Vector3;a.mH.H={};a.mH.H.fs=[k.PerspectiveCamera,
k.Mj];return a});
define("ho",["require","exports","three.mod","fT","cv"],function(a,e,l,m,k){a=function(){function d(){}d.oha=function(f,n,q){f.camera=n;n=q.getComponent(m.Cc);q=(q=k.Wc(q))&amp;&amp;q.matrixWorld;q||(q=n.matrixWorld);q?(f.ray.origin.copy(n.origin).applyMatrix4(q),f.ray.direction.copy(n.origin).add(n.direction).applyMatrix4(q).sub(f.ray.origin).normalize()):(f.ray.origin.copy(n.origin),f.ray.direction.copy(n.direction).normalize());return f};d.intersect=function(f,n){c.length=0;n.forEach(function(q){this.jHa(q);q.isSkinnedMesh&amp;&amp;
!q.userData.tha&amp;&amp;(q.userData.tha=q.geometry.boundingBox,q.geometry.boundingBox=g,q.userData.GBa=q.geometry.boundingSphere,q.geometry.boundingSphere=b,c.push(q))}.bind(this));f.firstHitOnly=!0;n=n.filter(function(q){return(q.isScene||q.parent)&amp;&amp;(!q.isMesh||q.geometry)});h.length=0;h=f.intersectObjects(n,!1,h);c.forEach(function(q){q.geometry.boundingBox=q.userData.tha;delete q.userData.tha;q.geometry.boundingSphere=q.userData.GBa;delete q.userData.GBa});h=h.filter(function(q){return q.object.isLine?
!1:!0});1&lt;h.length&amp;&amp;h.sort(function(q,p){var r=-q.object.renderOrder,t=-p.object.renderOrder;r==t&amp;&amp;(r=q.object.material&amp;&amp;!q.object.material.depthTest?0:1,t=p.object.material&amp;&amp;!p.object.material.depthTest?0:1);r==t&amp;&amp;(r=q.distance,t=p.distance);return r-t});return h};d.jHa=function(f){if(f.isMesh&amp;&amp;f.geometry&amp;&amp;f.geometry.attributes&amp;&amp;f.geometry.attributes.position&amp;&amp;!f.geometry.userData.EBa&amp;&amp;!f.isSkinnedMesh){try{f.geometry.computeBoundsTree()}catch(n){}f.geometry.userData.EBa=!0}};return d}();var c=[],
h=[],g=new l.Box3;g.min.x=g.min.y=g.min.z=-Infinity;g.max.x=g.max.y=g.max.z=Infinity;var b=new l.Sphere;b.center.x=b.center.y=b.center.z=0;b.radius=Infinity;return a});
define("mE",["require","exports","cv","ho","three.mod"],function(a,e,l,m,k){a=function(){function b(d){this.IG=null;this.tCa=new k.Vector3;this.Xha=void 0;this.La=d}b.prototype.refresh=function(){this.IG=null};b.prototype.aH=function(d,f){return 0&lt;this.intersect(d,f).length};b.prototype.l7a=function(d){var f=l.Or(this.La);if(!f)return[];c.far=f.far;c.setFromCamera(d,f);return m.intersect(c,this.d3())};b.prototype.wT=function(d){var f=l.Or(d.La||this.La);if(!f)return[];c.far=Infinity;c.camera=f;c.ray.origin.copy(d.origin);
c.ray.direction.copy(d.direction);d.matrixWorld&amp;&amp;c.ray.applyMatrix4(d.matrixWorld);return m.intersect(c,this.d3())};b.prototype.intersect=function(d,f){c.far=d.distanceTo(f);c.ray.origin.copy(d);c.ray.direction.copy(f).sub(d).normalize();return m.intersect(c,this.d3())};b.prototype.LS=function(d){if(this.tCa.equals(d)&amp;&amp;void 0!==this.Xha)return this.Xha;c.far=Infinity;c.ray.origin.copy(d);var f=[],n=[];this.d3().forEach(function(p){p.isGaussianCloud||p.zu?n.push(p):f.push(p)});var q=Infinity;[f,n].forEach(function(p){(p==
n?g:[h]).forEach(function(r){c.ray.direction.copy(r);r=m.intersect(c,p);0!=r.length&amp;&amp;(r=d.y-r[0].point.y,r&lt;q&amp;&amp;(q=r))})});if(Infinity==q)return Infinity;this.tCa.copy(d);return this.Xha=q};b.prototype.d3=function(){if(this.IG)return this.IG;var d=l.qf(this.La);if(!d)return this.IG=[];var f=[];(b.OT.get(this.La.P)||[]).forEach(function(q){(q=l.Wc(q))&amp;&amp;f.push(q)});this.IG=[];for(d=[d];0&lt;d.length;){var n=d.pop();n.userData.W3||n.isSprite||n.isLine||n.isSkinnedMesh||n.material&amp;&amp;!n.material.visible||-1!==
f.indexOf(n)||(n.children&amp;&amp;d.push.apply(d,n.children),this.IG.push(n))}return this.IG};b.dab=function(d){this.OT.clear();d.forEach(function(f){this.OT.has(f.P)||this.OT.set(f.P,[]);this.OT.get(f.P).push(f)}.bind(this))};b.OT=new Map;return b}();var c=new k.Raycaster,h=new k.Vector3(0,-1,0),g=[(new k.Vector3(0,-1,.1)).normalize(),(new k.Vector3(0,-1,.1)).normalize().applyMatrix4((new k.Matrix4).makeRotationY(2*Math.PI/3)),(new k.Vector3(0,-1,.1)).normalize().applyMatrix4((new k.Matrix4).makeRotationY(2*
-Math.PI/3))];return a});
define("dZ","require exports py lu ol fT pa bL".split(" "),function(a,e,l,m,k,c,h,g){return function(){function b(d,f,n){this.F=d;this.properties=f;this.oh=n;this.zka=0;this.wG=this.my=void 0;this.v4=!1;this.X4(0);this.lia=this.B2=this.kia=this.z2=this.state=void 0;this.Xc(m.V);this.oh.bind(l.G("state"),this.tG,this,!0);this.oh.bind(l.G("movementIndex"),this.kGa,this,!0)}b.prototype.EM=function(){this.oh.get("mandatory")||(this.c2(),this.oh.get("restartMovementOnUserInteraction")?this.state==m.PLAYING&amp;&amp;
(this.GJa(),this.Xc(m.Qb,!0)):this.state==m.PLAYING&amp;&amp;this.Xc(m.V))};b.prototype.Dcb=function(){this.state==m.Qb&amp;&amp;this.v4&amp;&amp;this.oh.get("restartMovementOnUserInteraction")&amp;&amp;this.rbb()};b.prototype.frame=function(d){this.state==m.PLAYING&amp;&amp;null!==this.Se&amp;&amp;(this.Se.lja()||0!=this.my||this.oh.trigger(l.Mp),this.Se.Fb(d),this.jcb(),this.properties.set("x",this.Se.eb("x")),this.properties.set("y",this.Se.eb("y")),this.properties.set("z",this.Se.eb("z")),this.properties.set("yaw",this.SB(this.Se.eb("yaw"),
-180,180)),this.properties.set("pitch",this.Se.eb("pitch")),this.properties.set("distance",this.Se.eb("distance")),this.properties.set("fov",this.Se.eb("fov")),this.properties.set("easing",0),d=this.oh.get("movements")[this.my],d.set("position",this.Se.ll()),d.trigger(l.Uh),this.Se.We()&amp;&amp;(d.trigger(l.Gb),this.X4((this.my+1)%this.oh.get("movements").length,!0),0==this.my&amp;&amp;(this.zka++,this.oh.trigger(l.cq),this.zka==this.oh.get("repeat")&amp;&amp;(this.CHa(),this.Xc(m.V),this.oh.trigger(l.Gb)))))};b.prototype.jcb=
function(){var d=void 0!==this.z2&amp;&amp;void 0!==this.kia,f=void 0!==this.B2&amp;&amp;void 0!==this.lia;if(d||f){var n=this.F.getComponent(c.lb).F;if(n){var q=this.Se.getTime(),p=this.Se.ui();n=n.J(c.Scene,!0);d=d&amp;&amp;q&lt;this.z2?1-q/this.z2:0;f=f&amp;&amp;p-q&lt;this.B2?1-(p-q)/this.B2:0;0&lt;f||0&lt;d?f&gt;d?(n.fL=this.lia,n.OS=f):(n.fL=this.kia,n.OS=d):(n.fL="#000000",n.OS=0)}}};b.prototype.CHa=function(){var d=this.F.getComponent(c.lb);if(d=d&amp;&amp;d.F)d.J(c.Scene).OS=0};b.prototype.dispose=function(){this.c2();this.oh.unbind(l.G("state"),
this.tG,this);this.oh.unbind(l.G("movementIndex"),this.kGa,this);this.Xc(m.V)};b.prototype.tG=function(){var d=this.oh.get("state");this.state!=d&amp;&amp;(d==m.Qb&amp;&amp;this.state==m.V?this.oh.set("state",m.V):this.Xc(d))};b.prototype.Xc=function(d,f){void 0===f&amp;&amp;(f=void 0);this.state!=d&amp;&amp;(this.state=d,this.state==m.PLAYING?(this.c2(),this.v4=!1,this.gCa(),this.R3a()):this.state==m.Qb?(this.v4=!!f,this.GJa()):this.state==m.V&amp;&amp;(this.v4=!1,this.c2(),this.zka=0,d=this.Se.getTime(),f=this.Se.ui(),0&lt;d&amp;&amp;d&lt;f&amp;&amp;this.CHa(),
this.X4(0)));this.oh.set("state",this.state)};b.prototype.kGa=function(){this.X4(this.oh.get("movementIndex"))};b.prototype.X4=function(d,f){void 0===f&amp;&amp;(f=void 0);if(this.my!==d||f)this.my=d,this.gCa(),this.oh.set("movementIndex",this.my),this.oh.get("movements")[this.my].set("position",0)};b.prototype.rbb=function(){this.L4=setTimeout(function(){this.L4=null;this.Xc(m.PLAYING)}.bind(this),this.oh.get("restartMovementDelay"))};b.prototype.c2=function(){this.L4&amp;&amp;(clearTimeout(this.L4),this.L4=null)};
b.prototype.gCa=function(){var d=this.oh.get("movements")[this.my],f=this.properties.get("x",this.properties.get("initialX",0)),n=this.properties.get("y",this.properties.get("initialY",0)),q=this.properties.get("z",this.properties.get("initialZ",0)),p=this.SB(this.properties.get("yaw",this.properties.get("initialYaw",0)),-180,180),r=this.properties.get("pitch",this.properties.get("initialPitch",0)),t=this.properties.get("distance",0),u=this.properties.get("fov",this.properties.get("initialFov"));
if(k.Ja("TargetModel3DCameraMovement",d)){var v=d.get("targetX",f);var w=d.get("targetY",n);var x=d.get("targetZ",q);var y=d.get("targetYaw",p);var z=d.get("targetPitch",r);var B=d.get("targetFov",u);var D=d.get("targetDistance",t);switch(this.V4a(d)){case "left":y=this.SB(y,p-360,p);break;case "right":y=this.SB(y,p,p+360);break;case "longest":y=this.SB(y,p-180,p+180);y=y==p?p+360:y&gt;=p?this.SB(y,p-360,p):this.SB(y,p,p+360);break;default:y=this.SB(y,p-180,p+180)}}else k.Ja("DistanceModel3DCameraMovement",
d)&amp;&amp;(v=f+d.get("xDelta",0),w=n+d.get("yDelta",0),x=q+d.get("zDelta",0),y=p+d.get("yawDelta",0),z=r+d.get("pitchDelta",0),B=u+d.get("fovDelta",0),D=t+d.get("distanceDelta",0));this.Se=new h(d.get("easing"),[new g("x",f,v,d.get("xSpeed")),new g("y",n,w,d.get("ySpeed")),new g("z",q,x,d.get("zSpeed")),new g("yaw",p,y,d.get("yawSpeed")),new g("pitch",r,z,d.get("pitchSpeed")),new g("fov",u,B,d.get("fovSpeed")),new g("distance",t,D,d.get("distanceSpeed"))],d.get("duration"));this.z2=d.get("fadeFromDuration");
this.kia=d.get("fadeFromColor");this.B2=d.get("fadeToDuration");this.lia=d.get("fadeToColor")};b.prototype.R3a=function(){this.wG=void 0};b.prototype.GJa=function(){if(this.Se){this.wG=void 0;var d=this.Se&amp;&amp;this.Se.via("yaw");d&amp;&amp;(d.to&gt;d.from?this.wG="right":d.to&lt;d.from&amp;&amp;(this.wG="left"))}};b.prototype.V4a=function(d){d=d.get("yawPath");"longest"==d&amp;&amp;this.wG&amp;&amp;(d=this.wG);this.wG=void 0;return d};b.prototype.SB=function(d,f,n){for(;d&lt;f;)d+=n-f;for(;d&gt;n;)d-=n-f;return d};return b}()});
define("kM","require exports le py lu dZ cv".split(" "),function(a,e,l,m,k,c,h){return function(){function g(b,d){this.F=b;this.properties=d;this.q4=this.q4.bind(this);this.n4=this.n4.bind(this);this.tG=this.tG.bind(this);this.ml=this.xu=null;this.jM=[];this.Ag=null;this.iC=!1;this.Rx=new Map;l.da(this.properties,["userInteracting"],this.q4,!0);l.da(this.properties,["initialSequence","idleSequence","sequences.movements"],this.n4,!0);l.da(this.properties,["state"],this.tG,!0);this.ready=!1}g.prototype.frame=
function(b){if(!this.ready){var d=h.qf(this.F),f=0;d&amp;&amp;d.traverse(function(n){(n.isMesh||n.isSprite)&amp;&amp;f++});if(0&lt;f)this.ready=!0,this.y8a();else return!1}this.Ag&amp;&amp;this.Rx.get(this.Ag).frame(b);(b=this.Ag&amp;&amp;this.Ag.get("state")==k.PLAYING)&amp;&amp;this.F.P.Ta();this.properties.set("controllingPosition",b)};g.prototype.dispose=function(){this.Ag&amp;&amp;this.Ag.get("mandatory")&amp;&amp;this.properties.set("inMandatorySequence",!1);this.Ag&amp;&amp;this.properties.set("controllingPosition",!1);l.ca(this.properties,["userInteracting"],
this.q4);l.ca(this.properties,["initialSequence","idleSequence","sequences.movements"],this.n4);l.ca(this.properties,["state"],this.tG);this.n5();this.ml&amp;&amp;this.aL(this.ml);this.xu&amp;&amp;this.aL(this.xu);this.jM.forEach(this.aL.bind(this));this.jM=[]};g.prototype.TU=function(){this.iC||this.gG||!this.ml||this.Ag||!this.properties.get("timeToIdle")||(this.gG=setTimeout(function(){this.gG=null;this.m8a()}.bind(this),this.properties.get("timeToIdle")))};g.prototype.n5=function(){this.gG&amp;&amp;(clearTimeout(this.gG),
this.gG=null)};g.prototype.m8a=function(){this.ml&amp;&amp;this.ml.set("state",k.PLAYING)};g.prototype.y8a=function(){this.xu?this.xu.set("state",k.PLAYING):this.TU()};g.prototype.tG=function(){this.Ag?this.Ag.set("state",this.properties.get("state")):this.properties.get("state")==k.PLAYING?(this.TU(),this.gG||this.properties.set("state",k.V)):this.n5()};g.prototype.q4=function(){var b=this.properties.get("userInteracting");this.iC!=b&amp;&amp;(this.iC&amp;&amp;(this.Ag&amp;&amp;this.Rx.get(this.Ag).Dcb(),!this.ml||this.Ag&amp;&amp;this.Ag!=
this.ml||this.TU()),this.iC=b)&amp;&amp;(this.n5(),this.Ag&amp;&amp;this.Rx.get(this.Ag).EM())};g.prototype.n4=function(){var b=this.Hka(this.properties.get("initialSequence"));this.xu!=b&amp;&amp;(this.xu&amp;&amp;this.aL(this.xu),(this.xu=b)&amp;&amp;this.Nha(this.xu));b=this.Hka(this.properties.get("idleSequence"));this.ml!=b&amp;&amp;(this.ml&amp;&amp;this.aL(this.ml),(this.ml=b)&amp;&amp;this.Nha(this.ml));var d=(this.properties.get("sequences")||[]).filter(this.Hka.bind(this));this.jM.forEach(function(n){0&gt;d.indexOf(n)&amp;&amp;this.aL(n)}.bind(this));var f=this.jM;
this.jM=d;this.jM.forEach(function(n){0&gt;f.indexOf(n)&amp;&amp;this.Nha(n)}.bind(this));this.Ag||!this.ml||this.gG||this.TU()};g.prototype.Hka=function(b){var d=b&amp;&amp;b.get("movements");return d&amp;&amp;0!=d.length?b:null};g.prototype.xGa=function(b){b=b.source;var d=b.get("state");d==k.PLAYING?(this.n5(),d=this.Ag,this.Ag=b,d&amp;&amp;d!=this.Ag&amp;&amp;d.set("state",k.V),this.properties.set("state",k.PLAYING),this.properties.set("inMandatorySequence",b.get("mandatory")),this.F.P.Ta()):d==k.Qb?b==this.Ag&amp;&amp;this.properties.set("state",
k.Qb):d==k.V&amp;&amp;b==this.Ag&amp;&amp;(this.properties.set("state",k.V),this.properties.set("inMandatorySequence",!1),this.Ag=null,b!=this.ml&amp;&amp;this.TU())};g.prototype.Nha=function(b){if(this.Rx.has(b))this.Rx.get(b);else{b.set("state",k.V);b.bind(m.G("state"),this.xGa,this,!0);var d=new c(this.F,this.properties,b);this.Rx.set(b,d)}};g.prototype.aL=function(b){this.Rx.has(b)&amp;&amp;(b.set("state",k.V),b.unbind(m.G("state"),this.xGa,this),this.Rx.get(b).dispose(),this.Rx["delete"](b))};return g}()});
define("fi",["require","exports","kM","fT"],function(a,e,l,m){return function(){function k(c){this.uU=this.properties=null;this.F=c;this.update()}k.prototype.update=function(){var c=this.F.getComponent(m.rH);this.oM(c&amp;&amp;c.properties)};k.prototype.oM=function(c){var h;this.properties&amp;&amp;(null===(h=this.uU)||void 0===h?void 0:h.dispose(),this.uU=null);if(this.properties=c)this.uU=new l(this.F,this.properties)};k.prototype.frame=function(c){this.uU&amp;&amp;this.uU.frame(c)};k.prototype.dispose=function(){this.oM(null)};
k.$a=function(c){c.I(m.Zu).manager=new k(c)};k.update=function(c){c.getComponent(m.Zu).manager.update()};k.frame=function(c,h,g){c.getComponent(m.Zu).manager.frame(h,g)};k.Ca=function(c){c.getComponent(m.Zu).manager.dispose();c.ha(m.Zu)};return k}()});define("pj",["require","exports"],function(){return function(){function a(){}a.cja=function(e){return 0&lt;=this.R5.indexOf(e)};a.Xka=function(e){this.R5=[];e.forEach(function(l){l=l.P;0&gt;this.R5.indexOf(l)&amp;&amp;this.R5.push(l)}.bind(this))};a.R5=[];return a}()});
define("lI",["require"],function(){return{Gdb:function(){},Hdb:function(){},uY:function(){return this.o&amp;&amp;this.o.get("inMandatorySequence")||this.o&amp;&amp;!this.o.get("keyboardEnabled")?!0:!1},Xl:function(){return this.o&amp;&amp;this.o.get("inMandatorySequence")||this.o&amp;&amp;(!this.o.get("mouseEnabled")||this.o.get("mouseDisabled"))?!0:!1},ita:function(){return this.o&amp;&amp;this.o.get("doubleClickDisabled")?!0:!1},fva:function(){this.bJ()||this.mw||this.LAa()},eva:function(){this.bJ()||this.mw||this.KAa()},yJ:function(){this.kta()||
this.LAa()},xJ:function(){this.kta()||this.KAa()},LAa:function(){this.o&amp;&amp;this.o.set("userInteracting",!0)},KAa:function(){this.o&amp;&amp;this.o.set("userInteracting",!1)}}});
define("fH",["require","exports","cv","three.mod"],function(a,e,l,m){return function(){function k(c){this.matrixWorld=new m.Matrix4;this.FB=!1;this.timeout=null;this.F=c}k.prototype.oM=function(c,h){if(this.$G!=c||this.propertyName!=h)this.$G&amp;&amp;this.$G.set(this.propertyName,!1),this.$G=c,this.propertyName=h,this.$G&amp;&amp;this.$G.set(this.propertyName,this.FB)};k.prototype.dma=function(){var c=l.Wc(this.F),h=!!c&amp;&amp;!c.matrixWorld.equals(this.matrixWorld);h&amp;&amp;this.matrixWorld.copy(c.matrixWorld);this.bo(h);
this.timeout&amp;&amp;(clearTimeout(this.timeout),this.timeout=null);h&amp;&amp;(this.timeout=setTimeout(function(){this.timeout=null;this.bo(!1)}.bind(this),k.kMa))};k.prototype.Ca=function(){this.bo(!1);this.timeout&amp;&amp;clearTimeout(this.timeout)};k.prototype.bo=function(c){this.FB!=c&amp;&amp;(this.FB=c,this.$G&amp;&amp;this.$G.set(this.propertyName,c))};k.kMa=100;return k}()});
define("oL",["require","exports"],function(){return function(){function a(e){this.properties=e}a.prototype.rIa=function(e){this.properties.set("fov",this.NL(e,this.properties.get("minFov",.1),this.properties.get("maxFov",180)))};a.prototype.Qm=function(e){this.properties.set("yaw",this.Q4(this.O7a(e,this.properties.get("minYaw"),this.properties.get("maxYaw"),this.properties.get("yaw"))))};a.prototype.Gy=function(e){this.properties.set("pitch",this.NL(e,this.properties.get("minPitch",-90),this.properties.get("maxPitch",
90)))};a.prototype.setX=function(e){this.properties.set("x",this.NL(e,this.properties.get("minX"),this.properties.get("maxX")))};a.prototype.setY=function(e){this.properties.set("y",this.NL(e,this.properties.get("minY"),this.properties.get("maxY")))};a.prototype.setZ=function(e){this.properties.set("z",this.NL(e,this.properties.get("minZ"),this.properties.get("maxZ")))};a.prototype.LG=function(e){this.properties.set("distance",this.NL(e,this.properties.get("minDistance"),this.properties.get("maxDistance")))};
a.prototype.cj=function(e){this.properties.set("easing",e)};a.prototype.O7a=function(e,l,m,k){if(void 0!==l||void 0!==m){var c=this.Q4(e-k);if(void 0!==l&amp;&amp;0&gt;c){if(this.Q4(k)+c&lt;l)return l}else if(void 0!==m&amp;&amp;0&lt;c&amp;&amp;this.Q4(k)+c&gt;m)return m}return e};a.prototype.NL=function(e,l,m){if(isNaN(e))throw"invalid value";void 0!==l&amp;&amp;e&lt;l&amp;&amp;(e=l);void 0!==m&amp;&amp;e&gt;m&amp;&amp;(e=m);return e};a.prototype.Q4=function(e){for(;-180&gt;e;)e+=360;for(;180&lt;e;)e-=360;return e};return a}()});
define("pM",["require","ju"],function(a){var e=a("ju");return{Jba:function(l){this.CY=this.CY.bind(this);this.DY=this.DY.bind(this);this.ON=this.xj=!1;this.ag={};for(var m=0;m&lt;l.length;m++)this.ag[l[m]]=!1;this.ZO=0;this.EY=!1;this.$O(!0)},Kba:function(){this.$O(!1)},$O:function(l){this.EY!=l&amp;&amp;(this.EY&amp;&amp;(document.removeEventListener("keyup",this.DY),document.removeEventListener("keydown",this.CY)),this.EY=l)&amp;&amp;(document.addEventListener("keyup",this.DY),document.addEventListener("keydown",this.CY))},
kta:function(){return 0&lt;this.ZO},DY:function(l){if(!(e.tp()||this.uY&amp;&amp;this.uY())){var m=!1;this.xj!=l.shiftKey&amp;&amp;(this.xj=l.shiftKey,m=!0);this.ON!=l.ctrlKey&amp;&amp;(this.ON=l.ctrlKey,m=!0);!0===this.ag[l.code]&amp;&amp;(this.ag[l.code]=!1,m=!0,this.Ko&amp;&amp;this.Ko(l.code),this.ZO--,0==this.ZO&amp;&amp;this.eva&amp;&amp;this.eva());m&amp;&amp;this.NP&amp;&amp;this.NP()}},CY:function(l){if(!(e.tp()||this.uY&amp;&amp;this.uY())){var m=!1;this.xj!=l.shiftKey&amp;&amp;(this.xj=l.shiftKey,m=!0);this.ON!=l.ctrlKey&amp;&amp;(this.ON=l.ctrlKey,m=!0);!1===this.ag[l.code]&amp;&amp;(m=this.ag[l.code]=
!0,this.BE&amp;&amp;this.BE(l.code),this.ZO++,1==this.ZO&amp;&amp;this.fva&amp;&amp;this.fva());m&amp;&amp;this.NP&amp;&amp;this.NP()}},Pdb:function(){return this.xj},Kdb:function(){return this.ON}}});
define("km",["require","exports","bh"],function(a,e,l){a=function(){function k(){this.df=[]}k.prototype.ns=function(c){this.lIa(c);this.ib=c;this.Q9=null};k.prototype.mIa=function(c){this.lIa(c?c.ODa():null);this.ib=null;this.Q9=c};k.prototype.Eab=function(c,h){this.ib&amp;&amp;this.ib.set("cursor",c);this.Q9&amp;&amp;this.Q9.R4(c,h)};k.prototype.lIa=function(c){this.ue&amp;&amp;(this.ue.v9a(this),this.ue=void 0);c&amp;&amp;(this.ue=m.get(c),this.ue.d3a(this))};k.prototype.dispose=function(){this.ns(null);this.df=[]};k.prototype.push=
function(c){this.df.push(c);this.ue&amp;&amp;this.ue.update()};k.prototype.pop=function(c){for(var h=this.df.length-1;0&lt;=h;h--)if(this.df[h]==c){this.df.splice(h,1);this.ue&amp;&amp;this.ue.update();break}};k.prototype.has=function(c){return 0&lt;=this.df.indexOf(c)};k.prototype.top=function(){if(this.df.length)return this.df[this.df.length-1]};k.prototype.all=function(){return this.df};return k}();var m=function(){function k(c){this.ad=c;this.ld=[]}k.prototype.d3a=function(c){this.ld.push(c);this.update()};k.prototype.v9a=
function(c){this.ld.splice(this.ld.indexOf(c),1);this.update();0==this.ld.length&amp;&amp;k.clear(this.ad)};k.prototype.update=function(){var c=this.ZNa();var h=this.Caa(l.UC)?l.UC:this.Caa(l.Vh)?l.Vh:this.Caa(l.Le)?l.Le:this.sr()||l.Ke;this.ld.forEach(function(g){g.Eab(h,c)})};k.prototype.Caa=function(c){for(var h=this.ld.length-1;0&lt;=h;h--)if(this.ld[h].has(c))return!0;return!1};k.prototype.ZNa=function(){var c=[];this.ld.forEach(function(h){h.all().forEach(function(g){0&gt;c.indexOf(g)&amp;&amp;c.push(g)})});return c};
k.prototype.sr=function(){for(var c,h=this.ld.length-1;0&lt;=h&amp;&amp;void 0===c;h--)c=this.ld[h].top();return c};k.get=function(c){var h=this.Ua.get(c);h||this.Ua.set(c,h=new k(c));return h};k.clear=function(c){this.Ua["delete"](c)};k.Ua=new Map;return k}();return a});
define("jV",["require","exports","py","gE"],function(a,e,l,m){return function(k){function c(h){var g=k.call(this)||this;if(h instanceof HTMLElement)g.S3=h;else if("function"===typeof h.gd)g.S3=h.gd().get(0);else if(h.length&amp;&amp;h.get)g.S3=h.get(0);else throw Error("invalid element");g.j4=g.j4.bind(g);document.addEventListener("pointerlockchange",g.j4.bind(g),!1);return g}Z(c,k);c.prototype.dispose=function(){document.removeEventListener("pointerlockchange",this.j4)};c.prototype.lock=function(){if(!this.sp())return this.S3.requestPointerLock()};
c.prototype.unlock=function(){this.sp()&amp;&amp;document.exitPointerLock()};c.prototype.sp=function(){return document.pointerLockElement===this.S3};c.prototype.j4=function(){this.trigger(l.ba)};c.sp=function(){return null!==document.pointerLockElement};return c}(m)});
define("iy",["require","py","km","jV"],function(a){function e(h,g){var b=g.x-h.x;h=g.y-h.y;return Math.sqrt(b*b+h*h)}var l=a("py"),m=a("km"),k=a("jV"),c=180/Math.PI;return{oca:function(){this.eZ=this.rP=this.mw=this.ot=!1;this.D_=this.Be=null;this.pY=new m;this.uP=null;this.GWa=this.QVa.bind(this)},pca:function(){this.l0(null);this.pY.dispose()},$ta:function(h){this.cp(h);if(!this.Xl||!this.Xl()){var g=this.aJ();this.ot||(this.ot=!0,g||this.yJ&amp;&amp;this.yJ());this.rP=!h.originalEvent||!h.originalEvent.buttons||
0===(h.originalEvent.buttons&amp;2);this.D_=h;this.Lo&amp;&amp;this.Lo(h.x,h.y);this.DZ&amp;&amp;this.DZ(h.x,h.y)}},aJ:function(){return this.ot||this.mw||this.eZ},bJ:function(){return this.ot},Ldb:function(){return this.mw},Mdb:function(){return this.rP},Ndb:function(){return this.eZ},bua:function(h){this.cp(h);if(this.Xl&amp;&amp;this.Xl())this.sP(h);else if(this.Mf&amp;&amp;this.Mf(h.x,h.y),this.ot||this.kJ.sp()){var g=void 0!==h.movementX?h.movementX:h.x-this.D_.x,b=void 0!==h.movementY?h.movementY:h.y-this.D_.y;this.kJ.sp()&amp;&amp;(g*=
-1,b*=-1);this.D_=h;this.CZ&amp;&amp;this.CZ(g,b,h.x,h.y)}},sP:function(h){this.ot&amp;&amp;(h&amp;&amp;this.cp(h),this.rP=this.ot=!1,this.Qw&amp;&amp;this.Qw(this.md,this.nd),this.CE&amp;&amp;this.CE(),this.aJ()||this.xJ&amp;&amp;this.xJ())},Wta:function(h){this.Xl&amp;&amp;this.Xl()||(this.cp(h),this.Pw&amp;&amp;this.Pw(h.x,h.y))},Xta:function(h){this.Xl&amp;&amp;this.Xl()||this.ita&amp;&amp;this.ita()||(this.cp(h),this.wJ&amp;&amp;this.wJ(h.x,h.y))},cua:function(h){this.cp(h);if(!this.Xl||!this.Xl()){h=h.HS/10;var g=this.aJ();this.uP||(this.eZ=!0,this.HWa&amp;&amp;this.HWa(),g||this.yJ&amp;&amp;
this.yJ());this.EZ&amp;&amp;this.EZ(h);this.uP&amp;&amp;clearTimeout(this.uP);this.uP=setTimeout(this.GWa,100)}},QVa:function(){this.uP=null;this.FWa&amp;&amp;this.FWa();this.eZ=!1;this.aJ()||this.xJ&amp;&amp;this.xJ()},Zta:function(h){if(!(this.Xl&amp;&amp;this.Xl()||2&gt;h.touches.length)){var g=this.aJ();this.mw||(this.mw=!0,this.RVa(h.touches),g||this.yJ&amp;&amp;this.yJ());this.Yua&amp;&amp;this.Yua();this.sP()}},Yta:function(h){this.Xl&amp;&amp;this.Xl()||2&gt;h.touches.length||!this.mw||(this.dua(h.touches),this.Kca&amp;&amp;this.Kca(this.E0a,this.F0a,this.Ifa,this.G0a),
this.Xua&amp;&amp;this.Xua(this.iba,this.jba,this.GR,this.HR,1,this.Ifa,this.LO,this.Hfa,this.hba,this.FR))},nca:function(){this.mw&amp;&amp;(this.mw=!1,this.Lca&amp;&amp;this.Lca());this.aJ()||this.xJ&amp;&amp;this.xJ()},RVa:function(h){this.hba=this.jba=this.iba=this.LO=this.Ifa=this.HR=this.GR=this.Hfa=this.FR=void 0;this.ER=h;this.dua(h)},dua:function(h){e(h[0],this.ER[0])+e(h[1],this.ER[1])&gt;e(h[0],this.ER[1])+e(h[1],this.ER[0])&amp;&amp;(h=[h[1],h[0]]);var g=h[0];var b=h[1];g=Math.atan2(-(b.y-g.y),b.x-g.x)*c;b=e(h[0],h[1]);var d=(h[0].x+
h[1].x)/2,f=(h[0].y+h[1].y)/2;this.Ifa=void 0!==this.LO?b/this.LO:1;this.G0a=void 0!==this.FR?g-this.FR:0;this.FR=g;this.Hfa=b;this.E0a=void 0!==this.GR?d-this.GR:0;this.F0a=void 0!==this.HR?f-this.HR:0;this.GR=d;this.HR=f;void 0!==this.iba||(this.iba=this.GR);void 0!==this.jba||(this.jba=this.HR);void 0!==this.hba||(this.hba=this.FR);void 0!==this.LO||(this.LO=this.Hfa);this.ER=h},aua:function(){},MRa:function(){this.sP();this.nca()},vO:function(){return this.Be?this.Be.Za():100},TD:function(){return this.Be?
this.Be.Cb():100},pw:function(){return this.Be?Math.max(this.Be.Za(),this.Be.Cb()):100},l0:function(h){this.Be!=h&amp;&amp;(this.Be&amp;&amp;(this.Be.unbind(l.hb,this.$ta,this,!0),this.Be.unbind(l.Pb,this.bua,this,!0),this.Be.unbind(l.Eb,this.sP,this,!0),this.Be.unbind(l.ma,this.Wta,this,!0),this.Be.unbind(l.Dl,this.Xta,this,!0),this.Be.unbind(l.Gs,this.cua,this,!0),this.Be.unbind(l.Z6,this.Yta,this,!0),this.Be.unbind(l.bz,this.Zta,this,!0),this.Be.unbind(l.wH,this.nca,this,!0),this.kJ.unbind(l.ba,this.aua,this,
!0),this.kJ.dispose(),this.kJ=null),this.Be=h,this.pY.ns(this.Be),this.Be&amp;&amp;(this.Be.bind(l.hb,this.$ta,this,!0),this.Be.bind(l.Pb,this.bua,this,!0),this.Be.bind(l.Eb,this.sP,this,!0),this.Be.bind(l.ma,this.Wta,this,!0),this.Be.bind(l.Dl,this.Xta,this,!0),this.Be.bind(l.Gs,this.cua,this,!0),this.Be.bind(l.Z6,this.Yta,this,!0),this.Be.bind(l.bz,this.Zta,this,!0),this.Be.bind(l.wH,this.nca,this,!0),this.kJ=new k(this.Be),this.kJ.bind(l.ba,this.aua,this,!0)))},tP:function(h){h.x=-1+2*h.x/this.vO();h.y=
1-2*h.y/this.TD();return h},cp:function(h){this.md=h.x;this.nd=h.y;this.lJ=h.pageX;this.mJ=h.pageY},SE:function(h){this.pY.push(h)},A_:function(h){this.pY.pop(h)}}});
define("kU",["require","py"],function(a){var e=a("py");return{OYa:function(){this.e0=!1;this.Xo=null;this.lE=this.cJ=0;this.$E=!1;this.Txa(!0)},PYa:function(){this.Txa(!1);this.Bya(null)},Txa:function(l){this.e0!=l&amp;&amp;((this.e0=l)||this.d0())},Bya:function(l){this.Xo!=l&amp;&amp;(this.d0(),this.Xo&amp;&amp;(this.Xo.unbind(e.lo,this.Uxa,this,!0),this.Xo.unbind(e.Wf,this.d0,this,!0),this.Xo.unbind(e.ba,this.Sxa,this,!0),this.lE=this.cJ=0),this.Xo=l)&amp;&amp;(this.Xo.bind(e.lo,this.Uxa,this,!0),this.Xo.bind(e.Wf,this.d0,this,
!0),this.Xo.bind(e.ba,this.Sxa,this,!0))},Uxa:function(){!this.$E&amp;&amp;this.e0&amp;&amp;(this.$E=!0,this.jwa&amp;&amp;this.jwa())},Sxa:function(){this.$E&amp;&amp;(this.cJ=this.Xo.getX(),this.lE=this.Xo.getY(),this.hwa&amp;&amp;this.hwa())},d0:function(){this.$E&amp;&amp;(this.$E=!1,this.lE=this.cJ=0,this.iwa&amp;&amp;this.iwa())},Odb:function(){return this.$E}}});
define("dY","require lS py bs fT lI mE pj fH oL pM iy kU bh pa bL".split(" "),function(a){function e(N){this.bO=!1;this.j$=0;this.$qa=!1;this.ara=N}function l(N){this.m=N;this.Oq=new f(N);this.Jba(y);this.oca();this.OYa();this.iF=.025;this.dm=.25;this.aZ=this.bZ=this.cZ=this.PX=0;this.Fa=null;this.KW=this.Z0=!1;this.wa=void 0;this.zta=new THREE.Vector3(void 0,void 0,void 0);this.gt=[];this.KVa=5;this.GVa=10;this.Uv=new b(this.m);this.SE(t.cz);this.dJ={};[c.na.hj,c.na.Rh,c.na.ab,c.na.ub].forEach(function(R){this.dJ[R]=
new e(300)}.bind(this));[c.na.fo,c.na.tv,c.na.$u,c.na.Av,c.na.Q,c.na.E].forEach(function(R){this.dJ[R]=new e(300)}.bind(this));this.update()}var m=a("lS"),k=a("py"),c=a("bs"),h=a("fT"),g=a("lI"),b=a("mE"),d=a("pj"),f=a("fH"),n=a("oL"),q=a("pM"),p=a("iy"),r=a("kU"),t=a("bh"),u=a("pa"),v=a("bL");m.U1(l,[g,q,p,r]);l.prototype.update=function(){var N=this.m.getComponent(h.HC);this.Ui(N&amp;&amp;N.properties);this.Oq.oM(N&amp;&amp;N.properties,"moving");var R=(!N.ZK||!d.cja(this.m.P))&amp;&amp;N.enabled;this.l0(N&amp;&amp;(R?N.zg:null));
this.$O(!!N&amp;&amp;R&amp;&amp;N.yB);this.Bya(!!N&amp;&amp;R&amp;&amp;N.RHa);R||this.CE();R&amp;&amp;N.yB||(this.zn=this.yn=this.Hk=this.Wj=this.Ik=0)};l.prototype.frame=function(N){this.YUa()?this.lUa(N):this.mUa(N);this.$Ra()};l.prototype.YUa=function(){return this.properties&amp;&amp;this.properties.get("playingSequence")||this.ci};l.prototype.lUa=function(N){this.properties&amp;&amp;this.properties.get("playingSequence")||this.cOa(N)};l.prototype.cOa=function(N){this.ci&amp;&amp;(this.ci.Fb(N),this.Fa.setX(this.ci.eb("x")),this.Fa.setY(this.ci.eb("y")),this.Fa.setZ(this.ci.eb("z")),
this.Fa.cj(0),this.ci.We()&amp;&amp;(this.ci=null),this.m.P.Ta())};var w=1E3/3600*8/1.7;l.prototype.mUa=function(N){J.set(this.o.get("x"),this.o.get("y"),this.o.get("z"));this.oTa(N,S,V);this.zTa(J,S,C);this.Fa.setX(C.x);this.Fa.setY(C.y);this.Fa.setZ(C.z);this.Fa.Qm(this.o.get("yaw")+V.x);this.Fa.Gy(this.o.get("pitch")+V.y);this.Fa.cj(this.dm);0==S.x&amp;&amp;0==S.y&amp;&amp;0==S.z&amp;&amp;0==V.x&amp;&amp;0==V.y||this.m.P.Ta()};l.prototype.$Ra=function(){this.r2a();this.p1a();this.Oq.dma();this.$E&amp;&amp;this.m.P.Ta();this.Uv.refresh()};l.prototype.oTa=
function(N,R,X){N/=1E3;var ba=this.xj?.2:1,da=1.7*w;da*=this.o.get("translationSpeed")*ba;var ea=this.o.get("rotationSpeed")*ba;ba=this.aZ;var G=this.bZ,P=this.cZ,T=this.PX;this.aZ=this.bZ=this.cZ=this.PX=0;var M=(ba*ba+G*G)/x;M=1&lt;M?1/Math.sqrt(M):1;ba*=M;G*=M;var Q=I*Math.atan2(this.cJ,Math.abs(this.lE));M=Math.sqrt(this.cJ*this.cJ+this.lE*this.lE);var Y=Math.max(this.TD(),this.vO()),aa=this.o.get("fov")/Y*2;ba=-ba*aa*ea;G=G*aa*ea;P=25*-P*da;aa=this.uO(c.na.fo,c.na.$u)*da;var ca=this.uO(c.na.Av,
c.na.tv)*da,fa=this.uO(c.na.Q,c.na.E)*da,ha=this.uO(c.na.Rh,c.na.hj)*ea*30,ia=this.uO(c.na.ab,c.na.ub)*ea*30;T=3.4*T/Y;ea*=Q*M*.125;da*=.5*-M*this.lE;(M=this.m.getComponent(h.va))&amp;&amp;(ba||G||P||aa||fa||ca||ha||ia||ea||da||T)?(A.makeRotationFromEuler(E.set(0,M.vd*D,0,M.Ge)),R.set(aa*N,fa*N+T,(ca+da+P)*N).applyMatrix4(A),X.set(ba+(ia+ea)*N,G+ha*N)):(R.set(0,0,0),X.set(0,0))};l.prototype.uO=function(N,R){N=this.dJ[N].getState();if(N===e.l6)return-3;if(N===e.Rh)return-1.5;R=this.dJ[R].getState();return R===
e.l6?3:R===e.Rh?1.5:0};l.prototype.zTa=function(N,R,X){X.copy(N).add(R);if(!X.equals(N)){var ba=!this.zta.equals(N);this.hAa(X,ba);void 0!==this.wa&amp;&amp;0!==R.y&amp;&amp;(this.wa=Math.max(.595,this.wa+R.y));var da=this.Uv.LS(X);(ba||Infinity==da)&amp;&amp;this.JPa();var ea=Infinity!==da?X.y-da:void 0;if(this.o.get("keepHeight")&amp;&amp;Infinity!==da){da=this.tO();if(ea&gt;(ba?ea:this.qTa(N))+this.o.get("maxStepHeight",.25*da)){X.copy(N);return}X.y=(ba?ea:this.xTa(ea))+da}if(this.o.get("collisionDetection")&amp;&amp;(U.copy(R).normalize().multiplyScalar(.1).add(X),
this.Uv.aH(N,U))){X.copy(N);return}void 0!==ea&amp;&amp;this.FNa(ea);this.zta.copy(X)}};l.prototype.JPa=function(){this.gt=[]};l.prototype.qTa=function(N){return 0==this.gt.length?N:this.gt[this.gt.length-1]};l.prototype.xTa=function(N){return this.gt.length&lt;this.KVa?N:this.gt.reduce((R,X)=&gt;R+X,0)/this.gt.length};l.prototype.FNa=function(N){this.gt.push(N);this.gt.length&gt;this.GVa&amp;&amp;this.gt.shift()};l.prototype.hAa=function(N,R){if(void 0===this.wa||R)N=this.Uv.LS(N),Infinity!==N&amp;&amp;(this.wa=N)};l.prototype.tO=
function(){return void 0===this.wa?1.7:this.wa};l.prototype.BE=function(N){this.m.P.Ta();this.dJ[N].Uja()};l.prototype.Ko=function(N){this.dJ[N].Vja()};l.prototype.DZ=function(){this.Ei=!0;this.SE(t.Vh)};l.prototype.wJ=function(N,R){if("translate"==this.o.get("doubleClickAction")&amp;&amp;(this.tP(K.set(N,R)),N=this.Uv.l7a(K),0!=N.length)){var X=N[0];N=J.set(this.o.get("x"),this.o.get("y"),this.o.get("z"));R=C.copy(X.point);this.hAa(N);var ba=this.tO();X.face&amp;&amp;X.face.normal?(X=L.copy(X.face.normal).transformDirection(X.object.matrixWorld),
X=Math.abs(Math.acos(X.dot(W)))&lt;.25*Math.PI):X=R.y&lt;N.y-.75*ba;if(X)R.y+=ba;else{S.copy(R).sub(N);X=S.length();var da=2*ba;if(X&lt;da)return;R.sub(S.multiplyScalar(da/X));R.y+=ba-this.Uv.LS(R)}this.Uv.aH(N,R)||Math.abs(ba-this.Uv.LS(R))&gt;.05*ba||(this.ci=new u("cubic_in_out",[new v("x",N.x,R.x),new v("y",N.y,R.y),new v("z",N.z,R.z)],1500),this.m.P.Ta())}};var x=2500;l.prototype.CZ=function(N,R){this.Ei&amp;&amp;(this.aZ+=N,this.bZ+=R,this.m.P.Ta())};l.prototype.CE=function(){this.Ei=!1;this.A_(t.Vh);this.m.P.Ta()};
l.prototype.EZ=function(N){this.cZ+=N;this.m.P.Ta()};l.prototype.Kca=function(N,R){this.PX+=R;this.m.P.Ta()};l.prototype.jwa=function(){this.MRa();this.SE(t.Vh)};l.prototype.hwa=function(){this.m.P.Ta()};l.prototype.iwa=function(){this.A_(t.Vh)};l.prototype.Ui=function(N){this.o!=N&amp;&amp;(this.o&amp;&amp;(this.Fa=null,z.forEach(function(R){this.o.unbind(k.G(R),this.ada,this,!0)}.bind(this)),B.forEach(function(R){this.o.unbind(k.G(R),this.Bca,this,!0)}.bind(this)),this.o.set("userInteracting",!1)),this.o=N)&amp;&amp;(this.Fa=
new n(this.o),z.forEach(function(R){this.o.bind(k.G(R),this.ada,this,!0)}.bind(this)),this.ada(),B.forEach(function(R){this.o.bind(k.G(R),this.Bca,this,!0)}.bind(this)),this.Bca(),this.o.set("userInteracting",!1))};l.prototype.ada=function(){this.Z0||(this.Z0=!0,this.m.P.Ta())};l.prototype.r2a=function(){if(this.Z0&amp;&amp;this.m&amp;&amp;this.o){this.Z0=!1;var N=this.m.J(h.va,!0);N.translationX=this.o.get("x");N.translationY=this.o.get("y");N.Je=this.o.get("z");N.vd=-this.o.get("yaw");N.Qd=this.o.get("pitch");
N.He=0;N.Ge="YXZ";N.positionX=0;N.positionY=0;N.positionZ=0;N.easing=this.o.get("easing")}};l.prototype.Bca=function(){this.KW||(this.KW=!0,this.m.P.Ta())};l.prototype.p1a=function(){this.KW&amp;&amp;this.m&amp;&amp;this.o&amp;&amp;(this.KW=!1,this.m.J(h.PerspectiveCamera,!0).fov=this.o.get("fov"))};var y=[c.na.hj,c.na.Rh,c.na.ab,c.na.ub,c.na.fo,c.na.tv,c.na.$u,c.na.Av,c.na.Q,c.na.E],z="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),B=["minFov","maxFov","fov"],
D=Math.PI/180,I=180/Math.PI,A=new THREE.Matrix4,E=new THREE.Euler,J=new THREE.Vector3,C=new THREE.Vector3,L=new THREE.Vector3,S=new THREE.Vector3,U=new THREE.Vector3,V=new THREE.Vector2,W=new THREE.Vector3(0,1,0),K=new THREE.Vector2;l.prototype.dispose=function(){this.Ui(null);this.Kba();this.pca();this.PYa();this.Oq.Ca();this.Uv=null};l.$a=function(N){N.I(h.Bs).manager=new l(N)};l.Ca=function(N){var R=N.getComponent(h.Bs);R.manager.dispose();R.manager=null;N.ha(h.Bs)};l.update=function(N){N.getComponent(h.Bs).manager.update()};
l.frame=function(N,R,X){N.getComponent(h.Bs).manager.frame(R,X)};e.prototype.Uja=function(){this.bO||(this.bO=!0,this.$qa=Date.now()-this.j$&lt;this.ara,this.j$=Date.now())};e.prototype.Vja=function(){this.bO&amp;&amp;(this.bO=!1)};e.prototype.getState=function(){return this.bO||Date.now()-this.j$&lt;this.ara?this.$qa?e.l6:e.Rh:e.hj};e.hj=0;e.Rh=1;e.l6=2;return l});
define("cf","require lS py bs lw cv fT lI pj fH oL kM pM iy bh pa bL".split(" "),function(a){function e(M){this.m=M;this.Jba(U);this.oca();this.Oq=new n(M);this.ed=w;this.fr=this.pj=null;this.iF=.025;this.dm=.25;this.oi=void 0;this.jF=1;this.Ik=this.Wj=this.Hk=this.zn=this.yn=0;this.Vk=[];this.eE=this.fE=this.gE=this.cE=this.bE=this.Tz=this.oj=this.fw=this.gw=this.iw=this.hw=this.ew=void 0;this.fba=1E3;this.DO=void 0;this.TI=0;this.Fa=null;this.SE(t.cz);this.update()}function l(M,Q){M=Q-M;180&lt;M?M-=
360:-180&gt;M&amp;&amp;(M+=360);return M}function m(){return(new Date).getTime()}var k=a("lS"),c=a("py"),h=a("bs");a("lw");var g=a("cv"),b=a("fT"),d=a("lI"),f=a("pj"),n=a("fH"),q=a("oL");a("kM");var p=a("pM"),r=a("iy"),t=a("bh"),u=a("pa"),v=a("bL");k.U1(e,[d,p,r]);e.prototype.update=function(){var M=this.m.getComponent(b.IC);this.Ui(M&amp;&amp;M.properties);this.Oq.oM(M&amp;&amp;M.properties,"moving");var Q=(!M.ZK||!f.cja(this.m.P))&amp;&amp;M.enabled;this.l0(M&amp;&amp;(Q?M.zg:null));this.$O(!!M&amp;&amp;Q&amp;&amp;M.yB);Q||this.CE();Q&amp;&amp;M.yB||(this.zn=this.yn=
this.Hk=this.Wj=this.Ik=0)};e.prototype.frame=function(M){this.ci&amp;&amp;(this.ci.Fb(M),this.Fa.setX(this.ci.eb("x")),this.Fa.setY(this.ci.eb("y")),this.Fa.setZ(this.ci.eb("z")),this.Fa.LG(this.ci.eb("distance")),this.Fa.cj(0),this.ci.We()&amp;&amp;(this.ci=null));this.Hg&amp;&amp;(this.Hg=Math.max(0,this.Hg-M/this.fba),this.Fa.setX(this.o.get("x")+this.eE*this.Hg),this.Fa.setY(this.o.get("y")+this.fE*this.Hg),this.Fa.setZ(this.o.get("z")+this.gE*this.Hg),this.Fa.Qm(this.o.get("yaw")+this.cE*this.Hg),this.Fa.Gy(this.o.get("pitch")+
this.bE*this.Hg),this.Fa.cj(0),this.m.P.Ta(),0==this.Hg&amp;&amp;this.HQ());if(this.zn||this.yn||this.Hk||this.Wj||this.Ik){var Q=M/1E3;this.tca(this.Hk*Q,this.Wj*Q,this.Ik*Q,this.zn*Q,this.yn*Q)}if(this.ed==w&amp;&amp;void 0!==this.bl&amp;&amp;!this.Wj&amp;&amp;this.o.get("keepHeight")&amp;&amp;void 0!==this.DO&amp;&amp;Math.abs(this.bl-this.o.get("y"))&gt;X){this.TI=Math.max(this.TI-M,0);Q=this.o.get("y");var Y=this.bl-Q;this.Fa.setY(Q+Math.min(M*this.DO,Math.abs(Y))*(0&lt;Y?1:-1));this.m.P.Ta()}this.ed!=w||!this.fr||this.Hg||this.ci||(this.vD(),this.m.P.Ta());
this.Oq.dma()};e.prototype.NP=function(){this.jga()};e.prototype.jga=function(){var M=0!=this.Ik||0!=this.Wj||0!=this.Hk;this.zn=this.yn=this.Ik=this.Wj=this.Hk=0;var Q=this.ag[h.na.fo]?1:this.ag[h.na.$u]?-1:0,Y=this.ag[h.na.Av]?1:this.ag[h.na.tv]?-1:0,aa=this.ag[h.na.Q]?1:this.ag[h.na.E]?-1:0,ca=this.ag[h.na.hj]?1:this.ag[h.na.Rh]?-1:0,fa=this.ag[h.na.ab]?1:this.ag[h.na.ub]?-1:0;if(ca||fa||Q||Y||aa){var ha=this.xj?.2:1;Q&amp;&amp;(this.Hk=-Q*ha*this.o.get("translationSpeed"));aa&amp;&amp;(this.Wj=-aa*ha*this.o.get("translationSpeed"));
Y&amp;&amp;(this.Ik=-Y*ha*this.o.get("translationSpeed"));fa&amp;&amp;(this.zn=-fa*ha*100*this.o.get("rotationSpeed"));ca&amp;&amp;(this.yn=ca*ha*100*this.o.get("rotationSpeed"));this.vD();this.m.P.Ta();this.bea();this.LRa();Q=0!=this.Ik||0!=this.Wj||0!=this.Hk;!M&amp;&amp;Q&amp;&amp;this.HQ()}};e.prototype.DZ=function(){this.Ei=!0;this.ed==I||this.ed==A||m()&lt;this.Kra+500||(this.SE(t.Vh),this.ed=w)};e.prototype.CZ=function(M,Q,Y,aa){if(this.Ei&amp;&amp;!(this.ed==I||this.ed==A||m()&lt;this.Kra+500)){var ca=(M*M+Q*Q)/2500;ca=1&lt;ca?1/Math.sqrt(ca):1;
M*=ca;Q*=ca;ca=this.uTa();this.ed!=ca?(this.ed=ca,this.ed==x?this.F_a(Y,aa):this.ed==y?this.Vya():this.ed==z?this.T_a():this.ed==D&amp;&amp;this.R_a()):this.ed!=w&amp;&amp;(this.ed==x?this.x1a(M,Q,Y,aa):this.ed==y?this.d2a(M,Q):this.ed==z?this.f2a(M,Q):this.ed==D&amp;&amp;this.c2a(M,Q))}};e.prototype.CE=function(){this.A_(t.Vh);this.Ei=!1;this.ed!=w&amp;&amp;(this.ed=w,this.pj=null,this.Tya(),this.bea(),this.$sa(),this.m.P.Ta())};e.prototype.EZ=function(M){this.ed!=B?(this.ed=B,this.N_a()):this.P1a(M);this.sca&amp;&amp;clearTimeout(this.sca);
this.sca=setTimeout(function(){this.sca=null;this.ed==B&amp;&amp;(this.ed=w,this.Et())}.bind(this),1E3)};e.prototype.Xua=function(M,Q,Y,aa,ca,fa,ha,ia,ja,ka){this.ed!=I&amp;&amp;this.ed!=A?(M=.05&lt;Math.abs(fa-ca),Y=5&lt;l(ja,ka),Q=Math.abs(aa-Q)&gt;.02*this.TD(),ja=10&gt;Math.min(Math.abs(ja),180-Math.abs(ja),Math.abs(ka),180-Math.abs(ka)),ha=.2&gt;ha/this.pw(),(M||Q)&amp;&amp;(ja||ha)?(this.ed=A,this.S_a()):!Y&amp;&amp;!M||ja&amp;&amp;ha||(this.ed=I,this.U_a())):this.ed==I?this.g2a(ca,fa,ja,ka):this.ed==A&amp;&amp;this.e2a(Q,aa,ca,fa)};e.prototype.Lca=function(){this.pj=
null;this.ed==I&amp;&amp;this.Tya();this.ed=w;this.Kra=m();this.bea();this.$sa();this.m.P.Ta()};e.prototype.wJ=function(M,Q){if("zoom"==this.o.get("doubleClickAction")){var Y=g.qf(this.m),aa=g.Or(this.m);aa&amp;&amp;Y&amp;&amp;(G.set(M,Q),this.tP(G),M=this.MO(G,aa),0!=M.length&amp;&amp;(this.Et(),this.vD(),M=M[0].point,E.setFromMatrixPosition(aa.matrixWorld),this.ci=new u("quad_in_out",[new v("x",E.x,.5*(M.x+E.x)),new v("y",E.y,.5*(M.y+E.y)),new v("z",E.z,.5*(M.z+E.z)),new v("distance",0,0)],500)))}};e.prototype.uTa=function(){return this.rP?
this.xj?y:x:this.bJ()?this.xj?D:z:w};e.prototype.F_a=function(M,Q){this.VJ();this.vD();this.jOa(M,Q);this.o.get("keepHeight")&amp;&amp;this.N0();this.m.P.Ta()};e.prototype.x1a=function(M,Q,Y,aa){var ca=g.Or(this.m);ca&amp;&amp;(E.setFromMatrixPosition(ca.matrixWorld),this.pj?(J.set(Y,aa,0),this.tP(J),J.unproject(ca),M=this.pj.x-E.x,Q=this.pj.z-E.z,-2&lt;Math.atan2(this.pj.y-E.y,Math.sqrt(Q*Q+M*M))*R?(L.copy(this.pj).applyMatrix4(ca.matrixWorldInverse),S.copy(J).applyMatrix4(ca.matrixWorldInverse),M=L.z/S.z,C.copy(S).multiplyScalar(M).applyMatrix4(ca.matrixWorld).sub(this.pj),
0!=C.y&amp;&amp;this.Et()):(M=(this.pj.y-E.y)/(J.y-E.y),C.copy(J).sub(E).multiplyScalar(M).add(E).sub(this.pj)),C.multiplyScalar(-1)):(ba.makeRotationFromEuler(P.set(0,-this.o.get("yaw")*N,0,"YXZ")),da.set(-M*this.o.get("translationSpeed")/this.pw(),0,-Q*this.o.get("translationSpeed")/this.pw()).applyMatrix4(ba),C.copy(da).multiplyScalar(10*this.jF)),this.Fa.setX(E.x+C.x),this.Fa.setY(E.y+C.y),this.Fa.setZ(E.z+C.z),this.xK(C.x,C.y,C.z,0,0),this.Fa.cj(this.dm))};e.prototype.Vya=function(){this.VJ();this.pj=
null;this.z8();this.Et();this.m.P.Ta()};e.prototype.d2a=function(M,Q){var Y;Y||(Y=1);M=360*M/this.vO()*this.o.get("rotationSpeed");Q=180*-Q/this.TD()*this.o.get("rotationSpeed");this.Fa.Qm(this.o.get("yaw")+M);this.Fa.Gy(this.o.get("pitch")+Q);this.Fa.LG(this.tda/Y);this.xK(0,0,0,M,Q);this.Fa.cj(this.dm);this.m.P.Ta()};e.prototype.T_a=function(){this.Vya()};e.prototype.f2a=function(M,Q){var Y=g.Or(this.m),aa=this.o.get("distance")||this.oi||1;Q=Q*aa*2*Math.tan(Y.fov*N/2)/this.TD();0!=Q&amp;&amp;this.Et();
this.Fa.setY(this.o.get("y")+Q);M=360*M/this.vO()*this.o.get("rotationSpeed");this.Fa.Qm(this.o.get("yaw")+M);this.xK(0,Q,0,M,0);this.Fa.cj(this.dm)};e.prototype.R_a=function(){this.VJ();this.vD();this.Et();this.m.P.Ta()};e.prototype.c2a=function(M,Q){M=360*-M/this.vO()*this.o.get("rotationSpeed");Q=180*Q/this.TD()*this.o.get("rotationSpeed");this.Fa.Qm(this.o.get("yaw")+M);this.Fa.Gy(this.o.get("pitch")+Q);this.xK(0,0,0,M,Q);this.Fa.cj(this.dm);this.m.P.Ta()};e.prototype.N_a=function(){this.Et();
this.VJ();this.pj=null;this.vD();this.o.get("keepHeight")&amp;&amp;this.N0();this.m.P.Ta()};e.prototype.P1a=function(M){this.KZa(da);da.multiplyScalar(-M*this.o.get("translationSpeed")*(this.jF||1));this.oi&amp;&amp;this.lpa(this.oi+da.y);this.Fa.setX(this.o.get("x")+da.x);this.Fa.setY(this.o.get("y")+da.y);this.Fa.setZ(this.o.get("z")+da.z);this.Fa.cj(this.iF)};e.prototype.U_a=function(){this.VJ();this.pj=null;this.z8();this.Et();this.m.P.Ta();this.yt=void 0};e.prototype.g2a=function(M,Q,Y,aa){void 0!==this.yt||
(this.yt=Y);Y=l(this.yt,aa);this.yt=aa;this.Fa.Qm(this.o.get("yaw")+Y);this.Fa.LG(this.tda*M/Q);this.xK(0,0,0,Y,0);this.Fa.cj(this.dm);this.m.P.Ta()};e.prototype.S_a=function(){this.VJ();this.pj=null;this.z8();this.Et();this.m.P.Ta();this.F_=void 0};e.prototype.e2a=function(M,Q,Y,aa){void 0!==this.F_||(this.F_=M);M=180*-(Q-this.F_)/this.TD();this.F_=Q;this.Fa.Gy(this.o.get("pitch")+M);this.Fa.LG(this.tda*Y/aa);this.xK(0,0,0,0,M);this.Fa.cj(this.dm);this.m.P.Ta()};e.prototype.jOa=function(M,Q){var Y=
g.qf(this.m),aa=g.Or(this.m);this.pj=null;aa&amp;&amp;Y&amp;&amp;(G.set(M,Q),this.tP(G),M=this.MO(G,aa),M.length&amp;&amp;(this.pj=M[0].point))};e.prototype.z8=function(){this.fr=null;var M=g.qf(this.m),Q=g.Or(this.m);Q&amp;&amp;M&amp;&amp;(G.set(0,0),M=this.MO(G,Q),M.length&amp;&amp;(this.fr=M[0].point),this.fr||(this.fr=(new THREE.Vector3).setFromMatrixPosition(Q.matrixWorld)),this.o.set("distance",E.setFromMatrixPosition(Q.matrixWorld).distanceTo(this.fr)),this.tda=this.o.get("distance"),this.o.set("x",this.fr.x),this.o.set("y",this.fr.y),this.o.set("z",
this.fr.z),this.o.set("easing",0))};e.prototype.vD=function(){this.fr&amp;&amp;(this.fr=null,E.setFromMatrixPosition(g.Or(this.m).matrixWorld),this.o.set("distance",0),this.o.set("x",E.x),this.o.set("y",E.y),this.o.set("z",E.z),this.o.set("easing",0))};var w="none",x="dragging",y="rotating",z="rotating yaw dragging y",B="moving front",D="rotating around camera",I="rotating yaw gesture",A="rotating pitch gesture",E=new THREE.Vector3,J=new THREE.Vector3,C=new THREE.Vector3,L=new THREE.Vector3,S=new THREE.Vector3;
e.prototype.Ui=function(M){this.o!=M&amp;&amp;(this.o&amp;&amp;(this.Fa=null,V.forEach(function(Q){this.o.unbind(c.G(Q),this.oAa,this,!1)}.bind(this)),W.forEach(function(Q){this.o.unbind(c.G(Q),this.Kx,this,!1)}.bind(this)),K.forEach(function(Q){this.o.unbind(c.G(Q),this.vr,this,!1)}.bind(this)),this.o.set("userInteracting",!1)),this.o=M)&amp;&amp;(this.Fa=new q(this.o),V.forEach(function(Q){this.o.bind(c.G(Q),this.oAa,this,!1)}.bind(this)),W.forEach(function(Q){this.o.bind(c.G(Q),this.Kx,this,!1)}.bind(this)),K.forEach(function(Q){this.o.bind(c.G(Q),
this.vr,this,!1)}.bind(this)),this.Kx(),this.vr(),this.o.set("userInteracting",!1))};e.prototype.Kx=function(){if(this.m&amp;&amp;this.o){var M=this.m.J(b.va,!0);M.translationX=this.o.get("x");var Q=this.o.get("y")-M.translationY;Math.abs(Q)&gt;X&amp;&amp;(M.translationY=this.o.get("y"),this.ed!=w||this.Hk||this.Wj||this.Ik||this.zn||this.yn||this.ci||this.Hg||this.Et());M.Je=this.o.get("z");M.vd=-this.o.get("yaw");M.Qd=this.o.get("pitch");M.He=0;M.Ge="YXZ";M.positionX=0;M.positionY=0;M.positionZ=this.o.get("distance");
M.easing=this.o.get("easing");(void 0!==this.o.get("minHeight")||this.o.get("keepHeight"))&amp;&amp;this.zAa()}};e.prototype.vr=function(){this.m&amp;&amp;this.o&amp;&amp;(this.m.J(b.PerspectiveCamera,!0).fov=this.o.get("fov"))};e.prototype.tca=function(M,Q,Y,aa,ca){var fa=this.m.getComponent(b.va);fa&amp;&amp;(ba.makeRotationFromEuler(P.set(0,fa.vd*N,0,fa.Ge)),da.set(M,Q,Y).applyMatrix4(ba).multiplyScalar(this.jF),void 0!==this.oi&amp;&amp;(this.oi+=da.y,this.HQ()),this.Fa.setX(this.o.get("x")+da.x),this.Fa.setY(this.o.get("y")+da.y),
this.Fa.setZ(this.o.get("z")+da.z),this.Fa.Qm(this.o.get("yaw")+aa),this.Fa.Gy(this.o.get("pitch")+ca),this.Fa.cj(this.dm))};e.prototype.KZa=function(M){var Q=this.m.getComponent(b.va);Q&amp;&amp;(ba.makeRotationFromEuler(P.set(Q.Qd*N,Q.vd*N,Q.He*N,Q.Ge)),M.set(0,0,1).applyMatrix4(ba))};e.prototype.VJ=function(){this.Tz=m();this.oj=1;this.fw=this.gw=this.iw=this.hw=this.ew=0;this.Hg=this.eE=this.fE=this.gE=this.cE=this.bE=void 0};e.prototype.xK=function(M,Q,Y,aa,ca){var fa=m();this.oj=fa-this.Tz;this.Tz=
fa;this.fw=M;this.gw=Q;this.iw=Y;this.hw=aa;this.ew=ca};e.prototype.Tya=function(){this.oj&amp;&amp;(this.eE=this.fw/this.oj,this.fE=this.gw/this.oj,this.gE=this.iw/this.oj,this.cE=this.hw/this.oj,this.bE=this.ew/this.oj,this.Hg=1)};e.prototype.oAa=function(){void 0!==this.o.get("minHeight")&amp;&amp;(void 0===this.oi&amp;&amp;this.N0(),void 0!==this.oi&amp;&amp;this.oi&lt;this.o.get("minHeight")&amp;&amp;(this.oi=this.o.get("minHeight")),this.zAa())};e.prototype.Et=function(){this.oi=this.bl=void 0;this.IQ&amp;&amp;(clearTimeout(this.IQ),this.IQ=
null)};e.prototype.$sa=function(){this.TI=2E3;this.DO=void 0;this.m.P.Ta()};e.prototype.LRa=function(){this.TI=0;this.DO=Infinity;this.m.P.Ta()};e.prototype.bea=function(){this.pj||void 0!==this.oi||this.IQ||(this.IQ=setTimeout(function(){this.IQ=null;this.N0()}.bind(this),0))};e.prototype.N0=function(){var M=this.tO();void 0!==M?this.lpa(M):this.HQ()};e.prototype.lpa=function(M){var Q=this.o.get("minHeight")||M;this.oi=Math.max(M,Q);this.HQ();this.bl=this.o.get("y")+this.oi-M};e.prototype.HQ=function(){if(this.oi)this.jF=
Math.min(10,Math.max(this.oi||0,.1));else{this.Eq(da);this.aTa(ea);var M=this.nba(da,ea);this.jF=M.length?da.distanceTo(M[0].point):da.y-(this.o.get("minY")||0)}this.jF=Math.max(Math.abs(this.jF||0),.1)};e.prototype.zAa=function(){this.AAa||void 0===this.oi||(this.AAa=setTimeout(function(){this.AAa=null;var M=this.tO();void 0!==M&amp;&amp;void 0!==this.oi&amp;&amp;(M=this.oi-M,this.DO=0==this.TI?Infinity:Math.abs(M/this.TI),this.bl=this.o.get("y")+M,0!==M&amp;&amp;this.m.P.Ta())}.bind(this),0))};e.prototype.tO=function(){if(this.o)return this.Eq(da),
this.FTa(da.x,da.y,da.z)};e.prototype.FTa=function(M,Q,Y){var aa=this.nba(da.set(M,Q,Y),ea.set(0,-1,0));if(0&lt;aa.length)return aa[0].distance;aa=this.nba(da.set(M,Q+1E3,Y),ea.set(0,-1,0));if(0&lt;aa.length)return aa[aa.length-1].distance-1E3};e.prototype.nba=function(M,Q){T.ray.origin.copy(M);T.ray.direction.copy(Q);return T.intersectObjects(this.UD(),!1)};e.prototype.MO=function(M,Q){T.setFromCamera(M,Q);return T.intersectObjects(this.UD(),!1)};e.prototype.UD=function(){var M=this.m&amp;&amp;g.qf(this.m);if(!M)return[];
var Q=[];M.traverse(function(Y){Y.isSprite||Y.isLine||Q.push(Y)});return Q};e.prototype.Eq=function(M){M.set(0,0,0);this.o&amp;&amp;(M.applyMatrix4(ba.makeTranslation(0,0,this.o.get("distance"))),M.applyMatrix4(ba.makeRotationFromEuler(P.set(this.o.get("pitch")*N,-this.o.get("yaw")*N,0*N,"YXZ"))),M.applyMatrix4(ba.makeTranslation(this.o.get("x"),this.o.get("y"),this.o.get("z"))))};e.prototype.aTa=function(M){this.o?(ba.makeRotationFromEuler(P.set(this.o.get("pitch")*N,-this.o.get("yaw")*N,0,"YXZ")),M.set(0,
0,-1).applyMatrix4(ba)):M.set(0,0,-1)};var U=[h.na.hj,h.na.Rh,h.na.ab,h.na.ub,h.na.fo,h.na.tv,h.na.$u,h.na.Av,h.na.Q,h.na.E],V=["minHeight"],W="minYaw maxYaw yaw minPitch maxPitch pitch minX maxX x minY maxY y minZ maxZ z distance easingSpeed".split(" "),K=["minFov","maxFov","fov"],N=Math.PI/180,R=180/Math.PI,X=1E-6,ba=new THREE.Matrix4,da=new THREE.Vector3(0,0,0),ea=new THREE.Vector3(0,0,0),G=new THREE.Vector2(0,0),P=new THREE.Euler,T=new THREE.Raycaster;e.prototype.dispose=function(){this.vD();
this.Ui(null);this.Kba();this.pca();this.Oq.Ca()};e.$a=function(M){M.I(b.jv).manager=new e(M)};e.Ca=function(M){var Q=M.getComponent(b.jv);Q.manager.dispose();Q.manager=null;M.ha(b.jv)};e.update=function(M){M.getComponent(b.jv).manager.update()};e.frame=function(M,Q,Y){M.getComponent(b.jv).manager.frame(Q,Y)};return e});
define("oU","require lS py bs fT cv lI pj fH oL pM iy bh".split(" "),function(a){function e(E){this.m=E;this.Jba(D);this.oca();this.Oq=new d(E);this.Zk=new THREE.Matrix4;this.iF=.05;this.dm=.25;this.Hk=this.Wj=this.Ik=this.zn=this.yn=0;this.eE=this.fE=this.gE=this.cE=this.bE=this.Tz=this.oj=this.fw=this.gw=this.iw=this.hw=this.ew=void 0;this.fba=1E3;this.Kxa=720;this.Aza=4;this.xta=720;this.Lba=2;this.Fa=null;this.SE(p.cz);this.update()}var l=a("lS"),m=a("py"),k=a("bs"),c=a("fT"),h=a("cv"),g=a("lI"),
b=a("pj"),d=a("fH"),f=a("oL"),n=a("pM"),q=a("iy"),p=a("bh");l.U1(e,[g,n,q]);e.prototype.update=function(){var E=this.m.getComponent(c.OC);this.Ui(E&amp;&amp;E.properties);this.Oq.oM(E&amp;&amp;E.properties,"moving");var J=(!E.ZK||!b.cja(this.m.P))&amp;&amp;E.enabled;this.l0(E&amp;&amp;(J?E.zg:null));this.$O(!!E&amp;&amp;J&amp;&amp;E.yB);J||this.CE();J&amp;&amp;E.yB||(this.zn=this.yn=this.Hk=this.Wj=this.Ik=0)};e.prototype.frame=function(E){this.Hg&amp;&amp;(this.Hg=Math.max(0,this.Hg-E/this.fba),this.Fa.setX(this.o.get("x")+this.eE*this.Hg),this.Fa.setY(this.o.get("y")+
this.fE*this.Hg),this.Fa.setZ(this.o.get("z")+this.gE*this.Hg),this.Fa.Qm(this.o.get("yaw")+this.cE*this.Hg),this.Fa.Gy(this.o.get("pitch")+this.bE*this.Hg),this.m.P.Ta());if(this.zn||this.yn||this.Hk||this.Wj||this.Ik)E/=1E3,this.tca(this.Hk*E,this.Wj*E,this.Ik*E,this.zn*E,this.yn*E);this.Oq.dma()};e.prototype.NP=function(){this.jga()};e.prototype.jga=function(){this.zn=this.yn=this.Ik=this.Wj=this.Hk=0;var E=this.ag[k.na.fo]?1:this.ag[k.na.$u]?-1:0,J=this.ag[k.na.Av]?1:this.ag[k.na.tv]?-1:0,C=this.ag[k.na.Q]?
1:this.ag[k.na.E]?-1:0,L=this.ag[k.na.hj]?1:this.ag[k.na.Rh]?-1:0,S=this.ag[k.na.ab]?1:this.ag[k.na.ub]?-1:0;if(E||J||C||L||S){var U=this.xj?.2:1;E&amp;&amp;(this.Hk=-E*U*this.Lba*this.o.get("translationSpeed"));C&amp;&amp;(this.Wj=-C*U*this.Lba*this.o.get("translationSpeed"));J&amp;&amp;(this.Ik=-J*U*this.Lba*this.o.get("translationSpeed"));S&amp;&amp;(this.zn=S*U*this.xta*this.o.get("rotationSpeed"));L&amp;&amp;(this.yn=-L*U*this.xta*this.o.get("rotationSpeed"));this.m.P.Ta()}};e.prototype.DZ=function(){this.SE(p.Vh);this.Ei=!0;this.Tz=
(new Date).getTime();this.oj=1;this.fw=this.gw=this.iw=this.hw=this.ew=0;this.Hg=this.eE=this.fE=this.gE=this.cE=this.bE=void 0;this.m.P.Ta()};e.prototype.CZ=function(E,J){if(this.Ei){var C=(E*E+J*J)/2500;C=1&lt;C?1/Math.sqrt(C):1;E*=C;J*=C;C=(new Date).getTime();this.oj=C-this.Tz;this.Tz=C;this.fw=this.gw=this.iw=this.hw=this.ew=0;C=this.rP;this.xj&amp;&amp;(C=!C);C?(this.hw=+E*this.o.get("rotationSpeed")*this.Kxa/this.pw(),this.ew=-J*this.o.get("rotationSpeed")*this.Kxa/this.pw(),this.Jxa(this.hw,this.ew)):
(this.esa(E*this.Aza/this.pw(),J*this.Aza/this.pw(),u),this.fw=u.x,this.gw=u.y,this.iw=u.z,this.Lfa(this.fw,this.gw,this.iw));this.Fa.cj(this.dm)}};e.prototype.esa=function(E,J,C){var L=this.m.getComponent(c.va);C.set(-E*this.o.get("translationSpeed"),+J*this.o.get("translationSpeed"),0*this.o.get("translationSpeed"));C.applyMatrix4(z.makeRotationFromEuler(y.set(L.Qd*r,L.vd*r,L.He*r,L.Ge)));C.multiplyScalar(this.o.get("distance"))};e.prototype.CE=function(){this.A_(p.Vh);this.Ei&amp;&amp;(this.Ei=!1,this.oj&amp;&amp;
(this.eE=this.fw/this.oj,this.fE=this.gw/this.oj,this.gE=this.iw/this.oj,this.cE=this.hw/this.oj,this.bE=this.ew/this.oj,this.Hg=1,this.Fa.cj(this.dm)),this.Tz=void 0)};e.prototype.EZ=function(E){this.Fa.LG(this.o.get("distance")-E*this.o.get("distance")*this.o.get("translationSpeed"));this.Fa.cj(this.iF)};e.prototype.wJ=function(E,J){if("center"==this.o.get("doubleClickAction")){var C=h.qf(this.m),L=h.Or(this.m);L&amp;&amp;C&amp;&amp;(w.set(E,J),this.tP(w),E=this.MO(w,L),0!=E.length&amp;&amp;(E=E[0].point,J=u.setFromMatrixPosition(L.matrixWorld).sub(E),
L=J.length(),x.setFromUnitVectors(v.set(0,0,1),J.normalize()),y.setFromQuaternion(x,"YXZ"),J=y.x*t,this.Fa.Qm(-y.y*t),this.Fa.Gy(J),this.Fa.LG(L),this.Fa.setX(E.x),this.Fa.setY(E.y),this.Fa.setZ(E.z),this.Fa.cj(this.iF)))}};e.prototype.Yua=function(){this.ata=this.o.get("distance");this.Ei=!1};e.prototype.Kca=function(E,J,C){this.esa(E/this.pw(),J/this.pw(),u);this.Lfa(u.x,u.y,u.z);this.Fa.LG(this.ata/C);this.Fa.cj(this.dm)};e.prototype.Lca=function(){this.ata=this.o.get("distance")};e.prototype.tca=
function(E,J,C,L,S){var U=this.m.getComponent(c.va);U&amp;&amp;(z.makeRotationFromEuler(y.set(0,U.vd*r,0,U.Ge)),u.set(E,J,C).applyMatrix4(z).multiplyScalar(this.o.get("distance")),this.Lfa(u.x,u.y,u.z),this.Jxa(L,S),this.Fa.cj(this.dm))};e.prototype.Lfa=function(E,J,C){this.Fa.setX(this.o.get("x")+E);this.Fa.setY(this.o.get("y")+J);this.Fa.setZ(this.o.get("z")+C)};e.prototype.Jxa=function(E,J){this.Fa.Qm(this.o.get("yaw")+E);this.Fa.Gy(this.o.get("pitch")+J)};e.prototype.Ui=function(E){this.o!=E&amp;&amp;(this.o&amp;&amp;
(this.Fa=null,I.forEach(function(J){this.o.unbind(m.G(J),this.Kx,this,!1)}.bind(this)),A.forEach(function(J){this.o.unbind(m.G(J),this.vr,this,!1)}.bind(this)),this.o.set("userInteracting",!1)),this.o=E)&amp;&amp;(this.o.set("userInteracting",!1),this.Fa=new f(this.o),I.forEach(function(J){this.o.bind(m.G(J),this.Kx,this,!1)}.bind(this)),A.forEach(function(J){this.o.bind(m.G(J),this.vr,this,!1)}.bind(this)),this.Kx(),this.vr())};e.prototype.MO=function(E,J){B.setFromCamera(E,J);return B.intersectObjects(this.UD(),
!1)};e.prototype.UD=function(){var E=this.m&amp;&amp;h.qf(this.m);if(!E)return[];var J=[];E.traverse(function(C){C.isSprite||C.isLine||J.push(C)});return J};e.prototype.Kx=function(){if(this.m&amp;&amp;this.o){var E=this.m.J(c.va,!0);E.translationX=this.o.get("x");E.translationY=this.o.get("y");E.Je=this.o.get("z");E.vd=-this.o.get("yaw");E.Qd=this.o.get("pitch");E.He=0;E.Ge="YXZ";E.positionX=0;E.positionY=0;E.positionZ=this.o.get("distance");E.easing=this.o.get("easing")}};e.prototype.vr=function(){this.m&amp;&amp;this.o&amp;&amp;
(this.m.J(c.PerspectiveCamera,!0).fov=this.o.get("fov"))};var r=Math.PI/180,t=180/Math.PI,u=new THREE.Vector3(0,1,0),v=new THREE.Vector3(0,1,0),w=new THREE.Vector2(0,0),x=new THREE.Quaternion,y=new THREE.Euler,z=new THREE.Matrix4,B=new THREE.Raycaster,D=[k.na.hj,k.na.Rh,k.na.ab,k.na.ub,k.na.fo,k.na.tv,k.na.$u,k.na.Av,k.na.Q,k.na.E],I="easing minYaw maxYaw yaw minPitch maxPitch pitch minDistance maxDistance distance minX maxX x minY maxY y minZ maxZ z".split(" "),A=["minFov","maxFov","fov"];e.prototype.dispose=
function(){this.Ui(null);this.Kba();this.pca();this.Oq.Ca()};e.$a=function(E){E.I(c.pv).manager=new e(E)};e.Ca=function(E){var J=E.getComponent(c.pv);J.manager.dispose();J.manager=null;E.ha(c.pv)};e.update=function(E){E.getComponent(c.pv).manager.update()};e.frame=function(E,J,C){E.getComponent(c.pv).manager.frame(J,C)};return e});
define("id","require exports oS cv fT three.mod".split(" "),function(a,e,l,m,k,c){a=function(){function b(d){this.F=d;this.properties=this.F.getComponent(k.xv).properties;this.nl()&amp;&amp;this.x3a();this.update()}b.prototype.update=function(){this.properties=this.F.getComponent(k.xv).properties;this.nl()||this.uBa()};b.prototype.frame=function(){this.nl()?this.w3a():this.uBa()};b.prototype.x3a=function(){var d=this.F.getComponent(k.xv).gg||1;this.DCa();l.setPosition({x:this.properties.get("x"),y:this.properties.get("y"),
z:this.properties.get("z"),yaw:this.properties.get("yaw")});l.setScale(d)};b.prototype.w3a=function(){this.DCa();l.setPosition({x:this.properties.get("x"),y:this.properties.get("y"),z:this.properties.get("z"),yaw:void 0});this.properties.set("yaw",-h.setFromQuaternion(l.cg).y*g)};b.prototype.uBa=function(){var d=this.F.J(k.va,!0);d.translationX=this.properties.get("x");d.translationY=this.properties.get("y");d.Je=this.properties.get("z");d.vd=-this.properties.get("yaw");d.Qd=this.properties.get("pitch");
d.He=0;d.Ge="YXZ";d.positionX=0;d.positionY=0;d.positionZ=this.properties.get("distance",0);d.easing=0;this.F.J(k.PerspectiveCamera,!0).fov=this.properties.get("fov")};b.prototype.DCa=function(){var d=m.qf(this.F),f=this.F.getComponent(k.Mj);f=f&amp;&amp;f.camera;l.Ju!==f&amp;&amp;l.ila(l.mh,d,f,l.RV.ana)};b.prototype.nl=function(){return this.F.getComponent(k.PerspectiveCamera).nl};b.$a=function(d){d.I(k.Qs).manager=new b(d)};b.update=function(d){d.getComponent(k.Qs).manager.update()};b.frame=function(d,f,n){d.getComponent(k.Qs).manager.frame(f,
n)};b.Ca=function(d){d.getComponent(k.Qs).manager=null;d.ha(k.Qs)};return b}();var h=new c.Euler,g=180/Math.PI;return a});
define("kS","require exports py oS mE fT three.mod".split(" "),function(a,e,l,m,k,c,h){a=function(){function y(z){this.locked=!0;this.vp=!1;this.aia=this.il=this.ye=null;this.s2=new h.Matrix4;this.SF=new h.Vector3;this.aM=new Map;this.gg=1;this.fC=0;this.ws=!1;this.sk=0;this.Bj=null;this.PB=new h.Vector3;this.td=new h.Vector3;this.T3=new h.Quaternion;this.fU=this.gU=this.hU=0;this.Ox=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.F=z;this.Ej=
this.Ej.bind(this);this.Ir=new k(this.F);m.N.bind(l.ba,this.ze,this,!0);this.update()}y.prototype.update=function(){var z=this.F.getComponent(c.MH),B=(null===z||void 0===z?void 0:z.locked)||!1;!B&amp;&amp;this.locked&amp;&amp;(this.vp=!0);this.locked=B;this.gg=(null===z||void 0===z?void 0:z.gg)||1;this.sk=null===z||void 0===z?void 0:z.sk;this.gC();this.properties=z.properties;this.locked||(m.setScale(this.gg),this.wS(),this.Ej());this.vp&amp;&amp;(g.setFromQuaternion(m.hH),m.setPosition({pitch:g.x*w,roll:g.z*w}),this.HF())};
y.prototype.frame=function(z){if(!this.locked){this.us();this.gV();this.HF();if(!this.properties.get("controllingPosition")){this.td.copy(m.Bc);this.T3.copy(m.cg);var B;(B=this.oS())||(B=this.mha(z));B||(B=this.pS(z));B&amp;&amp;(z={},m.Bc.equals(this.td)||(z.x=this.td.x,z.y=this.td.y,z.z=this.td.z),m.cg.equals(this.T3)||(g.setFromQuaternion(this.T3,"YXZ"),z.yaw=-g.y*w,z.pitch=g.x*w,z.roll=g.z*w),m.setPosition(z))}this.tS();this.RK();this.vp=!1}};y.prototype.dispose=function(){m.N.unbind(l.ba,this.ze,this);
this.properties.set("userInteracting",!1);this.gC();this.lh();this.LU([])};y.prototype.gC=function(){y.gz.forEach(function(z){var B;null===(B=this.properties)||void 0===B?void 0:B.unbind(l.G(z),this.Ej,this)}.bind(this))};y.prototype.wS=function(){y.gz.forEach(function(z){var B;null===(B=this.properties)||void 0===B?void 0:B.bind(l.G(z),this.Ej,this,!0)}.bind(this))};y.prototype.Ej=function(){this.Ox.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",
-Infinity));this.Ox.max.set(this.properties.get("maxX",Infinity),this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};y.prototype.HF=function(){var z=this.properties.get("x"),B=this.properties.get("y"),D=this.properties.get("z"),I=this.properties.get("yaw"),A=this.properties.get("pitch"),E=this.properties.get("distance");if(z!==this.PB.x||B!==this.PB.y||D!==this.PB.z||I!==this.hU||A!==this.gU||E!==this.fU)this.PB.set(z,B,D),n.identity(),n.multiply(q.makeTranslation(z,B,D)),
n.multiply(q.makeRotationFromEuler(g.set(A*x,-I*x,0,"YXZ"))),n.multiply(q.makeTranslation(0,0,E)),n.decompose(d,b,f),g.setFromQuaternion(b,"YXZ"),m.setPosition({x:d.x,y:d.y,z:d.z,yaw:-g.y*w})};y.prototype.tS=function(){d.copy(m.Bc).sub(this.PB);var z=d.length();g.setFromQuaternion(b.setFromUnitVectors(u,d.multiplyScalar(1/z)),"YXZ");this.properties.set("x",this.PB.x);this.properties.set("y",this.PB.y);this.properties.set("z",this.PB.z);this.properties.set("yaw",-g.y*w);this.properties.set("pitch",
g.x*w);this.properties.set("roll",g.z*w);this.properties.set("distance",z)};y.prototype.RK=function(){this.hU=this.properties.get("yaw");this.gU=this.properties.get("pitch");this.fU=this.properties.get("distance")};y.prototype.us=function(){this.LU((y.lC.get(this.F.P)||[]).map(function(z){return z.getComponent(c.Cc)}))};y.prototype.LU=function(z){var B=[],D=[];this.aM.forEach(function(I){-1===z.indexOf(I)&amp;&amp;B.push(I)}.bind(this));z.forEach(function(I){this.aM.has(I.N)||D.push(I)}.bind(this));this.il&amp;&amp;
-1===z.indexOf(this.il)&amp;&amp;this.lh();B.forEach(function(I){this.iU(I.N);this.aM.delete(I.N)}.bind(this));D.forEach(function(I){this.mS(I.N);this.aM.set(I.N,I)}.bind(this));this.ye=z.find(function(I){return I.$i})||null};y.prototype.mS=function(z){z.bind(l.ma,this.Yr,this,!0);z.bind(l.hb,this.Zr,this,!0)};y.prototype.iU=function(z){z.unbind(l.ma,this.Yr,this);z.unbind(l.hb,this.Zr,this)};y.prototype.ze=function(){this.F.J(c.iq)};y.prototype.Yr=function(z){this.properties.get("inMandatorySequence")||
z.data.tT||"other"==z.data.type||this.properties.get("clickTranslationDisabled")||(z=this.aM.get(z.source),z=this.Ir.wT(z),0!=z.length&amp;&amp;(this.Bj=z[0].point))};y.prototype.Zr=function(z){if(!this.properties.get("inMandatorySequence")&amp;&amp;!this.properties.get("mouseDisabled")){this.lh();z=z.source;var B=this.aM.get(z),D=this.Ir.wT(B);0!=D.length&amp;&amp;(this.il=B,this.aia=z,this.aia.bind(l.Eb,this.lh,this,!0),this.SF.copy(D[0].point),this.s2.copy(this.il.matrixWorld))}};y.prototype.lh=function(){this.il&amp;&amp;(this.il.N.unbind(l.Eb,
this.lh,this),this.il=this.aia=null)};y.prototype.oS=function(){if(!this.Bj)return!1;this.td.copy(this.Bj).sub(m.Bc).multiplyScalar(.5).add(m.Bc);this.Bj=null;return!0};y.prototype.pS=function(z){return this.qS()?!0:this.rS(z)?!0:!1};y.prototype.qS=function(){if(!this.ye)return!1;if(0===this.ye.Wb.y&amp;&amp;0===this.ye.Wb.x)return this.fC=Date.now(),this.ws=!1;if(this.ws)return!0;var z=Math.sqrt(this.ye.Wb.y*this.ye.Wb.y+this.ye.Wb.x*this.ye.Wb.x)*this.properties.get("rotationSpeed",1),B=Math.atan2(-this.ye.Wb.y,
this.ye.Wb.x),D=Math.abs(B)&lt;.25*Math.PI;B=Math.abs(B)&gt;.75*Math.PI;return 0!==this.sk&amp;&amp;.95&lt;z&amp;&amp;(D||B)&amp;&amp;100&gt;Date.now()-this.fC?(this.ws=!0,z=this.sk*(B?-1:1),z=-g.setFromQuaternion(m.cg,"YXZ").y*w+z,m.setPosition({yaw:z}),!0):!1};y.prototype.rS=function(z){if(!this.ye||0===this.ye.Wb.y&amp;&amp;0===this.ye.Wb.x)return!1;z=4E3/3600/this.gg*this.properties.get("translationSpeed",1)*(this.ye.dH?3:1)*z/1E3;var B=d.set(0,0,-1).applyQuaternion(m.cg),D=f.set(1,0,0).applyQuaternion(m.cg);B.normalize().multiplyScalar(-this.ye.Wb.y*
z);D.normalize().multiplyScalar(this.ye.Wb.x*z);this.td.set(m.Bc.x+B.x+D.x,m.Bc.y+B.y+D.y,m.Bc.z+B.z+D.z);return!0};y.prototype.mha=function(z){if(!this.il)return!1;this.nha(z);z=n.copy(this.s2);var B=q.copy(this.il.matrixWorld);B=r.copy(p.compose(m.Bc,m.cg,v)).invert().multiply(B);t.copy(z).multiply(B.invert()).decompose(this.td,this.T3,d);return!0};y.prototype.nha=function(z){if(!this.il||0===this.il.Wb.y&amp;&amp;0===this.il.Wb.x)return!1;z=90*z/1E3*this.properties.get("rotationSpeed",1);var B=p.makeRotationFromQuaternion(b.setFromRotationMatrix(this.s2)),
D=r.copy(B).invert(),I=q.identity();I.multiply(n.makeTranslation(this.SF.x,this.SF.y,this.SF.z));I.multiply(B);I.multiply(n.makeRotationFromEuler(g.set(this.il.Wb.y*z*x,this.il.Wb.x*z*x,0,"YXZ")));I.multiply(D);I.multiply(n.makeTranslation(-this.SF.x,-this.SF.y,-this.SF.z));this.s2.premultiply(I);return!0};y.prototype.gV=function(){this.properties.get("inMandatorySequence")?this.properties.set("userInteracting",!1):this.il?this.properties.set("userInteracting",!0):this.Bj?this.properties.set("userInteracting",
!0):!this.ye||0===this.ye.Wb.y&amp;&amp;0===this.ye.Wb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};y.SG=function(z,B){this.lC.set(z,B)};y.$a=function(z){z.I(c.iq).manager=new y(z)};y.update=function(z){z.getComponent(c.iq).manager.update()};y.frame=function(z,B,D){z.getComponent(c.iq).manager.frame(B,D)};y.Ca=function(z){var B=z.getComponent(c.iq);B.manager.dispose();B.manager=null;z.ha(c.iq)};y.lC=new Map;y.gz="minX maxX minY maxY minZ maxZ".split(" ");return y}();
var g=new h.Euler(0,0,0,"YXZ"),b=new h.Quaternion,d=new h.Vector3,f=new h.Vector3,n=new h.Matrix4,q=new h.Matrix4,p=new h.Matrix4,r=new h.Matrix4,t=new h.Matrix4,u=new h.Vector3(0,0,1),v=new h.Vector3(1,1,1),w=180/Math.PI,x=Math.PI/180;return a});
define("hv","require exports py oS mE fT three.mod".split(" "),function(a,e,l,m,k,c,h){a=function(){function x(y){this.locked=!0;this.vp=!1;this.bj=this.qU=this.ye=null;this.Gja=new h.Matrix4;this.yG=[];this.gg=1;this.fC=0;this.ws=!1;this.sk=0;this.Bj=null;this.nma=!1;this.td=new h.Vector3;this.fU=this.gU=this.hU=this.nHa=this.mHa=this.lHa=0;this.Ox=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.F=y;this.Ej=this.Ej.bind(this);this.Ir=new k(this.F);
m.N.bind(l.ba,this.ze,this,!0);this.update()}x.prototype.update=function(){var y=this.F.getComponent(c.NH),z=(null===y||void 0===y?void 0:y.locked)||!1;!z&amp;&amp;this.locked&amp;&amp;(this.vp=!0);this.locked=z;this.gg=(null===y||void 0===y?void 0:y.gg)||1;this.sk=null===y||void 0===y?void 0:y.sk;this.gC();this.properties=y.properties;this.locked||(m.setScale(this.gg),this.wS(),this.Ej());this.vp&amp;&amp;(g.setFromQuaternion(m.hH),m.setPosition({pitch:g.x*v,roll:g.z*v}),this.HF(!0))};x.prototype.frame=function(y){if(!this.locked){this.us();
this.gV();this.HF(!1);if(!this.properties.get("controllingPosition")){this.td.copy(m.Bc);var z=this.GB=-g.setFromQuaternion(m.cg).y*v;var B=this.oS();this.nma&amp;&amp;this.bj&amp;&amp;this.Gja.copy(this.bj.matrixWorld);this.nma=!1;B||(B=this.nma=this.nha(y));B||(B=this.mha(y));B||(B=this.pS(y));B&amp;&amp;(y={},m.Bc.equals(this.td)||(y.x=this.td.x,y.y=this.td.y,y.z=this.td.z),this.GB!=z&amp;&amp;(y.yaw=this.GB),m.setPosition(y))}this.tS();this.RK();this.vp=!1}};x.prototype.dispose=function(){m.N.unbind(l.ba,this.ze,this);this.properties.set("userInteracting",
!1);this.gC();this.lh();this.LU([])};x.prototype.gC=function(){x.gz.forEach(function(y){var z;null===(z=this.properties)||void 0===z?void 0:z.unbind(l.G(y),this.Ej,this)}.bind(this))};x.prototype.wS=function(){x.gz.forEach(function(y){var z;null===(z=this.properties)||void 0===z?void 0:z.bind(l.G(y),this.Ej,this,!0)}.bind(this))};x.prototype.Ej=function(){this.Ox.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",-Infinity));this.Ox.max.set(this.properties.get("maxX",
Infinity),this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};x.prototype.HF=function(y){var z=this.properties.get("x"),B=this.properties.get("y"),D=this.properties.get("z"),I=this.properties.get("controllingPosition"),A=this.properties.get("yaw"),E=this.properties.get("pitch"),J=this.properties.get("distance");if(z!==this.lHa||B!==this.mHa||D!==this.nHa||A!==this.hU||E!==this.gU||J!==this.fU)n.identity(),n.multiply(q.makeTranslation(z,B,D)),n.multiply(q.makeRotationFromEuler(g.set(E*
w,-A*w,0,"YXZ"))),n.multiply(q.makeTranslation(0,0,J)),n.decompose(d,b,f),g.setFromQuaternion(b,"YXZ"),m.setPosition({x:d.x,y:d.y,z:d.z,yaw:!y||I?void 0:-g.y*v})};x.prototype.tS=function(){this.properties.set("x",m.Bc.x);this.properties.set("y",m.Bc.y);this.properties.set("z",m.Bc.z);g.setFromQuaternion(m.cg);this.properties.set("yaw",-g.y*v);this.properties.set("pitch",g.x*v);this.properties.set("roll",g.z*v);this.properties.set("distance",0)};x.prototype.RK=function(){this.lHa=this.properties.get("x");
this.mHa=this.properties.get("y");this.nHa=this.properties.get("z");this.hU=this.properties.get("yaw");this.gU=this.properties.get("pitch");this.fU=this.properties.get("distance")};x.prototype.us=function(){this.LU((x.lC.get(this.F.P)||[]).map(function(y){return y.getComponent(c.Cc)}))};x.prototype.LU=function(y){var z=[],B=[];this.yG.forEach(function(D){-1===y.indexOf(D)&amp;&amp;z.push(D)}.bind(this));y.forEach(function(D){-1===this.yG.indexOf(D)&amp;&amp;B.push(D)}.bind(this));this.bj&amp;&amp;-1===y.indexOf(this.bj)&amp;&amp;
this.lh();z.forEach(function(D){this.iU(D);this.yG.splice(this.yG.indexOf(D),1)}.bind(this));B.forEach(function(D){this.mS(D);this.yG.push(D)}.bind(this));this.ye=y.find(function(D){return D.$i})||null;this.qU=y.find(function(D){return!D.$i})||this.ye};x.prototype.mS=function(y){y.N.bind(l.hb,this.Zr,this,!0);y.N.bind(l.ma,this.Yr,this,!0)};x.prototype.iU=function(y){y.N.unbind(l.hb,this.Zr,this);y.N.unbind(l.ma,this.Yr,this)};x.prototype.ze=function(){this.F.J(c.jq)};x.prototype.Yr=function(y){if(!(this.properties.get("inMandatorySequence")||
y.data.tT||"other"==y.data.type||this.properties.get("clickTranslationDisabled"))){var z=this.yG.find(function(B){return y.source===B.N});z&amp;&amp;(z=this.Ir.wT(z),0!=z.length&amp;&amp;(this.Bj=z[0].point))}};x.prototype.Zr=function(y){if(!this.properties.get("inMandatorySequence")&amp;&amp;!this.properties.get("mouseDisabled")){this.lh();var z=this.yG.find(function(B){return y.source===B.N});z&amp;&amp;(this.bj=z,this.bj.N.bind(l.Eb,this.lh,this,!0),this.Gja.copy(this.bj.matrixWorld),z=this.Ir.wT(z),0!=z.length&amp;&amp;(this.EB=(new h.Vector3).copy(z[0].point)))}};
x.prototype.lh=function(){this.bj&amp;&amp;(this.bj.N.unbind(l.Eb,this.lh,this),this.EB=this.bj=null)};x.prototype.oS=function(){if(!this.Bj)return!1;this.td.copy(this.Bj).sub(m.Bc).multiplyScalar(.5).add(m.Bc);this.Bj=null;return!0};x.prototype.pS=function(y){return this.qS()?!0:this.rS(y)?!0:!1};x.prototype.qS=function(){var y=this.qU;if(!y)return!1;if(0===y.Wb.y&amp;&amp;0===y.Wb.x)return this.fC=Date.now(),this.ws=!1;if(this.ws)return!0;var z=Math.sqrt(y.Wb.y*y.Wb.y+y.Wb.x*y.Wb.x),B=Math.atan2(-y.Wb.y,y.Wb.x);
y=Math.abs(B)&lt;.25*Math.PI;B=Math.abs(B)&gt;.75*Math.PI;return 0!==this.sk&amp;&amp;.95&lt;z&amp;&amp;(y||B)&amp;&amp;100&gt;Date.now()-this.fC?(this.ws=!0,this.GB+=this.sk*(B?-1:1),!0):!1};x.prototype.rS=function(y){if(!this.ye||0===this.ye.Wb.y&amp;&amp;0===this.ye.Wb.x)return!1;y=1E4/3600/this.gg*this.properties.get("translationSpeed",1)*(this.ye.dH?3:1)*y/1E3;this.ye.matrixWorld.decompose(d,b,f);var z=d.set(0,0,-1).applyQuaternion(b),B=f.set(1,0,0).applyQuaternion(b);z.normalize().multiplyScalar(-this.ye.Wb.y*y);B.normalize().multiplyScalar(this.ye.Wb.x*
y);this.td.set(m.Bc.x+z.x+B.x,m.Bc.y+z.y+B.y,m.Bc.z+z.z+B.z);return!0};x.prototype.mha=function(){if(!this.bj)return!1;var y=this.ZBa(n.copy(this.Gja)),z=this.ZBa(q.copy(this.bj.matrixWorld));z=r.copy(p.compose(m.Bc,m.cg,u)).invert().multiply(z);t.copy(y).multiply(z.invert()).decompose(this.td,b,d);this.GB=-g.setFromQuaternion(b).y*v;return!0};x.prototype.ZBa=function(y){return y.decompose(d,b,f).compose(d,b.identity(),f)};x.prototype.nha=function(y){if(!this.bj||!this.EB||0===this.bj.Wb.y&amp;&amp;0===this.bj.Wb.x)return!1;
y=90*y/1E3;var z=n.compose(m.Bc,m.cg,u),B=q.identity();B.multiply(p.makeTranslation(this.EB.x,this.EB.y,this.EB.z));B.multiply(p.makeRotationY(-this.GB*w));B.multiply(p.makeRotationFromEuler(g.set(this.bj.Wb.y*y*w,this.bj.Wb.x*y*w,0,"YXZ")));B.multiply(p.makeRotationY(this.GB*w));B.multiply(p.makeTranslation(-this.EB.x,-this.EB.y,-this.EB.z));z.premultiply(B);z.decompose(this.td,b,d);this.GB=-g.setFromQuaternion(b).y*v;return!0};x.prototype.gV=function(){this.properties.get("inMandatorySequence")?
this.properties.set("userInteracting",!1):this.bj?this.properties.set("userInteracting",!0):this.Bj?this.properties.set("userInteracting",!0):!this.ye||0===this.ye.Wb.y&amp;&amp;0===this.ye.Wb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};x.SG=function(y,z){this.lC.set(y,z)};x.$a=function(y){y.I(c.jq).manager=new x(y)};x.update=function(y){y.getComponent(c.jq).manager.update()};x.frame=function(y,z,B){y.getComponent(c.jq).manager.frame(z,B)};x.Ca=function(y){var z=
y.getComponent(c.jq);z.manager.dispose();z.manager=null;y.ha(c.jq)};x.lC=new Map;x.gz="minX maxX minY maxY minZ maxZ".split(" ");return x}();var g=new h.Euler(0,0,0,"YXZ");new h.Euler(0,0,0,"YXZ");var b=new h.Quaternion,d=new h.Vector3,f=new h.Vector3,n=new h.Matrix4,q=new h.Matrix4,p=new h.Matrix4,r=new h.Matrix4,t=new h.Matrix4,u=new h.Vector3(1,1,1),v=180/Math.PI,w=Math.PI/180;return a});
define("dQ","require exports py oS mE fT three.mod".split(" "),function(a,e,l,m,k,c,h){a=function(){function r(t){this.locked=!0;this.vp=!1;this.qU=this.vy=this.Cp=null;this.gg=1;this.fC=0;this.ws=!1;this.sk=0;this.Bj=null;this.td=new h.Vector3;this.SS=[];this.js=new h.Vector3;this.Ox=new h.Box3(new h.Vector3(-Infinity,-Infinity,-Infinity),new h.Vector3(Infinity,Infinity,Infinity));this.F=t;this.Ej=this.Ej.bind(this);this.Ir=new k(this.F);m.N.bind(l.ba,this.ze,this,!0);this.update()}r.prototype.update=
function(){var t=this.F.getComponent(c.OH),u=(null===t||void 0===t?void 0:t.locked)||!1;!u&amp;&amp;this.locked&amp;&amp;(this.vp=!0);this.locked=u;this.gg=(null===t||void 0===t?void 0:t.gg)||1;this.sk=null===t||void 0===t?void 0:t.sk;this.gC();this.properties=t.properties;this.locked||(m.setScale(this.gg),this.wS(),this.Ej());this.vp&amp;&amp;(g.setFromQuaternion(m.hH),m.setPosition({x:this.properties.get("x"),y:this.properties.get("y"),z:this.properties.get("z"),yaw:this.properties.get("yaw"),pitch:g.x*p,roll:g.z*p}))};
r.prototype.gC=function(){r.gz.forEach(function(t){var u;null===(u=this.properties)||void 0===u?void 0:u.unbind(l.G(t),this.Ej,this)}.bind(this))};r.prototype.wS=function(){r.gz.forEach(function(t){var u;null===(u=this.properties)||void 0===u?void 0:u.bind(l.G(t),this.Ej,this,!0)}.bind(this))};r.prototype.Ej=function(){this.Ox.min.set(this.properties.get("minX",-Infinity),this.properties.get("minY",-Infinity),this.properties.get("minZ",-Infinity));this.Ox.max.set(this.properties.get("maxX",Infinity),
this.properties.get("maxY",Infinity),this.properties.get("maxZ",Infinity))};r.prototype.frame=function(t){this.locked||(this.us(),this.gV(),this.HF(),this.properties.get("controllingPosition")||(this.td.copy(m.Bc),this.oS()||this.pS(t),this.td.y=this.pBa(this.js.y,this.c3(this.td.x,this.td.y,this.td.z),t),this.E4a()&amp;&amp;(this.td.copy(this.js),this.td.y=this.pBa(this.js.y,this.c3(this.td.x,this.td.y,this.td.z),t)),this.Ox.clampPoint(this.td,this.td),m.Bc.equals(this.td)||m.setPosition({x:this.td.x,y:this.td.y,
z:this.td.z,Ra:void 0})),this.tS(),this.RK(),this.J9a(),this.vp=!1)};r.prototype.J9a=function(){this.Ir.refresh();this.SS.forEach(function(t){t.y=NaN})};r.prototype.dispose=function(){m.N.unbind(l.ba,this.ze,this);this.properties.set("userInteracting",!1);this.gC()};r.prototype.HF=function(){var t=this.properties.get("x"),u=this.properties.get("y"),v=this.properties.get("z");if(this.js.x!==t||this.js.y!==u||this.js.z!==v)this.properties.get("controllingPosition")||(u=this.c3(t,u,v)),m.setPosition({x:t,
y:u,z:v,yaw:void 0}),this.RK()};r.prototype.tS=function(){this.properties.set("x",m.Bc.x);this.properties.set("y",m.Bc.y);this.properties.set("z",m.Bc.z);g.setFromQuaternion(m.cg);this.properties.set("yaw",-g.y*p);this.properties.set("pitch",g.x*p);this.properties.set("roll",g.z*p)};r.prototype.RK=function(){this.js.copy(m.Bc);this.kHa=this.xia(this.js)};r.prototype.us=function(){var t=null,u=null;(r.lC.get(this.F.P)||[]).forEach(function(v){v=v.getComponent(c.Cc);v.$i?t=v:u=v});this.qab(t,u)};r.prototype.qab=
function(t,u){this.Cp=t;this.qU=u;t=t?t.N:null;this.vy!==t&amp;&amp;(this.vy&amp;&amp;this.iU(this.vy),(this.vy=t)&amp;&amp;this.mS(this.vy))};r.prototype.mS=function(t){t.bind(l.ma,this.Yr,this,!0)};r.prototype.iU=function(t){t.unbind(l.ma,this.Yr,this)};r.prototype.ze=function(){this.F.J(c.kq)};r.prototype.Yr=function(t){if(this.Cp&amp;&amp;this.properties&amp;&amp;!this.properties.get("inMandatorySequence")&amp;&amp;!t.data.tT&amp;&amp;"other"!=t.data.type&amp;&amp;!this.properties.get("clickTranslationDisabled")&amp;&amp;"translate"==this.properties.get("doubleClickAction")&amp;&amp;
(t=this.Ir.wT(this.Cp),0!=t.length)){var u=t[0];if(u.face&amp;&amp;u.face.normal){t=b.copy(m.Bc);var v=d.copy(u.point);u=f.copy(u.face.normal).transformDirection(u.object.matrixWorld);if(Math.abs(Math.acos(u.dot(q)))&lt;.25*Math.PI)v.y+=this.U2();else{u=n.copy(v).sub(t);var w=u.length(),x=.5*this.U2();if(w&lt;x)return;v.sub(u.multiplyScalar(x/w))}v.y=this.c3(v.x,v.y,v.z);this.Ir.aH(t,v)||(this.Bj=new h.Vector3(v.x,v.y,v.z))}}};r.prototype.oS=function(){if(!this.Bj)return!1;this.td.copy(this.Bj);this.Bj=null;return!0};
r.prototype.pS=function(t){return this.qS()?!0:this.rS(t)?!0:!1};r.prototype.qS=function(){var t=this.qU;if(!t)return!1;if(0===t.Wb.y&amp;&amp;0===t.Wb.x)return this.fC=Date.now(),this.ws=!1;if(this.ws)return!0;var u=Math.sqrt(t.Wb.y*t.Wb.y+t.Wb.x*t.Wb.x),v=Math.atan2(-t.Wb.y,t.Wb.x);t=Math.abs(v)&lt;.25*Math.PI;v=Math.abs(v)&gt;.75*Math.PI;return 0!==this.sk&amp;&amp;.95&lt;u&amp;&amp;(t||v)&amp;&amp;100&gt;Date.now()-this.fC?(this.ws=!0,u=this.sk*(v?-1:1),u=-g.setFromQuaternion(m.cg,"YXZ").y*p+u,m.setPosition({x:void 0,y:void 0,z:void 0,
yaw:u}),!0):!1};r.prototype.rS=function(t){if(!this.Cp||0===this.Cp.Wb.y&amp;&amp;0===this.Cp.Wb.x)return!1;t=4E3/3600/this.gg*this.properties.get("translationSpeed",1)*(this.Cp.dH?3:1)*t/1E3;var u=b.set(0,0,-1).applyQuaternion(m.cg),v=d.crossVectors(u,q);u.y=0;v.y=0;u.normalize().multiplyScalar(-this.Cp.Wb.y*t);v.normalize().multiplyScalar(this.Cp.Wb.x*t);this.td.set(m.Bc.x+u.x+v.x,m.Bc.y,m.Bc.z+u.z+v.z);return!0};r.prototype.gV=function(){this.properties.get("inMandatorySequence")?this.properties.set("userInteracting",
!1):this.Bj?this.properties.set("userInteracting",!0):!this.Cp||0===this.Cp.Wb.y&amp;&amp;0===this.Cp.Wb.x?this.properties.set("userInteracting",!1):this.properties.set("userInteracting",!0)};r.prototype.E4a=function(){if(!this.properties.get("collisionDetection"))return!1;var t=b,u=d;t.copy(this.td).sub(this.js);u.copy(this.js).add(t.setLength(t.length()+.2/this.gg));if(this.Ir.aH(this.js,u))return!0;t=this.properties.get("maxStepHeight");void 0===t&amp;&amp;(t=.25*this.U2());u=this.xia(this.td);return-Infinity&lt;
this.kHa&amp;&amp;-Infinity&lt;u&amp;&amp;this.kHa+t&lt;u?!0:!1};r.prototype.pBa=function(t,u,v){var w=u-t,x=Math.abs(w);v=2/this.gg*(v/1E3);return v&gt;x?u:t+w*v/x};r.prototype.c3=function(t,u,v){t=this.vp?-Infinity:this.xia(b.set(t,u,v));return-Infinity===t?u:t+this.U2()};r.prototype.xia=function(t){var u=this.SS.findIndex(function(w){return w.x==t.x&amp;&amp;w.z==t.z&amp;&amp;!isNaN(w.y)});if(-1!==u)return this.SS[u].y;u=this.Ir.LS(t);var v=this.SS.find(function(w){return isNaN(w.y)});v||this.SS.push(v=new h.Vector3);v.set(t.x,t.y-u,
t.z);return v.y};r.prototype.U2=function(){return m.IBa/this.gg};r.SG=function(t,u){this.lC.set(t,u)};r.$a=function(t){t.I(c.kq).manager=new r(t)};r.update=function(t){t.getComponent(c.kq).manager.update()};r.frame=function(t,u,v){t.getComponent(c.kq).manager.frame(u,v)};r.Ca=function(t){var u=t.getComponent(c.kq);u.manager.dispose();u.manager=null;t.ha(c.kq)};r.lC=new Map;r.gz="minX maxX minY maxY minZ maxZ".split(" ");return r}();var g=new h.Euler(0,0,0,"YXZ"),b=new h.Vector3,d=new h.Vector3,f=
new h.Vector3,n=new h.Vector3,q=new h.Vector3(0,1,0),p=180/Math.PI;return a});
define("hy","require lS mc fT mE fi pj dY cf oU id kS hv dQ".split(" "),function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("mE"),c=a("fi"),h=a("pj"),g=a("dY"),b=a("cf"),d=a("oU"),f=a("id"),n=a("kS"),q=a("hv"),p=a("dQ");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(r,t){(this.Nja.Md.length||this.Nja.og.length)&amp;&amp;k.dab(this.Nja.u);this.KBa.u.length&amp;&amp;this.KBa.u.slice().forEach(c.$a);this.b2.Ea.length&amp;&amp;this.b2.Ea.slice().forEach(c.update);this.b2.u.length&amp;&amp;this.b2.u.slice().forEach(function(u){c.frame(u,
r,t)});this.LBa.u.length&amp;&amp;this.LBa.u.slice().forEach(c.Ca);this.VCa.u.length&amp;&amp;this.VCa.u.slice().forEach(b.$a);this.TS.Ea.length&amp;&amp;this.TS.Ea.slice().forEach(b.update);this.TS.u.length&amp;&amp;this.TS.u.slice().forEach(function(u){b.frame(u,r,t)});this.WCa.u.length&amp;&amp;this.WCa.u.slice().forEach(b.Ca);this.NCa.u.length&amp;&amp;this.NCa.u.slice().forEach(g.$a);this.RS.Ea.length&amp;&amp;this.RS.Ea.slice().forEach(g.update);this.RS.u.length&amp;&amp;this.RS.u.slice().forEach(function(u){g.frame(u,r,t)});this.OCa.u.length&amp;&amp;this.OCa.u.slice().forEach(g.Ca);
this.PCa.u.length&amp;&amp;this.PCa.u.slice().forEach(g.Ca);this.DGa.u.length&amp;&amp;this.DGa.u.slice().forEach(d.$a);this.WT.Ea.length&amp;&amp;this.WT.Ea.slice().forEach(d.update);this.WT.u.length&amp;&amp;this.WT.u.slice().forEach(function(u){d.frame(u,r,t)});this.EGa.u.length&amp;&amp;this.EGa.u.slice().forEach(d.Ca);p.SG(this.P,this.Gj.u.slice());this.WKa.u.length&amp;&amp;this.WKa.u.slice().forEach(p.$a);this.lV.Ea.length&amp;&amp;this.lV.Ea.slice().forEach(p.update);this.lV.u.length&amp;&amp;this.lV.u.slice().forEach(function(u){p.frame(u,r,t)});this.XKa.u.length&amp;&amp;
this.XKa.u.slice().forEach(p.Ca);this.YKa.u.length&amp;&amp;this.YKa.u.slice().forEach(p.Ca);n.SG(this.P,this.Gj.u.slice());this.PKa.u.length&amp;&amp;this.PKa.u.slice().forEach(n.$a);this.jV.Ea.length&amp;&amp;this.jV.Ea.slice().forEach(n.update);this.jV.u.length&amp;&amp;this.jV.u.slice().forEach(function(u){n.frame(u,r,t)});this.QKa.u.length&amp;&amp;this.QKa.u.slice().forEach(n.Ca);this.RKa.u.length&amp;&amp;this.RKa.u.slice().forEach(n.Ca);q.SG(this.P,this.Gj.u.slice());this.SKa.u.length&amp;&amp;this.SKa.u.slice().forEach(q.$a);this.kV.Ea.length&amp;&amp;
this.kV.Ea.slice().forEach(q.update);this.kV.u.length&amp;&amp;this.kV.u.slice().forEach(function(u){q.frame(u,r,t)});this.TKa.u.length&amp;&amp;this.TKa.u.slice().forEach(q.Ca);this.UKa.u.length&amp;&amp;this.UKa.u.slice().forEach(q.Ca);this.eKa.u.length&amp;&amp;this.eKa.u.slice().forEach(f.$a);this.yM.Ea.length&amp;&amp;this.yM.Ea.slice().forEach(f.update);this.yM.Md.length&amp;&amp;this.yM.Md.slice().forEach(f.update);this.yM.u.length&amp;&amp;this.yM.u.slice().forEach(function(u){f.frame(u,r,t)});this.fKa.u.length&amp;&amp;this.fKa.u.slice().forEach(f.Ca);
this.gKa.u.length&amp;&amp;this.gKa.u.slice().forEach(f.Ca);if(this.RF.Md.length||this.RF.og.length)h.Xka(this.RF.u),this.RS.u.slice().forEach(g.update),this.TS.u.slice().forEach(b.update),this.WT.u.slice().forEach(d.update),this.jV.u.slice().forEach(n.update),this.kV.u.slice().forEach(q.update),this.lV.u.slice().forEach(p.update)};a.H={};a.H.Gj=[m.Cc];a.H.RF=[m.Um];a.H.Nja=[m.MC];a.H.NCa=[m.HC,m.zk.not,m.Bs.not];a.H.RS=[m.HC,m.zk.not,m.Bs];a.H.OCa=[m.HC.not,m.Bs];a.H.PCa=[m.zk,m.Bs];a.H.eKa=[m.xv,m.Mj,m.Qs.not];
a.H.yM=[m.xv,m.Mj,m.Qs];a.H.fKa=[m.Mj.not,m.Qs];a.H.gKa=[m.xv.not,m.Qs];a.H.WKa=[m.zk,m.OH,m.kq.not];a.H.lV=[m.zk,m.OH,m.kq];a.H.XKa=[m.OH.not,m.kq];a.H.YKa=[m.zk.not,m.kq];a.H.PKa=[m.zk,m.MH,m.iq.not];a.H.jV=[m.zk,m.MH,m.iq];a.H.QKa=[m.MH.not,m.iq];a.H.RKa=[m.zk.not,m.iq];a.H.SKa=[m.zk,m.NH,m.jq.not];a.H.kV=[m.zk,m.NH,m.jq];a.H.TKa=[m.NH.not,m.jq];a.H.UKa=[m.zk.not,m.jq];a.H.VCa=[m.IC,m.jv.not];a.H.TS=[m.IC,m.jv];a.H.WCa=[m.IC.not,m.jv];a.H.DGa=[m.OC,m.pv.not];a.H.WT=[m.OC,m.pv];a.H.EGa=[m.OC.not,
m.pv];a.H.KBa=[m.rH,m.Zu.not];a.H.b2=[m.rH,m.Zu];a.H.LBa=[m.rH.not,m.Zu];return a});
define("ic","require exports three.mod fT mc oS".split(" "),function(a,e,l,m,k,c){a=function(p){function r(){var t=p.call(this)||this;t.zf=t.zf.bind(t);return t}Z(r,p);r.prototype.Vc=function(){this.u.u.length&amp;&amp;this.u.u.slice().forEach(this.zf)};r.prototype.zf=function(t){var u=t.getComponent(m.Object3D);if(u&amp;&amp;u.qa&amp;&amp;u.qa.parent){u=u.qa;var v=t.getComponent(m.qH);if(v.La){var w=v.La,x=w.getComponent(m.PerspectiveCamera);(w=w.getComponent(m.Object3D))&amp;&amp;w.qa&amp;&amp;(w=w.qa,w.updateMatrixWorld(!0),x.nl?(b.copy(c.Bc),
n.copy(c.cg)):w.matrixWorld.decompose(b,n,f),v.rotate||n.identity(),h.copy(u.parent.matrixWorld).invert(),g.compose(b,n,f.set(1,1,1)).premultiply(h),g.decompose(b,n,f.set(1,1,1)),d.setFromQuaternion(n,"YXZ"),t=t.J(m.va),t.translationX=b.x,t.translationY=b.y,t.Je=b.z,t.Qd=0,t.vd=d.y*q,t.He=0)}}};r.H={};return r}(k);a.H={};a.H.u=[m.qH,m.Object3D,m.va];var h=new l.Matrix4,g=new l.Matrix4,b=new l.Vector3,d=new l.Euler,f=new l.Vector3,n=new l.Quaternion,q=180/Math.PI;return a});
define("jo",["require","fT","cv"],function(a){function e(k){this.m=k;this.Rya=this.ya=null;this.wa=this.sa=void 0;this.update()}var l=a("fT"),m=a("cv");e.prototype.update=function(){var k=this.m.getComponent(l.gf),c=k.source&amp;&amp;k.source.width||0,h=k.source&amp;&amp;k.source.height||0;!this.ya||!!this.ya.isSpriteMaterial==k.isSprite&amp;&amp;this.sa==c&amp;&amp;this.wa==h||(this.ya.map.dispose(),this.ya.dispose(),this.ya=null);this.sa=c;this.wa=h;this.ya||(k.isSprite?(this.ya=new THREE.SpriteMaterial,this.ya.sizeAttenuation=
!1):this.ya=new THREE.MeshBasicMaterial,this.ya.map=new THREE.Texture,this.ya.transparent=!0,this.m.I(l.Material).material=this.ya);this.ya.map.image!=k.source&amp;&amp;(this.ya.map.image=k.source,this.ya.map.needsUpdate=!0);this.Rya!=k.WG&amp;&amp;(this.Rya=k.WG,this.ya.map.needsUpdate=!0);this.ya.opacity=k.opacity||0;this.ya.depthTest=!!k.depthTest;this.ya.visible=0&lt;this.ya.opacity&amp;&amp;!k.hidden;this.ya.needsUpdate=!0;if(k.colorSpace)var g=k.colorSpace;else(k=m.qf(this.m))&amp;&amp;(g=m.hT(k));this.ya.map&amp;&amp;g&amp;&amp;(this.ya.map.colorSpace=
g);this.m.P.Ta()};e.prototype.dispose=function(){this.ya&amp;&amp;(this.ya.map.dispose(),this.ya.map=null,this.ya.dispose(),this.ya=null,this.m.ha(l.Material));this.m=null};e.$a=function(k){k.I(l.Yy).manager=new e(k)};e.Ca=function(k){var c=k.getComponent(l.Yy);c.manager.dispose();c.manager=null;k.ha(l.Yy)};e.update=function(k){k.getComponent(l.Yy).manager.update()};return e});
define("iO",["require","lS","mc","fT","jo"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("jo");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.Hm.u.length&amp;&amp;this.Hm.u.slice().forEach(k.$a);this.materials.Ea.length&amp;&amp;this.materials.Ea.slice().forEach(k.update);this.Im.u.length&amp;&amp;this.Im.u.slice().forEach(k.Ca)};a.H={};a.H.Hm=[m.gf,m.Yy.not];a.H.materials=[m.gf,m.Yy];a.H.Im=[m.gf.not,m.Yy];return a});
define("oC",["require","exports","three.mod","cv"],function(a,e,l,m){a=function(){function d(f){this.light=f;f=new l.EdgesGeometry(new l.PlaneGeometry(2,2));var n=new l.LineBasicMaterial({color:16711680,linewidth:1,depthTest:!1,transparent:!0});this.Cg=new l.LineSegments(f,n);f=(new l.BufferGeometry).setFromPoints([new l.Vector3,new l.Vector3]);n=new l.LineBasicMaterial({color:65280,depthTest:!1,transparent:!0});this.line=new l.Line(f,n);this.light.add(this.Cg);this.light.add(this.line)}d.prototype.update=
function(){var f=this.qf();this.Cg.parent!=f&amp;&amp;(this.Cg.parent&amp;&amp;(this.Cg.parent.remove(this.Cg),this.line.parent.remove(this.line)),f&amp;&amp;(f.add(this.Cg),f.add(this.line)));if(f){this.Cg.material.color!=this.light.color&amp;&amp;(this.Cg.material.color=this.light.color,this.Cg.material.needsUpdate=!0,this.line.material.color=this.light.color,this.line.material.needsUpdate=!0);this.light.updateMatrixWorld(!0);k.setFromMatrixPosition(this.light.matrixWorld);this.light.target.updateMatrixWorld(!0);c.setFromMatrixPosition(this.light.target.matrixWorld);
h.copy(c).sub(k).normalize();b.y=Math.atan2(h.x,h.z);b.x=-Math.atan2(h.y,Math.sqrt(h.x*h.x+h.z*h.z));b.z=0;b.order="YXZ";g.setFromEuler(b);f=m.uB(f);this.Cg.quaternion.copy(g);var n=m.$F(this.line)*f*2/7;h.setLength(n).multiplyScalar(-1);n=this.line.geometry.attributes.position;n.setXYZ(0,0,0,0);n.setXYZ(1,h.x,h.y,h.z);n.needsUpdate=!0;this.Cg.position.copy(h);this.Cg.updateMatrixWorld(!0);f=m.$F(this.Cg)*f/7;this.Cg.scale.set(f,f,f);this.Cg.updateMatrixWorld(!0)}};d.prototype.dispose=function(){this.Cg.geometry.dispose();
this.Cg.material.dispose();this.Cg.parent&amp;&amp;this.Cg.parent.remove(this.Cg);this.line.geometry.dispose();this.line.material.dispose();this.line.parent&amp;&amp;this.line.parent.remove(this.line)};d.prototype.qf=function(){for(var f=this.light.parent;f&amp;&amp;!f.isScene;)f=f.parent;return f};return d}();var k=new l.Vector3,c=new l.Vector3,h=new l.Vector3,g=new l.Quaternion,b=new l.Euler;return a});
define("hq","require exports three.mod on fT mc cv oC".split(" "),function(a,e,l,m,k,c,h,g){function b(n,q){q.makeEmpty();var p=new l.Box3;n.traverse(function(r){if(r.geometry&amp;&amp;!r.isSprite&amp;&amp;!r.isLine){r.updateWorldMatrix(!1,!1);var t=r.geometry;null===t.boundingBox&amp;&amp;t.computeBoundingBox();p.copy(t.boundingBox);p.applyMatrix4(r.matrixWorld);q.union(p)}});return q}a=function(n){function q(){var p=n.call(this)||this;p.Vb=p.Vb.bind(p);p.Ib=p.Ib.bind(p);p.zf=p.zf.bind(p);p.kb=p.kb.bind(p);return p}Z(q,
n);q.prototype.Vc=function(){this.zB.u.length&amp;&amp;this.zB.u.slice().forEach(this.Vb);this.AB.u.length&amp;&amp;this.AB.u.slice().forEach(this.kb);this.Mh.Ea.length&amp;&amp;this.Mh.Ea.slice().forEach(this.Ib);this.Mh.u.length&amp;&amp;this.Mh.u.slice().forEach(this.zf)};q.prototype.Vb=function(p){var r=p.I(k.Np),t=p.I(k.Object3D);r.light=t.qa=new l.DirectionalLight;this.Ib(p)};q.prototype.Ib=function(p){var r=p.getComponent(k.DirectionalLight),t=p.getComponent(k.Np),u=t.light;u.color=m.Jp(r.color).convertLinearToSRGB();u.intensity=
r.intensity*Math.PI;u.visible=0&lt;u.intensity;u.castShadow=0&lt;u.intensity&amp;&amp;r.castShadow;var v=u.castShadow?r.Ala:16;v!=u.shadow.mapSize.width&amp;&amp;(u.shadow.dispose(),u.shadow=u.shadow.clone(),u.shadow.mapSize.width=u.shadow.mapSize.height=v);u.shadow.radius=r.Bla;u.shadow.bias=r.zla;r.JS!=!!t.Xn&amp;&amp;(t=p.J(k.Np),r.JS?t.Xn=new g(u):(t.Xn.dispose(),t.Xn=null))};q.prototype.zf=function(p){this.xcb(p);this.bma(p)};q.prototype.xcb=function(p){var r=p.getComponent(k.DirectionalLight);if((p=p.getComponent(k.Np).light)&amp;&amp;
p.castShadow){var t=h.Wc(r.target);if(t){var u=p.shadow.camera,v=b(t,d);t=Number.POSITIVE_INFINITY;for(var w=Number.NEGATIVE_INFINITY,x=Number.NEGATIVE_INFINITY,y=Number.POSITIVE_INFINITY,z=Number.POSITIVE_INFINITY,B=Number.NEGATIVE_INFINITY,D=0;2&gt;D;D++)for(var I=0;2&gt;I;I++)for(var A=0;2&gt;A;A++)f.set(0==D?v.min.x:v.max.x,0==I?v.min.y:v.max.y,0==A?v.min.z:v.max.z).applyMatrix4(u.matrixWorldInverse),f.x&lt;t&amp;&amp;(t=f.x),f.x&gt;w&amp;&amp;(w=f.x),f.y&gt;x&amp;&amp;(x=f.y),f.y&lt;y&amp;&amp;(y=f.y),-f.z&gt;B&amp;&amp;(B=-f.z),-f.z&lt;z&amp;&amp;(z=-f.z);r=r.dbb||
0;v=.5*(z+B);z+=(z-v)*r;B+=(B-v)*r;v=.5*(t+w);t+=(t-v)*r;w+=(w-v)*r;v=.5*(x+y);x+=(x-v)*r;y+=(y-v)*r;if(u.left!=t||u.right!=w||u.top!=x||u.bottom!=y||u.near!=z||u.far!=B)p.shadow.camera.left=t,p.shadow.camera.top=x,p.shadow.camera.right=w,p.shadow.camera.bottom=y,p.shadow.camera.near=z,p.shadow.camera.far=B,p.shadow.camera.updateProjectionMatrix(),p.shadow.needsUpdate=!0}}};q.prototype.bma=function(p){(p=(p=p.getComponent(k.Np))&amp;&amp;p.Xn)&amp;&amp;p.update()};q.prototype.kb=function(p){var r=p.getComponent(k.Np),
t=r&amp;&amp;r.Xn;t&amp;&amp;t.dispose();(r=r.light)&amp;&amp;r.parent&amp;&amp;r.parent.remove(r);p.ha(k.Np);p.ha(k.Object3D)};q.H={};return q}(c);a.H={};a.H.zB=[k.DirectionalLight,k.Np.not];a.H.Mh=[k.DirectionalLight,k.Np];a.H.AB=[k.DirectionalLight.not,k.Np];var d=new l.Box3,f=new l.Vector3;return a});
define("em",["require","py","fT","cv","bh"],function(a){function e(x){this.Pg=x;this.ue=this.pn=null;this.dO=!1;this.update()}var l=a("py"),m=a("fT"),k=a("cv"),c=a("bh");e.prototype.update=function(){var x=this.Pg.getComponent(m.Cc);this.XQ(x&amp;&amp;x.enabled?x.UF:null);this.WQ(x&amp;&amp;x.enabled?x.m2:null)};e.prototype.frame=function(){this.yf()};e.prototype.XQ=function(x){this.pn!=x&amp;&amp;(this.pn&amp;&amp;this.pn.unbind(l.Pb,this.Mf,this,!0),(this.pn=x)&amp;&amp;this.pn.bind(l.Pb,this.Mf,this,!0))};e.prototype.WQ=function(x){this.ue!=
x&amp;&amp;(this.ue&amp;&amp;this.dO&amp;&amp;this.ue.pop(c.Vh),(this.ue=x)&amp;&amp;this.dO&amp;&amp;this.ue.push(c.Vh))};e.prototype.Mf=function(){var x=v.get(this.Pg.P);x&amp;&amp;0!=x.length&amp;&amp;this.Pg.P.Ta()};e.prototype.yf=function(){var x=v.get(this.Pg.P),y=x&amp;&amp;x.length||0;this.hya(0&lt;y);if(0!=y&amp;&amp;(y=this.Pg.getComponent(m.Cc))){var z=k.Wc(this.Pg);z?(h.copy(y.origin).applyMatrix4(z.matrixWorld),g.copy(y.origin).add(y.direction).applyMatrix4(z.matrixWorld).sub(h).normalize()):(h.copy(y.origin),g.copy(y.direction).normalize());for(y=0;y&lt;x.length;y++){z=
x[y];var B=z.getComponent(m.cv),D=z.getComponent(m.Zy),I=w.get(z);I&amp;&amp;B&amp;&amp;D&amp;&amp;(D.wCa||(D.wCa=(new THREE.Vector3).setFromMatrixPosition(I.matrixWorld)),b.copy(D.wCa),d.copy(B.direction),this.wTa(b,d,h,g,f),D.$ha||(D.$ha=(new THREE.Vector3).copy(f).sub(b)),f.sub(D.$ha),B.min&amp;&amp;0&gt;n.copy(f).sub(B.min).dot(B.direction)&amp;&amp;f.copy(B.min),f.applyMatrix4(q.copy(I.parent.matrixWorld).invert()),z=z.J(m.va),p.multiply(q.makeTranslation(z.translationX,z.translationY,z.Je).invert()),p.multiply(q.makeRotationFromEuler(r.set(z.Qd*
u,z.vd*u,z.He*u,z.Ge)).invert()),f.applyMatrix4(q),z.positionX=f.x,z.positionY=f.y,z.positionZ=f.z)}}};e.prototype.hya=function(x){this.dO!=x&amp;&amp;(this.dO=x,this.ue&amp;&amp;(this.dO?this.ue.push(c.Vh):this.ue.pop(c.Vh)))};e.prototype.wTa=function(x,y,z,B,D){t.copy(x).sub(z);z=y.dot(B);var I=B.dot(B),A=y.dot(y);B=t.dot(B);var E=t.dot(y);D.copy(x);x=z*z-I*A;0!=x&amp;&amp;D.addScaledVector(y,(I*E-B*z)/x)};var h=new THREE.Vector3,g=new THREE.Vector3,b=new THREE.Vector3,d=new THREE.Vector3,f=new THREE.Vector3,n=new THREE.Vector3,
q=new THREE.Matrix4,p=new THREE.Matrix4,r=new THREE.Euler,t=new THREE.Vector3,u=Math.PI/180;e.prototype.dispose=function(){this.hya(!1);this.XQ(null);this.WQ(null);this.m=null};e.wla=function(x){x.I(m.rv).manager=new e(x)};e.Pla=function(x){var y=x.getComponent(m.rv);y.manager.dispose();y.manager=null;x.ha(m.rv)};e.us=function(x){x.getComponent(m.rv).manager.update()};e.frame=function(x){x.getComponent(m.rv).manager.frame()};var v=new Map,w=new Map;e.Rab=function(x){x.I(m.Zy);x.I(m.Um);e.wKa(x)};
e.wKa=function(x){var y=k.Wc(x);w.set(x,y);var z=v.get(x.P);z||v.set(x.P,z=[]);y&amp;&amp;(y=z,0&gt;y.indexOf(x)&amp;&amp;y.push(x))};e.KJa=function(x){var y=v.get(x.P),z=y.indexOf(x);0&lt;=z&amp;&amp;y.splice(z,1);w["delete"](x);x.ha(m.Zy);x.ha(m.Um)};return e});
define("lC",["require","lS","mc","fT","em"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("em");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.$T.u.length&amp;&amp;this.$T.u.slice().forEach(k.wla);this.Gj.Ea.length&amp;&amp;this.Gj.Ea.slice().forEach(k.us);this.Gj.u.length&amp;&amp;this.Gj.u.slice().forEach(k.frame);this.aU.u.length&amp;&amp;this.aU.u.slice().forEach(k.Pla);this.vCa.u.length&amp;&amp;this.vCa.u.slice().forEach(k.Rab);this.uCa.u.length&amp;&amp;this.uCa.u.slice().forEach(k.wKa);this.xCa.u.length&amp;&amp;
this.xCa.u.slice().forEach(k.KJa);this.yCa.u.length&amp;&amp;this.yCa.u.slice().forEach(k.KJa)};a.H={};a.H.$T=[m.Cc,m.rv.not];a.H.Gj=[m.Cc,m.rv];a.H.aU=[m.Cc.not,m.rv];a.H.vCa=[m.Object3D,m.cv,m.Zy.not];a.H.uCa=[m.Object3D,m.cv,m.Zy];a.H.xCa=[m.Object3D.not,m.Zy];a.H.yCa=[m.cv.not,m.Zy];return a});
define("gO","require exports three.mod on fT mc".split(" "),function(a,e,l,m,k,c){a=function(b){function d(){var f=b.call(this)||this;f.Vb=f.Vb.bind(f);f.Ib=f.Ib.bind(f);f.kb=f.kb.bind(f);f.zf=f.zf.bind(f);return f}Z(d,b);d.prototype.Vc=function(){this.TCa.u.length&amp;&amp;this.TCa.u.slice().forEach(this.Vb);this.UCa.u.length&amp;&amp;this.UCa.u.slice().forEach(this.kb);this.H2.Ea.length&amp;&amp;this.H2.Ea.slice().forEach(this.Ib);this.H2.u.length&amp;&amp;this.H2.u.slice().forEach(this.zf)};d.prototype.Vb=function(f){var n=f.I(k.gv),
q=f.I(k.Object3D);n.floor=q.qa=this.j4a();this.bV(f,!0)};d.prototype.Ib=function(f){this.bV(f)};d.prototype.kb=function(f){var n=f.getComponent(k.gv).floor;n.parent&amp;&amp;n.parent.remove(n);n.geometry.dispose();n.material.dispose();f.ha(k.gv);f.ha(k.Object3D)};d.prototype.zf=function(f){this.v$a(f)};d.prototype.v$a=function(f){var n=f.getComponent(k.Wp),q=(f=(f=f.getComponent(k.gv))&amp;&amp;f.floor)&amp;&amp;f.parent&amp;&amp;f.parent.matrixWorld;if(q){g.setFromMatrixScale(q);var p=Math.max(Math.abs(g.x),Math.abs(g.y),Math.abs(g.z));
f.matrix.identity();f.matrix.multiply(h.makeScale(n.radius/p,n.radius/p,n.radius/p));f.matrix.multiply(h.extractRotation(q).invert());f.matrix.multiply(h.makeTranslation(0,n.height/n.radius,0));f.matrix.multiply(h.makeRotationX(.5*-Math.PI));f.updateMatrixWorld(!0)}};d.prototype.j4a=function(){var f=new l.CircleGeometry(1,128);f=new l.Mesh(f);f.receiveShadow=!0;f.needsUpdate=!0;f.matrixAutoUpdate=!1;f.castShadow=!1;return f};d.prototype.bV=function(f,n){void 0===n&amp;&amp;(n=!1);var q=f.getComponent(k.Wp);
f=f.getComponent(k.gv).floor;var p="transparent"==q.color,r=f.material&amp;&amp;f.material.isShadowMaterial||!1;f.material&amp;&amp;(n||r!=p)&amp;&amp;(f.material.dispose(),f.material=null);p?f.material||(f.material=new l.ShadowMaterial):(f.material||(f.material=new l.MeshStandardMaterial,f.material.defines.USE_UV="",f.material.onBeforeCompile=function(t){var u=t.fragmentShader.lastIndexOf("}");t.fragmentShader=t.fragmentShader.substring(0,u)+"float uvCenterCoef = 2.0 * length(vUv - 0.5);\nfloat uvAlphaCoef = 1.0 - smoothstep(0.97, 1.0, uvCenterCoef);\ngl_FragColor.a = uvAlphaCoef * gl_FragColor.a;\n"+
t.fragmentShader.substring(u,t.fragmentShader.length)},f.material.roughness=1,f.material.metalness=0,f.material.envMapIntensity=0,f.material.transparent=!0),f.material.color=m.Jp(q.color));f.material.needsUpdate=!0;f.material.opacity=q.opacity;f.renderOrder=q.renderOrder};d.H={};return d}(c);a.H={};a.H.TCa=[k.Wp,k.gv.not];a.H.H2=[k.Wp,k.gv];a.H.UCa=[k.Wp.not,k.gv];var h=new l.Matrix4,g=new l.Vector3;return a});
define("lr",["require","fT","cv"],function(a){function e(w){this.m=w;this.Ida=!1}var l=a("fT"),m=a("cv");e.prototype.update=function(){this.Ida=!1};e.prototype.frame=function(){this.yf()};e.prototype.yf=function(){if(!this.Ida&amp;&amp;(this.Va=this.Va||m.qf(this.m))){var w=m.Wc(this.m),x=w&amp;&amp;w.parent;if(x&amp;&amp;x.matrixWorld){var y=[];this.Va.traverse(function(I){I.isSprite||I.isLine||I==w||y.push(I)});var z=this.m.J(l.hv);f.set(z.x,z.y,z.z).applyMatrix4(x.matrixWorld);d.ray.origin.set(f.x,f.y,f.z);d.ray.direction.set(0,
-1,0);var B=d.intersectObjects(y,!1);if(0!=B.length){var D=B[0];h.copy(x.matrixWorld).invert();B=this.m.J(l.va,!0);g.setFromMatrixPosition(x.matrixWorld);k.copy(D.object.matrixWorld);b.setFromMatrixPosition(k);c.copy(k).invert();!z.vT&amp;&amp;D.face&amp;&amp;D.face.normal?p.copy(D.face.normal).applyMatrix4(k).sub(b).add(g):p.copy(g).add(r);p.applyMatrix4(h).normalize();u.setFromUnitVectors(q,p);t.setFromQuaternion(u,B.Ge);B.Qd=t.x*v;B.vd=t.y*v;B.He=t.z*v;f.copy(D.point).applyMatrix4(h);B.translationX=f.x;B.translationY=
f.y;B.Je=f.z;n.setFromMatrixScale(h);x=Math.max(n.x,n.y,n.z);B.positionX=0;B.positionY=0;B.positionZ=x*z.distance;this.Ida=!0}}}};e.prototype.dispose=function(){};var k=new THREE.Matrix4,c=new THREE.Matrix4,h=new THREE.Matrix4,g=new THREE.Vector3,b=new THREE.Vector3,d=new THREE.Raycaster,f=new THREE.Vector3,n=new THREE.Vector3;new THREE.Matrix4;new THREE.Matrix4;var q=new THREE.Vector3(0,0,1),p=new THREE.Vector3,r=new THREE.Vector3(0,1,0),t=new THREE.Euler,u=new THREE.Quaternion,v=180/Math.PI;e.$a=
function(w){w.I(l.Cs).manager=new e(w)};e.Ca=function(w){var x=w.getComponent(l.Cs);x.manager.dispose();x.manager=null;w.ha(l.Cs)};e.frame=function(w){w.getComponent(l.Cs).manager.frame()};e.update=function(w){w.getComponent(l.Cs).manager.update()};return e});
define("im",["require","lS","mc","fT","lr"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("lr");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.QCa.u.length&amp;&amp;this.QCa.u.slice().forEach(k.$a);this.G2.Ea.length&amp;&amp;this.G2.u.slice().forEach(k.update);this.G2.u.length&amp;&amp;this.G2.u.slice().forEach(k.frame);this.RCa.u.length&amp;&amp;this.RCa.u.slice().forEach(k.Ca);this.SCa.u.length&amp;&amp;this.SCa.u.slice().forEach(k.Ca)};a.H={};a.H.QCa=[m.Object3D,m.hv,m.Cs.not];a.H.G2=[m.Object3D,
m.hv,m.Cs];a.H.RCa=[m.Object3D.not,m.Cs];a.H.SCa=[m.hv.not,m.Cs];return a});define("gG",["require","fT"],function(a){var e=a("fT");return{$a:function(l){var m=l.I(e.yH),k=l.I(e.Object3D);l.I(e.va);l=l.J(e.Group);k.qa=m.group=l.group=new THREE.Group},Ca:function(l){l.getComponent(e.yH).group=null;l.ha(e.yH);l.ha(e.Object3D)}}});
define("lX",["require","lS","mc","fT","gG"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("gG");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.cEa.u.length&amp;&amp;this.cEa.u.slice().forEach(k.$a);this.dEa.u.length&amp;&amp;this.dEa.u.slice().forEach(k.Ca)};a.H={};a.H.cEa=[m.Group,m.yH.not];a.H.dEa=[m.Group.not,m.yH];return a});
define("mJ","require lS on mc fT cv os".split(" "),function(a){var e=a("lS"),l=a("on"),m=a("mc"),k=a("fT");a("cv");a("os");a=e.extend(m,function(){m.apply(this,arguments);this.Vb=this.Vb.bind(this);this.Ib=this.Ib.bind(this);this.kb=this.kb.bind(this)});a.prototype.Vc=function(){this.$Da.u.length&amp;&amp;this.$Da.u.slice().forEach(this.Vb);this.ZDa.Ea.length&amp;&amp;this.ZDa.Ea.slice().forEach(this.Ib);this.aEa.u.length&amp;&amp;this.aEa.u.slice().forEach(this.kb)};a.prototype.Vb=function(c){var h=c.getComponent(k.Ds);
h=new THREE.LineSegments(this.hCa(h),this.Kr(h));c.I(k.Object3D).qa=c.I(k.ez).grid=h};a.prototype.Ib=function(c){var h=c.getComponent(k.Ds);c=c.getComponent(k.ez).grid;c.geometry=this.hCa(h);c.material=this.Kr(h)};a.prototype.kb=function(c){var h=c.getComponent(k.ez).grid;h.material.dispose();h.geometry.dispose();c.ha(k.Object3D);c.ha(k.ez)};a.prototype.hCa=function(c){var h=l.Jp(c.SBa),g=l.Jp(c.YDa),b=c.n2/2,d=c.size/c.n2,f=c.size/2,n=[],q=[];for(let r=0,t=0,u=-f;r&lt;=c.n2;r++,u+=d){n.push(-f,0,u,
f,0,u);n.push(u,0,-f,u,0,f);var p=r===b?h:g;p.toArray(q,t);t+=3;p.toArray(q,t);t+=3;p.toArray(q,t);t+=3;p.toArray(q,t);t+=3}c=new THREE.BufferGeometry;c.setAttribute("position",new THREE.Float32BufferAttribute(n,3));c.setAttribute("color",new THREE.Float32BufferAttribute(q,3));return c};a.prototype.Kr=function(c){var h=new THREE.LineBasicMaterial;h.depthTest=c.depthTest;h.toneMapped=!1;h.vertexColors=!0;return h};a.H={};a.H.$Da=[k.Ds,k.ez.not];a.H.ZDa=[k.Ds,k.ez];a.H.aEa=[k.Ds.not,k.ez];return a});
define("bm","require lS py lu cI gE bn".split(" "),function(a){function e(f,n,q,p){this.Wia=f;this.src=f.src;this.M4=n;this.AS=q;this.L2=p;this.frameWidth=this.Wia.width/this.AS;this.frameHeight=this.Wia.height/this.M4}var l=a("lS"),m=a("py"),k=a("lu");a("cI");var c=a("gE"),h=a("bn");a=l.extend(c,function(f,n,q,p,r,t,u){c.call(this);this.Pl=r;this.Ah=new e(f,n,q,r);this.Axa=t;this.Zka(p);this.G$=u;this.T=document.createElement("canvas");this.T.width=this.Ah.frameWidth;this.T.height=this.Ah.frameHeight;
this.Da=this.T.getContext("2d");this.Da.globalCompositeOperation="copy";this.C=k.V;this.R_=this.jn=0;this.D9=void 0;this.ei=g.request(this.Ah);this.ei.bind(m.ba,this.Tj,this,!0);this.Tj()});a.prototype.Zka=function(f){if(this.af!==f){var n=this.DR;this.af=f;this.DR=this.af*this.Ah.L2;this.H$=this.DR-.1*this.af;void 0!==n&amp;&amp;(this.jn=this.jn/n*this.DR)}};a.prototype.qIa=function(f){this.G$!==f&amp;&amp;(this.G$=f,this.Tj())};a.prototype.Xc=function(f){if(this.C!=f){if(f==k.Qb){if(this.C!=k.PLAYING)return}else f==
k.PLAYING?this.C==k.V&amp;&amp;(this.jn=this.R_=0,this.Tj()):f!=k.V||0==this.jn&amp;&amp;0!=this.R_||(this.jn=this.H$,this.Tj());this.C=f;h.requestFrame(this.ck,this);this.trigger(m.Ae)}};a.prototype.getState=function(){return this.C};a.prototype.ck=function(f){this.C==k.PLAYING&amp;&amp;(this.jn=Math.min(this.jn+f,this.ei.ei.length*this.af),this.jn&gt;=this.DR&amp;&amp;(this.R_++,this.Axa&amp;&amp;this.R_==this.Axa?(this.Xc(k.V),this.jn=this.H$,this.trigger(m.Gb)):(this.jn%=this.DR,this.trigger(m.cq))),this.Tj(),this.C==k.PLAYING&amp;&amp;h.requestFrame(this.ck,
this))};a.prototype.clear=function(){this.Xc(k.V);this.T.width=this.T.height=0;this.T=null;g.release(this.Ah);this.Ah=null};a.prototype.dg=function(){return this.T};a.prototype.Tj=function(){var f=this.G$&amp;&amp;this.jn&gt;=this.H$?0:Math.floor(this.jn/this.af);this.D9!=f&amp;&amp;f&lt;this.ei.ei.length&amp;&amp;(this.D9=f,this.Da.drawImage(this.ei.get(this.D9),0,0),this.trigger(m.ba))};e.prototype.isEqual=function(f){return this.src==f.src&amp;&amp;this.M4==f.M4&amp;&amp;(this.AS=f.AS)&amp;&amp;(this.frameWidth=f.frameWidth)&amp;&amp;(this.frameHeight=f.frameHeight)&amp;&amp;
(this.L2=f.L2)};var g={Yj:[],qNa:2E3,request:function(f){f=this.Fi(f);f.Hj++;this.dza(f);return f.frames},release:function(f){f=this.Fi(f);f.Hj--;0==f.Hj&amp;&amp;this.E_a(f)},Fi:function(f){for(var n=0;n&lt;this.Yj.length;n++)if(this.Yj[n].g5a.isEqual(f))return this.Yj[n];n={};n.g5a=f;n.frames=new b(f);n.Hj=0;this.Yj.push(n);return n},E_a:function(f){this.dza(f);f.Tha=setTimeout(function(){g.gRa(f)},g.qNa)},dza:function(f){f.Tha&amp;&amp;(clearTimeout(f.Tha),f.Tha=null)},gRa:function(f){this.Yj.splice(this.Yj.indexOf(f),
1);f.frames.clear()}},b=l.extend(c,function(f){c.call(this);this.Ah=f;this.ei=[];d.add(this)});b.prototype.clear=function(){d.remove(this);this.ei.forEach(function(f){f.width=0;f.height=0});this.ei=null};b.prototype.get=function(f){return this.ei[f]};b.prototype.U4a=function(){var f=this.ei.length%this.Ah.AS,n=Math.floor(this.ei.length/this.Ah.AS)%this.Ah.M4,q=document.createElement("canvas");q.width=this.Ah.frameWidth;q.height=this.Ah.frameHeight;var p=q.getContext("2d");p.globalCompositeOperation=
"copy";p.drawImage(this.Ah.Wia,f*this.Ah.frameWidth,n*this.Ah.frameHeight,this.Ah.frameWidth,this.Ah.frameHeight,0,0,this.Ah.frameWidth,this.Ah.frameHeight);b.eSa(q);this.ei.push(q);this.trigger(m.ba)};b.eSa=function(){var f=document.createElement("canvas");f.width=1;f.height=1;var n=f.getContext("2d");return function(q){n.drawImage(q,0,0,1,1,0,0,1,1)}}();var d={Yj:[],Cfa:null,add:function(f){this.Yj.push(f);this.Rxa()},remove:function(f){this.Yj=this.Yj.filter(function(n){return n!=f})},Rxa:function(){this.Cfa||
(this.Cfa=setTimeout(function(){this.Cfa=null;this.fQ()}.bind(this),40))},fQ:function(){if(0!=this.Yj.length){for(var f=(new Date).getTime()+10;(new Date).getTime()&lt;f;){var n=this.Yj.filter(function(q){return 0==q.ei.length});n=0&lt;n.length?n[0]:this.Yj[0];n.U4a();if(n.ei.length==n.Ah.L2&amp;&amp;(this.Yj.splice(this.Yj.indexOf(n),1),0==this.Yj.length))return}this.Rxa()}}};return a});
define("pt",["require","py","lu"],function(a){function e(k,c){this.Rd=k;this.zc=c;this.Tb=!1;this.b8();this.e8();this.AE()}var l=a("py"),m=a("lu");e.prototype.clear=function(){this.cea();this.iea();this.Rd.set("state",m.V);this.zc=this.Rd=null};e.prototype.Ye=function(k){this.Tb!=k&amp;&amp;(this.Tb=k,this.Ut())};e.prototype.AE=function(){this.zc.Xc(this.Rd.get("state"))};e.prototype.KP=function(){this.Ut()};e.prototype.MP=function(){this.zc.Zka(this.Rd.get("frameDuration"))};e.prototype.LP=function(){this.zc.qIa("first"==
this.Rd.get("finalFrame"))};e.prototype.IP=function(){this.Rd.trigger(l.cq)};e.prototype.HP=function(){this.Rd.trigger(l.Gb)};e.prototype.JP=function(){this.Rd.set("state",this.zc.getState())};e.prototype.Ut=function(){this.Rd.get("autoplay")&amp;&amp;this.zc.Xc(this.Tb?m.PLAYING:m.V)};e.prototype.b8=function(){this.Rd.bind(l.G("state"),this.AE,this,!0);this.Rd.bind(l.G("autoplay"),this.KP,this,!0);this.Rd.bind(l.G("frameDuration"),this.MP,this,!0);this.Rd.bind(l.G("finalFrame"),this.LP,this,!0)};e.prototype.cea=
function(){this.Rd.unbind(l.G("state"),this.AE,this,!0);this.Rd.unbind(l.G("autoplay"),this.KP,this,!0);this.Rd.unbind(l.G("frameDuration"),this.MP,this,!0);this.Rd.unbind(l.G("finalFrame"),this.LP,this,!0)};e.prototype.e8=function(){this.zc.bind(l.cq,this.IP,this,!0);this.zc.bind(l.Gb,this.HP,this,!0);this.zc.bind(l.Ae,this.JP,this,!0)};e.prototype.iea=function(){this.zc.unbind(l.cq,this.IP,this,!0);this.zc.unbind(l.Gb,this.HP,this,!0);this.zc.unbind(l.Ae,this.JP,this,!0)};return e});
define("eR",["require","py","ol","bm","pt"],function(a){function e(h,g,b,d){this.be=h;this.hc=g;this.Ia=b;this.Ga=d.bind(this);m.Ja("AnimatedImageResource",this.be)?(this.zc=new k(this.hc,this.be.get("rowCount",1),this.be.get("colCount",1),this.be.get("frameDuration"),this.be.get("frameCount",this.be.get("rowCount",1)*this.be.get("colCount",1)),this.be.get("repeat"),"first"==this.be.get("finalFrame")),this.Ia.image=this.zc.dg(),this.zc.bind(l.ba,this.IO,this,!0),this.uo=new c(this.be,this.zc)):this.Ia.image=
this.hc;this.Ia.needsUpdate=!0;this.Ga()}var l=a("py"),m=a("ol"),k=a("bm"),c=a("pt");e.prototype.Ye=function(h){this.uo&amp;&amp;this.uo.Ye(h)};e.prototype.dispose=function(){this.uo&amp;&amp;(this.uo.clear(),this.uo=null);this.zc&amp;&amp;(this.zc.unbind(l.ba,this.IO,this,!0),this.zc.clear(),this.zc=null);this.Ia=this.hc=this.be=null};e.prototype.IO=function(){this.Ia.needsUpdate=!0;this.Ga()};return e});
define("eW",["require"],function(){var a={},e=null;a.kDa=function(){if(!e){var l=document.createElement("canvas");l.width=128;l.height=128;l.getContext("2d").clearRect(0,0,l.width,l.height);e=l}return e};return a});
define("kR",["require","lw","nC","mK"],function(a){var e=a("lw"),l=a("nC"),m=a("mK"),k=180/Math.PI,c=Math.PI/180;return{V2:function(h,g,b,d,f,n,q){g||(g=h*d/b);f||(f=m.az);var p={};switch(f){case m.az:p.width=h;p.height=g;break;case m.NONE:p.width=b;p.height=d;break;case m.Th:p.width=Math.min(g*b/d,h);p.height=Math.min(h*d/b,g);break;case m.As:p.width=Math.max(g*b/d,h);p.height=Math.max(h*d/b,g);break;case m.Vp:p.width=h;p.height=h*d/b;break;case m.xk:p.width=g*b/d,p.height=g}p.width&gt;h?(p.Ly=h/p.width,
p.ZU=n==l.ab?0:n==l.ub?1-p.Ly:.5*(1-p.Ly),p.width=h):(p.ZU=0,p.Ly=1);p.height&gt;g?(p.Ny=g/p.height,p.hV=q==l.Ec?1-p.Ny:q==l.wc?0:.5*(1-p.Ny),p.height=g):(p.hV=0,p.Ny=1);return p},Hia:function(h,g,b,d,f,n,q,p){g||(g=e.Em(h,b,d));f||(f=m.az);n||(n=4096/360);var r={};switch(f){case m.az:r.Ve=h;r.vs=g;break;case m.NONE:r.Ve=2*Math.atan2(.5*b,45*n)*k;r.vs=e.Em(r.Ve,b,d);break;case m.Th:r.Ve=Math.min(e.Lp(g,b,d),h);r.vs=Math.min(e.Em(h,b,d),g);break;case m.As:r.Ve=Math.max(e.Lp(g,b,d),h);r.vs=Math.max(e.Em(h,
b,d),g);break;case m.Vp:r.Ve=h;r.vs=e.Em(h,b,d);break;case m.xk:r.Ve=e.Lp(g,b,d),r.vs=g}r.Ve&gt;h?(r.Ly=Math.tan(.5*h*c)*b/Math.tan(.5*r.Ve*c)/b,r.ZU=q==l.ab?0:q==l.ub?1-r.Ly:.5*(1-r.Ly),r.Ve=h):(r.ZU=0,r.Ly=1);r.vs&gt;g?(r.Ny=Math.tan(.5*g*c)*d/Math.tan(.5*r.vs*c)/d,r.hV=p==l.Ec?1-r.Ny:p==l.wc?0:.5*(1-r.Ny),r.vs=g):(r.hV=0,r.Ny=1);return r}}});
define("ky","require le py cI ol cA lP eR eW fT pa bL kR".split(" "),function(a){function e(v){this.m=v;this.TA=this.TA.bind(this);this.Ga=this.Ga.bind(this);this.Wi=this.Wi.bind(this);v=v.getComponent(f.Al);this.dh=v.wp;this.ne=v.N;this.be=this.o=null;this.lVa=v.isSprite;this.xg=!1;this.ln=this.fb=null;this.jw=0;this.Zea=this.W9=this.Mb=this.zX=this.W=void 0;this.Jea(v.m3);this.Ui(v.properties)}var l=a("le"),m=a("py"),k=a("cI"),c=a("ol"),h=a("cA"),g=a("lP"),b=a("eR"),d=a("eW"),f=a("fT"),n=a("pa"),
q=a("bL"),p=a("kR"),r=["height","scaleMode","width"],t=["levels.url","levels.width","levels.height"],u="depthTest enabled encoding hidden side opacity".split(" ");e.prototype.frame=function(v){var w=this.m.getComponent(f.Al);this.Jea(w.m3);this.Ui(w.properties);this.ln&amp;&amp;(this.ln.Fb(v),this.jw=this.ln.eb("alpha"),this.nga(),this.ln.We()&amp;&amp;(this.ln=null),this.m.P.Ta());this.xg&amp;&amp;(this.xg=!1)};e.prototype.TA=function(){if(this.be&amp;&amp;this.o){var v=this.be&amp;&amp;this.be.get("levels")||[];v=v.filter(function(E){return!!E.get("url")});
var w=1,x=1;c.Ja("AnimatedImageResource",this.be)&amp;&amp;(w=this.be.get("rowCount"),x=this.be.get("colCount"));var y=null;if(0&lt;v.length){v.sort(function(E,J){return J.get("width")-E.get("width")});y=this.o.get("width");var z=this.o.get("height"),B=this.o.get("scaleMode","fill"),D=v[0].get("width")/x,I=v[0].get("height")/w,A=p.V2(y,z,D,I,B);y=v.reduce(function(E,J){return!E||E.get("width")&gt;J.get("width")&amp;&amp;J.get("width")/x&gt;=A.width&amp;&amp;J.get("height")/w&gt;=A.height?J:E})}this.YQ(y)}};e.prototype.YQ=function(v){this.fb!=
v&amp;&amp;(this.fb&amp;&amp;(this.qRa(),this.Z9(),this.pX(),this.Cq(),this.xg=!1),this.fb=v)&amp;&amp;(this.wq(),this.Yv(),this.UN(),this.xg=!1,this.Ga())};e.prototype.UN=function(){this.Ld||(this.Ld=new h,this.Ld.qM([this.fb.get("url")]),this.Ld.bind(m.ea,this.Cd,this,!0),this.Ld.bind(m.kc,this.pva,this,!0),this.Ld.bind(m.xc,this.bg,this,!0),this.zt=this.m.getComponent(f.Al).priority,g.Yn(this.Ld,this.zt))};e.prototype.Cq=function(){this.Ld&amp;&amp;(this.Ld.unbind(m.ea,this.Cd,this,!0),this.Ld.unbind(m.kc,this.pva,this,!0),this.Ld.unbind(m.xc,
this.bg,this,!0),g.Ij(this.Ld,this.zt),this.Ld=null)};e.prototype.Cd=function(){this.$Qa();this.Pfa(new k(m.ea))};e.prototype.pva=function(v){this.Pfa(new k(m.kc,{percent:v.Tg}))};e.prototype.bg=function(){this.Pfa(new k(m.xc))};e.prototype.Pfa=function(v){this.dh&amp;&amp;this.dh.trigger(v)};e.prototype.Ga=function(){this.xg||(this.xg=!0,this.m.P.Ta())};e.prototype.wq=function(){this.Ia=new THREE.Texture;this.Ia.image=d.kDa();this.Ia.generateMipmaps=!0;this.Ia.minFilter=THREE.LinearMipMapLinearFilter};e.prototype.pX=
function(){this.Ia&amp;&amp;(this.Ia.dispose(),this.Ia=null)};e.prototype.Yv=function(){this.lVa?(this.ya=new THREE.SpriteMaterial({map:this.Ia}),this.ya.sizeAttenuation=!0):this.ya=new THREE.MeshBasicMaterial({map:this.Ia});this.ya.transparent=!0;this.ya.needsUpdate=!0;this.m.I(f.Material).material=this.ya;this.jpa(0);this.m.J(f.uh,!0);this.m.J(f.Material,!0);this.Wi(!0)};e.prototype.Wi=function(v){var w=this.o.get("enabled")&amp;&amp;!this.o.get("hidden")&amp;&amp;!!this.gp,x=this.W!==w;if(x||v){this.W=w;w=this.jw;var y=
this.W?1:0,z=this.o.get("hidden")?0:200;this.ln=w!==y?new n("linear",[new q("alpha",w,y,void 0)],Math.abs(w-y)*z):null;this.nga()}w=this.o.get("encoding");if(this.zX!==w||v)this.zX=w,this.o2a();w=this.o.get("depthTest");if(this.W9!==w||v)this.W9=w,this.L1a();w=this.o.get("opacity");if(this.Mb!==w||v)this.Mb=w,this.nga();w=this.o.get("side");if(this.Zea!==w||v)this.Zea=w,this.M1a();x&amp;&amp;this.ne&amp;&amp;this.ne.trigger(this.W?m.jd:m.cd)};e.prototype.o2a=function(){if(this.ya&amp;&amp;(this.ya.map||this.ya.emissiveMap)){var v=
"srgb"==this.zX?THREE.SRGBColorSpace:THREE.LinearSRGBColorSpace;this.ya.map&amp;&amp;(this.ya.map.colorSpace=v);this.ya.emissiveMap&amp;&amp;(this.ya.emissiveMap.colorSpace=v);this.ya.needsUpdate=!0}this.m.J(f.uh,!0);this.Ga()};e.prototype.L1a=function(){this.ya&amp;&amp;(this.ya.depthTest=this.W9);this.m.J(f.uh,!0);this.Ga()};e.prototype.nga=function(){this.ya&amp;&amp;this.jpa((this.Mb||0)*this.jw);this.gp&amp;&amp;this.gp.Ye(0&lt;this.Mb);this.Ga()};e.prototype.jpa=function(v){this.ya.opacity=v;this.ya.visible=0&lt;this.ya.opacity;this.ya.isShaderMaterial&amp;&amp;
this.ya.uniforms.opacity&amp;&amp;(this.ya.uniforms.opacity.value=v);this.m.J(f.uh,!0)};e.prototype.M1a=function(){if(this.ya)switch(this.Zea){case "back":this.ya.side=THREE.BackSide;break;case "double":this.ya.side=THREE.DoubleSide;break;default:this.ya.side=THREE.FrontSide}this.m.J(f.uh,!0);this.Ga()};e.prototype.Z9=function(){this.ya&amp;&amp;(this.ya.dispose(),this.ya=null,this.m.ha(f.Material))};e.prototype.$Qa=function(){this.gp=new b(this.be,g.Cf(this.fb.get("url")),this.Ia,this.Ga);this.Wi(!0)};e.prototype.qRa=
function(){this.gp&amp;&amp;(this.gp.dispose(),this.gp=null)};e.prototype.Jea=function(v){this.be!=v&amp;&amp;(this.be&amp;&amp;l.ca(this.be,t,this.TA),(this.be=v)&amp;&amp;l.da(this.be,t,this.TA,!1),this.TA())};e.prototype.Ui=function(v){if(this.o!=v){this.o&amp;&amp;(l.ca(this.o,r,this.TA),l.ca(this.o,u,this.Wi));if(this.o=v)l.da(this.o,r,this.TA,!1),l.da(this.o,u,this.Wi,!1);this.TA()}};e.prototype.dispose=function(){this.YQ(null);this.Jea(null);this.Ui(null);this.m=this.dh=null};e.$a=function(v){v.I(f.fz).manager=new e(v)};e.Ca=function(v){var w=
v.getComponent(f.fz);w.manager.dispose();w.manager=null;v.ha(f.fz)};e.frame=function(v,w){v.getComponent(f.fz).manager.frame(w)};return e});
define("ni",["require","lS","mc","fT","ky"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("ky");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(c,h){this.Im.u.length&amp;&amp;this.Im.u.slice().forEach(k.Ca);this.Hm.u.length&amp;&amp;this.Hm.u.slice().forEach(k.$a);this.materials.u.length&amp;&amp;this.materials.u.slice().forEach(function(g){k.frame(g,c,h)})};a.H={};a.H.Hm=[m.Al,m.fz.not];a.H.materials=[m.Al,m.fz];a.H.Im=[m.Al.not,m.fz];return a});
define("K",["require","on","fT"],function(a){function e(k){this.m=k;this.ya=null;this.update()}var l=a("on"),m=a("fT");e.prototype.update=function(){this.ya||(this.ya=new THREE.LineBasicMaterial,this.m.I(m.Material).material=this.ya);var k=this.m.getComponent(m.th);this.ya.color=l.Jp(k.color||"#ffffff");this.ya.lineWidth=k.width||1;this.ya.opacity=k.opacity||0;this.ya.transparent=k.transparent;this.ya.depthTest=!!k.depthTest;this.ya.visible=0&lt;this.ya.opacity;this.ya.needsUpdate=!0};e.prototype.dispose=
function(){this.ya&amp;&amp;(this.ya.dispose(),this.ya=null,this.m.ha(m.Material));this.m=null};e.$a=function(k){k.I(m.hz).manager=new e(k)};e.Ca=function(k){var c=k.getComponent(m.hz);c.manager.dispose();c.manager=null;k.ha(m.hz)};e.update=function(k){k.getComponent(m.hz).manager.update()};return e});
define("jt",["require","lS","mc","fT","K"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("K");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.Hm.u.length&amp;&amp;this.Hm.u.slice().forEach(k.$a);this.materials.Ea.length&amp;&amp;this.materials.Ea.slice().forEach(k.update);this.Im.u.length&amp;&amp;this.Im.u.slice().forEach(k.Ca)};a.H={};a.H.Hm=[m.th,m.hz.not];a.H.materials=[m.th,m.hz];a.H.Im=[m.th.not,m.hz];return a});
define("ph","require lS mc fT cv os".split(" "),function(a){var e=a("lS"),l=a("mc"),m=a("fT");a("cv");var k=a("os");a=e.extend(l,function(){l.apply(this,arguments);this.Vb=this.Vb.bind(this);this.Ib=this.Ib.bind(this);this.kb=this.kb.bind(this)});a.prototype.Vc=function(){this.hFa.u.length&amp;&amp;this.hFa.u.slice().forEach(this.Vb);this.lines.Ea.length&amp;&amp;this.lines.Ea.slice().forEach(this.Ib);this.iFa.u.length&amp;&amp;this.iFa.u.slice().forEach(this.kb);this.jFa.u.length&amp;&amp;this.jFa.u.slice().forEach(this.kb);this.kFa.u.length&amp;&amp;
this.kFa.u.slice().forEach(this.kb)};a.prototype.Vb=function(c){c.I(m.Object3D).qa=new THREE.LineSegments;c.I(m.iz);c.I(m.va);if(!c.getComponent(m.Geometry)){var h=(new THREE.BufferGeometry).setFromPoints([new THREE.Vector3(0,0,0),new THREE.Vector3(0,0,1)]);h.userData.HEa=!0;c.I(m.Geometry).geometry=h}this.Ib(c)};a.prototype.Ib=function(c){var h=c.getComponent(m.Object3D).qa;k.iB(h,c.getComponent(m.Material).material);var g=c.getComponent(m.Geometry).geometry;h.geometry!=g&amp;&amp;(h.geometry&amp;&amp;g.userData.HEa&amp;&amp;
h.geometry.dispose(),h.geometry=g,h.needsUpdate=!0);c=c.getComponent(m.Line).renderOrder||0;h.renderOrder!=c&amp;&amp;(h.renderOrder=c,h.needsUpdate=!0)};a.prototype.kb=function(c){c.ha(m.iz);c.ha(m.Geometry);var h=c.getComponent(m.Object3D);h&amp;&amp;(h=h.qa,h.geometry&amp;&amp;h.geometry.userData.HEa&amp;&amp;h.geometry.dispose(),h.geometry=null,k.iB(h,null),c.ha(m.Object3D))};a.H={};a.H.hFa=[m.Line,m.Material,m.iz.not];a.H.lines=[m.Line,m.Geometry,m.Material,m.iz];a.H.iFa=[m.Line.not,m.iz];a.H.jFa=[m.Material.not,m.iz];a.H.kFa=
[m.Geometry.not,m.iz];return a});
define("gi",["require","lS","mc","fT","cv"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("cv");a=e.extend(l,function(){l.apply(this,arguments);this.Vb=this.Vb.bind(this);this.kb=this.kb.bind(this);this.zf=this.zf.bind(this)});a.prototype.Vc=function(){this.dFa.u.length&amp;&amp;this.dFa.u.slice().forEach(this.Vb);this.cFa.u.length&amp;&amp;this.cFa.u.slice().forEach(this.zf);this.eFa.u.length&amp;&amp;this.eFa.u.slice().forEach(this.kb);this.fFa.u.length&amp;&amp;this.fFa.u.slice().forEach(this.kb);this.gFa.u.length&amp;&amp;this.gFa.u.slice().forEach(this.kb)};
a.prototype.Vb=function(n){n.I(m.jz)};a.prototype.kb=function(n){n.ha(m.jz)};var c=new THREE.Matrix4,h=new THREE.Quaternion,g=new THREE.Vector3,b=new THREE.Vector3(0,0,1),d=new THREE.Euler,f=180/Math.PI;a.prototype.zf=function(n){var q=n.getComponent(m.va);if(q){var p=k.Wc(n);if(p&amp;&amp;p.parent){var r=n.getComponent(m.Es),t=r.F;if(t){r=k.Wc(t);if(!r||!r.parent)return;g.setFromMatrixPosition(r.matrixWorld)}else if(r.position)g.copy(r.position);else return;c.copy(p.parent.matrixWorld).invert();g.applyMatrix4(c);
g.x-=q.translationX;g.y-=q.translationY;g.z-=q.Je;p=g.length();h.setFromUnitVectors(b,g.normalize());d.setFromQuaternion(h,q.Ge);d.x*=f;d.y*=f;d.z*=f;if(q.scale!=p||q.Qd!=d.x||q.vd!=d.y||q.He!=d.z)q=n.J(m.va),q.scale=p,q.Qd=d.x,q.vd=d.y,q.He=d.z,k.GU(n,q),n.P.Ta()}}};a.H={};a.H.dFa=[m.Object3D,m.Es,m.jz.not];a.H.cFa=[m.Object3D,m.Es,m.jz,m.va];a.H.eFa=[m.Object3D.not,m.jz];a.H.fFa=[m.Es.not,m.jz];a.H.gFa=[m.va.not,m.jz];return a});
define("fg","require lS py oS mc fT cv os".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("oS"),k=a("mc"),c=a("fT"),h=a("cv"),g=a("os");a=e.extend(k,function(){k.apply(this,arguments);this.Vb=this.Vb.bind(this);this.kb=this.kb.bind(this);this.Ib=this.Ib.bind(this)});a.prototype.Vc=function(){this.QFa.u.length&amp;&amp;this.QFa.u.slice().forEach(this.Vb);this.Oja.Ea.length&amp;&amp;this.Oja.Ea.slice().forEach(this.Ib);this.RFa.u.length&amp;&amp;this.RFa.u.slice().forEach(this.kb);this.SFa.u.length&amp;&amp;this.SFa.u.slice().forEach(this.kb)};
a.prototype.Vb=function(b){b.I(c.kz);this.Oja.u.forEach(function(d){this.VUa(d,b)&amp;&amp;this.G_(h.Wc(d))}.bind(this));this.Ib(b)};a.prototype.Ib=function(b){var d=b.getComponent(c.uh);if(b=h.Wc(b))this.COa(b,d),this.G_(b),this.ie(b,d)};a.prototype.kb=function(b){b.ha(c.kz);var d=h.Wc(b);d&amp;&amp;(this.PPa(d),this.G_(d),b.ha(c.kz))};a.prototype.COa=function(b,d){b.userData.CGa=d.opacity;b.userData.nS=d.nS;b.userData.castShadow=d.castShadow;b.userData.receiveShadow=d.receiveShadow;b.userData.uS=d.uS};a.prototype.PPa=
function(b){b.userData.CGa=void 0;b.userData.nS=void 0;b.userData.castShadow=void 0;b.userData.receiveShadow=void 0;b.userData.uS=void 0};a.prototype.G_=function(b){if(m.Aj!=b&amp;&amp;!b.zu){var d=this.Wra(b),f=this.GSa(b),n=this.ISa(b),q=this.JSa(b),p=this.HSa(b);if(b.material){if(void 0===d&amp;&amp;!0!==p)g.oU(b);else{var r=b.userData.bs||b.material,t=g.x3(r),u=g.x3(b.material),v=r.opacity;r=r.transparent;!0!==p&amp;&amp;u&amp;&amp;!t?g.oU(b):!0!==p||u||g.eCa(b);void 0!==v&amp;&amp;(t=v*(void 0===d?1:d),u=0&lt;t,r=1&gt;t?!0:r,b.material.opacity!==
t||b.material.visible!==u||b.material.transparent!==r)&amp;&amp;(g.eia(b),b.material.opacity=t,b.material.transparent=r,b.material.visible=u,b.material.needsUpdate=!0);g.ecb(b)}var w=this.sSa(f);(null==b.material.map?[]:Array.isArray(b.material.map)?b.material.map:[b.material.map]).forEach(function(x){x.anisotropy!==w&amp;&amp;(x.anisotropy=w,x.needsUpdate=!0)})}b.isMesh&amp;&amp;(void 0!==n&amp;&amp;b.castShadow!==n&amp;&amp;(b.castShadow=n),void 0!==q&amp;&amp;b.receiveShadow!==q&amp;&amp;(b.receiveShadow=q));b.children&amp;&amp;b.children.forEach(function(x){x.userData.f7a=
d;x.userData.c7a=f;x.userData.e7a=n;x.userData.g7a=q;x.userData.d7a=p;this.G_(x)}.bind(this))}};a.prototype.sSa=function(b){return 1+Math.round((b||0)*(h.mDa().capabilities.getMaxAnisotropy()-1))};a.prototype.Wra=function(b){var d=b.userData.CGa;b=b.userData.f7a;if(void 0!==b||void 0!==d)if(d=(void 0!==b?b:1)*(void 0!==d?d:1),1!==d)return d};a.prototype.GSa=function(b){var d=b.userData.nS;if(void 0!==d)return d;b=b.userData.c7a;if(void 0!==b)return b};a.prototype.ISa=function(b){var d=b.userData.castShadow;
if(void 0!==d)return d;b=b.userData.e7a;if(void 0!==b)return b};a.prototype.JSa=function(b){var d=b.userData.receiveShadow;if(void 0!==d)return d;b=b.userData.g7a;if(void 0!==b)return b};a.prototype.HSa=function(b){var d=b.userData.uS;if(void 0!==d)return d;b=b.userData.d7a;if(void 0!==b)return b};a.prototype.ie=function(b,d){var f=this.Wra(b);void 0!==f&amp;&amp;(f=0&lt;f,b.userData.Hcb!==f&amp;&amp;(b.userData.Hcb=f,d.N&amp;&amp;d.N.trigger(f?l.jd:l.cd)))};a.prototype.VUa=function(b,d){b=h.Wc(b);d=h.Wc(d);if(!b||!d)return!1;
for(d=d.parent;d;){if(d===b)return!0;d=d.parent}return!1};a.H={};a.H.QFa=[c.uh,c.Object3D,c.kz.not];a.H.Oja=[c.uh,c.Object3D,c.kz];a.H.RFa=[c.uh.not,c.kz];a.H.SFa=[c.Object3D.not,c.kz];return a});
define("pr",["require","fT","os"],function(a){function e(k){this.m=k;this.Nga=this.Sl=this.qe=null;this.DK=-1}var l=a("fT"),m=a("os");e.prototype.frame=function(){if(!this.Sl&amp;&amp;(this.Sl=this.m.getComponent(l.Wh).Oia)){var k=this.Sl.userData&amp;&amp;this.Sl.userData.gltfExtensions&amp;&amp;this.Sl.userData.gltfExtensions.KHR_materials_variants;this.Nga=k&amp;&amp;k.variants||[];this.update()}};e.prototype.update=function(){if(this.Nga){var k=this.m.getComponent(l.mv).name,c=this.Nga.findIndex(function(g){return g.name==k}),
h=this.Sl.scene;this.qe!=h?(this.qe&amp;&amp;this.Fxa(this.qe),this.qe=h,this.DK=c,this.qe&amp;&amp;this.Gya(this.qe,this.DK)):this.DK!=c&amp;&amp;(this.DK=c,this.qe&amp;&amp;this.Gya(this.qe,this.DK));this.m.P.Ta()}};e.prototype.Fxa=function(k){this.mpa(k,-1)};e.prototype.Gya=function(k,c){this.CVa(k,c,function(){this.qe==k&amp;&amp;this.DK==c&amp;&amp;this.mpa(k,c)}.bind(this))};e.prototype.CVa=function(k,c,h){var g=[];k.traverse(function(b){var d=b.isMesh&amp;&amp;b.userData.gltfExtensions&amp;&amp;b.userData.gltfExtensions.KHR_materials_variants;if(d=d&amp;&amp;d.mappings){b.userData.N8a||
(b.userData.N8a=m.Z5a(b));b.userData.jC||(b.userData.jC={});for(var f=null,n=d.length-1;0&lt;=n&amp;&amp;!f;--n)-1!=d[n].variants.indexOf(c)&amp;&amp;(f=d[n]);f&amp;&amp;g.push(this.Sl.parser.getDependency("material",f.material).then(function(q){b.userData.jC[c]||(b.userData.jC[c]=q)}))}}.bind(this));Promise.all(g).then(function(){h(k,c)})};e.prototype.mpa=function(k,c){k.traverse(function(h){if(h.userData.jC){var g=h.userData.jC[c];g&amp;&amp;(m.iB(h,g),this.Sl.parser.assignFinalMaterial(h),this.m.J(l.uh,!0))}}.bind(this));this.m.P.Ta()};
e.prototype.dispose=function(){this.qe&amp;&amp;(this.Fxa(this.qe),this.m.J(l.uh,!0),this.qe=null)};e.$a=function(k){k.I(l.$p).manager=new e(k)};e.Ca=function(k){var c=k.getComponent(l.$p);c.manager.dispose();c.manager=null;k.ha(l.$p)};e.update=function(k){k.getComponent(l.$p).manager.update()};e.frame=function(k){k.getComponent(l.$p).manager.frame()};return e});
define("hZ",["require","lS","mc","fT","pr"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("pr");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.oFa.u.length&amp;&amp;this.oFa.u.slice().forEach(k.$a);this.L3.u.length&amp;&amp;this.L3.u.slice().forEach(k.frame);this.L3.Ea.length&amp;&amp;this.L3.Ea.slice().forEach(k.update);this.pFa.u.length&amp;&amp;this.pFa.u.slice().forEach(k.Ca);this.qFa.u.length&amp;&amp;this.qFa.u.slice().forEach(k.Ca);this.rFa.u.length&amp;&amp;this.rFa.u.slice().forEach(k.Ca)};a.H={};
a.H.oFa=[m.mv,m.Wh,m.Object3D,m.$p.not];a.H.L3=[m.mv,m.Wh,m.Object3D,m.$p];a.H.pFa=[m.mv.not,m.$p];a.H.qFa=[m.Object3D.not,m.$p];a.H.rFa=[m.Wh.not,m.$p];return a});
define("ip",["require","fT"],function(a){var e=a("fT");return{$a:function(l){var m=l.I(e.Hs);l.I(e.va);var k=l.J(e.Mesh);l.I(e.Object3D).qa=m.yp=k.yp=new THREE.Mesh(l.getComponent(e.Geometry).geometry,l.getComponent(e.Material).material);k.yp.renderOrder=k.renderOrder},update:function(l){var m=l.J(e.Hs);m.yp.geometry=l.getComponent(e.Geometry).geometry;m.yp.material=l.getComponent(e.Material).material;m.yp.renderOrder=l.getComponent(e.Mesh).renderOrder},Ca:function(l){l.getComponent(e.Hs).yp=null;
l.ha(e.Hs);l.ha(e.Object3D)}}});
define("f",["require","lS","mc","fT","ip"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("ip");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.uFa.u.length&amp;&amp;this.uFa.u.slice().forEach(k.$a);this.tFa.Ea.length&amp;&amp;this.tFa.Ea.slice().forEach(k.update);this.P3.u.length&amp;&amp;this.P3.u.slice().forEach(k.Ca);this.U7a.u.length&amp;&amp;this.P3.u.slice().forEach(k.Ca);this.V7a.u.length&amp;&amp;this.P3.u.slice().forEach(k.Ca)};a.H={};a.H.uFa=[m.Mesh,m.Geometry,m.Material,m.Hs.not];a.H.tFa=
[m.Mesh,m.Geometry,m.Material,m.Hs];a.H.P3=[m.Mesh.not,m.Hs];a.H.U7a=[m.Geometry.not,m.Hs];a.H.V7a=[m.Material.not,m.Hs];return a});
define("dV",["require","exports","py","gE","bA"],function(a,e,l,m,k){return function(c){function h(g,b){var d=c.call(this)||this;d.To=null;d.xpa=null;d.Ez=!1;d.gJ=null;d.Wd=g;d.zt=b;d.Ct=new Request(g);d.oR=d.oR.bind(d);d.pD=d.pD.bind(d);return d}Z(h,c);h.prototype.start=function(){this.gJ||(this.Ez=!1,this.gJ=k.add(this.Wd,this.zt,this.oR,this.pD))};h.prototype.oR=function(){0===this.Wd.indexOf("filesystem:")?this.TRa():this.URa()};h.prototype.TRa=function(){var g=this,b=new XMLHttpRequest;b.open("GET",
this.Wd,!0);b.responseType="arraybuffer";b.onload=function(){g.sva(b.response);b.onload=b.onerror=null};b.onerror=function(){g.ova();b.onload=b.onerror=null};b.send()};h.prototype.URa=function(){var g=this;fetch(this.Ct).then(function(b){function d(t){void 0===t&amp;&amp;(t=null);if(t=t||r)t.close(),r=null,g.To=null}function f(t){var u;return null===(u=g.To.read().then(function(v){var w=null===v||void 0===v?void 0:v.value;w&amp;&amp;(p+=w.byteLength,t.enqueue(w));v&amp;&amp;v.done&amp;&amp;(q&amp;&amp;p&lt;q?t.error("connection closed prematurely"):
(q=p,d(t)));void 0!==q&amp;&amp;g.trigger(l.kc,{totalBytes:q,bytesLoaded:p,percent:p&lt;q?100*p/q:100})}))||void 0===u?void 0:u.catch(function(v){console.log("Error reading response",v);t.error(v)})}if(g.Ez)return b.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");if(!b.ok)return Promise.resolve(b);var n=b.headers.get("content-length")||b.headers.get("x-content-length"),q,p=0;null!==n&amp;&amp;(q=parseInt(n,10));g.To=b.body.getReader();var r=null;return new Response(new ReadableStream({start:function(t){g.Ez?
t.close():r=t},pull:function(t){return f(t)},cancel:function(){return d()}}))}).then(function(b){return b.arrayBuffer()}).then(function(b){g.sva(b)}).catch(function(){g.ova()})};h.prototype.cancel=function(){this.gJ&amp;&amp;(this.gJ.cancel(),this.gJ=null)};h.prototype.pD=function(){this.Ez=!0;this.To&amp;&amp;(this.To.cancel(),this.To=null)};h.prototype.sva=function(g){var b;this.xpa=g;null===(b=this.gJ)||void 0===b?void 0:b.loaded();this.trigger(l.ea,{buffer:g})};h.prototype.ova=function(){this.cancel();this.trigger(l.xc)};
h.prototype.getData=function(){return this.xpa};return h}(m)});
define("cu","require exports three.mod py ix gE cv ho gy mn dV nf mS fT".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n,q,p){return function(r){function t(u){var v=r.call(this)||this;v.type=t.TYPE;v.xG=[];v.NB=[];v.mFa=0;v.F=u;v.Xja=v.Xja.bind(v);v.Yja=v.Yja.bind(v);v.vL=h.$Ia(new l.GLTFLoader);return v}Z(t,r);t.prototype.yia=function(){return this.Sl?this.Sl.scene:null};t.prototype.start=function(u){this.url=u;this.ZIa();this.Nr.start()};t.prototype.update=function(){if(0!=this.xG.length||0!=this.NB.length)if(b.J7a())this.F.P.Ta();
else{for(var u=Date.now()+8,v=this.F.getComponent(p.Wh).vc.Pd().Ur();0&lt;this.NB.length&amp;&amp;Date.now()&lt;u;){var w=this.NB.shift();v&amp;&amp;v.initTexture(w)}for(;0&lt;this.xG.length&amp;&amp;Date.now()&lt;u;)g.jHa(this.xG.shift());0==this.xG.length&amp;&amp;0==this.NB.length?this.mKa():this.F.P.Ta()}};t.prototype.dispose=function(){this.LJa()};t.prototype.ZIa=function(){this.Nr=new f(this.url,k.KC);this.Y2a()};t.prototype.LJa=function(){this.Nr&amp;&amp;(this.u9a(),this.Nr.cancel())};t.prototype.Y2a=function(){this.Nr.bind(m.ea,this.SL,this,
!0);this.Nr.bind(m.kc,this.UL,this,!0);this.Nr.bind(m.xc,this.TL,this,!0)};t.prototype.u9a=function(){this.Nr.unbind(m.ea,this.SL,this);this.Nr.unbind(m.kc,this.UL,this);this.Nr.unbind(m.xc,this.TL,this)};t.prototype.SL=function(){this.vL.parse(this.Nr.getData(),q.getDirectory(this.url),this.Xja,this.Yja)};t.prototype.UL=function(u){this.trigger(m.kc,u.data)};t.prototype.TL=function(){2&gt;this.mFa?(this.mFa++,this.LJa(),this.ZIa(),this.Nr.start()):this.trigger(m.xc)};t.prototype.Yja=function(u){n.av&amp;&amp;
u&amp;&amp;u.message&amp;&amp;console.error(u.message);this.trigger(m.xc)};t.prototype.Xja=function(u){this.vL&amp;&amp;(this.xG=[],this.NB=[],u.scene.traverse(function(v){if(v.isMesh){var w=v.material;w&amp;&amp;(1==d.hHa&amp;&amp;w.isMeshPhysicalMaterial&amp;&amp;(v.material=w=(new l.MeshStandardMaterial).copy(w)),w.depthWrite=!w.transparent,w=this.W5a(w),this.NB=this.NB.concat(w))}this.xG.push(v)}.bind(this)),this.Sl=u,0==this.xG.length&amp;&amp;0==this.NB.length?this.mKa():this.F.P.Ta())};t.prototype.mKa=function(){this.trigger(m.INIT);this.trigger(m.ea)};
t.prototype.W5a=function(u){var v=[];u.isMeshStandardMaterial?(u.alphaMap&amp;&amp;v.push(u.alphaMap),u.aoMap&amp;&amp;v.push(u.aoMap),u.bumpMap&amp;&amp;v.push(u.bumpMap),u.displacementMap&amp;&amp;v.push(u.displacementMap),u.emissiveMap&amp;&amp;v.push(u.emissiveMap),u.envMap&amp;&amp;v.push(u.envMap),u.lightMap&amp;&amp;v.push(u.lightMap),u.map&amp;&amp;v.push(u.map),u.metalnessMap&amp;&amp;v.push(u.metalnessMap),u.normalMap&amp;&amp;v.push(u.normalMap),u.roughnessMap&amp;&amp;v.push(u.roughnessMap)):u.isMeshBasicMaterial&amp;&amp;(u.alphaMap&amp;&amp;v.push(u.alphaMap),u.envMap&amp;&amp;v.push(u.envMap),
u.map&amp;&amp;v.push(u.map));return v};t.TYPE="gltf";return t}(c)});
define("cj",["require","exports","py","gE","cF"],function(a,e,l,m,k){return function(c){function h(g){var b=c.call(this)||this;b.type=h.TYPE;b.Cj=null;b.jT=null;b.url="";b.nB=null;b.Cm=null;b.FF=null;b.XG=null;b.properties=g;b.SL=b.SL.bind(b);b.UL=b.UL.bind(b);b.TL=b.TL.bind(b);b.UT=b.UT.bind(b);return b}Z(h,c);h.prototype.yia=function(){return this.Cj};h.prototype.start=function(g){this.url=g;k.GS.Lh()?this.AJa():k.GS.load(this.o8a,this)};h.prototype.update=function(){(!this.jT||this.Cm&amp;&amp;this.Cm.state==
TDV.GS.StateFx.PLAYING)&amp;&amp;this.trigger(l.ba)};h.prototype.dispose=function(){this.FF&amp;&amp;(this.properties.unbind(l.G("antialiasingLevel"),this.Pja,this),this.FF.dispose(),this.FF=null);this.XG&amp;&amp;(this.properties.unbind(l.G("sphericalHarmonicsMaxDegree"),this.aka,this),this.XG.dispose(),this.XG=null);this.properties.unbind(l.G("displayEffect"),this.Sja,this);this.jT&amp;&amp;(this.Cj.remove(this.jT),this.jT=null);this.Cj&amp;&amp;(this.Cj.removeEventListener("refresh",this.UT),this.Cj.dispose(),this.Cj=null);this.url=
""};h.prototype.o8a=function(){this.url&amp;&amp;this.AJa()};h.prototype.AJa=function(){this.Cj=new TDV.GS.GaussianSplattingGroup;this.Cj.addEventListener("refresh",this.UT);this.Cj.renderOrder=0;this.Cj.zu=!0;this.FF=new TDV.GS.AntialiasingFx;this.XG=new TDV.GS.SphericalHarmonicsFx;this.Cj.fx=(this.Cj.fx||[]).concat([this.FF,this.XG]);this.properties.bind(l.G("antialiasingLevel"),this.Pja,this,!1);this.properties.bind(l.G("sphericalHarmonicsMaxDegree"),this.aka,this,!1);this.properties.bind(l.G("displayEffect"),
this.Sja,this,!1);this.Pja();this.aka();this.Sja();(new TDV.GS.GaussianCloudLoader).load(this.url,this.SL,this.UL,this.TL)};h.prototype.SL=function(g){this.Cj&amp;&amp;(this.jT=g,this.Cj.add(g),this.trigger(l.INIT),this.trigger(l.ea))};h.prototype.UL=function(g){var b=g.total;g=g.loaded;this.trigger(l.kc,{totalBytes:b,bytesLoaded:g,percent:g&lt;b?100*g/b:100})};h.prototype.TL=function(){this.trigger(l.xc)};h.prototype.Sja=function(){var g=this.properties.get("displayEffect");if(this.nB!=g&amp;&amp;this.Cj){var b=this.Cj.fx;
this.Cm&amp;&amp;(b=b.filter(function(d){return d!=this.Cm}.bind(this)),this.Cm.dispose(),this.Cm=null);if(this.nB=g)this.Cm=new TDV.GS.RadialFadeInAnimationFx,this.Cm.sparseFadeFactor=this.nB.get("sparseFadeFactor"),this.Cm.denseFadeFactor=this.nB.get("denseFadeFactor"),this.Cm.denseTimeDelay=this.nB.get("denseTimeDelay"),this.Cm.speedFactor=this.nB.get("speedFactor"),this.Cm.minimumPointSize=this.nB.get("minimumPointSize"),b=b.concat([this.Cm]),this.Cm.play(),this.UT();this.Cj.fx=b}};h.prototype.UT=function(){this.trigger(l.ba)};
h.prototype.Pja=function(){this.FF&amp;&amp;(this.FF.value=this.properties.get("antialiasingLevel"),this.trigger(l.ba))};h.prototype.aka=function(){this.XG&amp;&amp;(this.XG.maxDegree=this.properties.get("sphericalHarmonicsMaxDegree"),this.trigger(l.ba))};h.TYPE="gs";return h}(m)});
define("oq","require exports three.mod py gE cv os mS".split(" "),function(a,e,l,m,k,c,h,g){a=function(p){function r(){var t=p.call(this)||this;t.type=r.TYPE;t.re=null;t.vL=null;t.camera=null;t.np=null;t.width=void 0;t.height=void 0;t.Lh=!1;t.T1=null;t.session=null;t.config=null;return t}Z(r,p);r.prototype.yia=function(){return this.re?this.re.group:null};r.prototype.l$a=function(t){this.config=t};r.prototype.start=function(t){this.T1=this.k5a(t);this.re=new l.TDTiles.TilesRenderer(t);this.vL=c.$Ia(new l.GLTFLoader(this.re.manager));
this.re.manager.addHandler(/\.gltf$/,this.vL);this.config&amp;&amp;(this.re.maxDepth=this.config.maxDepth,this.re.loadSiblings=this.config.loadSiblings,this.re.parseQueue.maxJobs=this.config.eka,this.re.downloadQueue.maxJobs=this.config.Yha,this.re.lruCache.minSize=this.config.tja,this.re.lruCache.maxSize=this.config.sja,this.re.errorTarget=this.config.errorTarget,this.re.errorThreshold=this.config.errorThreshold);g.bja(t)&amp;&amp;(this.re.fetchOptions.mode="cors");this.re.onLoadModel=this.onLoadModel.bind(this);
this.re.onDisposeModel=this.onDisposeModel.bind(this);this.re.onLoadTileSet=this.onLoadTileSet.bind(this);this.re.onTileVisibilityChange=this.onTileVisibilityChange.bind(this);this.re.preprocessURL=this.x8a.bind(this);this.trigger(m.INIT)};r.prototype.dispose=function(){this.re&amp;&amp;(this.vL=null,this.re.dispose(),this.re=null,this.np&amp;&amp;this.np.removeFromParent(),this.session=this.T1=null)};r.prototype.setCamera=function(t){this.camera!==t&amp;&amp;(this.camera=t,this.rKa(),this.updateCamera())};r.prototype.setSize=
function(t,u){if(this.width!==t||this.height!==u)this.width=t,this.height=u,this.tcb()};r.prototype.update=function(){this.camera&amp;&amp;this.width&amp;&amp;this.height&amp;&amp;(this.rKa(),this.re.update())};r.prototype.k5a=function(t){return(new window.URL(t)).searchParams.get("key")||null};r.prototype.m6a=function(t){return(new window.URL(t)).searchParams.get("session")||null};r.prototype.updateCamera=function(){this.re&amp;&amp;this.camera&amp;&amp;(this.re.setCamera(this.camera),this.re.setCamera(this.np))};r.prototype.rKa=function(){this.camera&amp;&amp;
(this.np||(this.np=new l.OrthographicCamera(-1,1,-1,1),this.np.matrixAutoUpdate=!1),this.np.parent!==this.camera&amp;&amp;this.camera.add(this.np),this.camera.updateMatrixWorld(!0),q.setFromMatrixPosition(this.camera.matrixWorld),n.copy(q).y-=this.camera.far,n.applyMatrix4(b.copy(this.camera.matrixWorld).invert()),f.random().cross(n).normalize(),this.np.matrix.lookAt(d,n,f),this.np.near=this.camera.near,this.np.far=this.camera.far)};r.prototype.tcb=function(){this.re&amp;&amp;this.camera&amp;&amp;this.width&amp;&amp;this.height&amp;&amp;
(this.re.setResolution(this.camera,this.width,this.height),this.re.setResolution(this.np,1,1))};r.prototype.x8a=function(t){t=new window.URL(t);/^http/.test(t.protocol)&amp;&amp;(this.T1&amp;&amp;t.searchParams.append("key",this.T1),this.session&amp;&amp;t.searchParams.append("session",this.session));return t.toString()};r.prototype.onLoadModel=function(){this.Lh||(this.Lh=!0,this.trigger(m.ea));this.trigger(m.ba)};r.prototype.onDisposeModel=function(t){t.traverse(function(u){u instanceof l.Mesh&amp;&amp;h.oU(u)})};r.prototype.onTileVisibilityChange=
function(t,u,v){v&amp;&amp;this.trigger(m.ba)};r.prototype.onLoadTileSet=function(){null==this.session&amp;&amp;this.re.traverse(function(t){return t.content&amp;&amp;t.content.uri?(this.session=this.m6a(t.content.uri),!0):!1}.bind(this));this.trigger(m.ba)};r.TYPE="tiles";return r}(k);var b=new l.Matrix4,d=new l.Vector3,f=new l.Vector3,n=new l.Vector3,q=new l.Vector3;return a});
define("hM",["require","exports"],function(){return function(){function a(){this.errorTarget=6;this.maxDepth=this.errorThreshold=Infinity;this.loadSiblings=!0;this.Yha=6;this.eka=3;this.tja=600;this.sja=800}a.k4a=function(e){var l=new a;l.errorTarget=e.get("errorTarget",l.errorTarget);l.errorThreshold=e.get("errorThreshold",l.errorThreshold);l.maxDepth=e.get("maxDepth",l.maxDepth);l.loadSiblings=e.get("loadSiblings",l.loadSiblings);l.Yha=e.get("downloadMaxJobs",l.Yha);l.eka=e.get("parseMaxJobs",l.eka);
l.tja=e.get("lruCacheMinSize",l.tja);l.sja=e.get("lruCacheMaxSize",l.sja);return l};return a}()});
define("nK",["require","ho"],function(a){function e(g){this.ia=g}var l=a("ho"),m=new THREE.Raycaster,k=new THREE.Vector3,c=new THREE.Vector3(0,-1,0),h=new THREE.Vector3(0,1,0);e.prototype.aH=function(g,b){m.ray.origin.copy(g);k.copy(b).sub(g);var d=k.length();k.normalize();m.ray.direction.copy(k);g=this.UD();return 0&lt;l.intersect(m,g).filter(function(f){if(f.distance&gt;=.98*d||!f.object.visible)return!1;f=Array.isArray(f.object.material)&amp;&amp;f.face?f.object.material[f.face.materialIndex]:f.object.material;
return!f||f.visible}).length};e.prototype.A5a=function(g){m.ray.origin.copy(g);m.ray.direction.copy(c);g=this.UD();var b=l.intersect(m,g);if(0&lt;b.length)return b[0].distance;m.ray.direction.copy(h);b=l.intersect(m,g);if(0&lt;b.length)return-b[0].distance};e.prototype.UD=function(){var g=[];this.ia.traverse(function(b){b.isSprite||b.isLine||g.push(b)});return g};return e});
define("bd",["require","cv"],function(a){function e(m,k){this.nb=m;this.hUa=k}var l=a("cv");e.prototype.ADa=function(m){return(m=this.Wc(m))&amp;&amp;m.matrixWorld};e.prototype.Wc=function(m){return m?l.qB(this.hUa,m):l.Wc(this.nb)};return e});
define("eu",["require","cv"],function(a){function e(b,d,f){this.nb=b;this.WVa=d;this.qSa=f}var l=a("cv"),m=new THREE.Vector3,k=new THREE.Vector3,c=new THREE.Vector3,h=new THREE.Frustum,g=new THREE.Matrix4;e.prototype.Mia=function(b,d){d=this.WVa.ADa(d);if(!d)return null;k.copy(b).applyMatrix4(d);var f=(b=l.Wc(this.nb))&amp;&amp;l.fT(b);b=f&amp;&amp;l.uu(f);if(!b)return null;g.identity().multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);h.setFromProjectionMatrix(g);if(!h.containsPoint(k))return null;d=(f&amp;&amp;
l.iT(f))/2;f=(f&amp;&amp;l.uB(f))/2;m.copy(k).project(b);d=m.x*d+d;f=-(m.y*f)+f;c.setFromMatrixPosition(b.matrixWorld);b=this.qSa.aH(c,k);return{x:Math.round(d),y:Math.round(f),visible:!b}};return e});
define("eP","require py mU cu cj oq hM nK bd eu cv fT w iE mS".split(" "),function(a){function e(t,u,v,w){this.m=t;this.Eo=u;t=this.m.getComponent(q.Wh);this.o=t.properties;this.Ri=w;this.Oe=v;this.ne=this.Ri.ju(1);this.Oe.NK(this.ne,1);this.Ha=this.Sl=null;v=this.bUa(t.Dja);this.rd=this.MQa(v);this.NNa();this.rd.type===h.TYPE&amp;&amp;this.rd.l$a(g.k4a(t.Dja));this.rd.start(v)}var l=a("py"),m=a("mU"),k=a("cu"),c=a("cj"),h=a("oq"),g=a("hM"),b=a("nK"),d=a("bd"),f=a("eu"),n=a("cv"),q=a("fT"),p=a("w"),r=a("iE");
a("mS");e.prototype.MQa=function(t){return r.is(t,r.Mma)?new c(this.o):r.is(t,r.dNa)?new h:new k(this.m)};e.prototype.bUa=function(t){var u=t.get("levels");if(!v&amp;&amp;p.qb())var v=(v=u.find(function(w){return-1&lt;w.get("tags").indexOf(m.VV)}))&amp;&amp;v.get("url");v||u.length&amp;&amp;(v=u[0].get("url"));v||(v=t.get("url"));return v};e.prototype.update=function(){};e.prototype.frame=function(){this.rd.type===h.TYPE?this.q2a():this.rd.type===k.TYPE?this.C1a():this.rd.type===c.TYPE&amp;&amp;this.D1a()};e.prototype.q2a=function(){var t=
n.qf(this.m),u=t&amp;&amp;n.uu(t);u&amp;&amp;(this.rd.setCamera(u),this.rd.setSize(n.iT(t),n.uB(t)),this.rd.update())};e.prototype.C1a=function(){this.rd.update()};e.prototype.D1a=function(){this.rd.update()};e.prototype.NNa=function(){this.rd.bind(l.INIT,this.ava,this,!0);this.rd.bind(l.ea,this.Cd,this,!0);this.rd.bind(l.xc,this.bg,this,!0);this.rd.bind(l.kc,this.Ki,this,!0);this.rd.bind(l.ba,this.tva,this,!0)};e.prototype.pYa=function(){this.rd.unbind(l.INIT,this.ava,this);this.rd.unbind(l.ea,this.Cd,this);this.rd.unbind(l.xc,
this.bg,this);this.rd.unbind(l.kc,this.Ki,this);this.rd.unbind(l.ba,this.tva,this)};e.prototype.ava=function(){this.Ha=this.rd.yia();this.Eo.I(q.Object3D).qa=this.Ha;var t=this.rd.type==k.TYPE,u=this.rd.type==c.TYPE;this.pOa(this.Ha,t||u);u=this.m.J(q.Wh,!0);u.Oia=t?this.rd.Sl:null;this.m.J(q.Animation,!0).properties=u.properties};e.prototype.Cd=function(){this.o.set("geometryQuery",new b(this.Ha));this.o.set("objectQuery",new d(this.m,this.Ha));this.o.set("projectionQuery",new f(this.m,this.o.get("objectQuery"),
this.o.get("geometryQuery")));this.b1();this.m.J(q.uh)};e.prototype.Ki=function(t){this.ne.trigger(l.kc,t.data)};e.prototype.bg=function(){this.ne.trigger(l.xc)};e.prototype.tva=function(){this.m.J(q.Object3D,!0)};e.prototype.b1=function(){this.o.set("isLoaded",!0);this.ne.trigger(l.ea)};e.prototype.pOa=function(t,u){void 0===t.userData.id&amp;&amp;(t.userData.id="root");if(!1!==u)for(var v=[t];v.length;){var w=v.shift();t=[];w.children&amp;&amp;(t=t.concat(w.children));w.isSkinnedMesh&amp;&amp;(t=t.concat(w.skeleton.bones));
t.forEach(function(x,y){void 0===x.userData.id&amp;&amp;(x.userData.id=w.userData.id+"/"+y);v.push(x)})}};e.prototype.dispose=function(){this.Ha&amp;&amp;(this.rd.type!=c.TYPE&amp;&amp;this.Ha.traverse(function(t){function u(x){x&amp;&amp;0&gt;v.indexOf(x)&amp;&amp;v.push(x)}var v=[];u(t.material);u(t.userData.bs);if(t.userData.jC)for(var w in t.userData.jC)u(t.userData.jC[w]);v.forEach(function(x){x.dispose();Object.keys(x).forEach(function(y){(y=x[y])&amp;&amp;"object"===typeof y&amp;&amp;"minFilter"in y&amp;&amp;y.dispose()})});t.geometry&amp;&amp;t.geometry.userData.EBa&amp;&amp;
t.geometry.disposeBoundsTree();t.geometry&amp;&amp;t.geometry.dispose()}),this.Ha=null,this.Eo.ha(q.Object3D));this.rd&amp;&amp;(this.pYa(),this.rd.dispose(),this.rd=null);this.ne&amp;&amp;(this.Oe.fM(this.ne),this.Ri.fM(this.ne),this.Oe=this.ne=null);this.o&amp;&amp;(this.o.set("geometryQuery",null),this.o.set("objectQuery",null),this.o.set("isLoaded",!1),this.o=null)};return e});
define("o","require le py gE fT cv".split(" "),function(a){function e(p,r,t){this.nb=p;this.m=r;this.K=t;this.Lk=this.Lk.bind(this);this.Mg=this.Mg.bind(this);this.Rw=this.Rw.bind(this);this.we=null;this.W=!1;this.I_=[1,1,1,1,1,1];this.kw=[];this.rg=[this.IK=this.vq(),this.HK=this.vq(),this.KK=this.vq(),this.JK=this.vq(),this.MK=this.vq(),this.LK=this.vq()];this.rg.forEach(function(u){u=u.J(c.kd);u.opacity=.5;u.depthTest=!1}.bind(this));l.da(this.K,f,this.Mg,!0);l.da(this.K,n,this.Lk,!0);l.da(this.K,
q,this.Rw,!0)}var l=a("le"),m=a("py"),k=a("gE"),c=a("fT"),h=a("cv");e.prototype.frame=function(){if(this.W&amp;&amp;(this.UZa(this.rg.map(function(A){return h.$F(A)||1})),this.we)){var p=h.Wc(this.m),r=h.Wc(this.OI(this.we));if(p&amp;&amp;r){b.copy(p.matrixWorld).invert();g.setFromMatrixPosition(r.matrixWorld).applyMatrix4(b);p=this.K.get("x");r=this.K.get("y");var t=this.K.get("z"),u=this.K.get("width"),v=this.K.get("height"),w=this.K.get("depth"),x=0,y=0,z=0,B=0,D=0,I=0;switch(this.we){case this.IK:B=g.x-.5*u;
x=.5*B;break;case this.HK:B=-g.x-.5*u;x=.5*-B;break;case this.KK:D=g.y-.5*v;y=.5*D;break;case this.JK:D=-g.y-.5*v;y=.5*-D;break;case this.MK:I=g.z-.5*w;z=.5*I;break;case this.LK:I=-g.z-.5*w,z=.5*-I}this.K.set("x",p+x);this.K.set("width",u+B);this.K.set("y",r+y);this.K.set("height",v+D);this.K.set("z",t+z);this.K.set("depth",w+I)}}};var g=new THREE.Vector3,b=new THREE.Matrix4;e.prototype.vq=function(){var p=this.nb.P.Mc("DraggingSphere");this.kw.push(p);p.I(c.Mesh).renderOrder=2;p.I(c.Geometry).geometry=
new THREE.SphereGeometry;p.I(c.kd);return p};e.prototype.Mg=function(){this.IK.J(c.kd).color=this.K.get("draggableXControlsColor");this.HK.J(c.kd).color=this.K.get("draggableXControlsColor");this.KK.J(c.kd).color=this.K.get("draggableYControlsColor");this.JK.J(c.kd).color=this.K.get("draggableYControlsColor");this.MK.J(c.kd).color=this.K.get("draggableZControlsColor");this.LK.J(c.kd).color=this.K.get("draggableZControlsColor");var p=this.K.get("draggableSphereRadius");this.rg.forEach(function(r,t){r.J(c.va,
!0).scale=p*this.I_[t]}.bind(this))};e.prototype.Lk=function(){this.IK.J(c.va,!0).positionX=this.K.get("width")/2;this.HK.J(c.va,!0).positionX=-this.K.get("width")/2;this.KK.J(c.va,!0).positionY=this.K.get("height")/2;this.JK.J(c.va,!0).positionY=-this.K.get("height")/2;this.MK.J(c.va,!0).positionZ=this.K.get("depth")/2;this.LK.J(c.va,!0).positionZ=-this.K.get("depth")/2};e.prototype.Rw=function(){var p=this.K.get("sizeDraggable");this.W!=p&amp;&amp;(this.W=p,this.rg.forEach(function(r){p?(r.I(c.lb).F=this.m,
this.rg.forEach(function(t){t=t.I(c.Hd);t.zy=!0;t.Qx=!0;t.N=new k;t.N.bind(m.Dc,this.qJ,this,!0);t.N.bind(m.Jb,this.Fca,this,!0);t.N.bind(m.hb,this.Dca,this,!0);t.N.bind(m.Eb,this.Eca,this,!0)}.bind(this))):(r.ha(c.lb),this.rg.forEach(function(t){t.ha(c.Hd)}.bind(this)))}.bind(this)))};e.prototype.UZa=function(p){for(var r=!1,t=0;t&lt;this.I_.length&amp;&amp;!r;t++)r=this.I_[t]!=p[t];r&amp;&amp;(this.I_=p,this.Mg())};e.prototype.qJ=function(p){(p=this.nw(p))&amp;&amp;p!=this.we&amp;&amp;(p.J(c.kd).opacity=1)};e.prototype.Fca=function(p){(p=
this.nw(p))&amp;&amp;p!=this.we&amp;&amp;(p.J(c.kd).opacity=.5)};e.prototype.nw=function(p){p=this.rg.map(function(r){return r.getComponent(c.Hd).N}).indexOf(p.source);return-1==p?null:this.rg[p]};e.prototype.Dca=function(p){p=this.nw(p);this.bR(p)};e.prototype.Eca=function(p){p=this.nw(p);p==this.we&amp;&amp;(this.bR(null),this.Lk(),(p=-1!=this.rg.indexOf(p))&amp;&amp;this.K.trigger(m.Fl),p&amp;&amp;this.K.trigger(m.Ona))};e.prototype.bR=function(p){this.we&amp;&amp;(this.we.J(c.kd).opacity=.5,this.OI(this.we).ha(c.cv));if(this.we=p)this.we.J(c.kd).opacity=
1,p=this.OI(this.we).I(c.cv),p.direction=this.WSa(this.we),p.min=this.XSa(this.we)};e.prototype.WSa=function(p){var r=h.getWorldPosition(this.m);return h.getWorldPosition(p).sub(r)};e.prototype.OI=function(p){return-1!=this.rg.indexOf(p)?p:null};e.prototype.XSa=function(p){var r=this.ATa(p);if(r){r=h.getWorldPosition(r);var t=h.getWorldPosition(p).sub(r);switch(p){case this.IK:case this.HK:var u=this.K.get("minWidth");break;case this.KK:case this.JK:u=this.K.get("minHeight");break;case this.MK:case this.LK:u=
this.K.get("minDepth")}return r.add(t.setLength(u||d))}};e.prototype.ATa=function(p){switch(p){case this.IK:return this.HK;case this.HK:return this.IK;case this.KK:return this.JK;case this.JK:return this.KK;case this.MK:return this.LK;case this.LK:return this.MK}return null};e.prototype.dispose=function(){l.ca(this.K,f,this.Mg);l.ca(this.K,n,this.Lk);l.ca(this.K,q,this.Rw);var p=this.nb.P;this.kw.forEach(function(r){p.Gd(r)});this.K=this.nb=this.rg=this.m=this.kw=null};var d=1E-6,f=["draggableSphereRadius",
"draggableXControlsColor","draggableYControlsColor","draggableZControlsColor"],n="depth height x y z width".split(" "),q=["sizeDraggable"];return e});
define("cB","require le py gE fT o".split(" "),function(a){function e(f,n,q){this.nb=f;this.K=q;this.Lk=this.Lk.bind(this);this.Mg=this.Mg.bind(this);this.Sw=this.Sw.bind(this);this.m=this.lQa();f=this.m.I(c.lb);f.F=this.nb;f.id=this.K.get("parentId");this.Xs=this.t9();this.Xs.I(c.lb).F=this.m;this.kO=this.zQa();this.kO.I(c.lb).F=this.m;this.kw=[this.m,this.Xs,this.kO];this.o$=new h(this.nb,this.m,this.K);f=this.m.I(c.Hd);f.Qx=!0;f.zy=!0;f.N=this.K;l.da(this.K,g,this.Mg,!0);l.da(this.K,b,this.Lk,
!0);l.da(this.K,d,this.Sw,!0);this.K.trigger(m.jd)}var l=a("le"),m=a("py"),k=a("gE"),c=a("fT"),h=a("o");e.prototype.frame=function(){this.o$.frame()};e.prototype.lQa=function(){var f=this.nb.P.Mc("Box");f.I(c.Group);return f};e.prototype.t9=function(){var f=this.nb.P.Mc("BoxBorder");f.I(c.Line);f.I(c.Geometry).geometry=this.mQa();f.I(c.th);return f};e.prototype.zQa=function(){var f=this.nb.P.Mc("BoxFace");f.I(c.Mesh);var n=f.I(c.uh);n.castShadow=!1;n.receiveShadow=!1;f.I(c.Geometry).geometry=new THREE.BoxGeometry(1,
1,1);f.I(c.kd);return f};e.prototype.mQa=function(){var f=[new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(-.5,-.5,-.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(.5,.5,-.5),new THREE.Vector3(.5,.5,-.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(-.5,
-.5,-.5),new THREE.Vector3(-.5,-.5,.5),new THREE.Vector3(-.5,-.5,-.5),new THREE.Vector3(.5,-.5,.5),new THREE.Vector3(.5,-.5,-.5),new THREE.Vector3(-.5,.5,.5),new THREE.Vector3(-.5,.5,-.5),new THREE.Vector3(.5,.5,.5),new THREE.Vector3(.5,.5,-.5)];return(new THREE.BufferGeometry).setFromPoints(f)};e.prototype.Mg=function(){var f=this.Xs.J(c.th);f.color=this.K.get("lineColor");f.opacity=this.K.get("lineOpacity");f.width=this.K.get("lineWidth");f.depthTest=this.K.get("depthTest");f=this.kO.J(c.kd);f.color=
this.K.get("faceColor");f.opacity=this.K.get("faceOpacity");f.depthTest=this.K.get("depthTest");f=this.m.J(c.Hd,!0);f.gH=this.K.get("useHandCursor");f.AM=this.K.get("transparentAreaActive")};e.prototype.Lk=function(){var f=this.m.J(c.va,!0);f.positionX=this.K.get("x");f.positionY=this.K.get("y");f.positionZ=this.K.get("z");f=this.Xs.J(c.va,!0);var n=this.kO.J(c.va,!0);n.sf=f.sf=this.K.get("width");n.Ff=f.Ff=this.K.get("height");n.nh=f.nh=this.K.get("depth")};e.prototype.Sw=function(){if(this.K.get("positionDraggable")){var f=
this.m.J(c.Wg,!0);f.N||(f.N=new k,f.N.bind(m.ba,this.rl,this,!0));f.translate=this.K.get("positionDraggable")||!1;f.rotate=!1;f.scale=!1}else(f=this.m.getComponent(c.Wg))&amp;&amp;f.N.unbind(m.ba,this.rl,this),this.m.ha(c.Wg)};e.prototype.rl=function(f){this.K.set({x:f.data.position.x,y:f.data.position.y,z:f.data.position.z});this.K.trigger(m.Fl)};e.prototype.dispose=function(){this.o$.dispose();this.o$=null;l.ca(this.K,d,this.Sw);l.ca(this.K,g,this.Mg);l.ca(this.K,b,this.Lk);var f=this.nb.P;this.kw.forEach(function(n){f.Gd(n)});
this.nb=this.kO=this.Xs=this.m=this.kw=null;this.K.trigger(m.cd);this.K=null};var g=["transparentAreaActive","useHandCursor"],b="depth height x y z width".split(" "),d=["positionDraggable"];return e});
define("cS","require le py gE fT cv".split(" "),function(a){function e(w,x,y){this.nb=w;this.m=x;this.K=y;this.DE=this.DE.bind(this);this.Mg=this.Mg.bind(this);this.Rw=this.Rw.bind(this);this.we=null;this.W=!1;this.aW=this.At=1;this.Zs=this.nb.P.Mc("DraggingSize2DContainer");this.Zs.I(c.Group);this.Zs.I(c.va);this.rg=[this.aca=this.vq(),this.Uba=this.vq(),this.uea=this.vq(),this.aea=this.vq()];this.rg.forEach(function(z){z.I(c.va);z=z.J(c.kd);z.color="#ffffff";z.opacity=.5;z.depthTest=!1}.bind(this));
this.Xs=this.t9();this.kw=[this.Zs,this.Xs].concat(this.rg);[this.Xs].concat(this.rg).forEach(function(z){z.I(c.lb).F=this.Zs}.bind(this));l.da(this.K,u,this.DE,!0);l.da(this.K,t,this.Mg,!0);l.da(this.K,v,this.Rw,!0)}var l=a("le"),m=a("py"),k=a("gE"),c=a("fT"),h=a("cv"),g=new THREE.Matrix4,b=new THREE.Vector3,d=new THREE.Vector3,f=new THREE.Quaternion,n=new THREE.Vector3,q=new THREE.Vector3,p=new THREE.Euler,r=180/Math.PI;e.prototype.frame=function(){if(this.W){var w=h.Wc(this.Zs),x=w&amp;&amp;h.fT(w),y=
x&amp;&amp;h.uu(x);if(y){if(this.we){var z=h.iT(x);x=h.uB(x);h.getWorldPosition(this.m,q).project(y);q.x=(q.x+1)*z*.5;q.y=(1-q.y)*x*.5;h.getWorldPosition(this.we,n).project(y);n.x=(n.x+1)*z*.5;n.y=(1-n.y)*x*.5;z=this.K.get("anchorX");x=this.K.get("anchorY");var B,D,I=q.x-n.x,A=n.y-q.y,E=-I,J=-A;this.Uba===this.we&amp;&amp;(0&lt;z||1&gt;x)?I&gt;A?B=I/z:D=A/(1-x):this.aea===this.we&amp;&amp;(1&gt;z||1&gt;x)?E&gt;A?B=E/(1-z):D=A/(1-x):this.aca===this.we&amp;&amp;(0&lt;z||0&lt;x)?I&gt;J?B=I/z:D=J/x:this.uea===this.we&amp;&amp;(1&gt;z||0&lt;x)&amp;&amp;(E&gt;J?B=E/(1-z):D=J/x);void 0!==
D&amp;&amp;void 0===B?B=D*this.epa:void 0!==B&amp;&amp;void 0===D&amp;&amp;(D=B/this.epa);void 0!==B&amp;&amp;void 0!==D&amp;&amp;(z=this.K.get("sizeAttenuation")?this.At/this.aW:1,this.K.set("width",this.sa=B*z),this.K.set("height",this.wa=D*z))}B=this.Zs.getComponent(c.va);g.copy(w.parent.matrixWorld).invert().multiply(y.matrixWorld).decompose(b,f,d);p.setFromQuaternion(f,B.Ge);p.x*=r;p.y*=r;p.z*=r;if(B.Qd!=p.x||B.vd!=p.y||B.He!=p.z)B=this.Zs.J(c.va),B.Qd=p.x,B.vd=p.y,B.He=p.z;w.parent.getWorldScale(b);this.WYa(1/Math.max(b.x,b.y,b.z));
this.Lea(h.$F(this.Zs)||1)}}};e.prototype.m1a=function(w,x){null!=this.Yfa&amp;&amp;clearTimeout(this.Yfa);this.Yfa=setTimeout(function(){this.Yfa=null;if(this.sa!==w||this.wa!==x)this.sa=w,this.wa=x,this.epa=this.sa/this.wa}.bind(this),100)};e.prototype.vq=function(){var w=this.nb.P.Mc("DraggingSphere");w.I(c.Mesh).renderOrder=2;w.I(c.Geometry).geometry=new THREE.SphereGeometry;w.I(c.kd);return w};e.prototype.t9=function(){var w=this.nb.P.Mc("BoxBorder");w.I(c.Line);w.I(c.Geometry).geometry=this.YQa();var x=
w.I(c.th);x.color="#0000ff";x.depthTest=!1;x.width=1;return w};e.prototype.YQa=function(){var w=[new THREE.Vector3(-.5,-.5,0),new THREE.Vector3(.5,-.5,0),new THREE.Vector3(.5,-.5,0),new THREE.Vector3(.5,.5,0),new THREE.Vector3(.5,.5,0),new THREE.Vector3(-.5,.5,0),new THREE.Vector3(-.5,.5,0),new THREE.Vector3(-.5,-.5,0)];return(new THREE.BufferGeometry).setFromPoints(w)};e.prototype.Mg=function(){var w=this.Xs.J(c.th);w.color=this.K.get("draggableLineColor");w.opacity=this.K.get("draggableLineOpacity");
w.width=this.K.get("draggableLineWidth");this.rg.forEach(function(x){x.J(c.kd).color=this.K.get("draggableSphereColor");x.J(c.va).scale=this.K.get("draggableSphereRadius")*this.At}.bind(this))};e.prototype.Lea=function(w){this.At!=w&amp;&amp;(this.At=w,this.DE(),this.Mg())};e.prototype.WYa=function(w){this.aW!=w&amp;&amp;(this.aW=w,this.DE(),this.Mg())};e.prototype.DE=function(){var w=this.K.get("anchorX"),x=this.K.get("anchorY"),y=this.K.get("width"),z=this.K.get("height"),B=this.K.get("sizeAttenuation")?this.aW:
this.At,D=this.aca.J(c.va,!0);D.positionX=-w*y*B;D.positionY=x*z*B;D=this.uea.J(c.va,!0);D.positionX=(1-w)*y*B;D.positionY=x*z*B;D=this.Uba.J(c.va,!0);D.positionX=-w*y*B;D.positionY=(x-1)*z*B;D=this.aea.J(c.va,!0);D.positionX=(1-w)*y*B;D.positionY=(x-1)*z*B;D=this.Xs.J(c.va,!0);D.positionX=(.5-w)*y*B;D.positionY=(x-.5)*z*B;D.sf=y*B;D.Ff=z*B;this.m1a(y,z)};e.prototype.Rw=function(){var w=this.K.get("sizeDraggable");this.W!=w&amp;&amp;((this.W=w)?(this.Zs.I(c.lb).F=this.m,this.rg.forEach(function(x){x=x.I(c.Hd);
x.zy=!0;x.Qx=!0;x.N=new k;x.N.bind(m.Dc,this.qJ,this,!0);x.N.bind(m.Jb,this.Fca,this,!0);x.N.bind(m.hb,this.Dca,this,!0);x.N.bind(m.Eb,this.Eca,this,!0)}.bind(this))):(this.Zs.ha(c.lb),this.rg.forEach(function(x){x.ha(c.Hd)}.bind(this))))};e.prototype.qJ=function(w){(w=this.nw(w))&amp;&amp;w!=this.we&amp;&amp;(w.J(c.kd).opacity=1)};e.prototype.Fca=function(w){(w=this.nw(w))&amp;&amp;w!=this.we&amp;&amp;(w.J(c.kd).opacity=.5)};e.prototype.Dca=function(w){w=this.nw(w);this.bR(w)};e.prototype.Eca=function(w){(w=this.nw(w))&amp;&amp;w==this.we&amp;&amp;
(this.bR(null),this.DE(),(w=-1!=this.rg.indexOf(w))&amp;&amp;this.K.trigger(m.Fl),w&amp;&amp;this.K.trigger(m.Ona))};e.prototype.nw=function(w){w=this.rg.map(function(x){return x.getComponent(c.Hd).N}).indexOf(w.source);if(-1==w)return null;w=this.rg[w];return this.fVa(w)?w:null};e.prototype.fVa=function(w){var x=this.K.get("anchorX"),y=this.K.get("anchorY");return this.Uba===w&amp;&amp;(0&lt;x||0&lt;y)||this.aea===w&amp;&amp;(1&gt;x||0&lt;y)||this.aca===w&amp;&amp;(0&lt;x||1&gt;y)||this.uea===w&amp;&amp;(1&gt;x||1&gt;y)?!0:!1};e.prototype.bR=function(w){this.we&amp;&amp;(this.we.J(c.kd).opacity=
.5,this.OI(this.we).ha(c.cv));if(this.we=w){this.we.J(c.kd).opacity=1;var x=this.OI(this.we).I(c.cv),y=h.getWorldPosition(this.m);w=h.getWorldPosition(w);w=(new THREE.Vector3).copy(w).sub(y);var z=Math.min(w.length(),10*this.At);y=(new THREE.Vector3).copy(y).add(b.copy(w).setLength(z));x.direction=w;x.min=y}};e.prototype.OI=function(w){return-1!=this.rg.indexOf(w)?w:null};e.prototype.dispose=function(){l.ca(this.K,u,this.DE);l.ca(this.K,t,this.Mg);l.ca(this.K,v,this.Rw);var w=this.nb.P;this.kw.forEach(function(x){w.Gd(x)});
this.K=this.nb=this.rg=this.m=this.kw=null};var t=["draggableLineColor","draggableLineOpacity","draggableLineWidth","draggableSphereColor","draggableSphereRadius"],u="anchorX anchorY height sizeAttenuation x y z width".split(" "),v=["sizeDraggable"];return e});
define("iD","require le py ix gE fT cS cv".split(" "),function(a){function e(x,y,z,B,D){this.nb=x;this.Oe=z;this.Ri=B;this.K=D;this.Lk=this.Lk.bind(this);this.VP=this.VP.bind(this);this.Mg=this.Mg.bind(this);this.HZ=this.HZ.bind(this);this.Sw=this.Sw.bind(this);this.dh=this.Oe.ju(1);this.Ipa=new THREE.Vector3;this.HW=new THREE.Euler;this.K.get("preload")&amp;&amp;this.Ri.NK(this.dh);this.m=this.nb.P.Mc("SpriteContainer");this.m.I(h.Group);x=this.m.I(h.lb);x.F=this.nb;x.id=this.K.get("parentId");this.JR=this.nb.P.Mc("TranslationSpriteContainer");
this.JR.I(h.Group);this.JR.I(h.lb).F=this.m;this.Mt=this.nb.P.Mc("Sprite");this.Mt.I(h.lb).F=this.JR;x=this.Mt.I(h.Al);x.properties=this.K;x.m3=this.K.get("image");x.N=this.K;x.wp=this.dh;x.isSprite=!0;x.priority=this.K.get("preload")?k.KC:k.bna;this.Mt.I(h.Hd).N=this.K;this.Mt.I(h.Wy);this.Mt.I(h.UM).object=this.K;this.Vba=!1;this.At=1E-4;this.Dw=this.m.P.Mc("TranslationLine");this.Dw.I(h.Line);this.Dw.I(h.th);this.n$=new g(this.nb,this.JR,this.K);l.da(this.K,w,this.Sw,!0);l.da(this.K,r,this.Lk,
!0);l.da(this.K,u,this.VP,!0);l.da(this.K,v,this.Mg,!0);l.da(this.K,t,this.HZ,!0)}var l=a("le"),m=a("py"),k=a("ix"),c=a("gE"),h=a("fT"),g=a("cS"),b=a("cv");e.prototype.frame=function(){this.n$.frame();this.Lea(b.$F(this.m)||1E-4)};e.prototype.Lk=function(){this.m.I(h.lb).id!=this.K.get("parentId")&amp;&amp;(this.m.J(h.lb).id=this.K.get("parentId"));var x=this.m.J(h.va,!0);x.translationX=this.K.get("x");x.translationY=this.K.get("y");x.Je=this.K.get("z")};e.prototype.Lea=function(x){this.At!=x&amp;&amp;(this.At=x,
this.K.set("worldPixelScale",b.VDa(this.m)),this.VP())};e.prototype.VP=function(){var x=this.m.J(h.va,!0),y=this.JR.J(h.va,!0),z=this.Dw.J(h.va,!0),B=this.K.get("translationLength");n.set(this.K.get("translationX"),this.K.get("translationY"),this.K.get("translationZ"));B=void 0!==B?B*this.At:n.length();if(this.Ipa.equals(n)){var D=this.HW.x;var I=this.HW.y;var A=this.HW.z}else d.setFromUnitVectors(q,n.normalize()),I=Math.atan2(n.x,n.z),D=-Math.atan2(n.y,Math.sqrt(n.x*n.x+n.z*n.z)),A=0;y.translationX=
0;y.translationX=0;y.translationY=0;y.Je=B;z.scale=B;x.Qd=D*p;x.vd=I*p;x.He=A*p;x.Ge="YXZ";this.kAa()};var d=new THREE.Quaternion,f=new THREE.Euler,n=new THREE.Vector3,q=new THREE.Vector3(0,0,1),p=180/Math.PI;e.prototype.Mg=function(){var x=this.Mt.J(h.Hd,!0);x.gH=this.K.get("useHandCursor");x.AM=this.K.get("transparentAreaActive");x.Qx=this.K.get("clickEnabled");x.zy=this.K.get("rollOverEnabled");x=this.Dw.J(h.th);x.color=this.K.get("translationLineColor");x.depthTest=this.K.get("depthTest");x.opacity=
this.K.get("hidden")?0:this.K.get("translationLineOpacity");x.transparent=!1;x.width=this.K.get("translationLineWidth");this.kAa();x=this.Dw.J(h.Line,!0);var y=this.Mt.J(h.Sprite,!0);x.renderOrder=y.renderOrder=this.K.get("depthTest")?0:2};e.prototype.HZ=function(){var x=this.Mt.J(h.Sprite,!0);x.OK=this.K.get("anchorX");x.PK=this.K.get("anchorY");x.width=this.K.get("width");x.height=this.K.get("height");x.scale=this.K.get("scale");x.sizeAttenuation=this.K.get("sizeAttenuation")};e.prototype.Sw=function(){if(this.K.get("positionDraggable")||
this.K.get("translationDraggable")){var x=this.m.J(h.Wg,!0);x.N||(x.N=new c,x.N.bind(m.ba,this.rl,this,!0));x.translate=this.K.get("positionDraggable")||!1;x.rotate=this.K.get("translationDraggable")||!1;x.scale=!1}else(x=this.m.getComponent(h.Wg))&amp;&amp;x.N.unbind(m.ba,this.rl,this),this.m.ha(h.Wg)};e.prototype.rl=function(x){var y=n.set(this.K.get("translationX"),this.K.get("translationY"),this.K.get("translationZ")).length();f.setFromQuaternion(x.data.quaternion,this.m.getComponent(h.va).Ge);n.copy(q).setLength(y).applyQuaternion(x.data.quaternion);
this.Ipa.copy(n);this.HW.copy(f);this.K.set({x:x.data.position.x,y:x.data.position.y,z:x.data.position.z,translationX:n.x,translationY:n.y,translationZ:n.z});this.K.trigger(m.Fl)};e.prototype.kAa=function(){var x=this.K.get("translationLineVisible")&amp;&amp;0&lt;this.K.get("translationLineOpacity")&amp;&amp;(0!=this.K.get("translationX")||0!=this.K.get("translationY")||0!=this.K.get("translationZ"));this.Vba!=x&amp;&amp;((this.Vba=x)?this.Dw.I(h.lb).F=this.m:this.Dw.ha(h.lb))};e.prototype.dispose=function(){this.n$.dispose();
this.n$=null;l.ca(this.K,w,this.Sw);l.ca(this.K,r,this.Lk);l.ca(this.K,u,this.VP);l.ca(this.K,v,this.Mg);l.ca(this.K,t,this.HZ);this.Oe.fM(this.dh);this.Ri.fM(this.dh);this.dh=this.Ri=this.Oe=null;var x=this.nb.P;this.nb=null;x.Gd(this.Mt);this.Mt=null;x.Gd(this.Dw);this.Dw=null;x.Gd(this.m);this.K=this.m=null};var r=["parentId","x","y","z"],t="anchorX anchorY width height scale sizeAttenuation".split(" "),u=["translationX","translationY","translationZ","translationLength"],v="clickEnabled depthTest hidden rollOverEnabled transparentAreaActive translationLineColor translationLineOpacity translationLineVisible translationLineWidth useHandCursor".split(" "),
w=["positionDraggable","translationDraggable"];return e});define("gq",["require","ol","cB","iD"],function(a){var e=a("ol"),l=a("cB"),m=a("iD");return{create:function(k,c,h,g,b){return e.Ja("SpriteModel3DObject",b)?new m(k,c,h,g,b):e.Ja("BoxModel3DObject",b)?new l(k,c,b):null}}});
define("ly",["require","le","pV","fT","gq"],function(a){function e(h,g,b,d){this.m=h;this.Eo=g;this.Oe=b;this.Ri=d;this.sua=new m(this.Ri.ju(.1));this.rua=new m(this.Oe.ju(.1));this.EE=this.EE.bind(this);this.Lx=h.P;this.o=this.m.getComponent(k.Wh).properties;this.Ha=(h=this.m.getComponent(k.Object3D))&amp;&amp;h.qa;this.bk=[];this.lZ=new Map;l.da(this.o,["objects.enabled"],this.EE,!0)}var l=a("le"),m=a("pV"),k=a("fT"),c=a("gq");e.prototype.update=function(){var h=this.m.getComponent(k.Object3D);h=h&amp;&amp;h.qa;
if(this.Ha!==h){var g=this.Ha;this.Ha=h;this.m1(!!g)}};e.prototype.frame=function(){this.lZ.forEach(function(h){h&amp;&amp;h.frame&amp;&amp;h.frame()})};e.prototype.dispose=function(){this.Ha=null;l.ca(this.o,["objects.enabled"],this.EE);this.sya([])};e.prototype.EE=function(){this.m1()};e.prototype.m1=function(h){var g=this.o.get("objects").filter(function(b){return b.get("enabled")});this.sya(g,h);this.sua.update();this.rua.update()};e.prototype.sya=function(h,g){if(this.bk!=h||g)this.bk.forEach(function(b){(g||
0&gt;h.indexOf(b))&amp;&amp;this.sYa(b)}.bind(this)),h.forEach(function(b){(g||0&gt;this.bk.indexOf(b))&amp;&amp;this.PNa(b)}.bind(this)),this.bk=h};e.prototype.PNa=function(h){this.lZ.set(h,c.create(this.m,this.Eo,this.rua,this.sua,h))};e.prototype.sYa=function(h){var g=this.lZ.get(h);g&amp;&amp;g.dispose();this.lZ["delete"](h)};return e});
define("kL",["require","py","fT"],function(a){function e(h,g){this.m=h;this.Eo=g;this.Dh=this.Ha=this.o=null;this.Ui(this.m.getComponent(m.Wh).properties);this.update()}var l=a("py"),m=a("fT");e.prototype.frame=function(){this.update()};e.prototype.update=function(){var h=this.Eo.getComponent(m.Object3D);h=h&amp;&amp;h.qa;this.Ha!=h&amp;&amp;(this.Ha=h,this.gD())};e.prototype.Ui=function(h){this.o&amp;&amp;k.forEach(function(g){this.o.unbind(l.G(g),this.gD,this,!1)}.bind(this));if(this.o=h)k.forEach(function(g){this.o.bind(l.G(g),
this.gD,this,!1)}.bind(this)),this.gD()};e.prototype.gD=function(){this.rya(this.o.get("model"));this.Ha&amp;&amp;this.m.P.Ta()};e.prototype.rya=function(h){this.Dh!=h&amp;&amp;(this.Dh&amp;&amp;c.forEach(function(g){this.Dh.unbind(l.G(g),this.y8,this,!1)}.bind(this)),this.Dh=h)&amp;&amp;(c.forEach(function(g){this.Dh.bind(l.G(g),this.y8,this,!1)}.bind(this)),this.y8())};e.prototype.y8=function(){var h=this.Eo.J(m.va,!0);h.positionX=this.Dh.get("positionX");h.positionY=this.Dh.get("positionY");h.positionZ=this.Dh.get("positionZ");
h.Ge=this.Dh.get("rotationOrder");h.Qd=this.Dh.get("rotationX");h.vd=this.Dh.get("rotationY");h.He=this.Dh.get("rotationZ");h.scale=this.Dh.get("scale");h.sf=this.Dh.get("invertX")?-1:1;h.Ff=this.Dh.get("invertY")?-1:1;h.nh=this.Dh.get("invertZ")?-1:1;h.translationX=this.Dh.get("translationX");h.translationY=this.Dh.get("translationY");h.Je=this.Dh.get("translationZ")};e.prototype.dispose=function(){this.Ha=null;this.rya(null);this.Ui(null)};var k=["model"],c="invertX invertY invertZ positionX positionY positionZ rotationOrder rotationX rotationY rotationZ scale translationX translationY translationZ".split(" ");
return e});
define("bX","require py cI pV fT eP ly kL".split(" "),function(a){function e(d){this.m=d;this.m.I(c.Group);d=this.m.getComponent(c.Wh);this.Eo=d.KF;this.Ri=new k(d.iHa);this.Oe=new k(d.wp);this.ne=d.N;this.rd=new h(this.m,this.Eo,this.Oe,this.Ri);this.bk=new g(this.m,this.Eo,this.Oe,this.Ri);this.o=new b(this.m,this.Eo)}var l=a("py"),m=a("cI"),k=a("pV"),c=a("fT"),h=a("eP"),g=a("ly"),b=a("kL");e.prototype.update=function(){this.rd.update();this.bk.update();this.o.update()};e.prototype.frame=function(){this.rd.frame();
this.bk.frame();this.o.frame();this.ne.trigger(new m(l.Uh))};e.prototype.dispose=function(){this.rd&amp;&amp;(this.rd.dispose(),this.rd=null);this.bk&amp;&amp;(this.bk.dispose(),this.bk=null);this.o&amp;&amp;(this.o.dispose(),this.o=null);this.Oe&amp;&amp;(this.Oe.dispose(),this.Oe=null);this.ne=this.Eo=null};e.$a=function(d){d.I(c.nv).manager=new e(d)};e.Ca=function(d){var f=d.getComponent(c.nv);f.manager.dispose();f.manager=null;d.ha(c.nv)};e.update=function(d){d.getComponent(c.nv).manager.update()};e.frame=function(d){d.getComponent(c.nv).manager.frame()};
return e});define("lB",["require","lS","mc","fT","bX"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("bX");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.xFa.u.length&amp;&amp;this.xFa.u.slice().forEach(k.$a);this.Q3.Ea.length&amp;&amp;this.Q3.Ea.slice().forEach(k.update);this.Q3.u.length&amp;&amp;this.Q3.u.slice().forEach(k.frame);this.yFa.u.length&amp;&amp;this.yFa.u.slice().forEach(k.Ca)};a.H={};a.H.xFa=[m.Wh,m.nv.not];a.H.Q3=[m.Wh,m.nv];a.H.yFa=[m.Wh.not,m.nv];return a});
define("cq",["require","fT","cv"],function(a){function e(k){this.m=k;this.qe=null}var l=a("fT"),m=a("cv");e.prototype.frame=function(){if(!this.qe){var k=this.m.getComponent(l.EH),c=m.Wc(k.container);if(this.qe=c&amp;&amp;k.id&amp;&amp;m.qB(c,k.id)||null)this.m.I(l.Object3D).qa=this.qe,this.m.P.Ta()}};e.prototype.update=function(){this.qe&amp;&amp;(this.m.ha(l.Object3D),this.qe=null)};e.prototype.dispose=function(){this.qe&amp;&amp;(this.m.ha(l.Object3D),this.qe=null)};e.$a=function(k){k.I(l.ov).manager=new e(k)};e.Ca=function(k){var c=
k.getComponent(l.ov);c.manager.dispose();c.manager=null;k.ha(l.ov)};e.frame=function(k){k.getComponent(l.ov).manager.frame()};e.update=function(k){k.getComponent(l.ov).manager.update()};return e});
define("hz",["require","lS","mc","fT","cq"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("cq");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.OFa.u.length&amp;&amp;this.OFa.u.slice().forEach(k.$a);this.X3.Ea.length&amp;&amp;this.X3.Ea.slice().forEach(k.update);this.X3.u.length&amp;&amp;this.X3.u.slice().forEach(k.frame);this.PFa.u.length&amp;&amp;this.PFa.u.slice().forEach(k.Ca)};a.H={};a.H.OFa=[m.EH,m.ov.not];a.H.X3=[m.EH,m.ov];a.H.PFa=[m.EH.not,m.ov];return a});
define("oD",["require","fT","os"],function(a){function e(k){this.m=k;this.PD=new THREE.PlaneGeometry;this.Rta=this.m.I(l.Object3D).qa=new THREE.Mesh(this.PD);this.update()}var l=a("fT"),m=a("os");e.prototype.update=function(){var k=this.m.getComponent(l.Material).material;k&amp;&amp;m.iB(this.Rta,k);this.Rta.renderOrder=this.m.getComponent(l.Plane).renderOrder};e.prototype.dispose=function(){this.PD.dispose();this.PD=null};e.$a=function(k){k.I(l.qv).manager=new e(k)};e.Ca=function(k){var c=k.getComponent(l.qv);
c.manager.dispose();c.manager=null;k.ha(l.qv);k.ha(l.Object3D)};e.update=function(k){k.getComponent(l.qv).manager.update()};return e});
define("hu",["require","lS","mc","fT","oD"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("oD");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.YT.u.length&amp;&amp;this.YT.u.slice().forEach(k.$a);this.planes.Ea.length&amp;&amp;this.planes.Ea.slice().forEach(k.update);this.XGa.u.length&amp;&amp;this.XGa.u.slice().forEach(k.Ca);this.YGa.u.length&amp;&amp;this.YGa.u.slice().forEach(k.Ca)};a.H={};a.H.YT=[m.Material,m.Plane,m.qv.not];a.H.planes=[m.Plane,m.Material,m.qv];a.H.XGa=[m.Plane.not,m.qv];
a.H.YGa=[m.Material.not,m.qv];return a});
define("io",["require","fT","cv"],function(a){var e=a("fT"),l=a("cv");return{$a:function(m){var k=m.getComponent(e.lb),c=l.Wc(k.F);if(c){var h=m.I(e.Js);h.parent=c;k.id&amp;&amp;(c=c&amp;&amp;l.qB(c,k.id));h.id=k.id;h.Od=l.Wc(m);h.attach=k.attach;c&amp;&amp;h.Od&amp;&amp;(h.attach?c.attach(h.Od):c.add(h.Od))}},update:function(m){var k=m.getComponent(e.lb),c=m.getComponent(e.Js),h=l.Wc(k.F),g=l.Wc(m);if(c.parent!=h||c.Od!=g||k.id!=c.id||k.attach!=c.attach||g&amp;&amp;h&amp;&amp;!g.parent)c=m.J(e.Js),c.Od&amp;&amp;c.Od.parent&amp;&amp;(k.F.J(e.Object3D),c.Od.parent.remove(c.Od)),
c.parent=h,k.id&amp;&amp;(h=h&amp;&amp;l.qB(h,k.id)),c.id=k.id,c.Od=g,c.attach=k.attach,h&amp;&amp;c.Od&amp;&amp;(c.attach?h.attach(c.Od):h.add(c.Od),(k=m.getComponent(e.va))&amp;&amp;l.GU(m,k))},Ca:function(m){var k=m.getComponent(e.Js);k.Od&amp;&amp;k.Od.parent&amp;&amp;k.Od.parent.remove(k.Od);k.parent=null;k.Od=null;k.id=void 0;m.ha(e.Js)}}});
define("ns",["require","lS","mc","fT","io"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("io");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.QT.u.length&amp;&amp;this.QT.u.slice().forEach(k.$a);this.Xr.u.length&amp;&amp;this.Xr.u.slice().forEach(k.update);this.Xr.Ea.length&amp;&amp;this.Xr.Ea.slice().forEach(k.update);this.Xr.Md.length&amp;&amp;this.Xr.Md.slice().forEach(k.update);this.TBa.u.length&amp;&amp;this.TBa.u.slice().forEach(k.Ca);this.UBa.u.length&amp;&amp;this.UBa.u.slice().forEach(k.Ca)};a.H=
{};a.H.QT=[m.Object3D,m.lb,m.Js.not];a.H.Xr=[m.Object3D,m.lb,m.Js];a.H.TBa=[m.Object3D.not,m.lb,m.Js];a.H.UBa=[m.lb.not,m.Js];return a});
define("dr",["require","lS","mc","fT","cv"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("cv");a=e.extend(l,function(){l.apply(this,arguments);this.Vb=this.Vb.bind(this);this.kb=this.kb.bind(this);this.zf=this.zf.bind(this)});a.prototype.Vc=function(){this.TGa.u.length&amp;&amp;this.TGa.u.slice().forEach(this.Vb);this.SGa.u.length&amp;&amp;this.SGa.u.slice().forEach(this.zf);this.UGa.u.length&amp;&amp;this.UGa.u.slice().forEach(this.kb);this.VGa.u.length&amp;&amp;this.VGa.u.slice().forEach(this.kb)};a.prototype.Vb=function(g){g.I(m.QC)};
a.prototype.kb=function(g){g.ha(m.QC)};var c=new THREE.Matrix4,h=new THREE.Vector3;a.prototype.zf=function(g){var b=g.getComponent(m.Nj),d=g.getComponent(m.va);if(d){var f=g.getComponent(m.Object3D).qa;if(f&amp;&amp;f.parent){var n=g.getComponent(m.Xf),q=1E-7;n&amp;&amp;(q=k.$F(g)||q);c.copy(f.parent.matrixWorld).invert();h.setFromMatrixScale(c);f=Math.max(h.x,h.y,h.z);n&amp;&amp;n.Nx&amp;&amp;(q/=f,f=1);n=b.scale*f;void 0!==b.BB&amp;&amp;(n=Math.min(b.BB*q,n));void 0!==b.CB&amp;&amp;(n=Math.max(b.CB*q,n));if(d.scale!=n||d.sf!=b.sf||d.Ff!=b.Ff||
d.nh!=b.nh)d=g.J(m.va),d.scale=n,d.sf=b.sf,d.Ff=b.Ff,d.nh=b.nh}}};a.H={};a.H.TGa=[m.Object3D,m.Nj,m.QC.not];a.H.SGa=[m.Object3D,m.Nj,m.QC];a.H.UGa=[m.Object3D.not,m.QC];a.H.VGa=[m.Nj.not,m.QC];return a});
define("eb",["require","py","fT","cv"],function(a){function e(u){this.m=u;this.AP=new THREE.Vector3;this.gb=new THREE.Vector3;this.gba=this.od=this.Jfa=!1;this.LJ=null;this.update()}var l=a("py"),m=a("fT"),k=a("cv");e.prototype.update=function(){this.fda=this.m.getComponent(m.yk).F};e.prototype.frame=function(){this.sAa();this.Kx()};e.prototype.sAa=function(){var u=(t.get(this.m.P)||[]).map(function(v){return v.getComponent(m.Cc)}).filter(function(v){return v&amp;&amp;v.N}).reduce(function(v,w){return!v||
!v.$i&amp;&amp;w.$i?w:v},null);u=u&amp;&amp;u.N;this.LJ!==u&amp;&amp;(this.LJ&amp;&amp;this.wYa(this.LJ),(this.LJ=u)&amp;&amp;this.TNa(this.LJ))};e.prototype.TNa=function(u){u.bind(l.Pb,this.Mf,this,!0);u.bind(l.Jb,this.Wq,this,!0)};e.prototype.wYa=function(u){u.unbind(l.Pb,this.Mf,this);u.unbind(l.Jb,this.Wq,this)};e.prototype.Mf=function(u){if(this.fda&amp;&amp;k.qB(k.Wc(this.fda),u.data.objectId)&amp;&amp;["mesh","gs"].includes(u.data.type)){var v=this.od;this.od=!0;var w=k.Wc(this.m);if((w=w&amp;&amp;w.parent)&amp;&amp;w.matrixWorld){var x=this.m.getComponent(m.yk);
x&amp;&amp;(h.setFromMatrixPosition(w.matrixWorld),g.copy(w.matrixWorld).invert(),b.fromArray(u.data.objectMatrixWorld),c.setFromMatrixPosition(b),d.copy(b).invert(),x.rotate?u.data.normal?this.AP.copy(u.data.normal).applyMatrix4(b).sub(c).add(h):this.AP.copy(u.data.cameraPosition):this.AP.copy(q),this.AP.applyMatrix4(g).normalize(),this.gb.copy(u.data.position).applyMatrix4(g),this.Jfa=!0,this.m.P.Ta(),v||(u=(x=this.m.getComponent(m.yk))&amp;&amp;x.N)&amp;&amp;u.trigger(l.Dc))}}else this.Wq()};var c=new THREE.Vector3,h=
new THREE.Vector3,g=new THREE.Matrix4,b=new THREE.Matrix4,d=new THREE.Matrix4;e.prototype.Wq=function(){if(this.od){this.od=!1;this.m.P.Ta();var u=this.m.getComponent(m.yk);(u=u&amp;&amp;u.N)&amp;&amp;u.trigger(l.Jb)}};e.prototype.Kx=function(){if(this.Jfa||this.od){this.Jfa=!1;var u=this.m.J(m.va,!0);u.positionX=0;u.positionY=0;u.positionZ=0;f.setFromUnitVectors(n,this.AP);p.setFromQuaternion(f,u.Ge);u.Qd=p.x*r;u.vd=p.y*r;u.He=p.z*r;u.translationX=this.gb.x;u.translationY=this.gb.y;u.Je=this.gb.z;u.easing=this.gba?
.4:0;this.gba||(k.GU(this.m,u),this.gba=!0)}};var f=new THREE.Quaternion,n=new THREE.Vector3(0,0,1),q=new THREE.Vector3(0,1,0),p=new THREE.Euler,r=180/Math.PI;e.prototype.dispose=function(){this.fda=null;this.sAa()};e.SG=function(u,v){t.set(u,v)};var t=new Map;e.$a=function(u){u.I(m.Ks).manager=new e(u)};e.Ca=function(u){var v=u.getComponent(m.Ks);v.manager.dispose();v.manager=null;u.ha(m.Ks)};e.frame=function(u){u.getComponent(m.Ks).manager.frame()};e.update=function(u){u.getComponent(m.Ks).manager.update()};
return e});
define("iX",["require","lS","mc","fT","eb"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("eb");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){k.SG(this.P,this.Gj.u.slice());this.$Ga.u.length&amp;&amp;this.$Ga.u.slice().forEach(k.$a);this.C4.Ea.length&amp;&amp;this.C4.u.slice().forEach(k.update);this.C4.u.length&amp;&amp;this.C4.u.slice().forEach(k.frame);this.aHa.u.length&amp;&amp;this.aHa.u.slice().forEach(k.Ca);this.bHa.u.length&amp;&amp;this.bHa.u.slice().forEach(k.Ca)};a.H={};a.H.Gj=[m.Cc];a.H.$Ga=
[m.Object3D,m.yk,m.Ks.not];a.H.C4=[m.Object3D,m.yk,m.Ks];a.H.aHa=[m.Object3D.not,m.Ks];a.H.bHa=[m.yk.not,m.Ks];return a});
define("ba",["require"],function(){var a={ko:function(){this.lbb=this.nJa=this.kbb=this.l5=this.k5=this.j5=0;this.Dla=!1;this.QU=new THREE.CubeTexture;this.Fbb=this.JJa=this.Ebb=this.w5=this.targetY=this.targetX=this.i5=0;this.Kla=!1;this.XU=new THREE.CubeTexture;this.v5=0;this.Ge="XYZ"},$db:function(){return new a.ko},create:function(m){var k=new THREE.ShaderMaterial;k.uniforms={sCube:{value:m.QU},sPos:{value:new THREE.Vector3},sRot:{value:new THREE.Matrix4},sEnabled:{value:!1},sCoef:{value:0},tCube:{value:m.XU},
tPos:{value:new THREE.Vector3},tRot:{value:new THREE.Matrix4},tEnabled:{value:!1},tCoef:{value:0}};k.fragmentShader="uniform samplerCube sCube;\nuniform vec3 sPos;\nuniform mat4 sRot;\nuniform bool sEnabled;\nuniform float sCoef;\nuniform samplerCube tCube;\nuniform vec3 tPos;\nuniform mat4 tRot;\nuniform bool tEnabled;\nuniform float tCoef;\nvarying vec3 vWorldPosition;\nvoid main() {\n    vec4 sFragColor;\n    vec4 tFragColor;\n    if (sEnabled) \n    {\n        vec4 sCubePosition4 = sRot * vec4((vWorldPosition - sPos), 1);\n        vec3 sCubePosition = sCubePosition4.xyz / sCubePosition4.w;\n        sFragColor = textureCube(sCube, sCubePosition);\n    }\n    if (tEnabled)\n    {\n        vec4 tCubePosition4 = tRot * vec4((vWorldPosition - tPos), 1);\n        vec3 tCubePosition = tCubePosition4.xyz / tCubePosition4.w;\n        tFragColor = textureCube(tCube, tCubePosition);\n    }\n    if (sEnabled &amp;&amp; tEnabled)\n    {\n        float alpha = 1.0 - ((1.0 - tCoef) * (1.0 - sCoef));\n        vec4 mixedColor = mix(sFragColor, tFragColor, tCoef);\n        gl_FragColor = vec4(mixedColor.rgb, mixedColor.a * alpha);\n    }\n    else if (sEnabled)\n    {\n        gl_FragColor = vec4(sFragColor.rgb, sFragColor.a * sCoef);\n    }\n    else if (tEnabled)\n    {\n        gl_FragColor = vec4(tFragColor.rgb, tFragColor.a * tCoef);\n    }\n    else\n    {\n        gl_FragColor = vec4(0, 0, 0, 0);\n    }\n#include &lt;tonemapping_fragment&gt;\n#include &lt;colorspace_fragment&gt;\n}";
k.vertexShader="varying vec3 vWorldPosition;\n#include &lt;common&gt;\nvoid main() {\n\tvWorldPosition = (modelMatrix * vec4(position, 1.0)).xyz;\n   gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";k.side=THREE.DoubleSide;k.depthWrite=!0;k.transparent=!0;k.needsUpdate=!0;this.update(k,m);return k},update:function(m,k){m.uniforms.sCube.value=k.QU;m.uniforms.sPos.value.set(k.j5,k.k5,k.l5);m.uniforms.sRot.value.makeRotationFromEuler(e.set(k.kbb*l,k.nJa*l,k.lbb*l,k.Ge));m.uniforms.sEnabled.value=
k.Dla&amp;&amp;0&lt;k.i5;m.uniforms.sCoef.value=k.i5;m.uniforms.tCube.value=k.XU;m.uniforms.tPos.value.set(k.targetX,k.targetY,k.w5);m.uniforms.tRot.value.makeRotationFromEuler(e.set(k.Ebb*l,k.JJa*l,k.Fbb*l,k.Ge));m.uniforms.tEnabled.value=k.Kla&amp;&amp;0&lt;k.v5;m.uniforms.tCoef.value=k.v5;m.needsUpdate=!0;return m}},e=new THREE.Euler,l=Math.PI/180;return a});
define("mL","require lS lw mc fT ba cv".split(" "),function(a){var e=a("lS");a("lw");var l=a("mc"),m=a("fT"),k=a("ba"),c=a("cv");a=e.extend(l,function(){l.apply(this,arguments);this.Vb=this.Vb.bind(this);this.kb=this.kb.bind(this);this.Ib=this.Ib.bind(this)});a.prototype.Vc=function(){this.qHa.u.length&amp;&amp;this.qHa.u.slice().forEach(this.kb);this.rHa.u.length&amp;&amp;this.rHa.u.slice().forEach(this.kb);this.pHa.u.length&amp;&amp;this.pHa.u.slice().forEach(this.Vb);this.oHa.Ea.length&amp;&amp;this.oHa.Ea.slice().forEach(this.Ib)};
a.prototype.Vb=function(g){var b=g.getComponent(m.Wm),d=(b=b&amp;&amp;b.eC)&amp;&amp;c.Wc(b),f=c.qf(b);if(d&amp;&amp;f){var n=g.I(m.bq);n.eC=b;n.OL=new k.ko;n.material=this.Yv(n.OL);n.qa=this.UPa(d,n.material);n.tM=this.kQa(n.material);n.ny=this.SQa(n.material);n.colorSpace=c.hT(f);g.I(m.Object3D).qa=n.qa;this.Ib(g)}};a.prototype.Ib=function(g){this.Wi(g);this.n2a(g);this.m2a(g);this.Q1a(g)};a.prototype.kb=function(g){var b=g.getComponent(m.bq),d=c.Wc(b.eC);d&amp;&amp;(d.visible=!0);b.qa&amp;&amp;b.qa.traverse(function(f){f.material==b.material&amp;&amp;
(f.material=h)});b.tM&amp;&amp;((d=b.tM.parent)&amp;&amp;c.yHa(d,b.tM),b.tM=null);b.ny&amp;&amp;((d=b.ny.parent)&amp;&amp;c.xHa(d,b.ny),b.ny=null);b.material&amp;&amp;(b.OL.QU=null,b.OL.XU=null,b.OL=null,b.material.dispose(),b.material=null);g.ha(m.bq);g.ha(m.Object3D)};a.prototype.Wi=function(g){var b=g.getComponent(m.Wm);g=g.getComponent(m.bq);var d=g.OL;b.PU?(d.QU!=b.PU&amp;&amp;(d.QU=b.PU),d.j5=b.j5,d.k5=b.k5,d.l5=b.l5,d.nJa=b.RU,d.i5=b.lJa,d.Dla=!0):(d.Dla=!1,d.i5=0);b.WU?(d.XU!=b.WU&amp;&amp;(d.XU=b.WU),d.targetX=b.targetX,d.targetY=b.targetY,d.w5=
b.w5,d.JJa=b.Gbb,d.v5=b.HJa,d.Kla=!0):(d.Kla=!1,d.v5=0);k.update(g.material,d)};a.prototype.n2a=function(g){g=g.getComponent(m.Wm);var b=c.Wc(g.eC);b&amp;&amp;(b.visible=0&lt;(1-(g.PU?g.lJa:0))*(1-(g.WU?g.HJa:0)))};a.prototype.m2a=function(g){var b=g.getComponent(m.Wm),d=g.getComponent(m.bq).tM;!!d.parent!=b.jJa&amp;&amp;(g=(g=c.qf(g)||c.qf(b.eC))&amp;&amp;c.uu(g),b.jJa?g&amp;&amp;c.W2a(g,d):g&amp;&amp;c.yHa(g,d))};a.prototype.Q1a=function(g){var b=g.getComponent(m.Wm),d=g.getComponent(m.bq).ny;!!d.parent!=b.ny&amp;&amp;(g=(g=c.qf(g)||c.qf(b.eC))&amp;&amp;
c.uu(g),b.ny?g&amp;&amp;c.V2a(g,d):c.xHa(g,d))};var h=new THREE.MeshBasicMaterial;a.prototype.Yv=function(g){g=k.create(g);g.polygonOffset=!0;g.polygonOffsetUnits=1;g.polygonOffsetFactor=-10;g.needsUpdate=!0;return g};a.prototype.UPa=function(g,b){if(this.wra(g))return new THREE.Object3D;var d=new Map;g.traverse(function(r){if(r.material&amp;&amp;r.userData){var t={};r.material&amp;&amp;(t.material=r.material,r.material=b);r.userData&amp;&amp;(t.userData=r.userData,r.userData={});var u=r.children.filter(function(v){return!this.wra(v)}.bind(this));
r.children.length!=u.length&amp;&amp;(t.children=r.children,r.children=u);d.set(r,t)}}.bind(this));var f=g.clone();d.forEach(function(r,t){r.material&amp;&amp;(t.material=r.material);r.userData&amp;&amp;(t.userData=r.userData);r.children&amp;&amp;(t.children=r.children)});for(g=[[g,f]];g.length;){var n=g.shift(),q=n[0];n=n[1];q.re&amp;&amp;(n.re=q.re);for(var p=0;p&lt;q.children.length;p++)g.push([q.children[p],n.children[p]])}return f};a.prototype.wra=function(g){return g.zu||g.isGaussianCloud};a.prototype.kQa=function(g){return new THREE.Mesh(new THREE.BoxGeometry(2,
2,2),g)};a.prototype.SQa=function(g){g=new THREE.Mesh(new THREE.PlaneGeometry(1,1),g);g.renderOrder=10;return g};a.H={};a.H.pHa=[m.Wm,m.bq.not];a.H.oHa=[m.Wm,m.Object3D,m.bq];a.H.qHa=[m.Wm.not,m.bq];a.H.rHa=[m.Object3D.not,m.bq];return a});
define("fa",["require","fT","pa","bL"],function(a){function e(c){this.m=c;this.enabled=!1;this.ln=null;this.jw=0;this.passes=[];this.ql=this.sl=!1;this.hf=null;this.wa=this.sa=100}var l=a("fT"),m=a("pa"),k=a("bL");e.prototype.dispose=function(){this.hf&amp;&amp;(this.hf.saoRenderTarget.dispose(),this.hf.blurIntermediateRenderTarget.dispose(),this.hf.beautyRenderTarget.dispose(),this.hf.normalRenderTarget.dispose(),this.hf.depthRenderTarget.dispose(),this.hf.depthMaterial.dispose(),this.hf.normalMaterial.dispose(),
this.hf.saoMaterial.dispose(),this.hf.vBlurMaterial.dispose(),this.hf.hBlurMaterial.dispose(),this.hf.materialCopy.dispose(),this.hf.depthCopy.dispose(),this.hf=null)};e.prototype.update=function(c,h,g,b,d){var f=this.m.getComponent(l.lH),n=!!f;if(this.sl=this.enabled!=n)(this.enabled=n)?(!this.hf&amp;&amp;c&amp;&amp;h&amp;&amp;(this.hf=new THREE.SAOPass(c,h,!1,!0)),this.ln=new m("linear",[new k("alpha",0,1,void 0)],f.zCa),this.jw=0,this.passes=[this.hf],this.ql=!0):(this.passes=[],this.ql=!1);this.enabled&amp;&amp;(this.ln&amp;&amp;(this.ln.Fb(d),
this.jw=this.ln.eb("alpha"),1==this.jw&amp;&amp;(this.ln=null),this.m.P.Ta()),null!==f.output&amp;&amp;(this.hf.params.output=f.output),this.hf.params.saoBias=f.bias/f.scale,this.hf.params.saoIntensity=this.jw*f.intensity,this.hf.params.saoScale=f.scale,this.hf.params.saoKernelRadius=f.VEa,this.hf.params.saoMinResolution=f.vFa/1E3,this.hf.params.saoBlur=0&lt;f.xha,this.hf.params.saoBlurRadius=f.xha,this.hf.params.saoBlurStdDev=8,this.hf.params.saoBlurDepthCutoff=.01,(this.sa!=g||this.wa!=b)&amp;&amp;this.hf.setSize(this.sa=
g,this.wa=b))};return e});
define("s",["require","fT"],function(a){function e(m){this.m=m;this.enabled=!1;this.passes=[];this.ql=this.sl=!1;this.Ss=null}var l=a("fT");e.prototype.dispose=function(){this.Ss&amp;&amp;(this.Ss.material.dispose(),this.Ss=null)};e.prototype.update=function(m,k,c,h){m=this.m.getComponent(l.oC);m=!!m&amp;&amp;m.dDa;if(this.sl=this.enabled!=m)(this.enabled=m)?(this.Ss||(this.Ss=new THREE.ShaderPass(THREE.FXAAShader),this.Ss.needsSwap=!0),this.passes=[this.Ss],this.ql=!0):(this.passes=[],this.ql=!1);!this.enabled||
this.sa==c&amp;&amp;this.wa==h||(this.sa=c,this.wa=h,this.Ss.material.uniforms.resolution.value.x=1/this.sa,this.Ss.material.uniforms.resolution.value.y=1/this.wa,this.Ss.setSize(c,h))};return e});
define("gs",["require","fT"],function(a){function e(m){this.m=m;this.enabled=!1;this.iM=void 0;this.ln=null;this.jw=0;this.passes=[];this.ql=this.sl=!1;this.hi=null;this.Lda=new THREE.Matrix4;this.Oda=new THREE.Matrix4;this.Kda=new THREE.Vector3}var l=a("fT");e.prototype.dispose=function(){this.hi&amp;&amp;(this.hi.dispose(),this.hi=null)};e.prototype.update=function(m,k){var c=this.m.getComponent(l.ZM),h=!!c,g=c?c.NHa:void 0;if(this.sl=this.enabled!=h||this.iM!=g)(this.enabled=h)?(this.iM!=g&amp;&amp;this.hi&amp;&amp;(this.hi.dispose(),
this.hi=null),!this.hi&amp;&amp;m&amp;&amp;k&amp;&amp;(this.hi=new THREE.MotionBlurPass(this.iM=g),this.hi.needsSwap=!0,this.Lda.copy(k.matrixWorldInverse),this.Oda.copy(k.projectionMatrix),this.Kda.copy(k.position)),this.passes=[this.hi],this.ql=!0):(this.passes=[],this.ql=!1);this.enabled&amp;&amp;(this.hi.uniforms.inverseProjectionMatrix.value.copy(k.projectionMatrix).invert(),this.hi.uniforms.near.value=k.near,this.hi.uniforms.far.value=k.far,this.hi.uniforms.depthLimit.value=.99,this.hi.uniforms.clipToWorldMatrix.value.copy(k.matrixWorld).multiply(this.hi.uniforms.inverseProjectionMatrix.value),
this.hi.uniforms.previousWorldToClipMatrix.value.copy(this.Oda).multiply(this.Lda),this.hi.uniforms.cameraMove.value.copy(k.position).sub(this.Kda),this.hi.uniforms.velocityFactor.value=c.intensity);this.Lda.copy(k.matrixWorldInverse);this.Oda.copy(k.projectionMatrix);this.Kda.copy(k.position)};return e});
define("eU",["require","on","fT"],function(a){function e(m){this.m=m;this.enabled=!0;this.passes=[];this.Mja=this.ql=this.sl=!1;this.D0=void 0;this.ai=this.jr=this.al=null}a("on");var l=a("fT");e.prototype.dispose=function(){this.al&amp;&amp;(this.al.dispose(),this.al=null);this.jr&amp;&amp;(this.jr=null);this.ai&amp;&amp;(this.ai.material.dispose(),this.ai=null)};e.prototype.update=function(m,k,c,h,g,b){g=this.m.getComponent(l.oC);b=!!g&amp;&amp;g.yJa&amp;&amp;b;if(this.sl=this.D0!==b)(this.D0=b)?(this.al||(this.al=new THREE.SSAARenderPass(m,
k),this.al.sampleLevel=g.SU,this.al.needsSwap=!0,this.al.clear=!0,this.al.clearColor=65793,this.al.clearAlpha=0),this.ai||(this.ai=new THREE.ShaderPass(THREE.CopyShader),this.ai.needsSwap=!0),this.passes=[this.al,this.ai],this.Mja=this.ql=!0):(this.jr||(this.jr=new THREE.RenderPass,this.jr.clear=!0,this.jr.clearColor=65793,this.jr.clearAlpha=0),this.passes=[this.jr],this.Mja=this.ql=!1);this.D0?(this.al.scene=m,this.al.camera=k,this.al.sampleLevel=g.SU,this.ai.uniforms.opacity.value=Math.pow(2,Math.round(5&lt;
g.SU?5:g.SU)),this.al.setSize(c,h)):(this.jr.scene=m,this.jr.camera=k,this.jr.setSize(c,h))};return e});
define("of",["require","on","fT"],function(a){function e(c){this.m=c;this.enabled=!1;this.passes=[];this.ql=this.sl=!1;this.Br=null;this.Gc=void 0}var l=a("on"),m=a("fT");e.prototype.dispose=function(){this.Br&amp;&amp;(this.Br.material.dispose(),this.Br=null)};e.prototype.update=function(){var c=this.m.getComponent(m.KH),h=!!c;if(this.sl=this.enabled!=h)(this.enabled=h)?(this.Br||(this.Br=new THREE.ShaderPass(k),this.Br.needsSwap=!0),this.passes=[this.Br],this.ql=!0):(this.passes=[],this.ql=!1);this.enabled&amp;&amp;
(this.Br.uniforms.innerRadius.value=c.BEa,this.Br.uniforms.outerRadius.value=c.MGa,this.Br.uniforms.opacity.value=c.opacity,this.Gc!==c.color&amp;&amp;(this.Gc=c.color,this.Br.uniforms.color.value=l.Jp(this.Gc)))};var k={uniforms:{tDiffuse:{value:null},innerRadius:{value:.5},outerRadius:{value:.5},opacity:{value:.5},color:{value:new THREE.Color(0,0,0)}},vertexShader:"varying vec2 vUv;\nvoid main() {\n    vUv = uv;\n    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform float innerRadius;\nuniform float outerRadius;\nuniform float opacity;\nuniform vec3 color;\nuniform sampler2D tDiffuse;\nvarying vec2 vUv;\nvoid main() {\n    vec4 texel = texture2D(tDiffuse, vUv);\n    vec2 uv = vUv - vec2(0.5, 0.5);\n    float radius = sqrt(dot(uv, uv)) * 1.4142135623730951;\n    float coef = clamp((radius - innerRadius) / (outerRadius - innerRadius), 0.0, 1.0);\n    float alpha = opacity * coef;\n    float composedAlpha = alpha + texel.a * (1.0 - alpha);\n    if (composedAlpha &gt; 0.0)\n    {\n        vec3 rgb = (color * alpha + texel.rgb * texel.a * (1.0 - alpha)) / composedAlpha;\n        gl_FragColor = vec4(rgb, composedAlpha);\n    }\n    else\n    {\n        gl_FragColor = texel;\n    }\n}"};
return e});
define("hk","require fa s gs eU of cv".split(" "),function(a){function e(b){this.pd=b;this.Va=this.Kb=this.Zf=null;this.wa=this.sa=void 0;this.ai=this.ht=this.j=this.UJ=null;this.xX=[new c(b),new l(b),new k(b),new h(b),new m(b)];this.kZ=!1}var l=a("fa"),m=a("s"),k=a("gs"),c=a("eU"),h=a("of"),g=a("cv");e.prototype.dispose=function(){this.j&amp;&amp;(this.j.domElement.style.backgroundColor=void 0);for(;this.xX.length;)this.xX.pop().dispose();this.Sqa();this.ht&amp;&amp;(this.ht.material.dispose(),this.ht=null);this.ai&amp;&amp;
(this.ai.material.dispose(),this.ai=null)};e.prototype.setSize=function(b,d){if(this.sa!=b||this.wa!=d)this.sa=b,this.wa=d,this.Zf&amp;&amp;this.Zf.setSize(this.sa,this.wa),this.j&amp;&amp;!this.j.xr.isPresenting&amp;&amp;this.j.setSize(this.sa,this.wa)};e.prototype.Pu=function(b){this.Va=b};e.prototype.setCamera=function(b){this.Kb=b};e.prototype.setRenderTarget=function(b){this.UJ!=b&amp;&amp;(this.UJ=b,this.Zf&amp;&amp;(this.Zf.reset(b||void 0),this.Zf.renderToScreen=!b))};e.prototype.b5=function(b){this.j!=b&amp;&amp;(this.j=b,this.j.setSize(this.sa,
this.wa),this.Sqa())};e.prototype.render=function(b){this.u_a();this.z1a(b);this.j.domElement.style.backgroundColor=this.kZ?"#000000":void 0;this.Zf.render()};e.prototype.u_a=function(){this.Zf||(this.Zf=new THREE.EffectComposer(this.j,this.UJ||void 0),this.Zf.renderToScreen=!this.UJ,this.Zf.setSize(this.sa,this.wa))};e.prototype.z1a=function(b){var d=!1,f=!1;this.kZ=!1;this.xX.forEach(function(q){q.update(this.Va,this.Kb,this.sa,this.wa,b,this.Zf.renderToScreen);d||(d=q.sl);f||(f=q.ql);this.kZ||
(this.kZ=q.Mja)}.bind(this));f=f&amp;&amp;this.j.outputColorSpace==THREE.SRGBColorSpace&amp;&amp;this.Zf.renderToScreen;g.yab(this.Va,f);f&amp;&amp;!this.ht?(this.ht=new THREE.ShaderPass(THREE.GammaCorrectionShader),d=this.ht.needsSwap=!0):this.ht&amp;&amp;(this.ht.enabled=f);this.Zf.renderToScreen||this.ai?this.ai&amp;&amp;(this.ai.enabled=!this.Zf.renderToScreen):(this.ai=new THREE.ShaderPass(THREE.CopyShader),d=this.ai.needsSwap=!0);if(d){var n=[];this.xX.forEach(function(q){n=n.concat(q.passes)});this.ht&amp;&amp;n.push(this.ht);for(this.ai&amp;&amp;
n.push(this.ai);0&lt;this.Zf.passes.length;)this.Zf.removePass(this.Zf.passes[this.Zf.passes.length-1]);n.forEach(function(q){this.Zf.addPass(q)}.bind(this))}};e.prototype.Sqa=function(){this.Zf&amp;&amp;(this.Zf.renderTarget1!=this.UJ&amp;&amp;this.Zf.renderTarget1.dispose(),this.Zf.renderTarget2!=this.UJ&amp;&amp;this.Zf.renderTarget2.dispose(),this.Zf=null)};return e});
define("dp","require py oS fT cv gy hk".split(" "),function(a){function e(n){this.Yla=this.Yla.bind(this);this.Ie=n;this.opacity=0;this.height=this.width=void 0;this.renderTarget=null;this.scene=void 0;this.Qxa=!1;this.xea=!0;this.rU=this.camera=void 0;this.WE=!1;this.ZZ=void 0;this.Ac=new g(n);this.update()}var l=a("py"),m=a("oS"),k=a("fT"),c=a("cv"),h=a("gy"),g=a("hk");e.prototype.update=function(){var n=this.Ie.getComponent(k.Scene);this.opacity=n&amp;&amp;n.opacity||0;this.Qxa=n?n.locked:!1;this.xea=
n?n.enabled:!0;var q=n&amp;&amp;n.scene;this.scene!=q&amp;&amp;(this.scene=q,this.WE=!0,this.Ac.Pu(this.scene));var p=(q=n&amp;&amp;n.La)&amp;&amp;c.YS(q),r=p&amp;&amp;p.width;p=p&amp;&amp;p.height;if(this.width!=r||this.height!=p)this.width=r,this.height=p,this.WE=!0,this.Ac.setSize(this.width,this.height);n=n&amp;&amp;"srgb"==n.outputColorSpace?THREE.SRGBColorSpace:THREE.LinearSRGBColorSpace;this.ZZ!=n&amp;&amp;(this.ZZ=n,this.WE=!0,c.xab(this.scene,n));n=q&amp;&amp;c.Or(q);this.camera!=n&amp;&amp;(this.camera=n,this.WE=!0,this.Ac.setCamera(this.camera));q=q&amp;&amp;c.YS(q).camera;
this.rU!=q&amp;&amp;(this.rU=q);this.scene&amp;&amp;(c.wab(this.scene,this.camera),c.zab(this.scene,m.isPresenting?2048:this.width,m.isPresenting?2048:this.height));return this};e.prototype.render=function(n,q,p){if((q||this.WE||!this.Qxa)&amp;&amp;this.xea){q?(n.xr.isPresenting||n.setRenderTarget(null),this.WE=!0):(this.renderTarget||(this.renderTarget=h.Oha(n)),n.setRenderTarget(this.renderTarget),this.renderTarget.texture.colorSpace=this.ZZ,this.WE=!1);n.outputColorSpace=this.ZZ;var r=this.Ie.getComponent(k.Scene),t=
h.getPixelRatio();r&amp;&amp;1!==r.z4&amp;&amp;(t*=r.z4);n.getPixelRatio()!=t&amp;&amp;n.setPixelRatio(t);this.X6a(n);n.xr.isPresenting?n.render(this.scene,this.rU):(this.Ac.setRenderTarget(q?null:this.renderTarget),this.Ac.b5(n),this.Ac.render(p));this.O9a(n);(r=this.Ie.getComponent(k.Scene))&amp;&amp;r.N&amp;&amp;r.N.trigger(l.Uh)}};e.prototype.X6a=function(n){var q=[],p=[];this.scene.traverse(function(r){r.zu||r.isGaussianCloud?q.push(r):r.visible&amp;&amp;r.material&amp;&amp;r.material.transparent&amp;&amp;r.material.depthTest&amp;&amp;0&gt;=r.renderOrder&amp;&amp;-100&lt;=r.renderOrder&amp;&amp;
0&lt;r.material.opacity&amp;&amp;p.push(r)});b.camera=this.rU;b.ray.origin.setFromMatrixPosition(this.rU.matrixWorld);b.firstHitOnly=!0;p.forEach(function(r){f.setFromMatrixPosition(r.matrixWorld).sub(b.ray.origin);b.ray.direction.copy(f).normalize();var t=f.length();b.far=t;d.length=0;d=b.intersectObjects(q,!1,d);0&lt;d.length&amp;&amp;d[0].distance&lt;t&amp;&amp;(r.visible=!1,r.userData.jKa=!0)});this.Wab(n)};e.prototype.O9a=function(n){this.Mbb(n);this.scene.traverse(function(q){q.userData.jKa&amp;&amp;(q.visible=!0,delete q.userData.jKa)})};
e.prototype.Wab=function(n){n.setTransparentSort(this.Yla)};e.prototype.Mbb=function(n){n.setTransparentSort(null)};e.prototype.Yla=function(n,q){return n.Pia!==q.Pia?n.Pia-q.Pia:n.renderOrder!==q.renderOrder?n.renderOrder-q.renderOrder:n.object.zu||q.object.zu?(n.object.zu?-1:1)-(q.object.zu?-1:1):n.z!==q.z?q.z-n.z:n.id-q.id};var b=new THREE.Raycaster,d=[],f=new THREE.Vector3;e.prototype.isVisible=function(){return this.scene&amp;&amp;this.camera&amp;&amp;0&lt;this.opacity&amp;&amp;this.xea};e.prototype.dispose=function(){this.camera=
this.scene=this.Ie=null;this.Ac&amp;&amp;(this.Ac.dispose(),this.Ac=null);this.renderTarget&amp;&amp;(this.renderTarget.dispose(),this.renderTarget=null)};return e});
define("gb",["require","py","oS","fT","dp"],function(a){function e(h){this.m=h;this.ox=[];this.Si=null;this.r_a();this.p_a()}var l=a("py"),m=a("oS"),k=a("fT"),c=a("dp");e.prototype.frame=function(h){var g=!!this.j&amp;&amp;m.mh==this.j;if(!m.isPresenting||g){var b=this.m.getComponent(k.zi).sU.map(function(n){for(var q=0;q&lt;this.ox.length;q++)if(this.ox[q].Ie==n)return this.ox[q].update();return new c(n)}.bind(this));this.ox.filter(function(n){return 0&gt;b.indexOf(n)}).forEach(function(n){n.dispose()});this.ox=
b;var d=this.ox.filter(function(n){return n.isVisible()});if(0&lt;d.length){g&amp;&amp;d.reduce(function(n,q){return n.opacity&gt;q.opacity?n:q});var f=1==d.length&amp;&amp;1&lt;=d[0].opacity||g;d.forEach(function(n){n.render(this.j,f,h)}.bind(this));f||this.BYa(d.slice(0,2))}g&amp;&amp;this.m.P.Ta()}};e.prototype.BYa=function(h){this.gn.material.uniforms.t1.value=h[0].renderTarget.texture;this.gn.material.uniforms.o1.value=h[0].opacity;1&lt;h.length?(this.gn.material.uniforms.useT2.value=1,this.gn.material.uniforms.t2.value=h[1].renderTarget.texture,
this.gn.material.uniforms.o2.value=h[1].opacity):this.gn.material.uniforms.useT2.value=0;this.j.setSize(h[0].width,h[0].height);this.j.setRenderTarget(null);this.j.setClearColor(0,0);this.j.clear();this.j.render(this.yN,this.J8)};e.prototype.dispose=function(){for(;this.ox.length;)this.ox.shift().dispose();this.ox=null;this.n0a();this.p0a()};e.prototype.r_a=function(){var h=this.m.J(k.zi);this.Si=h.vc.Pd();this.Si.P1();h.renderer=this.Si.Ur();this.j=h.renderer;m.N.bind(l.ba,this.ZAa,this,!0)};e.prototype.p0a=
function(){m.N.unbind(l.ba,this.ZAa,this);this.j=null;this.Si.K4();this.Si=null};e.prototype.ZAa=function(){this.m.P.Ta()};e.prototype.p_a=function(){this.yN=new THREE.Scene;this.J8=new THREE.OrthographicCamera(window.innerWidth/-2,window.innerWidth/2,window.innerHeight/2,window.innerHeight/-2,-10,10);this.yN.add(this.J8);this.gn=new THREE.Mesh(new THREE.PlaneGeometry(window.innerWidth,window.innerHeight),this.jQa());this.yN.add(this.gn)};e.prototype.n0a=function(){this.yN.remove(this.gn);this.gn.geometry.dispose();
this.gn.geometry=null;this.gn.material.dispose();this.yN=this.J8=this.gn=this.gn.material=null};e.prototype.jQa=function(){var h=new THREE.ShaderMaterial({uniforms:{t1:{value:null},t2:{value:null},o1:{value:1},o2:{value:1},useT2:{value:1}},vertexShader:"varying vec2 vUv;\nvoid main() {\nvUv = vec2( uv.x, uv.y );\ngl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}",fragmentShader:"uniform sampler2D t1;\nuniform sampler2D t2;\nuniform float o1;\nuniform float o2;\nuniform int useT2;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texel1 = texture2D(t1, vUv);\n   texel1.a = texel1.a * o1;\n   if (useT2 == 1) {\n\t  vec4 texel2 = texture2D(t2, vUv);\n     texel2.a = texel2.a * o2;\n     gl_FragColor = mix(texel1, texel2, texel2.a);\n   } else {\n     gl_FragColor = texel1;\n   }\n#include &lt;colorspace_fragment&gt;\n#include &lt;tonemapping_fragment&gt;\n}"});
h.transparent=!0;return h};e.$a=function(h){h.I(k.Ls).manager=new e(h)};e.Ca=function(h){var g=h.getComponent(k.Ls);g.manager.dispose();g.manager=null;h.ha(k.Ls)};e.update=function(h){h.getComponent(k.Ls).manager.update()};e.frame=function(h,g,b){h.getComponent(k.Ls).manager.frame(g,b)};return e});
define("lY",["require","lS","mc","fT","gb"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("gb");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(c,h){this.EHa.u.length&amp;&amp;this.EHa.u.slice().forEach(k.$a);this.Nm.u.length&amp;&amp;this.Nm.u.slice().forEach(function(g){k.frame(g,c,h)});this.FHa.u.length&amp;&amp;this.FHa.u.slice().forEach(k.Ca)};a.H={};a.H.EHa=[m.zi,m.Ls.not];a.H.FHa=[m.zi.not,m.Ls];a.H.Nm=[m.zi,m.Ls];return a});
define("kv","require lS py gE dG cv ix lP".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("gE"),k=a("dG"),c=a("cv"),h=a("ix"),g=a("lP");a=e.extend(m,function(d,f){m.call(this);this.Wd=d;this.Va=f;this.Aa=new k;this.Aa.qM([this.Wd]);this.Aa.bind(l.ea,this.Cd,this,!1);this.Aa.bind(l.xc,this.bg,this,!1);this.$c=null;this.Mb=0;g.Yn(this.Aa,h.KC)});a.prototype.Nh=function(d){this.Mb!==d&amp;&amp;(this.Mb=d,this.$c&amp;&amp;(this.$c.material.opacity=this.Mb,this.$c.material.visible=0&lt;this.Mb,this.$c.material.needsUpdate=
!0))};a.prototype.Lh=function(){return!!this.$c};a.prototype.Cd=function(){this.XQa();this.trigger(l.ea)};a.prototype.bg=function(){this.trigger(l.xc)};a.prototype.XQa=function(){var d=new THREE.Texture;d.image=g.Cf(this.Wd);d.generateMipmaps=!0;d.minFilter=THREE.LinearMipMapLinearFilter;d.needsUpdate=!0;d=new THREE.SpriteMaterial({map:d});d.sizeAttenuation=!1;d.transparent=!0;d.visible=0&lt;this.Mb;d.opacity=this.Mb;d.polygonOffset=!0;d.polygonOffsetUnits=1;d.polygonOffsetFactor=-10;this.$c=new THREE.Sprite(d);
this.$c.renderOrder=-1E3};a.prototype.update=function(){if(this.$c){var d=c.uu(this.Va);this.$c.parent!=d&amp;&amp;(this.$c.parent&amp;&amp;c.wHa(this.$c.parent,this.$c),d&amp;&amp;c.U2a(d,this.$c));if(d){var f=c.uB(this.Va),n=this.$c.material.map.image.width,q=this.$c.material.map.image.height;d=f/(2*Math.tan(d.fov*b/2));f=Math.max(f/d,c.iT(this.Va)/(d*n/q));this.$c.scale.y!=f&amp;&amp;(this.$c.scale.y=f,this.$c.scale.x=f*n/q)}n=c.hT(this.Va);this.$c.material.map.colorSpace!=n&amp;&amp;(this.$c.material.map.colorSpace=n,this.$c.material.needsUpdate=
!0)}};a.prototype.dispose=function(){this.$c&amp;&amp;(this.$c.parent&amp;&amp;c.wHa(this.$c.parent,this.$c),this.$c.material.map.dispose(),this.$c.material.dispose(),this.$c=null);this.Aa&amp;&amp;g.Ij(this.Aa,h.KC)};var b=Math.PI/180;return a});
define("bO","require py fT kv pa bL".split(" "),function(a){function e(g,b){this.m=g;this.dh=b;this.Nv=void 0;this.Ii=this.cn=this.fa=this.Va=null;this.update()}var l=a("py"),m=a("fT"),k=a("kv"),c=a("pa"),h=a("bL");e.prototype.frame=function(g){this.fa&amp;&amp;this.rF(g);this.cn&amp;&amp;this.cn.update();this.Ii&amp;&amp;this.Ii.update()};e.prototype.update=function(){var g=this.m.getComponent(m.Scene);this.Va=g.scene;if(!this.Va){if(!g.scene)return;this.Va=g.scene}g=g.rha||null;this.Nv===g||this.fa||(this.aO(this.Ii),
this.Ii=null,(this.Nv=g)?this.Ii=this.iQa(this.Nv):(this.SN(),this.dh.trigger(l.ea)))};e.prototype.rF=function(g){this.fa.Fb(g);this.cn&amp;&amp;this.cn.Nh(Math.min(1,Math.max(0,this.fa.eb("alpha"))));this.Ii&amp;&amp;this.Ii.Nh(Math.min(1,Math.max(0,this.fa.eb("nextAlpha"))));this.fa.We()&amp;&amp;(this.fa=null,this.cn&amp;&amp;(this.aO(this.cn),this.cn=null),this.cn=this.Ii,this.Ii=null,this.update());this.m.P.Ta()};e.prototype.Xca=function(){this.Ii.unbind(l.ea,this.Xca,this,!0);this.Ii.unbind(l.xc,this.Yca,this,!0);this.SN();
this.dh.trigger(l.ea)};e.prototype.Yca=function(){this.aO(this.Ii);this.Ii=null;this.SN();this.dh.trigger(l.ea)};e.prototype.SN=function(){this.Ii&amp;&amp;this.cn?this.fa=new c("linear",[new h("nextAlpha",0,2,void 0),new h("alpha",2,0,void 0)],600):this.Ii?this.fa=new c("linear",[new h("nextAlpha",0,1,void 0)],300):this.cn&amp;&amp;(this.fa=new c("linear",[new h("alpha",1,0,void 0)],300));this.m.P.Ta()};e.prototype.iQa=function(g){g=new k(g,this.Va);this.JOa(g);g.Nh(0);return g};e.prototype.aO=function(g){g&amp;&amp;(this.a1a(g),
g.dispose())};e.prototype.JOa=function(g){g.bind(l.ea,this.Xca,this,!0);g.bind(l.xc,this.Yca,this,!0)};e.prototype.a1a=function(g){g.unbind(l.ea,this.Xca,this,!0);g.unbind(l.xc,this.Yca,this,!0)};e.prototype.dispose=function(){this.cn&amp;&amp;(this.aO(this.cn),this.cn=null);this.Ii&amp;&amp;(this.aO(this.Ii),this.Ii=null)};return e});
define("mb","require py ix on pV fT cv hi".split(" "),function(a){function e(d,f){this.m=d;this.HD=void 0;this.A$=1;this.c0=this.bK=this.aK=this.wz=this.hD=this.Nv=void 0;this.Kb=this.j=this.Va=null;this.dh=f;this.Oe=new c(this.dh);this.Bd=[new b(m.KC),new b(m.KC)];this.Bd.forEach(function(n){n.bind(l.ea,this.Cd,this,!0);n.bind(l.xc,this.bg,this,!0)}.bind(this));this.Eya([]);this.update()}var l=a("py"),m=a("ix"),k=a("on"),c=a("pV"),h=a("fT"),g=a("cv"),b=a("hi");e.prototype.frame=function(){if(this.Va){var d=
e.k6a(this.m.P,this.Va);this.j!=d&amp;&amp;(this.j&amp;&amp;(this.cw(),this.oX()),this.j=d)&amp;&amp;(this.oa(),this.lga())}};e.prototype.update=function(){var d=this.m.getComponent(h.Scene),f=!1,n=!1,q=d.HCa||null;this.HD!==q&amp;&amp;(this.HD=q,n=!0);q=d.rha||null;this.Nv!==q&amp;&amp;(this.Nv=q,n=!0);q=d.xBa||null;this.hD!==q&amp;&amp;(this.hD=q,n=!0);n&amp;&amp;(this.EAa(),this.lga(),f=!0);this.wz!==d.backgroundColor&amp;&amp;(this.wz=d.backgroundColor,f=!0);this.Va!==d.scene&amp;&amp;(this.Va=d.scene,f=!0);this.A$!==d.environmentIntensity&amp;&amp;(this.A$=d.environmentIntensity,
f=!0);f&amp;&amp;this.oa()};e.prototype.EAa=function(){this.Eya(this.cUa())};e.prototype.cUa=function(){var d=[];this.HD&amp;&amp;-1==d.indexOf(this.HD)&amp;&amp;d.push(this.HD);!this.Nv&amp;&amp;this.hD&amp;&amp;-1==d.indexOf(this.hD)&amp;&amp;d.push(this.hD);if(this.Va&amp;&amp;this.Va.background&amp;&amp;this.Va.background.image&amp;&amp;this.Va.background.image.src){var f=this.Va.background.image.src;-1==d.indexOf(f)&amp;&amp;d.push(f)}return d};e.prototype.Eya=function(d){var f=[],n=[];this.Bd.forEach(function(q){var p=q.Zi();0&gt;d.indexOf(p)?(q.cancel(),f.push(q)):n.push(p)});
d.forEach(function(q){0&gt;n.indexOf(q)&amp;&amp;f.shift().load(q)})};e.prototype.lga=function(){var d=0;this.Oe.WBa();this.Bd.forEach(function(f){f.Zi()&amp;&amp;!f.Lh()&amp;&amp;(this.Oe.NK(f),d++)}.bind(this));0==d&amp;&amp;this.dh&amp;&amp;this.dh.trigger(l.ea)};e.prototype.dispose=function(){this.Bd.forEach(function(d){d.cancel();d.unbind(l.ea,this.Cd,this,!0);d.unbind(l.xc,this.bg,this,!0)}.bind(this));this.m&amp;&amp;(this.oX(),this.cw(),this.m=null)};e.prototype.Cd=function(){this.oa();this.lga()};e.prototype.oa=function(){if(this.Va&amp;&amp;this.j){this.Va.environmentIntensity=
this.A$;if(this.HD){var d=this.rsa(this.HD);d&amp;&amp;this.kOa(d)}else this.oX();this.Nv?this.cw():this.hD?(d=this.rsa(this.hD))&amp;&amp;this.gpa(d):this.wz?this.gpa(void 0,this.wz):this.cw();this.EAa();this.m.P.Ta()}};e.prototype.rsa=function(d){for(var f=0;f&lt;this.Bd.length;f++)if(this.Bd[f].Lh()&amp;&amp;this.Bd[f].Zi()==d)return this.Bd[f];return null};e.prototype.gpa=function(d,f){if(this.Va){if(d){var n=d&amp;&amp;d.Zi()||void 0;if(n==this.bK)return;this.cw();g.c5(this.Va,this.wq(d,!1));this.bK=n;this.aK=void 0}f&amp;&amp;f!=this.aK&amp;&amp;
(this.cw(),g.c5(this.Va,"transparent"==f?null:k.Jp(f)),this.aK=f,this.bK=void 0)}};e.prototype.cw=function(){this.Va&amp;&amp;(this.aK||this.bK)&amp;&amp;(this.bK&amp;&amp;(this.Va.background.dispose(),g.c5(this.Va,null),this.bK=void 0),this.aK&amp;&amp;(g.c5(this.Va,null),this.aK=void 0))};e.prototype.kOa=function(d){if(this.Va){var f=d&amp;&amp;d.Zi()||void 0;f!=this.c0&amp;&amp;(this.oX(),this.Va.environment=this.wq(d,!0),this.c0=f)}};e.prototype.oX=function(){this.Va&amp;&amp;this.c0&amp;&amp;(this.Va.environment.dispose(),this.Va.environment=null,this.c0=
void 0)};e.prototype.wq=function(d,f){return 6&gt;Math.round(d.Fe()/d.Ue())?this.yQa(d,f):this.tQa(d,f)};e.prototype.yQa=function(d,f){var n=new THREE.Texture;n.image=d.Cf();n.colorSpace=g.hT(this.Va);n.mapping=THREE.EquirectangularReflectionMapping;n.needsUpdate=!0;return f?(d=new THREE.PMREMGenerator(this.j),n=d.fromEquirectangular(n).texture,d.dispose(),n):n};e.prototype.tQa=function(d,f){for(var n=Array(6),q=d.Fe()/6,p=d.Ue(),r=0;6&gt;r;r++){var t=document.createElement("canvas");t.width=q;t.height=
p;t.getContext("2d").drawImage(d.Cf(),r*q,0,q,p,0,0,q,p);n[r]=t}d=new THREE.CubeTexture;d.images=[n[1],n[3],n[4],n[5],n[0],n[2]];d.colorSpace=g.hT(this.Va);d.needsUpdate=!0;return f?(f=new THREE.PMREMGenerator(this.j),n=f.fromCubemap(d).texture,f.dispose(),n):d};e.prototype.bg=function(){this.m.getComponent(h.Scene).scene.environment=null;this.m.P.Ta()};e.zxa=new Map;e.kla=function(d,f){e.zxa.set(d,f||[])};e.k6a=function(d,f){d=e.zxa.get(d)||[];for(var n=0;n&lt;d.length;n++){var q=d[n].getComponent(h.zi);
if(q&amp;&amp;0&lt;q.sU.filter(function(p){return p.getComponent(h.Scene).scene==f}).length)return q.renderer}return null};return e});
define("jY","require exports on oS fT cv three.mod".split(" "),function(a,e,l,m,k,c,h){a=function(){function b(d){this.opacity=this.fL=void 0;this.F=d}b.prototype.frame=function(){var d=this.F.getComponent(k.Scene),f=d.scene,n=f&amp;&amp;c.uu(f),q=d.fL;d=d.OS;!m.isPresenting&amp;&amp;n&amp;&amp;q&amp;&amp;0&lt;d?(this.r4a(),this.zcb(f,n),this.ycb(q,d)):(this.opacity=this.fL=void 0,this.$Ba())};b.prototype.update=function(){};b.prototype.zcb=function(d,f){this.Oh.parent!=f&amp;&amp;f.add(this.Oh);var n=c.iT(d);d=c.uB(d);f.isPerspectiveCamera?
(this.Oh.position.z=1.01*-f.near,f=d/(2*Math.tan(f.fov*g/2)),f=Math.max(d/f,n/(f*n/d)),this.Oh.scale.y=f,this.Oh.scale.x=f*n/d):f.isOrthographicCamera&amp;&amp;(this.Oh.position.z=-(f.near+1),this.Oh.scale.y=f.top-f.bottom,this.Oh.scale.x=f.right-f.left)};b.prototype.ycb=function(d,f){this.fL!==d&amp;&amp;this.opacity!==f&amp;&amp;(this.Oh.material.color=l.Jp(d),this.Oh.material.opacity=f,this.Oh.material.needsUpdate=!0)};b.prototype.r4a=function(){if(!this.Oh){var d=new h.SpriteMaterial;d.depthTest=!1;d.renderOrder=1E3;
d.sizeAttenuation=!1;d.transparent=!0;d.visible=!0;d.opacity=0;d.needsUpdate=!0;this.Oh=new h.Sprite(d);this.Oh.renderOrder=1E3}};b.prototype.$Ba=function(){var d,f,n;if(this.Oh){var q=this.Oh.material;null===(d=q.map)||void 0===d?void 0:d.dispose();null===(f=q.envMap)||void 0===f?void 0:f.dispose();q.dispose();this.Oh.geometry.dispose();null===(n=this.Oh.parent)||void 0===n?void 0:n.remove(this.Oh)}};b.prototype.dispose=function(){this.$Ba()};return b}();var g=Math.PI/180;return a});
define("gn",["require","exports","on","fT","three.mod"],function(a,e,l,m,k){return function(){function c(h){this.F=h}c.prototype.update=function(){var h=this.F.getComponent(m.Scene),g=h.scene,b=h.YCa;h=l.Jp(h.XCa||"#ffffff");0&lt;b?null==g.fog?g.fog=new k.FogExp2(h,b):(g.fog.color=h,g.fog.density=b):g.fog=null};c.prototype.dispose=function(){var h=this.F.getComponent(m.Scene);h&amp;&amp;h.scene&amp;&amp;(h.scene.fog=null)};return c}()});
define("ig","require fT pV bO mb jY gn".split(" "),function(a){function e(b){this.m=b;this.dh=null;var d=this.m.J(l.Scene),f=this.m.J(l.mo);this.m.I(l.Object3D).qa=f.scene=d.scene=new THREE.Scene;this.Oe=new m;this.iO=new c(b,this.Oe.ju());this.te=new k(b,this.Oe.ju());this.EX=new g(b);this.xra=new h(b)}var l=a("fT"),m=a("pV"),k=a("bO"),c=a("mb"),h=a("jY"),g=a("gn");e.prototype.frame=function(b){this.iO.frame(b);this.te.frame(b)};e.prototype.jia=function(b){this.xra.frame(b)};e.prototype.update=function(){this.iO.update();
this.te.update();this.EX.update();this.xra.update();this.K1a()};e.prototype.K1a=function(){var b=this.m.getComponent(l.Scene);this.dh!=b.fia&amp;&amp;(this.dh=b.fia,this.Oe.t$a(this.dh))};e.prototype.dispose=function(){this.Oe&amp;&amp;(this.Oe.dispose(),this.Oe=null);this.te&amp;&amp;(this.te.dispose(),this.te=null);this.iO&amp;&amp;(this.iO.dispose(),this.iO=null);this.EX&amp;&amp;(this.EX.dispose(),this.EX=null);this.m&amp;&amp;(this.m=null)};e.$a=function(b){b.I(l.mo).manager=new e(b)};e.Ca=function(b){var d=b.getComponent(l.mo);d.manager.dispose();
d.manager=null;b.ha(l.mo);b.ha(l.Object3D)};e.frame=function(b,d){b.getComponent(l.mo).manager.frame(d)};e.jia=function(b,d){(b=b.getComponent(l.mo))&amp;&amp;b.manager&amp;&amp;b&amp;&amp;b.manager.jia(d)};e.update=function(b){b.getComponent(l.mo).manager.update()};e.kla=function(b,d){c.kla(b,d)};return e});
define("fj",["require","lS","mc","fT","ig"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("ig");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(c){this.PHa.u.length&amp;&amp;this.PHa.u.slice().forEach(k.$a);this.scenes.Ea.length&amp;&amp;this.scenes.Ea.slice().forEach(k.update);this.scenes.u.length&amp;&amp;this.scenes.u.slice().forEach(function(h){k.frame(h,c)});k.kla(this.P,this.Nm.u.slice());this.QHa.u.length&amp;&amp;this.QHa.u.slice().forEach(k.Ca)};a.H={};a.H.PHa=[m.Scene,m.mo.not];a.H.scenes=
[m.Scene,m.mo];a.H.QHa=[m.Scene.not,m.mo];a.H.Nm=[m.zi,m.Ls];a.HV=e.extend(l,function(){l.apply(this,arguments)});a.HV.prototype.Vc=function(c){this.scenes.u.length&amp;&amp;this.scenes.u.slice().forEach(function(h){k.jia(h,c)})};a.HV.H={};a.HV.H.scenes=[m.Scene,m.mo];return a});
define("eO",["require","w"],function(a){function e(g){this.ni=g;"CANVAS"==g.tagName?(this.T=g,this.Rc=1):(this.T=document.createElement("canvas"),this.Rc=k.ud()==k.yi?.5:1,this.T.width=Math.round(g.width*this.Rc),this.T.height=Math.round(g.height*this.Rc));this.Da=this.T.getContext("2d");this.Da.globalCompositeOperation="copy";this.T!=g&amp;&amp;this.Da.drawImage(g,0,0,g.width,g.height,0,0,this.T.width,this.T.height)}function l(g,b,d){0&gt;g?g=d==THREE.RepeatWrapping?b+g%b:d==THREE.MirroredRepeatWrapping?0==
Math.floor(Math.abs(g/b))%2?Math.abs(g%b):b-1+g%b:0:g&gt;=b&amp;&amp;(g=d==THREE.RepeatWrapping?g%b:d==THREE.MirroredRepeatWrapping?1==Math.floor(g/b)%2?b-1-g%b:g%b:b-1);return g}function m(g,b,d){try{if(g instanceof CanvasRenderingContext2D)return g.getImageData(b,d,1,1).data;if(g.tagName&amp;&amp;"CANVAS"==g.tagName)return g.eVa?[0,0,0,0]:g.getContext("2d").getImageData(b,d,1,1).data;c.drawImage(g,b,d,1,1,0,0,1,1);return c.getImageData(0,0,1,1).data}catch(f){return[0,0,0,0]}}var k=a("w");e.prototype.transparent=function(g,
b){return e.transparent(this.Da,Math.round(g*this.Rc),Math.round(b*this.Rc))};e.prototype.Iy=function(g,b){return e.Iy(this.Da,Math.round(g*this.Rc),Math.round(b*this.Rc))};e.prototype.info=function(g,b){return e.info(this.Da,Math.round(g*this.Rc),Math.round(b*this.Rc))};e.prototype.dispose=function(){this.T!=this.ni&amp;&amp;(this.T.width=this.T.height=0);this.ni=this.T=this.Da=null};e.Vbb=function(g,b,d){if(!g.image||!g.image.width||!g.image.height)return!0;b=l(Math.round(b*g.image.width),g.image.width,
g.wrapS);d=l(Math.round((1-d)*g.image.height),g.image.height,g.wrapT);return!e.transparent(g.image,b,d)};e.transparent=function(g,b,d){return!e.Iy(g,b,d)};e.Iy=function(g,b,d){return!g.tagName||g.tagName&amp;&amp;"VIDEO"==g.tagName?!0:0&lt;m(g,b,d)[3]};e.info=function(g,b,d){g=m(g,b,d);b=g[3];return{Iy:0&lt;b,opacity:b,color:"#"+h[g[0]]+h[g[1]]+h[g[2]]}};a=document.createElement("canvas");a.width=a.height=1;var c=a.getContext("2d");c.globalCompositeOperation="copy";var h=function(){for(var g=Array(256),b=0;16&gt;
b;b++)g[b]="0"+b.toString(16);for(;256&gt;b;b++)g[b]=b.toString(16);return g}();return e});
define("pb","require py eO fT cv ho bh".split(" "),function(a){function e(A){this.Pg=A;this.cK=this.lw=this.ue=this.pn=null;this.zP=void 0;this.sw=!1;this.update()}function l(A,E,J,C){this.F=A;this.qa=E;this.point=J;this.normal=C}function m(A){return{x:A.x,y:A.y,z:A.z}}function k(A,E,J,C){var L=E.P,S=A.get(L);S||A.set(L,S=[]);A=S.indexOf(E);J&amp;&amp;0&gt;A?S.push(E):!J&amp;&amp;0&lt;=A&amp;&amp;S.splice(A,1);C.delete(L)}var c=a("py"),h=a("eO"),g=a("fT"),b=a("cv"),d=a("ho"),f=a("bh");e.prototype.update=function(){var A=this.Pg.getComponent(g.Cc);
A.gs=this;this.XQ(A&amp;&amp;A.enabled?A.UF:null);this.WQ(A&amp;&amp;A.enabled?A.m2:null)};e.prototype.frame=function(){this.KPa();var A=this.Pg.getComponent(g.Cc);A&amp;&amp;A.dCa?this.gwa():this.px(p)};e.prototype.XQ=function(A){if(this.pn!=A){if(this.pn)for(var E in u)this.pn.unbind(E,this.ne,this);if(this.pn=A)for(E in u)this.pn.bind(E,this.ne,this,!0)}};e.prototype.ne=function(A){var E=this.Pg.getComponent(g.Cc);E&amp;&amp;E.enabled&amp;&amp;(E=u[A.name])&amp;&amp;E.call(this,A)};e.prototype.WQ=function(A){this.ue!=A&amp;&amp;(this.ue&amp;&amp;this.sw&amp;&amp;this.ue.pop(f.Le),
(this.ue=A)&amp;&amp;this.sw&amp;&amp;this.ue.push(f.Le))};e.prototype.Mf=function(A){this.cp(A);this.bJ&amp;&amp;-1==v.indexOf(this.Pg.P)&amp;&amp;-1==w.indexOf(this.Pg.P)?this.px(p):this.px(q)};e.prototype.Pw=function(A){this.cp(A);(A=this.Z$())&amp;&amp;this.d1(c.ma,A)};e.prototype.wJ=function(A){this.cp(A);(A=this.Z$())&amp;&amp;this.d1(c.Dl,A)};e.prototype.Lo=function(A){this.bJ=!0;this.cp(A);if(A=this.Z$())this.z$=A.F,this.C$=A.F.getComponent(g.Hd).N,this.d1(c.hb,A)};e.prototype.Qw=function(A){this.bJ=!1;this.cp(A);if(this.z$)var E=(E=this.z$.getComponent(g.Hd))&amp;&amp;
E.N;!E&amp;&amp;this.C$&amp;&amp;(E=this.C$);this.C$=this.z$=null;E&amp;&amp;(A=this.Qra(),E.trigger(c.Eb,A),E=this.Pg.getComponent(g.Cc),E.N&amp;&amp;E.N.trigger(c.Eb,A))};e.prototype.cp=function(A){this.md=A.x;this.nd=A.y;this.lJ=A.pageX;this.mJ=A.pageY};e.prototype.px=function(A){var E=(new Date).getTime()+A;this.zP&amp;&amp;E&gt;=this.zP||(this.zP=E,clearTimeout(this.cK),this.cK=setTimeout(function(){this.cK=null;this.zP=void 0;this.gwa()}.bind(this),A))};e.prototype.gwa=function(){var A=this.QTa();this.iya(A&amp;&amp;A.F);A&amp;&amp;this.d1(c.Pb,A)};
e.prototype.y4=function(A,E,J){var C=this.md,L=this.nd,S=this.lJ,U=this.mJ;this.mJ=this.lJ=this.nd=this.md=void 0;A=this.jaa(A,[]);E=this.caa(A,E,J);var V;E&amp;&amp;(V=this.Dsa(E));this.md=C;this.nd=L;this.lJ=S;this.mJ=U;return V};e.prototype.QTa=function(){var A=this.Pg.getComponent(g.Cc);if(!A)return null;var E=this.PTa();return this.caa(E,A.origin,A.direction)||null};e.prototype.Z$=function(){var A=this.Pg.getComponent(g.Cc);if(!A)return null;var E=this.NSa();return this.caa(E,A.origin,A.direction)||
null};e.prototype.iya=function(A){if(this.lw!=A){if(null!=this.lw!=(null!=A)){var E=this.Pg.getComponent(g.Cc);E&amp;&amp;E.N&amp;&amp;E.N.trigger(A?c.Dc:c.Jb)}this.lw&amp;&amp;this.Jza(this.lw,c.Jb);(this.lw=A)&amp;&amp;this.Jza(this.lw,c.Dc);A=this.lw&amp;&amp;this.lw.getComponent(g.Hd);A=!!A&amp;&amp;A.gH;this.sw!=A&amp;&amp;(this.sw=A,this.ue&amp;&amp;(this.sw?this.ue.push(f.Le):this.ue.pop(f.Le)))}};e.prototype.caa=function(A,E,J){var C=Array.from(A.keys());E=this.QUa(C,E,J);for(J=0;J&lt;E.length;J++){C=E[J];var L=C.point,S=C.object,U=C.face&amp;&amp;C.face.normal,
V=A.get(S),W=V&amp;&amp;V.getComponent(g.Hd);if(W){var K=Array.isArray(S.material)&amp;&amp;C.face?S.material[C.face.materialIndex]:S.material;if(!K||K.visible)if(W.AM||!K||!K.map||h.Vbb(K.map,C.uv.x,C.uv.y))return S.isSkinnedMesh&amp;&amp;(S=this.cSa(S.skeleton.bones,L)),new l(V,S,L,U)}}return null};e.prototype.NSa=function(){var A=this.Pg.P,E=D.get(A);if(!E){E=x.get(A);var J=z.get(A);E=this.jaa(E,J);D.set(A,E)}return E};e.prototype.PTa=function(){var A=this.Pg.P,E=I.get(A);if(!E){E=y.get(A);var J=B.get(A);E=this.jaa(E,
J);I.set(A,E)}return E};e.prototype.jaa=function(A,E){var J=(E&amp;&amp;E.map(function(S){return b.Wc(S)}).filter(function(S){return!!S})||[]).slice(),C=new Map;A&amp;&amp;A.forEach(function(S){var U=b.Wc(S);U&amp;&amp;-1==J.indexOf(U)&amp;&amp;(J.push(U),C.set(S,U))});var L=new Map;C.forEach(function(S,U){for(var V=[S];V.length;){var W=V.shift();if(W==S||-1==J.indexOf(W))L.set(W,U),W.children&amp;&amp;(V=V.concat(W.children))}});return L};e.prototype.QUa=function(A,E,J){t.camera=this.Xra();var C=b.Wc(this.Pg);C=C&amp;&amp;C.matrixWorld;C||(C=
(C=this.Pg.getComponent(g.Cc))&amp;&amp;C.matrixWorld);C?(t.ray.origin.copy(E).applyMatrix4(C),t.ray.direction.copy(E).add(J).applyMatrix4(C).sub(t.ray.origin).normalize()):(t.ray.origin.copy(E),t.ray.direction.copy(J).normalize());return d.intersect(t,A)};e.prototype.d1=function(A,E){var J=this.Dsa(E);E=E.F.getComponent(g.Hd);J.tT=E&amp;&amp;E.N.tT(A)||!1;E.N&amp;&amp;E.N.trigger(A,J);E=this.Pg.getComponent(g.Cc);E.N&amp;&amp;E.N.trigger(A,J)};e.prototype.Qra=function(){var A={};void 0!==this.md&amp;&amp;void 0!==this.nd&amp;&amp;(A.x=this.md,
A.y=this.nd);void 0!==this.lJ&amp;&amp;void 0!==this.mJ&amp;&amp;(A.pageX=this.lJ,A.pageY=this.mJ);return A};e.prototype.Dsa=function(A){var E=this.Qra(),J=A.qa,C=A.point;A=A.normal;E.position=m(C);var L=this.Xra();E.cameraPosition=m(L?r.setFromMatrixPosition(L.matrixWorld):r.set(0,0,0));L=J;for(var S=E;;){S.object=L.userData.id;S.name=L.name;S.type=L.isMesh?"mesh":L.isBone?"bone":L.zu||L.isGaussianCloud?"gs":"other";S.localPosition=m(L.worldToLocal(r.copy(C)));r.setFromMatrixScale(L.matrixWorld);S.localScale=Math.max(r.x,
r.y,r.z);S.objectMatrixWorld=J.matrixWorld.toArray();A&amp;&amp;(S.normal=m(n(J,A,L,r)));if(!L.parent||!L.parent.userData.id)break;L=L.parent;S=S.parent={}}return E};var n=function(){var A=new THREE.Vector3,E=new THREE.Matrix4;return function(J,C,L,S){S.copy(C);if(J==L)return S;S.applyMatrix4(J.matrixWorld);S.sub(A.setFromMatrixPosition(J.matrixWorld));S.add(A.setFromMatrixPosition(L.matrixWorld));S.applyMatrix4(E.copy(L.matrixWorld).invert()).normalize();return S}}();e.prototype.Xra=function(){if(this.GX.camera)return this.GX.camera;
var A=this.Pg.getComponent(g.Cc);A=A&amp;&amp;A.La;this.GX.camera=A&amp;&amp;b.Or(A);return this.GX.camera};e.prototype.KPa=function(){this.GX={}};e.prototype.Jza=function(A,E){(A=(A=A.getComponent(g.Hd))&amp;&amp;A.N)&amp;&amp;A.trigger(E)};e.prototype.cSa=function(A,E){var J=null,C=Infinity;for(A=A.slice();A.length;){var L=A.shift(),S=E.distanceTo(L.getWorldPosition(r));S&lt;C&amp;&amp;(J=L,C=S);A.unshift.apply(A,L.children)}return J};e.prototype.dispose=function(){this.cK&amp;&amp;(clearTimeout(this.cK),this.cK=null,this.zP=void 0);this.XQ(null);
this.WQ(null);this.iya(null)};var q=16,p=400,r=new THREE.Vector3(0,1,0),t=new THREE.Raycaster;a=new THREE.Box3;a.min.x=a.min.y=a.min.z=-Infinity;a.max.x=a.max.y=a.max.z=Infinity;a=new THREE.Sphere;a.center.x=a.center.y=a.center.z=0;a.radius=Infinity;var u={};u[c.Pb]=e.prototype.Mf;u[c.ma]=e.prototype.Pw;u[c.Dl]=e.prototype.wJ;u[c.hb]=e.prototype.Lo;u[c.Eb]=e.prototype.Qw;e.wla=function(A){A.I(g.sv).manager=new e(A)};e.Pla=function(A){var E=A.getComponent(g.sv);E.manager.dispose();E.manager=null;A.ha(g.sv)};
e.frame=function(A){A.getComponent(g.sv).manager.frame()};e.us=function(A){A.getComponent(g.sv).manager.update()};e.Vab=function(A){A.I(g.RC);e.GKa(A)};e.GKa=function(A){var E=b.Wc(A),J=A.getComponent(g.Hd);k(x,A,E&amp;&amp;J.Qx,D);k(y,A,E&amp;&amp;J.zy,I)};e.PJa=function(A){k(x,A,!1,D);k(y,A,!1,I);A.ha(g.RC)};e.Uab=function(A){A.I(g.NC);e.CKa(A)};e.CKa=function(A){var E=b.Wc(A),J=A.getComponent(g.aq);k(z,A,E&amp;&amp;J.Zla,D);k(B,A,E&amp;&amp;J.$la,I)};e.OJa=function(A){k(B,A,!1,I);k(z,A,!1,D);A.ha(g.NC)};var v=[];e.rab=function(A){v=
[];A.forEach(function(E){0&gt;v.indexOf(E.P)&amp;&amp;v.push(E.P)})};var w=[];e.Xka=function(A){w=[];A.forEach(function(E){0&gt;w.indexOf(E.P)&amp;&amp;w.push(E.P)})};var x=new Map,y=new Map,z=new Map,B=new Map,D=new Map,I=new Map;return e});
define("oe",["require","lS","mc","fT","pb"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("pb");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.$T.u.length&amp;&amp;this.$T.u.slice().forEach(k.wla);this.Gj.Ea.length&amp;&amp;this.Gj.Ea.slice().forEach(k.us);this.Gj.u.length&amp;&amp;this.Gj.u.slice().forEach(k.frame);this.aU.u.length&amp;&amp;this.aU.u.slice().forEach(k.Pla);this.XHa.u.length&amp;&amp;this.XHa.u.slice().forEach(k.Vab);this.WHa.u.length&amp;&amp;this.WHa.Ea.slice().forEach(k.GKa);this.YHa.u.length&amp;&amp;
this.YHa.u.slice().forEach(k.PJa);this.ZHa.u.length&amp;&amp;this.ZHa.u.slice().forEach(k.PJa);this.IFa.u.length&amp;&amp;this.IFa.u.slice().forEach(k.Uab);this.HFa.u.length&amp;&amp;this.HFa.Ea.slice().forEach(k.CKa);this.JFa.u.length&amp;&amp;this.JFa.u.slice().forEach(k.OJa);this.KFa.u.length&amp;&amp;this.KFa.u.slice().forEach(k.OJa);(this.jka.Md.length||this.jka.og.length)&amp;&amp;k.rab(this.jka.u);(this.RF.Md.length||this.RF.og.length)&amp;&amp;k.Xka(this.RF.u)};a.H={};a.H.RF=[m.Um];a.H.jka=[m.yk];a.H.$T=[m.Cc,m.sv.not];a.H.Gj=[m.Cc,m.sv];a.H.aU=
[m.Cc.not,m.sv];a.H.XHa=[m.Object3D,m.Hd,m.RC.not];a.H.WHa=[m.Object3D,m.Hd,m.RC];a.H.YHa=[m.Object3D.not,m.RC];a.H.ZHa=[m.Hd.not,m.RC];a.H.IFa=[m.Object3D,m.aq,m.NC.not];a.H.HFa=[m.Object3D,m.aq,m.NC];a.H.JFa=[m.Object3D.not,m.NC];a.H.KFa=[m.aq.not,m.NC];return a});
define("hN","require exports three.mod on fT mc cv".split(" "),function(a,e,l,m,k,c,h){a=function(g){function b(){var d=g.call(this)||this;d.Vb=d.Vb.bind(d);d.Ib=d.Ib.bind(d);d.zf=d.zf.bind(d);d.kb=d.kb.bind(d);return d}Z(b,g);b.prototype.Vc=function(){this.zB.u.length&amp;&amp;this.zB.u.slice().forEach(this.Vb);this.AB.u.length&amp;&amp;this.AB.u.slice().forEach(this.kb);this.Mh.Ea.length&amp;&amp;this.Mh.Ea.slice().forEach(this.Ib);this.Mh.u.length&amp;&amp;this.Mh.u.slice().forEach(this.zf)};b.prototype.Vb=function(d){var f=
d.I(k.Ns),n=d.I(k.Object3D);f.light=n.qa=new l.SpotLight;this.Ib(d)};b.prototype.Ib=function(d){var f=d.getComponent(k.SpotLight),n=d.getComponent(k.Ns),q=n.light;q.color=m.Jp(f.color).convertLinearToSRGB();q.intensity=f.intensity*Math.PI;q.visible=0&lt;q.intensity;q.castShadow=0&lt;q.intensity&amp;&amp;f.castShadow;q.distance=f.distance;q.angle=f.angle*Math.PI/180;q.penumbra=f.penumbra;q.decay=f.decay;q.target.position.set(0,0,1);q.add(q.target);var p=q.castShadow?f.Ala:16;p!=q.shadow.mapSize.width&amp;&amp;(q.shadow.dispose(),
q.shadow=q.shadow.clone(),q.shadow.mapSize.width=q.shadow.mapSize.height=p);q.shadow.bias=f.zla;q.shadow.radius=f.Bla;f.JS!=!!n.Xn&amp;&amp;(n=d.J(k.Ns),f.JS?n.Xn=new l.SpotLightHelper(q):(n.Xn.dispose(),n.Xn=null))};b.prototype.zf=function(d){this.bma(d)};b.prototype.bma=function(d){var f=d.getComponent(k.Ns);if(f=f&amp;&amp;f.Xn)d=h.qf(d),f.parent!=d&amp;&amp;(f.parent&amp;&amp;f.parent.remove(f),d&amp;&amp;d.add(f)),f.update()};b.prototype.kb=function(d){var f=d.getComponent(k.Ns),n=f&amp;&amp;f.Xn;n&amp;&amp;n.parent&amp;&amp;n.parent.remove(n);n&amp;&amp;n.dispose();
f=f.light;f.parent&amp;&amp;f.parent.remove(f);d.ha(k.Ns);d.ha(k.Object3D)};b.H={};return b}(c);a.H={};a.H.zB=[k.SpotLight,k.Ns.not];a.H.Mh=[k.SpotLight,k.Ns];a.H.AB=[k.SpotLight.not,k.Ns];return a});
define("jU",["require","on","fT"],function(a){function e(k){this.m=k;this.ya=null;this.update()}var l=a("on"),m=a("fT");e.prototype.update=function(){this.ya||(this.ya=new THREE.MeshBasicMaterial,this.ya.transparent=!0,this.m.I(m.Material).material=this.ya);var k=this.m.getComponent(m.kd);this.ya.color=l.Jp(k.color||"#ffffff");this.ya.opacity=k.opacity||0;this.ya.depthTest=!!k.depthTest;this.ya.side=k.doubleSided?THREE.DoubleSide:THREE.FrontSide;this.ya.visible=0&lt;this.ya.opacity;this.ya.needsUpdate=
!0};e.prototype.dispose=function(){this.ya&amp;&amp;(this.ya.dispose(),this.ya=null,this.m.ha(m.Material));this.m=null};e.$a=function(k){k.I(m.vv).manager=new e(k)};e.Ca=function(k){var c=k.getComponent(m.vv);c.manager.dispose();c.manager=null;k.ha(m.vv)};e.update=function(k){k.getComponent(m.vv).manager.update()};return e});
define("iT",["require","lS","mc","fT","jU"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("jU");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.Hm.u.length&amp;&amp;this.Hm.u.slice().forEach(k.$a);this.materials.Ea.length&amp;&amp;this.materials.Ea.slice().forEach(k.update);this.Im.u.length&amp;&amp;this.Im.u.slice().forEach(k.Ca)};a.H={};a.H.Hm=[m.kd,m.vv.not];a.H.materials=[m.kd,m.vv];a.H.Im=[m.kd.not,m.vv];return a});
define("lG",["require","lS","mc","fT","os"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("os");a=e.extend(l,function(){l.apply(this,arguments);this.Vb=this.Vb.bind(this);this.Ib=this.Ib.bind(this);this.kb=this.kb.bind(this)});a.prototype.Vc=function(){this.rJa.u.length&amp;&amp;this.rJa.u.slice().forEach(this.Vb);this.qJa.Ea.length&amp;&amp;this.qJa.Ea.slice().forEach(this.Ib);this.sJa.u.length&amp;&amp;this.sJa.u.slice().forEach(this.kb);this.tJa.u.length&amp;&amp;this.tJa.u.slice().forEach(this.kb)};a.prototype.Vb=function(c){c.I(m.Object3D).qa=
new THREE.Mesh(new THREE.SphereGeometry);c.I(m.SC);this.Ib(c)};a.prototype.Ib=function(c){var h=c.getComponent(m.Object3D).qa;k.iB(h,c.getComponent(m.Material).material);c=c.getComponent(m.Sphere);var g=h.geometry;if(g.radius!=c.radius||g.widthSegments!=c.widthSegments||g.heightSegments!=c.heightSegments)g.dispose(),g=new THREE.SphereGeometry(c.radius,c.widthSegments,c.heightSegments),h.geometry=g,h.needsUpdate=!0;c=c.renderOrder||0;h.renderOrder!=c&amp;&amp;(h.renderOrder=c,h.needsUpdate=!0)};a.prototype.kb=
function(c){var h=c.getComponent(m.Object3D);(h=h&amp;&amp;h.qa)&amp;&amp;h.geometry&amp;&amp;(h.geometry.dispose(),h.geometry=null);h&amp;&amp;k.iB(h,null);c.ha(m.SC);c.ha(m.Object3D)};a.H={};a.H.rJa=[m.Sphere,m.Material,m.SC.not];a.H.qJa=[m.Sphere,m.Material,m.SC];a.H.sJa=[m.Sphere.not,m.SC];a.H.tJa=[m.Material.not,m.SC];return a});
define("my",["require","oS","fT","cv","os"],function(a){function e(g){this.m=g;this.Va=null;this.T8=90;this.U8=100;this.sa=this.wa=void 0;this.u0=!1;this.Rc=1;this.$c=this.m.J(l.Sprite).Oh=this.m.J(l.Object3D,!0).qa=new THREE.Sprite;this.$c.material.opacity=0;this.Wi();this.update();this.frame()}a("oS");var l=a("fT"),m=a("cv"),k=a("os");e.prototype.update=function(){var g=this.m.getComponent(l.Sprite);this.wa=g.height;this.sa=g.width;this.u0=g.sizeAttenuation;this.$c.center.x=g.OK;this.$c.center.y=
1-g.PK;this.Rc=g.scale;this.wm();this.$c.needsUpdate=!0};e.prototype.frame=function(){this.Va||(this.Va=m.qf(this.m));this.vr();this.Wi();this.wm()};e.prototype.vr=function(){if(this.Va){var g=m.uu(this.Va);if(g&amp;&amp;g.isPerspectiveCamera){var b=m.uB(this.Va);if(this.T8!=g.fov||this.U8!=b)this.T8=g.fov,this.U8=b,this.wm(),this.$c.needsUpdate=!0}}};e.prototype.Wi=function(){var g=this.Va?this.m.getComponent(l.Material).material:null;g&amp;&amp;k.iB(this.$c,g);this.$c.renderOrder=this.m.getComponent(l.Sprite).renderOrder;
this.$c.material&amp;&amp;this.$c.material.sizeAttenuation!=this.u0&amp;&amp;(this.$c.material.sizeAttenuation=this.u0,this.$c.material.needsUpdate=!0)};e.prototype.wm=function(){var g=this.wa;this.u0||(g/=this.U8/(2*Math.tan(this.T8*h/2)));var b=this.Rc;this.$c.parent&amp;&amp;(this.$c.parent.getWorldScale(c),b/=Math.max(c.x,c.y,c.z));g*=b;b=g*this.sa/this.wa;var d=this.m.getComponent(l.va)||this.m.I(l.va);if(d.sf!=b||d.Ff!=g||1!=d.nh)d=this.m.J(l.va,!0),d.sf=b,d.Ff=g,d.nh=1};var c=new THREE.Vector3,h=Math.PI/180;e.prototype.dispose=
function(){};e.$a=function(g){g.I(l.Os).manager=new e(g)};e.Ca=function(g){var b=g.getComponent(l.Os);b.manager.dispose();b.manager=null;g.ha(l.Os);g.ha(l.Object3D)};e.update=function(g){g.getComponent(l.Os).manager.update()};e.frame=function(g){g.getComponent(l.Os).manager.frame()};return e});
define("eN",["require","lS","mc","fT","my"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("my");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.vJa.u.length&amp;&amp;this.vJa.u.slice().forEach(k.$a);this.m5.Ea.length&amp;&amp;this.m5.u.slice().forEach(k.update);this.m5.u.length&amp;&amp;this.m5.u.slice().forEach(k.frame);this.wJa.u.length&amp;&amp;this.wJa.u.slice().forEach(k.Ca);this.xJa.u.length&amp;&amp;this.xJa.u.slice().forEach(k.Ca)};a.H={};a.H.vJa=[m.Material,m.Sprite,m.Os.not];a.H.m5=[m.Sprite,
m.Material,m.Os];a.H.wJa=[m.Sprite.not,m.Os];a.H.xJa=[m.Material.not,m.Os];return a});
define("hE","require lS py cI mc fT cv".split(" "),function(a){function e(f,n,q){for(;f&lt;n-180;)f+=360;for(;f&gt;n+180;)f-=360;return l(f,n,q)}function l(f,n,q){if(!q)return n;f=(n-f)*(1-q);1E-5&gt;Math.abs(f)&amp;&amp;(f=0);return n-f}var m=a("lS"),k=a("py"),c=a("cI"),h=a("mc"),g=a("fT"),b=a("cv");a=m.extend(h,function(){h.apply(this,arguments);this.Vb=this.Vb.bind(this);this.Ib=this.Ib.bind(this);this.kb=this.kb.bind(this)});a.prototype.Vc=function(f,n){this.QT.u.length&amp;&amp;this.QT.u.slice().forEach(this.Vb);this.Xr.Md.length&amp;&amp;
this.Xr.Md.slice().forEach(function(q){this.Ib(q,f,n)}.bind(this));this.Xr.Ea.length&amp;&amp;this.Xr.Ea.slice().forEach(function(q){this.Ib(q,f,n)}.bind(this));this.TFa.u.length&amp;&amp;this.TFa.u.slice().forEach(function(q){this.Ib(q,f,n)}.bind(this));this.FCa.u.length&amp;&amp;this.FCa.u.slice().forEach(this.kb);this.GCa.u.length&amp;&amp;this.GCa.u.slice().forEach(this.kb)};a.prototype.Vb=function(f){var n=f.getComponent(g.va),q=f.I(g.Xf);q.positionX=n.positionX;q.positionY=n.positionY;q.positionZ=n.positionZ;q.Qd=n.Qd;q.vd=
n.vd;q.He=n.He;q.Ge=n.Ge;q.scale=n.scale;q.sf=n.sf;q.Ff=n.Ff;q.nh=n.nh;q.translationX=n.translationX;q.translationY=n.translationY;q.Je=n.Je;this.updateMatrixWorld(f)};a.prototype.Ib=function(f){var n=f.getComponent(g.va),q=f.getComponent(g.Xf),p=n.easing||0;p?f.getComponent(g.VC)||f.I(g.VC):f.ha(g.VC);var r=null;n.Nx!==q.Nx&amp;&amp;(r||(r=f.J(g.Xf)),r.Nx=n.Nx);n.positionX!==q.positionX&amp;&amp;(r||(r=f.J(g.Xf)),r.positionX=l(r.positionX,n.positionX,p));n.positionY!==q.positionY&amp;&amp;(r||(r=f.J(g.Xf)),r.positionY=
l(r.positionY,n.positionY,p));n.positionZ!==q.positionZ&amp;&amp;(r||(r=f.J(g.Xf)),r.positionZ=l(r.positionZ,n.positionZ,p));n.Qd!==q.Qd&amp;&amp;(r||(r=f.J(g.Xf)),r.Qd=e(r.Qd,n.Qd,p));n.vd!==q.vd&amp;&amp;(r||(r=f.J(g.Xf)),r.vd=e(r.vd,n.vd,p));n.He!==q.He&amp;&amp;(r||(r=f.J(g.Xf)),r.He=e(r.He,n.He,p));n.scale!==q.scale&amp;&amp;(r||(r=f.J(g.Xf)),r.scale=n.scale);n.sf!==q.sf&amp;&amp;(r||(r=f.J(g.Xf)),r.sf=n.sf);n.Ff!==q.Ff&amp;&amp;(r||(r=f.J(g.Xf)),r.Ff=n.Ff);n.nh!==q.nh&amp;&amp;(r||(r=f.J(g.Xf)),r.nh=n.nh);n.translationX!==q.translationX&amp;&amp;(r||(r=f.J(g.Xf)),
r.translationX=l(r.translationX,n.translationX,p));n.translationY!==q.translationY&amp;&amp;(r||(r=f.J(g.Xf)),r.translationY=l(r.translationY,n.translationY,p));n.Je!==q.Je&amp;&amp;(r||(r=f.J(g.Xf)),r.Je=l(r.Je,n.Je,p));r?this.updateMatrixWorld(f):f.ha(g.VC)};var d=new THREE.Vector3;a.prototype.updateMatrixWorld=function(f){b.GU(f,f.getComponent(g.Xf));var n=f.getComponent(g.va).N;n&amp;&amp;(b.getWorldPosition(f,d),f={position:{}},f.position.x=d.x,f.position.y=d.y,f.position.z=d.z,n.trigger(new c(k.Fl,f)))};a.prototype.kb=
function(f){f.ha(g.Xf);f.ha(g.VC)};a.H={};a.H.Xr=[g.Object3D,g.va,g.Xf];a.H.QT=[g.Object3D,g.va,g.Xf.not];a.H.TFa=[g.Object3D,g.va,g.Xf,g.VC];a.H.FCa=[g.Object3D.not,g.va,g.Xf];a.H.GCa=[g.va.not,g.Xf];return a});
define("jz",["require","three.mod"],function(a){const e=a("three.mod");class l extends e.Object3D{constructor(r){function t(K,N){K=new e.TorusGeometry(K,.0075,3,64,N*Math.PI*2);K.rotateY(Math.PI/2);K.rotateX(Math.PI/2);return K}function u(K){const N=new e.Object3D;for(const X in K)for(let ba=K[X].length;ba--;){const da=K[X][ba][0].clone();var R=K[X][ba][1];const ea=K[X][ba][2],G=K[X][ba][3],P=K[X][ba][4];da.name=X;da.tag=P;R&amp;&amp;da.position.set(R[0],R[1],R[2]);ea&amp;&amp;da.rotation.set(ea[0],ea[1],ea[2]);
G&amp;&amp;da.scale.set(G[0],G[1],G[2]);da.updateMatrix();R=da.geometry.clone();R.applyMatrix4(da.matrix);da.geometry=R;da.renderOrder=Infinity;da.position.set(0,0,0);da.rotation.set(0,0,0);da.scale.set(1,1,1);N.add(da)}return N}super();this.type="TransformControlsGizmo";this.properties=r;var v=new e.MeshBasicMaterial({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),w=new e.LineBasicMaterial({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0});r=v.clone();r.opacity=.15;w=w.clone();
w.opacity=.5;var x=v.clone();x.color.setHex(16711680);const y=v.clone();y.color.setHex(65280);const z=v.clone();z.color.setHex(255);const B=v.clone();B.color.setHex(16711680);B.opacity=.5;const D=v.clone();D.color.setHex(65280);D.opacity=.5;const I=v.clone();I.color.setHex(255);I.opacity=.5;const A=v.clone();A.opacity=.25;var E=v.clone();E.color.setHex(16776960);E.opacity=.25;v.clone().color.setHex(16776960);var J=v.clone();J.color.setHex(7895160);var C=new e.CylinderGeometry(0,.04,.1,12);C.translate(0,
.05,0);const L=new e.BoxGeometry(.08,.08,.08);L.translate(0,.04,0);v=new e.BufferGeometry;v.setAttribute("position",new e.Float32BufferAttribute([0,0,0,1,0,0,0,0,0,0,0,0],3));const S=new e.CylinderGeometry(.0075,.0075,.5,3);S.translate(0,.25,0);C={X:[[new e.Mesh(C,x),[.5,0,0],[0,0,-Math.PI/2]],[new e.Mesh(C,x),[-.5,0,0],[0,0,Math.PI/2]],[new e.Mesh(S,x),[0,0,0],[0,0,-Math.PI/2]]],Y:[[new e.Mesh(C,y),[0,.5,0]],[new e.Mesh(C,y),[0,-.5,0],[Math.PI,0,0]],[new e.Mesh(S,y)]],Z:[[new e.Mesh(C,z),[0,0,.5],
[Math.PI/2,0,0]],[new e.Mesh(C,z),[0,0,-.5],[-Math.PI/2,0,0]],[new e.Mesh(S,z),null,[Math.PI/2,0,0]]],XYZ:[[new e.Mesh(new e.OctahedronGeometry(.1,0),A.clone()),[0,0,0]]],XY:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),I.clone()),[.15,.15,0]]],YZ:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),B.clone()),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),D.clone()),[.15,0,.15],[-Math.PI/2,0,0]]]};const U={X:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[.3,0,0],[0,0,-Math.PI/
2]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,.3,0]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,-.3,0],[0,0,Math.PI]]],Z:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,0,.3],[Math.PI/2,0,0]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,0,-.3],[-Math.PI/2,0,0]]],XYZ:[[new e.Mesh(new e.OctahedronGeometry(.2,0),r)]],XY:[[new e.Mesh(new e.BoxGeometry(.2,.2,.01),r),[.15,.15,0]]],YZ:[[new e.Mesh(new e.BoxGeometry(.2,
.2,.01),r),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new e.Mesh(new e.BoxGeometry(.2,.2,.01),r),[.15,0,.15],[-Math.PI/2,0,0]]]},V={START:[[new e.Mesh(new e.OctahedronGeometry(.01,2),w),null,null,null,"helper"]],END:[[new e.Mesh(new e.OctahedronGeometry(.01,2),w),null,null,null,"helper"]],DELTA:[[new e.Line(function(){const K=new e.BufferGeometry;K.setAttribute("position",new e.Float32BufferAttribute([0,0,0,1,1,1],3));return K}(),w),null,null,null,"helper"]],X:[[new e.Line(v,w.clone()),[-1E3,0,0],null,[1E6,
1,1],"helper"]],Y:[[new e.Line(v,w.clone()),[0,-1E3,0],[0,0,Math.PI/2],[1E6,1,1],"helper"]],Z:[[new e.Line(v,w.clone()),[0,0,-1E3],[0,-Math.PI/2,0],[1E6,1,1],"helper"]]};E={XYZE:[[new e.Mesh(t(.5,1),J),null,[0,Math.PI/2,0]]],X:[[new e.Mesh(t(.5,.5),x)]],Y:[[new e.Mesh(t(.5,.5),y),null,[0,0,-Math.PI/2]]],Z:[[new e.Mesh(t(.5,.5),z),null,[0,Math.PI/2,0]]],E:[[new e.Mesh(t(.75,1),E),null,[0,Math.PI/2,0]]]};J={AXIS:[[new e.Line(v,w.clone()),[-1E3,0,0],null,[1E6,1,1],"helper"]]};const W={XYZE:[[new e.Mesh(new e.SphereGeometry(.25,
10,8),r)]],X:[[new e.Mesh(new e.TorusGeometry(.5,.1,4,24),r),[0,0,0],[0,-Math.PI/2,-Math.PI/2]]],Y:[[new e.Mesh(new e.TorusGeometry(.5,.1,4,24),r),[0,0,0],[Math.PI/2,0,0]]],Z:[[new e.Mesh(new e.TorusGeometry(.5,.1,4,24),r),[0,0,0],[0,0,-Math.PI/2]]],E:[[new e.Mesh(new e.TorusGeometry(.75,.1,2,24),r)]]};x={X:[[new e.Mesh(L,x),[.5,0,0],[0,0,-Math.PI/2]],[new e.Mesh(S,x),[0,0,0],[0,0,-Math.PI/2]],[new e.Mesh(L,x),[-.5,0,0],[0,0,Math.PI/2]]],Y:[[new e.Mesh(L,y),[0,.5,0]],[new e.Mesh(S,y)],[new e.Mesh(L,
y),[0,-.5,0],[0,0,Math.PI]]],Z:[[new e.Mesh(L,z),[0,0,.5],[Math.PI/2,0,0]],[new e.Mesh(S,z),[0,0,0],[Math.PI/2,0,0]],[new e.Mesh(L,z),[0,0,-.5],[-Math.PI/2,0,0]]],XY:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),I),[.15,.15,0]]],YZ:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),B),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new e.Mesh(new e.BoxGeometry(.15,.15,.01),D),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new e.Mesh(new e.BoxGeometry(.1,.1,.1),A.clone())]]};r={X:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),
[.3,0,0],[0,0,-Math.PI/2]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,.3,0]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,-.3,0],[0,0,Math.PI]]],Z:[[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,0,.3],[Math.PI/2,0,0]],[new e.Mesh(new e.CylinderGeometry(.2,0,.6,4),r),[0,0,-.3],[-Math.PI/2,0,0]]],XY:[[new e.Mesh(new e.BoxGeometry(.2,.2,.01),r),[.15,.15,0]]],YZ:[[new e.Mesh(new e.BoxGeometry(.2,.2,.01),
r),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new e.Mesh(new e.BoxGeometry(.2,.2,.01),r),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new e.Mesh(new e.BoxGeometry(.2,.2,.2),r),[0,0,0]]]};w={X:[[new e.Line(v,w.clone()),[-1E3,0,0],null,[1E6,1,1],"helper"]],Y:[[new e.Line(v,w.clone()),[0,-1E3,0],[0,0,Math.PI/2],[1E6,1,1],"helper"]],Z:[[new e.Line(v,w.clone()),[0,0,-1E3],[0,-Math.PI/2,0],[1E6,1,1],"helper"]]};this.ey={};this.gs={};this.eG={};this.add(this.ey.translate=u(C));this.add(this.ey.rotate=u(E));this.add(this.ey.scale=
u(x));this.add(this.gs.translate=u(U));this.add(this.gs.rotate=u(W));this.add(this.gs.scale=u(r));this.add(this.eG.translate=u(V));this.add(this.eG.rotate=u(J));this.add(this.eG.scale=u(w));this.gs.translate.visible=!1;this.gs.rotate.visible=!1;this.gs.scale.visible=!1}updateMatrixWorld(r){const t="local"===("scale"===this.properties.mode?"local":this.properties.Fla)?this.properties.jH:f;this.ey.translate.visible="translate"===this.properties.mode;this.ey.rotate.visible="rotate"===this.properties.mode;
this.ey.scale.visible="scale"===this.properties.mode;this.eG.translate.visible="translate"===this.properties.mode;this.eG.rotate.visible="rotate"===this.properties.mode;this.eG.scale.visible="scale"===this.properties.mode;let u=[];u=u.concat(this.gs[this.properties.mode].children);u=u.concat(this.ey[this.properties.mode].children);u=u.concat(this.eG[this.properties.mode].children);for(let w=0;w&lt;u.length;w++){const x=u[w];x.visible=!0;x.rotation.set(0,0,0);x.position.copy(this.properties.Oy);var v=
void 0;this.properties.camera.isOrthographicCamera?(v=this.properties.camera,v=(v.top-v.bottom)/v.zoom):(v=this.properties.camera,v=this.properties.Oy.distanceTo(this.properties.Bc)*Math.min(1.9*Math.tan(Math.PI*v.fov/360)/v.zoom,7));x.scale.set(1,1,1).multiplyScalar(v*this.properties.size/4);"helper"===x.tag?(x.visible=!1,"AXIS"===x.name?(x.visible=!!this.properties.axis,"X"===this.properties.axis&amp;&amp;(k.setFromEuler(c.set(0,0,0)),x.quaternion.copy(t).multiply(k),.9&lt;Math.abs(h.copy(n).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;
(x.visible=!1)),"Y"===this.properties.axis&amp;&amp;(k.setFromEuler(c.set(0,0,Math.PI/2)),x.quaternion.copy(t).multiply(k),.9&lt;Math.abs(h.copy(q).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.visible=!1)),"Z"===this.properties.axis&amp;&amp;(k.setFromEuler(c.set(0,Math.PI/2,0)),x.quaternion.copy(t).multiply(k),.9&lt;Math.abs(h.copy(p).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.visible=!1)),"XYZE"===this.properties.axis&amp;&amp;(k.setFromEuler(c.set(0,Math.PI/2,0)),h.copy(this.properties.TB),x.quaternion.setFromRotationMatrix(b.lookAt(g,
h,q)),x.quaternion.multiply(k),x.visible=this.properties.kk),"E"===this.properties.axis&amp;&amp;(x.visible=!1)):"START"===x.name?(x.position.copy(this.properties.iH),x.visible=this.properties.kk):"END"===x.name?(x.position.copy(this.properties.Oy),x.visible=this.properties.kk):"DELTA"===x.name?(x.position.copy(this.properties.iH),x.quaternion.copy(this.properties.oma),m.set(1E-10,1E-10,1E-10).add(this.properties.iH).sub(this.properties.Oy).multiplyScalar(-1),m.applyQuaternion(this.properties.oma.clone().invert()),
x.scale.copy(m),x.visible=this.properties.kk):(x.quaternion.copy(t),this.properties.kk?x.position.copy(this.properties.iH):x.position.copy(this.properties.Oy),this.properties.axis&amp;&amp;(x.visible=-1!==this.properties.axis.search(x.name)))):(x.quaternion.copy(t),"translate"===this.properties.mode||"scale"===this.properties.mode?("X"===x.name&amp;&amp;.99&lt;Math.abs(h.copy(n).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1),"Y"===x.name&amp;&amp;.99&lt;Math.abs(h.copy(q).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;
(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1),"Z"===x.name&amp;&amp;.99&lt;Math.abs(h.copy(p).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1),"XY"===x.name&amp;&amp;.2&gt;Math.abs(h.copy(p).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1),"YZ"===x.name&amp;&amp;.2&gt;Math.abs(h.copy(n).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1),"XZ"===x.name&amp;&amp;.2&gt;Math.abs(h.copy(q).applyQuaternion(t).dot(this.properties.eye))&amp;&amp;
(x.scale.set(1E-10,1E-10,1E-10),x.visible=!1)):"rotate"===this.properties.mode&amp;&amp;(d.copy(t),h.copy(this.properties.eye).applyQuaternion(k.copy(t).invert()),-1!==x.name.search("E")&amp;&amp;x.quaternion.setFromRotationMatrix(b.lookAt(this.properties.eye,g,q)),"X"===x.name&amp;&amp;(k.setFromAxisAngle(n,Math.atan2(-h.y,h.z)),k.multiplyQuaternions(d,k),x.quaternion.copy(k)),"Y"===x.name&amp;&amp;(k.setFromAxisAngle(q,Math.atan2(h.x,h.z)),k.multiplyQuaternions(d,k),x.quaternion.copy(k)),"Z"===x.name&amp;&amp;(k.setFromAxisAngle(p,Math.atan2(h.y,
h.x)),k.multiplyQuaternions(d,k),x.quaternion.copy(k))),x.visible=x.visible&amp;&amp;(-1===x.name.indexOf("X")||this.properties.gJa),x.visible=x.visible&amp;&amp;(-1===x.name.indexOf("Y")||this.properties.hJa),x.visible=x.visible&amp;&amp;(-1===x.name.indexOf("Z")||this.properties.iJa),x.visible=x.visible&amp;&amp;(-1===x.name.indexOf("E")||this.properties.gJa&amp;&amp;this.properties.hJa&amp;&amp;this.properties.iJa),x.material.Gc=x.material.Gc||x.material.color.clone(),x.material.Mb=x.material.Mb||x.material.opacity,x.material.color.copy(x.material.Gc),
x.material.opacity=x.material.Mb,this.properties.enabled&amp;&amp;this.properties.axis&amp;&amp;(x.name===this.properties.axis?(x.material.color.setHex(16776960),x.material.opacity=1):this.properties.axis.split("").some(function(y){return x.name===y})&amp;&amp;(x.material.color.setHex(16776960),x.material.opacity=1)))}super.updateMatrixWorld(r)}}const m=new e.Vector3,k=new e.Quaternion,c=new e.Euler,h=new e.Vector3(0,1,0),g=new e.Vector3(0,0,0),b=new e.Matrix4,d=new e.Quaternion,f=new e.Quaternion,n=new e.Vector3(1,0,0),
q=new e.Vector3(0,1,0),p=new e.Vector3(0,0,1);return l});
define("lg",["require","three.mod"],function(a){const e=a("three.mod");class l extends e.Mesh{constructor(r){super(new e.PlaneGeometry(1E5,1E5,2,2),new e.MeshBasicMaterial({visible:!1,wireframe:!0,side:e.DoubleSide,transparent:!0,opacity:.1,toneMapped:!1}));this.properties=r;this.type="TransformControlsPlane"}updateMatrixWorld(r){let t=this.properties.Fla;this.position.copy(this.properties.Oy);"scale"===this.properties.mode&amp;&amp;(t="local");n.copy(b).applyQuaternion("local"===t?this.properties.jH:c);
q.copy(d).applyQuaternion("local"===t?this.properties.jH:c);p.copy(f).applyQuaternion("local"===t?this.properties.jH:c);k.copy(q);switch(this.properties.mode){case "translate":case "scale":switch(this.properties.axis){case "X":k.copy(this.properties.eye).cross(n);h.copy(n).cross(k);break;case "Y":k.copy(this.properties.eye).cross(q);h.copy(q).cross(k);break;case "Z":k.copy(this.properties.eye).cross(p);h.copy(p).cross(k);break;case "XY":h.copy(p);break;case "YZ":h.copy(n);break;case "XZ":k.copy(p);
h.copy(q);break;case "XYZ":case "E":h.set(0,0,0)}break;default:h.set(0,0,0)}0===h.length()?this.quaternion.copy(this.properties.JBa):(g.lookAt(m.set(0,0,0),h,k),this.quaternion.setFromRotationMatrix(g));super.updateMatrixWorld(r)}}const m=new e.Vector3,k=new e.Vector3(0,1,0),c=new e.Quaternion,h=new e.Vector3,g=new e.Matrix4,b=new e.Vector3(1,0,0),d=new e.Vector3(0,1,0),f=new e.Vector3(0,0,1),n=new e.Vector3,q=new e.Vector3,p=new e.Vector3;return l});
define("be",["require","three.mod","jz","lg"],function(a){function e(r,t,u){r=t.intersectObject(r,!0);for(t=0;t&lt;r.length;t++)if(r[t].object.visible||u)return r[t];return!1}var l=a("three.mod"),m=a("jz"),k=a("lg");const c=new l.Vector3,h=new l.Vector3,g=new l.Quaternion,b={X:new l.Vector3(1,0,0),Y:new l.Vector3(0,1,0),Z:new l.Vector3(0,0,1)},d={type:"change"},f={type:"mouseDown",mode:null},n={type:"mouseUp",mode:null},q={type:"objectChange"};class p extends l.Object3D{constructor(r){super();this.camera=
r;this.visible=!1;this.ey=r=new m(this);this.add(r);this.Cg=r=new k(this);this.add(r);this.object=void 0;this.enabled=!0;this.axis=null;this.mode="translate";this.kk=!1;this.Mu=this.Fka=this.eo=null;this.Fla="world";this.size=1;this.iJa=this.hJa=this.gJa=!0;this.offset=new l.Vector3;this.BJa=new l.Vector3;this.BCa=new l.Vector3;this.zm=new l.Vector3;this.Q8a=new l.Vector3;this.PGa=new l.Quaternion;this.cka=new l.Quaternion;this.dka=new l.Vector3;this.Ocb=new l.Vector3;this.Q5=new l.Quaternion;this.Ncb=
new l.Vector3;this.lka=new l.Vector3;this.zG=new l.Quaternion;this.Jka=new l.Vector3;this.Oy=new l.Vector3;this.iH=new l.Vector3;this.jH=new l.Quaternion;this.oma=new l.Quaternion;this.Bc=new l.Vector3;this.JBa=new l.Quaternion;this.uy=new l.Vector3;this.ty=new l.Vector3;this.TB=new l.Vector3;this.rotationAngle=0;this.eye=new l.Vector3}updateMatrixWorld(r=!1){void 0!==this.object&amp;&amp;(this.object.updateMatrixWorld(),null===this.object.parent?console.error("TransformControls: The attached 3D object must be a part of the scene graph."):
this.object.parent.matrixWorld.decompose(this.Q8a,this.PGa,this.dka),this.object.matrixWorld.decompose(this.Oy,this.jH,this.Ncb),this.cka.copy(this.PGa).invert(),this.Q5.copy(this.jH).invert());this.camera.updateMatrixWorld();this.camera.matrixWorld.decompose(this.Bc,this.JBa,this.zm);this.camera.isOrthographicCamera?this.camera.getWorldDirection(this.eye):this.eye.copy(this.Bc).sub(this.Oy).normalize();super.updateMatrixWorld(r)}Y8a(r){if(void 0!==this.object&amp;&amp;!0!==this.kk&amp;&amp;null!==this.axis){if(r=
e(this.Cg,r,!0))this.object.updateMatrixWorld(),this.object.parent&amp;&amp;this.object.parent.updateMatrixWorld(),this.lka.copy(this.object.position),this.zG.copy(this.object.quaternion),this.Jka.copy(this.object.scale),this.object.matrixWorld.decompose(this.iH,this.oma,this.Ocb),this.uy.copy(r.point).sub(this.iH);this.kk=!0;f.mode=this.mode;this.dispatchEvent(f)}}Z8a(r){if(!1===this.kk){var t=e(this.ey.gs[this.mode],r);this.axis=t?t.object.name:null}else{t=this.axis;var u=this.mode,v=this.object,w=this.Fla;
if("scale"===u)w="local";else if("E"===t||"XYZE"===t||"XYZ"===t)w="world";if(void 0!==v&amp;&amp;null!==t&amp;&amp;!1!==this.kk&amp;&amp;(r=e(this.Cg,r,!0))){this.ty.copy(r.point).sub(this.iH);if("translate"===u)this.offset.copy(this.ty).sub(this.uy),"local"===w&amp;&amp;"XYZ"!==t&amp;&amp;this.offset.applyQuaternion(this.Q5),-1===t.indexOf("X")&amp;&amp;(this.offset.x=0),-1===t.indexOf("Y")&amp;&amp;(this.offset.y=0),-1===t.indexOf("Z")&amp;&amp;(this.offset.z=0),"local"===w&amp;&amp;"XYZ"!==t?this.offset.applyQuaternion(this.zG).divide(this.dka):this.offset.applyQuaternion(this.cka).divide(this.dka),
v.position.copy(this.offset).add(this.lka),this.eo&amp;&amp;("local"===w&amp;&amp;(v.position.applyQuaternion(g.copy(this.zG).invert()),-1!==t.search("X")&amp;&amp;(v.position.x=Math.round(v.position.x/this.eo)*this.eo),-1!==t.search("Y")&amp;&amp;(v.position.y=Math.round(v.position.y/this.eo)*this.eo),-1!==t.search("Z")&amp;&amp;(v.position.z=Math.round(v.position.z/this.eo)*this.eo),v.position.applyQuaternion(this.zG)),"world"===w&amp;&amp;(v.parent&amp;&amp;v.position.add(c.setFromMatrixPosition(v.parent.matrixWorld)),-1!==t.search("X")&amp;&amp;(v.position.x=
Math.round(v.position.x/this.eo)*this.eo),-1!==t.search("Y")&amp;&amp;(v.position.y=Math.round(v.position.y/this.eo)*this.eo),-1!==t.search("Z")&amp;&amp;(v.position.z=Math.round(v.position.z/this.eo)*this.eo),v.parent&amp;&amp;v.position.sub(c.setFromMatrixPosition(v.parent.matrixWorld))));else if("scale"===u)-1!==t.search("XYZ")?(w=this.ty.length()/this.uy.length(),0&gt;this.ty.dot(this.uy)&amp;&amp;(w*=-1),h.set(w,w,w)):(c.copy(this.uy),h.copy(this.ty),c.applyQuaternion(this.Q5),h.applyQuaternion(this.Q5),h.divide(c),-1===t.search("X")&amp;&amp;
(h.x=1),-1===t.search("Y")&amp;&amp;(h.y=1),-1===t.search("Z")&amp;&amp;(h.z=1)),v.scale.copy(this.Jka).multiply(h),this.Mu&amp;&amp;(-1!==t.search("X")&amp;&amp;(v.scale.x=Math.round(v.scale.x/this.Mu)*this.Mu||this.Mu),-1!==t.search("Y")&amp;&amp;(v.scale.y=Math.round(v.scale.y/this.Mu)*this.Mu||this.Mu),-1!==t.search("Z")&amp;&amp;(v.scale.z=Math.round(v.scale.z/this.Mu)*this.Mu||this.Mu));else if("rotate"===u){this.offset.copy(this.ty).sub(this.uy);u=20/this.Oy.distanceTo(c.setFromMatrixPosition(this.camera.matrixWorld));r=!1;if("XYZE"===t)this.TB.copy(this.offset).cross(this.eye).normalize(),
this.rotationAngle=this.offset.dot(c.copy(this.TB).cross(this.eye))*u;else if("X"===t||"Y"===t||"Z"===t)this.TB.copy(b[t]),c.copy(b[t]),"local"===w&amp;&amp;c.applyQuaternion(this.jH),c.cross(this.eye),0===c.length()?r=!0:this.rotationAngle=this.offset.dot(c.normalize())*u;if("E"===t||r)this.TB.copy(this.eye),this.rotationAngle=this.ty.angleTo(this.uy),this.BJa.copy(this.uy).normalize(),this.BCa.copy(this.ty).normalize(),this.rotationAngle*=0&gt;this.BCa.cross(this.BJa).dot(this.eye)?1:-1;this.Fka&amp;&amp;(this.rotationAngle=
Math.round(this.rotationAngle/this.Fka)*this.Fka);"local"===w&amp;&amp;"E"!==t&amp;&amp;"XYZE"!==t?(v.quaternion.copy(this.zG),v.quaternion.multiply(g.setFromAxisAngle(this.TB,this.rotationAngle)).normalize()):(this.TB.applyQuaternion(this.cka),v.quaternion.copy(g.setFromAxisAngle(this.TB,this.rotationAngle)),v.quaternion.multiply(this.zG).normalize())}this.dispatchEvent(d);this.dispatchEvent(q)}}}$8a(){this.kk&amp;&amp;null!==this.axis&amp;&amp;(n.mode=this.mode,this.dispatchEvent(n));this.kk=!1;this.axis=null}dispose(){this.traverse(r=&gt;
{r.geometry&amp;&amp;r.geometry.dispose();r.material&amp;&amp;r.material.dispose()})}attach(r){this.object=r;this.visible=!0;return this}detach(){this.object=void 0;this.visible=!1;this.axis=null;return this}reset(){this.enabled&amp;&amp;this.kk&amp;&amp;(this.object.position.copy(this.lka),this.object.quaternion.copy(this.zG),this.object.scale.copy(this.Jka),this.dispatchEvent(d),this.dispatchEvent(q),this.uy.copy(this.ty))}setSize(r){this.size=r}}return p});
define("fD","require exports three.mod py cI fT mc ho cv be".split(" "),function(a,e,l,m,k,c,h,g,b,d){function f(t){var u=this.getComponent(c.Hl),v=this.getComponent(c.Wg),w=u.F5;u=u.Iu;if(w&amp;&amp;u){var x=u.getComponent(c.Cc).UF;t.name==m.hb?(w.Y8a(g.oha(r,w.camera,u)),x.unbind(m.ma,f,this),w.kk&amp;&amp;x.bind(m.ma,f,this,!0)):t.name==m.Eb?w.$8a(g.oha(r,w.camera,u)):t.name==m.Pb?(x.unbind(m.ma,f,this),w.Z8a(g.oha(r,w.camera,u))):t.name==m.ma&amp;&amp;(u=n(v),w.mode=u[(u.indexOf(w.mode)+1)%u.length]);w.kk&amp;&amp;!this.getComponent(c.Um)?
this.I(c.Um):!w.kk&amp;&amp;this.getComponent(c.Um)&amp;&amp;this.ha(c.Um);if(v.N&amp;&amp;w.kk&amp;&amp;t.name==m.Pb){p.multiplyMatrices(w.object.parent.matrixWorld,q);t=v.N;v=t.trigger;u=m.ba;x=w.object.position;var y=w.object.quaternion;a:{w=w.object.scale;var z=Math.abs(w.x-w.y)+Math.abs(w.x-w.z),B=Math.abs(w.y-w.x)+Math.abs(w.y-w.z),D=Math.abs(w.z-w.x)+Math.abs(w.z-w.y);if(!(z&gt;B&amp;&amp;z&gt;D)){if(B&gt;z&amp;&amp;B&gt;D){w=w.y;break a}if(D&gt;z&amp;&amp;D&gt;B){w=w.z;break a}}w=w.x}v.call(t,new k(u,{position:x,quaternion:y,scale:w,matrix:q,matrixWorld:p}))}}}
function n(t){var u=[];t.translate&amp;&amp;u.push("translate");t.rotate&amp;&amp;u.push("rotate");t.scale&amp;&amp;u.push("scale");0==u.length&amp;&amp;u.push("translate");return u}a=function(t){function u(){var v=t.call(this)||this;v.Vb=v.Vb.bind(v);v.Ib=v.Ib.bind(v);v.kb=v.kb.bind(v);return v}Z(u,t);u.prototype.Vc=function(){this.bKa.u.length&amp;&amp;this.bKa.u.slice().forEach(this.Vb);this.cKa.u.length&amp;&amp;this.cKa.u.slice().forEach(this.kb);this.dKa.u.length&amp;&amp;this.dKa.u.slice().forEach(this.kb);this.aKa.u.length&amp;&amp;this.aKa.u.slice().forEach(this.Ib)};
u.prototype.Vb=function(v){v.I(c.Hl)};u.prototype.Ib=function(v){this.Ccb(v);this.us(v)};u.prototype.Ccb=function(v){var w=v.getComponent(c.Object3D).qa,x=b.qf(v),y=x&amp;&amp;b.uu(x),z=v.getComponent(c.Wg),B=v.getComponent(c.Hl).F5;B&amp;&amp;w&amp;&amp;B.camera===y&amp;&amp;B.parent===x||(B&amp;&amp;(B.object.parent.remove(B.object),B.detach(),B.dispose()),B=null,y&amp;&amp;w&amp;&amp;x&amp;&amp;(B=new d(y),B.attach(new l.Object3D),x.add(B)),v.J(c.Hl).F5=B);B&amp;&amp;w&amp;&amp;(w.parent!=B.object.parent&amp;&amp;(B.object.parent&amp;&amp;B.object.parent.remove(B.object),w.parent&amp;&amp;w.parent.add(B.object)),
v=n(z),-1==v.indexOf(B.mode)&amp;&amp;(B.mode=v[0]),B.object.matrix.copy(w.matrix),B.object.matrix.decompose(B.object.position,B.object.quaternion,B.object.scale))};u.prototype.us=function(v){var w=v.getComponent(c.Hl),x=this.U5a(v),y=x&amp;&amp;x.getComponent(c.Cc).UF||null,z=(w=w.Iu)&amp;&amp;w.getComponent(c.Cc).UF||null;x!=w&amp;&amp;(z&amp;&amp;(z.unbind(m.hb,f,v),z.unbind(m.Eb,f,v),z.unbind(m.Pb,f,v),z.unbind(m.ma,f,v)),v.J(c.Hl).vy=y)&amp;&amp;(y.bind(m.hb,f,v,!0),y.bind(m.Eb,f,v,!0),y.bind(m.Pb,f,v,!0));x!=w&amp;&amp;(v.J(c.Hl).Iu=x)};u.prototype.U5a=
function(v){return this.Gj.u.reduce(function(w,x){if(x.P!==v.P)return w;if(!w)return x;var y=x.getComponent(c.Cc);return!w.getComponent(c.Cc).$i&amp;&amp;y.$i?x:w})};u.prototype.kb=function(v){var w=v.getComponent(c.Hl),x=w&amp;&amp;w.F5;x&amp;&amp;(x.object.parent.remove(x.object),x.detach(),x.dispose());if(w=w.vy)w.unbind(m.hb,f,v),w.unbind(m.Eb,f,v),w.unbind(m.Pb,f,v),w.unbind(m.ma,f,v);v.ha(c.Hl)};u.H={};return u}(h);var q=new l.Matrix4,p=new l.Matrix4,r=new l.Raycaster;a.H.Gj=[c.Cc];a.H.aKa=[c.Object3D,c.Wg,c.Hl];a.H.bKa=
[c.Object3D,c.Wg,c.Hl.not];a.H.cKa=[c.Object3D.not,c.Hl];a.H.dKa=[c.Wg.not,c.Hl];return a});
define("gL",["require","py","lu","cI","oT"],function(a){function e(h,g,b,d){this.ga=h;this.o=g;this.ne=b;this.Ga=d;this.Vd=h.Db();this.Jf=this.o.get("currentTime");this.C=this.o.get("state");this.Jk=this.o.get("loop");this.x_=this.Vd.get("mute");this.jZ=this.o.get("mute");this.C=this.o.get("autoplay")?m.PLAYING:m.Qb;this.d8();this.o.set("state",this.C);this.ga.Tf(this.x_||this.jZ);this.ga.setLoop(this.Jk);this.ga.setCurrentTime(this.Jf);this.ga.Xc(this.C)}var l=a("py"),m=a("lu"),k=a("cI"),c=a("oT");
e.prototype.dispose=function(){this.gea()};e.prototype.$va=function(){var h=this.o.get("currentTime",0);this.Jf!=h&amp;&amp;this.ga.setCurrentTime(this.Jf=h)};e.prototype.dwa=function(){var h=this.o.get("state",m.V);this.C!=h&amp;&amp;this.ga.Xc(this.C=h)};e.prototype.bwa=function(){var h=this.o.get("mute",!1);this.jZ!=h&amp;&amp;this.ga.Tf(this.x_||(this.jZ=h))};e.prototype.awa=function(){var h=this.o.get("loop",!1);this.Jk!=h&amp;&amp;this.ga.setLoop(this.Jk=h)};e.prototype.bQ=function(){var h=this.Vd.get("mute",!1);this.x_!=
h&amp;&amp;this.ga.Tf((this.x_=h)||this.jZ)};e.prototype.iQ=function(){this.o.set("currentTime",this.Jf=this.ga.getCurrentTime())};e.prototype.gQ=function(){this.o.set("duration",this.ga.ui())};e.prototype.hQ=function(){this.o.set("state",this.C=this.ga.getState());this.Ga()};e.prototype.jQ=function(){this.ne.trigger(new k(l.Gb))};e.prototype.d8=function(){this.Vd.bind(l.G("mute"),this.bQ,this,!0);this.ga.bind(c.Uf,this.iQ,this,!0);this.ga.bind(c.ej,this.gQ,this,!0);this.ga.bind(l.Ae,this.hQ,this,!0);this.ga.bind(l.Gb,
this.jQ,this,!0);this.o.bind(l.G("currentTime"),this.$va,this,!0);this.o.bind(l.G("state"),this.dwa,this,!0);this.o.bind(l.G("mute"),this.bwa,this,!0);this.o.bind(l.G("loop"),this.awa,this,!0)};e.prototype.gea=function(){this.Vd.unbind(l.G("mute"),this.bQ,this,!0);this.ga.unbind(c.Uf,this.iQ,this,!0);this.ga.unbind(c.ej,this.gQ,this,!0);this.ga.unbind(l.Ae,this.hQ,this,!0);this.ga.unbind(l.Gb,this.jQ,this,!0);this.o.unbind(l.G("currentTime"),this.$va,this,!0);this.o.unbind(l.G("state"),this.dwa,this,
!0);this.o.unbind(l.G("mute"),this.bwa,this,!0);this.o.unbind(l.G("loop"),this.awa,this,!0)};return e});
define("x","require py lu ix cA lP eW gy w".split(" "),function(a){function e(f,n,q,p){this.zX=d.browser()==d.ys?THREE.LinearSRGBColorSpace:"srgb"==n.get("encoding","srgb")?THREE.SRGBColorSpace:THREE.LinearSRGBColorSpace;this.wq();this.ga=f;this.o=n;this.fb=q;this.Ga=p;this.PJ=this.fb.get("posterURL");this.QAa=this.fb.get("url");this.sa=this.fb.get("width");this.wa=this.fb.get("height");this.$f=null;this.kF=this.lF=void 0;this.Fta();this.fb.bind(l.G("posterURL"),this.Yva,this,!0);this.Ga();this.Da=
this.T=null}var l=a("py"),m=a("lu"),k=a("ix"),c=a("cA"),h=a("lP"),g=a("eW"),b=a("gy"),d=a("w");e.prototype.update=function(){var f=this.ga.S2();f.isEmpty()&amp;&amp;(f=null);if(f&amp;&amp;(!this.$f||this.$f&amp;&amp;!this.$f.isEqual(f))){this.$f=f;f=this.$f.ct;var n=b.HL(f);n&amp;&amp;(f.width=f.videoWidth||this.sa,f.height=f.videoHeight||this.wa);!this.T&amp;&amp;this.QAa&amp;&amp;b.LKa(this.QAa)&amp;&amp;(this.T=document.createElement("canvas"),this.T.width=this.sa,this.T.height=this.wa,this.Da=this.T.getContext("2d"));this.T&amp;&amp;n&amp;&amp;(this.Da.drawImage(f,
0,0,this.T.width,this.T.height),f=this.T);this.Dya(f)}else!this.$f&amp;&amp;this.bx&amp;&amp;this.Ia.image!=this.bx&amp;&amp;this.Dya(this.bx);(this.Ia.needsUpdate||this.ga.getState()==m.PLAYING)&amp;&amp;this.Ga()};e.prototype.Yva=function(){this.a_a(this.fb.get("posterURL"))};e.prototype.a_a=function(f){this.PJ!=f&amp;&amp;(this.Qza(),this.PJ=f,this.Fta())};e.prototype.Fta=function(){this.PJ&amp;&amp;(this.bx=null,this.OJ=new c,this.OJ.qM([this.PJ]),this.OJ.bind(l.ea,this.Xva,this,!0),h.Yn(this.OJ,this.o.get("loadPriority",k.Bl)))};e.prototype.Qza=
function(){this.PJ&amp;&amp;(this.OJ.unbind(l.ea,this.Xva,this,!0),h.Ij(this.OJ,this.o.get("loadPriority",k.Bl)),this.bx=this.OJ=null)};e.prototype.Xva=function(){this.bx=h.Cf(this.PJ);if(this.bx.width!=this.sa||this.bx.height!=this.wa){var f=document.createElement("canvas"),n=f.getContext("2d");f.width=this.sa;f.height=this.wa;n.drawImage(this.bx,0,0,this.sa,this.wa);this.bx=f}this.Ga()};e.prototype.Dya=function(f){this.Ia&amp;&amp;this.lF==f.width&amp;&amp;this.kF==f.height?this.Ia.image=f:this.wq(f);this.Ia.needsUpdate=
!0};e.prototype.wq=function(f){this.pX();this.Ia=new THREE.Texture;this.Ia.image=f||g.kDa();this.lF=this.Ia.image.width;this.kF=this.Ia.image.height;this.Ia.generateMipmaps=!1;this.Ia.minFilter=THREE.LinearFilter;this.Ia.magFilter=THREE.LinearFilter;this.Ia.format=THREE.RGBAFormat};e.prototype.pX=function(){this.Ia&amp;&amp;(this.kF=this.lF=void 0,this.Ia.dispose(),this.Ia=null)};e.prototype.dispose=function(){this.Qza();this.fb.unbind(l.G("posterURL"),this.Yva,this,!0);this.Da=this.fb=null;this.T&amp;&amp;(this.T=
this.T.width=this.T.height=0);this.pX();this.Ga=this.jh=this.ga=null};e.prototype.e3=function(){return this.Ia};return e});
define("ds","require exports le py ix cA lP three.mod".split(" "),function(a,e,l,m,k,c,h,g){var b=["alphaMap"];return function(){function d(f,n,q){this.Y9a=function(p){this.S1!=p&amp;&amp;(this.qKa(),this.S1=p,this.P7a())};this.properties=f;this.level=n;this.Ta=q;this.f4=this.f4.bind(this);l.da(this.level,b,this.f4,!0)}d.prototype.dispose=function(){l.ca(this.level,b,this.f4);this.qKa();this.M4a()};d.prototype.e3=function(){return this.texture};d.prototype.f4=function(){this.Y9a(this.level.get("alphaMapURL"))};
d.prototype.P7a=function(){this.S1&amp;&amp;(this.EF=new c,this.EF.qM([this.S1]),this.EF.bind(m.ea,this.UFa,this,!0),h.Yn(this.EF,this.properties.get("loadPriority",k.Bl)))};d.prototype.qKa=function(){this.EF&amp;&amp;(this.EF.unbind(m.ea,this.UFa,this,!0),h.Ij(this.EF,this.properties.get("loadPriority",k.Bl)),this.lBa=this.EF=null)};d.prototype.UFa=function(){this.lBa=h.Cf(this.S1);this.createTexture();this.Ta()};d.prototype.createTexture=function(){this.texture=new g.Texture;this.texture.image=this.lBa;this.texture.generateMipmaps=
!1;this.texture.minFilter=g.LinearFilter;this.texture.magFilter=g.LinearFilter;this.texture.format=g.RGBAFormat;this.texture.needsUpdate=!0};d.prototype.M4a=function(){this.texture&amp;&amp;(this.texture.dispose(),this.texture=null)};return d}()});
define("lj",["require","w","gy"],function(a){a("w");var e=a("gy");return{kLa:function(){this.blending=0;this.KL=void 0;this.kJa=this.threshold=0},ZMa:function(){this.BL=!1;this.height=this.width=100},create:function(l,m,k){var c=l.BL&amp;&amp;e.sEa(),h=l.BL&amp;&amp;e.rEa(),g=void 0,b=!c,d={uniforms:{},transparent:!0};d.uniforms.text1={type:"sampler2D",value:null};d.uniforms.textAlpha={type:"sampler2D",value:null};d.uniforms.validTextAlpha={type:"bool",value:!1};d.uniforms.opacity={type:"float",value:1};d.vertexShader=
["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+(c?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(h||m.blending||m.KL){c=[];var f=[];c=c.concat(["uniform sampler2D text1;","uniform sampler2D textAlpha;","uniform bool validTextAlpha;","uniform float opacity;","varying vec2 vUV;"]);f=f.concat(["   vec4 color = texture2D(text1, vUV);","   float alpha = color.a * opacity;","   if (validTextAlpha)","       alpha *= texture2D(textAlpha, vUV).r;"]);
m.blending&amp;&amp;(g=.5*Math.min(l.width,l.height)*m.blending,d.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(g/l.width,g/l.height)},c=c.concat(["uniform vec2 blendingLimit;"]),f=f.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x &lt; blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) &lt; blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y &lt; blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) &lt; blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(",")));
m.KL&amp;&amp;(d.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(m.KL.substr(1,2),16)/255,parseInt(m.KL.substr(3,2),16)/255,parseInt(m.KL.substr(5,2),16)/255)},d.uniforms.chromaThreshold={type:"f",value:m.threshold},d.uniforms.chromaSmoothing={type:"f",value:m.kJa},c=c.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),f=f.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("{")));
f=f.concat(["\tgl_FragColor = vec4(color"+(h?".bgr":".rgb")+", alpha);"]);g=THREE.RGBAFormat;d.fragmentShader=[].concat(c,["void main() {"],f,[],["}"]).join("\n")}else d.fragmentShader="uniform sampler2D text1;\nuniform sampler2D textAlpha;\nuniform bool validTextAlpha;\nuniform float opacity;\nvarying vec2 vUV;\nvoid main() {\n   vec4 color = texture2D(text1, vUV);\n   float alpha = color.a * opacity;\n   if (validTextAlpha)\n       alpha *= 1.0 - texture2D(textAlpha, vUV).r;\n\tgl_FragColor = vec4(color.rgb, alpha);\n\n}";
l=new THREE.ShaderMaterial(d);l.transparent=!0;l.depthWrite=!0;l.side=THREE.FrontSide;l.depthTest=!0;l.needsUpdate=!0;l.userData.WJa=b;l.userData.XJa=g;this.fV(l,k);return l},fV:function(l,m){l.uniforms.text1.value!==m&amp;&amp;(void 0!==l.userData.WJa&amp;&amp;(m.flipY=l.userData.WJa),void 0!==l.userData.XJa&amp;&amp;(m.format=l.userData.XJa),l.uniforms.text1.value=m)},ccb:function(l,m){l.uniforms.textAlpha.value!==m&amp;&amp;(l.uniforms.textAlpha.value=m,l.uniforms.validTextAlpha.value=!!m)}}});
define("bl","require le py lu gL x ds lj gy fT kN oT".split(" "),function(a){function e(p){this.m=p;this.vZ=this.vZ.bind(this);p=p.getComponent(f.po);this.ne=p.N;this.o=p.properties;this.E1=p.kma;this.Vd=this.m.P.qp();this.Ga=this.Ga.bind(this);this.xg=!1;this.fb=null;l.da(this.E1,["levels.url","levels.srcObject","levels.width","levels.height"],this.vZ,!0)}var l=a("le"),m=a("py"),k=a("lu"),c=a("gL"),h=a("x"),g=a("ds"),b=a("lj"),d=a("gy"),f=a("fT"),n=a("kN"),q=a("oT");e.prototype.update=function(){this.xg&amp;&amp;
(this.xg=!1,this.gp.update(),b.fV(this.ya,this.gp.e3()),b.ccb(this.ya,this.g8.e3()))};e.prototype.vZ=function(){this.YQ(q.mk(this.E1))};e.prototype.YQ=function(p){p=p&amp;&amp;(p.get("url")||p.get("srcObject"))?p:null;this.fb!=p&amp;&amp;(this.fb&amp;&amp;(this.PAa.dispose(),this.PAa=null,this.o.unbind(m.G("opacity"),this.cwa,this,!0),this.Z9(),this.gp.dispose(),this.gp=null,this.g8.dispose(),this.g8=null,this.sRa(),this.xg=!1),this.fb=p)&amp;&amp;(this.cRa(),this.PAa=new c(this.ga,this.o,this.ne,this.Ga),this.gp=new h(this.ga,
this.o,this.fb,this.Ga),this.g8=new g(this.o,this.fb,this.Ga),this.Yv(),this.o.bind(m.G("opacity"),this.cwa,this,!0),this.qya(this.Mb=this.o.get("opacity",1)),this.xg=!1,this.Ga())};e.prototype.Ga=function(){this.xg||(this.xg=!0,this.m.P.Ta())};e.prototype.cRa=function(){this.ga=new q(this.m.P.qp(),this.E1);this.rm=new n(this.o,this.ga)};e.prototype.sRa=function(){this.ga.Xc(k.V);this.ga.clear();this.ga=null;this.rm.clear();this.rm=null};e.prototype.Yv=function(){var p=new b.ZMa;p.BL=!this.fb.get("srcObject")&amp;&amp;
d.BL(this.fb.get("url"));p.width=this.fb.get("width");p.height=this.fb.get("height");var r=new b.kLa;r.blending=this.o.get("blending",0);r.KL=this.o.get("chromaColor");r.threshold=this.o.get("chromaThreshold",0);r.kJa=this.o.get("chromaSmoothing",0);this.ya=b.create(p,r,this.gp.e3());this.m.I(f.Material).material=this.ya};e.prototype.Z9=function(){this.ya.dispose();this.ya=null;this.m.ha(f.Material)};e.prototype.dispose=function(){this.YQ(null);this.o.set("state",k.V);this.m=this.ne=this.o=this.Vd=
null;l.ca(this.E1,["levels.url","levels.srcObject","levels.width","levels.height"],this.vZ)};e.prototype.cwa=function(){var p=this.o.get("opacity");this.Mb!=p&amp;&amp;(this.qya(this.Mb=p),this.Ga())};e.prototype.qya=function(p){this.ya.opacity=p;this.ya.isShaderMaterial&amp;&amp;this.ya.uniforms.opacity&amp;&amp;(this.ya.uniforms.opacity.value=p)};e.$a=function(p){p.I(f.oz).manager=new e(p)};e.Ca=function(p){var r=p.getComponent(f.oz);r.manager.dispose();r.manager=null;p.ha(f.oz)};e.update=function(p){p.getComponent(f.oz).manager.update()};
return e});define("eJ",["require","lS","mc","fT","bl"],function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("bl");a=e.extend(l,function(){l.apply(this,arguments)});a.prototype.Vc=function(){this.Hm.u.length&amp;&amp;this.Hm.u.slice().forEach(k.$a);this.Im.u.length&amp;&amp;this.Im.u.slice().forEach(k.Ca);this.materials.u.length&amp;&amp;this.materials.u.slice().forEach(k.update)};a.H={};a.H.Hm=[m.po,m.oz.not];a.H.materials=[m.po,m.oz];a.H.Im=[m.po.not,m.oz];return a});
define("pp",["require","lS","mc","cv","fT"],function(a){var e=a("lS"),l=a("mc"),m=a("cv"),k=a("fT");a=e.extend(l,function(){l.apply(this,arguments);this.Sea=this.Sea.bind(this);this.BK=this.BK.bind(this)});a.prototype.Vc=function(){this.lma.Md.length&amp;&amp;this.lma.Md.slice().forEach(this.Sea);this.vG.Ea.length&amp;&amp;this.vG.Ea.slice().forEach(this.BK);this.fs.Ea.length&amp;&amp;this.fs.Ea.slice().forEach(this.BK);this.vG.Md.length&amp;&amp;this.vG.Md.slice().forEach(this.BK);this.fs.Md.length&amp;&amp;this.fs.Md.slice().forEach(this.BK)};
a.prototype.Sea=function(c){var h=c.getComponent(k.Xm),g=m.YS(h.La),b=g&amp;&amp;g.width||100;g=g&amp;&amp;g.height||100;if(h.width!=b||h.height!=g)h=c.J(k.Xm),h.width=b,h.height=g};a.prototype.BK=function(c){var h=m.YS(c);this.lma.u.forEach(function(g){if(g.getComponent(k.Xm).La==c){var b=g.getComponent(k.Xm);if(b.width!=h.width||b.height!=h.height)b=g.J(k.Xm),b.width=h.width,b.height=h.height}})};a.H={};a.H.lma=[k.Xm];a.H.vG=[k.OrthographicCamera];a.H.fs=[k.PerspectiveCamera];return a});
define("ek",["require"],function(){return{create:function(){var a=new THREE.BufferGeometry;a.setAttribute("position",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("normal",new THREE.BufferAttribute(new Float32Array(18),3));a.setAttribute("uv",new THREE.BufferAttribute(new Float32Array(12),2));a.setIndex(new THREE.BufferAttribute(new Uint32Array(6),1));return a},set:function(a,e,l,m,k,c,h,g,b,d,f,n,q,p,r){var t=a.getAttribute("position").array,u=a.getAttribute("normal").array,v=
a.getAttribute("uv").array,w=a.getIndex().array;t[9]=t[0]=e;t[10]=t[1]=l;t[11]=t[2]=m;v[6]=v[0]=k;v[7]=v[1]=c;t[3]=t[0]+f;t[4]=t[1]+n;t[5]=t[2]+q;v[2]=v[0];v[3]=v[1]+p;t[12]=t[6]=t[3]+h;t[13]=t[7]=t[4]+g;t[14]=t[8]=t[5]+b;v[8]=v[4]=v[2]+d;v[9]=v[5]=v[3];t[15]=t[12]-f;t[16]=t[13]-n;t[17]=t[14]-q;v[10]=v[8];v[11]=v[9]-p;e=g*q-b*n;b=b*f-h*q;h=h*n-g*f;g=1/Math.sqrt(e*e+b*b+h*h);u[0]=u[3]=u[6]=u[9]=u[12]=u[15]=e*g;u[1]=u[4]=u[7]=u[10]=u[13]=u[16]=b*g;u[2]=u[5]=u[8]=u[11]=u[14]=u[17]=h*g;w[0]=0;w[1]=2;
w[2]=1;w[3]=3;w[4]=5;w[5]=4;a.getAttribute("position").needsUpdate=!0;a.getAttribute("normal").needsUpdate=!0;a.getAttribute("uv").needsUpdate=!0;a.clearGroups();a.addGroup(0,6,r);a.computeBoundingBox();a.computeBoundingSphere();return a}}});
define("pc",["require","py","lV"],function(a){function e(k,c,h){this.Gq=k;this.o=c;this.Baa=h;this.a0=this.a0.bind(this);this.YH=void 0;this.o.forEach(function(g){this.Gq.bind(l.G(g),this.FP,this,!0)}.bind(this));this.a0()}var l=a("py"),m=a("lV");e.prototype.stop=function(){this.o.forEach(function(k){this.Gq.unbind(l.G(k),this.FP,this,!0)}.bind(this));this.YH&amp;&amp;(m.cancel(this.YH),this.YH=void 0)};e.prototype.FP=function(){this.YH||(this.YH=m.UB(this.a0))};e.prototype.a0=function(){this.YH=void 0;var k=
this.Gq;this.Baa.apply(window,this.o.map(function(c){return k.get(c)}))};return e});
define("fL","require lS mc fT ek pc cv nC mK".split(" "),function(a){var e=a("lS"),l=a("mc"),m=a("fT"),k=a("ek"),c=a("pc"),h=a("cv"),g=a("nC"),b=a("mK"),d=e.extend(l,function(){l.apply(this,arguments);this.Rea=this.Rea.bind(this);this.qga=this.qga.bind(this);this.ufa=this.ufa.bind(this)});d.prototype.Vc=function(){this.YT.u.length&amp;&amp;this.YT.u.slice().forEach(this.Rea);this.planes.Ea.length&amp;&amp;this.planes.Ea.slice().forEach(this.qga);this.WGa.u.length&amp;&amp;this.WGa.u.slice().forEach(this.ufa)};d.prototype.Rea=
function(f){var n=f.getComponent(m.pz),q=f.I(m.Xm);q.La=n.La;var p=h.YS(n.La);p&amp;&amp;(q.width=p.width,q.height=p.height);q=f.I(m.zv);q.geometry=k.create();q.sHa=new c(n.properties,"width height horizontalAlign verticalAlign scaleMode zIndex".split(" "),function(r,t,u,v,w,x){var y=f.J(m.zv);y.oJa=r;y.mJa=t;y.tEa=u;y.verticalAlign=v;y.OHa=w;y.zIndex=x});f.I(m.Geometry).geometry=q.geometry};d.prototype.ufa=function(f){var n=f.getComponent(m.zv);n.geometry.dispose();n.geometry=null;n.sHa.stop();n.sHa=null;
f.ha(m.Geometry);f.ha(m.Xm);f.ha(m.zv)};d.prototype.qga=function(f){var n=f.getComponent(m.zv),q=f.getComponent(m.Xm),p=q.width,r=q.height,t=n.oJa,u=n.mJa;switch(n.OHa){case b.NONE:q=t;var v=u;break;case b.Vp:q=p;v=u*p/t;break;case b.xk:v=r;q=t*r/u;break;case b.As:t*r&gt;u*p?(v=r,q=t*r/u):(q=p,v=u*p/t);break;default:t*r&gt;u*p?(q=p,v=u*p/t):(v=r,q=t*r/u)}switch(n.tEa){case g.ab:p=.5*-p;break;case g.ub:p=.5*p-q;break;default:p=.5*-q}switch(n.verticalAlign){case g.Ec:r=.5*r-v;break;case g.wc:r=.5*-r;break;
default:r=.5*-v}t=n.zIndex-d.bMa;k.set(n.geometry,p,r,0,0,0,q,0,0,1,0,v,0,1,0);f.J(m.va,!0).positionZ=t;f.P.Ta()};d.bMa=100;d.H={};d.H.YT=[m.pz,m.zv.not];d.H.planes=[m.pz,m.zv,m.Xm];d.H.WGa=[m.pz.not,m.zv];return d});
define("jh","require cQ nI p nD iw hy ic iO hq lC gO im lX mJ ni jt ph gi fg hZ f lB hz hu ns dr iX mL lY fj oe hN iT lG eN hE fD eJ pp fL".split(" "),function(a){var e=a("cQ"),l=a("nI"),m=a("p"),k=a("nD"),c=a("iw"),h=a("hy"),g=a("ic"),b=a("iO"),d=a("hq"),f=a("lC"),n=a("gO"),q=a("im"),p=a("lX"),r=a("mJ"),t=a("ni"),u=a("jt"),v=a("ph"),w=a("gi"),x=a("fg"),y=a("hZ"),z=a("f"),B=a("lB"),D=a("hz"),I=a("hu"),A=a("ns"),E=a("dr"),J=a("iX"),C=a("mL"),L=a("lY"),S=a("fj"),U=a("oe"),V=a("hN"),W=a("iT"),K=a("lG"),
N=a("eN"),R=a("hE"),X=a("fD"),ba=a("eJ"),da=a("pp");a=a("fL");var ea={};ea.AmbientLight=e;ea.Animation=l;ea.Tm=m;ea.Wy=k;ea.Camera=c;ea.iLa=h;ea.qH=g;ea.gf=b;ea.DirectionalLight=d;ea.Um=f;ea.Wp=n;ea.hv=q;ea.Ds=r;ea.Group=p;ea.Al=t;ea.th=u;ea.Line=v;ea.Es=w;ea.uh=x;ea.mv=y;ea.Mesh=z;ea.Wh=B;ea.qMa=D;ea.lb=A;ea.Plane=I;ea.Nj=E;ea.yk=J;ea.Wm=C;ea.zi=L;ea.Scene=S;ea.Selection=U;ea.kd=W;ea.Sphere=K;ea.SpotLight=V;ea.Sprite=N;ea.va=R;ea.Wg=X;ea.po=ba;ea.Xm=da;ea.pz=a;return ea});
define("oz",["require","w"],function(a){var e=a("w");return{ZJa:function(l,m){m||(m="screenshot.jpg");a:{try{var k=l.toDataURL("image/jpeg");break a}catch(b){}k=void 0}if(!k)return!1;var c=k;l=document.createElement("a");if("string"===typeof l.download)document.body.appendChild(l),l.download=m,l.href=c,l.click(),document.body.removeChild(l);else if(e.browser()==e.Ty){l=window.navigator;k=l.msSaveOrOpenBlob;c=atob(c.split(",")[1]);for(var h=[],g=0;g&lt;c.length;g++)h.push(c.charCodeAt(g));c=new Blob([new Uint8Array(h)],
{type:"image/jpeg"});k.call(l,c,m)}else window.location.replace(c);return!0}}});
define("gF","require lS py e cl kH lK fT jh oz".split(" "),function(a){function e(p){return p.map(function(r){return String.fromCharCode(r)}).join("")}var l=a("lS"),m=a("py"),k=a("e"),c=a("cl"),h=a("kH"),g=a("lK"),b=a("fT"),d=a("jh"),f=a("oz");a=l.extend(k,function(p,r,t){k.call(this);this.Vd=p;this.M=r;this.M2a=t;this.Lx=(new g(p)).la(b.lH).la(b.AmbientLight).la(b.Ry).la(b.Animation).la(b.Tu).la(b.oC).la(b.Tm).la(b.Sy).la(b.pC).la(b.Wy).la(b.Xy).la(b.jo).la(b.Yu).la(b.gf).la(b.Yy).la(b.rH).la(b.Zu).la(b.qH).la(b.jLa).la(b.DirectionalLight).la(b.Np).la(b.cv).la(b.Zy).la(b.Um).la(b.HC).la(b.Bs).la(b.IC).la(b.jv).la(b.Wp).la(b.gv).la(b.hv).la(b.Cs).la(b.Geometry).la(b.Ds).la(b.ez).la(b.Group).la(b.yH).la(b.Al).la(b.fz).la(b.Line).la(b.th).la(b.hz).la(b.Es).la(b.jz).la(b.iz).la(b.Material).la(b.uh).la(b.kz).la(b.mv).la(b.$p).la(b.Mesh).la(b.Hs).la(b.Wh).la(b.nv).la(b.MC).la(b.mMa).la(b.aq).la(b.NC).la(b.Object3D).la(b.EH).la(b.ov).la(b.OC).la(b.pv).la(b.OrthographicCamera).la(b.Is).la(b.PerspectiveCamera).la(b.Mj).la(b.lb).la(b.Js).la(b.Nj).la(b.QC).la(b.Plane).la(b.qv).la(b.Cc).la(b.rv).la(b.yk).la(b.Ks).la(b.sv).la(b.Wm).la(b.bq).la(b.kd).la(b.vv).la(b.va).la(b.VC).la(b.Xf).la(b.Wg).la(b.Hl).la(b.zi).la(b.Ls).la(b.Scene).la(b.mo).la(b.Hd).la(b.RC).la(b.Sphere).la(b.SC).la(b.SpotLight).la(b.Ns).la(b.Sprite).la(b.Os).la(b.kd).la(b.vv).la(b.xv).la(b.Qs).la(b.po).la(b.oz).la(b.Xm).la(b.pz).la(b.zv).la(b.KH).la(b.zk).la(b.MH).la(b.iq).la(b.NH).la(b.jq).la(b.OH).la(b.kq).bd(d.Camera,"Camera").bd(d.Xm,
"Viewport").bd(d.Al,"ImageMaterial").bd(d.gf,"CanvasMaterial").bd(d.th,"LineMaterial").bd(d.kd,"SolidMaterial").bd(d.po,"VideoMaterial").bd(d.mv,"MaterialVariant").bd(d.pz,"ViewportPlaneGeometry").bd(d.Ds,"Grid").bd(d.Group,"Group").bd(d.Line,"Line").bd(d.Mesh,"Mesh").bd(d.Plane,"Plane").bd(d.Wp,"Floor").bd(d.Sphere,"Sphere").bd(d.Sprite,"Sprite").bd(d.Wh,"Model").bd(d.Wm,"ProjectedMaterial").bd(d.AmbientLight,"AmbientLight").bd(d.DirectionalLight,"DirectionalLight").bd(d.SpotLight,"SpotLight").bd(d.Scene,
"Scene").bd(d.lb,"Parent").bd(d.qMa,"ObjectId").bd(d.Animation,"Animation").bd(d.qH,"CameraOffsetTransform").bd(d.uh,"ObjectTransform").bd(d.hv,"FloorTransform").bd(d.iLa,"CameraControls").bd(d.Um,"Dragging").bd(d.Selection,"Selection").bd(d.yk,"PointerOverTransform").bd(d.Nj,"PixelScaleTransform").bd(d.va,"Transform").bd(d.Wg,"TransformControls").bd(d.Tm,"Area").bd(d.Es,"LineToTransform").bd(d.Camera.mH,"CameraAutoNearFar").bd(d.Scene.HV,"SceneFade").bd(d.Wy,"Beacon").bd(d.zi,"Renderer");this.j=
this.Lx.Mc("Renderer");this.ZE=[];this.Xea=!1;this.nO=new h;this.Yb().append(this.nO.gd());this.bind(m.jd,this.tj,this,!0);this.bind(m.cd,this.sj,this,!0)});a.prototype.Mc=function(p){return this.Lx.Mc(p)};a.prototype.Gd=function(p){this.Lx.Gd(p)};a.prototype.Ta=function(){this.Lx.Ta()};a.prototype.hBa=function(p){!(0&lt;=this.ZE.indexOf(p))&amp;&amp;(this.ZE.push(p),p=this.j.J(b.zi))&amp;&amp;(p.sU=this.ZE.slice())};a.prototype.D9a=function(p){p=this.ZE.indexOf(p);!(0&gt;p)&amp;&amp;(this.ZE.splice(p,1),p=this.j.J(b.zi))&amp;&amp;(p.sU=
this.ZE.slice())};a.prototype.T4=function(p){this.Lx.T4(p)};a.prototype.rb=function(p){this.Lx.rb(p)};a.prototype.GG=function(){this.nO.trigger();this.Lx.update();return f.ZJa(this.j.getComponent(b.zi).renderer.domElement)};a.prototype.Dha=function(){this.Lx.update();return this.j.getComponent(b.zi).renderer.domElement.toDataURL("image/png")};a.prototype.tj=function(){this.x_a()};a.prototype.sj=function(){this.q0a()};a.prototype.x_a=function(){var p=this.j.getComponent(b.zi);if(!p&amp;&amp;(p=this.j.I(b.zi),
p.vc=this.M,p.sU=this.ZE.slice(),this.Vd.get(n)&amp;&amp;this.M2a)){this.fS=document.createElement("div");for(var r in q)this.fS.style[r]=q[r];this.Yb().lha(this.fS)}};a.prototype.q0a=function(){this.j.getComponent(b.zi)&amp;&amp;(this.fS&amp;&amp;this.Yb().s9a(this.fS),this.fS=null,this.j.ha(b.zi))};var n=e([119,97,116,101,114,109,97,114,107]),q={};q[e([104,101,105,103,104,116])]=e([49,48,48,37]);q[e([119,105,100,116,104])]=e([49,48,48,37]);q[e([112,111,115,105,116,105,111,110])]=e([97,98,115,111,108,117,116,101]);q[e([116,
111,112])]=0;q[e([108,101,102,116])]=0;q[e([98,97,99,107,103,114,111,117,110,100,73,109,97,103,101])]=e([117,114,108,40,34])+c.$Ma+e([34,41]);q[e([98,97,99,107,103,114,111,117,110,100,80,111,115,105,116,105,111,110])]=e([99,101,110,116,101,114]);q[e([98,97,99,107,103,114,111,117,110,100,83,105,122,101])]=e([99,111,110,116,97,105,110]);q[e([112,111,105,110,116,101,114,69,118,101,110,116,115])]=e([110,111,110,101]);q[e([98,97,99,107,103,114,111,117,110,100,82,101,112,101,97,116])]=e([110,111,45,114,
101,112,101,97,116]);q[e([111,112,97,99,105,116,121])]=.5;return a});
define("eZ","require exports le py ol fT oS".split(" "),function(a,e,l,m,k,c,h){var g=["autoNearFar","autoNearFarTolerance","near","far","userInteracting"],b=["inTransition"],d={OrbitModel3DCamera:c.OC,FirstPersonModel3DCamera:c.HC,FlyOverModel3DCamera:c.IC},f={FirstPersonModel3DCamera:c.OH,OrbitModel3DCamera:c.MH,FlyOverModel3DCamera:c.NH};return function(){function n(q,p,r){this.renderer=q;this.model=p;this.La=r;this.vc=this.renderer.M;this.camera=null;this.mg=this.mg.bind(this);this.c4=this.c4.bind(this);
this.renderer.bind(m.tc,this.rG,this,!0);this.model.bind(m.G("camera"),this.Rja,this,!0);this.vc.bind(m.G("isKeyboardTarget"),this.Tja,this,!0);h.N.bind(m.ba,this.ze,this,!0);this.Rja();this.ze();this.Tja();this.rG()}n.prototype.Ou=function(q){for(var p in d){var r=this.La.J(d[p]);r&amp;&amp;(r.locked=q)}for(p in f)if(r=this.La.J(f[p]))r.locked=q};n.prototype.rb=function(q){for(var p in d){var r=this.La.J(d[p]);r&amp;&amp;(r.enabled=q)}};n.prototype.dispose=function(){this.setCamera(null);this.model.unbind(m.G("camera"),
this.Rja,this);this.vc.unbind(m.G("isKeyboardTarget"),this.Tja,this);this.renderer.unbind(m.tc,this.rG,this);h.N.unbind(m.ba,this.ze,this)};n.prototype.ze=function(){this.La.J(c.PerspectiveCamera,!0).nl=h.mh==this.vc.Pd().Ur()};n.prototype.Rja=function(){this.setCamera(this.model.get("camera"))};n.prototype.setCamera=function(q){if(this.camera!==q){this.camera&amp;&amp;(this.dC(!1),l.ca(this.camera,g,this.mg),l.ca(this.camera,b,this.c4),this.camera.set("inTransition",!1));if(this.camera=q)l.da(this.camera,
g,this.mg,!0),l.da(this.camera,b,this.c4,!0),this.s3a(),this.La.J(c.rH,!0).properties=this.camera;this.uKa()}};n.prototype.uKa=function(){var q,p,r,t=!!this.camera&amp;&amp;this.camera.get("inTransition");t?r=this.La.J(c.xv,!0):this.La.ha(c.xv);for(var u in d){var v=d[u];!t&amp;&amp;this.camera&amp;&amp;k.Ja(u,this.camera)?q=this.La.J(v,!0):this.La.ha(v);(v=f[u])&amp;&amp;(!t&amp;&amp;this.camera&amp;&amp;k.Ja(u,this.camera)?p=this.La.J(v,!0):this.La.ha(v))}q&amp;&amp;(q.properties=this.camera,q.zg=this.renderer.getParent(),q.RHa=this.vc.YO,q.yB=this.vc.get("isKeyboardTarget"));
r&amp;&amp;(r.properties=this.camera,r.gg=this.model.get("worldUnitToMeters"));p&amp;&amp;(p.properties=this.camera,p.gg=this.model.get("worldUnitToMeters"),p.sk=this.vc.get("vrThumbstickRotationStep"))};n.prototype.Tja=function(){var q=this.x5a();q&amp;&amp;(q.yB=this.vc.get("isKeyboardTarget"))};n.prototype.x5a=function(){if(!this.camera)return null;var q=null,p;for(p in d){var r=d[p];this.camera&amp;&amp;k.Ja(p,this.camera)&amp;&amp;(q=this.La.J(r,!0))}return q};n.prototype.mg=function(){if(this.camera){var q=this.La.J(c.PerspectiveCamera,
!0);q.vBa=this.camera.get("autoNearFar");q.wBa=this.camera.get("autoNearFarTolerance");q.near=this.camera.get("near");q.far=this.camera.get("far");this.dC(this.camera.get("userInteracting"))}};n.prototype.c4=function(){this.uKa()};n.prototype.rG=function(){var q=this.La.J(c.PerspectiveCamera,!0);q.width=this.renderer.Bf();q.height=this.renderer.Af()};n.prototype.s3a=function(){var q=this.camera;q.set("fov",q.get("initialFov"));q.set("x",q.get("initialX"));q.set("y",q.get("initialY"));q.set("z",q.get("initialZ"));
q.set("distance",q.get("initialDistance",0));q.set("yaw",q.get("initialYaw"));q.set("pitch",q.get("initialPitch"))};n.prototype.dC=function(q){this.iC!=q&amp;&amp;(this.iC=q,this.camera&amp;&amp;this.camera.trigger(this.iC?m.eoa:m.doa))};return n}()});define("jd",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("OrbitLight",e,function(){e.call(this)})});
define("ow",["require","exports","le"],function(a,e,l){return function(){function m(){this.RT=this.RT.bind(this);this.H4=this.object=null;this.elements=[];this.MS=new Map;this.fHa=this.og=this.Md=this.filter=null}m.prototype.VG=function(k,c){this.dispose();this.object=k;this.H4=c;l.da(this.object,[this.H4],this.RT,!0)};m.prototype.RT=function(k){k=k||[];this.filter&amp;&amp;(k=k.filter(this.filter));var c=this.elements,h=this.elements=k;c.forEach(function(g,b){var d=h.indexOf(g);if(-1==d){var f=this.MS.get(g);
this.MS["delete"](g);this.og&amp;&amp;this.og(g,f)}else d!=b&amp;&amp;(f=this.MS.get(g),this.fHa&amp;&amp;(b=this.fHa(g,d,f,b),b!=f&amp;&amp;this.MS.set(g,b)))}.bind(this));h.forEach(function(g,b){-1==c.indexOf(g)&amp;&amp;this.Md&amp;&amp;(b=this.Md(g,b),this.MS.set(g,b))}.bind(this))};m.prototype.dispose=function(){this.object&amp;&amp;(l.ca(this.object,[this.H4],this.RT),this.RT([]),this.H4=this.object=null)};return m}()});
define("mM",["require","exports","le","fT"],function(a,e,l,m){var k=["color","intensity"];return function(){function c(h,g,b,d,f){this.mg=this.mg.bind(this);this.object=h;this.model=g;this.ic=b;this.Ie=d;this.La=f;this.F=b.P.Mc("AmbientLight");this.F.I(m.AmbientLight);this.F.I(m.lb).F=this.Ie;l.da(this.object,k,this.mg,!0)}c.prototype.dispose=function(){l.ca(this.object,k,this.mg);this.F&amp;&amp;(this.F.P.Gd(this.F),this.F=null)};c.prototype.mg=function(){var h=this.F.J(m.AmbientLight);h.color=this.object.get("color");
h.intensity=this.object.get("intensity")};return c}()});
define("eE","require exports three.mod le py gE fT".split(" "),function(a,e,l,m,k,c,h){a=function(){function p(r,t,u,v,w){this.mg=this.mg.bind(this);this.object=r;this.model=t;this.ic=u;this.Ie=v;this.La=w;this.F=this.ic.P.Mc("OrbitLight");this.F.I(h.DirectionalLight).target=this.ic;this.F.I(h.lb);r=this.F.I(h.va);r.Ge="YXZ";r.positionZ=10;this.FG=null;m.da(this.object,g,this.mg,!0)}p.prototype.dispose=function(){m.ca(this.object,g,this.mg);this.F&amp;&amp;(this.F.P.Gd(this.F),this.F=null);this.FG&amp;&amp;(this.FG.dispose(),
this.FG=null)};p.prototype.mg=function(){var r=this.F.J(h.DirectionalLight);r.castShadow=this.object.get("castShadow");r.color=this.object.get("color");r.JS=this.object.get("displayHelper");r.intensity=this.object.get("intensity");r.mode=this.object.get("mode");var t="fixed_to_target"==this.object.get("mode")?this.Ie:this.La;this.F.getComponent(h.lb).F!=t&amp;&amp;(this.F.J(h.lb).F=t);t=this.object.get("yaw");var u=-this.object.get("pitch"),v=this.F.getComponent(h.va);if(v.Qd!=u||v.vd!=t)v=this.F.J(h.va),
v.Qd=u,v.vd=t;r.zla=this.object.get("shadowBias");r.Bla=this.object.get("shadowRadius");r.Ala=this.object.get("shadowMapSize");r.dbb=this.object.get("shadowTolerance");this.object.get("rotationDraggable")!=!!this.FG&amp;&amp;(this.object.get("rotationDraggable")?this.FG=new b(this.object,this.model,this.ic):(this.FG.dispose(),this.FG=null))};return p}();var g="castShadow color displayHelper intensity mode pitch yaw rotationDraggable shadowBias shadowRadius shadowMapSize shadowTolerance".split(" "),b=function(){function p(r,
t,u){this.VL=this.VL.bind(this);this.object=r;this.model=t;this.ic=u;this.N=new c;this.N.bind(k.ba,this.rl,this,!0);this.Fu=this.ic.P.Mc("OrbitLightTransformControls");this.Fu.I(h.va).Ge="YXZ";this.Fu.I(h.Group);this.Fu.I(h.lb).F=this.ic;this.gy=this.ic.P.Mc("OrbitLightTransformControlsInner");this.gy.I(h.va).Ge="YXZ";this.gy.I(h.Group);this.gy.I(h.lb).F=this.Fu;r=this.gy.I(h.Wg);r.translate=!1;r.rotate=!0;r.scale=!1;r.N=this.N;m.da(this.object,d,this.VL,!0);m.da(this.model,f,this.VL,!0)}p.prototype.dispose=
function(){m.ca(this.object,d,this.VL);m.ca(this.model,f,this.VL);this.Fu&amp;&amp;(this.Fu.P.Gd(this.Fu),this.Fu=null);this.gy&amp;&amp;(this.gy.P.Gd(this.gy),this.gy=null)};p.prototype.VL=function(){if("fixed_to_target"==this.object.get("mode")){var r=this.Fu.J(h.va);r.vd=0;r.Qd=0}else r=this.Fu.J(h.va),r.vd=-this.model.get("camera").get("yaw"),r.Qd=this.model.get("camera").get("pitch");r.He=0;r=this.gy.J(h.va);r.vd=this.object.get("yaw");r.Qd=-this.object.get("pitch");r.He=0};p.prototype.rl=function(r){n.setFromQuaternion(r.data.quaternion,
"YXZ");this.object.set({yaw:n.y*q,pitch:-n.x*q});this.object.trigger(k.Fl)};return p}(),d=["mode","yaw","pitch"],f=["camera.yaw","camera.pitch"],n=new l.Euler,q=180/Math.PI;return a});
define("fP","require exports three.mod le py gE fT".split(" "),function(a,e,l,m,k,c,h){a=function(){function f(n,q,p,r,t){this.mg=this.mg.bind(this);this.object=n;this.model=q;this.ic=p;this.Ie=r;this.La=t;this.F=p.P.Mc("SpotLight");this.F.I(h.SpotLight);this.F.I(h.lb).F=this.Ie;this.F.I(h.va).Ge="YXZ";this.Kp=new c;this.Kp.bind(k.ba,this.rl,this,!0);m.da(this.object,g,this.mg,!0)}f.prototype.dispose=function(){m.ca(this.object,g,this.mg);this.F.P.Gd(this.F);this.F=null};f.prototype.mg=function(){var n=
this.F.J(h.SpotLight);n.color=this.object.get("color");n.intensity=this.object.get("intensity");n.distance=this.object.get("distance");n.JS=this.object.get("displayHelper");n.angle=this.object.get("angle");n.penumbra=this.object.get("penumbra");n.decay=this.object.get("decay");n.castShadow=this.object.get("castShadow");n.Ala=this.object.get("shadowMapSize");n.zla=this.object.get("shadowBias");n.Bla=this.object.get("shadowRadius");n=this.object.get("yaw");var q=-this.object.get("pitch"),p=this.F.getComponent(h.va);
if(p.Qd!=q||p.vd!=n||p.positionX!=this.object.get("x")||p.positionY!=this.object.get("y")||p.positionZ!=this.object.get("z"))p=this.F.J(h.va),p.Qd=q,p.vd=n,p.translationX=this.object.get("x"),p.translationY=this.object.get("y"),p.Je=this.object.get("z");this.object.get("rotationDraggable")||this.object.get("positionDraggable")?(n=this.F.J(h.Wg,!0),n.N=this.Kp,n.rotate=this.object.get("rotationDraggable"),n.translate=this.object.get("positionDraggable"),n.scale=!1):this.F.ha(h.Wg)};f.prototype.rl=
function(n){b.setFromQuaternion(n.data.quaternion,"YXZ");this.object.set({x:n.data.position.x,y:n.data.position.y,z:n.data.position.z,yaw:b.y*d,pitch:-b.x*d});this.object.trigger(k.Fl)};return f}();var g="color intensity distance angle penumbra displayHelper decay castShadow shadowMapSize shadowBias shadowRadius x y z pitch yaw rotationDraggable positionDraggable".split(" "),b=new l.Euler,d=180/Math.PI;return a});
define("no","require exports ol mM eE fP".split(" "),function(a,e,l,m,k,c){return function(){function h(){}h.Kha=function(g,b,d,f,n){return l.Ja("AmbientLight",g)?new m(g,b,d,f,n):l.Ja("OrbitLight",g)?new k(g,b,d,f,n):l.Ja("SpotLight",g)?new c(g,b,d,f,n):null};return h}()});
define("nd","require exports w jd ow no".split(" "),function(a,e,l,m,k,c){return function(){function h(g,b,d,f){this.bia=this.Tx=null;this.model=g;this.ic=b;this.Ie=d;this.La=f;this.K3=new k;this.K3.Md=this.aGa.bind(this);this.K3.og=this.bGa.bind(this);this.K3.VG(this.model,"lights");this.q3a()}h.prototype.dispose=function(){this.K3.dispose();this.A9a()};h.prototype.aGa=function(g){return c.Kha(g,this.model,this.ic,this.Ie,this.La)};h.prototype.bGa=function(g,b){b.dispose()};h.prototype.q3a=function(){var g,
b,d,f;l.Sf()&amp;&amp;this.model.get("backgroundPanoramaURL")&amp;&amp;(this.Tx=new m,null===(g=this.Tx)||void 0===g?void 0:g.set("intensity",.001),null===(b=this.Tx)||void 0===b?void 0:b.set("castShadow",!0),null===(d=this.Tx)||void 0===d?void 0:d.set("shadowMapWidth",64),null===(f=this.Tx)||void 0===f?void 0:f.set("shadowTolerance",4),this.bia=this.aGa(this.Tx))};h.prototype.A9a=function(){this.Tx&amp;&amp;(this.bGa(this.Tx,this.bia),this.bia=this.Tx=null)};return h}()});
define("j",["require","exports","le","fT"],function(a,e,l,m){var k=["floorColor","floorHeight","floorOpacity","floorRadius"];return function(){function c(h,g,b){this.model=h;this.object=g;this.ic=b;this.mg=this.mg.bind(this);this.F=b.P.Mc("Floor");this.F.I(m.Wp);this.F.I(m.lb).F=this.ic;l.da(this.object,k,this.mg,!0)}c.prototype.dispose=function(){l.ca(this.object,k,this.mg);this.F.P.Gd(this.F);this.F=null};c.prototype.mg=function(){var h=this.object.get("floorColor"),g=this.object.get("floorOpacity"),
b=this.object.get("floorHeight"),d=this.object.get("floorRadius");if(h&amp;&amp;0&lt;g){var f=this.F.J(m.Wp,!0);f.color=h;f.opacity=g;f.height=b;f.radius=d;f.renderOrder=this.model==this.object?-1:0}else this.F.ha(m.Wp)};return c}()});
define("gf",["require","exports","ol"],function(a,e,l){return function(){function m(){}m.ks=function(k,c){m.N1[k]=c};m.z6a=function(k){for(var c in m.N1)if(l.Ja(c,k))return!0;return!1};m.Kha=function(k,c,h,g,b){for(var d in m.N1)if(l.Ja(d,k))return new m.N1[d](k,c,h,g,b);return null};m.N1={};return m}()});
define("pW",["require","exports","ow","gf"],function(a,e,l,m){return function(){function k(c,h,g,b,d){this.P9a=c;this.model=h;this.ic=g;this.Cja=b;this.renderer=d;this.filter=this.filter.bind(this);this.Md=this.Md.bind(this);this.og=this.og.bind(this);this.nG=new l;this.nG.filter=this.filter;this.nG.Md=this.Md;this.nG.og=this.og;this.nG.VG(this.model,"objects")}k.prototype.filter=function(c){return m.z6a(c)?!0:!1};k.prototype.Md=function(c){return m.Kha(c,this.P9a,this.ic,this.Cja,this.renderer)};
k.prototype.og=function(c,h){h.dispose()};k.prototype.dispose=function(){this.nG.dispose()};return k}()});
define("H",["require","exports","py","ol"],function(a,e,l,m){return function(){function k(c,h){this.qP=c.qP;this.ia=h;this.bk=[];this.qP.bind(l.G("spritesEnabled"),this.qwa,this,!0);this.ia.bind(l.G("objects"),this.EE,this,!0);this.oa()}k.prototype.dispose=function(){this.qP.unbind(l.G("spritesEnabled"),this.qwa,this);this.ia.unbind(l.G("objects"),this.EE,this);this.bk.forEach(function(c){c.ala(!1)});this.bk=[]};k.prototype.qwa=function(){this.oa()};k.prototype.EE=function(){this.oa()};k.prototype.oa=
function(){var c=[];!1===this.qP.get("spritesEnabled")&amp;&amp;c.push("SpriteModel3DObject");var h=this.ia.get("objects");this.bk.forEach(function(g){-1==h.indexOf(g)&amp;&amp;g.ala(!1)});this.bk=h;this.bk.forEach(function(g){var b=c.some(function(d){return m.Ja(d,g)});g.ala(b)})};return k}()});
define("bx",["require","exports","le"],function(a,e,l){var m=["camera","objects","postprocessing"],k=["userInteracting","moving"];return function(){function c(h){this.model=h;this.camera=null;this.vi=[];this.pG=this.pG.bind(this);this.Z3=this.Z3.bind(this);l.da(this.model,m,this.pG,!0)}c.prototype.dispose=function(){this.ZB([])};c.prototype.pG=function(){this.setCamera(this.model.get("camera"));this.ZB([].concat(this.model.get("objects"),this.model.get("postprocessing")))};c.prototype.setCamera=function(h){this.camera!==
h&amp;&amp;(this.camera&amp;&amp;l.ca(this.camera,k,this.Z3),(this.camera=h)&amp;&amp;l.da(this.camera,k,this.Z3,!0))};c.prototype.Z3=function(){this.CM()};c.prototype.ZB=function(h){this.vi!=h&amp;&amp;(h||(h=[]),this.vi&amp;&amp;this.vi.forEach(function(g){-1==h.indexOf(g)&amp;&amp;(g.dC&amp;&amp;g.dC(!1),g.bo&amp;&amp;g.bo(!1))}.bind(this)),this.vi=h,this.CM())};c.prototype.CM=function(){if(this.vi&amp;&amp;this.camera){var h=this.camera.get("userInteracting"),g=this.camera.get("moving");this.vi.forEach(function(b){b.dC&amp;&amp;b.dC(h);b.bo&amp;&amp;b.bo(g)}.bind(this))}};return c}()});
define("dx",["require","exports","le","py","oS"],function(a,e,l,m,k){var c=["objects"];return function(){function h(g){this.model=g;this.vi=[];this.pG=this.pG.bind(this);k.N.bind(m.ba,this.CM,this,!0);l.da(this.model,c,this.pG,!0)}h.prototype.dispose=function(){k.N.unbind(m.ba,this.CM,this);this.ZB([])};h.prototype.pG=function(){this.ZB([].concat(this.model.get("objects")))};h.prototype.ZB=function(g){this.vi!=g&amp;&amp;(g||(g=[]),this.vi&amp;&amp;this.vi.forEach(function(b){-1==g.indexOf(b)&amp;&amp;(b.U4&amp;&amp;b.U4(!0),b.Cy&amp;&amp;
b.Cy(!1))}.bind(this)),this.vi=g,this.CM())};h.prototype.CM=function(){if(this.vi){var g=!k.isPresenting,b=k.isPresenting;this.vi.forEach(function(d){d.U4&amp;&amp;d.U4(g);d.Cy&amp;&amp;d.Cy(b)}.bind(this))}};return h}()});
define("nW","require exports le fT j pW H bx dx".split(" "),function(a,e,l,m,k,c,h,g,b){var d=["variant"];return function(){function f(n,q,p,r){this.object=n;this.model=q;this.XL=p;this.renderer=r;this.r4=this.r4.bind(this);this.F=this.XL.P.Mc("Model");n=this.F.I(m.Wh);this.KF=n.KF=this.XL.P.Mc("ModelContent");this.KF.I(m.lb).F=this.F;n.N=this.object;this.object.get("preload")&amp;&amp;(n.iHa=this.model.b3().ju());n.wp=this.model.Y2().ju();n.Dja=this.object.get("model");n.properties=this.object;n.vc=this.renderer.M;
n=this.F.I(m.Hd);n.N=this.object;n.Qx=!0;n.zy=!0;this.F.I(m.lb).F=this.XL;this.F.I(m.va);l.da(this.object,d,this.r4,!0);this.nG=new c(this.model,this.object,this.F,this.KF,this.renderer);this.mbb=new h(this.renderer,this.object);this.Ecb=new g(this.model);this.Qcb=new b(this.model);this.d5a=new k(this.model,this.object,this.F)}f.prototype.ou=function(){return this.F};f.prototype.dispose=function(){l.ca(this.object,d,this.r4);this.F.P.Gd(this.KF);this.F.P.Gd(this.F);this.nG.dispose();this.mbb.dispose();
this.Ecb.dispose();this.Qcb.dispose();this.d5a.dispose()};f.prototype.r4=function(){var n=this.object.get("variant");n?this.F.J(m.mv,!0).name=n:this.F.ha(m.mv)};return f}()});
define("eg","require exports le py ix fT three.mod".split(" "),function(a,e,l,m,k,c,h){var g=["collidable"],b="canvas canvasTimestamp encoding depthTest hidden opacity".split(" "),d=["image"],f=["color","depthTest","opacity","width"],n=["parentId"],q=["maxWorldToPixelScale","minWorldToPixelScale","scale"],p="x y z normalX normalY normalZ upX upY upZ width height attachToParent".split(" "),r=new h.Matrix4,t=new h.Vector3,u=new h.Vector3,v=new h.Vector3,w=new h.Euler,x=180/Math.PI,y="x y z positionX positionY positionZ rotationX rotationY rotationZ scale translationX translationY translationZ attachToParent".split(" "),
z=["clickEnabled","rollOverEnabled","transparentAreaActive","useHandCursor"],B=["castShadow","receiveShadow"],D=["color","depthTest","hidden","opacity"],I=["video"],A=["hidden","enabled","opacity"];return{sH:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);l.da(this.object,g,this.WFa||(this.WFa=this.d8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,g,this.WFa);J.prototype.Lc.call(this)};
C.prototype.d8a=function(){this.object.get("collidable")?this.F.ha(c.MC):this.F.I(c.MC)};return C}(E)},gf:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.F.I(c.gf);l.da(this.object,b,this.VFa||(this.VFa=this.c8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,b,this.VFa);J.prototype.Lc.call(this)};C.prototype.c8a=function(){var L=this.F.J(c.gf);L.source=this.object.get("canvas");
L.WG=this.object.get("canvasTimestamp");L.opacity=this.object.get("opacity");L.isSprite=!1;L.hidden=this.object.get("hidden");L.depthTest=this.object.get("depthTest");L.colorSpace="srgb"==this.object.get("encoding")?h.SRGBColorSpace:h.LinearSRGBColorSpace};return C}(E)},Al:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.wp=this.model.Y2().ju(.1);this.object.get("preload")&amp;&amp;this.model.b3().NK(this.wp,
.1);var L=this.F.I(c.Al);L.properties=this.object;L.N=this.object;L.isSprite=!1;L.priority=this.object.get("preload")?k.KC:k.bna;L.wp=this.wp;l.da(this.object,d,this.$Fa||(this.$Fa=this.n8a.bind(this)),!0)};C.prototype.Lc=function(){this.model.Y2().fM(this.wp);this.model.b3().fM(this.wp);l.ca(this.object,d,this.$Fa);J.prototype.Lc.call(this)};C.prototype.n8a=function(){this.F.J(c.Al).m3=this.object.get("image")};return C}(E)},th:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,
arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.F.I(c.th);l.da(this.object,f,this.cGa||(this.cGa=this.p8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,f,this.cGa);J.prototype.Lc.call(this)};C.prototype.p8a=function(){var L=this.F.J(c.th);L.color=this.object.get("color");L.opacity=this.object.get("opacity");L.depthTest=this.object.get("depthTest");L.width=this.object.get("width")};return C}(E)},Plane:function(E){return function(J){function C(){return null!==
J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.F.I(c.Plane);this.F.I(c.va);l.da(this.object,p,this.rGa||(this.rGa=this.v8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,p,this.rGa);J.prototype.Lc.call(this)};C.prototype.v8a=function(){t.set(0,0,0);v.set(this.object.get("upX",0),this.object.get("upY",1),this.object.get("upZ",0));u.set(this.object.get("normalX",0),this.object.get("normalY",0),this.object.get("normalZ",1)).multiplyScalar(-1);
r.lookAt(t,u,v);w.setFromRotationMatrix(r);var L=this.F.J(c.va);L.Nx=this.object.get("attachToParent");L.translationX=this.object.get("x",0);L.translationY=this.object.get("y",0);L.Je=this.object.get("z",0);L.sf=this.object.get("width",1);L.Ff=this.object.get("height",1);L.Qd=w.x*x;L.vd=w.y*x;L.He=w.z*x;L.positionX=0;L.positionY=0;L.positionZ=0};return C}(E)},lb:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);
this.F.I(c.lb).F=this.ic;l.da(this.object,n,this.oGa||(this.oGa=this.t8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,n,this.oGa);J.prototype.Lc.call(this)};C.prototype.t8a=function(){this.F.J(c.lb).id=this.object.get("parentId")};return C}(E)},CMa:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);l.da(this.object,q,this.qGa||(this.qGa=this.u8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,
q,this.qGa);J.prototype.Lc.call(this)};C.prototype.u8a=function(){var L=this.object.get("maxWorldToPixelScale"),S=this.object.get("minWorldToPixelScale");if(void 0!==L||void 0!==S){var U=this.F.J(c.Nj,!0);U.BB=L;U.CB=S;U.sf=U.Ff=U.nh=this.object.get("scale")}else null===(U=this.F)||void 0===U?void 0:U.ha(c.Nj)};return C}(E)},Ina:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.F.I(c.va);l.da(this.object,
y,this.vGa||(this.vGa=this.w8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,y,this.vGa);J.prototype.Lc.call(this)};C.prototype.w8a=function(){var L=this.F.J(c.va);L.Nx=this.object.get("attachToParent");L.positionX=this.object.get("x",this.object.get("positionX",0));L.positionY=this.object.get("y",this.object.get("positionY",0));L.positionZ=this.object.get("z",this.object.get("positionZ",0));L.Ge=this.object.get("rotationOrder","XYZ");L.Qd=this.object.get("rotationX",0);L.vd=this.object.get("rotationY",
0);L.He=this.object.get("rotationZ",0);L.scale=this.object.get("scale",1);L.translationX=this.object.get("translationX",0);L.translationY=this.object.get("translationY",0);L.Je=this.object.get("translationZ",0)};return C}(E)},Hd:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);l.da(this.object,z,this.wGa||(this.wGa=this.A8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,z,this.wGa);J.prototype.Lc.call(this)};
C.prototype.A8a=function(){var L=this.object.get("clickEnabled"),S=this.object.get("rollOverEnabled");if(!1!==L&amp;&amp;!1!==S)this.F.ha(c.aq);else{var U=this.F.I(c.aq);U.Zla=!1===L;U.$la=!1===S}!1===L&amp;&amp;!1===S?this.F.ha(c.Hd):(U=this.F.J(c.Hd,!0),U.gH=this.object.get("useHandCursor"),U.AM=this.object.get("transparentAreaActive"),U.N=this.object,U.Qx=!!L,U.zy=!!S)};return C}(E)},IH:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);
l.da(this.object,B,this.yGa||(this.yGa=this.G8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,B,this.yGa);J.prototype.Lc.call(this)};C.prototype.G8a=function(){var L=this.F.J(c.uh,!0);L.castShadow=this.object.get("castShadow");L.receiveShadow=this.object.get("receiveShadow")};return C}(E)},kd:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);this.F.I(c.kd);this.visible=!1;l.da(this.object,
D,this.zGa||(this.zGa=this.H8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,D,this.zGa);this.Ye(!1);J.prototype.Lc.call(this)};C.prototype.H8a=function(){var L=this.F.J(c.kd);L.color=this.object.get("color");L.opacity=this.object.get("hidden")?0:this.object.get("opacity");L.depthTest=this.object.get("depthTest");this.Ye(0&lt;L.opacity)};C.prototype.Ye=function(L){this.visible!=L&amp;&amp;((this.visible=L)?this.object.trigger(m.jd):this.object.trigger(m.cd))};return C}(E)},po:function(E){return function(J){function C(){return null!==
J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=function(){J.prototype.Kc.call(this);var L=this.F.I(c.po);L.properties=this.object;L.N=this.object;l.da(this.object,I,this.AGa||(this.AGa=this.uG.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,I,this.AGa);J.prototype.Lc.call(this)};C.prototype.uG=function(){this.F.J(c.po).kma=this.object.get("video")};return C}(E)},YV:function(E){return function(J){function C(){return null!==J&amp;&amp;J.apply(this,arguments)||this}Z(C,J);C.prototype.Kc=
function(){J.prototype.Kc.call(this);l.da(this.object,A,this.BGa||(this.BGa=this.J8a.bind(this)),!0)};C.prototype.Lc=function(){l.ca(this.object,A,this.BGa);J.prototype.Lc.call(this)};C.prototype.J8a=function(){var L=this.F.J(c.uh,!0);L.opacity=this.object.get("enabled")&amp;&amp;!this.object.get("hidden")?this.object.get("opacity"):0;L.N=this.object};return C}(E)}}});
define("kg","require exports three.mod le py gE nW eg fT".split(" "),function(a,e,l,m,k,c,h,g,b){a=function(q){function p(r,t,u,v){r=q.call(this,r,t,u,v)||this;r.qy=r.qy.bind(r);r.ic=r.F;r.Kp=new c;r.Kp.bind(k.ba,r.rl,r,!0);m.da(r.object,d,r.qy,!0);r.Kc();return r}Z(p,q);p.prototype.Kc=function(){};p.prototype.Lc=function(){};p.prototype.dispose=function(){m.ca(this.object,d,this.qy);this.Kp.unbind(k.ba,this.rl,this);this.Kp=null;this.Lc();q.prototype.dispose.call(this)};p.prototype.rl=function(r){var t=
this.model.get("model");t.set("translationX",r.data.position.x);t.set("translationY",r.data.position.y);t.set("translationZ",r.data.position.z);f.setFromQuaternion(r.data.quaternion,t.get("rotationOrder"));t.set("rotationX",f.x*n);t.set("rotationY",f.y*n);t.set("rotationZ",f.z*n);.001&lt;r.data.scale&amp;&amp;t.set("scale",r.data.scale);this.object.trigger(k.Fl)};p.prototype.qy=function(){if(this.object.get("positionDraggable")||this.object.get("rotationDraggable")||this.object.get("scaleDraggable")){var r=
this.KF.J(b.Wg,!0);r.translate=this.object.get("positionDraggable")||!1;r.rotate=this.object.get("rotationDraggable")||!1;r.scale=this.object.get("scaleDraggable")||!1;r.N=this.Kp}else this.KF.ha(b.Wg)};return p}(h);var d=["positionDraggable","rotationDraggable","scaleDraggable"],f=new l.Euler,n=180/Math.PI;return g.IH(a)});
define("bY",["require","exports","hS"],function(a,e,l){function m(h,g,b){void 0===b&amp;&amp;(b=null);c.style.fontFamily=l.Vx(g.fontFamily);c.style.fontSize=g.fontSize;c.style.fontWeight=g.fontWeight;c.style.fontStyle=g.fontStyle;c.innerHTML=h;document.body.appendChild(c);var d=new k(Math.ceil(c.clientWidth),Math.ceil(c.clientHeight));document.body.removeChild(c);b&amp;&amp;(b.font=g.fontSize+" "+l.Vx(g.fontFamily),h=b.measureText(h).width,0&lt;h&amp;&amp;(d.height*=h/d.width,d.width=h));return d}var k=function(){return function(h,
g){this.width=h;this.height=g}}(),c=document.createElement("div");c.style.display="inline-block";c.style.margin="0";c.style.padding="0";c.style.whiteSpace="nowrap";m.A7=function(){return function(){this.fontFamily="Arial";this.fontSize="12px";this.fontWeight="400";this.fontStyle="normal"}}();return m});
define("jc",["require","exports","bY","hS"],function(a,e,l,m){var k=function(){function h(g,b,d){this.Bg=g;this.item=b;this.label=b.get("label");this.fontFamily=this.Bg.get("fontFamily","Arial");this.fontSize=Math.round(12*d)+"px";this.backgroundColor=this.Bg.get("backgroundColor","#000000");this.LHa=this.Bg.get("rollOverBackgroundColor",this.backgroundColor);this.V9a=this.Bg.get("selectedBackgroundColor",this.LHa);this.ZCa=this.Bg.get("fontColor","#000000");this.MHa=this.Bg.get("rollOverFontColor",
this.ZCa);this.W9a=this.Bg.get("selectedFontColor",this.MHa);this.TJa=this.SJa=this.UJa=this.VJa=this.height=this.width=this.left=this.top=0;this.status=!1;this.$ia=!0}h.prototype.Acb=function(){var g=new l.A7;g.fontFamily=this.fontFamily;g.fontSize=this.fontSize;g=l(this.label,g);this.VJa=g.width;this.UJa=g.height};h.prototype.Dab=function(g){this.status!==g&amp;&amp;(this.status=g,this.$ia=!0)};h.prototype.N4a=function(g){if(this.$ia){this.$ia=!1;switch(this.status){case "over":var b=this.LHa;var d=this.MHa;
break;case "selected":b=this.V9a;d=this.W9a;break;default:b=this.backgroundColor,d=this.ZCa}g.clearRect(this.left,this.top,this.width,this.height);g.fillStyle=b;g.fillRect(this.left,this.top,this.width,this.height);g.fillStyle=d;g.font=this.fontSize+" "+m.Vx(this.fontFamily);g.textBaseline="middle";g.textAlign="center";g.fillText(this.label,Math.round(this.SJa),Math.round(this.TJa));return!0}return!1};return h}(),c=180/Math.PI;return function(){function h(g,b){this.Bg=g;this.items=b.map(this.m4a.bind(this));
this.IL=this.JL=this.Fr=this.Gr=0;this.dj();this.canvas=document.createElement("canvas");this.canvas.width=this.Gr;this.canvas.height=this.Fr;this.context=this.canvas.getContext("2d");this.selectedIndex=this.Gu=-1}h.prototype.m4a=function(g){return new k(this.Bg,g,3)};h.prototype.u6a=function(g){return this.Gr/3*g/300};h.prototype.M5a=function(g){return this.Fr/3*g/300};h.prototype.Ee=function(){return 2*Math.atan2(this.Gr/3*.5,300)*c};h.prototype.Fe=function(){return this.Gr};h.prototype.Ue=function(){return this.Fr};
h.prototype.dg=function(){return this.canvas};h.prototype.dj=function(){var g=0,b=0;this.items.forEach(function(q){q.Acb();g=Math.max(q.VJa,g);b=Math.max(q.UJa,b)}.bind(this));this.JL=g+30;this.IL=b+30;var d=0,f=0,n=0;this.JT=20;20&lt;this.items.length&amp;&amp;(this.JT=Math.ceil(this.items.length/Math.ceil(this.items.length/20)));this.items.forEach(function(q){n&gt;=this.JT&amp;&amp;(n=0,f+=this.JL,d=0);q.left=f;q.top=d;q.SJa=f+.5*this.JL;q.TJa=d+.5*this.IL;q.width=this.JL;q.height=this.IL;n+=1;d+=this.IL}.bind(this));
this.Gr=Math.ceil(this.items.length/this.JT)*this.JL;this.Fr=Math.min(this.JT,this.items.length)*this.IL};h.prototype.update=function(){for(var g=!1,b=0;b&lt;this.items.length;b++)this.items[b].Dab(this.Gu==b?"over":this.selectedIndex==b?"selected":"normal"),g=this.items[b].N4a(this.context)||g;return g};h.prototype.Cia=function(g,b){var d=-1;0&lt;=g&amp;&amp;g&lt;this.Gr&amp;&amp;0&lt;=b&amp;&amp;b&lt;this.Fr&amp;&amp;(d=Math.floor(g/this.JL)*this.JT+Math.floor(b/this.IL),d&gt;=this.items.length&amp;&amp;(d=-1));return d};h.prototype.$B=function(g){this.Gu=
g};h.prototype.Qu=function(g){this.selectedIndex=g};h.prototype.clear=function(){this.items=this.canvas=this.context=this.Bg=null};return h}()});
define("bk","require exports three.mod le py jc gE oS fT pa bL bn".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n){function q(z){return g.isPresenting?-u.setFromQuaternion(g.hH,"YXZ").y*x:z.get("camera").get("yaw")}function p(z){return g.isPresenting?u.setFromQuaternion(g.hH,"YXZ").x*x:z.get("camera").get("pitch")}a=function(){function z(B,D,I){this.model=B;this.ic=D;this.La=I;this.t4=this.t4.bind(this);this.Jm=[];this.PL=[];this.DL=!1;g.N.bind(k.ba,this.ze,this,!0);m.da(this.model,["xrMenu"],this.t4,
!0)}z.prototype.dispose=function(){m.ca(this.model,["xrMenu"],this.t4);g.N.unbind(k.ba,this.ze,this);this.Ca()};z.prototype.ze=function(){this.BKa()};z.prototype.t4=function(){this.BKa()};z.prototype.BKa=function(){var B=g.isPresenting?this.model.get("xrMenu"):null;B!=this.Bg&amp;&amp;(this.Bg&amp;&amp;this.Ca(),(this.Bg=B)&amp;&amp;this.$a())};z.prototype.$a=function(){this.du=this.La.P.Mc("CameraOffsetGroup");this.du.I(b.Group);this.du.I(b.va).easing=0;var B=this.du.I(b.qH);B.La=this.La;B.rotate=!1;this.du.I(b.lb).F=this.ic;
this.Cu=new r(this.model,this.Bg,this.du);this.Cu.bind(k.ma,this.q8a,this,!0);this.Cu.bind(k.Jb,this.r8a,this,!0);this.Cu.bind(k.Dc,this.s8a,this,!0)};z.prototype.q8a=function(){this.zJa();this.fBa(this.Bg,0);this.Cu.Ye(!1)};z.prototype.fBa=function(B,D){for(;this.Jm.length&gt;D;)this.Vha(this.Jm.pop());this.Jm.push(this.n4a(B))};z.prototype.bCa=function(){for(this.Cu.Ye(!0);this.Jm.length;)this.Vha(this.Jm.pop())};z.prototype.n4a=function(B){B=new t(this.model,this.Bg,B,this.du,0&lt;this.Jm.length?this.Jm[this.Jm.length-
1]:this.Cu);if(0&lt;this.Jm.length){var D=this.Jm[this.Jm.length-1];var I=D.Nc();D=D.Oc()+D.Ee()/2+1+B.Ee()/2;B.setPosition(D,I)}else D=q(this.model),I=p(this.model);B.setPosition(D,I);B.zja.get("children",[]).forEach(function(A){A.bind(k.ma,this.gGa,this,!0)},this);B.bind(k.Dc,this.fGa,this,!0);B.bind(k.Jb,this.eGa,this,!0);return B};z.prototype.Vha=function(B){B.zja.get("children",[]).forEach(function(D){D.unbind(k.ma,this.gGa,this)},this);B.unbind(k.Dc,this.fGa,this);B.unbind(k.Jb,this.eGa,this);
this.uka(B);B.dispose()};z.prototype.gGa=function(B){B=B.source;if(B.get("children",[]).length){var D=this.a5a(B);this.fBa(B,D+1)}else this.bCa()};z.prototype.fGa=function(B){this.i3a(B.source)};z.prototype.eGa=function(B){this.uka(B.source)};z.prototype.s8a=function(){this.DM()};z.prototype.r8a=function(){this.DM()};z.prototype.i3a=function(B){this.uka(B);this.PL.push(B);0&lt;this.PL.length&amp;&amp;this.vbb();this.DM()};z.prototype.uka=function(B){this.PL=this.PL.filter(function(D){return D!=B});0==this.PL.length&amp;&amp;
this.zJa();this.DM()};z.prototype.DM=function(){this.yIa(0&lt;this.PL.length||this.Cu.DL())};z.prototype.yIa=function(B){this.DL!==B&amp;&amp;((this.DL=B)?(this.model.get("camera").iIa(!0),this.model.get("camera").HIa(!0),this.Y4&amp;&amp;(clearTimeout(this.Y4),this.Y4=0)):this.Y4=setTimeout(function(){this.Y4=0;this.model.get("camera").iIa(!1);this.model.get("camera").HIa(!1)}.bind(this),100))};z.prototype.zJa=function(){this.d2||(this.d2=setTimeout(this.bCa.bind(this),3E3))};z.prototype.vbb=function(){this.d2&amp;&amp;(clearTimeout(this.d2),
this.d2=0)};z.prototype.a5a=function(B){return this.Jm.findIndex(function(D){return 0&lt;=D.zja.get("children",[]).indexOf(B)?!0:!1})};z.prototype.Ca=function(){this.du&amp;&amp;(this.du.P.Gd(this.du),this.du=null);this.Cu&amp;&amp;(this.Cu.dispose(),this.Cu=null);for(;this.Jm.length;)this.Vha(this.Jm.pop());this.yIa(!1)};return z}();h=function(z){function B(D,I,A,E,J){var C=z.call(this)||this;C.model=D;C.Bg=I;C.O3=A;C.XL=E;C.Du=new c(C.Bg,C.O3);C.Ra=0;C.pitch=0;C.Se=new d("linear",[new f("coef",0,1)],150);C.Gu=-1;
C.selectedIndex=-1;C.wi=!1;J?(C.RU=null===J||void 0===J?void 0:J.Oc(),C.Ela=null===J||void 0===J?void 0:J.Nc()):(C.RU=q(C.model),C.Ela=p(C.model));C.F=C.XL.P.Mc("MenuItems");C.F.I(b.Plane).renderOrder=0;C.F.I(b.lb).F=C.XL;C.F.I(b.va).Ge="YXZ";D=C.F.I(b.gf);D.source=C.Du.dg();D.isSprite=!1;D.hidden=!1;D.depthTest=!1;C.F.I(b.MC);D=C.F.I(b.Hd);D.gH=!0;D.AM=!1;D.N=C;D.Qx=!0;D.zy=!0;C.ZEa=Date.now();C.bind(k.Pb,C.JB,C,!0);C.bind(k.Dc,C.VT,C,!0);C.bind(k.Jb,C.$r,C,!0);C.bind(k.ma,C.jGa,C,!0);g.N.bind(k.nV,
C.HB,C,!0);n.requestFrame(C.Zn,C);C.My();C.fH();C.HB();return C}Z(B,z);B.prototype.dispose=function(){this.unbind(k.Pb,this.JB,this);this.unbind(k.Dc,this.VT,this);this.unbind(k.Jb,this.$r,this);this.unbind(k.ma,this.jGa,this);g.N.unbind(k.nV,this.HB,this);n.RBa(this.Zn,this);this.F.P.Gd(this.F)};B.prototype.Oc=function(){return this.Ra};B.prototype.Nc=function(){return this.pitch};B.prototype.Ee=function(){return this.Du.Ee()};B.prototype.LDa=function(){return this.selectedIndex};B.prototype.DL=
function(){return this.wi};B.prototype.setPosition=function(D,I){this.Ra=D;this.pitch=I;this.cV()};B.prototype.JB=function(D){this.$B(this.oDa(D))};B.prototype.VT=function(){this.wi=!0;this.fH()};B.prototype.$r=function(){this.wi=!1;this.$B(-1);this.fH()};B.prototype.jGa=function(D){D=this.oDa(D);this.Qu(D);this.O3[D].trigger(k.ma)};B.prototype.oDa=function(D){var I=(D.data.localPosition.x+.5)*this.Du.Fe();D=(.5-D.data.localPosition.y)*this.Du.Ue();return this.Du.Cia(I,D)};B.prototype.Zn=function(){g.isPresenting||
this.HB();n.requestFrame(this.Zn,this)};B.prototype.HB=function(){if(this.Se){var D=Date.now();this.Se.Fb(D-this.ZEa);this.ZEa=D;this.Se.We()&amp;&amp;(this.Se=null);this.fH()}this.cV()};B.prototype.setScale=function(D){this.F.getComponent(b.va).scale!=D&amp;&amp;(this.F.J(b.va).scale=D)};B.prototype.Nh=function(D){this.F.getComponent(b.gf).opacity!=D&amp;&amp;(this.F.J(b.gf).opacity=D)};B.prototype.$B=function(D){this.Gu!=D&amp;&amp;(0&lt;=this.Gu&amp;&amp;this.O3[this.Gu].trigger(k.Jb),this.Gu=D,0&lt;=this.Gu&amp;&amp;this.O3[this.Gu].trigger(k.Dc),
this.My())};B.prototype.Qu=function(D){this.selectedIndex!=D&amp;&amp;(this.selectedIndex=D,this.My())};B.prototype.My=function(){this.Du.Qu(this.selectedIndex);this.Du.$B(this.Gu);this.Du.update()&amp;&amp;(this.F.J(b.gf).WG=Date.now())};B.prototype.cV=function(){var D=this.Bg.get("distance")/this.model.get("worldUnitToMeters",1),I=this.F.J(b.va);v.identity();v.multiply(w.makeRotationFromQuaternion(g.cg,"YXZ"));v.multiply(w.makeRotationFromQuaternion(g.hH,"YXZ").invert());var A=this.Ra,E=this.pitch;if(this.Se){var J=
this.Se.eb("coef");for(A-=this.RU;180&lt;A;)A-=360;for(;-180&gt;A;)A+=360;E-=this.Ela;A=this.RU+A*J;E=this.Ela+E*J}v.multiply(w.makeRotationFromEuler(u.set(E*y,-A*y,0,"YXZ"),"YXZ"));u.setFromRotationMatrix(v,I.Ge);I.Qd=u.x*x;I.vd=u.y*x;I.He=u.z*x;I.positionZ=-D;I.sf=this.Du.u6a(D);I.Ff=this.Du.M5a(D)};B.prototype.fH=function(){};return B}(h);var r=function(z){function B(D,I,A){D=z.call(this,D,I,[I],A,null)||this;D.visible=!0;D.F.I(b.va).easing=.01;D.RL=D.RL.bind(D);m.da(D.model,["camera.pitch","camera.yaw"],
D.RL,!0);return D}Z(B,z);B.prototype.dispose=function(){z.prototype.dispose.call(this);m.ca(this.model,["camera.pitch","camera.yaw"],this.RL)};B.prototype.Ye=function(D){this.visible!==D&amp;&amp;(this.visible=D,this.visible||(this.$B(-1),this.Qu(-1)),D=!this.visible,this.F.getComponent(b.gf).hidden!==D&amp;&amp;(this.F.J(b.gf).hidden=D,this.RL()))};B.prototype.RL=function(){this.visible&amp;&amp;(this.setPosition(q(this.model),this.PDa()),this.fH())};B.prototype.HB=function(){this.RL();z.prototype.HB.call(this)};B.prototype.fH=
function(){var D=this.Bg.get("opacity",.5),I=this.Bg.get("rollOverOpacity",D);D=this.wi?I:D;var A=.66,E=this.model.get("camera"),J=p(this.model);E=Math.abs(J-this.PDa())/(.5*E.get("fov"));1&gt;E&amp;&amp;(A+=(1-E)*(1-A),D+=(1-E)*(I-D));D*=this.Se?this.Se.eb("coef"):1;this.Nh(Math.min(1,Math.max(0,D)));this.setScale(A);this.My()};B.prototype.PDa=function(){var D=p(this.model);return Math.min(90,Math.max(-90,40-D))};return B}(h),t=function(z){function B(D,I,A,E,J){D=z.call(this,D,I,A.get("children",[]),E,J)||
this;D.zja=A;return D}Z(B,z);B.prototype.fH=function(){var D=this.Bg.get("opacity",.5),I=this.Bg.get("rollOverOpacity",D);D=this.wi?I:D;D*=this.Se?this.Se.eb("coef"):1;this.Nh(Math.min(1,Math.max(0,D)))};return B}(h),u=new l.Euler,v=new l.Matrix4,w=new l.Matrix4,x=180/Math.PI,y=Math.PI/180;return a});
define("ha",["require","exports","le","py"],function(a,e,l,m){return function(){function k(c,h){this.renderer=c;this.model=h;this.vc=this.renderer.M;this.g4=this.g4.bind(this);this.vi=[];this.Ky="";this.Eu=null;this.$a()}k.prototype.dispose=function(){this.Ca()};k.prototype.$a=function(){l.da(this.model,"objects",this.g4,!0);this.model.bind(m.Dc,this.iGa,this,!0);this.model.bind(m.Jb,this.hGa,this,!0)};k.prototype.Ca=function(){this.model.unbind(m.Dc,this.iGa,this);this.model.unbind(m.Jb,this.hGa,
this);l.ca(this.model,"objects",this.g4);this.ZB([]);this.Eu&amp;&amp;this.$r(this.Eu)};k.prototype.g4=function(){this.ZB(this.model.get("objects"))};k.prototype.ZB=function(c){this.vi!=c&amp;&amp;(this.vi.forEach(function(h){h.unbind(m.Dc,this.nGa,this);h.unbind(m.Jb,this.mGa,this);h.unbind(m.cd,this.lGa,this)}.bind(this)),this.Eu&amp;&amp;0&lt;=this.vi.indexOf(this.Eu)&amp;&amp;0&gt;c.indexOf(this.Eu)&amp;&amp;this.$r(this.Eu),this.vi=c,this.vi.forEach(function(h){h.bind(m.Dc,this.nGa,this,!0);h.bind(m.Jb,this.mGa,this,!0);h.bind(m.cd,this.lGa,
this,!0)}.bind(this)))};k.prototype.nGa=function(c){c=c.source;this.VT(c,c.get("toolTip"))};k.prototype.mGa=function(c){this.$r(c.source)};k.prototype.lGa=function(c){this.$r(c.source)};k.prototype.iGa=function(){this.VT(this.model,this.model.get("toolTip"))};k.prototype.hGa=function(){this.$r(this.model)};k.prototype.$r=function(c){this.Eu==c&amp;&amp;(this.Eu=null,this.XIa(""))};k.prototype.VT=function(c,h){this.Eu!=c&amp;&amp;(this.Eu=c,this.XIa(h||""))};k.prototype.XIa=function(c){this.Ky!=c&amp;&amp;(this.Ky=c,this.vc.set("toolTip",
this.Ky))};return k}()});
define("ms",["require"],function(){function a(e){this.Gc=this.it(e.get("surfaceReticleColor"));this.qx=this.it(e.get("surfaceReticleSelectionColor"));this.Mb=e.get("surfaceReticleOpacity");this.UYa=e.get("surfaceReticleSelectionOpacity");this.Ll=this.Xg=128;this.qXa=.456;this.rXa=.088;this.FUa=.18;this.T=document.createElement("canvas");this.T.width=this.Xg;this.T.height=this.Ll;this.Da=this.T.getContext("2d");this.Da.fillStyle="red";this.Da.imageSmoothingEnabled=!0;this.Da.fillRect(0,0,this.Xg,this.Ll);
this.od=this.Tv=!1;this.eJ=this.$Z=void 0;this.fD=0}a.prototype.$$=function(){return this.Yk(NaN*this.qx[0]+NaN*this.Gc[0],NaN*this.qx[1]+NaN*this.Gc[1])};a.prototype.it=function(e){e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]};a.prototype.Yk=function(e,l){return"rgba("+e.join(",")+", "+l+")"};a.prototype.setPosition=function(e){this.gb!=e&amp;&amp;(this.gb=e,this.Ba=!0)};a.prototype.Fe=function(){return this.Xg};a.prototype.Ue=function(){return this.Ll};
a.prototype.dg=function(){return this.T};a.prototype.update=function(){if(!this.Ba)return!1;this.Ba=!1;this.Da.clearRect(0,0,this.Xg,this.Ll);var e=[this.qx[0]*this.gb+(1-this.gb)*this.Gc[0],this.qx[1]*this.gb+(1-this.gb)*this.Gc[1],this.qx[2]*this.gb+(1-this.gb)*this.Gc[2]],l=this.UYa*this.gb+(1-this.gb)*this.Mb;this.Da.strokeStyle=this.Yk(e,l);this.Da.fillStyle=this.Yk(e,l*this.gb);this.Da.beginPath();this.Da.lineWidth=this.Xg*this.rXa;this.Da.arc(.5*this.Xg,.5*this.Xg,this.Xg*this.qXa,0,2*Math.PI,
!1);this.Da.stroke();this.Da.beginPath();this.Da.arc(.5*this.Xg,.5*this.Xg,this.Xg*this.FUa,0,2*Math.PI,!1);this.Da.fill();return!0};return a});define("hJ",["require","ms"],function(a){return a("ms")});
define("jb","require le py gE hJ w oS fT".split(" "),function(a){function e(n,q,p){this.ia=n;this.nb=q;this.j=p;this.M=this.j.M;this.Nw=this.Nw.bind(this);this.Ww=this.Ww.bind(this);this.od=void 0;this.ia.bind(m.G("surfaceSelectionEnabled"),this.w$,this,!0);this.w$()}var l=a("le"),m=a("py"),k=a("gE"),c=a("hJ"),h=a("w"),g=a("oS"),b=a("fT");e.prototype.w$=function(){var n=this.ia.get("surfaceSelectionEnabled");!!this.m!=n&amp;&amp;(n?this.GD():this.zq())};e.prototype.GD=function(){if(!this.m){this.m=this.nb.P.Mc("PointerReticle");
this.m.I(b.Plane).renderOrder=2;this.m.I(b.yk).F=this.nb;this.m.I(b.aq);this.m.I(b.MC);this.m.I(b.lb).F=this.nb;var n=this.m.I(b.jo);n.N=new k;n.N.bind(m.ba,this.DP,this,!0);l.da(this.ia,d,this.Nw,!0);this.Rt=new c(this.M);this.Rt.setPosition(0);this.Rt.update();n=this.m.I(b.gf);n.source=this.Rt.dg();n.depthTest=!1;l.da(this.ia,f,this.Ww,!0);g.N.bind(m.ba,this.AJ,this,!0);this.ne=null;this.eF(!1)}};e.prototype.zq=function(){this.m&amp;&amp;(this.ne&amp;&amp;(this.ne.trigger(m.Jb),this.ne=null),l.ca(this.ia,f,this.Ww),
this.$Q(null),this.m.getComponent(b.jo).N.unbind(m.ba,this.DP,this,!0),this.nb.P.Gd(this.m),this.Rt=this.m=null,g.N.unbind(m.ba,this.AJ,this),l.ca(this.ia,d,this.Nw))};e.prototype.Nw=function(){var n=this.m.J(b.Nj,!0);n.sf=n.Ff=2;n.scale=this.ia.get("surfaceReticleRadius");n.BB=this.ia.get("surfaceReticleMaxRadius");n.CB=this.ia.get("surfaceReticleMinRadius")};e.prototype.DP=function(n){n=this.ksa(n.data.beacons);var q=this.Rra(n);0==q&amp;&amp;(n=null);this.eZa(n);this.vZa(q)};e.prototype.Ww=function(){this.$Q(this.ia&amp;&amp;
this.ia.get("pointer"))};e.prototype.$Q=function(n){this.fe!==n&amp;&amp;(this.fe&amp;&amp;(this.fe.unbind(m.ma,this.Pw,this,!0),this.fe.unbind(m.Pb,this.Mf,this,!0),this.fe.unbind(m.Jb,this.Wq,this,!0)),this.fe=n)&amp;&amp;(this.fe.bind(m.ma,this.Pw,this,!0),this.fe.bind(m.Pb,this.Mf,this,!0),this.fe.bind(m.Jb,this.Wq,this,!0))};e.prototype.Pw=function(n){var q=null;if(h.qb()&amp;&amp;!g.isPresenting){var p=this.m.getComponent(b.jo);p&amp;&amp;p.XS&amp;&amp;n.data.position&amp;&amp;(n=p.XS((new THREE.Vector3).copy(n.data.position)),n=this.ksa(n),0!=this.Rra(n)&amp;&amp;
(q=this.X$(n)))}else q=this.ne;q&amp;&amp;q.trigger(m.ma)};e.prototype.Mf=function(n){this.eF("other"==n.data.type?!1:!0)};e.prototype.Wq=function(){this.eF(!1)};e.prototype.eF=function(n){this.od!==n&amp;&amp;(this.od=n,this.dl())};e.prototype.AJ=function(){this.dl()};e.prototype.dl=function(){this.m.J(b.gf).opacity=h.qb()&amp;&amp;!g.isPresenting||!this.od?0:1};e.prototype.eZa=function(n){n=this.X$(n);this.ne!=n&amp;&amp;(this.ne&amp;&amp;this.ne.trigger(m.Jb),(this.ne=n)&amp;&amp;this.ne.trigger(m.Dc))};e.prototype.ksa=function(n){if(!n)return null;
for(var q=0;q&lt;n.length;q++)if(this.X$(n[q]))return n[q];return null};e.prototype.Rra=function(n){if(!n)return 0;var q=this.m.getComponent(b.va);return q?Math.max(0,1-n.distance/(this.ia.get("surfaceSelectionCoef")*q.scale*q.sf)):0};e.prototype.X$=function(n){return(n=(n=n&amp;&amp;n.entity)&amp;&amp;n.getComponent(b.UM))&amp;&amp;n.Bbb||null};e.prototype.vZa=function(n){this.Rt.setPosition(n);this.Rt.update()&amp;&amp;(this.m.J(b.gf).WG=(new Date).getTime())};e.prototype.dispose=function(){this.zq();this.ia.unbind(m.G("surfaceSelectionEnabled"),
this.w$,this,!0)};var d=["surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius"],f=["pointer"];return e});
define("lH",["require","le","py","gE","fT"],function(a){function e(g,b,d){this.ia=g;this.nb=b;this.uq=d;this.W=!1;this.BZ=this.BZ.bind(this);l.da(this.ia,h,this.BZ,!0)}var l=a("le"),m=a("py"),k=a("gE"),c=a("fT");e.prototype.BZ=function(){var g=!!this.ia.get("maxNearestObjectsVisible");this.W!=g&amp;&amp;(this.W&amp;&amp;this.zq(),(this.W=g)&amp;&amp;this.GD())};e.prototype.GD=function(){var g=this.uq.I(c.jo);g.N=new k;g.N.bind(m.ba,this.DP,this,!0);this.nb.P.Ta()};e.prototype.zq=function(){this.uq.getComponent(c.jo).N.unbind(m.ba,
this.DP,this,!0);this.uq.ha(c.jo);this.ia.get("objects").forEach(function(g){g.get("hideBasedOnDistance")&amp;&amp;g.bla(!1)})};e.prototype.DP=function(g){var b=0,d=this.ia.get("maxNearestObjectsVisible");g.data.beacons.forEach(function(f){if(f=this.ASa(f))f.get("hideBasedOnDistance")?(f.bla(b&gt;=d),b++):f.bla(!1)}.bind(this))};e.prototype.ASa=function(g){g=(g=g.entity.getComponent(c.UM))&amp;&amp;g.object;g.get&amp;&amp;void 0!==g.get("hideBasedOnDistance")||(g=null);return g};e.prototype.dispose=function(){l.ca(this.ia,
h,this.BZ);this.W&amp;&amp;(this.W=!1,this.zq())};var h=["maxNearestObjectsVisible"];return e});
define("fW","require lS le py gE fT".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("gE"),c=a("fT");a=e.extend(k,function(g,b){k.call(this);this.Kd=g;this.nb=b;this.Nf=this.Nf.bind(this);this.m=null;this.fl=0;this.Tb=!1;this.xQ=[];this.Kd.bind(m.G("areaOpacity"),this.Hva,this);this.Gx()});a.prototype.a5=function(g){this.xQ.forEach(function(b){b.unbind(m.jd,this.ie,this,!0);b.unbind(m.cd,this.ie,this,!0)}.bind(this));this.xQ=g;this.xQ.forEach(function(b){b.bind(m.jd,this.ie,this,!0);
b.bind(m.cd,this.ie,this,!0)}.bind(this));this.Tza();this.ie()};a.prototype.dispose=function(){this.Kd.unbind(m.G("areaOpacity"),this.Hva,this);this.Cx()};a.prototype.ou=function(){return this.m};a.prototype.isVisible=function(){return this.Tb};a.prototype.Hva=function(){this.Gx();this.dl()};a.prototype.Gx=function(){0&lt;this.Kd.get("areaOpacity")?this.WA():this.Cx()};a.prototype.WA=function(){if(!this.m){this.m=this.nb.P.Mc("MeasureArea");var g=new k;g.bind(m.ba,this.sA,this,!0);this.m.I(c.Tm).N=g;
this.m.I(c.kd);this.m.I(c.lb).F=this.nb;l.da(this.Kd,h,this.Nf,!0);this.Tza()}};a.prototype.Cx=function(){this.m&amp;&amp;(this.m.getComponent(c.Tm).N.unbind(m.ba,this.sA,this,!0),l.ca(this.Kd,h,this.Nf),this.m.P.Gd(this.m),this.m=null)};a.prototype.Jt=function(g){this.Tb!=g&amp;&amp;((this.Tb=g)?(this.Yo(1),this.trigger(m.jd)):(this.Yo(0),this.trigger(m.cd)))};a.prototype.ie=function(){this.Jt(this.xQ.every(function(g){return g.isVisible()}))};a.prototype.sA=function(g){this.Kd.set("area",g.data.area)};a.prototype.Nf=
function(){if(this.m){var g=this.m.J(c.kd);g.color=this.Kd.get("areaColor");g.depthTest=this.Kd.get("depthTest");g.doubleSided=!0;this.dl()}};a.prototype.Yo=function(g){this.fl!=g&amp;&amp;(this.fl=g,this.dl())};a.prototype.dl=function(){this.m&amp;&amp;(this.m.J(c.kd).opacity=this.Kd.get("areaOpacity")*Math.max(1E-4,this.fl))};a.prototype.Tza=function(){this.m&amp;&amp;(this.m.J(c.Tm).u=this.xQ.map(function(g){return g.ou()}))};var h=["areaColor","areaOpacity","depthTest"];return a});
define("fG",["require","bY","hS"],function(a){function e(){this.L$=this.it("#ffffff");this.wz=this.it("#000000");this.Ll=this.Xg=0;this.T=document.createElement("canvas");this.Da=this.T.getContext("2d");this.Da.imageSmoothingQuality="high";this.Pt=new m.A7;this.M$=this.KI=void 0;this.i8=this.j8=.5;this.Ar=void 0;this.sK=e.g7;this.Fx=void 0;this.rM(0)}function l(c){return 100&lt;c?c.toFixed(0):10&lt;c?c.toFixed(1):c.toFixed(2)}var m=a("bY"),k=a("hS");e.Qma="imperial area";e.Rma="imperial length";e.Yma="metric area";
e.g7="metric length";e.prototype.dispose=function(){this.T.width=this.T.height=0;this.T=null};e.prototype.w$a=function(c){this.L$!=c&amp;&amp;(this.L$=c,this.Ba=!0)};e.prototype.$9a=function(c){this.wz!=c&amp;&amp;(this.wz=c,this.Ba=!0)};e.prototype.x$a=function(c){this.M$!=c&amp;&amp;(this.M$=c,this.Ba=!0)};e.prototype.y$a=function(c){this.KI!=c&amp;&amp;(this.KI=c,this.Ba=!0)};e.prototype.Lka=function(){.5!=this.Pt.OK&amp;&amp;(this.i8=.5,this.Ba=!0)};e.prototype.Mka=function(c){this.Pt.PK!=c&amp;&amp;(this.j8=c,this.Ba=!0)};e.prototype.rM=function(c){this.Ar!=
c&amp;&amp;(this.Ar=c,this.kga())};e.prototype.Hab=function(c){this.sK!=c&amp;&amp;(this.sK=c,this.kga())};e.prototype.Iab=function(c){this.Fx!=c&amp;&amp;(this.Fx=c,this.kga())};e.prototype.kga=function(){if(void 0===this.Fx)this.Pa=l(this.Ar);else if(this.sK==e.g7){var c=this.Ar*this.Fx;this.Pa=1&lt;=c?l(c)+"m":l(100*c)+"cm"}else this.sK==e.Yma?(c=this.Ar*this.Fx*this.Fx,this.Pa=.1&lt;=c?l(c)+"m\u00b2":l(1E4*c)+"cm\u00b2"):this.sK==e.Rma?(c=this.Ar*this.Fx*1.0936,this.Pa=1760&lt;c?l(c/1760)+"mi":100&lt;=c?l(c)+"yd":1&lt;=3*c?l(3*c)+
"ft":l(36*c)+"in"):this.sK==e.Qma&amp;&amp;(c=this.Ar*this.Fx*this.Fx*10.76364864,this.Pa=1&lt;=c?l(c)+"ft\u00b2":l(144*c)+"in\u00b2");this.Ba=!0};e.prototype.it=function(c){c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(c);return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)]};e.prototype.Yk=function(c,h){return"rgba("+c.join(",")+", "+h+")"};e.prototype.Fe=function(){return this.Xg};e.prototype.Ue=function(){return this.Ll};e.prototype.dg=function(){return this.T};e.prototype.update=function(){if(!this.Ba)return!1;
this.Ba=!1;this.Pt.fontFamily=this.M$||"Arial";this.Pt.fontSize=this.KI?"string"==typeof this.KI?this.KI:this.KI+"px":"30px";var c=m(this.Pa,this.Pt),h=this.it(this.L$),g=this.it(this.wz),b=c.width;c=c.height;var d=.5*c,f=.3*c,n=d+b+.5*c,q=f+c+.2*c,p=.5*q;this.T.width=this.T.height=this.Xg=this.Ll=Math.max(128,Math.pow(2,Math.ceil(Math.log(Math.max(n,q))/Math.LN2)));var r=this.Xg*this.i8-n*this.i8,t=this.Ll*this.j8-q*this.j8;this.lI();this.Da.save();this.Da.translate(r,t);this.Da.fillStyle=this.Yk(g,
1);this.Da.beginPath();this.Da.moveTo(0,p);this.Da.quadraticCurveTo(0,0,p,0);this.Da.lineTo(n-p,0);this.Da.quadraticCurveTo(n,0,n,p);this.Da.quadraticCurveTo(n,q,n-p,q);this.Da.lineTo(p,q);this.Da.quadraticCurveTo(0,q,0,q-p);this.Da.closePath();this.Da.fill();this.Da.fillStyle=this.Yk(h,1);this.Da.font=this.Pt.fontSize+" '"+this.Pt.fontFamily+"'";this.Da.font=this.Pt.fontSize+(isNaN(this.Pt.fontSize)?"":"px")+" "+k.Vx(this.Pt.fontFamily);this.Da.textBaseline="middle";this.Da.textAlign="center";this.Da.fillText(this.Pa,
Math.round(d+.5*b),Math.round(f+.5*c));this.Da.restore();return!0};e.prototype.lI=function(){this.Da.clearRect(0,0,this.Xg,this.Ll)};return e});
define("fQ","require lS le py gE fT fG eG".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("gE"),c=a("fT"),h=a("fG"),g=a("eG");a=e.extend(k,function(d,f,n){k.call(this);this.lca=d;this.Kd=f;this.nb=n;this.Nf=this.Nf.bind(this);this.$o=this.m=null;this.fl=0;this.Tb=!1;this.O0=this.xh=this.IA=this.mA=null;this.Ar=void 0;this.gi=new h;this.lca.bind(m.G("worldUnitToMeters"),this.bda,this,!0);this.Kd.bind(m.G("units"),this.Pca,this,!0);this.WA()});a.prototype.CIa=function(d){this.n0(d,null,
null)};a.prototype.oab=function(d){this.n0(null,d,null)};a.prototype.Z9a=function(d){this.n0(null,null,d)};a.prototype.n0=function(d,f,n){if(this.IA!=f||this.mA!=d||this.xh!=n)[this.mA,this.IA,this.xh].forEach(function(q){q&amp;&amp;q.unbind(m.jd,this.ie,this,!0);q&amp;&amp;q.unbind(m.cd,this.ie,this,!0)}.bind(this)),this.Cx(),this.mA=d,this.IA=f,this.xh=n,this.WA(),this.Nf(),this.wg(!0),[this.mA,this.IA,this.xh].forEach(function(q){q&amp;&amp;q.bind(m.jd,this.ie,this,!0);q&amp;&amp;q.bind(m.cd,this.ie,this,!0)}.bind(this)),this.mA?
(this.m.J(c.lb).F=this.mA.ou(),this.m.J(c.va).Je=.5,d=this.m.J(c.Sprite),d.OK=.5,d.PK=.5,this.gi.Lka(),this.gi.Mka(.5)):this.IA?(this.m.J(c.lb).F=this.IA.ou(),this.m.J(c.va).Je=0,d=this.m.J(c.Sprite),d.OK=.5,d.PK=1.1,this.gi.Lka(),this.gi.Mka(1)):this.xh?(this.m.J(c.lb).F=this.xh.ou(),this.m.J(c.va).Je=0,d=this.m.J(c.Sprite),d.OK=.5,d.PK=.5,this.gi.Lka(),this.gi.Mka(.5)):this.m.J(c.lb).F=null,this.ie(),this.Pca(),this.bda()};a.LMa="partialDistance";a.Rna="distance";a.KMa="area";a.prototype.setStyle=
function(d){this.O0!=d&amp;&amp;(this.O0=d,this.Nf())};a.prototype.rM=function(d){void 0!==d&amp;&amp;this.Ar!==d&amp;&amp;(this.Ar=d,this.gi.rM(d),this.wg(),this.ie())};a.prototype.dispose=function(){this.lca.unbind(m.G("worldUnitToMeters"),this.bda,this,!0);this.Kd.unbind(m.G("units"),this.Pca,this,!0);this.n0(null,null);this.gi.dispose();this.gi=null;this.Cx()};a.prototype.bda=function(){this.gi.Iab(this.lca.get("worldUnitToMeters"));this.wg()};a.prototype.Pca=function(){var d=this.Kd.get("units"),f=!!this.xh;this.gi.Hab("imperial"==
d?f?h.Qma:h.Rma:f?h.Yma:h.g7);this.wg()};a.prototype.WA=function(){if(!this.m){this.m=this.nb.P.Mc("MeasureLabel");this.m.I(c.Sprite).renderOrder=2;this.m.I(c.aq);var d=this.m.I(c.gf);d.source=this.gi.dg();d.isSprite=!0;l.da(this.Kd,b,this.Nf,!0);this.m.I(c.va);this.m.I(c.lb)}};a.prototype.Cx=function(){this.m&amp;&amp;(l.ca(this.Kd,b,this.Nf),this.m.P.Gd(this.m),this.m=null)};a.prototype.isVisible=function(){return this.Tb};a.prototype.Jt=function(d){this.Tb!=d&amp;&amp;((this.Tb=d)?(this.q_a(),this.trigger(m.jd)):
(this.o0a(),this.Yo(0),this.trigger(m.cd)))};a.prototype.ie=function(){this.Jt(0&lt;this.Ar&amp;&amp;(this.mA&amp;&amp;this.mA.isVisible()||this.IA&amp;&amp;this.IA.isVisible()||this.xh&amp;&amp;this.xh.isVisible()))};a.prototype.q_a=function(){this.$o||(this.$o=new g,this.$o.set("duration",300),this.$o.bind(g.t6,this.pwa,this,!0),this.$o.bind(g.vk,this.owa,this,!0),this.$o.play())};a.prototype.o0a=function(){this.$o&amp;&amp;(this.$o.unbind(g.t6,this.pwa,this,!0),this.$o.unbind(g.vk,this.owa,this,!0),this.$o.stop(),this.$o=null)};a.prototype.pwa=
function(){this.Yo(2*this.$o.ll()-1)};a.prototype.owa=function(){this.Yo(1)};a.prototype.Nf=function(){this.m.J(c.gf).depthTest=this.SI("depthTest");this.gi.w$a(this.SI("labelFontColor"));this.gi.$9a(this.SI("labelBackgroundColor"));this.gi.x$a(this.SI("labelFontFamily"));this.gi.y$a(this.SI("labelFontSize"));this.dl();this.wg()};a.prototype.SI=function(d){var f;this.O0&amp;&amp;(f=this.Kd.get(this.O0+d[0].toUpperCase()+d.substr(1)));void 0===f&amp;&amp;(f=this.Kd.get(d));return f};a.prototype.wg=function(d){if(this.gi.update()||
d){d=this.m.J(c.gf);var f=this.m.J(c.Sprite);d.WG=(new Date).getTime();f.width=this.gi.Fe();f.height=this.gi.Ue()}};a.prototype.Yo=function(d){this.fl!=d&amp;&amp;(this.fl=d,this.dl())};a.prototype.dl=function(){this.m.J(c.gf).opacity=this.SI("labelOpacity")*Math.max(1E-4,this.fl)};var b="depthTest areaLabelBackgroundColor areaLabelFontColor areaLabelFontFamily areaLabelOpacity areaLabelFontSize distanceLabelBackgroundColor distanceLabelFontColor distanceLabelFontFamily distanceLabelOpacity distanceLabelFontSize labelBackgroundColor labelFontColor labelFontFamily labelOpacity labelFontSize partialDistanceLabelBackgroundColor partialDistanceLabelFontColor partialDistanceLabelFontFamily partialDistanceLabelOpacity partialDistanceLabelFontSize".split(" ");
return a});
define("dT","require lS le py gE fT".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("gE"),c=a("fT");a=e.extend(k,function(g,b){k.call(this);this.Kd=g;this.nb=b;this.sm=this.qm=null;this.Nf=this.Nf.bind(this);this.m=null;this.fl=0;this.Tb=!1;this.WA()});a.prototype.a5=function(g,b){if(this.qm!=g||this.sm!=b)this.qm&amp;&amp;this.qm.unbind(m.jd,this.ie,this,!0),this.qm&amp;&amp;this.qm.unbind(m.cd,this.ie,this,!0),this.sm&amp;&amp;this.sm.unbind(m.jd,this.ie,this,!0),this.sm&amp;&amp;this.sm.unbind(m.cd,this.ie,this,
!0),this.qm=g,this.sm=b,this.qm&amp;&amp;this.qm.bind(m.jd,this.ie,this,!0),this.qm&amp;&amp;this.qm.bind(m.cd,this.ie,this,!0),this.sm&amp;&amp;this.sm.bind(m.jd,this.ie,this,!0),this.sm&amp;&amp;this.sm.bind(m.cd,this.ie,this,!0),this.m.J(c.lb,!0).F=this.qm&amp;&amp;this.qm.ou(),this.m.J(c.Es,!0).F=this.sm&amp;&amp;this.sm.ou(),this.ie()};a.prototype.ou=function(){return this.m};a.prototype.dispose=function(){this.a5(null,null);this.Cx()};a.prototype.WA=function(){this.m||(this.m=this.nb.P.Mc("MeasureLine"),this.m.I(c.Line),this.m.I(c.th),this.m.I(c.va),
l.da(this.Kd,h,this.Nf,!0))};a.prototype.Cx=function(){this.m&amp;&amp;(l.ca(this.Kd,h,this.Nf),this.m.P.Gd(this.m),this.m=null)};a.prototype.isVisible=function(){return this.Tb};a.prototype.Jt=function(g){this.Tb!=g&amp;&amp;((this.Tb=g)?(this.Yo(1),this.trigger(m.jd)):(this.Yo(0),this.trigger(m.cd)))};a.prototype.ie=function(){this.Jt(this.qm&amp;&amp;this.qm.isVisible()&amp;&amp;this.sm&amp;&amp;this.sm.isVisible())};a.prototype.Nf=function(){var g=this.m.J(c.th);g.color=this.Kd.get("lineColor");g.depthTest=this.Kd.get("depthTest");
g.width=this.Kd.get("lineWidth");g.depthTest=this.Kd.get("depthTest");this.dl()};a.prototype.Yo=function(g){this.fl!=g&amp;&amp;(this.fl=g,this.dl())};a.prototype.dl=function(){this.m.J(c.th).opacity=this.Kd.get("lineOpacity")*Math.max(1E-4,this.fl)};var h=["depthTest","lineColor","lineOpacity","lineWidth"];return a});
define("oV","require lS le py gE fT".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("gE"),c=a("fT");a=e.extend(k,function(d,f,n,q){k.call(this);this.Kd=d;this.ia=f;this.nb=n;this.gr=q;this.IZ=this.IZ.bind(this);this.Nf=this.Nf.bind(this);this.En=this.En.bind(this);this.m=null;this.Ei=this.PQ=this.od=this.vz=!1;this.fl=0;this.Tb=!1;this.WA();l.da(this.Kd,h,this.IZ,!0);l.da(this.Kd,b,this.Nf,!0);l.bu(this.gr,g,this.En,!0);this.bind(m.Fl,this.Wva,this,!0);this.bind(m.Dc,this.NZ,this,!0);
this.bind(m.Jb,this.Wq,this,!0);this.En();this.i3()&amp;&amp;this.Jt(!0)});a.prototype.dispose=function(){l.ca(this.Kd,h,this.IZ);l.ca(this.Kd,b,this.Nf);l.ca(this.gr,g,this.En);this.unbind(m.Fl,this.Wva,this,!0);this.unbind(m.Dc,this.NZ,this,!0);this.unbind(m.Jb,this.Wq,this,!0);this.Cx()};a.prototype.ou=function(){return this.m};a.prototype.cIa=function(d){this.vz!==d&amp;&amp;((this.vz=d)?(d=this.m.I(c.yk),d.F=this.nb,d.rotate=!1,d.N=new k,this.Jt(!0),d.N.bind(m.Dc,this.qJ,this,!0)):((d=this.m.getComponent(c.yk))&amp;&amp;
d.N.unbind(m.Dc,this.qJ,this,!0),this.m.ha(c.yk),d=this.ia.worldPositionToLocal([this.x,this.y,this.z],this.ia.getMatrixWorld()),this.kIa(d[0],d[1],d[2])),this.dB(),this.vga())};a.prototype.pIa=function(d){void 0===d&amp;&amp;(d=!1);this.Ei!==d&amp;&amp;((this.Ei=d)?this.m.I(c.Um):this.m.ha(c.Um))};a.prototype.vab=function(d){this.PQ!==d&amp;&amp;(this.PQ=d,this.vga(),this.od=!1,this.dB())};a.prototype.kIa=function(d,f,n){this.gr.set("x",d);this.gr.set("y",f);this.gr.set("z",n);this.Jt(this.i3())};a.prototype.WA=function(){this.m=
this.nb.P.Mc("MeasurePoint");this.m.I(c.Sphere);this.m.I(c.kd);this.m.I(c.Hd).N=this;this.m.I(c.aq);this.m.I(c.va).N=this;this.m.I(c.Nj);this.m.I(c.lb).F=this.nb;this.vga();this.dl();this.dB()};a.prototype.Cx=function(){this.m.P.Gd(this.m);this.m=null};a.prototype.isVisible=function(){return this.Tb};a.prototype.Jt=function(d){this.Tb!=d&amp;&amp;((this.Tb=d)?(this.Yo(1),this.trigger(m.jd)):(this.Yo(0),this.trigger(m.cd)))};a.prototype.vga=function(){var d=this.m.J(c.Hd);d.gH=this.PQ;d.zy=this.PQ;d.Qx=!this.vz;
d=this.m.J(c.aq,!0);d.$la=!this.PQ||this.vz;d.Zla=this.vz};a.prototype.qJ=function(){this.Jt(!0)};a.prototype.NZ=function(){this.od=!0;this.dB()};a.prototype.Wq=function(){this.od=!1;this.dB()};a.prototype.IZ=function(){this.m.J(c.lb).id=this.Kd.get("parentId")};a.prototype.Nf=function(){if(this.m){var d=this.m.J(c.Nj);d.sf=d.Ff=d.nh=1;d.BB=this.Kd.get("pointMaxRadius");d.CB=this.Kd.get("pointMinRadius");d.scale=this.Kd.get("pointRadius")||1;this.m.J(c.kd).depthTest=this.Kd.get("depthTest");this.dB()}};
a.prototype.dB=function(){if(this.m){var d=this.vz?"pointDragColor":this.od?"pointOverColor":"pointColor";this.m.J(c.kd).color=this.Kd.get(d)}};a.prototype.Yo=function(d){this.fl!=d&amp;&amp;(this.fl=d,this.dl())};a.prototype.dl=function(){this.m.J(c.kd).opacity=Math.max(1E-4,this.fl)};a.prototype.Wva=function(d){this.x=d.data.position.x;this.y=d.data.position.y;this.z=d.data.position.z};a.prototype.En=function(){if(this.i3()&amp;&amp;this.m){var d=this.m.J(c.va,!0);d.positionX=d.positionY=d.positionZ=0;d.Qd=d.vd=
d.He=0;d.translationX=this.gr.get("x");d.translationY=this.gr.get("y");d.Je=this.gr.get("z")}};a.prototype.i3=function(){var d=this.gr.get("x"),f=this.gr.get("y"),n=this.gr.get("z");return void 0!==d&amp;&amp;void 0!==f||void 0!==n};a.prototype.distanceTo=function(d){var f=this.x-d.x,n=this.y-d.y;d=this.z-d.z;return Math.sqrt(f*f+n*n+d*d)};var h=["parentId"],g=["x","y","z"],b="depthTest mode pointDragColor pointColor pointOverColor pointMaxRadius pointMinRadius pointRadius".split(" ");return a});
define("eH","require le py bs fW fQ dT oV w".split(" "),function(a){function e(u,v,w,x,y){this.K=u;this.ia=v;this.nb=w;this.j=y;this.M=this.j.M;this.Sq=this.Sq.bind(this);this.LZ=this.LZ.bind(this);this.AZ=this.AZ.bind(this);this.UZ=this.UZ.bind(this);this.tJ=this.tJ.bind(this);this.sA=this.sA.bind(this);this.Ww=this.Ww.bind(this);this.Ko=this.Ko.bind(this);this.fe=null;this.Ti=new Map;this.wQ=new Map;this.Lq=[];this.nE=[];this.HJ=new Map;this.Eh=[];this.Qi=null;this.f1();this.pf=this.ed=void 0;this.W=
!1;l.da(this.K,["enabled"],this.Sq,!0)}var l=a("le"),m=a("py"),k=a("bs"),c=a("fW"),h=a("fQ"),g=a("dT"),b=a("oV"),d=a("w");e.prototype.dispose=function(){this.zq();l.ca(this.K,["enabled"],this.Sq);this.Qi=this.Eh=this.nE=this.Lq=this.wQ=this.Ti=null;this.f1();this.pf=this.ed=null};e.prototype.Sq=function(){this.K.get("enabled")?this.GD():this.zq()};e.prototype.GD=function(){this.W||(this.W=!0,this.fQa(),this.Cqa(this.K),document.addEventListener("keyup",this.Ko),l.da(this.K,f,this.LZ,!0),l.da(this.K,
q,this.UZ,!0),l.da(this.K,n,this.AZ,!0),l.da(this.K,p,this.tJ,!0),l.da(this.K,r,this.sA,!0),l.da(this.ia,t,this.Ww,!0))};e.prototype.zq=function(){this.W&amp;&amp;(this.W=!1,this.yya([]),this.Yqa(this.K),this.mRa(),document.removeEventListener("keyup",this.Ko),l.ca(this.K,f,this.LZ),l.ca(this.K,q,this.UZ),l.ca(this.K,n,this.AZ),l.ca(this.K,p,this.tJ),l.ca(this.K,r,this.sA),l.ca(this.ia,t,this.Ww),this.$Q(null))};e.prototype.Ww=function(){this.$Q(this.ia&amp;&amp;this.ia.get("pointer"))};e.prototype.$Q=function(u){this.fe!==
u&amp;&amp;(this.fe&amp;&amp;(this.fe.unbind(m.ma,this.zva,this,!0),this.fe.unbind(m.Dl,this.Ava,this,!0)),this.fe=u)&amp;&amp;(this.fe.bind(m.ma,this.zva,this,!0),this.fe.bind(m.Dl,this.Ava,this,!0))};e.prototype.LZ=function(){this.yya(this.K.get("points"))};e.prototype.AZ=function(){var u=this.K.get("mode");if(u!=this.ed){switch(this.ed){case "create":1&gt;this.Eh.length||this.Qi&amp;&amp;2&gt;this.Eh.length?u="create":this.vYa(this.Qi);break;case "edit":"create"==u?"single"===this.K.get("type")&amp;&amp;0&lt;this.Eh.length?u="edit":this.kW():
this.tx(null);break;case "view":"create"===u&amp;&amp;("single"===this.K.get("type")&amp;&amp;0&lt;this.Eh.length?u="view":this.kW());break;default:"create"==u&amp;&amp;("single"===this.K.get("type")&amp;&amp;0&lt;this.Eh.length&amp;&amp;this.Eaa(this.rw(-1))?u="edit":this.tx(this.rw(-1),!1))}this.ed=u;this.K.set("mode",this.ed);this.tAa()}};e.prototype.UZ=function(){var u=this.K.get("type");u!==this.pf&amp;&amp;(this.pf=u,"single"===this.pf&amp;&amp;1&lt;this.Eh.length&amp;&amp;this.K.set("points",this.Tdb.slice(0,1)))};e.prototype.tJ=function(){this.iAa();this.e1()};
e.prototype.sA=function(){var u=this.maa(this.xh);u&amp;&amp;u.rM(this.K.get("area"))};e.prototype.Ko=function(u){u.which==k.zV&amp;&amp;this.M.get("isKeyboardTarget")&amp;&amp;("create"==this.K.get("mode")?this.K.set("mode","edit"):"edit"==this.ed&amp;&amp;this.tx(null))};e.prototype.kW=function(){this.SNa();this.tx(this.rw(-1),!1)};e.prototype.RO=function(){return d.qb()&amp;&amp;!d.Sf()};e.prototype.SNa=function(){var u=this.M.get("application").Bm("MeasureModel3DObjectPoint");if(!this.RO()){var v=this.rw(-1);v&amp;&amp;this.Eaa(v)&amp;&amp;(u.set("x",
v.get("x")),u.set("y",v.get("y")),u.set("z",v.get("z")))}this.K.set("points",this.Eh.concat([u]))};e.prototype.rw=function(u){var v=[this.K].concat(this.Eh);return 0&gt;u&amp;&amp;0&lt;v.length-u?v[v.length+u]:0&lt;=u&amp;&amp;u&lt;v.length?v[u]:null};e.prototype.vYa=function(u){this.K.set("points",this.Eh.filter(function(v){return v!=u}))};e.prototype.Eaa=function(u){return!!u&amp;&amp;this.Ti.get(u).i3()};e.prototype.zva=function(u){if("other"!=u.data.type)if("create"==this.K.get("mode")){if(this.Qi){var v=this.Qi;this.tx(null);this.lOa(v,
u)}"single"==this.pf&amp;&amp;0&lt;this.Eh.length?this.K.set("mode","edit"):this.kW()}else"edit"==this.K.get("mode")&amp;&amp;this.tx(null)};e.prototype.Ava=function(){"create"==this.K.get("mode")&amp;&amp;this.RO()&amp;&amp;this.K.set("mode","edit")};e.prototype.Sva=function(){"create"==this.K.get("mode")&amp;&amp;this.K.set("mode","edit")};e.prototype.Rva=function(u){if("create"==this.K.get("mode")){var v=this.rw(-2);u=this.wQ.get(u.source);v==u?this.K.set("mode","edit"):(v=this.Qi,this.tx(null),v.set("x",u.get("x")),v.set("y",u.get("y")),
v.set("z",u.get("z")),v=this.rw(0),u==v?this.K.set("mode","edit"):this.kW())}};e.prototype.Tva=function(u){"edit"==this.K.get("mode")&amp;&amp;this.tx(this.wQ.get(u.source),!0)};e.prototype.Uva=function(){"edit"==this.K.get("mode")&amp;&amp;this.tx(null)};e.prototype.Vva=function(){this.e1()};e.prototype.e1=function(){for(var u=[],v=this.rw(0),w=this.xaa(),x=0;x&lt;w.length;x++){var y=w[x];v=this.Ti.get(v);var z=this.Ti.get(y);z=v.distanceTo(z);(v=this.maa(this.Lq[x]))&amp;&amp;v.rM(z);u.push(z);v=y}u=u.reduce(function(B,D){return B+
D},0);(v=this.maa(this.Ti.get(w[w.length-1])))&amp;&amp;v.rM(u);this.K.set("distance",isNaN(u)?void 0:u)};e.prototype.lOa=function(u,v){if(v=v&amp;&amp;v.data.position)v=this.ia.worldPositionToLocal(v,this.ia.getMatrixWorld()),this.Ti.get(u).kIa(v.x,v.y,v.z)};e.prototype.tx=function(u,v){v||(v=!1);if(this.Qi!==u){if(this.Qi){var w=this.Ti.get(this.Qi);w.pIa(!1);w.cIa(!1)}if(this.Qi=u)w=this.Ti.get(this.Qi),w.pIa(v),w.cIa(v||!this.RO());this.jAa();this.tAa();this.f1()}};e.prototype.yya=function(u){this.Eh!=u&amp;&amp;(this.Eh.forEach(function(v){-1==
u.indexOf(v)&amp;&amp;this.Yqa(v)}.bind(this)),this.Eh=u,this.Qi&amp;&amp;this.Eh.indexOf(this.Qi)&amp;&amp;(this.Qi=null),this.f1(),this.Eh.forEach(function(v){this.Cqa(v)}.bind(this)),this.jAa(),this.iAa(),this.l1a(),this.e1())};e.prototype.xaa=function(){return this.Eh.filter(function(u){return this.Eaa(u)||this.Ti.get(u).vz}.bind(this))};e.prototype.jAa=function(){for(;this.Eh.length&lt;this.Lq.length;)this.pRa();for(;this.Eh.length&gt;this.Lq.length;)this.LQa();for(var u=!0,v=0;v&lt;this.Eh.length;v++){var w=this.rw(v),x=this.rw(v+
1);w==this.Qi&amp;&amp;(u=!1);var y=u?x:w;this.Lq[v].a5(this.Ti.get(u?w:x),this.Ti.get(y))}};e.prototype.iAa=function(){this.g1a();var u=this.xaa(),v=1==u.length;this.K.get("displayPartialDistanceLabel")&amp;&amp;!v&amp;&amp;this.Lq.forEach(function(w){var x=this.MY(w);x.CIa(w);x.setStyle(h.LMa)}.bind(this));this.K.get("displayDistanceLabel")&amp;&amp;(v?(u=this.MY(this.Lq[0]),u.CIa(this.Lq[0]),u.setStyle(h.Rna)):1&lt;u.length&amp;&amp;(v=this.Ti.get(u[u.length-1]),u=this.MY(v),u.oab(v),u.setStyle(h.Rna)));this.K.get("displayAreaLabel")&amp;&amp;
this.xh&amp;&amp;(u=this.MY(this.xh),u.Z9a(this.xh),u.setStyle(h.KMa));this.rRa();this.e1();this.sA()};e.prototype.tAa=function(){var u=!this.Qi&amp;&amp;"view"!=this.ed;this.Ti.forEach(function(v){v.vab(u)})};e.prototype.l1a=function(){this.xh&amp;&amp;this.xh.a5([this.K].concat(this.xaa()).map(function(u){return this.Ti.get(u)}.bind(this)))};e.prototype.Cqa=function(u){var v=this.Ti.get(u);v||(v=new b(this.K,this.ia,this.nb,u),this.Ti.set(u,v),this.wQ.set(v,u),v.bind(m.Dl,this.Sva,this,!0),v.bind(m.ma,this.Rva,this,!0),
v.bind(m.hb,this.Tva,this,!0),v.bind(m.Eb,this.Uva,this,!0),v.bind(m.Fl,this.Vva,this,!1))};e.prototype.Yqa=function(u){var v=this.Ti.get(u);v&amp;&amp;(v.unbind(m.Fl,this.Vva,this,!1),v.unbind(m.Dl,this.Sva,this,!0),v.unbind(m.ma,this.Rva,this,!0),v.unbind(m.hb,this.Tva,this,!0),v.unbind(m.Eb,this.Uva,this,!0),v.dispose(),this.Ti["delete"](u),this.wQ["delete"](v))};e.prototype.LQa=function(){var u=new g(this.K,this.nb);this.Lq.push(u)};e.prototype.pRa=function(){0!=this.Lq.length&amp;&amp;this.Lq.pop().dispose()};
e.prototype.KQa=function(){var u=new h(this.ia,this.K,this.nb);this.nE.push(u);return u};e.prototype.g1a=function(){this.HJ.clear()};e.prototype.MY=function(u){var v=this.nE.length&gt;this.HJ.size?this.nE[this.HJ.size]:this.KQa();this.HJ.set(u,v);return v};e.prototype.maa=function(u){return this.HJ.get(u)};e.prototype.rRa=function(){for(;this.nE.length&gt;this.HJ.size;)this.oRa()};e.prototype.oRa=function(){0!=this.nE.length&amp;&amp;this.nE.pop().dispose()};e.prototype.fQa=function(){this.xh||(this.xh=new c(this.K,
this.nb))};e.prototype.mRa=function(){this.xh&amp;&amp;(this.xh.dispose(),this.xh=null)};e.prototype.f1=function(){this.K.set("draggingPoint",!!this.Qi)};var f=["points"],n=["mode"],q=["type"],p=["displayAreaLabel","displayDistanceLabel","displayPartialDistanceLabel"],r=["area"],t=["pointer"];return e});
define("eA",["require","exports","le","eg"],function(a,e,l,m){a=function(){function k(c,h,g,b,d){this.object=c;this.model=h;this.ic=g;this.renderer=d;this.le=this.le.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}k.prototype.Kc=function(){};k.prototype.Lc=function(){};k.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],this.le)};k.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
(this.enabled=!0,this.F=this.ic.P.Mc("CanvasPlane"),this.Kc())};k.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),this.F.P.Gd(this.F),this.F=null)};return k}();a=m.Hd(a);a=m.sH(a);a=m.gf(a);a=m.YV(a);a=m.IH(a);a=m.lb(a);return a=m.Plane(a)});
define("eY","require exports three.mod le py gE fT nW eg".split(" "),function(a,e,l,m,k,c,h,g,b){a=function(q){function p(r,t,u,v,w){r=q.call(this,r,t,u,w)||this;r.qy=r.qy.bind(r);r.ic=u;r.Kp=new c;r.Kp.bind(k.ba,r.rl,r,!0);r.F.I(h.Wy);r.F.I(h.UM).object=r.object;m.da(r.object,d,r.qy,!0);r.Kc();return r}Z(p,q);p.prototype.Kc=function(){};p.prototype.Lc=function(){};p.prototype.dispose=function(){m.ca(this.object,d,this.qy);this.Kp.unbind(k.ba,this.rl,this);this.Kp=null;this.Lc();q.prototype.dispose.call(this)};
p.prototype.rl=function(r){f.setFromQuaternion(r.data.quaternion,this.object.get("rotationOrder"));this.object.set({x:0,y:0,z:0,translationX:r.data.position.x,translationY:r.data.position.y,translationZ:r.data.position.z,rotationX:f.x*n,rotationY:f.y*n,rotationZ:f.z*n,scale:Math.max(r.data.scale,.001)});this.object.trigger(k.Fl)};p.prototype.qy=function(){if(this.object.get("positionDraggable")||this.object.get("rotationDraggable")||this.object.get("scaleDraggable")){var r=this.F.J(h.Wg,!0);r.translate=
this.object.get("positionDraggable")||!1;r.rotate=this.object.get("rotationDraggable")||!1;r.scale=this.object.get("scaleDraggable")||!1;r.N=this.Kp}else this.F.ha(h.Wg)};return p}(g);var d=["positionDraggable","rotationDraggable","scaleDraggable"],f=new l.Euler,n=180/Math.PI;l=b.Hd(a);l=b.YV(l);l=b.sH(l);l=b.IH(l);l=b.lb(l);l=b.CMa(l);return l=b.Ina(l)});
define("cP",["require","exports","le","eg"],function(a,e,l,m){a=function(){function k(c,h,g,b,d){this.object=c;this.model=h;this.ic=g;this.renderer=d;this.le=this.le.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}k.prototype.Kc=function(){};k.prototype.Lc=function(){};k.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],this.le)};k.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
(this.enabled=!0,this.F=this.ic.P.Mc("ImagePlane"),this.Kc())};k.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),this.F.P.Gd(this.F),this.F=null)};return k}();a=m.Hd(a);a=m.sH(a);a=m.Al(a);a=m.IH(a);a=m.lb(a);return a=m.Plane(a)});
define("cO",["require","exports","le","fT","eg"],function(a,e,l,m,k){var c=["objectId"];a=function(){function h(g,b,d,f,n){this.object=g;this.model=b;this.ic=d;this.renderer=n;this.F=this.ic.P.Mc("InnerObject");this.GZ=this.GZ.bind(this);l.da(this.object,c,this.GZ,!0);this.Kc()}h.prototype.Kc=function(){};h.prototype.Lc=function(){};h.prototype.GZ=function(){var g=this.F.J(m.EH,!0);g.id=this.object.get("objectId");g.container=this.ic};h.prototype.dispose=function(){this.Lc();l.ca(this.object,c,this.GZ);
this.ic.P.Gd(this.F);this.F=null};return h}();a=k.Hd(a);a=k.sH(a);a=k.IH(a);return a=k.YV(a)});
define("nY","require exports le fT eg three.mod".split(" "),function(a,e,l,m,k,c){var h=["x","y","z"],g=["targetX","targetY","targetZ"];a=function(){function b(d,f,n,q,p){this.object=d;this.model=f;this.ic=n;this.renderer=p;this.le=this.le.bind(this);this.h4=this.h4.bind(this);this.p4=this.p4.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}b.prototype.Kc=function(){};b.prototype.Lc=function(){};b.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],
this.le)};b.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};b.prototype.enable=function(){this.enabled||(this.enabled=!0,this.F=this.ic.P.Mc("Line"),this.F.I(m.va),this.F.I(m.Line),this.F.I(m.Es).position=new c.Vector3,l.da(this.object,h,this.h4,!0),l.da(this.object,g,this.p4,!0),this.Kc())};b.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),l.ca(this.object,h,this.h4),l.ca(this.object,g,this.p4),this.F.P.Gd(this.F),this.F=null)};b.prototype.h4=
function(){var d=this.F.J(m.va);d.translationX=this.object.get("x",0);d.translationY=this.object.get("y",0);d.Je=this.object.get("z",0)};b.prototype.p4=function(){var d=this.F.J(m.Es);d.position.x=this.object.get("targetX");d.position.y=this.object.get("targetY");d.position.z=this.object.get("targetZ")};return b}();a=k.Hd(a);a=k.th(a);return a=k.lb(a)});
define("lk",["require","exports","le","fT","eg"],function(a,e,l,m,k){var c=["x","y","z"],h="divisions centerLinesColor depthTest gridColor opacity size".split(" ");a=function(){function g(b,d,f,n,q){this.object=b;this.model=d;this.ic=f;this.renderer=q;this.le=this.le.bind(this);this.l4=this.l4.bind(this);this.e4=this.e4.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}g.prototype.Kc=function(){};g.prototype.Lc=function(){};g.prototype.dispose=function(){this.disable();
l.ca(this.object,["enabled"],this.le)};g.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};g.prototype.enable=function(){this.enabled||(this.enabled=!0,this.F=this.ic.P.Mc("HorizonGrid"),this.F.I(m.va),this.F.I(m.Ds),l.da(this.object,c,this.l4,!0),l.da(this.object,h,this.e4,!0),this.Kc())};g.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),l.ca(this.object,c,this.l4),l.ca(this.object,h,this.e4),this.F.P.Gd(this.F),this.F=null)};g.prototype.l4=function(){var b=
this.F.J(m.va);b.translationX=this.object.get("x",0);b.translationY=this.object.get("y",0);b.Je=this.object.get("z",0)};g.prototype.e4=function(){var b=this.F.J(m.Ds);b.SBa=this.object.get("centerLinesColor");b.depthTest=this.object.get("depthTest");b.n2=this.object.get("divisions");b.YDa=this.object.get("gridColor");b.size=this.object.get("size")};return g}();a=k.YV(a);return a=k.lb(a)});
define("fv",["require","exports","le","fT","eg"],function(a,e,l,m,k){var c=["radius","maxRadius","minRadius"];a=function(){function h(g,b,d,f,n){this.object=g;this.model=b;this.ic=d;this.renderer=n;this.le=this.le.bind(this);this.o4=this.o4.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}h.prototype.Kc=function(){};h.prototype.Lc=function(){};h.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],this.le)};h.prototype.le=function(){this.object.get("enabled")?
this.enable():this.disable()};h.prototype.enable=function(){this.enabled||(this.enabled=!0,this.F=this.ic.P.Mc("Sphere"),this.F.I(m.Sphere),this.F.I(m.Nj),l.da(this.object,c,this.o4,!0),this.Kc())};h.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),l.ca(this.object,c,this.o4),this.F.P.Gd(this.F),this.F=null)};h.prototype.o4=function(){var g=this.F.J(m.Nj);g.sf=g.Ff=g.nh=1;g.scale=this.object.get("radius");g.BB=this.object.get("maxRadius");g.CB=this.object.get("minRadius")};return h}();
a=k.Hd(a);a=k.sH(a);a=k.kd(a);a=k.lb(a);return a=k.Ina(a)});
define("oF",["require","exports","le","fT","eg"],function(a,e,l,m,k){var c="cameraBox skyBox sourceAlpha sourceCubeTexture sourceX sourceY sourceYaw sourceZ targetAlpha targetCubeTexture targetX targetY targetYaw targetZ".split(" ");a=function(){function h(g,b,d,f,n){this.object=g;this.model=b;this.ic=d;this.Cja=f;this.renderer=n;this.le=this.le.bind(this);this.m4=this.m4.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}h.prototype.Kc=function(){};h.prototype.Lc=function(){};
h.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],this.le)};h.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};h.prototype.enable=function(){if(!this.enabled){this.enabled=!0;this.F=this.ic.P.Mc("ProjectedMaterial");this.F.I(m.Wm);var g=this.F.I(m.lb);g.F=this.ic;g.attach=!0;l.da(this.object,c,this.m4,!0);this.Kc()}};h.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),l.ca(this.object,c,this.m4),this.F.P.Gd(this.F),this.F=
null)};h.prototype.m4=function(){var g=this.F.J(m.Wm);g.ny=this.object.get("nearPlane")||!1;g.jJa=this.object.get("skyBox")||!1;g.lJa=this.object.get("sourceAlpha")||0;g.eC=this.Cja;g.j5=this.object.get("sourceX")||0;g.k5=this.object.get("sourceY")||0;g.l5=this.object.get("sourceZ")||0;g.RU=this.object.get("sourceYaw")||0;g.PU=this.object.get("sourceCubeTexture");g.HJa=this.object.get("targetAlpha")||0;g.targetX=this.object.get("targetX")||0;g.targetY=this.object.get("targetY")||0;g.w5=this.object.get("targetZ")||
0;g.Gbb=this.object.get("targetYaw")||0;g.WU=this.object.get("targetCubeTexture")};return h}();return k.lb(a)});
define("kW",["require","le","py","hJ","fT"],function(a){function e(d,f,n,q,p){this.K=d;this.ia=f;this.nb=n;this.j=p;this.M=this.j.M;this.Sq=this.Sq.bind(this);this.Nw=this.Nw.bind(this);this.En=this.En.bind(this);this.Nf=this.Nf.bind(this);this.jca=this.nb.getComponent(c.Wh).wp;this.jca.bind(m.ea,this.Ow,this,!1);this.kca=this.Tta=!1;this.Rt=new k(this.M);this.Rt.setPosition(0);this.Rt.update();this.m=null;l.da(this.K,["enabled"],this.Sq,!0)}var l=a("le"),m=a("py"),k=a("hJ"),c=a("fT");e.prototype.Sq=
function(){this.K.get("enabled")?this.GD():this.zq()};e.prototype.GD=function(){if(!this.m){this.m=this.nb.P.Mc("Reticle");var d=this.m.I(c.lb);d.F=this.nb;d.id=this.K.get("parentId");this.m.I(c.Plane).renderOrder=2;this.m.I(c.gf).source=this.Rt.dg();this.m.I(c.Wy);d=this.m.I(c.UM);d.Bbb=this.K;d.object=this.K;l.da(this.ia,b,this.Nw,!0);l.da(this.K,h,this.En,!0);l.da(this.K,g,this.Nf,!0)}};e.prototype.zq=function(){this.m&amp;&amp;(this.nb.P.Gd(this.m),this.m=null,l.ca(this.ia,b,this.Nw),l.ca(this.K,h,this.En),
l.ca(this.K,g,this.Nf))};e.prototype.Nw=function(){var d=this.m.J(c.Nj,!0);d.sf=d.Ff=2;d.scale=this.ia.get("surfaceReticleRadius");d.BB=this.ia.get("surfaceReticleMaxRadius");d.CB=this.ia.get("surfaceReticleMinRadius");this.pAa()};e.prototype.En=function(){var d=this.m.J(c.hv,!0);d.x=this.K.get("x");d.y=this.K.get("y");d.z=this.K.get("z");d.distance=this.K.get("distance");d.vT=this.K.get("horizontal")};e.prototype.Nf=function(){var d=this.m.J(c.Hd,!0);d.gH=this.K.get("useHandCursor");d.AM=this.K.get("transparentAreaActive");
d.N=this.K;d=this.m.J(c.gf);d.opacity=this.K.get("opacity");d.hidden=this.K.get("hidden");d.depthTest=this.K.get("depthTest")};e.prototype.Ow=function(){this.Tta=!0;this.pAa()};e.prototype.pAa=function(){var d=this.Tta&amp;&amp;.5&lt;this.ia.get("opacity");this.kca!=d&amp;&amp;(this.kca=d)&amp;&amp;this.m&amp;&amp;this.m.J(c.hv)};e.prototype.dispose=function(){this.zq();l.ca(this.K,["enabled"],this.Sq);this.jca.unbind(m.ea,this.Ow,this,!1);this.jca=null};var h=["distance","horizontal","x","y","z"],g=["depthTest","hidden","opacity",
"transparentAreaActive","useHandCursor"],b=["opacity","surfaceReticleRadius","surfaceReticleMaxRadius","surfaceReticleMinRadius","surfaceSelectionEnabled"];return e});
define("gv",["require","exports","le","eg"],function(a,e,l,m){a=function(){function k(c,h,g,b,d){this.object=c;this.model=h;this.ic=g;this.renderer=d;this.le=this.le.bind(this);this.enabled=!1;this.F=null;l.da(this.object,["enabled"],this.le,!0)}k.prototype.Kc=function(){};k.prototype.Lc=function(){};k.prototype.dispose=function(){this.disable();l.ca(this.object,["enabled"],this.le)};k.prototype.le=function(){this.object.get("enabled")?this.enable():this.disable()};k.prototype.enable=function(){this.enabled||
(this.enabled=!0,this.F=this.ic.P.Mc("VideoPlane"),this.Kc())};k.prototype.disable=function(){this.enabled&amp;&amp;(this.enabled=!1,this.Lc(),this.F.P.Gd(this.F),this.F=null)};return k}();a=m.Hd(a);a=m.sH(a);a=m.po(a);a=m.lb(a);a=m.IH(a);return a=m.Plane(a)});
define("hh","require exports eH eA eY cP cO nY lk fv gf oF kW gv".split(" "),function(a,e,l,m,k,c,h,g,b,d,f,n,q,p){f.ks("MeasureModel3DObject",l);f.ks("ChildModel3DObject",k);f.ks("HorizonGridModel3DObject",b);f.ks("CanvasPlaneModel3DObject",m);f.ks("ImagePlaneModel3DObject",c);f.ks("InnerModel3DObject",h);f.ks("LineModel3DObject",g);f.ks("ProjectedMaterialModel3DObject",n);f.ks("SphereModel3DObject",d);f.ks("SurfaceReticleModel3DObject",q);f.ks("VideoPlaneModel3DObject",p);return f});
define("ii","require exports le py bs pC gE w lS jV ol".split(" "),function(a,e,l,m,k,c,h,g,b,d,f){return function(n){function q(p,r,t,u,v){var w=n.call(this)||this;w.mG=[];w.cBa=0;w.bBa=0;w.q2=!1;w.ACa=!1;w.nja=!1;w.YEa=0;w.renderer=p;w.xs=r;w.model=t;w.ic=u;w.La=v;w.Er=w.Er.bind(w);w.a2=w.a2.bind(w);w.Sha=b.Ap(w.Sha,w);w.ly=w.ly.bind(w);w.E3=w.E3.bind(w);w.D3=w.D3.bind(w);w.vc=w.renderer.M;w.zg=w.renderer.getParent();w.enabled=!0;w.type=q.YM;w.$a();return w}Z(q,n);q.prototype.getType=function(){return this.type};
q.prototype.rb=function(p){this.enabled=p};q.prototype.dispose=function(){this.Ca()};q.prototype.$a=function(){this.zg.bind(m.Pb,this.Er,this,!0);this.zg.bind(m.ma,this.aBa,this,!0);l.bu(this.model,["camera.lockMouse"],this.a2,!0);l.bu(this.model,["objects"],this.ly,!0);this.pl=new d(this.zg.gd());this.pl.bind(m.ba,this.CFa,this,!0);document.addEventListener("keyup",this.E3);document.addEventListener("keydown",this.D3);this.ss(q.YM)};q.prototype.Ca=function(){this.zg.unbind(m.Pb,this.Er,this);this.zg.unbind(m.ma,
this.aBa,this);l.ca(this.model,["camera.lockMouse"],this.a2);l.ca(this.model,["objects"],this.ly);this.HU([]);this.pl.unbind(m.ba,this.CFa,this);this.pl.sp()&amp;&amp;this.pl.unlock();this.AIa(!1);this.pl.dispose();document.removeEventListener("keyup",this.E3);document.removeEventListener("keydown",this.D3)};q.prototype.a2=function(){this.DT=!g.qb()&amp;&amp;this.model.get("camera").get("lockMouse");!this.DT&amp;&amp;this.pl.sp()&amp;&amp;this.pl.unlock();this.AKa()};q.prototype.AKa=function(){this.AIa((!this.q2||!this.ACa)&amp;&amp;(g.qb()||
!this.DT))};q.prototype.AIa=function(p){this.nja!=p&amp;&amp;((this.nja=p)?this.vc.YO.P1():this.vc.YO.K4())};q.prototype.Er=function(){this.pl.sp()||this.ss(q.YM)};q.prototype.D3=function(p){-1!=q.fMa.indexOf(p.code)&amp;&amp;(this.type==q.YM&amp;&amp;this.ss(q.Y6),this.DT&amp;&amp;!this.pl.sp()&amp;&amp;this.pl.lock())};q.prototype.E3=function(p){p.code==k.na.HH&amp;&amp;(p=(new Date).getTime(),this.nKa(m.ma),500&gt;p-this.YEa&amp;&amp;this.nKa(m.Dl),this.YEa=p)};q.prototype.nKa=function(p){var r=this.vc.Za()/2,t=this.vc.Cb()/2;p=new c(p,r,t,r,t,0,0,void 0);
this.zg.trigger(p)};q.prototype.aBa=function(){this.bBa=(new Date).getTime();this.DT&amp;&amp;!this.pl.sp()?this.pl.lock():this.Sha()};q.prototype.Y3a=function(){this.DT&amp;&amp;this.pl.sp()&amp;&amp;this.pl.unlock()};q.prototype.CFa=function(){this.pl.sp()?this.ss(q.Y6):this.ss(q.YM)};q.prototype.ly=function(){this.HU(this.model.get("objects",[]))};q.prototype.HU=function(p){var r=this;this.mG.forEach(function(t){t.unbind(m.ma,r.NFa,r)});this.mG=p;this.mG.forEach(function(t){t.bind(m.ma,r.NFa,r,!0);f.Ja("MeasureModel3DObject",
t)&amp;&amp;(t.bind(m.G("draggingPoint"),r.KT,r,!0),t.bind(m.G("mode"),r.KT,r,!0))});this.KT()};q.prototype.NFa=function(p){p.source.get("useHandCursor")&amp;&amp;(this.cBa=(new Date).getTime())};q.prototype.KT=function(){var p=!1,r=!1;this.mG.forEach(function(u){f.Ja("MeasureModel3DObject",u)&amp;&amp;(r=r||!!u.get("draggingPoint"),p=p||"edit"==u.get("mode")&amp;&amp;!!u.get("draggingPoint"))});this.ACa=p;var t=this.model.get("camera");r!=this.q2&amp;&amp;(this.q2=r,setTimeout(function(){t.q$a(this.q2)}.bind(this),0));this.AKa()};q.prototype.Sha=
function(){100&lt;Math.abs(this.bBa-this.cBa)&amp;&amp;this.Y3a()};q.prototype.ss=function(p){this.type!==p&amp;&amp;(this.type=p,this.trigger(m.ba))};q.YM="mouse";q.Y6="gaze";q.fMa=[k.na.hj,k.na.Rh,k.na.ab,k.na.ub,k.na.fo,k.na.$u,k.na.Av,k.na.tv,k.na.E,k.na.Q];return q}(h)});
define("fl","require exports three.mod le py mq km fT bh bn".split(" "),function(a,e,l,m,k,c,h,g,b,d){var f=new l.Vector3(0,0,0),n=new l.Vector3(0,0,-1);a=function(){function p(r,t,u,v,w,x){this.renderer=r;this.xs=t;this.model=u;this.Ie=v;this.ic=w;this.La=x;this.dV=this.dV.bind(this);this.xy=this.xy.bind(this);this.Px=this.Px.bind(this);this.vc=this.renderer.M;this.zg=this.renderer.getParent();this.Hu=this.model.get("application").Bm("Model3DPointer");this.$a()}p.prototype.rb=function(r){var t=this.La.J(g.Cc);
t&amp;&amp;(t.enabled=r)};p.prototype.dispose=function(){this.Ca()};p.prototype.$a=function(){this.hM=new c(this.vc.Nia());this.j5a=new q(this.zg,this.hM);this.Wn=new h;this.Wn.mIa(this.j5a);var r=this.La.I(g.Cc);r.La=this.La;r.origin=f;r.direction=n;r.UF=this.zg;r.m2=this.Wn;r.N=this.Hu;this.vc.set("toolTipCentered",!0);this.model.set("pointer",this.Hu);this.Kab();this.xla();this.Wn.push(b.UC);d.requestFrame(this.dV)};p.prototype.Ca=function(){this.Wn.pop(b.UC);this.Ibb();this.Qla();this.vc.set("toolTipCentered",
!1);this.vc.set("toolTipCenteredOffsetY",void 0);this.model.set("pointer",void 0);this.La.ha(g.Cc);this.Wn.dispose();d.RBa(this.dV)};p.prototype.xla=function(){this.$n=this.ic.P.Mc("GazeReticle");this.$n.I(g.lb).F=this.La;this.$n.I(g.Plane).renderOrder=2;this.$n.I(g.MC);var r=this.$n.I(g.gf);r.source=this.hM.dg();r.depthTest=!1;this.$n.I(g.va).Je=-1;this.renderer.bind(k.tc,this.xy,this,!0);this.xy();this.sS(this.La.getComponent(g.Cc),this.Hu)};p.prototype.sS=function(r,t){t.set("originX",r.origin.x);
t.set("originY",r.origin.y);t.set("originZ",r.origin.z);t.set("directionX",r.direction.x);t.set("directionY",r.direction.y);t.set("directionZ",r.direction.z)};p.prototype.Qla=function(){this.$n&amp;&amp;(this.$n.P.Gd(this.$n),this.$n=null)};p.prototype.vcb=function(){if(this.$n){var r=this.$n.J(g.Nj,!0);r.sf=r.Ff=2;var t=Math.min(this.vc.Za(),this.vc.Cb())/100;r.CB=r.BB=Math.round(4*t);this.vc.set("toolTipCenteredOffsetY",2*t)}};p.prototype.dV=function(r){this.$n&amp;&amp;this.hM.update(r)&amp;&amp;(this.$n.J(g.gf).WG=(new Date).getTime());
d.requestFrame(this.dV)};p.prototype.xy=function(){this.vcb()};p.prototype.Kab=function(){m.bu(this.model,"camera",this.Px,!0)};p.prototype.Ibb=function(){m.ca(this.model,"camera",this.Px);this.nIa(!0)};p.prototype.Px=function(){this.nIa(!1)};p.prototype.nIa=function(r){var t=this.La.J(g.HC);t&amp;&amp;(t.ZK=r);(t=this.La.J(g.IC))&amp;&amp;(t.ZK=r);(t=this.La.J(g.OC))&amp;&amp;(t.ZK=r)};return p}();var q=function(){function p(r,t){this.zg=r;this.hM=t}p.prototype.ODa=function(){return this.zg};p.prototype.R4=function(r,t){-1&lt;
t.indexOf(b.Le)?this.hM.PG(!0):this.hM.PG(!1)};return p}();return a});
define("cw","require exports three.mod le py gE km fT oS bh ol".split(" "),function(a,e,l,m,k,c,h,g,b,d,f){a=function(){function t(u,v,w,x,y,z){this.mG=[];this.LT=[];this.renderer=u;this.xs=v;this.model=w;this.Ie=x;this.ic=y;this.La=z;this.ly=this.ly.bind(this);this.bU=[];this.enabled=!1;this.$a()}t.prototype.rb=function(u){this.enabled!==u&amp;&amp;((this.enabled=u)?m.bu(this.model,["objects"],this.ly,!0):(m.ca(this.model,["objects"],this.ly),this.HU([])))};t.prototype.dispose=function(){this.Ca()};t.prototype.$a=
function(){b.N.bind(k.Uh,this.IB,this,!0)};t.prototype.Ca=function(){b.N.unbind(k.Uh,this.IB,this);this.PIa([])};t.prototype.IB=function(){this.PIa(b.ng)};t.prototype.PIa=function(u){this.enabled||(u=[]);var v=this.bU;this.bU=u.map(function(x){var y=v.findIndex(function(z){return z.pc==x});return-1!==y?v.splice(y,1)[0]:new n(x,this.model,this.Ie,this.La)}.bind(this));v.forEach(function(x){x.dispose()});this.bU.forEach(function(x){x.rb(this.enabled);x.update()}.bind(this));var w=this.bU.reduce(function(x,
y){return!x||x.p2&lt;y.p2?y:x},null);this.bU.forEach(function(x){x.Y$a(x===w)});this.model.set("pointer",null!==w?w.Km:void 0)};t.prototype.ly=function(){this.HU(this.model.get("objects",[]))};t.prototype.HU=function(u){this.mG=u;this.KT()};t.prototype.KT=function(){this.LT.forEach(function(u){u.unbind(k.G("mode"),this.xja,this)}.bind(this));this.LT=[];this.LT=this.mG.filter(function(u){return f.Ja("MeasureModel3DObject",u)});this.LT.forEach(function(u){u.bind(k.G("mode"),this.xja,this,!0)}.bind(this));
this.xja()};t.prototype.xja=function(){var u=!1,v=!1;this.LT.forEach(function(w){v=v||"create"==w.get("mode");u=u||"edit"==w.get("mode")}.bind(this));this.model.get("camera").i$a(v)};return t}();var n=function(){function t(u,v,w,x){this.p2=this.Hha=0;this.pc=u;this.model=v;this.Ie=w;this.La=x;this.p2=this.Hha="right"===this.pc.handedness?1:0;this.Km=this.model.get("application").Bm("Model3DPointer");this.$i=this.enabled=!1;this.$a()}t.prototype.update=function(){this.rcb();b.hla(this.pc,this.Rha.wi,
this.Rha.wi,this.model.get("surfaceSelectionEnabled")&amp;&amp;(this.z7a||this.B7a||this.A7a)?void 0:this.distance);b.OIa(this.pc,!this.$i||!this.enabled)};t.prototype.rb=function(u){this.enabled!==u&amp;&amp;(this.enabled=u,u=this.Iu.J(g.Cc,!0))&amp;&amp;(u.enabled=this.enabled)};t.prototype.Y$a=function(u){this.$i!==u&amp;&amp;(this.$i=u,u=this.Iu.J(g.Cc,!0))&amp;&amp;(u.$i=this.$i)};t.prototype.dispose=function(){this.Ca()};t.prototype.$a=function(){this.Rha=new r(this.Km);this.Wn=new h;this.Wn.mIa(this.Rha);this.ZT=new c;this.Iu=this.Ie.P.Mc("Pointer");
var u=this.Iu.J(g.Cc,!0);u.dCa=!0;u.matrixWorld=new l.Matrix4;u.La=this.La;u.UF=this.ZT;u.m2=this.Wn;u.N=this.Km;u.enabled=this.enabled;b.N.bind(k.mz,this.tGa,this,!0);b.N.bind(k.GH,this.uGa,this,!0);b.N.bind(k.Vf,this.sGa,this,!0);this.Km.bind(k.hb,this.Zr,this,!0);this.Km.bind(k.Eb,this.lh,this,!0);this.Km.bind(k.Pb,this.JB,this,!0);this.Km.bind(k.Jb,this.$r,this,!0)};t.prototype.Ca=function(){this.Km.unbind(k.hb,this.Zr,this);this.Km.unbind(k.Eb,this.lh,this);this.Km.unbind(k.Pb,this.JB,this);
this.Km.unbind(k.Jb,this.$r,this);this.Iu.P.Gd(this.Iu);this.Wn.dispose();b.N.unbind(k.mz,this.tGa,this);b.N.unbind(k.GH,this.uGa,this);b.N.unbind(k.Vf,this.sGa,this)};t.prototype.rcb=function(){var u=this.Iu.J(g.Cc,!0);u.matrixWorld.copy(this.pc.matrixWorld);u.origin.copy(this.pc.ray.origin);u.direction.copy(this.pc.ray.direction);u.Wb.copy(this.pc.Wb);u.dH=this.pc.dH;this.sS(u,this.Km)};t.prototype.sS=function(u,v){p.origin.set(u.origin);p.direction.set(u.direction);p.applyMatrix4(u.matrixWorld);
v.set("originX",u.origin.x);v.set("originY",u.origin.y);v.set("originZ",u.origin.z);v.set("directionX",u.direction.x);v.set("directionY",u.direction.y);v.set("directionZ",u.direction.z)};t.prototype.sGa=function(u){u.data.pointerState===this.pc&amp;&amp;(u=300&gt;Date.now()-this.Hha,this.Hha=Date.now(),this.ZT.trigger(k.ma),u&amp;&amp;this.ZT.trigger(k.Dl))};t.prototype.tGa=function(u){u.data.pointerState===this.pc&amp;&amp;(this.p2=Date.now(),this.ZT.trigger(k.hb))};t.prototype.uGa=function(u){u.data.pointerState===this.pc&amp;&amp;
this.ZT.trigger(k.Eb)};t.prototype.JB=function(u){this.oIa(u);this.JIa(u)};t.prototype.oIa=function(u){u.data.position?(u=u.data.position,p.copy(this.pc.ray).applyMatrix4(this.pc.matrixWorld),this.distance=p.origin.distanceTo(q.set(u.x,u.y,u.z))):this.distance=void 0};t.prototype.JIa=function(u){this.B7a="mesh"==u.data.type;this.z7a="bone"==u.data.type;this.A7a="gs"==u.data.type};t.prototype.Zr=function(u){this.oIa(u);this.JIa(u)};t.prototype.lh=function(){this.distance=void 0};t.prototype.$r=function(){this.distance=
void 0};return t}(),q=new l.Vector3,p=new l.Ray,r=function(){function t(u){this.Km=u}t.prototype.ODa=function(){return this.Km};t.prototype.R4=function(u,v){this.wi=-1&lt;v.indexOf(d.Le)};return t}();return a});
define("pf","require exports three.mod le py km lw fT".split(" "),function(a,e,l,m,k,c,h,g){var b=new l.Vector3(0,0,0),d=Math.PI/180,f=new l.Vector3;return function(){function n(q,p,r,t,u,v){this.renderer=q;this.xs=p;this.model=r;this.Ie=t;this.ic=u;this.La=v;this.K2=this.K2.bind(this);this.xy=this.xy.bind(this);this.Er=this.Er.bind(this);this.vc=this.renderer.M;this.zg=this.renderer.getParent();this.Hu=this.model.get("application").Bm("Model3DPointer");this.enabled=!0;this.$a()}n.prototype.rb=function(q){this.enabled=
q;var p=this.La.J(g.Cc);p&amp;&amp;(p.enabled=q)};n.prototype.dispose=function(){this.Ca()};n.prototype.$a=function(){var q=this.La.I(g.Cc);q.La=this.La;q.origin=b;q.direction=new l.Vector3;q.UF=this.zg;q.N=this.Hu;this.Wn=new c;this.Wn.ns(this.zg);q.m2=this.Wn;q.enabled=this.enabled;m.da(this.model,["camera.fov"],this.K2,!0);this.renderer.bind(k.tc,this.xy,this,!0);this.zg.z3a(k.hb,this.Er,this);this.zg.bind(k.Pb,this.Er,this,!0);this.model.set("picker",this);this.model.set("pointer",this.Hu)};n.prototype.Ca=
function(){m.ca(this.model,["camera.fov"],this.K2);this.renderer.unbind(k.tc,this.xy,this);this.zg.unbind(k.hb,this.Er,this);this.zg.unbind(k.Pb,this.Er,this);this.La.ha(g.Cc);this.Wn.dispose();this.model.set("picker",void 0);this.model.set("pointer",void 0)};n.prototype.xy=function(){this.cma()};n.prototype.K2=function(){this.cma()};n.prototype.Er=function(q){this.Y7a=q.x;this.Z7a=q.y;this.cma()};n.prototype.cma=function(){var q=this.La.J(g.Cc);this.CDa(this.Y7a,this.Z7a,q.direction);this.sS(q,this.Hu)};
n.prototype.sS=function(q,p){p.set("originX",q.origin.x);p.set("originY",q.origin.y);p.set("originZ",q.origin.z);p.set("directionX",q.direction.x);p.set("directionY",q.direction.y);p.set("directionZ",q.direction.z)};n.prototype.CDa=function(q,p,r){var t;r=r||new l.Vector3;var u=(null===(t=this.model.get("camera"))||void 0===t?void 0:t.get("fov"))||90;t=this.vc.Za();var v=this.vc.Cb();void 0===q&amp;&amp;(q=t/2);void 0===p&amp;&amp;(p=v/2);r.set(q-t/2,v/2-p,-t/(2*Math.tan((t&gt;v?u:h.Lp(u,t,v))*d/2))).normalize();return r};
n.prototype.y4=function(q,p){var r=this.La.getComponent(g.Cc);if(r&amp;&amp;r.gs)return r.gs.y4([this.ic],b,this.CDa(q,p,f))};return n}()});
define("nb","require exports le py ii fl cw pf oS".split(" "),function(a,e,l,m,k,c,h,g,b){return function(){function d(f,n,q,p,r,t){this.renderer=f;this.xs=n;this.model=q;this.Ie=p;this.ic=r;this.La=t;this.enabled=!0;this.Px=this.Px.bind(this);this.$a()}d.prototype.rb=function(f){var n;this.enabled=f;null===(n=this.PF)||void 0===n?void 0:n.rb(this.enabled)};d.prototype.dispose=function(){this.Ca()};d.prototype.$a=function(){l.da(this.model,"camera",this.Px,!1);b.N.bind(m.ba,this.OKa,this,!0);this.ema()};
d.prototype.Ca=function(){l.ca(this.model,"camera",this.Px);b.N.unbind(m.ba,this.OKa,this);this.ss("none");this.MJa()};d.prototype.Px=function(){this.ema()};d.prototype.OKa=function(){this.ema()};d.prototype.ema=function(){b.isPresenting?this.ss("xr"):"FirstPersonModel3DCamera"==this.model.get("camera").get("class")?this.Tab():(this.MJa(),this.ss("mouse"))};d.prototype.Tab=function(){this.iL||(this.iL=new k(this.renderer,this.xs,this.model,this.ic,this.La),this.iL.bind(m.ba,this.XFa,this,!0),this.XFa())};
d.prototype.MJa=function(){var f;this.iL&amp;&amp;(null===(f=this.iL)||void 0===f?void 0:f.dispose(),this.iL=void 0)};d.prototype.XFa=function(){var f;switch(null===(f=this.iL)||void 0===f?void 0:f.getType()){case k.Y6:this.ss("gaze");break;default:this.ss("mouse")}};d.prototype.ss=function(f){var n;if(this.type!==f){this.PF&amp;&amp;this.PF.dispose();this.type=f;switch(this.type){case "mouse":this.PF=new g(this.renderer,this.xs,this.model,this.Ie,this.ic,this.La);break;case "gaze":this.PF=new c(this.renderer,this.xs,
this.model,this.Ie,this.ic,this.La);break;case "xr":this.PF=new h(this.renderer,this.xs,this.model,this.Ie,this.ic,this.La);break;default:this.PF=void 0}null===(n=this.PF)||void 0===n?void 0:n.rb(this.enabled)}};return d}()});
define("ld",["require","le","fT"],function(a){function e(c,h){this.Ac=c;this.pd=h;this.W=!1;this.ii=this.ii.bind(this);l.da(this.Ac,k,this.ii,!0)}var l=a("le"),m=a("fT");e.prototype.ii=function(){var c=this.Ac.get("enabled")&amp;&amp;!this.Ac.get("disabled");this.W!=c&amp;&amp;(this.W&amp;&amp;this.pd.ha(m.lH),(this.W=c)&amp;&amp;this.pd.I(m.lH));this.W&amp;&amp;(c=this.pd.J(m.lH),c.zCa=this.Ac.get("easingDuration"),c.bias=this.Ac.get("bias"),c.intensity=this.Ac.get("intensity"),c.scale=this.Ac.get("scale"),c.VEa=this.Ac.get("kernelRadius"),
c.vFa=this.Ac.get("minResolution"),c.xha=this.Ac.get("blurRadius"),c.output="ao"==this.Ac.get("output")?THREE.SAOPass.OUTPUT.SAO:THREE.SAOPass.OUTPUT.Default)};e.prototype.dispose=function(){this.pd.ha(m.lH);this.pd=null;l.ca(this.Ac,k,this.ii)};var k="disabled enabled bias easingDuration intensity scale kernelRadius minResolution blurRadius output".split(" ");return e});
define("E",["require","le","fT"],function(a){function e(c,h){this.Ac=c;this.pd=h;this.W=!1;this.ii=this.ii.bind(this);l.da(this.Ac,k,this.ii,!0)}var l=a("le"),m=a("fT");e.prototype.ii=function(){var c=this.Ac.get("enabled")&amp;&amp;!this.Ac.get("disabled");this.W!=c&amp;&amp;(this.W&amp;&amp;this.pd.ha(m.oC),(this.W=c)&amp;&amp;this.pd.I(m.oC));this.W&amp;&amp;(c=this.pd.J(m.oC),c.dDa="fxaa"==this.Ac.get("mode"),c.yJa="ssaa"==this.Ac.get("mode"),c.SU=this.Ac.get("ssaaSampleLevel"))};e.prototype.dispose=function(){this.pd.ha(m.oC);this.pd=
null;l.ca(this.Ac,k,this.ii)};var k=["disabled","enabled","mode","ssaaSampleLevel"];return e});
define("lm",["require","le","fT"],function(a){function e(c,h){this.Ac=c;this.pd=h;this.W=!1;this.ii=this.ii.bind(this);l.da(this.Ac,k,this.ii,!0)}var l=a("le"),m=a("fT");e.prototype.ii=function(){var c=this.Ac.get("enabled")&amp;&amp;!this.Ac.get("disabled");this.W!=c&amp;&amp;(this.W&amp;&amp;this.pd.ha(m.ZM),(this.W=c)&amp;&amp;this.pd.I(m.ZM));this.W&amp;&amp;(c=this.pd.J(m.ZM),c.NHa=this.Ac.get("samples"),c.intensity=this.Ac.get("intensity"))};e.prototype.dispose=function(){this.pd.ha(m.ZM);this.pd=null;l.ca(this.Ac,k,this.ii)};var k=
["disabled","enabled","samples","intensity"];return e});
define("hf",["require","le","fT"],function(a){function e(c,h){this.Ac=c;this.pd=h;this.ii=this.ii.bind(this);l.da(this.Ac,k,this.ii,!0)}var l=a("le"),m=a("fT");e.prototype.ii=function(){var c=this.Ac.get("enabled")&amp;&amp;!this.Ac.get("disabled");this.W!=c&amp;&amp;(this.W&amp;&amp;this.pd.ha(m.KH),(this.W=c)&amp;&amp;this.pd.I(m.KH));this.W&amp;&amp;(c=this.pd.J(m.KH),c.BEa=this.Ac.get("innerRadius"),c.MGa=this.Ac.get("outerRadius"),c.color=this.Ac.get("color"),c.opacity=this.Ac.get("opacity"))};e.prototype.dispose=function(){this.pd.ha(m.KH);
this.pd=null;l.ca(this.Ac,k,this.ii)};var k="enabled disabled opacity color innerRadius outerRadius".split(" ");return e});
define("m","require exports ow ld E lm hf ol".split(" "),function(a,e,l,m,k,c,h,g){return function(){function b(d,f){this.model=d;this.Ie=f;this.filter=this.filter.bind(this);this.Md=this.Md.bind(this);this.og=this.og.bind(this);this.dU=new l;this.dU.filter=this.filter;this.dU.Md=this.Md;this.dU.og=this.og;this.dU.VG(this.model,"postprocessing")}b.prototype.filter=function(d){return g.Ja("AmbientOcclusionModel3DPostprocessing",d)||g.Ja("AntialiasModel3DPostprocessing",d)||g.Ja("MotionBlurModel3DPostprocessing",
d)||g.Ja("VignetteModel3DPostprocessing",d)};b.prototype.Md=function(d){return g.Ja("AmbientOcclusionModel3DPostprocessing",d)?new m(d,this.Ie):g.Ja("AntialiasModel3DPostprocessing",d)?new k(d,this.Ie):g.Ja("MotionBlurModel3DPostprocessing",d)?new c(d,this.Ie):g.Ja("VignetteModel3DPostprocessing",d)?new h(d,this.Ie):null};b.prototype.og=function(d,f){f.dispose()};b.prototype.dispose=function(){this.dU.dispose()};return b}()});
define("oW","require exports le py gE nf fT".split(" "),function(a,e,l,m,k,c,h){a=function(){function f(n,q){this.FB=this.enabled=!1;this.EFa=this.FFa=0;this.model=n;this.Ie=q;this.Rla=this.Rla.bind(this);this.Y3=this.Y3.bind(this);this.i4=this.i4.bind(this);l.da(this.model,"pixelRatioMinScale",this.i4,!0)}f.prototype.dispose=function(){this.disable();l.ca(this.model,"pixelRatioMinScale",this.i4)};f.prototype.i4=function(){this.disable();1&gt;this.model.get("pixelRatioMinScale")&amp;&amp;this.enable()};f.prototype.disable=
function(){this.enabled&amp;&amp;(this.enabled=!1,this.bo(!1),this.$L.unbind(m.ba,this.pGa,this),l.ca(this.model,"camera.x camera.y camera.z camera.yaw camera.pitch camera.fov camera.distance".split(" "),this.Y3),this.$L.dispose())};f.prototype.enable=function(){this.enabled||(this.enabled=!0,this.$L=new g(this.model.get("pixelRatioMinScale")),this.$L.bind(m.ba,this.pGa,this,!0),l.da(this.model,"camera.x camera.y camera.z camera.yaw camera.pitch camera.fov camera.distance".split(" "),this.Y3,!0))};f.prototype.Y3=
function(){this.FFa=Date.now();this.bo(!0)};f.prototype.Rla=function(){Date.now()-this.FFa&gt;f.wna&amp;&amp;this.bo(!1)};f.prototype.bo=function(n){this.FB!==n&amp;&amp;((this.FB=n)?(this.EFa=window.setInterval(this.Rla,f.wna),this.$L.enable()):(window.clearInterval(this.EFa),this.$L.disable()),this.FKa())};f.prototype.pGa=function(){this.FKa()};f.prototype.FKa=function(){var n=this.FB&amp;&amp;this.enabled?this.$L.by():1;this.Ie.getComponent(h.Scene).z4!=n&amp;&amp;(this.Ie.J(h.Scene).z4=n)};f.wna=100;return f}();var g=function(f){function n(q){var p=
f.call(this)||this;p.VB=[];p.LL=0;p.Zn=p.Zn.bind(p);p.v3a(q);p.reset();return p}Z(n,f);n.prototype.v3a=function(q){for(var p=1;p&gt;q;p-=.1)this.VB.push(p);Math.abs(q-this.VB[this.VB.length-1])&gt;d&amp;&amp;this.VB.push(q);c.av&amp;&amp;console.log("steps = ["+this.VB.map(function(r){return r.toFixed(2)}).join(", ")+"]")};n.prototype.reset=function(){this.disable();this.lG=0;this.HG=.5;this.oja=0;this.scale=.5*this.VB.length;this.Ika=Math.floor(this.scale);this.XBa();this.enable()};n.prototype.enable=function(){!this.LL&amp;&amp;
this.HG&gt;n.Zma&amp;&amp;(this.LL=window.requestAnimationFrame(this.Zn))};n.prototype.disable=function(){this.LL&amp;&amp;(window.cancelAnimationFrame(this.LL),this.LL=0)};n.prototype.by=function(){return this.VB[this.Ika]};n.prototype.dispose=function(){this.disable()};n.prototype.Zn=function(q){0!==this.lG&amp;&amp;(this.kcb(q-this.lG),this.pcb());this.lG=q;this.LL=this.HG&gt;n.Zma?window.requestAnimationFrame(this.Zn):0};n.prototype.kcb=function(q){for(this.US.push(q);this.US.length&gt;n.LLa;)this.US.shift(),this.JF=this.US.reduce(function(p,
r){return p+r},0)/this.US.length};n.prototype.XBa=function(){this.US=[];this.JF=void 0};n.prototype.pcb=function(){if(void 0!==this.JF){var q=1E3/b.J5a(),p=q*n.dMa;q=Math.max(1E3/n.eMa,q*n.ZLa);if(this.JF&lt;=q)var r=-1;else if(this.JF&gt;p)r=1;else{c.av&amp;&amp;console.log("["+p.toFixed(2)+" &gt; "+this.JF.toFixed(2)+" &gt; "+q.toFixed(2)+"]");return}this.oja&amp;&amp;this.oja!==r&amp;&amp;(this.HG*=n.EMa);this.oja=r;this.scale=Math.min(Math.max(this.scale+r*this.HG,0),this.VB.length-1);1==r?c.av&amp;&amp;console.log("["+this.JF.toFixed(2)+
" &gt; "+p.toFixed(2)+"]",this.scale.toFixed(2),"("+(r*this.HG).toFixed(2)+")"):-1==r&amp;&amp;c.av&amp;&amp;console.log("["+this.JF.toFixed(2)+" &lt;= "+q.toFixed(2)+"]",this.scale.toFixed(2),"("+(r*this.HG).toFixed(2)+")");p=Math.round(this.scale);this.Ika!==p&amp;&amp;(this.XBa(),this.Ika=p,this.trigger(m.ba))}};n.dMa=1.5;n.ZLa=1.1;n.LLa=15;n.EMa=.75;n.Zma=.01;n.eMa=60;return n}(k),b=function(){function f(){}f.h7a=function(){for(var n=0;n&lt;=f.f7;n++)f.nia.push(0);window.requestAnimationFrame(f.Zn)};f.J5a=function(){return f.frameRate};
f.Zn=function(n){0!==f.lG&amp;&amp;(f.nia[Math.min(Math.round(1E3/(n-f.lG)),f.f7)]++,f.iM++);f.lG=n;f.iM&lt;f.aMa?window.requestAnimationFrame(f.Zn):f.A3a()};f.A3a=function(){for(var n=0,q=0,p=30;p&lt;=f.f7;p+=10){for(var r=0,t=-5;5&gt;=t;t++)r+=f.nia[p+t];r&gt;n&amp;&amp;(n=r,q=p)}f.frameRate=q};f.f7=200;f.aMa=60;f.nia=[];f.lG=0;f.iM=0;f.frameRate=60;return f}();b.h7a();var d=1E-6;return a});
define("ov","require py fT cv eZ nd kg bk ha jb lH hh nb m oW oS".split(" "),function(a){function e(w,x,y){this.j=w;this.zd=x;this.ia=y;this.M=this.j.M;this.W=!0;this.Ysa=!1;this.ia.Dka();this.pd=this.zd.Mc("Scene");w=this.pd.I(m.Scene);w.fia=this.ia.Y2().NK(this.ia.b3().ju(.1),.1);w.N=this.ia;w.locked=!0;this.Sta=new g(this.ia,this.ia,this.pd,this.j);this.nb=this.Sta.ou();w.La=this.uq=this.zd.Mc("PerspectiveCamera");this.uq.I(m.lb).F=this.pd;this.JW=new c(this.j,this.ia,this.uq);this.JW.Ou(!0);this.IVa=
new b(this.ia,this.nb,this.uq);this.NYa=new r(this.ia,this.pd);this.vVa=new h(this.ia,this.nb,this.pd,this.uq);this.Vwa=new q(this.j,this.zd,this.ia,this.pd,this.nb,this.uq);v.forEach(function(z){this.ia.bind(l.G(z),this.Qca,this,!0)}.bind(this));this.PXa=new p(this.ia,this.pd);this.zd.hBa(this.pd);this.TVa=new n(this.ia,this.nb,this.uq);this.i0a=new f(this.ia,this.nb,this.j);this.z0a=new d(this.j,this.ia);t.N.bind(l.ba,this.AJ,this,!0);this.Qca();this.AJ()}var l=a("py"),m=a("fT"),k=a("cv"),c=a("eZ"),
h=a("nd"),g=a("kg"),b=a("bk"),d=a("ha"),f=a("jb"),n=a("lH");a("hh");var q=a("nb"),p=a("m"),r=a("oW"),t=a("oS");e.prototype.Ou=function(w){this.pd.J(m.Scene).locked=w;this.JW.Ou(w)};e.prototype.rb=function(w){this.W!==w&amp;&amp;(this.W=w,this.Gx())};e.prototype.AJ=function(){this.Ysa=t.mh==this.M.Pd().Ur();this.Gx()};e.prototype.Gx=function(){var w=(this.ia.get("camera").get("xrEnabled")||this.ia.get("camera").get("vrEnabled"))&amp;&amp;!this.ia.get(u);w=this.W&amp;&amp;(!this.Ysa||w);this.pd.J(m.Scene).enabled=w;this.Vwa.rb(w);
this.JW.rb(w)};e.prototype.dispose=function(){v.forEach(function(w){this.ia.unbind(l.G(w),this.Qca,this,!0)}.bind(this));this.ia.unbind(l.G("camera"),this.Qdb,this,!0);t.N.unbind(l.ba,this.AJ,this);this.NYa.dispose();this.IVa.dispose();this.Sta.dispose();this.JW.dispose();this.vVa.dispose();this.Vwa.dispose();this.PXa.dispose();this.i0a.dispose();this.TVa.dispose();this.z0a.dispose();this.zd.D9a(this.pd);this.zd.Gd(this.pd);this.zd.Gd(this.uq)};e.prototype.b6a=function(){return this.nb?k.$F(this.nb):
void 0};e.prototype.Qca=function(){var w=this.pd.J(m.Scene);w.opacity=this.ia.get("opacity");w.HCa=this.ia.get("environmentURL");w.rha=this.ia.get("backgroundImageURL");w.xBa=this.ia.get("backgroundPanoramaURL");w.backgroundColor=this.ia.get("backgroundColor");w.outputColorSpace=this.ia.get("encoding");w.XCa=this.ia.get("fogColor");w.YCa=this.ia.get("fogDensity");w.environmentIntensity=this.ia.get("environmentIntensity");w=this.ia.get("anisotropicFilteringLevel");var x=this.ia.get("bakedTextures");
if(0!=w||x){var y=this.pd.J(m.uh,!0);y.nS=w;y.uS=x}else this.pd.ha(m.uh)};var u=function(w){return w.map(function(x){return String.fromCharCode(x)}).join("")}([119,97,116,101,114,109,97,114,107]),v="anisotropicFilteringLevel bakedTextures environmentURL backgroundImageURL backgroundPanoramaURL backgroundColor fogColor fogDensity opacity encoding environmentIntensity".split(" ");return e});
define("lN","require lS fT gF ov bh d oR".split(" "),function(a){var e=a("lS");a("fT");var l=a("gF"),m=a("ov"),k=a("bh"),c=a("d"),h=a("oR");a=e.extend(h,function(g,b,d){h.call(this);this.Vd=g;this.M=b;this.qP=d;this.Re("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",k.kv);this.set("layout",c.mV);this.zd=null;this.W=!0;this.rE=[];this.$J=new Map});a.prototype.Hb=function(){h.prototype.Hb.call(this);null==this.zd&amp;&amp;(this.zd=new l(this.Vd,this.M,!0),this.zd.ra({left:0,top:0,right:0,bottom:0,
cursor:k.kv,toolTipDisabled:!0}),this.zd.rb(this.W),this.Ya(this.zd),this.rE.forEach(this.Fya.bind(this)))};a.prototype.rb=function(g){this.W!==g&amp;&amp;(this.W=g,this.zd&amp;&amp;this.zd.rb(this.W),this.set("interactionEnabled",this.W))};a.prototype.Ta=function(){this.zd&amp;&amp;this.zd.Ta()};a.prototype.J6a=function(g){return 0&lt;=this.rE.indexOf(g)};a.prototype.gBa=function(g){0&lt;=this.rE.indexOf(g)||(this.rE.push(g),this.zd&amp;&amp;this.Fya(g))};a.prototype.vka=function(g){var b=this.rE.indexOf(g);0&gt;b||(this.rE.splice(b,1),
this.zd&amp;&amp;this.nza(g),0===this.rE.length&amp;&amp;this.rb(!0))};a.prototype.FIa=function(g){(g=this.$J.get(g))&amp;&amp;g.Ou(!1)};a.prototype.EIa=function(g,b){(g=this.$J.get(g))&amp;&amp;g.rb(b)};a.prototype.eT=function(g){return(g=this.$J.get(g))?g.b6a():void 0};a.prototype.GG=function(){return this.zd&amp;&amp;this.zd.GG()};a.prototype.Dha=function(){return this.zd&amp;&amp;this.zd.Dha()};a.prototype.Fya=function(g){this.nza(g);this.$J.set(g,new m(this,this.zd,g))};a.prototype.nza=function(g){var b=this.$J.get(g);b&amp;&amp;(this.$J["delete"](g),
b.dispose())};return a});
define("bN","require lS py cI ol kk iY eh lN ep".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("ol"),c=a("kk"),h=a("iY"),g=a("eh"),b=a("lN"),d=a("ep"),f=k.define("Model3DPlayer",h,function(){h.call(this,"model");this.Aq=this.$Y=this.ri=!1;this.O=this.j=null;this.Xb=this.nf=0;this.Jd=e.Ap(this.ih,this);this.N8=new c(this,"buttonToggleSprites",d.Oj);this.N8.bind(l.Lj,function(){this.set("spritesEnabled",!0)},this);this.N8.bind(l.Gl,function(){this.set("spritesEnabled",!1)},this);this.N8.set("pressed",
this.get("spritesEnabled"))});f.prototype.play=function(){this.GE()};f.prototype.pause=function(){this.FE()};f.prototype.stop=function(){this.AA()};f.prototype.restart=function(){this.zA()};f.prototype.getModelPixelScale=function(){return this.tTa()};f.prototype.captureToDataURL=function(){return this.j&amp;&amp;this.j.Dha()};f.prototype.saveScreenshot=function(){return this.j&amp;&amp;this.j.GG()};f.prototype.set=function(n,q){if(this.get(n)!=q){switch(n){case "model":this.$Y=!0;this.set("requesterPlayer",null);
this.Jd();break;case "viewerArea":this.ri=!0;this.Jd();break;case "displayPlaybackBar":this.Aq=!0,this.Jd()}h.prototype.set.call(this,n,q)}};f.prototype.get=function(n,q){switch(n){case "currentTime":return this.O&amp;&amp;this.O.getTime()||0}return h.prototype.get.call(this,n,q)};f.prototype.ih=function(){this.ri&amp;&amp;(this.ri=!1,this.aw(),this.get("viewerArea")&amp;&amp;this.Zv(),this.eR(this.get("viewerArea")),this.$Y=!0);var n=!1;if(this.j&amp;&amp;(this.$Y||this.H0)){var q=this.get("model");if(q&amp;&amp;!this.j.Db()){this.Jd();
return}this.$Y=!1;this.Xb=this.nf=0;n=!0;q?(this.get("viewerArea").Pd().obb(),this.EG(this.get("requesterPlayer")?[this.get("requesterPlayer"),this]:[this]),this.O.bab(q)):this.O.Ay()}this.Aq&amp;&amp;(this.Aq=!1,n=!0);n&amp;&amp;this.Jx()};f.prototype.oK=function(){this.set("model",null)};f.prototype.Zv=function(){var n=this.get("application"),q=this.get("viewerArea");this.j=new b(n,q,this);this.j.ra({left:0,top:0,bottom:0,right:0});q.Ya(this.j);this.O=new g(q,this.j);this.O.bind(g.wC,this.hm,this);this.O.bind(g.vC,
this.uA,this);this.O.bind(g.xC,this.RP,this);this.O.bind(g.F6,this.Eva,this,!0);this.O.bind(g.Sc,this.kf,this);this.VA(!0)};f.prototype.aw=function(){this.j&amp;&amp;(this.O.unbind(g.wC,this.hm,this),this.O.unbind(g.vC,this.uA,this),this.O.unbind(g.xC,this.RP,this),this.O.unbind(g.F6,this.Eva,this,!0),this.O.unbind(g.Sc,this.kf,this),this.O.clear(),this.j.getParent().removeChild(this.j),this.j=null,this.VA(!1))};f.prototype.kf=function(n){this.xd(n.data.state)};f.prototype.hm=function(n){var q=this.get("viewerArea");
this.ee=q&amp;&amp;q.ee;this.oP(n.data.model);this.Jx()};f.prototype.RP=function(n){this.trigger(new m(f.wLa,{model:n.data.model}))};f.prototype.uA=function(n){this.ee=null;this.nP(n.data.model)};f.prototype.Eva=function(n){this.nf=n.data.time;this.Xb=n.data.duration;this.Jx()};f.prototype.Eha=function(){var n=this.get("model");return(n=(n=n&amp;&amp;n.get("camera"))&amp;&amp;n.get("doubleClickAction"))&amp;&amp;"none"!=n?!0:!1};f.prototype.uQ=function(n){this.aF(n.data.position)};f.prototype.Sk=function(){this.O&amp;&amp;this.O.play()};
f.prototype.bp=function(){this.O&amp;&amp;this.O.stop()};f.prototype.br=function(){this.O&amp;&amp;this.O.pause()};f.prototype.aF=function(n){this.O&amp;&amp;this.O.setTime(n)};f.prototype.tTa=function(){return this.O&amp;&amp;this.O.eT()};f.prototype.Jx=function(){if(this.j){var n=this.j.getParent();0&lt;this.Xb&amp;&amp;this.get("displayPlaybackBar")?n.ra({playbackBarPosition:this.nf,playbackBarDuration:this.Xb,playbackBarVisible:!0}):n.set("playbackBarVisible",!1)}};f.wLa="preloadMediaShow";return f});
define("pS","require py lu ol dn iL".split(" "),function(a){var e=a("py"),l=a("lu"),m=a("ol"),k=a("dn"),c=a("iL");a=m.define("Model3DPlayListItem",c,function(){c.call(this)});a.prototype.start=function(){c.prototype.start.call(this);var h=this.get("player");h&amp;&amp;(h.bind(k.sh,this.hm,this),h.get("model")==this.get("media")&amp;&amp;this.get("media").get("isLoaded")?this.hm():h.set("model",this.get("media")))};a.prototype.stop=function(){var h=this.get("player");h&amp;&amp;(h.unbind(k.sh,this.hm,this),h.get("model")==
this.get("media")&amp;&amp;h.set("model",null));c.prototype.stop.call(this)};a.prototype.hm=function(h){h&amp;&amp;h.data.media!=this.get("media")||(this.get("player").unbind(k.sh,this.hm,this),this.get("player").bind(k.Vm,this.uA,this),this.E2a())};a.prototype.E2a=function(){var h=this.get("media").get("camera").get("sequences",[]).find(function(g){return g.get("internal")&amp;&amp;g.get("state")==l.PLAYING});h?h.bind(e.Gb,this.swa,this,!0):this.jB()};a.prototype.swa=function(h){h.source.unbind(e.Gb,this.swa,this,!0);this.jB()};
a.prototype.uA=function(h){h.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(k.Vm,this.uA,this),this.stop(),this.end())};return a});define("qf",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Model3DPointer",e,function(){e.call(this)})});define("ja",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Menu",e,function(){e.call(this)})});define("q",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("MenuItem",e,function(){e.call(this)})});
define("dU",["require","ol","fu"],function(a){var e=a("ol"),l=a("fu");return e.define("MotionBlurModel3DPostprocessing",l,function(){l.call(this)})});define("lc",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("MovementPhotoCamera",e,function(){e.call(this)})});define("pO",["require"],function(){var a={rC:"drag_acceleration",bv:"drag_rotation"};a.cna=a.rC;a.Vna=a.bv;return a});
define("pP",["require","lS","cI"],function(a){var e=a("lS"),l=a("cI");return e.extend(l,function(m){l.call(this,m);this.ZL=this.HM=this.sy=this.Qy=0})});define("og",["require","lS","cI"],function(a){var e=a("lS"),l=a("cI");return e.extend(l,function(m){l.call(this,m);this.Ria=this.V6a=0})});
define("fE","require lS es py cI gE pO pP og".split(" "),function(a){function e(q,p){return q*p}function l(q,p){var r=0&lt;p?1:-1;return r*(Math.pow(q,r*p)-1)/(q-1)}function m(q,p){return Math.min(Math.max(q/p,-1),1)}var k=a("lS");a("es");var c=a("py"),h=a("cI"),g=a("gE"),b=a("pO"),d=a("pP"),f=a("og"),n=k.extend(g,function(){g.call(this);this.Ota=this.Pta=1800;this.PVa=this.D0a=0;this.QO=!1;this.Wo=void 0;this.sE=b.cna;this.zza=b.Vna;this.eO=0;this.$_=void 0;this.lp=!1;this.bI=null;this.WD=3;this.Wa=
90;this.m$=this.hF=this.Rc=1;this.ee=this.ib=null;this.tQ=!1});n.prototype.setCamera=function(q){this.Pta=q.get("manualRotationSpeed");this.Ota=q.get("manualRotationSpeed");this.WD=q.get("manualZoomSpeed");this.m$=q.get("draggingFactor")};n.prototype.YB=function(q){this.sE=q;this.uga()};n.prototype.UG=function(q){this.zza=q;this.uga()};n.prototype.NG=function(q){this.Wa=q;this.hF=this.Wa/90};n.prototype.ns=function(q){this.Am();if(q){this.ib=q;if(this.ee=q.P5a&amp;&amp;q.ee)this.ee.bind(c.hb,this.Rwa,this,
!0),this.ee.bind(c.Eb,this.Swa,this,!0);this.ib.bind(c.hb,this.ce,this,!0);this.ib.bind(c.Pb,this.Zj,this,!0);this.ib.bind(c.Eb,this.$j,this,!0);this.ib.bind(c.Gs,this.tE,this,!0);!1!==this.ib.Db().get("settings").get(TDV.PlayerSettings.xMa)&amp;&amp;this.ib.bind(c.xH,this.QD,this,!0);this.ib.bind(c.bz,this.Lra,this,!0);this.ib.bind(c.wH,this.Ira,this,!0);this.uga()}};n.prototype.Am=function(){null!=this.ib&amp;&amp;(this.ee&amp;&amp;(this.ee.unbind(c.hb,this.Rwa,this),this.ee.unbind(c.Eb,this.Swa,this),this.ee=null),this.ib.unbind(c.hb,
this.ce,this),this.ib.unbind(c.Pb,this.Zj,this),this.ib.unbind(c.Eb,this.$j,this),this.ib.unbind(c.Gs,this.tE,this),this.ib.unbind(c.xH,this.QD,this),this.ib.unbind(c.bz,this.Lra,this),this.ib.unbind(c.wH,this.Ira,this),this.ib=null,this.AX())};n.prototype.uga=function(){this.ib&amp;&amp;(this.ib.Go?(this.$_=this.zza,this.eO=this.D0a):(this.$_=this.sE,this.eO=this.PVa))};n.prototype.Rwa=function(){this.tQ=!0};n.prototype.Swa=function(){this.tQ=!1};n.prototype.ce=function(q){this.tQ||(this.V_a(q),this.jfa())};
n.prototype.Zj=function(q){this.tQ||this.zK(q)};n.prototype.$j=function(){this.tQ||(this.y$(),this.AX())};n.prototype.tE=function(q){this.Ega(q);this.jfa(500)};n.prototype.Lra=function(){this.jfa()};n.prototype.QD=function(q){this.Fga(q)};n.prototype.Ira=function(){this.AX()};n.prototype.V_a=function(q){this.QO=!0;this.Wo=q;this.zK(q)};n.prototype.zK=function(q){if(this.QO)switch(this.$_){case b.rC:this.i2a(q);break;case b.bv:this.h2a(q)}};n.prototype.i2a=function(q){var p=this.xAa,r=q.x-this.Wo.x;
r=+e(l(10,m(3&gt;Math.abs(r)?0:r,this.ib.Za())),this.Pta*this.hF);q=q.y-this.Wo.y;p.call(this,r,-e(l(10,m(3&gt;Math.abs(q)?0:q,this.ib.Cb())),this.Ota*this.hF))};n.prototype.h2a=function(q){this.tga(-e(m(q.x-this.Wo.x,this.ib.Za()),this.Wa*this.m$),+e(m(q.y-this.Wo.y,this.ib.Za()),this.Wa*this.m$));this.Wo=q};n.prototype.y$=function(){if(this.QO)switch(this.QO=!1,this.$_){case b.rC:this.xAa(0,0)}};n.prototype.xAa=function(q,p){var r=new d(n.fv);r.Qy=q;r.sy=p;this.trigger(r)};n.prototype.tga=function(q,
p){var r=new d(n.fv);r.HM=q;r.ZL=p;this.trigger(r)};n.prototype.Fga=function(q){if(this.Rc!=q.scale){this.y$();var p=this.Rc;this.Rc=q.scale;q=new f(n.Up);q.Ria=this.Wa*p/this.Rc-this.Wa;this.trigger(q)}};n.prototype.Ega=function(q){if(0!=q.delta){this.y$();var p=new f(n.Up);p.Ria=this.Wa*-q.delta*this.WD/100;this.trigger(p)}};n.prototype.jfa=function(q){var p=null!=this.bI;this.aza();if(q&amp;&amp;(p||!this.lp)){var r=this;this.bI=setTimeout(function(){r.bI=null;r.AX()},q)}this.lp||(this.lp=!0,this.trigger(new h(n.gj)))};
n.prototype.AX=function(){this.aza();this.lp&amp;&amp;(this.lp=!1,this.trigger(new h(n.fj)))};n.prototype.aza=function(){null!=this.bI&amp;&amp;(clearTimeout(this.bI),this.bI=null)};n.fv="rotation change";n.Up="zoom change";n.gj="user interaction start";n.fj="user interaction end";return n});
define("dJ",["require","w"],function(a){function e(){this.iF=m.qb()?.066:.1;this.SVa=.5;this.G_a=m.qb()?.066:.1;this.P2a=.1;this.F0=this.L0=!1;this.reset()}function l(k,c,h){k=(c-k)*(1-h);.01&gt;Math.abs(k)&amp;&amp;(k=0);return c-k}var m=a("w");e.prototype.reset=function(){this.Iqa=this.G9=this.uI=this.Nz=this.XN=this.K9=this.J9=this.O9=this.UI=this.WD=this.V_=this.X_=this.er=this.sQ=this.Zt=this.iS=0};e.prototype.mla=function(k,c,h,g,b,d,f,n,q){return this.iS!=k||(this.sQ=c)||this.X_!=h||0!=g||0!=b||this.F0!=
f||this.jua!=n||this.L0!=q?(this.iS=k,this.sQ=c,this.X_=h,this.Zt+=g,this.er+=b,this.V_+=d,this.F0=f,this.jua=n,this.L0=q,!0):!1};e.prototype.abb=function(k,c){return this.WD!=k||0!=c?(this.WD=k,this.UI+=c,!0):!1};e.prototype.rf=function(){return 0!=this.O9||0!=this.J9||0!=this.K9||0!=this.XN||0!=this.iS||0!=this.sQ||0!=this.X_||0!=this.WD||0!=this.Zt||0!=this.er||0!=this.UI};e.prototype.Fb=function(k){k=1E3/k;var c=this.O9/k,h=this.iS/k+this.Zt;this.Zt=0;var g=this.J9/k,b=this.sQ/k+this.er;this.er=
0;var d=this.K9/k,f=this.X_/k+this.V_;this.V_=0;var n=this.WD+this.UI*k;this.UI=0;var q=0==h&amp;&amp;0==b&amp;&amp;0==f,p=0==c&amp;&amp;0==g&amp;&amp;0==d;this.F0&amp;&amp;p&amp;&amp;!q||this.L0&amp;&amp;q&amp;&amp;!p||this.jua&amp;&amp;!q&amp;&amp;!p?(q=q?this.iF:p?this.G_a:this.SVa,this.Nz=l(c,h,q),this.uI=l(g,b,q),this.G9=l(d,f,q)):(this.Nz=h,this.uI=b,this.G9=f);c=0==this.XN;h=0==n;this.XN=this.F0&amp;&amp;c&amp;&amp;!h||this.L0&amp;&amp;h&amp;&amp;!c?l(this.XN,n,this.P2a):n;this.O9=this.Nz*k;this.J9=this.uI*k;this.K9=this.G9*k;this.Iqa=this.XN/k};return e});
define("dm","require jquery.mod lS e fE dJ bn py".split(" "),function(a){var e=a("jquery.mod"),l=a("lS"),m=a("e"),k=a("fE"),c=a("dJ"),h=a("bn"),g=a("py");a=l.extend(m,function(){m.call(this);this.Re("Renderer");this.T=e("&lt;canvas&gt;&lt;/canvas&gt;");this.T.css({position:"absolute",left:0,top:0});this.Yb().append(this.T);this.fA=null;this.Ka=this.YI=this.WI=this.XI=0;this.Uk=!1;this.LXa=150;this.HO=0;this.tn=null;this.bind(g.tc,this.Ic,this,!0);this.vb=new k;this.vb.reb(720);this.vb.vU(0);this.vb.YB("drag_rotation");
this.vb.NG(360);this.vb.bind(k.fv,this.YWa,this);this.nc=new c});a.prototype.I$a=function(b,d,f){this.fA=b;this.XI=d;this.WI=f;this.YI=Math.floor(this.fA.length*this.Ka/360);this.rea();this.vb.ns(this);this.Sa()};a.prototype.S3a=function(){this.fA=null;this.Ot();this.rea();this.vb.Am()};a.prototype.play=function(){this.Uk=!0;this.Sa()};a.prototype.YWa=function(b){this.Ot();this.nc.mla(b.Qy,b.sy,0,b.HM,b.ZL,0,!1,!0);this.Sa()};a.prototype.Mca=function(){this.play()};a.prototype.ck=function(b){this.fA&amp;&amp;
(this.nc.rf()?(this.Uk=!1,this.nc.Fb(b),this.$oa(this.nc.Nz),this.Sa()):this.Uk?(this.$oa(this.LXa*b/1E3),this.Sa()):this.$I()||this.pR())};a.prototype.Qm=function(b){for(this.Ka=b;0&gt;this.Ka;)this.Ka+=360;for(;360&lt;=this.Ka;)this.Ka-=360;this.F1a()};a.prototype.F1a=function(){if(this.fA){var b=Math.floor(this.fA.length*this.Ka/360);this.YI!=b&amp;&amp;(this.YI=b,this.qxa())}};a.prototype.$oa=function(b){this.Qm(this.Ka+b)};a.prototype.Ic=function(){this.rea()};a.prototype.rea=function(){var b=this.T.get(0);
if(0==this.XI||0==this.WI)b.width=0,b.height=0;else{var d=this.Bf(),f=this.Af();f*this.XI&gt;d*this.WI?(b.width=d,b.height=this.WI*d/this.XI):(b.height=f,b.width=this.XI*f/this.WI);this.T.css({left:Math.round(.5*(d-b.width))+"px",top:Math.round(.5*(f-b.height))+"px"});this.qxa()}};a.prototype.qxa=function(){if(this.fA){var b=this.T.get(0);b.getContext("2d").drawImage(this.fA[this.YI],0,0,this.XI,this.WI,0,0,b.width,b.height)}};a.prototype.$I=function(){return this.tn?!0:!1};a.prototype.pR=function(){this.Ot();
if(0&lt;this.HO){var b=this;this.tn=setTimeout(function(){b.tn=null;b.Mca()},this.HO)}};a.prototype.Ot=function(){this.tn&amp;&amp;(clearTimeout(this.tn),this.tn=null)};a.prototype.Sa=function(){h.requestFrame(this.ck,this)};return a});
define("mV","require py ix cI ol gw B dm oR hi".split(" "),function(a){var e=a("py"),l=a("ix"),m=a("cI"),k=a("ol"),c=a("gw"),h=a("B"),g=a("dm"),b=a("oR"),d=a("hi");a=k.define("Object3D",b,function(){b.call(this);this.Bd=this.An=this.mi=this.j=null;this.bind(e.jd,this.tj,this);this.bind(e.cd,this.sj,this)});a.prototype.Hb=function(){b.prototype.Hb.call(this);this.j||(this.j=new g,this.j.ra({left:0,top:0,right:0,bottom:0}),this.Ya(this.j));this.mi||(this.mi=new h,this.mi.ra({left:0,bottom:0,right:0,
height:20,visible:!1}),this.Ya(this.mi))};a.prototype.tj=function(){this.Xba()};a.prototype.sj=function(){this.bp()};a.prototype.Xba=function(){this.mi.set("percent",0);this.mi.set("visible",!0);this.j.Qm(this.get("yaw"));var f=this.get("frames",[]);this.An=[];this.Bd=[];for(var n=0;n&lt;f.length;n++){var q=c.Sr(f[n]);this.An.push(q);q=new d(l.Bl);q.bind(e.ea,this.PP,this);q.bind(e.xc,this.QP,this);this.Bd.push(q)}for(n=0;n&lt;f.length;n++)this.Bd[n].load(this.An[n].get("url"))};a.prototype.PP=function(){var f=
this.Bd.filter(function(n){return n.Lh()});this.mi.set("percent",100*f.length/this.Bd.length);f.length==this.Bd.length&amp;&amp;this.Cd()};a.prototype.QP=function(){};a.prototype.Cd=function(){this.mi.set("visible",!1);var f=this.An[0].get("width",this.Bd[0].Fe()),n=this.An[0].get("height",this.Bd[0].Ue()),q=this.Bd.map(function(p){return p.Cf()});this.j.I$a(q,f,n);this.trigger(new m(e.ea))};a.prototype.bp=function(){this.Bd&amp;&amp;(this.mi.set("visible",!1),this.j.S3a(),this.Bd=this.Bd.forEach(function(f){f.unbind(e.ea,
this.PP,this);f.unbind(e.xc,this.QP,this);f.cancel()}),this.An=this.Bd=null)};return a});define("hc",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("RotationalCameraPosition",e,function(l,m,k){e.call(this);void 0!==l&amp;&amp;this.set("yaw",l);void 0!==m&amp;&amp;this.set("pitch",m);void 0!==k&amp;&amp;this.set("hfov",k)})});define("mZ",["require","hc","ol"],function(a){var e=a("hc");return a("ol").define("PanoramaCameraPosition",e,function(){e.apply(this,arguments)})});
define("hK",["require","mw","ol","mZ","hc"],function(a){var e=a("mw"),l=a("ol"),m=a("mZ"),k=a("hc"),c=l.define("RotationalCamera",e,function(){e.call(this);this.set("initialPosition",new k)});return l.define("PanoramaCamera",c,function(){c.call(this);this.set("initialPosition",new m)})});define("ml",["require","hc","ol"],function(a){var e=a("hc");return a("ol").define("RotationalCameraDisplayPosition",e,function(){e.apply(this,arguments)})});
define("lt",["require","ml","ol"],function(a){var e=a("ml");return a("ol").define("PanoramaCameraDisplayPosition",e,function(){e.apply(this,arguments)})});define("fm",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaCameraMovement",e,function(){e.call(this)})});
define("fe",["require","mw","cI","ol","py"],function(a){var e=a("mw"),l=a("cI"),m=a("ol"),k=a("py");a=m.define("RotationalCameraSequence",e,function(){e.call(this)});a.prototype.play=a.prototype.play=function(){this.trigger(new l(k.lz))};a.prototype.pause=a.prototype.pause=function(){this.trigger(new l(k.FH))};return a});define("bU",["require","ol","fe"],function(a){var e=a("ol"),l=a("fe");return e.define("PanoramaCameraSequence",l,function(){l.call(this)})});
define("iZ",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaMapLocation",e,function(){e.call(this)})});define("bp",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaModel3DLocation",e,function(){e.call(this)})});define("pQ",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaOverlay",e,function(){e.call(this)})});
define("nQ",["require","lu","hG","a"],function(a){function e(c){this.j=c;this.nq=[];this.Faa=!1;this.wb=this.Ka=0}var l=a("lu"),m=a("hG"),k=a("a");e.prototype.clear=function(){this.stop();this.nq=this.j=null};e.prototype.end=function(c){var h=[],g=[],b=this.wsa(c);this.nq.forEach(function(d){0&gt;b.indexOf(d)?h.push(d):g.push(d)});h.forEach(function(d){d.XF().Xc(l.V)});this.nq=g;this.Faa=!1};e.prototype.start=function(c){this.end(c);this.nq=this.wsa(c);this.Faa=0&lt;this.nq.filter(function(h){return h instanceof
m}).length;this.Vza();this.i0(l.PLAYING,!0)};e.prototype.play=function(){this.i0(l.PLAYING)};e.prototype.pause=function(){this.i0(l.Qb)};e.prototype.stop=function(){this.i0(l.V)};e.prototype.Nd=function(){this.Ka=this.j.Oc();this.wb=this.j.Nc();this.Vza()};e.prototype.Vza=function(){if(this.Faa){var c=Math.PI/180,h=this.Ka*c,g=this.wb*c,b=new k(Math.sin(h)*Math.cos(g),Math.sin(g),Math.cos(h)*Math.cos(g));this.nq.forEach(function(d){if(d instanceof m){var f=d.get("yaw",h)*c,n=d.get("pitch",g)*c,q=
d.get("maximumAngle",360)*c;f=new k(Math.sin(f)*Math.cos(n),Math.sin(n),Math.cos(f)*Math.cos(n));q=Math.min(1,Math.max(0,1-Math.acos(b.QF(f))/q));d.XF().Hy(q)}}.bind(this))}};e.prototype.wsa=function(c){return c?c.get("audios",[]):[]};e.prototype.i0=function(c,h){(h?this.nq.slice().reverse():this.nq).forEach(function(g){if(g.get("autoplay",!1)){g=g.XF();var b=g.getState();c==l.PLAYING&amp;&amp;b!=l.PLAYING?g.Xc(l.PLAYING):c==l.Qb&amp;&amp;b==l.PLAYING?g.Xc(l.Qb):c==l.V&amp;&amp;b!=l.V&amp;&amp;g.Xc(l.V)}})};return e});
define("fC",["require"],function(){function a(b){b%=m;0&gt;b&amp;&amp;(b+=m);return h[b*k|0]}function e(b){b%=m;0&gt;b&amp;&amp;(b+=m);return c[b*k|0]}function l(){this.identity()}l.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.tz=this.Qh=this.Ph=0};l.prototype.clone=function(){var b=new l;b.m11=this.m11;b.m12=this.m12;b.m13=this.m13;b.m21=this.m21;b.m22=this.m22;b.m23=this.m23;b.m31=this.m31;b.m32=this.m32;b.m33=this.m33;b.Ph=this.Ph;b.Qh=
this.Qh;b.tz=this.tz;return b};l.prototype.concat=function(b){var d=this.m11,f=this.m12,n=this.m13,q=this.m21,p=this.m22,r=this.m23,t=this.m31,u=this.m32,v=this.m33,w=this.Ph,x=this.Qh,y=this.tz;this.m11=d*b.m11+f*b.m21+n*b.m31;this.m12=d*b.m12+f*b.m22+n*b.m32;this.m13=d*b.m13+f*b.m23+n*b.m33;this.m21=q*b.m11+p*b.m21+r*b.m31;this.m22=q*b.m12+p*b.m22+r*b.m32;this.m23=q*b.m13+p*b.m23+r*b.m33;this.m31=t*b.m11+u*b.m21+v*b.m31;this.m32=t*b.m12+u*b.m22+v*b.m32;this.m33=t*b.m13+u*b.m23+v*b.m33;this.Ph=w*
b.m11+x*b.m21+y*b.m31+b.Ph;this.Qh=w*b.m12+x*b.m22+y*b.m32+b.Qh;this.tz=w*b.m13+x*b.m23+y*b.m33+b.tz};l.prototype.translate=function(b,d,f){this.Ph+=b;this.Qh+=d;this.tz+=f};l.prototype.scale=function(b,d,f){this.m11*=b;this.m12*=d;this.m13*=f;this.m21*=b;this.m22*=d;this.m23*=f;this.m31*=b;this.m32*=d;this.m33*=f;this.Ph*=b;this.Qh*=d;this.tz*=f};l.prototype.rotateX=function(b){var d=a(b);b=e(b);var f=this.m12*d+this.m13*b,n=this.m22*b-this.m23*d,q=this.m22*d+this.m23*b,p=this.m32*b-this.m33*d,r=
this.m32*d+this.m33*b,t=this.Qh*b-this.tz*d,u=this.Qh*d+this.tz*b;this.m12=this.m12*b-this.m13*d;this.m13=f;this.m22=n;this.m23=q;this.m32=p;this.m33=r;this.Qh=t;this.tz=u};l.prototype.rotateY=function(b){var d=a(b);b=e(b);var f=-this.m11*d+this.m13*b,n=this.m21*b+this.m23*d,q=-this.m21*d+this.m23*b,p=this.m31*b+this.m33*d,r=-this.m31*d+this.m33*b,t=this.Ph*b+this.tz*d,u=-this.Ph*d+this.tz*b;this.m11=this.m11*b+this.m13*d;this.m13=f;this.m21=n;this.m23=q;this.m31=p;this.m33=r;this.Ph=t;this.tz=u};
l.prototype.rotateZ=function(b){var d=a(b);b=e(b);var f=this.m11*d+this.m12*b,n=this.m21*b-this.m22*d,q=this.m21*d+this.m22*b,p=this.m31*b-this.m32*d,r=this.m31*d+this.m32*b,t=this.Ph*b-this.Qh*d,u=this.Ph*d+this.Qh*b;this.m11=this.m11*b-this.m12*d;this.m12=f;this.m21=n;this.m22=q;this.m31=p;this.m32=r;this.Ph=t;this.Qh=u};l.prototype.rotate=function(b,d,f){this.rotateX(b);this.rotateY(d);this.rotateZ(f)};l.prototype.invert=function(){var b=this.y5a();if(0==b)return!1;var d=this.clone();this.m11=
(d.m22*d.m33-d.m23*d.m32)/b;this.m12=(d.m13*d.m32-d.m12*d.m33)/b;this.m13=(d.m12*d.m23-d.m13*d.m22)/b;this.m21=(d.m23*d.m31-d.m21*d.m33)/b;this.m22=(d.m11*d.m33-d.m13*d.m31)/b;this.m23=(d.m13*d.m21-d.m11*d.m23)/b;this.m31=(d.m21*d.m32-d.m22*d.m31)/b;this.m32=(d.m12*d.m31-d.m11*d.m32)/b;this.m33=(d.m11*d.m22-d.m12*d.m21)/b;this.Ph=-(d.Ph*this.m11+d.Qh*this.m21+d.tz*this.m31);this.Qh=-(d.Ph*this.m12+d.Qh*this.m22+d.tz*this.m32);this.tz=-(d.Ph*this.m13+d.Qh*this.m23+d.tz*this.m33);return!0};l.prototype.y5a=
function(){return this.m11*(this.m22*this.m33-this.m23*this.m32)+this.m12*(this.m23*this.m31-this.m21*this.m33)+this.m13*(this.m21*this.m32-this.m22*this.m31)};l.prototype.QK=function(b){var d=b.x*this.m12+b.y*this.m22+b.z*this.m32+this.Qh,f=b.x*this.m13+b.y*this.m23+b.z*this.m33+this.tz;b.x=b.x*this.m11+b.y*this.m21+b.z*this.m31+this.Ph;b.y=d;b.z=f};for(var m=2*Math.PI,k=18E4/m,c=new Float32Array(180001),h=new Float32Array(180001),g=0;18E4&gt;g;g++)c[g]=Math.cos(g/k),h[g]=Math.sin(g/k);c[18E4]=c[0];
h[18E4]=h[0];return l});define("dP",["require"],function(){return{Uu:0,ab:1,ub:2}});
define("cg",["require","ol","mn"],function(a){var e=a("ol"),l=a("mn"),m={get:function(k){return k.vNa||(k.vNa=this.aSa(k))},aSa:function(k){if(e.Ja("CubicPanoramaFrame",k))return k.get("stereoCube")?m.nz:k.get("cube")?m.lv:m.Cl;if(e.Ja("SphericPanoramaFrame",k)){var c=k.get("stereoSphere"),h=k.get("sphere"),g=k.get("hfov");k=k.get("vfov");var b=359.9&lt;g&amp;&amp;179.9&lt;k,d=!1;c&amp;&amp;!h?d=!0:c?h&amp;&amp;!c.get("levels").some(l.QJa)?d=!1:b&amp;&amp;l.E3a()?d=!0:!b&amp;&amp;l.D3a()&amp;&amp;(d=!0):d=!1;return d?(c=c.get("levels"),h=Math.max.apply(Math,
c.map(function(f){return f.get("width")})),1&lt;Math.max.apply(Math,c.map(function(f){return f.get("height")}))/k/(h/g)?m.hq:m.Ms):m.Yp}},nz:"stereoCube_12_1",lv:"monoCube_6_1",Cl:"monoCube_1_1",Yp:"monoSphere_1_1",hq:"stereoSphere_1_2",Ms:"stereoSphere_2_1"};return m});
define("nV","require ol mF dP np cg kR mn w iE mS mK hi oT".split(" "),function(a){function e(K,N,R){return K.split(N).join(R).split(encodeURI(N)).join(R)}function l(K,N){return 0&lt;=K.indexOf(N)||0&lt;=K.indexOf(encodeURI(N))}function m(){var K=D.hy()&amp;&amp;I.lg("recent_ipad_use_max_res",!1);m=function(){return K};return K}function k(K){if(0==K.length)return 1;K.sort(function(N,R){return R.get("width")-N.get("width")});return K[0].get("width")/K[0].get("height")}function c(K,N){var R=1E4;m()||(D.Sf()?R=2048:
D.hy()?R=1280:D.qb()&amp;&amp;(R=1024));switch(K){case z.lv:return[6*R,R];case z.Cl:return[R,R];case z.nz:return[12*R,R]}switch(K){case z.hq:N*=2;break;case z.Ms:N*=.5}return 2&lt;N?[4*R,4*R/N]:[2*R*N,2*R]}function h(K){if(m())return[void 0,void 0];switch(K){case z.lv:if(D.Sf()||D.qb())return[18432,1536];break;case z.hq:if(D.Sf())return[5352,5352];if(D.qb())return[6086,6086];break;case z.Yp:if(D.Sf())return[7168,3584];if(D.qb()&amp;&amp;D.hy())return[8192,4096]}return[void 0,void 0]}function g(K,N){var R=h(N);N=K.filter(function(X){return v.Ja("TiledImageResourceLevel",
X)?!0:void 0!==R[0]&amp;&amp;X.get("width")&gt;R[0]||void 0!==R[1]&amp;&amp;X.get("height")&gt;R[1]?!1:!0});0==N.length&amp;&amp;(N=[d(K)[0]]);return N}function b(){return D.hy()?[w.Sna]:D.z3()||D.A3()?D.sc()==D.zs||D.sc()==D.Uy?[w.WV,w.B7]:[w.B7,w.WV]:D.Sf()?[w.WV]:D.qb()?[w.VV]:[]}function d(K){K.sort(function(N,R){return N.get("width")-R.get("width")});return K}function f(K,N){function R(X){return Math.abs(X.get("width")*X.get("height")-N[0]*N[1])}K.sort(function(X,ba){return R(X)-R(ba)});return K.length&amp;&amp;K[0]||null}function n(K,
N,R){K=K.filter(function(X){return 0&gt;X.get("tags").indexOf(N)});return K.length?K:void 0!==R?R:[]}function q(K,N,R){K=K.filter(function(X){return 0&lt;=X.get("tags").indexOf(N)});return K.length?K:void 0!==R?R:[]}function p(K,N,R){switch(R){case z.nz:case z.lv:case z.Cl:return K;case z.Yp:case z.Ms:return K*N.get("hfov",180)/90;case z.hq:return K*N.get("hfov",180)*2/90}}function r(K,N){switch(N){case z.nz:return K.get("stereoCube").get("levels");case z.lv:return K.get("cube").get("levels");case z.Cl:return K.get("front").get("levels");
case z.Yp:return K.get("sphere").get("levels");case z.hq:case z.Ms:return K.get("stereoSphere").get("levels")}}function t(K,N){var R=r(K,N),X=K.get("minFaceSize");if(X){var ba=p(X,K,N);K=R.filter(function(da){return da.get("height")&gt;=ba});0&lt;K.length&amp;&amp;(R=K)}return R}function u(K){for(var N=[],R=0;R&lt;K.length;R++){var X=K[R];0&gt;N.indexOf(X)&amp;&amp;N.push(X)}return N}var v=a("ol"),w=a("mF"),x=a("dP"),y=a("np"),z=a("cg"),B=a("kR");a("mn");var D=a("w");a("iE");var I=a("mS"),A=a("mK"),E=a("hi"),J=a("oT"),C={BDa:function(K){K=
K.get("frames");if(0==K.length)return 1;var N=K[0];K=z.get(N)==z.Yp&amp;&amp;N.Fm()?(K=J.mk(N.get("sphere")))?[K]:[]:z.get(N)!=z.hq&amp;&amp;z.get(N)!=z.Ms||!N.Fm()?C.Dia(N,!1):(K=J.mk(N.get("stereoSphere")))?[K]:[];return Math.max.apply(Math,K.map(function(R){return C.c6a(N,R)}).concat([1]))},c6a:function(K,N){N=C.wia(K,N,y.FRONT);N=N.get("width");var R=K.tB().get("hfov",360);switch(z.get(K)){case z.nz:return N/1080;case z.lv:return N/540;case z.Cl:return N/90;case z.Yp:return N/R;case z.hq:return N/R;case z.Ms:return N/
(2*R)}},Xia:function(K,N){K=C.Vn(K,N);return 6&gt;=K.length&amp;&amp;K.every(function(R){return E.z5(R)})},mka:function(K,N){return C.Vn(K,N).every(function(R){return E.z5(R)})},Vn:function(K,N,R){if(!K)return[];R||(R=!1);if(v.Ja("Panorama",K))return R=K.get("flipImageHorizontally",!1),u([].concat(Array.prototype.concat.apply([],K.get("frames").map(function(Q){return C.Vn(Q,N,R)})),Array.prototype.concat.apply([],K.get("overlays").map(function(Q){return C.Vn(Q,N,R)}))));if(v.Ja("PanoramaFrame",K)){var X=Array.prototype.concat.apply([],
K.get("overlays").map(function(Q){return C.Vn(Q,N,R)}));if(z.get(K)==z.Yp&amp;&amp;K.Fm())return C.Vn(J.mk(K.get("sphere")),N).concat(X);if((z.get(K)==z.hq||z.get(K)==z.Ms)&amp;&amp;K.Fm())return C.Vn(J.mk(K.get("stereoSphere")),N).concat(X);var ba=C.Dia(K,N)[0];R=K.get("flipImageHorizontally",!1);if(z.get(K)==z.Cl){var da=[y.FRONT,y.ab,y.BACK,y.ub,y.Ec,y.wc];return Array.prototype.concat.apply([],da.map(function(Q){return(Q=C.wia(K,ba,Q))?C.Vn(Q,N,R):[]})).concat(X)}return C.Vn(ba,N,R).concat(X)}if(v.Ja("Video360ResourceLevel",
K))return(X=K.get("posterURL"))?[X]:[];if(v.Ja("HotspotPanoramaOverlay",K))return K.get("projected")?Array.prototype.concat.apply([],K.get("items").map(function(Q){return C.Vn(Q,N,R)})):[];if(v.Ja("FlatHotspotPanoramaOverlayImage",K)||v.Ja("HotspotPanoramaOverlayImage",K))return X=K.get("image").get("levels"),ba=X[0],C.Vn(ba,N,R),Array.prototype.concat.apply([],X.map(function(Q){return C.Vn(Q,N,R)}));if(v.Ja("TiledImageResourceLevel",K)){var ea=[];X=Math.round(K.get("width")/K.get("height"));if(1==
X)var G=z.Cl;else if(12==X)G=z.fdb;else if(6==X)G=z.lv;else return[];var P=12==X?[x.ub,x.ab]:[x.Uu];da=[y.ub,y.ab,y.Ec,y.wc,y.FRONT,y.BACK];var T=K.get("colCount",X)/X,M=K.get("rowCount",1);P.forEach(function(Q){da.forEach(function(Y){for(var aa=0;aa&lt;M;aa++)for(var ca=0;ca&lt;T;ca++)ea.push(C.RDa(K,G,Q,Y,R,M,aa,ca))})});return ea}return v.Ja("ImageResourceLevel",K)?[K.get("url")]:[]},Dia:function(K,N){var R=z.get(K),X=this.RSa(K);if(X)return N&amp;&amp;!this.hta(X)&amp;&amp;(K=this.Csa(K),K!=X)?[K,X]:[X];X=q(t(K,R),
w.C7);if(0&lt;X.length)return d(X);X=this.GTa(K);return N&amp;&amp;!this.hta(X)&amp;&amp;(K=this.Csa(K),K!=X)?[K,X]:[X]},y7a:function(K){return 0&lt;=K.get("tags").indexOf(w.C7)},wia:function(K,N,R){if(z.get(K)!=z.Cl)return N;switch(R){case y.FRONT:var X=K.get("front");break;case y.ab:X=K.get("left");break;case y.BACK:X=K.get("back");break;case y.ub:X=K.get("right");break;case y.Ec:X=K.get("top");break;case y.wc:X=K.get("bottom")}K=X&amp;&amp;X.get("levels")||[];if(0==K.length)return null;K=K.filter(function(ba){return ba.get("width")==
N.get("width")&amp;&amp;ba.get("height")==N.get("height")&amp;&amp;ba.get("grayscale",!1)==N.get("grayscale",!1)&amp;&amp;ba.get("colCount",1)==N.get("colCount",1)&amp;&amp;ba.get("rowCount",1)==N.get("rowCount",1)});return K[0]},RDa:function(K,N,R,X,ba,da,ea,G){K=K.get("url");var P=0;l(K,"{eye}")?K=e(K,"{eye}",W[R]):P+=6*(ba?U:S)[R];l(K,"{face}")?K=e(K,"{face}",V[X]):N!=z.Cl&amp;&amp;(P+=L[X]);K=e(K,"{row}",ea);return K=e(K,"{column}",G+P*da)},e6a:function(K,N){return C.wO(C.SD(K.get("image")),90,90,A.Th,N)},v5a:function(K,N){return C.wO(C.SD(K.get("image")),
K.get("hfov"),K.get("vfov"),K.get("scaleMode"),N)},O5a:function(K,N){return C.wO(C.SD(K.get("image")),K.get("hfov"),K.get("vfov"),K.get("scaleMode"),N)},s6a:function(K,N){return C.wO(C.SD(K.get("image")),K.get("hfov"),K.get("vfov"),K.get("scaleMode"),N)},pDa:function(K,N){return C.wO(C.SD(K.get("image")),K.get("hfov"),K.get("vfov"),K.get("scaleMode"),N)},SD:function(K){return K&amp;&amp;K.get("levels")||[]},wO:function(K,N,R,X,ba){if(!K||!K.length)return null;K=n(K,w.Ps,K);for(var da=b(),ea=0;ea&lt;da.length;ea++)K=
q(K,da[ea],K);da=1E4;m()||(D.Sf()?da=2048:D.hy()?da=1280:D.qb()&amp;&amp;(da=1024));ea=d(K)[K.length-1];N=B.Hia(N,R,ea.get("width"),ea.get("height"),X,ba);return f(K,[N.Ve*da/90,N.vs*da/90])},G5a:function(K){var N=C.SD(K.get("image"));if(!N||!N.length)return null;N=n(N,w.Ps,N);for(var R=b(),X=0;X&lt;R.length;X++)N=q(N,R[X],N);R=d(N)[N.length-1];K=B.V2(K.get("width"),K.get("height"),R.get("width"),R.get("height"),K.get("scaleMode"));return f(N,[K.width,K.height])},h6a:function(K){var N=C.SD(K.get("image"));if(!N||
!N.length)return null;N=n(N,w.Ps,N);for(var R=b(),X=0;X&lt;R.length;X++)N=q(N,R[X],N);R=1E4;m()||(D.Sf()?R=2048:D.hy()?R=1280:D.qb()&amp;&amp;(R=1024));var ba=X=20;(K=K.get("vertices"))&amp;&amp;4==K.length&amp;&amp;(X=K[0].get("yaw"),ba=K[1].get("yaw"),ba&lt;X&amp;&amp;(ba+=360),X=ba-X,ba=K[0].get("pitch"),K=K[3].get("pitch"),ba-=K);return f(N,[X*R/90,ba*R/90])},Csa:function(K){var N=z.get(K);K=t(K,N);K=g(K,N);K=q(K,w.Ps,K);N=b();for(var R=0;R&lt;N.length;R++)K=q(K,N[R],K);return f(K,[0,0])},GTa:function(K){var N=z.get(K);K=t(K,N);K=g(K,
N);K=n(K,w.Ps,K);for(var R=b(),X=0;X&lt;R.length;X++)K=q(K,R[X],K);N=c(N,k(K));return f(K,N)},RSa:function(K){var N=b();if(0==N.length)return null;var R=z.get(K),X=t(K,R);X=g(X,R);X=n(X,w.Ps,X);K=[];for(var ba=0;ba&lt;N.length&amp;&amp;0==K.length;ba++)K=q(X,N[ba]);if(0==K.length)return null;N=c(R,k(K));return f(K,N)},hta:function(K){return 0&lt;=K.get("tags").indexOf(w.C7)?!1:D.sc()==D.Vy?!0:E.z5(K.get("url"))}},L=function(){var K={};K[y.ub]=0;K[y.ab]=1;K[y.Ec]=2;K[y.wc]=3;K[y.FRONT]=4;K[y.BACK]=5;return K}(),S=
function(){var K={};K[x.ub]=0;K[x.ab]=1;K[x.Uu]=0;return K}(),U=function(){var K={};K[x.ub]=1;K[x.ab]=0;K[x.Uu]=0;return K}(),V=function(){var K={};K[y.ub]="r";K[y.ab]="l";K[y.Ec]="u";K[y.wc]="d";K[y.FRONT]="f";K[y.BACK]="b";return K}(),W=function(){var K={};K[x.ab]="l";K[x.ub]="r";K[x.Uu]="b";return K}();return C});
define("iU","require es py lw fC a nV".split(" "),function(a){function e(q){this.j=q;this.Ba=!1;this.Mn=e.YC;this.O$=this.aE=!1;this.tf(null);this.j.bind(m.tc,this.Ic,this,!0);this.Ic()}var l=a("es"),m=a("py"),k=a("lw"),c=a("fC"),h=a("a"),g=a("nV");e.prototype.lEa=function(){return this.Mn!==e.YC};e.prototype.kEa=function(){return this.Mn&amp;e.PH?!0:!1};e.prototype.mEa=function(){return this.Mn&amp;e.QH?!0:!1};e.prototype.nEa=function(){return this.Mn&amp;e.aD?!0:!1};e.prototype.jEa=function(){return this.Mn&amp;
e.XC?!0:!1};e.prototype.Cy=function(q){this.aE=q};e.prototype.Oc=function(){this.Sn();return this.Ka};e.prototype.Nc=function(){this.Sn();return this.wb};e.prototype.eg=function(){this.Sn();return this.wd};e.prototype.Zx=function(){this.Sn();return this.Wa};e.prototype.tf=function(q){q?(this.nda=q.get("hfov",360),this.h_=q.get("vfov",180),this.oQ=q.get("pitch",0),this.HE=q.get("partial",!1),this.Iaa=q.pEa(),this.Daa=q.fEa(),this.Naa=Math.min(q.get("hfovMax",170),170),this.EO=q.get("hfovMin"),this.eca=
g.BDa(q)):(this.nda=360,this.h_=180,this.oQ=0,this.Daa=this.Iaa=this.HE=!1,this.Naa=120,this.eca=this.EO=1);this.Ka=0;this.wb=this.oQ;this.wd=0;this.Ba=!0};e.prototype.setPosition=function(q,p,r,t,u){this.Ka=q;this.wb=p;this.wd=r;this.Wa=t;this.O$=u;this.Ba=!0};e.prototype.Ic=function(){var q=this.j.Za(),p=this.j.Cb();if(this.sa!=q||this.wa!=p)this.sa=q,this.wa=p,this.Ba=!0};e.prototype.Sn=function(){if(this.Ba){this.Ba=!1;var q=this.Ka*f,p=this.wb*f,r=this.Wa*f,t=(this.O$?k.Lp(this.Naa,this.sa,this.wa):
this.Naa)*f;a:{var u=this.EO;if(l(u).isString()&amp;&amp;(u=u.match(/^\s*([+-]?\d+\.?\d*)\s*%\s*$/))&amp;&amp;2&lt;=u.length){u=parseFloat(u[1]);break a}u=void 0}u=void 0!==u?2*Math.atan2(this.sa*this.j.getPixelRatio()*.5,45*this.eca*u/100):this.EO?(this.O$?k.Lp(this.EO,this.sa,this.wa):this.EO)*f:2*Math.atan2(this.sa*this.j.getPixelRatio()*.5,45*this.eca);u=Math.min(t,u);if(this.aE){var v=360;var w=180;var x=0}else if(this.Iaa||this.Daa){v=this.Daa?90:this.oQ+.5*this.h_;var y=this.Iaa?-90:this.oQ-.5*this.h_;w=v-y;
x=.5*(v+y);v=this.nda}else v=this.nda,x=this.oQ,w=this.h_;v*=f;w*=f;x*=f;for(y=this.sa/this.wa;q&lt;-b;)q+=2*b;for(;q&gt;b;)q-=2*b;r=Math.max(Math.min(r,t),u);t=e.YC;if(!this.aE){p&gt;d?t|=e.aD:p&lt;-d&amp;&amp;(t|=e.XC);p=Math.max(Math.min(p,.5*b),.5*-b);var z=2*Math.atan(Math.tan(.5*r)/y);if(z&gt;=w)r=2*Math.atan(Math.tan(.5*w)*y),p=x,t=t|e.aD|e.XC;else{var B=Math.min(.5*w+x,.5*b);w=Math.max(.5*-w+x,.5*-b);x=!this.HE&amp;&amp;B&gt;=.495*b?.5*b:B-.5*z;w=!this.HE&amp;&amp;w&lt;=.495*-b?.5*-b:w+.5*z;p&gt;x?(p=x,t|=e.aD):p&lt;w&amp;&amp;(p=w,t|=e.XC)}this.HE&amp;&amp;
(w=Math.tan(.5*r),y=w/y,y=new h(-w,0&lt;p?y:-y,1),w=new c,w.rotateX(-p),y.apply(w),y=2*y.Oc(),0&gt;y&amp;&amp;(y+=2*b),w=Math.max(0,.5*v-.5*y-.25*f),z=Math.min(0,.5*-v+.5*y+.25*f),y&gt;v?(q=0,r=Math.max(u,r*v/y),t=t|e.PH|e.QH):q&gt;w?(q=w,t|=e.QH):q&lt;z&amp;&amp;(q=z,t|=e.PH))}this.Ka=q*n;this.wb=p*n;this.Wa=r*n;this.Mn=t}};var b=Math.PI,d=.5*Math.PI,f=Math.PI/180,n=180/Math.PI;e.YC=0;e.PH=1;e.QH=2;e.aD=4;e.XC=8;return e});
define("bi",["require","lS","py","gE","pP"],function(a){var e=a("lS"),l=a("py"),m=a("gE"),k=a("pP"),c=e.extend(m,function(){m.call(this);this.QO=!1;this.Wo=void 0;this.Wa=90;this.D$=.1;this.Kb=this.ib=null});c.prototype.setCamera=function(h){this.Kb&amp;&amp;this.Kb.unbind(l.G("hoverFactor"),this.bga,this);if(this.Kb=h)this.Kb.bind(l.G("hoverFactor"),this.bga,this),this.bga()};c.prototype.bga=function(){this.D$=this.Kb.get("hoverFactor")};c.prototype.NG=function(h){this.Wa=h};c.prototype.ns=function(h){this.Am();
h&amp;&amp;(this.ib=h,this.Wo=void 0,this.ib.bind(l.Pb,this.Zj,this,!0))};c.prototype.Am=function(){null!=this.ib&amp;&amp;(this.ib.unbind(l.Pb,this.Zj,this),this.ib=null)};c.prototype.Zj=function(h){this.zK(h)};c.prototype.zK=function(h){this.Wo&amp;&amp;this.tga.call(this,+(Math.min(Math.max((h.x-this.Wo.x)/this.ib.Za(),-1),1)*this.Wa*this.D$),-(Math.min(Math.max((h.y-this.Wo.y)/this.ib.Za(),-1),1)*this.Wa*this.D$));this.Wo=h};c.prototype.tga=function(h,g){if(0!=h||0!=g){var b=new k(c.fv);b.HM=h;b.ZL=g;this.trigger(b)}};
c.fv="rotation change";return c});
define("hD","require es lS cI gE dJ bi".split(" "),function(a){a("es");var e=a("lS"),l=a("cI"),m=a("gE"),k=a("dJ"),c=a("bi"),h=e.extend(m,function(g,b,d){m.call(this);this.j=g;this.Yc=this.j.Yc;this.pa=b;this.Uc=d;this.KA=this.iW=this.W=!1;this.nc=new k;this.yj=null;this.wd=this.wb=this.Ka=0;this.Wa=90;this.vb=new c;this.vb.bind(c.fv,this.TP,this,!0)});h.prototype.clear=function(){this.vb.unbind(c.fv,this.TP,this,!0);this.vb.Am();this.vb=null;this.wD();this.j=this.Yc=this.Uc=this.pa=this.nc=null};
h.prototype.setCamera=function(g){this.nc.reset();this.vb.setCamera(g)};h.prototype.setPosition=function(g,b,d,f){if(this.Ka!=g||this.wb!=b||this.wd!=d||this.Wa!=f)this.Ka=g,this.wb=b,this.wd=d,this.Wa=f,this.vb.NG(this.Wa),this.Dea(!1),this.rR()};h.prototype.rf=function(){return this.iW&amp;&amp;this.KA?!0:!1};h.prototype.Fb=function(g){this.ZR=!1;this.nc.Fb(g);this.KA=!1;g=this.Ka+this.nc.Nz;var b=this.wb+this.nc.uI;this.Uc.Ep(this.Wa);this.pa.setPosition(g,b,this.wd,this.Uc.Ee(),this.Uc.Xx());this.Ka=
this.pa.Oc();this.wb=this.pa.Nc();this.wd=this.pa.eg();this.Wa=this.pa.Zx()};h.prototype.Qr=function(){return this.Ka};h.prototype.Pr=function(){return this.wb};h.prototype.rB=function(){return this.wd};h.prototype.ZF=function(){return this.Wa};h.prototype.rb=function(g){this.W!=g&amp;&amp;((this.W=g)?this.rR():(this.wD(),this.Dea(!1)))};h.prototype.TP=function(g){this.Zc(g.Qy,g.sy,0,0,g.HM,g.ZL,0,0,!1,!1,!0,!0)};h.prototype.Zc=function(g,b,d,f,n,q,p,r,t,u,v,w){var x=this.nc.mla(g,b,d,n,q,p,u,v,w)||x;x&amp;&amp;
this.pi()};h.prototype.pi=function(){this.KA=!0;this.trigger(new l(h.Sh))};h.prototype.rR=function(){this.wD();this.yj=setTimeout(this.fQ.bind(this),30)};h.prototype.wD=function(){this.yj&amp;&amp;(clearTimeout(this.yj),this.yj=null)};h.prototype.fQ=function(){this.Dea(this.W)};h.prototype.Dea=function(g){this.iW!=g&amp;&amp;((this.iW=g)?(this.nc.reset(),this.vb.ns(this.j.getParent()),this.pi()):this.vb.Am())};h.Sh="position change request";return h});
define("ia","require lS py cI gE w ij".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE");a("w");var c=a("ij");a=e.extend(k,function(){k.call(this);this.NAa=this.W=!1;this.wd=this.wb=this.Ka=0;this.T_=!1;this.er=this.Zt=0});a.prototype.rb=function(h){if(this.W!=h)if(this.W=h){c.bind(this.FP,this,!0);h=c.Tr();var g=h.pitch;this.Zt=this.Ka-h.yaw;this.er=this.wb-g;this.jp()}else c.unbind(this.FP,this,!0)};a.prototype.setPosition=function(h,g,b){this.Ka!=h&amp;&amp;(this.Zt=this.YE(this.Zt+(h-
this.YE(this.Ka,h)),0),this.Ka=h);this.wb!=g&amp;&amp;(this.er+=g-this.wb,this.wb=g);this.wd=b};a.prototype.Qr=function(){return this.Ka};a.prototype.Pr=function(){return this.wb};a.prototype.rB=function(){return this.wd};a.prototype.rf=function(){return c.L8a()};a.prototype.Fb=function(h){var g=c.Tr(),b=g.roll;h=20*h/1E3;var d=g.pitch+(this.NAa?this.er:0);this.Ka=this.sg(this.Ka,this.YE(this.YE(g.yaw,this.Ka)+this.Zt,this.Ka),h);this.wb=this.sg(this.wb,d,h);this.wd=this.sg(this.wd,b,h)};a.prototype.Yab=
function(h){this.NAa=h};a.prototype.sg=function(h,g,b){h=(g-h)*(1-b);.01&gt;Math.abs(h)&amp;&amp;(h=0);return g-h};a.prototype.YE=function(h,g){for(;h+180&lt;g;)h+=360;for(;h-180&gt;g;)h-=360;return h};a.prototype.FP=function(){this.W&amp;&amp;this.jp()};a.prototype.jp=function(){this.trigger(new m(l.ba))};return a});define("ew",["require"],function(){return{BH:"left",CH:"right",AH:"down",DH:"up",Nna:"rotate10x",ioa:"zoom2x",PLAYING:"playing",Bv:"zoomIn",Cv:"zoomOut",Wf:"stop"}});
define("fJ","require lS bs cI gE ew ju".split(" "),function(a){var e=a("lS"),l=a("bs"),m=a("cI"),k=a("gE"),c=a("ew"),h=a("ju"),g=e.extend(k,function(d){k.call(this);this.j=d;this.W=!1;this.Jg={};this.mR=null;this.xj=this.lR=!1;this.AY=this.AY.bind(this);this.Yl=this.Yl.bind(this);this.Yc=this.j.Yc;document.addEventListener("keydown",this.AY);document.addEventListener("keyup",this.Yl)});g.prototype.clear=function(){this.W=!1;this.Yc=this.j=null;document.removeEventListener("keydown",this.AY);document.removeEventListener("keyup",
this.Yl)};g.prototype.rb=function(d){this.W!=d&amp;&amp;(this.W=d)&amp;&amp;this.h1()};var b=[l.hj,l.Rh,l.ab,l.ub,l.fo,l.ZV,l.NV,l.KV];g.prototype.AY=function(d){if(!h.tp()){var f=d.which,n=!1;!this.Jg[f]&amp;&amp;0&lt;=b.indexOf(f)&amp;&amp;(this.mR||this.lR||(this.mR=setTimeout(this.bXa.bind(this),100)),n=this.Jg[f]=!0);this.xj!=d.shiftKey&amp;&amp;(this.xj=d.shiftKey,n=!0);n&amp;&amp;this.h1()}};g.prototype.bXa=function(){this.lR=!0;this.h1()};g.prototype.Yl=function(d){if(!h.tp()){var f=d.which,n=!1;if(f in this.Jg){delete this.Jg[f];n=!1;for(f in this.Jg)this.Jg[f]&amp;&amp;
(n=!0);n||(this.mR&amp;&amp;clearTimeout(this.mR),this.mR=null,this.lR=!1);n=!0}this.xj!=d.shiftKey&amp;&amp;(this.xj=d.shiftKey,n=!0);n&amp;&amp;this.h1()}};g.prototype.h1=function(){if(this.W){var d=this.Yc.get("gazeModeEnabled"),f=this.Yc.get("arrowKeysAction");if(d||"none"!=f){d=d||"rotate"==f;f=[];this.Jg[l.fo]||this.Jg[l.NV]?f.push(c.Bv):(this.Jg[l.ZV]||this.Jg[l.KV])&amp;&amp;f.push(c.Cv);this.lR&amp;&amp;(this.Jg[l.fo]||this.Jg[l.ZV]||this.Jg[l.NV]||this.Jg[l.KV])&amp;&amp;f.push(c.ioa);this.Jg[l.ab]?f.push(c.BH):this.Jg[l.ub]&amp;&amp;f.push(c.CH);
if(d||this.xj)this.Jg[l.hj]?f.push(c.DH):this.Jg[l.Rh]&amp;&amp;f.push(c.AH);this.lR&amp;&amp;(this.Jg[l.ab]||this.Jg[l.ub]||this.Jg[l.hj]||this.Jg[l.Rh])&amp;&amp;f.push(c.Nna);0==f.length&amp;&amp;f.push(c.Wf);this.trigger(new m(g.G6,{DFa:f}))}}};g.G6="movementsChange";return g});
define("nr",["require"],function(){function a(){this.cD=!0;this.reset()}function e(l,m,k){l=(m-l)*(1-k);.01&gt;Math.abs(l)&amp;&amp;(l=0);return m-l}a.prototype.reset=function(){this.cD&amp;&amp;(this.cD=!1,this.R0=this.S0=this.Ax=this.Pn=this.vI=this.yI=this.wI=this.Pz=void 0)};a.prototype.moveTo=function(l,m,k,c,h){this.Pn=l;this.Ax=m;this.S0=k;this.R0=c;this.dba=h;this.cD=!0};a.prototype.setPosition=function(l,m,k,c){this.Pz=l;this.wI=m;this.yI=k;this.vI=c};a.prototype.Qr=function(){return this.Pz};a.prototype.Pr=
function(){return this.wI};a.prototype.rB=function(){return this.yI};a.prototype.ZF=function(){return this.vI};a.prototype.rf=function(){return this.cD};a.prototype.Fb=function(){if(this.cD)if(this.dba)this.Pz=this.Pn,this.wI=this.Ax,this.yI=this.S0,this.vI=this.R0,this.cD=!1;else{for(var l=this.Pz,m=this.Pn-180,k=this.Pn+180;l&lt;m;)l+=k-m;for(;l&gt;k;)l-=k-m;this.Pz=l;this.Pz=e(this.Pz,this.Pn,.5);this.wI=e(this.wI,this.Ax,.5);this.yI=e(this.yI,this.S0,.5);this.vI=e(this.vI,this.R0,.5);this.Pz==this.Pn&amp;&amp;
this.wI==this.Ax&amp;&amp;this.yI==this.S0&amp;&amp;this.vI==this.R0&amp;&amp;(this.cD=!1)}};return a});
define("cE",["require","oh","mS","oS"],function(a){function e(g){this.j=g;this.W=!1;this.wd=this.wb=this.Ka=0;this.$X=void 0}var l=a("oh"),m=a("mS"),k=a("oS");e.prototype.rb=function(g){this.W!=g&amp;&amp;(this.W=g,this.$X=void 0)};e.prototype.setPosition=function(g,b,d){if(this.W&amp;&amp;void 0!==this.$X){for(var f=g-this.$X;180&lt;f;)f-=360;for(;-180&gt;f;)f+=360;(-1E-4&gt;f||1E-4&lt;f)&amp;&amp;k.kM(g)}this.Ka=g;this.wb=b;this.wd=d};e.prototype.Qr=function(){return this.Ka};e.prototype.Pr=function(){return this.wb};e.prototype.rB=
function(){return this.wd};e.prototype.rf=function(){return!0};e.prototype.Fb=function(){if(k.mh&amp;&amp;!this.j.Q_){k.kM();var g=l.D5(k.cg,!0);this.$X=this.Ka=g.Ra;this.wb=g.pitch;this.wd=g.Dg;this.wb=void 0===h?g.pitch:h;this.wd=void 0===c?g.Dg:c;k.setScale(1)}};var c=m.Dj("debug")?m.W2("force_vr_roll"):void 0,h=m.Dj("debug")?m.W2("force_vr_pitch"):void 0;return e});
define("g","require es lS py cI gE pO ia fJ dJ fE nr cE ew oh oS bh".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("gE"),h=a("pO"),g=a("ia"),b=a("fJ"),d=a("dJ"),f=a("fE"),n=a("nr"),q=a("cE"),p=a("ew");a("oh");var r=a("oS"),t=a("bh"),u=l.extend(c,function(v,w,x){c.call(this);this.j=v;this.Yc=this.j.Yc;this.pa=w;this.Uc=x;this.KA=this.bA=this.AO=this.J_=this.W=!1;this.nc=new d;this.qr=new n;this.wd=this.wb=this.Ka=0;this.Wa=90;this.hF=1;this.bi=void 0;this.C8=this.vN=5;this.ZR=
!1;this.vb=new f;this.vb.bind(f.fv,this.TP,this,!0);this.vb.bind(f.Up,this.vA,this,!0);this.vb.bind(f.gj,this.Zq,this,!0);this.vb.bind(f.fj,this.Yq,this,!0);this.Tl=new g;this.Tl.bind(m.ba,this.Zua,this);this.aA=!1;this.xn=new b(this.j);this.xn.bind(b.G6,this.iva,this,!0);this.Yt=new q(this.j);r.N.bind(m.ba,this.No,this,!0);this.No()});u.prototype.clear=function(){this.vb.unbind(f.fv,this.TP,this,!0);this.vb.unbind(f.Up,this.vA,this,!0);this.vb.unbind(f.gj,this.Zq,this,!0);this.vb.unbind(f.fj,this.Yq,
this,!0);this.vb.Am();this.vb=null;this.Tl.unbind(m.ba,this.Zua,this);this.Tl=null;this.xn.unbind(b.G6,this.iva,this,!0);this.xn.clear();this.xn=null;r.N.unbind(m.ba,this.No,this,!0);this.Uc=this.pa=this.nc=null;this.WW();this.j=this.Yc=null};u.prototype.setCamera=function(v){this.nc.reset();this.qr.reset();this.vb.setCamera(v);this.vN=v.get("automaticRotationSpeed");this.C8=v.get("automaticZoomSpeed")};u.prototype.rk=function(v){function w(D){return e(v).contains(D)}e.isArray(v)||(v=[v]);var x=0,
y=0,z=0,B=!1;w(p.Wf)||(w(p.BH)?x=-this.vN:w(p.CH)&amp;&amp;(x=+this.vN),w(p.AH)?y=-this.vN:w(p.DH)&amp;&amp;(y=+this.vN),w(p.Bv)?z=-this.C8:w(p.Cv)&amp;&amp;(z=+this.C8),w(p.PLAYING)&amp;&amp;(B=!0),w(p.ioa)&amp;&amp;(z*=2),w(p.Nna)&amp;&amp;(x*=10,y*=10),x*=this.hF,y*=this.hF);this.Zc(x,y,0,z,0,0,0,0,B,!0,!0,!0)};u.prototype.setPosition=function(v,w,x,y){this.Ka=v;this.wb=w;this.wd=x;this.Wa=y;this.hF=this.Wa/90;this.Tl.setPosition(this.Ka,this.wb,this.wd);this.Yt.setPosition(this.Ka,this.wb,this.wd);this.vb.NG(this.Wa);this.qr.setPosition(this.Ka,
this.wb,this.wd,this.Wa)};u.prototype.moveTo=function(v,w,x,y,z){this.qr.moveTo(v,w,x,this.Uc.bDa(y),z);this.J_=!1;this.nc.reset();this.pi()};u.prototype.nla=function(v,w,x){this.Zc(0,0,0,0,v,w,x,0,!1,!1,!1)};u.prototype.rf=function(){return this.W&amp;&amp;(this.KA||this.M5())?!0:!1};u.prototype.W3a=function(){this.KA=this.ZR=!1};u.prototype.M5=function(){return this.W?this.ZR?!0:this.Yt.W?this.Yt.rf()||this.nc.rf():this.Tl.W?this.aA?!0:this.Tl.rf()||this.nc.rf():this.nc.rf()||this.qr.rf():!1};u.prototype.Fb=
function(v){this.ZR=!1;this.nc.Fb(v);this.KA=!1;var w=this.Wa;if(this.Yt.W){this.Yt.Fb(v);v=this.Yt.Qr()+this.nc.Nz+this.dUa();var x=this.Yt.Pr();var y=this.Yt.rB()}else this.qr.rf()?(this.qr.Fb(v),v=this.qr.Qr(),x=this.qr.Pr(),y=this.qr.rB(),w=this.qr.ZF()):(this.Tl.W?(this.aA=!1,this.Tl.Fb(v),v=this.Tl.Qr()+this.nc.Nz,x=this.Tl.Pr(),this.AO&amp;&amp;(x+=this.nc.uI),y=this.Tl.rB()):(v=this.Ka+this.nc.Nz,x=this.wb+this.nc.uI,y=0),w+=this.nc.Iqa);this.Uc.Ep(w);this.pa.setPosition(v,x,y,this.Uc.Ee(),this.Uc.Xx());
this.Ka=this.pa.Oc();this.wb=this.pa.Nc();this.wd=this.pa.eg();this.Wa=this.pa.Zx();if(this.J_&amp;&amp;this.pa.lEa()){w=this.nc.iS;if(this.pa.kEa()||this.pa.mEa())w=-w;v=this.nc.sQ;if(this.pa.nEa()||this.pa.jEa())v=-v;this.Zc(w,v,0,0,0,0,0,0,!0,!1,!1,!0)}};u.prototype.Qr=function(){return this.Ka};u.prototype.Pr=function(){return this.wb};u.prototype.rB=function(){return this.wd};u.prototype.ZF=function(){return this.Wa};u.prototype.rb=function(v){this.W!=v&amp;&amp;((this.W=v)?(this.UA(this.vb.sE==h.bv?t.cz:void 0),
this.vb.ns(this.j.getParent()),this.pi()):(this.WW(),this.vb.Am()),this.mga())};u.prototype.xU=function(v){this.bA!=v&amp;&amp;(this.bA=v,this.mga(),this.aA=!0)};u.prototype.XB=function(v){this.xn.rb(v)};u.prototype.mga=function(){var v=this.j.Wr();this.Tl.rb(this.W&amp;&amp;this.bA&amp;&amp;!v);this.Yt.rb(this.W&amp;&amp;v)};u.prototype.Zua=function(){this.pi()};u.prototype.yU=function(v){this.AO=v;this.Tl.Yab(this.AO)};u.prototype.YB=function(v){this.vb.YB(v);this.UA(this.vb.sE==h.bv?t.cz:void 0)};u.prototype.UG=function(v){this.vb.UG(v)};
u.prototype.No=function(){this.W&amp;&amp;(this.j.Wr()&amp;&amp;r.kM(this.Ka),this.mga(),this.pi())};u.prototype.TP=function(v){var w=!this.Yt.W&amp;&amp;(!this.Tl.W||this.AO);if(this.vb.sE==h.rC){var x=void 0;if(0!=v.Qy||0!=v.sy){var y=25&lt;Math.sqrt(v.sy*v.sy+v.Qy*v.Qy),z=180*Math.atan2(v.sy,v.Qy)/Math.PI;-22.5&lt;=z&amp;&amp;22.5&gt;z?x=y?t.hna:t.gna:22.5&lt;=z&amp;&amp;67.5&gt;z?x=y?t.jna:t.qna:67.5&lt;=z&amp;&amp;112.5&gt;z?x=y?t.ina:t.pna:112.5&lt;=z&amp;&amp;157.5&gt;z?x=y?t.kna:t.rna:157.5&lt;=z||-157.5&gt;z?x=y?t.ona:t.vna:-157.5&lt;=z&amp;&amp;-112.5&gt;z?x=y?t.nna:t.una:-112.5&lt;=z&amp;&amp;-67.5&gt;
z?x=y?t.lna:t.sna:-67.5&lt;=z&amp;&amp;-22.5&gt;z&amp;&amp;(x=y?t.mna:t.tna)}this.UA(x);this.Zc(v.Qy,v.sy,0,0,v.HM,v.ZL,0,0,!1,!1,!1,w)}else this.Zc(v.Qy,v.sy,0,0,v.HM,v.ZL,0,0,!1,!1,w,w)};u.prototype.vA=function(v){this.Zc(0,0,0,v.V6a,0,0,0,v.Ria,!1,!0,!1,!0)};u.prototype.Zc=function(v,w,x,y,z,B,D,I,A,E,J,C){var L=!1;this.Yc.get("rotationEnabled")&amp;&amp;(L=this.nc.mla(v,w,x,z,B,D,E,J,C)||L);this.Yc.get("zoomEnabled")&amp;&amp;(L=this.nc.abb(y,I)||L);L&amp;&amp;(this.qr.reset(),this.J_=A,this.pi())};u.prototype.dUa=function(){if(!this.j.Wr())return 0;
this.E_=this.E_||0;for(var v=0,w=0;w&lt;r.ng.length&amp;&amp;0==v;w++)v=r.ng[w].Wb.x;w=this.j.M.get("vrThumbstickRotationStep");w=0&lt;v&amp;&amp;0&gt;=this.E_?w:0&gt;v&amp;&amp;0&lt;=this.E_?-w:0;this.E_=v;return w};u.prototype.pi=function(){this.KA=!0;this.trigger(new k(u.Sh))};u.prototype.Zq=function(){this.ZR=!0;this.trigger(new k(u.gj));this.vb.sE==h.bv&amp;&amp;this.UA(t.Vh)};u.prototype.Yq=function(){this.trigger(new k(u.fj));this.vb.sE==h.bv&amp;&amp;this.UA(t.cz)};u.prototype.iva=function(v){this.rk(v.data.DFa);0&gt;v.data.DFa.indexOf(p.Wf)&amp;&amp;this.j.Db().trigger(new k(m.WC,
{uM:v}))};u.prototype.UA=function(v){this.bi!=v&amp;&amp;this.W&amp;&amp;(this.bi&amp;&amp;this.j.cM(this.bi),(this.bi=v)&amp;&amp;this.j.I4(this.bi))};u.prototype.WW=function(){this.bi&amp;&amp;(this.j.cM(this.bi),this.bi=void 0)};u.Sh="position change request";u.gj="user interaction start";u.fj="user interaction end";return u});define("nz",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("TargetRotationalCameraMovement",e,function(){e.call(this)})});
define("P","require lS py lu cI gE ol hj nz pa bL".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("cI"),c=a("gE"),h=a("ol");a("hj");a("nz");var g=a("pa"),b=a("bL"),d=e.extend(c,function(f,n,q){c.call(this);this.j=f;this.pa=n;this.Uc=q;this.WJ=this.Nb=null;this.lm=this.HA=!1;this.JE=void 0;this.nJ=[];this.oea=0;this.fa=null;this.wb=this.Ka=0;this.Wa=90});d.prototype.clear=function(){this.end();this.pa=this.j=null};d.prototype.start=function(f){this.e_a(f);this.CXa();this.lm=!1;this.$pa();
this.HA=!1;this.pi();this.gk()};d.prototype.end=function(){null!=this.Nb&amp;&amp;(this.eqa(),this.HA=this.lm=!1,this.fa=null,this.gk())};d.prototype.T8a=function(){this.Nb&amp;&amp;this.Nb.get("restartMovementOnUserInteraction")?this.HA||(this.iza(),this.ofa(),this.fa=null,this.HA=!0,this.gk()):(this.fa=null,this.pause())};d.prototype.W8a=function(){this.HA&amp;&amp;(this.HA=!1,this.vta()||this.Q_a())};d.prototype.e_a=function(f){this.eqa();this.Nb=f;this.Nb.bind(l.lz,this.mwa,this,!0);this.Nb.bind(l.FH,this.lwa,this,!0);
this.Nb.bind(l.G("movementIndex"),this.FZ,this,!0);this.nJ=this.Nb.get("movements",[])};d.prototype.eqa=function(){this.ofa();null!=this.Nb&amp;&amp;(this.Nb.unbind(l.lz,this.mwa,this),this.Nb.unbind(l.FH,this.lwa,this),this.Nb.unbind(l.G("movementIndex"),this.FZ,this),this.Nb.set("movementIndex",-1),this.Nb=null,this.nJ=[])};d.prototype.pk=function(){return this.Nb?this.lm?m.Qb:m.PLAYING:m.V};d.prototype.setPosition=function(f,n,q,p){this.Ka=f;this.wb=n;this.Wa=p};d.prototype.rf=function(){return!this.Nb||
!this.fa||this.lm||this.HA||this.vta()?!1:!0};d.prototype.Fb=function(f){if(this.rf()){this.fa.Fb(f);f=this.fa.eb("hfov");if(this.Uc.MEa()){var n=this.fa.via("hfov");n.from=this.Uc.h2(n.from);n.to=this.Uc.h2(n.to);f=this.Uc.h2(f)}this.pa.setPosition(this.fa.eb("yaw"),this.fa.eb("pitch"),0,f,this.Uc.Xx());this.Ka=this.pa.Oc();this.wb=this.pa.Nc();this.Wa=this.pa.Zx();this.fa.We()&amp;&amp;this.IWa()}};d.prototype.Qr=function(){return this.Ka};d.prototype.Pr=function(){return this.wb};d.prototype.ZF=function(){return this.Wa};
d.prototype.play=function(){this.lm&amp;&amp;(this.lm=!1,this.fa||this.FZ(),this.$pa(),this.pi(),this.gk())};d.prototype.pause=function(){this.lm||(this.lm=!0,this.iza(),this.gk())};d.prototype.mwa=function(){this.play()};d.prototype.lwa=function(){this.pause()};d.prototype.CXa=function(){this.oea=0;var f=this.Nb.get("movementIndex",-1);-1==f&amp;&amp;(f=0);this.v_(f)};d.prototype.EXa=function(){this.oea++;var f=this.Nb.get("repeat",1);0&lt;this.nJ.length&amp;&amp;(0==f||this.oea&lt;f)?this.v_(0):(this.Nb.trigger(new k(l.Gb)),
this.end(),this.W0a())};d.prototype.DXa=function(){this.v_(this.Nb.get("movementIndex",0)+1)};d.prototype.v_=function(f){f&lt;this.nJ.length?this.Nb.get("movementIndex")!=f?this.Nb.set("movementIndex",f):this.FZ():(this.Nb.trigger(new k(l.cq)),this.EXa())};d.prototype.FZ=function(){var f=this.Nb.get("movementIndex");this.fa=0&lt;=f?this.SN(this.nJ[f]):null};d.prototype.IWa=function(){this.nJ[this.Nb.get("movementIndex")].trigger(new k(l.Gb));this.DXa()};d.prototype.vta=function(){return null!=this.WJ};
d.prototype.Q_a=function(){this.ofa();var f=this,n=this.Nb.get("restartMovementDelay")||0;this.WJ=setTimeout(function(){f.WJ=null;f.XWa()},n);this.gk()};d.prototype.ofa=function(){this.WJ&amp;&amp;(clearTimeout(this.WJ),this.WJ=null)};d.prototype.XWa=function(){this.v_(this.Nb.get("movementIndex"));this.pi();this.gk()};d.prototype.SN=function(f){var n,q=this.VE(this.Ka,-180,180),p=this.wb,r=this.Wa;if(h.Ja("TargetRotationalCameraMovement",f)){var t=f.get("targetYaw",q);var u=f.get("targetPitch",p);(n=f.get("targetHfov"))?
(this.Uc.BIa(n),n=this.Uc.Ee()):n=r;this.pa.setPosition(t,u,0,n,this.Uc.Xx());if(this.pa.HE)t=this.pa.Oc();else switch(this.RRa(f)){case "left":t=this.VE(t,q-360,q);break;case "right":t=this.VE(t,q,q+360);break;case "longest":t=this.VE(t,q-180,q+180);t=t&gt;=q?this.VE(t,q-360,q):this.VE(t,q,q+360);break;default:t=this.VE(t,q-180,q+180)}}else h.Ja("DistanceRotationalCameraMovement",f)&amp;&amp;(t=q+f.get("yawDelta",0),this.pa.HE&amp;&amp;(t=Math.min(Math.max(-180,t),180)),u=p+f.get("pitchDelta",0),n=r+f.get("hfovDelta",
0),this.pa.setPosition(t,u,0,n,this.Uc.Xx()),this.pa.HE&amp;&amp;(t=this.pa.Oc()));u=this.pa.Nc();n=this.pa.Zx();return new g(f.get("easing"),[new b("yaw",q,t,f.get("yawSpeed")),new b("pitch",p,u,f.get("pitchSpeed")),new b("hfov",r,n,f.get("hfovSpeed"))],f.get("duration"))};d.prototype.$pa=function(){this.JE=void 0};d.prototype.iza=function(){if(this.fa){this.JE=void 0;var f=this.fa&amp;&amp;this.fa.via("yaw");f&amp;&amp;(f.to&gt;f.from?this.JE="right":f.to&lt;f.from&amp;&amp;(this.JE="left"))}};d.prototype.RRa=function(f){f=f.get("path");
"longest"==f&amp;&amp;this.JE&amp;&amp;(f=this.JE);this.JE=void 0;return f};d.prototype.VE=function(f,n,q){for(;f&lt;n;)f+=q-n;for(;f&gt;q;)f-=q-n;return f};d.prototype.pi=function(){this.trigger(new k(d.Sh))};d.prototype.W0a=function(){this.trigger(new k(d.T6))};d.prototype.gk=function(){this.trigger(new k(d.Sc))};d.Sh="position change request";d.T6="sequence end";d.Sc="playback state change";return d});
define("by","require es lS py cI gE iU hD g P ew oS lu".split(" "),function(a){a("es");var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("iU"),h=a("hD"),g=a("g"),b=a("P"),d=a("ew"),f=a("oS"),n=a("lu"),q=e.extend(k,function(p,r){k.call(this);this.j=p;this.j.bind(l.tc,this.Ic,this);f.N.bind(l.ba,this.No,this,!0);this.Uc=r;this.tea=!1;this.Wa=this.wd=this.wb=this.Ka=void 0;this.au=this.$t=this.vP=this.yP=this.xP=this.wP=!1;this.On=!0;this.UI=this.er=0;this.W=!1;this.tn=null;this.HO=5E3;this.KO=this.$aa=
null;this.Bea=[];this.Oi=this.uz=n.V;this.pa=new c(p);this.ec=new g(this.j,this.pa,this.Uc);this.ec.bind(g.Sh,this.Vq,this,!0);this.ec.bind(g.gj,this.Zq,this,!0);this.ec.bind(g.fj,this.Yq,this,!0);this.sn=new h(this.j,this.pa,this.Uc);this.sn.bind(h.Sh,this.Vq,this,!0);this.mf=new b(this.j,this.pa,this.Uc);this.mf.bind(b.Sh,this.Vq,this,!0);this.mf.bind(b.T6,this.tt,this,!0);this.mf.bind(b.Sc,this.nwa,this,!0)});q.prototype.clear=function(){this.Ot();this.ec.unbind(g.Sh,this.Vq,this);this.ec.unbind(g.gj,
this.Zq,this,!0);this.ec.unbind(g.fj,this.Yq,this,!0);this.ec.clear();this.ec=null;this.sn.unbind(h.Sh,this.Vq,this,!0);this.sn.clear();this.sn=null;this.mf.unbind(b.Sh,this.Vq,this);this.mf.unbind(b.T6,this.tt,this);this.mf.unbind(b.Sc,this.nwa,this);this.mf.clear();this.pa=this.mf=null;this.j.unbind(l.tc,this.Ic,this);f.N.unbind(l.ba,this.No,this,!0);this.j=null;this.Kb&amp;&amp;(this.Kb.unbind(l.G("sequences"),this.Vca,this,!0),this.Kb=null);this.q0([])};q.prototype.end=function(){this.uz=n.V;this.Ot();
this.ec.rb(!1);this.sn.rb(!1);this.mf.end();this.W=!1;this.sx(0,0,0);this.KO=this.$aa=null;this.Kb&amp;&amp;(this.Kb.unbind(l.G("sequences"),this.Vca,this,!0),this.Kb=null);this.q0([]);this.uF()};q.prototype.start=function(p,r){this.uz=n.PLAYING;this.W=!0;this.sx(0,0,0);this.ZQ(p);this.uZa(r);this.pxa();this.G0(this.KO);this.sn.rb(!0);this.uF()};q.prototype.pk=function(){return this.Oi};q.prototype.play=function(p){this.uz=n.PLAYING;this.mf.pk()==n.Qb?this.mf.play():this.mf.pk()==n.V&amp;&amp;(!p&amp;&amp;this.KO?this.G0(this.KO):
this.$I()||this.pR());this.uF()};q.prototype.resume=function(){this.uz==n.Qb&amp;&amp;(this.ec.W3a(),this.play(!0))};q.prototype.pause=function(){this.ec.rk(d.Wf);this.uz==n.PLAYING&amp;&amp;(this.uz=n.Qb,this.mf.pk()==n.PLAYING?(this.mf.pause(),this.uF()):this.$I()&amp;&amp;this.Ot())};q.prototype.stop=function(){this.uz=n.V;this.mf.pk()!=n.V&amp;&amp;this.mf.end();this.ec.rk(d.Wf);this.uF();this.$I()&amp;&amp;this.Ot()};q.prototype.moveTo=function(p,r,t,u,v){this.ec.moveTo(p,r,t,u,v)};q.prototype.q0=function(p){this.Bea.forEach(function(r){r.unbind(l.lz,
this.Yxa,this,!0)}.bind(this));this.Bea=p;this.Bea.forEach(function(r){r.bind(l.lz,this.Yxa,this,!0)}.bind(this))};q.prototype.No=function(){this.pa.Cy(this.j.Wr())};q.prototype.rk=function(p){this.ec.rk(p)};q.prototype.nla=function(p,r,t){this.ec.nla(p,r,t)};q.prototype.xU=function(p){this.bA!=p&amp;&amp;(this.bA=p,this.ec.xU(this.bA),this.Sa())};q.prototype.yU=function(p){this.ec.yU(p)};q.prototype.YB=function(p){this.ec.YB(p)};q.prototype.UG=function(p){this.ec.UG(p)};q.prototype.XB=function(p){this.ec.XB(p)};
q.prototype.wy=function(p){this.W&amp;&amp;(this.ec.rf()||this.j.Wr()||this.bA&amp;&amp;(this.ec.W||!this.ec.AO)?(this.ec.M5()&amp;&amp;this.mf.T8a(),this.ec.Fb(p),this.pm(this.ec.Qr(),this.ec.Pr(),this.ec.rB(),this.ec.ZF()),this.Sa()):this.mf.HA?(this.mf.W8a(),this.Sa()):this.mf.rf()?(this.mf.Fb(p),this.pm(this.mf.Qr(),this.mf.Pr(),0,this.mf.ZF()),this.Sa()):this.sn.rf()?(this.sn.Fb(p),this.pm(this.sn.Qr(),this.sn.Pr(),0,this.sn.ZF()),this.Sa()):this.tea?(this.tea=!1,this.Uc.Ep(this.j.Ee()),this.pa.setPosition(this.j.Oc(),
this.j.Nc(),this.j.eg(),this.Uc.Ee(),this.Uc.Xx()),this.pm(this.pa.Oc(),this.pa.Nc(),this.pa.eg(),this.pa.Zx()),this.Sa()):(this.sx(0,0,0),this.uz==n.PLAYING&amp;&amp;this.mf.pk()!=n.PLAYING&amp;&amp;(this.$I()||this.pR())))};q.prototype.Nd=function(){this.Y1a();this.pxa()};q.prototype.Y1a=function(){var p=this.j.Oc()-this.Ka||0,r=this.j.Nc()-this.wb||0;this.j.eg();this.sx(p,r,this.j.Ee()-this.Wa||0)};q.prototype.pxa=function(){this.Ka=this.j.Oc();this.wb=this.j.Nc();this.wd=this.j.eg();this.Wa=this.j.Ee();this.ec.setPosition(this.Ka,
this.wb,this.wd,this.Wa);this.mf.setPosition(this.Ka,this.wb,this.wd,this.Wa);this.sn.setPosition(this.Ka,this.wb,this.wd,this.Wa)};q.prototype.ZQ=function(p){this.pa.tf(p)};q.prototype.uZa=function(p){this.Kb=p;this.HO=p.get("timeToIdle",5E3);this.$aa=p.get("idleSequence");this.KO=p.get("initialSequence");this.ec.setCamera(p);this.sn.setCamera(p);p.bind(l.G("sequences"),this.Vca,this,!0);this.q0(p.get("sequences",[]))};q.prototype.Vca=function(){this.q0(this.Kb.get("sequences",[]))};q.prototype.Yxa=
function(p){this.G0(p.source)};q.prototype.Vq=function(){this.Ot();this.Sa()};q.prototype.Zq=function(){this.trigger(new m(q.gj))};q.prototype.Yq=function(){this.trigger(new m(q.fj))};q.prototype.G0=function(p){p?(this.ec.rb(!p.get("mandatory",!1)),this.mf.start(p)):this.tt()};q.prototype.tt=function(){this.ec.rb(!0);this.pR()};q.prototype.nwa=function(){this.uF()};q.prototype.Ic=function(){this.tea=!0;this.Sa()};q.prototype.$I=function(){return null!=this.tn};q.prototype.pR=function(){this.Ot();
var p=this;this.tn=setTimeout(function(){p.tn=null;p.Mca()},this.HO)};q.prototype.Ot=function(){this.tn&amp;&amp;(clearTimeout(this.tn),this.tn=null)};q.prototype.Mca=function(){this.G0(this.$aa)};q.prototype.Sa=function(){this.trigger(new m(q.Ob))};q.prototype.pm=function(p,r,t,u){this.j.setPosition(p,r,t,u)};q.prototype.sx=function(p,r,t){var u=!1,v=.001&gt;Math.abs(p)&amp;&amp;.001&gt;Math.abs(r)&amp;&amp;.001&gt;Math.abs(t);v||this.bA?(u=1!=this.On,this.au=this.$t=this.vP=this.yP=this.xP=this.wP=!1,this.On=!0):(this.wP!=-.001&gt;
p&amp;&amp;(this.wP=!this.wP,u=!0),this.xP!=.001&lt;p&amp;&amp;(this.xP=!this.xP,u=!0),this.vP!=-.001&gt;r&amp;&amp;(this.vP=!this.vP,u=!0),this.yP!=.001&lt;r&amp;&amp;(this.yP=!this.yP,u=!0),this.$t!=-.001&gt;t&amp;&amp;(this.$t=!this.$t,u=!0),this.au!=.001&lt;t&amp;&amp;(this.au=!this.au,u=!0),this.On!=v&amp;&amp;(this.On=!this.On,u=!0));v||this.trigger(new m(q.Qp,{yaw:this.Ka,pitch:this.wb,roll:this.wd,hfov:this.Wa}));u&amp;&amp;((this.W||this.On)&amp;&amp;this.trigger(new m(q.wk,{movingLeft:this.wP,movingRight:this.xP,movingUp:this.yP,movingDown:this.vP,zoomingIn:this.$t,zoomingOut:this.au,
stopped:this.On})),this.uF())};q.prototype.uF=function(){if(this.W){var p=this.mf.pk();this.On||(p=n.PLAYING)}else p=n.V;this.Oi!=p&amp;&amp;(this.Oi=p,this.trigger(new m(q.Sc,{state:this.Oi})))};q.Ob="request frame";q.wk="movement change";q.Qp="position change";q.Sc="playback state change";q.gj="user interaction start";q.fj="user interaction end";return q});
define("hU","require py iU w ij mS oS oh".split(" "),function(a){function e(d,f,n){this.j=d;this.Uc=f;this.tr=n;this.pa=new l(d);n.Vg&amp;&amp;this.pa.tf(n.Vg);this.nx=new l(d);this.dfa=this.kA=this.lA=void 0;this.Ka=this.j.Oc();this.wb=this.j.Nc();this.wd=this.j.eg();this.Wa=this.tr.Vg?this.j.Ee():e.wma;this.$ya=0;this.za=null;this.Eta=!0}a("py");var l=a("iU");a("w");var m=a("ij"),k=a("mS"),c=a("oS"),h=a("oh");new THREE.Euler;e.prototype.tf=function(d,f,n){if(this.za!=d)if(this.FA=!0,this.za=d,this.j.Wr()){this.dfa=
this.Ka;for(d=this.dfa-f;180&lt;d;)d-=360;for(;-180&gt;d;)d+=360;c.kM(f)}else this.lla(f,n)};e.prototype.lla=function(d,f){this.Ka=d;this.wb=f};e.prototype.OF=function(d){this.Uc.BIa(d);return this.Uc.Ee()};e.prototype.Ep=function(d){this.Wa=d};e.prototype.DU=function(d){this.Eta=d};e.prototype.TG=function(d){this.$ya=d};e.prototype.wy=function(){this.Uc.MEa()&amp;&amp;(this.Wa=this.Uc.h2(this.Wa));if(this.tr.sb()){var d=h.D5(c.cg,!0);this.Ka=d.Ra;this.wb=void 0===b?d.pitch:b;this.wd=void 0===g?d.Dg:g;this.lA=
this.Ka;this.kA=this.wb}else if(this.tr.eEa()){d=m.Tr();var f=this.YE(d.yaw,this.Ka);this.Ka+=void 0===this.lA?0:f-this.lA;this.wb+=void 0===this.kA?0:d.pitch-this.kA;this.wd=d.roll;this.lA=d.yaw;this.kA=d.pitch}else d=this.YE(this.j.Oc(),this.Ka),f=this.j.Nc(),this.Ka+=void 0===this.lA?0:d-this.lA,this.wb+=void 0===this.kA?0:f-this.kA,this.wd=this.j.eg();this.FA&amp;&amp;this.pa.tf(this.za);this.pa.Cy(this.tr.sb());this.pa.setPosition(this.Ka,this.wb,this.wd,this.Wa,this.Uc.Xx());if(this.FA)if(this.FA=!1,
this.tr.sb())(d=this.tr.Vg&amp;&amp;this.j.Df(this.tr.Vg))&amp;&amp;d.set("deltaYaw",this.dfa-this.pa.Oc());else if(d=this.tr.Vg&amp;&amp;this.j.Df(this.tr.Vg))d.set("deltaYaw",this.j.Oc()-this.pa.Oc()),d.set("deltaPitch",this.j.Nc()-this.pa.Nc()),d.set("deltaRoll",this.j.eg()-this.pa.eg());this.Ka=this.pa.Oc();this.wb=this.pa.Nc();this.wd=this.pa.eg();this.tr.sb()||this.tr.eEa()||(this.lA=this.Ka,this.kA=this.wb);this.Wa=this.Eta?this.pa.Zx():this.Wa;this.j.setPosition(this.Ka,this.wb,this.wd,this.Wa);this.j.TG(this.$ya)};
e.prototype.N4=function(d,f){this.nx.tf(d);this.nx.setPosition(0,0,0,f,this.Uc.Xx());return this.nx.Zx()};e.prototype.S9a=function(d,f){this.nx.tf(d);this.nx.setPosition(f.Ra,f.pitch,f.Dg,f.Ve,this.Uc.Xx());f.Ra=this.nx.Oc();f.pitch=this.nx.Nc();f.Dg=this.nx.eg();f.Ve=this.nx.Zx()};e.prototype.YE=function(d,f){for(;d+180&lt;f;)d+=360;for(;d-180&gt;f;)d-=360;return d};e.prototype.nCa=function(){return e.wma};e.wma=TDV.Gna.lLa;var g=k.Dj("debug")?k.W2("force_vr_roll"):void 0,b=k.Dj("debug")?k.W2("force_vr_pitch"):
void 0;return e});
define("qb",["require","hc","ml","w","iE"],function(a){function e(g,b,d,f,n){this.j=g;this.kh=b;g=this.j.M;this.YU=g.get("transitionMode","blending");b=g.get("transitionDuration",500);this.wUa(d,f)&amp;&amp;(this.YU=e.GV,b=1500);this.vha=g.get("blendingTransitionDuration",b);this.b5a=g.get("firstTransitionDuration",b);this.rCa=g.get("disolveTransitionDuration",b);this.hKa=g.get("translationTransitionDuration",1E3);g.get("translationTransitionSpeed");this.iKa=g.get("translationTransitionEnabled",!0);this.FGa=
g.get("originTransitionDuration",3E3);this.f3=400;this.S5=1E3;this.W7a=g.get("modelToPanoramaTraslationDuration",1500);this.P8a=g.get("panoramaToModelTraslationDuration",1E3);this.Vg=d;this.hbb=!d||d.aja();this.ibb=!d||d.FEa();this.Pc=f;this.IJa=!f||f.aja();this.Lla=!f||f.FEa();this.Cbb=!!f&amp;&amp;this.Cba(f);b=(this.ZG=n)&amp;&amp;n.get("initialPosition")||new l;this.Rg=new l;this.Rg.set("yaw",b.get("yaw",0));this.Rg.set("pitch",b.get("pitch"));this.Rg.set("hfov",b.get("hfov"));this.Rf=new m;this.Rf.set("yaw",
this.Rg.get("yaw"));this.Rf.set("pitch",this.Rg.get("pitch"));this.Rf.set("hfov",this.Rg.get("hfov"));this.Rf.set("stereographicFactor",0);this.pp=[];if(!d){this.pp=n&amp;&amp;n.get("displayMovements")||[];for(b=this.pp.length-1;0&lt;=b;b--)this.Rf.set("yaw",this.Rf.get("yaw",this.pp[b].get("targetYaw"))),this.Rf.set("pitch",this.Rf.get("pitch",this.pp[b].get("targetPitch"))),this.Rf.set("hfov",this.Rf.get("hfov",this.pp[b].get("targethfov"))),this.Rf.set("stereographicFactor",this.Rf.get("stereographicFactor",
this.pp[b].get("stereographicFactor")));n=n&amp;&amp;n.get("displayOriginPosition")||this.Rg;this.Rf.set("yaw",n.get("yaw"));this.Rf.set("pitch",n.get("pitch"));this.Rf.set("hfov",n.get("hfov"));this.Rf.set("stereographicFactor",n.get("stereographicFactor"))}this.zM=this.YU==e.ho&amp;&amp;this.iKa&amp;&amp;this.IJa&amp;&amp;this.$Ta(d,f)||null;var q=this.YU==e.ho&amp;&amp;this.Pc&amp;&amp;this.IJa&amp;&amp;this.kh&amp;&amp;this.Pc.get("modelLocations")||[];n=this.YU==e.ho&amp;&amp;this.Vg&amp;&amp;this.hbb&amp;&amp;this.kh&amp;&amp;this.Vg.get("modelLocations")||[];var p=[];n.forEach(function(t){q.forEach(function(u){t.get("model")==
u.get("model")&amp;&amp;p.push([t,u])})});var r=this.kh&amp;&amp;this.kh.get("model");this.qc=this.cc=null;1&lt;p.length&amp;&amp;this.kh&amp;&amp;(b=p.find(function(t){return t[0].get("model")==r}))&amp;&amp;(p=[b]);(b=p.length?p[0]:null)&amp;&amp;(r&amp;&amp;b[0].get("model")==r||b[0].get("forceModelLoading")||b[1].get("forceModelLoading"))?(this.cc=b[0],this.qc=b[1]):(this.cc=n.find(function(t){return t.get("preferred")}),this.cc||this.qc||(this.qc=q.find(function(t){return t.get("preferred")})),[].concat(n,q).forEach(function(t){t.set("preferred",!1)}),
this.cc||this.qc||(this.cc=n.find(function(t){return t.get("model")==r})),this.cc||this.qc||(this.qc=q.find(function(t){return t.get("model")==r})),this.cc||this.qc||(this.cc=n.find(function(t){return t.get("forceModelLoading")})),this.cc||this.qc||(this.qc=q.find(function(t){return t.get("forceModelLoading")})));(this.qc||this.cc)&amp;&amp;g.get("translationTransitionSpeed")&amp;&amp;(this.qc||this.cc).get("model").get("worldUnitToMeters")&amp;&amp;(this.hKa=g.get("translationTransitionSpeed")/(this.qc||this.cc).get("model").get("worldUnitToMeters"));
this.me=null;this.jbb=k.ud()==k.yi?512:1536;this.Dbb=k.ud()==k.yi?512:this.sb()?1536:1024;this.DB=this.NVa();this.mode=(g=!this.sb()||this.aVa())&amp;&amp;this.cc&amp;&amp;this.qc&amp;&amp;this.zM?e.G7:g&amp;&amp;this.cc&amp;&amp;this.qc&amp;&amp;this.iKa?e.Xna:this.zM?e.Wna:g&amp;&amp;!this.Vg&amp;&amp;this.qc?e.F7:g&amp;&amp;!this.Pc&amp;&amp;this.cc?e.Yna:d?f?"blending"==this.YU?e.ho:e.GV:e.Kma:e.Jma;this.mode!=e.ho||this.ibb&amp;&amp;this.Lla||!(0&lt;this.Rf.get("stereographicFactor",0)||0&lt;this.pp.filter(function(t){return 0&lt;t.get("targetStereographicFactor",0)}).length)||(this.mode=
e.GV);this.xl=null}var l=a("hc"),m=a("ml"),k=a("w"),c=a("iE");e.prototype.eEa=function(){return this.j.Yc.get("gyroscopeEnabled")};e.prototype.sb=function(){return this.j.Wr()};e.prototype.$Ta=function(g,b){if(!g||!b)return null;g=(g.get("adjacentPanoramas")||[]).filter(function(d){return d.get("enabled")&amp;&amp;d.G3a()&amp;&amp;d.get("panorama")==b});return 0==g.length?null:g[0]};e.prototype.wUa=function(g,b){return this.sb()&amp;&amp;k.ud()==k.yi&amp;&amp;(this.Cba(g)||this.Cba(b))};e.prototype.Cba=function(g){return!!g&amp;&amp;g.Fm()};
e.prototype.NVa=function(){var g=this.paa()&amp;&amp;this.paa().get("model");return(g=g&amp;&amp;g.get("levels")[0])&amp;&amp;c.is(g.get("url"),c.Mma)};e.prototype.paa=function(){var g=this.qc||this.cc;return g&amp;&amp;g.get("model")};e.prototype.aVa=function(){var g=this.paa();g=(g=g&amp;&amp;g.get("camera"))&amp;&amp;(g.get("vrEnabled")||g.get("xrEnabled"))&amp;&amp;!this.j.M.Db().get(h);return this.sb()&amp;&amp;!g?!1:!0};var h=function(g){return g.map(function(b){return String.fromCharCode(b)}).join("")}([119,97,116,101,114,109,97,114,107]);e.GV="fade_out_fade_in";
e.Jma="fade_in";e.Kma="fade_out";e.ho="blending";e.Wna="translation";e.F7="translation_from_model";e.G7="translation_through_model";e.Xna="translation_to_from_model";e.Yna="translation_to_model";return e});define("fb",["require","exports"],function(){return function(){function a(e,l,m,k){this.O=e;this.Jc=l;this.j=m;this.D=k}a.prototype.Sg=function(){return!1};a.prototype.Ug=function(){};a.prototype.iG=function(){return!1};return a}()});
define("mx",["require","lS","fb","pa","bL"],function(a){var e=a("lS"),l=a("fb"),m=a("pa"),k=a("bL");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(c){if(!this.Bb){if(!this.fa){var h=this.j.Df(this.D.Pc);h.Jh();h.set("alpha",.01);this.fa=new m("linear",[new k("alpha",0,1,void 0)],this.D.vha)}this.fa.Fb(c);c=this.fa.eb("alpha");h=this.j.Df(this.D.Pc);h.set("alpha",c);this.fa.We()&amp;&amp;(this.Bb=!0)}};return a});
define("ea",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("ProjectedMaterialModel3DObject",l,function(){l.call(this)})});define("mG",["require","exports","fb"],function(a,e,l){return function(m){function k(c,h,g,b){c=m.call(this,c,h,g,b)||this;c.Bb=!1;return c}Z(k,m);k.prototype.Sg=function(){return this.Bb};k.prototype.Ug=function(){this.Bb||(this.fh(),this.Bb=!0)};k.prototype.fh=function(){};return k}(l)});
define("dc",["require","lS","ea","mG"],function(a){var e=a("lS"),l=a("ea"),m=a("mG"),k=e.extend(m,function(c,h,g,b,d){m.call(this,c,h,g,b);this.li=d||3});k.prototype.fh=function(){var c=this.D.cc,h=this.D.qc,g=this.D.me=this.D.me||new l;g.set("sourceAlpha",0);g.set("targetAlpha",0);this.li&amp;1&amp;&amp;(g.set("sourceX",c.get("x")),g.set("sourceY",c.get("y")),g.set("sourceZ",c.get("z")),g.set("sourceYaw",c.get("yaw")),g.set("sourceCubeTexture",this.Npa(this.D.Vg,this.D.jbb)),g.set("sourceAlpha",1));this.li&amp;
2&amp;&amp;(g.set("targetX",h.get("x")),g.set("targetY",h.get("y")),g.set("targetZ",h.get("z")),g.set("targetYaw",h.get("yaw")),this.JZa(this.D.Pc),g.set("targetCubeTexture",this.Npa(this.D.Pc,this.D.Dbb)));this.D.DB?(g.set("nearPlane",!0),g.set("skybox",!1)):(g.set("nearPlane",!1),g.set("skybox",!0));c=(c||h).get("model");-1==c.get("objects").indexOf(g)&amp;&amp;c.set("objects",c.get("objects").concat([this.D.me]))};k.prototype.Npa=function(c,h){c=this.j.Df(c);var g=c.get("alpha");c.set("alpha",1);h=this.j.Cha(h);
c.set("alpha",g);return h};k.prototype.JZa=function(c){c.get("frames").forEach(function(h,g){this.j.Df(h).set("alpha",g==c.$S()?1:0)}.bind(this))};k.z7=e.extend(k,function(c,h,g,b){k.call(this,c,h,g,b,1)});k.I7=e.extend(k,function(c,h,g,b){k.call(this,c,h,g,b,2)});return k});
define("mf",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){this.D.Pc&amp;&amp;!this.j.Df(this.D.Pc)&amp;&amp;(this.Fh=this.j.create(this.D.Pc),this.Fh.set("alpha",0),this.j.add(this.Fh),this.j.RIa(!1))};return a});
define("oM",["require","lS","py","dn","fb"],function(a){var e=a("lS"),l=a("py"),m=a("dn"),k=a("fb");a=e.extend(k,function(c,h,g,b){k.call(this,c,h,g,b)});a.prototype.Ug=function(){this.kx||this.ia||(this.ia=(this.D.cc||this.D.qc).get("model"),this.nt=this.D.kh,this.ia.get("camera").set("inTransition",!0),this.nt.j.rb(!0),this.kx=!1,this.ia?this.nt.get("model")==this.ia&amp;&amp;this.ia.get("isLoaded")?(this.Ow(),this.hm(),this.kx=!0):(this.nt.set("model",this.ia),this.ia.bind(l.ea,this.Ow,this,!0),this.nt.set("requesterPlayer",
this.j.Yc),this.nt.bind(m.sh,this.hm,this,!0)):this.kx=!0)};a.prototype.Sg=function(){this.nt.j.EIa(this.ia,!1);return this.kx};a.prototype.iG=function(){return!0};a.prototype.Ow=function(){this.ia.unbind(l.ea,this.Ow,this)};a.prototype.hm=function(){this.nt.unbind(m.sh,this.hm,this,!0);this.kx=!0};return a});
define("ik",["require","lS","mG","bK"],function(a){var e=a("lS"),l=a("mG"),m=a("bK");a=e.extend(l,function(k,c,h,g){l.call(this,k,c,h,g)});a.prototype.fh=function(){if(this.D.Cbb){var k=this.D.Pc.get("frames")[0];k=k.get("sphere")||k.get("stereoSphere");var c=k.get("levels")||[];(!0===k.get("hasAudio")||0&lt;c.length&amp;&amp;!0===c[0].get("hasAudio"))&amp;&amp;m.request(this.j.Db())}};return a});
define("bH",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){this.j.Df(this.D.Pc).set("alpha",1)};return a});
define("fw",["require","lS","fb","pa","bL"],function(a){var e=a("lS"),l=a("fb"),m=a("pa"),k=a("bL");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.Si=this.j.M.Pd();this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(c){if(!this.Bb){if(!this.fa){var h=this.j.M.Kcb()&amp;&amp;!this.D.Vg?this.D.b5a:this.D.vha;this.D.sb()&amp;&amp;(h=Math.max(h,100));this.fa=new m("linear",[new k("alpha",this.D.sb()?-500/h:0,1,void 0)],h+(this.D.sb()?500:0));this.Si.wM()}this.fa.Fb(c);
c=Math.max(.001,this.fa.eb("alpha"));this.j.Df(this.D.Pc).set("alpha",c);this.Si.lM(c);this.fa&amp;&amp;this.fa.We()&amp;&amp;(this.Bb=!0,this.Si.dL())}};return a});
define("jD",["require","lS","gE","hV"],function(a){var e=a("lS"),l=a("gE"),m=a("hV");a=e.extend(l,function(){l.call(this);this.ta=this.Ha=null;this.Zd=[];this.mY=this.xg=!1;this.BP=null;this.Kk=[this];this.Mga={};this.Ys={};this.CO=!1;this.Vda={};this.Wda={};this.lq(["blendingActive","globalBlendingActive"]);this.BNa();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",
!1);this.set("index",0)});a.prototype.BNa=function(){var k="alpha deltaYaw deltaPitch deltaRoll translationX translationY translationZ".split(" ");Array.isArray(k)||(k=[k]);k.forEach(function(c){this.Vda[c]=!0}.bind(this))};a.prototype.lq=function(k){Array.isArray(k)||(k=[k]);k.forEach(function(c){this.Wda[c]=!0}.bind(this))};a.prototype.set=function(k,c){this.Mga[k]!==c&amp;&amp;(this.Wda[k]&amp;&amp;this.Zd.forEach(function(h){h.set(k,c)}),this.hOa(k,c),this.TQ(k))};a.prototype.get=function(k){return this.Mga[k]};
a.prototype.TQ=function(k){this.Ys[k]||(this.Ys[k]=!0,this.CO||(this.CO=!0,this.Ga()),this.Vda[k]&amp;&amp;this.Zd.forEach(function(c){c.TQ(k)}))};a.prototype.HPa=function(){this.CO&amp;&amp;(this.CO=!1,this.Ys={})};a.prototype.R=function(){if(this.CO)for(var k=0;k&lt;arguments.length;k++)if(this.Ys[arguments[k]])return!0;return!1};a.prototype.hOa=function(k,c){this.Mga[k]=c};a.prototype.pb=function(){return this.Zd};a.prototype.ph=function(k){var c=k||[],h=this.Zd.slice();k=c.length!=h.length;for(var g=0;g&lt;c.length&amp;&amp;
!k;g++)k=c[g]!=h[g];k&amp;&amp;(k=h.filter(function(b){return-1==c.indexOf(b)}),g=c.filter(function(b){return-1==h.indexOf(b)}),this.Zd=c,k.forEach(function(b){b.m0(null)}),g.forEach(function(b){b.remove();b.m0(this)}.bind(this)),this.Ga())};a.prototype.m0=function(k){this.ta!=k&amp;&amp;(this.ta&amp;&amp;this.Ln(),(this.ta=k)&amp;&amp;this.mq(),this.Oea(this.ta&amp;&amp;this.ta.Ha))};a.prototype.mq=function(){for(var k in this.ta.Vda)this.TQ(k);for(k in this.ta.Wda)this.set(k,this.ta.get(k))};a.prototype.Ln=function(){};a.prototype.Oea=
function(k){this.Ha!=k&amp;&amp;(k||this.ac(),(this.Ha=k)&amp;&amp;this.Zb(),this.Zd.forEach(function(c){c.Oea(this.Ha)}.bind(this)))};a.prototype.Zb=function(){this.XNa()};a.prototype.ac=function(){this.kYa()};a.prototype.XNa=function(){this.Kk.forEach(function(k){this.Ha.BP.add(k,this)}.bind(this))};a.prototype.kYa=function(){this.Kk.forEach(function(k){this.Ha.BP.remove(k,this)}.bind(this))};a.prototype.Jh=function(){this.ta&amp;&amp;this.ta.zha(this)};a.prototype.zha=function(k){var c=this.Zd.indexOf(k);if(-1==c)throw"Child not found";
c!=this.Zd.length-1&amp;&amp;(this.Zd.splice(c,1),this.Zd.push(k),this.Ga())};a.prototype.T4a=function(k){var c=this.Zd.indexOf(k);if(-1==c)throw"Child not found";this.Zd.splice(c,1);k.m0(null);this.Ga()};a.prototype.appendChild=function(k){k.remove();this.Zd.push(k);k.m0(this);this.Ga()};a.prototype.remove=function(){this.ta&amp;&amp;this.ta.T4a(this)};a.prototype.Om=function(){};a.prototype.Ga=function(){this.xg||(this.xg=!0,this.ta&amp;&amp;this.ta.Ga(this))};a.prototype.QPa=function(){this.xg=!1};a.prototype.pea=function(){this.mY||
(this.mY=!0,this.ta&amp;&amp;this.ta.pea())};a.prototype.MPa=function(){this.mY=!1};a.prototype.oa=function(){this.Zza();this.R("translationX","translationY","translationZ")&amp;&amp;(this.set("composedTranslationX",this.get("translationX")+(this.ta?this.ta.get("composedTranslationX"):0)),this.set("composedTranslationY",this.get("translationY")+(this.ta?this.ta.get("composedTranslationY"):0)),this.set("composedTranslationZ",this.get("translationZ")+(this.ta?this.ta.get("composedTranslationZ"):0)));this.R("deltaYaw",
"deltaPitch","deltaRoll")&amp;&amp;(this.set("composedDeltaYaw",this.get("deltaYaw")+(this.ta?this.ta.get("composedDeltaYaw"):0)),this.set("composedDeltaPitch",this.get("deltaPitch")+(this.ta?this.ta.get("composedDeltaPitch"):0)),this.set("composedDeltaRoll",this.get("deltaRoll")+(this.ta?this.ta.get("composedDeltaRoll"):0)),m.EEa())};a.prototype.Zza=function(){this.R("alpha")&amp;&amp;this.set("composedAlpha",this.get("alpha")*(this.ta?this.ta.get("composedAlpha"):1))};return a});
define("om",["require","lP","hV"],function(a){var e=a("lP"),l=a("hV"),m={MVa:void 0,aab:function(k){this.MVa=k},iRa:void 0,o$a:function(k){this.iRa=k},createTexture:function(){var k=new THREE.Texture;k.colorSpace=THREE.SRGBColorSpace;k.generateMipmaps=!1;k.minFilter=THREE.LinearFilter;k.magFilter=THREE.LinearFilter;k.image=m.rL();k.userData={};k.userData.YJa={};return k},U3a:function(k){k.image!=this.rL()&amp;&amp;(k.image=this.rL(),k.needsUpdate=!0,k.keb=!0)},fV:function(k,c){c=this.m5a(c);l.HL(c)&amp;&amp;(c.videoWidth&amp;&amp;
c.videoHeight&amp;&amp;(c.width=c.videoWidth,c.height=c.videoHeight),l.LKa(c)&amp;&amp;(c=this.G1a(k,c)));k.image=c;k.needsUpdate=!0;l.EEa()},m5a:function(k){k?l.hja(k)?k=e.Cf(k,!1):l.TEa(k)?k=this.rL():!l.HL(k)||k.readyState&gt;=k.HAVE_CURRENT_DATA&amp;&amp;0&lt;k.videoWidth&amp;&amp;0&lt;k.videoHeight||(k=this.rL()):k=this.rL();return k},v4a:function(k,c,h,g,b){var d=document.createElement("canvas");d.width=l.wv();d.height=l.wv();d.tfa=!0;var f=d.getContext("2d");if(!f)return null;f.drawImage(k,c,h,g,b,0,0,l.wv(),l.wv());this.J2(d);return d},
Wha:function(k){l.m7a(k)&amp;&amp;k.tfa&amp;&amp;(delete k.tfa,k.width=0,k.height=0)},dispose:function(k){k.Hq&amp;&amp;k.Hq!=k.image&amp;&amp;this.Wha(k.Hq);k.image&amp;&amp;this.Wha(k.image);k.dispose()},WIa:function(k,c){k.userData.YJa.material=c},QDa:function(k){return k.userData.YJa.material},Ydb:function(k){return l.gja(k)},decode:function(k){l.hja(k)&amp;&amp;(k=e.Cf(k,!1));l.gja(k)&amp;&amp;this.J2(k)},J2:function(k){var c=document.createElement("canvas");c.width=1;c.height=1;var h=c.getContext("2d");m.J2=function(g){h.drawImage(g,0,0,1,1,0,0,
1,1)};return m.J2(k)},T9:null,rL:function(){if(!this.T9){var k=document.createElement("canvas");k.width=128;k.height=128;k.eVa=!0;k.getContext("2d").clearRect(0,0,k.width,k.height);this.T9=k}return this.T9},G1a:function(k,c){k.Hq||(k.Hq=document.createElement("canvas"),k.PUa=k.Hq.getContext("2d"),k.Hq.tfa=!0);var h=c.videoWidth;l.rp()&amp;&amp;(h=Math.min(4096,h));var g=h*c.videoHeight/c.videoWidth;if(k.Hq.width!=h||k.Hq.height!=g)k.Hq.width=h,k.Hq.height=g;c.readyState&gt;=c.HAVE_CURRENT_DATA&amp;&amp;k.PUa.drawImage(c,
0,0,h,g);return k.Hq}};return m});
define("cD",["require","hV","om","w"],function(a){function e(h){this.$U=(h=l.BL(h))&amp;&amp;l.sEa();this.yT=h&amp;&amp;l.rEa();this.kB=0;this.fu=void 0;this.yS=this.zS=0;this.premultipliedAlpha=!1;this.side=void 0;this.params={}}var l=a("hV"),m=a("om");a=a("w");var k=a.browser()==a.ys||a.browser()==a.Jj||a.browser()==a.rh,c={Fia:function(h){return h.map||h.uniforms&amp;&amp;h.uniforms.textureSampler2D&amp;&amp;h.uniforms.textureSampler2D.value},Kr:function(h,g){h||(h=m.createTexture());g||(g=new c.ko);h=g.$U||g.yT||g.kB||g.fu||
g.premultipliedAlpha||h.isVideoTexture&amp;&amp;k?this.p4a(h,g):this.Lha(h);g.side&amp;&amp;(h.side=g.side);for(var b in g.params)h[b]=g.params[b];return h},t3a:function(h,g){h.isShaderMaterial?h.uniforms.textureSampler2D.value=g:h.map=g;h.needsUpdate=!0},Lha:function(h){var g=new THREE.MeshBasicMaterial;g.map=h;this.gD(g);return g},p4a:function(h,g){var b={uniforms:{},transparent:!0};b.uniforms.textureSampler2D={type:"sampler2D",value:h};h.flipY=!g.$U;b.vertexShader=["varying vec2 vUV;\nvoid main() {","\tvUV = vec2( uv.x, "+
(g.$U?"1.0 - uv.y":"uv.y")+");","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}"].join("\n");if(g.yT||g.kB||g.fu||g.premultipliedAlpha){var d=[],f=[];d=d.concat(["uniform sampler2D textureSampler2D;","uniform float opacity;","varying vec2 vUV;"]);b.uniforms.opacity={type:"float",value:1};f=f.concat(["   vec4 color = texture2D(textureSampler2D, vUV);","   float alpha = color.a * opacity;"]);g.premultipliedAlpha&amp;&amp;(f=f.concat(["   if ((color.a &gt; 0.0) &amp;&amp; (color.a &lt; 1.0))",
"       color.rgb /= color.a;","\tcolor = vec4( mix( pow( color.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), color.rgb * 0.0773993808, vec3( lessThanEqual( color.rgb, vec3( 0.04045 ) ) ) ), color.a );"]));if(g.kB){var n=h.image.width||h.image.videoWidth,q=h.image.height||h.image.videoHeight,p=.5*Math.min(n,q)*g.kB;b.uniforms.blendingLimit={type:"v2",value:new THREE.Vector2(p/n,p/q)};d=d.concat(["uniform vec2 blendingLimit;"]);f=f.concat("   float xCoef = 0.0;,   float yCoef = 0.0;,   if (vUV.x &lt; blendingLimit.x) {,      xCoef = 1.0 - (vUV.x / blendingLimit.x);,      xCoef = xCoef * xCoef;,   } else if ((1.0 - vUV.x) &lt; blendingLimit.x) {,      xCoef = 1.0 - ((1.0 - vUV.x) / blendingLimit.x);,      xCoef = xCoef * xCoef;,   },   if (vUV.y &lt; blendingLimit.y) {,      yCoef = 1.0 - (vUV.y / blendingLimit.y);,      yCoef = yCoef * yCoef;,   } else if ((1.0 - vUV.y) &lt; blendingLimit.y) {,      yCoef = 1.0 - ((1.0 - vUV.y) / blendingLimit.y);,      yCoef = yCoef * yCoef;,   },   alpha = alpha * (1.0 - sqrt(xCoef + yCoef));".split(","))}g.fu&amp;&amp;
(b.uniforms.chromaColor={type:"v3",value:new THREE.Vector3(parseInt(g.fu.substr(1,2),16)/255,parseInt(g.fu.substr(3,2),16)/255,parseInt(g.fu.substr(5,2),16)/255)},b.uniforms.chromaThreshold={type:"f",value:g.zS},b.uniforms.chromaSmoothing={type:"f",value:g.yS},d=d.concat(["uniform vec3 chromaColor;","uniform float chromaThreshold;","uniform float chromaSmoothing;"]),f=f.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("{")));
f=f.concat(["   gl_FragColor = vec4(color"+(g.yT?".bgr":".rgb")+", alpha);"]);h.format=THREE.RGBAFormat;b.fragmentShader=[].concat(d,["void main() {"],f,h.isVideoTexture?[]:["#include &lt;tonemapping_fragment&gt;","#include &lt;colorspace_fragment&gt;"],["}"]).join("\n")}else b.fragmentShader=[].concat(["uniform sampler2D textureSampler2D;","varying vec2 vUV;","void main() {","\tgl_FragColor = texture2D(textureSampler2D, vUV);"],h.isVideoTexture?[]:["#include &lt;tonemapping_fragment&gt;","#include &lt;colorspace_fragment&gt;"],
["}"]).join("\n");h=new THREE.ShaderMaterial(b);this.gD(h);return h},dispose:function(h){Array.isArray(h)||(h=[h]);h.forEach(function(g){var b=c.Fia(g);b&amp;&amp;m.dispose(b);g.dispose()})},gD:function(h){h.side=THREE.FrontSide;h.transparent=!0;h.depthTest=!1;h.needsUpdate=!0;h.userData={};h.userData.nFa={};m.WIa(c.Fia(h),h)},dla:function(h,g){h.userData.nFa.yp=g},zDa:function(h){return h.userData.nFa.yp}};e.prototype.isEqual=function(h){return this.$U===h.$U&amp;&amp;this.yT===h.yT&amp;&amp;this.kB===h.kB&amp;&amp;this.fu===h.fu&amp;&amp;
this.zS===h.zS&amp;&amp;this.yS===h.yS&amp;&amp;this.premultipliedAlpha===h.premultipliedAlpha&amp;&amp;this.side===h.side};c.ko=e;return c});
define("eC",["require","jI","cD"],function(a){function e(c){return Array.isArray(c)?c:c?[c]:[]}var l=a("jI"),m=a("cD"),k={create:function(c,h){var g=new THREE.Mesh(c,h);g.overdraw=!1;g.matrixAutoUpdate=!1;g.userData.ky={};g.userData.ky.attributes={};e(h).forEach(function(b){m.dla(b,g)});return g},iCa:function(c){var h=new THREE.Group;k.forEach(c,function(g){h.add(g)});return h},$$a:function(c,h){e(h).forEach(function(g){m.dla(g,null)});m.dispose(c.material);c.material=h;e(h).forEach(function(g){m.dla(g,
c)})},sB:function(c){return e(c.material)},X5a:function(c,h){if(c.layers.mask&amp;h.layers.mask){var g=k.sB(c);return l.V5a(c.geometry,h,c.matrixWorld).map(function(b){return g[b]})}return[]},$ka:function(c,h){c.geometry=h},R5a:function(c,h){var g=[];k.lk(c,function(b){var d=k.sB(b);h.forEach(function(f){var n=l.Q5a(b.geometry,b.matrixWorld,f);if(n){f=m.Fia(d[n.materialIndex]).image;var q=Math.round(n.pKa*f.width-.5);q=0&gt;q?0:q&gt;f.width-1?f.width-1:q;n=Math.round((1-n.IKa)*f.height-.5);n=0&gt;n?0:n&gt;f.height-
1?f.height-1:n;g.push({x:q,y:n,source:f})}})});return g},Pu:function(c,h){k.forEach(c,function(g){h?h.add(g):g.parent&amp;&amp;g.parent.remove(g)})},nC:"panoramaId",kH:"panoramaFrameId",U5:"panoramaOverlayId",T5:"levelIndex",setAttribute:function(c,h,g){k.lk(c,function(b){b.userData.ky.attributes[h]=g})},getAttribute:function(c,h){return c.userData.ky.attributes[h]},LCa:function(c,h,g){for(var b=[],d=0,f=c.length;d&lt;f;d++){var n=c[d];n.userData.ky.attributes[h]!==g&amp;&amp;b.push(n)}return b},C2:function(c,h,g){for(var b=
[],d=0,f=c.length;d&lt;f;d++){var n=c[d];n.userData.ky.attributes[h]===g&amp;&amp;b.push(n)}return b},bEa:function(c,h){for(var g={},b=0,d=c.length;b&lt;d;b++){var f=c[b],n=f.userData.ky.attributes[h];void 0!==n&amp;&amp;(g[n]||(g[n]=[])).push(f)}return g},Q2:function(c){c=c.userData.ky.alpha;return void 0===c?1:c},ff:function(c,h){k.lk(c,function(g){g.userData.ky.alpha=h;k.sB(g).forEach(function(b){b.opacity=h;"ShaderMaterial"==b.type&amp;&amp;b.uniforms&amp;&amp;b.uniforms.opacity&amp;&amp;(b.uniforms.opacity.value=h)})})},Jr:function(c,h){k.lk(c,
function(g){g.matrix.copy(h);g.matrixWorldNeedsUpdate=!0})},WDa:function(c){return c.renderOrder},h5:function(c,h){k.forEach(c,function(g){g.renderOrder=h})},dispose:function(c){k.lk(c,function(h){h.geometry&amp;&amp;(l.dispose(h.geometry),h.geometry=void 0);h.material&amp;&amp;(m.dispose(h.material),h.material=void 0)})},jl:function(c){var h=[];k.lk(c,function(g){h.push(g)});return h},forEach:function(c,h){Array.isArray(c)?c.forEach(h):c&amp;&amp;c.isObject3D&amp;&amp;(c.isMesh||"Group"==c.type)&amp;&amp;h(c)},lk:function(c,h){if(Array.isArray(c))for(var g=
0,b=c.length;g&lt;b;g++)k.lk(c[g],h);else if(c&amp;&amp;c.children)for(g=0,b=c.children.length;g&lt;b;g++)k.lk(c.children[g],h);c&amp;&amp;c.isObject3D&amp;&amp;c.isMesh&amp;&amp;h(c)}};return k});
define("V",["require","eC"],function(a){var e=a("eC");return{jl:function(l){var m=[];l.children&amp;&amp;l.children.forEach(function(k){e.lk(k,function(c){c.userData&amp;&amp;c.userData.ky&amp;&amp;m.push(c)})});return m},f$a:function(l,m){l.userData.cameras=m},ria:function(l){return l.userData.cameras||[]},getCamera:function(l){return l.userData.cameras&amp;&amp;0&lt;l.userData.cameras.length&amp;&amp;l.userData.cameras[0]||null}}});
define("pG","require lS py gE eC V".split(" "),function(a){function e(n,q){return n.reduce(function(p,r){return p?!0:!!(q.layers.mask&amp;r.layers.mask)},!1)}function l(n){n=c(n).loaded;return void 0===n?!1:n}function m(n){n=c(n).active;return void 0===n?!0:n}function k(n){n=c(n).blending;return void 0===n?!1:n}function c(n){return n.userData.a8a||(n.userData.a8a={})}var h=a("lS"),g=a("py"),b=a("gE"),d=a("eC"),f=a("V");a=h.extend(b,function(){b.call(this);this.C=void 0;this.gca=!1});a.prototype.update=
function(n){var q=n.sb&amp;&amp;this.C&amp;&amp;!this.C.sb;this.C=n.clone();this.gca||(q?this.tUa():this.N1a())};a.prototype.N1a=function(){var n=!1,q=f.ria(this.C.Eg),p=f.jl(this.C.Eg);d.C2(p,d.kH,void 0).forEach(function(w){var x=e(q,w)&amp;&amp;0&lt;d.Q2(w)&amp;&amp;m(w);w.visible!=x&amp;&amp;(w.visible=x,n=!0)});p=d.LCa(p,d.kH,void 0);p=d.bEa(p,d.nC);for(var r in p){var t=p[r],u=q.map(function(){return!1});t.sort(function(w,x){return d.WDa(x)-d.WDa(w)});var v=t.some(k);t.forEach(function(w){var x=e(q,w)&amp;&amp;0&lt;d.Q2(w)&amp;&amp;m(w)&amp;&amp;(!v||l(w));if(x){x=
!0;for(var y=v||l(w)&amp;&amp;.999&lt;d.Q2(w),z=0;z&lt;q.length;z++)w.layers.mask&amp;q[z].layers.mask&amp;&amp;!u[z]&amp;&amp;(x=!1,y&amp;&amp;(u[z]=!0));x=!x}w.visible!=x&amp;&amp;(w.visible=x,n=!0)})}n&amp;&amp;this.trigger(g.ba)};a.prototype.tUa=function(){this.gca=!0;f.jl(this.C.Eg).forEach(function(n){n.visible=!1});setTimeout(function(){this.gca=!1;this.update(this.C)}.bind(this),300);this.trigger(g.ba)};a.EU=function(n,q){c(n).loaded=q};a.setActive=function(n,q){c(n).active=q};a.fIa=function(n,q){d.lk(n,function(p){c(p).blending=q})};return a});
define("kV","require lS py ix gE pG cD eC V w".split(" "),function(a){function e(w){return(w=w.userData.Ip)&amp;&amp;!(!w.Aja&amp;&amp;!w.wja)}function l(w){return w.userData.Ip||(w.userData.Ip={})}function m(w){return l(w).cH}function k(w){return l(w).enabled||!1}function c(w){return!m(w).qja()}var h=a("lS"),g=a("py");a("ix");var b=a("gE"),d=a("pG"),f=a("cD"),n=a("eC"),q=a("V"),p=a("w"),r=h.extend(b,function(){b.call(this);this.j=null;this.hJ=[];this.oA=[];this.TH=[];this.C=void 0;this.Wt=null;this.eB=this.eB.bind(this)});
r.prototype.b5=function(w){this.j=w};r.prototype.update=function(w){this.C=w.clone();this.j1a()?this.eB():this.nAa()};r.prototype.nAa=function(){this.Wt||(this.Wt=setTimeout(this.eB,1E3))};var t=Math.PI/180,u=function(){if(p.qb()){if(p.dja()&amp;&amp;1&lt;=p.Icb())return 2;if(p.sc()==p.Vu||p.sc()==p.Wu||p.CT())return 1.5}else return 1.5;return 1}();r.prototype.j1a=function(){var w=0&lt;this.C.Rm?1E3:this.C.Fr/Math.tan(Math.min(.5*this.C.ti,89.99)*t);w*=u;var x=q.ria(this.C.Eg),y=q.jl(this.C.Eg).filter(e),z=y.filter(k);
var B=n.LCa(z,n.kH,void 0);B=n.bEa(B,n.kH);B.none=n.C2(z,n.kH,void 0);z=[];for(var D in B)for(var I=B[D],A=0,E=I.length;A&lt;E;A++){var J=I[A];(l(J).Aja||r.JV)==r.Fs&amp;&amp;z.push(J)}for(var C=0,L=x.length;C&lt;L;C++){var S=x[C];for(D in B){I=B[D];var U=null,V=Number.NEGATIVE_INFINITY,W=null,K=Number.POSITIVE_INFINITY;A=0;for(E=I.length;A&lt;E;A++)if(J=I[A],J.layers.mask&amp;S.layers.mask&amp;&amp;(l(J).Aja||r.JV)==r.JV){var N=90*l(J).U8a;N&lt;w&amp;&amp;N&gt;V?(U=J,V=N):N&gt;=w&amp;&amp;N&lt;K&amp;&amp;(W=J,K=N)}this.C.sb&amp;&amp;W&amp;&amp;U?V&gt;.75*w?z.push(U):z.push(W):(W&amp;&amp;
0&gt;z.indexOf(W)&amp;&amp;z.push(W),U&amp;&amp;0&gt;z.indexOf(U)&amp;&amp;z.push(U))}}w=[];for(x=0;x&lt;z.length;x++)D=z[x],0&gt;w.indexOf(D)&amp;&amp;w.push(D);z=w;a:{w=this.TH;x=z;for(D=0;D&lt;w.length;D++)if(0&gt;x.indexOf(w[D])){w=!1;break a}for(D=0;D&lt;x.length;D++)if(0&gt;w.indexOf(x[D])){w=!1;break a}w=!0}w=!w;this.TH=z;A=0;for(E=y.length;A&lt;E;A++)J=y[A],k(J)&amp;&amp;d.setActive(J,0&lt;=this.TH.indexOf(J));return w};r.prototype.eB=function(){this.Wt=null;for(var w=[],x=[],y=[],z=(new Date).getTime()-v,B=q.ria(this.C.Eg),D=q.jl(this.C.Eg),I=0,A=D.length;I&lt;
A;I++){var E=D[I],J=E.userData.Ip;if(J){var C=n.sB(E);if(J.enabled){var L=[];if(0&lt;=this.TH.indexOf(E)){if(0&lt;this.C.Rm||(l(E).wja||r.e7)==r.Xp)L=C;else for(var S=0,U=B.length;S&lt;U;S++){var V=n.X5a(E,B[S]);if(0==S)L=V;else for(var W=0,K=V.length;W&lt;K;W++){var N=V[W];0&gt;L.indexOf(N)&amp;&amp;L.push(N)}}W=0;for(K=L.length;W&lt;K;W++)N=L[W],(N.userData.Ip||(N.userData.Ip={})).XEa=z}this.x8(E,L);W=0;for(K=J.es.length;W&lt;K;W++)w.push(J.es[W]);W=0;for(K=J.yy.length;W&lt;K;W++)x.push(J.yy[W])}else for(J.yy||this.x8(E,[]),W=
0,K=J.yy.length;W&lt;K;W++)N=J.yy[W],0&gt;J.es.indexOf(N)&amp;&amp;x.push(N);W=0;for(K=C.length;W&lt;K;W++)y.push(C[W])}}I=[];W=0;for(K=this.oA.length;W&lt;K;W++)N=this.oA[W],0&gt;y.indexOf(N)?N.userData.Ip.cH.unload():c(N)?this.Kea(N,!1):I.push(N);this.oA=I;W=Math.max(r.sFa(),Math.round(1.25*x.length))-w.length;if(this.oA.length&gt;W)for(this.oA.sort(function(R,X){return l(R).XEa-l(X).XEa}),I=this.oA.splice(0,this.oA.length-W),W=0,K=I.length;W&lt;K;W++)N=I[W],N.userData.Ip.cH.unload(),this.Kea(N,!1);x=[];I=0;for(A=this.TH.length;I&lt;
A;I++)E=this.TH[I],J=E.userData.Ip,0&lt;J.es.length&amp;&amp;x.push(E);y=Number.POSITIVE_INFINITY;I=0;for(A=x.length;I&lt;A;I++)E=x[I],J=E.userData.Ip,W=J.priority,W=void 0!==W?W:Number.POSITIVE_INFINITY,W&lt;y&amp;&amp;(y=W);w=[];I=0;for(A=x.length;I&lt;A;I++)if(E=x[I],J=E.userData.Ip,W=J.priority,W=void 0!==W?W:Number.POSITIVE_INFINITY,W==y)for(V=J.es,W=0,K=V.length;W&lt;K;W++)N=V[W],w.push(N);W=0;for(K=this.hJ.length;W&lt;K;W++)N=this.hJ[W],0&gt;w.indexOf(N)&amp;&amp;(N=N.userData.Ip.cH,N.unbind(g.ea,this.yfa,this,!0),N.unbind(g.xc,this.zfa,
this,!0),N.J3a());I=this.hJ;this.hJ=w;A=this.hJ.slice();W=0;for(K=A.length;W&lt;K;W++)N=A[W],0&gt;I.indexOf(N)&amp;&amp;(N=N.userData.Ip.cH,N.bind(g.ea,this.yfa,this,!0),N.bind(g.xc,this.zfa,this,!0),N.load(this.j))};r.prototype.yfa=function(w){this.rza(w.source);this.trigger(g.ea)};r.prototype.zfa=function(w){this.rza(w.source)};r.prototype.rza=function(w){w.unbind(g.ea,this.yfa,this,!0);w.unbind(g.xc,this.zfa,this,!0);var x=w.material(),y=this.hJ,z=y.indexOf(x);0&lt;=z&amp;&amp;y.splice(z,1);this.oA.push(x);this.Kea(x,
!0);w=w.yp();0&lt;=l(w).es.indexOf(x)&amp;&amp;this.x8(w,l(w).yy);this.nAa()};r.prototype.x8=function(w,x){var y=l(w).yy;y=y?y.length:void 0;var z=l(w).es;z=z?z.length:void 0;l(w).yy=x;l(w).es=x.filter(c);d.EU(w,0==l(w).es.length&amp;&amp;(l(w).wja||r.e7)==r.Xp);x=(x=l(w).yy)?x.length:void 0;var B=l(w).es;B=B?B.length:void 0;z===B&amp;&amp;y===x||w.dispatchEvent({type:g.kc,Tg:x?100-100*B/x:100});z!==B&amp;&amp;0===B&amp;&amp;w.dispatchEvent({type:g.ea})};r.prototype.Kea=function(w,x){if(x!=w.visible){var y=f.zDa(w),z=n.getAttribute(y,n.nC),
B=n.getAttribute(y,n.T5);if(void 0===z||void 0===B)w.visible=x;else{var D=q.jl(this.C.Eg).filter(e);z=n.C2(D,n.nC,z);B=n.C2(z,n.T5,B);var I=n.sB(y).indexOf(w);w=B.map(function(A){return n.sB(A)[I]});for(y=0;y&lt;w.length&amp;&amp;x;y++)x=x&amp;&amp;m(w[y]).qja();for(y=0;y&lt;w.length;y++)w[y].visible=x}}};r.sFa=function(){var w=p.z3()||p.A3()?384:p.qb()?128:384;r.sFa=function(){return w};return w};r.rb=function(w,x){n.lk(w,function(y){l(y).enabled=x})};r.enabled=k;r.Z4=function(w,x){n.lk(w,function(y){l(y).U8a=x})};r.Xp=
"all";r.e7="in view";r.Dy=function(w,x){n.lk(w,function(y){l(y).wja=x})};r.Fs="always";r.JV="on demand";r.Ey=function(w,x){n.lk(w,function(y){l(y).Aja=x})};r.MU=function(w,x){n.lk(w,function(y){l(y).priority=x})};r.OG=function(w,x){n.lk(w,function(y){l(y).neb=x;n.sB(y).forEach(function(z){m(z).W$a(x)})})};r.meb=function(w){return 100-100*l(w).es.length/l(w).yy.length};r.leb=function(w){return 0==l(w).es.length};r.pM=function(w,x){(l(w).cH=x)&amp;&amp;(w.visible=x.qja())};r.cH=m;var v=(new Date).getTime();
return r});
define("h","require lS jD eC V kV pG".split(" "),function(a){var e=a("lS"),l=a("jD"),m=a("eC"),k=a("V"),c=a("kV"),h=a("pG");a=e.extend(l,function(){l.call(this);this.set("tag","WebGLObject");this.set("zOrder",0);this.set("webglScene",null);this.set("meshGroup",null);this.set("camera",null)});a.prototype.wo=function(){return[]};a.prototype.ac=function(){m.dispose(this.get("meshGroup"));m.Pu(this.get("meshGroup"),null);this.set("meshGroup",null);l.prototype.ac.call(this)};a.prototype.oa=function(g){l.prototype.oa.call(this,
g);this.set("camera",k.getCamera(g.Eg));this.set("webglScene",g.Eg);this.get("meshGroup")||(this.set("meshGroup",m.iCa(this.wo())),this.get("meshGroup").userData.O8a=this);this.R("webglScene","meshGroup")&amp;&amp;m.Pu(this.get("meshGroup"),this.get("webglScene"));this.vm();this.yr(g);this.xF();this.R("loadingActive","meshGroup")&amp;&amp;c.rb(this.get("meshGroup"),this.get("loadingActive"));this.R("blendingActive","meshGroup")&amp;&amp;h.fIa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.vm=function(){this.R("composedAlpha",
"meshGroup")&amp;&amp;this.sz()};a.prototype.sz=function(){m.ff(this.get("meshGroup"),this.get("composedAlpha"))};a.prototype.yr=function(){throw"Must be overridden in descendants.";};a.prototype.xF=function(){if(this.R("index","meshGroup")){var g=this.get("meshGroup");g&amp;&amp;g.children.forEach(function(b,d,f){m.h5(b,this.get("index")+d/f.length)}.bind(this))}};return a});
define("fR",["require","lS","jI","h","eC"],function(a){var e=a("lS"),l=a("jI"),m=a("h"),k=a("eC"),c=new THREE.Matrix4,h=Math.PI/180;a=e.extend(m,function(){m.call(this);this.set("tag","Frame");this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.om=new THREE.Matrix4;this.Hi=new THREE.Matrix4});a.prototype.oa=function(g){m.prototype.oa.call(this,g)};a.prototype.yr=function(g){var b=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*
l.Fg,.5*this.get("composedTranslationY")*l.Fg,.5*this.get("composedTranslationZ")*l.Fg),b=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;(this.Td.makeRotationY(-g.Ra*h),this.Td.multiply(c.makeRotationX(-this.get("composedDeltaPitch")*h)),this.Td.multiply(c.makeRotationY(this.get("composedDeltaYaw")*h)),this.Td.multiply(c.makeRotationY(g.Ra*h)),b=!0);this.R("flipHorizontally")&amp;&amp;(g=this.get("flipHorizontally")?-1:1,this.om.makeScale(g,1,1),b=!0);if(b||this.R("meshGroup"))this.Hi.copy(this.Hh),
this.Hi.multiply(this.Td),this.Hi.multiply(this.om),k.Jr(this.get("meshGroup"),this.Hi)};return a});
define("A",["require"],function(){function a(){this.VI=e++;this.iP="_map_"+this.VI+"_key";this.BY={};this.Kq=[];this.length=0}var e=0;a.prototype.set=a.prototype.add=function(l,m){0&gt;this.Kq.indexOf(l)&amp;&amp;this.Kq.push(l);if("object"===typeof l&amp;&amp;null!==l){var k=l[this.iP];if(!k){k=this.iP;for(var c=[],h=0;8&gt;h;h++)c.push(Math.floor(16*Math.random()).toString(16));k=l[k]=c.join("")}}else k=l;this.BY[k]=m;this.length=this.Kq.length};a.prototype.get=function(l){return this.BY["object"===typeof l&amp;&amp;null!==
l?l[this.iP]:l]};a.prototype.I6a=function(l){return 0&lt;=this.Kq.indexOf(l)};a.prototype.remove=function(l){var m=this.Kq.indexOf(l);0&gt;m||(this.Kq.splice(m,1),"object"===typeof l&amp;&amp;null!==l?(m=l[this.iP],delete l[this.iP]):m=l,delete this.BY[m],this.length=this.Kq.length)};a.prototype.forEach=function(l){this.Kq.slice().forEach(function(m){l(m,this.get(m))}.bind(this))};a.prototype.dispose=function(){for(;this.Kq.length;)this.remove(this.Kq.pop());this.Kq=this.BY=null};return a});
define("oQ",["require","lS","gE","A"],function(a){function e(){this.VF=[]}var l=a("lS"),m=a("gE"),k=a("A");a=l.extend(m,function(c){m.call(this);this.vf=c;this.ld=[];this.ww=new k;this.eS=[];this.r$=[];this.rJ=this.rJ.bind(this)});a.prototype.Gf=function(c){this.ld.forEach(function(h){if(h.removeEventListener)h.removeEventListener(this.vf,this.rJ);else if(h.unbind)h.unbind(this.vf,this.rJ,this,!0);else throw"invalid instance type";}.bind(this));this.ld=c.slice();this.ld.forEach(function(h){if(h.addEventListener)h.addEventListener(this.vf,
this.rJ);else if(h.bind)h.bind(this.vf,this.rJ,this,!0);else throw"invalid instance type";this.ww.I6a(h)||this.ww.set(h,new e)}.bind(this));this.$fa()};a.prototype.dispose=function(){this.Gf([]);this.ld=null;this.ww.dispose();this.r$=this.eS=this.ww=null};a.prototype.Sm=function(c){this.eS.push(c);this.$fa();return this};a.prototype.zp=function(c){this.r$.push(c);return this};a.prototype.lu=function(c){this.ld.forEach(function(h){c(h,this.ww.get(h).VF)}.bind(this))};a.prototype.Gm=function(c){c=this.ww.get(c).VF;
return 0==c.length?null:c[c.length-1]};a.prototype.rJ=function(c){var h=c.target||c.source;if(h=this.ww&amp;&amp;this.ww.get(h))h.VF.push(c),this.r$.forEach(function(g){g(c,this)}.bind(this)),this.$fa()};a.prototype.$fa=function(){if(0!=this.ld.length){for(var c=0;c&lt;this.ld.length;c++)if(0==this.ww.get(this.ld[c]).VF.length)return;this.eS.length&amp;&amp;(c=this.eS.slice(),this.eS=[],c.forEach(function(h){h(this)}.bind(this)))}};return a});
define("dS","require lS py gE om hV bn oS".split(" "),function(a){function e(){r||0===q.length||(f.o3?k():l())}function l(){p||(p=!0,f.requestFrame(m,null))}function m(){p=!1;t=void 0;k()}function k(){if(!r){for(void 0===t&amp;&amp;(t=Date.now());q.length&amp;&amp;Date.now()-t&lt;w;)q.shift().add();q.length&amp;&amp;l()}}var c=a("lS"),h=a("py"),g=a("gE"),b=a("om"),d=a("hV"),f=a("bn"),n=a("oS"),q=[],p=!1,r=!1,t=void 0,u={add:function(x,y,z,B){var D=q.find(function(I){I.texture===y});D?(D.source=z,D.renderer=x):(D=new v(x,y,
z),q.push(D));B&amp;&amp;D.bind(h.ea,B,this,!0);e();return D},c3a:function(x,y,z){x=new v(x,y,z);x.add();return x}};d.m3a(function(x){u.KU(x)});u.KU=function(x){if(r!==x)if(r=x)for(;q.length;)q.shift().add();else e()};var v=c.extend(g,function(x,y,z){g.call(this);this.renderer=x;this.texture=y;this.source=z});v.prototype.add=function(){b.fV(this.texture,this.source);!n.isPresenting&amp;&amp;this.renderer&amp;&amp;this.renderer.initTexture(this.texture);this.trigger(h.ea)};v.prototype.remove=function(){var x=q.indexOf(this);
0&lt;=x&amp;&amp;q.splice(x,1);b.fV(this.texture,null)};var w=8;return u});
define("dk","require lS py ix gE cD om w".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("ix"),k=a("gE"),c=a("cD"),h=a("om"),g=a("w"),b=e.extend(k,function(){k.call(this);this.pf=void 0;this.Ia=h.createTexture();this.Ia.colorSpace=THREE.SRGBColorSpace;this.Haa=!1;this.C=b.dN;this.fP=m.Bl;this.j=null});b.prototype.type=function(){return this.pf};b.prototype.texture=function(){return this.Ia};b.prototype.material=function(){return this.Ia&amp;&amp;h.QDa(this.Ia)};b.prototype.yp=function(){var d=this.Ia&amp;&amp;
h.QDa(this.Ia);return d&amp;&amp;c.zDa(d)};b.prototype.W$a=function(d){this.fP=d};b.prototype.C$a=function(d){this.Haa!==d&amp;&amp;(this.Haa=d,this.eAa())};b.prototype.AU=function(d){this.Ia.isVideoTexture!==d&amp;&amp;(this.Ia.isVideoTexture=d,this.Ia.update=d?function(){}:null,this.eAa())};b.prototype.eAa=function(){this.Haa?this.Ia.colorSpace=THREE.LinearSRGBColorSpace:!this.Ia.isVideoTexture||g.browser()!=g.ys&amp;&amp;g.browser()!=g.Jj&amp;&amp;g.browser()!=g.rh?this.Ia.colorSpace=THREE.SRGBColorSpace:this.Ia.colorSpace=THREE.LinearSRGBColorSpace};
b.prototype.load=function(d){this.C===b.dN&amp;&amp;(this.j=d,this.C=b.SV,this.H8())};b.prototype.J3a=function(){this.Q7a()&amp;&amp;(this.C==b.SV?this.M0():this.sR(),this.C=b.dN)};b.prototype.unload=function(){this.C!=b.dN&amp;&amp;(this.C==b.SV?this.M0():this.C==b.v7?this.sR():this.cB(),this.C=b.dN)};b.prototype.j9a=function(){if(this.Ia){var d=this.material(),f=h.createTexture();f.flipY=this.Ia.flipY;f.format=this.Ia.format;f.colorSpace=this.Ia.colorSpace;this.Ia.isVideoTexture&amp;&amp;(f.isVideoTexture=!0,f.update=function(){});
h.dispose(this.Ia);d&amp;&amp;h.WIa(f,d);d&amp;&amp;c.t3a(d,f);this.Ia=f}};b.prototype.H8=function(){};b.prototype.M0=function(){};b.prototype.F8=function(){};b.prototype.sR=function(){};b.prototype.cB=function(){h.U3a(this.texture)};b.prototype.Q7a=function(){return this.C==b.SV||this.C==b.v7};b.prototype.qja=function(){return this.C==b.u7||this.C==b.Qna};b.prototype.dispose=function(){h.dispose(this.Ia);this.Ia=null};b.prototype.uJ=function(d){this.C=d?b.v7:b.Qna;d?this.F8():this.trigger(l.xc)};b.prototype.vua=
function(){this.C=b.u7;this.trigger(l.ea)};b.dN="initial";b.SV="loading";b.v7="adding";b.Qna="error loading";b.u7="added";b.SMa="custom";b.TMa="image tile";b.tdb="image animation";b.udb="video 360";return b});
define("fs","require lS py cA lP dS dk".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cA"),k=a("lP"),c=a("dS"),h=a("dk");a=e.extend(h,function(g){h.call(this);this.pf=h.SMa;this.Wd=g;this.Wd||(this.C=h.u7);this.ni=this.Ld=null;this.kF=this.lF=void 0});a.prototype.Pm=function(g){this.ni=g;c.add(this.j,this.Ia,this.ni,function(){var b=this.Ia&amp;&amp;this.Ia.image&amp;&amp;this.Ia.image.width||void 0,d=this.Ia&amp;&amp;this.Ia.image&amp;&amp;this.Ia.image.height||void 0;void 0===this.lF||void 0===this.kF||this.lF===b&amp;&amp;this.kF===
d||(this.j9a(),c.add(this.j,this.Ia,this.ni));this.lF=b;this.kF=d}.bind(this))};a.prototype.Cf=function(){return k.Cf(this.Wd)};a.prototype.update=function(){c.c3a(this.j,this.Ia,this.ni)};a.prototype.H8=function(){this.Wd?this.UN():this.uJ(!0)};a.prototype.M0=function(){this.Cq()};a.prototype.F8=function(){this.vua()};a.prototype.cB=function(){this.Cq()};a.prototype.dispose=function(){this.Cq();h.prototype.dispose.call(this)};a.prototype.Cd=function(){this.uJ(!0)};a.prototype.bg=function(){this.uJ(!1)};
a.prototype.UN=function(){this.Ld||(this.Ld=new m,this.Ld.qM([this.Wd]),this.Ld.bind(l.ea,this.Cd,this,!0),this.Ld.bind(l.xc,this.bg,this,!0),k.Yn(this.Ld,this.fP))};a.prototype.Cq=function(){this.Ld&amp;&amp;(this.Ld.unbind(l.ea,this.Cd,this,!0),this.Ld.unbind(l.xc,this.bg,this,!0),k.Ij(this.Ld,this.fP),this.Ld=null)};return a});
define("nw","require lS py cA lP dS dk".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cA"),k=a("lP"),c=a("dS"),h=a("dk");a=e.extend(h,function(g){h.call(this);this.pf=h.TMa;this.Wd=g;this.ni=this.SJ=this.Ld=null});a.prototype.Cf=function(){return this.ni};a.prototype.H8=function(){this.UN()};a.prototype.M0=function(){this.Cq()};a.prototype.F8=function(){this.UQa()};a.prototype.sR=function(){this.Cq();this.a$()};a.prototype.cB=function(){this.Cq();this.a$()};a.prototype.dispose=function(){this.Cq();
this.a$();h.prototype.dispose.call(this)};a.prototype.Cd=function(){this.ni=k.Cf(this.Wd);this.uJ(!0)};a.prototype.bg=function(){this.uJ(!1)};a.prototype.wua=function(){this.vua()};a.prototype.UN=function(){this.Ld||(this.Ld=new m,this.Ld.qM([this.Wd]),this.Ld.bind(l.ea,this.Cd,this,!0),this.Ld.bind(l.xc,this.bg,this,!0),k.Yn(this.Ld,this.fP))};a.prototype.Cq=function(){this.Ld&amp;&amp;(this.Ld.unbind(l.ea,this.Cd,this,!0),this.Ld.unbind(l.xc,this.bg,this,!0),k.Ij(this.Ld,this.fP),this.Ld=null)};a.prototype.UQa=
function(){this.SJ=c.add(this.j,this.Ia,this.ni);this.SJ.bind(l.ea,this.wua,this,!0)};a.prototype.a$=function(){this.SJ&amp;&amp;(this.SJ.unbind(l.ea,this.wua,this,!0),this.SJ.remove(),this.SJ=null)};return a});
define("pI",["require","lS","lP","om","nw"],function(a){var e=a("lS"),l=a("lP"),m=a("om"),k=a("nw");a=e.extend(k,function(c,h,g,b,d){k.call(this,c.get("url"));this.Na=h;this.Qa=g;this.sa=b;this.wa=d;this.pVa=0!=this.Na||0!=this.Qa||this.sa!=c.get("width")||this.wa!=c.get("height")});a.prototype.Cd=function(){this.pVa?(this.aRa(),this.Cq(),this.uJ(!!this.ni)):k.prototype.Cd.call(this)};a.prototype.sR=function(){k.prototype.sR.call(this);this.b$()};a.prototype.cB=function(){k.prototype.cB.call(this);
this.b$()};k.prototype.dispose=function(){k.prototype.dispose.call(this);this.b$()};a.prototype.aRa=function(){var c=l.Cf(this.Wd);this.ni=m.v4a(c,this.Na,this.Qa,this.sa,this.wa)};a.prototype.b$=function(){this.ni&amp;&amp;(m.Wha(this.ni),this.ni=null)};return a});
define("fN","require ol dP np hV fs nw pI jI cD eC cg nV kV w".split(" "),function(a){var e=a("ol"),l=a("dP"),m=a("np"),k=a("hV"),c=a("fs"),h=a("nw"),g=a("pI"),b=a("jI"),d=a("cD"),f=a("eC"),n=a("cg"),q=a("nV"),p=a("kV"),r=a("w"),t={l4a:function(u,v){var w=n.get(u);switch(w){case n.nz:case n.lv:case n.Cl:return this.EQa(w,u,v);case n.Yp:case n.hq:case n.Ms:return this.GQa(w,u,v)}},z4a:function(u,v){var w=new h(v.get("posterURL"));w.AU(!0);return this.Fqa(u,v,w)},y4a:function(u,v){var w=new c;w.AU(!0);
return this.Fqa(u,v,w)},Fqa:function(u,v,w){var x=u.get("hfov"),y=u.get("vfov"),z=u.get("pitch"),B=v.get("width");v=v.get("url");u=n.get(u);var D=u==n.Ms?2:1,I=u==n.hq?2:1;u=2&lt;D+I?[l.ab,l.ub]:[l.Uu];var A=Math.round(B/D);B=new d.ko(v);var E=d.Kr(w.texture(),B);p.pM(E,w);E.visible=!0;return u.map(function(J,C){C=b.lCa(x,y,z,1,1,C%D/D,(I-1-Math.floor(C/D))/I,1/D,1/I);C=f.create(C,[E]);C.layers.set(J);p.Z4(C,A/x);return C}.bind(this))},q4a:function(u){var v=[m.ub,m.ab,m.Ec,m.wc,m.FRONT,m.BACK].map(function(){var x=
new c;x.Pm(t.VTa(u));var y=d.Kr(x.texture());p.pM(y,x);y.visible=!0;return y}),w=b.kCa(1,1);v=f.create(w,v);p.Z4(v,256/90);v.layers.set(l.Uu);return v},$ea:{},VTa:function(u){if(!t.$ea[u]){var v=document.createElement("canvas");v.width=v.height=256;var w=v.getContext("2d");w.fillStyle=u;w.fillRect(0,0,v.width,v.height);t.$ea[u]=v}return t.$ea[u]},EQa:function(u,v,w){var x=u==n.nz?[l.ub,l.ab]:[l.Uu],y=v.get("flipImageHorizontally");y&amp;&amp;(x=x.reverse());var z=u==n.Cl?1:6*x.length,B=w.get("width")/z,D=
w.get("height");if(e.Ja("TiledImageResourceLevel",w)){var I=w.get("colCount",z)/z;var A=w.get("rowCount",1)}else this.Cxa(u,w)?(I=Math.ceil(B/k.wv()),A=Math.ceil(D/k.wv())):A=I=1;var E=[m.ub,m.ab,m.Ec,m.wc,m.FRONT,m.BACK];return x.map(function(J,C){var L=Array(6);E.forEach(function(V,W){var K=q.wia(v,w,V);if(e.Ja("TiledImageResourceLevel",w))L[b.Tna.indexOf(V)]=this.AQa(K,u,J,V,y,I,A);else{W=u==n.Cl?0:Math.round((C*E.length+W)*B);var N=1&lt;I||1&lt;A||u!=n.Cl?256&lt;B?1:.5:0;L[b.Tna.indexOf(V)]=this.zqa(K,
I,A,W,0,B,D,N)}}.bind(this));var S=Array.prototype.concat.apply([],L),U=b.kCa(I,A);S=f.create(U,S);S.layers.set(J);p.Z4(S,B/90);return S}.bind(this))},GQa:function(u,v,w){var x=u==n.Yp?[l.Uu]:[l.ab,l.ub];v.get("flipImageHorizontally")&amp;&amp;(x=x.reverse());var y=w.get("width"),z=w.get("height"),B=v.get("hfov"),D=v.get("vfov"),I=v.get("pitch"),A=Math.round(y/B/(z/D)),E=Math.round(y/A),J=Math.round(z/Math.round(z/D/(y/B))),C=(u=this.Cxa(u,w))?Math.ceil(E/k.wv()):1,L=u?Math.ceil(J/k.wv()):1;return x.map(function(S,
U){U=this.zqa(w,C,L,U%A*E,Math.floor(U/A)*J,E,J);var V=b.lCa(B,D,I,C,L,0,0,1,1);U=f.create(V,U);U.layers.set(S);p.Z4(U,E/B);return U}.bind(this))},Cxa:function(u,v){switch(u){case n.nz:case n.lv:case n.hq:case n.Ms:return!0;case n.Cl:return!1;case n.Yp:return r.v6a().maxTextureSize&lt;Math.max(v.get("width"),v.get("height"))?!0:k.rp()||r.qb()?!1:r.sc()==r.Vy?!0:!1}},zqa:function(u,v,w,x,y,z,B,D){D||(D=0);for(var I=[],A=0;A&lt;w;A++)for(var E=y+D+(B-2*D)*A/w,J=y+D+(B-2*D)*(A+1)/w,C=0;C&lt;v;C++){var L=x+D+
(z-2*D)*C/v,S=x+D+(z-2*D)*(C+1)/v;L=u?new g(u,L,E,S-L,J-E):new c;S=d.Lha(L.texture());p.pM(S,L);I.push(S)}return I},AQa:function(u,v,w,x,y,z,B){for(var D=[],I=0;I&lt;B;I++)for(var A=0;A&lt;z;A++){var E=u?new h(q.RDa(u,v,w,x,y,B,I,A)):new c;var J=d.Lha(E.texture());p.pM(J,E);J.visible=!1;D.push(J)}return D}};return t});
define("du","require lS py fR oQ fN kV".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("fR"),k=a("oQ"),c=a("fN"),h=a("kV");a=e.extend(m,function(g){m.call(this);this.Gc=g;this.set("tag","SolidFrame");this.bh=null});a.prototype.Zb=function(){this.bh=(new k(l.ea)).Sm(this.Cd.bind(this));m.prototype.Zb.call(this)};a.prototype.ac=function(){this.bh.dispose();m.prototype.ac.call(this)};a.prototype.wo=function(){var g=[c.q4a(this.Gc)];h.Ey(g,h.Fs);h.Dy(g,h.Xp);this.bh.Gf(g);return g};a.prototype.Cd=
function(){this.trigger(l.hd);this.trigger(l.ea)};return a});
define("mm","require lS fb du pa bL oS".split(" "),function(a){var e=a("lS"),l=a("fb"),m=a("du"),k=a("pa"),c=a("bL"),h=a("oS");a=e.extend(l,function(g,b,d,f){l.call(this,g,b,d,f);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(g){if(!this.Bb){this.D.xl||(this.D.xl=new m("#000000"),this.D.xl.set("alpha",1),this.j.add(this.D.xl));if(!this.fa){this.D.xl.Jh();var b=2*this.D.vha;this.fa=new k("linear",[new c("alpha",2,0,void 0)],b);this.D.xl.Jh()}this.fa.Fb(g);
this.D.xl.set("alpha",Math.min(.99,this.fa.eb("alpha")));this.j.Df(this.D.Pc).set("alpha",1);this.fa&amp;&amp;this.fa.We()&amp;&amp;(this.Bb=!0,this.j.remove(this.D.xl),this.D.xl=null);h.ng.forEach(function(d){h.gla(d,!this.Bb)}.bind(this))}};return a});
define("bP","require lS fb hV pa bL".split(" "),function(a){var e=a("lS"),l=a("fb"),m=a("hV"),k=a("pa"),c=a("bL");a=e.extend(l,function(h,g,b,d){l.call(this,h,g,b,d);this.Si=this.j.M.Pd();this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(h){if(!this.Bb){if(!this.fa){m.d5(!0);this.Si.YG();this.j.Df(this.D.Vg).set("alpha",0);var g=this.D.rCa;this.fa=new k("linear",[new c("position",0,1,void 0)],g)}this.fa.Fb(h);this.Si.MG(this.fa.eb("position"));this.fa.We()&amp;&amp;
(this.Bb=!0,this.Si.TF(),m.d5(!1))}};return a});
define("or","require lS fb du pa bL oS".split(" "),function(a){var e=a("lS"),l=a("fb"),m=a("du"),k=a("pa"),c=a("bL"),h=a("oS");a=e.extend(l,function(g,b,d,f){l.call(this,g,b,d,f);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(g){if(!this.Bb){this.D.xl||(this.D.xl=new m("#000000"),this.D.xl.set("alpha",0),this.j.add(this.D.xl));if(!this.fa){this.D.xl.Jh();var b=2*this.D.rCa;this.fa=new k("linear",[new c("alpha",0,2,void 0)],b)}this.fa.Fb(g);g=Math.min(1,
this.fa.eb("alpha"));this.D.xl.set("alpha",g);h.ng.forEach(function(d){h.gla(d,!0)});1==g&amp;&amp;this.j.Df(this.D.Vg).set("alpha",0);this.fa.We()&amp;&amp;(this.Bb=!0)}};return a});
define("pl",["require","lS","fb","pa","bL"],function(a){var e=a("lS"),l=a("fb"),m=a("pa"),k=a("bL");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(c){if(!this.Bb){if(!this.fa){var h=this.j.Ee(),g=this.Jc.N4(this.D.Pc,h),b=!this.D.sb()&amp;&amp;.01&lt;Math.abs(h-g)?this.D.S5:1;this.fa=new m("cubic_in_out",[new k("hfov",h,g,void 0)],b)}this.fa.Fb(c);this.Jc.Ep(this.fa.eb("hfov"));this.fa.We()&amp;&amp;(this.Jc.DU(!0),this.Bb=
!0)}};return a});
define("cr",["require","lS","fb","pa","bL"],function(a){function e(h,g,b){for(;h&lt;g;)h+=b-g;for(;h&gt;b;)h-=b-g;return h}var l=a("lS"),m=a("fb"),k=a("pa"),c=a("bL");a=l.extend(m,function(h,g,b,d){m.call(this,h,g,b,d);this.fa=null;this.Bb=!1;this.fZ=0});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(h){this.Bb||(this.fa||(this.fa=this.fZ&lt;this.D.pp.length?this.QQa(this.fZ):this.wQa()),this.fa.Fb(h),this.Jc.lla(this.fa.eb("yaw"),this.fa.eb("pitch")),this.Jc.Ep(this.fa.eb("hfov")),this.Jc.TG(this.fa.eb("stereographicFactor")),
this.fa.We()&amp;&amp;(this.fa=null,this.fZ++,this.fZ&gt;this.D.pp.length&amp;&amp;(this.Jc.DU(!0),this.Bb=!0)))};a.prototype.wQa=function(){var h=e(this.j.Oc(),-180,180),g=this.j.Nc();this.j.eg();var b=this.j.Ee(),d=this.j.C.Rm,f=this.D.Rg.get("hfov");f={Ra:this.D.Rg.get("yaw"),pitch:this.D.Rg.get("pitch",g),Dg:this.j.eg(),Ve:f?this.Jc.OF(f):b,Rm:0};this.Jc.S9a(this.D.Pc,f);f.Ra=e(f.Ra,h-180,h+180);var n=.5&lt;Math.abs(b-f.Ve),q=Math.abs(d-f.Rm),p=.01&lt;q;n=this.D.sb()?1:Math.max(n?this.D.S5:1,p?this.D.FGa*q:1);return new k(p?
"linear":"cubic_in_out",[new c("yaw",h,f.Ra,void 0),new c("pitch",g,f.pitch,void 0),new c("hfov",b,f.Ve,void 0),new c("stereographicFactor",d,f.Rm,void 0)],n)};a.prototype.QQa=function(h){var g=this.D.pp[h],b=e(this.j.Oc(),-180,180),d=this.j.Nc();this.j.eg();var f=this.j.Ee(),n=this.j.C.Rm,q=g.get("targetStereographicFactor",n),p=g.get("targetHfov");if(p)p=this.Jc.OF(p);else{for(p=!1;h&lt;this.D.pp.length&amp;&amp;!p;h++)p=void 0!==this.D.pp[h].get("targetHfov");p?p=f:(p=this.Jc.OF(this.D.Rg.get("hfov",this.Jc.nCa())),
p=f+(p-f)*(n-q))}h=g.get("targetYaw",b);var r=g.get("targetPitch",d);this.j.eg();switch(g.get("path")){case "left":h=e(h,b-360,b);break;case "right":h=e(h,b,b+360);break;case "longest":h=e(h,-360,360);h=h&gt;=b?e(h,b,b+360):e(h,b-360,b);break;default:h=e(h,b-180,b+180)}return new k(g.get("easing"),[new c("yaw",b,h,g.get("yawSpeed")),new c("pitch",d,r,g.get("pitchSpeed")),new c("hfov",f,p,g.get("hfovSpeed")),new c("stereographicFactor",n,q,g.get("stereographicFactorSpeed"))],g.get("duration"))};return a});
define("ng",["require","lS","fb","pa","bL"],function(a){var e=a("lS"),l=a("fb"),m=a("pa"),k=a("bL");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(c){if(!this.Bb){if(!this.fa){var h=this.j.Nc(),g=this.j.Ee(),b=this.j.C.Rm,d=this.D.Rf.get("stereographicFactor",0),f=Math.abs(b-d),n=0&lt;d?this.D.Rf.get("pitch",h):h,q=this.D.Rf.get("hfov");q=q?this.Jc.OF(q):g;0==d&amp;&amp;(q=Math.min(g,this.Jc.N4(this.D.Pc,q)));this.Jc.DU(!1);
f=this.D.sb()?1:Math.max(.5&lt;Math.abs(g-q)?this.D.S5:1,.01&lt;f?this.D.FGa:1);this.fa=new m("cubic_in_out",[new k("hfov",g,q,void 0),new k("pitch",h,n,void 0),new k("stereographicFactor",b,d,void 0)],f)}this.fa.Fb(c);this.Jc.Ep(this.fa.eb("hfov"));this.Jc.TG(this.fa.eb("stereographicFactor"));this.Jc.lla(this.j.Oc(),this.fa.eb("pitch"));this.fa.We()&amp;&amp;(this.Jc.tf(this.D.Pc,this.D.Rf.get("yaw"),this.D.Rf.get("pitch",this.j.Nc())),this.Bb=!0)}};return a});
define("gc",["require","lS","fb","pa","bL"],function(a){var e=a("lS"),l=a("fb"),m=a("pa"),k=a("bL");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.fa=null;this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(c){if(!this.Bb){if(!this.fa){var h=this.j.Ee(),g=Math.min(this.Jc.N4(this.D.Pc,h),h),b=!this.D.sb()&amp;&amp;.01&lt;Math.abs(h-g)?this.D.S5:1;this.fa=new m("cubic_in_out",[new k("hfov",h,g,void 0)],b);this.Jc.DU(!1)}this.fa.Fb(c);this.Jc.Ep(this.fa.eb("hfov"));this.fa.We()&amp;&amp;
(this.Jc.tf(this.D.Pc,this.j.Oc()+this.D.zM.lDa(),this.j.Nc()),this.Bb=!0)}};a.prototype.iG=function(){return!0};return a});define("eL",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=this.j.Df(this.D.Vg);this.j.remove(m)};return a});
define("ls",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=(this.D.cc||this.D.qc).get("model");m.set("objects",m.get("objects").filter(function(k){return k!=this.D.me}.bind(this)));[this.D.me.get("sourceCubeTexture"),this.D.me.get("targetCubeTexture")].forEach(function(k){k&amp;&amp;k.dispose()});this.D.me=null};return a});
define("mN",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=[this.j.Yc];this.uVa()&amp;&amp;m.push(this.D.kh);this.j.Yc.EG(m)};a.prototype.uVa=function(){return this.D.qc?!0:this.j.Yc.get("keepModel3DLoadedWithoutLocation")&amp;&amp;this.D.Vg&amp;&amp;this.D.kh&amp;&amp;this.D.kh.get("model")?!0:!1};return a});
define("qe",["require","exports","mG"],function(a,e,l){return function(m){function k(c,h,g,b){return m.call(this,c,h,g,b)||this}Z(k,m);k.prototype.fh=function(){var c,h,g;null===(g=null===(h=null===(c=this.D.kh)||void 0===c?void 0:c.get("model"))||void 0===h?void 0:h.get("camera"))||void 0===g?void 0:g.N9a()};return k}(l)});
define("t",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){this.Jc.tf(this.D.Pc,this.D.Rg.get("yaw"),this.D.Rg.get("pitch",this.j.Nc()));var m=this.D.Rg.get("hfov");m&amp;&amp;(m=this.Jc.OF(m),this.Jc.Ep(m))};return a});
define("dB",["require","lS","lw","mG"],function(a){var e=a("lS");a("lw");var l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=this.D.qc.get("model").get("camera");if(this.D.ZG.get("keepInitialPositionOnTranslation")){var k=this.D.Rg.get("yaw");m=this.D.Rg.get("pitch")}else k=m.get("yaw")-this.D.qc.get("yaw"),m=this.D.ZG.get("enterPointingToHorizon")?0:m.get("pitch");this.Jc.tf(this.D.Pc,k,m);if(k=this.D.Rg.get("hfov"))k=this.Jc.OF(k),this.Jc.Ep(k)};return a});
define("pX",["require","lS","oh","oS","mG"],function(a){var e=a("lS"),l=a("oh"),m=a("oS"),k=a("mG");a=e.extend(k,function(c,h,g,b){k.call(this,c,h,g,b)});a.prototype.fh=function(){if(m.isPresenting){var c=l.D5(m.cg,!0);this.D.qc.get("model").get("camera");var h=c.Ra-this.D.qc.get("yaw");c=c.pitch}else this.D.ZG.get("keepInitialPositionOnTranslation")?(h=this.D.Rg.get("yaw"),c=this.D.Rg.get("pitch")):(c=this.D.qc.get("model").get("camera"),h=c.get("yaw")-this.D.qc.get("yaw"),c=c.get("pitch"));this.Jc.tf(this.D.Pc,
h,c)};return a});
define("lx",["require","lS","py","fb"],function(a){var e=a("lS"),l=a("py"),m=a("fb");a=e.extend(m,function(k,c,h,g){m.call(this,k,c,h,g);this.ia=null;this.Bb=!1});a.prototype.CWa=function(){this.Bb=!0};a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(){if(!this.ia&amp;&amp;(this.ia=this.D.cc.get("model"),this.D.kh.get("model")==this.ia)){var k=this.ia.get("camera");k.set("easing",0);k.set("x",this.D.cc.get("x"));k.set("y",this.D.cc.get("y"));k.set("z",this.D.cc.get("z"));k.set("yaw",this.j.Oc()+
this.D.cc.get("yaw"));k.set("pitch",this.j.Nc());k.set("fov",this.j.Za()&gt;this.j.Cb()?this.j.kL():this.j.lL());this.ia.bind(l.Uh,this.CWa,this,!0)}};return a});
define("fB",["require","exports","mG"],function(a,e,l){a=function(m){function k(c,h,g,b,d){c=m.call(this,c,h,g,b)||this;c.value=!1;c.value=d;return c}Z(k,m);k.prototype.fh=function(){var c,h=null===(c=this.D.cc||this.D.qc||this.D.kh)||void 0===c?void 0:c.get("model");h&amp;&amp;h.get("camera").set("inTransition",this.value)};return k}(l);e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!0)||this}Z(k,m);return k}(a);a.vh=e;e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!1)||this}
Z(k,m);return k}(a);a.Hf=e;return a});
define("nU",["require","exports","mG"],function(a,e,l){a=function(m){function k(c,h,g,b,d){c=m.call(this,c,h,g,b)||this;c.enabled=!1;c.enabled=d;return c}Z(k,m);k.prototype.fh=function(){var c;null===(c=this.D.kh)||void 0===c?void 0:c.j.rb(this.enabled)};return k}(l);e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!0)||this}Z(k,m);return k}(a);a.vh=e;e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!1)||this}Z(k,m);return k}(a);a.Hf=e;return a});
define("jZ",["require","exports","mG"],function(a,e,l){a=function(m){function k(c,h,g,b,d){c=m.call(this,c,h,g,b)||this;c.paused=!1;c.paused=d;return c}Z(k,m);k.prototype.fh=function(){var c,h=null===(c=this.D.qc||this.D.cc||this.D.kh)||void 0===c?void 0:c.get("model");h&amp;&amp;this.D.kh.j.EIa(h,!this.paused)};return k}(l);e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!0)||this}Z(k,m);return k}(a);a.vh=e;e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!1)||this}Z(k,m);return k}(a);
a.Hf=e;return a});define("iu",["require","lS","mG","qb"],function(a){var e=a("lS"),l=a("mG"),m=a("qb");a=e.extend(l,function(k,c,h,g){l.call(this,k,c,h,g)});a.prototype.fh=function(){this.D.Pc&amp;&amp;(this.D.mode==m.F7||this.D.mode==m.G7?this.D.Pc.set("minFaceSize",1024):this.D.Pc.set("minFaceSize",void 0))};return a});
define("hH",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=this.D.Lla?this.D.Rf.get("stereographicFactor",0):0;this.Jc.TG(m);this.Jc.tf(this.D.Pc,this.D.Rf.get("yaw"),this.D.Rf.get("pitch",this.j.Nc()));(m=this.D.Rf.get("hfov"))||this.D.Vg||(m=this.Jc.nCa());m&amp;&amp;(m=this.Jc.OF(m),this.Jc.Ep(m),this.Jc.DU(!this.D.Lla))};return a});
define("fq",["require","exports","mG"],function(a,e,l){a=function(m){function k(c,h,g,b,d){c=m.call(this,c,h,g,b)||this;c.paused=!1;c.paused=d;return c}Z(k,m);k.prototype.fh=function(){this.j.RIa(this.paused)};return k}(l);e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!0)||this}Z(k,m);return k}(a);a.vh=e;e=function(m){function k(c,h,g,b){return m.call(this,c,h,g,b,!1)||this}Z(k,m);return k}(a);a.Hf=e;return a});
define("gH",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){var m=this.Jc.N4(this.D.Pc,this.j.Ee());this.Jc.Ep(m);this.Jc.tf(this.D.Pc,this.j.Oc()+this.D.zM.lDa(),this.j.Nc())};a.prototype.iG=function(){return!0};return a});
define("lJ",["require","exports","fb","oS"],function(a,e,l,m){a=function(k){function c(h,g,b,d,f){h=k.call(this,h,g,b,d)||this;h.value=!1;h.ended=!1;h.wait=!1;h.Sg=function(){return this.ended};h.value=f;h.value||(h.wait=!0);return h}Z(c,k);c.prototype.Ug=function(){m.ng.forEach(function(h){m.gla(h,!this.value)}.bind(this));this.wait?this.wait=!1:this.ended=!0};return c}(l);e=function(k){function c(h,g,b,d){return k.call(this,h,g,b,d,!0)||this}Z(c,k);return c}(a);a.vh=e;e=function(k){function c(h,
g,b,d){return k.call(this,h,g,b,d,!1)||this}Z(c,k);return c}(a);a.Hf=e;return a});define("ec",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.fh=function(){this.D.cc&amp;&amp;this.D.kh.get("model")==this.D.cc.get("model")&amp;&amp;this.j.Yc.EG([this.D.kh])};return a});
define("bB",["require","lS","fb","hV","w"],function(a){var e=a("lS"),l=a("fb"),m=a("hV"),k=a("w");a=e.extend(l,function(c,h,g,b){l.call(this,c,h,g,b);this.C="not initialized";this.gb=0});a.prototype.Sg=function(){return"ended"==this.C};a.prototype.Ug=function(c){this.Sg()||("not initialized"==this.C&amp;&amp;this.kba(),"initialized"==this.C&amp;&amp;(this.ep.get("ready")||this.ep.Xia())&amp;&amp;this.oR(),"started"==this.C&amp;&amp;this.oa(c),1&lt;=this.gb&amp;&amp;this.hO())};a.prototype.kba=function(){this.Twa=this.D.hKa;this.zN=.25;this.UOa=
.75;this.dYa=.25;this.Bza=this.aUa();this.Y7=.5*this.Twa;this.f1a=this.Twa-2*this.Y7;this.qE=1/(this.Y7+this.f1a);this.hW=this.qE/this.Y7;this.xx=0;this.ep=this.j.Df(this.D.Pc);this.cfa=this.j.Df(this.D.Vg);this.DI=this.D.zM.E5a();this.C="initialized"};a.prototype.aUa=function(){var c=this.D.zM.get("distance");return c?Math.min(.99,c/this.D.Vg.get("distanceToFloor")):.75};a.prototype.oR=function(){this.j.GIa(!this.D.sb()&amp;&amp;k.browser()!=k.Jj);this.ep.Jh();this.C="started"};a.prototype.oa=function(c){this.ep.get("ready")&amp;&amp;
m.d5(!0);this.ep.get("ready")||this.gb&lt;this.dYa?this.gb&gt;=1-.5*this.xx*this.xx/this.hW?this.xx=Math.sqrt(2*(1-this.gb)*this.hW):this.xx&lt;this.qE&amp;&amp;(this.xx=Math.min(this.xx+this.hW*c,this.qE)):this.xx=Math.max(this.xx-this.hW*c,0);this.gb=Math.min(Math.max(0,this.gb+this.xx*c),1);this.ep.get("ready")||(this.zN=Math.max(this.zN,this.gb));this.m1(this.gb,Math.max(0,Math.min(1,(this.gb-this.zN)/(this.UOa-this.zN))))};a.prototype.hO=function(){this.ep.set("alpha",1);this.j.GIa(!1);this.C="ended";m.d5(!1)};
a.prototype.m1=function(c,h){var g=(c-1)*this.Bza;this.ep.set("translationX",g*this.DI.x);this.ep.set("translationY",g*this.DI.y);this.ep.set("translationZ",g*this.DI.z);this.ep.get("ready");c*=this.Bza;this.cfa.set("translationX",c*this.DI.x);this.cfa.set("translationY",c*this.DI.y);this.cfa.set("translationZ",c*this.DI.z);this.ep.set("alpha",Math.max(.01,Math.min(.99,h)))};a.prototype.iG=function(){return this.gb&lt;this.zN};return a});
define("fA",["require","ol","fz"],function(a){var e=a("ol"),l=a("fz");return e.define("TargetModel3DCameraMovement",l,function(){l.call(this)})});
define("gZ","require lS py lu hl fA fb oS".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("hl"),c=a("fA"),h=a("fb"),g=a("oS");a=e.extend(h,function(d,f,n,q){h.call(this,d,f,n,q);this.pr=this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(){this.D.kh.get("model")!=this.D.cc.get("model")?this.tt():this.Nb?this.Nb.get("state")==m.V&amp;&amp;setTimeout(function(){this.tt()}.bind(this),10):this.pr||(this.pr=!0,this.Vea(),this.gR())};a.prototype.Vea=function(){var d=this.D.cc.get("model").get("camera");
this.Nda=d.get("sequences").find(function(p){return p.get("state")===m.PLAYING});var f=d.pK;f||(f={x:d.get("initialX",d.get("x")),y:d.get("initialY",d.get("y")),z:d.get("initialZ",d.get("z")),yaw:d.get("initialYaw",d.get("yaw")),pitch:d.get("initialPitch",d.get("pitch")),fov:d.get("initialFov",d.get("fov")),distance:d.get("initialDistance",d.get("distance"))});d.set("easing",0);d.set("x",this.D.cc.get("x"));d.set("y",this.D.cc.get("y"));d.set("z",this.D.cc.get("z"));d.set("distance",0);g.isPresenting||
d.set("yaw",this.j.Oc()+this.D.cc.get("yaw"));d.set("pitch",this.j.Nc());d.set("fov",this.j.Za()&gt;this.j.Cb()?this.j.kL():this.j.lL());var n=[];if(this.D.DB){var q=new c;q.set("duration",this.D.f3);q.set("easing","linear");q.bind(l.Uh,this.Hca,this,!0);this.F$=q;n.push(q);this.D.me.set("sourceAlpha",1)}else this.D.me.set("sourceAlpha",.99);this.Ud=new c;this.Ud.set("targetX",f.x);this.Ud.set("targetY",f.y);this.Ud.set("targetZ",f.z);g.isPresenting||this.Ud.set("targetYaw",f.yaw);this.Ud.set("targetPitch",
f.pitch);this.Ud.set("targetFov",f.fov);this.Ud.set("targetDistance",f.distance);this.Ud.set("duration",this.D.P8a);this.Ud.set("easing","quad_in_out");this.Ud.bind(l.Uh,this.Rca,this,!0);n.push(this.Ud);this.Nb=new k;this.Nb.set("movements",n);this.Nb.set("mandatory",!0);this.Nb.set("internal",!0);this.Nb.bind(l.Gb,this.tt,this,!0);d.set("sequences",d.get("sequences").concat([this.Nb]));this.Nb.play();this.wR=(new THREE.Vector3).set(f.x,f.y,f.z);this.XA=(new THREE.Vector3).set(this.D.cc.get("x"),
this.D.cc.get("y"),this.D.cc.get("z"))};a.prototype.Hca=function(){var d=this.F$.get("position");this.D.me.set("sourceAlpha",1-d);this.D.me.set("targetAlpha",0)};a.prototype.Rca=function(){if(this.D.DB)this.D.me.set("sourceAlpha",0),this.D.me.set("targetAlpha",0);else{var d=this.zO();this.D.me.set("sourceAlpha",1-Math.max(.01,Math.min(.99,(d-0)/.33)))}};var b=new THREE.Vector3;a.prototype.zO=function(){var d=this.D.cc.get("model").get("camera");return b.set(d.get("x"),d.get("y"),d.get("z")).distanceTo(this.XA)/
this.XA.distanceTo(this.wR)};a.prototype.tt=function(){if(!this.Bb){var d=this.D.cc.get("model").get("camera");d.set("sequences",d.get("sequences").filter(function(f){return f!=this.Nb}.bind(this)));this.Nda&amp;&amp;d.get("sequences").includes(this.Nda)&amp;&amp;this.Nda.play();this.Bb=!0;this.NQ()}};a.prototype.gR=function(){var d=this.D.cc.get("model");this.DQ=d.get("postprocessing");this.EQ=d.get("surfaceSelectionEnabled");d.set("postprocessing",!1);d.set("surfaceSelectionEnabled",!1)};a.prototype.NQ=function(){var d=
this.D.cc.get("model"),f=this.DQ,n=this.EQ;setTimeout(function(){d.set("postprocessing",f);d.set("surfaceSelectionEnabled",n)},30)};return a});
define("iJ","require lS py hl fA fb oS".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("hl"),k=a("fA"),c=a("fb"),h=a("oS");a=e.extend(c,function(b,d,f,n){c.call(this,b,d,f,n);this.Bb=this.pr=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(){this.D.kh.get("model")!=this.D.qc.get("model")?this.Dva():this.pr||(this.pr=!0,this.s_a(),this.gR())};a.prototype.s_a=function(){var b=this.D.qc.get("model").get("camera");b.set("easing",0);b.set("x",this.D.cc.get("x"));b.set("y",this.D.cc.get("y"));
b.set("z",this.D.cc.get("z"));b.set("distance",0);h.isPresenting||b.set("yaw",this.j.Oc()+this.D.cc.get("yaw"));b.set("pitch",this.j.Nc());b.set("fov",this.j.Za()&gt;this.j.Cb()?this.j.kL():this.j.lL());var d=[];if(this.D.DB){var f=new k;f.set("duration",this.D.f3);f.set("easing","linear");f.bind(l.Uh,this.Hca,this,!0);this.F$=f;d.push(f);this.D.me.set("skyBox",!1);this.D.me.set("nearPlane",!0);this.D.me.set("sourceAlpha",1);this.D.me.set("targetAlpha",0)}else this.D.me.set("skyBox",!0),this.D.me.set("nearPlane",
!1),this.D.me.set("targetAlpha",.01),this.D.me.set("sourceAlpha",.99);this.Ud=new k;this.Ud.set("targetX",this.D.qc.get("x"));this.Ud.set("targetY",this.D.qc.get("y"));this.Ud.set("targetZ",this.D.qc.get("z"));this.D.ZG.get("keepInitialPositionOnTranslation")&amp;&amp;(h.isPresenting||(f=this.D.Rg.get("yaw")+this.D.qc.get("yaw"),this.Ud.set("targetYaw",f)),f=this.D.Rg.get("pitch"),void 0!==f&amp;&amp;this.Ud.set("targetPitch",f),f=this.D.Rg.get("hfov"),void 0!==f&amp;&amp;this.Ud.set("targetFov",f));this.Ud.set("duration",
1500);this.Ud.set("easing","cubic_in_out");this.Ud.bind(l.Uh,this.DWa,this,!0);d.push(this.Ud);this.D.DB&amp;&amp;(f=new k,f.set("duration",this.D.f3),f.set("easing","linear"),f.bind(l.Uh,this.Gca,this,!0),this.E$=f,d.push(f));this.Nb=new m;this.Nb.set("movements",d);this.Nb.set("mandatory",!0);this.Nb.set("internal",!0);this.Nb.bind(l.Gb,this.Dva,this,!0);b.set("sequences",b.get("sequences").concat([this.Nb]));this.Nb.play();this.XA=(new THREE.Vector3).set(this.D.cc.get("x"),this.D.cc.get("y"),this.D.cc.get("z"));
this.wR=(new THREE.Vector3).set(this.D.qc.get("x"),this.D.qc.get("y"),this.D.qc.get("z"))};a.prototype.DWa=function(){if(this.D.DB)this.D.me.set("sourceAlpha",0),this.D.me.set("targetAlpha",0);else{var b=this.zO();this.D.me.set("targetAlpha",Math.max(.01,Math.min(.99,b-0)));this.D.me.set("sourceAlpha",1)}};var g=new THREE.Vector3;a.prototype.zO=function(){var b=this.D.cc.get("model").get("camera");return g.set(b.get("x"),b.get("y"),b.get("z")).distanceTo(this.XA)/this.XA.distanceTo(this.wR)};a.prototype.Hca=
function(){var b=this.F$.get("position");this.D.me.set("sourceAlpha",1-b);this.D.me.set("targetAlpha",0)};a.prototype.Gca=function(){var b=this.E$.get("position");this.D.me.set("sourceAlpha",0);this.D.me.set("targetAlpha",b)};a.prototype.Dva=function(){var b=this.D.cc.get("model").get("camera");b.set("sequences",b.get("sequences").filter(function(d){return d!=this.Nb}.bind(this)));this.NQ();this.Bb=!0};a.prototype.gR=function(){var b=this.D.cc.get("model"),d=this.D.kh;this.DQ=b.get("postprocessing");
this.EQ=b.get("surfaceSelectionEnabled");this.SXa=d.get("spritesEnabled");b.set("postprocessing",!1);b.set("surfaceSelectionEnabled",!1);d.set("spritesEnabled",!1)};a.prototype.NQ=function(){var b=this.D.cc.get("model"),d=this.D.kh,f=this.DQ,n=this.EQ,q=this.SXa;setTimeout(function(){b.set("postprocessing",f);b.set("surfaceSelectionEnabled",n);d.set("spritesEnabled",q)},500)};return a});
define("lO","require lS py lu hl fA fb lw oS".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("hl"),c=a("fA"),h=a("fb"),g=a("lw"),b=a("oS");a=e.extend(h,function(f,n,q,p){h.call(this,f,n,q,p);this.pr=this.Bb=!1});a.prototype.Sg=function(){return this.Bb};a.prototype.Ug=function(){this.Nb?this.Nb.get("state")==m.V&amp;&amp;setTimeout(function(){this.tt()}.bind(this),10):this.pr||(this.pr=!0,this.Vea(),this.gR())};a.prototype.Vea=function(){var f=this.D.qc.get("model").get("camera");f.ybb();var n=
Math.abs(f.get("pitch")-this.j.Nc()),q=30&lt;n;this.Ud=new c;this.Ud.set("targetX",this.D.qc.get("x"));this.Ud.set("targetY",this.D.qc.get("y"));this.Ud.set("targetZ",this.D.qc.get("z"));this.Ud.set("targetDistance",0);this.Ud.set("targetFov",this.sUa(this.j.Ee()));b.isPresenting||this.Ud.set("targetYaw",this.j.Oc()+this.D.qc.get("yaw"));q?this.Ud.set("targetPitch",f.get("pitch")):this.Ud.set("targetPitch",this.j.Nc());this.Ud.set("duration",this.D.W7a);this.Ud.set("easing","cubic_in_out");this.Ud.bind(l.Uh,
this.Rca,this,!0);var p=[this.Ud];q&amp;&amp;(q=new c,q.set("targetPitch",this.j.Nc()),q.set("duration",n/90*1E3),q.set("easing","quad_in_out"),p.push(q));this.D.DB?(n=new c,n.set("duration",this.D.f3),n.set("easing","linear"),n.bind(l.Uh,this.Gca,this,!0),this.E$=n,p.push(n),this.D.me.set("targetAlpha",0)):this.D.me.set("targetAlpha",.01);this.Nb=new k;this.Nb.set("movements",p);this.Nb.set("mandatory",!0);this.Nb.set("internal",!0);this.Nb.bind(l.Gb,this.tt,this,!0);f.set("sequences",f.get("sequences").concat([this.Nb]));
this.Nb.play();this.XA=(new THREE.Vector3).set(f.get("x"),f.get("y"),f.get("z"));this.wR=(new THREE.Vector3).set(this.D.qc.get("x"),this.D.qc.get("y"),this.D.qc.get("z"))};a.prototype.sUa=function(f){return this.j.Za()&lt;this.j.Cb()?g.Em(f,this.j.Za(),this.j.Cb()):f};a.prototype.Rca=function(){if(!this.Bb&amp;&amp;!this.D.DB){var f=this.zO();this.D.me.set("targetAlpha",Math.max(.01,Math.min(.99,(f-.66)/(1-.66))))}};var d=new THREE.Vector3;a.prototype.zO=function(){var f=this.D.qc.get("model").get("camera");
return d.set(f.get("x"),f.get("y"),f.get("z")).distanceTo(this.XA)/this.XA.distanceTo(this.wR)};a.prototype.Gca=function(){var f=this.E$.get("position");this.D.me.set("targetAlpha",f)};a.prototype.tt=function(){this.Bb||this.ZRa()};a.prototype.ZRa=function(){var f=this.D.qc.get("model").get("camera");f.set("sequences",f.get("sequences").filter(function(n){return n!=this.Nb}.bind(this)));this.Bb=!0;this.Nb=null;this.NQ();this.j.Df(this.D.Pc).set("alpha",1)};a.prototype.gR=function(){var f=this.D.qc.get("model");
this.DQ=f.get("postprocessing");this.EQ=f.get("surfaceSelectionEnabled");f.set("postprocessing",!1);f.set("surfaceSelectionEnabled",!1)};a.prototype.NQ=function(){var f=this.D.qc.get("model"),n=this.DQ,q=this.EQ;setTimeout(function(){f.set("postprocessing",n);f.set("surfaceSelectionEnabled",q)},30)};return a});define("jA",["require","lS","mG"],function(a){var e=a("lS"),l=a("mG");a=e.extend(l,function(m,k,c,h,g){l.call(this,m,k,c,h);this.oPa=g});a.prototype.fh=function(){this.oPa.call(this.O)};return a});
define("gB",["require","lS","fb"],function(a){var e=a("lS"),l=a("fb");a=e.extend(l,function(m,k,c,h){l.call(this,m,k,c,h)});a.prototype.Sg=function(){var m=this.j.Db(),k=m&amp;&amp;m.CK;m=m&amp;&amp;m.jJ;return!!k&amp;&amp;!k.get("visible")&amp;&amp;!!m&amp;&amp;!m.get("visible")};return a});
define("N",["require","lS","fb"],function(a){var e=a("lS"),l=a("fb"),m=e.extend(l,function(k,c,h,g){l.call(this,k,c,h,g);this.mx=null});m.prototype.Sg=function(){this.mx||(this.mx=this.D.Pc&amp;&amp;this.j.Df(this.D.Pc));return this.mx&amp;&amp;this.mx.get("ready")};m.prototype.iG=function(){return!0};m.lMa=e.extend(m,function(k,c,h,g){m.call(this,k,c,h,g)});m.lMa.prototype.iG=function(){return!1};m.rMa=e.extend(m,function(k,c,h,g){m.call(this,k,c,h,g)});m.rMa.prototype.Sg=function(){this.mx||(this.mx=this.D.Pc&amp;&amp;
this.j.Df(this.D.Pc));return this.mx&amp;&amp;(this.mx.get("ready")||this.mx.mka())};return m});
define("pJ","require cI gE hU qb mx dc mf oM ik bH fw mm bP or pl cr ng gc eL ls mN qe t dB pX lx fB nU jZ iu hH fq gH lJ ec bB gZ iJ lO jA gB N lS".split(" "),function(a){var e=a("cI"),l=a("gE"),m=a("hU"),k=a("qb"),c=a("mx"),h=a("dc"),g=a("mf"),b=a("oM"),d=a("ik"),f=a("bH"),n=a("fw");a("mm");var q=a("bP");a("or");var p=a("pl"),r=a("cr"),t=a("ng"),u=a("gc"),v=a("eL"),w=a("ls"),x=a("mN"),y=a("qe"),z=a("t"),B=a("dB"),D=a("pX"),I=a("lx"),A=a("fB"),E=a("nU"),J=a("jZ"),C=a("iu"),L=a("hH"),S=a("fq"),U=
a("gH"),V=a("lJ"),W=a("ec"),K=a("bB"),N=a("gZ"),R=a("iJ"),X=a("lO"),ba=a("jA"),da=a("gB"),ea=a("N"),G=a("lS").extend(l,function(P,T,M){l.call(this);this.M=P;this.j=T;this.Uc=M;this.Jc=this.nt=null;this.Rqa=this.bt=this.rQ=this.$w=void 0;this.D=null;this.gh=[]});G.prototype.ela=function(P){this.nt=P};G.prototype.clear=function(){this.kea(this.bt);this.D&amp;&amp;this.kea(this.D.Pc);this.rQ=this.$w=void 0;this.pa=this.Uc=this.j=this.M=this.D=null};G.prototype.start=function(P,T){!this.D&amp;&amp;P==this.bt||this.D&amp;&amp;
P==this.D.Pc?this.rQ=this.$w=void 0:(this.$w=P,this.rQ=T,0==this.gh.length&amp;&amp;this.J0())};G.prototype.hide=function(){this.$w=null;!this.D&amp;&amp;this.bt&amp;&amp;this.J0()};G.prototype.Yia=function(){return null!==this.D};G.prototype.z5a=function(){return this.D&amp;&amp;this.D.Pc};G.prototype.J0=function(){this.D=new k(this.j,this.nt,this.bt,this.$w,this.rQ);this.Jc=new m(this.j,this.Uc,this.D);this.rQ=this.$w=void 0;this.ka(C);this.ka(g);switch(this.D.mode){case k.Kma:this.lc(this.bB);this.ka(V.Hf);this.ka(y);this.ka(S.vh);
this.ka(J.Hf);this.ka(E.vh);this.ka(q);this.lc(this.aB);this.ka(v);this.lc(this.Tt);this.ka(A.Hf);this.ka(V.vh);break;case k.Jma:this.ka(x);this.lc(this.qF);this.ka(ea);this.ka(d);this.ka(L);this.lc(this.Ex);this.ka(n);this.ka(da);this.ka(r);this.lc(this.pF);break;case k.GV:this.ka(x);this.lc(this.bB);this.ka(V.Hf);this.ka(q);this.lc(this.qF);this.lc(this.aB);this.ka(v);this.lc(this.Tt);this.ka(ea);this.ka(d);this.ka(L);this.lc(this.Ex);this.ka(n);this.ka(V.vh);this.ka(da);this.ka(r);this.lc(this.pF);
break;case k.Wna:this.ka(x);this.lc(this.qF);this.lc(this.bB);this.lc(this.aB);this.D.sb()?(this.ka(ea),this.ka(U),this.lc(this.Ex),this.ka(K),this.ka(v),this.lc(this.Tt)):(this.ka(u),this.lc(this.Ex),this.ka(K),this.ka(v),this.lc(this.Tt),this.ka(p),this.ka(d),this.ka(da));this.lc(this.pF);break;case k.ho:this.ka(x);this.lc(this.qF);this.ka(ea);this.D.sb()?(this.lc(this.bB),this.lc(this.aB),this.ka(z),this.lc(this.Ex),this.ka(c),this.ka(v),this.lc(this.Tt)):(this.lc(this.bB),this.lc(this.aB),this.ka(t),
this.lc(this.Ex),this.ka(c),this.ka(v),this.lc(this.Tt),this.ka(d),this.ka(da),this.ka(r));this.lc(this.pF);break;case k.F7:this.ka(S.vh);this.ka(x);this.lc(this.qF);this.ka(b);this.ka(J.Hf);this.ka(ea);this.ka(V.Hf);this.ka(h.I7);this.ka(B);this.ka(X);this.ka(A.Hf);this.ka(A.vh);this.lc(this.Ex);this.ka(S.Hf);this.ka(E.Hf);this.ka(w);this.ka(V.vh);this.ka(d);this.ka(da);this.ka(J.vh);this.lc(this.pF);break;case k.Yna:this.ka(b);this.lc(this.bB);this.ka(I);this.lc(this.aB);this.ka(V.Hf);this.ka(h.z7);
this.ka(S.vh);this.ka(J.Hf);this.ka(v);this.lc(this.Tt);this.ka(N);this.ka(A.Hf);this.ka(w);this.ka(V.vh);this.ka(W);break;case k.G7:this.lc(this.qF);this.ka(b);this.lc(this.bB);this.lc(this.aB);this.ka(V.Hf);this.ka(h.z7);this.ka(ea);this.ka(h.I7);this.ka(I);this.ka(S.vh);this.ka(J.Hf);this.ka(v);this.lc(this.Tt);this.ka(R);this.ka(E.Hf);this.ka(A.Hf);this.ka(w);this.ka(D);this.lc(this.Ex);this.ka(f);this.ka(S.Hf);this.ka(V.vh);this.ka(d);this.ka(da);this.ka(J.vh);this.lc(this.pF);break;case k.Xna:this.lc(this.qF),
this.ka(b),this.ka(V.Hf),this.ka(h.z7),this.ka(I),this.ka(S.vh),this.ka(J.Hf),this.ka(ea),this.lc(this.bB),this.lc(this.aB),this.ka(v),this.lc(this.Tt),this.ka(N),this.ka(w),this.ka(h.I7),this.ka(B),this.ka(X),this.ka(A.Hf),this.lc(this.Ex),this.ka(S.Hf),this.ka(E.Hf),this.ka(w),this.ka(V.vh),this.ka(J.vh),this.lc(this.pF)}this.lc(this.Y0a);this.Sa()};G.prototype.Kfa=function(){this.bt=this.D.Pc;this.Rqa=this.D.ZG;this.D=this.Jc=null;void 0===this.$w?this.bt?this.H0a(this.bt,this.Rqa):this.I0a():
this.J0()};window.c4a=!0;window.d4a=!0;document.addEventListener("keydown",function(P){67==P.which&amp;&amp;(window.c4a=window.d4a=!0)});G.prototype.wy=function(P){for(;this.gh.length;){var T=this.gh[0];T.X_a||(T.X_a=(new Date).getTime());if(void 0!==this.$w&amp;&amp;this.$w!==this.bt&amp;&amp;T.iG()){this.kea(this.D.Pc);this.gh=[];this.J0();break}else if(T.Ug(P),this.Sa(),this.Jc.wy(P),T.Sg())this.gh.shift(),0==this.gh.length&amp;&amp;this.Kfa();else break}};document.addEventListener("keydown",function(){(new Date).getTime()});
document.addEventListener("keyup",function(){(new Date).getTime()});G.prototype.Nd=function(){};G.prototype.ka=function(P){this.gh.push(new P(this,this.Jc,this.j,this.D))};G.prototype.lc=function(P){this.gh.push(new ba(this,this.Jc,this.j,this.D,P))};G.prototype.kea=function(P){P&amp;&amp;(P=this.j.Df(P))&amp;&amp;(this.j.remove(P),this.Tt())};G.prototype.qF=function(){this.trigger(new e(G.S6,{panorama:this.D.Pc}))};G.prototype.Tt=function(){this.trigger(new e(G.J6,{panorama:this.D?this.D.Vg:this.bt,nextPanorama:this.D?
this.D.Pc:null}))};G.prototype.bB=function(){this.trigger(new e(G.zC,{panorama:this.D.Vg}))};G.prototype.aB=function(){this.trigger(new e(G.yC,{panorama:this.D.Vg,nextPanorama:this.D.Pc}))};G.prototype.pF=function(){this.trigger(new e(G.AC,{panorama:this.D.Pc,camera:this.D.ZG}))};G.prototype.Y0a=function(){this.trigger(new e(G.Tp))};G.prototype.Ex=function(){this.trigger(new e(G.BC,{panorama:this.D.Pc,camera:this.D.ZG}))};G.prototype.H0a=function(P,T){this.trigger(new e(G.p6,{panorama:P,camera:T}))};
G.prototype.I0a=function(){this.trigger(new e(G.q6))};G.prototype.Sa=function(){this.trigger(new e(G.Ob))};G.Ob="request frame";G.S6="request load";G.J6="panorama removed";G.p6="all pending panoramas displayed";G.q6="all pending panoramas hidden";G.yC="panorama end";G.BC="panorama start";G.AC="panorama show";G.zC="panorama hide";G.Tp="transition end";return G});
define("mR",["require","lS","cI","gE"],function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=e.extend(m,function(c){m.call(this);this.j=c});k.prototype.clear=function(){this.end();this.j=null};k.prototype.yL=function(c){for(var h=this.SX(c),g=c.$S(),b=0;b&lt;h;b++)this.j.Df(this.gaa(c,b)).set("alpha",b==g?1:0)};k.prototype.getTime=function(){return 0};k.prototype.start=function(){};k.prototype.end=function(){};k.prototype.play=function(){};k.prototype.pause=function(){};k.prototype.YL=function(){};k.prototype.gM=
function(){};k.prototype.o5=function(){};k.prototype.stop=function(){};k.prototype.QG=function(){};k.prototype.WB=function(){};k.prototype.EM=function(){};k.prototype.Nd=function(){};k.prototype.pk=function(){};k.prototype.SX=function(c){return c.get("frames").length};k.prototype.gaa=function(c,h){return c.get("frames")[h]};k.prototype.Sa=function(){this.trigger(new l(k.Ob))};k.prototype.ur=function(c,h,g,b,d,f){this.trigger(new l(k.Kj,{time:c,duration:h,transitionPosition:g,transitionLength:b,steps:d,
selectedStep:f}))};k.prototype.gk=function(){this.trigger(new l(k.Sc,{state:this.pk()}))};k.Ob="request frame";k.uLa="frame display";k.vLa="frame hide";k.Kj="time change";k.Sc="playback state change";return k});
define("bw","require jquery.mod es lS py ix cI mR fr fC mS oS hi".split(" "),function(a){a("jquery.mod");var e=a("es"),l=a("lS"),m=a("py"),k=a("ix");a("cI");var c=a("mR"),h=a("fr"),g=a("fC");a("mS");a("oS");var b=a("hi"),d=l.extend(c,function(f){c.call(this,f);this.JX=null;this.Q$=this.OD=0;this.za=this.pE=null;this.pO=void 0;this.Gda=!1;this.Wa=360;this.OAa=180;this.wb=.5;this.Jo=.2;this.Fw=.45;this.Jta=5E3;this.Nta=1;this.WY=[[.5,.25],[.5,.375],[.25,.5],[.375,.5],[.5,.5],[.625,.5],[.75,.5],[.5,
.625],[.5,.75]];this.JVa=[.05,.1,.05,.1,.4,.1,.05,.1,.05]});d.prototype.yL=function(f){c.prototype.yL.call(this,f);this.ZQ(f)};d.prototype.start=function(f){this.ZQ(f);this.Sa()};d.prototype.end=function(){this.ZQ(null)};d.prototype.ZQ=function(f){this.za!=f&amp;&amp;(this.za&amp;&amp;(this.b1a(),this.za=null,this.h1a()),this.za=f)&amp;&amp;(this.POa(),this.Wa=f.get("hfov",360),this.OAa=f.get("vfov",180),this.wb=f.get("pitch",0),this.Mda=this.QE=void 0,this.AVa(f),this.gb=.5)};d.prototype.EM=function(){this.Gda=!1};d.prototype.QG=
function(f){this.gb=f/d.mN;this.Sa();this.Gda=!0};d.prototype.WB=function(f){this.QG(f)};d.prototype.ur=function(){var f=this.SX(this.za),n=this.gb*(f-1),q=Math.max(0,Math.min(f-2,Math.floor(n))),p=void 0;.01&gt;n-q?p=q:.99&lt;n-q&amp;&amp;(p=q+1);c.prototype.ur.call(this,this.gb*d.mN,d.mN,this.gb*d.mN,d.mN,f,p)};d.prototype.Nd=function(f){if(this.za){var n=this.j.Oc(),q=this.j.Nc(),p=this.j.eg(),r=0;if(void 0!==this.QE&amp;&amp;void 0!==this.Mda&amp;&amp;void 0!==this.cxa){var t=n-this.QE,u=q-this.Mda,v=p-this.cxa;r=1E3*Math.sqrt(t*
t+u*u+v*v)/f}this.QE=n;this.Mda=q;this.cxa=p;t=this.SX(this.za);var w=this.gb*(t-1);u=Math.max(0,Math.min(t-2,Math.floor(w)));v=u+1;w=1-(w-u);for(var x=1-w,y=[],z=0;z&lt;t;z++)y.push(0);y[v]=x;y[u]=1&gt;x?1:0;for(z=0;z&lt;t;z++)this.j.Df(this.gaa(this.za,z)).set("alpha",y[z]);this.ur();if(this.JX&amp;&amp;(r&lt;=this.Nta||this.j.Wr())&amp;&amp;!this.Gda){z=Math.PI/180;r=180/Math.PI;y=this.j.Za();var B=this.j.Cb(),D=new g;D.rotateZ(-p*z);D.rotateX(-q*z);D.rotateY(-n*z);n=[];for(z=0;z&lt;this.WY.length;z++)q=new h(this.WY[z][0]*
y,this.WY[z][1]*B,0),p=this.j.unproject(q).TDa(),p.apply(D),q=p.Oc()*r,p=p.Nc()*r,n.push(Math.round((90-p)*this.Q$/180)*this.OD+Math.round((q+180)*this.OD/360));q=[];for(z=0;z&lt;t;z++){p=this.JX[z];for(y=r=0;y&lt;this.WY.length;y++)r+=this.JVa[y]*p[n[y]];q.push(r)}z=q[u];n=q[v];u=w*q[u]+x*q[v];f=Math.min(1/t,f/this.Jta);t=this.gb;v=Math.max.apply(Math,q);w=Math.min.apply(Math,q);u&lt;this.Jo&amp;&amp;u&lt;v?t=n&gt;u?t+f:t-f:u&gt;this.Fw&amp;&amp;u&gt;w&amp;&amp;(t=z&lt;u?t-f:t+f);t=Math.min(1,Math.max(0,t));this.gb!=t&amp;&amp;(this.gb=t,this.Sa())}}};
d.prototype.AVa=function(f){var n=e(f.get("frames",[])).map(function(q){return q.get("thumbnailUrl")});this.pE=e(n).map(function(q){var p=null;q&amp;&amp;(p=new b(k.Bl),p.bind(m.ea,this.uva,this),p.bind(m.xc,this.vva,this));return p},this);e(this.pE).each(function(q,p){q&amp;&amp;q.load(n[p])})};d.prototype.h1a=function(){this.Nqa();this.JX=null};d.prototype.zWa=function(){this.OD=150;this.pE.map(function(f){f&amp;&amp;(this.OD=Math.min(360*f.Fe()/this.Wa,this.OD))},this);this.Q$=Math.round(this.OD/2);this.JX=this.pE.map(function(f){return this.NQa(f,
this.OD,this.Q$,this.Wa,this.OAa,this.wb)},this);this.Nqa()};d.prototype.NQa=function(f,n,q,p,r,t){var u=document.createElement("canvas");u.width=n;u.height=q;var v=u.getContext("2d");v.fillStyle="#000000";v.fillRect(0,0,n,q);f&amp;&amp;(f=f.Cf(),p=Math.round(n*p/360),v.drawImage(f,.5*(n-p),Math.round(q*(90-(t+.5*r))/180),p,Math.round(q*r/180)));n=[];u=v.getImageData(0,0,u.width,u.height);for(q=v=0;v&lt;u.height;v++)for(r=0;r&lt;u.width;r++,q+=4)n.push((.299*u.data[q]+.587*u.data[q+1]+.114*u.data[q+2])/255);return n};
d.prototype.Nqa=function(){e(this.pE).each(function(f){f&amp;&amp;(f.unbind(m.ea,this.uva,this),f.unbind(m.xc,this.vva,this),f.cancel())},this);this.pE=null};d.prototype.uva=function(){0==e(this.pE).filter(function(f){return f&amp;&amp;!f.Lh()}).length&amp;&amp;this.zWa()};d.prototype.vva=function(){};d.prototype.POa=function(){this.za.bind(m.G("minimumLuminance"),this.Tw,this);this.za.bind(m.G("maximumLuminance"),this.Tw,this);this.za.bind(m.G("luminanceChangeTime"),this.Tw,this);this.za.bind(m.G("maxLuminanceChangeSpeed"),
this.Tw,this);this.Tw()};d.prototype.b1a=function(){this.za.unbind(m.G("minimumLuminance"),this.Tw,this);this.za.unbind(m.G("maximumLuminance"),this.Tw,this);this.za.unbind(m.G("luminanceChangeTime"),this.Tw,this);this.za.unbind(m.G("maxLuminanceChangeSpeed"),this.Tw,this)};d.prototype.Tw=function(){this.Jo=this.za.get("minimumLuminance");this.Fw=this.za.get("maximumLuminance");void 0==this.Jo&amp;&amp;void 0==this.Fw?(this.Jo=.2,this.Fw=.45):void 0==this.Jo?this.Jo=Math.min(.2,this.Fw):void 0==this.Jo?this.Fw=
Math.max(.45,this.Jo):this.Jo=Math.min(this.Jo,this.Fw);this.Fw=Math.min(1,Math.max(0,this.Fw));this.Jo=Math.min(1,Math.max(0,this.Jo));this.Jta=Math.max(100,this.za.get("luminanceChangeTime",5E3));this.Nta=this.za.get("maxLuminanceChangeSpeed",1);this.Sa()};d.mN=1E3;return d});
define("eB","require lS z py lu mR".split(" "),function(a){var e=a("lS"),l=a("z"),m=a("py"),k=a("lu"),c=a("mR");a=e.extend(c,function(h){c.call(this,h);this.HX=this.IX=null;this.Uj=this.di=5E3;this.nf=void 0;this.Xb=this.di;this.Pl=1;this.za=null;this.iE=!1});a.prototype.start=function(h){this.za=h;this.iE=!1;this.vY=!0;this.IX=l.Ru(this.za,"frameDisplayTime",this.dga,this);this.HX=l.Ru(this.za,"frameTransitionTime",this.dga,this);this.Pl=this.SX(this.za);this.nf=this.za.$S()*(this.di+this.Uj);this.dga(!0);
this.ur();this.Sa();this.gk()};a.prototype.dga=function(h){var g=Math.max(100,this.za.get("frameDisplayTime",5E3)),b=Math.max(100,this.za.get("frameTransitionTime",5E3));if(this.di!=g||this.Uj!=b||h){h=this.NI();var d=this.TSa();this.di=g;this.Uj=b;1&lt;this.Pl?(this.nf=h*(this.di+this.Uj)+d*this.di+d*this.Uj,this.Xb=this.Pl*(this.di+this.Uj)):(this.nf=d*this.di,this.Xb=this.di)}};a.prototype.NI=function(){return 1&lt;this.Pl?Math.floor(this.nf/(this.di+this.Uj)):0};a.prototype.USa=function(){return 1&lt;
this.Pl?(this.NI()+1)%this.Pl:0};a.prototype.TSa=function(){return 1&lt;this.Pl?Math.max(0,Math.min(1,this.nf-this.NI()*(this.di+this.Uj))):this.nf/this.di};a.prototype.csa=function(){return 1&lt;this.Pl?Math.max(0,Math.min(1,(this.nf-(this.NI()*(this.di+this.Uj)+this.di))/this.Uj)):0};a.prototype.Z_a=function(h){var g=Math.floor(h/this.Uj);return g*(this.di+this.Uj)+this.di+(h-g*this.Uj)};a.prototype.sza=function(h){var g=Math.floor(h/(this.di+this.Uj));return g*this.Uj+Math.max(0,h-g*(this.di+this.Uj)-
this.di)};a.prototype.play=function(){this.iE&amp;&amp;(this.iE=!1,this.vY&amp;&amp;this.Sa(),this.gk())};a.prototype.pause=function(){this.iE=!0;this.gk()};a.prototype.YL=function(){this.pause()};a.prototype.gM=function(){this.play()};a.prototype.end=function(){this.vY=!1;this.za=null;this.IX&amp;&amp;(this.IX.hC(),this.IX=null);this.HX&amp;&amp;(this.HX.hC(),this.HX=null);this.gk()};a.prototype.QG=function(h){this.nf=h;this.Sa()};a.prototype.WB=function(h){this.nf=this.Z_a(h);this.Sa();this.pause()};a.prototype.Nd=function(h){if(this.vY){this.iE||
(this.nf+=h);this.nf%=this.Xb;h=this.NI();var g=this.USa(),b=this.csa(),d=g&gt;h?b:1;b=g&gt;h?1:1-b;for(var f=0;f&lt;this.Pl;f++){var n=f==h?b:f==g?d:0;var q=this.j.Df(this.gaa(this.za,f)),p=q.get("alpha");p!=n&amp;&amp;(0&lt;n&amp;&amp;1&gt;n&amp;&amp;q.Jh(),p=q.get("alpha"),q.set("alpha",n),f==this.Pl-1&amp;&amp;1==p&amp;&amp;1&gt;n&amp;&amp;this.za.trigger(m.cq))}this.ur();this.iE||this.Sa()}};a.prototype.pk=function(){return this.vY?this.iE?k.Qb:k.PLAYING:k.V};a.prototype.gk=function(){c.prototype.gk.call(this,this.pk())};a.prototype.ur=function(){c.prototype.ur.call(this,
this.nf,this.Xb,this.sza(this.nf),this.sza(this.Xb),this.Pl+1,0===this.csa()?this.NI():void 0)};return a});define("bS",["require","lS","mR"],function(a){var e=a("lS"),l=a("mR");return e.extend(l,function(m){l.call(this,m)})});
define("na",["require","lS","py","lu","mR"],function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("mR");a=e.extend(k,function(c){k.call(this,c);this.bf=!1});a.prototype.yL=function(){};a.prototype.start=function(c){this.end();this.za=c;this.za.set("mute",this.bf);this.za.get("autoplay")&amp;&amp;this.za.set("state",m.PLAYING);this.Fv()};a.prototype.getTime=function(){return this.za?this.za.get("currentTime"):0};a.prototype.pk=function(){return this.za?this.za.get("state"):m.V};a.prototype.play=function(){this.za&amp;&amp;
this.za.set("state",m.PLAYING)};a.prototype.pause=function(){this.za&amp;&amp;this.za.set("state",m.Qb)};a.prototype.o5=function(){this.za&amp;&amp;this.za.set("state",m.Qb)};a.prototype.stop=function(){this.za&amp;&amp;this.za.set("state",m.V)};a.prototype.end=function(){this.za&amp;&amp;(this.lx(),this.za=null)};a.prototype.QG=function(c){this.za&amp;&amp;this.za.set("state",m.PLAYING);this.za&amp;&amp;this.za.set("currentTime",c)};a.prototype.Tf=function(c){this.bf=c;this.za&amp;&amp;this.za.set("mute",this.bf)};a.prototype.Fv=function(){this.za.bind(l.G("currentTime"),
this.lf,this,!0);this.za.bind(l.G("duration"),this.Dn,this,!0);this.za.bind(l.G("state"),this.Mi,this,!0);this.za.get("state")!=m.V&amp;&amp;this.gk()};a.prototype.lx=function(){this.za.unbind(l.G("currentTime"),this.lf,this,!0);this.za.unbind(l.G("duration"),this.Dn,this,!0);this.za.unbind(l.G("state"),this.Mi,this,!0)};a.prototype.Mi=function(){this.gk()};a.prototype.lf=function(){this.ur()};a.prototype.Dn=function(){this.ur()};a.prototype.ur=function(){this.za&amp;&amp;k.prototype.ur.call(this,this.za.get("currentTime"),
this.za.get("duration"))};return a});
define("y","require lS lu cI gE ol mR bw eB bS na".split(" "),function(a){var e=a("lS");a("lu");var l=a("cI"),m=a("gE"),k=a("ol"),c=a("mR"),h=a("bw"),g=a("eB"),b=a("bS"),d=a("na"),f=e.extend(m,function(n){m.call(this);this.j=n;this.Wba=this.dX(g);this.Kaa=this.dX(h);this.D1=this.dX(d);this.gfa=this.dX(b);this.$d=null});f.prototype.clear=function(){this.VW(this.Wba);this.Wba=null;this.VW(this.Kaa);this.Kaa=null;this.VW(this.D1);this.D1=null;this.VW(this.gfa);this.j=this.$d=this.gfa=null};f.prototype.dX=
function(n){n=new n(this.j);n.bind(c.Ob,this.cf,this,!0);n.bind(c.Kj,this.Xq,this,!0);n.bind(c.Sc,this.kf,this,!0);return n};f.prototype.VW=function(n){n.unbind(c.Ob,this.cf,this);n.unbind(c.Kj,this.Xq,this);n.unbind(c.Sc,this.kf,this);n.clear()};f.prototype.zba=function(n,q){return k.Ja(q,n)};f.prototype.Zra=function(n){return this.zba(n,"HDRPanorama")?this.Kaa:this.zba(n,"LivePanorama")?this.Wba:this.zba(n,"VideoPanorama")?this.D1:this.gfa};f.prototype.yL=function(n){(this.$d=this.Zra(n))&amp;&amp;this.$d.yL(n)};
f.prototype.start=function(n){this.cf();(this.$d=this.Zra(n))&amp;&amp;this.$d.start(n)};f.prototype.pk=function(){if(this.$d)return this.$d.pk()};f.prototype.getTime=function(){return this.$d?this.$d.getTime():0};f.prototype.play=function(){this.$d&amp;&amp;this.$d.play()};f.prototype.pause=function(){this.$d&amp;&amp;this.$d.pause()};f.prototype.YL=function(){this.$d&amp;&amp;this.$d.YL()};f.prototype.gM=function(){this.$d&amp;&amp;this.$d.gM()};f.prototype.o5=function(){this.$d&amp;&amp;this.$d.o5()};f.prototype.stop=function(){this.$d&amp;&amp;this.$d.stop();
this.trigger(new l(f.Kj,{duration:0,time:0,steps:void 0,selectedStep:void 0}))};f.prototype.end=function(){this.$d&amp;&amp;(this.$d.end(),this.$d=null)};f.prototype.QG=function(n){this.$d&amp;&amp;this.$d.QG(n)};f.prototype.WB=function(n){this.$d&amp;&amp;this.$d.WB(n)};f.prototype.EM=function(){this.$d&amp;&amp;this.$d.EM()};f.prototype.Nd=function(n){this.$d&amp;&amp;this.$d.Nd(n)};f.prototype.Tf=function(n){this.D1.Tf(n)};f.prototype.cf=function(){this.trigger(new l(f.Ob))};f.prototype.Xq=function(n){this.trigger(new l(f.Kj,n.data))};
f.prototype.kf=function(n){this.trigger(new l(f.Sc,n.data))};f.Ob="request frame";f.uLa="frame display";f.vLa="frame hide";f.Kj="time change";f.Sc="playback state change";return f});
define("nc",["require","lS","py","gE","lT"],function(a){var e=a("lS"),l=a("py"),m=a("gE"),k=a("lT");a=e.extend(m,function(c){m.call(this);this.j=c;this.Fh=this.za=null});a.prototype.start=function(c){this.za=c;this.Fh=this.j.Df(this.za);this.Fh.bind(l.ea,this.Cd,this,!0);this.Fh.bind(l.kc,this.Xw,this,!0);this.Fh.get("ready")?this.trigger(l.hd,{panorama:this.za}):this.Fh.bind(l.hd,this.MZ,this,!0);this.Fh.set("loadingActive",!0)};a.prototype.stop=function(){this.za=null;this.Fh&amp;&amp;(this.Fh.unbind(l.hd,
this.MZ,this),this.Fh.unbind(l.ea,this.Cd,this),this.Fh.unbind(l.kc,this.Xw,this),this.Fh.set("loadingActive",!1),this.Fh=null,this.trigger(l.Wf))};a.prototype.clear=function(){this.stop()};a.prototype.MZ=function(){this.Fh.unbind(l.hd,this.MZ,this);this.trigger(l.hd,{panorama:this.za})};a.prototype.Cd=function(){this.Fh.unbind(l.hd,this.MZ,this);this.Fh.unbind(l.ea,this.Cd,this);this.Fh.unbind(l.kc,this.Xw,this);this.Fh=null;this.trigger(l.ea,{panorama:this.za});this.za=null;this.trigger(l.Wf)};
a.prototype.Xw=function(c){this.trigger(new k(l.kc,c.Tg))};return a});
define("kx","require exports py cI gE R".split(" "),function(a,e,l,m,k,c){var h=function(b){function d(f){var n=b.call(this)||this;n.renderer=f;n.uja=[];n.HT=new Map;n.Ef=null;return n}Z(d,b);d.prototype.clear=function(){this.W4([])};d.prototype.W4=function(f){f?Array.isArray(f)||(f=[f]):f=[];this.uja.filter(function(n){return!f.includes(n)}).forEach(this.y9a.bind(this));f.filter(function(n){return!this.uja.includes(n)}.bind(this)).forEach(this.g3a.bind(this));this.uja=f};d.prototype.display=function(f){this.tf(f)};
d.prototype.hide=function(f){this.Ef==f&amp;&amp;this.stop()};d.prototype.stop=function(){this.tf(null)};d.prototype.g3a=function(f){var n=new g(this.renderer,f);n.bind(d.xi,this.nU,this,!0);n.tf(this.Ef);this.HT.set(f,n)};d.prototype.y9a=function(f){var n=this.HT.get(f);n.unbind(d.xi,this.nU,this);n.dispose();this.HT.delete(f)};d.prototype.tf=function(f){this.Ef!==f&amp;&amp;(this.Ef=f,this.HT.forEach(function(n){n.tf(f)}))};d.prototype.Nd=function(){this.HT.forEach(function(f){f.ncb()})};d.prototype.nU=function(f){this.trigger(new m(d.xi,
{yawDelta:f.data.yawDelta}))};d.xi="request yaw change";return d}(k),g=function(b){function d(f,n){var q=b.call(this)||this;q.renderer=f;q.jy=n;q.Ef=null;q.Bu=null;q.f3a();return q}Z(d,b);d.prototype.dispose=function(){this.x9a();this.tf(null)};d.prototype.tf=function(f){this.Ef!==f&amp;&amp;(this.YBa(),this.Ef=f,this.h3a())};d.prototype.ncb=function(){this.DKa()};d.prototype.VHa=function(f,n,q){f=f.get("mapLocations",[]);for(var p=0;p&lt;f.length;p++){var r=f[p];if(r.get("map")==n)return r}return q&amp;&amp;0&lt;f.length?
f[0]:null};d.prototype.fJa=function(){this.jy.j3a(this.Bu);this.jy.bind(c.xi,this.nU,this,!0);this.DKa()};d.prototype.W6a=function(){this.jy.z9a(this.Bu);this.jy.unbind(c.xi,this.nU,this)};d.prototype.YBa=function(){this.Bu&amp;&amp;(this.W6a(),this.Bu=null)};d.prototype.h3a=function(){this.Ef&amp;&amp;(this.Bu=this.VHa(this.Ef,this.jy.get("map",null),!0))&amp;&amp;this.fJa()};d.prototype.DKa=function(){if(this.Bu){var f=this.renderer.Oc(),n=this.renderer.Nc();this.jy.Gp(this.Bu,f,n,this.renderer.Ee())}};d.prototype.f3a=
function(){this.jy.bind(l.G("map"),this.dGa,this,!1)};d.prototype.x9a=function(){this.jy.unbind(l.G("map"),this.dGa,this)};d.prototype.dGa=function(){this.Ef&amp;&amp;(this.YBa(),(this.Bu=this.VHa(this.Ef,this.jy.get("map",null),!1))&amp;&amp;this.fJa())};d.prototype.nU=function(f){this.trigger(new m(h.xi,{yawDelta:f.data.yawDelta}))};return d}(k);return h});
define("hF","require py lV gE bn mS oS".split(" "),function(a){function e(w){this.YW=w;this.Ek=null;this.O8={};for(w=0;w&lt;this.YW.buttons.length;w++)this.O8[this.YW.buttons[w]]=!1;this.M8=0;this.JA=null;this.TE=[new THREE.Quaternion,new THREE.Quaternion];this.Xk=this.TE[0];this.li=[new THREE.Vector3,new THREE.Vector3];this.gb=this.li[0];this.RJ=new THREE.Vector3;this.PE=new THREE.Quaternion;this.Upa=0}function l(w,x,y){this.a7a=w;this.buttons=x;this.f9a=y}function m(){if(!v&amp;&amp;u!=b.Te){u=b.Te;var w=
navigator.getGamepads&amp;&amp;navigator.getGamepads();if(w){for(var x=0;x&lt;p.length;x++)p[x].uIa(null);for(x=0;x&lt;w.length;x++){var y=w[x];if(y&amp;&amp;(y.pose||y.CEa)){var z=y.id||y.deb,B=z+(y.hand?"-"+y.hand:""),D=t[B];if(!D){a:{for(var I=0;I&lt;f.length;I++){var A=f[I];if(0==z.indexOf(n[A].a7a)){z=A;break a}}z=void 0}z&amp;&amp;p.push(D=t[B]=new e(n[z]))}D&amp;&amp;t[B].uIa(y)}}(w=r)&amp;&amp;!r.jja()&amp;&amp;(r=null);for(x=0;x&lt;p.length;x++)if(D=p[x],D.jja()&amp;&amp;D.pressed()){r=D;break}if(!r)for(x=0;x&lt;p.length;x++)if(D=p[x],D.jja()){if("right"==D.hand()){r=
D;break}r||(r=D)}w!=r&amp;&amp;h.UB(k)}}}function k(){q.trigger(c.ba)}var c=a("py"),h=a("lV"),g=a("gE"),b=a("bn"),d=a("mS");a("oS");var f="oculus go;oculus touch;xr-standard;gear vr;daydream;vive;vive focus;microsoft;unknown".split(";"),n={};n["oculus go"]=new l("Oculus Go",["trackpad","trigger"],"trigger");n["oculus touch"]=new l("Oculus Touch","thumbstick trigger grip abutton bbutton surface".split(" "),"trigger");n["xr-standard"]=new l("xr-standard","trigger grip unknow_button_0 thumbstick abutton bbutton unknow_button".split(" "),
"trigger");n["gear vr"]=new l("Gear VR",["trackpad","trigger"],"trigger");n.daydream=new l("Daydream Controller",["trackpad","menu","system"],"trackpad");n.vive=new l("OpenVR",["trackpad","trigger","grip","menu","system"],"trigger");n["vive focus"]=new l("HTC Vive Focus",["trackpad","trigger","grip"],"trigger");n.microsoft=new l("Spatial Controller (Spatial Interaction Source)",["thumbstick","trigger","grip","menu","thumbpad"],"trigger");n.unknown=new l("",[],void 0);e.prototype.uIa=function(w){if(this.Ek=
w){this.kUa=this.Ek.hand||this.Ek.ceb;this.Ek.pose&amp;&amp;this.Ek.pose.orientation?(this.JA=this.Ek.pose,this.JA.orientation&amp;&amp;(this.Xk=this.TE[0]==this.Xk?this.TE[1]:this.TE[0],this.Xk.fromArray(this.JA.orientation)),this.JA.position?(this.gb=this.li[0]==this.gb?this.li[1]:this.li[0],this.gb.fromArray(this.JA.position)):this.gb=null):this.Ek.CEa&amp;&amp;(this.JA=this.Ek.CEa.transform,this.Xk=this.TE[0]==this.Xk?this.TE[1]:this.TE[0],this.Xk.copy(this.JA.orientation),this.gb=this.li[0]==this.gb?this.li[1]:this.li[0],
this.gb.copy(this.JA.position));w=0;for(var x=Math.min(this.Ek.buttons.length,this.Ek.buttons.length);w&lt;x;w++)this.O8[this.YW.buttons[w]]=this.Ek.buttons[w].pressed;for(w=this.M8=0;w&lt;this.Ek.buttons.length;w++)this.Ek.buttons[w].pressed&amp;&amp;this.M8++;(w=!!this.RJ!=!!this.gb||this.gb&amp;&amp;this.RJ.x!=this.gb.x&amp;&amp;this.RJ.y!=this.gb.y&amp;&amp;this.RJ.z!=this.gb.z)&amp;&amp;(this.gb?this.RJ.copy(this.gb):this.RJ.set(0,0,0,0));(x=!!this.PE!=!!this.Xk||this.Xk&amp;&amp;(this.PE.x!=this.Xk.x||this.PE.y!=this.Xk.y||this.PE.z!=this.Xk.z||
this.PE.w!=this.Xk.w))&amp;&amp;(this.Xk?this.PE.copy(this.Xk):this.PE.set(0,0,0));if(w||x)this.Upa=b.Te}};e.prototype.jja=function(){return!!this.Ek};e.prototype.u7a=function(){return 500&lt;b.Te-this.Upa};e.prototype.hand=function(){return this.kUa};e.prototype.quaternion=function(){return this.Xk};e.prototype.position=function(){return this.gb};e.prototype.pressed=function(w){w||(w=this.YW.f9a);return w?this.O8[w]:0&lt;this.M8};var q=new g;q.all=function(){m();return p};q.$i=function(){m();return r};q.ab="left";
q.ub="right";var p=[],r=null,t={},u=void 0,v=d.lg("disable-controller",!1);return q});define("dt",["require","fr","a"],function(a){function e(k,c){this.fg=k||new l(0,0,0);this.Fj=c||new l(1,0,0)}var l=a("fr"),m=a("a");e.prototype.clone=function(){return new e(this.fg.clone(),this.Fj.clone())};e.prototype.apply=function(k){k.QK(this.fg);k.QK(this.Fj)};e.prototype.TDa=function(){return m.pB(this.fg,this.Fj)};return e});
define("iF",["require","dt","fr"],function(a){function e(k,c,h){this.sa=k||100;this.wa=c||100;this.Wa=h||Math.PI;this.Rda=void 0;this.Ys=!0}var l=a("dt"),m=a("fr");e.prototype.NG=function(k){this.Wa!=k&amp;&amp;(this.Wa=k,this.Ys=!0)};e.prototype.Zx=function(){return this.Wa};e.prototype.OU=function(k){this.sa!=k&amp;&amp;(this.sa=k,this.Ys=!0)};e.prototype.Fe=function(){return this.sa};e.prototype.wIa=function(k){this.wa!=k&amp;&amp;(this.wa=k,this.Ys=!0)};e.prototype.Ue=function(){return this.wa};e.prototype.project=function(k){if(0!=
k.z){this.vAa();var c=1/k.z,h=this.Rda*c;k.x=.5*this.sa-k.x*h;k.y=.5*this.wa-k.y*h;k.z=c}};e.prototype.unproject=function(k){this.vAa();return new l(new m(0,0,0),new m(.5*this.sa-k.x,.5*this.wa-k.y,this.Rda))};e.prototype.vAa=function(){this.Ys&amp;&amp;(this.Rda=.5*this.sa/Math.tan(.5*this.Wa),this.Ys=!1)};return e});
define("pF",["require"],function(){function a(){this.Dg=this.pitch=this.Ra=0;this.ti=this.Ve=90;this.Fr=this.Gr=this.height=this.width=100;this.qk=1;this.hG=this.sb=!1;this.Rm=0;this.pia=this.kS=this.Fja=!1;this.fG=this.eU=!0;this.camera=this.ES=this.DS=this.Eg=null;this.enabled=!1;this.Te=0;this.UU=void 0}a.prototype.clone=function(){var e=new a;e.Ra=this.Ra;e.pitch=this.pitch;e.Dg=this.Dg;e.Ve=this.Ve;e.ti=this.ti;e.width=this.width;e.height=this.height;e.Gr=this.Gr;e.Fr=this.Fr;e.qk=this.qk;e.sb=
this.sb;e.hG=this.hG;e.Rm=this.Rm;e.Fja=this.Fja;e.pia=this.pia;e.kS=this.kS;e.eU=this.eU;e.fG=this.fG;e.Eg=this.Eg;e.DS=this.DS;e.ES=this.ES;e.camera=this.camera;e.enabled=this.enabled;e.Te=this.Te;e.UU=this.UU;return e};return a});
define("po",["require","dP","hV"],function(a){var e=a("dP"),l=a("hV");return function(m){var k=1,c=new THREE.WebGLCubeRenderTarget(1024),h=new THREE.CubeCamera(.1,1E4,c);h.layers.enable(e.Uu);h.layers.enable(e.ab);c=new THREE.ShaderMaterial;c.uniforms={tCube:{value:h.renderTarget.texture},tFlip:{value:1},opacity:{value:1}};c.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#include &lt;tonemapping_fragment&gt;\n#include &lt;colorspace_fragment&gt;\n}";
c.vertexShader="varying vec3 vWorldPosition;\n#include &lt;common&gt;\nvoid main() {\n\tvWorldPosition = transformDirection( position, modelMatrix );\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\tgl_Position.z = gl_Position.w;\n}\n";c.side=THREE.BackSide;c.depthWrite=!1;c.transparent=!0;c.depthTest=!1;c.needsUpdate=!0;var g=new THREE.Mesh(new THREE.SphereGeometry(5,64,64),c);g.overdraw=!1;g.matrixAutoUpdate=!1;g.renderOrder=1E3;var b=new THREE.Matrix4;this.TG=function(f){k=f};this.start=function(f){f.add(g);
f.add(h);f.traverse(function(n){n.layers.test(h.layers)&amp;&amp;(n.userData.pja=n.layers.mask,n.layers.mask=h.layers.mask)});h.visible=!0;g.visible=!0;m.setClearColor(16777215,1)};this.stop=function(f){m.setClearColor(0,0);f.traverse(function(n){void 0!==n.userData.pja&amp;&amp;(n.layers.mask=n.userData.pja,delete n.userData.pja)});h.visible=!1;g.visible=!1;f.remove(g);f.remove(h)};var d=0;this.render=function(f,n){0&lt;k&amp;&amp;(g.matrix.copy(n.matrixWorld),g.matrix.multiply(b.makeTranslation(0,0,5*-k)),g.matrixWorldNeedsUpdate=
!0,d++,l.n7a()&amp;&amp;0!=d%10||(l.g$a(),g.visible=!1,h.update(m,f),g.visible=!0))}}});
define("eS","require lw oh dP po jI V hV oS".split(" "),function(a){function e(n){this.M=n;this.Kb=new THREE.PerspectiveCamera(90,16/9,.1,2*h.Fg);this.Kb.layers.enable(k.ab);this.$s=new THREE.PerspectiveCamera;this.Va=new THREE.Scene;this.Gqa=new THREE.Scene;this.Hqa=new THREE.Scene;this.Va.add(this.Kb);this.yo=this.mfa=this.iX=this.hX=this.j=null;this.lua=this.C9=!1}var l=a("lw"),m=a("oh"),k=a("dP"),c=a("po"),h=a("jI"),g=a("V"),b=a("hV"),d=a("oS");e.prototype.i5a=function(){this.FPa()};e.prototype.Ur=
function(){return this.j};e.prototype.qf=function(){return this.Va};e.prototype.getCamera=function(){return this.$s};e.prototype.Wr=function(){return d.isPresenting&amp;&amp;d.mh==this.j&amp;&amp;d.RB==this.Va};e.prototype.r5a=function(){return this.$s.isArrayCamera&amp;&amp;0&lt;this.$s.cameras.length?2*Math.atan2(1,this.$s.cameras[0].projectionMatrix.elements[5])*f:this.$s.fov};e.prototype.getPixelRatio=function(){return this.j?this.j.getPixelRatio():b.getPixelRatio()};e.prototype.u5a=function(){return d.isPresenting&amp;&amp;d.framebufferWidth?
.5*d.framebufferWidth:this.j?this.j.domElement.width:1024};e.prototype.t5a=function(){return d.isPresenting&amp;&amp;d.framebufferHeight?d.framebufferHeight:this.j?this.j.domElement.height:1024};e.prototype.dg=function(){return this.j.domElement};e.prototype.update=function(n){this.a2a(n);this.y1a(n);this.vr(n)};e.prototype.Cha=function(n){this.j.eu=!0;n=b.A4a(n);var q=new THREE.CubeCamera(this.$s.near,this.$s.far,n);this.Va.add(q);q.position.setFromMatrixPosition(this.$s.matrixWorld);q.update(this.j,this.Va);
this.Va.remove(q);this.j.eu=!1;return n.texture};e.prototype.render=function(){this.N_()};e.prototype.a2a=function(n){n.enabled&amp;&amp;(this.j||this.w_a(n),n.sb&amp;&amp;d.getType()==d.yv.zl&amp;&amp;(this.lua=!0));this.kza==n.width&amp;&amp;this.jza==n.height||this.j.setSize(this.kza=n.width,this.jza=n.height);if(this.C9=n.enabled&amp;&amp;!n.sb)this.hX.setSize(n.width,n.height),this.iX.setSize(n.width,n.height)};e.prototype.w_a=function(n){!this.j&amp;&amp;n.enabled&amp;&amp;(this.M.Pd().P1(),this.hX=this.M.Pd().p5a(),this.j=this.M.Pd().Ur(),n=this.j.getSize(new THREE.Vector2),
this.kza=n.width,this.jza=n.height,this.iX=this.M.Pd().q5a(),this.mfa=new c(this.j,this.Kb))};e.prototype.FPa=function(){this.j&amp;&amp;(this.hX=this.j=this.iX=this.yo=null,this.M.Pd().K4())};e.prototype.vr=function(n){n.sb?this.$s=this.j.xr.getCamera():(this.Kb.quaternion.copy(m.cDa(n.Ra,n.pitch,n.Dg)),this.Kb.fov=l.Em(n.Ve,n.width,n.height),this.Kb.aspect=n.width/n.height,this.Kb.updateProjectionMatrix(),this.Kb.updateMatrixWorld(),this.$s=this.Kb);g.f$a(this.Va,this.Wr()?this.j.xr.getCamera().cameras:
[this.Kb]);!0===this.Va.oeb&amp;&amp;this.Va.updateMatrixWorld()};e.prototype.y1a=function(n){var q=!n.sb&amp;&amp;0&lt;n.Rm?this.mfa:null;this.yo!=q&amp;&amp;(this.yo&amp;&amp;this.yo.stop(this.Va),(this.yo=q)&amp;&amp;this.yo.start(this.Va));this.yo&amp;&amp;this.yo==this.mfa&amp;&amp;this.yo.TG(n.Rm)};e.prototype.N_=function(){this.lua&amp;&amp;this.j.resetState();this.yo&amp;&amp;this.yo.render(this.Va,this.Kb);this.j.render(this.Va,this.Kb);this.C9&amp;&amp;(this.hX.render(this.Gqa,this.Kb),this.iX.render(this.Hqa,this.Kb))};var f=180/Math.PI;return e});
define("c","require lS jD fs cD eC V kV pG".split(" "),function(a){var e=a("lS"),l=a("jD"),m=a("fs"),k=a("cD"),c=a("eC"),h=a("V"),g=a("kV"),b=a("pG");a=e.extend(l,function(){l.call(this);this.set("tag","ComposedWebGLObject");this.set("webglScene",null);this.set("meshGroup",null);this.set("camera",null);this.set("textureSource",null);this.set("materialConfig",this.dca=new k.ko);this.Xv&amp;&amp;this.Xv();this.BD&amp;&amp;this.BD();this.Lz&amp;&amp;this.Lz();this.xo&amp;&amp;this.xo()});a.prototype.Zb=function(){l.prototype.Zb.call(this);
this.Qo&amp;&amp;this.Qo();this.kP&amp;&amp;this.kP();this.KJ&amp;&amp;this.KJ()};a.prototype.ac=function(){this.iJ&amp;&amp;this.iJ();this.MJ&amp;&amp;this.MJ();this.So&amp;&amp;this.So();c.dispose(this.get("meshGroup"));c.Pu(this.get("meshGroup"),null);this.set("meshGroup",null);l.prototype.ac.call(this)};a.prototype.oa=function(d){this.yf&amp;&amp;this.yf(d);l.prototype.oa.call(this,d);this.set("camera",h.getCamera(d.Eg));this.set("webglScene",d.Eg);this.get("meshGroup")||(this.set("meshGroup",c.iCa(this.wo())),this.get("meshGroup").userData.O8a=this);
this.R("webglScene","meshGroup")&amp;&amp;c.Pu(this.get("meshGroup"),this.get("webglScene"));this.vm();this.Wi&amp;&amp;this.Wi(d);this.p2a();this.Hx&amp;&amp;this.Hx(d);this.kp&amp;&amp;this.kp(d);this.xF();this.R("loadingActive","meshGroup")&amp;&amp;g.rb(this.get("meshGroup"),this.get("loadingActive"));this.R("blendingActive","meshGroup")&amp;&amp;b.fIa(this.get("meshGroup"),this.get("blendingActive"))};a.prototype.vm=function(){this.R("composedAlpha","meshGroup")&amp;&amp;this.sz()};a.prototype.sz=function(){c.ff(this.get("meshGroup"),this.get("composedAlpha"))};
a.prototype.p2a=function(){if(this.R("textureSource")||this.R("materialConfig")&amp;&amp;!this.dca.isEqual(this.get("materialConfig"))){var d=this.MI();d&amp;&amp;(c.$$a(d,this.RN()),this.sz())}};a.prototype.xF=function(){if(this.R("index","meshGroup")){var d=this.get("meshGroup");d&amp;&amp;d.children.forEach(function(f,n,q){c.h5(f,this.get("index")+n/q.length)}.bind(this))}};a.prototype.RN=function(){var d=this.get("textureSource")||new m;this.dca=this.get("materialConfig");var f=k.Kr(d.texture(),this.dca);g.pM(f,d);return[f]};
a.prototype.xqa=function(){var d=new m,f=k.Kr(d.texture());g.pM(f,d);return[f]};a.prototype.ow=function(d){return c.R5a(this.get("meshGroup"),d)};return a});
define("oK","require ix jI eC kR kV lw oh nC".split(" "),function(a){var e=a("ix"),l=a("jI"),m=a("eC"),k=a("kR"),c=a("kV"),h=a("lw"),g=a("oh"),b=a("nC"),d=new THREE.Matrix4,f=Math.PI/180;return{Xv:function(){this.set("distance",void 0);this.set("rotationX",0);this.set("rotationY",0);this.set("rotationZ",0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("scale",1);this.set("contentWidth",100);this.set("contentHeight",100);this.set("hfov",void 0);this.set("vfov",null);this.set("scaleMode",
null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.set("attachToCamera",!1);this.$g=this.Kz();this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.Ro=new THREE.Matrix4;this.kn=new THREE.Matrix4;this.wj=new THREE.Matrix4;this.B8=new THREE.Matrix4;this.opa=new THREE.Quaternion;this.rqa=new THREE.Matrix4;this.BN=new THREE.Matrix4;this.NN=new THREE.Matrix4;this.zz=new THREE.Matrix4;this.$h=new THREE.Matrix4},Hx:function(n){this.yr(n);this.Aga()},Aga:function(){if(this.R("hfov",
"vfov","contentWidth","contentHeight","panoramaPixelsPerDegree","scaleMode","horizontalAlign","verticalAlign")){var n=k.Hia(this.get("hfov"),this.get("vfov"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("panoramaPixelsPerDegree"),this.get("horizontalAlign"),this.get("verticalAlign"));n=l.NIa(this.$g[1],n.ZU,n.hV,n.Ly,n.Ny);this.$g[1]!=n&amp;&amp;(this.$g[1]=n,(n=this.MI())&amp;&amp;m.$ka(n,this.$g[1]))}},MI:function(){var n=this.get("meshGroup");return n?m.jl(n)[1]:null},wo:function(){return[0,
1].map(function(n){var q=0==n?this.xqa():this.RN();n=m.create(this.$g[n],q);c.Dy(n,c.Xp);c.Ey(n,c.Fs);c.OG(n,e.aN);c.MU(n,1);return n}.bind(this))},Kz:function(){return[l.YK(),l.YK()]},yr:function(n){var q=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*l.Fg,.5*this.get("composedTranslationY")*l.Fg,.5*this.get("composedTranslationZ")*l.Fg),q=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;
(this.Td.makeRotationY(-n.Ra*f),this.Td.multiply(d.makeRotationX(-this.get("composedDeltaPitch")*f)),this.Td.multiply(d.makeRotationY(this.get("composedDeltaYaw")*f)),this.Td.multiply(d.makeRotationY(n.Ra*f)),q=!0);this.R("yaw","pitch")&amp;&amp;(this.Ro.makeRotationY(-this.get("yaw")*f),this.Ro.multiply(d.makeRotationX(this.get("pitch")*f)),q=!0);if(this.R("distance","flipHorizontally","scale","hfov","vfov","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign","composedTranslationX",
"composedTranslationY","composedTranslationZ")){var p=0==this.ta.get("composedTranslationX")&amp;&amp;0==this.ta.get("composedTranslationY")&amp;&amp;0==this.ta.get("composedTranslationZ")&amp;&amp;void 0!==this.get("distance")?l.qu(this.get("distance")):l.Rr();this.kn.makeTranslation(0,0,-p);var r=this.get("contentWidth"),t=this.get("contentHeight"),u=this.get("hfov"),v=this.get("vfov")||h.Em(u,r,t),w=(this.get("flipHorizontally")?-1:1)*this.get("scale"),x=this.get("scale"),y=this.get("scaleMode"),z=this.get("panoramaPixelsPerDegree");
q=this.get("horizontalAlign")||b.Ze;var B=this.get("verticalAlign")||b.se;r=k.Hia(u,v,r,t,y,z,q,B);u=w*l.Iia(p,u);v=x*l.Jia(p,v);this.BN.makeScale(u,v,1);w*=l.Iia(p,r.Ve);p=x*l.Jia(p,r.vs);this.NN.makeScale(w,p,1);this.rqa.makeTranslation(q==b.ab?.5*-(u-w):q==b.ub?.5*(u-w):0,B==b.Ec?.5*(v-p):B==b.wc?.5*-(v-p):0,0);q=!0}this.R("rotationX","rotationY","rotationZ","roll")&amp;&amp;(this.wj.makeRotationZ(this.get("roll")*f),this.wj.multiply(d.makeRotationY(this.get("rotationY")*f)),this.wj.multiply(d.makeRotationX(this.get("rotationX")*
f)),this.wj.multiply(d.makeRotationZ(this.get("rotationZ")*f)),q=!0);this.set("cameraYaw",n.Ra);this.set("cameraPitch",n.pitch);this.set("cameraRoll",n.Dg);this.get("attachToCamera")&amp;&amp;this.R("cameraYaw","cameraPitch","cameraRoll")?(this.opa.copy(g.cDa(n.Ra,n.pitch,n.Dg)),this.B8.makeRotationFromQuaternion(this.opa),q=!0):this.R("attachToCamera")&amp;&amp;(this.B8.identity(),q=!0);if(q||this.R("meshGroup"))this.$h.copy(this.Hh),this.$h.multiply(this.Td),this.$h.multiply(this.B8),this.$h.multiply(this.Ro),
this.$h.multiply(this.kn),this.$h.multiply(this.wj),this.zz.copy(this.$h),this.zz.multiply(this.BN),this.$h.multiply(this.rqa),this.$h.multiply(this.NN),n=m.jl(this.get("meshGroup")),m.Jr(n[0],this.zz),m.Jr(n[1],this.$h)}}});define("ka",["require","lS","c","oK"],function(a){var e=a("lS"),l=a("c");a=a("oK");return e.extend(l,a,function(){l.call(this);this.set("tag","Plane")})});
define("ih","require lS le py ol ka nw oQ nV eO lT".split(" "),function(a){function e(p,r,t,u,v,w){for(p=(p-r)/w;t+180&lt;u;)u-=360;for(;t-180&gt;u;)u+=360;t=(t-u)/w;return t=-.1&gt;p||.1&lt;p?l(v,t,Math.abs(1/(1500*p))):l(v,t,.08)}function l(p,r,t){p=(r-p)*(1-t);1E-5&gt;Math.abs(p)&amp;&amp;(p=0);return r-p}var m=a("lS"),k=a("le"),c=a("py"),h=a("ol"),g=a("ka"),b=a("nw"),d=a("oQ"),f=a("nV"),n=a("eO"),q=a("lT");a=m.extend(g,function(p){g.call(this);this.v=p;this.Kk.push(this.v);this.ig=this.ig.bind(this);this.pf=h.Ja("CeilingCapPanoramaOverlay",
this.v)?"ceiling":"tripod";this.set("tag","Cap");this.set("pitch","tripod"==this.pf?-90:90);this.od=!1;this.QE=this.Pda=this.yt=void 0;this.OXa="tripod"==this.pf?1:-1;this.Ck=this.Wk=this.bh=null});a.prototype.Zb=function(){g.prototype.Zb.call(this);this.bh=(new d(c.ea)).Sm(this.Qq.bind(this));this.Wk=(new d(c.kc)).zp(this.yE.bind(this));k.da(this.v,"angle distance hfov image.levels.url inertia rotate".split(" "),this.ig,!0)};a.prototype.ac=function(){this.Ck&amp;&amp;this.Ck.dispose();this.Ck=null;this.bh.dispose();
this.Wk.dispose();k.ca(this.v,"angle distance hfov image.levels.url inertia rotate".split(" "),this.ig);g.prototype.ac.call(this)};a.prototype.ig=function(){this.set("angle",this.v.get("angle"));this.set("distance",this.v.get("distance"));this.set("hfov",this.v.get("hfov"));var p=f.v5a(this.v,this.get("panoramaPixelsPerDegree"));this.set("imageURL",p&amp;&amp;p.get("url"));this.set("imageWidth",p&amp;&amp;p.get("width"));this.set("imageHeight",p&amp;&amp;p.get("height"));this.set("inertia",this.v.get("inertia"));this.set("rotate",
this.v.get("rotate"))};a.prototype.wo=function(){var p=g.prototype.wo.call(this);this.bh.Gf(p);this.Wk.Gf(p);return p};a.prototype.oa=function(p){this.hga();this.zK(p);g.prototype.oa.call(this,p)};a.prototype.hga=function(){this.R("imageURL")&amp;&amp;this.get("imageURL")&amp;&amp;(this.set("textureSource",new b(this.get("imageURL"))),this.set("contentWidth",this.get("imageWidth")),this.set("contentHeight",this.get("imageHeight")))};a.prototype.Qq=function(){this.trigger(c.hd);this.trigger(c.ea)};a.prototype.yE=
function(p,r){var t=0;r.lu(function(u){(u=r.Gm(u))&amp;&amp;(t+=u.Tg)});this.trigger(new q(c.kc,t/r.ld.length))};a.prototype.zK=function(p){this.set("rendererYaw",p.Ra);if(this.R("angle","inertia","rotate")||(this.get("rotate")||this.get("inertia"))&amp;&amp;this.R("rendererYaw")){var r=this.get("angle"),t=this.get("rotate"),u=this.get("inertia"),v=this.OXa*p.Ra;t&amp;&amp;(r+=v);var w=0,x=r-v;void 0!==this.yt&amp;&amp;(u&amp;&amp;(t?(w=e(v,this.QE,r,this.yt,this.Pda,p.Te),r=this.yt+w*p.Te):(w=e(v,this.QE,x,this.$wa,this.Pda,p.Te),x=this.$wa+
w*p.Te,r=x+v)),this.yt!=r&amp;&amp;this.Ga());this.$wa=x;this.yt=r;this.Pda=w;this.QE=v;this.set("rotationZ",-r)}};a.prototype.Om=function(p){if(p.vf==c.El){var r=!p.hl()&amp;&amp;this.rr(p);r&amp;&amp;(p.gB(this.v),this.v.get("useHandCursor")&amp;&amp;p.DF(this.v),p.gl(this.get("distance")));this.od!=r&amp;&amp;(this.od=r,this.v.trigger(this.od?c.Dc:c.Jb),p.Au()&amp;&amp;this.v.trigger(this.od?c.LC:c.Zp))}else p.vf==c.Vf&amp;&amp;!p.hl()&amp;&amp;this.rr(p)&amp;&amp;(1&lt;this.v.nL(c.ma,!0).length&amp;&amp;p.ps(this.v),p.gl(this.get("distance")),this.v.trigger(c.ma))};a.prototype.rr=
function(p){return this.ow(p.ir).some(function(r){var t=this.OSa();return t&amp;&amp;t.Iy(r.x,r.y)}.bind(this))};a.prototype.OSa=function(){if(this.Ck)return this.Ck;var p=this.get("textureSource");if(p=p&amp;&amp;p.Cf())this.Ck=new n(p);return this.Ck};return a});
define("kD","require lS py lu jD oS".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("lu"),k=a("jD"),c=a("oS");a=e.extend(k,function(){k.call(this);this.Hh=new THREE.Matrix4;this.JAa=!1;this.Hi=new THREE.Matrix4;this.tg=null;this.om=new THREE.Matrix4;this.JQ=this.vQ=0;this.rN=.75;this.$N=.5;this.lt=4;this.hca=0;this.mt=-2;this.Mq=3;this.UY=0;this.KD=7;this.pQ=this.GA=1;this.pP=.15;this.LD=this.IE=0;this.oY=this.z_=m.V;this.K0=this.E0=1E3});var h=Math.PI/180,g=new THREE.Matrix4;a.prototype.bn=function(){};
a.prototype.Zb=function(){k.prototype.Zb.call(this);this.trigger(l.hd);this.trigger(l.ea)};a.prototype.ac=function(){this.a9()};a.prototype.Nk=function(){this.bn();this.LQ()};a.prototype.Ok=function(){this.Ga()};a.prototype.LQ=function(){this.tg&amp;&amp;(this.a9(),this.Aqa())};a.prototype.fX=function(){};a.prototype.Aqa=function(){this.FYa();this.tg=new THREE.Group;for(var b=this.oY==m.PLAYING,d=this.IE,f=this.LD;0&lt;f+d;){var n=Math.random()*(f+d)&lt;=f;n?f--:d--;var q=this.fX();q.matrixAutoUpdate=!1;q.overdraw=
!1;q.material.opacity=0;q.userData={X4a:n,dM:new THREE.Matrix4,mBa:new THREE.Matrix4,Eka:new THREE.Matrix4,y:void 0,ZKa:void 0,QB:b};this.tg.add(q);b&amp;&amp;this.sea(q,this.mt,this.Mq);this.DYa(q)}this.vQ=b?this.tg.children.length:0;this.Zga.add(this.tg);this.npa()};a.prototype.a9=function(){if(this.tg){this.tg.parent&amp;&amp;this.tg.parent.remove(this.tg);for(var b=0,d=this.tg&amp;&amp;this.tg.children.length;b&lt;d;b++)this.tg.children[b].material.dispose();this.tg=null;this.JQ=0}};a.prototype.FYa=function(){this.om=(new THREE.Matrix4).makeScale(this.GA,
this.GA,this.GA)};a.prototype.sea=function(b,d,f){d+=Math.random()*(f-d);if(b.userData.X4a){f=this.KD;var n=360*Math.random()*h;b.userData.dM.makeTranslation(f*Math.cos(n),d,f*Math.sin(n))}else f=2*Math.random()*Math.PI,n=this.hca+(this.lt-this.hca)*Math.sqrt(Math.random()),b.userData.dM.makeTranslation(n*Math.cos(f),d,n*Math.sin(f));b.userData.dM.multiply(this.om);b.userData.y=d};a.prototype.DYa=function(b){var d=this.pP+Math.random()*(this.qE-this.pP);do var f=Math.random()*this.UY;while(80&lt;f&amp;&amp;
100&gt;f);var n=360*Math.random(),q=Math.sin(n*h)*Math.sin(f*h)*d,p=-Math.cos(f*h)*d;d*=Math.cos(n*h)*Math.sin(f*h);b.userData.ZKa=p*this.GA;b.userData.mBa.makeTranslation(q,p,d);b.userData.Eka.makeRotationY(n*h);b.userData.Eka.multiply(g.makeRotationX(-f*h))};a.prototype.oa=function(b){k.prototype.oa.call(this,b);this.q1a(b);this.Zga=b.Eg;this.Zga!=(this.tg&amp;&amp;this.tg.parent)?(this.a9(),this.Zga&amp;&amp;this.Aqa()):this.R("index")&amp;&amp;this.npa();this.U1a(b)};a.prototype.q1a=function(b){b=b.sb&amp;&amp;c.getType()==c.yv.zl;
b!=this.Xsa&amp;&amp;(this.Xsa=b)&amp;&amp;setTimeout(function(){this.tg&amp;&amp;this.LQ()}.bind(this),0)};a.prototype.U1a=function(b){if(this.tg){this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.JAa=0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"),this.Hh.makeTranslation(-this.get("composedTranslationX")*this.lt,this.get("composedTranslationY")*this.lt,this.get("composedTranslationZ")*this.lt));var d=this.z_==m.PLAYING,f=this.tg.children,
n=f.length,q=d?Math.round(n*b.Te/this.E0):0;if(0&lt;this.vQ+q){this.JQ=d?0:Math.min(this.vQ,this.JQ+Math.round(n*b.Te/this.K0));b=this.get("composedAlpha");for(d=0;d&lt;n;d++){var p=f[d];if(!p.userData.QB)if(0&lt;q)q--,p.userData.QB=!0,this.vQ++,this.sea(p,this.Mq,this.Mq+(this.Mq-this.mt));else continue;p.userData.dM.multiply(p.userData.mBa);p.userData.y+=p.userData.ZKa;if(p.userData.y&lt;this.mt||p.userData.y&gt;this.Mq){if(0&lt;this.JQ){this.JQ--;p.userData.QB=!1;this.vQ--;p.material.opacity=0;continue}var r=p.userData.y&lt;
this.mt?this.Mq:this.mt;this.sea(p,r,r)}r=b;p.userData.y&lt;this.mt+this.$N?r*=(p.userData.y-this.mt)/this.$N:p.userData.y&gt;this.Mq-this.rN&amp;&amp;(r*=(this.Mq-p.userData.y)/this.rN);p.material.opacity=r*this.pQ;this.JAa?(p.matrix.copy(this.Hh),p.matrix.multiply(p.userData.dM)):p.matrix.copy(p.userData.dM);p.matrix.multiply(p.userData.Eka);p.matrixWorldNeedsUpdate=!0}this.Ga()}}};a.prototype.npa=function(){if(this.tg)for(var b=this.get("index"),d=0;d&lt;this.tg.children.length;d++)this.tg.children[d].renderOrder=
b};return a});
define("jl","require lS le lu kD on w".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("lu"),k=a("kD"),c=a("on"),h=a("w");a=e.extend(k,function(b){k.call(this);this.v=b;this.Nk=this.Nk.bind(this);this.Ok=this.Ok.bind(this);this.bn()});a.prototype.Zb=function(){k.prototype.Zb.call(this);this.v.set("state",this.v.get("startState"));l.da(this.v,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.Nk,
!0);l.da(this.v,["state"],this.Ok,!0)};a.prototype.ac=function(){l.ca(this.v,"color intensity speed opacity distance maxDistance farPlaneDistance minSpeed maxSpeed particleCount farPlaneParticleCount particleScale".split(" "),this.Nk);l.ca(this.v,["state"],this.Ok);this.v.set("state",m.V);k.prototype.ac.call(this)};a.prototype.Nk=function(){this.bn();this.LQ()};a.prototype.Ok=function(){this.z_=this.v.get("state");this.Ga()};a.prototype.bn=function(){k.prototype.bn.call(this);var b=h.qb()||h.browser()==
h.ys?2500:h.Sf()?4E3:5E3;this.pP=this.qE=.2*this.v.get("speed",.2);this.lt=14.5*this.v.get("distance",.5)+.5;this.pQ=1*this.v.get("opacity",.1);this.GA=.036;this.IE=this.v.get("intensity",.1)*b;this.Gc=c.cs(this.v.get("color","#ffffff"));this.LD=0;this.KD=15;this.oY=this.v.get("initialState");this.E0=this.v.get("startDuration");this.K0=this.v.get("stopDuration");this.rN=.75;this.$N=.5;this.mt=-2;this.Mq=4;this.UY=180;this.gra()};a.prototype.fX=function(){return new THREE.Sprite(this.Yv())};a.prototype.Yv=
function(){var b=new THREE.SpriteMaterial;b.map=this.wq();b.side=THREE.FrontSide;b.transparent=!0;b.depthTest=!1;b.needsUpdate=!0;return b};a.prototype.wq=function(){if(this.Ia)return this.Ia;var b=document.createElement("canvas");b.width=b.height=g;this.Ia=new THREE.Texture;this.Ia.colorSpace=THREE.SRGBColorSpace;this.Ia.image=b;this.Ia.needsUpdate=!0;this.gra();return this.Ia};a.prototype.gra=function(){if(this.Ia){var b=this.Ia.image,d=b.getContext("2d"),f=d.createRadialGradient(.5*b.width,.5*
b.height,.2*b.height,.5*b.width,.5*b.height,.5*b.height);f.addColorStop(0,"rgba("+this.Gc[0]+", "+this.Gc[1]+", "+this.Gc[2]+", 1)");f.addColorStop(1,"rgba("+this.Gc[0]+", "+this.Gc[1]+", "+this.Gc[2]+", 0)");d.fillStyle=f;d.clearRect(0,0,b.width,b.height);d.fillRect(0,0,b.width,b.height);this.Ia.needsUpdate=!0}};var g=32;return a});
define("pu","require lS ix jI eC kR kV nC".split(" "),function(a){a("lS");var e=a("ix"),l=a("jI"),m=a("eC"),k=a("kR"),c=a("kV"),h=a("nC"),g=new THREE.Matrix4,b=Math.PI/180;return{Xv:function(){this.set("distance",void 0);this.set("width",100);this.set("height",100);this.set("offsetX",void 0);this.set("offsetY",void 0);this.set("yaw",0);this.set("pitch",0);this.set("roll",0);this.set("rotationZ",0);this.set("contentWidth",100);this.set("contentHeight",100);this.set("scale",1);this.set("scaleMode",
null);this.set("horizontalAlign",null);this.set("verticalAlign",null);this.$g=this.Kz();this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.Ro=new THREE.Matrix4;this.kn=new THREE.Matrix4;this.iI=new THREE.Matrix4;this.dK=new THREE.Matrix4;this.wpa=new THREE.Matrix4;this.wj=new THREE.Matrix4;this.uqa=new THREE.Matrix4;this.BN=new THREE.Matrix4;this.NN=new THREE.Matrix4;this.zz=new THREE.Matrix4;this.$h=new THREE.Matrix4;this.kI=new THREE.Matrix4;this.qD=new THREE.Vector3},Hx:function(d){this.yr(d);
this.Aga()},Aga:function(){if(this.R("width","height","contentWidth","contentHeight","scaleMode","horizontalAlign","verticalAlign")){var d=k.V2(this.get("width"),this.get("height"),this.get("contentWidth"),this.get("contentHeight"),this.get("scaleMode"),this.get("horizontalAlign"),this.get("verticalAlign"));d=l.NIa(this.$g[1],d.ZU,d.hV,d.Ly,d.Ny);this.$g[1]!=d&amp;&amp;(this.$g[1]=d,(d=this.MI())&amp;&amp;m.$ka(d,this.$g[1]))}},MI:function(){var d=this.get("meshGroup");return d?m.jl(d)[1]:null},wo:function(){return[0,
1].map(function(d){var f=0==d?this.xqa():this.RN();d=m.create(this.$g[d],f);c.Dy(d,c.Xp);c.Ey(d,c.Fs);c.OG(d,e.aN);c.MU(d,1);return d}.bind(this))},Kz:function(){return[l.YK(),l.YK()]},yr:function(d){var f=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*l.Fg,.5*this.get("composedTranslationY")*l.Fg,.5*this.get("composedTranslationZ")*l.Fg),f=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;
(this.Td.makeRotationY(-d.Ra*b),this.Td.multiply(g.makeRotationX(-this.get("composedDeltaPitch")*b)),this.Td.multiply(g.makeRotationY(this.get("composedDeltaYaw")*b)),this.Td.multiply(g.makeRotationY(d.Ra*b)),f=!0);this.R("yaw","pitch")&amp;&amp;(this.Ro.makeRotationY(-this.get("yaw")*b),this.Ro.multiply(g.makeRotationX(this.get("pitch")*b)),f=!0);if(this.R("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var n=0==this.get("composedTranslationX")&amp;&amp;0==this.get("composedTranslationY")&amp;&amp;
0==this.get("composedTranslationZ")&amp;&amp;void 0!==this.get("distance");this.set("z",n?l.qu(this.get("distance")):l.Rr())}this.R("z")&amp;&amp;(this.kn.makeTranslation(0,0,-this.get("z")),f=!0);f&amp;&amp;(this.kI.copy(this.Hh),this.kI.multiply(this.Td),this.kI.multiply(this.Ro),this.kI.multiply(this.kn));n=!1;this.set("rendererYaw",d.Ra);this.set("rendererPitch",d.pitch);this.set("rendererRoll",d.Dg);this.set("rendererCameraFOV",d.ti);this.set("rendererWidth",d.width);this.set("rendererHeight",d.height);d.ti&amp;&amp;this.R("z",
"rendererCameraFOV")&amp;&amp;this.set("rendererHeightZ",Math.tan(d.ti*b*.5)*this.get("z")*2);if(d.ti&amp;&amp;(f||this.R("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR"))){if(d.sb)this.iI.copy(this.kI),this.dK.identity();else{n=d.camera;this.iI.copy(n.matrixWorld);this.qD.setFromMatrixPosition(n.matrixWorld);this.qD.applyMatrix4(this.kI);this.qD.applyMatrix4(n.matrixWorldInverse);var q=-10,p=-10;0&gt;this.qD.z&amp;&amp;(this.qD.applyMatrix4(n.projectionMatrix),
q=.5*this.qD.x,p=.5*this.qD.y);var r=this.get("rendererHeightZ");this.dK.makeTranslation(q*r*n.aspect,p*r,0)}n=!0}this.R("roll")&amp;&amp;(this.wj.makeRotationZ(this.get("roll")*b),n=!0);if(d.ti&amp;&amp;(f||this.R("rendererHeight","inVR","rendererHeightZ","width","height","contentWidth","contentHeight","scale","scaleMode","horizontalAlign","verticalAlign","flipHorizontally","offsetX","offsetY"))){f=d.sb?1024:d.height;n=this.get("scale")*this.get("rendererHeightZ")/f*(d.sb?2:1);var t=this.get("width");p=this.get("height");
var u=this.get("offsetX");r=this.get("offsetY");var v=this.get("contentWidth"),w=this.get("contentHeight");q=(this.get("flipHorizontally")?-1:1)*n;var x=this.get("scaleMode");d=this.get("horizontalAlign")||h.Ze;f=this.get("verticalAlign")||h.se;x=k.V2(t,p,v,w,x,d,f);v=q*t;w=n*p;this.BN.makeScale(v,w,1);t=q*(.5*t-u);p=n*(r-.5*p);this.wpa.makeTranslation(t,p,0);q*=x.width;n*=x.height;this.NN.makeScale(q,n,1);this.uqa.makeTranslation((d==h.ab?.5*-(v-q):d==h.ub?.5*(v-q):0)+t,(f==h.Ec?.5*(w-n):f==h.wc?
.5*-(w-n):0)+p,0);n=!0}n&amp;&amp;(this.$h.copy(this.iI),this.$h.multiply(this.kn),this.$h.multiply(this.dK),this.$h.multiply(this.wj),this.zz.copy(this.$h),this.zz.multiply(this.wpa),this.zz.multiply(this.BN),this.$h.multiply(this.uqa),this.$h.multiply(this.NN),d=m.jl(this.get("meshGroup")),m.Jr(d[0],this.zz),m.Jr(d[1],this.$h))}}});
define("gz",["require","py","lu"],function(a){function e(k,c){this.Rd=k;this.zc=c;this.Tb=!1;this.b8();this.e8();this.AE()}var l=a("py"),m=a("lu");e.prototype.clear=function(){this.cea();this.iea();this.Rd.set("state",m.V);this.zc=this.Rd=null};e.prototype.Ye=function(k){this.Tb!=k&amp;&amp;(this.Tb=k,this.Ut())};e.prototype.AE=function(){this.zc.Xc(this.Rd.get("state"))};e.prototype.KP=function(){this.Ut()};e.prototype.MP=function(){this.zc.Zka(this.Rd.get("frameDuration"))};e.prototype.LP=function(){this.zc.qIa("first"==
this.Rd.get("finalFrame"))};e.prototype.IP=function(){this.Rd.trigger(l.cq)};e.prototype.HP=function(){this.Rd.trigger(l.Gb)};e.prototype.JP=function(){this.Rd.set("state",this.zc.getState())};e.prototype.Ut=function(){this.Rd.get("autoplay")&amp;&amp;this.zc.Xc(this.Tb?m.PLAYING:m.V)};e.prototype.b8=function(){this.Rd.bind(l.G("state"),this.AE,this,!0);this.Rd.bind(l.G("autoplay"),this.KP,this,!0);this.Rd.bind(l.G("frameDuration"),this.MP,this,!0);this.Rd.bind(l.G("finalFrame"),this.LP,this,!0)};e.prototype.cea=
function(){this.Rd.unbind(l.G("state"),this.AE,this,!0);this.Rd.unbind(l.G("autoplay"),this.KP,this,!0);this.Rd.unbind(l.G("frameDuration"),this.MP,this,!0);this.Rd.unbind(l.G("finalFrame"),this.LP,this,!0)};e.prototype.e8=function(){this.zc.bind(l.cq,this.IP,this,!0);this.zc.bind(l.Gb,this.HP,this,!0);this.zc.bind(l.Ae,this.JP,this,!0)};e.prototype.iea=function(){this.zc.unbind(l.cq,this.IP,this,!0);this.zc.unbind(l.Gb,this.HP,this,!0);this.zc.unbind(l.Ae,this.JP,this,!0)};return e});
define("ht","require le py lu ix ol cD eC gz fs kV eO bm".split(" "),function(a){var e=a("le"),l=a("py"),m=a("lu"),k=a("ix"),c=a("ol"),h=a("cD"),g=a("eC"),b=a("gz"),d=a("fs"),f=a("kV"),n=a("eO"),q=a("bm");return{BD:function(){this.set("visible",!1);this.set("inView",!1);this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("premultipliedAlpha",!1);this.set("projected",!1);this.set("image",null);this.set("level",null);this.set("levelURL",
null);this.set("state",null);this.set("visibleOnStop",!0);this.set("side",void 0);this.set("isVideoTexture",!1);this.tZ=this.tZ.bind(this);this.wZ=this.wZ.bind(this);this.Ck=this.Xa=this.uo=this.zc=null},Wi:function(){this.hga();this.MR();this.$1a()},hga:function(){if(this.R("level")){var p=this.get("level");this.set("levelURL",p&amp;&amp;p.get("url"))}this.R("image","level","levelURL","projected","premultipliedAlpha")&amp;&amp;(this.bqa(),this.Xa=this.get("image"),this.fb=this.get("level"),this.set("textureSource",
new d(this.Xa&amp;&amp;this.fb.get("url"))),this.set("premultipliedAlpha",this.Xa&amp;&amp;this.fb.get("premultipliedAlpha")),this.get("textureSource").C$a(this.get("premultipliedAlpha")),this.VNa(),this.Xa?(this.HNa(),this.KNa()):(this.trigger(l.hd),this.trigger(l.ea)));this.R("textureSource","isVideoTexture")&amp;&amp;(p=this.get("textureSource"))&amp;&amp;p.AU(this.get("isVideoTexture"))},MR:function(){if(this.R("blending","chromaColor","chromaThreshold","chromaSmoothing","premultipliedAlpha","side")){var p=new h.ko;p.kB=this.get("blending");
p.fu=this.get("chromaColor");p.zS=this.get("chromaThreshold");p.yS=this.get("chromaSmoothing");p.premultipliedAlpha=this.get("premultipliedAlpha");p.side=this.get("side");this.set("materialConfig",p)}},$1a:function(){if(this.R("meshGroup","projected","visible")){var p=this.get("projected")&amp;&amp;this.get("visible")?k.q7:k.aN;g.jl(this.get("meshGroup")).forEach(function(r){f.OG(r,p)}.bind(this))}},vm:function(){this.R("visible","composedAlpha","image","state","visibleOnStop")&amp;&amp;this.set("inView",this.get("visible")&amp;&amp;
0&lt;this.get("composedAlpha")&amp;&amp;(this.get("visibleOnStop")||this.get("state")!=m.V));this.R("composedAlpha","meshGroup","inView")&amp;&amp;g.ff(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0);this.uo&amp;&amp;this.uo.Ye(this.get("inView"))},tZ:function(){this.Xa&amp;&amp;c.Ja("AnimatedImageResource",this.Xa)?this.set("visibleOnStop",this.Xa.get("visibleOnStop")):this.set("visibleOnStop",!0)},wZ:function(){this.set("levelURL",this.fb.get("url"))},iJ:function(){this.bqa()},bqa:function(){this.uo&amp;&amp;(this.uo.clear(),
this.uo=null);this.zc&amp;&amp;(this.zc.unbind(l.ba,this.IO,this,!0),this.zc.unbind(l.Ae,this.Usa,this,!0),this.zc.clear(),this.zc=null);this.Ck&amp;&amp;(this.Ck.dispose(),this.Ck=null);this.get("textureSource")&amp;&amp;(this.lea(),this.set("textureSource",null));this.Xa&amp;&amp;(this.lYa(),this.Xa=null);this.fb&amp;&amp;(this.oYa(),this.fb=null)},HNa:function(){e.da(this.Xa,["visibleOnStop"],this.tZ,!0)},lYa:function(){e.ca(this.Xa,["visibleOnStop"],this.tZ)},KNa:function(){e.da(this.fb,["url"],this.wZ,!0)},oYa:function(){e.ca(this.fb,
["url"],this.wZ)},JO:function(){this.lea();var p=this.get("image");if(c.Ja("AnimatedImageResource",p)){this.zc=new q(this.get("textureSource").Cf(),p.get("rowCount",1),p.get("colCount",1),p.get("frameDuration"),p.get("frameCount",p.get("rowCount",1)*p.get("colCount",1)),p.get("repeat"),"first"==p.get("finalFrame"));var r=this.zc.dg();this.zc.bind(l.Ae,this.Usa,this,!0);this.zc.bind(l.ba,this.IO,this,!0);this.uo=new b(p,this.zc);this.set("visibleOnStop",p.get("visibleOnStop"));this.set("state",this.zc.getState())}else r=
this.get("textureSource").Cf(),this.Ck=new n(r),this.set("visibleOnStop",!0),this.set("state",null);this.vm();this.set("contentWidth",r.width);this.set("contentHeight",r.height);this.get("textureSource").Pm(r);this.trigger(l.hd);this.trigger(l.ea)},Vsa:function(){this.lea();this.trigger(l.hd);this.trigger(l.ea)},Usa:function(){this.set("state",this.zc.getState())},IO:function(){this.get("textureSource").update();this.Ga()},VNa:function(){var p=this.get("textureSource");p.bind(l.ea,this.JO,this,!0);
p.bind(l.xc,this.Vsa,this,!0)},lea:function(){var p=this.get("textureSource");p.unbind(l.ea,this.JO,this,!0);p.unbind(l.xc,this.Vsa,this,!0)},kaa:function(p){return this.Ck&amp;&amp;this.Ck.ni==p.source?this.Ck.info(p.x,p.y):n.info(p.source,p.x,p.y)}}});
define("pv","require le py ol on bh A".split(" "),function(a){function e(d){d=d.get("mapColor");return"image"==d||"transparent"==d||"any"==d}function l(d){d=d.get("mapColor");return"image"!=d&amp;&amp;"transparent"!=d&amp;&amp;"any"!=d}var m=a("le"),k=a("py"),c=a("ol"),h=a("on"),g=a("bh"),b=new (a("A"));return{Lz:function(){this.set("beamEnabled",!1);this.sZ=this.sZ.bind(this);this.bY=null;this.XH={};this.Ai=[];this.Us=[];this.uw=null},F$a:function(d){this.uw!=d&amp;&amp;(this.dea(),this.uw=d,this.Roa())},kp:function(d){this.NA=
d.Ra;this.MA=d.pitch},dea:function(){this.uw&amp;&amp;m.ca(this.uw,["areas"],this.sZ)},Roa:function(){this.uw&amp;&amp;m.da(this.uw,["areas"],this.sZ,!0)},KJ:function(){this.dea();this.Roa()},MJ:function(){this.cya([]);this.dea()},sZ:function(){var d=this.uw.get("areas",[]);c.Ja("HotspotPanoramaOverlayImage",this.v)||c.Ja("FlatHotspotPanoramaOverlayImage",this.v)||c.Ja("QuadHotspotPanoramaOverlayImage",this.v)?this.bY=d.filter(e):this.bY=d.filter(l);this.bY.forEach(function(f){b.set(f,0)})},Om:function(d){if(d.vf==
k.El){var f=this.W$(d);if(0&lt;f.length){d.gB(f);var n=this.tSa(f),q;for(q in n)d.iBa(n[q],q);d.gl(this.get("distance"));(n=this.$b(f,d.kG()))&amp;&amp;d.R1(n,this.YA(d.kG()))}f=this.uSa(d,f);this.cya(f,d.Au(),d.kG())}else if(d.vf==k.Vf){if(f=this.W$(d),0&lt;f.length){var p=!1;f.forEach(function(r){r.trigger(k.ma);!p&amp;&amp;1&lt;r.nL(k.ma,!0).length&amp;&amp;(p=!0)});d.gl(this.get("distance"));p&amp;&amp;d.ps(f)}}else d.vf==k.mz?(f=this.W$(d),0&lt;f.length&amp;&amp;(p=!1,f.forEach(function(r){var t={};d.Au()&amp;&amp;(t=d.Hu().DDa());r.trigger(k.hb,t);!p&amp;&amp;
1&lt;r.nL(k.hb,!0).length&amp;&amp;(p=!0)}),this.Us=f,d.gl(this.get("distance")),p&amp;&amp;d.ps(f))):d.vf==k.GH&amp;&amp;this.Us.length&amp;&amp;(this.Us.forEach(function(r){var t={};d.Au()&amp;&amp;(t=d.Hu().DDa());r.trigger(k.Eb,t)}),this.Us=[])},uSa:function(d,f){if(!d.ija())return this.XH={},f;d=d.lta?"main":"secondary";this.XH[d]=f;f=[];for(d in this.XH)for(var n=0;n&lt;this.XH[d].length;n++)0&gt;f.indexOf(this.XH[d][n])&amp;&amp;f.push(this.XH[d][n]);return f},W$:function(d){if(!this.get("beamEnabled")||0==this.get("alpha")||d.hl())return[];var f=
this.ow(d.ir);return 0==f.length?[]:this.bY.filter(function(n){var q=n.get("mapColor");return"any"==q?!0:"image"==q?f.some(function(p){return this.kaa(p).Iy}.bind(this)):"transparent"==q?f.every(function(p){return!this.kaa(p).Iy}.bind(this)):q&amp;&amp;"#"==q[0]?f.some(function(p){return 10&gt;h.T2(this.kaa(p).color,q)}.bind(this)):!1}.bind(this))},cya:function(d,f,n){this.Ai.forEach(function(p){if(0&gt;d.indexOf(p)){var r=b.get(p)-1;b.set(p,r);0==r&amp;&amp;(p.trigger(k.Jb,{center:n}),f&amp;&amp;p.trigger(k.Zp))}});var q=this.Ai;
this.Ai=d;this.Ai.forEach(function(p){if(0&gt;q.indexOf(p)){var r=(b.get(p)||0)+1;b.set(p,r);1==r&amp;&amp;(p.trigger(k.Dc,{center:n}),f&amp;&amp;p.trigger(k.LC))}})},$b:function(d,f){for(var n="",q=d.length-1;0&lt;=q&amp;&amp;""==n;q--){var p=d[q];if(!f||p.get("displayTooltipInTouchScreens")&amp;&amp;!1!==this.Ha.M.get("displayTooltipInTouchScreens"))n=p.get("toolTip","")}return n},YA:function(d){if(d){d=this.get("yaw")-this.NA;var f=this.get("pitch")-this.MA;return Math.sqrt(d*d+f*f)}return 0},tSa:function(d){var f={};!0===this.uw.get("useHandCursor")?
f[g.Le]=d:!1!==this.uw.get("useHandCursor")&amp;&amp;d.forEach(function(n){var q;(q=n.get("useHandCursor")?g.Le:n.get("cursor"))&amp;&amp;(f[q]?f[q].push(n):f[q]=[n])});return f}}});
define("ok",["require","w","cM"],function(a){function e(){this.li=void 0;this.YI=this.LE=0;this.Ba=!0;this.XW=this.Dfa=this.S$=void 0;this.Tb=!1}var l=a("w"),m=a("cM"),k=Math.PI/180,c=l.browser()==l.rh?[-.5,0]:[0,0];e.prototype.bC=function(h){this.li!=h&amp;&amp;(this.li=h,this.Ba=!0)};e.prototype.aC=function(h){if(h&lt;this.LE+c[0]||h&gt;this.LE+c[1])this.LE=h,this.Ba=!0};e.prototype.get=function(h,g){void 0!==g||(g=!0);this.Ba&amp;&amp;(this.oa(),this.Ba=!1);var b=this.S$.get(h)||0;h=(this.Dfa.get(h)||0)-b;g&amp;&amp;(180&lt;h?
h-=360:-180&gt;h&amp;&amp;(h+=360));return b+h*this.XW};e.prototype.Gia=function(){this.Ba&amp;&amp;(this.oa(),this.Ba=!1);for(var h=this.S$.get("vertices"),g=this.Dfa.get("vertices"),b=[],d=0;d&lt;h.length;d++){var f=h[d].get("yaw")||0,n=(g[d].get("yaw")||0)-f;180&lt;n?n-=360:-180&gt;n&amp;&amp;(n+=360);var q=h[d].get("pitch")||0,p=(g[d].get("pitch")||0)-q;b.push(new m(f+n*this.XW,q+p*this.XW))}h=this.dP&amp;&amp;this.dP.length==b.length;for(d=0;d&lt;b.length&amp;&amp;h;d++)h=this.dP[d].get("yaw")==b[d].get("yaw")||this.dP[d].get("pitch")==b[d].get("pitch");
return h?this.dP:this.dP=b};e.prototype.kl=function(){return this.get("opacity",!1)};e.prototype.by=function(){var h=this.get("hfov")||this.get("vfov"),g=this.li[0].get("hfov")||this.li[0].get("vfov");return Math.tan(.5*h*k)/Math.tan(.5*g*k)};e.prototype.oa=function(){for(var h=this.YI,g,b=this.li.length-1,d,f;;){g=Math.min(h+1,b);d=this.Hsa(h);f=this.Hsa(g);if(d&lt;=this.LE&amp;&amp;this.LE&lt;=f)break;if(d&gt;this.LE){if(0==h){g=h;break}--h}else{if(h==b){g=h;break}h+=1}}this.S$=this.li[h];this.Dfa=this.li[g];h=
f-d;this.XW=0&lt;h?(this.LE-d)/h:0};e.prototype.Hsa=function(h){return this.li[h].get("timestamp")};return e});
define("cp",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),this.de,!0)},So:function(){e.ca(this.v,"horizontalAlign verticalAlign scale scaleMode width height offsetX offsetY distance playbackPositions".split(" "),
this.de)},de:function(){this.set("horizontalAlign",this.v.get("horizontalAlign"));this.set("verticalAlign",this.v.get("verticalAlign"));this.set("scale",this.v.get("scale"));this.set("scaleMode",this.v.get("scaleMode"));this.set("width",this.v.get("width"));this.set("height",this.v.get("height"));this.set("offsetX",this.v.get("offsetX",.5*this.v.get("width")));this.set("offsetY",this.v.get("offsetY",.5*this.v.get("height")));this.set("distance",this.v.get("distance"));this.set("playbackPositions",
this.v.get("playbackPositions"))},yf:function(){this.R("playbackPositions","currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("yaw",this.xb.get("yaw")),this.set("pitch",this.xb.get("pitch")),this.set("roll",this.xb.get("roll")),this.set("alpha",this.xb.kl()))}}});
define("ko","require lS le py eC c pu ht pv cp nV".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("eC"),c=a("c"),h=a("pu"),g=a("ht"),b=a("pv"),d=a("cp"),f=a("nV"),n=0;a=e.extend(c,h,d,g,b,function(q){c.call(this);this.set("tag","FlatHotspotImage");this.set("id","flat_hs_image_"+n++);this.v=q;this.Kk.push(this.v);this.ig=this.ig.bind(this)});a.prototype.Zb=function(){c.prototype.Zb.call(this);l.da(this.v,["image.levels"],this.ig,!0)};a.prototype.ac=function(){l.ca(this.v,["image.levels"],
this.ig);c.prototype.ac.call(this)};a.prototype.ig=function(){this.set("image",this.v.get("image"));this.set("level",f.G5a(this.v))};a.prototype.oa=function(q){this.tF();c.prototype.oa.call(this,q);this.R("inView")&amp;&amp;this.v.trigger(this.get("inView")?m.jd:m.cd)};a.prototype.tF=function(){if(this.R("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&amp;&amp;q.children.forEach(function(p){k.setAttribute(p,k.nC,this.get("panoramaId"));k.setAttribute(p,k.U5,this.get("id"))}.bind(this))}};return a});
define("bF",["require","py","V"],function(a){var e=a("py"),l=a("V");a={cga:function(f){if(this.Ha){var n=this.YSa(f);n?(f=this.lsa(this).some(function(q){return n.intersectsObject(q)}),this.Hea(f)):this.Hea(!1)}},lsa:function(f){var n=f.get("meshGroup"),q=[];n&amp;&amp;n.traverse(function(p){p.geometry&amp;&amp;p.visible&amp;&amp;(Array.isArray(p.material)?p.material.some(function(r){return 0&lt;r.opacity}):0&lt;p.material.opacity)&amp;&amp;q.push(p)});f.pb().forEach(function(p){q=q.concat(this.lsa(p))}.bind(this));return q}};var m=new THREE.Frustum,
k=new THREE.PerspectiveCamera,c=90,h=.5,g=new THREE.Matrix4,b=Math.PI/180,d=180/Math.PI;a.YSa=function(f){f=l.getCamera(f.Eg);if(!f)return null;var n=this.Ha.M.get("focusAreaScale");if(!k.projectionMatrix.equals(f.projectionMatrix)||!k.matrixWorldInverse.equals(f.matrixWorldInverse)||c!=f.fov||h!=n){k.copy(f);var q=.5*k.fov*b;k.fov=2*Math.atan2(h*Math.sin(q),Math.cos(q))*d;k.updateProjectionMatrix();m.setFromProjectionMatrix(g.copy(k.projectionMatrix).multiply(k.matrixWorldInverse));c=f.fov;h=n}return m};
a.J$=function(){this.tba=!1};a.K$=function(){this.Hea(!1)};a.Gea=function(f){this.Cra=f};a.Hea=function(f){this.tba!==f&amp;&amp;(this.tba=f,this.Cra&amp;&amp;this.Cra.trigger(this.tba?e.FLa:e.GLa))};return a});
define("mP","require lS le py jD bF oQ w pa bL lT".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("jD"),c=a("bF"),h=a("oQ");a("w");var g=a("pa"),b=a("bL"),d=a("lT");a=e.extend(k,c,function(f){k.call(this);this.v=f;this.Kk.push(this.v);this.PZ=this.PZ.bind(this);this.OZ=this.OZ.bind(this);this.QZ=this.QZ.bind(this);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Hotspot");this.set("over",!1);this.set("centerOver",!1);this.set("enabled",!0);this.set("visible",
!1);this.set("alpha",0);this.set("inVR",!1);this.set("overlaysEnabled",!0);this.set("enabledInVR",!0);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("centerOverDisplay",!1);this.set("rollOverDisplay",!1);this.set("loadingActive",!1);this.q8=this.r8=this.Uo=this.ge=this.Lf=null;this.Ai=[];this.p8=[];this.ym=null;this.Gea(this.v)});a.prototype.Zb=function(){this.Lf=(new h(m.ea)).Sm(this.uE.bind(this));this.ge=(new h(m.kc)).zp(this.xE.bind(this));this.Uo=(new h(m.hd)).Sm(this.lWa.bind(this));
this.r8=(new h(m.Dc)).zp(this.eWa.bind(this));this.q8=(new h(m.Jb)).zp(this.dWa.bind(this));k.prototype.Zb.call(this);l.da(this.v,["items","rollOverItems","maps","rollOverMaps"],this.PZ,!0);l.da(this.v,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.QZ,!0);l.da(this.v,["areas"],this.OZ,!0);this.J$()};a.prototype.ac=function(){this.K$();this.uK([],this.Ai);this.Xfa([],this.p8);this.Lf.dispose();
this.ge.dispose();this.Uo.dispose();this.r8.dispose();this.q8.dispose();l.ca(this.v,["items","rollOverItems","maps","rollOverMaps"],this.PZ);l.ca(this.v,"fadeInDuration fadeOutDuration enabledInVR enabledInStandard enabledInSurfaceSelection enabled interactionEnabled centerOverDisplay rollOverDisplay".split(" "),this.QZ);l.ca(this.v,["areas"],this.OZ);this.get("visible")&amp;&amp;this.v.trigger(m.cd);k.prototype.ac.call(this)};a.prototype.PZ=function(){this.set("items",this.Ha.ay(this.v.get("items",[])));
this.set("rollOverItems",this.Ha.ay(this.v.get("rollOverItems",[])));this.set("maps",this.Ha.ay(this.v.get("maps",[])));this.set("rollOverMaps",this.Ha.ay(this.v.get("rollOverMaps",[])));var f=[].concat(this.get("maps"),this.get("items"),this.get("rollOverMaps"),this.get("rollOverItems"));f.forEach(function(n){n.F$a(this.v)}.bind(this));this.get("items").forEach(function(n){n.set("projected",this.v.get("projected"))}.bind(this));this.ph(f);this.Lf.Gf(f);this.ge.Gf(f);this.Uo.Gf(f)};a.prototype.QZ=
function(){this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",this.v.get("fadeOutDuration"));this.set("enabled",this.v.get("enabled",!0));this.set("enabledInVR",this.v.get("enabledInVR"));this.set("enabledInStandard",this.v.get("enabledInStandard",!0));this.set("enabledInSurfaceSelection",this.v.get("enabledInSurfaceSelection",!0));this.set("centerOverDisplay",this.v.get("centerOverDisplay"));this.set("rollOverDisplay",this.v.get("rollOverDisplay",!1));this.set("interactionEnabled",
this.v.get("interactionEnabled",!0))};a.prototype.OZ=function(){var f=this.v.get("areas");this.r8.Gf(f);this.q8.Gf(f)};a.prototype.oa=function(f){this.vm(f);k.prototype.oa.call(this,f);this.ie(f);this.cga(f)};a.prototype.ie=function(f){this.set("inVR",f.sb);this.set("surfaceSelection",f.UU);this.set("hotspotsEnabled",f.fG);if(this.R("items","rollOverItems","maps","rollOverMaps","over","centerOver","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","surfaceSelection","enabledInSurfaceSelection",
"enabled","interactionEnabled","rollOverDisplay","centerOverDisplay")||this.ta&amp;&amp;this.ta.R("composedAlpha")){var n=f=!1,q=this.get("hotspotsEnabled")&amp;&amp;this.get("enabled")&amp;&amp;(!this.get("inVR")||this.get("enabledInVR"))&amp;&amp;(this.get("inVR")||this.get("enabledInStandard"))&amp;&amp;(!this.get("surfaceSelection")||this.get("enabledInSurfaceSelection"))&amp;&amp;this.ta&amp;&amp;0&lt;this.ta.get("composedAlpha"),p=this.get("interactionEnabled");q&amp;&amp;(f=this.get("centerOver")&amp;&amp;!this.get("inVR"),n=this.get("over")||f,f=!this.get("rollOverDisplay")&amp;&amp;
!this.get("centerOverDisplay")||this.get("over")&amp;&amp;this.get("rollOverDisplay")||f&amp;&amp;!1!==this.get("centerOverDisplay")&amp;&amp;this.get("rollOverDisplay"));this.get("rollOverItems").forEach(function(w){w.set("visible",n);w.set("beamEnabled",q&amp;&amp;n&amp;&amp;p)});var r=0==this.get("rollOverItems").length;this.get("items").forEach(function(w){w.set("visible",r||!n);w.set("beamEnabled",q&amp;&amp;(r||!n)&amp;&amp;p)});this.get("rollOverMaps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&amp;&amp;n&amp;&amp;p)});var t=0==this.get("rollOverMaps").length;
this.get("maps").forEach(function(w){w.set("visible",!1);w.set("beamEnabled",q&amp;&amp;(t||!n)&amp;&amp;p)});this.set("visible",f)}if(this.R("visible")){f=this.get("alpha");var u=this.get("visible")?1:0,v=(this.get("visible")?this.get("fadeInDuration"):this.get("fadeOutDuration"))*Math.abs(f-u);this.ym=new g("linear",[new b("alpha",f,u)],Math.max(v,1));this.Ga();this.get("visible")?this.v.trigger(m.jd):this.v.trigger(m.cd)}};a.prototype.vm=function(f){this.ym&amp;&amp;(this.ym.We()?this.ym=null:(this.ym.Fb(f.Te),this.set("alpha",
this.ym.eb("alpha"))),this.Ga())};a.prototype.uE=function(){this.zj();this.trigger(m.ea)};a.prototype.lWa=function(){this.zj();this.trigger(m.hd)};a.prototype.xE=function(){this.zj()};a.prototype.zj=function(){var f=0;this.ge.lu(function(n){var q=0,p;this.Lf.Gm(n)?q=100:(p=this.ge.Gm(n))&amp;&amp;(q=p.Tg);f+=q}.bind(this));this.trigger(new d(m.kc,f/this.ge.ld.length))};a.prototype.eWa=function(f){f.data.center?this.Xfa([f.source],[]):this.uK([f.source],[])};a.prototype.dWa=function(f){f.data.center?this.Xfa([],
[f.source]):this.uK([],[f.source])};a.prototype.uK=function(f,n){this.Uza(this.Ai,f,n);this.set("over",0&lt;this.Ai.length)};a.prototype.Xfa=function(f,n){this.Uza(this.p8,f,n);this.set("centerOver",0&lt;this.p8.length)};a.prototype.Uza=function(f,n,q){n||(n=[]);q||(q=[]);q.forEach(function(p){p=f.indexOf(p);0&lt;=p&amp;&amp;f.splice(p,1)});n.forEach(function(p){0&gt;f.indexOf(p)&amp;&amp;f.push(p)})};return a});
define("pK",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.de,!0)},So:function(){e.ca(this.v,"horizontalAlign verticalAlign scale scaleMode distance playbackPositions".split(" "),this.de)},de:function(){this.set("horizontalAlign",
this.v.get("horizontalAlign"));this.set("verticalAlign",this.v.get("verticalAlign"));this.set("scaleMode",this.v.get("scaleMode"));this.set("distance",this.v.get("distance"));this.set("scale",this.v.get("scale"));this.set("playbackPositions",this.v.get("playbackPositions"))},yf:function(){this.R("playbackPositions","currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("yaw",this.xb.get("yaw")),this.set("pitch",this.xb.get("pitch")),this.set("roll",
this.xb.get("roll")),this.set("rotationX",this.xb.get("rotationX")),this.set("rotationY",this.xb.get("rotationY")),this.set("hfov",this.xb.get("hfov")),this.set("vfov",this.xb.get("vfov")),this.set("alpha",this.xb.kl()))}}});
define("ch","require lS le py eC c oK ht pv pK nV".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("eC"),c=a("c"),h=a("oK"),g=a("ht"),b=a("pv"),d=a("pK"),f=a("nV"),n=0;a=e.extend(c,h,g,b,d,function(q){c.call(this);this.set("tag","HotspotImage");this.set("id","hs_image_"+n++);this.set("side",THREE.DoubleSide);this.set("wasInView",!1);this.v=q;this.Kk.push(this.v);this.ig=this.ig.bind(this)});a.prototype.Zb=function(){c.prototype.Zb.call(this);l.da(this.v,["image.levels"],this.ig,!0)};
a.prototype.ac=function(){l.ca(this.v,["image.levels"],this.ig);c.prototype.ac.call(this)};a.prototype.ig=function(){this.set("image",this.v.get("image"));this.set("level",f.O5a(this.v,this.get("panoramaPixelsPerDegree")))};a.prototype.oa=function(q){this.tF();c.prototype.oa.call(this,q);this.R("inView")&amp;&amp;(q=this.get("inView"),q!==this.get("wasInView")&amp;&amp;(this.set("wasInView",q),this.v.trigger(q?m.jd:m.cd)))};a.prototype.tF=function(){if(this.R("meshGroup","panoramaId","id")){var q=this.get("meshGroup");
q&amp;&amp;q.children.forEach(function(p){k.setAttribute(p,k.nC,this.get("panoramaId"));k.setAttribute(p,k.U5,this.get("id"))}.bind(this))}};return a});
define("bz",["require","fr","a"],function(a){function e(k,c,h){this.fg=k||new l(0,0,0);this.Fj=c||new l(1,0,0);this.MB=h||new l(0,1,0)}var l=a("fr"),m=a("a");e.prototype.clone=function(){return new e(this.fg.clone(),this.Fj.clone(),this.MB.clone())};e.prototype.apply=function(k){k.QK(this.fg);k.QK(this.Fj);k.QK(this.MB)};e.prototype.intersection=function(k,c){var h=m.pB(k.fg,k.Fj),g=m.pB(this.fg,k.fg),b=m.pB(this.fg,this.Fj);b.j2(m.pB(this.fg,this.MB));h=h.QF(b);if(!(0==h||c&amp;&amp;0&gt;h))return c=-b.QF(g)/
h,new l(k.fg.x+(k.Fj.x-k.fg.x)*c,k.fg.y+(k.Fj.y-k.fg.y)*c,k.fg.z+(k.Fj.z-k.fg.z)*c)};e.prototype.G4=function(k,c){var h=m.pB(this.fg,this.Fj),g=m.pB(this.fg,this.MB);k=m.pB(this.fg,k);var b=h.Eia(),d=g.Eia();return c?new l(k.QF(h)/(b*b),k.QF(g)/(d*d),0):new l(k.QF(h)/b,k.QF(g)/d,0)};return e});
define("fI","require lw iF dt fr bz fC mK".split(" "),function(a){var e=a("lw"),l=a("iF"),m=a("dt"),k=a("fr"),c=a("bz"),h=a("fC"),g=a("mK"),b=Math.PI/180,d=180/Math.PI,f=new h,n=new l,q=new c,p=new k;return{get:function(r,t,u,v,w,x,y,z){r*=b;t*=b;t=new k(Math.sin(-r)*Math.cos(t),Math.sin(t),Math.cos(-r)*Math.cos(t));f.identity();f.rotateY(u*b);f.rotateZ(w*b);f.rotateX(v*b);t.apply(f);return 0&lt;t.z?(n.OU(y),n.wIa(z),n.NG(x*b),n.project(t),t):null},Gcb:function(r,t,u){f.identity();f.rotateX(-u.Nc()*
b);f.rotateZ(-u.eg()*b);f.rotateY(-u.Oc()*b);p.set(r,t,0);r=u.unproject(p).TDa();r.apply(f);return{Ra:r.Oc()*d,pitch:r.Nc()*d}},web:function(r,t,u,v,w,x,y,z,B,D,I,A,E,J){J||(J=g.az);E||(E=e.Em(A,D,I));A||(A=e.Lp(E,D,I));var C=.5*D/Math.tan(.5*A*b),L=C*Math.tan(.5*A*b)*2,S=C*Math.tan(.5*E*b)*2;q.fg.set(.5*+L,.5*+S,0);q.Fj.set(.5*-L,.5*+S,0);q.MB.set(.5*+L,.5*-S,0);f.identity();f.rotateZ(-B*b);f.rotateX(-y*b);f.rotateY(z*b);f.translate(0,0,C);f.rotateZ(-x*b);f.rotateX(-w*b);f.rotateY(-v*b);f.rotateY(u.Oc()*
b);f.rotateZ(u.eg()*b);f.rotateX(u.Nc()*b);q.apply(f);p.set(r,t,0);w=q.intersection(u.unproject(p));v={x:void 0,y:void 0,xScaled:void 0,yScaled:void 0};w&amp;&amp;0&lt;w.z&amp;&amp;(w=q.G4(w),v.xScaled=v.x=w.x/L,v.yScaled=v.y=w.y/S);if(J!=g.az){switch(J){case g.Th:var U=Math.min(e.Lp(E,D,I),A);var V=Math.min(e.Em(A,D,I),E);break;case g.As:U=Math.max(e.Lp(E,D,I),A);V=Math.max(e.Em(A,D,I),E);break;case g.Vp:U=A;V=e.Em(A,D,I);break;case g.xk:U=e.Lp(E,D,I),V=E}if(U!=A||V!=E)L=C*Math.tan(.5*U*b)*2,S=C*Math.tan(.5*V*b)*2,
q.fg.set(.5*+L,.5*+S,0),q.Fj.set(.5*-L,.5*+S,0),q.MB.set(.5*+L,.5*-S,0),q.apply(f),p.set(r,t,0),(w=q.intersection(u.unproject(p)))&amp;&amp;0&lt;w.z&amp;&amp;(w=q.G4(w),v.xScaled=w.x/L,v.yScaled=w.y/S)}return v},Zdb:function(r,t,u,v,w,x,y){y=.5*w/Math.tan(.5*y*b);q.fg.set(.5*+w,.5*+x,y);q.Fj.set(.5*-w,.5*+x,y);q.MB.set(.5*+w,.5*-x,y);f.identity();f.rotateZ(-v*b);f.rotateX(-u*b);f.rotateY(-t*b);f.rotateY(r.Oc()*b);f.rotateZ(r.eg()*b);f.rotateX(r.Nc()*b);q.apply(f);r=new m(new k(0,0,0),new k(0,0,1));return(r=q.intersection(r))&amp;&amp;
0&lt;r.z?(r=q.G4(r),{x:r.x/w,y:r.y/x}):null}}});
define("ej",["require","ix","jI","eC","kV"],function(a){var e=a("ix"),l=a("jI"),m=a("eC"),k=a("kV"),c=Math.PI/180;return{Xv:function(){this.set("distance",void 0);this.set("width",100);this.set("height",100);this.set("offsetX",void 0);this.set("offsetY",void 0);this.set("centerX",0);this.set("centerY",0);this.set("roll",0);this.$g=this.Kz();this.PD=l.YK();this.kn=new THREE.Matrix4;this.iI=new THREE.Matrix4;this.dK=new THREE.Matrix4;this.uua=new THREE.Matrix4;this.wj=new THREE.Matrix4;this.om=new THREE.Matrix4;
this.Hi=new THREE.Matrix4},Hx:function(h){this.yr(h)},MI:function(){var h=this.get("meshGroup");return h?m.jl(h)[0]:null},wo:function(){return[0].map(function(h){var g=this.RN();h=m.create(this.$g[h],g);k.Dy(h,k.Xp);k.Ey(h,k.Fs);k.OG(h,e.aN);k.MU(h,1);return h}.bind(this))},Kz:function(){return[l.YK()]},yr:function(h){var g=!1,b=!1;this.set("rendererYaw",h.Ra);this.set("rendererPitch",h.pitch);this.set("rendererRoll",h.Dg);this.set("rendererCameraFOV",h.ti);this.set("rendererWidth",h.width);this.set("rendererHeight",
h.height);this.set("inVR",h.sb);if(this.R("distance","composedTranslationX","composedTranslationY","composedTranslationZ")){var d=0==this.get("composedTranslationX")&amp;&amp;0==this.get("composedTranslationY")&amp;&amp;0==this.get("composedTranslationZ")&amp;&amp;void 0!==this.get("distance");this.set("z",d?l.qu(this.get("distance")):l.Rr())}this.R("z")&amp;&amp;(this.kn.makeTranslation(0,0,-this.get("z")),b=!0);h.ti&amp;&amp;this.R("z","rendererCameraFOV")&amp;&amp;this.set("rendererHeightZ",Math.tan(h.ti*c*.5)*this.get("z")*2);h.camera&amp;&amp;this.R("rendererYaw",
"rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth","rendererHeight","rendererHeightZ","inVR","centerX","centerY")&amp;&amp;(this.iI.copy(h.camera.matrixWorld),g=this.get("rendererHeightZ"),d=g*h.camera.aspect,d=(this.get("centerX")-.5*h.width)*d/h.width*.5,g=(.5*h.height-this.get("centerY"))*g/h.height*.5,this.dK.makeTranslation(d,g,0),g=!0);this.R("roll")&amp;&amp;(this.wj.makeRotationZ(this.get("roll")*c),g=!0);h.ti&amp;&amp;(b||this.R("rendererHeight","inVR","rendererHeightZ","width","height","flipHorizontally"))&amp;&amp;
(b=h.sb?512/h.height:1,h=(this.get("flipHorizontally")?-1:1)*this.get("width")*b,b*=this.get("height"),this.om.makeScale(h,b,1),g=!0);this.R("width","height","offsetX","offsetY")&amp;&amp;(h=.5-this.get("offsetX")/this.get("width"),b=this.get("offsetY")/this.get("height")-.5,this.uua.makeTranslation(h,b,0),g=!0);g&amp;&amp;(this.Hi.copy(this.iI),this.Hi.multiply(this.kn),this.Hi.multiply(this.dK),this.Hi.multiply(this.wj),this.Hi.multiply(this.om),this.Hi.multiply(this.uua),m.Jr(this.get("meshGroup"),this.Hi))}}});
define("ks",["require","lS","c","ej"],function(a){var e=a("lS"),l=a("c");a=a("ej");return e.extend(l,a,function(){l.call(this);this.set("tag","Sprite")})});
define("he",["require","on"],function(a){function e(m,k,c,h,g,b){this.ap=k;this.T=document.createElement("canvas");this.T.width=this.ap;this.T.height=this.ap;switch(m){case e.NM:this.zRa(c,h,g,b);break;case e.IV:this.ARa(c,h,g,b)}}var l=a("on");e.prototype.Fe=function(){return this.ap};e.prototype.Ue=function(){return this.ap};e.prototype.dg=function(){return this.T};e.prototype.zRa=function(m,k,c,h){var g=.5*this.ap,b=.5*this.ap,d=.5*this.ap,f=this.T.getContext("2d");k=l.cs(k);for(var n=f.createRadialGradient(g,
b,0,g,b,d),q=0;q&lt;c.length;q++)n.addColorStop(h[q],"rgba("+k[0]+","+k[1]+","+k[2]+","+c[q]+")");f.fillStyle=n;f.globalAlpha=m;f.beginPath();f.arc(g,b,d,0,2*Math.PI,!0);f.closePath();f.fill()};e.prototype.ARa=function(m,k,c,h){var g=.5*this.ap,b=.5*this.ap,d=.5*this.ap,f=this.T.getContext("2d");f.clearRect(0,0,this.ap,this.ap);var n=l.cs(k),q=f.createRadialGradient(g,b,0,g,b,d);for(k=0;k&lt;c.length;k++)q.addColorStop(h[k],"rgba("+n[0]+","+n[1]+","+n[2]+","+c[k]+")");f.fillStyle=q;f.globalAlpha=m;f.beginPath();
for(k=0;6&gt;k;k++)c=45*Math.PI/180+2*Math.PI*k/6,m=g+Math.cos(c)*d,c=b+Math.sin(c)*d,0==k?f.moveTo(m,c):f.lineTo(m,c);f.closePath();f.fill()};e.NM="circle";e.IV="hexagon";return e});
define("nX","require lS le py fI jD du ks he fs".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("fI"),c=a("jD"),h=a("du"),g=a("ks"),b=a("he"),d=a("fs");a=e.extend(c,function(n){c.call(this);this.v=n;this.Kk.push(this.v);this.ig=this.ig.bind(this);this.set("tag","LensFlare");this.set("translationAlpha",0);this.u8=this.gQa();this.Qf=this.bRa();this.ph(this.u8.concat([this.Qf]))});a.prototype.Zb=function(){c.prototype.Zb.call(this);this.trigger(m.hd);this.trigger(m.ea);l.da(this.v,["yaw",
"pitch","bleaching","bleachingDistance"],this.ig,!0)};a.prototype.ac=function(){l.ca(this.v,["yaw","pitch","bleaching","bleachingDistance"],this.ig);c.prototype.ac.call(this)};a.prototype.ig=function(){this.set("yaw",this.v.get("yaw"));this.set("pitch",this.v.get("pitch"));this.set("bleaching",this.v.get("bleaching"));this.set("bleachingDistance",this.v.get("bleachingDistance"))};a.prototype.oa=function(n){c.prototype.oa.call(this,n);this.set("rendererYaw",n.Ra);this.set("rendererPitch",n.pitch);
this.set("rendererRoll",n.Dg);this.set("rendererCameraFOV",n.ti);this.set("rendererWidth",n.width);this.set("rendererHeight",n.height);this.set("inVR",n.sb);if(this.R("composedTranslationX","composedTranslationY","composedTranslationZ")){var q=this.get("composedTranslationX"),p=this.get("composedTranslationY"),r=this.get("composedTranslationZ");this.set("translationAlpha",Math.max(0,1-10*Math.sqrt(q*q+p*p+r*r)))}if(this.R("rendererYaw","rendererPitch","rendererRoll","rendererCameraFOV","rendererWidth",
"rendererHeight","inVR","yaw","pitch","translationAlpha","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")){var t=n.Ra+this.get("composedDeltaYaw"),u=n.pitch+this.get("composedDeltaPitch"),v=n.Dg+this.get("composedDeltaRoll");q=this.get("translationAlpha");r=p=0;if(!n.sb&amp;&amp;(t=k.get(this.get("yaw"),this.get("pitch"),t,u,v,n.ti,n.width,n.height))){var w=.5*n.width;var x=.5*n.height;var y=t.x;var z=t.y;w=2*(w-y);x=2*(x-z);r=Math.sqrt(w*w+x*x);t=Math.min(n.width,n.height);p=Math.max(0,Math.min(.7,
1-r/Math.sqrt(n.width*n.width,n.height*n.height)))*q;n=this.get("bleaching");r=1-Math.max(0,Math.min(1,r/(t*this.get("bleachingDistance"))));r=n*r*q}for(n=0;n&lt;this.u8.length;n++)q=this.u8[n],q.set("alpha",p),0&lt;p&amp;&amp;(q.set("centerX",y+w*f[n].position),q.set("centerY",z+x*f[n].position));this.Qf.set("alpha",r)}};a.prototype.gQa=function(){return f.map(function(n){var q=(new b(n.form,n.bH,n.opacity,n.color,n.bG,n.cG)).dg(),p=new d;p.Pm(q);q=new g;q.set("textureSource",p);q.set("width",n.size);q.set("height",
n.size);q.set("offsetX",.5*n.size);q.set("offsetY",.5*n.size);q.set("alpha",0);return q})};a.prototype.bRa=function(){return new h("#ffffff")};var f=[{form:b.IV,position:.1,size:52,bH:128,opacity:.8,color:"#FCFCFC",bG:[1,.5],cG:[0,.866]},{form:b.IV,position:.2,size:52,bH:128,opacity:.6,color:"#C8FCC8",bG:[1,.5],cG:[0,.866]},{form:b.NM,position:.36,size:112,bH:128,opacity:.5,color:"#C8C8FC",bG:[1,.9,.6,0],cG:[0,.2,.4,1]},{form:b.NM,position:.47,size:32,bH:128,opacity:.3,color:"#96C8AF",bG:[1,1,0],
cG:[0,.9,1]},{form:b.NM,position:.65,size:52,bH:128,opacity:.7,color:"#FCFCFC",bG:[.7,.7,.2,0],cG:[0,.1,.4,1]},{form:b.IV,position:.88,size:128,bH:128,opacity:.4,color:"#AF96C8",bG:[1,.5],cG:[0,.866]},{form:b.NM,position:1,size:33,bH:128,opacity:.8,color:"#C89696",bG:[.8,.8,.6,0],cG:[0,.2,.4,1]}];return a});
define("bD","require lS le py ka jc fs pa bL oS".split(" "),function(a){function e(q,p,r){q=(p-q)*(1-r);1E-5&gt;Math.abs(q)&amp;&amp;(q=0);return p-q}var l=a("lS"),m=a("le"),k=a("py"),c=a("ka"),h=a("jc"),g=a("fs"),b=a("pa"),d=a("bL"),f=a("oS");a=l.extend(c,function(q){c.call(this);this.Lb=q;this.Rq=this.Rq.bind(this);this.Po=this.T=null;this.Ax=this.Pn=this.Qda=this.gx=void 0;this.Qpa=20;this.qg=null;this.Mb=this.Lb.get("opacity",.5);this.lQ=this.Lb.get("rollOverOpacity",this.Mb);this.HVa=1;this.LVa=.66;this.set("tag",
"MenuButton");this.set("visible",!1);this.set("over",!1);this.set("centerDistance",void 0)});a.prototype.Zb=function(){c.prototype.Zb.call(this);m.da(this.Lb,["label"],this.Rq,!0)};a.prototype.ac=function(){m.ca(this.Lb,["label"],this.Rq);c.prototype.ac.call(this)};a.prototype.Rq=function(){this.T=null};a.prototype.oa=function(q){this.wr(q);this.wg(q);this.rF(q);this.yf(q);this.ie(q);c.prototype.oa.call(this,q)};a.prototype.wr=function(q){q.sb&amp;&amp;!this.Po&amp;&amp;f.getType()==f.yv.zl&amp;&amp;this.ph([this.Po=new c])};
a.prototype.wg=function(){this.get("visible")&amp;&amp;(this.T||(this.get("textureSource")||this.set("textureSource",new g),this.T=new h(this.Lb,[this.Lb]),this.get("textureSource").Pm(this.T.dg()),this.set("contentWidth",this.T.Fe()),this.set("contentHeight",this.T.Ue()),this.set("hfov",this.T.Ee()),this.set("distance",this.Lb.get("distance"))),this.T.update()&amp;&amp;(this.get("textureSource").update(),this.Ga()),this.R("over")&amp;&amp;this.T.$B(this.get("over")?0:-1))};a.prototype.rF=function(q){this.R("visible")&amp;&amp;
(this.qg=new b("linear",[new d("displayCoef",this.get("visible")?0:1,this.get("visible")?1:0,void 0)],300));this.qg&amp;&amp;(this.qg.We()?this.qg=null:this.qg.Fb(q.Te))};a.prototype.yf=function(q){if(this.get("visible")||this.qg){this.Pn=q.Ra;this.Ax=Math.min(90,Math.max(-90,this.Qpa+this.Qpa-q.pitch));if(this.R("visible")&amp;&amp;this.get("visible"))this.set("yaw",q.Ra),this.set("pitch",q.pitch);else{for(;this.Pn+180&lt;this.gx;)this.gx-=360;for(;this.Pn-180&gt;this.gx;)this.gx+=360;var p=(this.Pn-this.gx)/q.Te,r=(this.Ax-
this.Qda)/q.Te,t=Math.atan2(r,p);r=Math.sqrt(r*r+p*p);r=Math.min(r,10*n);p=Math.cos(t)*r;t=Math.sin(t)*r;this.set("yaw",e(this.get("yaw"),this.Pn+p,.02));this.set("pitch",e(this.get("pitch"),this.Ax+t,.02))}this.gx=this.Pn;this.Qda=this.Ax;t=this.get("yaw")-q.Ra;q=this.get("pitch")-q.pitch;this.set("centerDistance",Math.sqrt(t*t+q*q))}};a.prototype.ie=function(){if(!this.get("visible")&amp;&amp;!this.qg)this.set("alpha",0);else if(this.R("over","centerDistance")||this.qg){var q=this.get("over")?this.lQ:this.Mb,
p=this.LVa,r=this.get("centerDistance")/this.get("hfov");1&gt;r&amp;&amp;(p+=(1-r)*(this.HVa-p),q+=(1-r)*(this.lQ-q));this.qg&amp;&amp;(q*=this.qg.eb("displayCoef"),p*=this.qg.eb("displayCoef"));this.set("alpha",q);this.set("scale",p)}};a.prototype.Om=function(q){if(q.vf==k.El){var p=!1;this.get("visible")&amp;&amp;!q.hl()&amp;&amp;(p=0&lt;this.ow(q.ir).length);p&amp;&amp;(q.gB(this.Lb),q.DF(this.Lb),q.gl(this.get("distance")));this.get("over")!=p&amp;&amp;(this.get("over")&amp;&amp;this.Lb.trigger(k.Jb),this.set("over",p),this.get("over")&amp;&amp;this.Lb.trigger(k.Dc))}else q.vf==
k.Vf&amp;&amp;this.get("visible")&amp;&amp;!q.hl()&amp;&amp;0&lt;this.ow(q.ir).length&amp;&amp;(q.ps(this.Lb),this.Lb.trigger(k.ma),this.trigger(k.ma))};var n=Math.PI/180;return a});
define("ke","require lS le py ka jc fs pa bL oS".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("ka"),c=a("jc"),h=a("fs"),g=a("pa"),b=a("bL"),d=a("oS");a=e.extend(k,function(f,n){k.call(this);this.Lb=f;this.rA=n;this.Rq=this.Rq.bind(this);this.T=null;this.Qda=this.gx=void 0;this.qg=null;this.Mb=this.Lb.get("opacity",.5);this.lQ=this.Lb.get("rollOverOpacity",this.Mb);this.set("textureSource",new h);this.set("tag","MenuPanel");this.set("overIndex",-1);this.set("selectedIndex",-1);this.Qqa=
!1});a.prototype.Zb=function(){k.prototype.Zb.call(this);l.da(this.Lb,["label"],this.Rq,!0);this.rA.forEach(function(f){l.da(f,["label"],this.Rq,!0)}.bind(this))};a.prototype.ac=function(){l.ca(this.Lb,["label"],this.Rq);this.rA.forEach(function(f){l.ca(f,["label"],this.Rq)}.bind(this));k.prototype.ac.call(this)};a.prototype.Rq=function(){this.T=null};a.prototype.oa=function(f){this.wr(f);this.wg(f);this.rF(f);this.yf(f);k.prototype.oa.call(this,f)};a.prototype.qQa=function(){this.T||(this.T=new c(this.Lb,
this.rA),this.get("textureSource").Pm(this.T.dg()),this.set("contentWidth",this.T.Fe()),this.set("contentHeight",this.T.Ue()),this.set("hfov",this.T.Ee()),this.set("distance",this.Lb.get("distance")))};a.prototype.wg=function(){this.T||this.qQa();this.R("selectedIndex")&amp;&amp;this.T.$B(this.get("selectedIndex"));this.R("overIndex")&amp;&amp;this.T.$B(this.get("overIndex"));this.T.update()&amp;&amp;(this.get("textureSource").update(),this.Ga())};a.prototype.wr=function(f){f.sb&amp;&amp;!this.Po&amp;&amp;d.getType()==d.yv.zl&amp;&amp;this.ph([this.Po=
new k])};a.prototype.rF=function(f){this.qg||this.Qqa||(this.qg=new g("linear",[new b("alpha",0,1,void 0),new b("scale",0,1,void 0),new b("yaw",f.Ra,this.get("yaw"),void 0),new b("pitch",f.pitch,this.get("pitch"),void 0)],300));this.qg&amp;&amp;(this.qg.We()?(this.Qqa=!0,this.qg=null):this.qg.Fb(f.Te))};a.prototype.yf=function(){if(this.qg){var f=0&gt;this.get("overIndex")?this.Mb:this.lQ;this.set("alpha",f*this.qg.eb("alpha"));this.set("scale",this.qg.eb("scale"));this.set("yaw",this.qg.eb("yaw"));this.set("pitch",
this.qg.eb("pitch"))}else this.R("overIndex")&amp;&amp;(f=0&gt;this.get("overIndex")?this.Mb:this.lQ,this.set("alpha",f))};a.prototype.Om=function(f){if(f.vf==m.El){var n=-1;if(!f.hl()){var q=this.ow(f.ir).filter(function(p){return p.source==this.T.dg()}.bind(this));0&lt;q.length&amp;&amp;(n=this.T.Cia(q[0].x,q[0].y))}0&lt;=n&amp;&amp;(f.gB(this.rA[n]),f.DF(this.rA[n]),f.gl(this.get("distance")));0&lt;=this.get("overIndex")!=0&lt;=n&amp;&amp;(0&lt;n?this.trigger(m.Dc):this.trigger(m.Jb));this.get("overIndex")!=n&amp;&amp;(0&lt;=this.get("overIndex")&amp;&amp;this.rA[this.get("overIndex")].trigger(m.Jb),
this.set("overIndex",n),0&lt;=this.get("overIndex")&amp;&amp;this.rA[this.get("overIndex")].trigger(m.Dc))}else f.vf!=m.Vf||f.hl()||(q=this.ow(f.ir).filter(function(p){return p.source==this.T.dg()}.bind(this)),0&lt;q.length&amp;&amp;(n=this.T.Cia(q[0].x,q[0].y),0&lt;=n&amp;&amp;(q=this.rA[n],this.set("selectedIndex",n),f.ps(q),f.gl(this.get("distance")),q.trigger(m.ma),this.trigger(m.ma,{item:q}))))};return a});
define("iW",["require","lS","py","jD","ke"],function(a){var e=a("lS"),l=a("py"),m=a("jD"),k=a("ke");a=e.extend(m,function(g){m.call(this);this.Lb=g;this.EA=[];this.DJ=null;this.set("tag","MenuPanels");this.set("visible",!1)});a.prototype.oa=function(g){this.R("visible")&amp;&amp;this.get("visible")&amp;&amp;(this.set("yaw",g.Ra),this.set("pitch",g.pitch),this.Xoa(this.Lb));m.prototype.oa.call(this,g)};a.prototype.Xoa=function(g){g=new k(this.Lb,g.get("children",[]));var b=this.get("yaw");this.pb().forEach(function(d){b+=
d.get("hfov")+h});g.set("yaw",b);g.set("pitch",this.get("pitch"));this.QNa(g);this.appendChild(g)};a.prototype.xxa=function(g){this.pb().slice(g).forEach(function(b){this.tYa(b);b.remove()}.bind(this));this.EA=this.EA.filter(function(b){return 0&lt;=this.pb().indexOf(b)}.bind(this))};a.prototype.QNa=function(g){g.bind(l.Dc,this.Lwa,this,!0);g.bind(l.Jb,this.Kwa,this,!0);g.bind(l.ma,this.Jwa,this,!0)};a.prototype.tYa=function(g){g.unbind(l.Dc,this.Lwa,this,!0);g.unbind(l.Jb,this.Kwa,this,!0);g.unbind(l.ma,
this.Jwa,this,!0)};a.prototype.Lwa=function(g){0&gt;this.EA.indexOf(g.source)&amp;&amp;(this.EA.push(g.source),1==this.EA.length&amp;&amp;this.dqa())};a.prototype.Kwa=function(g){g=this.EA.indexOf(g.source);0&lt;=g&amp;&amp;(this.EA.splice(g,1),0==this.EA.length&amp;&amp;this.TZa())};a.prototype.Jwa=function(g){var b=g.source;g=g.data.item;g.get("children",[]).length?(this.xxa(this.pb().indexOf(b)+1),this.Xoa(g)):this.hqa()};a.prototype.hqa=function(){this.set("visible",!1);this.xxa(0);this.dqa();this.trigger(l.pH)};a.prototype.dqa=function(){this.DJ&amp;&amp;
(clearTimeout(this.DJ),this.DJ=null)};a.prototype.TZa=function(){this.DJ||(this.DJ=setTimeout(function(){this.DJ=null;this.hqa()}.bind(this),c))};var c=3E3,h=1;return a});
define("gx","require lS py jD bD iW".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("jD"),k=a("bD"),c=a("iW");a=e.extend(m,function(h){m.call(this);this.v=h;this.Kk.push(this.v);this.set("tag","Menu");this.set("visible",!1);this.Ad=new k(this.v);this.Ad.bind(l.ma,this.XOa,this,!1);this.ji=new c(this.v);this.ji.bind(l.pH,this.wXa,this,!1);this.ph([this.Ad,this.ji])});a.prototype.Zb=function(){m.prototype.Zb.call(this);this.trigger(l.hd);this.trigger(l.ea)};a.prototype.oa=function(h){this.set("visible",
h.sb);this.R("visible")&amp;&amp;(this.Ad.set("visible",this.get("visible")),this.ji.set("visible",!1));m.prototype.oa.call(this,h)};a.prototype.XOa=function(){this.Ad.set("visible",!1);this.ji.set("visible",!0)};a.prototype.wXa=function(){this.Ad.set("visible",this.get("visible"))};return a});
define("pq","require lS py ka fs oQ lT".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("ka"),k=a("fs"),c=a("oQ"),h=a("lT");a=e.extend(m,function(){m.call(this);this.set("tag","CustomPlane");this.set("source",null);this.set("sourceUpdated",!1);this.set("sourceIsVideo",!1);this.ge=this.bh=null});a.prototype.Zb=function(){this.bh=(new c(l.ea)).Sm(this.Qq.bind(this));this.ge=(new c(l.ea)).zp(this.Xw.bind(this));m.prototype.Zb.call(this)};a.prototype.ac=function(){this.bh.dispose();this.ge.dispose();
m.prototype.ac.call(this)};a.prototype.oa=function(g){if(this.R("source","sourceUpdated","sourceIsVideo")){var b=this.get("textureSource");b||this.set("textureSource",b=new k);this.R("source")&amp;&amp;b.Pm(this.get("source"));this.R("sourceIsVideo")&amp;&amp;b.AU(this.get("sourceIsVideo"));this.R("sourceUpdated")&amp;&amp;(b.update(),this.set("sourceUpdated",!1))}m.prototype.oa.call(this,g);this.R("meshGroup")&amp;&amp;(g=(g=this.get("meshGroup"))&amp;&amp;g.children||[],g.length&amp;&amp;(this.bh.Gf(g),this.ge.Gf(g)))};a.prototype.Qq=function(){this.trigger(l.hd);
this.trigger(l.ea)};a.prototype.Xw=function(g,b){var d=0;b.lu(function(f){(f=b.Gm(f))&amp;&amp;(d+=f.Tg)});this.trigger(new h(l.kc,d/b.ld.length))};return a});
define("hA","require lS le py jI jD pq ms dt bz".split(" "),function(a){function e(p,r,t){this.Ef=p;this.Ef.bind(k.G("distanceToFloor"),this.oa,this,!1);this.hk=r;this.hk.bind(k.G("yaw"),this.oa,this,!1);this.hk.bind(k.G("distance"),this.oa,this,!1);this.hk.bind(k.G("enabled"),this.oa,this,!1);this.hk.bind(k.G("enabledInSurfaceSelection"),this.oa,this,!1);this.gb=null;this.Xe=new g;this.Xe.set("hfov",20);this.Xe.set("vfov",20);this.Xe.set("pitch",-90);this.Xe.set("source",t.dg());this.Xe.set("contentWidth",
t.Fe());this.Xe.set("contentHeight",t.Ue());this.oa()}var l=a("lS"),m=a("le"),k=a("py"),c=a("jI"),h=a("jD"),g=a("pq"),b=a("ms"),d=a("dt"),f=a("bz");a=l.extend(h,function(p){h.call(this);this.qZ=this.qZ.bind(this);this.qt=this.qt.bind(this);this.nZ=this.nZ.bind(this);this.set("tag","SurfaceSelector");this.set("reticleVisible",!1);this.set("enabled",!1);this.za=p;this.lW=[];this.oO=new f;this.fk=new d;this.ve=new g;this.ve.set("hfov",20);this.ve.set("vfov",20);this.ve.set("pitch",-90);this.set("reticleCoef",
1);this.ph([this.ve])});a.prototype.Zb=function(){this.OQa();h.prototype.Zb.call(this);m.da(this.za,["distanceToFloor"],this.qZ,!0);m.da(this.za,["adjacentPanoramas"],this.qt,!0);m.da(this.Ha.Yc,["adjacentPanoramaPositionsEnabled"],this.nZ,!0);this.trigger(k.hd);this.trigger(k.ea)};a.prototype.ac=function(){h.prototype.ac.call(this);m.ca(this.za,["distanceToFloor"],this.qZ);m.ca(this.za,["adjacentPanoramas"],this.qt);m.ca(this.Ha.Yc,["adjacentPanoramaPositionsEnabled"],this.nZ);this.bya([])};a.prototype.qZ=
function(){var p=this.za.get("distanceToFloor");this.ve.set("distance",p);p=c.qu(p);var r=c.Iia(p,90),t=c.Jia(p,90);this.oO.fg.set(.5*-r,-p,.5*-t);this.oO.Fj.set(.5*r,-p,.5*-t);this.oO.MB.set(.5*-r,-p,.5*t);this.Gxa=p/c.Rr()};a.prototype.qt=function(){this.bya(this.za.get("adjacentPanoramas",[]))};a.prototype.nZ=function(){this.qt()};a.prototype.bya=function(p){this.lW.forEach(function(r){r.clear()});this.lW=p.map(function(r){return new e(this.za,r,this.Hda)}.bind(this));p=[];this.Ha.Yc.get("adjacentPanoramaPositionsEnabled")&amp;&amp;
(p=p.concat(this.lW.map(function(r){return r.Xe})));p=p.concat([this.ve]);this.ph(p)};a.prototype.oa=function(p){h.prototype.oa.call(this,p);this.set("enabled",p.UU);this.Dga();this.eB(p)};a.prototype.Dga=function(){this.R("enabled","reticleVisible","composedTranslationX","composedTranslationY","composedTranslationZ","composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;(this.ve.set("alpha",this.get("reticleVisible")?1:0),this.set("alpha",!this.get("enabled")||this.get("composedTranslationX")||
this.get("composedTranslationY")||this.get("composedTranslationZ")||this.get("composedDeltaYaw")||this.get("composedDeltaPitch")||this.get("composedDeltaRoll")?0:1),this.Zza())};a.prototype.OQa=function(){this.XJ=new b(this.Ha.M);this.XJ.setPosition(this.get("reticleCoef"));this.ve.set("source",this.XJ.dg());this.ve.set("contentWidth",this.XJ.Fe());this.ve.set("contentHeight",this.XJ.Ue());this.Hda=new b(this.Ha.M);this.Hda.setPosition(0);this.Hda.update(1)};a.prototype.eB=function(p){this.R("reticleCoef")&amp;&amp;
this.XJ.setPosition(this.get("reticleCoef"));this.ve.set("sourceUpdated",this.XJ.update(p.Te))};a.prototype.Om=function(p){if(p.lta)if(!this.get("enabled")||0==p.ir.length||p.hl()||p.wi())this.set("reticleVisible",!1);else{var r=p.ir[0];this.fk.fg.set(r.origin.x,r.origin.y,r.origin.z);this.fk.Fj.set(r.origin.x+r.direction.x,r.origin.y+r.direction.y,r.origin.z+r.direction.z);if(r=this.oO.intersection(this.fk,!0)){var t=this.oO.G4(r,!0),u=2*(.5-t.x);t=2*(.5-t.y);var v=n*Math.atan2(-u,t),w=-90+n*Math.atan2(Math.sqrt(u*
u+t*t),1);if(-75&gt;w||-1&lt;w)this.set("reticleVisible",!1);else{var x={x:u*this.Gxa,y:-t*this.Gxa};p.Au()||p.ija()?p.vf==k.El&amp;&amp;(this.set("reticleVisible",!0),this.ve.set("alpha",Math.min(1,(w- -75)/5)),this.ve.set("translationX",x.x),this.ve.set("translationZ",x.y)):this.set("reticleVisible",!1);var y=.5*this.Ha.Yc.get("surfaceSelectionHorizontalAngle"),z=.5*this.Ha.Yc.get("surfaceSelectionVerticalAngle");t=this.lW.map(function(B){return{hk:B.hk,vT:B.N5a(v),vertical:B.q6a(w),distance:B.T2(x)}}).filter(function(B){return B.vT&lt;
y&amp;&amp;B.vertical&lt;z});0==t.length?this.set("reticleCoef",0):(t.sort(function(B,D){return B.distance-D.distance}),u=t[0].hk,this.set("reticleCoef",Math.max(0,Math.min(1,(1-t[0].vT/y)*(1-t[0].vertical/z)))),r=this.za.get("distanceToFloor")*Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z)/-r.y,p.ija()&amp;&amp;p.a3a([u]),p.gl(r),p.vf==k.Vf?(p.ps([u]),this.get("blendingActive")||u.trigger(k.gq)):(p.gB([u]),p.Au()&amp;&amp;p.DF([u]),(r=this.Ha.M.get("displayTooltipInSurfaceSelection")&amp;&amp;u.get("panorama")&amp;&amp;u.get("panorama").get("label"))&amp;&amp;
p.R1(r,0)))}}else this.set("reticleVisible",!1)}};e.prototype.clear=function(){this.Ef.unbind(k.G("distanceToFloor"),this.oa,this,!1);this.Ef=null;this.hk.unbind(k.G("yaw"),this.oa,this,!1);this.hk.unbind(k.G("distance"),this.oa,this,!1);this.hk.unbind(k.G("enabled"),this.oa,this,!1);this.hk.unbind(k.G("enabledInSurfaceSelection"),this.oa,this,!1);this.hk=null};e.prototype.N5a=function(p){if(!this.gb)return Infinity;p=Math.abs(this.gb.Ra-p);return 180&lt;p?360-p:p};e.prototype.q6a=function(p){return this.gb?
Math.abs(this.gb.pitch-p):Infinity};e.prototype.T2=function(p){if(!this.rK)return Infinity;var r=p.x-this.rK.x;p=p.y-this.rK.y;return Math.sqrt(r*r+p*p)};e.prototype.oa=function(){var p=this.hk.get("yaw"),r=this.hk.get("distance"),t=this.hk.get("enabled")&amp;&amp;this.hk.get("enabledInSurfaceSelection");if(void 0!==p&amp;&amp;void 0!==r&amp;&amp;t){t=this.Ef.get("distanceToFloor");var u=-90+Math.atan2(r,t)*n;this.Xe.set("alpha",-1&gt;u?1:0);this.gb={Ra:p,pitch:u};u=c.qu(t)/c.Rr();this.rK={x:-Math.sin(p*q)*r/t*u,y:-Math.cos(p*
q)*r/t*u};this.Xe.set("translationX",this.rK.x);this.Xe.set("translationZ",this.rK.y);this.Xe.set("distance",t)}else this.rK=this.gb=null,this.Xe.set("alpha",0)};var n=180/Math.PI,q=Math.PI/180;return a});
define("X","require lS le py lT jD ka hA oQ nV jW oS".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("lT"),c=a("jD"),h=a("ka"),g=a("hA"),b=a("oQ"),d=a("nV"),f=a("jW"),n=a("oS"),q=0;a=e.extend(c,function(t){c.call(this);this.v=t;this.Kk.push(this.v);this.wE=this.wE.bind(this);this.hg=this.hg.bind(this);this.qt=this.qt.bind(this);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Panorama");this.set("loadingActive",!1);this.set("blendingActive",!0);this.set("currentTime",
0);this.set("adjacentPanoramas",[]);this.set("preloadEnabled",!0);this.set("backgroundPreloadEnabled",!0);this.set("surfaceSelectionEnabled",!1);this.set("id","panorama_"+q++);this.set("ready",!1);this.C_=[];this.Uo=this.ge=this.Lf=null;this.ei=new p;this.exa=new r;this.h0a=new g(this.v);this.Oo=new r;this.ph([this.ei,this.exa,this.h0a,this.Oo])});a.prototype.Zb=function(){this.Lf=(new b(m.ea)).Sm(this.Qq.bind(this));this.ge=(new b(m.kc)).zp(this.yE.bind(this));this.Uo=(new b(m.hd)).Sm(this.pWa.bind(this));
c.prototype.Zb.call(this);this.get("blendingActive")&amp;&amp;this.Ha.set("globalBlendingActive",this.Ha.get("globalBlendingActive")+1);l.da(this.v,["currentTime"],this.wE,!0);l.da(this.v,["frames","overlays","vrMenu","flipImageHorizontally"],this.hg,!0);l.da(this.v,["adjacentPanoramas"],this.qt,!0)};a.prototype.ac=function(){this.Lf.dispose();this.ge.dispose();this.Uo.dispose();this.get("blendingActive")&amp;&amp;this.Ha.set("globalBlendingActive",this.Ha.get("globalBlendingActive")-1);c.prototype.ac.call(this);
l.ca(this.v,["currentTime"],this.wE);l.ca(this.v,["frames","overlays","vrMenu","flipImageHorizontally"],this.hg);l.ca(this.v,["adjacentPanoramas"],this.qt);this.nfa()};a.prototype.hg=function(){function t(B,D,I){B=y.indexOf(B);return 0&gt;B?I:w[B].get(D,I)}function u(B){return t(B,"projected",!1)}var v=this.Ha.ay(this.v.get("frames"));v.forEach(function(B){B.set("panoramaId",this.get("id"));B.set("flipHorizontally",this.v.get("flipImageHorizontally"))}.bind(this));var w=this.v.get("overlays"),x=this.Ha.ay(w),
y=x.slice(),z=x.filter(function(B){return t(B,"projected",!1)||t(B,"required",!1)}).filter(function(B){return t(B,"enabled",!0)});this.v.get("vrMenu")&amp;&amp;x.push(this.Ha.ay(this.v.get("vrMenu")));x.forEach(function(B){B.set("panoramaId",this.get("id"))}.bind(this));this.Lf.Gf(v.concat(x));this.ge.Gf(v.concat(x));this.Uo.Gf(v.concat(z));this.exa.ph(x.filter(u));this.ei.ph(v);this.Oo.ph(x.filter(function(B){return!u(B)}));this.set("panoramaPixelsPerDegree",d.BDa(this.v));this.gAa()};a.prototype.wE=function(){this.set("currentTime",
this.v.get("currentTime",0))};a.prototype.qt=function(){this.set("adjacentPanoramas",this.v.get("adjacentPanoramas",[]))};a.prototype.Qq=function(){this.zj();this.trigger(m.ea)};a.prototype.pWa=function(){this.zj();this.set("ready",!0);this.trigger(m.hd)};a.prototype.yE=function(){this.zj()};a.prototype.zj=function(){var t=0;this.ge.lu(function(u){var v=0,w;this.Lf.Gm(u)?v=100:(w=this.ge.Gm(u))&amp;&amp;(v=w.Tg);t+=v}.bind(this));this.trigger(new k(m.kc,t/this.ge.ld.length))};a.prototype.oa=function(t){t.sb&amp;&amp;
!this.Po&amp;&amp;n.getType()==n.yv.zl&amp;&amp;this.ph([this.Po=new h].concat(this.pb()));var u=this.get("blendingActive");this.set("blendingActive",1&gt;this.get("alpha"));u!=this.get("blendingActive")&amp;&amp;this.Ha.set("globalBlendingActive",this.Ha.get("globalBlendingActive")+(this.get("blendingActive")?1:-1));this.set("backgroundPreloadEnabled",!1!==this.Ha.qp().get("backgroundPreloadEnabled"));this.set("preloadEnabled",t.eU);this.R("adjacentPanoramas","loadingActive","preloadEnabled","backgroundPreloadEnabled")&amp;&amp;(this.get("loadingActive")&amp;&amp;
this.get("backgroundPreloadEnabled")?this.O_a():this.nfa());this.R("index")&amp;&amp;this.gAa();c.prototype.oa.call(this,t)};a.prototype.Xia=function(){return d.Xia(this.v,this.get("preloadEnabled"))};a.prototype.mka=function(){return d.mka(this.v,this.get("preloadEnabled"))};a.prototype.O_a=function(){this.nfa();this.C_=this.get("adjacentPanoramas").map(function(t){t=t.get("panorama");return[t,d.Vn(t,this.get("preloadEnabled"))]}.bind(this));this.C_.forEach(function(t){f.jBa(t[0],t[1]);f.R3(t[0],1)})};a.prototype.nfa=
function(){this.C_.forEach(function(t){f.R3(t[0],-1);f.F9a(t[0],t[1])});this.C_=[]};a.prototype.gAa=function(){var t=this.get("index");this.ei.pb().forEach(function(u,v,w){u.set("panoramaIndex",t);u.set("frameIndex",v);u.set("frameCount",w.length)})};var p=e.extend(c,function(){c.call(this);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});p.prototype.oa=function(t){this.pb().forEach(function(u,v,w){u.set("frontFrame",
w[w.length-1])});c.prototype.oa.call(this,t)};var r=e.extend(c,function(){c.call(this);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("currentTime",0);this.set("tag","Group")});return a});
define("jS",["require","lS","fR","eC"],function(a){var e=a("lS"),l=a("fR"),m=a("eC"),k=0;a=e.extend(l,function(){l.call(this);this.set("tag","PanoramaFrame");this.set("panoramaIndex",0);this.set("frameIndex",0);this.set("frameCount",1);this.set("id","frame_"+k++)});a.prototype.oa=function(c){l.prototype.oa.call(this,c);this.tF()};a.prototype.xF=function(){if(this.R("panoramaIndex","frameIndex","frameCount","meshGroup")){var c=this.get("meshGroup");if(c){var h=this.get("panoramaIndex"),g=this.get("frameIndex"),
b=this.get("frameCount"),d=c.children.length;c.children.forEach(function(f,n){m.h5(f,h+(n+g/b)/d)}.bind(this))}}};a.prototype.tF=function(){if(this.R("meshGroup","panoramaId","id")){var c=this.get("meshGroup");c&amp;&amp;c.children.forEach(function(h,g){m.setAttribute(h,m.nC,this.get("panoramaId"));m.setAttribute(h,m.T5,g);m.setAttribute(h,m.kH,this.get("id"))}.bind(this))}};return a});
define("oE","require lS le py ix jD jS oQ nV fN kV lT".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("ix"),c=a("jD"),h=a("jS"),g=a("oQ"),b=a("nV"),d=a("fN"),f=a("kV"),n=a("lT");a=e.extend(h,function(p){h.call(this);this.set("tag","ImagePanoramaFrame");this.Wwa=!0;this.v=p;this.Kk.push(this.v);this.Wk=this.bh=this.Uo=null;this.Yba=[];this.hg=this.hg.bind(this);this.lq(["loadingActive","currentTime","panoramaId","panoramaPixelsPerDegree"]);this.ph([this.Oo=new q])});a.prototype.Zb=function(){this.Uo=
new g(m.ea);this.bh=new g(m.ea);this.Wk=new g(m.kc);h.prototype.Zb.call(this);l.da(this.v,["overlays"],this.hg,!0)};a.prototype.ac=function(){this.Uo.dispose();this.bh.dispose();this.Wk.dispose();l.ca(this.v,["overlays"],this.hg);h.prototype.ac.call(this)};a.prototype.hg=function(){this.Oo.ph(this.Ha.ay(this.v.get("overlays")));this.Rza()};a.prototype.Rza=function(){this.bh.Gf([].concat(this.Yba,this.Oo.pb()));this.Wk.Gf([].concat(this.Yba,this.Oo.pb()))};a.prototype.wo=function(){var p=[],r=[],t=
[];b.Dia(this.v,this.Wwa).forEach(function(u,v){var w=d.l4a(this.v,u);b.y7a(u)?(0==v&amp;&amp;(p=p.concat(w),r=r.concat(w)),f.Ey(w,0==v?f.Fs:f.JV),f.Dy(w,0==v?f.Xp:f.e7)):(0==v&amp;&amp;(p=p.concat(w)),r=r.concat(w),f.Ey(w,f.Fs),f.Dy(w,f.Xp));f.OG(w,0==v?k.q7:k.Bl);f.MU(w,v);t=t.concat(w)}.bind(this));this.Uo.Gf(p);this.Yba=r;this.Rza();this.bh.Sm(this.Qq.bind(this));this.Uo.Sm(this.UWa.bind(this));this.Wk.zp(this.yE.bind(this));this.trigger(new n(m.kc,0));return t};a.prototype.UWa=function(){this.trigger(m.hd)};
a.prototype.Qq=function(){this.trigger(m.ea)};a.prototype.oa=function(p){this.Wwa=p.eU;this.S1a();h.prototype.oa.call(this,p)};a.prototype.S1a=function(){var p=this.get("frontFrame");if(this.R("frontFrame")||p&amp;&amp;p.R("alpha"))p=p&amp;&amp;p!=this?1-p.get("alpha"):1,this.Oo.set("alpha",p)};a.prototype.yE=function(){var p=0;this.Wk.lu(function(r){var t=0,u;this.bh.Gm(r)?t=100:(u=this.Wk.Gm(r))&amp;&amp;(t=u.Tg);p+=t}.bind(this));this.trigger(new n(m.kc,p/this.Wk.ld.length))};var q=e.extend(c,function(){c.call(this);
this.lq(["loadingActive","panoramaId","panoramaPixelsPerDegree"]);this.set("loadingActive",!1);this.set("tag","Group")});return a});
define("gV","require lS py ka nw oQ lT".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("ka"),k=a("nw"),c=a("oQ"),h=a("lT");a=e.extend(m,function(){m.call(this);this.set("tag","ImagePlane");this.set("url",null);this.ge=this.Lf=null});a.prototype.Zb=function(){this.Lf=(new c(l.ea)).Sm(this.Qq.bind(this));this.ge=(new c(l.kc)).zp(this.Xw.bind(this));m.prototype.Zb.call(this)};a.prototype.ac=function(){this.Lf.dispose();this.ge.dispose();m.prototype.ac.call(this)};a.prototype.oa=function(g){if(this.R("url")){var b=
this.get("url");b=b?new k(b):null;this.set("textureSource",b)}m.prototype.oa.call(this,g);this.R("meshGroup")&amp;&amp;(g=(g=this.get("meshGroup"))&amp;&amp;g.children||[],g.length&amp;&amp;(this.Lf.Gf(g),this.ge.Gf(g)))};a.prototype.Qq=function(){this.trigger(l.hd);this.trigger(l.ea)};a.prototype.Xw=function(g,b){var d=0;b.lu(function(f){(f=b.Gm(f))&amp;&amp;(d+=f.Tg)});this.trigger(new h(l.kc,d/b.ld.length))};return a});
define("mX","require es py cI lu oT".split(" "),function(a){function e(b,d){this.Fd=b;this.ga=d;this.Uk=!1;this.lj=[];this.hn=this.tI=void 0;this.Ne=[];this.SOa();this.x9();this.I0();this.Mi()}function l(b,d,f){this.time=b;this.cue=d;this.action=f}var m=a("es"),k=a("py"),c=a("cI"),h=a("lu"),g=a("oT");e.prototype.clear=function(){this.HN();this.lj=[];this.d1a();this.ga=this.Fd=null};e.prototype.SOa=function(){this.ga.bind(g.Uf,this.lf,this,!0);this.ga.bind(k.Ae,this.Mi,this,!0);this.ga.bind(k.Gb,this.CA,
this,!0)};e.prototype.d1a=function(){this.ga.unbind(g.Uf,this.lf,this,!0);this.ga.unbind(k.Ae,this.Mi,this,!0);this.ga.unbind(k.Gb,this.CA,this,!0)};e.prototype.Mi=function(){var b=this.ga.getState()!=h.V;this.Uk!=b&amp;&amp;((this.Uk=b)?this.I0():this.HN())};e.prototype.CA=function(){this.AF()};e.prototype.lf=function(){this.AF()};e.prototype.I0=function(){this.hn=this.tI=0};e.prototype.AF=function(){if(this.ga&amp;&amp;this.Uk){var b=this.Ne.slice(),d=this.ga.getCurrentTime(),f=d-this.tI;0&gt;f&amp;&amp;(this.Ne=[],this.hn=
0);f=0&lt;=f&amp;&amp;2&gt;f;this.tI=d;var n;for(n=this.hn;n&lt;this.lj.length&amp;&amp;!(this.lj[n].time&gt;d);n++);for(;this.hn&lt;n;this.hn++)d=this.lj[this.hn],"start"==d.action?(this.Ne=m(this.Ne).union([d.cue]),f&amp;&amp;d.cue.trigger(new c(k.Mp))):(this.Ne=m(this.Ne).difference([d.cue]),f&amp;&amp;d.cue.trigger(new c(k.Gb)));b.length==this.Ne.length&amp;&amp;m(b).intersection(this.Ne).length==this.Ne.length||this.KR()}};e.prototype.HN=function(){0&lt;this.Ne.length&amp;&amp;(this.Ne=[],this.KR())};e.prototype.KR=function(){this.Fd.trigger(new c(k.uk,{activeCues:this.Ne.slice()}))};
e.prototype.x9=function(){this.lj=[];var b=this.Fd.get("cues",[]);m(b).each(function(d){this.lj.push(new l(d.get("startTime",0),d,"start"));this.lj.push(new l(d.get("endTime",Number.POSITIVE_INFINITY),d,"end"))},this);this.lj.sort(function(d,f){return d.time==f.time?d.action==f.start?0:"start"==d.action?-1:1:d.time-f.time})};return e});
define("mr",["require","py","lu","cI","oT"],function(a){function e(h,g,b){this.Vd=h;this.Fd=g;this.ga=b;this.ga.setCurrentTime(this.Jf=this.Fd.get("currentTime",0));this.ga.Tf(this.bf=this.Vd.get("mute",!1));this.ga.Xc(this.C=this.Fd.get("state",m.V));this.ga.setLoop(this.Jk=this.Fd.get("loop"));this.Xb=this.ga.ui();this.RNa();this.YNa();this.Fv()}var l=a("py"),m=a("lu"),k=a("cI"),c=a("oT");e.prototype.clear=function(){this.uYa();this.AYa();this.lx();this.ga.Xc(m.V);this.Fd.set("state",m.V);this.Fd.set("currentTime",
0);this.Fd.set("duration",void 0)};e.prototype.ywa=function(){var h=this.Fd.get("state",m.V);this.C!=h&amp;&amp;this.ga.Xc(this.C=h)};e.prototype.wwa=function(){var h=this.Fd.get("currentTime",0);this.Jf!=h&amp;&amp;this.ga.setCurrentTime(this.Jf=h)};e.prototype.bQ=function(){var h=this.Vd.get("mute",0);this.bf!=h&amp;&amp;this.ga.Tf(this.bf=h)};e.prototype.xwa=function(){var h=this.Fd.get("loop");this.Jk!=h&amp;&amp;this.ga.setLoop(this.Jk=h)};e.prototype.iQ=function(){this.Fd.set("currentTime",this.Jf=this.ga.getCurrentTime())};
e.prototype.gQ=function(){this.Fd.set("duration",this.Xb=this.ga.ui())};e.prototype.hQ=function(){this.Fd.set("state",this.C=this.ga.getState())};e.prototype.jQ=function(){this.Fd.trigger(new k(l.Gb))};e.prototype.RNa=function(){this.Vd.bind(l.G("mute"),this.bQ,this,!0)};e.prototype.uYa=function(){this.Vd.unbind(l.G("mute"),this.bQ,this,!0)};e.prototype.YNa=function(){this.Fd.bind(l.G("state"),this.ywa,this,!0);this.Fd.bind(l.G("currentTime"),this.wwa,this,!0);this.Fd.bind(l.G("loop"),this.xwa,this,
!0)};e.prototype.AYa=function(){this.Fd.unbind(l.G("state"),this.ywa,this,!0);this.Fd.unbind(l.G("currentTime"),this.wwa,this,!0);this.Fd.unbind(l.G("loop"),this.xwa,this,!0)};e.prototype.Fv=function(){this.ga.bind(c.Uf,this.iQ,this,!0);this.ga.bind(c.ej,this.gQ,this,!0);this.ga.bind(l.Ae,this.hQ,this,!0);this.ga.bind(l.Gb,this.jQ,this,!0)};e.prototype.lx=function(){this.ga.unbind(c.Uf,this.iQ,this,!0);this.ga.unbind(c.ej,this.gQ,this,!0);this.ga.unbind(l.Ae,this.hQ,this,!0);this.ga.unbind(l.Gb,this.jQ,
this,!0)};return e});
define("dX","require lS py ix lu gV jS oQ fN mX mr cg eC kV w kN oT lT cl pa bL".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("ix"),k=a("lu"),c=a("gV"),h=a("jS"),g=a("oQ"),b=a("fN"),d=a("mX"),f=a("mr"),n=a("cg"),q=a("eC"),p=a("kV"),r=a("w"),t=a("kN"),u=a("oT"),v=a("lT"),w=a("cl"),x=a("pa"),y=a("bL");a=e.extend(h,function(A){h.call(this);this.v=A;this.Kk.push(this.v);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoPanoramaFrame");this.set("frameEmpty",void 0);
this.set("hasStableContent",void 0);this.CX=void 0;this.set("atStart",void 0);n.get(this.v)==n.Yp?this.Tga=this.v.get("sphere"):this.Tga=this.v.get("stereoSphere");this.Uk=!1;this.fb=u.mk(this.Tga);this.vda=this.Pqa=!1;this.FK=[];this.NE=[];this.Hn=this.Tk=this.Wk=this.bh=this.jh=this.ga=null;this.lm=!1;this.Bta=this.kA=this.lA=0});a.prototype.Zb=function(){this.bh=(new g(l.ea)).Sm(this.Qq.bind(this));this.Wk=(new g(l.kc)).zp(this.yE.bind(this));this.ga=new u(this.Ha.qp(),this.Tga);this.yq=new d(this.v.tB(),
this.ga);this.Ma=new f(this.Ha.qp(),this.v.tB(),this.ga);this.rm=new t(this.v.tB(),this.ga);this.Fv();this.TQa();this.Pqa=this.Ha.Yc.get("displayPlayOverlay");this.vda="play_pause"==this.Ha.Yc.get("clickAction");var A=this.Ha.Df(this.v.tB());A.appendChild(this.Tk);A.appendChild(this.Hn);h.prototype.Zb.call(this)};a.prototype.ac=function(){this.bh.dispose();this.Wk.dispose();this.lx();this.yq.clear();this.yq=null;this.Ma.clear();this.Ma=null;this.rm.clear();this.rm=null;this.ga.clear();this.jh=this.ga=
null;this.Xqa();h.prototype.ac.call(this)};a.prototype.TQa=function(){this.Xqa();this.Tk=this.Bqa(w.lz,w.r7,w.yMa);this.Hn=this.Bqa(w.FH,w.uMa,w.tMa)};a.prototype.Bqa=function(A,E,J){var C=new c;C.set("url",A);C.set("contentWidth",E);C.set("contentHeight",J);C.set("hfov",10);C.set("yaw",0);C.set("pitch",0);C.set("alpha",0);return C};a.prototype.Xqa=function(){this.Tk&amp;&amp;(this.Tk.remove(),this.Tk=null);this.Hn&amp;&amp;(this.Hn.remove(),this.Hn=null)};a.prototype.wo=function(){this.FK=b.y4a(this.v,this.fb);
this.C2a=p.cH(q.sB(this.FK[0])[0]);this.FK.forEach(function(E){p.Ey(E,p.Fs);p.Dy(E,p.Xp)});this.fb.get("posterURL")?(this.NE=b.z4a(this.v,this.fb),this.NE.forEach(function(E){p.Ey(E,p.Fs);p.Dy(E,p.Xp);p.OG(E,m.q7)})):this.NE=[];var A=[].concat(this.FK,this.NE);this.bh.Gf(A);this.Wk.Gf(A);this.trigger(new v(l.kc,0));return A};a.prototype.oa=function(A){this.V1a(A);var E=this.ga.S2();this.set("frameEmpty",E.isEmpty());this.set("atStart",!(1&lt;this.get("currentTime")));this.fga();h.prototype.oa.call(this,
A);this.jh&amp;&amp;this.jh.isEqual(E)?this.ga.getState()==k.PLAYING&amp;&amp;this.Ga():(this.jh=E,this.C2a.Pm(this.jh.ct),this.Ga())};a.prototype.fga=function(){this.get("frameEmpty")?this.set("hasStableContent",!1):this.get("currentTime")&gt;this.CX+.2?this.set("hasStableContent",!0):0==this.get("currentTime")&amp;&amp;this.Qba&gt;this.ga.ui()-.5?this.set("hasStableContent",!0):this.set("hasStableContent",!1);this.R("frameEmpty")&amp;&amp;!this.get("frameEmpty")&amp;&amp;(this.CX=this.get("currentTime"));!this.get("frameEmpty")&amp;&amp;0&lt;this.get("currentTime")&amp;&amp;
(this.Qba=this.get("currentTime"))};a.prototype.vm=function(){this.R("composedAlpha","meshGroup","frameEmpty","hasStableContent","atStart")&amp;&amp;(this.NE.length&amp;&amp;!this.get("hasStableContent")&amp;&amp;this.get("atStart")?(this.NE.forEach(function(A){q.ff(A,this.get("composedAlpha"))}.bind(this)),this.FK.forEach(function(A){q.ff(A,0)}.bind(this))):(this.NE.forEach(function(A){q.ff(A,0)}.bind(this)),this.FK.forEach(function(A){q.ff(A,this.get("composedAlpha"))}.bind(this))))};a.prototype.Qq=function(){this.trigger(l.hd);
this.trigger(l.ea)};a.prototype.yE=function(A,E){var J=0;E.lu(function(C){(C=E.Gm(C))&amp;&amp;(J+=C.Tg)});this.trigger(new v(l.kc,J/E.ld.length))};a.prototype.Mi=function(){this.Ga()};a.prototype.lf=function(){this.Ga()};a.prototype.Om=function(A){if(A.vf==l.Vf&amp;&amp;!A.hl()&amp;&amp;this.vda&amp;&amp;(A.ps(this.v),A=Date.now(),!(500&gt;A-this.Bta))){this.Bta=A;A=this.v.tB();var E=A.get("state");E==k.PLAYING?A.set("state",k.Qb):E==k.Qb&amp;&amp;A.set("state",k.PLAYING)}};a.prototype.V1a=function(A){if(this.vda){if(this.lm!=(this.ga.getState()==
k.Qb))if(this.lm=!this.lm,this.Pqa){var E=this.Tk.get("alpha"),J=this.lm?1:0;this.ax=new x("linear",[new y("playAlpha",E,J),new y("playScale",A.sb?1.5:1,A.sb?1.5:1),new y("pauseAlpha",0,0),new y("pauseScale",1,1)],Math.abs(J-E)*z);this.Tk.Jh()}else this.ax=new x("linear",this.lm?[new y("playAlpha",0,0),new y("playScale",1,1),new y("pauseAlpha",0,2),new y("pauseScale",.5,1.5)]:[new y("playAlpha",0,2),new y("playScale",.5,1.5),new y("pauseAlpha",0,0),new y("pauseScale",1,1)],B),this.Tk.Jh(),this.Hn.Jh();
this.ax&amp;&amp;(this.ax.Fb(A.Te),E=this.ax.eb("playAlpha"),this.Tk.set("alpha",1&gt;E?E:2-E),this.Tk.set("scale",this.ax.eb("playScale")),E=this.ax.eb("pauseAlpha"),this.Hn.set("alpha",1&gt;E?E:2-E),this.Hn.set("scale",this.ax.eb("pauseScale")),this.Ga(),this.ax.We()&amp;&amp;(this.ax=null));0&lt;this.Tk.get("alpha")&amp;&amp;(this.get("globalBlendingActive")&amp;&amp;this.Tk.set("alpha",0),this.Tk.set("yaw",A.Ra),this.Tk.set("pitch",A.pitch),this.Tk.set("hfov",this.Asa(A)));0&lt;this.Hn.get("alpha")&amp;&amp;(this.get("globalBlendingActive")&amp;&amp;this.Hn.set("alpha",
0),this.Hn.set("yaw",A.Ra),this.Hn.set("pitch",A.pitch),this.Hn.set("hfov",this.Asa(A)))}};var z=300,B=600;a.prototype.Asa=function(A){return A.sb?15:2*Math.atan((r.qb()?Math.min(A.width,A.height)/100*20:w.r7)*Math.tan(A.Ve*D*.5)/A.width)*I};var D=Math.PI/180,I=180/Math.PI;a.prototype.Fv=function(){this.ga.bind(u.Uf,this.lf,this,!0);this.ga.bind(l.Ae,this.Mi,this,!0)};a.prototype.lx=function(){this.ga.unbind(u.Uf,this.lf,this,!0);this.ga.unbind(l.Ae,this.Mi,this,!0)};return a});
define("bJ","require lS le py lu hV jD du pq gV mr ok oQ nV eO lw S lT pa bL oT".split(" "),function(a){function e(I,A){for(I-=A;180&lt;I;)I-=360;for(;-180&gt;I;)I+=360;return I+A}var l=a("lS"),m=a("le"),k=a("py"),c=a("lu");a("hV");var h=a("jD"),g=a("du"),b=a("pq"),d=a("gV"),f=a("mr"),n=a("ok"),q=a("oQ"),p=a("nV"),r=a("eO"),t=a("lw"),u=a("S"),v=a("lT"),w=a("pa"),x=a("bL"),y=a("oT"),z=Math.PI/180;a=l.extend(h,function(I){h.call(this);this.v=I;this.Kk.push(this.v);this.hg=this.hg.bind(this);this.RZ=this.RZ.bind(this);
this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","Popup");this.set("inVR",!1);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("loadingActive",!1);this.set("frameEmpty",!0);this.set("state",c.V);this.set("itemVisible","none");this.set("visible",!1);this.set("visiblePosition",0);this.set("alpha",0);this.set("over",!1);this.set("gazeOver",!1);this.set("video",null);this.set("image",null);this.set("actualVisible",!1);this.te=this.zb=this.Xa=
this.ge=this.Lf=null;this.xb=new n;this.Mv=this.iA=this.ym=this.jh=this.ga=null});a.prototype.Zb=function(){this.Lf=(new q(k.ea)).Sm(this.uE.bind(this));this.ge=(new q(k.kc)).zp(this.xE.bind(this));h.prototype.Zb.call(this);this.hQa();this.appendChild(this.te);m.da(this.v,B,this.hg,!0);m.bu(this.v,D,this.RZ,!0)};var B="playbackPositions popupDistance popupMaxHeight popupMaxWidth image.levels.url video state".split(" "),D=["visible"];a.prototype.ac=function(){this.Lf.dispose();this.ge.dispose();m.ca(this.v,
B,this.hg);m.ca(this.v,D,this.RZ);this.DD();this.Sz();this.cw();h.prototype.ac.call(this)};a.prototype.hg=function(){var I=p.e6a(this.v,this.get("panoramaPixelsPerDegree"));this.set("imageURL",I&amp;&amp;I.get("url"));this.set("imageWidth",I&amp;&amp;I.get("width"));this.set("imageHeight",I&amp;&amp;I.get("height"));this.set("video",this.v.get("video"));this.set("state",this.v.get("state"));this.set("popupDistance",this.v.get("popupDistance"));this.set("popupMaxWidth",this.v.get("popupMaxWidth"));this.set("popupMaxHeight",
this.v.get("popupMaxHeight"));this.set("playbackPositions",this.v.get("playbackPositions"))};a.prototype.RZ=function(){this.set("visible",this.v.get("visible"))};a.prototype.oa=function(I){this.NA=I.Ra;this.MA=I.pitch;this.wr(I);this.W1a();this.WR(I);this.ie(I);this.H1a(I);this.n1a(I);h.prototype.oa.call(this,I)};a.prototype.W1a=function(){this.R("playbackPositions","currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("sourceYaw",this.xb.get("yaw")),
this.set("sourcePitch",this.xb.get("pitch")),this.set("sourceRotationX",this.xb.get("rotationX")),this.set("sourceRotationY",this.xb.get("rotationY")),this.set("sourceRotationZ",this.xb.get("rotationZ")),this.set("sourceHFOV",this.xb.get("hfov")))};a.prototype.wr=function(){if(this.R("video","imageURL")){var I=[this.te];this.R("imageURL")&amp;&amp;(this.TN(),this.Xa&amp;&amp;I.push(this.Xa),this.TQ("itemVisible"));this.R("video")&amp;&amp;(this.VN(),this.zb&amp;&amp;I.push(this.zb),this.TQ("itemVisible"));this.Lf.Gf(I);this.ge.Gf(I);
this.ph(I)}};a.prototype.WR=function(){if(this.ga){var I=this.ga.S2();this.set("frameEmpty",!!I&amp;&amp;I.isEmpty());!this.jh||I&amp;&amp;!this.jh.isEqual(I)?(this.jh=I,this.zb.set("source",this.jh.ct),this.zb.set("sourceUpdated",!0),this.Ga()):this.ga.getState()==c.PLAYING&amp;&amp;this.Ga()}else this.set("frameEmpty",!1)};a.prototype.ie=function(I){this.set("inVR",I.sb);this.set("hotspotsEnabled",I.fG);this.set("rendererYaw",I.Ra);this.set("rendererPitch",I.pitch);this.set("rendererRoll",I.Dg);this.set("rendererWidth",
I.Gr);this.set("rendererHeight",I.Fr);this.set("rendererHFOV",I.Ve);if(this.R("visible")){var A=this.get("visiblePosition"),E=this.get("visible")?1:0,J=Math.max(1,this.v.get(this.get("visible")?"showDuration":"hideDuration")*Math.abs(E-A)),C=this.v.get(this.get("visible")?"showEasing":"hideEasing");A!=E&amp;&amp;(this.ym=new w(C,[new x("position",A,E)],J));this.get("visible")||(this.set("actualVisible",!1),this.ga&amp;&amp;this.ga.Xc(c.V))}this.ym&amp;&amp;(this.ym.We()?(this.ym=null,this.get("visible")?(this.set("actualVisible",
!0),this.v.trigger(k.cN),this.v.get("autoplay")&amp;&amp;this.ga&amp;&amp;this.ga.Xc(c.PLAYING)):setTimeout(function(){this.v&amp;&amp;this.v.trigger(k.WM)}.bind(this),0)):this.ym.Fb(I.Te),this.ym&amp;&amp;(this.set("visiblePosition",this.ym.eb("position")),this.Ga()));A=!1;if(A=I.sb?this.R("visible","itemVisible"):this.R("rendererYaw","rendererPitch","rendererRoll","rendererWidth","rendererHeight","rendererHFOV","itemVisible","popupMaxWidth","popupMaxHeight","sourceHFOV"))this.set("targetImageScale",this.Gsa(this.Xa,I)),this.set("targetVideoScale",
this.Gsa(this.zb,I)),this.set("targetYaw",e(this.get("rendererYaw"),this.get("sourceYaw"))),this.set("targetPitch",this.get("rendererPitch")),this.set("targetRotationZ",e(I.sb?0:this.get("rendererRoll"),this.get("sourceRotationZ")));if(A||this.R("visiblePosition","targetScale","targetYaw","targetPitch","targetRoll","popupDistance","hfov")){E=this.get("visiblePosition");var L=this.get("targetYaw")*E+this.get("sourceYaw")*(1-E),S=this.get("targetPitch")*E+this.get("sourcePitch")*(1-E),U=this.get("sourceRotationX")*
(1-E),V=this.get("sourceRotationY")*(1-E),W=this.get("targetRotationZ")*E+this.get("sourceRotationZ")*(1-E);I=Math.min(1,2*E);var K=this.get("popupDistance"),N=this.get("sourceHFOV");A=this.get("targetImageScale")*E+(1-E);E=this.get("targetVideoScale")*E+(1-E);this.set("alpha",I);this.Xa&amp;&amp;this.Xa.set("scale",A);this.zb&amp;&amp;this.zb.set("scale",E);[].concat(this.zb?[this.zb]:[],this.Xa?[this.Xa]:[]).forEach(function(R){R.set("yaw",L);R.set("pitch",S);R.set("rotationX",U);R.set("rotationY",V);R.set("rotationZ",
W);R.set("distance",K);R.set("hfov",N)})}};a.prototype.H1a=function(I){if(this.R("frameEmpty","state","imageURL","video")){var A="none";!this.zb||this.Xa&amp;&amp;(this.get("frameEmpty")||this.get("state")==c.V)?this.Xa&amp;&amp;(A="image"):A="video";this.set("itemVisible",A)}if(this.R("itemVisible")){"video"!=this.get("itemVisible")&amp;&amp;this.ga&amp;&amp;this.ga.Xc(c.V);A=this.Xa?this.Xa.get("alpha"):0;var E=this.zb?this.zb.get("alpha"):0,J="image"==this.get("itemVisible")?1:0,C="video"==this.get("itemVisible")?1:0,L="video"==
this.get("itemVisible")?1:200*Math.max(Math.abs(J-A),Math.abs(C-E));this.iA=new w("linear",[new x("imageAlpha",A,J),new x("videoAlpha",E,C)],L)}this.iA&amp;&amp;(this.iA.We()?this.iA=null:this.iA.Fb(I.Te),this.iA&amp;&amp;(this.Xa&amp;&amp;this.Xa.set("alpha",this.iA.eb("imageAlpha")),this.zb&amp;&amp;this.zb.set("alpha",this.iA.eb("videoAlpha")),this.Ga()))};a.prototype.n1a=function(I){this.R("gazeOver","inVR","visible","actualVisible")&amp;&amp;(this.aqa(),this.get("inVR")&amp;&amp;this.v.get("lookAwayToHide")&amp;&amp;!this.get("gazeOver")&amp;&amp;this.get("actualVisible")&amp;&amp;
this.L_a());I.sb&amp;&amp;this.v.get("darkenBackground")&amp;&amp;this.v.get("lookAwayToHide")?(this.R("visible")&amp;&amp;this.get("visible")&amp;&amp;(this.te.set("alpha",.8),this.Mv=null),this.R("gazeOver")&amp;&amp;(this.Mv=new w(this.get("gazeOver")?"linear":"quad_in",[new x("alpha",this.te.get("alpha"),this.get("gazeOver")?.8:0)],this.get("gazeOver")?300:this.v.get("lookAwayToHideTime")))):(this.Mv=null,this.te.set("alpha",I.sb&amp;&amp;this.v.get("darkenBackground")?.8:0));this.Mv&amp;&amp;(this.Mv.We()?this.Mv=null:this.Mv.Fb(I.Te),this.Mv&amp;&amp;(this.te.set("alpha",
this.Mv.eb("alpha")),this.Ga()))};a.prototype.L_a=function(){this.aqa();this.PY=setTimeout(function(){this.PY=null;this.v.set("visible",!1)}.bind(this),this.v.get("lookAwayToHideTime"))};a.prototype.aqa=function(){this.PY&amp;&amp;(clearTimeout(this.PY),this.PY=null)};a.prototype.Gsa=function(I,A){if(!I)return 1;var E=this.get("popupMaxWidth","100%"),J=u.Bp(E),C=I.get("contentWidth"),L=I.get("contentHeight"),S=this.get("popupMaxHeight","100%"),U=u.Bp(S);if(this.get("inVR")){var V=I=.5*this.get("rendererWidth"),
W=Math.min(A.ti,80);A=t.NF(W,I,V);var K=this.get("sourceHFOV");E=Math.min(Math.tan(A*(void 0!==J?J/100:E/I)*.5*z)/Math.tan(.5*K*z),Math.tan(W*(void 0!==U?U/100:S/V)*.5*z)/Math.tan(.5*t.NF(K,C,L)*z))}else I=this.get("rendererWidth"),V=this.get("rendererHeight"),E=C*Math.min((void 0!==J?I*J/100:E)/C,(void 0!==U?V*U/100:S)/L),A=this.get("rendererHFOV"),K=this.get("sourceHFOV"),E=Math.tan(.5*A*z)*E/I/Math.tan(.5*K*z);return E};a.prototype.TN=function(){this.DD();this.get("imageURL")&amp;&amp;(this.Xa=new d,this.Xa.set("url",
this.get("imageURL")),this.Xa.set("contentWidth",this.get("imageWidth")),this.Xa.set("contentHeight",this.get("imageHeight")),this.Xa.set("alpha",0))};a.prototype.DD=function(){this.Xa&amp;&amp;(this.Xa.remove(),this.Xa=null)};a.prototype.VN=function(){this.Sz();if(this.get("video")){this.zb=new b;var I=y.mk(this.get("video"));this.zb.set("contentWidth",I.get("width"));this.zb.set("contentHeight",I.get("height"));this.zb.set("alpha",0);this.zb.set("sourceIsVideo",!0);this.ga=new y(this.Ha.qp(),this.get("video"));
this.Ma=new f(this.Ha.qp(),this.v,this.ga);this.Fv()}};a.prototype.Sz=function(){this.zb&amp;&amp;(this.lx(),this.Ma.clear(),this.Ma=null,this.ga.clear(),this.jh=this.ga=null,this.zb.remove(),this.zb=null)};a.prototype.hQa=function(){this.cw();this.te=new g("#000000")};a.prototype.cw=function(){this.te&amp;&amp;(this.te.remove(),this.te=null)};a.prototype.uE=function(){this.trigger(k.hd);this.trigger(k.ea)};a.prototype.xE=function(I,A){var E=0;A.lu(function(J){var C=0,L;this.Lf.Gm(J)?C=100:(L=this.ge.Gm(J))&amp;&amp;(C=
L.Tg);E+=C}.bind(this));this.trigger(new v(k.kc,E/A.ld.length))};a.prototype.Mi=function(){this.Ga()};a.prototype.lf=function(){this.Ga()};a.prototype.CA=function(){this.v.trigger(k.Gb)};a.prototype.Fv=function(){this.ga.bind(y.Uf,this.lf,this,!0);this.ga.bind(k.Ae,this.Mi,this,!0);this.ga.bind(k.Gb,this.CA,this,!0)};a.prototype.lx=function(){this.ga.unbind(y.Uf,this.lf,this,!0);this.ga.unbind(k.Ae,this.Mi,this,!0);this.ga.unbind(k.Gb,this.CA,this,!0)};a.prototype.Om=function(I){I.vf==k.El?(!I.hl()&amp;&amp;
this.get("visible")?(I.ps(this.v),this.set("over",this.rr(I)),this.set("gazeOver",this.s0a(I))):this.set("over",!1),this.get("over")&amp;&amp;(I.gB(this.v),I.Au()&amp;&amp;I.DF(this.v),I.gl(this.get("popupDistance"))),this.R("over")&amp;&amp;(this.v.trigger(this.get("over")?k.Dc:k.Jb),I.Au()&amp;&amp;this.v.trigger(this.get("over")?k.LC:k.Zp))):I.vf==k.Vf&amp;&amp;!I.hl()&amp;&amp;this.get("visible")&amp;&amp;(I.ps(this.v),I.gl(this.get("popupDistance")),this.rr(I)?I.s7a()||this.v.trigger(k.ma):this.v.set("visible",!1))};a.prototype.rr=function(I){return this.qza(I.ir)};
a.prototype.s0a=function(I){I=I.jL();return!!I&amp;&amp;this.qza([I])};a.prototype.qza=function(I){if(this.get("visible")){I=("video"==this.get("itemVisible")?this.zb:this.Xa).ow(I);for(var A=0;A&lt;I.length;A++){var E=I[A];if(r.Iy(E.source,E.x,E.y))return!0}}return!1};return a});
define("de",["require","lS","jD"],function(a){var e=a("lS"),l=a("jD");a=e.extend(l,function(){l.call(this);this.Lz&amp;&amp;this.Lz();this.xo&amp;&amp;this.xo()});a.prototype.Zb=function(){l.prototype.Zb.call(this);this.Qo&amp;&amp;this.Qo();this.KJ&amp;&amp;this.KJ()};a.prototype.ac=function(){this.So&amp;&amp;this.So();this.MJ&amp;&amp;this.MJ();l.prototype.ac.call(this)};a.prototype.oa=function(m){this.yf&amp;&amp;this.yf(m);l.prototype.oa.call(this,m);this.kp&amp;&amp;this.kp(m)};return a});
define("kp",["require","py"],function(a){var e=a("py");return{Lz:function(){this.set("beamEnabled",!1);this.od=!1;this.MA=this.NA=void 0},kp:function(l){this.NA=l.Ra;this.MA=l.pitch},Om:function(l){if(l.vf==e.El){var m=!l.hl()&amp;&amp;this.rr(l);if(m){l.gB(this.v);this.v.get("useHandCursor")&amp;&amp;l.DF(this.v);l.gl(this.get("distance"));var k=this.$b(l.kG());k&amp;&amp;l.R1(k,this.YA(l.kG()))}this.od!=m&amp;&amp;(this.od=m,this.v.trigger(this.od?e.Dc:e.Jb),l.Au()&amp;&amp;this.v.trigger(this.od?e.LC:e.Zp))}else l.vf==e.Vf&amp;&amp;!l.hl()&amp;&amp;
this.rr(l)&amp;&amp;(1&lt;this.v.nL(e.ma,!0).length&amp;&amp;l.ps(this.v),l.gl(this.get("distance")),this.v.trigger(e.ma))},rr:function(l){return this.get("beamEnabled")&amp;&amp;0&lt;this.waa().ow(l.ir).length?!0:!1},$b:function(l){return!l||this.v.get("displayTooltipInTouchScreens")&amp;&amp;!1!==this.Ha.M.get("displayTooltipInTouchScreens")?this.v.get("toolTip",""):""},YA:function(l){if(l){l=this.get("yaw")-this.NA;var m=this.get("pitch")-this.MA;return Math.sqrt(l*l+m*m)}return 0}}});
define("ca","require lS le py de bF oQ nV kp".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("de"),c=a("bF"),h=a("oQ"),g=a("nV");a=a("kp");e=e.extend(k,a,c,function(b){k.call(this);this.v=b;this.$D=this.P$=this.Uaa=null;this.Kk.push(this.v);this.hg=this.hg.bind(this);this.lq(["loadingActive","panoramaPixelsPerDegree"]);this.set("tag","FrameHotspot");this.set("enabled",!0);this.set("inVR",!1);this.set("inScreenshot",!1);this.set("overlaysEnabled",!0);this.set("interactionEnabled",!0);
this.set("contentInteractive",!1);this.set("transparent",!1);this.set("centerOverDisplay",!1);this.set("loadingActive",!1);this.set("visible",!1);this.set("loaded",!1);this.set("inView",!1);this.set("frameHidden",!0);this.$f=this.jt=this.ge=this.Lf=null;this.Gea(this.v)});e.prototype.Zb=function(){this.Lf=(new h(m.ea)).Sm(this.uE.bind(this));this.ge=(new h(m.kc)).zp(this.xE.bind(this));this.rQa();k.prototype.Zb.call(this);l.da(this.v,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),
this.hg,!0);this.J$()};e.prototype.ac=function(){this.K$();this.Lf.dispose();this.ge.dispose();l.ca(this.v,"url enabled image fadeInDuration fadeOutDuration contentInteractive interactionEnabled transparent".split(" "),this.hg);this.Tqa();this.Vqa();k.prototype.ac.call(this)};e.prototype.hg=function(){this.set("url",this.v.get("url"));this.$f.set("url",this.get("url"));this.set("image",this.v.get("image"));this.Xa.set("image",this.get("image"));this.Xa.set("level",this.get("image")&amp;&amp;g.pDa(this.v,
this.get("panoramaPixelsPerDegree")));this.set("enabled",this.v.get("enabled"));this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",this.v.get("fadeOutDuration"));this.set("interactionEnabled",this.v.get("interactionEnabled"));this.set("contentInteractive",this.v.get("contentInteractive"));this.set("transparent",this.v.get("transparent"));this.Ga()};e.prototype.oa=function(b){this.set("loaded",!!this.$f&amp;&amp;this.$f.get("frameLoaded"));this.set("inVR",b.sb);this.set("inScreenshot",
b.hG);this.set("hotspotsEnabled",b.fG);k.prototype.oa.call(this,b);this.ie(b);this.cga(b)};e.prototype.rQa=function(){this.TN();this.CQa();this.BQa();var b=[this.Xa,this.jt,this.$f];this.Lf.Gf(b);this.ge.Gf(b);this.ph(b)};e.prototype.ie=function(){this.set("globalBlendingActiveCopy",this.get("globalBlendingActive"));if(this.R("globalBlendingActive","globalBlendingActiveCopy","url","inVR","hotspotsEnabled","enabled","interactionEnabled","contentInteractive","composedTranslationX","composedTranslationY",
"composedTranslationZ")){var b=!(0!=this.get("composedTranslationX")||0!=this.get("composedTranslationY")||0!=this.get("composedTranslationZ"))&amp;&amp;0==this.get("globalBlendingActive")&amp;&amp;this.get("hotspotsEnabled")&amp;&amp;this.get("enabled")&amp;&amp;!this.get("inVR")&amp;&amp;!!this.get("url");this.set("visible",b);this.set("beamEnabled",b&amp;&amp;this.get("interactionEnabled"));this.$f.set("contentInteractive",b&amp;&amp;this.get("interactionEnabled")&amp;&amp;this.get("contentInteractive"))}this.set("frameHidden",!this.$f.get("geometryVisible"));
this.R("visible","loaded","frameHidden","transparent","inScreenshot")&amp;&amp;(this.get("visible")||this.set("loaded",!1),this.Xa.set("alpha",!this.get("visible")||!this.get("frameHidden")&amp;&amp;this.get("loaded")?0:1),this.Xa.set("alpha",1),this.jt.set("alpha",!this.get("visible")||this.get("frameHidden")||!this.get("loaded")||this.get("transparent")||this.get("inScreenshot")?0:1),this.$f.set("alpha",this.get("visible")?1:0),this.$f.set("transparent",this.get("transparent")),this.set("inView",this.get("visible")&amp;&amp;
(this.get("loaded")||this.get("image"))),this.Ga());this.R("inView")&amp;&amp;this.v.trigger(this.get("inView")?m.jd:m.cd)};e.prototype.TN=function(){this.DD();this.Xa=new this.$D;this.Xa.set("image",this.get("image"));this.Xa.set("level",this.get("image")&amp;&amp;g.pDa(this.v,this.get("panoramaPixelsPerDegree")));this.Xa.set("visible",!0);this.Xa.set("alpha",0);this.set("imagePlane",this.Xa)};e.prototype.DD=function(){this.Xa&amp;&amp;(this.Xa.remove(),this.Xa=null,this.set("imagePlane",null))};e.prototype.BQa=function(){this.Tqa();
this.$f=new this.P$;this.$f.bind(m.ea,this.Fra,this,!0);this.$f.set("url",this.get("url"));this.$f.set("visible",!0);this.$f.set("alpha",1);this.set("framePlane",this.$f)};e.prototype.Tqa=function(){this.$f&amp;&amp;(this.$f.unbind(m.ea,this.Fra,this,!0),this.$f.remove(),this.$f=null,this.set("framePlane",null))};e.prototype.CQa=function(){this.Vqa();this.jt=new this.Uaa;this.jt.set("visible",!0);this.jt.set("alpha",1);this.set("holePlane",this.jt)};e.prototype.Vqa=function(){this.jt&amp;&amp;(this.jt.remove(),this.jt=
null,this.set("holePlane",null))};e.prototype.waa=function(){return this.jt};e.prototype.Fra=function(){this.Ga()};e.prototype.uE=function(){this.trigger(m.hd);this.trigger(m.ea)};e.prototype.xE=function(b,d){var f=0;d.lu(function(n){(n=d.Gm(n))&amp;&amp;(f+=n.Tg)});this.trigger(new ProgressEvent(m.kc,f/d.ld.length))};return e});
define("gg",["require","lS","jD"],function(a){var e=a("lS"),l=a("jD");a=e.extend(l,function(){l.call(this);this.set("tag","ComposedCSSObject");this.set("transparent",!1);this.set("cssScene",null);this.set("cssSceneOver",null);this.set("cssObject",this.u9());this.Xv&amp;&amp;this.Xv();this.BD&amp;&amp;this.BD();this.Lz&amp;&amp;this.Lz();this.xo&amp;&amp;this.xo()});a.prototype.u9=function(){var m=new THREE.CSS3DObject;m.matrixAutoUpdate=!1;return m};a.prototype.Zb=function(){l.prototype.Zb.call(this);this.Qo&amp;&amp;this.Qo();this.kP&amp;&amp;
this.kP();this.KJ&amp;&amp;this.KJ()};a.prototype.ac=function(){this.iJ&amp;&amp;this.iJ();this.MJ&amp;&amp;this.MJ();this.So&amp;&amp;this.So();var m=this.get("cssObject");m&amp;&amp;m.parent&amp;&amp;m.parent.remove(m);this.set("cssScene",null);l.prototype.ac.call(this)};a.prototype.oa=function(m){this.yf&amp;&amp;this.yf(m);l.prototype.oa.call(this,m);this.set("cssScene",m.DS);this.set("cssSceneOver",m.ES);if(this.R("transparent")){var k=this.get("cssObject");k&amp;&amp;k.parent&amp;&amp;k.parent.remove(k)}this.R("cssScene","cssSceneOver","transparent")&amp;&amp;(k=this.get("transparent")?
m.ES:m.DS)&amp;&amp;k.add(this.get("cssObject"));this.vm();this.Wi&amp;&amp;this.Wi(m);this.Hx&amp;&amp;this.Hx(m);this.xF()};a.prototype.vm=function(){this.R("composedAlpha","meshGroup")&amp;&amp;this.sz()};a.prototype.sz=function(){this.get("cssObject").element.style.display=0&lt;this.get("composedAlpha")?"block":"none"};a.prototype.xF=function(){this.R("index")&amp;&amp;(this.get("cssObject").containerElement.style.zIndex=this.get("index"))};return a});
define("ev",["require","jI","a"],function(a){var e=a("jI"),l=a("a"),m=new THREE.Matrix4,k=Math.PI/180;return{Xv:function(){this.set("vertices",void 0);this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.Ro=new THREE.Matrix4;this.kn=new THREE.Matrix4;this.Pq=new THREE.Matrix4},u9:function(){var c=new THREE.CSS3DQuad;c.matrixAutoUpdate=!1;return c},Hx:function(c){var h=!1;if(this.R("vertices","contentWidth","contentHeight")){var g=this.get("vertices");h=l.Yx(g[0].get("yaw")*k,g[0].get("pitch")*
k).normalize();var b=l.Yx(g[1].get("yaw")*k,g[1].get("pitch")*k).normalize(),d=l.Yx(g[2].get("yaw")*k,g[2].get("pitch")*k).normalize();g=l.Yx(g[3].get("yaw")*k,g[3].get("pitch")*k).normalize();var f=this.get("cssObject");f.vertices[0].set(h.x,h.y,-h.z);f.vertices[1].set(b.x,b.y,-b.z);f.vertices[2].set(d.x,d.y,-d.z);f.vertices[3].set(g.x,g.y,-g.z);f.contentWidth=this.get("contentWidth");f.contentHeight=this.get("contentHeight");h=!0}b=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;
(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*e.Fg,.5*this.get("composedTranslationY")*e.Fg,.5*this.get("composedTranslationZ")*e.Fg),b=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;(this.Td.makeRotationY(-c.Ra*k),this.Td.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Td.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Td.multiply(m.makeRotationY(c.Ra*k)),b=!0);if(b||this.R("meshGroup"))this.Pq.copy(this.Hh),this.Pq.multiply(this.Td),
this.get("cssObject").matrix.copy(this.Pq),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",c.Ra);this.set("cameraPitch",c.pitch);this.set("cameraRoll",c.Dg);this.set("cameraHfov",c.Ve);this.set("cameraWidth",c.width);this.set("cameraHeight",c.height);c.camera&amp;&amp;(b||h||this.R("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&amp;&amp;(this.get("cssObject").projectVertices(c.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.R("geometryVisible")&amp;&amp;
this.pea())}}});
define("ee","require ix jI eC kV a".split(" "),function(a){var e=a("ix"),l=a("jI"),m=a("eC"),k=a("kV"),c=a("a"),h=new THREE.Matrix4,g=Math.PI/180;return{Xv:function(){this.set("distance",void 0);this.set("vertices",void 0);this.$g=null;this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.om=new THREE.Matrix4;this.Hi=new THREE.Matrix4},Hx:function(b){this.t2a(b);this.yr(b)},MI:function(){var b=this.get("meshGroup");return b?m.jl(b)[0]:null},wo:function(){this.$g||(this.$g=this.Kz());return[0].map(function(b){var d=
this.RN();b=m.create(this.$g[b],d);k.Dy(b,k.Xp);k.Ey(b,k.Fs);k.OG(b,e.aN);k.MU(b,1);return b}.bind(this))},t2a:function(){if(this.R("vertices")){var b=this.get("meshGroup");if(b)return this.$g&amp;&amp;this.$g.forEach(function(d){l.dispose(d)}),this.$g=this.Kz(),m.jl(b).map(function(d,f){m.$ka(d,this.$g[f])}.bind(this))}},Kz:function(){function b(w){return 0==w||isNaN(w)||!isFinite(w)}var d=this.get("vertices")||[];if(4!=d.length)return[l.jCa(-1,1,1,1,1,1,1,-1,1,-1,-1,1)];var f=c.Yx(d[0].get("yaw")*g,d[0].get("pitch")*
g).normalize(),n=c.Yx(d[1].get("yaw")*g,d[1].get("pitch")*g).normalize(),q=c.Yx(d[2].get("yaw")*g,d[2].get("pitch")*g).normalize();d=c.Yx(d[3].get("yaw")*g,d[3].get("pitch")*g).normalize();var p=f.clone().j2(q),r=d.clone().j2(n),t=p.clone().j2(r).normalize();r=(2*f.y*t.x/f.x-2*t.y)/(-q.y+f.y*q.x/f.x);b(r)&amp;&amp;(r=(2*f.z*t.x/f.x-2*t.z)/(-q.z+f.z*q.x/f.x));b(r)&amp;&amp;(r=(2*f.z*t.y/f.y-2*t.z)/(-q.z+f.z*q.y/f.y));var u=(2*t.x-q.x*r)/f.x;b(u)&amp;&amp;(u=(2*t.y-q.y*r)/f.y);b(u)&amp;&amp;(u=(2*t.z-q.z*r)/f.z);p=(2*n.y*t.x/n.x-
2*t.y)/(-d.y+n.y*d.x/n.x);b(p)&amp;&amp;(p=(2*n.z*t.x/n.x-2*t.z)/(-d.z+n.z*d.x/n.x));b(p)&amp;&amp;(p=(2*n.z*t.y/n.y-2*t.z)/(-d.z+n.z*d.y/n.y));var v=(2*t.x-d.x*p)/n.x;b(v)&amp;&amp;(v=(2*t.y-d.y*p)/n.y);b(v)&amp;&amp;(v=(2*t.z-d.z*p)/n.z);f=f.FU(u);n=n.FU(v);q=q.FU(r);d=d.FU(p);return[l.jCa(f.x,f.y,-f.z,n.x,n.y,-n.z,q.x,q.y,-q.z,d.x,d.y,-d.z)]},yr:function(b){var d=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*l.Fg,.5*this.get("composedTranslationY")*
l.Fg,.5*this.get("composedTranslationZ")*l.Fg),d=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;(this.Td.makeRotationY(-b.Ra*g),this.Td.multiply(h.makeRotationX(-this.get("composedDeltaPitch")*g)),this.Td.multiply(h.makeRotationY(this.get("composedDeltaYaw")*g)),this.Td.multiply(h.makeRotationY(b.Ra*g)),d=!0);this.R("distance","composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(b=0==this.ta.get("composedTranslationX")&amp;&amp;0==this.ta.get("composedTranslationY")&amp;&amp;
0==this.ta.get("composedTranslationZ")&amp;&amp;void 0!==this.get("distance")?l.qu(this.get("distance")):l.Rr(),this.om.makeScale(b,b,b),d=!0);if(d||this.R("meshGroup"))this.Hi.copy(this.Hh),this.Hi.multiply(this.Td),this.Hi.multiply(this.om),b=m.jl(this.get("meshGroup")),m.Jr(b[0],this.Hi)}}});
define("cz",["require","py"],function(a){var e=a("py");return{BD:function(){this.set("visible",!1);this.set("inView",!1);this.set("url",!1);this.set("contentWidth",100);this.set("contentHeight",100);this.set("contentInteractive",!1);this.set("frameLoaded",!0);this.Hc=this.je=null;this.cY=void 0;this.J1=this.J1.bind(this);this.K1=this.K1.bind(this);this.L1=this.L1.bind(this);this.ZD=this.ZD.bind(this);this.aba=this.aba.bind(this)},Wi:function(){this.R("cssObject")&amp;&amp;(this.DQa(),this.get("cssObject").element.appendChild(this.je));
this.R("url")&amp;&amp;this.NZa(this.get("url"));this.R("contentWidth","contentHeight")&amp;&amp;(this.je.style.width=this.get("contentWidth")+2+"px",this.je.style.height=this.get("contentHeight")+2+"px");this.R("contentInteractive")&amp;&amp;(this.je.style.pointerEvents=this.get("contentInteractive")?"auto":"none")},vm:function(){this.R("composedAlpha")&amp;&amp;(0&lt;this.get("composedAlpha")?this.Hc&amp;&amp;!this.Hc.parentNode&amp;&amp;(this.fAa(),this.je.appendChild(this.Hc)):this.Hc&amp;&amp;this.Hc.parentNode&amp;&amp;this.je.removeChild(this.Hc))},kP:function(){this.trigger(e.hd);
this.get("frameLoaded")&amp;&amp;this.trigger(e.ea)},iJ:function(){this.LPa()},K1:function(l){l.preventDefault();l.stopImmediatePropagation()},J1:function(){this.Ha.qp().JG(null)},L1:function(l){l.preventDefault();l.stopImmediatePropagation()},ZD:function(){this.set("frameLoaded",!0);this.trigger(e.ea)},aba:function(){this.dY=null;this.ZD()},DQa:function(){this.Hc||(this.je=document.createElement("div"),this.je.style.position="absolute",this.je.style.left=this.je.style.top="-1px",this.get("cssObject").isCSS3DObject&amp;&amp;
(this.je.style.transform="translate(-50%, -50%)"),this.je.style.overflow="hidden",this.je.style["-webkit-overflow-scrolling"]="touch",this.je.addEventListener("mouseenter",this.J1,!0),this.je.addEventListener("mousemove",this.K1,!0),this.je.addEventListener("mousewheel",this.L1,!0),this.Hc=document.createElement("iframe"),this.Hc.setAttribute("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture; xr-spatial-tracking"),this.Hc.setAttribute("frameborder",
"0"),this.Hc.setAttribute("scrolling","auto"),this.Hc.style.width="100%",this.Hc.style.height="100%",this.Hc.addEventListener("load",this.ZD,!0),0&lt;this.get("composedAlpha")&amp;&amp;this.je.appendChild(this.Hc))},LPa:function(){this.Hc&amp;&amp;(this.Hc.src="",this.jea(),this.Hz(),this.Hc.parentNode&amp;&amp;this.Hc.parentNode.removeChild(this.Hc),this.Hc=null);this.je&amp;&amp;(this.je.parentNode&amp;&amp;this.je.parentNode.removeChild(this.je),this.je.removeEventListener("mouseenter",this.J1,!0),this.je.removeEventListener("mousemove",
this.K1,!0),this.je.removeEventListener("mousewheel",this.L1,!0),this.je=null)},NZa:function(l){this.cY!==l&amp;&amp;(this.cY=l,this.set("frameLoaded",!1),this.fAa())},fAa:function(){this.cY?(this.RZa(),this.MNa(),this.Hc.src=this.cY):(this.Hz(),this.jea(),this.Hc.src="",this.ZD())},RZa:function(){this.Hz();this.dY=setTimeout(this.aba,3E3)},Hz:function(){this.dY&amp;&amp;(clearTimeout(this.dY),this.dY=null)},MNa:function(){this.jea();this.Hc.addEventListener("load",this.ZD,!0)},jea:function(){this.Hc.removeEventListener("load",
this.ZD,!0)}}});define("kZ",["require","eC","py"],function(a){var e=a("eC"),l=a("py");return{BD:function(){this.get("materialConfig").params.blending=THREE.NoBlending},kP:function(){this.trigger(l.hd);this.trigger(l.ea)},vm:function(){this.R("meshGroup","composedAlpha")&amp;&amp;e.ff(this.get("meshGroup"),0&lt;this.get("composedAlpha")?.001:0)}}});
define("nk",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,["playbackPositions","width","height"],this.de,!0)},So:function(){e.ca(this.v,["playbackPositions","width","height"],this.de)},de:function(){this.set("playbackPositions",this.v.get("playbackPositions"));this.set("contentWidth",this.v.get("width"));this.set("contentHeight",this.v.get("height"))},yf:function(){this.R("playbackPositions",
"currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("vertices",this.xb.Gia()));this.R("framePlane","holePlane","imagePlane","vertices")&amp;&amp;this.pb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("contentWidth",this.get("contentWidth"));m.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("kf","require lS ca gg c ev ee cz ht kZ nk".split(" "),function(a){var e=a("lS"),l=a("ca"),m=a("gg"),k=a("c"),c=a("ev"),h=a("ee"),g=a("cz"),b=a("ht"),d=a("kZ");a=a("nk");var f=e.extend(k,h,b,function(){k.call(this);this.set("tag","QuadFrameHotspotImage")}),n=e.extend(m,c,g,function(){m.call(this);this.set("tag","QuadFrameHotspotFrame")}),q=e.extend(k,h,d,function(){k.call(this);this.set("tag","QuadFrameHotspotHole")});return e.extend(l,a,function(p){l.call(this,p);this.$D=f;this.P$=n;this.Uaa=
q})});
define("lq",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,["vertices","distance","playbackPositions"],this.de,!0)},So:function(){e.ca(this.v,["vertices","distance","playbackPositions"],this.de)},de:function(){this.set("distance",this.v.get("distance"));this.set("vertices",this.v.get("vertices"));this.set("playbackPositions",this.v.get("playbackPositions"))},yf:function(){this.R("playbackPositions",
"currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("vertices",this.xb.Gia()),this.set("alpha",this.xb.kl()))}}});
define("jK","require lS le py eC c ee ht pv lq nV".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("eC"),c=a("c"),h=a("ee"),g=a("ht"),b=a("pv"),d=a("lq"),f=a("nV"),n=0;a=e.extend(c,h,d,g,b,function(q){c.call(this);this.set("tag","QuadHotspotImage");this.set("id","quad_hs_image_"+n++);this.set("side",THREE.DoubleSide);this.v=q;this.Kk.push(this.v);this.ig=this.ig.bind(this)});a.prototype.Zb=function(){c.prototype.Zb.call(this);l.da(this.v,["image.levels"],this.ig,!0)};a.prototype.ac=function(){l.ca(this.v,
["image.levels"],this.ig);c.prototype.ac.call(this)};a.prototype.ig=function(){this.set("image",this.v.get("image"));this.set("level",f.h6a(this.v))};a.prototype.oa=function(q){this.tF();c.prototype.oa.call(this,q);this.R("inView")&amp;&amp;this.v.trigger(this.get("inView")?m.jd:m.cd)};a.prototype.tF=function(){if(this.R("meshGroup","panoramaId","id")){var q=this.get("meshGroup");q&amp;&amp;q.children.forEach(function(p){k.setAttribute(p,k.nC,this.get("panoramaId"));k.setAttribute(p,k.U5,this.get("id"))}.bind(this))}};
return a});
define("jC",["require","py","lu"],function(a){function e(c,h){this.Vd=c;this.Fd=h;this.Tb=!1;this.e_=!0;this.D8=this.oda=!1;this.d8();this.zca()}var l=a("py"),m=a("lu");e.prototype.clear=function(){this.Iva();this.gea()};e.prototype.Ye=function(c){this.Tb!=c&amp;&amp;(this.Tb=c,this.Ut())};e.prototype.jab=function(c){this.e_!=c&amp;&amp;((this.e_=c)&amp;&amp;this.Iva(),this.Ut())};e.prototype.Ut=function(){if(!this.Tb||this.e_)this.Fd.set("state",m.V);else if(this.Fd.get("autoplay")||this.D8)this.D8=!1,this.Fd.set("state",m.PLAYING)};
e.prototype.zca=function(){if(!this.oda){var c=this.Fd.get("video").get("autoplayTime");void 0!==c&amp;&amp;this.Fd.get("video").get("autoplayTimeLimit")&lt;(new Date).getTime()&amp;&amp;(c=void 0);this.Fd.set("currentTime",c);this.D8=void 0!==c}};e.prototype.Iva=function(){this.oda||(this.oda=!0,this.Fd.get("state")==m.PLAYING?(this.Fd.get("video").set("autoplayTimeLimit",(new Date).getTime()+k),this.Fd.get("video").set("autoplayTime",this.Fd.get("currentTime",0))):this.Fd.get("video").set("autoplayTime",void 0))};
e.prototype.d8=function(){this.Fd.get("video").bind(l.G("autoplayTime"),this.zca,this,!0)};e.prototype.gea=function(){this.Fd.get("video").unbind(l.G("autoplayTime"),this.zca,this,!0)};var k=1E3;return e});
define("eQ",["require","py","eO"],function(a){var e=a("py"),l=a("eO");return{Lz:function(){this.set("beamEnabled",!1);this.od=!1;this.MA=this.NA=void 0},kp:function(m){this.NA=m.Ra;this.MA=m.pitch},Om:function(m){if(m.vf==e.El){var k=!m.hl()&amp;&amp;this.rr(m)&amp;&amp;!this.get("blendingActive");if(k){m.gB(this.v);this.v.get("useHandCursor")&amp;&amp;m.DF(this.v);m.gl(this.get("distance"));var c=this.$b(m.kG());c&amp;&amp;m.R1(c,this.YA(m.kG()))}this.od!=k&amp;&amp;(this.od=k,this.v.trigger(this.od?e.Dc:e.Jb),m.Au()&amp;&amp;this.v.trigger(this.od?
e.LC:e.Zp))}else m.vf==e.Vf&amp;&amp;!m.hl()&amp;&amp;this.rr(m)&amp;&amp;(1&lt;this.v.nL(e.ma,!0).length&amp;&amp;m.ps(this.v),m.gl(this.get("distance")),this.v.trigger(e.ma))},rr:function(m){if(this.get("beamEnabled")){m=this.waa().ow(m.ir);for(var k=0;k&lt;m.length;k++){var c=m[k];if(l.Iy(c.source,c.x,c.y))return!0}}return!1},$b:function(m){return!m||this.v.get("displayTooltipInTouchScreens")&amp;&amp;!1!==this.Ha.M.get("displayTooltipInTouchScreens")?this.v.get("toolTip",""):""},YA:function(m){if(m){m=this.get("yaw")-this.NA;var k=this.get("pitch")-
this.MA;return Math.sqrt(m*m+k*k)}return 0}}});
define("fn","require lS le py lu oT de jC bF oQ nV eQ lT pa bL".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("lu"),c=a("oT"),h=a("de"),g=a("jC"),b=a("bF"),d=a("oQ"),f=a("nV"),n=a("eQ"),q=a("lT"),p=a("pa"),r=a("bL");a=e.extend(h,n,b,function(t){h.call(this);this.v=t;this.Uga=this.$D=null;this.Kk.push(this.v);this.hg=this.hg.bind(this);this.lq(["loadingActive","currentTime","panoramaPixelsPerDegree"]);this.set("tag","VideoHotspot");this.set("enabled",!0);this.set("inVR",!1);this.set("overlaysEnabled",
!0);this.set("enabledInVR",!0);this.set("enabledInStandard",!0);this.set("interactionEnabled",!0);this.set("centerOverDisplay",!1);this.set("loadingActive",!1);this.set("frameEmpty",!0);this.set("state",k.V);this.set("itemVisible","none");this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.zb=this.Xa=this.ge=this.Lf=null;this.Vga=!1;this.dt=[];this.Gea(this.v)});a.prototype.Zb=function(){this.Lf=(new d(m.ea)).Sm(this.uE.bind(this));
this.ge=(new d(m.kc)).zp(this.xE.bind(this));this.Kl=new g(this.Ha.qp(),this.v);h.prototype.Zb.call(this);l.da(this.v,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),this.hg,!0);this.J$()};a.prototype.ac=function(){this.K$();this.Kl.clear();this.Lf.dispose();this.ge.dispose();l.ca(this.v,"blending chromaColor chromaThreshold chromaSmoothing distance scaleMode image.levels video.levels enabled enabledInStandard enabledInVR fadeInDuration fadeOutDuration interactionEnabled state videoVisibleOnStop".split(" "),
this.hg);this.DD();this.Sz();h.prototype.ac.call(this)};a.prototype.hg=function(){this.set("image",this.v.get("image"));this.set("imageLevel",f.s6a(this.v,this.get("panoramaPixelsPerDegree")));this.set("video",this.v.get("video"));this.set("videoLevel",c.mk(this.get("video")));this.set("enabled",this.v.get("enabled"));this.set("enabledInStandard",this.v.get("enabledInStandard"));this.set("enabledInVR",this.v.get("enabledInVR"));this.set("fadeInDuration",this.v.get("fadeInDuration"));this.set("fadeOutDuration",
this.v.get("fadeOutDuration"));this.set("interactionEnabled",this.v.get("interactionEnabled"));this.set("state",this.v.get("state"));this.set("videoVisibleOnStop",this.v.get("videoVisibleOnStop"));this.set("blending",this.v.get("blending"));this.set("chromaColor",this.v.get("chromaColor"));this.set("chromaThreshold",this.v.get("chromaThreshold"));this.set("chromaSmoothing",this.v.get("chromaSmoothing"))};a.prototype.oa=function(t){this.set("inVR",t.sb);this.set("hotspotsEnabled",t.fG);this.wr();this.MR();
h.prototype.oa.call(this,t);this.Ut();this.WR(t);this.ie(t);this.cga(t)};a.prototype.wr=function(){if(this.R("video","videoLevel","image","imageLevel")){var t=[];this.R("image","imageLevel")&amp;&amp;(this.TN(),this.Xa&amp;&amp;t.push(this.Xa));this.R("video","videoLevel")&amp;&amp;(this.VN(),this.zb&amp;&amp;t.push(this.zb));this.ph(t);this.Lf.Gf(t);this.ge.Gf(t)}};a.prototype.MR=function(){this.R("video","videoLevel","image","imageLevel","blending","chromaColor","chromaThreshold","chromaSmoothing")&amp;&amp;this.pb().forEach(function(t){t.set("blending",
this.get("blending"));t.set("chromaColor",this.get("chromaColor"));t.set("chromaThreshold",this.get("chromaThreshold"));t.set("chromaSmoothing",this.get("chromaSmoothing"))}.bind(this))};a.prototype.Ut=function(){this.R("video","composedAlpha","enabledInVR","enabledInStandard","enabled","inVR")&amp;&amp;this.Kl.Ye(0&lt;this.get("composedAlpha")&amp;&amp;this.get("hotspotsEnabled")&amp;&amp;this.get("enabled")&amp;&amp;(!this.get("inVR")||this.get("enabledInVR"))&amp;&amp;(this.get("inVR")||this.get("enabledInStandard")));this.R("blendingActive")&amp;&amp;
this.Kl.jab(this.get("blendingActive"))};a.prototype.WR=function(){this.set("frameEmpty",!this.zb||!this.zb.get("hasStableContent"))};a.prototype.ie=function(t){var u=this.get("itemVisible");if(this.R("frameEmpty","state","image","video","inVR","hotspotsEnabled","enabledInVR","enabledInStandard","enabled","interactionEnabled")){var v="none";this.get("hotspotsEnabled")&amp;&amp;this.get("enabled")&amp;&amp;(!this.get("inVR")||this.get("enabledInVR"))&amp;&amp;(this.get("inVR")||this.get("enabledInStandard"))&amp;&amp;(this.zb&amp;&amp;(!this.Xa||
!this.get("frameEmpty")&amp;&amp;(this.get("state")!=k.V||this.Vga&amp;&amp;this.get("videoVisibleOnStop")))?v="video":this.Xa&amp;&amp;(v="image"),this.get("state")!=k.V&amp;&amp;(this.Vga=!0));this.set("itemVisible",v);this.set("beamEnabled","none"!=v&amp;&amp;this.get("interactionEnabled"))}if(this.R("itemVisible")){v="none"!=this.get("itemVisible");var w="none"!=u;if(v&amp;&amp;w&amp;&amp;!this.get("chromaColor")&amp;&amp;0==this.dt.length)this.Xa&amp;&amp;this.Xa.set("alpha","image"==this.get("itemVisible")?1:0),this.zb&amp;&amp;this.zb.set("alpha","video"==this.get("itemVisible")?
1:0);else{u=v==w?50:v?this.get("fadeInDuration"):this.get("fadeOutDuration");v!=w&amp;&amp;this.v.trigger(v?m.jd:m.cd);w=this.Xa?this.Xa.get("alpha"):0;var x=this.zb?this.zb.get("alpha"):0;v=[{video:x,image:w}];"video"==this.get("itemVisible")?(v.push({video:1,image:w,time:u*(1-x)}),v.push({video:1,image:0,time:50*(w-0)})):"image"==this.get("itemVisible")?(v.push({video:x,image:1,time:u*(1-w)}),v.push({video:0,image:1,time:50*(x-0)})):v.push({video:0,image:0,time:Math.max(x,w,1/u)*u});this.dt=[];for(u=1;u&lt;
v.length;u++)0&lt;v[u].time&amp;&amp;this.dt.push(new p("linear",[new r("imageAlpha",v[u-1].image,v[u].image),new r("videoAlpha",v[u-1].video,v[u].video)],v[u].time))}}0&lt;this.dt.length&amp;&amp;(this.dt[0].We()?this.dt.shift():this.dt[0].Fb(t.Te),0&lt;this.dt.length&amp;&amp;(this.Xa&amp;&amp;this.Xa.set("alpha",this.dt[0].eb("imageAlpha")),this.zb&amp;&amp;this.zb.set("alpha",this.dt[0].eb("videoAlpha")),this.Ga()))};a.prototype.TN=function(){this.DD();this.get("image")&amp;&amp;this.get("imageLevel")&amp;&amp;(this.Xa=new this.$D,this.Xa.set("image",this.get("image")),
this.Xa.set("level",this.get("imageLevel")),this.Xa.set("isVideoTexture",!0),this.Xa.set("visible",!0),this.Xa.set("alpha",0),this.Xa.set("side",THREE.DoubleSide))};a.prototype.DD=function(){this.Xa&amp;&amp;(this.Xa.remove(),this.Xa=null)};a.prototype.VN=function(){this.Sz();this.get("video")&amp;&amp;this.get("videoLevel")&amp;&amp;(this.zb=new this.Uga,this.zb.set("scriptObject",this.v),this.zb.set("video",this.get("video")),this.zb.set("level",this.get("videoLevel")),this.zb.set("visible",!0),this.zb.set("alpha",0),
this.zb.set("side",THREE.DoubleSide))};a.prototype.Sz=function(){this.zb&amp;&amp;(this.zb.remove(),this.zb=null)};a.prototype.uE=function(){this.trigger(m.hd);this.trigger(m.ea)};a.prototype.xE=function(t,u){var v=0;u.lu(function(w){(w=u.Gm(w))&amp;&amp;(v+=w.Tg)});this.trigger(new q(m.kc,v/u.ld.length))};a.prototype.waa=function(){return"video"==this.get("itemVisible")?this.zb:this.Xa};return a});
define("hb","require py lu cD eC mX mr fs kN oT".split(" "),function(a){var e=a("py"),l=a("lu"),m=a("cD"),k=a("eC"),c=a("mX"),h=a("mr"),g=a("fs"),b=a("kN"),d=a("oT");return{BD:function(){this.set("visible",!1);this.set("inView",!1);this.set("frameEmpty",!0);this.set("hasStableContent",!1);this.set("blending",0);this.set("chromaColor",void 0);this.set("chromaThreshold",0);this.set("chromaSmoothing",0);this.set("scriptObject",null);this.set("video",null);this.set("level",null);this.set("loop",!1);this.set("side",
void 0);this.fb=this.zb=null;this.Vga=!1;this.yR=this.jh=this.rm=this.Ma=this.yq=this.ga=null},iJ:function(){this.Sz()},Wi:function(f){this.u2a();this.MR();this.WR(f)},u2a:function(){this.R("scriptObject","video","level")&amp;&amp;(this.Sz(),this.zb=this.get("video"),this.fb=this.get("level"),this.v=this.get("scriptObject"),this.VN())},MR:function(){if(this.R("video","blending","chromaColor","chromaThreshold","chromaSmoothing","side")&amp;&amp;this.zb){var f=new m.ko(this.zb.Zi());f.kB=this.get("blending");f.fu=
this.get("chromaColor");f.zS=this.get("chromaThreshold");f.yS=this.get("chromaSmoothing");f.side=this.get("side");this.set("materialConfig",f)}},vm:function(){this.R("visible","composedAlpha","image","state")&amp;&amp;this.set("inView",this.get("visible")&amp;&amp;0&lt;this.get("composedAlpha"));this.R("composedAlpha","meshGroup","inView")&amp;&amp;k.ff(this.get("meshGroup"),this.get("inView")?this.get("composedAlpha"):0)},WR:function(){var f=!!this.jh&amp;&amp;this.jh.isEmpty(),n=this.ga&amp;&amp;this.ga.S2(),q=!!n&amp;&amp;n.isEmpty();q&amp;&amp;!f&amp;&amp;this.ga.getState()==
l.PLAYING&amp;&amp;this.v.get("loop")&amp;&amp;(n=this.jh,q=!1);this.set("frameEmpty",q);this.fga();!this.jh||n&amp;&amp;!this.jh.isEqual(n)?(this.jh=n,(f=this.jh.ct)&amp;&amp;"VIDEO"==f.tagName&amp;&amp;(f.width=this.get("contentWidth"),f.height=this.get("contentHeight")),this.yR.Pm(f),this.yR.update(),this.Ga()):this.ga.getState()==l.PLAYING&amp;&amp;this.Ga()},fga:function(){var f=this.ga.getCurrentTime(),n=this.ga.ui();this.get("frameEmpty")?this.set("hasStableContent",!1):f&gt;this.CX+.1?this.set("hasStableContent",!0):0==f&amp;&amp;this.Qba&gt;n-.5?this.set("hasStableContent",
!0):this.set("hasStableContent",!1);this.R("frameEmpty")&amp;&amp;!this.get("frameEmpty")&amp;&amp;(this.CX=f);!this.get("frameEmpty")&amp;&amp;0&lt;f&amp;&amp;(this.Qba=f)},VN:function(){this.zb&amp;&amp;this.fb&amp;&amp;this.v&amp;&amp;(this.set("textureSource",this.yR=new g),this.yR.AU(!0),this.set("contentWidth",this.fb.get("width")),this.set("contentHeight",this.fb.get("height")),this.set("alpha",0),this.ga=new d(this.Ha.qp(),this.zb),this.ga.h$a(),this.yq=new c(this.v,this.ga),this.Ma=new h(this.Ha.qp(),this.v,this.ga),this.rm=new b(this.Ha.Yc.get("panorama"),
this.ga),this.Fv(),this.trigger(e.hd),this.trigger(e.ea))},Sz:function(){this.ga&amp;&amp;(this.set("textureSource",this.yR=null),this.lx(),this.Ma.clear(),this.Ma=null,this.yq.clear(),this.yq=null,this.rm.clear(),this.rm=null,this.ga.clear(),this.jh=this.ga=null,this.set("frameEmpty",!0),this.set("hasStableContent",!1),this.fb=this.zb=null)},Fv:function(){this.ga.bind(d.Uf,this.lf,this,!0);this.ga.bind(e.Ae,this.Mi,this,!0)},lx:function(){this.ga.unbind(d.Uf,this.lf,this,!0);this.ga.unbind(e.Ae,this.Mi,
this,!0)},Mi:function(){this.Ga()},lf:function(){this.Ga()}}});
define("oZ",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.set("distance",void 0);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,["playbackPositions","distance"],this.de,!0)},So:function(){e.ca(this.v,["playbackPositions","distance"],this.de)},de:function(){this.set("distance",this.v.get("distance"));this.set("playbackPositions",this.v.get("playbackPositions"))},yf:function(){this.R("playbackPositions","currentTime")&amp;&amp;
(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("vertices",this.xb.Gia()),this.set("alpha",this.xb.kl()));this.R("video","image","vertices","distance")&amp;&amp;this.pb().forEach(function(m){m.set("vertices",this.get("vertices"));m.set("distance",this.get("distance"))}.bind(this))}}});
define("kJ","require lS fn c ee ht hb oZ".split(" "),function(a){var e=a("lS"),l=a("fn"),m=a("c"),k=a("ee"),c=a("ht"),h=a("hb");a=a("oZ");var g=e.extend(m,k,c,function(){m.call(this);this.set("tag","QuadVideoHotspotImage")}),b=e.extend(m,k,h,function(){m.call(this);this.set("tag","QuadVideoHotspotVideo")});return e.extend(l,a,function(d){l.call(this,d);this.$D=g;this.Uga=b})});
define("lp","require lS le lu kD on w".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("lu"),k=a("kD"),c=a("on"),h=a("w");a=e.extend(k,function(g){k.call(this);this.v=g;this.Nk=this.Nk.bind(this);this.Ok=this.Ok.bind(this);this.bn()});a.prototype.Zb=function(){k.prototype.Zb.call(this);this.v.set("state",this.v.get("startState"));l.da(this.v,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.Nk,!0);l.da(this.v,["state"],this.Ok,
!0)};a.prototype.ac=function(){l.ca(this.v,"color speed intensity size opacity maxDistance farPlaneDistance particleCount farPlaneParticleCount".split(" "),this.Nk);l.ca(this.v,["state"],this.Ok);this.v.set("state",m.V);k.prototype.ac.call(this)};a.prototype.Nk=function(){this.bn();this.LQ()};a.prototype.Ok=function(){this.z_=this.v.get("state");this.Ga()};a.prototype.bn=function(){k.prototype.bn.call(this);if(h.Sf()){this.KD=this.lt=4;this.IE=2400;this.LD=1200;var g=1.5;var b=1.6}else this.lt=2,
this.KD=4,this.IE=4800,this.LD=2400,b=g=1;var d=this.v.get("intensity",.5);this.Gc=c.cs(this.v.get("color","#ffffff"));this.pQ=.24*this.v.get("opacity",.25)+.01;this.pQ*=2;this.GA=(d*(.37-.17)+.17)*g;g=(this.v.get("speed",.5)*(.09-.02)+.02)/this.GA*b;this.pP=.9*g;this.qE=1.1*g;this.IE=Math.round(this.v.get("particleCount",this.IE)*d);this.LD=Math.round(this.v.get("farPlaneParticleCount",this.LD)*d);this.UY=0;this.Mq=2;this.mt=-2;this.hca=0;this.rN=.75;this.$N=.5;this.oY=this.v.get("initialState");
this.E0=this.v.get("startDuration");this.K0=this.v.get("stopDuration");this.lt=this.v.get("maxDistance",this.lt);this.KD=this.v.get("farPlaneDistance",this.KD);this.dB()};a.prototype.fX=function(){var g=new THREE.MeshBasicMaterial;g.color=new THREE.Color(this.Gc[0]/255,this.Gc[1]/255,this.Gc[2]/255);g.side=THREE.FrontSide;g.transparent=!0;g.depthTest=!1;g.needsUpdate=!0;this.PD||(this.PD=new THREE.BoxGeometry(.01,.2,.01));return new THREE.Mesh(this.PD,g)};a.prototype.dB=function(){var g=this.tg&amp;&amp;
this.tg.children||[],b=new THREE.Color(this.Gc[0]/255,this.Gc[1]/255,this.Gc[2]/255);g.forEach(function(d){d.material.color=b;d.material.needsUpdate=!0})};return a});
define("gM","require lS A py cI jD".split(" "),function(a){var e=a("lS"),l=a("A"),m=a("py"),k=a("cI"),c=a("jD"),h=e.extend(c,function(g,b,d,f){c.call(this);this.Vd=g;this.M=b;this.Yc=d;this.j=f;this.BP=new l;this.Oea(this);this.set("tag","Root");this.set("globalBlendingActive",0)});h.prototype.qp=function(){return this.Vd};h.prototype.Df=function(g){return this.BP.get(g)};h.prototype.all=function(){for(var g=[],b=[this];0&lt;b.length;){var d=b.pop();g.push(d);for(var f=d.Zd.length-1;0&lt;=f;f--)b.push(d.Zd[f])}return g};
h.prototype.update=function(g){var b=this.all(),d=b.length,f;for(f=0;f&lt;d;f++)b[f].QPa();for(f=0;f&lt;d;f++)b[f].set("index",f);for(f=0;f&lt;d;f++)b[f].Ha&amp;&amp;b[f].oa(g);for(f=0;f&lt;d;f++)b[f].HPa();if(this.mY){for(f=0;f&lt;d;f++)b[f].MPa();this.update(g)}};h.prototype.Ga=function(){this.xg||this.trigger(new k(m.ba));c.prototype.Ga.call(this)};h.prototype.ay=function(g){return Array.isArray(g)?g.map(this.ay.bind(this)):this.BP.get(g)||h.W4a.create(g)};return h});
define("gp","require lS le lu kD w".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("lu"),k=a("kD"),c=a("w");a=e.extend(k,function(g){k.call(this);this.v=g;this.Nk=this.Nk.bind(this);this.Ok=this.Ok.bind(this);this.bn()});a.prototype.Zb=function(){k.prototype.Zb.call(this);this.v.set("state",this.v.get("startState"));l.da(this.v,["intensity","speed"],this.Nk,!0);l.da(this.v,["state"],this.Ok,!0)};a.prototype.ac=function(){l.ca(this.v,["intensity","speed"],this.Nk);l.ca(this.v,["state"],this.Ok);
this.v.set("state",m.V);k.prototype.ac.call(this)};a.prototype.Nk=function(){this.bn();this.LQ()};a.prototype.Ok=function(){this.z_=this.v.get("state");this.Ga()};a.prototype.bn=function(){k.prototype.bn.call(this);var g=this.v.get("intensity"),b=this.v.get("speed");if(c.qb()||c.browser()==c.ys){var d=1E3;var f=350;var n=1800;var q=400;var p=.8;var r=1.2}else c.Sf()?(d=1500,f=500,n=2500,q=500,p=.8,r=1.2):(d=3E3,f=1E3,n=5E3,q=1E3,p=.6,r=1);this.oY=this.v.get("initialState");this.E0=this.v.get("startDuration");
this.K0=this.v.get("stopDuration");this.rN=.75;this.$N=.5;this.lt=4;this.mt=-2;this.Mq=3;this.UY=35;this.KD=7;this.GA=(p+g*(r-p))/h;this.pP=this.qE=.15+1.35*b;this.IE=f+g*(d-f);this.LD=q+g*(n-q)};a.prototype.fX=function(){return new THREE.Sprite(this.Yv())};a.prototype.Yv=function(){var g=new THREE.SpriteMaterial;g.map=this.wq();g.side=THREE.FrontSide;g.transparent=!0;g.depthTest=!1;g.needsUpdate=!0;return g};a.prototype.wq=function(){if(this.Ia)return this.Ia;var g=document.createElement("canvas");
g.width=g.height=h;var b=g.getContext("2d"),d=b.createRadialGradient(.5*g.width,.5*g.height,.2*g.height,.5*g.width,.5*g.height,.5*g.height);d.addColorStop(0,"rgba(255, 255, 255, 0.8)");d.addColorStop(1,"rgba(255, 255, 255, 0)");b.fillStyle=d;b.fillRect(0,0,g.width,g.height);this.Ia=new THREE.Texture;this.Ia.colorSpace=THREE.SRGBColorSpace;this.Ia.image=g;this.Ia.needsUpdate=!0;return this.Ia};var h=32;return a});
define("dg",["require","jI","w"],function(a){var e=a("jI"),l=a("w"),m=new THREE.Matrix4,k=Math.PI/180;return{Xv:function(){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("hfov",void 0);this.set("vfov",null);this.Hh=new THREE.Matrix4;this.Td=new THREE.Matrix4;this.Ro=new THREE.Matrix4;this.kn=new THREE.Matrix4;this.wj=new THREE.Matrix4;this.om=new THREE.Matrix4;this.Pq=new THREE.Matrix4},
u9:function(){var c=l.ud()==l.yi||l.browser()==l.ys?new THREE.CSS3DRectangle:new THREE.CSS3DObject;c.matrixAutoUpdate=!1;return c},Hx:function(c){if(this.R("contentWidth","contentHeight")){var h=this.get("cssObject");h.contentWidth=this.get("contentWidth");h.contentHeight=this.get("contentHeight");h.updateVertices()}h=!1;this.R("composedTranslationX","composedTranslationY","composedTranslationZ")&amp;&amp;(this.Hh.makeTranslation(.5*-this.get("composedTranslationX")*e.Fg,.5*this.get("composedTranslationY")*
e.Fg,.5*this.get("composedTranslationZ")*e.Fg),h=!0);this.R("composedDeltaYaw","composedDeltaPitch","composedDeltaRoll")&amp;&amp;(this.Td.makeRotationY(-c.Ra*k),this.Td.multiply(m.makeRotationX(-this.get("composedDeltaPitch")*k)),this.Td.multiply(m.makeRotationY(this.get("composedDeltaYaw")*k)),this.Td.multiply(m.makeRotationY(c.Ra*k)),h=!0);this.R("yaw","pitch")&amp;&amp;(this.Ro.makeRotationY(-this.get("yaw")*k),this.Ro.multiply(m.makeRotationX(this.get("pitch")*k)),h=!0);if(this.R("flipHorizontally","hfov","vfov",
"composedTranslationX","composedTranslationY","composedTranslationZ")){h=this.get("contentWidth");var g=this.get("contentHeight"),b=this.get("hfov"),d=this.get("vfov");this.kn.makeTranslation(0,0,-(h/(2*Math.tan(b*k*.5))));var f=(this.get("flipHorizontally")?-1:1)*this.get("scale"),n=this.get("scale");d&amp;&amp;(n*=h*Math.tan(d*k*.5)/(g*Math.tan(b*k*.5)));this.om.makeScale(f,n,1);h=!0}this.R("rotationX","rotationY","rotationZ","roll")&amp;&amp;(this.wj.makeRotationZ(this.get("roll")*k),this.wj.multiply(m.makeRotationY(this.get("rotationY")*
k)),this.wj.multiply(m.makeRotationX(this.get("rotationX")*k)),this.wj.multiply(m.makeRotationZ(this.get("rotationZ")*k)),h=!0);if(h||this.R("meshGroup"))this.Pq.copy(this.Hh),this.Pq.multiply(this.Td),this.Pq.multiply(this.Ro),this.Pq.multiply(this.kn),this.Pq.multiply(this.wj),this.Pq.multiply(this.om),this.get("cssObject").matrix.copy(this.Pq),this.get("cssObject").matrixWorldNeedsUpdate=!0;this.set("cameraYaw",c.Ra);this.set("cameraPitch",c.pitch);this.set("cameraRoll",c.Dg);this.set("cameraHfov",
c.Ve);this.set("cameraWidth",c.width);this.set("cameraHeight",c.height);c.camera&amp;&amp;(h||this.R("cameraYaw","cameraPitch","cameraRoll","cameraHfov","cameraWidth","cameraHeight"))&amp;&amp;(this.get("cssObject").projectVertices(c.camera),this.set("geometryVisible",this.get("cssObject").isVisible),this.R("geometryVisible")&amp;&amp;this.pea())}}});
define("mO",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,["playbackPositions","width","height"],this.de,!0)},So:function(){e.ca(this.v,["playbackPositions","width","height"],this.de)},de:function(){this.set("playbackPositions",this.v.get("playbackPositions"));this.set("contentWidth",this.v.get("width"));this.set("contentHeight",this.v.get("height"))},yf:function(){this.R("playbackPositions",
"currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("yaw",this.xb.get("yaw")),this.set("pitch",this.xb.get("pitch")),this.set("roll",this.xb.get("roll")),this.set("rotationX",this.xb.get("rotationX")),this.set("rotationY",this.xb.get("rotationY")),this.set("hfov",this.xb.get("hfov")),this.set("vfov",this.xb.get("vfov")));this.R("framePlane","holePlane","imagePlane","yaw","pitch","roll","rotationX","rotationY","hfov","vfov","contentWidth","contentHeight")&amp;&amp;
this.pb().forEach(function(m){m.set("yaw",this.get("yaw"));m.set("pitch",this.get("pitch"));m.set("roll",this.get("roll"));m.set("rotationX",this.get("rotationX"));m.set("rotationY",this.get("rotationY"));m.set("hfov",this.get("hfov"));m.set("vfov",this.get("vfov"));m.set("contentWidth",this.get("contentWidth"));m.set("contentHeight",this.get("contentHeight"))}.bind(this))}}});
define("nn","require lS ca gg c dg oK cz ht kZ mO".split(" "),function(a){var e=a("lS"),l=a("ca"),m=a("gg"),k=a("c"),c=a("dg"),h=a("oK"),g=a("cz"),b=a("ht"),d=a("kZ");a=a("mO");var f=e.extend(k,h,b,function(){k.call(this);this.set("tag","RectangleFrameHotspotImage")}),n=e.extend(m,c,g,function(){m.call(this);this.set("tag","RectangleFrameHotspotFrame")}),q=e.extend(k,h,d,function(){k.call(this);this.set("tag","RectangleFrameHotspotHole")});return e.extend(l,a,function(p){l.call(this,p);this.$D=f;
this.P$=n;this.Uaa=q})});
define("oN",["require","le","ok"],function(a){var e=a("le"),l=a("ok");return{xo:function(){this.set("playbackPositions",null);this.set("scaleMode",void 0);this.set("distance",void 0);this.de=this.de.bind(this);this.xb=new l},Qo:function(){e.da(this.v,["playbackPositions","distance","scaleMode"],this.de,!0)},So:function(){e.ca(this.v,["playbackPositions","distance","scaleMode"],this.de)},de:function(){this.set("scaleMode",this.v.get("scaleMode"));this.set("distance",this.v.get("distance"));this.set("playbackPositions",
this.v.get("playbackPositions"))},yf:function(){this.R("playbackPositions","currentTime")&amp;&amp;(this.xb.bC(this.get("playbackPositions")),this.xb.aC(this.get("currentTime")),this.set("yaw",this.xb.get("yaw")),this.set("pitch",this.xb.get("pitch")),this.set("roll",this.xb.get("roll")),this.set("rotationX",this.xb.get("rotationX")),this.set("rotationY",this.xb.get("rotationY")),this.set("hfov",this.xb.get("hfov")),this.set("vfov",this.xb.get("vfov")),this.set("alpha",this.xb.kl()));this.R("video","image",
"yaw","pitch","roll","rotationX","rotationY","hfov","vfov","distance","scaleMode","image","video")&amp;&amp;this.pb().forEach(function(m){m.set("yaw",this.get("yaw"));m.set("pitch",this.get("pitch"));m.set("roll",this.get("roll"));m.set("rotationX",this.get("rotationX"));m.set("rotationY",this.get("rotationY"));m.set("hfov",this.get("hfov"));m.set("vfov",this.get("vfov"));m.set("scaleMode",this.get("scaleMode"));m.set("distance",this.get("distance"))}.bind(this))}}});
define("pB","require lS fn c oK ht hb oN".split(" "),function(a){var e=a("lS"),l=a("fn"),m=a("c"),k=a("oK"),c=a("ht"),h=a("hb");a=a("oN");var g=e.extend(m,k,c,function(){m.call(this);this.set("tag","RectangleVideoHotspotImage")}),b=e.extend(m,k,h,function(){m.call(this);this.set("tag","RectangleVideoHotspotVideo")});return e.extend(l,a,function(d){l.call(this,d);this.$D=g;this.Uga=b})});
define("ef","require ol jD ih jl ko mP ch nX gx X oE dX bJ kf jK kJ lp gM gp nn pB cg".split(" "),function(a){function e(D,I){Array.isArray(I)||(I=[I]);for(var A=0;A&lt;I.length;A++)if(l.Ja(I[A],D))return!0;return!1}var l=a("ol"),m=a("jD"),k=a("ih"),c=a("jl"),h=a("ko"),g=a("mP"),b=a("ch"),d=a("nX"),f=a("gx"),n=a("X"),q=a("oE"),p=a("dX"),r=a("bJ"),t=a("kf"),u=a("jK"),v=a("kJ"),w=a("lp"),x=a("gM"),y=a("gp"),z=a("nn"),B=a("pB");a("cg");a={};x.W4a=a;a.create=function(D){if(D instanceof m)return D;if(e(D,
["HDRPanorama","LivePanorama","Panorama","VideoPanorama"]))return new n(D);if(e(D,["CubicPanoramaFrame","SphericPanoramaFrame"]))return e(D,"SphericPanoramaFrame")&amp;&amp;D.Fm()?new p(D):new q(D);if(e(D,["DustPanoramaOverlay"]))return new c(D);if(e(D,"HotspotPanoramaOverlay"))return new g(D);if(e(D,["HotspotPanoramaOverlayImage","HotspotPanoramaOverlayMap"]))return new b(D);if(e(D,"Menu"))return new f(D);if(e(D,["CeilingCapPanoramaOverlay","TripodCapPanoramaOverlay"]))return new k(D);if(e(D,["FlatHotspotPanoramaOverlayImage",
"FlatHotspotPanoramaOverlayMap"]))return new h(D);if(e(D,["LensFlarePanoramaOverlay"]))return new d(D);if(e(D,["RainPanoramaOverlay"]))return new w(D);if(e(D,["SnowPanoramaOverlay"]))return new y(D);if(e(D,["PopupPanoramaOverlay"]))return new r(D);if(e(D,["QuadFramePanoramaOverlay"]))return new t(D);if(e(D,["QuadHotspotPanoramaOverlayImage","QuadHotspotPanoramaOverlayMap"]))return new u(D);if(e(D,["QuadVideoPanoramaOverlay"]))return new v(D);if(e(D,["FramePanoramaOverlay"]))return new z(D);if(e(D,
["VideoPanoramaOverlay"]))return new B(D);throw"Invalid script object";};return a});
define("cs",["require","exports","three.mod"],function(a,e,l){return function(){function m(){}m.EDa=function(k,c,h,g,b,d){return m.s5a(k,c/g*2-1,2*-(h/b)+1,d)};m.s5a=function(k,c,h,g){g||(g=new l.Ray);g.origin.setFromMatrixPosition(k.matrixWorld);g.direction.set(c,h,.5).unproject(k).sub(g.origin).normalize();return g};m.L5a=function(k,c){c||(c=new l.Ray);c.origin.set(0,0,0);c.direction.set(0,0,-1).applyQuaternion(k.quaternion);return c};m.K5a=function(k,c){c||(c=new l.Ray);c.origin.set(0,0,0).applyMatrix4(k);
c.direction.set(0,0,-1).applyMatrix4(k).sub(c.origin).normalize();return c};return m}()});
define("mj","require lS eC ka mq fs oS".split(" "),function(a){var e=a("lS"),l=a("eC"),m=a("ka"),k=a("mq"),c=a("fs"),h=a("oS");a=e.extend(m,function(){m.call(this);this.T=null;this.set("tag","Reticle");this.set("changing",!1);this.set("over",!1);this.set("overProgress",void 0);this.set("visible",!0);this.set("attachToCamera",!0);this.Po=null});a.prototype.oa=function(g){this.wr(g);this.wg(g);this.yf(g);m.prototype.oa.call(this,g)};a.prototype.wr=function(g){g.sb&amp;&amp;!this.Po&amp;&amp;h.getType()==h.yv.zl&amp;&amp;this.ph([this.Po=
new m])};a.prototype.wg=function(g){this.T||(this.set("textureSource",new c),this.T=new k(this.Ha.M.Nia()),this.get("textureSource").Pm(this.T.dg()),this.set("contentWidth",this.T.Fe()),this.set("contentHeight",this.T.Ue()),this.set("hfov",6),this.set("distance",this.Ha.M.get("vrPointerDistance")));this.R("changing")&amp;&amp;this.T.By(g.sb&amp;&amp;this.get("changing"));this.R("over","overProgress")&amp;&amp;this.T.PG(this.get("over"),this.get("overProgress"));this.T.update(g.Te)&amp;&amp;this.get("textureSource").update();this.get("changing")&amp;&amp;
this.Ga()};a.prototype.yf=function(){this.Jh()};a.prototype.vm=function(){this.R("composedAlpha","meshGroup","visible")&amp;&amp;this.sz()};a.prototype.sz=function(){l.ff(this.get("meshGroup"),this.get("visible")?this.get("composedAlpha"):0)};return a});
define("bq","require jquery.mod es py w pY hS".split(" "),function(a){function e(b){this.mb=b;this.xza=this.mb.Go;this.mb.bind(k.Pb,this.Mf,this);this.xa=l("&lt;span&gt;&lt;/span&gt;");this.xa.css({"pointer-events":"none",position:"absolute","z-index":c.OMa,"text-align":"center",display:"none"});this.te=l("&lt;span&gt;&lt;/span&gt;");this.te.css({position:"absolute",left:0,top:0,right:0,bottom:0});this.xa.append(this.te);this.U0=l("&lt;span&gt;&lt;/span&gt;");this.U0.css({position:"relative"});this.xa.append(this.U0);this.yj=this.qY=
this.Yg=null;this.Zw=this.Yw=void 0;this.xw=!1;this.yza=void 0}var l=a("jquery.mod"),m=a("es"),k=a("py");a("w");var c=a("pY"),h=a("hS"),g={toolTip:void 0,toolTipBackgroundColor:"#F6F6F6",toolTipBackgroundOpacity:1,toolTipBorderColor:"#767676",toolTipBorderRadius:3,toolTipBorderSize:1,toolTipCentered:!1,toolTipCenteredOffsetY:void 0,toolTipFontFamily:"Segoe UI",toolTipFontSize:12,toolTipFontColor:"#606060",toolTipFontWeight:"normal",toolTipFontStyle:"normal",toolTipHorizontalAlign:"center",toolTipOpacity:1,
toolTipPaddingBottom:2,toolTipPaddingLeft:4,toolTipPaddingTop:2,toolTipPaddingRight:4,toolTipShadowBlurRadius:3,toolTipShadowColor:"#333333",toolTipShadowHorizontalLength:3,toolTipShadowOpacity:1,toolTipShadowSpread:0,toolTipShadowVerticalLength:3,toolTipTextShadowBlurRadius:3,toolTipTextShadowColor:"#000000",toolTipTextShadowHorizontalLength:0,toolTipTextShadowOpacity:0,toolTipTextShadowVerticalLength:0,toolTipDisplayTime:600};e.prototype.gd=function(){return this.xa};e.prototype.JG=function(b){if(!this.xza){for(;b&amp;&amp;
b.get("toolTipDisabled");)b=b.getParent();this.hide();this.Yg&amp;&amp;m(m(g).keys()).each(function(d){this.Yg.unbind(k.G(d),this.Sca,this)},this);if(this.Yg=b)m(m(g).keys()).each(function(d){this.Yg.bind(k.G(d),this.Sca,this)},this),this.Sca()}};e.prototype.fbb=function(b,d){this.Yg=b;this.yza=d;this.xY()||(this.xw?this.Nya():this.rR())};e.prototype.Lya=function(b,d,f){this.xw&amp;&amp;this.Yg.trigger(k.Una);this.k1a(b);this.U0.html(this.WTa(d));this.Spa=f;this.yf();this.Yg.trigger(k.NMa);this.xw=!0;this.xa.css("display",
"inline");(f||b.get("checkToolTipOcclusion"))&amp;&amp;this.C_a(b)};e.prototype.yf=function(){var b=this.Eq(),d=b.x;b=b.y;var f=this.xa.outerWidth(),n=this.xa.outerHeight();if(this.Spa){d-=.5*this.xa.width();var q=this.Yg.get("toolTipCenteredOffsetY");b=void 0===q?b-.5*this.xa.height():0&lt;q?b+q:b-(this.xa.height()-q)}d=Math.max(Math.min(d,this.mb.Za()-f-3),3);b=Math.max(Math.min(b,this.mb.Cb()-n-3),3);this.xa.css("left",d+"px");this.xa.css("top",b+"px")};e.prototype.Eq=function(){var b={};if(this.Spa){var d=
this.Yg.gd().offset();b.x=d.left+.5*this.Yg.Za();b.y=d.top+.5*this.Yg.Cb()}else b.x=this.Yw,b.y=this.Zw+25;return b};e.prototype.hide=function(){this.wD();this.bza();this.xw&amp;&amp;(this.xa.css("display","none"),this.Yg.trigger(k.Una),this.xw=!1)};e.prototype.Sca=function(){this.Yg.get("toolTip")?this.xY()||(this.xw?this.Mya():this.rR()):this.xY()?this.wD():this.xw&amp;&amp;this.hide()};e.prototype.Mf=function(b){this.Yw=b.pageX;this.Zw=b.pageY;this.xw&amp;&amp;this.Yg.get("toolTipFollowMouse")&amp;&amp;this.yf()};e.prototype.Mya=
function(){this.Lya(this.Yg,this.Yg.get("toolTip"),this.Yg.get("toolTipCentered"))};e.prototype.Nya=function(){this.Lya(this.Yg,this.yza,!0)};e.prototype.xY=function(){return null!=this.yj};e.prototype.rR=function(){var b=this.Yg&amp;&amp;this.Yg.get("toolTipDisplayTime");if(void 0===b||null===b)b=g.toolTipDisplayTime;this.wD();this.yj=setTimeout(function(){this.yj=null;this.xza?this.Nya():this.Mya()}.bind(this),b)};e.prototype.wD=function(){this.xY()&amp;&amp;(clearTimeout(this.yj),this.yj=null)};e.prototype.C_a=
function(b){var d=this.Eq();this.bza();var f=function(){this.xa.css("display",this.xw&amp;&amp;!this.bVa(b,d.x,d.y)?"inline":"none")}.bind(this);this.qY=setInterval(f,300);f()};e.prototype.bza=function(){this.qY&amp;&amp;(clearInterval(this.qY),this.qY=null)};e.prototype.k1a=function(b){function d(p){var r=b.get(p);return void 0===r?g[p]:r}var f={};f.opacity=d("toolTipOpacity");f.filter=f["-ms-filter"]="alpha(opacity="+Math.round(100*d("toolTipOpacity"))+")";f.paddingTop=d("toolTipPaddingTop")+"px";f.paddingBottom=
d("toolTipPaddingBottom")+"px";f.paddingLeft=d("toolTipPaddingLeft")+"px";f.paddingRight=d("toolTipPaddingRight")+"px";f["text-align"]=d("toolTipHorizontalAlign");this.xa.css(f);f={};f.opacity=d("toolTipBackgroundOpacity");f.filter=f["-ms-filter"]="alpha(opacity="+Math.round(100*d("toolTipBackgroundOpacity"))+")";f["background-color"]=d("toolTipBackgroundColor");f.border=[d("toolTipBorderSize")+"px","solid",d("toolTipBorderColor")].join(" ");var n=d("toolTipShadowColor");f["-moz-box-shadow"]=f["-webkit-box-shadow"]=
f["box-shadow"]=[d("toolTipShadowHorizontalLength")+"px",d("toolTipShadowVerticalLength")+"px",d("toolTipShadowBlurRadius")+"px",d("toolTipShadowSpread")+"px","rgba("+parseInt("0x"+n.substr(1,2))+", "+parseInt("0x"+n.substr(3,2))+", "+parseInt("0x"+n.substr(5,2))+", "+d("toolTipShadowOpacity")+")"].join(" ");f["-moz-border-radius"]=f["-webkit-border-radius"]=f.borderRadius=d("toolTipBorderRadius")+"px";this.te.css(f);f={};f["font-family"]=h.Vx(d("toolTipFontFamily"));n=d("toolTipFontSize");m(n).isNumber()?
n+="px":m(n).isString()||(n="");f["font-size"]=n;f["font-weight"]=d("toolTipFontWeight");f["font-style"]=d("toolTipFontStyle");f.color=d("toolTipFontColor");n=d("toolTipTextShadowColor");f["-moz-text-shadow"]=f["-webkit-text-shadow"]=f["text-shadow"]=[d("toolTipTextShadowHorizontalLength")+"px",d("toolTipTextShadowVerticalLength")+"px",d("toolTipTextShadowBlurRadius")+"px","rgba("+parseInt("0x"+n.substr(1,2))+", "+parseInt("0x"+n.substr(3,2))+", "+parseInt("0x"+n.substr(5,2))+", "+d("toolTipTextShadowOpacity")+
")"].join(" ");var q=0==d("toolTipTextShadowVerticalLength")&amp;&amp;0==d("toolTipTextShadowHorizontalLength")?135:45*Math.round(4*Math.atan2("toolTipTextShadowHorizontalLength",-d("toolTipTextShadowVerticalLength"))/Math.PI);f.filter="progid:DXImageTransform.Microsoft.Shadow(color=#"+function(p){for(p=p.toString(16);2&gt;p.length;)p="0"+p;return p}(255*d("toolTipTextShadowOpacity"))+n.substr(1,6)+",direction="+q+")";this.U0.css(f)};e.prototype.bVa=function(b,d,f){d=document.elementsFromPoint(d,f);b=b.gd()[0];
f=this.mb.gd()[0];for(var n=0;n&lt;d.length;n++){var q=d[n];if(b==q||b.contains(q))break;if(!this.xa[0].contains(q)&amp;&amp;f.contains(q)){var p=window.getComputedStyle(q);if("none"!=p.display&amp;&amp;"hidden"!=p.visibility&amp;&amp;.29&lt;("CANVAS"==q.tagName?1:this.XPa(p.backgroundColor))*p.opacity)return!0}}return!1};e.prototype.XPa=function(b){if(!b)return 0;b=b.toLowerCase();var d=b.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(\d*\.?\d*)\s*\)/);return d?parseFloat(d[1]):b.match(/transparent/)?0:1};e.prototype.WTa=function(b){b=
(b||"").split("\n");for(var d=0;d&lt;b.length;d++)b[d]=this.NRa(b[d]);return b.map(function(f){return"&lt;div&gt;"+f+"&lt;/div&gt;"})};e.prototype.NRa=function(b){e.Koa.nodeValue=b;(b=e.Goa.innerHTML)||(b="&amp;nbsp;");return b};e.mLa=g;e.Goa=document.createElement("pre");e.Koa=document.createTextNode("");e.Goa.appendChild(e.Koa);return e});
define("db",["require","bq","bY","hS"],function(a){function e(h,g){this.M=h;this.tm=g;this.t_a()}var l=a("bq"),m=a("bY"),k=a("hS"),c=180/Math.PI;e.prototype.dg=function(){return this.T};e.prototype.Fe=function(){return this.T.width};e.prototype.Ue=function(){return this.T.height};e.prototype.Ee=function(){return 2*Math.atan2(this.T.width/3*.5,600)*c};e.prototype.t_a=function(){this.T=document.createElement("canvas");var h=this.tm.split("\n"),g=this.ah("toolTipBackgroundColor"),b=this.ah("toolTipBackgroundOpacity"),
d=this.ah("toolTipBorderRadius"),f=this.ah("toolTipBorderColor"),n=this.ah("toolTipBorderSize");this.ah("toolTipDisplayTime");var q=this.ah("toolTipFontFamily"),p=this.ah("toolTipFontSize"),r=this.ah("toolTipFontColor"),t=this.ah("toolTipFontWeight"),u=this.ah("toolTipFontStyle"),v=this.ah("toolTipPaddingBottom"),w=this.ah("toolTipPaddingLeft"),x=this.ah("toolTipPaddingTop"),y=this.ah("toolTipPaddingRight"),z=this.ah("toolTipOpacity"),B=this.ah("toolTipTextShadowBlurRadius"),D=this.ah("toolTipTextShadowColor"),
I=this.ah("toolTipTextShadowHorizontalLength"),A=this.ah("toolTipTextShadowVerticalLength"),E=this.ah("toolTipTextShadowOpacity");isNaN(p)&amp;&amp;(p=12);d=Math.round(3*d);n=Math.round(3*n);p=Math.round(3*p);v=Math.round(3*v);w=Math.round(3*w);x=Math.round(3*x);y=Math.round(3*y);B=Math.round(3*B);I=Math.round(3*I);A=Math.round(3*A);var J=new m.A7;J.fontFamily=q;J.fontSize=Math.round(p)+"px";J.fontWeight=t;J.fontStyle=u;this.T=document.createElement("canvas");var C=this.T.getContext("2d"),L=h.map(function(X){return m(X,
J,C)}),S=0,U=0;L.forEach(function(X){S=Math.max(X.width,S);U+=X.height});var V=1&lt;h.length?U/h.length*.25:0;U+=(h.length-1)*V;y=n+w+S+y+n;v=n+x+U+v+n;this.T.width=this.T.height=Math.max(256,Math.max(128,Math.pow(2,Math.ceil(Math.log(Math.max(y,v))/Math.LN2))));C=this.T.getContext("2d");var W=.5*(this.T.width-y),K=.5*(this.T.height-v);C.save();C.translate(W,K);C.globalAlpha=z;C.strokeStyle=f;C.fillStyle="transparent"===g?"rgba(0,0,0,0)":this.Woa(b,g);C.lineWidth=n;C.beginPath();C.moveTo(d,0);C.lineTo(y-
d,0);C.quadraticCurveTo(y,0,y,d);C.lineTo(y,v-d);C.quadraticCurveTo(y,v,y-d,v);C.lineTo(d,v);C.quadraticCurveTo(0,v,0,v-d);C.lineTo(0,d);C.quadraticCurveTo(0,0,d,0);C.closePath();C.fill();0&lt;n&amp;&amp;C.stroke();C.fillStyle=r;C.font=t+" "+("normal"!=u?u+" ":"")+p+(isNaN(p)?"":"px")+" "+k.Vx(q);C.shadowColor=this.Woa(E,D);C.shadowOffsetX=I;C.shadowOffsetY=A;C.shadowBlur=B;C.textBaseline="middle";C.textAlign="center";var N=n+w+.5*S,R=n+x;h.forEach(function(X,ba){C.fillText(X,Math.round(N),Math.round(R+.5*L[ba].height));
R+=L[ba].height+V})};e.prototype.ah=function(h){var g=this.M.get(h);return void 0===g?l.mLa[h]:g};e.prototype.Woa=function(h,g){return"rgba("+parseInt("0x"+g.substr(1,2))+", "+parseInt("0x"+g.substr(3,2))+", "+parseInt("0x"+g.substr(5,2))+", "+h+")"};return e});
define("ps","require lS jI ka db fs oS".split(" "),function(a){var e=a("lS"),l=a("jI"),m=a("ka"),k=a("db"),c=a("fs"),h=a("oS");a=e.extend(m,function(){m.call(this);this.T=null;this.set("tag","ToolTip");this.set("text","");this.mp=new THREE.Vector3(0,0,-l.Rr());this.Po=null});a.prototype.oa=function(f){this.wr(f);this.wg(f);m.prototype.oa.call(this,f)};a.prototype.wr=function(f){f.sb&amp;&amp;!this.Po&amp;&amp;h.getType()==h.yv.zl&amp;&amp;this.ph([this.Po=new m])};a.prototype.wg=function(f){if(!this.T||this.R("text")){this.get("textureSource")||
this.set("textureSource",new c);this.T=new k(this.Ha.M,this.get("text"));this.get("textureSource").Pm(this.T.dg());this.set("contentWidth",this.T.Fe());this.set("contentHeight",this.T.Ue());this.set("hfov",this.T.Ee());this.set("distance",this.Ha.M.get("vrPointerDistance"));var n=this.get("matrix"),q=this.get("intersectionYaw"),p=this.get("intersectionPitch");void 0!==q&amp;&amp;void 0!==p?(this.set("yaw",q),this.set("pitch",p+b),this.set("distance",this.get("intersectionDistance"))):n?(this.mp.applyMatrix4(n),
0==this.mp.x&amp;&amp;0==this.mp.z||this.set("yaw",g*Math.atan2(this.mp.x,-this.mp.z)),0==this.mp.y&amp;&amp;0==this.mp.z||this.set("pitch",g*Math.atan2(this.mp.y,Math.sqrt(this.mp.z*this.mp.z+this.mp.x*this.mp.x))+b)):(this.set("yaw",f.Ra),this.set("pitch",f.pitch+d))}};var g=180/Math.PI,b=2,d=5;return a});
define("oJ",["require","exports","cs","V"],function(a,e,l,m){return function(){function k(c,h){this.pf=c;this.j=h}k.prototype.update=function(){};k.prototype.clear=function(){};k.prototype.getType=function(){return this.pf};k.prototype.qDa=function(c){return this.OX=(c=c.Eg&amp;&amp;m.getCamera(c.Eg))?l.L5a(c,this.OX):void 0};k.hN="webxr";k.H7="gaze";k.XV="gaze_click";k.aoa="laser";k.fN="mouse";k.gN="touch";return k}()});
define("fx",["require","exports","oJ","bh"],function(a,e,l,m){return function(){function k(c,h,g,b,d){void 0===d&amp;&amp;(d=!0);this.fe=c;this.ir=h;this.OX=g;this.vf=b;this.lta=d;this.Opa=[];this.Pk=[];this.kR={};this.Raa=[];this.$b="";this.YA=Number.MAX_VALUE}k.prototype.Hu=function(){return this.fe};k.prototype.jL=function(){return this.OX};k.prototype.Au=function(){return this.fe.getType()==l.fN};k.prototype.ija=function(){return this.fe.getType()==l.hN};k.prototype.kG=function(){return this.fe.getType()==
l.gN};k.prototype.s7a=function(){return this.fe.getType()==l.H7};k.prototype.iBa=function(c,h){this.kR[h]=(this.kR[h]||[]).concat(c)};k.prototype.pJa=function(){return k.gLa.find(this.Q6a.bind(this))};k.prototype.Q6a=function(c){return void 0!==this.kR[c]&amp;&amp;0&lt;this.kR[c].length?!0:!1};k.prototype.L5=function(){return 0&lt;Object.keys(this.kR).length};k.prototype.DF=function(c){this.iBa(c,m.Le)};k.prototype.a3a=function(c){this.Raa=this.Raa.concat(c)};k.prototype.C4a=function(){return!this.pJa()&amp;&amp;0&lt;this.Raa.length};
k.prototype.gB=function(c){this.Pk=this.Pk.concat(c)};k.prototype.wi=function(){return 0&lt;this.Pk.length};k.prototype.gl=function(c){c&amp;&amp;(void 0===this.c$||this.c$&gt;c)&amp;&amp;(this.c$=c)};k.prototype.yu=function(){return this.c$};k.prototype.R1=function(c,h){if(""==this.$b||this.YA&gt;h)this.$b=c,this.YA=h};k.prototype.Ky=function(){return this.$b};k.prototype.ps=function(c){this.Opa=void 0===c?[]:Array.isArray(c)?c:[c]};k.prototype.hl=function(){return 0&lt;this.Opa.length};k.gLa=[m.Vh,m.fna,m.cz,m.Le,m.Ke];return k}()});
define("cT","require lS py bs cs V mj ps fx oJ oS".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("bs");a("cs");a("V");var k=a("mj"),c=a("ps"),h=a("fx"),g=a("oJ"),b=a("oS");a=e.extend(g,function(d,f){g.call(this,g.H7,d);this.fk=this.C=null;this.Pk=[];this.od=this.Tv=!1;this.FO=null;this.Osa=void 0;this.SQ=null;this.Cwa=void 0;this.ve=new k;this.j.add(this.ve);this.ip="";this.$b=new c;this.$b.set("alpha",0);this.j.add(this.$b);this.Aea=f?this.j.M.get("vrPointerSelectionTime"):void 0;this.Psa=this.j.M.get("vrGazePointerHideTime");
this.Y0=this.Y0.bind(this);this.Yl=this.Yl.bind(this);document.body.addEventListener("touchend",this.Y0);document.addEventListener("keyup",this.Yl,!0);b.N.bind(l.gq,this.VAa,this,!0);this.gga();this.Bga()});a.prototype.clear=function(){document.body.removeEventListener("touchend",this.Y0);document.removeEventListener("keyup",this.Yl,!0);b.N.unbind(l.gq,this.VAa,this,!0);this.pfa();this.j.remove(this.ve);this.ve=null;this.j.remove(this.$b);this.$b=null};a.prototype.update=function(d){this.C=d;this.yZa(d.Hr);
this.el()};a.prototype.Y0=function(){this.mI()};a.prototype.Yl=function(d){d.code!=m.na.yV&amp;&amp;d.code!=m.na.HH||this.mI()};a.prototype.VAa=function(){this.mI()};a.prototype.mI=function(){var d=this.Fk(l.Vf);this.$k(d);this.eF(!1);this.Qfa()};a.prototype.Qfa=function(){this.j.Db().trigger(l.WC,{uM:l.Vf})};a.prototype.el=function(){var d=this.Fk(l.El);this.$k(d);this.ux(d.Ky());a:{var f=this.Pk;for(var n=d.Pk,q=0;q&lt;f.length;q++)if(0&gt;n.indexOf(f[q])){f=!1;break a}for(q=0;q&lt;n.length;q++)if(0&gt;f.indexOf(n[q])){f=
!1;break a}f=!0}f||(this.eF(!1),this.Pk=d.Pk,this.Pk.length&amp;&amp;this.eF(!0,d.L5()))};a.prototype.yZa=function(d){this.Tv!=d&amp;&amp;(this.Tv=d,this.ve.set("changing",this.Tv),this.gga(),this.Bga())};a.prototype.eF=function(d,f){this.od!=d&amp;&amp;(this.od=d,this.ve.set("over",this.od&amp;&amp;f),this.gga(),this.Bga())};a.prototype.ux=function(d){this.ip!=d&amp;&amp;(this.ip=d,this.$b.set("text",this.ip),this.$b.set("alpha",this.ip?1:0),this.ip&amp;&amp;this.$b.Jh())};a.prototype.$k=function(d){this.j.gT().sort(function(f,n){return n.get("index")-
f.get("index")}).forEach(function(f){f.Om(d)}.bind(this))};a.prototype.Fk=function(d){this.fk=this.qDa(this.C);return new h(this,this.fk?[this.fk]:[],this.fk,d)};a.prototype.Bga=function(){!this.od||this.Tv||void 0===this.Aea?this.pfa():this.od&amp;&amp;!this.SQ&amp;&amp;this.W_a()};a.prototype.gga=function(){this.od||this.Tv||void 0===this.Psa?(this.ve.set("alpha",1),this.fza()):1!=this.ve.get("alpha")||this.FO||this.I_a()};a.prototype.pfa=function(){this.SQ&amp;&amp;(clearInterval(this.SQ),this.SQ=null)};a.prototype.W_a=
function(){this.ve.set("overProgress",0);this.Cwa=(new Date).getTime();this.SQ=setInterval(this.$Wa.bind(this),100)};a.prototype.$Wa=function(){var d=(new Date).getTime()-this.Cwa;d&gt;=this.Aea?(this.pfa(),this.mI()):this.ve.set("overProgress",d/this.Aea)};a.prototype.fza=function(){this.FO&amp;&amp;(clearInterval(this.FO),this.FO=null)};a.prototype.I_a=function(){this.Osa=(new Date).getTime();this.FO=setInterval(this.sWa.bind(this),10)};a.prototype.sWa=function(){var d=this.Psa-((new Date).getTime()-this.Osa);
this.ve.set("alpha",Math.max(.01,Math.min(1,d/500)));0&gt;=d&amp;&amp;this.fza()};return a});
define("lh","require lS jI cD eC fs h on".split(" "),function(a){var e=a("lS"),l=a("jI"),m=a("cD"),k=a("eC"),c=a("fs"),h=a("h"),g=a("on"),b=new THREE.Matrix4,d=Math.PI/180;a=e.extend(h,function(){h.call(this);this.set("tag","Laser");this.set("matrix",null);this.set("over",!1);this.set("pressed",!1);this.set("intersectionDistance",0);this.set("visible",!1);this.set("attachToCamera",!1);this.set("dotVisible",!0);this.Yda=this.GQ=this.Bt=this.Xda=null;new THREE.Matrix4;this.Zda=new THREE.Matrix4;this.Zda.multiply(b.makeRotationX(-90*
d));this.Zda.multiply(b.makeTranslation(0,.5*f,0));this.uX=this.tX=this.sX=this.dw=this.g$=null;new THREE.Matrix4;this.h$=new THREE.Matrix4;this.PN=this.rX=this.f$=null;new THREE.Matrix4;this.AD=[new THREE.Matrix4,new THREE.Matrix4,new THREE.Matrix4];this.AD[0].multiply(b.makeRotationX(-90*d));this.AD[0].multiply(b.makeTranslation(0,.5*-q,0));this.AD[1].multiply(b.makeRotationX(-90*d));this.AD[1].multiply(b.makeTranslation(0,.5*-q,.5*-n));this.AD[2].multiply(b.makeRotationX(-90*d));this.AD[2].multiply(b.makeTranslation(0,
.5*-q,-n))});a.prototype.oa=function(p){h.prototype.oa.call(this,p);this.Dga();this.eB()};a.prototype.Dga=function(){this.R("visible")&amp;&amp;(this.get("meshGroup").visible=this.get("visible"));this.R("dotVisible")&amp;&amp;k.ff([this.tX,this.rX],this.get("dotVisible")?1:0)};a.prototype.eB=function(){this.R("over","pressed")&amp;&amp;(this.dAa(),this.wAa())};var f=.35,n=.012,q=.1;a.prototype.wo=function(){this.rX=k.create(new THREE.SphereGeometry(2.3,32,32),this.uQa());this.tX=k.create(new THREE.SphereGeometry(2,32,32),
this.vQa());this.Yda=k.create(new THREE.CylinderGeometry(.003,.003,f,8),this.VQa());this.qI=[];this.qI.push(k.create(new THREE.CylinderGeometry(n,n,q,32),this.w9()));this.qI.push(k.create(new THREE.BoxGeometry(2*n,q,n),this.w9()));this.qI.push(k.create(new THREE.CylinderGeometry(n,n,q,32),this.w9()));return[this.rX,this.tX,this.Yda].concat(this.qI)};a.prototype.uQa=function(){if(null==this.f$){var p=document.createElement("canvas");p.width=p.height=256;var r=p.getContext("2d"),t=new c;t.Pm(p);this.f$=
m.Kr(t.texture(),new m.ko);r.fillStyle="rgba(0, 0, 0, 0.75)";r.clearRect(0,0,p.width,p.height);r.fillRect(0,0,p.width,p.height)}return this.f$};a.prototype.vQa=function(){null==this.g$&amp;&amp;(this.dw=document.createElement("canvas"),this.dw.width=this.dw.height=256,this.sX=this.dw.getContext("2d"),this.uX=new c,this.uX.Pm(this.dw),this.g$=m.Kr(this.uX.texture(),new m.ko),this.dAa());return this.g$};a.prototype.dAa=function(){this.sX.fillStyle=this.$$();this.sX.clearRect(0,0,this.dw.width,this.dw.height);
this.sX.fillRect(0,0,this.dw.width,this.dw.height);this.uX.update()};a.prototype.VQa=function(){null==this.Xda&amp;&amp;(this.Bt=document.createElement("canvas"),this.Bt.width=this.Bt.height=256,this.GQ=this.Bt.getContext("2d"),this.$da=new c,this.$da.Pm(this.Bt),this.Xda=m.Kr(this.$da.texture(),new m.ko),this.wAa());return[this.Xda]};a.prototype.wAa=function(){var p=g.cs(this.$$()).join(", "),r=this.GQ.createLinearGradient(0,0,0,this.Bt.height);r.addColorStop(0,"rgba("+p+", 0)");r.addColorStop(.5,"rgba("+
p+", 1)");r.addColorStop(1,"rgba("+p+", 1)");this.GQ.fillStyle=r;this.GQ.clearRect(0,0,this.Bt.width,this.Bt.height);this.GQ.fillRect(0,0,this.Bt.width,this.Bt.height);this.$da.update()};a.prototype.w9=function(){if(null==this.PN){var p=document.createElement("canvas");p.width=p.height=256;var r=p.getContext("2d"),t=new c;t.Pm(p);this.PN=m.Kr(t.texture(),new m.ko);r.fillStyle="rgba(64, 64, 64, 1)";r.clearRect(0,0,p.width,p.height);r.fillRect(0,0,p.width,p.height)}return[this.PN,this.PN,this.PN]};
a.prototype.yr=function(){var p=!1,r=!1,t=!1;if(this.R("intersectionDistance")){r=(r=this.get("intersectionDistance"))?l.qu(r):l.Rr();var u=r/l.Rr();this.h$.makeTranslation(0,0,-r);this.h$.multiply(b.makeScale(u,u,u));r=!0}this.R("matrix")&amp;&amp;(t=r=p=!0);r&amp;&amp;(b.identity(),(r=this.get("matrix"))&amp;&amp;b.multiply(r),b.multiply(this.h$),k.Jr(this.tX,b),k.Jr(this.rX,b));p&amp;&amp;(b.identity(),(r=this.get("matrix"))&amp;&amp;b.multiply(r),b.multiply(this.Zda),k.Jr(this.Yda,b));if(t)for(r=this.get("matrix"),p=0;p&lt;this.qI.length;p++)b.identity(),
r&amp;&amp;b.multiply(r),b.multiply(this.AD[p]),k.Jr(this.qI[p],b)};a.prototype.xF=function(){if(this.R("index","meshGroup")){var p=this.get("meshGroup");p&amp;&amp;p.children.forEach(function(r){k.h5(r,this.get("index"))}.bind(this))}};a.prototype.$$=function(){return this.get("pressed")?this.Ha.M.get("vrPointerSelectionColor"):this.get("over")?this.Ha.M.get("vrPointerOverColor"):this.Ha.M.get("vrPointerColor")};return a});
define("ex","require lS py cs lh mj ps fx oJ hF oS oh".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cs"),k=a("lh"),c=a("mj"),h=a("ps"),g=a("fx"),b=a("oJ"),d=a("hF"),f=a("oS"),n=a("oh"),q=new THREE.Matrix4,p=Math.PI/180;a=e.extend(b,function(r){b.call(this,b.aoa,r);this.fk=this.C=null;this.Pk=[];this.Xj=new k;this.j.add(this.Xj);this.ve=new c;this.j.add(this.ve);this.Vk=!1;this.ip="";this.$b=null;this.Ql=new THREE.Matrix4});a.prototype.clear=function(){this.j.remove(this.Xj);this.j.remove(this.ve);
this.ve=this.Xj=null;this.$b&amp;&amp;this.j.remove(this.$b);this.$b=null};a.prototype.update=function(r){this.C=r;this.ve.set("changing",r.Hr);this.ve.set("visible",r.Hr);var t=d.$i();if(t&amp;&amp;!t.u7a()){var u=t.quaternion(),v=t.position(),w=f.mh&amp;&amp;f.Bc,x=n.Ra(f.mh&amp;&amp;f.cg);this.Ql.identity();v?(this.Ql.multiply(q.makeRotationY((x-r.Ra)*p)),this.Ql.multiply(q.makeTranslation(-w.x,-w.y,-w.z)),this.Ql.multiply(q.makeTranslation(v.x,v.y,v.z)),this.Ql.multiply(q.makeRotationFromQuaternion(u))):(this.Ql.multiply(q.makeRotationY(-r.Ra*
p)),t.hand()==d.ab?this.Ql.multiply(q.makeTranslation(-.2,-.4,0)):this.Ql.multiply(q.makeTranslation(.2,-.4,0)),this.Ql.multiply(q.makeRotationY(x*p)),this.Ql.multiply(q.makeRotationFromQuaternion(u)),this.Ql.multiply(q.makeTranslation(0,0,-.3)));this.Xj.set("matrix",null);this.Xj.set("matrix",this.Ql);this.Xj.set("pressed",t.pressed());this.Xj.set("visible",!0)}else this.Xj.set("visible",!1);this.el();r=!!t&amp;&amp;t.pressed();this.Vk!=r&amp;&amp;(this.Vk&amp;&amp;this.mI(),this.Vk=r);this.Xj.Jh();this.ve.Jh()};a.prototype.mI=
function(){var r=this.Fk(l.Vf);this.$k(r);this.Xj.set("over",!0);this.Xj.set("dotVisible",!0);this.Xj.set("intersectionDistance",r.yu());d.$i();this.Qfa()};a.prototype.Qfa=function(){this.j.Db().trigger(l.WC,{uM:l.Vf})};a.prototype.el=function(){var r=this.Fk(l.El);this.$k(r);this.ux(r.Ky());a:{var t=this.Pk;for(var u=r.Pk,v=0;v&lt;t.length;v++)if(0&gt;u.indexOf(t[v])){t=!1;break a}for(v=0;v&lt;u.length;v++)if(0&gt;t.indexOf(u[v])){t=!1;break a}t=!0}t||!r.L5()&amp;&amp;!this.Xj.get("over")||(this.Pk=r.Pk,d.$i());this.Xj.set("over",
r.L5());this.Xj.set("intersectionDistance",r.yu());this.Xj.set("dotVisible",!r.C4a())};a.prototype.ux=function(r){this.ip!=r&amp;&amp;(this.ip&amp;&amp;this.j.remove(this.$b),this.ip=r)&amp;&amp;(this.$b=new h(this.ip),this.$b.set("text",this.ip),this.$b.set("matrix",null),this.$b.set("matrix",this.Ql),this.j.add(this.$b))};a.prototype.$k=function(r){this.j.gT().sort(function(t,u){return u.get("index")-t.get("index")}).forEach(function(t){t.Om(r)}.bind(this))};a.prototype.Fk=function(r){this.fk=m.K5a(this.Ql,this.fk);return new g(this,
[this.fk],this.qDa(this.C),r)};return a});
define("jG","require lS py cs V fx oJ bh".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cs"),k=a("V"),c=a("fx"),h=a("oJ"),g=a("bh");a=e.extend(h,function(b){h.call(this,h.fN,b);this.j.M.bind(l.Pb,this.Zj,this,!0);this.j.M.bind(l.Zp,this.Vta,this,!0);this.j.M.bind(l.Jb,this.JYa,this,!0);this.j.M.bind(l.hb,this.ce,this,!0);this.j.M.bind(l.Eb,this.$j,this,!0);this.Zw=this.Yw=this.ex=this.Kn=this.nd=this.md=void 0;this.fk=this.C=null;this.lK=void 0;this.$b=""});a.prototype.clear=function(){this.j.M.unbind(l.Pb,
this.Zj,this,!0);this.j.M.unbind(l.Zp,this.Vta,this,!0);this.j.M.unbind(l.hb,this.ce,this,!0);this.j.M.unbind(l.Eb,this.$j,this,!0);this.Hga&amp;&amp;(this.j.cM(g.Le),this.Hga=!1);this.ux("")};a.prototype.update=function(b){this.C=b;this.oga()};a.prototype.DDa=function(){return{x:this.md,y:this.nd,pageX:this.Yw,pageY:this.Zw}};a.prototype.Zj=function(b){this.md=b.x;this.nd=b.y;this.Yw=b.pageX;this.Zw=b.pageY;this.n1()};a.prototype.Vta=function(){this.Zw=this.Yw=this.nd=this.md=void 0;this.n1()};a.prototype.JYa=
function(){this.Zw=this.Yw=this.nd=this.md=void 0;this.n1()};a.prototype.ce=function(b){this.md=this.Kn=b.x;this.nd=this.ex=b.y;this.Yw=b.pageX;this.Zw=b.pageY;this.$k(this.Fk(l.mz))};a.prototype.$j=function(b){this.md=b.x;this.nd=b.y;this.Yw=b.pageX;this.Zw=b.pageY;this.$k(this.Fk(l.GH));this.Bba(this.Kn,this.ex,this.md,this.nd)&amp;&amp;this.$k(this.Fk(l.Vf))};a.prototype.oga=function(){this.zr||(this.zr=setTimeout(function(){this.zr=null;this.el()}.bind(this),300))};a.prototype.n1=function(){this.zr&amp;&amp;
(clearTimeout(this.zr),this.zr=null);this.el()};a.prototype.el=function(){var b=this.Fk(l.El);this.$k(b);this.ux(b.Ky());b=b.pJa();this.lK!=b&amp;&amp;(this.lK&amp;&amp;this.j.cM(this.lK),(this.lK=b)&amp;&amp;this.j.I4(this.lK))};a.prototype.ux=function(b){this.$b!=b&amp;&amp;(this.$b=b,this.j.M.set("toolTip",this.$b))};a.prototype.$k=function(b){this.j.gT().sort(function(d,f){return f.get("index")-d.get("index")}).forEach(function(d){d.Om(b)}.bind(this))};a.prototype.Fk=function(b){return new c(this,this.XX(),null,b)};a.prototype.XX=
function(){if(void 0!==this.md&amp;&amp;void 0!==this.nd&amp;&amp;this.C.Eg){var b=k.getCamera(this.C.Eg);if(b)return this.fk=m.EDa(b,this.md,this.nd,this.C.width,this.C.height,this.fk),[this.fk]}return[]};a.prototype.Bba=function(b,d,f,n){b=f-b;d=n-d;return 5&gt;=Math.sqrt(b*b+d*d)};return a});
define("gT","require lS py cs V fx oJ".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cs"),k=a("V"),c=a("fx"),h=a("oJ");a=e.extend(h,function(b){h.call(this,h.gN,b);this.M=this.j.M;this.M.bind(l.hb,this.ce,this,!0);this.M.bind(l.Eb,this.$j,this,!0);this.M.bind(l.G("touchOverAreaScale"),this.$ca,this,!0);this.ex=this.Kn=this.nd=this.md=void 0;this.Rpa=this.C=null;this.$ca();this.MXa=Array(g.length);this.$b="";this.el=this.el.bind(this)});a.prototype.clear=function(){this.M.unbind(l.hb,this.ce,
this,!0);this.M.unbind(l.Eb,this.$j,this,!0);this.M.unbind(l.G("touchOverAreaScale"),this.$ca,this,!0);this.ux("")};a.prototype.update=function(b){this.C=b;this.oga()};a.prototype.ce=function(b){this.md=this.Kn=b.x;this.nd=this.ex=b.y;this.$k(this.Fk(l.mz))};a.prototype.$j=function(b){this.md=b.x;this.nd=b.y;this.$k(this.Fk(l.GH));this.Bba(this.Kn,this.ex,this.md,this.nd)&amp;&amp;this.$k(this.Fk(l.Vf))};a.prototype.oga=function(){this.zr||(this.zr=setTimeout(this.el,300))};a.prototype.n1=function(){this.zr&amp;&amp;
(clearTimeout(this.zr),this.zr=null);this.el()};a.prototype.el=function(){this.zr=null;var b=this.Fk(l.El);this.$k(b);this.ux(b.Ky())};a.prototype.ux=function(b){if(this.$b!=b&amp;&amp;(this.$b=b,b=this.j.M,b.set("toolTip",this.$b),!b.get("toolTipDisabled"))){var d=b.Db().$b;this.$b?d.fbb(b,this.$b):d.hide()}};a.prototype.$k=function(b){this.j.gT().sort(function(d,f){return f.get("index")-d.get("index")}).forEach(function(d){d.Om(b)}.bind(this))};a.prototype.Fk=function(b){var d=b==l.El?this.XX(.5*this.C.width,
.5*this.C.height,this.Ppa,this.Rpa):this.XX(this.md,this.nd,g,this.MXa);return new c(this,d,null,b)};a.prototype.XX=function(b,d,f,n){var q=this.C.Eg&amp;&amp;k.getCamera(this.C.Eg);if(q){var p=this.C.width,r=this.C.height,t=Math.min(p,r)/100;f.forEach(function(u,v){n[v]=m.EDa(q,b+u[0]*t,d+u[1]*t,p,r,n[v])});return n}return[]};a.prototype.Bba=function(b,d,f,n){b=f-b;d=n-d;return Math.sqrt(b*b+d*d)&lt;=4*Math.round(1*Math.min(window.screen.width,window.screen.height)/100)};a.prototype.$ca=function(){this.Ppa=
this.LSa(this.M.get("touchOverAreaScale"));this.Rpa=Array(this.Ppa.length)};a.prototype.LSa=function(b){var d=[],f=Math.min(50,Math.ceil(5*b)),n=Math.min(50,Math.ceil(30*b));b=Math.min(50,Math.ceil(15*b));for(var q=-f;q&lt;=f;q++)for(var p=-f;p&lt;=f;p++){var r=Math.sqrt(p*p+q*q);r&lt;=f&amp;&amp;d.push([p,q,r])}for(p=-n;p&lt;-f;p++)d.push([p,0,Math.sqrt(p*p)]);for(p=f+1;p&lt;=n;p++)d.push([p,0,Math.sqrt(p*p)]);for(q=-b;q&lt;-f;q++)d.push([0,q,Math.sqrt(q*q)]);for(q=f+1;q&lt;=b;q++)d.push([0,q,Math.sqrt(q*q)]);d.sort(function(t,
u){return t[2]-u[2]});return d.map(function(t){return[t[0],t[1]]})};var g=function(){for(var b=[],d=0;5&gt;d;d++)for(var f=-2+4*d/4,n=0;5&gt;n;n++){var q=-2+4*n/4,p=Math.sqrt(q*q+f*f);2&gt;=p&amp;&amp;b.push([q,f,p])}b.sort(function(r,t){return r[2]-t[2]});return b.map(function(r){return[r[0],r[1]]})}();return a});
define("pE","require exports py ps fx oJ jI oS three.mod".split(" "),function(a,e,l,m,k,c,h,g,b){function d(r,t){for(var u=0;u&lt;r.length;u++)if(0&gt;t.indexOf(r[u]))return!1;for(u=0;u&lt;t.length;u++)if(0&gt;r.indexOf(t[u]))return!1;return!0}a=function(r){function t(u){u=r.call(this,c.hN,u)||this;u.Hr=!1;u.dHa=new Map;u.bM=new Map;u.FT=null;u.Wla=u.Wla.bind(u);document.body.addEventListener("touchend",u.Wla);g.N.bind(l.Vf,u.Yr,u,!0);return u}Z(t,r);t.prototype.clear=function(){g.N.unbind(l.Vf,this.Yr,this);
this.bM.forEach(function(u,v,w){this.sCa(u);w.delete(v)}.bind(this))};t.prototype.update=function(u){this.state=u;this.hcb();this.By(u.Hr);this.DM()};t.prototype.Yr=function(u){this.FT=u=u.data.pointerState;this.aIa(u)};t.prototype.Wla=function(){var u=g.ng[0]||null;u&amp;&amp;this.aIa(u)};t.prototype.aIa=function(u){f.copy(u.ray).applyMatrix4(u.matrixWorld);var v=new k(this,[f],g.jL,l.Vf,this.FT==u);this.$Ha(v);g.hla(u,!1,!1,u.yu);g.bIa(u,50);this.Ybb()};t.prototype.By=function(u){this.Hr!==u&amp;&amp;(this.Hr=
u,g.ng.forEach(function(v){g.pab(v,u)}))};t.prototype.hcb=function(){this.bM.forEach(function(u,v){g.ng.includes(v)||(this.sCa(u),this.bM.delete(v))}.bind(this));g.ng.forEach(function(u){this.bM.has(u)||this.bM.set(u,this.w4a());g.OIa(u,!1)}.bind(this))};t.prototype.DM=function(){this.FT=this.FT||(g.ng.length?g.ng.find(function(z){return"right"==z.handedness})||g.ng[0]:null);for(var u=0;u&lt;g.ng.length;u++){var v=g.ng[u];f.copy(v.ray).applyMatrix4(v.matrixWorld);var w=new k(this,[f],g.jL,l.El,this.FT==
v);this.$Ha(w);this.Bcb(w,v);var x=this.dHa.get(v),y=w.Pk;x&amp;&amp;d(x,y)||(this.dHa.set(v,y),x=(x=w.yu())?h.qu(x):h.Rr(),y=0&lt;y.length,((w=w.L5())||v.WL)&amp;&amp;g.bIa(v,5),g.hla(v,y,w,x))}};t.prototype.Bcb=function(u,v){var w=u.Ky()||"",x=this.bM.get(v);x&amp;&amp;w!==x.get("text")&amp;&amp;(w?(x.set("text",w),x.set("alpha",1),x.Jh(),w=(w=u.yu())?h.qu(w):h.Rr(),n.radius=w,x.set("intersectionYaw",void 0),x.set("intersectionPitch",void 0),f.copy(v.ray).applyMatrix4(v.matrixWorld),f.intersectSphere(n,q)&amp;&amp;(0==q.x&amp;&amp;0==q.z||x.set("intersectionYaw",
p*Math.atan2(q.x,-q.z)),0==q.y&amp;&amp;0==q.z||x.set("intersectionPitch",p*Math.atan2(q.y,Math.sqrt(q.z*q.z+q.x*q.x))),x.set("intersectionDistance",u.yu()))):(x.set("text",""),x.set("alpha",0)))};t.prototype.$Ha=function(u){this.j.gT().sort(function(v,w){return w.get("index")-v.get("index")}).forEach(function(v){v.Om(u)}.bind(this))};t.prototype.Ybb=function(){var u=this.j.Db();u&amp;&amp;u.trigger(l.WC,{uM:l.Vf})};t.prototype.w4a=function(){var u=new m;u.set("alpha",0);this.j.add(u);return u};t.prototype.sCa=function(u){this.j.remove(u)};
return t}(c);var f=new b.Ray,n=new b.Sphere,q=new b.Vector3,p=180/Math.PI;return a});define("hI","require cT ex jG oJ gT pE".split(" "),function(a){var e=a("cT"),l=a("ex"),m=a("jG"),k=a("oJ"),c=a("gT"),h=a("pE");return{create:function(g,b){switch(g){case k.hN:return new h(b);case k.H7:return new e(b,!0);case k.XV:return new e(b,!1);case k.aoa:return new l(b);case k.fN:return new m(b);case k.gN:return new c(b)}}}});
define("qd",["require","bh"],function(a){function e(m){this.ad=m;this.df=[]}var l=a("bh");e.prototype.push=function(m){this.df.push(m);this.oa()};e.prototype.pop=function(m){for(var k=this.df.length-1;0&lt;=k;k--)if(this.df[k]==m){this.df.splice(k,1);this.oa();break}};e.prototype.clear=function(){0&lt;this.df.length&amp;&amp;(this.ad.set("cursor",l.Ke),this.df=[])};e.prototype.oa=function(){var m=0&lt;=this.df.indexOf(l.Vh)?l.Vh:0&lt;=this.df.indexOf(l.Le)?l.Le:0&lt;this.df.length?this.df[this.df.length-1]:l.Ke;this.ad.set("cursor",
m)};return e});
define("mD","require lS le py cI e bh w hF iF kH pF eS ef gM hI oJ qd pG kV lw oS bn oz".split(" "),function(a){var e=a("lS"),l=a("le"),m=a("py"),k=a("cI"),c=a("e"),h=a("bh"),g=a("w"),b=a("hF"),d=a("iF"),f=a("kH"),n=a("pF"),q=a("eS"),p=a("ef"),r=a("gM"),t=a("hI"),u=a("oJ"),v=a("qd"),w=a("pG"),x=a("kV"),y=a("lw"),z=a("oS"),B=a("bn"),D=a("oz"),I=Math.PI/180,A=e.extend(c,function(E,J,C){c.call(this);this.Re("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",h.kv);this.set("layout","absolute");
this.set("interactionEnabled",!1);this.Vd=E;this.M=J;this.Yc=C;this.ue=new v(J);this.fe=null;this.U$=!1;this.C=new n;this.Ha=new r(this.Vd,this.M,this.Yc,this);this.Ha.bind(m.ba,this.requestFrame,this,!0);this.uj=new q(this.M);this.C.Eg=this.uj.qf();this.C.DS=this.uj.Gqa;this.C.ES=this.uj.Hqa;this.C.camera=this.uj.getCamera();this.Ata=(new Date).getTime();this.nO=new f;this.Yb().append(this.nO.gd());this.V0=new x;this.V0.bind(m.ea,this.eXa,this,!0);this.tua=new w;this.tua.bind(m.ba,this.KWa,this,
!0);this.LX=new d(this.C.width,this.C.height,this.C.Ve*I);this.bind(m.tc,this.Ic,this,!0);this.bind(m.jd,this.tj,this,!0);this.bind(m.cd,this.sj,this,!0);z.N.bind(m.ba,this.No,this,!0);b.bind(m.ba,this.rWa,this,!0);l.da(this.Yc,["fxaaEnabled","aaEnabled","hotspotsEnabled","preloadEnabled"],function(){this.C.fG=this.Yc.get("hotspotsEnabled");this.C.eU=this.Yc.get("preloadEnabled");this.C.pia=this.Yc.get("fxaaEnabled");this.C.kS=this.Yc.get("aaEnabled");this.requestFrame()}.bind(this),!0);l.da(this.Yc,
["surfaceSelectionEnabled"],this.yga.bind(this));this.yga();this.No();l.da(this.Vd,["defaultVRPointer"],this.kp.bind(this));this.kp()});A.prototype.create=function(E){return p.create(E)};A.prototype.add=function(E){this.Ha.appendChild(E);1==this.Ha.pb().length&amp;&amp;this.oWa()};A.prototype.remove=function(E){if(E=this.Ha.Df(E))E.remove(),0==this.Ha.pb().length&amp;&amp;this.yWa()};A.prototype.Df=function(E){return this.Ha.Df(E)};A.prototype.gT=function(){return this.Ha.all()};A.prototype.A$a=function(E){this.U$!=
E&amp;&amp;(this.U$=E,this.kp())};A.prototype.GIa=function(E){this.C.Fja=E};A.prototype.I4=function(E){this.ue.push(E)};A.prototype.cM=function(E){this.ue.pop(E)};A.prototype.By=function(E){this.C.Hr=E;this.requestFrame()};A.prototype.GG=function(){this.nO.trigger();this.C.hG=!0;this.O_();var E=D.ZJa(this.uj.dg());this.C.hG=!1;this.O_();return E};A.prototype.Cha=function(E){this.C.hG=!0;this.O_();E=this.uj.Cha(E);this.C.hG=!1;return E};A.prototype.getPixelRatio=function(){return this.uj.getPixelRatio()};
A.prototype.Wr=function(){return!!this.uj&amp;&amp;this.uj.Wr()};A.prototype.kp=function(){var E=this.C.sb?u.hN:this.U$?u.XV:g.qb()?u.gN:u.fN;this.fe&amp;&amp;this.fe.getType()==E||(this.fe&amp;&amp;this.fe.clear(),this.fe=t.create(E,this),this.yga(),this.fe.update(this.C))};A.prototype.yga=function(){this.C.UU=this.Yc.get("surfaceSelectionEnabled")&amp;&amp;0&lt;=[u.fN,u.hN,u.gN,u.XV].indexOf(this.fe&amp;&amp;this.fe.getType())};A.prototype.Ln=function(){this.ue.clear();c.prototype.Ln.call(this)};A.prototype.Ic=function(){var E=this.Za(),
J=this.Cb();if(this.C.width!=E||this.C.height!=J)E&amp;&amp;J?(this.C.width=E,this.C.height=J,this.LX.OU(this.C.width),this.LX.wIa(this.C.height),this.requestFrame()):e.log("Invalid size values: "+E+" "+J)};A.prototype.tj=function(){this.C.enabled=!0;this.requestFrame()};A.prototype.sj=function(){this.C.enabled=!1};A.prototype.No=function(){this.C.sb=z.isPresenting;this.kp();this.requestFrame()};A.prototype.rWa=function(){this.kp();this.requestFrame()};A.prototype.eXa=function(){this.requestFrame()};A.prototype.KWa=
function(){this.requestFrame()};A.prototype.oWa=function(){this.V0.b5(this.M.Pd().Ur())};A.prototype.yWa=function(){this.uj.i5a();this.V0.b5(null)};A.prototype.RIa=function(E){this.Q_!=E&amp;&amp;((this.Q_=E)||this.requestFrame())};A.prototype.TG=function(E){this.C.Rm!=E&amp;&amp;(this.C.Rm=E,this.requestFrame())};A.prototype.setPosition=function(E,J,C,L){if(this.C.Ra!=E||this.C.pitch!=J||this.C.Dg!=C||this.C.Ve!=L)isNaN(E)||isNaN(J)||isNaN(C)||!L?e.log("Invalid position values: "+E+" "+J+" "+C+" "+L):(this.C.Ra=
E,this.C.pitch=J,this.C.Dg=C,this.C.Ve=L,this.LX.NG(this.C.Ve*I),this.requestFrame())};A.prototype.Oc=function(){return this.C.Ra};A.prototype.Nc=function(){return this.C.pitch};A.prototype.eg=function(){return this.C.Dg};A.prototype.Ee=function(){return this.C.Ve};A.prototype.kL=function(){return this.C.sb?this.C.ti:y.Lp(this.C.ti,this.C.width,this.C.height)};A.prototype.lL=function(){return this.C.ti};A.prototype.unproject=function(E){return this.LX.unproject(E)};A.prototype.requestFrame=function(){B.requestFrame(this.ck,
this)};A.prototype.ck=function(){if(B.o3){var E=(new Date).getTime(),J=Math.max(1,Math.min(E-this.Ata,33));this.Ata=E;this.trigger(new k(A.R6,{frameTime:J}));this.C.enabled&amp;&amp;(this.C.Te=J,this.O_())}else this.requestFrame()};A.prototype.O_=function(){0!=this.Ha.pb().length&amp;&amp;(this.uj.update(this.C),this.C.Gr=this.uj.u5a(),this.C.Fr=this.uj.t5a(),this.C.ti=this.uj.r5a(),this.C.qk=this.uj.getPixelRatio(),this.C.camera=this.uj.getCamera(),this.Ha.update(this.C),this.V0.update(this.C),this.tua.update(this.C),
this.fe.update(this.C),this.Q_||this.uj.render())};A.R6="render start";A.ueb=function(){return!0};return A});
define("gd",["require","lS","cI","gE","mD"],function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("mD"),c=e.extend(m,function(h){m.call(this);this.j=h;this.j.bind(k.R6,this.ewa,this,!0)});c.prototype.clear=function(){this.j.unbind(k.R6,this.ewa,this,!0);this.j=null};c.prototype.requestFrame=function(){this.j.requestFrame()};c.prototype.ewa=function(h){h=h.data.frameTime;this.trigger(new l(c.Rp,{frameTime:h}));this.trigger(new l(c.Sp,{frameTime:h}))};c.Rp="frameStart";c.Sp="positionSet";return c});
define("dD",["require","w","lw"],function(a){function e(){this.wa=this.sa=0;this.Wa=90;this.jm="landscape";this.dda=!1;this.OO=l.qb()}var l=a("w"),m=a("lw");e.prototype.BIa=function(k){this.Wa=this.bDa(k)};e.prototype.bDa=function(k){return this.OO&amp;&amp;"portrait"==this.jm?m.NF(k,this.wa,this.sa):k};e.prototype.S5a=function(k){return this.OO&amp;&amp;"portrait"==this.jm?m.Em(k,this.sa,this.wa):k};e.prototype.Ep=function(k){this.Wa=this.OO&amp;&amp;this.dda?m.NF(k,this.wa,this.sa):k};e.prototype.MEa=function(){return this.OO&amp;&amp;
this.dda};e.prototype.Xx=function(){return this.OO&amp;&amp;"portrait"==this.jm};e.prototype.Ee=function(){return this.Wa};e.prototype.h2=function(k){return m.NF(k,this.wa,this.sa)};e.prototype.setSize=function(k,c){this.sa=k;this.wa=c;k=this.BTa();this.dda=this.jm!=k;this.jm=k};e.prototype.BTa=function(){return 0===this.sa||0===this.wa?"landscape":this.sa&lt;this.wa?"portrait":"landscape"};return e});
define("ox","require lS bs cI gE ju".split(" "),function(a){var e=a("lS"),l=a("bs"),m=a("cI"),k=a("gE"),c=a("ju"),h=e.extend(k,function(g){k.call(this);this.j=g;this.W=!1;this.Yl=this.Yl.bind(this);this.Yc=this.j.Yc});h.prototype.clear=function(){this.Yc=this.j=null};h.prototype.rb=function(g){this.W!=g&amp;&amp;(this.W&amp;&amp;document.removeEventListener("keyup",this.Yl),(this.W=g)&amp;&amp;document.addEventListener("keyup",this.Yl))};h.prototype.Yl=function(g){c.tp()||this.Yc.get("gazeModeEnabled")||"translate"!=this.Yc.get("arrowKeysAction")||
(g.which!=l.Rh||g.shiftKey?g.which!=l.hj||g.shiftKey||this.trigger(new m(h.I6)):this.trigger(new m(h.H6)))};h.I6="moveForward";h.H6="moveBackward";return h});
define("jj","require es lS py cI gE ox".split(" "),function(a){a("es");var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("ox");a=e.extend(k,function(g){k.call(this);this.j=g;this.xn=new c(g);this.xn.bind(c.I6,this.hva,this,!0);this.xn.bind(c.H6,this.gva,this,!0)});a.prototype.clear=function(){this.xn.unbind(c.I6,this.hva,this,!0);this.xn.unbind(c.H6,this.gva,this,!0);this.xn.clear();this.xn=null};a.prototype.XB=function(g){this.xn.rb(g)};a.prototype.tf=function(g){this.za=g};a.prototype.end=function(){this.za=
null};a.prototype.hva=function(g){this.Nza(g);(g=this.Xxa(this.j.Oc(),this.qsa()))&amp;&amp;g.trigger(l.gq)};a.prototype.gva=function(g){this.Nza(g);(g=this.Xxa(this.j.Oc()-180,this.qsa()))&amp;&amp;g.trigger(l.gq)};a.prototype.Nza=function(g){this.j.Db().trigger(new m(l.WC,{uM:g}))};a.prototype.qsa=function(){return this.j.Yc.get("keyboardTranslateSelectionAngle")};a.prototype.Xxa=function(g,b){var d,f;if(!this.za)return null;void 0!==d||(d=-90);void 0!==f||(f=360);var n=g-.5*b,q=g+.5*b,p=Math.max(-90,d-.5*f),r=
Math.max(90,d+.5*f);b=this.za.get("adjacentPanoramas",[]).slice();b=b.filter(function(t){if(!t.get("enabled"))return!1;t=this.Eq(t);if(!t)return!1;var u=t.Ra;for(var v=g-180,w=g+180;u&lt;v;)u+=w-v;for(;u&gt;w;)u-=w-v;t=t.pitch;return n&lt;=u&amp;&amp;u&lt;=q&amp;&amp;p&lt;=t&amp;&amp;t&lt;=r}.bind(this));if(0==b.length)return null;b.sort(function(t,u){t=this.Eq(t);u=this.Eq(u);return(g-t.Ra)*(g-t.Ra)+(d-t.pitch)*(d-t.pitch)-((g-u.Ra)*(g-u.Ra)+(d-u.pitch)*(d-u.pitch))}.bind(this));return b[0]};a.prototype.Eq=function(g){var b=g.get("yaw");
g=g.get("distance");if(void 0===b||void 0===g)return null;var d=this.za.get("distanceToFloor");return{Ra:b,pitch:-90+Math.atan2(g,d)*h}};var h=180/Math.PI;return a});
define("mp","require lS py cI gE nQ by pJ y nc kx gd dD jj fI".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("nQ"),h=a("by"),g=a("pJ"),b=a("y"),d=a("nc"),f=a("kx"),n=a("gd"),q=a("dD"),p=a("jj"),r=a("fI"),t=e.extend(k,function(u,v){k.call(this);this.M=u;this.j=v;this.j.set("visible",!1);this.Uc=new q;this.vg=new n(this.j);this.oe=new d(this.j);this.Sb=new g(this.M,this.j,this.Uc);this.jb=new h(this.j,this.Uc);this.Kf=new b(this.j);this.Gw=new f(this.j);this.Yd=new c(this.j);
this.a1=new p(this.j);this.vg.bind(n.Rp,this.xA,this,!0);this.vg.bind(n.Sp,this.yA,this,!0);this.oe.bind(l.hd,this.qva,this,!0);this.oe.bind(l.Wf,this.OP,this,!0);this.oe.bind(l.kc,this.Ki,this,!0);this.Sb.bind(g.Ob,this.cf,this,!0);this.Sb.bind(g.S6,this.rva,this,!0);this.Sb.bind(g.J6,this.Jva,this,!0);this.Sb.bind(g.p6,this.zua,this,!0);this.Sb.bind(g.q6,this.Aua,this,!0);this.Sb.bind(g.BC,this.XP,this,!0);this.Sb.bind(g.zC,this.wA,this,!0);this.Sb.bind(g.AC,this.Uw,this,!0);this.Sb.bind(g.yC,this.WP,
this,!0);this.Sb.bind(g.Tp,this.BA,this,!0);this.jb.bind(h.Ob,this.cf,this,!0);this.jb.bind(h.wk,this.Tq,this);this.jb.bind(h.Qp,this.En,this);this.jb.bind(h.Sc,this.kf,this,!0);this.jb.bind(h.gj,this.Zq,this,!0);this.jb.bind(h.fj,this.Yq,this,!0);this.Kf.bind(b.Ob,this.cf,this,!0);this.Kf.bind(b.Kj,this.Xq,this,!0);this.Kf.bind(b.Sc,this.kf,this,!0);this.Gw.bind(f.xi,this.xva,this,!0)});t.prototype.clear=function(){this.oe.clear();this.vg.clear();this.jb.clear();this.Sb.clear();this.Kf.clear();this.Gw.clear();
this.Yd.clear();this.oe.unbind(l.hd,this.qva,this);this.oe.unbind(l.Wf,this.OP,this);this.oe.unbind(l.kc,this.Ki,this);this.vg.unbind(n.Rp,this.xA,this);this.vg.unbind(n.Sp,this.yA,this);this.Sb.unbind(g.Ob,this.cf,this);this.Sb.unbind(g.S6,this.rva,this);this.Sb.unbind(g.J6,this.Jva,this);this.Sb.unbind(g.p6,this.zua,this);this.Sb.unbind(g.q6,this.Aua,this);this.Sb.unbind(g.BC,this.XP,this);this.Sb.unbind(g.zC,this.wA,this);this.Sb.unbind(g.AC,this.Uw,this);this.Sb.unbind(g.yC,this.WP,this);this.Sb.unbind(g.Tp,
this.BA,this);this.jb.unbind(h.DLa,this.cf,this);this.jb.unbind(h.wk,this.Tq,this);this.jb.unbind(h.Qp,this.En,this);this.jb.unbind(h.Sc,this.kf,this,!0);this.jb.unbind(h.gj,this.Zq,this);this.jb.unbind(h.fj,this.Yq,this);this.Kf.unbind(b.Ob,this.cf,this);this.Kf.unbind(b.Kj,this.Xq,this);this.Kf.unbind(b.Sc,this.kf,this);this.Gw.unbind(f.xi,this.xva,this);this.M=this.j=this.a1=this.Yd=this.Gw=this.Kf=this.Sb=this.jb=this.vg=this.oe=null};t.prototype.W4=function(u){this.Gw.W4(u)};t.prototype.ela=
function(u){this.Sb.ela(u)};t.prototype.tf=function(u,v,w){this.j.set("visible",!0);this.Kf.o5();u.set("currentTime",w);this.Sb.start(u,v)};t.prototype.tB=function(){return this.oe.za||this.Sb.z5a()||this.Sb.bt};t.prototype.Ay=function(){this.oe.stop();this.Kf.end();this.jb.end();this.Sb.hide();this.Gw.stop();this.Yd.end();this.a1.end()};t.prototype.gM=function(){this.jb.resume();this.Kf.gM()};t.prototype.YL=function(){this.jb.pause();this.Kf.YL()};t.prototype.play=function(){this.jb.play();this.Yd.play();
this.Kf.play()};t.prototype.pause=function(){this.jb.pause();this.Yd.pause();this.Kf.pause()};t.prototype.stop=function(){this.jb.stop();this.Yd.stop();this.Kf.stop()};t.prototype.XB=function(u){this.jb.XB(u);this.a1.XB(u)};t.prototype.getTime=function(){return this.Kf.getTime()};t.prototype.moveTo=function(u,v,w,x,y){this.jb.moveTo(u,v,w,x,y)};t.prototype.Oc=function(){return this.j?this.j.Oc():void 0};t.prototype.Nc=function(){return this.j?this.j.Nc():void 0};t.prototype.eg=function(){return this.j?
this.j.eg():void 0};t.prototype.Ee=function(){return this.j?this.Uc.S5a(this.j.Ee()):void 0};t.prototype.kL=function(){return this.j?this.j.kL():void 0};t.prototype.lL=function(){return this.j?this.j.lL():void 0};t.prototype.kf=function(){var u=this.Kf.pk()||this.jb.pk();this.trigger(new m(t.Sc,{state:u}))};t.prototype.rk=function(u){this.jb.rk(u)};t.prototype.xU=function(u){this.jb.xU(u)};t.prototype.YB=function(u){this.jb.YB(u)};t.prototype.yU=function(u){this.jb.yU(u)};t.prototype.Tf=function(u){this.Kf.Tf(u)};
t.prototype.UG=function(u){this.jb.UG(u)};t.prototype.Mia=function(u,v){return(u=r.get(u,v,this.j.Oc(),this.j.Nc(),this.j.eg(),this.j.Ee(),this.j.Za(),this.j.Cb()))?{x:u.x,y:u.y}:null};t.prototype.$5a=function(u,v){return(u=r.Gcb(u,v,this.j))?{yaw:u.Ra,pitch:u.pitch}:null};t.prototype.GG=function(){this.j.GG()};t.prototype.Yia=function(){return this.Sb.Yia()};t.prototype.rva=function(u){this.oe.start(u.data.panorama)};t.prototype.Ki=function(u){this.j.By(100&gt;u.Tg);this.trigger(new m(t.dv,{percent:u.Tg}))};
t.prototype.qva=function(u){this.Kf.end();this.a1.tf(u.data.panorama)};t.prototype.OP=function(){this.j.By(!1);this.trigger(new m(t.sC))};t.prototype.cf=function(){this.vg.requestFrame()};t.prototype.xA=function(u){u=u.data.frameTime;this.Uc.setSize(this.j.Za(),this.j.Cb());this.Sb.wy(u);this.jb.wy(u)};t.prototype.yA=function(u){u=u.data.frameTime;this.Sb.Nd(u);this.jb.Nd(u);this.Kf.Nd(u);this.Gw.Nd(u);this.Yd.Nd(u)};t.prototype.XP=function(u){this.Gw.display(u.data.panorama);this.Kf.yL(u.data.panorama);
this.trigger(new m(t.BC,{panorama:u.data.panorama}))};t.prototype.Jva=function(u){this.Gw.hide(u.data.panorama)};t.prototype.zua=function(u){this.Kf.start(u.data.panorama);this.Yd.start(u.data.panorama)};t.prototype.Aua=function(){this.Kf.end();this.j.set("visible",!1)};t.prototype.WP=function(u){this.jb.end();this.Yd.end(u.data.nextPanorama);this.trigger(new m(t.yC,{panorama:u.data.panorama}))};t.prototype.Uw=function(u){this.jb.start(u.data.panorama,u.data.camera);this.trigger(new m(t.AC,{panorama:u.data.panorama}))};
t.prototype.wA=function(u){this.trigger(new m(t.zC,{panorama:u.data.panorama}))};t.prototype.xva=function(u){this.jb.nla(u.data.yawDelta,0)};t.prototype.Tq=function(u){this.trigger(new m(t.wk,u.data))};t.prototype.En=function(u){this.trigger(new m(t.Qp,u.data))};t.prototype.BA=function(u){this.trigger(new m(t.Tp,u.data))};t.prototype.Zq=function(){this.Kf.EM();this.trigger(new m(t.gj))};t.prototype.Yq=function(){this.trigger(new m(t.fj))};t.prototype.sIa=function(u){this.Kf.QG(u)};t.prototype.WB=
function(u){this.Kf.WB(u)};t.prototype.Xq=function(u){this.trigger(new m(t.Kj,u.data))};t.dv="loadingProgress";t.sC="loadingEnd";t.wk="movementChange";t.Qp="positionChange";t.BC="panoramaStart";t.yC="panoramaEnd";t.AC="panoramaShow";t.zC="panoramaHide";t.Sc="playbackStateChange";t.gj="userInteractionStart";t.fj="userInteractionEnd";t.Kj="timeChange";t.Tp="transitionEnd";return t});
define("pd","require lS py cI lu pO ol kk iY hK mp ew mD ij js oS ep hg ju".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("lu"),c=a("pO"),h=a("ol"),g=a("kk"),b=a("iY"),d=a("hK"),f=a("mp"),n=a("ew"),q=a("mD"),p=a("ij"),r=a("js"),t=a("oS"),u=a("ep"),v=a("hg"),w=a("ju"),x=h.define("PanoramaPlayer",b,function(){b.call(this,"panorama");b.prototype.set.call(this,"rotationEnabled",!0);b.prototype.set.call(this,"zoomEnabled",!0);b.prototype.set.call(this,"surfaceSelectionEnabled",!1);b.prototype.set.call(this,
"surfaceSelectionHorizontalAngle",90);b.prototype.set.call(this,"surfaceSelectionVerticalAngle",180);b.prototype.set.call(this,"adjacentPanoramaPositionsEnabled",!1);b.prototype.set.call(this,"fxaaEnabled",!1);b.prototype.set.call(this,"aaEnabled",!1);this.rfa=this.Xaa=this.aA=this.NX=this.ZY=this.RY=this.S8=this.FA=this.ri=this.o8=!1;this.zaa=!0;this.y0=this.FY=this.un=this.bX=!1;this.afa=w.tp();w.I2.bind(l.ba,this.uWa,this,!0);this.Aq=!1;this.KX=this.R$=this.nf=this.Xb=0;this.yda=this.Ada=void 0;
this.uca=!0;this.Oi=k.V;this.Ko=this.Ko.bind(this);this.O=this.j=null;this.iua={};for(var y in x.Dv)this.iua[y]=this.PQa(y);this.AW=new g(this,"buttonToggleGyroscope",u.Oj);this.AW.bind(l.Lj,function(){this.set("gyroscopeEnabled",!0)},this);this.AW.bind(l.Gl,function(){this.set("gyroscopeEnabled",!1)},this);this.AW.set("pressed",this.get("gyroscopeEnabled")&amp;&amp;p.ik);(new g(this,"buttonCardboardView",u.Me)).bind(l.ma,function(){this.set("viewMode",x.bD)},this,!0);(new g(this,"buttonVRView",u.Me)).bind(l.ma,
function(){this.set("viewMode",x.bD)},this,!0);t.N.bind(l.ba,function(){this.Rfa("viewMode");this.trigger(x.W6)},this,!0);this.zW=new g(this,"buttonToggleGazeMode",u.Oj);this.zW.bind(l.Lj,function(){this.set("gazeModeEnabled",!0)},this);this.zW.bind(l.Gl,function(){this.set("gazeModeEnabled",!1)},this);this.zW.set("pressed",this.get("gazeModeEnabled"));this.BW=new g(this,"buttonToggleHotspots",u.Oj);this.BW.bind(l.Lj,function(){this.set("hotspotsEnabled",!0)},this);this.BW.bind(l.Gl,function(){this.set("hotspotsEnabled",
!1)},this);this.BW.set("pressed",this.get("hotspotsEnabled"));this.FW=new g(this,"buttonToggleSurfaceSelection",u.Oj);this.FW.bind(l.Lj,function(){this.set("surfaceSelectionEnabled",!0)},this);this.FW.bind(l.Gl,function(){this.set("surfaceSelectionEnabled",!1)},this);this.FW.set("pressed",this.get("surfaceSelectionEnabled"));this.jPa=new g(this,"buttonScreenshot",u.Me);this.jPa.bind(l.ma,this.Oxa,this,!0);this.Jd=e.Ap(this.ih,this)});x.sLa="cameraPositionChange";x.dv="loadingProgress";x.zLa="preloadMediaShow";
x.W6="viewModeChange";x.prototype.moveLeft=function(){this.Zc(n.BH)};x.prototype.moveRight=function(){this.Zc(n.CH)};x.prototype.moveUp=function(){this.Zc(n.DH)};x.prototype.moveDown=function(){this.Zc(n.AH)};x.prototype.playLeft=function(){this.Zc([n.BH,n.PLAYING])};x.prototype.playRight=function(){this.Zc([n.CH,n.PLAYING])};x.prototype.playUp=function(){this.Zc([n.DH,n.PLAYING])};x.prototype.playDown=function(){this.Zc([n.AH,n.PLAYING])};x.prototype.play=function(){this.Sk()};x.prototype.pause=
function(){this.br()};x.prototype.stop=function(){this.AA()};x.prototype.seek=function(y){this.aF(y)};x.prototype.setFramePlaybackPosition=function(y){this.HZa(y)};x.prototype.setFrameTransitionPosition=function(y){this.IZa(y)};x.prototype.restart=function(){this.zA()};x.prototype.zoomIn=function(){this.Zc(n.Bv)};x.prototype.zoomOut=function(){this.Zc(n.Cv)};x.prototype.resumeCamera=function(){this.IYa()};x.prototype.pauseCamera=function(){this.zXa()};x.prototype.moveTo=function(y,z,B,D){this.hua(y,
z,B,D,!1)};x.prototype.setPosition=function(y,z,B,D){this.hua(y,z,B,D,!0)};x.prototype.getScreenPosition=function(y,z){return this.RTa(y,z)};x.prototype.getPanoramaPosition=function(y,z){return this.CTa(y,z)};x.prototype.saveScreenshot=function(){return this.Oxa()};x.prototype.get=function(y,z){switch(y){case "currentTime":return this.O&amp;&amp;this.O.getTime()||0;case "viewMode":return t.isPresenting?x.bD:x.W7;case "video":y="panorama";break;case "rendererPanorama":return this.O&amp;&amp;this.O.tB()}if(!z)switch(y){case "mouseControlMode":z=
c.cna;break;case "touchControlMode":z=c.Vna}return b.prototype.get.call(this,y,z)};x.prototype.set=function(y,z){if(this.get(y)!=z){switch(y){case "application":this.o8=!0;this.Jd();break;case "startTime":this.FA=!0;this.Jd();break;case "video":case "panorama":y="panorama";this.FA=!0;this.Jd();break;case "camera":this.S8=!0;this.Jd();break;case "viewerArea":this.ri=!0;this.Jd();break;case "displayPlaybackBar":case "hdrPanoramaDisplayPlaybackBarSteps":case "livePanoramaDisplayPlaybackBarSteps":case "buttonPlay":case "buttonPlayPause":this.Aq=
!0;this.Jd();break;case "mapPlayer":this.RY=!0;this.Jd();break;case "model3DPlayer":this.ZY=!0;this.Jd();break;case "gazeModeEnabled":this.NX=!0;this.Jd();break;case "gyroscopeEnabled":this.aA=!0;this.Jd();break;case "gyroscopeVerticalDraggingEnabled":this.zaa=!0;this.Jd();break;case "viewMode":"vr"==z&amp;&amp;(z=x.bD);z==x.bD?this.get("viewerArea").set("viewMode","vr"):this.get("viewerArea").set("viewMode","standard");z=t.isPresenting?x.bD:x.W7;break;case "hotspotsEnabled":this.Xaa=!0;this.Jd();break;case "mouseControlMode":case "touchControlMode":this.bX=
!0;this.Jd();break;case "surfaceSelectionEnabled":this.rfa=!0,this.Jd()}b.prototype.set.call(this,y,z)}};x.prototype.Fp=function(y){this.un!=y&amp;&amp;((this.un=y)?document.addEventListener("keyup",this.Ko,!0):document.removeEventListener("keyup",this.Ko,!0),this.O&amp;&amp;this.O.XB(this.un),this.FY=!0,this.Jd())};x.prototype.uWa=function(){var y=w.tp();this.afa!==y&amp;&amp;(this.y0=!0,this.afa=y,this.Jd())};x.prototype.Ko=function(y){var z=this.get("gazeModeKeyCode");z&amp;&amp;!w.tp()&amp;&amp;y.code==z&amp;&amp;this.set("gazeModeEnabled",
!this.get("gazeModeEnabled"))};x.prototype.Eha=function(){return"inherit"!=this.get("doubleClickAction")};x.prototype.acb=function(){this.EG([this])};x.prototype.I8=function(y){b.prototype.I8.call(this,y);y.bind(l.Dl,this.RAa,this,!0)};x.prototype.Wfa=function(y){b.prototype.Wfa.call(this,y);y.unbind(l.Dl,this.RAa,this,!0)};x.prototype.RAa=function(){switch(this.get("doubleClickAction")){case "toggle_fullscreen":var y=this.get("application").qj;y&amp;&amp;y.ik()&amp;&amp;y.toggle()}};x.prototype.PQa=function(y){var z=
x.Dv[y];y=new g(this,y,u.Me);y.bind(l.hb,function(){this.Zc(z.movement)},this);z.stopOnRelease&amp;&amp;y.bind(l.Eb,function(){this.Zc(n.Wf)},this);return y};x.prototype.ih=function(){if(this.ri||this.o8)this.ri=this.o8=!1,this.y0=this.FY=this.bX=this.aA=this.NX=this.ZY=this.RY=!0,this.aw(),this.get("viewerArea")&amp;&amp;this.get("application")&amp;&amp;this.Zv(),this.eR(this.get("viewerArea"));var y=!1;if(this.j){this.RY&amp;&amp;(this.RY=!1,this.O.W4(this.get("mapPlayer")));this.ZY&amp;&amp;(this.ZY=!1,this.O.ela(this.get("model3DPlayer")));
this.bX&amp;&amp;(this.bX=!1,this.O.YB(this.get("mouseControlMode")),this.O.UG(this.get("touchControlMode")));if(this.FA||this.S8)this.KX=this.R$=this.Xb=this.nf=0,this.yda=this.Ada=void 0,y=!0,this.S8=this.FA=!1,this.get("panorama")?(this.get("viewerArea").Pd().pbb(),this.O.tf(this.get("panorama"),this.get("camera",new d),this.get("startTime"))):(this.O.Ay(),this.uca=!0,this.Oi=k.V,this.xd(k.V));if(this.NX||this.FY||this.y0){this.FY=this.y0=this.NX=!1;var z=this.get("gazeModeEnabled");this.j.A$a(z&amp;&amp;this.un&amp;&amp;
!this.afa);this.zW.set("pressed",z)}this.zaa&amp;&amp;(this.zaa=!1,this.O.yU(this.get("gyroscopeVerticalDraggingEnabled",!0)));this.aA&amp;&amp;(this.aA=!1,(z=this.get("gyroscopeEnabled")&amp;&amp;p.ik)&amp;&amp;p.disabled&amp;&amp;(z=!1,r.Nma.show(function(){p.Aka(function(){this.set("gyroscopeEnabled",!0)}.bind(this))}.bind(this))),this.set("gyroscopeEnabled",z),this.O.xU(z),this.AW.set("pressed",z));this.Xaa&amp;&amp;(this.Xaa=!1,this.BW.set("pressed",this.get("hotspotsEnabled")));this.Aq&amp;&amp;(this.Aq=!1,y=!0);this.rfa&amp;&amp;(this.rfa=!1,this.FW.set("pressed",
this.get("surfaceSelectionEnabled")));y&amp;&amp;this.Jx()}};x.prototype.oK=function(){this.O.Yia()||this.set("panorama",null)};x.prototype.Zv=function(){var y=this.get("viewerArea"),z=this.get("application");this.j=new q(z,y,this);this.j.ra({left:0,top:0,bottom:0,right:0});y.Ya(this.j);this.O=new f(y,this.j);this.O.bind(f.wk,this.Tq,this);this.O.bind(f.Qp,this.Nua,this);this.O.bind(f.dv,this.Ki,this);this.O.bind(f.sC,this.vJ,this);this.O.bind(f.AC,this.Uw,this,!0);this.O.bind(f.zC,this.wA,this,!0);this.O.bind(f.BC,
this.XP,this,!0);this.O.bind(f.yC,this.WP,this,!0);this.O.bind(f.Sc,this.kf,this);this.O.bind(f.gj,this.Zq,this);this.O.bind(f.fj,this.Yq,this);this.O.bind(f.Kj,this.Xq,this);this.O.bind(f.Tp,this.BA,this,!0);this.get("application").bind(l.G("mute"),this.UP,this);this.get("application").get("mute",!1)&amp;&amp;this.O.Tf(!0);this.O.XB(this.un);t.N.bind(l.ba,this.No,this,!0);this.s9();this.VA(!0)};x.prototype.aw=function(){this.j&amp;&amp;(this.O.unbind(f.wk,this.Tq,this),this.O.unbind(f.Qp,this.Nua,this),this.O.unbind(f.dv,
this.Ki,this),this.O.unbind(f.sC,this.vJ,this),this.O.unbind(f.AC,this.Uw,this,!0),this.O.unbind(f.zC,this.wA,this,!0),this.O.unbind(f.BC,this.XP,this,!0),this.O.unbind(f.yC,this.WP,this,!0),this.O.unbind(f.Sc,this.kf,this),this.O.unbind(f.gj,this.Zq,this),this.O.unbind(f.fj,this.Yq,this),this.O.unbind(f.Kj,this.Xq,this),this.O.unbind(f.Tp,this.BA,this),this.O.clear(),this.O=null,this.get("application").unbind(l.G("mute"),this.UP,this),this.j.getParent().removeChild(this.j),this.j=null,t.N.unbind(l.ba,
this.No,this,!0),this.VA(!1))};x.prototype.UP=function(){this.j&amp;&amp;this.O.Tf(this.get("application").get("mute",!1))};x.prototype.kf=function(y){this.Oi=y.data.state;this.yg()};x.prototype.yg=function(){this.xd(this.uca||t.isPresenting?this.Oi:k.PLAYING)};x.prototype.Zq=function(){this.trigger(new m(l.eoa))};x.prototype.Yq=function(){this.trigger(new m(l.doa))};x.prototype.XP=function(y){this.trigger(new m(x.zLa,{panorama:y.data.panorama}))};x.prototype.WP=function(){};x.prototype.Uw=function(y){this.s9();
this.oP(y.data.panorama)};x.prototype.wA=function(y){this.nP(y.data.panorama)};x.prototype.Tq=function(y){for(var z in x.Dv)this.iua[z].set("state",y.data[x.Dv[z].pressedOn]?v.Ab:v.Ke);this.uca=y.data.stopped;this.yg();this.trigger(new m(l.ena,y.data))};x.prototype.Nua=function(y){this.s9();this.trigger(new m(x.sLa,y.data))};x.prototype.s9=function(){this.O&amp;&amp;(this.set("yaw",this.O.Oc()),this.set("pitch",this.O.Nc()),this.set("roll",this.O.eg()),this.set("hfov",this.O.Ee()),this.set("actualHFOV",this.O.kL()),
this.set("actualVFOV",this.O.lL()))};x.prototype.Ki=function(y){this.j.getParent().ra({progressPercent:y.data.percent,progressVisible:!0});this.trigger(new m(x.dv,y.data))};x.prototype.vJ=function(){this.j.getParent().set("progressVisible",!1)};x.prototype.BA=function(){this.trigger(l.E7)};x.prototype.No=function(){this.set("viewMode",t.isPresenting?x.bD:x.W7);this.yg()};x.prototype.hua=function(y,z,B,D,I){this.O&amp;&amp;this.O.moveTo(y,z,B,D,I)};x.prototype.Zc=function(y){this.O&amp;&amp;this.O.rk(y)};x.prototype.Sk=
function(){this.O&amp;&amp;this.O.play()};x.prototype.bp=function(){this.O&amp;&amp;this.O.stop()};x.prototype.br=function(){this.O&amp;&amp;this.O.pause()};x.prototype.aF=function(y){this.O&amp;&amp;(this.bsa()?this.O.WB(y):this.O.sIa(y))};x.prototype.HZa=function(y){this.O&amp;&amp;this.O.sIa(y)};x.prototype.IZa=function(y){this.O&amp;&amp;this.O.WB(y)};x.prototype.zXa=function(){this.O&amp;&amp;this.O.YL()};x.prototype.IYa=function(){this.O&amp;&amp;this.O.gM()};x.prototype.RTa=function(y,z){if(this.O)return this.O.Mia(y,z)};x.prototype.CTa=function(y,z){if(this.O)return this.O.$5a(y,
z)};x.prototype.Oxa=function(){this.O&amp;&amp;this.O.GG()};x.prototype.uQ=function(y){this.aF(y.data.position)};x.prototype.Xq=function(y){this.nf=y.data.time;this.Xb=y.data.duration;this.R$=y.data.transitionPosition;this.KX=y.data.transitionLength;this.Ada=y.data.steps;this.yda=y.data.selectedStep;this.Jx()};x.prototype.Jx=function(){var y=this.j.getParent(),z=!1;if(this.SSa()){var B=this.bsa(),D=this.ETa();B?0&lt;this.KX&amp;&amp;(y.ra({playbackBarPosition:this.R$,playbackBarDuration:this.KX,playbackBarSteps:this.Ada,
playbackBarSelectedStep:this.yda,playbackBarLiveDragging:D}),z=!0):0&lt;this.Xb&amp;&amp;(y.ra({playbackBarPosition:this.nf,playbackBarDuration:this.Xb,playbackBarSteps:void 0,playbackBarSelectedStep:void 0,playbackBarLiveDragging:D}),z=!0)}y.set("playbackBarVisible",z)};x.prototype.SSa=function(){var y=this.get("panorama");return y?h.Ja("HDRPanorama",y)?this.get("hdrPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!1)):h.Ja("LivePanorama",y)?this.get("livePanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",
!1)):h.Ja("VideoPanorama",y)?this.get("videoPanoramaDisplayPlaybackBar",this.get("displayPlaybackBar",!0)):!1:!1};x.prototype.bsa=function(){var y=this.get("panorama");return y?h.Ja("HDRPanorama",y)?this.get("hdrPanoramaDisplayPlaybackBarSteps",!0):h.Ja("LivePanorama",y)?this.get("livePanoramaDisplayPlaybackBarSteps",!0):!1:!1};x.prototype.ETa=function(){var y=this.get("panorama");return!y||h.Ja("VideoPanorama",y)?!1:!0};x.bD="cardboard";x.W7="standard";x.Dv={buttonMoveLeft:{movement:n.BH,pressedOn:"movingLeft",
stopOnRelease:!0},buttonMoveRight:{movement:n.CH,pressedOn:"movingRight",stopOnRelease:!0},buttonMoveUp:{movement:n.DH,pressedOn:"movingUp",stopOnRelease:!0},buttonMoveDown:{movement:n.AH,pressedOn:"movingDown",stopOnRelease:!0},buttonPlayLeft:{movement:[n.BH,n.PLAYING],pressedOn:"movingLeft",stopOnRelease:!1},buttonPlayRight:{movement:[n.CH,n.PLAYING],pressedOn:"movingRight",stopOnRelease:!1},buttonPlayUp:{movement:[n.DH,n.PLAYING],pressedOn:"movingUp",stopOnRelease:!1},buttonPlayDown:{movement:[n.AH,
n.PLAYING],pressedOn:"movingDown",stopOnRelease:!1},buttonZoomIn:{movement:n.Bv,pressedOn:"zoomingIn",stopOnRelease:!0},buttonZoomOut:{movement:n.Cv,pressedOn:"zoomingOut",stopOnRelease:!0}};return x});
define("cK",["require","ol","dn","iL"],function(a){var e=a("ol"),l=a("dn"),m=a("iL");a=e.define("PanoramaPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&amp;&amp;(k.bind(l.sh,this.Uw,this),k.set("panorama",this.get("media")),k.set("camera",this.get("camera")))};a.prototype.stop=function(){var k=this.get("player");k&amp;&amp;(k.unbind(l.sh,this.Uw,this),k.get("panorama")==this.get("media")&amp;&amp;k.set("panorama",null));m.prototype.stop.call(this)};
a.prototype.Uw=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.sh,this.Uw,this),this.get("player").bind(l.Vm,this.wA,this),this.jB())};a.prototype.wA=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.Vm,this.wA,this),this.stop(),this.end())};return a});define("lW",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PanoramaSnapshot",e,function(){e.call(this)})});
define("nM",["require","lS","cA"],function(a){var e=a("lS"),l=a("cA");a=e.extend(l,function(m,k,c,h){l.call(this);this.Wd=m;this.sa=k;this.wa=c;this.I$=h});a.prototype.vu=function(){return[this.Wd]};a.prototype.Zi=function(){return this.Wd};a.prototype.Fe=function(){return this.sa};a.prototype.Ue=function(){return this.wa};return a});
define("px",["require","ol","ez","gw","nM"],function(a){var e=a("ol"),l=a("ez"),m=a("gw"),k=a("nM");a=e.define("Photo",l,function(){l.call(this);this.Aa=void 0});a.prototype.nk=function(){if(void 0==this.Aa){var c=this.get("image");this.Aa=c?new k(m.Sr(c).get("url"),this.get("width"),this.get("height"),this.get("flipImageHorizontally",!1)):null}return this.Aa};a.prototype.tu=function(){var c=this.TX(this.nk());this.get("audios",[]).forEach(function(h){c=c.concat(h.tu())}.bind(this));return c};a.prototype.TX=
function(c){return c?c.vu():[]};return a});define("kb",["require","ez","ol"],function(a){var e=a("ez");a=a("ol").define("PhotoAlbum",e,function(){e.call(this);this.set("loop",!1)});a.prototype.tu=function(){var l=[],m=this.get("playList");m&amp;&amp;m.get("items",[]).forEach(function(k){(k=k.get("media"))&amp;&amp;(l=l.concat(k.tu()))});this.get("audios",[]).forEach(function(k){l=l.concat(k.tu())});return l};return a});
define("gX",["require","ix","ol","jw"],function(a){var e=a("ix"),l=a("ol"),m=a("jw");return l.define("PhotoAlbumAudio",m,function(){m.call(this,e.vMa)})});
define("dl",["require","lu"],function(a){function e(m,k){this.j=m;this.nq=k;this.$H=[];this.Vs=[];this.Cr=1}var l=a("lu");e.prototype.clear=function(){for(var m=0;m&lt;this.$H.length;m++)this.$H[m].Xc(l.V);this.dOa();this.Vs=this.$H=null};e.prototype.stop=function(){for(var m=0;m&lt;this.Vs.length;m++)this.Vs[m].Xc(l.V)};e.prototype.play=function(){for(var m=0;m&lt;this.Vs.length;m++){var k=this.Vs[m];k.getState()!=l.PLAYING&amp;&amp;k.Xc(l.PLAYING)}};e.prototype.pause=function(){for(var m=0;m&lt;this.Vs.length;m++){var k=
this.Vs[m];k.getState()==l.PLAYING&amp;&amp;k.Xc(l.Qb)}};e.prototype.start=function(){this.stop();for(var m=0;m&lt;this.nq.length;m++){var k=this.nq[m],c=k.XF();c&amp;&amp;(this.$H.push(c),k.get("autoplay",!1)&amp;&amp;this.Vs.push(c))}for(m=0;m&lt;this.Vs.length;m++)this.Vs[m].Xc(l.PLAYING)};e.prototype.Nd=function(){};e.prototype.dOa=function(){for(var m=0;m&lt;this.$H.length;m++)this.$H[m].Hy(1)};return e});
define("iH",["require","lS","dl"],function(a){var e=a("lS"),l=a("dl");return e.extend(l,function(m,k){l.call(this,m,k.get("audios",[]));this.u_=k})});define("hQ",["require","lS","dl"],function(a){var e=a("lS"),l=a("dl");return e.extend(l,function(m,k){l.call(this,m,k.get("audios",[]));this.uf=k})});
define("jM",["require","iH","hQ"],function(a){function e(k){this.j=k;this.ij=[];this.Ni=[]}var l=a("iH"),m=a("hQ");e.prototype.clear=function(){this.FJa();this.Ni=this.ij=null};e.prototype.FJa=function(){for(var k=0;k&lt;this.ij.length;k++)this.ij[k].clear();for(k=0;k&lt;this.Ni.length;k++)this.Ni[k].clear();this.ij=[];this.Ni=[]};e.prototype.pause=function(){for(var k=0;k&lt;this.ij.length;k++)this.ij[k].pause();for(k=0;k&lt;this.Ni.length;k++)this.Ni[k].pause()};e.prototype.play=function(){for(var k=0;k&lt;this.ij.length;k++)this.ij[k].play();
for(k=0;k&lt;this.Ni.length;k++)this.Ni[k].play()};e.prototype.stop=function(){for(var k=0;k&lt;this.ij.length;k++)this.ij[k].stop();for(k=0;k&lt;this.Ni.length;k++)this.Ni[k].clear();this.Ni=[]};e.prototype.qbb=function(k){k=new l(this.j,k);this.Ni.push(k);k.start()};e.prototype.xbb=function(k){for(var c=0;c&lt;this.Ni.length;c++)if(this.Ni[c].u_==k){this.Ni[c].clear();this.Ni.splice(c,1);break}};e.prototype.Hla=function(k){k=new m(this.j,k);this.ij.push(k);k.start()};e.prototype.ubb=function(k){for(var c=0;c&lt;
this.ij.length;c++)if(this.ij[c].uf==k){this.ij[c].clear();this.ij.splice(c,1);break}};e.prototype.Nd=function(k){for(var c=0;c&lt;this.ij.length;c++)this.ij[c].Nd(k);for(c=0;c&lt;this.Ni.length;c++)this.Ni[c].Nd(k)};return e});
define("bQ",["require","lS","mK"],function(a){function e(){this.Ba=!0;this.Qa=this.Na=.5;this.ob=1;this.Of=l.Th;this.$m=this.an=100}a("lS");var l=a("mK");e.prototype.getX=function(){this.Sn();return this.Na};e.prototype.getY=function(){this.Sn();return this.Qa};e.prototype.Vr=function(){this.Sn();return this.ob};e.prototype.setConfiguration=function(m,k,c){this.Of=c;this.Qa=this.Na=.5;this.ob=1;this.Ba=!0};e.prototype.setPosition=function(m,k,c){this.Na=m;this.Qa=k;this.ob=c;this.Ba=!0};e.prototype.setSize=
function(m,k){this.an=m;this.$m=k;this.Ba=!0};e.prototype.Sn=function(){if(this.Ba){this.Ba=!1;1&gt;this.ob&amp;&amp;(this.ob=1);var m=Math.min(.5/this.ob,.5),k=Math.max(1-.5/this.ob,.5);this.Na&lt;m?this.Na=m:this.Na&gt;k&amp;&amp;(this.Na=k);m=Math.min(.5/this.ob,.5);k=Math.max(1-.5/this.ob,.5);this.Qa&lt;m?this.Qa=m:this.Qa&gt;k&amp;&amp;(this.Qa=k)}};return e});
define("bI",["require"],function(){function a(e,l){this.j=e;this.pa=l;this.Qa=this.Na=.5;this.ob=1;this.T_=!1}a.prototype.start=function(){this.Qa=this.Na=.5;this.ob=1;this.T_=!0};a.prototype.clear=function(){this.pa=this.j=null};a.prototype.setPosition=function(e,l,m){this.Na=e;this.Qa=l;this.ob=m};a.prototype.rf=function(){return this.T_};a.prototype.Fb=function(){this.T_=!1};return a});
define("in",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PhotoCameraPosition",e,function(l,m,k){e.call(this);void 0!=l&amp;&amp;this.set("x",l);void 0!=m&amp;&amp;this.set("y",m);void 0!=k&amp;&amp;this.set("zoomFactor",k)})});
define("i","require lS bI in pa bL".split(" "),function(a){var e=a("lS"),l=a("bI"),m=a("in"),k=a("pa"),c=a("bL");a=e.extend(l,function(h,g){l.call(this,h,g);this.fa=null});a.prototype.start=function(h){var g=h.get("initialPosition",new m(.5,.5,1)),b=h.get("targetPosition",new m(.5,.5,1)),d=h.get("duration",1E3);0==d?(this.Na=g.get("x"),this.Qa=g.get("y"),this.ob=g.get("zoomFactor")):this.fa=new k(h.get("easing","linear"),[new c("x",g.get("x",.5),b.get("x",.5)),new c("y",g.get("y",.5),b.get("y",.5)),
new c("zoom",g.get("zoomFactor",1),b.get("zoomFactor",1))],d);this.Fb(0)};a.prototype.clear=function(){this.fa=null;l.prototype.clear.call(this)};a.prototype.rf=function(){return null!=this.fa};a.prototype.Fb=function(h){this.fa&amp;&amp;(this.fa.Fb(h),this.pa.setPosition(this.fa.eb("x"),this.fa.eb("y"),this.fa.eb("zoom")),this.Na=this.pa.getX(),this.Qa=this.pa.getY(),this.ob=this.pa.Vr(),this.fa.We()&amp;&amp;(this.fa=null))};return a});
define("cV","require lS cI gE ol lu mK bQ bI i py".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("ol"),c=a("lu"),h=a("mK"),g=a("bQ"),b=a("bI"),d=a("i"),f=a("py"),n=e.extend(m,function(q,p){m.call(this);this.j=q;this.he=p;this.j.bind(f.tc,this.Ic,this);this.C=c.V;this.mm=this.u_=this.Kb=this.Aa=null;this.pa=new g});n.prototype.clear=function(){this.end();this.pa=null;this.j.unbind(f.tc,this.Ic,this);this.j=null};n.prototype.end=function(q){if(this.Aa==q||"undefined"==typeof q)this.Oqa(),
this.Kb=this.u_=this.Aa=null};n.prototype.start=function(q){if(this.Aa!=q){this.end(this.Aa);var p=q.get("media"),r=q.get("camera"),t=p.get("width",100),u=p.get("height",100),v=r?r.get("scaleMode",h.Th):h.Th;this.Aa=q;this.Kb=r;this.u_=p;p.nk();this.W=!0;this.pa.setConfiguration(t,u,v);this.RQa(r);this.Sa()}};n.prototype.stop=function(){this.C!=c.V&amp;&amp;(this.C=c.V,this.mm&amp;&amp;(this.mm.start(this.Kb),this.Sa()))};n.prototype.play=function(){if(this.C==c.V||this.C==c.Qb)this.C=c.PLAYING,this.Sa()};n.prototype.pause=
function(){this.C==c.PLAYING&amp;&amp;(this.C=c.Qb)};n.prototype.wy=function(q){this.mm&amp;&amp;this.mm.rf()&amp;&amp;(this.C==c.PLAYING&amp;&amp;(this.mm.Fb(q),this.Sa()),this.pm(this.mm.Na,this.mm.Qa,this.mm.ob))};n.prototype.RQa=function(q){this.Oqa();k.Ja("MovementPhotoCamera",q)?this.mm=new d(this.j,this.pa):this.mm=new b(this.j,this.pa);this.mm.start(q)};n.prototype.Oqa=function(){this.mm&amp;&amp;(this.mm.clear(),this.mm=null)};n.prototype.Ic=function(){this.pa.setSize(this.j.Za(),this.j.Cb());this.Sa()};n.prototype.Sa=function(){this.trigger(new l(n.Ob))};
n.prototype.pm=function(q,p,r){this.he.setPosition(this.Aa,q,p,r)};n.Ob="request frame";return n});
define("iB","require es lS cI gE py ix mK".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("cI"),k=a("gE"),c=a("py");a("ix");var h=a("mK"),g=l.extend(k,function(d,f){k.call(this);this.nR=[];this.M=d;this.j=f});g.prototype.preload=function(d){this.Yz(d).preload();return this};g.prototype.ff=function(d,f){this.Yz(d).ff(f);return this};g.prototype.co=function(d,f){this.Yz(d).co(f);return this};g.prototype.setPosition=function(d,f,n,q){this.Yz(d).setPosition(f,n,q);return this};g.prototype.Jh=function(d){this.Yz(d).Jh()};
g.prototype.stop=function(){this.hra(function(d){d.clear()});this.nR=[]};g.prototype.clear=function(){this.stop();this.j=this.M=this.nR=null};g.prototype.Nd=function(){this.hra(function(d){d.update()})};g.prototype.Yz=function(d){var f=this.bSa(d);f||(f=new b(d,this.j),f.bind(b.Mna,this.tVa,this),f.bind(b.Fna,this.sVa,this),this.nR.push(f));return f};g.prototype.hra=function(d){e(this.nR).each(d,this)};g.prototype.bSa=function(d){return e(this.nR).find(function(f){return f.getItem()==d})};g.prototype.tVa=
function(){this.Sa()};g.prototype.sVa=function(d){this.trigger(new m(g.N6,{item:d.source.getItem()}))};g.prototype.Sa=function(){this.trigger(new m(g.Ob))};g.Ob="request frame";g.N6="photo preload end";var b=l.extend(k,function(d,f){k.call(this);this.Aa=d;this.j=f;this.Of=(f=d.get("camera"))?f.get("scaleMode",h.Th):h.Th;this.vj=d.get("media").nk();this.vj.bind(c.ea,this.Cd,this);this.vj.bind(c.xc,this.bg,this);this.ua=b.qN;this.Qa=this.Na=.5;this.ob=1;this.so=0;this.cI=!1;this.Lg=0;this.Ba=!1});b.prototype.getItem=
function(){return this.Aa};b.prototype.preload=function(){this.ua==b.qN?this.B_():this.Kza()};b.prototype.ff=function(d){this.so!=d&amp;&amp;(this.so=d,this.jf())};b.prototype.co=function(d){this.Lg!=d&amp;&amp;(this.Lg=d,this.jf())};b.prototype.setPosition=function(d,f,n){if(this.Na!=d||this.Qa!=f||this.ob!=n)this.Na=d,this.Qa=f,this.ob=n,this.jf()};b.prototype.Jh=function(){this.cI||(this.cI=!0,this.jf())};b.prototype.clear=function(){this.ua==b.dW&amp;&amp;this.sxa();this.ua!=b.nN&amp;&amp;this.ua!=b.pN&amp;&amp;this.ua!=b.oN||this.cB();
this.vj.unbind(c.ea,this.Cd);this.vj.unbind(c.xc,this.bg);this.vj=null};b.prototype.update=function(){this.Ba&amp;&amp;(this.Ba=!1,-1&lt;this.Lg&amp;&amp;1&gt;this.Lg&amp;&amp;0&lt;this.so?(this.ua==b.qN&amp;&amp;this.Xba(),this.ua==b.nN&amp;&amp;this.yNa(),this.ua==b.dW&amp;&amp;(this.cI&amp;&amp;(this.j.Aha(this.vj),this.cI=!1),this.j.qs(this.vj,this.so),this.j.S$a(this.vj,this.Lg),this.j.BU(this.vj,this.Na,this.Qa,this.ob))):(this.ua==b.dW&amp;&amp;this.sxa(),this.ua!=b.nN&amp;&amp;this.ua!=b.oN||this.cB()))};b.prototype.jf=function(){this.Ba||(this.Ba=!0,this.Ga())};b.prototype.Ga=
function(){this.trigger(new m(b.Mna))};b.prototype.B_=function(){this.ua=b.pN;this.j.Yn(this.vj);this.j.JEa(this.vj)&amp;&amp;this.Cd()};b.prototype.Xba=function(){this.ua=b.oN;this.j.Yn(this.vj);this.j.JEa(this.vj)&amp;&amp;this.Cd()};b.prototype.yNa=function(){this.ua=b.dW;this.j.iha(this.vj);this.j.V$a(this.vj,this.Of)};b.prototype.sxa=function(){this.ua=b.nN;this.j.removeItem(this.vj)};b.prototype.cB=function(){this.ua=b.qN;this.j.Ij(this.vj)};b.prototype.Cd=function(){if(this.ua==b.pN||this.ua==b.oN){var d=
this.ua==b.pN;this.ua=b.nN;this.jf();d&amp;&amp;this.Kza()}};b.prototype.bg=function(){if(this.ua==b.pN||this.ua==b.oN)this.ua=b.qN};b.prototype.Kza=function(){this.trigger(new m(b.Fna))};b.Mna="requestUpdate";b.Fna="preloadEnd";b.qN="unloaded";b.pN="preloading";b.oN="loading";b.nN="loaded";b.dW="added";return g});define("nP",["require"],function(){return{ho:"blending",fq:"scroll"}});
define("ck","require es lS cI gE py iB nP".split(" "),function(a){function e(d,f,n){this.Tn=d;this.item=f;this.transitionDuration=n;this.index=d&amp;&amp;f?l(d.get("playList").get("items")).indexOf(this.item):0;this.loaded=!1}var l=a("es"),m=a("lS"),k=a("cI"),c=a("gE");a("py");var h=a("iB"),g=a("nP");e.prototype.isEqual=function(d){return d&amp;&amp;d.Tn==this.Tn&amp;&amp;d.item==this.item};var b=m.extend(c,function(d,f,n){c.call(this);this.M=d;this.j=f;this.he=n;this.he.bind(h.N6,this.Qwa,this);this.IR=g.ho;this.ua=b.RH;
this.Yf=new e(null,null,0);this.$v=this.Rk=this.zh=null;this.Rn=void 0;this.SA=0});b.prototype.Gab=function(d){this.IR=d};b.prototype.ola=function(d){this.SA=d};b.prototype.Xla=function(d,f,n){this.Rk=null;d=new e(d,f,n);d.isEqual(this.ua==b.RH?this.Yf:this.zh)||(this.Rk=d,this.Lva())};b.prototype.clear=function(){this.ua!=b.gW&amp;&amp;this.ua!=b.eW||this.trigger(new k(b.$y,{album:this.zh.Tn,item:this.zh.item}));this.ua=b.RH;this.j=this.M=this.$v=this.Yf=this.zh=this.Rk=null;this.he.unbind(h.N6,this.Qwa,
this);this.he=null};b.prototype.Nd=function(d){this.ua!=b.RH&amp;&amp;(this.Rn+=d,d=this.zh.transitionDuration,d=this.Rn&gt;=d?1:this.Rn/d,this.ua==b.eW?this.A1a(d):this.ua==b.fW?this.B1a(d):this.IR==g.ho?this.o1a(d):this.k2a(d),1&gt;d?this.Sa():this.Vz())};b.prototype.A1a=function(d){this.he.ff(this.zh.item,d).co(this.zh.item,0)};b.prototype.B1a=function(d){this.he.ff(this.Yf.item,1-d).co(this.Yf.item,0)};b.prototype.o1a=function(d){this.he.ff(this.zh.item,Math.min(1,2*d)).co(this.zh.item,0);this.he.ff(this.Yf.item,
Math.min(1,2*(1-d))).co(this.Yf.item,0)};b.prototype.k2a=function(d){var f=this.Yf.Tn!=this.zh.Tn||this.Yf.index&lt;this.zh.index;this.he.co(this.zh.item,(f?1-d:d-1)*(1+this.SA)).ff(this.zh.item,1);this.he.co(this.Yf.item,(f?-d:d)*(1+this.SA)).ff(this.Yf.item,1)};b.prototype.Lva=function(){this.Rk&amp;&amp;this.ua==b.RH&amp;&amp;(this.Rk.item&amp;&amp;!this.Rk.loaded?this.he.preload(this.Rk.item):this.oq())};b.prototype.Qwa=function(d){this.Rk&amp;&amp;this.Rk.item==d.data.item&amp;&amp;(this.Rk.loaded=!0,this.Lva())};b.prototype.oq=function(){this.$v&amp;&amp;
this.$v!=this.Rk.Tn&amp;&amp;(this.trigger(new k(b.Op,{album:this.$v})),this.$v=null);this.trigger(new k(b.U6));"fade_out_fade_in"==this.M.get("transitionMode")&amp;&amp;null!=this.Rk.item&amp;&amp;null!=this.Yf.item?(this.ua=b.fW,this.zh=new e(this.Yf.Tn,null,this.Yf.transitionDuration)):(this.zh=this.Rk,this.Rk=null,this.Yf.item)?this.zh.item?this.ua=b.gW:this.Yf.item&amp;&amp;(this.ua=b.fW):this.ua=b.eW;if(this.ua==b.gW||this.ua==b.eW)this.he.Jh(this.zh.item),this.trigger(new k(b.CC,{album:this.zh.Tn,item:this.zh.item}));this.Rn=
0;this.Sa()};b.prototype.Vz=function(){this.ua!=b.gW&amp;&amp;this.ua!=b.fW||this.trigger(new k(b.$y,{album:this.Yf.Tn,item:this.Yf.item}));this.Yf=this.zh;this.$v!=this.Yf.Tn&amp;&amp;(this.$v=this.Yf.Tn,this.trigger(new k(b.Pp,{album:this.$v})));this.ua=b.RH;null==this.Rk?(this.Yf.item&amp;&amp;this.trigger(new k(b.DC,{album:this.Yf.Tn,item:this.Yf.item})),this.trigger(new k(b.Tp,{album:this.Yf.Tn,item:this.Yf.item}))):this.oq()};b.prototype.Sa=function(){this.trigger(new k(b.Ob))};b.RH="stopped";b.gW="blending";b.fW=
"fading_out";b.eW="fading_in";b.Ob="request frame";b.U6="transition begin";b.Tp="transition end";b.CC="photo added";b.$y="photo removed";b.DC="photo displayed";b.Pp="photo album show";b.Op="photo album hide";return b});
define("fY","require es lS cI gE py ol mK in bQ bI i pa bL".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("cI"),k=a("gE"),c=a("py"),h=a("ol"),g=a("mK"),b=a("in"),d=a("bQ");a("bI");a("i");var f=a("pa"),n=a("bL"),q=l.extend(k,function(p,r,t){k.call(this);this.M=p;this.j=r;this.he=t;this.Vo=this.Ho=this.Aa=this.uf=this.ib=null;this.Kn=void 0;this.C0=0;this.Vk=!1;this.Lg=0;this.YY=this.Vo?-1:0;this.VY=this.Ho?1:0;this.fa=null;this.hh=400;this.SA=0;this.pa=new d});q.prototype.clear=function(){this.he=
this.j=this.M=this.$v=null};q.prototype.p$a=function(p,r){this.uf=p;this.Aa=r;p=p&amp;&amp;p.get("playList")&amp;&amp;p.get("playList").get("items")||[];r=e(p).indexOf(r);this.Ho=0&lt;r?p[r-1]:null;this.Vo=r&lt;p.length-1?p[r+1]:null;this.Lg=0;this.YY=this.Vo?-1:0;this.VY=this.Ho?1:0;this.B_()};q.prototype.enable=function(){if(this.ib=this.j.getParent())this.ib.bind(c.hb,this.ce,this,!0),this.ib.bind(c.Pb,this.Zj,this,!0),this.ib.bind(c.Eb,this.$j,this,!0),this.B_()};q.prototype.disable=function(){this.ib&amp;&amp;(this.ib.unbind(c.hb,
this.ce,this),this.ib.unbind(c.Pb,this.Zj,this),this.ib.unbind(c.Eb,this.$j,this),this.ib=null)};q.prototype.Fab=function(p){this.hh=p};q.prototype.ola=function(p){this.SA=p};q.prototype.B_=function(){this.ib&amp;&amp;(this.Ho&amp;&amp;this.he.preload(this.Ho),this.Vo&amp;&amp;this.he.preload(this.Vo))};q.prototype.qua=function(){return(new Date).getTime()};q.prototype.ce=function(p){this.Vk||(this.Kn=p.x,this.C0=0,this.Jda=this.qua(),this.Vk=!0,this.fa=null,this.trigger(new m(q.u6)),this.Ho&amp;&amp;(p=this.osa(this.Ho),this.he.setPosition(this.Ho,
p.x,p.y,p.zoom)),this.Vo&amp;&amp;(p=this.osa(this.Vo),this.he.setPosition(this.Vo,p.x,p.y,p.zoom)))};q.prototype.Zj=function(p){if(this.Vk){var r=p.x-this.Kn,t=r/this.ib.Za(),u=this.qua()-this.Jda;this.C0=r/u;this.Jda+=u;this.Kn=p.x;this.Lg=Math.max(this.YY,Math.min(this.VY,this.Lg+t));this.Sa()}};q.prototype.$j=function(){if(this.Vk){this.Vk=!1;if(1&lt;this.C0){var p="quad_out";var r=this.VY}else-1&gt;this.C0?(p="quad_out",r=this.YY):(p="quad_in_out",r=-.5&gt;this.Lg?this.YY:.5&lt;this.Lg?this.VY:0);this.fa=new f(p,
[new n("offset",this.Lg,r,1E3/this.hh)],0);this.Sa()}};q.prototype.Nd=function(p){if(this.Vk||this.fa)this.fa&amp;&amp;(this.fa.Fb(p),this.Lg=this.fa.eb("offset"),this.fa.We()?(this.fa=null,this.GRa()):this.Sa()),this.Aa&amp;&amp;this.he.co(this.Aa,this.Lg*(1+this.SA)).ff(this.Aa,1),this.Ho&amp;&amp;this.he.co(this.Ho,(this.Lg-1)*(1+this.SA)).ff(this.Ho,1),this.Vo&amp;&amp;this.he.co(this.Vo,(this.Lg+1)*(1+this.SA)).ff(this.Vo,1)};q.prototype.GRa=function(){this.trigger(new m(q.v6,{album:this.uf,item:0&gt;this.Lg?this.Vo:0&lt;this.Lg?
this.Ho:this.Aa}))};q.prototype.Sa=function(){this.trigger(new m(q.Ob))};q.prototype.osa=function(p){var r=p&amp;&amp;p.get("camera"),t=p&amp;&amp;p.get("media");p=t&amp;&amp;t.get("width",100)||100;t=t&amp;&amp;t.get("height",100)||100;var u=r?r.get("scaleMode",g.Th):g.Th,v={};h.Ja("MovementPhotoCamera",r)?(r=r.get("initialPosition",new b(.5,.5,1)),v.x=r.get("x",.5),v.y=r.get("y",.5),v.zoom=r.get("zoomFactor",.5)):(v.x=.5,v.y=.5,v.zoom=1);this.pa.setConfiguration(p,t,u);this.pa.setSize(this.j.Za(),this.j.Cb());this.pa.setPosition(v.x,
v.y,v.zoom);v.x=this.pa.getX();v.y=this.pa.getY();v.zoom=this.pa.Vr();return v};q.Ob="request frame";q.u6="interaction begin";q.v6="interaction end";return q});
define("jP","require lS cI gE py iB nP ck fY".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE");a("py");a("iB");var k=a("nP"),c=a("ck"),h=a("fY"),g=e.extend(m,function(b,d,f){m.call(this);this.M=b;this.j=d;this.he=f;this.IR=k.ho;this.hh=1E3;this.Sb=new c(this.M,this.j,this.he);this.Sb.bind(c.Ob,this.cf,this,!0);this.Sb.bind(c.U6,this.Kua,this,!0);this.Sb.bind(c.Tp,this.Lua,this,!0);this.Sb.bind(c.CC,this.YP,this,!0);this.Sb.bind(c.$y,this.aQ,this,!0);this.Sb.bind(c.DC,this.$P,this,!0);this.Sb.bind(c.Op,
this.Uq,this,!0);this.Sb.bind(c.Pp,this.Mo,this,!0);this.$l=new h(this.M,this.j,this.he);this.$l.bind(h.Ob,this.cf,this,!0);this.$l.bind(h.u6,this.Kta,this,!0);this.$l.bind(h.v6,this.Lta,this,!0)});g.prototype.e5=function(b,d){this.IR=b;this.hh=d;this.Sb.Gab(b);this.$l.Fab(d);this.Sb.ola(.05);this.$l.ola(.05)};g.prototype.display=function(b,d){this.Sb.Xla(b,d,this.hh)};g.prototype.hide=function(){this.Sb.Xla(null,null,this.hh)};g.prototype.clear=function(){this.Sb.unbind(c.Ob,this.cf,this);this.Sb.unbind(c.U6,
this.Kua,this);this.Sb.unbind(c.Tp,this.Lua,this);this.Sb.unbind(c.CC,this.YP,this);this.Sb.unbind(c.$y,this.aQ,this);this.Sb.unbind(c.DC,this.$P,this);this.Sb.unbind(c.Op,this.Uq,this);this.Sb.unbind(c.Pp,this.Mo,this);this.Sb.clear();this.Sb=null;this.$l.bind(h.Ob,this.cf,this,!0);this.$l.bind(h.u6,this.Kta,this,!0);this.$l.bind(h.v6,this.Lta,this,!0);this.$l.clear();this.he=this.j=this.M=this.$l=null};g.prototype.Nd=function(b){this.Sb.Nd(b);this.$l.Nd(b)};g.prototype.cf=function(){this.Sa()};
g.prototype.YP=function(b){this.trigger(new l(g.CC,b.data))};g.prototype.aQ=function(b){this.trigger(new l(g.$y,b.data))};g.prototype.$P=function(b){this.trigger(new l(g.DC,b.data));this.$l.p$a(b.data.album,b.data.item)};g.prototype.Uq=function(b){this.trigger(new l(g.Op,b.data))};g.prototype.Mo=function(b){this.trigger(new l(g.Pp,b.data))};g.prototype.Kua=function(){this.$l.disable()};g.prototype.Lua=function(b){this.IR==k.fq&amp;&amp;b.data.item&amp;&amp;this.$l.enable();b.data.album||this.trigger(new l(g.r6))};
g.prototype.Kta=function(){this.trigger(new l(g.Fma))};g.prototype.Lta=function(b){this.Sb.Xla(b.data.album,b.data.item,0);this.trigger(new l(g.Gma,b.data))};g.prototype.Sa=function(){this.trigger(new l(g.Ob))};g.Ob="request frame";g.CC="photo added";g.$y="photo removed";g.DC="photo displayed";g.Pp="photo album show";g.Op="photo album hide";g.Fma="manual interaction begin";g.Gma="manual interaction end";g.r6="all pending photo albums hidden";return g});
define("jf","require es lS z cI gE lu".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("z"),k=a("cI"),c=a("gE"),h=a("lu"),g=l.extend(c,function(){c.call(this);this.uf=null;this.C=h.V;this.zea=null});g.prototype.clear=function(){this.dia()};g.prototype.Hla=function(b){this.dia();this.uf=b;this.C=h.PLAYING;this.zea=m.Ru(this.uf,"playList.selectedIndex",this.bF,this);0==this.uf.get("playList").get("selectedIndex")?this.bF():this.uf.get("playList").set("selectedIndex",0)};g.prototype.dia=function(){this.uf&amp;&amp;
(this.C=h.V,this.zea.hC(),this.uf=this.zea=null)};g.prototype.stop=function(){this.C!=h.V&amp;&amp;(this.C=h.V,this.uf.get("playList").set("selectedIndex",0))};g.prototype.play=function(){this.C==h.V?(this.uf.get("playList").set("selectedIndex",0),this.C=h.PLAYING,this.bF()):this.C==h.Qb&amp;&amp;(this.C=h.PLAYING)};g.prototype.pause=function(){this.C==h.PLAYING&amp;&amp;(this.C=h.Qb)};g.prototype.next=function(){var b=this.uf.get("playList"),d=b.get("selectedIndex"),f=b.get("items").length;(d&lt;f-1||this.uf.get("loop"))&amp;&amp;
b.set("selectedIndex",(d+1)%f)};g.prototype.nka=function(){var b=this.uf.get("playList"),d=b.get("selectedIndex"),f=b.get("items").length;(0&lt;d||this.uf.get("loop"))&amp;&amp;b.set("selectedIndex",(d-1+f)%f)};g.prototype.C3=function(b){this.d_a(b)};g.prototype.itemEnd=function(b){if(this.uf){var d=e(this.uf.get("playList").get("items")).last();b!=d||this.uf.get("loop")?this.next():(this.C=h.V,this.trigger(new k(g.m6,{album:this.uf})))}};g.prototype.bF=function(){var b=this.TTa();0&lt;=b&amp;&amp;(this.C!=h.PLAYING&amp;&amp;
0!=b?this.trigger(new k(g.Q6)):this.trigger(new k(g.z6,{album:this.uf,item:this.uf.get("playList").get("items")[b]})))};g.prototype.TTa=function(){return this.uf?this.uf.get("playList").get("selectedIndex"):-1};g.prototype.d_a=function(b){if(this.uf){var d=this.uf.get("playList");b=e(d.get("items")).indexOf(b);d.set("selectedIndex",b)}};g.Q6="play request";g.z6="item request";g.m6="album end";return g});
define("dd","require es lS py cI gE lu hB".split(" "),function(a){a("es");var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("lu"),h=a("hB"),g=e.extend(k,function(b){k.call(this);this.M=b;this.AR=this.Aa=null;this.UE=void 0;this.zY=!1;this.C=c.V;h.bind(l.ba,this.Bwa,this,!0)});g.prototype.C3=function(b){this.X9();if(this.Aa=b)b=this.Aa.get("media").get("duration",0),this.UE=0==b?void 0:Math.max(0,b-this.M.get("transitionDuration")),this.zY=!1,this.C==c.PLAYING&amp;&amp;this.u$()};g.prototype.clear=function(){h.unbind(l.ba,
this.Bwa,this,!0);this.C3(null)};g.prototype.stop=function(){this.C!=c.V&amp;&amp;(this.X9(),this.xd(c.V))};g.prototype.play=function(){if(this.C==c.V){if(this.xd(c.PLAYING),this.Aa){this.zY=!1;var b=this.Aa.get("media").get("duration",0);this.UE=0==b?void 0:b;this.u$()}}else this.C==c.Qb&amp;&amp;(this.xd(c.PLAYING),this.Aa&amp;&amp;this.u$())};g.prototype.pause=function(){this.C==c.PLAYING&amp;&amp;(this.xd(c.Qb),this.Nwa())};g.prototype.u$=function(){this.zY||(this.zY=!0,this.trigger(new m(g.A6,{item:this.Aa})));this.sra()};
g.prototype.Bwa=function(){h.visible?this.sra():h.visible||this.Nwa()};g.prototype.sra=function(){if(void 0!==this.UE){var b=this;this.W0=(new Date).getTime()+this.UE;this.AR=setTimeout(function(){b.AR=null;b.v0a()},this.UE)}else this.W0=void 0};g.prototype.X9=function(){this.AR&amp;&amp;(clearTimeout(this.AR),this.AR=null)};g.prototype.Nwa=function(){void 0!==this.W0&amp;&amp;(this.X9(),this.UE=Math.max(1,this.W0-(new Date).getTime()),this.W0=void 0)};g.prototype.v0a=function(){var b=this.Aa;this.Aa=null;this.UE=
void 0;this.trigger(new m(g.y6,{item:b}))};g.prototype.xd=function(b){this.C!=b&amp;&amp;(this.C=b,this.trigger(new m(g.Sc,{state:this.C})))};g.Sc="playback state change";g.A6="item start";g.y6="item end";return g});
define("oj","require lS cI gE bn w".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("gE"),k=a("bn"),c=a("w"),h=e.extend(m,function(g){m.call(this);this.W=!0;this.ND=!1;this.j=g;this.Pl=c.browser()==c.ys&amp;&amp;c.ud()==c.J7?3:1;this.af=this.pO=0});h.prototype.clear=function(){this.W=!1;this.j=null;this.af=this.pO=0};h.prototype.requestFrame=function(){this.ND||(this.ND=!0,k.requestFrame(this.ck,this))};h.prototype.ck=function(g){this.W&amp;&amp;(this.pO++,this.af+=g,this.pO==this.Pl?(this.pO=0,this.ND=!1,g=this.af,
this.af=0,this.trigger(new l(h.Rp,{frameTime:g})),this.trigger(new l(h.Sp,{frameTime:g})),this.j.render()):k.requestFrame(this.ck,this))};h.Rp="frameStart";h.Sp="positionSet";return h});
define("gY","require lS py cI gE jM cV jP jf dd iB oj".split(" "),function(a){var e=a("lS");a("py");var l=a("cI"),m=a("gE"),k=a("jM"),c=a("cV"),h=a("jP"),g=a("jf"),b=a("dd"),d=a("iB"),f=a("oj"),n=e.extend(m,function(q,p){m.call(this);this.M=q;this.j=p;this.j.set("visible",!1);this.ki=new g(this.j);this.Ma=new b(this.M);this.he=new d(this.M,this.j);this.Oa=new h(this.M,this.j,this.he);this.jb=new c(this.j,this.he);this.vg=new f(this.j);this.Yd=new k(this.j);this.he.bind(d.Ob,this.cf,this,!0);this.ki.bind(g.z6,
this.cva,this,!0);this.ki.bind(g.Q6,this.Pva,this,!0);this.ki.bind(g.m6,this.ZP,this,!0);this.Ma.bind(b.A6,this.dva,this);this.Ma.bind(b.y6,this.bva,this);this.Ma.bind(b.Sc,this.kf,this,!0);this.Oa.bind(h.Ob,this.cf,this,!0);this.Oa.bind(h.CC,this.YP,this,!0);this.Oa.bind(h.$y,this.aQ,this,!0);this.Oa.bind(h.DC,this.$P,this,!0);this.Oa.bind(h.Op,this.Uq,this,!0);this.Oa.bind(h.Pp,this.Mo,this,!0);this.Oa.bind(h.Fma,this.AWa,this,!0);this.Oa.bind(h.Gma,this.BWa,this,!0);this.Oa.bind(h.r6,this.Bua,
this,!0);this.jb.bind(c.Ob,this.cf,this,!0);this.vg.bind(f.Rp,this.xA,this,!0);this.vg.bind(f.Sp,this.yA,this,!0)});n.prototype.clear=function(){this.ki.clear();this.Ma.clear();this.Oa.clear();this.jb.clear();this.vg.clear();this.Yd.clear();this.he.clear();this.he.unbind(d.Ob,this.cf,this);this.ki.unbind(g.z6,this.cva,this);this.ki.unbind(g.m6,this.ZP,this);this.ki.unbind(g.Q6,this.Pva,this);this.Ma.unbind(b.A6,this.dva,this);this.Ma.unbind(b.y6,this.bva,this);this.Ma.unbind(b.Sc,this.kf,this);this.Oa.unbind(h.Ob,
this.cf,this);this.Oa.unbind(h.CC,this.YP,this);this.Oa.unbind(h.$y,this.aQ,this);this.Oa.unbind(h.DC,this.$P,this);this.Oa.unbind(h.Op,this.Uq,this);this.Oa.unbind(h.Pp,this.Mo,this);this.Oa.unbind(h.r6,this.Bua,this);this.jb.unbind(c.Ob,this.cf,this);this.vg.unbind(f.Rp,this.xA,this);this.vg.unbind(f.Sp,this.yA,this);this.M=this.j=this.he=this.Yd=this.vg=this.jb=this.Oa=this.Ma=this.ki=null};n.prototype.e5=function(q,p){this.Oa.e5(q,p)};n.prototype.lab=function(q){this.j.set("visible",!0);this.ki.Hla(q)};
n.prototype.Ay=function(){this.ki.dia();this.Ma.stop();this.Oa.hide();this.jb.end();this.Yd.FJa()};n.prototype.next=function(){this.ki.next()};n.prototype.nka=function(){this.ki.nka()};n.prototype.stop=function(){this.Ma.stop();this.Yd.stop();this.ki.stop();this.jb.stop()};n.prototype.play=function(){this.Ma.play();this.Yd.play();this.ki.play();this.jb.play()};n.prototype.pause=function(){this.Ma.pause();this.Yd.pause();this.ki.pause();this.jb.pause()};n.prototype.AWa=function(){this.Ma.pause();this.Yd.pause();
this.ki.pause();this.jb.pause()};n.prototype.BWa=function(){this.Ma.play();this.Yd.play();this.ki.play();this.jb.play()};n.prototype.cva=function(q){this.Oa.display(q.data.album,q.data.item)};n.prototype.Pva=function(){this.play()};n.prototype.cf=function(){this.vg.requestFrame()};n.prototype.xA=function(q){this.jb.wy(q.data.frameTime)};n.prototype.yA=function(q){q=q.data.frameTime;this.Oa.Nd(q);this.he.Nd(q);this.Yd.Nd(q)};n.prototype.YP=function(q){this.jb.start(q.data.item)};n.prototype.aQ=function(q){var p=
q.data.album;q=q.data.item;var r=q.get("media");this.jb.end(q);this.Yd.xbb(r);this.trigger(new l(n.M6,{photoAlbum:p,item:q}))};n.prototype.$P=function(q){var p=q.data.album;q=q.data.item;q.get("media");this.ki.C3(q);this.Ma.C3(q);this.trigger(new l(n.L6,{photoAlbum:p,item:q}))};n.prototype.dva=function(q){q=q.data.item.get("media");this.Yd.qbb(q)};n.prototype.bva=function(q){this.ki.itemEnd(q.data.item)};n.prototype.ZP=function(q){this.Ma.stop();this.Yd.stop();this.trigger(new l(n.K6,{photoAlbum:q.data.album}))};
n.prototype.Mo=function(q){q=q.data.album;this.Yd.Hla(q);this.Ma.play();this.jb.play();this.trigger(new l(n.Pp,{photoAlbum:q}))};n.prototype.Uq=function(q){q=q.data.album;this.Yd.ubb(q);this.trigger(new l(n.Op,{photoAlbum:q}))};n.prototype.Bua=function(){this.j.set("visible",!1)};n.prototype.kf=function(q){this.trigger(new l(n.Sc,{state:q.data.state}))};n.Pp="photoAlbumShow";n.K6="photoAlbumEnd";n.Op="photoAlbumHide";n.L6="photoBegin";n.M6="photoEnd";n.Sc="playbackStateChange";return n});
define("if","require jquery.mod es mK lP mn w".split(" "),function(a){function e(g,b){this.Aa=g;this.ta=b;this.Rb=g.Fe();this.dc=g.Ue();this.DX=g.I$;this.eha=this.eP=0;this.so=1;this.Lg=0;this.Ba=!0;this.y9();this.Sd=this.Id=100;this.Qa=this.Na=.5;this.ob=1;this.zQ=!0;this.xf=1;this.qra={};this.Wsa={};this.IAa=h.browser()!=h.rh}var l=a("jquery.mod"),m=a("es"),k=a("mK"),c=a("lP");a("mn");var h=a("w");e.prototype.y9=function(){this.$V=l("&lt;div&gt;&lt;/div&gt;");var g={position:"absolute",left:"0",top:"0",width:this.Id+
"px",height:this.Sd+"px",overflow:"hidden","-webkit-transform":"translateZ(0)"};g["-moz-transform-origin"]=g["-webkit-transform-origin"]=g["transform-origin"]="0 0 0";g["-ms-transform-origin"]="0 0";this.$V.css(g);this.L7=l(c.Cf(this.Aa.Zi(),!0));g={display:"block",position:"absolute",left:"0",top:"0",width:this.Rb+"px",height:this.dc+"px"};g["-moz-transform-origin"]=g["-webkit-transform-origin"]=g["transform-origin"]="0 0 0";g["-ms-transform-origin"]="0 0";this.L7.css(g);this.$V.append(this.L7)};
e.prototype.gd=function(){return this.$V};e.prototype.getItem=function(){return this.Aa};e.prototype.getX=function(){return this.Na};e.prototype.getY=function(){return this.Qa};e.prototype.Vr=function(){return this.ob};e.prototype.Za=function(){return Math.round(this.Rb*this.ob*this.xf)};e.prototype.Cb=function(){return Math.round(this.dc*this.ob*this.xf)};e.prototype.ff=function(g){this.so!=g&amp;&amp;(this.so=g,this.Ba=!0)};e.prototype.Q2=function(){return this.so};e.prototype.cC=function(g){this.Of!=g&amp;&amp;
(this.Of=g,this.Ba=!0)};e.prototype.KG=function(g,b){if(this.Id!=g||this.Sd!=b)this.Id=g,this.Sd=b,this.Ba=!0};e.prototype.setPosition=function(g,b,d){if(this.Na!=g||this.Qa!=b||this.ob!=d)this.Na=g,this.Qa=b,this.ob=d,this.Ba=!0};e.prototype.co=function(g){this.Lg!=g&amp;&amp;(this.Lg=g,this.Ba=!0)};e.prototype.r$a=function(g){this.eha!=g&amp;&amp;(this.eha=g,this.Ba=!0)};e.prototype.render=function(){if(this.Ba){this.Ba=!1;switch(this.Of){case k.NONE:this.xf=1;break;case k.Vp:this.xf=this.Id/this.Rb;break;case k.xk:this.xf=
this.Sd/this.dc;break;case k.As:this.xf=this.Rb*this.Sd&gt;this.dc*this.Id?this.Sd/this.dc:this.Id/this.Rb;break;default:this.xf=this.Rb*this.Sd&gt;this.dc*this.Id?this.Id/this.Rb:this.Sd/this.dc}var g=this.ob*this.xf,b=.5*this.Id-this.Na*this.Rb*g,d=.5*this.Sd-this.Qa*this.dc*g,f=this.Id*this.Lg,n=function(p,r){return Math.round(p*Math.pow(10,r))*Math.pow(10,-r)},q={};q.width=n(this.Id,0)+"px";q.height=n(this.Sd,0)+"px";q.transform=this.IAa?"translate3d("+n(f,2)+"px, 0px, 0px)":"translate("+n(f,2)+"px, 0px)";
q["-moz-transform"]=q["-webkit-transform"]=q["-ms-transform"]=q.transform;q["z-index"]=this.eha;0==this.so?q.display="none":(q.display="block",1==this.so?(q.filter=q["-ms-filter"]="",q.opacity=""):(q.filter=q["-ms-filter"]="alpha(opacity="+Math.round(100*this.so)+")",q.opacity=this.so));f=[];this.IAa?(f.push("translate3d("+n(b,2)+"px, "+n(d,2)+"px, 0px)"),f.push("scale3d("+g+", "+g+", "+g+")"),this.DX&amp;&amp;(f.push("translate3d("+this.Rb+"px, 0, 0)"),f.push("scale3d(-1, 1, 1)"))):(f.push("translate("+
n(b,2)+"px, "+n(d,2)+"px)"),f.push("scale("+g+", "+g+")"),this.DX&amp;&amp;(f.push("translate("+this.Rb+"px, 0)"),f.push("scale(-1, 1)")));g={};g["-moz-transform"]=g["-webkit-transform"]=g["-ms-transform"]=g.transform=f.join(" ");m.isEqual(this.qra,q)||(this.qra=q,this.$V.css(q));m.isEqual(this.Wsa,g)||(this.Wsa=g,this.L7.css(g))}};return e});
define("iA","require jquery.mod es lS py ix lP if bh e".split(" "),function(a){var e=a("jquery.mod"),l=a("es"),m=a("lS"),k=a("py"),c=a("ix"),h=a("lP"),g=a("if"),b=a("bh"),d=a("e");a=m.extend(d,function(){d.call(this);this.Re("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",b.kv);this.bind(k.tc,this.Ic,this,!0);this.bind(k.jd,this.tj,this,!0);this.bind(k.cd,this.sj,this,!0);this.XE=!1;this.yc=[];this.w0=this.Mx=!1;this.sda=e("&lt;div/&gt;");this.sda.css({position:"absolute",left:0,top:0,right:0,
bottom:0,overflow:"hidden","-webkit-transform":"translateZ(0)"});this.Yb().append(this.sda)});a.prototype.Yn=function(f){h.Yn(f,c.Bl)};a.prototype.Ij=function(f){h.Ij(f,c.Bl)};a.prototype.JEa=function(f){return h.A5(f)};a.prototype.iha=function(f){f=new g(f,this);f.KG(this.Za(),this.Cb());f.setPosition(.5,.5,0,1);this.sda.append(f.gd());this.yc.push(f);this.Mx=!0};a.prototype.removeItem=function(f){if(f=this.Dq(f))this.yc=l.without(this.yc,f),f.gd().detach(),this.Mx=!0};a.prototype.Aha=function(f){if(f=
this.Dq(f))this.yc=l.without(this.yc,f),this.yc.push(f),this.Mx=!0};a.prototype.V$a=function(f,n){this.Dq(f).cC(n)};a.prototype.qs=function(f,n){this.Dq(f).ff(n)};a.prototype.S$a=function(f,n){this.Dq(f).co(n)};a.prototype.BU=function(f,n,q,p){this.Dq(f).setPosition(n,q,p)};a.prototype.cT=function(f){return this.Dq(f).getX()};a.prototype.dT=function(f){return this.Dq(f).getY()};a.prototype.vDa=function(f){return this.Dq(f).Vr()};a.prototype.bT=function(f){return this.Dq(f).Za()};a.prototype.aT=function(f){return this.Dq(f).Cb()};
a.prototype.render=function(){if(this.XE){this.b2a();this.B_a();for(var f=0;f&lt;this.yc.length;f++)this.yc[f].render()}};a.prototype.b2a=function(){if(this.w0){this.w0=!1;for(var f=this.Za(),n=this.Cb(),q=0;q&lt;this.yc.length;q++)this.yc[q].KG(f,n)}};a.prototype.B_a=function(){if(this.Mx){this.Mx=!1;for(var f=[],n=0;n&lt;this.yc.length;n++){var q=this.yc[n],p={};p.I3=q.eP;p.index=n;p.renderer=q;f.push(p)}f.sort(function(r,t){return r.I3==t.I3?r.index-t.index:r.I3-t.I3});for(n=0;n&lt;f.length;n++)f[n].renderer.r$a(n+
1)}};a.prototype.Dq=function(f){if(this.Fdb==f)return this.Edb;for(var n=null,q=0;q&lt;this.yc.length&amp;&amp;!n;q++)this.yc[q].getItem()==f&amp;&amp;(n=this.yc[q]);return n};a.prototype.Ic=function(){this.w0=!0;this.render()};a.prototype.tj=function(){this.XE=!0;this.render()};a.prototype.sj=function(){this.XE=!1};return a});
define("kI","require lS cI ol kk iY gY nP iA ep py".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("ol"),k=a("kk"),c=a("iY"),h=a("gY"),g=a("nP"),b=a("iA"),d=a("ep"),f=a("py");a=m.define("PhotoAlbumPlayer",c,function(){c.call(this,"photoAlbum");this.$0=this.rda=this.ri=!1;this.O=this.j=null;this.dPa=new k(this,"buttonNext",d.Me);this.dPa.bind(f.ma,this.Gva,this);this.ePa=new k(this,"buttonPrevious",d.Me);this.ePa.bind(f.ma,this.Zva,this);this.Jd=e.Ap(this.ih,this)});a.prototype.next=function(){this.Gva()};
a.prototype.pause=function(){this.FE()};a.prototype.play=function(){this.GE()};a.prototype.previous=function(){this.Zva()};a.prototype.stop=function(){this.AA()};a.prototype.restart=function(){this.zA()};a.prototype.set=function(n,q){if(this.get(n)!=q){switch(n){case "photoAlbum":this.rda=!0;this.Jd();break;case "viewerArea":this.ri=!0;this.Jd();break;case "touchTransition":case "mouseTransition":case "touchTransitionDuration":case "mouseTransitionDuration":case "transitionDuration":this.$0=!0,this.Jd()}c.prototype.set.call(this,
n,q)}};a.prototype.ih=function(){this.ri&amp;&amp;(this.ri=!1,this.$0=!0,this.aw(),this.get("viewerArea")&amp;&amp;this.Zv(),this.eR(this.get("viewerArea")));this.j&amp;&amp;this.rda&amp;&amp;(this.rda=!1,this.get("photoAlbum")?(this.EG(),this.O.lab(this.get("photoAlbum"))):this.O.Ay());this.$0&amp;&amp;(this.$0=!1,this.CAa())};a.prototype.oK=function(){this.set("photoAlbum",null)};a.prototype.Zv=function(){var n=this.get("viewerArea");this.j=new b;this.j.ra({left:0,top:0,bottom:0,right:0});n.Ya(this.j);this.O=new h(n,this.j);this.CAa();
this.O.bind(h.Pp,this.Mo,this);this.O.bind(h.Op,this.Uq,this);this.O.bind(h.K6,this.ZP,this);this.O.bind(h.L6,this.Nva,this);this.O.bind(h.M6,this.Ova,this);this.O.bind(h.Sc,this.kf,this);this.VA(!0)};a.prototype.aw=function(){this.j&amp;&amp;(this.O.unbind(h.Pp,this.Mo,this),this.O.unbind(h.Op,this.Uq,this),this.O.unbind(h.K6,this.ZP,this),this.O.unbind(h.L6,this.Nva,this),this.O.unbind(h.M6,this.Ova,this),this.O.unbind(h.Sc,this.kf,this),this.O.clear(),this.j.getParent().removeChild(this.j),this.j=null,
this.VA(!1))};a.prototype.CAa=function(){var n=this.get("viewerArea");n&amp;&amp;this.O&amp;&amp;(n.Go?this.O.e5(this.get("touchTransition",g.ho),this.get("touchTransitionDuration",n.get("transitionDuration",1E3))):this.O.e5(this.get("mouseTransition",g.ho),this.get("mouseTransitionDuration",n.get("transitionDuration",1E3))))};a.prototype.kf=function(n){this.xd(n.data.state)};a.prototype.Mo=function(n){this.oP(n.data.photoAlbum)};a.prototype.Uq=function(n){this.nP(n.data.photoAlbum)};a.prototype.ZP=function(n){n.data.photoAlbum.trigger(new l(f.Gb))};
a.prototype.Nva=function(n){n.data.item.jB()};a.prototype.Ova=function(n){n.data.item.end()};a.prototype.Ki=function(n){this.j.getParent().ra({progressPercent:n.data.percent,progressVisible:!0})};a.prototype.vJ=function(){this.j.getParent().set("progressVisible",!1)};a.prototype.Gva=function(){this.O&amp;&amp;this.get("photoAlbum")&amp;&amp;this.O.next()};a.prototype.Zva=function(){this.O&amp;&amp;this.get("photoAlbum")&amp;&amp;this.O.nka()};a.prototype.Sk=function(){this.O&amp;&amp;this.get("photoAlbum")&amp;&amp;this.O.play()};a.prototype.bp=
function(){this.O&amp;&amp;this.get("photoAlbum")&amp;&amp;this.O.stop()};a.prototype.br=function(){this.O&amp;&amp;this.get("photoAlbum")&amp;&amp;this.O.pause()};return a});
define("hr",["require","ol","dn","iL"],function(a){var e=a("ol"),l=a("dn"),m=a("iL");a=e.define("PhotoAlbumPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&amp;&amp;(k.bind(l.sh,this.Mo,this),k.set("photoAlbum",this.get("media")))};a.prototype.stop=function(){var k=this.get("player");k&amp;&amp;(k.unbind(l.sh,this.Mo,this),k.get("photoAlbum")==this.get("media")&amp;&amp;k.set("photoAlbum",null));m.prototype.stop.call(this)};a.prototype.BM=function(){var k=
this.get("media");if(k){var c=k.get("playList");c&amp;&amp;(k=c.get("selectedIndex"),c=c.get("items"),0&lt;=k&amp;&amp;c&amp;&amp;c[k].BM())}m.prototype.BM.call(this)};a.prototype.Mo=function(){this.get("player").unbind(l.sh,this.Mo,this);this.get("player").bind(l.Vm,this.Uq,this);this.jB()};a.prototype.Uq=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.Vm,this.Uq,this),this.stop(),this.end())};return a});
define("mg",["require","ix","ol","jw"],function(a){var e=a("ix"),l=a("ol"),m=a("jw");return l.define("PhotoAudio",m,function(){m.call(this,e.wMa)})});define("oc",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PhotoCamera",e,function(){e.call(this)})});
define("fc","require es mw cI ol jW py".split(" "),function(a){var e=a("es"),l=a("mw"),m=a("cI"),k=a("ol"),c=a("jW"),h=a("py");a=k.define("PlayList",l,function(){l.call(this);this.Pf=-1;this.Bh=[];this.CQ=this.ak=this.De=void 0});a.prototype.set=function(g,b){"selectedIndex"==g?this.c_a(b):"items"==g?this.PZa(b):l.prototype.set.call(this,g,b)};a.prototype.get=function(g,b){return"selectedIndex"==g?this.Pf:"items"==g?this.Bh:l.prototype.get.call(this,g,b)};a.prototype.dispose=function(){this.De&amp;&amp;(this.De.unbind(h.Mp,
this.cQ,this),this.De.unbind(h.Wf,this.st,this),this.De.unbind(h.Gb,this.st,this),this.De=null)};a.prototype.PZa=function(g){g=g||[];if(!e.isEqual(this.Bh,g)){var b=this.Pf;this.Bh=g;g=this.Nxa(this.Pf);this.trigger(new m(h.sV,{nextSelectedIndex:g}));this.Pf=g;this.xya(this.Yz(this.Pf));this.uAa();this.trigger(new m(h.ba,{previousSelectedIndex:b}));l.prototype.set.call(this,"items",this.Bh);l.prototype.set.call(this,"selectedIndex",this.Pf)}};a.prototype.c_a=function(g){g=this.Nxa(g);if(this.Pf!=
g){var b=this.Pf;this.trigger(new m(h.sV,{nextSelectedIndex:g}));this.Pf=g;this.xya(this.Yz(this.Pf));this.uAa();this.trigger(new m(h.ba,{previousSelectedIndex:b}));l.prototype.set.call(this,"selectedIndex",this.Pf)}};a.prototype.Nxa=function(g){return Math.max(-1,Math.min(this.Bh.length-1,g))};a.prototype.Yz=function(g){return 0&lt;=g?this.Bh[g]:null};a.prototype.xya=function(g){this.De==g&amp;&amp;void 0===this.ak||this.ak===g||(void 0===this.ak?(this.ak=g,this.De?this.ak&amp;&amp;this.De.get("player")==this.ak.get("player")?
(this.De.BM(),this.st()):this.hVa(this.De,this.ak)?(g=this.De,g.BM(),this.st(),g.lKa()):(this.tta(this.De,this.ak)?this.De.get("media").get("modelLocations",[]).forEach(function(b){var d=!(b.get("model")!=this.ak.get("media")||!b.get("forceModelLoading"));b.set("preferred",d)}.bind(this)):this.F2a(this.De,this.ak)&amp;&amp;this.De.get("player").acb(),this.De.stop()):this.st()):this.ak=g)};a.prototype.hVa=function(g,b){return this.wba(g)&amp;&amp;this.Aba(b)&amp;&amp;this.sta(b,g)};a.prototype.tta=function(g,b){return this.Aba(g)&amp;&amp;
this.wba(b)?this.sta(g,b)?!0:g.get("player").get("keepModel3DLoadedWithoutLocation")&amp;&amp;g.get("player").get("model3DPlayer")==b.get("player")?g.get("player").get("model3DPlayer").get("model")==b.get("media")?!0:!1:!1:!1};a.prototype.sta=function(g,b){return g.get("player")&amp;&amp;g.get("player").get("model3DPlayer")==b.get("player")&amp;&amp;g.get("media").get("modelLocations",[]).find(function(d){return d.get("model")==b.get("media")&amp;&amp;(b.get("media").get("isLoaded")||d.get("forceModelLoading"))})};a.prototype.F2a=
function(g,b){return this.Aba(g)&amp;&amp;this.wba(b)&amp;&amp;g.get("player").get("model3DPlayer")==b.get("player")};a.prototype.Aba=function(g){return g&amp;&amp;k.Ja("PanoramaPlayListItem",g)};a.prototype.wba=function(g){return g&amp;&amp;k.Ja("Model3DPlayListItem",g)};a.prototype.st=function(){this.De&amp;&amp;(this.De.unbind(h.Mp,this.cQ,this),this.De.unbind(h.Wf,this.st,this),this.De.unbind(h.Gb,this.st,this));this.ak?(this.tta(this.De,this.ak)&amp;&amp;this.De.get("player").bind(h.E7,this.BA,this,!0),this.De=this.ak,this.ak=void 0,this.De.bind(h.Mp,
this.cQ,this),this.De.bind(h.Wf,this.st,this),this.De.start()):(this.ak=this.De=void 0,this.set("selectedIndex",-1))};a.prototype.BA=function(g){g.source.unbind(h.E7,this.BA,this);this.cQ();this.De.kKa()};a.prototype.cQ=function(){this.De.unbind(h.Mp,this.cQ,this);this.De.unbind(h.Wf,this.st,this);this.De.bind(h.Gb,this.st,this)};a.prototype.uAa=function(){this.CQ&amp;&amp;c.R3(this.CQ.get("media"),-1);(this.CQ=this.Bh&amp;&amp;0&lt;=this.Pf?this.Bh[(this.Pf+1)%this.Bh.length]:null)&amp;&amp;c.R3(this.CQ.get("media"),1)};return a});
define("kT",["require","ol","fc"],function(a){var e=a("ol"),l=a("fc");return e.define("PhotoPlayList",l,function(){l.call(this)})});define("li",["require","ol","iL"],function(a){var e=a("ol"),l=a("iL");return e.define("PhotoPlayListItem",l,function(){l.call(this)})});define("eM",["require","gJ","ol"],function(a){var e=a("gJ");return a("ol").define("PlaybackBar",e,function(){e.call(this)})});
define("nH",["require"],function(){function a(m){try{for(var k=(l.GT&lt;&lt;12)+l.MT&amp;65535,c="",h=0,g=m.length;h&lt;g;){var b=e.indexOf(m.charAt(h++))&lt;&lt;12|e.indexOf(m.charAt(h++))&lt;&lt;6|e.indexOf(m.charAt(h++))&lt;&lt;0;b=b-k+65536&amp;65535;c+=String.fromCharCode(b)}return c}catch(d){if("{%"==m.substr(0,2))return""}}var e="";[[65,26],[97,26],[48,10]].forEach(function(m){for(var k=0;k&lt;m[1];k++)e+=String.fromCharCode(m[0]+k)});e+="+/";var l={H4a:"true"};l.GT=parseInt("0")||
0;l.MT=parseInt("2145")||1;l.wbb="true";l.name=a("AiUAilAi3AjKAjUAjVAjCAiBAixAjNAjCAjaAjGAjT");l.MKa=a("");return l});define("iS",["require"],function(){return{ab:"left",ub:"right",Ec:"top",wc:"bottom"}});
define("ge",["require","lS","eG","W","iS"],function(a){var e=a("lS"),l=a("eG");a("W");a("iS");a=e.extend(l,function(){l.call(this)});a.prototype.xO=function(){return 0};a.prototype.yO=function(){return 0};a.prototype.jK=function(){l.prototype.jK.call(this);this.Uz(function(m){m.Ye(!0)})};a.prototype.vx=function(){l.prototype.vx.call(this);this.Uz(function(m){m.IU(this.xO(m,this.ll()));m.JU(this.yO(m,this.ll()))})};a.prototype.hK=function(){this.Uz(function(m){m.IU(this.xO(m,1));m.JU(this.yO(m,1))});
l.prototype.hK.call(this)};a.prototype.iK=function(){this.Uz(function(m){m.IU(this.xO(m,0));m.JU(this.yO(m,0))});l.prototype.iK.call(this)};return a});
define("ob",["require","lS","ge","iS"],function(a){var e=a("lS"),l=a("ge"),m=a("iS");a=e.extend(l,function(){l.call(this)});a.prototype.xO=function(k,c){switch(this.get("from")){case m.Ec:case m.wc:return 0;case m.ab:var h=k.Na;k=k.Za();return isNaN(k)||isNaN(h)?1E4:(-h-k)*(1-c);default:h=k.getParent();if(!h)return 0;var g=h.Bf();h=k.Na;return isNaN(h)||isNaN(g)?1E4:(g-h)*(1-c)}};a.prototype.yO=function(k,c){switch(this.get("from")){case m.Ec:var h=k.Qa;k=k.Cb();return isNaN(k)||isNaN(h)?1E4:(-h-
k)*(1-c);case m.wc:h=k.getParent();if(!h)return 0;var g=h.Af();h=k.Qa;return isNaN(h)||isNaN(g)?1E4:(g-h)*(1-c);default:return 0}};a.prototype.iK=function(){this.Uz(function(k){k.IU(0);k.JU(0);k.Ye(!1)})};return a});
define("ib",["require","lS","ge","W","iS"],function(a){var e=a("lS"),l=a("ge");a("W");var m=a("iS");a=e.extend(l,function(){l.call(this)});a.prototype.xO=function(k,c){switch(this.get("to")){case m.Ec:case m.wc:return 0;case m.ab:var h=k.Na;k=k.Za();return isNaN(k)||isNaN(h)?1E4:(-h-k)*c;default:h=k.getParent();if(!h)return 0;var g=h.Bf();h=k.Na;return isNaN(h)||isNaN(g)?1E4:(g-h)*c}};a.prototype.yO=function(k,c){switch(this.get("to")){case m.Ec:var h=k.Qa;k=k.Cb();return isNaN(k)||isNaN(h)?1E4:(-h-
k)*c;case m.wc:h=k.getParent();if(!h)return 0;var g=h.Af();h=k.Qa;return isNaN(h)||isNaN(g)?1E4:(g-h)*c;default:return 0}};a.prototype.hK=function(){this.Uz(function(k){k.IU(0);k.JU(0);k.Ye(!1)})};return a});
define("I","require jquery.mod lS py pw w gk nC cZ d oR ob ib kK".split(" "),function(a){function e(v){try{return window.localStorage.getItem(v)}catch(w){}}var l=a("jquery.mod"),m=a("lS"),k=a("py"),c=a("pw"),h=a("w"),g=a("gk"),b=a("nC"),d=a("cZ"),f=a("d"),n=a("oR"),q=a("ob"),p=a("ib"),r=a("kK");a=m.extend(n,function(v){n.call(this);this.Vd=v;this.jj=this.iD=this.Cz=this.tm=null;v=new q;v.set("duration",500);v.set("from","bottom");v=new p;v.set("duration",500);v.set("to","bottom");this.ra({creationPolicy:d.JC,
verticalAlign:b.se,horizontalAlign:b.Ze,visible:!1,showEffect:this.Udb,hideEffect:this.Vdb});this.xfa="";v=this.KTa();!0===v?setTimeout(function(){this.trigger(k.uH)}.bind(this),0):void 0===v&amp;&amp;(this.Vd.bind(k.G("cookiesPolicy"),this.vqa,this),setTimeout(function(){this.vqa()}.bind(this),0))});a.prototype.Hb=function(){n.prototype.Hb.call(this);this.ra({backgroundColor:"#1a1a1a",width:"100%",left:0,bottom:0});null==this.tm&amp;&amp;(this.tm=new r,this.tm.ra({content:this.xfa,fontColor:"#ffffff",fontWeight:"400",
fontFamily:"Open Sans, Arial, sans-serif",width:"100%"}),this.Ya(this.tm));null==this.Cz&amp;&amp;(this.Cz=new n,this.Ya(this.Cz),this.Cz.ra({creationPolicy:d.JC,verticalAlign:b.se,layout:f.Gg}));null==this.iD&amp;&amp;(this.iD=new g,this.iD.ra({backgroundColor:"#2aabe2",fontColor:"#ffffff",fontFamily:"Open Sans, Arial, sans-serif",label:c("accept").toUpperCase(),verticalAlign:"middle"}),this.Cz.Ya(this.iD),this.iD.bind(k.ma,this.WOa,this,!0));null==this.gI&amp;&amp;(this.gI=new g,this.gI.ra({backgroundColor:"#1a1a1a",fontColor:"#808080",
fontFamily:"Open Sans, Arial, sans-serif",label:c("reject").toUpperCase(),textDecoration:"underline",verticalAlign:"middle"}),this.Cz.Ya(this.gI),this.gI.bind(k.ma,this.gPa,this,!0))};a.prototype.Ht=function(){n.prototype.Ht.apply(this,arguments);var v=this.Db();v&amp;&amp;(v.bind(k.tc,this.wm,this,!0),this.wm())};a.prototype.wm=function(){var v=this.Db();if(v){var w=h.qb(),x=v.Cb()&gt;v.Za(),y=Math.min(v.Za(),v.Cb())/100;v=function(z){return Math.round(z*y)};this.ra({gap:w?v(4.63):20,paddingLeft:w?v(4.63):
20,paddingRight:w?v(4.63):20,paddingTop:w?v(4.63):14,paddingBottom:w?v(4.63):14,layout:w&amp;&amp;x?f.Xh:f.Gg});this.tm&amp;&amp;this.tm.ra({fontSize:w?v(3.15):14,textAlign:w&amp;&amp;x?"center":"left"});this.Cz&amp;&amp;this.Cz.ra({gap:w?0:13});this.iD&amp;&amp;this.iD.ra({borderRadius:w?v(4.63):15,fontSize:w?v(3.15):14,height:w?v(9.26):30,paddingLeft:w?v(6):20,paddingRight:w?v(6):20});this.gI&amp;&amp;this.gI.ra({borderRadius:w?v(4.63):15,fontSize:w?v(3.15):14,height:w?v(9.26):30,paddingLeft:w?v(6):20,paddingRight:w?v(6):20});this.Xd()}};a.prototype.vqa=
function(){var v=m.toArray(this.Vd.get("cookiesPolicy"));this.yQ!=v&amp;&amp;(this.yQ=v,this.RYa())};a.prototype.RYa=function(){if(0==this.yQ.length)this.Nea(null);else{var v=this.yQ[0];0==m.toArray(v.get("geographicArea")).length?this.Nea(v):this.bTa(function(w){for(var x=null,y=0;y&lt;this.yQ.length&amp;&amp;!x;y++){var z=this.yQ[y],B=m.toArray(z.get("geographicArea"));if(0==B.length)x=z;else for(var D=0;D&lt;B.length&amp;&amp;!x;D++)0&lt;=w.indexOf(B[D])&amp;&amp;(x=z)}this.Nea(x)}.bind(this))}};a.prototype.Nea=function(v){this.NJ!==
v&amp;&amp;(this.NJ&amp;&amp;this.NJ.unbind(k.G("url"),this.zga,this),(this.NJ=v)?(this.NJ.bind(k.G("url"),this.zga,this),this.zga(),this.set("visible",!0)):(this.trigger(k.uH),this.set("visible",!1)))};a.prototype.zga=function(){var v=l(document.createElement("div")).html(c("cookies-notice"));v.find("a").css({color:"#2aabe2",cursor:"pointer","text-decoration":"underline"}).attr({href:this.NJ.get("url"),target:"_blank"});this.xfa=v.html();this.tm&amp;&amp;this.tm.set("content",this.xfa)};a.prototype.WOa=function(){this.zya(!0);
this.set("visible",!1);this.trigger(k.uH)};a.prototype.gPa=function(){this.zya(!1);this.set("visible",!1)};var t="AT BE BG CY CZ DE DK EE EL ES FI FR HR HU IE IT LT LU LV MT NL PL PT RO SE SI SK".split(" ");a.prototype.bTa=function(v){this.PSa(function(w){var x=[w];t.indexOf(w)&amp;&amp;x.push("EU");v(x)})};a.prototype.PSa=function(v){var w=e("tdvp_country_code");w?v(w):this.Ara||(this.Ara=!0,l.get("https://geoloc.3dvista.com",function(x){this.Ara=!1;x=x.country.toUpperCase();try{window.localStorage.setItem("tdvp_country_code",
x)}catch(y){}v(x)}.bind(this)))};var u="tdvp_accept_cookies_"+window.location.origin+window.location.pathname;a.prototype.KTa=function(){var v=e(u);if("yes"==v)return!0;if("no"==v)return!1};a.prototype.zya=function(v){try{window.localStorage.setItem(u,v?"yes":"no")}catch(w){}};return a});
define("mH",["require"],function(){function a(w){var x=w instanceof Request||w instanceof Response?w.url:w;x&amp;&amp;(x=x.split("#")[0]);x&amp;&amp;(x=x.split("?")[0]);return x&amp;&amp;-1==x.indexOf("://")?("undefined"!==typeof window?Promise.resolve(window.location.href):self.clients.matchAll({type:"window"}).then(function(y){if(y.length)return y[0].url})).then(function(y){return(new window.URL(x,y)).toString()}):Promise.resolve(x)}function e(w,x){return new Promise(function(y,z){(void 0===x?k():Promise.resolve(x)).then(function(B){(window.webkitRequestFileSystem||
window.requestFileSystem)(B?window.PERSISTENT:window.TEMPORARY,w,function(D){y(D)},function(D){console.log("Error getting file system access",D);z("error getting file system")})},function(B){console.log("error getting file system access",B);z("error getting file system")})})}function l(w,x){return w&amp;&amp;w.queryUsageAndQuota?new Promise(function(y,z){w.queryUsageAndQuota(function(B,D){console.log("UsedBytes:",B,"grantedBytes:",D,"freeBytesRequired:",x);var I=B+x;D&gt;=I?y(I):w==navigator.webkitPersistentStorage||
w==navigator.persistentStorage?(console.log("requestQuota:",I),w.requestQuota(I,function(){console.log("Granted bytes:",I);y(I)},function(A){console.log("Not granted bytes:",I,A);z("not enough free space granted")})):(console.log("Not enough temporary free space."),z("not enough free space granted"))},function(B){console.log("Query quota error:",B);B&amp;&amp;B.message&amp;&amp;(B=B.message);z("not enough free space granted: "+B)})}):Promise.reject("unknown free space")}function m(){return(navigator.storage&amp;&amp;navigator.storage.persist?
navigator.storage.persist():Promise.resolve(!1)).then(function(w){console.log("Persistence granted:",w);return w?navigator.webkitPersistentStorage||navigator.persistentStorage:navigator.webkitTemporaryStorage||navigator.temporaryStorage})}function k(){return navigator.storage&amp;&amp;navigator.storage.persisted?navigator.storage.persisted():Promise.resolve(!1)}function c(){return v?Promise.resolve(v):Promise.reject("files uninitialized, no space was requested")}function h(w){w.length&amp;&amp;"/"==w[0]&amp;&amp;(w=w.substr(1));
return w.split("/").filter(function(x){return""!=x})}function g(w){return new Promise(function(x,y){w.remove(function(){x()},function(z){y("can't remove entry"+(z&amp;&amp;z.message?": "+z.message:"")+".")})})}function b(w){return d(w).then(function(x){return Promise.all(x.map(function(y){return y.isDirectory?b(y):g(y)}))}).then(function(){return g(w).then(function(){return Promise.resolve()},function(){return Promise.resolve()})})}function d(w){return new Promise(function(x,y){w.createReader().readEntries(function(z){x(z)},
function(){y("can't list directory")})})}function f(w,x,y){return new Promise(function(z,B){w.getDirectory(x,y,function(D){z(D)},function(){B("can't get directory entry: "+x)})})}function n(w,x){return new Promise(function(y,z){f(w,x,{create:!1}).then(function(B){y(B)})["catch"](function(){f(w,x,{create:!0}).then(function(B){y(B)})["catch"](function(B){console.log("Can't create directory entry: "+x,B);z("can't create directory entry: "+x)})})})}function q(w,x){return 0==x.length?w:n(w,x[0]).then(function(y){return q(y,
x.slice(1))})}function p(w,x){return 0==x.length?w:f(w,x[0]).then(function(y){return p(y,x.slice(1))})}function r(w,x,y){return new Promise(function(z,B){w.getFile(x,y,function(D){z(D)},function(){B("can't get file entry: "+x)})})}function t(w){return new Promise(function(x,y){w.createWriter(function(z){x(z)},function(){y("can't create File for writing")})})}function u(w){var x=w.lastIndexOf(".");switch((0&gt;x?"":w.substr(x)).toLowerCase()){case ".bmp":return"image/bmp";case ".eot":return"application/vnd.ms-fontobject";
case ".gif":return"image/gif";case ".glb":return"model/gltf-binary";case ".htm":case ".html":return"text/html";case ".jpeg":case ".jpg":return"image/jpeg";case ".js":return"text/javascript";case ".json":return"application/json";case ".m3u8":return"application/vnd.apple.mpegurl";case ".m4a":return"audio/mp4";case ".m4v":return"video/mp4";case ".mp3":return"audio/mpeg";case ".mp4":return"video/mp4";case ".ogg":return"audio/ogg";case ".ogv":return"video/ogg";case ".otf":return"font/otf";case ".png":return"image/png";
case ".svg":return"image/svg+xml";case ".tif":return"image/tiff";case ".tiff":return"image/tiff";case ".ts":return"video/vnd.dlna.mpeg-tts";case ".ttf":return"application/font-sfnt";case ".tts":return"video/vnd.dlna.mpeg-tts";case ".txt":return"text/plain";case ".webm":return"video/webm";case ".woff":return"font/x-woff";case ".woff2":return"font/woff2";case ".xml":return"text/xml";default:return"application/octet-stream"}}var v=null;return{x4:function(){return k()},toURL:function(w,x){return a(w).then(function(y){y=
new window.URL(y);var z=x?"persistent":"temporary",B=y.pathname.split("/").map(encodeURIComponent).join("/");return"filesystem:"+y.origin+"/"+z+B})},I9a:function(w){return m().then(function(x){return l(x,w)}).then(function(x){return e(x)}).then(function(x){v=x})},t9a:function(w){w=h(w);var x=w[w.length-1],y=w.slice(0,-1);return c().then(function(z){return p(z.root,y)}).then(function(z){return r(z,x,{create:!0})},function(){return Promise.resolve(null)}).then(function(z){return z&amp;&amp;g(z)})},AHa:function(w,
x){var y=h(w);return e(1024,x).then(function(z){return p(z.root,y)}).then(function(z){return b(z)},function(){return Promise.resolve()})},NKa:function(w,x,y){var z=h(w),B=z[z.length-1],D=z.slice(0,-1);return c().then(function(I){return q(I.root,D)}).then(function(I){return r(I,B,{create:!1}).then(function(A){return Promise.resolve(A)},function(){return r(I,B,{create:!0})})}).then(function(I){return t(I)}).then(function(I){I.seek(I.length);return new Promise(function(A,E){I.onwriteend=function(){A()};
I.onerror=function(J){console.log("Error writing file:",w,J);E("error writing file: "+w)};I.write(new Blob([x],{type:y||u(B)}))})})}}});
define("cG",["require","mH","mS","w"],function(a){function e(b,d){this.Ct=b;this.Ez=!1;this.To=null;this.Xw=d||function(){}}function l(b){return 1048576&lt;=b.eH}var m=a("mH"),k=a("mS"),c=a("w").Sf()?3:5;a={File:function(b,d){this.url=b;this.eH=d;this.pU=this.UK=0}};var h=a.Files=function(b,d,f,n){this.Hpa=this.GOa=b;this.vt=d.slice();this.zra=[];var q=0;this.vt.sort(function(p,r){return p.eH-r.eH});this.vt.forEach(function(p){q+=p.eH});this.vza=q;this.ED=[];this.GW=void 0;this.ft=[];this.V8=!1;this.kg=
f||function(){};this.hO=n||function(){}};h.prototype.hu=function(){return this.DPa().then(function(){return this.EPa()}.bind(this))};h.prototype.DPa=function(){return self.caches["delete"](this.Hpa)};h.prototype.EPa=function(){var b=(new window.URL(this.GOa)).pathname;return m.AHa(b,!1).then(function(){return m.AHa(b,!0)})};h.prototype.requestStorage=function(){return m.I9a(Math.round(1.1*this.vza+10485760)).then(function(){return m.x4()})};h.prototype.download=function(){this.V8=!1;this.GW=0;this.hu().then(function(){this.cO()}.bind(this))["catch"](function(b){console.log("error cleaning storage",
b);m.x4().then(function(d){this.hO(!1,d)}.bind(this))}.bind(this))};h.prototype.cancelDownload=function(){this.V8=!0;this.ft.forEach(function(b){b.cancel()});this.hu()};h.prototype.cO=function(){if(!(this.V8||this.ft.length&gt;=c))if(0&lt;this.vt.length){if(1==c)var b=.5&lt;Math.random()?this.vt.shift():this.vt.pop();else if(0==this.ED.filter(l).length)b=this.vt.pop();else{if(l(this.vt[0]))return;b=this.vt.shift()}this.ED.push(b);var d=k.hB(b.url,"nc="+(new Date).getTime()),f=new e(d,function(q){b.UK=q.UK;
this.zj()}.bind(this));this.ft.push(f);f.fetch().then(function(q){return this.a0a(b.url,q)}.bind(this)).then(function(){this.dra(b,f,!0)}.bind(this))["catch"](function(q){console.log("download error",b.url,b.eH,b.UK,q);this.dra(b,f,!1)}.bind(this));this.cO()}else if(0==this.ft.length){var n=5&gt;=this.zra.length;m.x4().then(function(q){this.hO(n,q)}.bind(this))}};h.prototype.dra=function(b,d,f){f?(this.ED.splice(this.ED.indexOf(b),1),this.ft.splice(this.ft.indexOf(d),1),this.GW+=b.eH,this.zj(),this.cO()):
(b.UK=0,b.pU+=1,this.zj(),20&lt;=b.pU?(console.log("Error downloading file: "+b.url+" after "+b.pU+" retries."),this.mta(b.url)?(this.zra.push(b),this.ft.splice(this.ft.indexOf(d),1),this.cO()):(this.cancelDownload(),m.x4().then(function(n){this.hO(!1,n)}.bind(this)))):(console.log("Error downloading file: "+b.url+" attempt "+b.pU+" of 20. Will retry in 2000ms."),setTimeout(function(){this.ED.splice(this.ED.indexOf(b),1);this.ft.splice(this.ft.indexOf(d),1);l(b)?this.vt.push(b):this.vt.splice(0,0,b);
this.cO()}.bind(this),2E3)))};h.prototype.a0a=function(b,d){return this.c0a(b,d).then(function(){if(this.w2a(b))return this.b0a(b,d)}.bind(this))};h.prototype.b0a=function(b,d){d=d.clone();return 200!=d.status?Promise.reject("response status: "+d.status):self.caches.open(this.Hpa).then(function(f){return f.put(b,d)})};h.prototype.c0a=function(b,d){d=d.clone();if(200!=d.status)return Promise.reject("response status: "+d.status);var f=(new window.URL(b)).pathname;return f.lastIndexOf("/")==f.length-
1?Promise.resolve():new Promise(function(n,q){function p(){x.read().then(function(y){var z=y.value,B=[];if(z){for(;10485760&lt;=z.length+w;){var D=z.slice(0,10485760-w);v.push(D);B.push(r(v));v=[];w=0;z=z.slice(D.length,z.length)}0&lt;z.length&amp;&amp;(v.push(z),w+=z.length)}var I=y.done;w&amp;&amp;I&amp;&amp;B.push(r(v));t(B).then(function(){I?n():p()})["catch"](u)})["catch"](u)}function r(y){if(0==y.length)return new Uint8Array(0);var z=0;y.forEach(function(A){z+=A.length});for(var B=new Uint8Array(z),D=0,I=0;I&lt;y.length;D+=
y[I].length,I++)B.set(y[I],D);return B}function t(y){if(0==y.length)return Promise.resolve();var z=y.shift();return m.NKa(f,z).then(function(){t(y)})}function u(y){console.log("Error writing response to file system:",y);m.t9a(f).then(function(){q("Error reading response body")})}var v=[],w=0,x=d.body.getReader();p()})};var g=".bmp .gif .glb .jpeg .jpg .m3u8 .m4a .m4v .mp3 .mp4 .ogg .ogv .otf .png .svg .tif .tiff .ts .tts .webm .woff .woff2".split(" ");h.prototype.mta=function(b){b=(new window.URL(b)).pathname;
var d="."+b.split(".").pop().toLowerCase();return 0&lt;=g.indexOf(d)&amp;&amp;0&gt;b.indexOf("loading/")};h.prototype.w2a=function(b){var d=(new window.URL(b)).pathname;return 0&lt;=d.indexOf("files/")||0&lt;=d.indexOf("pdfjs/")?!0:this.mta(b)?!1:!0};h.prototype.zj=function(){var b=this.GW;this.ED.forEach(function(d){b+=d.UK});this.kg(100*b/this.vza)};e.prototype.fetch=function(){return fetch(this.Ct).then(function(b){if(this.Ez)return b.body.getReader().cancel(),Promise.reject("cancel requested before server responded.");
if(!b.ok)return Promise.resolve(b);var d=b.headers.get("content-length"),f=void 0,n=0;null!==d&amp;&amp;(f=parseInt(d,10));this.To=b.body.getReader();var q=!1,p=function(u){this.Ez?u.close():q=!0}.bind(this),r=function(u){return this.To.read().then(function(v){var w=v.value;w&amp;&amp;(n+=w.byteLength,u.enqueue(w));v.done&amp;&amp;(f=n,t(u));this.Xw({eH:f,UK:n})}.bind(this))["catch"](function(v){console.log("Error reading response",v);u.error(v)}.bind(this))}.bind(this),t=function(u){q&amp;&amp;(u.close(),q=!1,this.To=null)}.bind(this);
return new Response(new ReadableStream({start:function(u){return p(u)},pull:function(u){return r(u)},cancel:function(){t()}}))}.bind(this))};e.prototype.cancel=function(){this.Ez=!0;this.To&amp;&amp;this.To.cancel()};a.hu=function(b){return(new h(b,[])).hu()};return a});
define("ff","require lS jquery.mod py gE w cG mH nf mS lT dF".split(" "),function(a){function e(u){p=u}var l=a("lS"),m=a("jquery.mod"),k=a("py"),c=a("gE"),h=a("w"),g=a("cG"),b=a("mH"),d=a("nf"),f=a("mS"),n=a("lT"),q=a("dF"),p=null;window.addEventListener("beforeinstallprompt",e);var r=l.extend(c,function(u){c.call(this);this.Vd=u;this.C="initial";this.Cea=this.Kt=this.Vj=null;this.kx=!1;this.MD=null;this.A1=void 0;this.CD=p;this.KY=r.$Ea();this.Tba=f.Dj("vr");this.CD||this.KY||(window.removeEventListener("beforeinstallprompt",
e),window.addEventListener("beforeinstallprompt",this.hWa.bind(this)));this.KY||window.addEventListener("appinstalled",this.aOa.bind(this))});r.prototype.qla=function(u){this.Kt=u;this.dn=f.Jy(this.Kt.get(TDV.PlayerSettings.BASE_DIR_URL)||f.getDirectory(this.Kt.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)));"/"!=this.dn[this.dn.length-1]&amp;&amp;(this.dn+="/");this.Vj=new t(this.dn);this.A1=this.oxa=u.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS);this.uUa=f.parse(f.getDirectory(window.location.href)).pathname;
this.VRa=f.hB(f.Jy("files.json",this.dn),this.oxa);u=TDV.cb.UDa();this.Cea=f.hB(this.Kt.get(TDV.PlayerSettings.SERVICE_WORKER_URL),"swv="+u.MAJOR+"."+u.MINOR);this.Vj=new t(this.dn);this.Vj.bind(k.ea,this.t0a,this,!0);this.Vj.load()};r.prototype.zL=function(){return this.Vj.state==t.TM};r.prototype.OBa=function(){return"can_install"==this.C&amp;&amp;!this.Tba};r.prototype.QBa=function(){return this.zL()&amp;&amp;this.A1!=this.Vj.version&amp;&amp;!this.Tba};r.prototype.NBa=function(){return this.Vj.state!=t.yma&amp;&amp;!this.Tba};
r.prototype.DEa=function(){"can_install"==this.C&amp;&amp;(this.CD?(this.CD.userChoice.then(function(u){"accepted"!=u.outcome&amp;&amp;this.xd("unavailable")}.bind(this)),this.CD.prompt().then(function(){this.CD=null}.bind(this))):this.k$())};r.prototype.cancel=function(){"downloading"==this.C&amp;&amp;(this.MD&amp;&amp;(this.MD.cancelDownload(),this.MD=null),this.Vj.hu(),this.xd("unavailable"))};r.prototype.hu=function(){g.hu(this.dn);this.Vj.hu()};r.prototype.t0a=function(){this.Kt&amp;&amp;this.Kt.get(TDV.PlayerSettings.xV)?this.xd("unavailable"):
!0!==this.Vd.get("downloadEnabled")?this.xd("unavailable"):!0!==d.pLa?this.xd("unavailable"):h.browser()!=h.io||h.sc()==h.Vy||h.sc()==h.oH?this.xd("unavailable"):this.Cea?"serviceWorker"in navigator?this.zL()&amp;&amp;!this.QBa()?this.xd("unavailable"):navigator.onLine?this.eYa():this.xd("unavailable"):this.xd("unavailable"):this.xd("unavailable")};r.prototype.xd=function(u){this.C!=u&amp;&amp;(this.C=u,u=0&lt;=["can_install","unavailable"].indexOf(this.C),this.kx!=u&amp;&amp;(this.kx=u)&amp;&amp;this.trigger(k.hd))};r.prototype.eYa=
function(){this.xd("registering_sw");navigator.serviceWorker.register(this.Cea,{scope:this.uUa}).then(function(){this.Zxa(!0)}.bind(this))["catch"](function(){this.Zxa(!1)}.bind(this))};r.prototype.Zxa=function(u){u?h.Sf()?this.xd("can_install"):this.KY&amp;&amp;this.Vj.state==t.k6?(this.xd("can_install"),this.k$()):this.CD?this.xd("can_install"):(this.xd("sw_registered"),setTimeout(function(){"sw_registered"==this.C&amp;&amp;this.xd("can_install")}.bind(this),3E3)):this.xd("unavailable")};r.prototype.hWa=function(u){this.Kt&amp;&amp;
this.Kt.get(TDV.PlayerSettings.xV)||(this.CD=u,"sw_registered"==this.C&amp;&amp;this.xd("can_install"))};r.prototype.aOa=function(){this.Kt&amp;&amp;this.Kt.get(TDV.PlayerSettings.xV)||("sw_registered"==this.C&amp;&amp;this.xd("can_install"),this.k$())};r.prototype.k$=function(){this.xd("downloading");this.trigger(k.Mp);this.Mza(0);this.xVa()};r.prototype.xVa=function(){var u=f.hB(this.VRa,"nc="+(new Date).getTime());m.getJSON(u,function(v){if("downloading"==this.C){var w=[],x;for(x in v){var y=v[x].tags;if(y){Array.isArray(y)||
(y=[y]);for(var z=0;z&lt;y.length;z++)0&gt;w.indexOf(y[z])&amp;&amp;w.push(y[z])}}var B=[];0&lt;=w.indexOf("mobilevr2gen")&amp;&amp;(h.z3()||h.A3())?B.push("mobilevr2gen"):0&lt;=w.indexOf("mobilevr")&amp;&amp;h.Sf()?B.push("mobilevr"):0&lt;=w.indexOf("mobile")&amp;&amp;h.qb()?B.push("mobile"):0&lt;=w.indexOf("desktop")&amp;&amp;!h.qb()&amp;&amp;B.push("desktop");w=[];for(x in v)if(!(-1&lt;x.indexOf(".DS_Store"))){if(y=v[x].tags){var D=!1;if(Array.isArray(y)){z=0;for(var I=y.length;z&lt;I&amp;&amp;!D;z++)D=0&lt;=B.indexOf(y[z])}else D=0&lt;=B.indexOf(y);if(!D)continue}y=f.Jy(x,this.dn);
w.push(new g.File(y,v[x].size))}var A=(new window.URL(window.location.pathname,window.location.href)).toString();0==w.filter(function(E){return E.url==A}).length&amp;&amp;w.push(new g.File(A,1024));this.MD=new g.Files(this.dn,w,this.Mza.bind(this),this.cra.bind(this));this.MD.requestStorage().then(function(E){this.Vj.storage=E?t.eN:t.x7;this.Vj.state=t.k6;this.Vj.version=this.A1;this.Vj.save();this.MD.download()}.bind(this))["catch"](function(){this.cra(!1,void 0)}.bind(this))}}.bind(this))};r.prototype.Mza=
function(u){this.trigger(new n(k.kc,u))};r.prototype.cra=function(u,v){this.MD=null;this.xd("unavailable");u&amp;&amp;(this.Vj.state=t.TM,this.Vj.save());u?this.trigger(k.Gb,{success:!0}):v?this.trigger(k.Gb,{success:!1,error:r.Bma}):h.Sf()?this.trigger(k.Gb,{success:!1,error:r.Ama}):this.KY?this.trigger(k.Gb,{success:!1,error:r.Bma}):this.trigger(k.Gb,{success:!1,error:r.Cma})};r.$Ea=function(){return f.lg("installed",!1)};r.g9a=function(u,v){var w=new r.b7(u);w.bind(k.ea,function(){var x=!1;w.state==r.b7.TM&amp;&amp;
(x=r.$Ea()?!0:!navigator.onLine);x?b.toURL(u,w.storage==r.b7.eN).then(function(y){v(y)}):v(u)},this,!0);w.load()};r.Cma="launchFromHomeScreen";r.Ama="addToBookmark";r.Bma="errorDownloading";var t=l.extend(c,function(u){c.call(this);this.dn=u;this.Iba="installation_state_"+u;this.yXa=f.parse(this.dn).pathname+"installation_state.json";this.state=this.storage=this.version=void 0;this.fya()});t.prototype.load=function(){if(this.yVa()&amp;&amp;this.state==t.TM)this.pza(this.storage==t.eN).then(function(){this.trigger(k.ea)}.bind(this))["catch"](function(){this.pza(this.storage!=
t.eN).then(function(){this.storage=this.storage==t.x7?t.eN:t.x7;this.vea();this.trigger(k.ea)}.bind(this))["catch"](function(){this.state=t.k6;this.vea();this.trigger(k.ea)}.bind(this))}.bind(this));else this.trigger(k.ea)};t.prototype.save=function(){this.vea();this.state==t.TM&amp;&amp;this.MYa()};t.prototype.yVa=function(){var u=q.getItem(this.Iba);if(!u)return!1;this.pSa(u);return!0};t.prototype.vea=function(){q.setItem(this.Iba,this.uza())};t.prototype.pza=function(u){return new Promise(function(v,w){b.toURL(this.dn+
"installation_state.json",u).then(function(x){m.ajax({type:"GET",url:x,success:function(){v()},error:function(){w()}})}.bind(this))}.bind(this))};t.prototype.MYa=function(){b.NKa(this.yXa,this.uza(),"text/json")};t.prototype.uza=function(){var u={};u.version=this.version;u.storage=this.storage;u.state=this.state;return JSON.stringify(u)};t.prototype.pSa=function(u){this.oSa(JSON.parse(u))};t.prototype.oSa=function(u){this.version=u.version;this.storage=u.storage;this.state=u.state};t.prototype.hu=
function(){q.removeItem(this.Iba);this.fya()};t.prototype.fya=function(){this.version="";this.storage=t.JMa;this.state=t.yma};t.JMa="unkonwn";t.x7="temporary";t.eN="persistent";t.yma="not started";t.k6="started";t.TM="completed";r.b7=t;return r});
define("bf","require lS py pw w ff gk gt nC d oR e dE".split(" "),function(a){function e(r){var t=new g;t.ra({label:r,backgroundColor:"#0071BC",borderRadius:2,fontColor:"#ffffff",fontWeight:"400",fontFamily:"Arial, sans-serif",fontSize:14,paddingLeft:14,paddingRight:14,height:31,verticalAlign:d.se});return t}var l=a("lS"),m=a("py"),k=a("pw"),c=a("w"),h=a("ff"),g=a("gk"),b=a("gt"),d=a("nC"),f=a("d"),n=a("oR"),q=a("e"),p=a("dE");a=l.extend(n,function(r,t){n.call(this);this.Vd=r;this.ug=t;this.ug.bind(m.hd,
this.OUa,this,!0);this.ug.bind(m.Mp,this.LUa,this,!0);this.ug.bind(m.kc,this.NUa,this,!0);this.ug.bind(m.Gb,this.MUa,this,!0);this.ua="hidden";this.dS=void 0;this.Bda=!1;this.kg=void 0;this.jj=this.Sv=this.jD=this.nD=this.kD=this.B0=this.Pa=null;this.WNa();this.ra({backgroundColor:"#000000",gap:18,height:55,width:"100%",paddingLeft:28,paddingRight:28,verticalAlign:d.se,layout:f.Gg});this.yg()});a.prototype.OUa=function(){this.ug.OBa()||this.ug.zL()&amp;&amp;this.ug.NBa()?(this.ua="ready",this.Bda&amp;&amp;this.Wya()):
this.ua="hidden";this.yg()};a.prototype.LUa=function(){this.ua="installing";this.yg()};a.prototype.NUa=function(r){this.kg=r.Tg;this.yg()};a.prototype.MUa=function(r){this.ua=r.data.success?"installed":"failed";this.ura=r.data.error;this.yg()};a.prototype.Mf=function(){this.$_a()};a.prototype.KZ=function(){this.Bda||(this.Bda=!0,"ready"==this.ua&amp;&amp;this.Wya())};a.prototype.Wya=function(){this.dS=setTimeout(function(){this.dS=null;this.mXa()}.bind(this),5E3);this.yg()};a.prototype.$_a=function(){this.yxa();
this.dS&amp;&amp;clearTimeout(this.dS);this.dS=null};a.prototype.mXa=function(){this.yxa();"ready"==this.ua&amp;&amp;(this.ua="hidden",this.yg())};a.prototype.WNa=function(){this.bind(m.Pb,this.Mf,this);this.Vd.bind(m.Pb,this.KZ,this);this.Vd.bind(m.hb,this.KZ,this)};a.prototype.yxa=function(){this.unbind(m.Pb,this.Mf,this);this.Vd.unbind(m.Pb,this.KZ,this);this.Vd.unbind(m.hb,this.KZ,this)};a.prototype.Hb=function(){n.prototype.Hb.call(this);null==this.Pa&amp;&amp;(this.Pa=new p,this.Pa.ra({fontColor:"#ffffff",fontWeight:"400",
fontFamily:"Arial, sans-serif",fontSize:14,text:k("download-tour")}),this.Ya(this.Pa));null==this.kD&amp;&amp;(this.kD=e(k("download")),this.Ya(this.kD),this.kD.bind(m.ma,this.$Oa,this,!0));null==this.nD&amp;&amp;(this.nD=e(k("refresh-downloaded")),this.Ya(this.nD),this.nD.bind(m.ma,this.fPa,this,!0));null==this.jD&amp;&amp;(this.jD=e(k("delete-downloaded")),this.Ya(this.jD),this.jD.bind(m.ma,this.ZOa,this,!0));null==this.B0&amp;&amp;(this.B0=new q,this.B0.ra({width:"100%"}),this.Ya(this.B0));null==this.Sv&amp;&amp;(this.Sv=new b,this.Sv.ra({backgroundColor:"#ffffff",
borderRadius:2,iconColor:"#000000",iconLineWidth:1,iconWidth:17,iconHeight:17,height:31,width:31}),this.Ya(this.Sv),this.Sv.bind(m.ma,this.YOa,this,!0));null==this.jj&amp;&amp;(this.jj=e(k("cancel")),this.Ya(this.jj),this.jj.bind(m.ma,this.Az,this,!0));c.qb()&amp;&amp;this.wm();this.yg()};a.prototype.mq=function(){n.prototype.mq.call(this);c.qb()&amp;&amp;this.getParent().bind(m.tc,this.wm,this,!0)};a.prototype.Ln=function(){c.qb()&amp;&amp;this.getParent().unbind(m.tc,this.wm,this,!0);n.prototype.Ln.call(this)};a.prototype.wm=
function(){var r=this.getParent();if(r){var t=Math.min(r.Za(),r.Cb())/100,u=function(v){return Math.round(v*t)};this.ra({gap:u(3.9),height:u(11.9),paddingLeft:u(6),paddingRight:u(6)});this.Pa&amp;&amp;this.Pa.ra({fontSize:u(3)});[this.kD,this.jj,this.nD,this.jD].forEach(function(v){v&amp;&amp;v.ra({borderRadius:u(.4),fontSize:u(3),paddingLeft:u(3),paddingRight:u(3),height:u(6.7)})});this.Sv&amp;&amp;this.Sv.ra({borderRadius:u(.4),iconLineWidth:u(.22),iconWidth:u(3.7),iconHeight:u(3.7),height:u(6.7),width:u(6.7)})}};a.prototype.yg=
function(){switch(this.ua){case "ready":var r=this.ug.zL()?k("downloaded"):k("download-tour");break;case "installing":r=k("downloading");void 0!==this.kg&amp;&amp;(r+="..."+this.kg.toFixed(1)+"%");break;case "installed":r=k("downloaded");break;case "failed":r=this.ura==h.Cma?c.qb()?k("storage-not-provided-launch-from-homescreen"):k("storage-not-provided-launch-from-desktop"):this.ura==h.Ama?k("storage-not-provided-bookmark"):k("download-failed")}this.Pa&amp;&amp;this.Pa.set("text",r);this.kD&amp;&amp;this.kD.set("visible",
"ready"==this.ua&amp;&amp;!this.ug.zL()&amp;&amp;this.ug.OBa());this.jD&amp;&amp;this.jD.set("visible","ready"==this.ua&amp;&amp;this.ug.zL()&amp;&amp;this.ug.NBa());this.nD&amp;&amp;this.nD.set("visible","ready"==this.ua&amp;&amp;this.ug.QBa());this.jj&amp;&amp;this.jj.set("visible","installing"==this.ua);this.Sv&amp;&amp;this.Sv.set("visible","installing"!=this.ua);this.set("visible","hidden"!=this.ua)};a.prototype.$Oa=function(){this.ug.DEa()};a.prototype.fPa=function(){this.ug.DEa()};a.prototype.ZOa=function(){this.ug.hu();this.ua="hidden";this.yg()};a.prototype.Az=
function(){this.ug.cancel();this.ua="hidden";this.yg()};a.prototype.YOa=function(){"installing"==this.ua&amp;&amp;this.ug.cancel();this.ua="hidden";this.yg()};return a});
define("oa","require lS es py pw w gk nC d oR od oy dE jq ju".split(" "),function(a){function e(u,v){this.text=u;this.op=v}var l=a("lS"),m=a("es"),k=a("py"),c=a("pw"),h=a("w"),g=a("gk"),b=a("nC"),d=a("d"),f=a("oR"),n=a("od"),q=a("oy"),p=a("dE"),r=a("jq"),t=a("ju");a=l.extend(f,function(){f.call(this);this.Nq=[];this.jj=this.lD=this.Pa=this.YD=this.eK=this.Dr=null;this.dI=this.dI.bind(this);this.Az=this.Az.bind(this);var u=new n;u.set("duration",500);u.set("easing","cubic_in");var v=new q;v.set("duration",
500);v.set("easing","cubic_out");this.ra({backgroundColor:"#000000",backgroundOpacity:.6,horizontalAlign:b.Ze,gap:5,left:0,top:0,right:0,bottom:0,hideEffect:v,showEffect:u,visible:!1})});a.prototype.Hb=function(){f.prototype.Hb.call(this);null==this.Dr&amp;&amp;(this.Dr=new f,this.Dr.ra({centerX:0,centerY:0,backgroundColor:"#ffffff",horizontalAlign:b.Ze,verticalAlign:b.se,layout:d.Xh,shadow:!0,shadowColor:"#000000",shadowHorizontalLength:0,shadowVerticalLength:0,shadowOpacity:.2}),this.Ya(this.Dr));null==
this.Pa&amp;&amp;(this.Pa=new p,this.Pa.ra({fontColor:"#808080",fontWeight:"300",fontFamily:"Tahoma, Geneva, sans-serif"}),this.Dr.Ya(this.Pa));null==this.YD&amp;&amp;(this.YD=new r,this.YD.ra({width:"80%"}),this.Dr.Ya(this.YD));null==this.eK&amp;&amp;(this.eK=new f,this.eK.ra({backgroundColor:"#b3b3b3"}),this.Dr.Ya(this.eK));null==this.kj&amp;&amp;(this.kj=new f,this.kj.ra({horizontalAlign:b.Ze,verticalAlign:b.se,layout:d.Gg}),this.Dr.Ya(this.kj));null==this.lD&amp;&amp;(this.lD=new g,this.lD.ra({backgroundColor:"#606060",fontColor:"#FFFFFF",
fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:b.Ze,verticalAlign:b.se,label:c("yes").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080",tabIndex:1}),this.lD.bind(k.ma,this.dI,this,!0),this.kj.Ya(this.lD));null==this.jj&amp;&amp;(this.jj=new g,this.jj.ra({backgroundColor:"#606060",fontColor:"#FFFFFF",fontFamily:"Tahoma, Geneva, sans-serif",horizontalAlign:b.Ze,verticalAlign:b.se,label:c("no").toUpperCase(),pressedBorderColor:"#808080",rollOverBorderColor:"#808080",tabIndex:1}),
this.jj.bind(k.ma,this.Az,this,!0),this.kj.Ya(this.jj))};a.prototype.mq=function(){f.prototype.mq.call(this);this.getParent().bind(k.tc,this.wm,this,!0)};a.prototype.Ln=function(){this.getParent().unbind(k.tc,this.wm,this,!0);f.prototype.Ln.call(this)};a.prototype.wm=function(){var u=this.getParent();if(u){var v=u.Za();u=u.Cb();if(h.qb()){var w=Math.min(v,u);v=function(x){return Math.round(x*w/100)}}else v=function(x){return Math.round(4*x)};this.Dr&amp;&amp;this.Dr.ra({borderRadius:v(1),width:v(80),height:v(40),
gap:v(4),shadowBlurRadius:v(1),shadowSpread:v(1)});this.eK&amp;&amp;this.eK.ra({width:v(60),minHeight:2,height:v(.25)});this.kj&amp;&amp;this.kj.ra({gap:v(5)});this.jj&amp;&amp;this.jj.ra({borderRadius:v(1),width:v(20),height:v(10),fontSize:v(4.25)});this.lD&amp;&amp;this.lD.ra({borderRadius:v(1),width:v(20),height:v(10),fontSize:v(4.5)});this.Pa&amp;&amp;this.Pa.ra({fontSize:v(5)});this.l1()}};a.prototype.show=function(u,v){this.wm();var w=this.tsa(v);0&lt;=w&amp;&amp;this.wxa(w);this.WXa(new e(u,v));this.cI()};a.prototype.hide=function(u){u=this.tsa(u);
0&lt;=u&amp;&amp;this.wxa(u)};a.prototype.cI=function(){var u=this.getParent();u&amp;&amp;u.ao(this,u.pb().length-1)};a.prototype.dI=function(){this.oW(!0)};a.prototype.Az=function(){this.oW(!1)};a.prototype.tsa=function(u){for(var v=0;v&lt;this.Nq.length;v++)if(this.Nq[v].op==u)return v;return-1};a.prototype.l1=function(){if(this.Dr){t.E9a(this.dI);t.tka(this.Az);var u=this.Isa();u?(20&gt;u.text.length?(this.YD.set("visible",!1),this.Pa.set("text",u.text),this.Pa.set("visible",!0)):(this.Pa.set("visible",!1),this.YD.set("html",
this.cTa(u.text)),this.YD.set("visible",!0)),this.jj.set("visible",u.op?!0:!1),this.set("visible",!0),t.l3a(this.dI),t.hha(this.Az)):this.set("visible",!1)}};a.prototype.cTa=function(u){return"&lt;div style=\"color:#808080; font-weight:300; font-family:'Tahoma', 'Geneva', sans-serif; font-size: "+this.Pa.get("fontSize")+'px; text-align:center;" &gt;'+u+"&lt;/div&gt;"};a.prototype.oW=function(u){var v=this.Isa();v&amp;&amp;(v=this.sTa(v.text),this.rYa(v),m(v).each(function(w){w.op&amp;&amp;w.op.call(this,u)},this))};a.prototype.WXa=
function(u){this.Nq.push(u);this.l1()};a.prototype.sTa=function(u){return m(this.Nq).filter(function(v){return v.text==u})};a.prototype.rYa=function(u){this.Nq=m(this.Nq).filter(function(v){return!m(u).contains(v)});this.l1()};a.prototype.wxa=function(u){this.Nq.splice(u,1);u==this.Nq.length&amp;&amp;this.l1()};a.prototype.Isa=function(){return 0&lt;this.Nq.length?this.Nq[this.Nq.length-1]:null};return a});
define("jL","require lS py cI gE w nL".split(" "),function(a){function e(C){return C.map(function(L){return String.fromCharCode(L)}).join("")}function l(C){for(;C&amp;&amp;C!=document;){if("Button"==C.getAttribute(r))return!0;C=C.parentNode}return!1}var m=a("lS"),k=a("py"),c=a("cI"),h=a("gE"),g=a("w"),b=a("nL"),d=[];a=e([99,111,110,116,101,120,116,109,101,110,117]);var f=e([109,111,117,115,101,100,111,119,110]),n=e([109,111,117,115,101,117,112]),q=e([109,111,117,115,101,108,101,97,118,101]),p=e([109,111,
117,115,101,101,110,116,101,114]),r=e([116,100,118,99,108,97,115,115]);document.addEventListener(a,function(C){if(!g.qb()||!l(C.target)){var L=g.ud()==g.d7?200:0;setTimeout(function(){(void 0===t||void 0===u||void 0===v||void 0===w||10&gt;Math.abs(v-t)+Math.abs(w-u))&amp;&amp;d.forEach(function(S){S(C)});t=u=v=w=void 0},L)}C.preventDefault();C.stopImmediatePropagation()},!0);var t,u,v,w;document.addEventListener("mousedown",function(C){v=t=C.screenX;w=u=C.screenY},!0);document.addEventListener("mousemove",function(C){v=
C.screenX;w=C.screenY},!0);var x=1;m=m.extend(h,function(C,L){h.call(this);this.mb=C;this.kTa=L;this.pZ=this.pZ.bind(this);this.ce=this.ce.bind(this);this.Hba=!1;this.Eba=this.Eba.bind(this);this.Fba=this.Fba.bind(this);this.Dba=this.Dba.bind(this);this.Gba=this.Gba.bind(this);this.xa=document.createElement("div");this.xa.style.setProperty("z-index",x,J[E]);for(var S in J[y])this.xa.style.setProperty(S,J[y][S],J[E]);d.push(this.pZ)});m.prototype.clear=function(){this.rVa()&amp;&amp;this.Qaa();this.xa=null;
d.splice(d.indexOf(this.pZ),1)};m.prototype.pZ=function(C){var L=this.kTa();if(0!=L.length){this.xa.replaceChildren();this.Hba=!1;var S=0;L.forEach(function(U){var V=document.createElement("div");if(U){V.textContent=U;for(var W in J[B])V.style.setProperty(W,J[B][W],J[E]);var K=S;S++;V.addEventListener(p,function(N){this.Eba(N,K)}.bind(this));V.addEventListener(q,function(N){this.Fba(N,K)}.bind(this));V.addEventListener(f,function(N){this.Dba(N,K)}.bind(this));V.addEventListener(n,function(N){this.Gba(N,
K)}.bind(this))}else for(W in J[D])V.style.setProperty(W,J[D][W],J[E]);for(W in J[z])V.style.setProperty(W,J[z][W],J[E]);this.xa.appendChild(V)}.bind(this));(b.fullscreenElement()||document.body).appendChild(this.xa);this.xa.style.setProperty("display","block",J[E]);L=C.pageX;C=C.pageY;L+this.xa.clientWidth&gt;document.body.clientWidth-5&amp;&amp;(L=document.body.clientWidth-this.xa.clientWidth-5);C+this.xa.clientHeight&gt;document.body.clientHeight-5&amp;&amp;(C=document.body.clientHeight-this.xa.clientHeight-5);this.xa.style.setProperty("left",
L+"px",J[E]);this.xa.style.setProperty("top",C+"px",J[E]);this.mb.bind(k.hb,this.ce,this);document.addEventListener("mousedown",this.ce);this.O2a=setInterval(this.N2a.bind(this),200)}};m.prototype.rVa=function(){return!!this.xa&amp;&amp;!!this.xa.parentNode};m.prototype.Qaa=function(){clearInterval(this.O2a);this.xa.parentNode.removeChild(this.xa);document.removeEventListener("mousedown",this.ce);this.mb.unbind(k.hb,this.ce,this);this.xa.style.setProperty("display","none",J[E])};m.prototype.N2a=function(){this.xa.contains(document.elementFromPoint(this.xa.offsetLeft+
.5*this.xa.clientWidth,this.xa.offsetTop+.5*this.xa.clientHeight))||this.xa.style.setProperty("z-index",x*=10,J[E])};m.prototype.ce=function(){this.Qaa()};m.prototype.Dba=function(C){this.Hba=!0;C.preventDefault();C.stopImmediatePropagation()};m.prototype.Gba=function(C,L){this.Hba&amp;&amp;(this.Qaa(),C.preventDefault(),C.stopImmediatePropagation(),this.trigger(new c(k.gq,{index:L})))};m.prototype.Eba=function(C){for(var L in J[I])C.currentTarget.style.setProperty(L,J[I][L],J[E])};m.prototype.Fba=function(C){for(var L in J[A])C.currentTarget.style.setProperty(L,
J[A][L],J[E])};var y="0",z="1",B="2",D="3",I="4",A="5",E="6",J=function(C){return JSON.parse(C.map(function(L){return String.fromCharCode(L)}).join(""))}([123,34,48,34,58,123,34,98,111,114,100,101,114,34,58,34,49,112,120,32,115,111,108,105,100,32,35,98,98,98,34,44,34,98,111,114,100,101,114,45,114,97,100,105,117,115,34,58,34,51,112,120,34,44,34,112,111,115,105,116,105,111,110,34,58,34,97,98,115,111,108,117,116,101,34,44,34,100,105,115,112,108,97,121,34,58,34,110,111,110,101,34,44,34,98,97,99,107,103,
114,111,117,110,100,45,99,111,108,111,114,34,58,34,35,101,53,101,53,101,53,34,44,34,111,112,97,99,105,116,121,34,58,49,44,34,112,97,100,100,105,110,103,34,58,48,44,34,109,97,114,103,105,110,34,58,48,44,34,112,111,105,110,116,101,114,45,101,118,101,110,116,115,34,58,34,97,108,108,34,44,34,116,101,120,116,45,97,108,105,103,110,34,58,34,108,101,102,116,34,44,34,98,111,120,45,115,104,97,100,111,119,34,58,34,49,112,120,32,49,112,120,32,51,112,120,32,114,103,98,97,40,48,44,32,48,44,32,48,44,32,48,46,50,
41,34,125,44,34,49,34,58,123,34,102,111,110,116,45,102,97,109,105,108,121,34,58,34,65,114,105,97,108,34,44,34,102,111,110,116,45,115,105,122,101,34,58,34,49,51,112,120,34,44,34,99,111,108,111,114,34,58,34,35,48,48,48,48,48,48,34,44,34,111,112,97,99,105,116,121,34,58,49,44,34,100,105,115,112,108,97,121,34,58,34,98,108,111,99,107,34,44,34,112,111,105,110,116,101,114,45,101,118,101,110,116,115,34,58,34,97,108,108,34,125,44,34,50,34,58,123,34,99,117,114,115,111,114,34,58,34,112,111,105,110,116,101,114,
34,44,34,98,111,114,100,101,114,45,114,97,100,105,117,115,34,58,34,51,112,120,34,44,34,112,97,100,100,105,110,103,34,58,34,55,112,120,32,50,48,112,120,34,44,34,119,104,105,116,101,45,115,112,97,99,101,34,58,34,110,111,119,114,97,112,34,125,44,34,51,34,58,123,34,109,97,114,103,105,110,34,58,34,55,112,120,32,53,112,120,34,44,34,98,111,114,100,101,114,45,116,111,112,34,58,34,49,112,120,32,115,111,108,105,100,32,35,97,97,97,34,44,34,98,111,114,100,101,114,45,98,111,116,116,111,109,34,58,34,49,112,120,
32,115,111,108,105,100,32,35,102,102,102,34,125,44,34,52,34,58,123,34,99,111,108,111,114,34,58,34,35,102,102,102,102,102,102,34,44,34,98,97,99,107,103,114,111,117,110,100,45,99,111,108,111,114,34,58,34,114,103,98,97,40,48,44,32,48,44,32,48,44,32,48,46,55,41,34,125,44,34,53,34,58,123,34,99,111,108,111,114,34,58,34,35,48,48,48,48,48,48,34,44,34,98,97,99,107,103,114,111,117,110,100,45,99,111,108,111,114,34,58,34,34,125,44,34,54,34,58,34,105,109,112,111,114,116,97,110,116,34,125]);return m});
define("mW",["require","mS","bh","cl"],function(a){function e(c){this.mb=c;this.Nt={};this.Nt[m.fna]="move";this.Nt[m.gMa]="ew-resize";this.Nt[m.iMa]="ns-resize";this.Nt[m.hMa]="nesw-resize";this.Nt[m.jMa]="nwse-resize";this.Nt[m.Le]="pointer";this.Nt[m.kv]="inherit";this.Nt[m.Ke]="default";this.yh={};this.yh[m.cz]="grab.cur";this.yh[m.Vh]="grabbing.cur";this.yh[m.pna]="N.cur";this.yh[m.qna]="NE.cur";this.yh[m.gna]="E.cur";this.yh[m.tna]="SE.cur";this.yh[m.sna]="S.cur";this.yh[m.una]="SW.cur";this.yh[m.vna]=
"W.cur";this.yh[m.rna]="NW.cur";this.yh[m.ina]="FN.cur";this.yh[m.jna]="FNE.cur";this.yh[m.hna]="FE.cur";this.yh[m.mna]="FSE.cur";this.yh[m.lna]="FS.cur";this.yh[m.nna]="FSW.cur";this.yh[m.ona]="FW.cur";this.yh[m.kna]="FNW.cur";this.v8={};this.v8[m.UC]=k.UC;this.Gpa={}}var l=a("mS"),m=a("bh"),k=a("cl");e.prototype.gDa=function(c){return this.mVa(c)?this.Fsa(c):this.cVa(c)?this.QSa(c):this.WUa(c)?this.xSa(c):this.Fsa(m.Ke)};e.prototype.lPa=function(c){if(!(c in this.Gpa)){var h=new Image;h.src=this.asa(c);
this.Gpa[c]=h}};e.prototype.mVa=function(c){return c in this.Nt};e.prototype.Fsa=function(c){return this.Nt[c]};e.prototype.cVa=function(c){return this.yh[c]};e.prototype.QSa=function(c){this.lPa(c);return"url("+this.asa(c)+"), default"};e.prototype.asa=function(c){return l.Jy(this.mb.get("settings").get(TDV.PlayerSettings.CURSORS_DIR_URL))+"/"+this.yh[c]};e.prototype.WUa=function(c){return c in this.v8};e.prototype.xSa=function(c){return"url("+this.v8[c]+"), auto"};return e});
define("cC",["require","es"],function(a){function e(){this.hx={};this.hr=[];this.QN=0}var l=a("es");e.prototype.push=function(m,k){void 0==this.hx[k]?(this.hx[k]=[m],this.hr.push(k),this.hr.sort(function(c,h){return c-h}),this.QN++):(k=this.hx[k],l(k).contains(m)||(k.push(m),this.QN++))};e.prototype.iDa=function(){return this.QN};e.prototype.isEmpty=function(){return 0==this.hr.length};e.prototype.eHa=function(){if(!this.isEmpty()){var m=this.hr[0],k=this.hx[m].pop();0==this.hx[m].length&amp;&amp;(delete this.hx[m],
this.hr=this.hr.slice(1));this.QN--;return k}};e.prototype.kka=function(){if(!this.isEmpty()){var m=this.hr[this.hr.length-1],k=this.hx[m].pop();0==this.hx[m].length&amp;&amp;(delete this.hx[m],this.hr=this.hr.slice(0,this.hr.length-1));this.QN--;return k}};return e});
define("jm","require es lS gW cC bn lV".split(" "),function(a){function e(){this.p_=!1;this.Pwa=void 0;this.W=!0;this.VZ=this.VZ.bind(this);this.SW=new m;this.H_=new m;this.x0=new m;this.LY=new m;this.e$=new m;k.requestFrame(this.ck,this)}a("es");a("lS");var l=a("gW"),m=a("cC"),k=a("bn"),c=a("lV");e.prototype.clear=function(){this.W=!1};e.prototype.xT=function(h){this.SW.push(h,this.QI(h));this.px()};e.prototype.xe=function(h){this.H_.push(h,this.QI(h));this.px()};e.prototype.fc=function(h){this.x0.push(h,
this.QI(h));this.px()};e.prototype.Xd=function(h){this.LY.push(h,this.QI(h));this.px()};e.prototype.ol=function(h){this.e$.push(h,this.QI(h));this.px()};e.prototype.oa=function(){this.s1a();this.l2a();this.u1a()};e.prototype.s1a=function(){do{for(;!this.SW.isEmpty();)this.SW.kka().Hb();this.H_.isEmpty()||this.H_.kka().bb()}while(!this.H_.isEmpty()||!this.SW.isEmpty())};e.prototype.l2a=function(){for(;!this.x0.isEmpty()||!this.LY.isEmpty();)this.s1(),this.I1a()};e.prototype.s1=function(){for(;!this.x0.isEmpty();){var h=
this.x0.kka();if(h.mcb()){var g=h.getParent();g?(g.fc(),g.Xd()):h.hIa(0,0,h.su(),h.ru())}}};e.prototype.I1a=function(){for(;!this.LY.isEmpty();)this.LY.eHa().dj()};e.prototype.u1a=function(){for(;!this.e$.isEmpty();)this.e$.eHa().qh();l.process()};e.prototype.px=function(){this.p_||(this.p_=!0,this.Pwa=(new Date).getTime()+500,c.UB(this.VZ))};e.prototype.VZ=function(){this.p_=!1;this.W&amp;&amp;this.oa()};e.prototype.QI=function(h){return(h=h.getParent())?this.QI(h)+1:0};e.prototype.ck=function(){this.p_&amp;&amp;
(new Date).getTime()&gt;=this.Pwa&amp;&amp;this.VZ();k.requestFrame(this.ck,this)};return e});
define("hW","require jquery.mod es lS py oR jL mW bq jm nL w ju".split(" "),function(a){var e=a("jquery.mod"),l=a("es"),m=a("lS"),k=a("py"),c=a("oR"),h=a("jL"),g=a("mW"),b=a("bq"),d=a("jm"),f=a("nL"),n=a("w"),q=a("ju");a=m.extend(c,function(p,r){this.VH=new d;c.call(this);this.Ht(this);this.Re("Application");this.If=e(p);this.Lga=r;this.If.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",
visibility:"visible","-webkit-tap-highlight-color":"rgba(255, 255, 255, 0)"});this.zx=e(document.createElement("div"));this.zx.css({position:"absolute",left:0,top:0,right:0,bottom:0,width:"auto",height:"auto",margin:0});this.If.append(this.zx);this.zx.append(this.gd());this.lza=this.zx.get(0);this.Sd=this.Id=void 0;this.SUa=10;this.xPa=500;this.MQ=null;this.R9=new g(this);this.$b=new b(this);this.xa.append(this.$b.gd());this.$W=new h(this,this.Yra.bind(this));this.$W.bind(k.gq,this.Ih(this.Pua),this,
!0);this.fua=!0;this.set("contentOpaque",!0);this.zD=null;this.KN=[];this.CI(["globalmousemove"]);this.HOa();this.G1=this.H1=0;this.DA=1;try{this.H1=window.top.innerWidth,this.G1=window.top.innerHeight,this.Jaa=!0}catch(t){this.Jaa=!1}this.FAa();this.qj=new f(p);this.qj.bind(k.ba,function(){this.T$(this.qj.enabled())},this);q.$a()});a.prototype.start=function(){this.pr||(this.pr=!0,this.trigger(k.lo))};a.prototype.lja=function(){return this.pr};a.prototype.FAa=function(){this.Jaa&amp;&amp;!f.enabled()&amp;&amp;(this.H1=
window.top.innerWidth,this.G1=window.top.innerHeight)};a.prototype.clear=function(){this.JG(null);this.gza();this.JRa();this.VH.clear();this.If&amp;&amp;(this.gd().remove(),this.zx.remove(),this.If=null);this.R9=null;this.qj.ama();this.qj=null;this.$W&amp;&amp;(this.$W.clear(),this.$W=null)};a.prototype.cab=function(p){this.fua=p};a.prototype.T$=function(p){p?this.eya():this.IPa()};a.prototype.Hw=function(){this.mP=this.cm=this.zx.width();this.lP=this.bm=this.zx.height()};a.prototype.JG=function(p){if(this.zD!=p){null!=
this.zD&amp;&amp;this.zD.Q0a();this.zD=p;for(var r=[];null!=p;)r=[p].concat(r),p=p.getParent();p=this.KN.length-1;for(var t=!0;0&lt;=p&amp;&amp;t;p--)l(r).contains(this.KN[p])?t=!1:this.KN.pop().T0a();for(p=0;p&lt;r.length;p++)l(this.KN).contains(r[p])||r[p].U0a();this.KN=r;null!=this.zD&amp;&amp;this.zD.P0a();this.$b.JG(this.zD)}};a.prototype.gUa=function(p){var r=this.VD(p);this.qta(p,r.x,r.y)?p.preventDefault():this.JG(null)};a.prototype.Lsa=function(p){var r=this.Zz(p);this.qta(p,r.x,r.y)?p.preventDefault():this.JG(null)};
a.prototype.Yra=function(){return[]};a.prototype.Pua=function(){};a.prototype.qta=function(p,r,t){return this.dVa(p.target)&amp;&amp;0&lt;=r&amp;&amp;0&lt;=t&amp;&amp;r&lt;this.sa&amp;&amp;t&lt;this.wa};a.prototype.dVa=function(p){if(!this.If)return!1;for(var r=this.If.get(0);p;){if(p===r)return!0;p=p.parentElement}return!1};a.prototype.HOa=function(){this.CI(["globalresize"]);this.W8=setInterval(l.bind(function(){this.Vpa()},this),this.xPa)};a.prototype.JRa=function(){this.ZN(["globalresize"]);this.W8&amp;&amp;(clearInterval(this.W8),this.W8=null)};
a.prototype.Vpa=function(){this.qj.enabled()?this.eya():this.FAa();var p=this.lza.clientWidth,r=this.lza.clientHeight;if(this.Id!=p||this.Sd!=r)this.Id=p,this.Sd=r,this.P_a()};a.prototype.eya=function(){if(this.Jaa&amp;&amp;(n.ud()==n.Su&amp;&amp;n.browser()==n.io||n.ud()==n.yi)){var p=f.fullscreenElement();var r=p.clientWidth;p=p.clientHeight;n.ud()!=n.Su||n.sc()==n.LM||window.screen.availWidth!=r&amp;&amp;window.screen.availHeight!=p||(r=window.screen.availWidth,p=window.screen.availHeight);var t=(r&gt;p?r:p)/(this.H1&gt;this.G1?
this.H1:this.G1),u=Math.round(r/t),v=Math.round(p/t);this.DA=t;r={left:Math.round(.5*(r-u))+"px",top:Math.round(.5*(p-v))+"px",right:"auto",bottom:"auto",width:u+"px",height:v+"px",transform:"scale("+[t,t].join(", ")+")",position:"absolute"}}else r={position:"absolute",left:0,top:0,right:"auto",bottom:"auto",width:document.body.clientWidth+"px",height:document.body.clientHeight+"px"},this.DA=1;this.zx.css(r)};a.prototype.IPa=function(){this.zx.css({position:"abolute",left:0,top:0,right:0,bottom:0,
width:"auto",height:"auto",transform:""});this.DA=1};a.prototype.P_a=function(){this.gza();var p=this;this.MQ=setTimeout(function(){p.MQ=null;p.fc()},this.SUa)};a.prototype.gza=function(){this.MQ&amp;&amp;(this.MQ=null,clearTimeout(this.MQ))};a.prototype.fUa=function(){this.Vpa()};a.prototype.eaa=function(){return l(c.prototype.eaa.call(this)).defaults({globaltouchmove:[{target:e(document),name:"touchmove",handler:this.Ih(this.gUa)}],globalmousemove:[{target:e(document),name:"mousemove",handler:this.Ih(this.Lsa)},
{target:e(window),name:"mouseout",handler:this.Ih(this.Lsa)}],globalresize:[{target:e(window),name:"resize",handler:this.Ih(this.fUa)}]})};return a});
define("gU","require jquery.mod pY cl nL py gE pw w".split(" "),function(a){function e(){p=TDV.cb.Tr();var v=q||p;n!=v&amp;&amp;(n=v,f.trigger(h.ba));v=!!q&amp;&amp;p!=q&amp;&amp;d.qb();r!=v&amp;&amp;(t||(t=l("&lt;div/&gt;"),t.css({position:"fixed","z-index":m.ILa,left:0,top:0,margin:0,padding:0,height:"100%",width:"100%","background-color":"rgba(255, 255, 255, 0.99)"}),t.html(['&lt;div style="box-sizing:border-box; padding:0 10vmin; display:table; height:100%; width:100vw;"&gt;\n&lt;div style="vertical-align:middle; text-align:center; display:table-cell;"&gt;','&lt;img style="width:22vmin" src="'+
k.bN+'"/&gt;','&lt;div style="color:#000; font-family:Arial, Helvetica, sans-serif; font-size:3.6vmin; line-height:4.3vmin; margin:5vmin 0; text-align:center;"&gt;'+b("rotate-device")+"&lt;/div&gt;","&lt;/div&gt;\n&lt;/div&gt;"].join("\n")),u=t.find("img")),r&amp;&amp;t.detach(),(r=v)&amp;&amp;(c.enabled()?l(c.fullscreenElement()):l("body")).append(t));r&amp;&amp;u.css("transform",n==f.zMa?"translate(-11%, 0) rotate(-90deg)":"none")}var l=a("jquery.mod"),m=a("pY"),k=a("cl"),c=a("nL"),h=a("py"),g=a("gE"),b=a("pw"),d=a("w"),f=new g;f.cdb=TDV.cb.i7;
f.zMa=TDV.cb.j7;f.Ou=function(v){q!=v&amp;&amp;(q=v,e())};f.xDa=function(){return q};f.get=function(){return n};var n=void 0,q=void 0,p=void 0,r=!1,t=null,u=null;window.addEventListener("resize",function(){e();setTimeout(e,500)},!0);try{window.screen.orientation.addEventListener("change",e)}catch(v){window.addEventListener("orientationchange",e,!1)}e();return f});
define("ji","require lS es py cI pO ol nH pw kk I bf oa ed mD om mn w ij ff cF jW mS oS ep hW oR do nL bK gU mA dF".split(" "),function(a){function e(R){THREE.bLa=R.get(TDV.PlayerSettings.qma);THREE.qLa=R.get(TDV.PlayerSettings.zma);THREE.LH=R.get(TDV.PlayerSettings.LH)}var l=a("lS"),m=a("es"),k=a("py"),c=a("cI"),h=a("pO"),g=a("ol"),b=a("nH"),d=a("pw"),f=a("kk"),n=a("I"),q=a("bf"),p=a("oa"),r=a("ed");a("mD");var t=a("om"),u=a("mn"),v=a("w"),w=a("ij"),x=a("ff"),y=a("cF"),z=a("jW"),B=a("mS"),D=a("oS"),
I=a("ep"),A=a("hW"),E=a("oR"),J=a("do"),C=a("nL"),L=a("bK"),S=a("gU"),U=a("mA"),V=a("dF"),W=g.define("Player",A,function(){A.apply(this,arguments);this.ug=new x(this);this.bra=new q(this,this.ug);this.Ws=new E;this.Ws.ra({backgroundOpacity:0,visible:!0,width:"100%",height:"100%"});this.jJ=new p;this.CK=new r;this.cX=new n(this);var R=new J;R.f5(0);this.CU(R);this.Ye(!0);this.bind(k.G("settings"),this.aXa,this,!0);this.A1=TDV.cb.UDa();S.bind(k.ba,this.MWa,this,!0);L.Ubb();this.cPa=new f(this,"buttonMute",
I.Me);this.cPa.bind(k.ma,this.Fva,this,!0);this.kPa=new f(this,"buttonUnmute",I.Me);this.kPa.bind(k.ma,this.twa,this,!0);this.DW=new f(this,"buttonToggleMute",I.Oj);this.DW.bind(k.Lj,this.Fva,this,!0);this.DW.bind(k.Gl,this.twa,this,!0);this.bind(k.G("mute"),this.JWa,this);this.DW.set("pressed",this.get("mute"));this.aPa=new f(this,"buttonEnterFullscreen",I.Me);this.aPa.bind(k.ma,this.Vua,this,!0);this.bPa=new f(this,"buttonExitFullscreen",I.Me);this.bPa.bind(k.ma,this.Wua,this,!0);this.yW=new f(this,
"buttonToggleFullscreen",I.Oj);this.yW.bind(k.Lj,this.Vua,this,!0);this.yW.bind(k.Gl,this.Wua,this,!0);this.yW.set("pressed",this.get("fullscreenEnabled"));this.bind(k.G("fullscreenEnabled"),this.qWa,this,!0);this.set("fullscreenEnabled",this.qj.enabled());this.set("defaultMenu",["fullscreen","mute","rotation"]);this.bind(k.lo,this.dXa,this,!0);[k.hb,k.Eb,k.Gs,k.bz,k.wH].forEach(function(X){this.bind(X,function(ba){this.trigger(new c(k.WC,{uM:ba}))},this,!0)}.bind(this));["keydown","keyup"].forEach(function(X){document.addEventListener(X,
function(ba){this.trigger(new c(k.WC,{uM:ba}))}.bind(this))}.bind(this));D.N.bind(k.ba,function(){D.isPresenting?S.Ou():S.Ou(A.prototype.get.call(this,"lockedOrientation"))},this);this.qj.bind(k.ba,function(){var X=S.xDa();S.Ou();S.Ou(X)},this)});W.yLa="orientationChange";W.prototype.logCapabilities=function(){this.FVa()};W.prototype.activateAudio=function(R){this.wNa(R)};W.prototype.T$=function(R){A.prototype.T$.apply(this,arguments);this.set("fullscreenEnabled",R)};W.prototype.yb=function(){A.prototype.yb.call(this);
this.h("mute",!1);this.h("fullscreenEnabled",!1)};W.prototype.Hb=function(){A.prototype.Hb.call(this);this.bra.getParent()!=this&amp;&amp;this.Ya(this.bra);this.Ws.getParent()!=this&amp;&amp;(this.Ya(this.Ws),this.Ws.Ya(this.cX),this.Ws.Ya(this.jJ),this.Ws.Ya(this.CK))};W.prototype.LYa=function(R){var X=[];this.jJ&amp;&amp;X.push(this.jJ);this.CK&amp;&amp;X.push(this.CK);this.cX&amp;&amp;X.push(this.cX);for(var ba=!0,da=0;da&lt;=X.length&amp;&amp;ba;da++)ba=R.indexOf(X[da]),ba=R.length-(X.length-da)==ba;return ba?R:R.filter(function(ea){return 0&gt;
X.indexOf(ea)}).concat(X)};W.prototype.bb=function(){this.nxa||(this.nxa=m.difference(this.MTa(),"backgroundOpacity visible includeInLayout state left right top bottom centerX centerY width height minWidth minHeight maxWidth maxHeight actualWidth actualHeight paddingLeft paddingTop paddingRight paddingBottom".split(" ")));this.uc(this.nxa,{},[this.Ws],!0,!0);A.prototype.bb.call(this);!0===this.Sdb&amp;&amp;this.Rdb()};W.prototype.set=function(R,X){switch(R){case "children":this.Ws.set(R,this.LYa(X));return;
case "creationPolicy":this.Ws.set(R,X);return;case "fullscreenAvailable":case "gyroscopeAvailable":case "cardboardAvailable":case "isMobile":case "orientation":case "surfaceSelectionAvailable":case "touchEnabled":case "touchDevice":case "vrControllerAvailable":case "vrAvailable":X=this.get(R);break;case "fullscreenEnabled":X=this.qj.ik()&amp;&amp;X;break;case "fullscreenFallback":C.Yka(X);break;case "lockedOrientation":v.Sf()&amp;&amp;(X=void 0);S.Ou(X);break;case "installAvailable":X=this.ug.ready();break;case "mouseWheelEnabled":this.cab(B.lg("mousewheelenabled",
X));break;case "backgroundPreloadEnabled":this.dZa(X);break;case "vrPolyfillScale":D.E4=X;break;case "desktopMipmappingEnabled":t.o$a(X);break;case "mobileMipmappingEnabled":t.aab(X);break;case "defaultVRPointer":"gaze"==X?D.cJa(D.Hna.vH):D.cJa(D.Hna.XM)}A.prototype.set.call(this,R,X)};W.prototype.get=function(R,X){switch(R){case "children":case "creationPolicy":return this.Ws.get(R,X);case "touchEnabled":return this.Go;case "touchDevice":return v.Vla();case "isMobile":return v.qb();case "orientation":return S.get();
case "lockedOrientation":return S.xDa();case "gyroscopeAvailable":return w.ik;case "cardboardAvailable":case "vrAvailable":return D.FM;case "vrControllerAvailable":return D.Jcb;case "fullscreenAvailable":return this.qj.ik();case "vrPolyfillScale":return D.E4;case "installAvailable":return this.ug.ready();case "surfaceSelectionAvailable":return!0;case "pageScale":return this.DA;case N:return this.Lga?A.prototype.get.apply(this,arguments):!0;default:return A.prototype.get.apply(this,arguments)}};W.prototype.Fva=
function(){this.set("mute",!0)};W.prototype.twa=function(){this.set("mute",!1)};W.prototype.JWa=function(){this.DW.set("pressed",this.get("mute"))};W.prototype.Vua=function(){this.set("fullscreenEnabled",!0)};W.prototype.Wua=function(){this.set("fullscreenEnabled",!1)};W.prototype.qWa=function(){this.get("fullscreenEnabled")?this.qj.u2():this.qj.Mr();this.yW.set("pressed",this.get("fullscreenEnabled"));this.set("fullscreenEnabled",this.qj.enabled())};W.prototype.aXa=function(){var R=this.get("settings");
R&amp;&amp;(y.initialize(R),z.qla(R),e(R),this.ug.qla(R))};e(new TDV.PlayerSettings);W.prototype.dZa=function(R){z.enabled(R)};W.prototype.Yra=function(){var R=[];this.pI=[];(this.get("menu")||[]).forEach(function(da){var ea=da.get("label");R.push(da.get("label"));ea&amp;&amp;this.pI.push(function(){da.trigger("click")})}.bind(this));var X=this.get("defaultMenu",[]);if(0&lt;=X.indexOf("rotation")){var ba=this.Yi("PanoramaPlayer");ba.length&amp;&amp;(R.push(ba[0].get("mouseControlMode")==h.rC?d("change-to-drag-and-release"):
d("change-to-click-and-move")),this.pI.push(this.y0a.bind(this)))}0&lt;=X.indexOf("fullscreen")&amp;&amp;this.qj.ik()&amp;&amp;(R.push(this.qj.enabled()?d("exit-fullscreen"):d("enter-fullscreen")),this.pI.push(this.w0a.bind(this)));0&lt;=X.indexOf("mute")&amp;&amp;(R.push(this.get("mute")?d("unmute"):d("mute")),this.pI.push(this.x0a.bind(this)));X=[].concat(b.name?[b.name]:[],"false"!=b.H4a?b.GT?["v:"+b.GT+"."+b.MT]:["v:"+b.MT]:[]).join(" ");""!=X&amp;&amp;(0&lt;R.length&amp;&amp;R.push(""),R.push(X),this.pI.push(this.pXa.bind(this)));return R};
W.prototype.Pua=function(R){this.pI[R.data.index]()};W.prototype.y0a=function(){var R=this.Yi("PanoramaPlayer"),X=R[0].get("mouseControlMode")==h.rC?h.bv:h.rC;R.forEach(function(ba){V.setItem(K,X);ba.set("mouseControlMode",X)})};W.prototype.dXa=function(){V.getItem(K)==h.bv&amp;&amp;this.Yi("PanoramaPlayer").forEach(function(R){R.set("mouseControlMode",h.bv)});B.Dj("mute")&amp;&amp;this.set("mute",B.lg("mute",this.get("mute")))};W.prototype.w0a=function(){this.qj.toggle()};W.prototype.x0a=function(){this.set("mute",
!this.get("mute"))};W.prototype.pXa=function(){b.MKa&amp;&amp;window.open(b.MKa,"_blank")};W.prototype.MWa=function(){this.trigger(W.yLa)};W.prototype.FVa=function(){l.Q4a(!0);l.log("UA: "+navigator.userAgent);l.log("screen: ("+Math.max(window.screen.width,window.screen.height)+", "+Math.min(window.screen.width,window.screen.height)+") dpr: "+window.devicePixelRatio+" ("+Math.max(window.screen.width,window.screen.height)*window.devicePixelRatio+", "+Math.min(window.screen.width,window.screen.height)*window.devicePixelRatio+
")");v.log();u.log();d.log();D.log()};W.prototype.wNa=function(R){L.active()?U.wait(R):(L.mma(R),L.request(this))};var K="tdvp_"+window.location.pathname+"_rotation_mode",N=[119,97,116,101,114,109,97,114,107].map(function(R){return String.fromCharCode(R)}).join("");return W});define("nZ",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("PlayerMenuItem",e,function(){e.call(this)})});
define("T","require lS mw py lu ol kQ".split(" "),function(a){a("lS");var e=a("mw"),l=a("py"),m=a("lu"),k=a("ol"),c=a("kQ");a=k.define("PopupPanoramaOverlay",e,function(){e.call(this);this.set("state",m.V);this.bind(l.G("state"),function(){this.trigger(l.Ae)},this,!0);this.sd=void 0});a.prototype.show=function(){this.set("visible",!0)};a.prototype.hide=function(){this.set("visible",!1)};a.prototype.play=function(){this.set("state",m.PLAYING)};a.prototype.pause=function(){this.set("state",m.FH)};a.prototype.stop=
function(){this.set("state",m.V)};a.prototype.hide=a.prototype.hide;a.prototype.pause=a.prototype.pause;a.prototype.play=a.prototype.play;a.prototype.show=a.prototype.show;a.prototype.stop=a.prototype.stop;a.prototype.get=function(h,g){switch(h){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=c.f6a(this)),this.sd}return e.prototype.get.call(this,h,g)};a.prototype.set=function(h,g){var b=!1;switch(h){case "hfov":case "vfov":case "pitch":case "rotationX":case "rotationY":case "rotationZ":case "yaw":case "playbackPositions":this.sd=
void 0,b=!0}e.prototype.set.call(this,h,g);b&amp;&amp;"playbackPositions"!=h&amp;&amp;this.trigger(l.G("playbackPositions"))};return a});define("pz",["require","B","ol"],function(a){var e=a("B");return a("ol").define("ProgressBar",e,function(){e.call(this)})});
define("gQ",["require","mw","py","ol","kQ"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("kQ");a=m.define("QuadFramePanoramaOverlay",e,function(){e.call(this);this.sd=void 0});a.prototype.set=function(c,h){var g=!1;switch(c){case "vertices":case "playbackPositions":this.sd=void 0,g=!0}e.prototype.set.call(this,c,h);g&amp;&amp;"playbackPositions"!=c&amp;&amp;this.trigger(l.G("playbackPositions"))};a.prototype.get=function(c,h){switch(c){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=k.Lia(this)),
this.sd}return e.prototype.get.call(this,c,h)};return a});define("bM",["require","ol","cW"],function(a){var e=a("ol"),l=a("cW");return e.define("QuadHotspotPanoramaOverlay",l,function(){l.call(this)})});define("jr",["require","ol","v"],function(a){var e=a("ol"),l=a("v");return e.define("QuadHotspotPanoramaOverlayArea",l,function(){l.apply(this,arguments)})});
define("bc",["require","mw","py","ol","kQ"],function(a){var e=a("mw"),l=a("py"),m=a("ol"),k=a("kQ");a=m.define("QuadHotspotPanoramaOverlayImageBase",e,function(){e.call(this);this.sd=void 0});a.prototype.get=function(c,h){switch(c){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=k.Lia(this)),this.sd}return e.prototype.get.call(this,c,h)};a.prototype.set=function(c,h){var g=!1;switch(c){case "opacity":case "distance":case "vertices":case "playbackPositions":this.sd=void 0,g=!0}e.prototype.set.call(this,
c,h);g&amp;&amp;"playbackPositions"!=c&amp;&amp;this.trigger(l.G("playbackPositions"))};return a});define("fM",["require","ol","bc"],function(a){var e=a("ol"),l=a("bc");return e.define("QuadHotspotPanoramaOverlayImage",l,function(){l.call(this)})});define("pH",["require","ol","bc"],function(a){var e=a("ol"),l=a("bc");return e.define("QuadHotspotPanoramaOverlayMap",l,function(){l.call(this)})});
define("fh","require mw py lu cI ol kQ".split(" "),function(a){var e=a("mw"),l=a("py"),m=a("lu"),k=a("cI"),c=a("ol"),h=a("kQ");a=c.define("QuadVideoPanoramaOverlay",e,function(){e.call(this);this.sd=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.PLAYING)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Qb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.V)};a.prototype.set=function(g,b){var d=!1;switch(g){case "state":var f=this.get("state")||
m.V;f==m.V&amp;&amp;b==m.PLAYING&amp;&amp;this.trigger(l.lo);f!=b&amp;&amp;this.trigger(new k(l.Ae,{oldState:f,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "opacity":case "playbackPositions":case "vertices":this.sd=void 0,d=!0}e.prototype.set.call(this,g,b);d&amp;&amp;"playbackPositions"!=g&amp;&amp;this.trigger(l.G("playbackPositions"))};a.prototype.get=function(g,b){switch(g){case "playbackPositions":return void 0===this.sd&amp;&amp;(this.sd=h.Lia(this)),this.sd}return e.prototype.get.call(this,
g,b)};return a});define("cX",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("RadialModel3DDisplayEffect",e,function(){e.call(this)})});define("nl",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("RainPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&amp;&amp;void 0===m&amp;&amp;(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});
define("fy",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("RotationalCameraMovement",e,function(){e.call(this)})});define("ct",["require","ob","ol"],function(a){var e=a("ob");return a("ol").define("SlideInEffect",e,function(){e.call(this)})});define("iR",["require","ib","ol"],function(a){var e=a("ib");return a("ol").define("SlideOutEffect",e,function(){e.call(this)})});
define("oB",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("SnowPanoramaOverlay",e,function(){e.call(this)});a.prototype.get=function(l,m){"startState"==l&amp;&amp;void 0===m&amp;&amp;(m=this.get("initialState"));return e.prototype.get.call(this,l,m)};return a});
define("mI",["require","ol","ma"],function(a){var e=a("ol"),l=a("ma");a=e.define("SphericPanoramaFrame",l,function(){l.call(this)});a.prototype.Fm=function(){var m=this.get("sphere");return m&amp;&amp;e.Ja("Video360Resource",m)?!0:(m=this.get("stereoSphere"))&amp;&amp;e.Ja("Video360Resource",m)?!0:!1};return a});define("fO",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("SphereModel3DObject",l,function(){l.call(this)})});
define("pZ",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("SpotLight",e,function(){e.call(this)})});define("pe",["require","ol","je"],function(a){var e=a("ol"),l=a("je");a=e.define("SpriteModel3DObject",l,function(){l.call(this)});a.prototype.getPixelScale=function(){return this.get("worldPixelScale")};return a});
define("md",["require","ol","je"],function(a){var e=a("ol"),l=a("je");return e.define("SurfaceReticleModel3DObject",l,function(){l.call(this);this.set("transparentAreaActive",!0)})});
define("cY","require es lS z oR nC W dE".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("z"),k=a("oR"),c=a("nC"),h=a("W"),g=a("dE"),b=l.extend(k,function(d){k.call(this);this.Re("Tab");this.jda=d;this.tm="";this.wfa=!1;this.yta=this.Pa=null;this.Qga=this.Pga=!1;this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0)});b.prototype.yb=function(){k.prototype.yb.call(this);this.h("horizontalAlign",c.Ze);this.h("verticalAlign",c.se);this.h("fontFamily");this.h("fontSize");this.h("fontColor");
this.h("fontWeight");this.h("fontStyle");this.h("textDecoration");this.h("textShadowBlurRadius");this.h("textShadowColor");this.h("textShadowHorizontalLength");this.h("textShadowOpacity");this.h("textShadowVerticalLength")};b.prototype.dJa=function(d){this.Pga!=d&amp;&amp;(this.Pga=d,this.Qga=!0,this.xe())};b.prototype.Hb=function(){k.prototype.Hb.call(this);null==this.Pa&amp;&amp;(this.Pa=new g,this.Pa.set("horizontalAlign","center"),this.Ya(this.Pa))};b.prototype.mq=function(){k.prototype.mq.call(this);this.yta=
m.Ru(this.jda,"label",this.tJ,this);this.Cya(this.jda.get("label"))};b.prototype.mea=function(){k.prototype.mea.call(this);this.yta.hC()};b.prototype.tJ=function(){var d=this.jda.get("label");this.Cya(d?d:"")};b.prototype.Cya=function(d){this.tm!=d&amp;&amp;(this.tm=d,this.wfa=!0,this.xe())};b.prototype.bb=function(){this.wfa&amp;&amp;(this.wfa=!1,this.Pa.set("text",this.tm));this.Qga&amp;&amp;(this.Qga=!1,this.Pa.set("direction",this.Pga?h.Xh:h.Gg));this.uc(b.Aoa,b.SH,[this.Pa],!0,!0);k.prototype.bb.call(this)};b.Aoa="fontFamily fontSize fontColor fontWeight fontStyle textDecoration textShadowColor textShadowHorizontalLength textShadowVerticalLength textShadowBlurRadius textShadowOpacity".split(" ");
b.SH={};e(b.Aoa).each(function(d){b.SH[d]=d});return b});define("nR",["require"],function(){return{$M:"normal",zH:"inverse",sma:"center"}});
define("di","require es lS bo bh py oR nC d il cY nR iS".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("bo"),k=a("bh"),c=a("py"),h=a("oR"),g=a("nC"),b=a("d"),d=a("il"),f=a("cY"),n=a("nR"),q=a("iS");a=l.extend(h,function(){h.call(this);this.Re("TabPanel");this.Pf=-1;this.bF=!1;this.vR=[];this.Q0=!1;this.ek=[];this.lda=!1;this.uR=[];this.eh=this.Gh=null;this.dF(!1)});a.prototype.yb=function(){h.prototype.yb.call(this);this.h("pages",[]);this.h("selectedIndex",-1);this.h("tabsSize",25);this.h("tabsPosition",
q.Ec);this.h("tabsGap",0);this.h("tabsPadding",10);this.h("tabsAlign",n.$M);this.h("tabsBackgroundOpacity",.6);this.h("tabsBackgroundColor",["#FFFFFF","#CCCCCC"]);this.h("tabsBackgroundColorRatios",[0,.5]);this.h("tabsRollOverBackgroundOpacity",1);this.h("tabsRollOverBackgroundColor",["#FFFFFF","#CCCCCC"]);this.h("tabsRollOverBackgroundColorRatios",[0,.5]);this.h("backgroundColor","#FFFFFF");this.h("selectedTabBackgroundOpacity",1);this.h("selectedTabBackgroundColor");this.h("selectedTabBackgroundColorRatios");
this.h("borderRadius",6);this.h("pagePaddingLeft",4);this.h("pagePaddingTop",4);this.h("pagePaddingRight",4);this.h("pagePaddingBottom",4);this.h("borderColor","#AAAAAA");this.h("borderSize",1);this.h("selectedTabFontSize");this.h("selectedTabFontColor");this.h("selectedTabFontWeight");this.h("selectedTabFontStyle");this.h("selectedTabTextDecoration");this.h("selectedTabTextShadowBlurRadius");this.h("selectedTabTextShadowColor");this.h("selectedTabTextShadowHorizontalLength");this.h("selectedTabTextShadowOpacity");
this.h("selectedTabTextShadowVerticalLength");this.h("tabsFontFamily");this.h("tabsFontSize");this.h("tabsFontColor");this.h("tabsFontWeight");this.h("tabsFontStyle");this.h("tabsTextDecoration");this.h("tabsTextShadowBlurRadius");this.h("tabsTextShadowColor");this.h("tabsTextShadowHorizontalLength");this.h("tabsTextShadowOpacity");this.h("tabsTextShadowVerticalLength");this.h("tabsRollOverFontSize");this.h("tabsRollOverFontColor");this.h("tabsRollOverFontWeight");this.h("tabsRollOverFontStyle");
this.h("tabsRollOverTextDecoration");this.h("tabsRollOverTextShadowBlurRadius");this.h("tabsRollOverTextShadowColor");this.h("tabsRollOverTextShadowHorizontalLength");this.h("tabsRollOverTextShadowOpacity");this.h("tabsRollOverTextShadowVerticalLength")};a.prototype.Hb=function(){h.prototype.Hb.call(this);null==this.eh&amp;&amp;(this.eh=new h,this.eh.dF(!1),this.Ya(this.eh));null==this.Gh&amp;&amp;(this.Gh=new h,this.Gh.dF(!1),this.Ya(this.Gh))};a.prototype.set=function(p,r){"pages"==p?this.iab(r||[]):"selectedIndex"==
p?this.Qu(r):"layout"==p&amp;&amp;(r=b.Rcb);h.prototype.set.call(this,p,r)};a.prototype.get=function(p,r){return"pages"==p?this.ek:"selectedIndex"==p?this.LDa():h.prototype.get.call(this,p,r)};a.prototype.Qu=function(p){this.Pf!=p&amp;&amp;(this.Pf=p,this.Pf=Math.min(Math.max(this.Pf,-1),this.ek.length),this.bF=!0,this.xe(),this.trigger(c.ba),this.trigger(c.G("selectedIndex")))};a.prototype.LDa=function(){return this.Pf};a.prototype.iab=function(p){e.isEqual(this.ek,p)||(this.ek.forEach(function(r){r.unbind(c.jd,
this.Iwa,this);r.unbind(c.cd,this.Hwa,this)}.bind(this)),this.ek=p,this.ek.forEach(function(r){r.bind(c.jd,this.Iwa,this);r.bind(c.cd,this.Hwa,this)}.bind(this)),this.lda=!0,this.xe())};a.prototype.l0a=function(p){this.vR=e(this.vR).union([p.source]);this.Q0=!0;this.xe()};a.prototype.k0a=function(p){this.vR=e(this.vR).difference([p.source]);this.Q0=!0;this.xe()};a.prototype.j0a=function(p){this.Qu(e(this.uR).indexOf(p.source))};a.prototype.Iwa=function(p){this.Qu(this.ek.indexOf(p.source))};a.prototype.Hwa=
function(p){if(this.ek.indexOf(p.source)==this.Pf){for(p=this.ek.length-1;0&lt;=p;p--)if(this.ek[p].get("visible")){this.Qu(p);return}this.Pf=-1;this.Qu(0)}};a.prototype.bb=function(){var p=!1,r=!1,t=!1,u=!1,v=!1,w=this.B("tabsPosition"),x=this.B("tabsAlign");this.lda&amp;&amp;(this.uR=[],this.Gh.vHa(),this.eh.vHa(),this.ek.forEach(function(D){var I=new f(D);I.dF(!0);I.bind(c.Dc,this.l0a,this);I.bind(c.Jb,this.k0a,this);I.bind(c.hb,this.j0a,this);this.uR.push(I);this.Gh.Ya(I);D.ra({top:void 0,left:void 0,right:void 0,
bottom:void 0,width:"100%",height:"100%"});this.eh.Ya(D)}.bind(this)),this.Pf=Math.min(Math.max(this.Pf,0),this.ek.length-1),this.lda=!1,r=p=v=!0);this.L("tabsPosition")&amp;&amp;(this.S("tabsPosition"),u=r=p=!0);this.bF&amp;&amp;(this.bF=!1,t=r=v=!0);this.Q0&amp;&amp;(this.Q0=!1,t=!0);this.L("overflow")&amp;&amp;this.Gh.ra({contentOpaque:this.B("overflow")==d.fq,overflow:this.B("overflow")});e(["tabsAlign","tabsGap","tabsSize"]).forEach(function(D){this.L(D)&amp;&amp;(this.S(D),p=!0)},this);e("borderRadius borderTopRadius borderBottomRadius borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderBottomLeftRadius borderBottomRightRadius borderSize borderLeftSize borderTopSize borderRightSize borderBottomSize borderColor borderLeftColor borderTopColor borderRightColor borderBottomColor shadow shadowHorizontalLength shadowVerticalLength shadowBlurRadius shadowSpread shadowColor backgroundOpacity backgroundColor backgroundColorRatios".split(" ")).forEach(function(D){this.L(D)&amp;&amp;
(this.S(D),u=r=!0)},this);e("tabsBackgroundOpacity tabsBackgroundColor tabsBackgroundColorRatios selectedTabBackgroundOpacity selectedTabBackgroundColor selectedTabBackgroundColorRatios selectedTabFontSize selectedTabFontColor selectedTabFontWeight selectedTabFontStyle selectedTabTextDecoration selectedTabTextShadowColor selectedTabTextShadowHorizontalLength selectedTabTextShadowVerticalLength selectedTabTextShadowBlurRadius selectedTabTextShadowOpacity tabsFontFamily tabsFontSize tabsFontColor tabsFontWeight tabsFontStyle tabsPadding tabsTextDecoration tabsRollOverFontSize tabsRollOverFontColor tabsTextShadowColor tabsTextShadowHorizontalLength tabsTextShadowVerticalLength tabsTextShadowBlurRadius tabsTextShadowOpacity tabsRollOverFontWeight tabsRollOverFontStyle tabsRollOverTextDecoration tabsRollOverTextShadowColor tabsRollOverTextShadowHorizontalLength tabsRollOverTextShadowVerticalLength tabsRollOverTextShadowBlurRadius tabsRollOverTextShadowOpacity".split(" ")).forEach(function(D){this.L(D)&amp;&amp;
(this.S(D),r=!0)},this);e(["pagePaddingLeft","pagePaddingTop","pagePaddingRight","pagePaddingBottom"]).forEach(function(D){this.L(D)&amp;&amp;(this.S(D),u=!0)},this);this.L("backgroundColorDirection")&amp;&amp;this.S("backgroundColorDirection");if(p){switch(w){case q.ab:this.Gh.ra({left:0,right:void 0});break;case q.ub:this.Gh.ra({left:void 0,right:0});break;case q.Ec:this.Gh.ra({bottom:void 0,top:0});break;case q.wc:this.Gh.ra({bottom:0,top:void 0})}switch(w){case q.ab:case q.ub:this.Gh.ra({layout:b.Xh,top:0,bottom:0,
height:void 0,width:this.B("tabsSize")});switch(x){case n.zH:this.Gh.set("verticalAlign",g.wc);break;case n.sma:this.Gh.set("verticalAlign",g.se);break;default:this.Gh.set("verticalAlign",g.Ec)}break;case q.Ec:case q.wc:switch(this.Gh.ra({layout:b.Gg,left:0,right:0,height:this.B("tabsSize"),width:void 0}),x){case n.zH:this.Gh.set("horizontalAlign",g.ub);break;case n.sma:this.Gh.set("horizontalAlign",g.Ze);break;default:this.Gh.set("horizontalAlign",g.ab)}}this.Gh.set("gap",this.B("tabsGap"))}if(r)for(var y=
0;y&lt;this.ek.length;y++){var z=this.uR[y];w==q.wc||w==q.Ec?(z.ra({layout:b.Gg,width:void 0,paddingLeft:this.B("tabsPadding"),paddingTop:0,paddingRight:this.B("tabsPadding"),paddingBottom:0,height:"100%",backgroundColorDirection:m.D7}),z.dJa(!1)):(z.ra({layout:b.Xh,width:"100%",paddingLeft:0,paddingTop:this.B("tabsPadding"),paddingRight:0,paddingBottom:this.B("tabsPadding"),height:void 0,backgroundColorDirection:m.c7}),z.dJa(!0));w==q.wc||w==q.ub?z.set("borderTopLeftRadius",0):z.set("borderTopLeftRadius",
this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));w==q.wc||w==q.ab?z.set("borderTopRightRadius",0):z.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.Ec||w==q.ub?z.set("borderBottomLeftRadius",0):z.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.Ec||w==q.ab?z.set("borderBottomRightRadius",0):z.set("borderBottomRightRadius",
this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));w==q.ub&amp;&amp;z.set("borderSize",this.B("borderRightSize","borderSize"));w==q.ab&amp;&amp;z.set("borderSize",this.B("borderLeftSize","borderSize"));w==q.Ec&amp;&amp;z.set("borderSize",this.B("borderTopSize","borderSize"));w==q.wc&amp;&amp;z.set("borderSize",this.B("borderBottomSize","borderSize"));switch(w){case q.ab:var B=this.B("borderLeftColor","borderColor");break;case q.ub:B=this.B("borderRightColor","borderColor");break;case q.wc:B=
this.B("borderBottomColor","borderColor");break;default:case q.Ec:B=this.B("borderTopColor","borderColor")}z.set("borderColor",B);z.ra({fontFamily:this.B("tabsFontFamily"),shadow:this.B("shadow"),shadowHorizontalLength:this.B("shadowHorizontalLength"),shadowVerticalLength:this.B("shadowVerticalLength"),shadowBlurRadius:this.B("shadowBlurRadius"),shadowSpread:this.B("shadowSpread"),shadowColor:this.B("shadowColor")})}if(r||t)for(y=0;y&lt;this.ek.length;y++)z=this.uR[y],t=y==this.Pf,B=e(this.vR).contains(z),
t?(B=this.B("selectedTabBackgroundColor","tabsBackgroundColor"),e(B).isUndefined()&amp;&amp;(B=this.B("backgroundColor"),B=e(B).isArray()&amp;&amp;0&lt;B.length?w==q.ab||w==q.Ec?B[0]:B[B.length-1]:B),z.ra({backgroundOpacity:this.B("selectedTabBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:B,backgroundColorRatios:this.B("selectedTabBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.Ke,fontSize:this.B("selectedTabFontSize","tabsFontSize"),fontColor:this.B("selectedTabFontColor",
"tabsFontColor"),fontWeight:this.B("selectedTabFontWeight","tabsFontWeight"),fontStyle:this.B("selectedTabFontStyle","tabsFontStyle"),textDecoration:this.B("selectedTabTextDecoration","tabsTextDecoration"),textShadowColor:this.B("selectedTabTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.B("selectedTabTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("selectedTabTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("selectedTabTextShadowBlurRadius",
"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("selectedTabTextShadowOpacity","tabsTextShadowOpacity")})):B?z.ra({backgroundOpacity:this.B("tabsRollOverBackgroundOpacity","tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.B("tabsRollOverBackgroundColor","tabsBackgroundColor"),backgroundColorRatios:this.B("tabsRollOverBackgroundColorRatios","tabsBackgroundColorRatios"),cursor:k.Le,fontSize:this.B("tabsRollOverFontSize","tabsFontSize"),fontColor:this.B("tabsRollOverFontColor","tabsFontColor"),
fontWeight:this.B("tabsRollOverFontWeight","tabsFontWeight"),fontStyle:this.B("tabsRollOverFontStyle","tabsFontStyle"),textDecoration:this.B("tabsRollOverTextDecoration","tabsTextDecoration"),textShadowColor:this.B("tabsRollOverTextShadowColor","tabsTextShadowColor"),textShadowHorizontalLength:this.B("tabsRollOverTextShadowHorizontalLength","tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("tabsRollOverTextShadowVerticalLength","tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("tabsRollOverTextShadowBlurRadius",
"tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsRollOverTextShadowOpacity","tabsTextShadowOpacity")}):z.ra({backgroundOpacity:this.B("tabsBackgroundOpacity","backgroundOpacity"),backgroundColor:this.B("tabsBackgroundColor"),backgroundColorRatios:this.B("tabsBackgroundColorRatios"),fontSize:this.B("tabsFontSize"),fontColor:this.B("tabsFontColor"),fontWeight:this.B("tabsFontWeight"),fontStyle:this.B("tabsFontStyle"),textDecoration:this.B("tabsTextDecoration"),textShadowColor:this.B("tabsTextShadowColor"),
textShadowHorizontalLength:this.B("tabsTextShadowHorizontalLength"),textShadowVerticalLength:this.B("tabsTextShadowVerticalLength"),textShadowBlurRadius:this.B("tabsTextShadowBlurRadius"),textShadowOpacity:this.B("tabsTextShadowOpacity")}),z.ra({borderLeftSize:w==q.ub&amp;&amp;t?0:void 0,borderRightSize:w==q.ab&amp;&amp;t?0:void 0,borderBottomSize:w==q.Ec&amp;&amp;t?0:void 0,borderTopSize:w==q.wc&amp;&amp;t?0:void 0});if(u){y=this.B("tabsSize");switch(w){case q.ab:this.eh.ra({left:y-(this.B("borderLeftSize","borderSize")||0),right:0,
top:0,bottom:0});break;case q.ub:this.eh.ra({left:0,right:y-(this.B("borderRightSize","borderSize")||0),top:0,bottom:0});break;case q.Ec:this.eh.ra({left:0,right:0,top:y-(this.B("borderTopSize","borderSize")||0),bottom:0});break;case q.wc:this.eh.ra({left:0,right:0,top:0,bottom:y-(this.B("borderBottomSize","borderSize")||0)})}w==q.Ec&amp;&amp;x==n.$M||w==q.ab&amp;&amp;x==n.$M?this.eh.set("borderTopLeftRadius",0):this.eh.set("borderTopLeftRadius",this.B("borderTopLeftRadius","borderTopRadius","borderLeftRadius","borderRadius"));
w==q.Ec&amp;&amp;x==n.zH||w==q.ub&amp;&amp;x==n.$M?this.eh.set("borderTopRightRadius",0):this.eh.set("borderTopRightRadius",this.B("borderTopRightRadius","borderTopRadius","borderRightRadius","borderRadius"));w==q.wc&amp;&amp;x==n.$M||w==q.ab&amp;&amp;x==n.zH?this.eh.set("borderBottomLeftRadius",0):this.eh.set("borderBottomLeftRadius",this.B("borderBottomLeftRadius","borderBottomRadius","borderLeftRadius","borderRadius"));w==q.wc&amp;&amp;x==n.zH||w==q.ub&amp;&amp;x==n.zH?this.eh.set("borderBottomRightRadius",0):this.eh.set("borderBottomRightRadius",
this.B("borderBottomRightRadius","borderBottomRadius","borderRightRadius","borderRadius"));this.eh.ra({paddingLeft:this.B("pagePaddingLeft"),paddingTop:this.B("pagePaddingTop"),paddingRight:this.B("pagePaddingRight"),paddingBottom:this.B("pagePaddingBottom"),borderLeftSize:this.B("borderLeftSize","borderSize"),borderTopSize:this.B("borderTopSize","borderSize"),borderRightSize:this.B("borderRightSize","borderSize"),borderBottomSize:this.B("borderBottomSize","borderSize"),borderLeftColor:this.B("borderLeftColor",
"borderColor"),borderTopColor:this.B("borderTopColor","borderColor"),borderRightColor:this.B("borderRightColor","borderColor"),borderBottomColor:this.B("borderBottomColor","borderColor"),shadow:this.B("shadow"),shadowHorizontalLength:this.B("shadowHorizontalLength"),shadowVerticalLength:this.B("shadowVerticalLength"),shadowBlurRadius:this.B("shadowBlurRadius"),shadowSpread:this.B("shadowSpread"),shadowColor:this.B("shadowColor"),backgroundOpacity:this.B("backgroundOpacity"),backgroundColor:this.B("backgroundColor"),
backgroundColorRatios:this.B("backgroundColorRatios")});w==q.Ec||w==q.wc?this.eh.set("backgroundColorDirection",m.D7):this.eh.set("backgroundColorDirection",m.c7)}if(v)for(y=0;y&lt;this.ek.length;y++)this.ek[y].set("visible",y==this.Pf);h.prototype.bb.call(this)};return a});define("oH",["require","di","ol"],function(a){var e=a("di");return a("ol").define("TabPanel",e,function(){e.call(this)})});
define("gm",["require","lS","oR"],function(a){var e=a("lS"),l=a("oR");a=e.extend(l,function(){l.call(this);this.Re("Page");this.set("label","")});a.prototype.yb=function(){l.prototype.yb.call(this);this.h("visible")};return a});define("hm",["require","gm","ol"],function(a){var e=a("gm");return a("ol").define("TabPanelPage",e,function(){e.call(this)})});define("gS",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("TargetPanoramaCameraMovement",e,function(){e.call(this)})});
define("dy",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("TargetRotationalCameraDisplayMovement",e,function(){e.call(this)})});define("it",["require","mF","ol"],function(a){var e=a("mF");return a("ol").define("TiledImageResourceLevel",e,function(){e.call(this)})});define("nx",["require","ol","iC"],function(a){var e=a("ol"),l=a("iC");return e.define("TripodCapPanoramaOverlay",l,function(){l.call(this)})});
define("iG","require lS z py nC cZ bh d iS mK hg oR nh dE es".split(" "),function(a){var e=a("lS"),l=a("z"),m=a("py"),k=a("nC"),c=a("cZ"),h=a("bh"),g=a("d"),b=a("iS"),d=a("mK"),f=a("hg"),n=a("oR"),q=a("nh"),p=a("dE"),r=a("es"),t=e.extend(n,function(){n.call(this);this.Pa=this.ef=null;this.rD=[];this.set("ariaRole","option");this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",c.JC);this.set("cursor",h.Le)});t.prototype.yb=function(){n.prototype.yb.call(this);
this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.U9);this.h("sourceProperties");this.h("labelFunction",this.S9);this.h("labelFontFamily");this.h("labelFontColor");this.h("labelFontSize");this.h("labelFontStyle");this.h("labelFontWeight");this.h("labelGap");this.h("labelHorizontalAlign");this.h("labelMaxWidth");this.h("labelPosition");this.h("labelTextDecoration");this.h("labelTextShadowColor");this.h("labelTextShadowHorizontalLength");this.h("labelTextShadowVerticalLength");
this.h("labelTextShadowBlurRadius");this.h("labelTextShadowOpacity");this.h("thumbnailBorderRadius");this.h("thumbnailOpacity");this.h("thumbnailBorderSize");this.h("thumbnailBorderColor");this.h("thumbnailWidth");this.h("thumbnailHeight");this.h("thumbnailMaxWidth");this.h("thumbnailMaxHeight");this.h("thumbnailShadow");this.h("thumbnailShadowHorizontalLength");this.h("thumbnailShadowVerticalLength");this.h("thumbnailShadowBlurRadius");this.h("thumbnailShadowSpread");this.h("thumbnailShadowColor");
this.h("thumbnailShadowOpacity");this.A("rollOverBackgroundOpacity",f.aa,"backgroundOpacity");this.A("rollOverBackgroundColor",f.aa,"backgroundColor");this.A("rollOverBackgroundColorRatios",f.aa,"backgroundColorRatios");this.A("rollOverBackgroundColorDirection",f.aa,"backgroundColorDirection");this.A("rollOverBorderRadius",f.aa,"borderRadius");this.A("rollOverBorderTopRadius",f.aa,"borderTopRadius");this.A("rollOverBorderBottomRadius",f.aa,"borderBottomRadius");this.A("rollOverBorderLeftRadius",f.aa,
"borderLeftRadius");this.A("rollOverBorderRightRadius",f.aa,"borderRightRadius");this.A("rollOverBorderTopLeftRadius",f.aa,"borderTopLeftRadius");this.A("rollOverBorderTopRightRadius",f.aa,"borderTopRightRadius");this.A("rollOverBorderBottomLeftRadius",f.aa,"borderBottomLeftRadius");this.A("rollOverBorderBottomRightRadius",f.aa,"borderBottomRightRadius");this.A("rollOverBorderSize",f.aa,"borderSize");this.A("rollOverBorderLeftSize",f.aa,"borderLeftSize");this.A("rollOverBorderTopSize",f.aa,"borderTopSize");
this.A("rollOverBorderRightSize",f.aa,"borderRightSize");this.A("rollOverBorderBottomSize",f.aa,"borderBottomSize");this.A("rollOverBorderColor",f.aa,"borderColor");this.A("rollOverBorderLeftColor",f.aa,"borderLeftColor");this.A("rollOverBorderTopColor",f.aa,"borderTopColor");this.A("rollOverBorderRightColor",f.aa,"borderRightColor");this.A("rollOverBorderBottomColor",f.aa,"borderBottomColor");this.A("rollOverLabelFontColor",f.aa,"labelFontColor");this.A("rollOverLabelFontSize",f.aa,"labelFontSize");
this.A("rollOverLabelFontStyle",f.aa,"labelFontStyle");this.A("rollOverLabelFontWeight",f.aa,"labelFontWeight");this.A("rollOverLabelTextDecoration",f.aa,"labelTextDecoration");this.A("rollOverLabelTextShadowColor",f.aa,"labelTextShadowColor");this.A("rollOverLabelTextShadowHorizontalLength",f.aa,"labelTextShadowHorizontalLength");this.A("rollOverLabelTextShadowVerticalLength",f.aa,"labelTextShadowVerticalLength");this.A("rollOverLabelTextShadowBlurRadius",f.aa,"labelTextShadowBlurRadius");this.A("rollOverLabelTextShadowOpacity",
f.aa,"labelTextShadowOpacity");this.A("rollOverOpacity",f.aa,"opacity");this.A("rollOverPaddingLeft",f.aa,"paddingLeft");this.A("rollOverPaddingTop",f.aa,"paddingTop");this.A("rollOverPaddingRight",f.aa,"paddingRight");this.A("rollOverPaddingBottom",f.aa,"paddingBottom");this.A("rollOverShadow",f.aa,"shadow");this.A("rollOverThumbnailOpacity",f.aa,"thumbnailOpacity");this.A("rollOverThumbnailBorderSize",f.aa,"thumbnailBorderSize");this.A("rollOverThumbnailBorderColor",f.aa,"thumbnailBorderColor");
this.A("rollOverThumbnailShadow",f.aa,"thumbnailShadow");this.A("rollOverThumbnailShadowHorizontalLength",f.aa,"thumbnailShadowHorizontalLength");this.A("rollOverThumbnailShadowVerticalLength",f.aa,"thumbnailShadowVerticalLength");this.A("rollOverThumbnailShadowBlurRadius",f.aa,"thumbnailShadowBlurRadius");this.A("rollOverThumbnailShadowSpread",f.aa,"thumbnailShadowSpread");this.A("rollOverThumbnailShadowColor",f.aa,"thumbnailShadowColor");this.A("rollOverThumbnailShadowOpacity",f.aa,"thumbnailShadowOpacity");
this.A("selectedBackgroundOpacity",f.ja,"backgroundOpacity");this.A("selectedBackgroundColor",f.ja,"backgroundColor");this.A("selectedBackgroundColorRatios",f.ja,"backgroundColorRatios");this.A("selectedBackgroundColorDirection",f.ja,"backgroundColorDirection");this.A("selectedBorderRadius",f.ja,"borderRadius");this.A("selectedBorderTopRadius",f.ja,"borderTopRadius");this.A("selectedBorderBottomRadius",f.ja,"borderBottomRadius");this.A("selectedBorderLeftRadius",f.ja,"borderLeftRadius");this.A("selectedBorderRightRadius",
f.ja,"borderRightRadius");this.A("selectedBorderTopLeftRadius",f.ja,"borderTopLeftRadius");this.A("selectedBorderTopRightRadius",f.ja,"borderTopRightRadius");this.A("selectedBorderBottomLeftRadius",f.ja,"borderBottomLeftRadius");this.A("selectedBorderBottomRightRadius",f.ja,"borderBottomRightRadius");this.A("selectedBorderSize",f.ja,"borderSize");this.A("selectedBorderLeftSize",f.ja,"borderLeftSize");this.A("selectedBorderTopSize",f.ja,"borderTopSize");this.A("selectedBorderRightSize",f.ja,"borderRightSize");
this.A("selectedBorderBottomSize",f.ja,"borderBottomSize");this.A("selectedBorderColor",f.ja,"borderColor");this.A("selectedBorderLeftColor",f.ja,"borderLeftColor");this.A("selectedBorderTopColor",f.ja,"borderTopColor");this.A("selectedBorderRightColor",f.ja,"borderRightColor");this.A("selectedBorderBottomColor",f.ja,"borderBottomColor");this.A("selectedLabelFontColor",f.ja,"labelFontColor");this.A("selectedLabelFontSize",f.ja,"labelFontSize");this.A("selectedLabelFontStyle",f.ja,"labelFontStyle");
this.A("selectedLabelFontWeight",f.ja,"labelFontWeight");this.A("selectedLabelTextDecoration",f.ja,"labelTextDecoration");this.A("selectedLabelTextShadowColor",f.ja,"labelTextShadowColor");this.A("selectedLabelTextShadowHorizontalLength",f.ja,"labelTextShadowHorizontalLength");this.A("selectedLabelTextShadowVerticalLength",f.ja,"labelTextShadowVerticalLength");this.A("selectedLabelTextShadowBlurRadius",f.ja,"labelTextShadowBlurRadius");this.A("selectedLabelTextShadowOpacity",f.ja,"labelTextShadowOpacity");
this.A("selectedOpacity",f.ja,"opacity");this.A("selectedPaddingLeft",f.ja,"paddingLeft");this.A("selectedPaddingTop",f.ja,"paddingTop");this.A("selectedPaddingRight",f.ja,"paddingRight");this.A("selectedPaddingBottom",f.ja,"paddingBottom");this.A("selectedShadow",f.ja,"shadow");this.A("selectedThumbnailOpacity",f.ja,"thumbnailOpacity");this.A("selectedThumbnailBorderSize",f.ja,"thumbnailBorderSize");this.A("selectedThumbnailBorderColor",f.ja,"thumbnailBorderColor");this.A("selectedThumbnailShadow",
f.ja,"thumbnailShadow");this.A("selectedThumbnailShadowHorizontalLength",f.ja,"thumbnailShadowHorizontalLength");this.A("selectedThumbnailShadowVerticalLength",f.ja,"thumbnailShadowVerticalLength");this.A("selectedThumbnailShadowBlurRadius",f.ja,"thumbnailShadowBlurRadius");this.A("selectedThumbnailShadowSpread",f.ja,"thumbnailShadowSpread");this.A("selectedThumbnailShadowColor",f.ja,"thumbnailShadowColor");this.A("selectedThumbnailShadowOpacity",f.ja,"thumbnailShadowOpacity")};t.prototype.NU=function(u){this.aR(u)};
t.prototype.Hb=function(){n.prototype.Hb.call(this);this.ef||(this.ef=new q,this.Ya(this.ef),this.ef.set("horizontalAlign",k.Ze),this.ef.set("verticalAlign",k.se),this.ef.bind(m.ea,this.Afa,this));this.Pa||(this.Pa=new p,this.Ya(this.Pa))};t.prototype.U9=function(u){if(r(u).isString())return u;if(u&amp;&amp;u.Tla)return u.Tla};t.prototype.S9=function(u){if(u&amp;&amp;u.label)return u.label};t.prototype.Kv=function(){return this.Pa&amp;&amp;this.Pa.get("text")||n.prototype.Kv.call(this)};t.prototype.bb=function(){if(this.L("sourceProperties")||
this.L("item")){for(;this.rD.length;)this.rD.pop().hC();var u=this.B("sourceProperties"),v=this.B("item");u&amp;&amp;v&amp;&amp;u.forEach(function(x){this.rD.push(l.Ru(v,x,this.Wca,this,!0))}.bind(this))}if(this.L("sourceProperties")||this.L("item")||this.L("tooltipFunction"))v=this.B("item"),u=this.B("tooltipFunction")(v),this.set("toolTip",u);if(this.L("sourceProperties")||this.L("item")||this.L("thumbnailUrlFunction"))v=this.B("item"),(u=this.B("thumbnailUrlFunction")(v))?this.ef.get("url")!=u&amp;&amp;this.ef.ra({url:u,
visible:!0,opacity:.5}):this.ef.ra({url:void 0,visible:!1}),this.S("thumbnailUrlFunction");if(this.L("sourceProperties")||this.L("item")||this.L("labelFunction"))v=this.B("item"),u=this.B("labelFunction")(v),this.Pa.ra({text:u,visible:u?!0:!1}),this.S("labelFunction");this.S("item");this.S("sourceProperties");if(this.L("labelPosition")||this.L("listLayout")||this.L("thumbnailWidth")||this.L("thumbnailHeight")){var w=this;u=function(x,y){x=w.B(x);return void 0!==x?x:y};switch(this.B("labelPosition")){case b.ab:case b.ub:this.set("layout",
g.Gg);this.Pa.set("width","100%");this.ef.ra({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",d.xk)});break;default:this.set("layout",g.Xh),this.Pa.set("width","100%"),this.ef.ra({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth","100%"),scaleMode:u("thumbnailScaleMode",d.xk)})}switch(this.B("labelPosition")){case b.ab:case b.Ec:this.ao(this.Pa,0);break;default:this.ao(this.Pa,1)}this.S("labelPosition")}this.uc(t.Q7,t.zoa,[this],!0,!0);this.uc(t.S7,
t.Coa,[this.ef],!0,!0);this.uc(t.R7,t.Boa,[this.Pa],!0,!0);n.prototype.bb.call(this)};t.prototype.Wca=function(){this.fF("item")};t.prototype.cF=function(u){n.prototype.cF.call(this,u)};t.prototype.Afa=function(){this.ef.set("opacity",1)};t.zoa={labelGap:"gap"};t.Q7=r(t.zoa).keys();t.Boa={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelHorizontalAlign:"horizontalAlign",labelMaxWidth:"maxWidth",labelTextDecoration:"textDecoration",
labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity"};t.R7=r(t.Boa).keys();t.Coa={thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",
thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};t.S7=r(t.Coa).keys();return t});
define("bZ","require lS cI nC py d il iS oR iG ju".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("nC"),k=a("py"),c=a("d"),h=a("il"),g=a("iS"),b=a("oR"),d=a("iG"),f=a("ju"),n=e.extend(b,function(){b.call(this);this.set("contentOpaque",!0);this.set("ariaRole","listbox")});n.prototype.yb=function(){b.prototype.yb.call(this);this.h("layout",c.dz);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",h.fq);this.h("itemHorizontalAlign",m.Ze);this.h("itemLabelFontFamily");this.h("itemLabelPosition",
g.wc);this.h("itemLabelFunction");this.h("itemLabelMaxWidth");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Ze);this.h("itemSourceProperties");this.h("itemThumbnailBorderRadius");this.h("itemThumbnailScaleMode");this.h("itemThumbnailWidth");this.h("itemThumbnailHeight");this.h("itemThumbnailMaxWidth");this.h("itemThumbnailMaxHeight");this.h("itemThumbnailUrlFunction");this.h("itemTooltipFunction");this.h("itemVerticalAlign",m.se);this.h("itemBackgroundOpacity");this.h("itemBackgroundColor");
this.h("itemBackgroundColorRatios");this.h("itemBackgroundColorDirection");this.h("itemBorderRadius");this.h("itemBorderTopRadius");this.h("itemBorderBottomRadius");this.h("itemBorderLeftRadius");this.h("itemBorderRightRadius");this.h("itemBorderTopLeftRadius");this.h("itemBorderTopRightRadius");this.h("itemBorderBottomLeftRadius");this.h("itemBorderBottomRightRadius");this.h("itemBorderSize");this.h("itemBorderLeftSize");this.h("itemBorderTopSize");this.h("itemBorderRightSize");this.h("itemBorderBottomSize");
this.h("itemBorderColor");this.h("itemBorderLeftColor");this.h("itemBorderTopColor");this.h("itemBorderRightColor");this.h("itemBorderBottomColor");this.h("itemLabelFontColor");this.h("itemLabelFontSize");this.h("itemLabelFontStyle");this.h("itemLabelFontWeight");this.h("itemLabelMaxWidth");this.h("itemLabelTextDecoration");this.h("itemLabelTextShadowColor");this.h("itemLabelTextShadowHorizontalLength");this.h("itemLabelTextShadowVerticalLength");this.h("itemLabelTextShadowBlurRadius");this.h("itemLabelTextShadowOpacity");
this.h("itemOpacity");this.h("itemPaddingLeft");this.h("itemPaddingTop");this.h("itemPaddingRight");this.h("itemPaddingBottom");this.h("itemShadow");this.h("itemThumbnailOpacity");this.h("itemThumbnailBorderSize");this.h("itemThumbnailBorderColor");this.h("itemThumbnailShadow");this.h("itemThumbnailShadowHorizontalLength");this.h("itemThumbnailShadowVerticalLength");this.h("itemThumbnailShadowBlurRadius");this.h("itemThumbnailShadowSpread");this.h("itemThumbnailShadowColor");this.h("itemThumbnailShadowOpacity");
this.h("rollOverItemBackgroundOpacity");this.h("rollOverItemBackgroundColor");this.h("rollOverItemBackgroundColorRatios");this.h("rollOverItemBackgroundColorDirection");this.h("rollOverItemBorderRadius");this.h("rollOverItemBorderTopRadius");this.h("rollOverItemBorderBottomRadius");this.h("rollOverItemBorderLeftRadius");this.h("rollOverItemBorderRightRadius");this.h("rollOverItemBorderTopLeftRadius");this.h("rollOverItemBorderTopRightRadius");this.h("rollOverItemBorderBottomLeftRadius");this.h("rollOverItemBorderBottomRightRadius");
this.h("rollOverItemBorderSize");this.h("rollOverItemBorderLeftSize");this.h("rollOverItemBorderTopSize");this.h("rollOverItemBorderRightSize");this.h("rollOverItemBorderBottomSize");this.h("rollOverItemBorderColor");this.h("rollOverItemBorderLeftColor");this.h("rollOverItemBorderTopColor");this.h("rollOverItemBorderRightColor");this.h("rollOverItemBorderBottomColor");this.h("rollOverItemLabelFontSize");this.h("rollOverItemLabelFontStyle");this.h("rollOverItemLabelFontWeight");this.h("rollOverItemLabelTextDecoration");
this.h("rollOverItemLabelTextShadowColor");this.h("rollOverItemLabelTextShadowHorizontalLength");this.h("rollOverItemLabelTextShadowVerticalLength");this.h("rollOverItemLabelTextShadowBlurRadius");this.h("rollOverItemLabelTextShadowOpacity");this.h("rollOverItemOpacity");this.h("rollOverItemPaddingLeft");this.h("rollOverItemPaddingTop");this.h("rollOverItemPaddingRight");this.h("rollOverItemPaddingBottom");this.h("rollOverItemShadow");this.h("rollOverItemThumbnailOpacity");this.h("rollOverItemThumbnailBorderSize");
this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
this.h("selectedItemBorderRadius");this.h("selectedItemBorderTopRadius");this.h("selectedItemBorderBottomRadius");this.h("selectedItemBorderLeftRadius");this.h("selectedItemBorderRightRadius");this.h("selectedItemBorderTopLeftRadius");this.h("selectedItemBorderTopRightRadius");this.h("selectedItemBorderBottomLeftRadius");this.h("selectedItemBorderBottomRightRadius");this.h("selectedItemBorderSize");this.h("selectedItemBorderLeftSize");this.h("selectedItemBorderTopSize");this.h("selectedItemBorderRightSize");
this.h("selectedItemBorderBottomSize");this.h("selectedItemBorderColor");this.h("selectedItemBorderLeftColor");this.h("selectedItemBorderTopColor");this.h("selectedItemBorderRightColor");this.h("selectedItemBorderBottomColor");this.h("selectedItemLabelFontSize");this.h("selectedItemLabelFontStyle");this.h("selectedItemLabelFontWeight");this.h("selectedItemLabelTextDecoration");this.h("selectedItemLabelTextShadowColor");this.h("selectedItemLabelTextShadowHorizontalLength");this.h("selectedItemLabelTextShadowVerticalLength");
this.h("selectedItemLabelTextShadowBlurRadius");this.h("selectedItemLabelTextShadowOpacity");this.h("selectedItemOpacity");this.h("selectedItemPaddingLeft");this.h("selectedItemPaddingTop");this.h("selectedItemPaddingRight");this.h("selectedItemPaddingBottom");this.h("selectedItemShadow");this.h("selectedItemThumbnailOpacity");this.h("selectedItemThumbnailBorderSize");this.h("selectedItemThumbnailBorderColor");this.h("selectedItemThumbnailShadow");this.h("selectedItemThumbnailShadowHorizontalLength");
this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};n.prototype.VO=function(q){this.jp=!0;this.set("selectedIndex",this.laa(q.source))};n.prototype.laa=function(q){for(var p=this.pb(),r=0;r&lt;p.length;r++)if(p[r]==q)return r;return-1};n.prototype.bb=function(){this.L("layout")&amp;&amp;this.B("layout")!=c.dz&amp;&amp;this.set("layout",c.dz);
var q=!1;if(this.L("items")){q=!0;var p=this.B("items")||[],r=this.pb();if(r.length&lt;p.length){for(var t=r.length;t&lt;p.length;t++)r=new d,r.bind(k.ma,this.VO,this),this.uc(n.kN,n.ZC,[r],!1,!1),this.uc(n.lN,n.$C,[r],!1,!1),this.Ya(r);r=this.pb()}if(r.length&gt;p.length){for(t=p.length;t&lt;r.length;t++){var u=r[t];u.unbind(k.ma,this.VO,this);this.removeChild(u)}r=this.pb()}for(t=0;t&lt;p.length;t++)r[t].set("item",p[t]);this.S("items")}if(this.L("selectedIndex")||q){p=this.pb();q=Math.min(p.length-1,Math.max(-1,
this.B("selectedIndex")));this.set("selectedIndex",q);for(t=0;t&lt;p.length;t++)p[t].NU(t==q);this.S("selectedIndex");this.jp&amp;&amp;(this.jp=!1,this.trigger(new l(k.ba)))}this.uc(n.kN,n.ZC,this.pb(),!0,!1);this.uc(n.lN,n.$C,this.pb(),!0,!0);b.prototype.bb.call(this)};n.prototype.dj=function(){b.prototype.dj.call(this);f.Z2a(this,this.pb().map(function(q){return q.ke()}),this.Zl.Lxa,this.Zl.iqa)};n.ZC={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",
shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};n.$C={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelMaxWidth:"labelMaxWidth",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",
itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",
itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",
itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",
itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",
itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",
rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",
rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",
rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",
rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",
rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",
selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",
selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",
selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",
selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",
selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",
selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",tabIndex:"tabIndex",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",
toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",
toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};n.kN=Object.keys(n.ZC);n.lN=Object.keys(n.$C);
return n});
define("kF","require py bZ ol kk ep bW".split(" "),function(a){var e=a("py"),l=a("bZ"),m=a("ol"),k=a("kk"),c=a("ep"),h=a("bW");a=m.define("ThumbnailGrid",l,function(){l.call(this);this.Dd=null;this.set("itemMode","normal");this.Fq=!1;this.DN=new k(this,"buttonScrollDown",c.Me);this.DN.bind(e.ma,this.SHa,this);this.EN=new k(this,"buttonScrollLeft",c.Me);this.EN.bind(e.ma,this.scrollLeft,this);this.FN=new k(this,"buttonScrollRight",c.Me);this.FN.bind(e.ma,this.THa,this);this.GN=new k(this,"buttonScrollUp",
c.Me);this.GN.bind(e.ma,this.UHa,this);this.bind(e.ba,this.fXa,this)});a.prototype.dj=function(){l.prototype.dj.call(this);this.vF()};a.prototype.Ix=function(){l.prototype.Ix.call(this);this.vF()};a.prototype.vF=function(){this.DN.set("visible",!this.Fq||this.LW());this.GN.set("visible",!this.Fq||this.OW());this.EN.set("visible",!this.Fq||this.MW());this.FN.set("visible",!this.Fq||this.NW())};a.prototype.set=function(g,b){if("itemMode"==g)switch(b){case "thumbnail-only":this.set("itemLabelFunction",
this.Bw);this.set("itemThumbnailUrlFunction",this.XO);this.set("itemTooltipFunction",this.jE);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.jE);this.set("itemThumbnailUrlFunction",this.Bw);this.set("itemTooltipFunction",this.Bw);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.jE),this.set("itemThumbnailUrlFunction",this.XO),
this.set("itemTooltipFunction",this.Bw),this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==g?(this.Dd&amp;&amp;this.Dd.unbind("change",this.Vw,this),(this.Dd=b)?(this.set("items",this.Dd.get("items")),this.set("selectedIndex",this.Dd.get("selectedIndex")),this.Dd.bind("change",this.Vw,this,!0)):this.set("items",[])):"hideScrollButtons"==g?(this.Fq=b,this.vF()):l.prototype.set.call(this,g,b)};a.prototype.get=function(g,b){switch(g){case "playList":return this.Dd;
default:return l.prototype.get.call(this,g,b)}};a.prototype.Vw=function(){this.set("items",this.Dd.get("items"));this.set("selectedIndex",this.Dd.get("selectedIndex"))};a.prototype.fXa=function(){this.Dd&amp;&amp;this.Dd.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Bw=function(){};a.prototype.jE=function(g){return g.get("label")||g.get("media").get("label")};a.prototype.XO=function(g){g=g.get("media");var b=g.get("thumbnailUrl");g.get("flipImageHorizontally")&amp;&amp;(b=h.eBa(b));return b};return a});
define("lb","require lS z py nC cZ bh d iS mK hg oR nh dE es".split(" "),function(a){var e=a("lS"),l=a("z"),m=a("py"),k=a("nC"),c=a("cZ"),h=a("bh"),g=a("d"),b=a("iS"),d=a("mK"),f=a("hg"),n=a("oR"),q=a("nh"),p=a("dE"),r=a("es"),t=e.extend(n,function(){n.call(this);this.Pa=this.ef=null;this.rD=[];this.set("ariaRole","option");this.set("autoRolledOver",!0);this.set("childrenInteractionEnabled",!1);this.set("contentOpaque",!0);this.set("creationPolicy",c.JC);this.set("cursor",h.Le)});t.prototype.yb=function(){n.prototype.yb.call(this);
this.h("listLayout");this.h("overflow","hidden");this.h("item");this.h("thumbnailUrlFunction",this.U9);this.h("sourceProperties");this.h("labelFunction",this.S9);this.h("labelFontFamily");this.h("labelFontColor");this.h("labelFontSize");this.h("labelFontStyle");this.h("labelFontWeight");this.h("labelGap");this.h("labelHorizontalAlign");this.h("labelPosition");this.h("labelTextDecoration");this.h("labelTextShadowColor");this.h("labelTextShadowHorizontalLength");this.h("labelTextShadowVerticalLength");
this.h("labelTextShadowBlurRadius");this.h("labelTextShadowOpacity");this.h("thumbnailBorderRadius");this.h("thumbnailOpacity");this.h("thumbnailBorderSize");this.h("thumbnailBorderColor");this.h("thumbnailWidth");this.h("thumbnailHeight");this.h("thumbnailMaxWidth");this.h("thumbnailMaxHeight");this.h("thumbnailShadow");this.h("thumbnailShadowHorizontalLength");this.h("thumbnailShadowVerticalLength");this.h("thumbnailShadowBlurRadius");this.h("thumbnailShadowSpread");this.h("thumbnailShadowColor");
this.h("thumbnailShadowOpacity");this.A("rollOverBackgroundOpacity",f.aa,"backgroundOpacity");this.A("rollOverBackgroundColor",f.aa,"backgroundColor");this.A("rollOverBackgroundColorRatios",f.aa,"backgroundColorRatios");this.A("rollOverBackgroundColorDirection",f.aa,"backgroundColorDirection");this.A("rollOverBorderRadius",f.aa,"borderRadius");this.A("rollOverBorderTopRadius",f.aa,"borderTopRadius");this.A("rollOverBorderBottomRadius",f.aa,"borderBottomRadius");this.A("rollOverBorderLeftRadius",f.aa,
"borderLeftRadius");this.A("rollOverBorderRightRadius",f.aa,"borderRightRadius");this.A("rollOverBorderTopLeftRadius",f.aa,"borderTopLeftRadius");this.A("rollOverBorderTopRightRadius",f.aa,"borderTopRightRadius");this.A("rollOverBorderBottomLeftRadius",f.aa,"borderBottomLeftRadius");this.A("rollOverBorderBottomRightRadius",f.aa,"borderBottomRightRadius");this.A("rollOverBorderSize",f.aa,"borderSize");this.A("rollOverBorderLeftSize",f.aa,"borderLeftSize");this.A("rollOverBorderTopSize",f.aa,"borderTopSize");
this.A("rollOverBorderRightSize",f.aa,"borderRightSize");this.A("rollOverBorderBottomSize",f.aa,"borderBottomSize");this.A("rollOverBorderColor",f.aa,"borderColor");this.A("rollOverBorderLeftColor",f.aa,"borderLeftColor");this.A("rollOverBorderTopColor",f.aa,"borderTopColor");this.A("rollOverBorderRightColor",f.aa,"borderRightColor");this.A("rollOverBorderBottomColor",f.aa,"borderBottomColor");this.A("rollOverLabelFontColor",f.aa,"labelFontColor");this.A("rollOverLabelFontSize",f.aa,"labelFontSize");
this.A("rollOverLabelFontStyle",f.aa,"labelFontStyle");this.A("rollOverLabelFontWeight",f.aa,"labelFontWeight");this.A("rollOverLabelTextDecoration",f.aa,"labelTextDecoration");this.A("rollOverLabelTextShadowColor",f.aa,"labelTextShadowColor");this.A("rollOverLabelTextShadowHorizontalLength",f.aa,"labelTextShadowHorizontalLength");this.A("rollOverLabelTextShadowVerticalLength",f.aa,"labelTextShadowVerticalLength");this.A("rollOverLabelTextShadowBlurRadius",f.aa,"labelTextShadowBlurRadius");this.A("rollOverLabelTextShadowOpacity",
f.aa,"labelTextShadowOpacity");this.A("rollOverOpacity",f.aa,"opacity");this.A("rollOverPaddingLeft",f.aa,"paddingLeft");this.A("rollOverPaddingTop",f.aa,"paddingTop");this.A("rollOverPaddingRight",f.aa,"paddingRight");this.A("rollOverPaddingBottom",f.aa,"paddingBottom");this.A("rollOverShadow",f.aa,"shadow");this.A("rollOverThumbnailOpacity",f.aa,"thumbnailOpacity");this.A("rollOverThumbnailBorderSize",f.aa,"thumbnailBorderSize");this.A("rollOverThumbnailBorderColor",f.aa,"thumbnailBorderColor");
this.A("rollOverThumbnailShadow",f.aa,"thumbnailShadow");this.A("rollOverThumbnailShadowHorizontalLength",f.aa,"thumbnailShadowHorizontalLength");this.A("rollOverThumbnailShadowVerticalLength",f.aa,"thumbnailShadowVerticalLength");this.A("rollOverThumbnailShadowBlurRadius",f.aa,"thumbnailShadowBlurRadius");this.A("rollOverThumbnailShadowSpread",f.aa,"thumbnailShadowSpread");this.A("rollOverThumbnailShadowColor",f.aa,"thumbnailShadowColor");this.A("rollOverThumbnailShadowOpacity",f.aa,"thumbnailShadowOpacity");
this.A("selectedBackgroundOpacity",f.ja,"backgroundOpacity");this.A("selectedBackgroundColor",f.ja,"backgroundColor");this.A("selectedBackgroundColorRatios",f.ja,"backgroundColorRatios");this.A("selectedBackgroundColorDirection",f.ja,"backgroundColorDirection");this.A("selectedBorderRadius",f.ja,"borderRadius");this.A("selectedBorderTopRadius",f.ja,"borderTopRadius");this.A("selectedBorderBottomRadius",f.ja,"borderBottomRadius");this.A("selectedBorderLeftRadius",f.ja,"borderLeftRadius");this.A("selectedBorderRightRadius",
f.ja,"borderRightRadius");this.A("selectedBorderTopLeftRadius",f.ja,"borderTopLeftRadius");this.A("selectedBorderTopRightRadius",f.ja,"borderTopRightRadius");this.A("selectedBorderBottomLeftRadius",f.ja,"borderBottomLeftRadius");this.A("selectedBorderBottomRightRadius",f.ja,"borderBottomRightRadius");this.A("selectedBorderSize",f.ja,"borderSize");this.A("selectedBorderLeftSize",f.ja,"borderLeftSize");this.A("selectedBorderTopSize",f.ja,"borderTopSize");this.A("selectedBorderRightSize",f.ja,"borderRightSize");
this.A("selectedBorderBottomSize",f.ja,"borderBottomSize");this.A("selectedBorderColor",f.ja,"borderColor");this.A("selectedBorderLeftColor",f.ja,"borderLeftColor");this.A("selectedBorderTopColor",f.ja,"borderTopColor");this.A("selectedBorderRightColor",f.ja,"borderRightColor");this.A("selectedBorderBottomColor",f.ja,"borderBottomColor");this.A("selectedLabelFontColor",f.ja,"labelFontColor");this.A("selectedLabelFontSize",f.ja,"labelFontSize");this.A("selectedLabelFontStyle",f.ja,"labelFontStyle");
this.A("selectedLabelFontWeight",f.ja,"labelFontWeight");this.A("selectedLabelTextDecoration",f.ja,"labelTextDecoration");this.A("selectedLabelTextShadowColor",f.ja,"labelTextShadowColor");this.A("selectedLabelTextShadowHorizontalLength",f.ja,"labelTextShadowHorizontalLength");this.A("selectedLabelTextShadowVerticalLength",f.ja,"labelTextShadowVerticalLength");this.A("selectedLabelTextShadowBlurRadius",f.ja,"labelTextShadowBlurRadius");this.A("selectedLabelTextShadowOpacity",f.ja,"labelTextShadowOpacity");
this.A("selectedOpacity",f.ja,"opacity");this.A("selectedPaddingLeft",f.ja,"paddingLeft");this.A("selectedPaddingTop",f.ja,"paddingTop");this.A("selectedPaddingRight",f.ja,"paddingRight");this.A("selectedPaddingBottom",f.ja,"paddingBottom");this.A("selectedShadow",f.ja,"shadow");this.A("selectedThumbnailOpacity",f.ja,"thumbnailOpacity");this.A("selectedThumbnailBorderSize",f.ja,"thumbnailBorderSize");this.A("selectedThumbnailBorderColor",f.ja,"thumbnailBorderColor");this.A("selectedThumbnailShadow",
f.ja,"thumbnailShadow");this.A("selectedThumbnailShadowHorizontalLength",f.ja,"thumbnailShadowHorizontalLength");this.A("selectedThumbnailShadowVerticalLength",f.ja,"thumbnailShadowVerticalLength");this.A("selectedThumbnailShadowBlurRadius",f.ja,"thumbnailShadowBlurRadius");this.A("selectedThumbnailShadowSpread",f.ja,"thumbnailShadowSpread");this.A("selectedThumbnailShadowColor",f.ja,"thumbnailShadowColor");this.A("selectedThumbnailShadowOpacity",f.ja,"thumbnailShadowOpacity")};t.prototype.NU=function(u){this.aR(u)};
t.prototype.Hb=function(){n.prototype.Hb.call(this);this.ef||(this.ef=new q,this.Ya(this.ef),this.ef.set("horizontalAlign",k.Ze),this.ef.set("verticalAlign",k.se),this.ef.bind(m.ea,this.Afa,this));this.Pa||(this.Pa=new p,this.Ya(this.Pa))};t.prototype.U9=function(u){if(r(u).isString())return u;if(u&amp;&amp;u.Tla)return u.Tla};t.prototype.S9=function(u){if(u&amp;&amp;u.label)return u.label};t.prototype.Kv=function(){return this.Pa&amp;&amp;this.Pa.get("text")||n.prototype.Kv.call(this)};t.prototype.bb=function(){if(this.L("sourceProperties")||
this.L("item")){for(;this.rD.length;)this.rD.pop().hC();var u=this.B("sourceProperties"),v=this.B("item");u&amp;&amp;v&amp;&amp;u.forEach(function(x){this.rD.push(l.Ru(v,x,this.Wca,this,!0))}.bind(this))}if(this.L("sourceProperties")||this.L("item")||this.L("tooltipFunction"))v=this.B("item"),u=this.B("tooltipFunction")(v),this.set("toolTip",u);if(this.L("sourceProperties")||this.L("item")||this.L("thumbnailUrlFunction"))v=this.B("item"),(u=this.B("thumbnailUrlFunction")(v))?this.ef.get("url")!=u&amp;&amp;this.ef.ra({url:u,
visible:!0,opacity:.5}):this.ef.ra({url:void 0,visible:!1}),this.S("thumbnailUrlFunction");if(this.L("sourceProperties")||this.L("item")||this.L("labelFunction"))v=this.B("item"),u=this.B("labelFunction")(v),this.Pa.ra({text:u,visible:u?!0:!1}),this.S("labelFunction");this.S("sourceProperties");this.S("item");if(this.L("listLayout"))switch(this.B("listLayout")){case g.Xh:this.ra({width:"100%",height:void 0});break;default:this.ra({height:"100%",width:void 0})}if(this.L("labelPosition")||this.L("listLayout")||
this.L("thumbnailWidth")||this.L("thumbnailHeight")){var w=this;u=function(x,y){x=w.B(x);void 0===x&amp;&amp;(x=y);return x};switch(this.B("labelPosition")){case b.ab:case b.ub:this.set("layout",g.Gg);this.Pa.set("width","100%");switch(this.B("listLayout")){case g.Xh:this.ef.ra({height:u("thumbnailHeight"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",d.xk)});break;default:this.ef.ra({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",d.xk)})}break;
default:switch(this.set("layout",g.Xh),this.Pa.set("width",void 0),this.B("listLayout")){case g.Xh:this.ef.ra({height:u("thumbnailHeight"),width:u("thumbnailWidth","100%"),scaleMode:u("thumbnailScaleMode",d.Vp)});break;default:this.ef.ra({height:u("thumbnailHeight","100%"),width:u("thumbnailWidth"),scaleMode:u("thumbnailScaleMode",d.xk)})}}switch(this.B("labelPosition")){case b.ab:case b.Ec:this.ao(this.Pa,0);break;default:this.ao(this.Pa,1)}this.S("labelPosition")}this.S("listLayout");this.uc(t.Q7,
t.SH,[this],!0,!0);this.uc(t.S7,t.SH,[this.ef],!0,!0);this.uc(t.R7,t.SH,[this.Pa],!0,!0);n.prototype.bb.call(this)};t.prototype.Wca=function(){this.fF("item")};t.prototype.cF=function(u){n.prototype.cF.call(this,u)};t.prototype.Afa=function(){this.ef.set("opacity",1)};t.Q7=["labelGap"];t.S7="thumbnailBorderColor thumbnailBorderRadius thumbnailBorderSize thumbnailMaxWidth thumbnailMaxHeight thumbnailOpacity thumbnailShadow thumbnailShadowHorizontalLength thumbnailShadowVerticalLength thumbnailShadowBlurRadius thumbnailShadowSpread thumbnailShadowColor thumbnailShadowOpacity".split(" ");
t.R7="labelFontFamily labelFontColor labelFontSize labelFontStyle labelFontWeight labelHorizontalAlign labelTextDecoration labelTextShadowColor labelTextShadowHorizontalLength labelTextShadowVerticalLength labelTextShadowBlurRadius labelTextShadowOpacity".split(" ");t.SH={labelFontFamily:"fontFamily",labelFontColor:"fontColor",labelFontSize:"fontSize",labelFontStyle:"fontStyle",labelFontWeight:"fontWeight",labelGap:"gap",labelHorizontalAlign:"horizontalAlign",labelTextDecoration:"textDecoration",
labelTextShadowColor:"textShadowColor",labelTextShadowHorizontalLength:"textShadowHorizontalLength",labelTextShadowVerticalLength:"textShadowVerticalLength",labelTextShadowBlurRadius:"textShadowBlurRadius",labelTextShadowOpacity:"textShadowOpacity",thumbnailMaxWidth:"maxWidth",thumbnailMaxHeight:"maxHeight",thumbnailBorderRadius:"borderRadius",thumbnailOpacity:"opacity",thumbnailBorderSize:"borderSize",thumbnailBorderColor:"borderColor",thumbnailShadow:"shadow",thumbnailShadowHorizontalLength:"shadowHorizontalLength",
thumbnailShadowVerticalLength:"shadowVerticalLength",thumbnailShadowBlurRadius:"shadowBlurRadius",thumbnailShadowSpread:"shadowSpread",thumbnailShadowColor:"shadowColor",thumbnailShadowOpacity:"shadowOpacity"};return t});
define("M","require lS cI nC py d il iS oR lb ju".split(" "),function(a){var e=a("lS"),l=a("cI"),m=a("nC"),k=a("py"),c=a("d"),h=a("il"),g=a("iS"),b=a("oR"),d=a("lb"),f=a("ju"),n=e.extend(b,function(){b.call(this);this.set("ariaRole","listbox");this.set("contentOpaque",!0);this.bind(k.G("selectedIndex"),this.TYa,this);this.bind(k.tc,this.u0a,this)});n.prototype.yb=function(){b.prototype.yb.call(this);this.h("layout",c.Gg);this.h("selectedIndex",-1);this.h("items",[]);this.h("overflow",h.fq);this.h("itemHorizontalAlign",
m.Ze);this.h("itemLabelFontFamily");this.h("itemLabelPosition",g.wc);this.h("itemLabelFunction");this.h("itemLabelGap");this.h("itemLabelHorizontalAlign",m.Ze);this.h("itemThumbnailBorderRadius");this.h("itemThumbnailScaleMode");this.h("itemThumbnailWidth");this.h("itemThumbnailHeight");this.h("itemThumbnailMaxWidth");this.h("itemThumbnailMaxHeight");this.h("itemThumbnailUrlFunction");this.h("itemTooltipFunction");this.h("itemSourceProperties");this.h("itemVerticalAlign",m.se);this.h("itemBackgroundOpacity");
this.h("itemBackgroundColor");this.h("itemBackgroundColorRatios");this.h("itemBackgroundColorDirection");this.h("itemBorderRadius");this.h("itemBorderTopRadius");this.h("itemBorderBottomRadius");this.h("itemBorderLeftRadius");this.h("itemBorderRightRadius");this.h("itemBorderTopLeftRadius");this.h("itemBorderTopRightRadius");this.h("itemBorderBottomLeftRadius");this.h("itemBorderBottomRightRadius");this.h("itemBorderSize");this.h("itemBorderLeftSize");this.h("itemBorderTopSize");this.h("itemBorderRightSize");
this.h("itemBorderBottomSize");this.h("itemBorderColor");this.h("itemBorderLeftColor");this.h("itemBorderTopColor");this.h("itemBorderRightColor");this.h("itemBorderBottomColor");this.h("itemLabelFontColor");this.h("itemLabelFontSize");this.h("itemLabelFontStyle");this.h("itemLabelFontWeight");this.h("itemLabelTextDecoration");this.h("itemLabelTextShadowColor");this.h("itemLabelTextShadowHorizontalLength");this.h("itemLabelTextShadowVerticalLength");this.h("itemLabelTextShadowBlurRadius");this.h("itemLabelTextShadowOpacity");
this.h("itemOpacity");this.h("itemPaddingLeft");this.h("itemPaddingTop");this.h("itemPaddingRight");this.h("itemPaddingBottom");this.h("itemShadow");this.h("itemThumbnailOpacity");this.h("itemThumbnailBorderSize");this.h("itemThumbnailBorderColor");this.h("itemThumbnailShadow");this.h("itemThumbnailShadowHorizontalLength");this.h("itemThumbnailShadowVerticalLength");this.h("itemThumbnailShadowBlurRadius");this.h("itemThumbnailShadowSpread");this.h("itemThumbnailShadowColor");this.h("itemThumbnailShadowOpacity");
this.h("rollOverItemBackgroundOpacity");this.h("rollOverItemBackgroundColor");this.h("rollOverItemBackgroundColorRatios");this.h("rollOverItemBackgroundColorDirection");this.h("rollOverItemBorderRadius");this.h("rollOverItemBorderTopRadius");this.h("rollOverItemBorderBottomRadius");this.h("rollOverItemBorderLeftRadius");this.h("rollOverItemBorderRightRadius");this.h("rollOverItemBorderTopLeftRadius");this.h("rollOverItemBorderTopRightRadius");this.h("rollOverItemBorderBottomLeftRadius");this.h("rollOverItemBorderBottomRightRadius");
this.h("rollOverItemBorderSize");this.h("rollOverItemBorderLeftSize");this.h("rollOverItemBorderTopSize");this.h("rollOverItemBorderRightSize");this.h("rollOverItemBorderBottomSize");this.h("rollOverItemBorderColor");this.h("rollOverItemBorderLeftColor");this.h("rollOverItemBorderTopColor");this.h("rollOverItemBorderRightColor");this.h("rollOverItemBorderBottomColor");this.h("rollOverItemLabelFontSize");this.h("rollOverItemLabelFontStyle");this.h("rollOverItemLabelFontWeight");this.h("rollOverItemLabelTextDecoration");
this.h("rollOverItemLabelTextShadowColor");this.h("rollOverItemLabelTextShadowHorizontalLength");this.h("rollOverItemLabelTextShadowVerticalLength");this.h("rollOverItemLabelTextShadowBlurRadius");this.h("rollOverItemLabelTextShadowOpacity");this.h("rollOverItemOpacity");this.h("rollOverItemPaddingLeft");this.h("rollOverItemPaddingTop");this.h("rollOverItemPaddingRight");this.h("rollOverItemPaddingBottom");this.h("rollOverItemShadow");this.h("rollOverItemThumbnailOpacity");this.h("rollOverItemThumbnailBorderSize");
this.h("rollOverItemThumbnailBorderColor");this.h("rollOverItemThumbnailShadow");this.h("rollOverItemThumbnailShadowHorizontalLength");this.h("rollOverItemThumbnailShadowVerticalLength");this.h("rollOverItemThumbnailShadowBlurRadius");this.h("rollOverItemThumbnailShadowSpread");this.h("rollOverItemThumbnailShadowColor");this.h("rollOverItemThumbnailShadowOpacity");this.h("selectedItemBackgroundOpacity");this.h("selectedItemBackgroundColor");this.h("selectedItemBackgroundColorRatios");this.h("selectedItemBackgroundColorDirection");
this.h("selectedItemBorderRadius");this.h("selectedItemBorderTopRadius");this.h("selectedItemBorderBottomRadius");this.h("selectedItemBorderLeftRadius");this.h("selectedItemBorderRightRadius");this.h("selectedItemBorderTopLeftRadius");this.h("selectedItemBorderTopRightRadius");this.h("selectedItemBorderBottomLeftRadius");this.h("selectedItemBorderBottomRightRadius");this.h("selectedItemBorderSize");this.h("selectedItemBorderLeftSize");this.h("selectedItemBorderTopSize");this.h("selectedItemBorderRightSize");
this.h("selectedItemBorderBottomSize");this.h("selectedItemBorderColor");this.h("selectedItemBorderLeftColor");this.h("selectedItemBorderTopColor");this.h("selectedItemBorderRightColor");this.h("selectedItemBorderBottomColor");this.h("selectedItemLabelFontSize");this.h("selectedItemLabelFontStyle");this.h("selectedItemLabelFontWeight");this.h("selectedItemLabelTextDecoration");this.h("selectedItemLabelTextShadowColor");this.h("selectedItemLabelTextShadowHorizontalLength");this.h("selectedItemLabelTextShadowVerticalLength");
this.h("selectedItemLabelTextShadowBlurRadius");this.h("selectedItemLabelTextShadowOpacity");this.h("selectedItemOpacity");this.h("selectedItemPaddingLeft");this.h("selectedItemPaddingTop");this.h("selectedItemPaddingRight");this.h("selectedItemPaddingBottom");this.h("selectedItemShadow");this.h("selectedItemThumbnailOpacity");this.h("selectedItemThumbnailBorderSize");this.h("selectedItemThumbnailBorderColor");this.h("selectedItemThumbnailShadow");this.h("selectedItemThumbnailShadowHorizontalLength");
this.h("selectedItemThumbnailShadowVerticalLength");this.h("selectedItemThumbnailShadowBlurRadius");this.h("selectedItemThumbnailShadowSpread");this.h("selectedItemThumbnailShadowColor");this.h("selectedItemThumbnailShadowOpacity")};n.prototype.VO=function(q){this.jp=!0;this.set("selectedIndex",this.laa(q.source))};n.prototype.TYa=function(){this.Wxa()};n.prototype.u0a=function(){setTimeout(function(){this.Wxa()}.bind(this),100)};n.prototype.Wxa=function(){var q=this.get("selectedIndex"),p=this.pb();
0&lt;=q&amp;&amp;q&lt;p.length&amp;&amp;this.scrollIntoView(p[q])};n.prototype.laa=function(q){for(var p=this.pb(),r=0;r&lt;p.length;r++)if(p[r]==q)return r;return-1};n.prototype.bb=function(){var q=!1;if(this.L("layout")){q=!0;var p=this.B("layout");p!=c.Xh&amp;&amp;p!=c.Gg&amp;&amp;this.set("layout",c.Gg)}p=!1;if(this.L("items")){p=!0;var r=this.B("items")||[],t=this.pb();if(t.length&lt;r.length){for(var u=t.length;u&lt;r.length;u++)t=new d,t.bind(k.ma,this.VO,this),this.uc(n.kN,n.ZC,[t],!1,!1),this.uc(n.lN,n.$C,[t],!1,!1),this.Ya(t);t=this.pb()}if(t.length&gt;
r.length){for(u=r.length;u&lt;t.length;u++){var v=t[u];v.unbind(k.ma,this.VO,this);this.removeChild(v)}t=this.pb()}for(u=0;u&lt;r.length;u++)t[u].set("item",r[u]);this.S("items")}if(this.L("selectedIndex")||p){r=this.pb();t=Math.min(r.length-1,Math.max(-1,this.B("selectedIndex")));this.set("selectedIndex",t);for(u=0;u&lt;r.length;u++)r[u].NU(u==t);this.S("selectedIndex");this.jp&amp;&amp;(this.jp=!1,this.trigger(new l(k.ba)))}if(q||p)this.B("layout")==c.Gg?f.b3a(this,this.pb().map(function(w){return w.ke()})):f.kBa(this,
this.pb().map(function(w){return w.ke()}));this.uc(n.kN,n.ZC,this.pb(),!0,!1);this.uc(n.lN,n.$C,this.pb(),!0,!0);b.prototype.bb.call(this)};n.ZC={layout:"listLayout",shadowHorizontalLength:"shadowHorizontalLength",shadowVerticalLength:"shadowVerticalLength",shadowBlurRadius:"shadowBlurRadius",shadowSpread:"shadowSpread",shadowOpacity:"shadowOpacity",shadowColor:"shadowColor"};n.$C={itemHorizontalAlign:"horizontalAlign",itemLabelFunction:"labelFunction",itemLabelFontFamily:"labelFontFamily",itemLabelGap:"labelGap",
itemLabelHorizontalAlign:"labelHorizontalAlign",itemLabelPosition:"labelPosition",itemSourceProperties:"sourceProperties",itemThumbnailBorderRadius:"thumbnailBorderRadius",itemThumbnailScaleMode:"thumbnailScaleMode",itemThumbnailHeight:"thumbnailHeight",itemThumbnailWidth:"thumbnailWidth",itemThumbnailMaxHeight:"thumbnailMaxHeight",itemThumbnailMaxWidth:"thumbnailMaxWidth",itemThumbnailUrlFunction:"thumbnailUrlFunction",itemTooltipFunction:"tooltipFunction",itemVerticalAlign:"verticalAlign",itemBackgroundOpacity:"backgroundOpacity",
itemBackgroundColor:"backgroundColor",itemBackgroundColorRatios:"backgroundColorRatios",itemBackgroundColorDirection:"backgroundColorDirection",itemBorderRadius:"borderRadius",itemBorderTopRadius:"borderTopRadius",itemBorderBottomRadius:"borderBottomRadius",itemBorderLeftRadius:"borderLeftRadius",itemBorderRightRadius:"borderRightRadius",itemBorderTopLeftRadius:"borderTopLeftRadius",itemBorderTopRightRadius:"borderTopRightRadius",itemBorderBottomLeftRadius:"borderBottomLeftRadius",itemBorderBottomRightRadius:"borderBottomRightRadius",
itemBorderSize:"borderSize",itemBorderLeftSize:"borderLeftSize",itemBorderTopSize:"borderTopSize",itemBorderRightSize:"borderRightSize",itemBorderBottomSize:"borderBottomSize",itemBorderColor:"borderColor",itemBorderLeftColor:"borderLeftColor",itemBorderTopColor:"borderTopColor",itemBorderRightColor:"borderRightColor",itemBorderBottomColor:"borderBottomColor",itemLabelFontColor:"labelFontColor",itemLabelFontSize:"labelFontSize",itemLabelFontStyle:"labelFontStyle",itemLabelFontWeight:"labelFontWeight",
itemLabelTextDecoration:"labelTextDecoration",itemLabelTextShadowColor:"labelTextShadowColor",itemLabelTextShadowHorizontalLength:"labelTextShadowHorizontalLength",itemLabelTextShadowVerticalLength:"labelTextShadowVerticalLength",itemLabelTextShadowBlurRadius:"labelTextShadowBlurRadius",itemLabelTextShadowOpacity:"labelTextShadowOpacity",itemOpacity:"opacity",itemPaddingLeft:"paddingLeft",itemPaddingTop:"paddingTop",itemPaddingRight:"paddingRight",itemPaddingBottom:"paddingBottom",itemShadow:"shadow",
itemThumbnailOpacity:"thumbnailOpacity",itemThumbnailBorderSize:"thumbnailBorderSize",itemThumbnailBorderColor:"thumbnailBorderColor",itemThumbnailShadow:"thumbnailShadow",itemThumbnailShadowHorizontalLength:"thumbnailShadowHorizontalLength",itemThumbnailShadowVerticalLength:"thumbnailShadowVerticalLength",itemThumbnailShadowBlurRadius:"thumbnailShadowBlurRadius",itemThumbnailShadowSpread:"thumbnailShadowSpread",itemThumbnailShadowColor:"thumbnailShadowColor",itemThumbnailShadowOpacity:"thumbnailShadowOpacity",
rollOverItemBackgroundOpacity:"rollOverBackgroundOpacity",rollOverItemBackgroundColor:"rollOverBackgroundColor",rollOverItemBackgroundColorRatios:"rollOverBackgroundColorRatios",rollOverItemBackgroundColorDirection:"rollOverBackgroundColorDirection",rollOverItemBorderRadius:"rollOverBorderRadius",rollOverItemBorderTopRadius:"rollOverBorderTopRadius",rollOverItemBorderBottomRadius:"rollOverBorderBottomRadius",rollOverItemBorderLeftRadius:"rollOverBorderLeftRadius",rollOverItemBorderRightRadius:"rollOverBorderRightRadius",
rollOverItemBorderTopLeftRadius:"rollOverBorderTopLeftRadius",rollOverItemBorderTopRightRadius:"rollOverBorderTopRightRadius",rollOverItemBorderBottomLeftRadius:"rollOverBorderBottomLeftRadius",rollOverItemBorderBottomRightRadius:"rollOverBorderBottomRightRadius",rollOverItemBorderSize:"rollOverBorderSize",rollOverItemBorderLeftSize:"rollOverBorderLeftSize",rollOverItemBorderTopSize:"rollOverBorderTopSize",rollOverItemBorderRightSize:"rollOverBorderRightSize",rollOverItemBorderBottomSize:"rollOverBorderBottomSize",
rollOverItemBorderColor:"rollOverBorderColor",rollOverItemBorderLeftColor:"rollOverBorderLeftColor",rollOverItemBorderTopColor:"rollOverBorderTopColor",rollOverItemBorderRightColor:"rollOverBorderRightColor",rollOverItemBorderBottomColor:"rollOverBorderBottomColor",rollOverItemLabelFontColor:"rollOverLabelFontColor",rollOverItemLabelFontSize:"rollOverLabelFontSize",rollOverItemLabelFontStyle:"rollOverLabelFontStyle",rollOverItemLabelFontWeight:"rollOverLabelFontWeight",rollOverItemLabelTextDecoration:"rollOverLabelTextDecoration",
rollOverItemLabelTextShadowColor:"rollOverLabelTextShadowColor",rollOverItemLabelTextShadowHorizontalLength:"rollOverLabelTextShadowHorizontalLength",rollOverItemLabelTextShadowVerticalLength:"rollOverLabelTextShadowVerticalLength",rollOverItemLabelTextShadowBlurRadius:"rollOverLabelTextShadowBlurRadius",rollOverItemLabelTextShadowOpacity:"rollOverLabelTextShadowOpacity",rollOverItemOpacity:"rollOverOpacity",rollOverItemPaddingLeft:"rollOverPaddingLeft",rollOverItemPaddingTop:"rollOverPaddingTop",
rollOverItemPaddingRight:"rollOverPaddingRight",rollOverItemPaddingBottom:"rollOverPaddingBottom",rollOverItemShadow:"rollOverShadow",rollOverItemThumbnailOpacity:"rollOverThumbnailOpacity",rollOverItemThumbnailBorderSize:"rollOverThumbnailBorderSize",rollOverItemThumbnailBorderColor:"rollOverThumbnailBorderColor",rollOverItemThumbnailShadow:"rollOverThumbnailShadow",rollOverItemThumbnailShadowHorizontalLength:"rollOverThumbnailShadowHorizontalLength",rollOverItemThumbnailShadowVerticalLength:"rollOverThumbnailShadowVerticalLength",
rollOverItemThumbnailShadowBlurRadius:"rollOverThumbnailShadowBlurRadius",rollOverItemThumbnailShadowSpread:"rollOverThumbnailShadowSpread",rollOverItemThumbnailShadowColor:"rollOverThumbnailShadowColor",rollOverItemThumbnailShadowOpacity:"rollOverThumbnailShadowOpacity",selectedItemBackgroundOpacity:"selectedBackgroundOpacity",selectedItemBackgroundColor:"selectedBackgroundColor",selectedItemBackgroundColorRatios:"selectedBackgroundColorRatios",selectedItemBackgroundColorDirection:"selectedBackgroundColorDirection",
selectedItemBorderRadius:"selectedBorderRadius",selectedItemBorderTopRadius:"selectedBorderTopRadius",selectedItemBorderBottomRadius:"selectedBorderBottomRadius",selectedItemBorderLeftRadius:"selectedBorderLeftRadius",selectedItemBorderRightRadius:"selectedBorderRightRadius",selectedItemBorderTopLeftRadius:"selectedBorderTopLeftRadius",selectedItemBorderTopRightRadius:"selectedBorderTopRightRadius",selectedItemBorderBottomLeftRadius:"selectedBorderBottomLeftRadius",selectedItemBorderBottomRightRadius:"selectedBorderBottomRightRadius",
selectedItemBorderSize:"selectedBorderSize",selectedItemBorderLeftSize:"selectedBorderLeftSize",selectedItemBorderTopSize:"selectedBorderTopSize",selectedItemBorderRightSize:"selectedBorderRightSize",selectedItemBorderBottomSize:"selectedBorderBottomSize",selectedItemBorderColor:"selectedBorderColor",selectedItemBorderLeftColor:"selectedBorderLeftColor",selectedItemBorderTopColor:"selectedBorderTopColor",selectedItemBorderRightColor:"selectedBorderRightColor",selectedItemBorderBottomColor:"selectedBorderBottomColor",
selectedItemLabelFontColor:"selectedLabelFontColor",selectedItemLabelFontSize:"selectedLabelFontSize",selectedItemLabelFontStyle:"selectedLabelFontStyle",selectedItemLabelFontWeight:"selectedLabelFontWeight",selectedItemLabelTextDecoration:"selectedLabelTextDecoration",selectedItemLabelTextShadowColor:"selectedLabelTextShadowColor",selectedItemLabelTextShadowHorizontalLength:"selectedLabelTextShadowHorizontalLength",selectedItemLabelTextShadowVerticalLength:"selectedLabelTextShadowVerticalLength",
selectedItemLabelTextShadowBlurRadius:"selectedLabelTextShadowBlurRadius",selectedItemLabelTextShadowOpacity:"selectedLabelTextShadowOpacity",selectedItemOpacity:"selectedOpacity",selectedItemPaddingLeft:"selectedPaddingLeft",selectedItemPaddingTop:"selectedPaddingTop",selectedItemPaddingRight:"selectedPaddingRight",selectedItemPaddingBottom:"selectedPaddingBottom",selectedItemShadow:"selectedShadow",selectedItemThumbnailOpacity:"selectedThumbnailOpacity",selectedItemThumbnailBorderSize:"selectedThumbnailBorderSize",
selectedItemThumbnailBorderColor:"selectedThumbnailBorderColor",selectedItemThumbnailShadow:"selectedThumbnailShadow",selectedItemThumbnailShadowHorizontalLength:"selectedThumbnailShadowHorizontalLength",selectedItemThumbnailShadowVerticalLength:"selectedThumbnailShadowVerticalLength",selectedItemThumbnailShadowBlurRadius:"selectedThumbnailShadowBlurRadius",selectedItemThumbnailShadowSpread:"selectedThumbnailShadowSpread",selectedItemThumbnailShadowColor:"selectedThumbnailShadowColor",selectedItemThumbnailShadowOpacity:"selectedThumbnailShadowOpacity",
tabIndex:"tabIndex",toolTipBackgroundColor:"toolTipBackgroundColor",toolTipBackgroundOpacity:"toolTipBackgroundOpacity",toolTipBorderRadius:"toolTipBorderRadius",toolTipBorderColor:"toolTipBorderColor",toolTipBorderSize:"toolTipBorderSize",toolTipDisplayTime:"toolTipDisplayTime",toolTipFontFamily:"toolTipFontFamily",toolTipFontSize:"toolTipFontSize",toolTipFontColor:"toolTipFontColor",toolTipFontWeight:"toolTipFontWeight",toolTipFontStyle:"toolTipFontStyle",toolTipPaddingBottom:"toolTipPaddingBottom",
toolTipPaddingLeft:"toolTipPaddingLeft",toolTipPaddingTop:"toolTipPaddingTop",toolTipPaddingRight:"toolTipPaddingRight",toolTipShadowBlurRadius:"toolTipShadowBlurRadius",toolTipShadowColor:"toolTipShadowColor",toolTipShadowHorizontalLength:"toolTipShadowHorizontalLength",toolTipShadowOpacity:"toolTipShadowOpacity",toolTipShadowSpread:"toolTipShadowSpread",toolTipShadowVerticalLength:"toolTipShadowVerticalLength",toolTipOpacity:"toolTipOpacity",toolTipTextShadowBlurRadius:"toolTipTextShadowBlurRadius",
toolTipTextShadowColor:"toolTipTextShadowColor",toolTipTextShadowHorizontalLength:"toolTipTextShadowHorizontalLength",toolTipTextShadowOpacity:"toolTipTextShadowOpacity",toolTipTextShadowVerticalLength:"toolTipTextShadowVerticalLength"};n.kN=Object.keys(n.ZC);n.lN=Object.keys(n.$C);return n});
define("hR","require py M ol kk ep bW".split(" "),function(a){var e=a("py"),l=a("M"),m=a("ol"),k=a("kk"),c=a("ep"),h=a("bW");a=m.define("ThumbnailList",l,function(){l.call(this);this.Dd=null;this.Fq=!1;this.DN=new k(this,"buttonScrollDown",c.Me);this.DN.bind(e.ma,this.SHa,this);this.EN=new k(this,"buttonScrollLeft",c.Me);this.EN.bind(e.ma,this.scrollLeft,this);this.FN=new k(this,"buttonScrollRight",c.Me);this.FN.bind(e.ma,this.THa,this);this.GN=new k(this,"buttonScrollUp",c.Me);this.GN.bind(e.ma,
this.UHa,this);this.bind(e.ba,this.gXa,this)});a.prototype.dj=function(){l.prototype.dj.call(this);this.vF()};a.prototype.Ix=function(){l.prototype.Ix.call(this);this.vF()};a.prototype.vF=function(){this.DN.set("visible",!this.Fq||this.LW());this.GN.set("visible",!this.Fq||this.OW());this.EN.set("visible",!this.Fq||this.MW());this.FN.set("visible",!this.Fq||this.NW())};a.prototype.set=function(g,b){if("itemMode"==g)switch(b){case "thumbnail-only":this.set("itemLabelFunction",this.Bw);this.set("itemThumbnailUrlFunction",
this.XO);this.set("itemTooltipFunction",this.jE);this.set("itemSourceProperties",["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"]);break;case "label-only":this.set("itemLabelFunction",this.jE);this.set("itemThumbnailUrlFunction",this.Bw);this.set("itemTooltipFunction",this.Bw);this.set("itemSourceProperties",["label","media.label"]);break;default:this.set("itemLabelFunction",this.jE),this.set("itemThumbnailUrlFunction",this.XO),this.set("itemTooltipFunction",this.Bw),this.set("itemSourceProperties",
["label","media.label","media.thumbnailUrl","media.flipImageHorizontally"])}else"playList"==g?(this.Dd&amp;&amp;this.Dd.unbind("change",this.Vw,this),(this.Dd=b)?(this.set("items",this.Dd.get("items")),this.Dd.bind("change",this.Vw,this)):this.set("items",[])):"hideScrollButtons"==g?(this.Fq=b,this.vF()):l.prototype.set.call(this,g,b)};a.prototype.get=function(g,b){switch(g){case "playList":return this.Dd;default:return l.prototype.get.call(this,g,b)}};a.prototype.Vw=function(){this.set("items",this.Dd.get("items"));
this.set("selectedIndex",this.Dd.get("selectedIndex"))};a.prototype.gXa=function(){this.Dd&amp;&amp;this.Dd.set("selectedIndex",this.get("selectedIndex"))};a.prototype.Bw=function(){};a.prototype.jE=function(g){return g.get("label")||g.get("media").get("label")};a.prototype.XO=function(g){g=g.get("media");var b=g.get("thumbnailUrl");g.get("flipImageHorizontally")&amp;&amp;(b=h.eBa(b));return b};return a});define("ce",["require","e","ol"],function(a){var e=a("e");return a("ol").define("UIComponent",e,function(){e.call(this)})});
define("iV",["require","ol","ez"],function(a){var e=a("ol"),l=a("ez");a=e.define("Video",l,function(){l.call(this);this.Aa=void 0});a.prototype.tu=function(){this.get("video");return[]};return a});define("hw",["require","ol","fo"],function(a){var e=a("ol"),l=a("fo");return e.define("VideoPanorama",l,function(){l.call(this)})});
define("kd",["require","mw","ol"],function(a){var e=a("mw");a=a("ol").define("Video360Resource",e,function(){e.call(this)});a.prototype.get=function(l,m){if(void 0===m)switch(l){case "gain":m=1}switch(l){case "levels":m=[this];break;case "subtitlesURL":case "gain":for(var k=e.prototype.get.call(this,l),c=this.get("levels"),h=0;c&amp;&amp;h&lt;c.length&amp;&amp;void 0===k;h++){var g=c[h];g!=this&amp;&amp;(k=g.get(l))}return void 0!==k?k:m}return e.prototype.get.call(this,l,m)};return a});
define("dL",["require","ol","mI","hw","kd"],function(a){var e=a("ol"),l=a("mI"),m=a("hw"),k=a("kd");a=e.define("Video360",m,function(){m.call(this);this.Oo=this.GK=this.zb=void 0});a.prototype.set=function(c,h){"video"==c?this.EOa(h):"videoStereo"==c?this.FOa(h):m.prototype.set.call(this,c,h)};a.prototype.get=function(c,h){return"video"==c?void 0!==this.zb?this.zb:h:"videoStereo"==c?void 0!==this.GK?this.GK:h:m.prototype.get.call(this,c,h)};a.prototype.EOa=function(c){this.zb!=c&amp;&amp;(this.zb=c,c=m.prototype.get.call(this,
"frames")||[],this.zb&amp;&amp;(0==c.length&amp;&amp;c.push(new l),c[0].set("sphere",this.pua(this.zb))),m.prototype.set.call(this,"frames",c.slice()))};a.prototype.FOa=function(c){this.GK!=c&amp;&amp;(this.GK=c,c=m.prototype.get.call(this,"frames")||[],this.GK&amp;&amp;(0==c.length&amp;&amp;c.push(new l),c[0].set("stereoSphere",this.pua(this.GK))),m.prototype.set.call(this,"frames",c.slice()))};a.prototype.pua=function(c){if(Array.isArray(c)){if(0==c.length)return;if(1==c.length&amp;&amp;e.Ja("Video360Resource",c[0]))return c[0];var h=[];c.forEach(function(g){h=
h.concat(g.get("levels")||[g])});c=new k;c.set("levels",h)}return c};return a});define("bV",["require","ol","pd"],function(a){var e=a("ol"),l=a("pd");return e.define("Video360Player",l,function(){l.call(this)})});
define("kB",["require","ol","dn","iL"],function(a){var e=a("ol"),l=a("dn"),m=a("iL");a=e.define("Video360PlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&amp;&amp;(k.bind(l.sh,this.Fn,this),k.set("video",this.get("media")),k.set("camera",this.get("camera")),k.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var k=this.get("player");k&amp;&amp;(k.unbind(l.sh,this.Fn,this),k.get("video")==this.get("media")&amp;&amp;k.set("video",
null));m.prototype.stop.call(this)};a.prototype.Fn=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.sh,this.Fn,this),this.get("player").bind(l.Vm,this.$q,this),this.jB())};a.prototype.$q=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.Vm,this.$q,this),this.stop(),this.end())};return a});define("pm",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("Video360ResourceLevel",e,function(){e.call(this)})});
define("gh",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("VideoCue",e,function(){e.call(this)})});
define("co","require mw py lu cI ol kQ".split(" "),function(a){var e=a("mw"),l=a("py"),m=a("lu"),k=a("cI"),c=a("ol"),h=a("kQ");a=c.define("VideoPanoramaOverlay",e,function(){e.call(this);this.sd=void 0});a.prototype.play=a.prototype.play=function(){this.set("state",m.PLAYING)};a.prototype.pause=a.prototype.pause=function(){this.set("state",m.Qb)};a.prototype.stop=a.prototype.stop=function(){this.set("state",m.V)};a.prototype.set=function(g,b){var d=!1;switch(g){case "state":var f=this.get("state")||
m.V;f==m.V&amp;&amp;b==m.PLAYING&amp;&amp;this.trigger(l.lo);f!=b&amp;&amp;this.trigger(new k(l.Ae,{oldState:f,state:b}));break;case "enabledInCardboard":this.set("enabledInVR",b);break;case "distance":case "hfov":case "opacity":case "pitch":case "rotationX":case "rotationY":case "roll":case "vfov":case "yaw":case "playbackPositions":this.sd=void 0,d=!0}e.prototype.set.call(this,g,b);d&amp;&amp;"playbackPositions"!=g&amp;&amp;this.trigger(l.G("playbackPositions"))};a.prototype.get=function(g,b){switch(g){case "playbackPositions":return void 0===
this.sd&amp;&amp;(this.sd=h.Kia(this)),this.sd}return e.prototype.get.call(this,g,b)};return a});define("is",["require","ol","pT"],function(a){var e=a("ol"),l=a("pT");return e.define("VideoPlaneModel3DObject",l,function(){l.call(this)})});
define("dz","require es lS py cI gE lu".split(" "),function(a){function e(b,d,f){this.time=b;this.cue=d;this.action=f}var l=a("es"),m=a("lS"),k=a("py"),c=a("cI"),h=a("gE"),g=a("lu");a=m.extend(h,function(b){h.call(this);this.j=b;this.Tc=null;this.Uk=!1;this.lj=[];this.hn=void 0;this.Ne=[]});a.prototype.clear=function(){this.j=null;this.uD();this.lj=[];this.Ne=[]};a.prototype.start=function(b){this.end();this.Fea(b);this.x9();this.kfa();this.AF()};a.prototype.Fea=function(b){this.uD();this.Tc=b;this.Tc.bind(k.G("currentTime"),
this.AF,this,!0);this.Tc.bind(k.G("state"),this.kfa,this,!0);this.Tc.bind(k.Gb,this.bS,this,!0)};a.prototype.uD=function(){this.Tc&amp;&amp;(this.Tc.unbind(k.G("currentTime"),this.AF,this),this.Tc.unbind(k.G("state"),this.kfa,this),this.Tc.unbind(k.Gb,this.bS,this),this.Tc=null)};a.prototype.end=function(){this.HN();this.uD();this.Uk=!1};a.prototype.kfa=function(b){b=b!=g.V;this.Uk!=b&amp;&amp;((this.Uk=b)?this.I0():this.HN())};a.prototype.bS=function(){this.AF()};a.prototype.I0=function(){this.hn=this.tI=0};a.prototype.AF=
function(){if(this.Tc&amp;&amp;this.Uk){var b=this.Ne.slice(),d=this.Tc.get("currentTime",0),f=d-this.tI;0&gt;f&amp;&amp;(this.Ne=[],this.hn=0);f=0&lt;=f&amp;&amp;2&gt;f;this.tI=d;var n;for(n=this.hn;n&lt;this.lj.length&amp;&amp;!(this.lj[n].time&gt;d);n++);for(;this.hn&lt;n;this.hn++)d=this.lj[this.hn],"start"==d.action?(this.Ne=l(this.Ne).union([d.cue]),f&amp;&amp;d.cue.trigger(new c(k.Mp))):(this.Ne=l(this.Ne).difference([d.cue]),f&amp;&amp;d.cue.trigger(new c(k.Gb)));b.length==this.Ne.length&amp;&amp;l(b).intersection(this.Ne).length==this.Ne.length||this.KR()}};a.prototype.HN=
function(){0&lt;this.Ne.length&amp;&amp;(this.Ne=[],this.KR())};a.prototype.KR=function(){this.Tc.trigger(new c(k.uk,{activeCues:this.Ne.slice()}))};a.prototype.x9=function(){this.lj=[];var b=this.Tc.get("cues",[]);l(b).each(function(d){this.lj.push(new e(d.get("startTime",0),d,"start"));this.lj.push(new e(d.get("endTime",Number.POSITIVE_INFINITY),d,"end"))},this);this.lj.sort(function(d,f){return d.time==f.time?d.action==f.start?0:"start"==d.action?-1:1:d.time-f.time})};return a});
define("oo","require lS bn cI gE py mK".split(" "),function(a){var e=a("lS"),l=a("bn"),m=a("cI"),k=a("gE");a("py");a("mK");var c=e.extend(k,function(h,g){k.call(this);this.M=h;this.j=g;this.KE=[];this.ua=c.Yh;this.Di=null;this.Y9=void 0;this.nj=null;this.um=this.hh=void 0});c.prototype.display=function(h,g){this.d9();if(this.nj!=h||this.ua!=c.Yh)this.KE.push({video:h,startTime:g}),this.Mva()};c.prototype.hide=function(){this.d9();this.KE.push({video:null,startTime:void 0});this.Mva()};c.prototype.clear=
function(){this.ua=c.Yh;this.d9();this.iYa();this.txa();this.j=null};c.prototype.Ug=function(h){this.ua==c.Yh||this.ua!=c.Il&amp;&amp;this.ua!=c.Rs&amp;&amp;this.ua!=c.Ev||(this.um+=h,h=Math.min(1,this.um/this.hh),this.ua==c.Il?(this.Di.set("opacity",h),this.M.Pd().lM(h)):this.ua==c.Ev?(this.Di.set("opacity",Math.min(1,2*h)),this.nj.set("opacity",Math.min(1,2*(1-h)))):this.M.Pd().MG(h),this.um&lt;this.hh?this.Sa():this.Vz())};c.prototype.Mva=function(){0&lt;this.KE.length&amp;&amp;this.ua==c.Yh&amp;&amp;this.oq()};c.prototype.oq=function(){this.nj&amp;&amp;
this.trigger(new m(c.EC,{video:this.nj}));if("fade_out_fade_in"==this.M.get("transitionMode","blending")&amp;&amp;this.nj)this.xz();else{var h=this.KE.shift();this.Di=h.video;this.Y9=h.startTime;this.Di?this.Di.get("chromaColor")&amp;&amp;this.nj?this.G8():this.xN():this.nj&amp;&amp;this.xz()}};c.prototype.xN=function(){this.Uoa();this.um=0;this.hh=this.M.get("transitionDuration");this.ua=c.Il;this.M.Pd().wM();this.j.rb(!0);this.Sa()};c.prototype.G8=function(){this.Uoa();this.um=0;this.hh=2*this.M.get("transitionDuration");
this.ua=c.Ev;this.Sa()};c.prototype.xz=function(){this.Di=null;this.um=0;this.hh=this.M.get("transitionDuration");this.ua=c.Rs;this.M.Pd().YG();this.nj.set("opacity",0);this.j.rb(!1);this.Sa()};c.prototype.Vz=function(){this.txa();this.nj=this.Di;this.Di=null;this.ua==c.Rs?this.M.Pd().TF():this.ua==c.Il&amp;&amp;this.M.Pd().dL();this.ua=c.Yh;this.nj?this.trigger(new m(c.FC,{video:this.nj})):0==this.KE.length&amp;&amp;this.trigger(new m(c.Dma));0!=this.KE.length&amp;&amp;this.oq()};c.prototype.Sa=function(){l.requestFrame(this.Ug,
this)};c.prototype.d9=function(){this.KE=[]};c.prototype.Uoa=function(){this.Di&amp;&amp;(this.Di.set("opacity",0),this.Di.set("zIndex",1),this.nj&amp;&amp;this.nj.set("zIndex",0),this.Di.set("currentTime",this.Y9||0),this.j.n3a(this.Di),this.trigger(new m(c.V6,{video:this.Di,startTime:this.Y9})))};c.prototype.txa=function(){this.nj&amp;&amp;(this.j.DHa(this.nj),this.trigger(new m(c.FV,{video:this.nj})),this.nj=null)};c.prototype.iYa=function(){this.Di&amp;&amp;(this.j.DHa(this.Di),this.trigger(new m(c.FV,{video:this.Di})),this.Di=
null)};c.Yh="stopped";c.Il="blending";c.Ev="double blending";c.Rs="disolving";c.Ob="request frame";c.V6="video added";c.FV="video removed";c.FC="video show";c.EC="video hide";c.Dma="all pending videos hidden";return c});
define("jO","require lS py cI gE lu".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("cI"),k=a("gE"),c=a("lu"),h=e.extend(k,function(){k.call(this);this.Tc=null;this.bf=!1;this.L9=c.V});h.prototype.start=function(g){this.end();this.Fea(g)};h.prototype.end=function(){this.stop();this.uD()};h.prototype.clear=function(){this.uD()};h.prototype.play=function(){this.Tc&amp;&amp;this.Tc.set("state",c.PLAYING)};h.prototype.pause=function(){this.Tc&amp;&amp;this.Tc.set("state",c.Qb)};h.prototype.Ula=function(){this.Tc&amp;&amp;
(this.Tc.get("state")==c.PLAYING?this.pause():this.play())};h.prototype.stop=function(){this.Tc&amp;&amp;this.Tc.set("state",c.V)};h.prototype.Tf=function(g){this.bf=g;this.Tc&amp;&amp;this.Tc.set("mute",this.bf)};h.prototype.setTime=function(g){this.Tc&amp;&amp;this.Tc.set("currentTime",g)};h.prototype.getTime=function(){if(this.Tc)return this.Tc.get("currentTime")};h.prototype.Fea=function(g){this.uD();this.Tc=g;this.Tc.set("mute",this.bf);this.Tc.bind(l.G("state"),this.mK,this,!0);this.Tc.bind(l.G("currentTime"),this.BF,
this,!0);this.Tc.bind(l.Gb,this.bS,this,!0)};h.prototype.uD=function(){this.Tc&amp;&amp;(this.Tc.unbind(l.G("state"),this.mK,this),this.Tc.unbind(l.G("currentTime"),this.BF,this),this.Tc.unbind(l.Gb,this.bS,this),this.Tc=null)};h.prototype.BF=function(){this.trigger(new m(h.GC,{video:this.Tc,time:this.Tc.get("currentTime"),duration:this.Tc.get("duration")}))};h.prototype.bS=function(){this.trigger(new m(h.VM,{video:this.Tc}))};h.prototype.mK=function(){var g=this.Tc.get("state");this.L9!=g&amp;&amp;(this.L9=g,this.trigger(new m(h.Sc,
{state:this.L9})))};h.Sc="playback state change";h.VM="video end";h.GC="video time change";return h});
define("oI","require lS lu cI gE dz oo jO".split(" "),function(a){var e=a("lS"),l=a("lu"),m=a("cI"),k=a("gE"),c=a("dz"),h=a("oo"),g=a("jO"),b=e.extend(k,function(d,f){k.call(this);this.M=d;this.j=f;this.j.set("visible",!1);this.Oa=new h(this.M,this.j);this.Ma=new g(this.j);this.yq=new c(this.j);this.Oa.bind(h.EC,this.$q,this,!0);this.Oa.bind(h.FC,this.Fn,this,!0);this.Oa.bind(h.V6,this.uwa,this,!0);this.Oa.bind(h.FV,this.vwa,this,!0);this.Oa.bind(h.Dma,this.cWa,this,!0);this.Ma.bind(g.Sc,this.kf,
this,!0);this.Ma.bind(g.VM,this.CA,this,!0);this.Ma.bind(g.GC,this.kQ,this,!0)});b.prototype.clear=function(){this.Oa.clear();this.Ma.clear();this.yq.clear();this.Oa.unbind(h.EC,this.$q,this);this.Oa.unbind(h.FC,this.Fn,this);this.Oa.unbind(h.V6,this.uwa,this);this.Oa.unbind(h.FV,this.vwa,this);this.Ma.unbind(g.Sc,this.kf,this);this.Ma.unbind(g.VM,this.CA,this);this.Ma.unbind(g.GC,this.kQ,this);this.M=this.j=this.yq=this.Ma=this.Oa=null};b.prototype.g5=function(d,f){this.j.set("visible",!0);this.Oa.display(d,
f)};b.prototype.Ay=function(){this.Oa.hide();this.Ma.end();this.yq.end()};b.prototype.play=function(){this.Ma.play()};b.prototype.stop=function(){this.Ma.stop()};b.prototype.pause=function(){this.Ma.pause()};b.prototype.Tf=function(d){this.Ma.Tf(d)};b.prototype.setTime=function(d){this.Ma.setTime(d)};b.prototype.getTime=function(){return this.Ma.getTime()};b.prototype.Ula=function(){this.Ma.Ula()};b.prototype.uwa=function(d){var f=d.data.video;this.Ma.start(f,d.data.startTime);this.yq.start(f)};b.prototype.vwa=
function(){};b.prototype.Fn=function(d){d=d.data.video;d.get("autoplay")&amp;&amp;d.get("state")!=l.PLAYING&amp;&amp;d.get("state")!=l.Qb&amp;&amp;d.set("state",l.PLAYING);this.trigger(new m(b.FC,{video:d}))};b.prototype.$q=function(d){this.trigger(new m(b.EC,{video:d.data.video}))};b.prototype.cWa=function(){this.j.set("visible",!1)};b.prototype.CA=function(d){this.trigger(new m(b.VM,{video:d.data.video}))};b.prototype.kQ=function(d){this.trigger(new m(b.GC,{video:d.data.video,time:d.data.time,duration:d.data.duration}))};
b.prototype.kf=function(d){this.trigger(new m(b.Sc,{state:d.data.state}))};b.FC="videoShow";b.EC="videoHide";b.VM="videoEnd";b.GC="videoTimeChange";b.Sc="playbackStateChange";return b});
define("pi","require lS py bh e ed".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("bh"),k=a("e"),c=a("ed");a=e.extend(k,function(h,g,b){k.call(this);this.Vd=h;this.M=g;this.ga=b;this.set("toolTipDisabled",!0);this.set("cursor",m.kv);this.bind(l.tc,this.Ic,this,!0);this.JJ=new c.Ana;this.JJ.cla(c.Ana.a7);this.JJ.Ye(this.w_=!1);[this.JJ.gd()].forEach(function(d,f){this.Yb().append(d);d.css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden","z-index":f})}.bind(this))});a.prototype.fla=
function(h,g){this.w_!=h&amp;&amp;(this.w_=h,this.JJ.eIa(g),this.JJ.Ye(h))};a.prototype.Ic=function(){this.w0=!0;this.JJ.setSize(this.Za(),this.Cb())};return a});
define("mQ","require lS py bh d oR fT gF pi".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("bh"),k=a("d"),c=a("oR"),h=a("fT"),g=a("gF"),b=a("pi");a=e.extend(c,function(d,f,n){c.call(this);this.Vd=d;this.M=f;this.ga=n;this.Re("Renderer");this.set("toolTipDisabled",!0);this.set("cursor",m.kv);this.set("layout",k.mV);this.W=!0;this.oc=this.Va=this.zd=null;this.F1=[];this.cS=[];this.bind(l.tc,this.Ic,this,!0);this.RR()});a.prototype.Hb=function(){c.prototype.Hb.call(this);null==this.zd&amp;&amp;(this.zd=
new g(this.Vd,this.M,!1),this.zd.ra({left:0,top:0,right:0,bottom:0}),this.Ya(this.zd),this.zd.T4(this.ga.get("useVideoFrameRate")?2:void 0),this.WQa(),this.pQa(),this.F1.forEach(function(d){this.yqa(d)}.bind(this)));null==this.oc&amp;&amp;(this.oc=new b(this.Vd,this.M,this.ga),this.oc.ra({left:0,top:0,right:0,bottom:0}),this.Ya(this.oc),this.RR())};a.prototype.n3a=function(d){this.F1.push(d);this.zd&amp;&amp;this.yqa(d)};a.prototype.rb=function(d){this.W!=d&amp;&amp;(this.W=d,this.Va&amp;&amp;(this.Va.J(h.Scene).enabled=d))};a.prototype.WQa=
function(){this.Va=this.zd.Mc("Scene");var d=this.Va.I(h.Scene);d.backgroundColor="transparent";d.outputColorSpace="srgb";d.enabled=this.W;this.zd.hBa(this.Va)};a.prototype.pQa=function(){this.Kb=this.zd.Mc("Camera");var d=this.Kb.I(h.OrthographicCamera);d.width=this.Bf();d.height=this.Af();this.Kb.I(h.lb).F=this.Va;this.Va.J(h.Scene).La=this.Kb};a.prototype.Ic=function(){if(this.Kb){var d=this.Kb.J(h.OrthographicCamera);d.width=this.Bf();d.height=this.Af()}};a.prototype.yqa=function(d){var f=this.zd.Mc("Video");
f.I(h.lb).F=this.Va;f.I(h.Mesh).properties=d;var n=f.I(h.pz);n.properties=d;n.La=this.Kb;n=f.I(h.po);n.properties=d;n.kma=d.get("video");n.N=d;this.cS.push(f);this.zd.T4(this.ga.get("useVideoFrameRate")&amp;&amp;45&gt;this.eUa(d)?2:void 0);this.RR()};a.prototype.DHa=function(d){d=this.F1.indexOf(d);0&gt;d||(this.F1.splice(d,1),this.zd&amp;&amp;this.nRa(this.cS[d]))};a.prototype.nRa=function(d){var f=this.cS.indexOf(d);0&gt;f||(this.cS.splice(f,1),this.zd.Gd(d),this.RR())};a.prototype.fla=function(d){this.w_=d;this.RR()};
a.prototype.RR=function(){this.oc&amp;&amp;this.oc.fla(this.w_&amp;&amp;0&lt;this.cS.length)};a.prototype.eUa=function(d){d=d.get("video");return(d&amp;&amp;d.get("levels")||[]).reduce(function(f,n){return Math.max(f,n.get("framerate"))},0)||30};return a});
define("lM","require lS py bs ol iY lu oI mQ ju".split(" "),function(a){var e=a("lS"),l=a("py"),m=a("bs"),k=a("ol"),c=a("iY"),h=a("lu"),g=a("oI"),b=a("mQ"),d=a("ju");a=k.define("VideoPlayer",c,function(){c.call(this,"video");this.BE=this.BE.bind(this);this.Aq=this.H0=this.BF=this.ri=!1;this.O=this.j=null;this.Xb=this.nf=0;this.un=!1;this.Jd=e.Ap(this.ih,this)});a.prototype.seek=function(f){this.aF(f)};a.prototype.play=function(){this.GE()};a.prototype.pause=function(){this.FE()};a.prototype.stop=
function(){this.AA()};a.prototype.restart=function(){this.zA()};a.prototype.set=function(f,n){if(this.get(f)!=n){switch(f){case "startTime":this.H0=!0;this.Jd();break;case "video":this.BF=!0;this.Jd();break;case "viewerArea":this.ri=!0;this.Jd();break;case "displayPlaybackBar":this.Aq=!0,this.Jd()}c.prototype.set.call(this,f,n)}};a.prototype.get=function(f,n){switch(f){case "currentTime":return this.O&amp;&amp;this.O.getTime()||0}return c.prototype.get.call(this,f,n)};a.prototype.Fp=function(f){this.un!==
f&amp;&amp;((this.un=f)?document.addEventListener("keydown",this.BE,!0):document.removeEventListener("keydown",this.BE,!0))};a.prototype.BE=function(f){d.tp()||(f.code==m.na.HH||f.code==m.na.yV)&amp;&amp;this.O&amp;&amp;this.O.Ula()};a.prototype.ih=function(){this.ri&amp;&amp;(this.ri=!1,this.aw(),this.get("viewerArea")&amp;&amp;this.Zv(),this.eR(this.get("viewerArea")),this.BF=!0);var f=!1;if(this.j&amp;&amp;(this.BF||this.H0)){var n=this.get("video"),q=this.get("startTime")||0;if(n&amp;&amp;!this.j.Db()){this.Jd();return}this.H0=this.BF=!1;this.Xb=this.nf=
0;f=!0;n?(this.get("viewerArea").Pd().tbb(),this.EG(),this.O.g5(n,q)):this.O.Ay()}this.Aq&amp;&amp;(this.Aq=!1,f=!0);f&amp;&amp;this.Jx()};a.prototype.oK=function(){this.set("video",null)};a.prototype.Zv=function(){var f=this.get("application"),n=this.get("viewerArea");this.j=new b(f,n,this);this.j.ra({left:0,top:0,bottom:0,right:0});n.Ya(this.j);n.bind(l.ma,this.zwa,this,!0);this.O=new g(n,this.j);this.O.bind(g.FC,this.Fn,this);this.O.bind(g.EC,this.$q,this);this.O.bind(g.GC,this.kQ,this,!0);this.O.bind(g.Sc,this.kf,
this);f.bind(l.G("mute"),this.UP,this);this.O.Tf(f.get("mute",!1));this.VA(!0)};a.prototype.aw=function(){if(this.j){this.O.unbind(g.FC,this.Fn,this);this.O.unbind(g.EC,this.$q,this);this.O.unbind(g.GC,this.kQ,this);this.O.unbind(g.Sc,this.kf,this);this.O.clear();this.get("application").unbind(l.G("mute"),this.UP,this);var f=this.j.getParent();f.removeChild(this.j);f.unbind(l.ma,this.zwa,this,!0);this.j=null;this.VA(!1)}};a.prototype.UP=function(){this.j&amp;&amp;this.O.Tf(this.get("application").get("mute",
!1))};a.prototype.kf=function(f){f=f.data.state;this.j&amp;&amp;this.j.fla(this.get("displayPlayOverlay")&amp;&amp;f!=h.PLAYING,.5&gt;this.nf);this.xd(f)};a.prototype.Fn=function(f){var n=this.get("viewerArea");(this.ee=n&amp;&amp;n.ee)&amp;&amp;this.ee.bind(l.ma,this.Awa,this,!0);this.xda=!1;this.oP(f.data.video)};a.prototype.$q=function(f){this.ee&amp;&amp;this.ee.unbind(l.ma,this.Awa,this,!0);this.ee=null;this.nP(f.data.video)};a.prototype.kQ=function(f){this.nf=f.data.time;this.Xb=f.data.duration;this.Jx()};a.prototype.zwa=function(){if(this.xda)this.xda=
!1;else switch(this.get("clickAction")){case "play_pause":this.get("state")!=h.PLAYING?this.O.play():this.O.pause()}};a.prototype.Awa=function(){this.xda=!0};a.prototype.uQ=function(f){this.aF(f.data.position)};a.prototype.Sk=function(){this.O.play()};a.prototype.bp=function(){this.O.stop()};a.prototype.br=function(){this.O.pause()};a.prototype.aF=function(f){this.O&amp;&amp;this.O.setTime(f)};a.prototype.Jx=function(){if(this.j){var f=this.j.getParent();0&lt;this.Xb&amp;&amp;this.get("displayPlaybackBar")?f.ra({playbackBarPosition:this.nf,
playbackBarDuration:this.Xb,playbackBarVisible:!0}):f.set("playbackBarVisible",!1)}};return a});
define("lv",["require","ol","dn","iL"],function(a){var e=a("ol"),l=a("dn"),m=a("iL");a=e.define("VideoPlayListItem",m,function(){m.call(this)});a.prototype.start=function(){m.prototype.start.call(this);var k=this.get("player");k&amp;&amp;(k.bind(l.sh,this.Fn,this),k.set("video",this.get("media")),k.set("startTime",this.get("startTime")))};a.prototype.stop=function(){var k=this.get("player");k&amp;&amp;(k.unbind(l.sh,this.Fn,this),k.get("video")==this.get("media")&amp;&amp;k.set("video",null));m.prototype.stop.call(this)};
a.prototype.Fn=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.sh,this.Fn,this),this.get("player").bind(l.Vm,this.$q,this),this.jB())};a.prototype.$q=function(k){k.data.media==this.get("media")&amp;&amp;(this.get("player").unbind(l.Vm,this.$q,this),this.stop(),this.end())};return a});define("hX",["require","mw","ol"],function(a){var e=a("mw");return a("ol").define("VideoResourceLevel",e,function(){e.call(this)})});
define("eI",["require","mw","ol","mn","hX"],function(a){var e=a("mw"),l=a("ol"),m=a("mn"),k=a("hX");a=l.define("VideoResource",e,function(){e.call(this);this.vca=new k;this.vca.set("type","video/mp4");this.xca=new k;this.xca.set("type","video/ogg");this.$ga=new k;this.$ga.set("type","video/webm")});a.prototype.get=function(c,h){switch(c){case "levels":h=[];var g=this.get("mp4Url");g&amp;&amp;(this.vca.set("url",g),h.push(this.vca));if(g=this.get("oggUrl"))this.xca.set("url",g),h.push(this.xca);if(g=this.get("webmUrl"))this.$ga.set("url",
g),h.push(this.$ga);h.forEach(function(b){b.set("width",this.get("width"));b.set("height",this.get("height"))}.bind(this))}return e.prototype.get.call(this,c,h)};a.prototype.Zi=function(){var c=this.get("webmUrl"),h=this.get("oggUrl"),g=this.get("mp4Url");return g&amp;&amp;m.l3?g:c&amp;&amp;m.Uia?c:h&amp;&amp;m.Tia?h:g||c||h};return a});define("dH",["require","ol","fu"],function(a){var e=a("ol"),l=a("fu");return e.define("VignetteModel3DPostprocessing",l,function(){l.call(this)})});
define("dW","require jquery.mod lS py w mS e gW".split(" "),function(a){var e=a("jquery.mod"),l=a("lS"),m=a("py"),k=a("w"),c=a("mS"),h=a("e"),g=a("gW");a=l.extend(h,function(){h.call(this);this.Re("WebFrame");this.gP=this.ID=this.Hc=this.je=null;this.Nca=this.Nca.bind(this);this.yZ=this.yZ.bind(this);this.bind(m.jd,this.oXa,this,!0);this.bind(m.cd,this.nXa,this,!0)});a.prototype.yb=function(){h.prototype.yb.call(this);this.h("url");this.h("backgroundColor","#ffffff");this.h("insetBorder",!1);this.h("scrollEnabled",
!0);this.h("unloadWhenHidden",!0)};a.prototype.oXa=function(){this.fF("url")};a.prototype.nXa=function(){this.fF("url")};a.prototype.Hb=function(){h.prototype.Hb.call(this);this.je||(this.je=e("&lt;div&gt;&lt;/div&gt;"),this.je.css({position:"absolute",left:0,top:0,width:"100%",height:"100%"}),this.Yb().append(this.je));this.Hc||(this.Hc=e("&lt;iframe&gt;&lt;/iframe&gt;"),this.Hc.css({position:"absolute",left:0,top:0}),this.Hc.attr("allowfullscreen","true"),this.Hc.attr("allow","fullscreen; accelerometer; gyroscope; magnetometer; vr; autoplay; camera; microphone; display-capture; xr-spatial-tracking"),
this.je.append(this.Hc));this.ID||(this.ID=e("&lt;div&gt;&lt;/div&gt;"),this.ID.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":k.qb()?"5vmin":"20px",position:"absolute",top:"50%",left:"50%","text-align":"center",transform:"translate(-50%, -50%)",width:"90%"}),this.je.append(this.ID))};a.prototype.bb=function(){if(this.L("url")){var b=this.B("url");b&amp;&amp;this.hA?this.jya(b):(!b||this.get("unloadWhenHidden"))&amp;&amp;
this.jya("");this.S("url")}this.L("insetBorder")&amp;&amp;(this.B("insetBorder")?this.Hc.attr("frameborder","1"):this.Hc.attr("frameborder","0"),this.S("insetBorder"));this.L("scrollEnabled")&amp;&amp;(this.B("scrollEnabled")?(this.Hc.attr("scrolling","auto"),this.je.css({overflow:"auto","-webkit-overflow-scrolling":"touch"})):(this.Hc.attr("scrolling","no"),this.je.css({overflow:"hidden","-webkit-overflow-scrolling":"auto"})),this.S("scrollEnabled"));h.prototype.bb.call(this)};a.prototype.qh=function(){this.Hc&amp;&amp;
g.css(this.Hc.get(0),{width:this.sa+"px",height:this.wa+"px"});h.prototype.qh.call(this)};a.prototype.refresh=function(){this.B("url")&amp;&amp;this.hA&amp;&amp;(this.Taa(),this.Hz(),this.Ufa(),this.Hc.attr("src",""),setTimeout(function(){this.Uya();this.vpa();this.Hc.attr("src",this.B("url"))}.bind(this),30))};a.prototype.jya=function(b){this.Hc.attr("src")!=b&amp;&amp;(this.Taa(),b?(this.Uya(),this.vpa()):(this.Hz(),this.Ufa()),this.Hc.attr("src",b))};a.prototype.Nca=function(){this.gP=null;this.gVa()&amp;&amp;this.y_a()};a.prototype.yZ=
function(){this.Taa();this.Hz();this.Ufa()};a.prototype.vpa=function(){this.Hc.on("load",this.yZ)};a.prototype.Ufa=function(){this.Hc.off("load",this.yZ)};a.prototype.Hz=function(){this.gP&amp;&amp;(clearTimeout(this.gP),this.gP=null)};a.prototype.Uya=function(){this.Hz();this.gP=setTimeout(this.Nca.bind(this),3E3)};a.prototype.gVa=function(){if("https:"==window.location.protocol){var b=this.Hc.attr("src");if("https:"!=c.parse(b).protocol)return!0}return!1};a.prototype.y_a=function(){this.ID.text("A secure web page served over HTTPS can not display insecure content served over HTTP.");
this.ID.show()};a.prototype.Taa=function(){this.ID.hide()};return a});define("cx",["require","dW","ol"],function(a){var e=a("dW");a=a("ol").define("WebFrame",e,function(){e.call(this)});a.prototype.refresh=function(){e.prototype.refresh.call(this)};return a});define("mo",["require","es","lS","oR","d"],function(a){var e=a("es"),l=a("lS"),m=a("oR");a=a("d");var k=l.extend(m,function(){m.call(this)});k.Fc={layout:a.Gg};e.defaults(k.Fc,m.Fc);k.prototype.yb=function(){this.Bo(k.Fc)};return k});
define("ne","require es lS py cI nC d oR mo hO gt dE".split(" "),function(a){var e=a("es"),l=a("lS"),m=a("py"),k=a("cI"),c=a("nC"),h=a("d"),g=a("oR"),b=a("mo"),d=a("hO"),f=a("gt"),n=a("dE"),q=l.extend(d,function(){d.call(this);this.Re("Window");this.yz=this.nI=this.BR=this.Ul=null;this.L8=new g;this.LI=null;this.Maa=this.Laa=0;this.Xea=this.Jya=!1;this.aha=this.bha=void 0;this.wx=!1;for(var p in q.Bdb)this.fF(p);this.bind(m.tc,this.K2a,this);this.bind(m.WM,this.I2a,this);this.bind(m.cN,this.L2a,this);
this.bind(m.ma,this.H2a,this);this.z1=0;this.Qf=new g;this.Qf.ra({visible:!1,includeInLayout:!1,layout:"absolute",height:"100%",width:"100%",backgroundOpacity:0,contentOpaque:!1});this.Qf.bind(m.tc,this.MAa,this);this.Qf.bind(m.cN,this.B2a,this);this.Qf.bind(m.WM,this.A2a,this);this.Qf.bind(m.ma,this.z2a,this);this.Qf.Ya(this)});q.prototype.set=function(p,r){switch(p){case "maxWidth":this.bha=r;this.j1();break;case "maxHeight":this.aha=r;this.j1();break;case "children":this.L8.set(p,r);break;case "shadow":this.Jya=
r;this.HAa();break;default:d.prototype.set.call(this,p,r)}};q.prototype.show=function(p,r){this.wx=!0;this.j1(p);this.set("visible",!1);this.Qf.set("visible",!1);this.DOa();r&amp;&amp;this.O3a();r=p.get("children");p.set("children",r.concat([this.Qf]));l.defer(function(){this.Qf.set("visible",!0)}.bind(this))};q.prototype.DOa=function(){var p=this.B("modal"),r=this.B("veilShowEffect"),t=this.B("veilHideEffect");p&amp;&amp;r?this.Qf.set("showEffect",r):this.Qf.set("showEffect",null);p&amp;&amp;t?this.Qf.set("hideEffect",
t):this.Qf.set("hideEffect",null)};q.prototype.hide=function(){this.get("visible")&amp;&amp;this.trigger(m.cLa);this.z1=0;this.r0(!1);this.set("visible",!1);this.wx=!1};q.prototype.O3a=function(){this.set("centerX",0);this.set("centerY",0)};q.prototype.get=function(p,r){return"children"==p?this.L8.get(p,r):"showing"==p?this.wx:d.prototype.get.call(this,p,r)};q.uoa={headerBackgroundOpacity:"backgroundOpacity",headerBackgroundColor:"backgroundColor",headerBackgroundColorRatios:"backgroundColorRatios",headerBackgroundColorDirection:"backgroundColorDirection",
headerBorderSize:"borderSize",headerBorderLeftSize:"borderLeftSize",headerBorderTopSize:"borderTopSize",headerBorderRightSize:"borderRightSize",headerBorderBottomSize:"borderBottomSize",headerBorderColor:"borderColor",headerBorderLeftColor:"borderLeftColor",headerBorderTopColor:"borderTopColor",headerBorderRightColor:"borderRightColor",headerBorderBottomColor:"borderBottomColor",headerHeight:"height",headerPaddingLeft:"paddingLeft",headerPaddingTop:"paddingTop",headerPaddingRight:"paddingRight",headerPaddingBottom:"paddingBottom",
headerVerticalAlign:"verticalAlign"};q.toa=Object.keys(q.uoa);q.O7={borderRadius:"borderTopRadius",borderTopRadius:"borderTopRadius",borderLeftRadius:"borderTopLeftRadius",borderRightRadius:"borderTopRightRadius",borderTopLeftRadius:"borderTopLeftRadius",borderTopRightRadius:"borderTopRightRadius"};q.N7="borderLeftRadius borderRightRadius borderTopLeftRadius borderTopRightRadius borderTopRadius borderRadius".split(" ");q.Moa={title:"text",titleFontFamily:"fontFamily",titleFontSize:"fontSize",titleFontColor:"fontColor",
titleFontWeight:"fontWeight",titleFontStyle:"fontStyle",titleHorizontalAlign:"horizontalAlign",titlePaddingLeft:"paddingLeft",titlePaddingTop:"paddingTop",titlePaddingRight:"paddingRight",titlePaddingBottom:"paddingBottom",titleTextDecoration:"textDecoration",titleTextShadowColor:"textShadowColor",titleTextShadowHorizontalLength:"textShadowHorizontalLength",titleTextShadowVerticalLength:"textShadowVerticalLength",titleTextShadowBlurRadius:"textShadowBlurRadius",titleTextShadowOpacity:"textShadowOpacity"};
q.Loa=Object.keys(q.Moa);q.ooa={closeButtonBackgroundColor:"backgroundColor",closeButtonBackgroundColorDirection:"backgroundColorDirection",closeButtonBackgroundColorRatios:"backgroundColorRatios",closeButtonBackgroundOpacity:"backgroundOpacity",closeButtonBorderColor:"borderColor",closeButtonBorderRadius:"borderRadius",closeButtonBorderSize:"borderSize",closeButtonHeight:"height",closeButtonIconColor:"iconColor",closeButtonIconHeight:"iconHeight",closeButtonIconLineWidth:"iconLineWidth",closeButtonIconWidth:"iconWidth",
closeButtonOpacity:"opacity",closeButtonWidth:"width",closeButtonPaddingBottom:"paddingBottom",closeButtonPaddingLeft:"paddingLeft",closeButtonPaddingRight:"paddingRight",closeButtonPaddingTop:"paddingTop",closeButtonRollOverBackgroundColor:"rollOverBackgroundColor",closeButtonRollOverBackgroundColorDirection:"rollOverBackgroundColorDirection",closeButtonRollOverBackgroundColorRatios:"rollOverBackgroundColorRatios",closeButtonRollOverBackgroundOpacity:"rollOverBackgroundOpacity",closeButtonRollOverBorderColor:"rollOverBorderColor",
closeButtonRollOverBorderSize:"rollOverBorderSize",closeButtonRollOverIconColor:"rollOverIconColor",closeButtonRollOverIconLineWidth:"rollOverIconLineWidth",closeButtonRollOverOpacity:"rollOverOpacity",closeButtonPressedBackgroundColor:"pressedBackgroundColor",closeButtonPressedBackgroundColorDirection:"pressedBackgroundColorDirection",closeButtonPressedBackgroundColorRatios:"pressedBackgroundColorRatios",closeButtonPressedBackgroundOpacity:"pressedBackgroundOpacity",closeButtonPressedBorderColor:"pressedBorderColor",
closeButtonPressedBorderSize:"pressedBorderSize",closeButtonPressedIconColor:"pressedIconColor",closeButtonPressedIconLineWidth:"pressedIconLineWidth",closeButtonPressedOpacity:"pressedOpacity"};q.noa=Object.keys(q.ooa);q.qoa={footerBackgroundOpacity:"backgroundOpacity",footerBackgroundColor:"backgroundColor",footerBackgroundColorRatios:"backgroundColorRatios",footerBackgroundColorDirection:"backgroundColorDirection",footerBorderSize:"borderSize",footerBorderLeftSize:"borderLeftSize",footerBorderTopSize:"borderTopSize",
footerBorderRightSize:"borderRightSize",footerBorderBottomSize:"borderBottomSize",footerBorderColor:"borderColor",footerBorderLeftColor:"borderLeftColor",footerBorderTopColor:"borderTopColor",footerBorderRightColor:"borderRightColor",footerBorderBottomColor:"borderBottomColor",footerHeight:"height"};q.poa=Object.keys(q.qoa);q.soa={borderRadius:"borderBottomRadius",borderBottomRadius:"borderBottomRadius",borderLeftRadius:"borderBottomLeftRadius",borderRightRadius:"borderBottomRightRadius",borderBottomLeftRadius:"borderBottomLeftRadius",
borderBottomRightRadius:"borderBottomRightRadius"};q.roa="borderLeftRadius borderRightRadius borderBottomLeftRadius borderBottomRightRadius borderBottomRadius borderRadius".split(" ");q.koa={bodyBackgroundOpacity:"backgroundOpacity",bodyBackgroundColor:"backgroundColor",bodyBackgroundColorRatios:"backgroundColorRatios",bodyBackgroundColorDirection:"backgroundColorDirection",bodyBorderSize:"borderSize",bodyBorderLeftSize:"borderLeftSize",bodyBorderTopSize:"borderTopSize",bodyBorderRightSize:"borderRightSize",
bodyBorderBottomSize:"borderBottomSize",bodyBorderColor:"borderColor",bodyBorderLeftColor:"borderLeftColor",bodyBorderTopColor:"borderTopColor",bodyBorderRightColor:"borderRightColor",bodyBorderBottomColor:"borderBottomColor",bodyPaddingLeft:"paddingLeft",bodyPaddingTop:"paddingTop",bodyPaddingRight:"paddingRight",bodyPaddingBottom:"paddingBottom",overflow:"overflow",scrollBarColor:"scrollBarColor",scrollBarWidth:"scrollBarWidth",scrollBarMargin:"scrollBarMargin",scrollBarHorizontalMargin:"scrollBarHorizontalMargin",
scrollBarVerticalMargin:"scrollBarVerticalMargin",scrollBarOpacity:"scrollBarOpacity",gap:"gap"};q.joa=Object.keys(q.koa);q.loa={layout:"layout",horizontalAlign:"horizontalAlign",verticalAlign:"verticalAlign"};q.eNa=Object.keys(q.loa);q.Ooa={veilOpacity:"backgroundOpacity",veilColor:"backgroundColor",veilColorRatios:"backgroundColorRatios",veilColorDirection:"backgroundColorDirection"};q.Noa=Object.keys(q.Ooa);q.Fc=function(){var p={modal:!1,visible:!1,centerX:0,centerY:0,veilShowEffect:void 0,veilHideEffect:void 0};
e.defaults(p,g.Fc);for(var r=[].concat(q.toa,q.Loa,q.noa,q.joa,q.poa,q.Noa),t=0;t&lt;r.length;t++)p[r[t]]=void 0;return p}();q.prototype.yb=function(){this.Bo(q.Fc)};q.prototype.Hb=function(){d.prototype.Hb.call(this);null==this.Ul&amp;&amp;(this.Ul=new b,this.Ul.set("width","100%"),this.Ul.bind(m.hb,this.rUa,this),this.Ya(this.Ul));null==this.BR&amp;&amp;(this.BR=new n,this.BR.set("width","100%"),this.Ul.Ya(this.BR));null==this.nI&amp;&amp;(this.nI=new f,this.nI.ra({horizontalAlign:c.Ze,verticalAlign:c.se}),this.nI.bind(m.ma,
this.VPa,this),this.Ul.Ya(this.nI));null==this.yz&amp;&amp;(this.yz=this.L8,this.yz.ra({width:"100%",height:"100%"}),this.Ya(this.yz));null==this.LI&amp;&amp;(this.LI=new g,this.LI.set("width","100%"),this.Ya(this.LI))};q.prototype.z2a=function(){this.z1++;setTimeout(function(){0&lt;this.z1&amp;&amp;this.hide()}.bind(this),100)};q.prototype.H2a=function(){this.z1--};q.prototype.VPa=function(){this.hide()};q.prototype.rUa=function(p){this.Laa=p.pageX;this.Maa=p.pageY;this.Db().bind(m.Pb,this.XAa,this,!0);this.Db().bind(m.Eb,
this.YAa,this,!0)};q.prototype.XAa=function(p){this.set("centerX",this.get("centerX")+(p.pageX-this.Laa));this.set("centerY",this.get("centerY")+(p.pageY-this.Maa));this.Laa=p.pageX;this.Maa=p.pageY;this.GAa()};q.prototype.YAa=function(){this.Db().unbind(m.Pb,this.XAa,this);this.Db().unbind(m.Eb,this.YAa,this)};q.prototype.MAa=function(){this.j1()};q.prototype.B2a=function(){this.set("visible",!0)};q.prototype.A2a=function(){this.Qf.unbind(m.tc,this.MAa,this);var p=this.Qf.getParent();p&amp;&amp;p.removeChild(this.Qf);
this.trigger(new k(m.pH))};q.prototype.K2a=function(){this.GAa()};q.prototype.L2a=function(){this.r0(!0)};q.prototype.I2a=function(){this.Qf.set("visible",!1)};q.prototype.r0=function(p){this.Xea=p;this.HAa()};q.prototype.HAa=function(){d.prototype.set.call(this,"shadow",this.Xea&amp;&amp;this.Jya)};q.prototype.j1=function(p){p||(p=this.ta);void 0!==this.bha?d.prototype.set.call(this,"maxWidth",this.bha):p?d.prototype.set.call(this,"maxWidth",p.Za()):d.prototype.set.call(this,"maxWidth",void 0);void 0!==
this.aha?d.prototype.set.call(this,"maxHeight",this.aha):p?d.prototype.set.call(this,"maxHeight",p.Cb()):d.prototype.set.call(this,"maxHeight",void 0)};q.prototype.GAa=function(){var p=this.Qf.Za(),r=this.Za(),t=this.get("centerX");r=.5*p+t-.5*r;var u=this.Ul.Dm(),v=this.Ul.Za(),w=Math.min(v,30);p=p-u-w;u=-(u+v-w);r&lt;u?this.set("centerX",t+(u-r)):r&gt;p&amp;&amp;this.set("centerX",t-(r-p));p=this.Qf.Cb();r=this.Cb();t=this.get("centerY");r=.5*p+t-.5*r;u=this.Ul.nu();v=this.Ul.Cb();w=Math.min(v,5);p=p-u-w;u=-(u+
v-w);r&lt;u?this.set("centerY",t+(u-r)):r&gt;p&amp;&amp;this.set("centerY",t-(r-p))};q.prototype.bb=function(){this.uc(q.toa,q.uoa,[this.Ul],!0,!0);this.uc(q.N7,q.O7,[this.Ul],!0,!1);0===this.get("headerHeight")?this.uc(q.N7,q.O7,[this.yz],!0,!1):this.uc(q.N7,q.O7,[this.Ul],!0,!1);this.uc(q.Loa,q.Moa,[this.BR],!0,!0);this.uc(q.noa,q.ooa,[this.nI],!0,!0);this.uc(q.joa,q.koa,[this.yz],!0,!0);this.uc(q.eNa,q.loa,[this.yz],!0,!1);this.uc(q.poa,q.qoa,[this.LI],!0,!0);0===this.get("footerHeight")?this.uc(q.roa,q.soa,
[this.yz],!0,!1):this.uc(q.roa,q.soa,[this.LI],!0,!1);this.B("modal")?(this.uc(q.Noa,q.Ooa,[this.Qf],!0,!0),this.Qf.set("contentOpaque",!0)):(this.Qf.set("backgroundOpacity",0),this.Qf.set("contentOpaque",!1));this.ra({layout:h.Xh,horizontalAlign:c.Ze,verticalAlign:c.se});d.prototype.bb.call(this);this.Zl.f5(0)};return q});
define("et",["require","ne","ol"],function(a){var e=a("ne");a=a("ol").define("Window",e,function(){e.call(this)});a.prototype.show=a.prototype.show;a.prototype.hide=a.prototype.hide;return a});
define("nF","require jquery.mod es le py ix cI gE bn pa bL hi mK w lS".split(" "),function(a){function e(v){this.source=v;this.width=this.source.get("width");this.height=this.source.get("height");this.url=this.source.get("url");this.wL=this.source.get("grayscale");this.iy=new q(h.Bl)}var l=a("jquery.mod"),m=a("es"),k=a("le"),c=a("py"),h=a("ix"),g=a("cI"),b=a("gE"),d=a("bn"),f=a("pa"),n=a("bL"),q=a("hi"),p=a("mK"),r=a("w"),t=a("lS"),u=t.extend(b,function(){b.call(this);this.xZ=this.xZ.bind(this);this.Zg=
null;this.be=[];this.An=[];this.dc=this.Rb=this.Sd=this.Id=100;this.xf=1;this.Gz=this.Fz=.5;this.Rc=1;this.Rj=this.rj=null;this.o_=!1;this.B9={};this.sI={};this.sI.low={};this.sI.hight={};r.SK()==r.MM&amp;&amp;(this.sI.low.transform="translateZ(0)",this.sI.hight.transform="");this.W=!1;this.bi="inherit";this.xa=l("&lt;div/&gt;").css({position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden"});this.GO=null;this.jf=t.Ap(this.oa,this)});u.prototype.gd=function(){return this.xa};u.prototype.cC=function(v){this.Of!=
v&amp;&amp;(this.Of=v,this.A8(1),this.jf())};u.prototype.R4=function(v){this.bi!=v&amp;&amp;(this.bi=v,this.Rj&amp;&amp;this.Rj.css("cursor",this.bi),this.rj&amp;&amp;this.rj.css("cursor",this.bi))};u.prototype.G$a=function(v){this.be!=v&amp;&amp;(this.be&amp;&amp;k.ca(this.be,["levels.url"],this.xZ),(this.be=v)&amp;&amp;k.da(this.be,["levels.url"],this.xZ,!0))};u.prototype.xZ=function(){this.b9();this.Zg=null;this.rj&amp;&amp;(this.rj.detach(),this.rj=null);this.Rj&amp;&amp;(this.Rj.detach(),this.Rj=null);this.sg&amp;&amp;(this.sg=null);this.b9();this.o_=!1;m(this.An).each(function(w){w.iy.cancel();
w.iy.unbind(c.ea,this.Cta,this)},this);var v=(this.be&amp;&amp;this.be.get("levels")||[]).filter(function(w){return w.get("url")});this.An=m(v).map(function(w){w=new e(w);w.iy.bind(c.ea,this.Cta,this);return w},this);(v=this.pTa())?(this.Rb=v.width,this.dc=v.height):this.dc=this.Rb=100;this.Gz=this.Fz=.5;this.A8(1);this.jf()};u.prototype.KG=function(v,w){if(this.Id!=v||this.Sd!=w)this.Id=v,this.Sd=w,this.jf()};u.prototype.n$a=function(v,w){if(this.Kqa!=v||this.Jqa!=w)this.Kqa=v,this.Jqa=w,this.jf()};u.prototype.rb=
function(v){this.W!=v&amp;&amp;(this.W=v,this.jf())};u.prototype.move=function(v,w){var x=this.xf*this.Rc;this.Fz+=v/(this.Rb*x);this.Gz+=w/(this.dc*x);this.S_()};u.prototype.by=function(){return this.Rc};u.prototype.setScale=function(v){this.A8(Math.max(1,Math.min(1/this.xf,v)));this.Zg&amp;&amp;this.Zg.width&lt;this.Rc*this.xf*this.Rb&amp;&amp;this.Zg.width&lt;this.Rb?this.oa():this.S_()};u.prototype.OEa=function(v){if(!this.rj)return!1;var w=this.rj.offset(),x=v.pageX-w.left;v=v.pageY-w.top;return 0&lt;=x&amp;&amp;0&lt;=v&amp;&amp;x&lt;this.rj.width()&amp;&amp;
v&lt;this.rj.height()};u.prototype.oa=function(){if(this.W){this.j2a();var v=this.yTa();v&amp;&amp;v.iy.Lh()?(v!=this.Zg&amp;&amp;(this.Zg||(this.jf(),this.o_=!0),this.lRa(v),this.Zg=v),this.oya(null)):this.oya(v);this.S_()}};u.prototype.j2a=function(){switch(this.Of){case p.Vp:var v=this.Id/this.Rb;break;case p.xk:v=this.Sd/this.dc;break;case p.As:v=this.Rb*this.Sd&gt;this.dc*this.Id?this.Sd/this.dc:this.Id/this.Rb;break;case p.hLa:v=Math.min(this.Kqa/this.Rb,this.Jqa/this.dc);break;default:v=this.Rb*this.Sd&gt;this.dc*
this.Id?this.Id/this.Rb:this.Sd/this.dc}this.yOa(v)};u.prototype.Cta=function(){this.jf()};u.prototype.lRa=function(v){this.Rj&amp;&amp;(this.Iea(this.Rj,1),this.rj&amp;&amp;this.rj.detach(),this.rj=this.Rj);this.Rj=this.FQa(v);this.Iea(this.Rj,0);this.xa.append(this.Rj);this.sg=this.xQa();this.B9={}};u.prototype.yTa=function(){return this.Zg?this.BSa(this.Rc*this.xf*this.Rb):this.UTa()};u.prototype.oya=function(v){m(this.An).each(function(w){w==v?w.iy.Zi()!=w.url&amp;&amp;w.iy.load(w.url):w.iy.Lh()||w.iy.cancel()})};u.prototype.pTa=
function(){return m(this.An).reduce(function(v,w){v||(v=w);if(w.width&gt;v.width||w.width==v.width&amp;&amp;!w.wL&amp;&amp;v.wL)v=w;return v},null)};u.prototype.UTa=function(){return m(this.An).reduce(function(v,w){v||(v=w);if(w.width&lt;v.width||w.width==v.width&amp;&amp;w.wL&amp;&amp;!v.wL)v=w;return v},null)};u.prototype.BSa=function(v){return m(this.An).reduce(function(w,x){w||(w=x);if(x.width&gt;=v&amp;&amp;w.width&lt;v||x.width&gt;=v&amp;&amp;x.width&lt;w.width||x.width&lt;v&amp;&amp;x.width&gt;w.width||!x.wL&amp;&amp;w.wL)w=x;return w},null)};u.prototype.FQa=function(v){v=l(v.iy.Cf(!0));
v.css({position:"absolute",cursor:this.bi,"pointer-events":"none"});return v};u.prototype.xQa=function(){return new f("linear",[new n("alpha",0,1)],200)};u.prototype.S_=function(){d.requestFrame(function(v){this.N_(v,"low")},this)};u.prototype.Aia=function(){return this.Rb*this.Rc*this.xf};u.prototype.zia=function(){return this.dc*this.Rc*this.xf};u.prototype.rDa=function(){var v=this.Aia();return v&gt;this.Id?Math.max(this.Id-v,Math.min(0,.5*this.Id-v*this.Fz)):.5*(this.Id-v)};u.prototype.sDa=function(){var v=
this.zia();return v&gt;this.Sd?Math.max(this.Sd-v,Math.min(0,.5*this.Sd-v*this.Gz)):.5*(this.Sd-v)};u.prototype.N_=function(v,w){w=w||"low";var x=this.Aia(),y=this.rDa(),z=this.zia(),B=this.sDa();this.Fz=(.5*this.Id-y)/x;this.Gz=(.5*this.Sd-B)/z;x={left:Math.round(y)+"px",top:Math.round(B)+"px",width:Math.round(x)+"px",height:Math.round(z)+"px",display:"block"};for(var D in this.sI[w])x[D]=this.sI[w][D];this.B9!=x&amp;&amp;(this.rj&amp;&amp;this.rj.css(x),this.Rj&amp;&amp;this.Rj.css(x),this.B9=x);this.b9();this.sg?(this.sg.Fb(v),
this.Iea(this.Rj,this.sg.eb("alpha")),this.sg.We()&amp;&amp;(this.sg=null,this.rj&amp;&amp;this.rj.detach(),this.rj=this.Rj,this.Rj=null),this.S_()):"low"==w&amp;&amp;this.J_a();!this.sg&amp;&amp;this.o_&amp;&amp;(this.o_=!1,this.trigger(new g(c.ea)))};u.prototype.Iea=function(v,w){v.css({opacity:w,filter:"alpha(opacity="+Math.round(100*w)+")","-ms-filter":"alpha(opacity="+Math.round(100*w)+")"})};u.prototype.b9=function(){null!=this.GO&amp;&amp;(clearTimeout(this.GO),this.GO=null)};u.prototype.J_a=function(){var v=this;this.GO=setTimeout(function(){v.GO=
null;v.N_(50,"hight")},50)};u.prototype.A8=function(v){this.Rc!=v&amp;&amp;(this.Rc=v,this.V0a())};u.prototype.yOa=function(v){this.xf!=v&amp;&amp;(this.xf=v)};u.prototype.V0a=function(){this.trigger(new g(u.EV,{scale:this.Rc}))};u.EV="scaleChange";return u});
define("kP","require jquery.mod py cI nF lS e S".split(" "),function(a){a("jquery.mod");var e=a("py"),l=a("cI"),m=a("nF"),k=a("lS"),c=a("e"),h=a("S"),g=k.extend(c,function(){c.call(this);this.Re("ZoomImage");this.ex=this.Kn=void 0;this.Vk=!1;this.Xwa=void 0;this.bta=this.Rc;this.$R=null;this.j=new m;this.j.bind(e.ea,this.VWa,this);this.j.bind(m.EV,this.WWa,this);this.Yb().append(this.j.gd());this.bind(e.tc,this.Ic,this,!0);this.bind(e.jd,this.tj,this,!0);this.bind(e.cd,this.sj,this,!0);this.bind(e.hb,
this.ce,this,!0);this.bind(e.Pb,this.Zj,this,!0);this.bind(e.Eb,this.$j,this,!0);this.bind(e.Gs,this.tE,this,!0);this.bind(e.xH,this.QD,this,!0)});g.prototype.set=function(b,d){switch(b){case "scale":this.j.setScale(d);d=this.j.by();break;case "imageLeft":case "imageTop":case "imageWidth":case "imageHeight":return}c.prototype.set.call(this,b,d)};g.prototype.get=function(b,d){switch(b){case "scale":return this.j.by();case "imageLeft":return this.j.rDa();case "imageTop":return this.j.sDa();case "imageWidth":return this.j.Aia();
case "imageHeight":return this.j.zia()}return c.prototype.get.call(this,b,d)};g.prototype.yb=function(){c.prototype.yb.call(this);this.h("image");this.h("scaleMode");this.h("customHeight");this.h("customWidth");this.h("imageCursor");this.h("imageLeft");this.h("imageTop");this.h("imageWidth");this.h("imageHeight")};g.prototype.bb=function(){this.L("scaleMode")&amp;&amp;(this.j.cC(this.B("scaleMode")),this.S("scaleMode"));this.L("image")&amp;&amp;(this.j.G$a(this.B("image")),this.S("image"),this.bta=this.Rc);if(this.L("customHeight")||
this.L("customWidth"))this.S("customHeight"),this.S("customWidth"),this.Ic();this.L("imageCursor")&amp;&amp;(this.S("imageCursor"),this.j.R4(this.mb.R9.gDa(this.get("imageCursor"))));c.prototype.bb.call(this)};g.prototype.Ic=function(){var b=this.Za(),d=this.Cb(),f=this.get("customWidth","100%"),n=h.Bp(f);f=void 0!==n?b*n/100:f;n=this.get("customHeight","100%");var q=h.Bp(n);this.j.n$a(f,void 0!==q?d*q/100:n);this.j.KG(b,d)};g.prototype.tj=function(){this.j.rb(!0)};g.prototype.sj=function(){this.j.rb(!1)};
g.prototype.ce=function(b){this.Kn=b.x;this.ex=b.y;this.Vk=!0;this.Xwa=this.j.OEa(b)};g.prototype.Zj=function(b){this.Vk&amp;&amp;(this.Jga(),this.j.move(-(b.x-this.Kn),-(b.y-this.ex)),this.Kn=b.x,this.ex=b.y)};g.prototype.$j=function(b){this.Vk=!1;this.Xwa||this.j.OEa(b)||this.trigger(new l(g.rLa))};g.prototype.tE=function(b){this.Jga();this.j.setScale((1+b.delta/20)*this.j.by())};g.prototype.QD=function(b){this.Jga();this.j.setScale(b.scale/this.bta)};g.prototype.VWa=function(){this.trigger(new l(e.ea))};
g.prototype.WWa=function(){c.prototype.set.call(this,"scale",this.j.by());this.trigger(new l(g.EV))};g.prototype.Jga=function(){this.$R?(clearTimeout(this.$R),this.$R=null):this.trigger(new l(g.gj));this.$R=setTimeout(function(){this.$R=null;this.trigger(new l(g.fj))}.bind(this),300)};g.rLa="backgroundClick";g.EV="scaleChange";g.gj="userInteractionStart";g.fj="userInteractionEnd";return g});define("oA",["require","kP","ol"],function(a){var e=a("kP");return a("ol").define("ZoomImage",e,function(){e.call(this)})});
define("jH","require ol jR iz ot eD eo fd oX ki jT gA gj lD ir l jQ kE mu pg hG iI lA hj ga dA bG kr op kl ll nj fS r jN ei en pn ny df kq nT bb iN mB hC O cW v mh gC Y kK bC br nS oP jE ft mF me jJ bR cR oY jX nO lE R qg gu dv ez jw cc bj gr fz hl Z je bN pS qf fu kt mU ja q dU lc mV jd eq fo qc hK lt fm mZ bU ma iZ bp pQ gD pd cK cM lW px kb gX kI hr mg oc in kT li pT eM ji nZ fc iL T pz ea gQ bM jr fM bc pH fh cX nl ml fy hc fe ct iR oB mI fO pZ pe md oH hm fA gS dy nz cy it nx kF hR ce iV dL bV kB kd pm gh hw co is lM lv eI hX dH bE cx et oA".split(" "),
function(a){a("ol");a("jR");a("iz");a("ot");a("eD");a("eo");a("fd");a("oX");a("ki");a("jT");a("gA");a("gj");a("lD");a("ir");a("l");a("jQ");a("kE");a("mu");a("pg");a("hG");a("iI");a("lA");a("hj");a("ga");a("dA");a("bG");a("kr");a("op");a("kl");a("ll");a("nj");a("fS");a("r");a("jN");a("ei");a("en");a("pn");a("ny");a("df");a("kq");a("nT");a("bb");a("iN");a("mB");a("hC");a("O");a("cW");a("v");a("mh");a("gC");a("Y");a("kK");a("bC");a("br");a("nS");a("oP");a("jE");a("ft");a("mF");a("me");a("jJ");a("bR");
a("cR");a("oY");a("jX");a("nO");a("lE");a("R");a("qg");a("gu");a("dv");a("ez");a("jw");a("cc");a("bj");a("gr");a("fz");a("hl");a("Z");a("je");a("bN");a("pS");a("qf");a("fu");a("kt");a("mU");a("ja");a("q");a("dU");a("lc");a("mV");a("jd");a("eq");a("fo");a("qc");a("hK");a("lt");a("fm");a("mZ");a("bU");a("ma");a("iZ");a("bp");a("pQ");a("gD");a("pd");a("cK");a("cM");a("lW");a("px");a("kb");a("gX");a("kI");a("hr");a("mg");a("oc");a("in");a("kT");a("li");a("pT");a("eM");a("ji");a("nZ");a("fc");a("iL");
a("T");a("pz");a("ea");a("gQ");a("bM");a("jr");a("fM");a("bc");a("pH");a("fh");a("cX");a("nl");a("ml");a("fy");a("hc");a("fe");a("ct");a("iR");a("oB");a("mI");a("fO");a("pZ");a("pe");a("md");a("oH");a("hm");a("fA");a("gS");a("dy");a("nz");a("cy");a("it");a("nx");a("kF");a("hR");a("ce");a("iV");a("dL");a("bV");a("kB");a("kd");a("pm");a("gh");a("hw");a("co");a("is");a("lM");a("lv");a("eI");a("hX");a("dH");a("bE");a("cx");a("et");a("oA");return!0});
define("gK","require es jquery.mod lS ol cd jH mS".split(" "),function(a){function e(p,r){this.type=p;this.stack=r}function l(){}var m=a("es"),k=a("jquery.mod"),c=a("lS"),h=a("ol"),g=a("cd");a("jH");a("mS");l.prototype.R8a=function(p,r,t,u){this.B$=[];this.PA=this.TJ(p);this.dE=void 0;this.PA.gu.uDa()?(this.Lga=g.validate(p),this.dE=this.Nra(this.PA,b.TYPE),this.IQa(this.dE,this.PA,r,t,u),this.tOa(this.PA),this.rOa(this.PA,this.dE),this.uOa(this.dE,this.PA),this.NOa(this.dE,this.PA)):this.ro("Invalid root class",
[]);return 0==this.B$.length};l.prototype.Db=function(){return this.PA.instance};l.prototype.TJ=function(p,r){r=r||[];return m(p).isArray()?this.ZXa(p,r):k.isPlainObject(p)&amp;&amp;p["class"]?this.bYa(p,r):k.isPlainObject(p)?this.$Xa(p,r):m(p).isFunction()?this.aYa(p,r):this.cYa(p,r)};l.prototype.ZXa=function(p,r){for(var t=[],u=0;u&lt;p.length;u++)r.push("Item["+u+"]"),t.push(this.TJ(p[u],r)),r.pop();return new d(r.slice(),t)};l.prototype.bYa=function(p,r){var t=p["class"],u=h.Yi(p["class"]);if(u){t={};var v=
{},w;for(w in p){r.push(w);var x=p[w];switch(w){case "class":break;case "scripts":var y=this.TJ(x,r);break;default:u.hasAttribute(w)?t[w]=this.TJ(x,r):u.gEa(w)||u.hEa(w)?v[w]=this.TJ(x,r):this.ro(u.YF()+" object doesn't have any attribute named "+w,r)}r.pop()}return new b(r.slice(),u,p.id,t,v,y)}this.ro("Undefined class name: "+t,r.slice());return new q(r.slice(),null)};l.prototype.$Xa=function(p,r){var t={},u;for(u in p)r.push(u),t[u]=this.TJ(p[u],r),r.pop();return new f(r.slice(),t)};l.prototype.aYa=
function(p,r){return new n(r.slice(),p)};l.prototype.cYa=function(p,r){return new q(r.slice(),p)};l.prototype.Nra=function(p,r){var t=r&amp;&amp;p.type!=r?[]:[p],u=0;for(p=p.pb();u&lt;p.length;u++)t=t.concat(this.Nra(p[u],r));return t};l.prototype.IQa=function(p,r,t,u,v){r.instance=r.gu.Bm(null,u,v,[t,this.Lga]);r.instance.set("application",r.instance);for(t=0;t&lt;p.length;t++){var w=p[t];w!=r&amp;&amp;(w.instance=w.gu.Bm(r.instance,u,v))}};l.prototype.tOa=function(p){if(p.scripts)if(p.scripts.type==f.TYPE)for(var r in p.scripts.value)this.sOa(p,
r);else this.ro("Invalid content.",p.scripts.stack)};l.prototype.sOa=function(p,r){var t=p.instance,u=p.scripts.value[r];m(t[r]).isUndefined()?u&amp;&amp;u.type==n.TYPE?t[r]=function(){return u.wu().apply(t,arguments)}:this.ro("Invalid content.",u.stack):this.ro("Identifier: "+r+" is already in use",u.stack)};l.prototype.rOa=function(p,r){p=p.instance;for(var t=0;t&lt;r.length;t++){var u=r[t],v=u.id;v&amp;&amp;(m(p[v]).isUndefined()?p[v]=u.instance:this.ro("Identifier: "+v+" is arleady in use",u.stack))}};l.prototype.uOa=
function(p,r){for(var t=0;t&lt;p.length;t++){var u=p[t],v=u.attributes,w;for(w in v)this.qOa(u,w,r)}};l.prototype.qOa=function(p,r,t){var u=p.gu;if(u.hasAttribute(r)){try{var v=p.attributes[r].wu()}catch(w){this.ro("Invalid value for property "+r+" of "+u.YF()+" instance",p.stack)}try{v=u.qia(r)(v,t.instance),p.instance.set(r,v)}catch(w){this.ro("Invalid value for property "+r+" of "+u.YF()+" instance",p.stack)}}else this.ro(u.YF()+" object doesn't have any property named "+r,p.stack)};l.prototype.NOa=
function(p,r){for(var t=0;t&lt;p.length;t++){var u=p[t],v;for(v in u.VF)this.MOa(u,v,r)}};l.prototype.MOa=function(p,r,t){var u=p.gu,v=p.instance,w=u.gEa(r),x=u.hEa(r);if(w||x){p=p.VF[r];var y=p.wu();m(y).isFunction()?v.bind(r,y,t.instance,x,y,!0):"string"==typeof y?v.bind(r,function(){try{eval("var event = arguments[0];"+y)}catch(z){throw z;}},t.instance,x,y,!0):this.ro("Invalid value.",p.stack)}else this.ro(u.YF()+" object doesn't have any event named "+r,p.stack)};l.prototype.ro=function(p,r){this.B$.push("In "+
r.join(" &gt;&gt; ")+": "+p)};e.prototype.pb=function(){return[]};e.prototype.wu=function(){};var b=c.extend(e,function(p,r,t,u,v,w){e.call(this,b.TYPE,p);this.gu=r;this.id=t;this.attributes=u;this.VF=v;this.scripts=w;this.instance=null});b.prototype.pb=function(){var p=this.gu.FDa(),r=[],t=m(this.attributes).clone();if(p)for(var u=0;u&lt;p.length;u++){var v=p[u];void 0!=t[v]&amp;&amp;(r.push(t[v]),delete t[v])}return r=r.concat(m(t).values())};b.prototype.wu=function(){return this.instance};b.TYPE="instance";var d=
c.extend(e,function(p,r){e.call(this,d.TYPE,p);this.items=r});d.prototype.pb=function(){return this.items.slice()};d.prototype.wu=function(){for(var p=[],r=0;r&lt;this.items.length;r++)p.push(this.items[r].wu());return p};d.TYPE="array";var f=c.extend(e,function(p,r){e.call(this,f.TYPE,p);this.value=r});f.prototype.pb=function(){return m(this.value).values()};f.prototype.wu=function(){var p={},r;for(r in this.value)p[r]=this.value[r].wu();return p};f.TYPE="dict";var n=c.extend(e,function(p,r){e.call(this,
n.TYPE,p);this.value=r});n.prototype.wu=function(){return this.value};n.TYPE="function";var q=c.extend(e,function(p,r){e.call(this,q.TYPE,p);this.value=r});q.prototype.wu=function(){return this.value};q.TYPE="simple";return l});
define("nA","require es py cI ol gK w ff mS oS hV nH pw nL lS".split(" "),function(a){function e(v,w){this.xR=v;this.Yi=this.Yi.bind(this);this.Bm=this.Bm.bind(this);this.$K=this.$K.bind(this);this.Ja=this.Ja.bind(this);this.P2=this.P2.bind(this);g.qb()&amp;&amp;!g.Sf()&amp;&amp;r.Mr();this.gX=[];v=q.name;var x=[];v&amp;&amp;x.push(v);0&lt;q.GT?x.push("v:"+q.GT+"."+q.MT):x.push("v:"+q.MT);t.log(x.join(" "));this.Hp=w;d.t7a()||0&lt;=[g.nH,g.Ty].indexOf(g.browser())?(this.Qk=new h,(w=this.Hp.get(TDV.PlayerSettings.BASE_DIR_URL))?
(w=d.Jy(w),"/"!=w[w.length-1]&amp;&amp;(w+="/")):w=d.getDirectory(this.Hp.get(TDV.PlayerSettings.SELECTED_SCRIPT_URL)),this.rka=this.Hp.get(TDV.PlayerSettings.QUERY_STRING_PARAMETERS),b.g9a(w,function(y){this.sha=y;this.xXa()}.bind(this))):window.alert(p("web-server-required"))}var l=a("es"),m=a("py"),k=a("cI"),c=a("ol"),h=a("gK"),g=a("w"),b=a("ff"),d=a("mS"),f=a("oS"),n=a("hV"),q=a("nH"),p=a("pw"),r=a("nL"),t=a("lS");e.prototype.xXa=function(){this.xR.trigger(new TDV.PV(m.BMa,{},[],void 0));l.defer(function(){if(!this.Qk.R8a(this.Hp.get(TDV.PlayerSettings.SCRIPT_DATA),
this.Hp.get(TDV.PlayerSettings.CONTAINER),this.sha,this.rka)){if("false"!=q.wbb){window.alert(this.ysa());return}t.log(this.ysa())}this.LOa();this.iOa(this.Hp);this.wOa();f.A4=this.Qk.Db();f.initialize(function(){this.X0a()}.bind(this))}.bind(this))};e.prototype.clear=function(){this.Qk&amp;&amp;(this.psa().forEach(function(v){v.instance.ama();v.gu.ZS().forEach(function(w){switch(w){case "VideoPlayer":v.instance.stop();case "MapPlayer":case "Model3DPlayer":case "PanoramaPlayer":case "PhotoAlbumPlayer":v.instance.set("viewerArea",
null);break;case "ZoomImage":v.instance.set("image",null);break;case "Audio":v.instance.stop();break;case "Effect":v.instance.end();break;case "Media":v.instance.B9a()}})}),n.X8a(),this.Qk.Db().clear(),u={},this.Hp=this.Qk=null)};e.prototype.l6a=function(v){return this.Qk.Db()[v]};e.prototype.Yi=function(v){if(v in u)return u[v].slice();var w=[];this.psa().forEach(function(x){var y=x.gu.ZS();l(y).contains(v)&amp;&amp;w.push(x.instance)});u[v]=w;return w.slice()};e.prototype.psa=function(){return this.Qk?
this.Qk.dE.concat(this.gX):[]};var u={};e.prototype.Bm=function(v){var w=c.Yi(v);if(!w)throw"Invalid className: "+v;u={};v=this.Qk.Db();var x={};x.gu=w;x.instance=w.Bm(v,this.sha,this.rka);this.gX.push(x);this.upa(w,x.instance);this.J0a(v,x.instance);return x.instance};e.prototype.$K=function(v){var w=this.gX.findIndex(function(x){return x.instance==v});0&gt;w||(u={},this.gX.splice(w,1),v.ama(),v.dispose&amp;&amp;v.dispose())};e.prototype.ysa=function(){for(var v=this.Qk.B$,w=["Errors parsing script file:"],
x=0;x&lt;v.length;x++)w.push(v[x]);return w.join("\n")};e.prototype.LOa=function(){this.Qk.dE.forEach(function(w){this.upa(w.gu,w.instance,w.id)}.bind(this));var v=this.Qk.Db().cX;v.bind(m.uH,function(){v.$bb(m.uH);this.xR.cookiesEnabled=this.xR.f4a=!0;this.xR.trigger(new TDV.PV(m.uH,{},[],void 0))},this,!0)};e.prototype.upa=function(v,w,x){var y=v.ZS();l.union(v.uia(),v.Bia()).forEach(function(z){w.bind(z,function(B){this.xR.trigger(new TDV.PV(z,B,y,x))}.bind(this),this,!0)}.bind(this))};e.prototype.J0a=
function(v,w){v.trigger(new k(m.WLa,{instance:w}))};e.prototype.iOa=function(v){this.Qk.Db().set("settings",v)};e.prototype.Ja=function(){return c.Ja.apply(c,arguments)};e.prototype.P2=function(v){!v||d.wB(v)||d.v3(v)||(v=d.hB(d.Jy(v,this.sha),this.rka));return v};e.prototype.wOa=function(){var v=this.Qk.Db();v.getByClassName=v.Yi=this.Yi;v.createInstance=v.Bm=this.Bm;v.disposeInstance=v.$K=this.$K;v.isInstanceOfClass=v.Ja=this.Ja;v.getAbsoluteURL=v.P2=this.P2};e.prototype.X0a=function(){this.Qk.Db().start()};
e.Xbb=function(v){v.trigger(new TDV.PV(m.XLa,{},[],void 0))};return e});define("main",["require","jquery.mod","nA"],function(a){var e=a("jquery.mod"),l=a("nA");e(document).ready(function(){TDV.cb.mab(l)})});
(function(global,factory){factory(global.THREE={})})(this,function(exports){"use strict";const REVISION="163";const MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2};const TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3};const CullFaceNone=0;const CullFaceBack=1;const CullFaceFront=2;const CullFaceFrontBack=3;const BasicShadowMap=0;const PCFShadowMap=1;const PCFSoftShadowMap=2;const VSMShadowMap=3;const FrontSide=0;const BackSide=1;const DoubleSide=2;const NoBlending=0;const NormalBlending=1;const AdditiveBlending=2;const SubtractiveBlending=3;const MultiplyBlending=4;const CustomBlending=5;const AddEquation=100;const SubtractEquation=101;const ReverseSubtractEquation=102;const MinEquation=103;const MaxEquation=104;const ZeroFactor=200;const OneFactor=201;const SrcColorFactor=202;const OneMinusSrcColorFactor=203;const SrcAlphaFactor=204;const OneMinusSrcAlphaFactor=205;const DstAlphaFactor=206;const OneMinusDstAlphaFactor=207;const DstColorFactor=208;const OneMinusDstColorFactor=209;const SrcAlphaSaturateFactor=210;const ConstantColorFactor=211;const OneMinusConstantColorFactor=212;const ConstantAlphaFactor=213;const OneMinusConstantAlphaFactor=214;const NeverDepth=0;const AlwaysDepth=1;const LessDepth=2;const LessEqualDepth=3;const EqualDepth=4;const GreaterEqualDepth=5;const GreaterDepth=6;const NotEqualDepth=7;const MultiplyOperation=0;const MixOperation=1;const AddOperation=2;const NoToneMapping=0;const LinearToneMapping=1;const ReinhardToneMapping=2;const CineonToneMapping=3;const ACESFilmicToneMapping=4;const CustomToneMapping=5;const AgXToneMapping=6;const NeutralToneMapping=7;const AttachedBindMode="attached";const DetachedBindMode="detached";const UVMapping=300;const CubeReflectionMapping=301;const CubeRefractionMapping=302;const EquirectangularReflectionMapping=303;const EquirectangularRefractionMapping=304;const CubeUVReflectionMapping=306;const RepeatWrapping=1000;const ClampToEdgeWrapping=1001;const MirroredRepeatWrapping=1002;const NearestFilter=1003;const NearestMipmapNearestFilter=1004;const NearestMipMapNearestFilter=1004;const NearestMipmapLinearFilter=1005;const NearestMipMapLinearFilter=1005;const LinearFilter=1006;const LinearMipmapNearestFilter=1007;const LinearMipMapNearestFilter=1007;const LinearMipmapLinearFilter=1008;const LinearMipMapLinearFilter=1008;const UnsignedByteType=1009;const ByteType=1010;const ShortType=1011;const UnsignedShortType=1012;const IntType=1013;const UnsignedIntType=1014;const FloatType=1015;const HalfFloatType=1016;const UnsignedShort4444Type=1017;const UnsignedShort5551Type=1018;const UnsignedInt248Type=1020;const UnsignedInt5999Type=35902;const AlphaFormat=1021;const RGBFormat=1022;const RGBAFormat=1023;const LuminanceFormat=1024;const LuminanceAlphaFormat=1025;const DepthFormat=1026;const DepthStencilFormat=1027;const RedFormat=1028;const RedIntegerFormat=1029;const RGFormat=1030;const RGIntegerFormat=1031;const RGBAIntegerFormat=1033;const RGB_S3TC_DXT1_Format=33776;const RGBA_S3TC_DXT1_Format=33777;const RGBA_S3TC_DXT3_Format=33778;const RGBA_S3TC_DXT5_Format=33779;const RGB_PVRTC_4BPPV1_Format=35840;const RGB_PVRTC_2BPPV1_Format=35841;const RGBA_PVRTC_4BPPV1_Format=35842;const RGBA_PVRTC_2BPPV1_Format=35843;const RGB_ETC1_Format=36196;const RGB_ETC2_Format=37492;const RGBA_ETC2_EAC_Format=37496;const RGBA_ASTC_4x4_Format=37808;const RGBA_ASTC_5x4_Format=37809;const RGBA_ASTC_5x5_Format=37810;const RGBA_ASTC_6x5_Format=37811;const RGBA_ASTC_6x6_Format=37812;const RGBA_ASTC_8x5_Format=37813;const RGBA_ASTC_8x6_Format=37814;const RGBA_ASTC_8x8_Format=37815;const RGBA_ASTC_10x5_Format=37816;const RGBA_ASTC_10x6_Format=37817;const RGBA_ASTC_10x8_Format=37818;const RGBA_ASTC_10x10_Format=37819;const RGBA_ASTC_12x10_Format=37820;const RGBA_ASTC_12x12_Format=37821;const RGBA_BPTC_Format=36492;const RGB_BPTC_SIGNED_Format=36494;const RGB_BPTC_UNSIGNED_Format=36495;const RED_RGTC1_Format=36283;const SIGNED_RED_RGTC1_Format=36284;const RED_GREEN_RGTC2_Format=36285;const SIGNED_RED_GREEN_RGTC2_Format=36286;const LoopOnce=2200;const LoopRepeat=2201;const LoopPingPong=2202;const InterpolateDiscrete=2300;const InterpolateLinear=2301;const InterpolateSmooth=2302;const ZeroCurvatureEnding=2400;const ZeroSlopeEnding=2401;const WrapAroundEnding=2402;const NormalAnimationBlendMode=2500;const AdditiveAnimationBlendMode=2501;const TrianglesDrawMode=0;const TriangleStripDrawMode=1;const TriangleFanDrawMode=2;const BasicDepthPacking=3200;const RGBADepthPacking=3201;const TangentSpaceNormalMap=0;const ObjectSpaceNormalMap=1;const NoColorSpace="";const SRGBColorSpace="srgb";const LinearSRGBColorSpace="srgb-linear";const DisplayP3ColorSpace="display-p3";const LinearDisplayP3ColorSpace="display-p3-linear";const LinearTransfer="linear";const SRGBTransfer="srgb";const Rec709Primaries="rec709";const P3Primaries="p3";const ZeroStencilOp=0;const KeepStencilOp=7680;const ReplaceStencilOp=7681;const IncrementStencilOp=7682;const DecrementStencilOp=7683;const IncrementWrapStencilOp=34055;const DecrementWrapStencilOp=34056;const InvertStencilOp=5386;const NeverStencilFunc=512;const LessStencilFunc=513;const EqualStencilFunc=514;const LessEqualStencilFunc=515;const GreaterStencilFunc=516;const NotEqualStencilFunc=517;const GreaterEqualStencilFunc=518;const AlwaysStencilFunc=519;const NeverCompare=512;const LessCompare=513;const EqualCompare=514;const LessEqualCompare=515;const GreaterCompare=516;const NotEqualCompare=517;const GreaterEqualCompare=518;const AlwaysCompare=519;const StaticDrawUsage=35044;const DynamicDrawUsage=35048;const StreamDrawUsage=35040;const StaticReadUsage=35045;const DynamicReadUsage=35049;const StreamReadUsage=35041;const StaticCopyUsage=35046;const DynamicCopyUsage=35050;const StreamCopyUsage=35042;const GLSL1="100";const GLSL3="300 es";const WebGLCoordinateSystem=2000;const WebGPUCoordinateSystem=2001;class EventDispatcher{addEventListener(type,listener){if(this._listeners===undefined)this._listeners={};const listeners=this._listeners;if(listeners[type]===undefined){listeners[type]=[]}if(listeners[type].indexOf(listener)===-1){listeners[type].push(listener)}}hasEventListener(type,listener){if(this._listeners===undefined)return false;const listeners=this._listeners;return listeners[type]!==undefined&amp;&amp;listeners[type].indexOf(listener)!==-1}removeEventListener(type,listener){if(this._listeners===undefined)return;const listeners=this._listeners;const listenerArray=listeners[type];if(listenerArray!==undefined){const index=listenerArray.indexOf(listener);if(index!==-1){listenerArray.splice(index,1)}}}dispatchEvent(event){if(this._listeners===undefined)return;const listeners=this._listeners;const listenerArray=listeners[event.type];if(listenerArray!==undefined){event.target=this;const array=listenerArray.slice(0);for(let i=0,l=array.length;i&lt;l;i++){array[i].call(this,event)}event.target=null}}}const _lut=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let _seed=1234567;const DEG2RAD=Math.PI/180;const RAD2DEG=180/Math.PI;function generateUUID(){const d0=Math.random()*4294967295|0;const d1=Math.random()*4294967295|0;const d2=Math.random()*4294967295|0;const d3=Math.random()*4294967295|0;const uuid=_lut[d0&amp;255]+_lut[d0&gt;&gt;8&amp;255]+_lut[d0&gt;&gt;16&amp;255]+_lut[d0&gt;&gt;24&amp;255]+"-"+_lut[d1&amp;255]+_lut[d1&gt;&gt;8&amp;255]+"-"+_lut[d1&gt;&gt;16&amp;15|64]+_lut[d1&gt;&gt;24&amp;255]+"-"+_lut[d2&amp;63|128]+_lut[d2&gt;&gt;8&amp;255]+"-"+_lut[d2&gt;&gt;16&amp;255]+_lut[d2&gt;&gt;24&amp;255]+_lut[d3&amp;255]+_lut[d3&gt;&gt;8&amp;255]+_lut[d3&gt;&gt;16&amp;255]+_lut[d3&gt;&gt;24&amp;255];return uuid.toLowerCase()}function clamp(value,min,max){return Math.max(min,Math.min(max,value))}function euclideanModulo(n,m){return(n%m+m)%m}function mapLinear(x,a1,a2,b1,b2){return b1+(x-a1)*(b2-b1)/(a2-a1)}function inverseLerp(x,y,value){if(x!==y){return(value-x)/(y-x)}else{return 0}}function lerp(x,y,t){return(1-t)*x+t*y}function damp(x,y,lambda,dt){return lerp(x,y,1-Math.exp(-lambda*dt))}function pingpong(x,length=1){return length-Math.abs(euclideanModulo(x,length*2)-length)}function smoothstep(x,min,max){if(x&lt;=min)return 0;if(x&gt;=max)return 1;x=(x-min)/(max-min);return x*x*(3-2*x)}function smootherstep(x,min,max){if(x&lt;=min)return 0;if(x&gt;=max)return 1;x=(x-min)/(max-min);return x*x*x*(x*(x*6-15)+10)}function randInt(low,high){return low+Math.floor(Math.random()*(high-low+1))}function randFloat(low,high){return low+Math.random()*(high-low)}function randFloatSpread(range){return range*(0.5-Math.random())}function seededRandom(s){if(s!==undefined)_seed=s;let t=_seed+=1831565813;t=Math.imul(t^t&gt;&gt;&gt;15,t|1);t^=t+Math.imul(t^t&gt;&gt;&gt;7,t|61);return((t^t&gt;&gt;&gt;14)&gt;&gt;&gt;0)/4294967296}function degToRad(degrees){return degrees*DEG2RAD}function radToDeg(radians){return radians*RAD2DEG}function isPowerOfTwo(value){return(value&amp;value-1)===0&amp;&amp;value!==0}function ceilPowerOfTwo(value){return Math.pow(2,Math.ceil(Math.log(value)/Math.LN2))}function floorPowerOfTwo(value){return Math.pow(2,Math.floor(Math.log(value)/Math.LN2))}function setQuaternionFromProperEuler(q,a,b,c,order){const cos=Math.cos;const sin=Math.sin;const c2=cos(b/2);const s2=sin(b/2);const c13=cos((a+c)/2);const s13=sin((a+c)/2);const c1_3=cos((a-c)/2);const s1_3=sin((a-c)/2);const c3_1=cos((c-a)/2);const s3_1=sin((c-a)/2);switch(order){case"XYX":q.set(c2*s13,s2*c1_3,s2*s1_3,c2*c13);break;case"YZY":q.set(s2*s1_3,c2*s13,s2*c1_3,c2*c13);break;case"ZXZ":q.set(s2*c1_3,s2*s1_3,c2*s13,c2*c13);break;case"XZX":q.set(c2*s13,s2*s3_1,s2*c3_1,c2*c13);break;case"YXY":q.set(s2*c3_1,c2*s13,s2*s3_1,c2*c13);break;case"ZYZ":q.set(s2*s3_1,s2*c3_1,c2*s13,c2*c13);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+order);}}function denormalize(value,array){switch(array.constructor){case Float32Array:return value;case Uint32Array:return value/4294967295;case Uint16Array:return value/65535;case Uint8Array:return value/255;case Int32Array:return Math.max(value/2147483647,-1);case Int16Array:return Math.max(value/32767,-1);case Int8Array:return Math.max(value/127,-1);default:throw new Error("Invalid component type.");}}function normalize(value,array){switch(array.constructor){case Float32Array:return value;case Uint32Array:return Math.round(value*4294967295);case Uint16Array:return Math.round(value*65535);case Uint8Array:return Math.round(value*255);case Int32Array:return Math.round(value*2147483647);case Int16Array:return Math.round(value*32767);case Int8Array:return Math.round(value*127);default:throw new Error("Invalid component type.");}}const MathUtils={DEG2RAD:DEG2RAD,RAD2DEG:RAD2DEG,generateUUID:generateUUID,clamp:clamp,euclideanModulo:euclideanModulo,mapLinear:mapLinear,inverseLerp:inverseLerp,lerp:lerp,damp:damp,pingpong:pingpong,smoothstep:smoothstep,smootherstep:smootherstep,randInt:randInt,randFloat:randFloat,randFloatSpread:randFloatSpread,seededRandom:seededRandom,degToRad:degToRad,radToDeg:radToDeg,isPowerOfTwo:isPowerOfTwo,ceilPowerOfTwo:ceilPowerOfTwo,floorPowerOfTwo:floorPowerOfTwo,setQuaternionFromProperEuler:setQuaternionFromProperEuler,normalize:normalize,denormalize:denormalize};class Vector2{constructor(x=0,y=0){Vector2.prototype.isVector2=true;this.x=x;this.y=y}get width(){return this.x}set width(value){this.x=value}get height(){return this.y}set height(value){this.y=value}set(x,y){this.x=x;this.y=y;return this}setScalar(scalar){this.x=scalar;this.y=scalar;return this}setX(x){this.x=x;return this}setY(y){this.y=y;return this}setComponent(index,value){switch(index){case 0:this.x=value;break;case 1:this.y=value;break;default:throw new Error("index is out of range: "+index);}return this}getComponent(index){switch(index){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+index);}}clone(){return new this.constructor(this.x,this.y)}copy(v){this.x=v.x;this.y=v.y;return this}add(v){this.x+=v.x;this.y+=v.y;return this}addScalar(s){this.x+=s;this.y+=s;return this}addVectors(a,b){this.x=a.x+b.x;this.y=a.y+b.y;return this}addScaledVector(v,s){this.x+=v.x*s;this.y+=v.y*s;return this}sub(v){this.x-=v.x;this.y-=v.y;return this}subScalar(s){this.x-=s;this.y-=s;return this}subVectors(a,b){this.x=a.x-b.x;this.y=a.y-b.y;return this}multiply(v){this.x*=v.x;this.y*=v.y;return this}multiplyScalar(scalar){this.x*=scalar;this.y*=scalar;return this}divide(v){this.x/=v.x;this.y/=v.y;return this}divideScalar(scalar){return this.multiplyScalar(1/scalar)}applyMatrix3(m){const x=this.x,y=this.y;const e=m.elements;this.x=e[0]*x+e[3]*y+e[6];this.y=e[1]*x+e[4]*y+e[7];return this}min(v){this.x=Math.min(this.x,v.x);this.y=Math.min(this.y,v.y);return this}max(v){this.x=Math.max(this.x,v.x);this.y=Math.max(this.y,v.y);return this}clamp(min,max){this.x=Math.max(min.x,Math.min(max.x,this.x));this.y=Math.max(min.y,Math.min(max.y,this.y));return this}clampScalar(minVal,maxVal){this.x=Math.max(minVal,Math.min(maxVal,this.x));this.y=Math.max(minVal,Math.min(maxVal,this.y));return this}clampLength(min,max){const length=this.length();return this.divideScalar(length||1).multiplyScalar(Math.max(min,Math.min(max,length)))}floor(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}ceil(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this}round(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}roundToZero(){this.x=Math.trunc(this.x);this.y=Math.trunc(this.y);return this}negate(){this.x=-this.x;this.y=-this.y;return this}dot(v){return this.x*v.x+this.y*v.y}cross(v){return this.x*v.y-this.y*v.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){const angle=Math.atan2(-this.y,-this.x)+Math.PI;return angle}angleTo(v){const denominator=Math.sqrt(this.lengthSq()*v.lengthSq());if(denominator===0)return Math.PI/2;const theta=this.dot(v)/denominator;return Math.acos(clamp(theta,-1,1))}distanceTo(v){return Math.sqrt(this.distanceToSquared(v))}distanceToSquared(v){const dx=this.x-v.x,dy=this.y-v.y;return dx*dx+dy*dy}manhattanDistanceTo(v){return Math.abs(this.x-v.x)+Math.abs(this.y-v.y)}setLength(length){return this.normalize().multiplyScalar(length)}lerp(v,alpha){this.x+=(v.x-this.x)*alpha;this.y+=(v.y-this.y)*alpha;return this}lerpVectors(v1,v2,alpha){this.x=v1.x+(v2.x-v1.x)*alpha;this.y=v1.y+(v2.y-v1.y)*alpha;return this}equals(v){return v.x===this.x&amp;&amp;v.y===this.y}fromArray(array,offset=0){this.x=array[offset];this.y=array[offset+1];return this}toArray(array=[],offset=0){array[offset]=this.x;array[offset+1]=this.y;return array}fromBufferAttribute(attribute,index){this.x=attribute.getX(index);this.y=attribute.getY(index);return this}rotateAround(center,angle){const c=Math.cos(angle),s=Math.sin(angle);const x=this.x-center.x;const y=this.y-center.y;this.x=x*c-y*s+center.x;this.y=x*s+y*c+center.y;return this}random(){this.x=Math.random();this.y=Math.random();return this}*[Symbol.iterator](){yield this.x;yield this.y}}class Matrix3{constructor(n11,n12,n13,n21,n22,n23,n31,n32,n33){Matrix3.prototype.isMatrix3=true;this.elements=[1,0,0,0,1,0,0,0,1];if(n11!==undefined){this.set(n11,n12,n13,n21,n22,n23,n31,n32,n33)}}set(n11,n12,n13,n21,n22,n23,n31,n32,n33){const te=this.elements;te[0]=n11;te[1]=n21;te[2]=n31;te[3]=n12;te[4]=n22;te[5]=n32;te[6]=n13;te[7]=n23;te[8]=n33;return this}identity(){this.set(1,0,0,0,1,0,0,0,1);return this}copy(m){const te=this.elements;const me=m.elements;te[0]=me[0];te[1]=me[1];te[2]=me[2];te[3]=me[3];te[4]=me[4];te[5]=me[5];te[6]=me[6];te[7]=me[7];te[8]=me[8];return this}extractBasis(xAxis,yAxis,zAxis){xAxis.setFromMatrix3Column(this,0);yAxis.setFromMatrix3Column(this,1);zAxis.setFromMatrix3Column(this,2);return this}setFromMatrix4(m){const me=m.elements;this.set(me[0],me[4],me[8],me[1],me[5],me[9],me[2],me[6],me[10]);return this}multiply(m){return this.multiplyMatrices(this,m)}premultiply(m){return this.multiplyMatrices(m,this)}multiplyMatrices(a,b){const ae=a.elements;const be=b.elements;const te=this.elements;const a11=ae[0],a12=ae[3],a13=ae[6];const a21=ae[1],a22=ae[4],a23=ae[7];const a31=ae[2],a32=ae[5],a33=ae[8];const b11=be[0],b12=be[3],b13=be[6];const b21=be[1],b22=be[4],b23=be[7];const b31=be[2],b32=be[5],b33=be[8];te[0]=a11*b11+a12*b21+a13*b31;te[3]=a11*b12+a12*b22+a13*b32;te[6]=a11*b13+a12*b23+a13*b33;te[1]=a21*b11+a22*b21+a23*b31;te[4]=a21*b12+a22*b22+a23*b32;te[7]=a21*b13+a22*b23+a23*b33;te[2]=a31*b11+a32*b21+a33*b31;te[5]=a31*b12+a32*b22+a33*b32;te[8]=a31*b13+a32*b23+a33*b33;return this}multiplyScalar(s){const te=this.elements;te[0]*=s;te[3]*=s;te[6]*=s;te[1]*=s;te[4]*=s;te[7]*=s;te[2]*=s;te[5]*=s;te[8]*=s;return this}determinant(){const te=this.elements;const a=te[0],b=te[1],c=te[2],d=te[3],e=te[4],f=te[5],g=te[6],h=te[7],i=te[8];return a*e*i-a*f*h-b*d*i+b*f*g+c*d*h-c*e*g}invert(){const te=this.elements,n11=te[0],n21=te[1],n31=te[2],n12=te[3],n22=te[4],n32=te[5],n13=te[6],n23=te[7],n33=te[8],t11=n33*n22-n32*n23,t12=n32*n13-n33*n12,t13=n23*n12-n22*n13,det=n11*t11+n21*t12+n31*t13;if(det===0)return this.set(0,0,0,0,0,0,0,0,0);const detInv=1/det;te[0]=t11*detInv;te[1]=(n31*n23-n33*n21)*detInv;te[2]=(n32*n21-n31*n22)*detInv;te[3]=t12*detInv;te[4]=(n33*n11-n31*n13)*detInv;te[5]=(n31*n12-n32*n11)*detInv;te[6]=t13*detInv;te[7]=(n21*n13-n23*n11)*detInv;te[8]=(n22*n11-n21*n12)*detInv;return this}transpose(){let tmp;const m=this.elements;tmp=m[1];m[1]=m[3];m[3]=tmp;tmp=m[2];m[2]=m[6];m[6]=tmp;tmp=m[5];m[5]=m[7];m[7]=tmp;return this}getNormalMatrix(matrix4){return this.setFromMatrix4(matrix4).invert().transpose()}transposeIntoArray(r){const m=this.elements;r[0]=m[0];r[1]=m[3];r[2]=m[6];r[3]=m[1];r[4]=m[4];r[5]=m[7];r[6]=m[2];r[7]=m[5];r[8]=m[8];return this}setUvTransform(tx,ty,sx,sy,rotation,cx,cy){const c=Math.cos(rotation);const s=Math.sin(rotation);this.set(sx*c,sx*s,-sx*(c*cx+s*cy)+cx+tx,-sy*s,sy*c,-sy*(-s*cx+c*cy)+cy+ty,0,0,1);return this}scale(sx,sy){this.premultiply(_m3.makeScale(sx,sy));return this}rotate(theta){this.premultiply(_m3.makeRotation(-theta));return this}translate(tx,ty){this.premultiply(_m3.makeTranslation(tx,ty));return this}makeTranslation(x,y){if(x.isVector2){this.set(1,0,x.x,0,1,x.y,0,0,1)}else{this.set(1,0,x,0,1,y,0,0,1)}return this}makeRotation(theta){const c=Math.cos(theta);const s=Math.sin(theta);this.set(c,-s,0,s,c,0,0,0,1);return this}makeScale(x,y){this.set(x,0,0,0,y,0,0,0,1);return this}equals(matrix){const te=this.elements;const me=matrix.elements;for(let i=0;i&lt;9;i++){if(te[i]!==me[i])return false}return true}fromArray(array,offset=0){for(let i=0;i&lt;9;i++){this.elements[i]=array[i+offset]}return this}toArray(array=[],offset=0){const te=this.elements;array[offset]=te[0];array[offset+1]=te[1];array[offset+2]=te[2];array[offset+3]=te[3];array[offset+4]=te[4];array[offset+5]=te[5];array[offset+6]=te[6];array[offset+7]=te[7];array[offset+8]=te[8];return array}clone(){return new this.constructor().fromArray(this.elements)}}const _m3=new Matrix3;function arrayNeedsUint32(array){for(let i=array.length-1;i&gt;=0;--i){if(array[i]&gt;=65535)return true}return false}const TYPED_ARRAYS={Int8Array:Int8Array,Uint8Array:Uint8Array,Uint8ClampedArray:Uint8ClampedArray,Int16Array:Int16Array,Uint16Array:Uint16Array,Int32Array:Int32Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array};function getTypedArray(type,buffer){return new TYPED_ARRAYS[type](buffer)}function createElementNS(name){return document.createElementNS("http://www.w3.org/1999/xhtml",name)}function createCanvasElement(){const canvas=createElementNS("canvas");canvas.style.display="block";return canvas}const _cache={};function warnOnce(message){if(message in _cache)return;_cache[message]=true;console.warn(message)}const LINEAR_SRGB_TO_LINEAR_DISPLAY_P3=new Matrix3().set(0.8224621,0.177538,0,0.0331941,0.9668058,0,0.0170827,0.0723974,0.9105199);const LINEAR_DISPLAY_P3_TO_LINEAR_SRGB=new Matrix3().set(1.2249401,-0.2249404,0,-0.0420569,1.0420571,0,-0.0196376,-0.0786361,1.0982735);const COLOR_SPACES={[LinearSRGBColorSpace]:{transfer:LinearTransfer,primaries:Rec709Primaries,toReference:color=&gt;color,fromReference:color=&gt;color},[SRGBColorSpace]:{transfer:SRGBTransfer,primaries:Rec709Primaries,toReference:color=&gt;color.convertSRGBToLinear(),fromReference:color=&gt;color.convertLinearToSRGB()},[LinearDisplayP3ColorSpace]:{transfer:LinearTransfer,primaries:P3Primaries,toReference:color=&gt;color.applyMatrix3(LINEAR_DISPLAY_P3_TO_LINEAR_SRGB),fromReference:color=&gt;color.applyMatrix3(LINEAR_SRGB_TO_LINEAR_DISPLAY_P3)},[DisplayP3ColorSpace]:{transfer:SRGBTransfer,primaries:P3Primaries,toReference:color=&gt;color.convertSRGBToLinear().applyMatrix3(LINEAR_DISPLAY_P3_TO_LINEAR_SRGB),fromReference:color=&gt;color.applyMatrix3(LINEAR_SRGB_TO_LINEAR_DISPLAY_P3).convertLinearToSRGB()}};const SUPPORTED_WORKING_COLOR_SPACES=new Set([LinearSRGBColorSpace,LinearDisplayP3ColorSpace]);const ColorManagement={enabled:true,_workingColorSpace:LinearSRGBColorSpace,get workingColorSpace(){return this._workingColorSpace},set workingColorSpace(colorSpace){if(!SUPPORTED_WORKING_COLOR_SPACES.has(colorSpace)){throw new Error(`Unsupported working color space, "${colorSpace}".`)}this._workingColorSpace=colorSpace},convert:function(color,sourceColorSpace,targetColorSpace){if(this.enabled===false||sourceColorSpace===targetColorSpace||!sourceColorSpace||!targetColorSpace){return color}const sourceToReference=COLOR_SPACES[sourceColorSpace].toReference;const targetFromReference=COLOR_SPACES[targetColorSpace].fromReference;return targetFromReference(sourceToReference(color))},fromWorkingColorSpace:function(color,targetColorSpace){return this.convert(color,this._workingColorSpace,targetColorSpace)},toWorkingColorSpace:function(color,sourceColorSpace){return this.convert(color,sourceColorSpace,this._workingColorSpace)},getPrimaries:function(colorSpace){return COLOR_SPACES[colorSpace].primaries},getTransfer:function(colorSpace){if(colorSpace===NoColorSpace)return LinearTransfer;return COLOR_SPACES[colorSpace].transfer}};function SRGBToLinear(c){return c&lt;0.04045?c*0.0773993808:Math.pow(c*0.9478672986+0.0521327014,2.4)}function LinearToSRGB(c){return c&lt;0.0031308?c*12.92:1.055*Math.pow(c,0.41666)-0.055}let _canvas;class ImageUtils{static getDataURL(image){if(/^data:/i.test(image.src)){return image.src}if(typeof HTMLCanvasElement==="undefined"){return image.src}let canvas;if(image instanceof HTMLCanvasElement){canvas=image}else{if(_canvas===undefined)_canvas=createElementNS("canvas");_canvas.width=image.width;_canvas.height=image.height;const context=_canvas.getContext("2d");if(image instanceof ImageData){context.putImageData(image,0,0)}else{context.drawImage(image,0,0,image.width,image.height)}canvas=_canvas}if(canvas.width&gt;2048||canvas.height&gt;2048){console.warn("THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons",image);return canvas.toDataURL("image/jpeg",0.6)}else{return canvas.toDataURL("image/png")}}static sRGBToLinear(image){if(typeof HTMLImageElement!=="undefined"&amp;&amp;image instanceof HTMLImageElement||typeof HTMLCanvasElement!=="undefined"&amp;&amp;image instanceof HTMLCanvasElement||typeof ImageBitmap!=="undefined"&amp;&amp;image instanceof ImageBitmap){const canvas=createElementNS("canvas");canvas.width=image.width;canvas.height=image.height;const context=canvas.getContext("2d");context.drawImage(image,0,0,image.width,image.height);const imageData=context.getImageData(0,0,image.width,image.height);const data=imageData.data;for(let i=0;i&lt;data.length;i++){data[i]=SRGBToLinear(data[i]/255)*255}context.putImageData(imageData,0,0);return canvas}else if(image.data){const data=image.data.slice(0);for(let i=0;i&lt;data.length;i++){if(data instanceof Uint8Array||data instanceof Uint8ClampedArray){data[i]=Math.floor(SRGBToLinear(data[i]/255)*255)}else{data[i]=SRGBToLinear(data[i])}}return{data:data,width:image.width,height:image.height}}else{console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.");return image}}}let _sourceId=0;class Source{constructor(data=null){this.isSource=true;Object.defineProperty(this,"id",{value:_sourceId++});this.uuid=generateUUID();this.data=data;this.dataReady=true;this.version=0}set needsUpdate(value){if(value===true)this.version++}toJSON(meta){const isRootObject=meta===undefined||typeof meta==="string";if(!isRootObject&amp;&amp;meta.images[this.uuid]!==undefined){return meta.images[this.uuid]}const output={uuid:this.uuid,url:""};const data=this.data;if(data!==null){let url;if(Array.isArray(data)){url=[];for(let i=0,l=data.length;i&lt;l;i++){if(data[i].isDataTexture){url.push(serializeImage(data[i].image))}else{url.push(serializeImage(data[i]))}}}else{url=serializeImage(data)}output.url=url}if(!isRootObject){meta.images[this.uuid]=output}return output}}function serializeImage(image){if(typeof HTMLImageElement!=="undefined"&amp;&amp;image instanceof HTMLImageElement||typeof HTMLCanvasElement!=="undefined"&amp;&amp;image instanceof HTMLCanvasElement||typeof ImageBitmap!=="undefined"&amp;&amp;image instanceof ImageBitmap){return ImageUtils.getDataURL(image)}else{if(image.data){return{data:Array.from(image.data),width:image.width,height:image.height,type:image.data.constructor.name}}else{console.warn("THREE.Texture: Unable to serialize Texture.");return{}}}}let _textureId=0;class Texture extends EventDispatcher{constructor(image=Texture.DEFAULT_IMAGE,mapping=Texture.DEFAULT_MAPPING,wrapS=ClampToEdgeWrapping,wrapT=ClampToEdgeWrapping,magFilter=LinearFilter,minFilter=LinearMipmapLinearFilter,format=RGBAFormat,type=UnsignedByteType,anisotropy=Texture.DEFAULT_ANISOTROPY,colorSpace=NoColorSpace){super();this.isTexture=true;Object.defineProperty(this,"id",{value:_textureId++});this.uuid=generateUUID();this.name="";this.source=new Source(image);this.mipmaps=[];this.mapping=mapping;this.channel=0;this.wrapS=wrapS;this.wrapT=wrapT;this.magFilter=magFilter;this.minFilter=minFilter;this.anisotropy=anisotropy;this.format=format;this.internalFormat=null;this.type=type;this.offset=new Vector2(0,0);this.repeat=new Vector2(1,1);this.center=new Vector2(0,0);this.rotation=0;this.matrixAutoUpdate=true;this.matrix=new Matrix3;this.generateMipmaps=true;this.premultiplyAlpha=false;this.flipY=true;this.unpackAlignment=4;this.colorSpace=colorSpace;this.userData={};this.version=0;this.onUpdate=null;this.isRenderTargetTexture=false;this.pmremVersion=0}get image(){return this.source.data}set image(value=null){this.source.data=value}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}clone(){return new this.constructor().copy(this)}copy(source){this.name=source.name;this.source=source.source;this.mipmaps=source.mipmaps.slice(0);this.mapping=source.mapping;this.channel=source.channel;this.wrapS=source.wrapS;this.wrapT=source.wrapT;this.magFilter=source.magFilter;this.minFilter=source.minFilter;this.anisotropy=source.anisotropy;this.format=source.format;this.internalFormat=source.internalFormat;this.type=source.type;this.offset.copy(source.offset);this.repeat.copy(source.repeat);this.center.copy(source.center);this.rotation=source.rotation;this.matrixAutoUpdate=source.matrixAutoUpdate;this.matrix.copy(source.matrix);this.generateMipmaps=source.generateMipmaps;this.premultiplyAlpha=source.premultiplyAlpha;this.flipY=source.flipY;this.unpackAlignment=source.unpackAlignment;this.colorSpace=source.colorSpace;this.userData=JSON.parse(JSON.stringify(source.userData));this.needsUpdate=true;return this}toJSON(meta){const isRootObject=meta===undefined||typeof meta==="string";if(!isRootObject&amp;&amp;meta.textures[this.uuid]!==undefined){return meta.textures[this.uuid]}const output={metadata:{version:4.6,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(meta).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};if(Object.keys(this.userData).length&gt;0)output.userData=this.userData;if(!isRootObject){meta.textures[this.uuid]=output}return output}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(uv){if(this.mapping!==UVMapping)return uv;uv.applyMatrix3(this.matrix);if(uv.x&lt;0||uv.x&gt;1){switch(this.wrapS){case RepeatWrapping:uv.x=uv.x-Math.floor(uv.x);break;case ClampToEdgeWrapping:uv.x=uv.x&lt;0?0:1;break;case MirroredRepeatWrapping:if(Math.abs(Math.floor(uv.x)%2)===1){uv.x=Math.ceil(uv.x)-uv.x}else{uv.x=uv.x-Math.floor(uv.x)}break;}}if(uv.y&lt;0||uv.y&gt;1){switch(this.wrapT){case RepeatWrapping:uv.y=uv.y-Math.floor(uv.y);break;case ClampToEdgeWrapping:uv.y=uv.y&lt;0?0:1;break;case MirroredRepeatWrapping:if(Math.abs(Math.floor(uv.y)%2)===1){uv.y=Math.ceil(uv.y)-uv.y}else{uv.y=uv.y-Math.floor(uv.y)}break;}}if(this.flipY){uv.y=1-uv.y}return uv}set needsUpdate(value){if(value===true){this.version++;this.source.needsUpdate=true}}set needsPMREMUpdate(value){if(value===true){this.pmremVersion++}}}Texture.DEFAULT_IMAGE=null;Texture.DEFAULT_MAPPING=UVMapping;Texture.DEFAULT_ANISOTROPY=1;class Vector4{constructor(x=0,y=0,z=0,w=1){Vector4.prototype.isVector4=true;this.x=x;this.y=y;this.z=z;this.w=w}get width(){return this.z}set width(value){this.z=value}get height(){return this.w}set height(value){this.w=value}set(x,y,z,w){this.x=x;this.y=y;this.z=z;this.w=w;return this}setScalar(scalar){this.x=scalar;this.y=scalar;this.z=scalar;this.w=scalar;return this}setX(x){this.x=x;return this}setY(y){this.y=y;return this}setZ(z){this.z=z;return this}setW(w){this.w=w;return this}setComponent(index,value){switch(index){case 0:this.x=value;break;case 1:this.y=value;break;case 2:this.z=value;break;case 3:this.w=value;break;default:throw new Error("index is out of range: "+index);}return this}getComponent(index){switch(index){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+index);}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(v){this.x=v.x;this.y=v.y;this.z=v.z;this.w=v.w!==undefined?v.w:1;return this}add(v){this.x+=v.x;this.y+=v.y;this.z+=v.z;this.w+=v.w;return this}addScalar(s){this.x+=s;this.y+=s;this.z+=s;this.w+=s;return this}addVectors(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(v,s){this.x+=v.x*s;this.y+=v.y*s;this.z+=v.z*s;this.w+=v.w*s;return this}sub(v){this.x-=v.x;this.y-=v.y;this.z-=v.z;this.w-=v.w;return this}subScalar(s){this.x-=s;this.y-=s;this.z-=s;this.w-=s;return this}subVectors(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}multiply(v){this.x*=v.x;this.y*=v.y;this.z*=v.z;this.w*=v.w;return this}multiplyScalar(scalar){this.x*=scalar;this.y*=scalar;this.z*=scalar;this.w*=scalar;return this}applyMatrix4(m){const x=this.x,y=this.y,z=this.z,w=this.w;const e=m.elements;this.x=e[0]*x+e[4]*y+e[8]*z+e[12]*w;this.y=e[1]*x+e[5]*y+e[9]*z+e[13]*w;this.z=e[2]*x+e[6]*y+e[10]*z+e[14]*w;this.w=e[3]*x+e[7]*y+e[11]*z+e[15]*w;return this}divideScalar(scalar){return this.multiplyScalar(1/scalar)}setAxisAngleFromQuaternion(q){this.w=2*Math.acos(q.w);const s=Math.sqrt(1-q.w*q.w);if(s&lt;0.0001){this.x=1;this.y=0;this.z=0}else{this.x=q.x/s;this.y=q.y/s;this.z=q.z/s}return this}setAxisAngleFromRotationMatrix(m){let angle,x,y,z;const epsilon=0.01,epsilon2=0.1,te=m.elements,m11=te[0],m12=te[4],m13=te[8],m21=te[1],m22=te[5],m23=te[9],m31=te[2],m32=te[6],m33=te[10];if(Math.abs(m12-m21)&lt;epsilon&amp;&amp;Math.abs(m13-m31)&lt;epsilon&amp;&amp;Math.abs(m23-m32)&lt;epsilon){if(Math.abs(m12+m21)&lt;epsilon2&amp;&amp;Math.abs(m13+m31)&lt;epsilon2&amp;&amp;Math.abs(m23+m32)&lt;epsilon2&amp;&amp;Math.abs(m11+m22+m33-3)&lt;epsilon2){this.set(1,0,0,0);return this}angle=Math.PI;const xx=(m11+1)/2;const yy=(m22+1)/2;const zz=(m33+1)/2;const xy=(m12+m21)/4;const xz=(m13+m31)/4;const yz=(m23+m32)/4;if(xx&gt;yy&amp;&amp;xx&gt;zz){if(xx&lt;epsilon){x=0;y=0.707106781;z=0.707106781}else{x=Math.sqrt(xx);y=xy/x;z=xz/x}}else if(yy&gt;zz){if(yy&lt;epsilon){x=0.707106781;y=0;z=0.707106781}else{y=Math.sqrt(yy);x=xy/y;z=yz/y}}else{if(zz&lt;epsilon){x=0.707106781;y=0.707106781;z=0}else{z=Math.sqrt(zz);x=xz/z;y=yz/z}}this.set(x,y,z,angle);return this}let s=Math.sqrt((m32-m23)*(m32-m23)+(m13-m31)*(m13-m31)+(m21-m12)*(m21-m12));if(Math.abs(s)&lt;0.001)s=1;this.x=(m32-m23)/s;this.y=(m13-m31)/s;this.z=(m21-m12)/s;this.w=Math.acos((m11+m22+m33-1)/2);return this}min(v){this.x=Math.min(this.x,v.x);this.y=Math.min(this.y,v.y);this.z=Math.min(this.z,v.z);this.w=Math.min(this.w,v.w);return this}max(v){this.x=Math.max(this.x,v.x);this.y=Math.max(this.y,v.y);this.z=Math.max(this.z,v.z);this.w=Math.max(this.w,v.w);return this}clamp(min,max){this.x=Math.max(min.x,Math.min(max.x,this.x));this.y=Math.max(min.y,Math.min(max.y,this.y));this.z=Math.max(min.z,Math.min(max.z,this.z));this.w=Math.max(min.w,Math.min(max.w,this.w));return this}clampScalar(minVal,maxVal){this.x=Math.max(minVal,Math.min(maxVal,this.x));this.y=Math.max(minVal,Math.min(maxVal,this.y));this.z=Math.max(minVal,Math.min(maxVal,this.z));this.w=Math.max(minVal,Math.min(maxVal,this.w));return this}clampLength(min,max){const length=this.length();return this.divideScalar(length||1).multiplyScalar(Math.max(min,Math.min(max,length)))}floor(){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(){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(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);this.w=Math.round(this.w);return this}roundToZero(){this.x=Math.trunc(this.x);this.y=Math.trunc(this.y);this.z=Math.trunc(this.z);this.w=Math.trunc(this.w);return this}negate(){this.x=-this.x;this.y=-this.y;this.z=-this.z;this.w=-this.w;return this}dot(v){return this.x*v.x+this.y*v.y+this.z*v.z+this.w*v.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(length){return this.normalize().multiplyScalar(length)}lerp(v,alpha){this.x+=(v.x-this.x)*alpha;this.y+=(v.y-this.y)*alpha;this.z+=(v.z-this.z)*alpha;this.w+=(v.w-this.w)*alpha;return this}lerpVectors(v1,v2,alpha){this.x=v1.x+(v2.x-v1.x)*alpha;this.y=v1.y+(v2.y-v1.y)*alpha;this.z=v1.z+(v2.z-v1.z)*alpha;this.w=v1.w+(v2.w-v1.w)*alpha;return this}equals(v){return v.x===this.x&amp;&amp;v.y===this.y&amp;&amp;v.z===this.z&amp;&amp;v.w===this.w}fromArray(array,offset=0){this.x=array[offset];this.y=array[offset+1];this.z=array[offset+2];this.w=array[offset+3];return this}toArray(array=[],offset=0){array[offset]=this.x;array[offset+1]=this.y;array[offset+2]=this.z;array[offset+3]=this.w;return array}fromBufferAttribute(attribute,index){this.x=attribute.getX(index);this.y=attribute.getY(index);this.z=attribute.getZ(index);this.w=attribute.getW(index);return this}random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this}*[Symbol.iterator](){yield this.x;yield this.y;yield this.z;yield this.w}}class RenderTarget extends EventDispatcher{constructor(width=1,height=1,options={}){super();this.isRenderTarget=true;this.width=width;this.height=height;this.depth=1;this.scissor=new Vector4(0,0,width,height);this.scissorTest=false;this.viewport=new Vector4(0,0,width,height);const image={width:width,height:height,depth:1};options=Object.assign({generateMipmaps:false,internalFormat:null,minFilter:LinearFilter,depthBuffer:true,stencilBuffer:false,depthTexture:null,samples:0,count:1},options);const texture=new Texture(image,options.mapping,options.wrapS,options.wrapT,options.magFilter,options.minFilter,options.format,options.type,options.anisotropy,options.colorSpace);texture.flipY=false;texture.generateMipmaps=options.generateMipmaps;texture.internalFormat=options.internalFormat;this.textures=[];const count=options.count;for(let i=0;i&lt;count;i++){this.textures[i]=texture.clone();this.textures[i].isRenderTargetTexture=true}this.depthBuffer=options.depthBuffer;this.stencilBuffer=options.stencilBuffer;this.depthTexture=options.depthTexture;this.samples=options.samples}get texture(){return this.textures[0]}set texture(value){this.textures[0]=value}setSize(width,height,depth=1){if(this.width!==width||this.height!==height||this.depth!==depth){this.width=width;this.height=height;this.depth=depth;for(let i=0,il=this.textures.length;i&lt;il;i++){this.textures[i].image.width=width;this.textures[i].image.height=height;this.textures[i].image.depth=depth}this.dispose()}this.viewport.set(0,0,width,height);this.scissor.set(0,0,width,height)}clone(){return new this.constructor().copy(this)}copy(source){this.width=source.width;this.height=source.height;this.depth=source.depth;this.scissor.copy(source.scissor);this.scissorTest=source.scissorTest;this.viewport.copy(source.viewport);this.textures.length=0;for(let i=0,il=source.textures.length;i&lt;il;i++){this.textures[i]=source.textures[i].clone();this.textures[i].isRenderTargetTexture=true}const image=Object.assign({},source.texture.image);this.texture.source=new Source(image);this.depthBuffer=source.depthBuffer;this.stencilBuffer=source.stencilBuffer;if(source.depthTexture!==null)this.depthTexture=source.depthTexture.clone();this.samples=source.samples;return this}dispose(){this.dispatchEvent({type:"dispose"})}}class WebGLRenderTarget extends RenderTarget{constructor(width=1,height=1,options={}){super(width,height,options);this.isWebGLRenderTarget=true}}class DataArrayTexture extends Texture{constructor(data=null,width=1,height=1,depth=1){super(null);this.isDataArrayTexture=true;this.image={data,width,height,depth};this.magFilter=NearestFilter;this.minFilter=NearestFilter;this.wrapR=ClampToEdgeWrapping;this.generateMipmaps=false;this.flipY=false;this.unpackAlignment=1}}class WebGLArrayRenderTarget extends WebGLRenderTarget{constructor(width=1,height=1,depth=1,options={}){super(width,height,options);this.isWebGLArrayRenderTarget=true;this.depth=depth;this.texture=new DataArrayTexture(null,width,height,depth);this.texture.isRenderTargetTexture=true}}class Data3DTexture extends Texture{constructor(data=null,width=1,height=1,depth=1){super(null);this.isData3DTexture=true;this.image={data,width,height,depth};this.magFilter=NearestFilter;this.minFilter=NearestFilter;this.wrapR=ClampToEdgeWrapping;this.generateMipmaps=false;this.flipY=false;this.unpackAlignment=1}}class WebGL3DRenderTarget extends WebGLRenderTarget{constructor(width=1,height=1,depth=1,options={}){super(width,height,options);this.isWebGL3DRenderTarget=true;this.depth=depth;this.texture=new Data3DTexture(null,width,height,depth);this.texture.isRenderTargetTexture=true}}class Quaternion{constructor(x=0,y=0,z=0,w=1){this.isQuaternion=true;this._x=x;this._y=y;this._z=z;this._w=w}static slerpFlat(dst,dstOffset,src0,srcOffset0,src1,srcOffset1,t){let x0=src0[srcOffset0+0],y0=src0[srcOffset0+1],z0=src0[srcOffset0+2],w0=src0[srcOffset0+3];const x1=src1[srcOffset1+0],y1=src1[srcOffset1+1],z1=src1[srcOffset1+2],w1=src1[srcOffset1+3];if(t===0){dst[dstOffset+0]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0;return}if(t===1){dst[dstOffset+0]=x1;dst[dstOffset+1]=y1;dst[dstOffset+2]=z1;dst[dstOffset+3]=w1;return}if(w0!==w1||x0!==x1||y0!==y1||z0!==z1){let s=1-t;const cos=x0*x1+y0*y1+z0*z1+w0*w1,dir=cos&gt;=0?1:-1,sqrSin=1-cos*cos;if(sqrSin&gt;Number.EPSILON){const sin=Math.sqrt(sqrSin),len=Math.atan2(sin,cos*dir);s=Math.sin(s*len)/sin;t=Math.sin(t*len)/sin}const tDir=t*dir;x0=x0*s+x1*tDir;y0=y0*s+y1*tDir;z0=z0*s+z1*tDir;w0=w0*s+w1*tDir;if(s===1-t){const f=1/Math.sqrt(x0*x0+y0*y0+z0*z0+w0*w0);x0*=f;y0*=f;z0*=f;w0*=f}}dst[dstOffset]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0}static multiplyQuaternionsFlat(dst,dstOffset,src0,srcOffset0,src1,srcOffset1){const x0=src0[srcOffset0];const y0=src0[srcOffset0+1];const z0=src0[srcOffset0+2];const w0=src0[srcOffset0+3];const x1=src1[srcOffset1];const y1=src1[srcOffset1+1];const z1=src1[srcOffset1+2];const w1=src1[srcOffset1+3];dst[dstOffset]=x0*w1+w0*x1+y0*z1-z0*y1;dst[dstOffset+1]=y0*w1+w0*y1+z0*x1-x0*z1;dst[dstOffset+2]=z0*w1+w0*z1+x0*y1-y0*x1;dst[dstOffset+3]=w0*w1-x0*x1-y0*y1-z0*z1;return dst}get x(){return this._x}set x(value){this._x=value;this._onChangeCallback()}get y(){return this._y}set y(value){this._y=value;this._onChangeCallback()}get z(){return this._z}set z(value){this._z=value;this._onChangeCallback()}get w(){return this._w}set w(value){this._w=value;this._onChangeCallback()}set(x,y,z,w){this._x=x;this._y=y;this._z=z;this._w=w;this._onChangeCallback();return this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(quaternion){this._x=quaternion.x;this._y=quaternion.y;this._z=quaternion.z;this._w=quaternion.w;this._onChangeCallback();return this}setFromEuler(euler,update=true){const x=euler._x,y=euler._y,z=euler._z,order=euler._order;const cos=Math.cos;const sin=Math.sin;const c1=cos(x/2);const c2=cos(y/2);const c3=cos(z/2);const s1=sin(x/2);const s2=sin(y/2);const s3=sin(z/2);switch(order){case"XYZ":this._x=s1*c2*c3+c1*s2*s3;this._y=c1*s2*c3-s1*c2*s3;this._z=c1*c2*s3+s1*s2*c3;this._w=c1*c2*c3-s1*s2*s3;break;case"YXZ":this._x=s1*c2*c3+c1*s2*s3;this._y=c1*s2*c3-s1*c2*s3;this._z=c1*c2*s3-s1*s2*c3;this._w=c1*c2*c3+s1*s2*s3;break;case"ZXY":this._x=s1*c2*c3-c1*s2*s3;this._y=c1*s2*c3+s1*c2*s3;this._z=c1*c2*s3+s1*s2*c3;this._w=c1*c2*c3-s1*s2*s3;break;case"ZYX":this._x=s1*c2*c3-c1*s2*s3;this._y=c1*s2*c3+s1*c2*s3;this._z=c1*c2*s3-s1*s2*c3;this._w=c1*c2*c3+s1*s2*s3;break;case"YZX":this._x=s1*c2*c3+c1*s2*s3;this._y=c1*s2*c3+s1*c2*s3;this._z=c1*c2*s3-s1*s2*c3;this._w=c1*c2*c3-s1*s2*s3;break;case"XZY":this._x=s1*c2*c3-c1*s2*s3;this._y=c1*s2*c3-s1*c2*s3;this._z=c1*c2*s3+s1*s2*c3;this._w=c1*c2*c3+s1*s2*s3;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+order);}if(update===true)this._onChangeCallback();return this}setFromAxisAngle(axis,angle){const halfAngle=angle/2,s=Math.sin(halfAngle);this._x=axis.x*s;this._y=axis.y*s;this._z=axis.z*s;this._w=Math.cos(halfAngle);this._onChangeCallback();return this}setFromRotationMatrix(m){const te=m.elements,m11=te[0],m12=te[4],m13=te[8],m21=te[1],m22=te[5],m23=te[9],m31=te[2],m32=te[6],m33=te[10],trace=m11+m22+m33;if(trace&gt;0){const s=0.5/Math.sqrt(trace+1);this._w=0.25/s;this._x=(m32-m23)*s;this._y=(m13-m31)*s;this._z=(m21-m12)*s}else if(m11&gt;m22&amp;&amp;m11&gt;m33){const s=2*Math.sqrt(1+m11-m22-m33);this._w=(m32-m23)/s;this._x=0.25*s;this._y=(m12+m21)/s;this._z=(m13+m31)/s}else if(m22&gt;m33){const s=2*Math.sqrt(1+m22-m11-m33);this._w=(m13-m31)/s;this._x=(m12+m21)/s;this._y=0.25*s;this._z=(m23+m32)/s}else{const s=2*Math.sqrt(1+m33-m11-m22);this._w=(m21-m12)/s;this._x=(m13+m31)/s;this._y=(m23+m32)/s;this._z=0.25*s}this._onChangeCallback();return this}setFromUnitVectors(vFrom,vTo){let r=vFrom.dot(vTo)+1;if(r&lt;Number.EPSILON){r=0;if(Math.abs(vFrom.x)&gt;Math.abs(vFrom.z)){this._x=-vFrom.y;this._y=vFrom.x;this._z=0;this._w=r}else{this._x=0;this._y=-vFrom.z;this._z=vFrom.y;this._w=r}}else{this._x=vFrom.y*vTo.z-vFrom.z*vTo.y;this._y=vFrom.z*vTo.x-vFrom.x*vTo.z;this._z=vFrom.x*vTo.y-vFrom.y*vTo.x;this._w=r}return this.normalize()}angleTo(q){return 2*Math.acos(Math.abs(clamp(this.dot(q),-1,1)))}rotateTowards(q,step){const angle=this.angleTo(q);if(angle===0)return this;const t=Math.min(1,step/angle);this.slerp(q,t);return this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){this._x*=-1;this._y*=-1;this._z*=-1;this._onChangeCallback();return this}dot(v){return this._x*v._x+this._y*v._y+this._z*v._z+this._w*v._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let l=this.length();if(l===0){this._x=0;this._y=0;this._z=0;this._w=1}else{l=1/l;this._x=this._x*l;this._y=this._y*l;this._z=this._z*l;this._w=this._w*l}this._onChangeCallback();return this}multiply(q){return this.multiplyQuaternions(this,q)}premultiply(q){return this.multiplyQuaternions(q,this)}multiplyQuaternions(a,b){const qax=a._x,qay=a._y,qaz=a._z,qaw=a._w;const qbx=b._x,qby=b._y,qbz=b._z,qbw=b._w;this._x=qax*qbw+qaw*qbx+qay*qbz-qaz*qby;this._y=qay*qbw+qaw*qby+qaz*qbx-qax*qbz;this._z=qaz*qbw+qaw*qbz+qax*qby-qay*qbx;this._w=qaw*qbw-qax*qbx-qay*qby-qaz*qbz;this._onChangeCallback();return this}slerp(qb,t){if(t===0)return this;if(t===1)return this.copy(qb);const x=this._x,y=this._y,z=this._z,w=this._w;let cosHalfTheta=w*qb._w+x*qb._x+y*qb._y+z*qb._z;if(cosHalfTheta&lt;0){this._w=-qb._w;this._x=-qb._x;this._y=-qb._y;this._z=-qb._z;cosHalfTheta=-cosHalfTheta}else{this.copy(qb)}if(cosHalfTheta&gt;=1){this._w=w;this._x=x;this._y=y;this._z=z;return this}const sqrSinHalfTheta=1-cosHalfTheta*cosHalfTheta;if(sqrSinHalfTheta&lt;=Number.EPSILON){const s=1-t;this._w=s*w+t*this._w;this._x=s*x+t*this._x;this._y=s*y+t*this._y;this._z=s*z+t*this._z;this.normalize();return this}const sinHalfTheta=Math.sqrt(sqrSinHalfTheta);const halfTheta=Math.atan2(sinHalfTheta,cosHalfTheta);const ratioA=Math.sin((1-t)*halfTheta)/sinHalfTheta,ratioB=Math.sin(t*halfTheta)/sinHalfTheta;this._w=w*ratioA+this._w*ratioB;this._x=x*ratioA+this._x*ratioB;this._y=y*ratioA+this._y*ratioB;this._z=z*ratioA+this._z*ratioB;this._onChangeCallback();return this}slerpQuaternions(qa,qb,t){return this.copy(qa).slerp(qb,t)}random(){const theta1=2*Math.PI*Math.random();const theta2=2*Math.PI*Math.random();const x0=Math.random();const r1=Math.sqrt(1-x0);const r2=Math.sqrt(x0);return this.set(r1*Math.sin(theta1),r1*Math.cos(theta1),r2*Math.sin(theta2),r2*Math.cos(theta2))}equals(quaternion){return quaternion._x===this._x&amp;&amp;quaternion._y===this._y&amp;&amp;quaternion._z===this._z&amp;&amp;quaternion._w===this._w}fromArray(array,offset=0){this._x=array[offset];this._y=array[offset+1];this._z=array[offset+2];this._w=array[offset+3];this._onChangeCallback();return this}toArray(array=[],offset=0){array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._w;return array}fromBufferAttribute(attribute,index){this._x=attribute.getX(index);this._y=attribute.getY(index);this._z=attribute.getZ(index);this._w=attribute.getW(index);this._onChangeCallback();return this}toJSON(){return this.toArray()}_onChange(callback){this._onChangeCallback=callback;return this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x;yield this._y;yield this._z;yield this._w}}class Vector3{constructor(x=0,y=0,z=0){Vector3.prototype.isVector3=true;this.x=x;this.y=y;this.z=z}set(x,y,z){if(z===undefined)z=this.z;this.x=x;this.y=y;this.z=z;return this}setScalar(scalar){this.x=scalar;this.y=scalar;this.z=scalar;return this}setX(x){this.x=x;return this}setY(y){this.y=y;return this}setZ(z){this.z=z;return this}setComponent(index,value){switch(index){case 0:this.x=value;break;case 1:this.y=value;break;case 2:this.z=value;break;default:throw new Error("index is out of range: "+index);}return this}getComponent(index){switch(index){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+index);}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(v){this.x=v.x;this.y=v.y;this.z=v.z;return this}add(v){this.x+=v.x;this.y+=v.y;this.z+=v.z;return this}addScalar(s){this.x+=s;this.y+=s;this.z+=s;return this}addVectors(a,b){this.x=a.x+b.x;this.y=a.y+b.y;this.z=a.z+b.z;return this}addScaledVector(v,s){this.x+=v.x*s;this.y+=v.y*s;this.z+=v.z*s;return this}sub(v){this.x-=v.x;this.y-=v.y;this.z-=v.z;return this}subScalar(s){this.x-=s;this.y-=s;this.z-=s;return this}subVectors(a,b){this.x=a.x-b.x;this.y=a.y-b.y;this.z=a.z-b.z;return this}multiply(v){this.x*=v.x;this.y*=v.y;this.z*=v.z;return this}multiplyScalar(scalar){this.x*=scalar;this.y*=scalar;this.z*=scalar;return this}multiplyVectors(a,b){this.x=a.x*b.x;this.y=a.y*b.y;this.z=a.z*b.z;return this}applyEuler(euler){return this.applyQuaternion(_quaternion$4.setFromEuler(euler))}applyAxisAngle(axis,angle){return this.applyQuaternion(_quaternion$4.setFromAxisAngle(axis,angle))}applyMatrix3(m){const x=this.x,y=this.y,z=this.z;const e=m.elements;this.x=e[0]*x+e[3]*y+e[6]*z;this.y=e[1]*x+e[4]*y+e[7]*z;this.z=e[2]*x+e[5]*y+e[8]*z;return this}applyNormalMatrix(m){return this.applyMatrix3(m).normalize()}applyMatrix4(m){const x=this.x,y=this.y,z=this.z;const e=m.elements;const w=1/(e[3]*x+e[7]*y+e[11]*z+e[15]);this.x=(e[0]*x+e[4]*y+e[8]*z+e[12])*w;this.y=(e[1]*x+e[5]*y+e[9]*z+e[13])*w;this.z=(e[2]*x+e[6]*y+e[10]*z+e[14])*w;return this}applyQuaternion(q){const vx=this.x,vy=this.y,vz=this.z;const qx=q.x,qy=q.y,qz=q.z,qw=q.w;const tx=2*(qy*vz-qz*vy);const ty=2*(qz*vx-qx*vz);const tz=2*(qx*vy-qy*vx);this.x=vx+qw*tx+qy*tz-qz*ty;this.y=vy+qw*ty+qz*tx-qx*tz;this.z=vz+qw*tz+qx*ty-qy*tx;return this}project(camera){return this.applyMatrix4(camera.matrixWorldInverse).applyMatrix4(camera.projectionMatrix)}unproject(camera){return this.applyMatrix4(camera.projectionMatrixInverse).applyMatrix4(camera.matrixWorld)}transformDirection(m){const x=this.x,y=this.y,z=this.z;const e=m.elements;this.x=e[0]*x+e[4]*y+e[8]*z;this.y=e[1]*x+e[5]*y+e[9]*z;this.z=e[2]*x+e[6]*y+e[10]*z;return this.normalize()}divide(v){this.x/=v.x;this.y/=v.y;this.z/=v.z;return this}divideScalar(scalar){return this.multiplyScalar(1/scalar)}min(v){this.x=Math.min(this.x,v.x);this.y=Math.min(this.y,v.y);this.z=Math.min(this.z,v.z);return this}max(v){this.x=Math.max(this.x,v.x);this.y=Math.max(this.y,v.y);this.z=Math.max(this.z,v.z);return this}clamp(min,max){this.x=Math.max(min.x,Math.min(max.x,this.x));this.y=Math.max(min.y,Math.min(max.y,this.y));this.z=Math.max(min.z,Math.min(max.z,this.z));return this}clampScalar(minVal,maxVal){this.x=Math.max(minVal,Math.min(maxVal,this.x));this.y=Math.max(minVal,Math.min(maxVal,this.y));this.z=Math.max(minVal,Math.min(maxVal,this.z));return this}clampLength(min,max){const length=this.length();return this.divideScalar(length||1).multiplyScalar(Math.max(min,Math.min(max,length)))}floor(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);this.z=Math.floor(this.z);return this}ceil(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);this.z=Math.ceil(this.z);return this}round(){this.x=Math.round(this.x);this.y=Math.round(this.y);this.z=Math.round(this.z);return this}roundToZero(){this.x=Math.trunc(this.x);this.y=Math.trunc(this.y);this.z=Math.trunc(this.z);return this}negate(){this.x=-this.x;this.y=-this.y;this.z=-this.z;return this}dot(v){return this.x*v.x+this.y*v.y+this.z*v.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(length){return this.normalize().multiplyScalar(length)}lerp(v,alpha){this.x+=(v.x-this.x)*alpha;this.y+=(v.y-this.y)*alpha;this.z+=(v.z-this.z)*alpha;return this}lerpVectors(v1,v2,alpha){this.x=v1.x+(v2.x-v1.x)*alpha;this.y=v1.y+(v2.y-v1.y)*alpha;this.z=v1.z+(v2.z-v1.z)*alpha;return this}cross(v){return this.crossVectors(this,v)}crossVectors(a,b){const ax=a.x,ay=a.y,az=a.z;const bx=b.x,by=b.y,bz=b.z;this.x=ay*bz-az*by;this.y=az*bx-ax*bz;this.z=ax*by-ay*bx;return this}projectOnVector(v){const denominator=v.lengthSq();if(denominator===0)return this.set(0,0,0);const scalar=v.dot(this)/denominator;return this.copy(v).multiplyScalar(scalar)}projectOnPlane(planeNormal){_vector$c.copy(this).projectOnVector(planeNormal);return this.sub(_vector$c)}reflect(normal){return this.sub(_vector$c.copy(normal).multiplyScalar(2*this.dot(normal)))}angleTo(v){const denominator=Math.sqrt(this.lengthSq()*v.lengthSq());if(denominator===0)return Math.PI/2;const theta=this.dot(v)/denominator;return Math.acos(clamp(theta,-1,1))}distanceTo(v){return Math.sqrt(this.distanceToSquared(v))}distanceToSquared(v){const dx=this.x-v.x,dy=this.y-v.y,dz=this.z-v.z;return dx*dx+dy*dy+dz*dz}manhattanDistanceTo(v){return Math.abs(this.x-v.x)+Math.abs(this.y-v.y)+Math.abs(this.z-v.z)}setFromSpherical(s){return this.setFromSphericalCoords(s.radius,s.phi,s.theta)}setFromSphericalCoords(radius,phi,theta){const sinPhiRadius=Math.sin(phi)*radius;this.x=sinPhiRadius*Math.sin(theta);this.y=Math.cos(phi)*radius;this.z=sinPhiRadius*Math.cos(theta);return this}setFromCylindrical(c){return this.setFromCylindricalCoords(c.radius,c.theta,c.y)}setFromCylindricalCoords(radius,theta,y){this.x=radius*Math.sin(theta);this.y=y;this.z=radius*Math.cos(theta);return this}setFromMatrixPosition(m){const e=m.elements;this.x=e[12];this.y=e[13];this.z=e[14];return this}setFromMatrixScale(m){const sx=this.setFromMatrixColumn(m,0).length();const sy=this.setFromMatrixColumn(m,1).length();const sz=this.setFromMatrixColumn(m,2).length();this.x=sx;this.y=sy;this.z=sz;return this}setFromMatrixColumn(m,index){return this.fromArray(m.elements,index*4)}setFromMatrix3Column(m,index){return this.fromArray(m.elements,index*3)}setFromEuler(e){this.x=e._x;this.y=e._y;this.z=e._z;return this}setFromColor(c){this.x=c.r;this.y=c.g;this.z=c.b;return this}equals(v){return v.x===this.x&amp;&amp;v.y===this.y&amp;&amp;v.z===this.z}fromArray(array,offset=0){this.x=array[offset];this.y=array[offset+1];this.z=array[offset+2];return this}toArray(array=[],offset=0){array[offset]=this.x;array[offset+1]=this.y;array[offset+2]=this.z;return array}fromBufferAttribute(attribute,index){this.x=attribute.getX(index);this.y=attribute.getY(index);this.z=attribute.getZ(index);return this}random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();return this}randomDirection(){const theta=Math.random()*Math.PI*2;const u=Math.random()*2-1;const c=Math.sqrt(1-u*u);this.x=c*Math.cos(theta);this.y=u;this.z=c*Math.sin(theta);return this}*[Symbol.iterator](){yield this.x;yield this.y;yield this.z}}const _vector$c=new Vector3;const _quaternion$4=new Quaternion;class Box3{constructor(min=new Vector3(+Infinity,+Infinity,+Infinity),max=new Vector3(-Infinity,-Infinity,-Infinity)){this.isBox3=true;this.min=min;this.max=max}set(min,max){this.min.copy(min);this.max.copy(max);return this}setFromArray(array){this.makeEmpty();for(let i=0,il=array.length;i&lt;il;i+=3){this.expandByPoint(_vector$b.fromArray(array,i))}return this}setFromBufferAttribute(attribute){this.makeEmpty();for(let i=0,il=attribute.count;i&lt;il;i++){this.expandByPoint(_vector$b.fromBufferAttribute(attribute,i))}return this}setFromPoints(points){this.makeEmpty();for(let i=0,il=points.length;i&lt;il;i++){this.expandByPoint(points[i])}return this}setFromCenterAndSize(center,size){const halfSize=_vector$b.copy(size).multiplyScalar(0.5);this.min.copy(center).sub(halfSize);this.max.copy(center).add(halfSize);return this}setFromObject(object,precise=false){this.makeEmpty();return this.expandByObject(object,precise)}clone(){return new this.constructor().copy(this)}copy(box){this.min.copy(box.min);this.max.copy(box.max);return this}makeEmpty(){this.min.x=this.min.y=this.min.z=+Infinity;this.max.x=this.max.y=this.max.z=-Infinity;return this}isEmpty(){return this.max.x&lt;this.min.x||this.max.y&lt;this.min.y||this.max.z&lt;this.min.z}getCenter(target){return this.isEmpty()?target.set(0,0,0):target.addVectors(this.min,this.max).multiplyScalar(0.5)}getSize(target){return this.isEmpty()?target.set(0,0,0):target.subVectors(this.max,this.min)}expandByPoint(point){this.min.min(point);this.max.max(point);return this}expandByVector(vector){this.min.sub(vector);this.max.add(vector);return this}expandByScalar(scalar){this.min.addScalar(-scalar);this.max.addScalar(scalar);return this}expandByObject(object,precise=false){object.updateWorldMatrix(false,false);const geometry=object.geometry;if(geometry!==undefined){const positionAttribute=geometry.getAttribute("position");if(precise===true&amp;&amp;positionAttribute!==undefined&amp;&amp;object.isInstancedMesh!==true){for(let i=0,l=positionAttribute.count;i&lt;l;i++){if(object.isMesh===true){object.getVertexPosition(i,_vector$b)}else{_vector$b.fromBufferAttribute(positionAttribute,i)}_vector$b.applyMatrix4(object.matrixWorld);this.expandByPoint(_vector$b)}}else{if(object.boundingBox!==undefined){if(object.boundingBox===null){object.computeBoundingBox()}_box$4.copy(object.boundingBox)}else{if(geometry.boundingBox===null){geometry.computeBoundingBox()}_box$4.copy(geometry.boundingBox)}_box$4.applyMatrix4(object.matrixWorld);this.union(_box$4)}}const children=object.children;for(let i=0,l=children.length;i&lt;l;i++){this.expandByObject(children[i],precise)}return this}containsPoint(point){return point.x&lt;this.min.x||point.x&gt;this.max.x||point.y&lt;this.min.y||point.y&gt;this.max.y||point.z&lt;this.min.z||point.z&gt;this.max.z?false:true}containsBox(box){return this.min.x&lt;=box.min.x&amp;&amp;box.max.x&lt;=this.max.x&amp;&amp;this.min.y&lt;=box.min.y&amp;&amp;box.max.y&lt;=this.max.y&amp;&amp;this.min.z&lt;=box.min.z&amp;&amp;box.max.z&lt;=this.max.z}getParameter(point,target){return target.set((point.x-this.min.x)/(this.max.x-this.min.x),(point.y-this.min.y)/(this.max.y-this.min.y),(point.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(box){return box.max.x&lt;this.min.x||box.min.x&gt;this.max.x||box.max.y&lt;this.min.y||box.min.y&gt;this.max.y||box.max.z&lt;this.min.z||box.min.z&gt;this.max.z?false:true}intersectsSphere(sphere){this.clampPoint(sphere.center,_vector$b);return _vector$b.distanceToSquared(sphere.center)&lt;=sphere.radius*sphere.radius}intersectsPlane(plane){let min,max;if(plane.normal.x&gt;0){min=plane.normal.x*this.min.x;max=plane.normal.x*this.max.x}else{min=plane.normal.x*this.max.x;max=plane.normal.x*this.min.x}if(plane.normal.y&gt;0){min+=plane.normal.y*this.min.y;max+=plane.normal.y*this.max.y}else{min+=plane.normal.y*this.max.y;max+=plane.normal.y*this.min.y}if(plane.normal.z&gt;0){min+=plane.normal.z*this.min.z;max+=plane.normal.z*this.max.z}else{min+=plane.normal.z*this.max.z;max+=plane.normal.z*this.min.z}return min&lt;=-plane.constant&amp;&amp;max&gt;=-plane.constant}intersectsTriangle(triangle){if(this.isEmpty()){return false}this.getCenter(_center);_extents.subVectors(this.max,_center);_v0$2.subVectors(triangle.a,_center);_v1$7.subVectors(triangle.b,_center);_v2$4.subVectors(triangle.c,_center);_f0.subVectors(_v1$7,_v0$2);_f1.subVectors(_v2$4,_v1$7);_f2.subVectors(_v0$2,_v2$4);let axes=[0,-_f0.z,_f0.y,0,-_f1.z,_f1.y,0,-_f2.z,_f2.y,_f0.z,0,-_f0.x,_f1.z,0,-_f1.x,_f2.z,0,-_f2.x,-_f0.y,_f0.x,0,-_f1.y,_f1.x,0,-_f2.y,_f2.x,0];if(!satForAxes(axes,_v0$2,_v1$7,_v2$4,_extents)){return false}axes=[1,0,0,0,1,0,0,0,1];if(!satForAxes(axes,_v0$2,_v1$7,_v2$4,_extents)){return false}_triangleNormal.crossVectors(_f0,_f1);axes=[_triangleNormal.x,_triangleNormal.y,_triangleNormal.z];return satForAxes(axes,_v0$2,_v1$7,_v2$4,_extents)}clampPoint(point,target){return target.copy(point).clamp(this.min,this.max)}distanceToPoint(point){return this.clampPoint(point,_vector$b).distanceTo(point)}getBoundingSphere(target){if(this.isEmpty()){target.makeEmpty()}else{this.getCenter(target.center);target.radius=this.getSize(_vector$b).length()*0.5}return target}intersect(box){this.min.max(box.min);this.max.min(box.max);if(this.isEmpty())this.makeEmpty();return this}union(box){this.min.min(box.min);this.max.max(box.max);return this}applyMatrix4(matrix){if(this.isEmpty())return this;_points[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(matrix);_points[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(matrix);_points[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(matrix);_points[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(matrix);_points[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(matrix);_points[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(matrix);_points[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(matrix);_points[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(matrix);this.setFromPoints(_points);return this}translate(offset){this.min.add(offset);this.max.add(offset);return this}equals(box){return box.min.equals(this.min)&amp;&amp;box.max.equals(this.max)}}const _points=[new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3];const _vector$b=new Vector3;const _box$4=new Box3;const _v0$2=new Vector3;const _v1$7=new Vector3;const _v2$4=new Vector3;const _f0=new Vector3;const _f1=new Vector3;const _f2=new Vector3;const _center=new Vector3;const _extents=new Vector3;const _triangleNormal=new Vector3;const _testAxis=new Vector3;function satForAxes(axes,v0,v1,v2,extents){for(let i=0,j=axes.length-3;i&lt;=j;i+=3){_testAxis.fromArray(axes,i);const r=extents.x*Math.abs(_testAxis.x)+extents.y*Math.abs(_testAxis.y)+extents.z*Math.abs(_testAxis.z);const p0=v0.dot(_testAxis);const p1=v1.dot(_testAxis);const p2=v2.dot(_testAxis);if(Math.max(-Math.max(p0,p1,p2),Math.min(p0,p1,p2))&gt;r){return false}}return true}const _box$3=new Box3;const _v1$6=new Vector3;const _v2$3=new Vector3;class Sphere{constructor(center=new Vector3,radius=-1){this.isSphere=true;this.center=center;this.radius=radius}set(center,radius){this.center.copy(center);this.radius=radius;return this}setFromPoints(points,optionalCenter){const center=this.center;if(optionalCenter!==undefined){center.copy(optionalCenter)}else{_box$3.setFromPoints(points).getCenter(center)}let maxRadiusSq=0;for(let i=0,il=points.length;i&lt;il;i++){maxRadiusSq=Math.max(maxRadiusSq,center.distanceToSquared(points[i]))}this.radius=Math.sqrt(maxRadiusSq);return this}copy(sphere){this.center.copy(sphere.center);this.radius=sphere.radius;return this}isEmpty(){return this.radius&lt;0}makeEmpty(){this.center.set(0,0,0);this.radius=-1;return this}containsPoint(point){return point.distanceToSquared(this.center)&lt;=this.radius*this.radius}distanceToPoint(point){return point.distanceTo(this.center)-this.radius}intersectsSphere(sphere){const radiusSum=this.radius+sphere.radius;return sphere.center.distanceToSquared(this.center)&lt;=radiusSum*radiusSum}intersectsBox(box){return box.intersectsSphere(this)}intersectsPlane(plane){return Math.abs(plane.distanceToPoint(this.center))&lt;=this.radius}clampPoint(point,target){const deltaLengthSq=this.center.distanceToSquared(point);target.copy(point);if(deltaLengthSq&gt;this.radius*this.radius){target.sub(this.center).normalize();target.multiplyScalar(this.radius).add(this.center)}return target}getBoundingBox(target){if(this.isEmpty()){target.makeEmpty();return target}target.set(this.center,this.center);target.expandByScalar(this.radius);return target}applyMatrix4(matrix){this.center.applyMatrix4(matrix);this.radius=this.radius*matrix.getMaxScaleOnAxis();return this}translate(offset){this.center.add(offset);return this}expandByPoint(point){if(this.isEmpty()){this.center.copy(point);this.radius=0;return this}_v1$6.subVectors(point,this.center);const lengthSq=_v1$6.lengthSq();if(lengthSq&gt;this.radius*this.radius){const length=Math.sqrt(lengthSq);const delta=(length-this.radius)*0.5;this.center.addScaledVector(_v1$6,delta/length);this.radius+=delta}return this}union(sphere){if(sphere.isEmpty()){return this}if(this.isEmpty()){this.copy(sphere);return this}if(this.center.equals(sphere.center)===true){this.radius=Math.max(this.radius,sphere.radius)}else{_v2$3.subVectors(sphere.center,this.center).setLength(sphere.radius);this.expandByPoint(_v1$6.copy(sphere.center).add(_v2$3));this.expandByPoint(_v1$6.copy(sphere.center).sub(_v2$3))}return this}equals(sphere){return sphere.center.equals(this.center)&amp;&amp;sphere.radius===this.radius}clone(){return new this.constructor().copy(this)}}const _vector$a=new Vector3;const _segCenter=new Vector3;const _segDir=new Vector3;const _diff=new Vector3;const _edge1=new Vector3;const _edge2=new Vector3;const _normal$1=new Vector3;class Ray{constructor(origin=new Vector3,direction=new Vector3(0,0,-1)){this.origin=origin;this.direction=direction}set(origin,direction){this.origin.copy(origin);this.direction.copy(direction);return this}copy(ray){this.origin.copy(ray.origin);this.direction.copy(ray.direction);return this}at(t,target){return target.copy(this.origin).addScaledVector(this.direction,t)}lookAt(v){this.direction.copy(v).sub(this.origin).normalize();return this}recast(t){this.origin.copy(this.at(t,_vector$a));return this}closestPointToPoint(point,target){target.subVectors(point,this.origin);const directionDistance=target.dot(this.direction);if(directionDistance&lt;0){return target.copy(this.origin)}return target.copy(this.origin).addScaledVector(this.direction,directionDistance)}distanceToPoint(point){return Math.sqrt(this.distanceSqToPoint(point))}distanceSqToPoint(point){const directionDistance=_vector$a.subVectors(point,this.origin).dot(this.direction);if(directionDistance&lt;0){return this.origin.distanceToSquared(point)}_vector$a.copy(this.origin).addScaledVector(this.direction,directionDistance);return _vector$a.distanceToSquared(point)}distanceSqToSegment(v0,v1,optionalPointOnRay,optionalPointOnSegment){_segCenter.copy(v0).add(v1).multiplyScalar(0.5);_segDir.copy(v1).sub(v0).normalize();_diff.copy(this.origin).sub(_segCenter);const segExtent=v0.distanceTo(v1)*0.5;const a01=-this.direction.dot(_segDir);const b0=_diff.dot(this.direction);const b1=-_diff.dot(_segDir);const c=_diff.lengthSq();const det=Math.abs(1-a01*a01);let s0,s1,sqrDist,extDet;if(det&gt;0){s0=a01*b1-b0;s1=a01*b0-b1;extDet=segExtent*det;if(s0&gt;=0){if(s1&gt;=-extDet){if(s1&lt;=extDet){const invDet=1/det;s0*=invDet;s1*=invDet;sqrDist=s0*(s0+a01*s1+2*b0)+s1*(a01*s0+s1+2*b1)+c}else{s1=segExtent;s0=Math.max(0,-(a01*s1+b0));sqrDist=-s0*s0+s1*(s1+2*b1)+c}}else{s1=-segExtent;s0=Math.max(0,-(a01*s1+b0));sqrDist=-s0*s0+s1*(s1+2*b1)+c}}else{if(s1&lt;=-extDet){s0=Math.max(0,-(-a01*segExtent+b0));s1=s0&gt;0?-segExtent:Math.min(Math.max(-segExtent,-b1),segExtent);sqrDist=-s0*s0+s1*(s1+2*b1)+c}else if(s1&lt;=extDet){s0=0;s1=Math.min(Math.max(-segExtent,-b1),segExtent);sqrDist=s1*(s1+2*b1)+c}else{s0=Math.max(0,-(a01*segExtent+b0));s1=s0&gt;0?segExtent:Math.min(Math.max(-segExtent,-b1),segExtent);sqrDist=-s0*s0+s1*(s1+2*b1)+c}}}else{s1=a01&gt;0?-segExtent:segExtent;s0=Math.max(0,-(a01*s1+b0));sqrDist=-s0*s0+s1*(s1+2*b1)+c}if(optionalPointOnRay){optionalPointOnRay.copy(this.origin).addScaledVector(this.direction,s0)}if(optionalPointOnSegment){optionalPointOnSegment.copy(_segCenter).addScaledVector(_segDir,s1)}return sqrDist}intersectSphere(sphere,target){_vector$a.subVectors(sphere.center,this.origin);const tca=_vector$a.dot(this.direction);const d2=_vector$a.dot(_vector$a)-tca*tca;const radius2=sphere.radius*sphere.radius;if(d2&gt;radius2)return null;const thc=Math.sqrt(radius2-d2);const t0=tca-thc;const t1=tca+thc;if(t1&lt;0)return null;if(t0&lt;0)return this.at(t1,target);return this.at(t0,target)}intersectsSphere(sphere){return this.distanceSqToPoint(sphere.center)&lt;=sphere.radius*sphere.radius}distanceToPlane(plane){const denominator=plane.normal.dot(this.direction);if(denominator===0){if(plane.distanceToPoint(this.origin)===0){return 0}return null}const t=-(this.origin.dot(plane.normal)+plane.constant)/denominator;return t&gt;=0?t:null}intersectPlane(plane,target){const t=this.distanceToPlane(plane);if(t===null){return null}return this.at(t,target)}intersectsPlane(plane){const distToPoint=plane.distanceToPoint(this.origin);if(distToPoint===0){return true}const denominator=plane.normal.dot(this.direction);if(denominator*distToPoint&lt;0){return true}return false}intersectBox(box,target){let tmin,tmax,tymin,tymax,tzmin,tzmax;const invdirx=1/this.direction.x,invdiry=1/this.direction.y,invdirz=1/this.direction.z;const origin=this.origin;if(invdirx&gt;=0){tmin=(box.min.x-origin.x)*invdirx;tmax=(box.max.x-origin.x)*invdirx}else{tmin=(box.max.x-origin.x)*invdirx;tmax=(box.min.x-origin.x)*invdirx}if(invdiry&gt;=0){tymin=(box.min.y-origin.y)*invdiry;tymax=(box.max.y-origin.y)*invdiry}else{tymin=(box.max.y-origin.y)*invdiry;tymax=(box.min.y-origin.y)*invdiry}if(tmin&gt;tymax||tymin&gt;tmax)return null;if(tymin&gt;tmin||isNaN(tmin))tmin=tymin;if(tymax&lt;tmax||isNaN(tmax))tmax=tymax;if(invdirz&gt;=0){tzmin=(box.min.z-origin.z)*invdirz;tzmax=(box.max.z-origin.z)*invdirz}else{tzmin=(box.max.z-origin.z)*invdirz;tzmax=(box.min.z-origin.z)*invdirz}if(tmin&gt;tzmax||tzmin&gt;tmax)return null;if(tzmin&gt;tmin||tmin!==tmin)tmin=tzmin;if(tzmax&lt;tmax||tmax!==tmax)tmax=tzmax;if(tmax&lt;0)return null;return this.at(tmin&gt;=0?tmin:tmax,target)}intersectsBox(box){return this.intersectBox(box,_vector$a)!==null}intersectTriangle(a,b,c,backfaceCulling,target){_edge1.subVectors(b,a);_edge2.subVectors(c,a);_normal$1.crossVectors(_edge1,_edge2);let DdN=this.direction.dot(_normal$1);let sign;if(DdN&gt;0){if(backfaceCulling)return null;sign=1}else if(DdN&lt;0){sign=-1;DdN=-DdN}else{return null}_diff.subVectors(this.origin,a);const DdQxE2=sign*this.direction.dot(_edge2.crossVectors(_diff,_edge2));if(DdQxE2&lt;0){return null}const DdE1xQ=sign*this.direction.dot(_edge1.cross(_diff));if(DdE1xQ&lt;0){return null}if(DdQxE2+DdE1xQ&gt;DdN){return null}const QdN=-sign*_diff.dot(_normal$1);if(QdN&lt;0){return null}return this.at(QdN/DdN,target)}applyMatrix4(matrix4){this.origin.applyMatrix4(matrix4);this.direction.transformDirection(matrix4);return this}equals(ray){return ray.origin.equals(this.origin)&amp;&amp;ray.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Matrix4{constructor(n11,n12,n13,n14,n21,n22,n23,n24,n31,n32,n33,n34,n41,n42,n43,n44){Matrix4.prototype.isMatrix4=true;this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];if(n11!==undefined){this.set(n11,n12,n13,n14,n21,n22,n23,n24,n31,n32,n33,n34,n41,n42,n43,n44)}}set(n11,n12,n13,n14,n21,n22,n23,n24,n31,n32,n33,n34,n41,n42,n43,n44){const te=this.elements;te[0]=n11;te[4]=n12;te[8]=n13;te[12]=n14;te[1]=n21;te[5]=n22;te[9]=n23;te[13]=n24;te[2]=n31;te[6]=n32;te[10]=n33;te[14]=n34;te[3]=n41;te[7]=n42;te[11]=n43;te[15]=n44;return this}identity(){this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return this}clone(){return new Matrix4().fromArray(this.elements)}copy(m){const te=this.elements;const me=m.elements;te[0]=me[0];te[1]=me[1];te[2]=me[2];te[3]=me[3];te[4]=me[4];te[5]=me[5];te[6]=me[6];te[7]=me[7];te[8]=me[8];te[9]=me[9];te[10]=me[10];te[11]=me[11];te[12]=me[12];te[13]=me[13];te[14]=me[14];te[15]=me[15];return this}copyPosition(m){const te=this.elements,me=m.elements;te[12]=me[12];te[13]=me[13];te[14]=me[14];return this}setFromMatrix3(m){const me=m.elements;this.set(me[0],me[3],me[6],0,me[1],me[4],me[7],0,me[2],me[5],me[8],0,0,0,0,1);return this}extractBasis(xAxis,yAxis,zAxis){xAxis.setFromMatrixColumn(this,0);yAxis.setFromMatrixColumn(this,1);zAxis.setFromMatrixColumn(this,2);return this}makeBasis(xAxis,yAxis,zAxis){this.set(xAxis.x,yAxis.x,zAxis.x,0,xAxis.y,yAxis.y,zAxis.y,0,xAxis.z,yAxis.z,zAxis.z,0,0,0,0,1);return this}extractRotation(m){const te=this.elements;const me=m.elements;const scaleX=1/_v1$5.setFromMatrixColumn(m,0).length();const scaleY=1/_v1$5.setFromMatrixColumn(m,1).length();const scaleZ=1/_v1$5.setFromMatrixColumn(m,2).length();te[0]=me[0]*scaleX;te[1]=me[1]*scaleX;te[2]=me[2]*scaleX;te[3]=0;te[4]=me[4]*scaleY;te[5]=me[5]*scaleY;te[6]=me[6]*scaleY;te[7]=0;te[8]=me[8]*scaleZ;te[9]=me[9]*scaleZ;te[10]=me[10]*scaleZ;te[11]=0;te[12]=0;te[13]=0;te[14]=0;te[15]=1;return this}makeRotationFromEuler(euler){const te=this.elements;const x=euler.x,y=euler.y,z=euler.z;const a=Math.cos(x),b=Math.sin(x);const c=Math.cos(y),d=Math.sin(y);const e=Math.cos(z),f=Math.sin(z);if(euler.order==="XYZ"){const ae=a*e,af=a*f,be=b*e,bf=b*f;te[0]=c*e;te[4]=-c*f;te[8]=d;te[1]=af+be*d;te[5]=ae-bf*d;te[9]=-b*c;te[2]=bf-ae*d;te[6]=be+af*d;te[10]=a*c}else if(euler.order==="YXZ"){const ce=c*e,cf=c*f,de=d*e,df=d*f;te[0]=ce+df*b;te[4]=de*b-cf;te[8]=a*d;te[1]=a*f;te[5]=a*e;te[9]=-b;te[2]=cf*b-de;te[6]=df+ce*b;te[10]=a*c}else if(euler.order==="ZXY"){const ce=c*e,cf=c*f,de=d*e,df=d*f;te[0]=ce-df*b;te[4]=-a*f;te[8]=de+cf*b;te[1]=cf+de*b;te[5]=a*e;te[9]=df-ce*b;te[2]=-a*d;te[6]=b;te[10]=a*c}else if(euler.order==="ZYX"){const ae=a*e,af=a*f,be=b*e,bf=b*f;te[0]=c*e;te[4]=be*d-af;te[8]=ae*d+bf;te[1]=c*f;te[5]=bf*d+ae;te[9]=af*d-be;te[2]=-d;te[6]=b*c;te[10]=a*c}else if(euler.order==="YZX"){const ac=a*c,ad=a*d,bc=b*c,bd=b*d;te[0]=c*e;te[4]=bd-ac*f;te[8]=bc*f+ad;te[1]=f;te[5]=a*e;te[9]=-b*e;te[2]=-d*e;te[6]=ad*f+bc;te[10]=ac-bd*f}else if(euler.order==="XZY"){const ac=a*c,ad=a*d,bc=b*c,bd=b*d;te[0]=c*e;te[4]=-f;te[8]=d*e;te[1]=ac*f+bd;te[5]=a*e;te[9]=ad*f-bc;te[2]=bc*f-ad;te[6]=b*e;te[10]=bd*f+ac}te[3]=0;te[7]=0;te[11]=0;te[12]=0;te[13]=0;te[14]=0;te[15]=1;return this}makeRotationFromQuaternion(q){return this.compose(_zero,q,_one)}lookAt(eye,target,up){const te=this.elements;_z.subVectors(eye,target);if(_z.lengthSq()===0){_z.z=1}_z.normalize();_x.crossVectors(up,_z);if(_x.lengthSq()===0){if(Math.abs(up.z)===1){_z.x+=0.0001}else{_z.z+=0.0001}_z.normalize();_x.crossVectors(up,_z)}_x.normalize();_y.crossVectors(_z,_x);te[0]=_x.x;te[4]=_y.x;te[8]=_z.x;te[1]=_x.y;te[5]=_y.y;te[9]=_z.y;te[2]=_x.z;te[6]=_y.z;te[10]=_z.z;return this}multiply(m){return this.multiplyMatrices(this,m)}premultiply(m){return this.multiplyMatrices(m,this)}multiplyMatrices(a,b){const ae=a.elements;const be=b.elements;const te=this.elements;const a11=ae[0],a12=ae[4],a13=ae[8],a14=ae[12];const a21=ae[1],a22=ae[5],a23=ae[9],a24=ae[13];const a31=ae[2],a32=ae[6],a33=ae[10],a34=ae[14];const a41=ae[3],a42=ae[7],a43=ae[11],a44=ae[15];const b11=be[0],b12=be[4],b13=be[8],b14=be[12];const b21=be[1],b22=be[5],b23=be[9],b24=be[13];const b31=be[2],b32=be[6],b33=be[10],b34=be[14];const b41=be[3],b42=be[7],b43=be[11],b44=be[15];te[0]=a11*b11+a12*b21+a13*b31+a14*b41;te[4]=a11*b12+a12*b22+a13*b32+a14*b42;te[8]=a11*b13+a12*b23+a13*b33+a14*b43;te[12]=a11*b14+a12*b24+a13*b34+a14*b44;te[1]=a21*b11+a22*b21+a23*b31+a24*b41;te[5]=a21*b12+a22*b22+a23*b32+a24*b42;te[9]=a21*b13+a22*b23+a23*b33+a24*b43;te[13]=a21*b14+a22*b24+a23*b34+a24*b44;te[2]=a31*b11+a32*b21+a33*b31+a34*b41;te[6]=a31*b12+a32*b22+a33*b32+a34*b42;te[10]=a31*b13+a32*b23+a33*b33+a34*b43;te[14]=a31*b14+a32*b24+a33*b34+a34*b44;te[3]=a41*b11+a42*b21+a43*b31+a44*b41;te[7]=a41*b12+a42*b22+a43*b32+a44*b42;te[11]=a41*b13+a42*b23+a43*b33+a44*b43;te[15]=a41*b14+a42*b24+a43*b34+a44*b44;return this}multiplyScalar(s){const te=this.elements;te[0]*=s;te[4]*=s;te[8]*=s;te[12]*=s;te[1]*=s;te[5]*=s;te[9]*=s;te[13]*=s;te[2]*=s;te[6]*=s;te[10]*=s;te[14]*=s;te[3]*=s;te[7]*=s;te[11]*=s;te[15]*=s;return this}determinant(){const te=this.elements;const n11=te[0],n12=te[4],n13=te[8],n14=te[12];const n21=te[1],n22=te[5],n23=te[9],n24=te[13];const n31=te[2],n32=te[6],n33=te[10],n34=te[14];const n41=te[3],n42=te[7],n43=te[11],n44=te[15];return n41*(+n14*n23*n32-n13*n24*n32-n14*n22*n33+n12*n24*n33+n13*n22*n34-n12*n23*n34)+n42*(+n11*n23*n34-n11*n24*n33+n14*n21*n33-n13*n21*n34+n13*n24*n31-n14*n23*n31)+n43*(+n11*n24*n32-n11*n22*n34-n14*n21*n32+n12*n21*n34+n14*n22*n31-n12*n24*n31)+n44*(-n13*n22*n31-n11*n23*n32+n11*n22*n33+n13*n21*n32-n12*n21*n33+n12*n23*n31)}transpose(){const te=this.elements;let tmp;tmp=te[1];te[1]=te[4];te[4]=tmp;tmp=te[2];te[2]=te[8];te[8]=tmp;tmp=te[6];te[6]=te[9];te[9]=tmp;tmp=te[3];te[3]=te[12];te[12]=tmp;tmp=te[7];te[7]=te[13];te[13]=tmp;tmp=te[11];te[11]=te[14];te[14]=tmp;return this}setPosition(x,y,z){const te=this.elements;if(x.isVector3){te[12]=x.x;te[13]=x.y;te[14]=x.z}else{te[12]=x;te[13]=y;te[14]=z}return this}invert(){const te=this.elements,n11=te[0],n21=te[1],n31=te[2],n41=te[3],n12=te[4],n22=te[5],n32=te[6],n42=te[7],n13=te[8],n23=te[9],n33=te[10],n43=te[11],n14=te[12],n24=te[13],n34=te[14],n44=te[15],t11=n23*n34*n42-n24*n33*n42+n24*n32*n43-n22*n34*n43-n23*n32*n44+n22*n33*n44,t12=n14*n33*n42-n13*n34*n42-n14*n32*n43+n12*n34*n43+n13*n32*n44-n12*n33*n44,t13=n13*n24*n42-n14*n23*n42+n14*n22*n43-n12*n24*n43-n13*n22*n44+n12*n23*n44,t14=n14*n23*n32-n13*n24*n32-n14*n22*n33+n12*n24*n33+n13*n22*n34-n12*n23*n34;const det=n11*t11+n21*t12+n31*t13+n41*t14;if(det===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const detInv=1/det;te[0]=t11*detInv;te[1]=(n24*n33*n41-n23*n34*n41-n24*n31*n43+n21*n34*n43+n23*n31*n44-n21*n33*n44)*detInv;te[2]=(n22*n34*n41-n24*n32*n41+n24*n31*n42-n21*n34*n42-n22*n31*n44+n21*n32*n44)*detInv;te[3]=(n23*n32*n41-n22*n33*n41-n23*n31*n42+n21*n33*n42+n22*n31*n43-n21*n32*n43)*detInv;te[4]=t12*detInv;te[5]=(n13*n34*n41-n14*n33*n41+n14*n31*n43-n11*n34*n43-n13*n31*n44+n11*n33*n44)*detInv;te[6]=(n14*n32*n41-n12*n34*n41-n14*n31*n42+n11*n34*n42+n12*n31*n44-n11*n32*n44)*detInv;te[7]=(n12*n33*n41-n13*n32*n41+n13*n31*n42-n11*n33*n42-n12*n31*n43+n11*n32*n43)*detInv;te[8]=t13*detInv;te[9]=(n14*n23*n41-n13*n24*n41-n14*n21*n43+n11*n24*n43+n13*n21*n44-n11*n23*n44)*detInv;te[10]=(n12*n24*n41-n14*n22*n41+n14*n21*n42-n11*n24*n42-n12*n21*n44+n11*n22*n44)*detInv;te[11]=(n13*n22*n41-n12*n23*n41-n13*n21*n42+n11*n23*n42+n12*n21*n43-n11*n22*n43)*detInv;te[12]=t14*detInv;te[13]=(n13*n24*n31-n14*n23*n31+n14*n21*n33-n11*n24*n33-n13*n21*n34+n11*n23*n34)*detInv;te[14]=(n14*n22*n31-n12*n24*n31-n14*n21*n32+n11*n24*n32+n12*n21*n34-n11*n22*n34)*detInv;te[15]=(n12*n23*n31-n13*n22*n31+n13*n21*n32-n11*n23*n32-n12*n21*n33+n11*n22*n33)*detInv;return this}scale(v){const te=this.elements;const x=v.x,y=v.y,z=v.z;te[0]*=x;te[4]*=y;te[8]*=z;te[1]*=x;te[5]*=y;te[9]*=z;te[2]*=x;te[6]*=y;te[10]*=z;te[3]*=x;te[7]*=y;te[11]*=z;return this}getMaxScaleOnAxis(){const te=this.elements;const scaleXSq=te[0]*te[0]+te[1]*te[1]+te[2]*te[2];const scaleYSq=te[4]*te[4]+te[5]*te[5]+te[6]*te[6];const scaleZSq=te[8]*te[8]+te[9]*te[9]+te[10]*te[10];return Math.sqrt(Math.max(scaleXSq,scaleYSq,scaleZSq))}makeTranslation(x,y,z){if(x.isVector3){this.set(1,0,0,x.x,0,1,0,x.y,0,0,1,x.z,0,0,0,1)}else{this.set(1,0,0,x,0,1,0,y,0,0,1,z,0,0,0,1)}return this}makeRotationX(theta){const c=Math.cos(theta),s=Math.sin(theta);this.set(1,0,0,0,0,c,-s,0,0,s,c,0,0,0,0,1);return this}makeRotationY(theta){const c=Math.cos(theta),s=Math.sin(theta);this.set(c,0,s,0,0,1,0,0,-s,0,c,0,0,0,0,1);return this}makeRotationZ(theta){const c=Math.cos(theta),s=Math.sin(theta);this.set(c,-s,0,0,s,c,0,0,0,0,1,0,0,0,0,1);return this}makeRotationAxis(axis,angle){const c=Math.cos(angle);const s=Math.sin(angle);const t=1-c;const x=axis.x,y=axis.y,z=axis.z;const tx=t*x,ty=t*y;this.set(tx*x+c,tx*y-s*z,tx*z+s*y,0,tx*y+s*z,ty*y+c,ty*z-s*x,0,tx*z-s*y,ty*z+s*x,t*z*z+c,0,0,0,0,1);return this}makeScale(x,y,z){this.set(x,0,0,0,0,y,0,0,0,0,z,0,0,0,0,1);return this}makeShear(xy,xz,yx,yz,zx,zy){this.set(1,yx,zx,0,xy,1,zy,0,xz,yz,1,0,0,0,0,1);return this}compose(position,quaternion,scale){const te=this.elements;const x=quaternion._x,y=quaternion._y,z=quaternion._z,w=quaternion._w;const x2=x+x,y2=y+y,z2=z+z;const xx=x*x2,xy=x*y2,xz=x*z2;const yy=y*y2,yz=y*z2,zz=z*z2;const wx=w*x2,wy=w*y2,wz=w*z2;const sx=scale.x,sy=scale.y,sz=scale.z;te[0]=(1-(yy+zz))*sx;te[1]=(xy+wz)*sx;te[2]=(xz-wy)*sx;te[3]=0;te[4]=(xy-wz)*sy;te[5]=(1-(xx+zz))*sy;te[6]=(yz+wx)*sy;te[7]=0;te[8]=(xz+wy)*sz;te[9]=(yz-wx)*sz;te[10]=(1-(xx+yy))*sz;te[11]=0;te[12]=position.x;te[13]=position.y;te[14]=position.z;te[15]=1;return this}decompose(position,quaternion,scale){const te=this.elements;let sx=_v1$5.set(te[0],te[1],te[2]).length();const sy=_v1$5.set(te[4],te[5],te[6]).length();const sz=_v1$5.set(te[8],te[9],te[10]).length();const det=this.determinant();if(det&lt;0)sx=-sx;position.x=te[12];position.y=te[13];position.z=te[14];_m1$4.copy(this);const invSX=1/sx;const invSY=1/sy;const invSZ=1/sz;_m1$4.elements[0]*=invSX;_m1$4.elements[1]*=invSX;_m1$4.elements[2]*=invSX;_m1$4.elements[4]*=invSY;_m1$4.elements[5]*=invSY;_m1$4.elements[6]*=invSY;_m1$4.elements[8]*=invSZ;_m1$4.elements[9]*=invSZ;_m1$4.elements[10]*=invSZ;quaternion.setFromRotationMatrix(_m1$4);scale.x=sx;scale.y=sy;scale.z=sz;return this}makePerspective(left,right,top,bottom,near,far,coordinateSystem=WebGLCoordinateSystem){const te=this.elements;const x=2*near/(right-left);const y=2*near/(top-bottom);const a=(right+left)/(right-left);const b=(top+bottom)/(top-bottom);let c,d;if(coordinateSystem===WebGLCoordinateSystem){c=-(far+near)/(far-near);d=-2*far*near/(far-near)}else if(coordinateSystem===WebGPUCoordinateSystem){c=-far/(far-near);d=-far*near/(far-near)}else{throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+coordinateSystem)}te[0]=x;te[4]=0;te[8]=a;te[12]=0;te[1]=0;te[5]=y;te[9]=b;te[13]=0;te[2]=0;te[6]=0;te[10]=c;te[14]=d;te[3]=0;te[7]=0;te[11]=-1;te[15]=0;return this}makeOrthographic(left,right,top,bottom,near,far,coordinateSystem=WebGLCoordinateSystem){const te=this.elements;const w=1/(right-left);const h=1/(top-bottom);const p=1/(far-near);const x=(right+left)*w;const y=(top+bottom)*h;let z,zInv;if(coordinateSystem===WebGLCoordinateSystem){z=(far+near)*p;zInv=-2*p}else if(coordinateSystem===WebGPUCoordinateSystem){z=near*p;zInv=-1*p}else{throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+coordinateSystem)}te[0]=2*w;te[4]=0;te[8]=0;te[12]=-x;te[1]=0;te[5]=2*h;te[9]=0;te[13]=-y;te[2]=0;te[6]=0;te[10]=zInv;te[14]=-z;te[3]=0;te[7]=0;te[11]=0;te[15]=1;return this}equals(matrix){const te=this.elements;const me=matrix.elements;for(let i=0;i&lt;16;i++){if(te[i]!==me[i])return false}return true}fromArray(array,offset=0){for(let i=0;i&lt;16;i++){this.elements[i]=array[i+offset]}return this}toArray(array=[],offset=0){const te=this.elements;array[offset]=te[0];array[offset+1]=te[1];array[offset+2]=te[2];array[offset+3]=te[3];array[offset+4]=te[4];array[offset+5]=te[5];array[offset+6]=te[6];array[offset+7]=te[7];array[offset+8]=te[8];array[offset+9]=te[9];array[offset+10]=te[10];array[offset+11]=te[11];array[offset+12]=te[12];array[offset+13]=te[13];array[offset+14]=te[14];array[offset+15]=te[15];return array}}const _v1$5=new Vector3;const _m1$4=new Matrix4;const _zero=new Vector3(0,0,0);const _one=new Vector3(1,1,1);const _x=new Vector3;const _y=new Vector3;const _z=new Vector3;const _matrix$2=new Matrix4;const _quaternion$3=new Quaternion;class Euler{constructor(x=0,y=0,z=0,order=Euler.DEFAULT_ORDER){this.isEuler=true;this._x=x;this._y=y;this._z=z;this._order=order}get x(){return this._x}set x(value){this._x=value;this._onChangeCallback()}get y(){return this._y}set y(value){this._y=value;this._onChangeCallback()}get z(){return this._z}set z(value){this._z=value;this._onChangeCallback()}get order(){return this._order}set order(value){this._order=value;this._onChangeCallback()}set(x,y,z,order=this._order){this._x=x;this._y=y;this._z=z;this._order=order;this._onChangeCallback();return this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(euler){this._x=euler._x;this._y=euler._y;this._z=euler._z;this._order=euler._order;this._onChangeCallback();return this}setFromRotationMatrix(m,order=this._order,update=true){const te=m.elements;const m11=te[0],m12=te[4],m13=te[8];const m21=te[1],m22=te[5],m23=te[9];const m31=te[2],m32=te[6],m33=te[10];switch(order){case"XYZ":this._y=Math.asin(clamp(m13,-1,1));if(Math.abs(m13)&lt;0.9999999){this._x=Math.atan2(-m23,m33);this._z=Math.atan2(-m12,m11)}else{this._x=Math.atan2(m32,m22);this._z=0}break;case"YXZ":this._x=Math.asin(-clamp(m23,-1,1));if(Math.abs(m23)&lt;0.9999999){this._y=Math.atan2(m13,m33);this._z=Math.atan2(m21,m22)}else{this._y=Math.atan2(-m31,m11);this._z=0}break;case"ZXY":this._x=Math.asin(clamp(m32,-1,1));if(Math.abs(m32)&lt;0.9999999){this._y=Math.atan2(-m31,m33);this._z=Math.atan2(-m12,m22)}else{this._y=0;this._z=Math.atan2(m21,m11)}break;case"ZYX":this._y=Math.asin(-clamp(m31,-1,1));if(Math.abs(m31)&lt;0.9999999){this._x=Math.atan2(m32,m33);this._z=Math.atan2(m21,m11)}else{this._x=0;this._z=Math.atan2(-m12,m22)}break;case"YZX":this._z=Math.asin(clamp(m21,-1,1));if(Math.abs(m21)&lt;0.9999999){this._x=Math.atan2(-m23,m22);this._y=Math.atan2(-m31,m11)}else{this._x=0;this._y=Math.atan2(m13,m33)}break;case"XZY":this._z=Math.asin(-clamp(m12,-1,1));if(Math.abs(m12)&lt;0.9999999){this._x=Math.atan2(m32,m22);this._y=Math.atan2(m13,m11)}else{this._x=Math.atan2(-m23,m33);this._y=0}break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+order);}this._order=order;if(update===true)this._onChangeCallback();return this}setFromQuaternion(q,order,update){_matrix$2.makeRotationFromQuaternion(q);return this.setFromRotationMatrix(_matrix$2,order,update)}setFromVector3(v,order=this._order){return this.set(v.x,v.y,v.z,order)}reorder(newOrder){_quaternion$3.setFromEuler(this);return this.setFromQuaternion(_quaternion$3,newOrder)}equals(euler){return euler._x===this._x&amp;&amp;euler._y===this._y&amp;&amp;euler._z===this._z&amp;&amp;euler._order===this._order}fromArray(array){this._x=array[0];this._y=array[1];this._z=array[2];if(array[3]!==undefined)this._order=array[3];this._onChangeCallback();return this}toArray(array=[],offset=0){array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._order;return array}_onChange(callback){this._onChangeCallback=callback;return this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x;yield this._y;yield this._z;yield this._order}}Euler.DEFAULT_ORDER="XYZ";class Layers{constructor(){this.mask=1|0}set(channel){this.mask=(1&lt;&lt;channel|0)&gt;&gt;&gt;0}enable(channel){this.mask|=1&lt;&lt;channel|0}enableAll(){this.mask=4294967295|0}toggle(channel){this.mask^=1&lt;&lt;channel|0}disable(channel){this.mask&amp;=~(1&lt;&lt;channel|0)}disableAll(){this.mask=0}test(layers){return(this.mask&amp;layers.mask)!==0}isEnabled(channel){return(this.mask&amp;(1&lt;&lt;channel|0))!==0}}let _object3DId=0;const _v1$4=new Vector3;const _q1=new Quaternion;const _m1$3=new Matrix4;const _target=new Vector3;const _position$3=new Vector3;const _scale$2=new Vector3;const _quaternion$2=new Quaternion;const _xAxis=new Vector3(1,0,0);const _yAxis=new Vector3(0,1,0);const _zAxis=new Vector3(0,0,1);const _addedEvent={type:"added"};const _removedEvent={type:"removed"};const _childaddedEvent={type:"childadded",child:null};const _childremovedEvent={type:"childremoved",child:null};class Object3D extends EventDispatcher{constructor(){super();this.isObject3D=true;Object.defineProperty(this,"id",{value:_object3DId++});this.uuid=generateUUID();this.name="";this.type="Object3D";this.parent=null;this.children=[];this.up=Object3D.DEFAULT_UP.clone();const position=new Vector3;const rotation=new Euler;const quaternion=new Quaternion;const scale=new Vector3(1,1,1);function onRotationChange(){quaternion.setFromEuler(rotation,false)}function onQuaternionChange(){rotation.setFromQuaternion(quaternion,undefined,false)}rotation._onChange(onRotationChange);quaternion._onChange(onQuaternionChange);Object.defineProperties(this,{position:{configurable:true,enumerable:true,value:position},rotation:{configurable:true,enumerable:true,value:rotation},quaternion:{configurable:true,enumerable:true,value:quaternion},scale:{configurable:true,enumerable:true,value:scale},modelViewMatrix:{value:new Matrix4},normalMatrix:{value:new Matrix3}});this.matrix=new Matrix4;this.matrixWorld=new Matrix4;this.matrixAutoUpdate=Object3D.DEFAULT_MATRIX_AUTO_UPDATE;this.matrixWorldAutoUpdate=Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE;this.matrixWorldNeedsUpdate=false;this.layers=new Layers;this.visible=true;this.castShadow=false;this.receiveShadow=false;this.frustumCulled=true;this.renderOrder=0;this.animations=[];this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(matrix){if(this.matrixAutoUpdate)this.updateMatrix();this.matrix.premultiply(matrix);this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(q){this.quaternion.premultiply(q);return this}setRotationFromAxisAngle(axis,angle){this.quaternion.setFromAxisAngle(axis,angle)}setRotationFromEuler(euler){this.quaternion.setFromEuler(euler,true)}setRotationFromMatrix(m){this.quaternion.setFromRotationMatrix(m)}setRotationFromQuaternion(q){this.quaternion.copy(q)}rotateOnAxis(axis,angle){_q1.setFromAxisAngle(axis,angle);this.quaternion.multiply(_q1);return this}rotateOnWorldAxis(axis,angle){_q1.setFromAxisAngle(axis,angle);this.quaternion.premultiply(_q1);return this}rotateX(angle){return this.rotateOnAxis(_xAxis,angle)}rotateY(angle){return this.rotateOnAxis(_yAxis,angle)}rotateZ(angle){return this.rotateOnAxis(_zAxis,angle)}translateOnAxis(axis,distance){_v1$4.copy(axis).applyQuaternion(this.quaternion);this.position.add(_v1$4.multiplyScalar(distance));return this}translateX(distance){return this.translateOnAxis(_xAxis,distance)}translateY(distance){return this.translateOnAxis(_yAxis,distance)}translateZ(distance){return this.translateOnAxis(_zAxis,distance)}localToWorld(vector){this.updateWorldMatrix(true,false);return vector.applyMatrix4(this.matrixWorld)}worldToLocal(vector){this.updateWorldMatrix(true,false);return vector.applyMatrix4(_m1$3.copy(this.matrixWorld).invert())}lookAt(x,y,z){if(x.isVector3){_target.copy(x)}else{_target.set(x,y,z)}const parent=this.parent;this.updateWorldMatrix(true,false);_position$3.setFromMatrixPosition(this.matrixWorld);if(this.isCamera||this.isLight){_m1$3.lookAt(_position$3,_target,this.up)}else{_m1$3.lookAt(_target,_position$3,this.up)}this.quaternion.setFromRotationMatrix(_m1$3);if(parent){_m1$3.extractRotation(parent.matrixWorld);_q1.setFromRotationMatrix(_m1$3);this.quaternion.premultiply(_q1.invert())}}add(object){if(arguments.length&gt;1){for(let i=0;i&lt;arguments.length;i++){this.add(arguments[i])}return this}if(object===this){console.error("THREE.Object3D.add: object can't be added as a child of itself.",object);return this}if(object&amp;&amp;object.isObject3D){object.removeFromParent();object.parent=this;this.children.push(object);object.dispatchEvent(_addedEvent);_childaddedEvent.child=object;this.dispatchEvent(_childaddedEvent);_childaddedEvent.child=null}else{console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",object)}return this}remove(object){if(arguments.length&gt;1){for(let i=0;i&lt;arguments.length;i++){this.remove(arguments[i])}return this}const index=this.children.indexOf(object);if(index!==-1){object.parent=null;this.children.splice(index,1);object.dispatchEvent(_removedEvent);_childremovedEvent.child=object;this.dispatchEvent(_childremovedEvent);_childremovedEvent.child=null}return this}removeFromParent(){const parent=this.parent;if(parent!==null){parent.remove(this)}return this}clear(){return this.remove(...this.children)}attach(object){this.updateWorldMatrix(true,false);_m1$3.copy(this.matrixWorld).invert();if(object.parent!==null){object.parent.updateWorldMatrix(true,false);_m1$3.multiply(object.parent.matrixWorld)}object.applyMatrix4(_m1$3);object.removeFromParent();object.parent=this;this.children.push(object);object.updateWorldMatrix(false,true);object.dispatchEvent(_addedEvent);_childaddedEvent.child=object;this.dispatchEvent(_childaddedEvent);_childaddedEvent.child=null;return this}getObjectById(id){return this.getObjectByProperty("id",id)}getObjectByName(name){return this.getObjectByProperty("name",name)}getObjectByProperty(name,value){if(this[name]===value)return this;for(let i=0,l=this.children.length;i&lt;l;i++){const child=this.children[i];const object=child.getObjectByProperty(name,value);if(object!==undefined){return object}}return undefined}getObjectsByProperty(name,value,result=[]){if(this[name]===value)result.push(this);const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){children[i].getObjectsByProperty(name,value,result)}return result}getWorldPosition(target){this.updateWorldMatrix(true,false);return target.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(target){this.updateWorldMatrix(true,false);this.matrixWorld.decompose(_position$3,target,_scale$2);return target}getWorldScale(target){this.updateWorldMatrix(true,false);this.matrixWorld.decompose(_position$3,_quaternion$2,target);return target}getWorldDirection(target){this.updateWorldMatrix(true,false);const e=this.matrixWorld.elements;return target.set(e[8],e[9],e[10]).normalize()}raycast(){}traverse(callback){callback(this);const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){children[i].traverse(callback)}}traverseVisible(callback){if(this.visible===false)return;callback(this);const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){children[i].traverseVisible(callback)}}traverseAncestors(callback){const parent=this.parent;if(parent!==null){callback(parent);parent.traverseAncestors(callback)}}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale);this.matrixWorldNeedsUpdate=true}updateMatrixWorld(force){if(this.matrixAutoUpdate)this.updateMatrix();if(this.matrixWorldNeedsUpdate||force){if(this.parent===null){this.matrixWorld.copy(this.matrix)}else{this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)}this.matrixWorldNeedsUpdate=false;force=true}const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){const child=children[i];if(child.matrixWorldAutoUpdate===true||force===true){child.updateMatrixWorld(force)}}}updateWorldMatrix(updateParents,updateChildren){const parent=this.parent;if(updateParents===true&amp;&amp;parent!==null&amp;&amp;parent.matrixWorldAutoUpdate===true){parent.updateWorldMatrix(true,false)}if(this.matrixAutoUpdate)this.updateMatrix();if(this.parent===null){this.matrixWorld.copy(this.matrix)}else{this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)}if(updateChildren===true){const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){const child=children[i];if(child.matrixWorldAutoUpdate===true){child.updateWorldMatrix(false,true)}}}}toJSON(meta){const isRootObject=meta===undefined||typeof meta==="string";const output={};if(isRootObject){meta={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}};output.metadata={version:4.6,type:"Object",generator:"Object3D.toJSON"}}const object={};object.uuid=this.uuid;object.type=this.type;if(this.name!=="")object.name=this.name;if(this.castShadow===true)object.castShadow=true;if(this.receiveShadow===true)object.receiveShadow=true;if(this.visible===false)object.visible=false;if(this.frustumCulled===false)object.frustumCulled=false;if(this.renderOrder!==0)object.renderOrder=this.renderOrder;if(Object.keys(this.userData).length&gt;0)object.userData=this.userData;object.layers=this.layers.mask;object.matrix=this.matrix.toArray();object.up=this.up.toArray();if(this.matrixAutoUpdate===false)object.matrixAutoUpdate=false;if(this.isInstancedMesh){object.type="InstancedMesh";object.count=this.count;object.instanceMatrix=this.instanceMatrix.toJSON();if(this.instanceColor!==null)object.instanceColor=this.instanceColor.toJSON()}if(this.isBatchedMesh){object.type="BatchedMesh";object.perObjectFrustumCulled=this.perObjectFrustumCulled;object.sortObjects=this.sortObjects;object.drawRanges=this._drawRanges;object.reservedRanges=this._reservedRanges;object.visibility=this._visibility;object.active=this._active;object.bounds=this._bounds.map(bound=&gt;({boxInitialized:bound.boxInitialized,boxMin:bound.box.min.toArray(),boxMax:bound.box.max.toArray(),sphereInitialized:bound.sphereInitialized,sphereRadius:bound.sphere.radius,sphereCenter:bound.sphere.center.toArray()}));object.maxGeometryCount=this._maxGeometryCount;object.maxVertexCount=this._maxVertexCount;object.maxIndexCount=this._maxIndexCount;object.geometryInitialized=this._geometryInitialized;object.geometryCount=this._geometryCount;object.matricesTexture=this._matricesTexture.toJSON(meta);if(this.boundingSphere!==null){object.boundingSphere={center:object.boundingSphere.center.toArray(),radius:object.boundingSphere.radius}}if(this.boundingBox!==null){object.boundingBox={min:object.boundingBox.min.toArray(),max:object.boundingBox.max.toArray()}}}function serialize(library,element){if(library[element.uuid]===undefined){library[element.uuid]=element.toJSON(meta)}return element.uuid}if(this.isScene){if(this.background){if(this.background.isColor){object.background=this.background.toJSON()}else if(this.background.isTexture){object.background=this.background.toJSON(meta).uuid}}if(this.environment&amp;&amp;this.environment.isTexture&amp;&amp;this.environment.isRenderTargetTexture!==true){object.environment=this.environment.toJSON(meta).uuid}}else if(this.isMesh||this.isLine||this.isPoints){object.geometry=serialize(meta.geometries,this.geometry);const parameters=this.geometry.parameters;if(parameters!==undefined&amp;&amp;parameters.shapes!==undefined){const shapes=parameters.shapes;if(Array.isArray(shapes)){for(let i=0,l=shapes.length;i&lt;l;i++){const shape=shapes[i];serialize(meta.shapes,shape)}}else{serialize(meta.shapes,shapes)}}}if(this.isSkinnedMesh){object.bindMode=this.bindMode;object.bindMatrix=this.bindMatrix.toArray();if(this.skeleton!==undefined){serialize(meta.skeletons,this.skeleton);object.skeleton=this.skeleton.uuid}}if(this.material!==undefined){if(Array.isArray(this.material)){const uuids=[];for(let i=0,l=this.material.length;i&lt;l;i++){uuids.push(serialize(meta.materials,this.material[i]))}object.material=uuids}else{object.material=serialize(meta.materials,this.material)}}if(this.children.length&gt;0){object.children=[];for(let i=0;i&lt;this.children.length;i++){object.children.push(this.children[i].toJSON(meta).object)}}if(this.animations.length&gt;0){object.animations=[];for(let i=0;i&lt;this.animations.length;i++){const animation=this.animations[i];object.animations.push(serialize(meta.animations,animation))}}if(isRootObject){const geometries=extractFromCache(meta.geometries);const materials=extractFromCache(meta.materials);const textures=extractFromCache(meta.textures);const images=extractFromCache(meta.images);const shapes=extractFromCache(meta.shapes);const skeletons=extractFromCache(meta.skeletons);const animations=extractFromCache(meta.animations);const nodes=extractFromCache(meta.nodes);if(geometries.length&gt;0)output.geometries=geometries;if(materials.length&gt;0)output.materials=materials;if(textures.length&gt;0)output.textures=textures;if(images.length&gt;0)output.images=images;if(shapes.length&gt;0)output.shapes=shapes;if(skeletons.length&gt;0)output.skeletons=skeletons;if(animations.length&gt;0)output.animations=animations;if(nodes.length&gt;0)output.nodes=nodes}output.object=object;return output;function extractFromCache(cache){const values=[];for(const key in cache){const data=cache[key];delete data.metadata;values.push(data)}return values}}clone(recursive){return new this.constructor().copy(this,recursive)}copy(source,recursive=true){this.name=source.name;this.up.copy(source.up);this.position.copy(source.position);this.rotation.order=source.rotation.order;this.quaternion.copy(source.quaternion);this.scale.copy(source.scale);this.matrix.copy(source.matrix);this.matrixWorld.copy(source.matrixWorld);this.matrixAutoUpdate=source.matrixAutoUpdate;this.matrixWorldAutoUpdate=source.matrixWorldAutoUpdate;this.matrixWorldNeedsUpdate=source.matrixWorldNeedsUpdate;this.layers.mask=source.layers.mask;this.visible=source.visible;this.castShadow=source.castShadow;this.receiveShadow=source.receiveShadow;this.frustumCulled=source.frustumCulled;this.renderOrder=source.renderOrder;this.animations=source.animations.slice();this.userData=JSON.parse(JSON.stringify(source.userData));if(recursive===true){for(let i=0;i&lt;source.children.length;i++){const child=source.children[i];this.add(child.clone())}}return this}}Object3D.DEFAULT_UP=new Vector3(0,1,0);Object3D.DEFAULT_MATRIX_AUTO_UPDATE=true;Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=true;const _v0$1=new Vector3;const _v1$3=new Vector3;const _v2$2=new Vector3;const _v3$2=new Vector3;const _vab=new Vector3;const _vac=new Vector3;const _vbc=new Vector3;const _vap=new Vector3;const _vbp=new Vector3;const _vcp=new Vector3;class Triangle{constructor(a=new Vector3,b=new Vector3,c=new Vector3){this.a=a;this.b=b;this.c=c}static getNormal(a,b,c,target){target.subVectors(c,b);_v0$1.subVectors(a,b);target.cross(_v0$1);const targetLengthSq=target.lengthSq();if(targetLengthSq&gt;0){return target.multiplyScalar(1/Math.sqrt(targetLengthSq))}return target.set(0,0,0)}static getBarycoord(point,a,b,c,target){_v0$1.subVectors(c,a);_v1$3.subVectors(b,a);_v2$2.subVectors(point,a);const dot00=_v0$1.dot(_v0$1);const dot01=_v0$1.dot(_v1$3);const dot02=_v0$1.dot(_v2$2);const dot11=_v1$3.dot(_v1$3);const dot12=_v1$3.dot(_v2$2);const denom=dot00*dot11-dot01*dot01;if(denom===0){target.set(0,0,0);return null}const invDenom=1/denom;const u=(dot11*dot02-dot01*dot12)*invDenom;const v=(dot00*dot12-dot01*dot02)*invDenom;return target.set(1-u-v,v,u)}static containsPoint(point,a,b,c){if(this.getBarycoord(point,a,b,c,_v3$2)===null){return false}return _v3$2.x&gt;=0&amp;&amp;_v3$2.y&gt;=0&amp;&amp;_v3$2.x+_v3$2.y&lt;=1}static getInterpolation(point,p1,p2,p3,v1,v2,v3,target){if(this.getBarycoord(point,p1,p2,p3,_v3$2)===null){target.x=0;target.y=0;if("z"in target)target.z=0;if("w"in target)target.w=0;return null}target.setScalar(0);target.addScaledVector(v1,_v3$2.x);target.addScaledVector(v2,_v3$2.y);target.addScaledVector(v3,_v3$2.z);return target}static isFrontFacing(a,b,c,direction){_v0$1.subVectors(c,b);_v1$3.subVectors(a,b);return _v0$1.cross(_v1$3).dot(direction)&lt;0?true:false}set(a,b,c){this.a.copy(a);this.b.copy(b);this.c.copy(c);return this}setFromPointsAndIndices(points,i0,i1,i2){this.a.copy(points[i0]);this.b.copy(points[i1]);this.c.copy(points[i2]);return this}setFromAttributeAndIndices(attribute,i0,i1,i2){this.a.fromBufferAttribute(attribute,i0);this.b.fromBufferAttribute(attribute,i1);this.c.fromBufferAttribute(attribute,i2);return this}clone(){return new this.constructor().copy(this)}copy(triangle){this.a.copy(triangle.a);this.b.copy(triangle.b);this.c.copy(triangle.c);return this}getArea(){_v0$1.subVectors(this.c,this.b);_v1$3.subVectors(this.a,this.b);return _v0$1.cross(_v1$3).length()*0.5}getMidpoint(target){return target.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(target){return Triangle.getNormal(this.a,this.b,this.c,target)}getPlane(target){return target.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(point,target){return Triangle.getBarycoord(point,this.a,this.b,this.c,target)}getInterpolation(point,v1,v2,v3,target){return Triangle.getInterpolation(point,this.a,this.b,this.c,v1,v2,v3,target)}containsPoint(point){return Triangle.containsPoint(point,this.a,this.b,this.c)}isFrontFacing(direction){return Triangle.isFrontFacing(this.a,this.b,this.c,direction)}intersectsBox(box){return box.intersectsTriangle(this)}closestPointToPoint(p,target){const a=this.a,b=this.b,c=this.c;let v,w;_vab.subVectors(b,a);_vac.subVectors(c,a);_vap.subVectors(p,a);const d1=_vab.dot(_vap);const d2=_vac.dot(_vap);if(d1&lt;=0&amp;&amp;d2&lt;=0){return target.copy(a)}_vbp.subVectors(p,b);const d3=_vab.dot(_vbp);const d4=_vac.dot(_vbp);if(d3&gt;=0&amp;&amp;d4&lt;=d3){return target.copy(b)}const vc=d1*d4-d3*d2;if(vc&lt;=0&amp;&amp;d1&gt;=0&amp;&amp;d3&lt;=0){v=d1/(d1-d3);return target.copy(a).addScaledVector(_vab,v)}_vcp.subVectors(p,c);const d5=_vab.dot(_vcp);const d6=_vac.dot(_vcp);if(d6&gt;=0&amp;&amp;d5&lt;=d6){return target.copy(c)}const vb=d5*d2-d1*d6;if(vb&lt;=0&amp;&amp;d2&gt;=0&amp;&amp;d6&lt;=0){w=d2/(d2-d6);return target.copy(a).addScaledVector(_vac,w)}const va=d3*d6-d5*d4;if(va&lt;=0&amp;&amp;d4-d3&gt;=0&amp;&amp;d5-d6&gt;=0){_vbc.subVectors(c,b);w=(d4-d3)/(d4-d3+(d5-d6));return target.copy(b).addScaledVector(_vbc,w)}const denom=1/(va+vb+vc);v=vb*denom;w=vc*denom;return target.copy(a).addScaledVector(_vab,v).addScaledVector(_vac,w)}equals(triangle){return triangle.a.equals(this.a)&amp;&amp;triangle.b.equals(this.b)&amp;&amp;triangle.c.equals(this.c)}}const _colorKeywords={"aliceblue":15792383,"antiquewhite":16444375,"aqua":65535,"aquamarine":8388564,"azure":15794175,"beige":16119260,"bisque":16770244,"black":0,"blanchedalmond":16772045,"blue":255,"blueviolet":9055202,"brown":10824234,"burlywood":14596231,"cadetblue":6266528,"chartreuse":8388352,"chocolate":13789470,"coral":16744272,"cornflowerblue":6591981,"cornsilk":16775388,"crimson":14423100,"cyan":65535,"darkblue":139,"darkcyan":35723,"darkgoldenrod":12092939,"darkgray":11119017,"darkgreen":25600,"darkgrey":11119017,"darkkhaki":12433259,"darkmagenta":9109643,"darkolivegreen":5597999,"darkorange":16747520,"darkorchid":10040012,"darkred":9109504,"darksalmon":15308410,"darkseagreen":9419919,"darkslateblue":4734347,"darkslategray":3100495,"darkslategrey":3100495,"darkturquoise":52945,"darkviolet":9699539,"deeppink":16716947,"deepskyblue":49151,"dimgray":6908265,"dimgrey":6908265,"dodgerblue":2003199,"firebrick":11674146,"floralwhite":16775920,"forestgreen":2263842,"fuchsia":16711935,"gainsboro":14474460,"ghostwhite":16316671,"gold":16766720,"goldenrod":14329120,"gray":8421504,"green":32768,"greenyellow":11403055,"grey":8421504,"honeydew":15794160,"hotpink":16738740,"indianred":13458524,"indigo":4915330,"ivory":16777200,"khaki":15787660,"lavender":15132410,"lavenderblush":16773365,"lawngreen":8190976,"lemonchiffon":16775885,"lightblue":11393254,"lightcoral":15761536,"lightcyan":14745599,"lightgoldenrodyellow":16448210,"lightgray":13882323,"lightgreen":9498256,"lightgrey":13882323,"lightpink":16758465,"lightsalmon":16752762,"lightseagreen":2142890,"lightskyblue":8900346,"lightslategray":7833753,"lightslategrey":7833753,"lightsteelblue":11584734,"lightyellow":16777184,"lime":65280,"limegreen":3329330,"linen":16445670,"magenta":16711935,"maroon":8388608,"mediumaquamarine":6737322,"mediumblue":205,"mediumorchid":12211667,"mediumpurple":9662683,"mediumseagreen":3978097,"mediumslateblue":8087790,"mediumspringgreen":64154,"mediumturquoise":4772300,"mediumvioletred":13047173,"midnightblue":1644912,"mintcream":16121850,"mistyrose":16770273,"moccasin":16770229,"navajowhite":16768685,"navy":128,"oldlace":16643558,"olive":8421376,"olivedrab":7048739,"orange":16753920,"orangered":16729344,"orchid":14315734,"palegoldenrod":15657130,"palegreen":10025880,"paleturquoise":11529966,"palevioletred":14381203,"papayawhip":16773077,"peachpuff":16767673,"peru":13468991,"pink":16761035,"plum":14524637,"powderblue":11591910,"purple":8388736,"rebeccapurple":6697881,"red":16711680,"rosybrown":12357519,"royalblue":4286945,"saddlebrown":9127187,"salmon":16416882,"sandybrown":16032864,"seagreen":3050327,"seashell":16774638,"sienna":10506797,"silver":12632256,"skyblue":8900331,"slateblue":6970061,"slategray":7372944,"slategrey":7372944,"snow":16775930,"springgreen":65407,"steelblue":4620980,"tan":13808780,"teal":32896,"thistle":14204888,"tomato":16737095,"turquoise":4251856,"violet":15631086,"wheat":16113331,"white":16777215,"whitesmoke":16119285,"yellow":16776960,"yellowgreen":10145074};const _hslA={h:0,s:0,l:0};const _hslB={h:0,s:0,l:0};function hue2rgb(p,q,t){if(t&lt;0)t+=1;if(t&gt;1)t-=1;if(t&lt;1/6)return p+(q-p)*6*t;if(t&lt;1/2)return q;if(t&lt;2/3)return p+(q-p)*6*(2/3-t);return p}class Color{constructor(r,g,b){this.isColor=true;this.r=1;this.g=1;this.b=1;return this.set(r,g,b)}set(r,g,b){if(g===undefined&amp;&amp;b===undefined){const value=r;if(value&amp;&amp;value.isColor){this.copy(value)}else if(typeof value==="number"){this.setHex(value)}else if(typeof value==="string"){this.setStyle(value)}}else{this.setRGB(r,g,b)}return this}setScalar(scalar){this.r=scalar;this.g=scalar;this.b=scalar;return this}setHex(hex,colorSpace=SRGBColorSpace){hex=Math.floor(hex);this.r=(hex&gt;&gt;16&amp;255)/255;this.g=(hex&gt;&gt;8&amp;255)/255;this.b=(hex&amp;255)/255;ColorManagement.toWorkingColorSpace(this,colorSpace);return this}setRGB(r,g,b,colorSpace=ColorManagement.workingColorSpace){this.r=r;this.g=g;this.b=b;ColorManagement.toWorkingColorSpace(this,colorSpace);return this}setHSL(h,s,l,colorSpace=ColorManagement.workingColorSpace){h=euclideanModulo(h,1);s=clamp(s,0,1);l=clamp(l,0,1);if(s===0){this.r=this.g=this.b=l}else{const p=l&lt;=0.5?l*(1+s):l+s-l*s;const q=2*l-p;this.r=hue2rgb(q,p,h+1/3);this.g=hue2rgb(q,p,h);this.b=hue2rgb(q,p,h-1/3)}ColorManagement.toWorkingColorSpace(this,colorSpace);return this}setStyle(style,colorSpace=SRGBColorSpace){function handleAlpha(string){if(string===undefined)return;if(parseFloat(string)&lt;1){console.warn("THREE.Color: Alpha component of "+style+" will be ignored.")}}let m;if(m=/^(\w+)\(([^\)]*)\)/.exec(style)){let color;const name=m[1];const components=m[2];switch(name){case"rgb":case"rgba":if(color=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(components)){handleAlpha(color[4]);return this.setRGB(Math.min(255,parseInt(color[1],10))/255,Math.min(255,parseInt(color[2],10))/255,Math.min(255,parseInt(color[3],10))/255,colorSpace)}if(color=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(components)){handleAlpha(color[4]);return this.setRGB(Math.min(100,parseInt(color[1],10))/100,Math.min(100,parseInt(color[2],10))/100,Math.min(100,parseInt(color[3],10))/100,colorSpace)}break;case"hsl":case"hsla":if(color=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(components)){handleAlpha(color[4]);return this.setHSL(parseFloat(color[1])/360,parseFloat(color[2])/100,parseFloat(color[3])/100,colorSpace)}break;default:console.warn("THREE.Color: Unknown color model "+style);}}else if(m=/^\#([A-Fa-f\d]+)$/.exec(style)){const hex=m[1];const size=hex.length;if(size===3){return this.setRGB(parseInt(hex.charAt(0),16)/15,parseInt(hex.charAt(1),16)/15,parseInt(hex.charAt(2),16)/15,colorSpace)}else if(size===6){return this.setHex(parseInt(hex,16),colorSpace)}else{console.warn("THREE.Color: Invalid hex color "+style)}}else if(style&amp;&amp;style.length&gt;0){return this.setColorName(style,colorSpace)}return this}setColorName(style,colorSpace=SRGBColorSpace){const hex=_colorKeywords[style.toLowerCase()];if(hex!==undefined){this.setHex(hex,colorSpace)}else{console.warn("THREE.Color: Unknown color "+style)}return this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(color){this.r=color.r;this.g=color.g;this.b=color.b;return this}copySRGBToLinear(color){this.r=SRGBToLinear(color.r);this.g=SRGBToLinear(color.g);this.b=SRGBToLinear(color.b);return this}copyLinearToSRGB(color){this.r=LinearToSRGB(color.r);this.g=LinearToSRGB(color.g);this.b=LinearToSRGB(color.b);return this}convertSRGBToLinear(){this.copySRGBToLinear(this);return this}convertLinearToSRGB(){this.copyLinearToSRGB(this);return this}getHex(colorSpace=SRGBColorSpace){ColorManagement.fromWorkingColorSpace(_color.copy(this),colorSpace);return Math.round(clamp(_color.r*255,0,255))*65536+Math.round(clamp(_color.g*255,0,255))*256+Math.round(clamp(_color.b*255,0,255))}getHexString(colorSpace=SRGBColorSpace){return("000000"+this.getHex(colorSpace).toString(16)).slice(-6)}getHSL(target,colorSpace=ColorManagement.workingColorSpace){ColorManagement.fromWorkingColorSpace(_color.copy(this),colorSpace);const r=_color.r,g=_color.g,b=_color.b;const max=Math.max(r,g,b);const min=Math.min(r,g,b);let hue,saturation;const lightness=(min+max)/2;if(min===max){hue=0;saturation=0}else{const delta=max-min;saturation=lightness&lt;=0.5?delta/(max+min):delta/(2-max-min);switch(max){case r:hue=(g-b)/delta+(g&lt;b?6:0);break;case g:hue=(b-r)/delta+2;break;case b:hue=(r-g)/delta+4;break;}hue/=6}target.h=hue;target.s=saturation;target.l=lightness;return target}getRGB(target,colorSpace=ColorManagement.workingColorSpace){ColorManagement.fromWorkingColorSpace(_color.copy(this),colorSpace);target.r=_color.r;target.g=_color.g;target.b=_color.b;return target}getStyle(colorSpace=SRGBColorSpace){ColorManagement.fromWorkingColorSpace(_color.copy(this),colorSpace);const r=_color.r,g=_color.g,b=_color.b;if(colorSpace!==SRGBColorSpace){return`color(${colorSpace} ${r.toFixed(3)} ${g.toFixed(3)} ${b.toFixed(3)})`}return`rgb(${Math.round(r*255)},${Math.round(g*255)},${Math.round(b*255)})`}offsetHSL(h,s,l){this.getHSL(_hslA);return this.setHSL(_hslA.h+h,_hslA.s+s,_hslA.l+l)}add(color){this.r+=color.r;this.g+=color.g;this.b+=color.b;return this}addColors(color1,color2){this.r=color1.r+color2.r;this.g=color1.g+color2.g;this.b=color1.b+color2.b;return this}addScalar(s){this.r+=s;this.g+=s;this.b+=s;return this}sub(color){this.r=Math.max(0,this.r-color.r);this.g=Math.max(0,this.g-color.g);this.b=Math.max(0,this.b-color.b);return this}multiply(color){this.r*=color.r;this.g*=color.g;this.b*=color.b;return this}multiplyScalar(s){this.r*=s;this.g*=s;this.b*=s;return this}lerp(color,alpha){this.r+=(color.r-this.r)*alpha;this.g+=(color.g-this.g)*alpha;this.b+=(color.b-this.b)*alpha;return this}lerpColors(color1,color2,alpha){this.r=color1.r+(color2.r-color1.r)*alpha;this.g=color1.g+(color2.g-color1.g)*alpha;this.b=color1.b+(color2.b-color1.b)*alpha;return this}lerpHSL(color,alpha){this.getHSL(_hslA);color.getHSL(_hslB);const h=lerp(_hslA.h,_hslB.h,alpha);const s=lerp(_hslA.s,_hslB.s,alpha);const l=lerp(_hslA.l,_hslB.l,alpha);this.setHSL(h,s,l);return this}setFromVector3(v){this.r=v.x;this.g=v.y;this.b=v.z;return this}applyMatrix3(m){const r=this.r,g=this.g,b=this.b;const e=m.elements;this.r=e[0]*r+e[3]*g+e[6]*b;this.g=e[1]*r+e[4]*g+e[7]*b;this.b=e[2]*r+e[5]*g+e[8]*b;return this}equals(c){return c.r===this.r&amp;&amp;c.g===this.g&amp;&amp;c.b===this.b}fromArray(array,offset=0){this.r=array[offset];this.g=array[offset+1];this.b=array[offset+2];return this}toArray(array=[],offset=0){array[offset]=this.r;array[offset+1]=this.g;array[offset+2]=this.b;return array}fromBufferAttribute(attribute,index){this.r=attribute.getX(index);this.g=attribute.getY(index);this.b=attribute.getZ(index);return this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r;yield this.g;yield this.b}}const _color=new Color;Color.NAMES=_colorKeywords;let _materialId=0;class Material extends EventDispatcher{constructor(){super();this.isMaterial=true;Object.defineProperty(this,"id",{value:_materialId++});this.uuid=generateUUID();this.name="";this.type="Material";this.blending=NormalBlending;this.side=FrontSide;this.vertexColors=false;this.opacity=1;this.transparent=false;this.alphaHash=false;this.blendSrc=SrcAlphaFactor;this.blendDst=OneMinusSrcAlphaFactor;this.blendEquation=AddEquation;this.blendSrcAlpha=null;this.blendDstAlpha=null;this.blendEquationAlpha=null;this.blendColor=new Color(0,0,0);this.blendAlpha=0;this.depthFunc=LessEqualDepth;this.depthTest=true;this.depthWrite=true;this.stencilWriteMask=255;this.stencilFunc=AlwaysStencilFunc;this.stencilRef=0;this.stencilFuncMask=255;this.stencilFail=KeepStencilOp;this.stencilZFail=KeepStencilOp;this.stencilZPass=KeepStencilOp;this.stencilWrite=false;this.clippingPlanes=null;this.clipIntersection=false;this.clipShadows=false;this.shadowSide=null;this.colorWrite=true;this.precision=null;this.polygonOffset=false;this.polygonOffsetFactor=0;this.polygonOffsetUnits=0;this.dithering=false;this.alphaToCoverage=false;this.premultipliedAlpha=false;this.forceSinglePass=false;this.visible=true;this.toneMapped=true;this.userData={};this.version=0;this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(value){if(this._alphaTest&gt;0!==value&gt;0){this.version++}this._alphaTest=value}onBuild(){}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(values){if(values===undefined)return;for(const key in values){const newValue=values[key];if(newValue===undefined){console.warn(`THREE.Material: parameter '${key}' has value of undefined.`);continue}const currentValue=this[key];if(currentValue===undefined){console.warn(`THREE.Material: '${key}' is not a property of THREE.${this.type}.`);continue}if(currentValue&amp;&amp;currentValue.isColor){currentValue.set(newValue)}else if(currentValue&amp;&amp;currentValue.isVector3&amp;&amp;newValue&amp;&amp;newValue.isVector3){currentValue.copy(newValue)}else{this[key]=newValue}}}toJSON(meta){const isRootObject=meta===undefined||typeof meta==="string";if(isRootObject){meta={textures:{},images:{}}}const data={metadata:{version:4.6,type:"Material",generator:"Material.toJSON"}};data.uuid=this.uuid;data.type=this.type;if(this.name!=="")data.name=this.name;if(this.color&amp;&amp;this.color.isColor)data.color=this.color.getHex();if(this.roughness!==undefined)data.roughness=this.roughness;if(this.metalness!==undefined)data.metalness=this.metalness;if(this.sheen!==undefined)data.sheen=this.sheen;if(this.sheenColor&amp;&amp;this.sheenColor.isColor)data.sheenColor=this.sheenColor.getHex();if(this.sheenRoughness!==undefined)data.sheenRoughness=this.sheenRoughness;if(this.emissive&amp;&amp;this.emissive.isColor)data.emissive=this.emissive.getHex();if(this.emissiveIntensity!==undefined&amp;&amp;this.emissiveIntensity!==1)data.emissiveIntensity=this.emissiveIntensity;if(this.specular&amp;&amp;this.specular.isColor)data.specular=this.specular.getHex();if(this.specularIntensity!==undefined)data.specularIntensity=this.specularIntensity;if(this.specularColor&amp;&amp;this.specularColor.isColor)data.specularColor=this.specularColor.getHex();if(this.shininess!==undefined)data.shininess=this.shininess;if(this.clearcoat!==undefined)data.clearcoat=this.clearcoat;if(this.clearcoatRoughness!==undefined)data.clearcoatRoughness=this.clearcoatRoughness;if(this.clearcoatMap&amp;&amp;this.clearcoatMap.isTexture){data.clearcoatMap=this.clearcoatMap.toJSON(meta).uuid}if(this.clearcoatRoughnessMap&amp;&amp;this.clearcoatRoughnessMap.isTexture){data.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(meta).uuid}if(this.clearcoatNormalMap&amp;&amp;this.clearcoatNormalMap.isTexture){data.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(meta).uuid;data.clearcoatNormalScale=this.clearcoatNormalScale.toArray()}if(this.iridescence!==undefined)data.iridescence=this.iridescence;if(this.iridescenceIOR!==undefined)data.iridescenceIOR=this.iridescenceIOR;if(this.iridescenceThicknessRange!==undefined)data.iridescenceThicknessRange=this.iridescenceThicknessRange;if(this.iridescenceMap&amp;&amp;this.iridescenceMap.isTexture){data.iridescenceMap=this.iridescenceMap.toJSON(meta).uuid}if(this.iridescenceThicknessMap&amp;&amp;this.iridescenceThicknessMap.isTexture){data.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(meta).uuid}if(this.anisotropy!==undefined)data.anisotropy=this.anisotropy;if(this.anisotropyRotation!==undefined)data.anisotropyRotation=this.anisotropyRotation;if(this.anisotropyMap&amp;&amp;this.anisotropyMap.isTexture){data.anisotropyMap=this.anisotropyMap.toJSON(meta).uuid}if(this.map&amp;&amp;this.map.isTexture)data.map=this.map.toJSON(meta).uuid;if(this.matcap&amp;&amp;this.matcap.isTexture)data.matcap=this.matcap.toJSON(meta).uuid;if(this.alphaMap&amp;&amp;this.alphaMap.isTexture)data.alphaMap=this.alphaMap.toJSON(meta).uuid;if(this.lightMap&amp;&amp;this.lightMap.isTexture){data.lightMap=this.lightMap.toJSON(meta).uuid;data.lightMapIntensity=this.lightMapIntensity}if(this.aoMap&amp;&amp;this.aoMap.isTexture){data.aoMap=this.aoMap.toJSON(meta).uuid;data.aoMapIntensity=this.aoMapIntensity}if(this.bumpMap&amp;&amp;this.bumpMap.isTexture){data.bumpMap=this.bumpMap.toJSON(meta).uuid;data.bumpScale=this.bumpScale}if(this.normalMap&amp;&amp;this.normalMap.isTexture){data.normalMap=this.normalMap.toJSON(meta).uuid;data.normalMapType=this.normalMapType;data.normalScale=this.normalScale.toArray()}if(this.displacementMap&amp;&amp;this.displacementMap.isTexture){data.displacementMap=this.displacementMap.toJSON(meta).uuid;data.displacementScale=this.displacementScale;data.displacementBias=this.displacementBias}if(this.roughnessMap&amp;&amp;this.roughnessMap.isTexture)data.roughnessMap=this.roughnessMap.toJSON(meta).uuid;if(this.metalnessMap&amp;&amp;this.metalnessMap.isTexture)data.metalnessMap=this.metalnessMap.toJSON(meta).uuid;if(this.emissiveMap&amp;&amp;this.emissiveMap.isTexture)data.emissiveMap=this.emissiveMap.toJSON(meta).uuid;if(this.specularMap&amp;&amp;this.specularMap.isTexture)data.specularMap=this.specularMap.toJSON(meta).uuid;if(this.specularIntensityMap&amp;&amp;this.specularIntensityMap.isTexture)data.specularIntensityMap=this.specularIntensityMap.toJSON(meta).uuid;if(this.specularColorMap&amp;&amp;this.specularColorMap.isTexture)data.specularColorMap=this.specularColorMap.toJSON(meta).uuid;if(this.envMap&amp;&amp;this.envMap.isTexture){data.envMap=this.envMap.toJSON(meta).uuid;if(this.combine!==undefined)data.combine=this.combine}if(this.envMapRotation!==undefined)data.envMapRotation=this.envMapRotation.toArray();if(this.envMapIntensity!==undefined)data.envMapIntensity=this.envMapIntensity;if(this.reflectivity!==undefined)data.reflectivity=this.reflectivity;if(this.refractionRatio!==undefined)data.refractionRatio=this.refractionRatio;if(this.gradientMap&amp;&amp;this.gradientMap.isTexture){data.gradientMap=this.gradientMap.toJSON(meta).uuid}if(this.transmission!==undefined)data.transmission=this.transmission;if(this.transmissionMap&amp;&amp;this.transmissionMap.isTexture)data.transmissionMap=this.transmissionMap.toJSON(meta).uuid;if(this.thickness!==undefined)data.thickness=this.thickness;if(this.thicknessMap&amp;&amp;this.thicknessMap.isTexture)data.thicknessMap=this.thicknessMap.toJSON(meta).uuid;if(this.attenuationDistance!==undefined&amp;&amp;this.attenuationDistance!==Infinity)data.attenuationDistance=this.attenuationDistance;if(this.attenuationColor!==undefined)data.attenuationColor=this.attenuationColor.getHex();if(this.size!==undefined)data.size=this.size;if(this.shadowSide!==null)data.shadowSide=this.shadowSide;if(this.sizeAttenuation!==undefined)data.sizeAttenuation=this.sizeAttenuation;if(this.blending!==NormalBlending)data.blending=this.blending;if(this.side!==FrontSide)data.side=this.side;if(this.vertexColors===true)data.vertexColors=true;if(this.opacity&lt;1)data.opacity=this.opacity;if(this.transparent===true)data.transparent=true;if(this.blendSrc!==SrcAlphaFactor)data.blendSrc=this.blendSrc;if(this.blendDst!==OneMinusSrcAlphaFactor)data.blendDst=this.blendDst;if(this.blendEquation!==AddEquation)data.blendEquation=this.blendEquation;if(this.blendSrcAlpha!==null)data.blendSrcAlpha=this.blendSrcAlpha;if(this.blendDstAlpha!==null)data.blendDstAlpha=this.blendDstAlpha;if(this.blendEquationAlpha!==null)data.blendEquationAlpha=this.blendEquationAlpha;if(this.blendColor&amp;&amp;this.blendColor.isColor)data.blendColor=this.blendColor.getHex();if(this.blendAlpha!==0)data.blendAlpha=this.blendAlpha;if(this.depthFunc!==LessEqualDepth)data.depthFunc=this.depthFunc;if(this.depthTest===false)data.depthTest=this.depthTest;if(this.depthWrite===false)data.depthWrite=this.depthWrite;if(this.colorWrite===false)data.colorWrite=this.colorWrite;if(this.stencilWriteMask!==255)data.stencilWriteMask=this.stencilWriteMask;if(this.stencilFunc!==AlwaysStencilFunc)data.stencilFunc=this.stencilFunc;if(this.stencilRef!==0)data.stencilRef=this.stencilRef;if(this.stencilFuncMask!==255)data.stencilFuncMask=this.stencilFuncMask;if(this.stencilFail!==KeepStencilOp)data.stencilFail=this.stencilFail;if(this.stencilZFail!==KeepStencilOp)data.stencilZFail=this.stencilZFail;if(this.stencilZPass!==KeepStencilOp)data.stencilZPass=this.stencilZPass;if(this.stencilWrite===true)data.stencilWrite=this.stencilWrite;if(this.rotation!==undefined&amp;&amp;this.rotation!==0)data.rotation=this.rotation;if(this.polygonOffset===true)data.polygonOffset=true;if(this.polygonOffsetFactor!==0)data.polygonOffsetFactor=this.polygonOffsetFactor;if(this.polygonOffsetUnits!==0)data.polygonOffsetUnits=this.polygonOffsetUnits;if(this.linewidth!==undefined&amp;&amp;this.linewidth!==1)data.linewidth=this.linewidth;if(this.dashSize!==undefined)data.dashSize=this.dashSize;if(this.gapSize!==undefined)data.gapSize=this.gapSize;if(this.scale!==undefined)data.scale=this.scale;if(this.dithering===true)data.dithering=true;if(this.alphaTest&gt;0)data.alphaTest=this.alphaTest;if(this.alphaHash===true)data.alphaHash=true;if(this.alphaToCoverage===true)data.alphaToCoverage=true;if(this.premultipliedAlpha===true)data.premultipliedAlpha=true;if(this.forceSinglePass===true)data.forceSinglePass=true;if(this.wireframe===true)data.wireframe=true;if(this.wireframeLinewidth&gt;1)data.wireframeLinewidth=this.wireframeLinewidth;if(this.wireframeLinecap!=="round")data.wireframeLinecap=this.wireframeLinecap;if(this.wireframeLinejoin!=="round")data.wireframeLinejoin=this.wireframeLinejoin;if(this.flatShading===true)data.flatShading=true;if(this.visible===false)data.visible=false;if(this.toneMapped===false)data.toneMapped=false;if(this.fog===false)data.fog=false;if(Object.keys(this.userData).length&gt;0)data.userData=this.userData;function extractFromCache(cache){const values=[];for(const key in cache){const data=cache[key];delete data.metadata;values.push(data)}return values}if(isRootObject){const textures=extractFromCache(meta.textures);const images=extractFromCache(meta.images);if(textures.length&gt;0)data.textures=textures;if(images.length&gt;0)data.images=images}return data}clone(){return new this.constructor().copy(this)}copy(source){this.name=source.name;this.blending=source.blending;this.side=source.side;this.vertexColors=source.vertexColors;this.opacity=source.opacity;this.transparent=source.transparent;this.blendSrc=source.blendSrc;this.blendDst=source.blendDst;this.blendEquation=source.blendEquation;this.blendSrcAlpha=source.blendSrcAlpha;this.blendDstAlpha=source.blendDstAlpha;this.blendEquationAlpha=source.blendEquationAlpha;this.blendColor.copy(source.blendColor);this.blendAlpha=source.blendAlpha;this.depthFunc=source.depthFunc;this.depthTest=source.depthTest;this.depthWrite=source.depthWrite;this.stencilWriteMask=source.stencilWriteMask;this.stencilFunc=source.stencilFunc;this.stencilRef=source.stencilRef;this.stencilFuncMask=source.stencilFuncMask;this.stencilFail=source.stencilFail;this.stencilZFail=source.stencilZFail;this.stencilZPass=source.stencilZPass;this.stencilWrite=source.stencilWrite;const srcPlanes=source.clippingPlanes;let dstPlanes=null;if(srcPlanes!==null){const n=srcPlanes.length;dstPlanes=new Array(n);for(let i=0;i!==n;++i){dstPlanes[i]=srcPlanes[i].clone()}}this.clippingPlanes=dstPlanes;this.clipIntersection=source.clipIntersection;this.clipShadows=source.clipShadows;this.shadowSide=source.shadowSide;this.colorWrite=source.colorWrite;this.precision=source.precision;this.polygonOffset=source.polygonOffset;this.polygonOffsetFactor=source.polygonOffsetFactor;this.polygonOffsetUnits=source.polygonOffsetUnits;this.dithering=source.dithering;this.alphaTest=source.alphaTest;this.alphaHash=source.alphaHash;this.alphaToCoverage=source.alphaToCoverage;this.premultipliedAlpha=source.premultipliedAlpha;this.forceSinglePass=source.forceSinglePass;this.visible=source.visible;this.toneMapped=source.toneMapped;this.userData=JSON.parse(JSON.stringify(source.userData));return this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(value){if(value===true)this.version++}}class MeshBasicMaterial extends Material{constructor(parameters){super();this.isMeshBasicMaterial=true;this.type="MeshBasicMaterial";this.color=new Color(16777215);this.map=null;this.lightMap=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.specularMap=null;this.alphaMap=null;this.envMap=null;this.envMapRotation=new Euler;this.combine=MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.wireframe=false;this.wireframeLinewidth=1;this.wireframeLinecap="round";this.wireframeLinejoin="round";this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.lightMap=source.lightMap;this.lightMapIntensity=source.lightMapIntensity;this.aoMap=source.aoMap;this.aoMapIntensity=source.aoMapIntensity;this.specularMap=source.specularMap;this.alphaMap=source.alphaMap;this.envMap=source.envMap;this.envMapRotation.copy(source.envMapRotation);this.combine=source.combine;this.reflectivity=source.reflectivity;this.refractionRatio=source.refractionRatio;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.wireframeLinecap=source.wireframeLinecap;this.wireframeLinejoin=source.wireframeLinejoin;this.fog=source.fog;return this}}const _tables=_generateTables();function _generateTables(){const buffer=new ArrayBuffer(4);const floatView=new Float32Array(buffer);const uint32View=new Uint32Array(buffer);const baseTable=new Uint32Array(512);const shiftTable=new Uint32Array(512);for(let i=0;i&lt;256;++i){const e=i-127;if(e&lt;-27){baseTable[i]=0;baseTable[i|256]=32768;shiftTable[i]=24;shiftTable[i|256]=24}else if(e&lt;-14){baseTable[i]=1024&gt;&gt;-e-14;baseTable[i|256]=1024&gt;&gt;-e-14|32768;shiftTable[i]=-e-1;shiftTable[i|256]=-e-1}else if(e&lt;=15){baseTable[i]=e+15&lt;&lt;10;baseTable[i|256]=e+15&lt;&lt;10|32768;shiftTable[i]=13;shiftTable[i|256]=13}else if(e&lt;128){baseTable[i]=31744;baseTable[i|256]=64512;shiftTable[i]=24;shiftTable[i|256]=24}else{baseTable[i]=31744;baseTable[i|256]=64512;shiftTable[i]=13;shiftTable[i|256]=13}}const mantissaTable=new Uint32Array(2048);const exponentTable=new Uint32Array(64);const offsetTable=new Uint32Array(64);for(let i=1;i&lt;1024;++i){let m=i&lt;&lt;13;let e=0;while((m&amp;8388608)===0){m&lt;&lt;=1;e-=8388608}m&amp;=~8388608;e+=947912704;mantissaTable[i]=m|e}for(let i=1024;i&lt;2048;++i){mantissaTable[i]=939524096+(i-1024&lt;&lt;13)}for(let i=1;i&lt;31;++i){exponentTable[i]=i&lt;&lt;23}exponentTable[31]=1199570944;exponentTable[32]=2147483648;for(let i=33;i&lt;63;++i){exponentTable[i]=2147483648+(i-32&lt;&lt;23)}exponentTable[63]=3347054592;for(let i=1;i&lt;64;++i){if(i!==32){offsetTable[i]=1024}}return{floatView:floatView,uint32View:uint32View,baseTable:baseTable,shiftTable:shiftTable,mantissaTable:mantissaTable,exponentTable:exponentTable,offsetTable:offsetTable}}function toHalfFloat(val){if(Math.abs(val)&gt;65504)console.warn("THREE.DataUtils.toHalfFloat(): Value out of range.");val=clamp(val,-65504,65504);_tables.floatView[0]=val;const f=_tables.uint32View[0];const e=f&gt;&gt;23&amp;511;return _tables.baseTable[e]+((f&amp;8388607)&gt;&gt;_tables.shiftTable[e])}function fromHalfFloat(val){const m=val&gt;&gt;10;_tables.uint32View[0]=_tables.mantissaTable[_tables.offsetTable[m]+(val&amp;1023)]+_tables.exponentTable[m];return _tables.floatView[0]}const DataUtils={toHalfFloat:toHalfFloat,fromHalfFloat:fromHalfFloat};const _vector$9=new Vector3;const _vector2$1=new Vector2;class BufferAttribute{constructor(array,itemSize,normalized=false){if(Array.isArray(array)){throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.")}this.isBufferAttribute=true;this.name="";this.array=array;this.itemSize=itemSize;this.count=array!==undefined?array.length/itemSize:0;this.normalized=normalized;this.usage=StaticDrawUsage;this._updateRange={offset:0,count:-1};this.updateRanges=[];this.gpuType=FloatType;this.version=0}onUploadCallback(){}set needsUpdate(value){if(value===true)this.version++}get updateRange(){warnOnce("THREE.BufferAttribute: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead.");return this._updateRange}setUsage(value){this.usage=value;return this}addUpdateRange(start,count){this.updateRanges.push({start,count})}clearUpdateRanges(){this.updateRanges.length=0}copy(source){this.name=source.name;this.array=new source.array.constructor(source.array);this.itemSize=source.itemSize;this.count=source.count;this.normalized=source.normalized;this.usage=source.usage;this.gpuType=source.gpuType;return this}copyAt(index1,attribute,index2){index1*=this.itemSize;index2*=attribute.itemSize;for(let i=0,l=this.itemSize;i&lt;l;i++){this.array[index1+i]=attribute.array[index2+i]}return this}copyArray(array){this.array.set(array);return this}applyMatrix3(m){if(this.itemSize===2){for(let i=0,l=this.count;i&lt;l;i++){_vector2$1.fromBufferAttribute(this,i);_vector2$1.applyMatrix3(m);this.setXY(i,_vector2$1.x,_vector2$1.y)}}else if(this.itemSize===3){for(let i=0,l=this.count;i&lt;l;i++){_vector$9.fromBufferAttribute(this,i);_vector$9.applyMatrix3(m);this.setXYZ(i,_vector$9.x,_vector$9.y,_vector$9.z)}}return this}applyMatrix4(m){for(let i=0,l=this.count;i&lt;l;i++){_vector$9.fromBufferAttribute(this,i);_vector$9.applyMatrix4(m);this.setXYZ(i,_vector$9.x,_vector$9.y,_vector$9.z)}return this}applyNormalMatrix(m){for(let i=0,l=this.count;i&lt;l;i++){_vector$9.fromBufferAttribute(this,i);_vector$9.applyNormalMatrix(m);this.setXYZ(i,_vector$9.x,_vector$9.y,_vector$9.z)}return this}transformDirection(m){for(let i=0,l=this.count;i&lt;l;i++){_vector$9.fromBufferAttribute(this,i);_vector$9.transformDirection(m);this.setXYZ(i,_vector$9.x,_vector$9.y,_vector$9.z)}return this}set(value,offset=0){this.array.set(value,offset);return this}getComponent(index,component){let value=this.array[index*this.itemSize+component];if(this.normalized)value=denormalize(value,this.array);return value}setComponent(index,component,value){if(this.normalized)value=normalize(value,this.array);this.array[index*this.itemSize+component]=value;return this}getX(index){let x=this.array[index*this.itemSize];if(this.normalized)x=denormalize(x,this.array);return x}setX(index,x){if(this.normalized)x=normalize(x,this.array);this.array[index*this.itemSize]=x;return this}getY(index){let y=this.array[index*this.itemSize+1];if(this.normalized)y=denormalize(y,this.array);return y}setY(index,y){if(this.normalized)y=normalize(y,this.array);this.array[index*this.itemSize+1]=y;return this}getZ(index){let z=this.array[index*this.itemSize+2];if(this.normalized)z=denormalize(z,this.array);return z}setZ(index,z){if(this.normalized)z=normalize(z,this.array);this.array[index*this.itemSize+2]=z;return this}getW(index){let w=this.array[index*this.itemSize+3];if(this.normalized)w=denormalize(w,this.array);return w}setW(index,w){if(this.normalized)w=normalize(w,this.array);this.array[index*this.itemSize+3]=w;return this}setXY(index,x,y){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array)}this.array[index+0]=x;this.array[index+1]=y;return this}setXYZ(index,x,y,z){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array)}this.array[index+0]=x;this.array[index+1]=y;this.array[index+2]=z;return this}setXYZW(index,x,y,z,w){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array);w=normalize(w,this.array)}this.array[index+0]=x;this.array[index+1]=y;this.array[index+2]=z;this.array[index+3]=w;return this}onUpload(callback){this.onUploadCallback=callback;return this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const data={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};if(this.name!=="")data.name=this.name;if(this.usage!==StaticDrawUsage)data.usage=this.usage;return data}}class Int8BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Int8Array(array),itemSize,normalized)}}class Uint8BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Uint8Array(array),itemSize,normalized)}}class Uint8ClampedBufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Uint8ClampedArray(array),itemSize,normalized)}}class Int16BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Int16Array(array),itemSize,normalized)}}class Uint16BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Uint16Array(array),itemSize,normalized)}}class Int32BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Int32Array(array),itemSize,normalized)}}class Uint32BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Uint32Array(array),itemSize,normalized)}}class Float16BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Uint16Array(array),itemSize,normalized);this.isFloat16BufferAttribute=true}getX(index){let x=fromHalfFloat(this.array[index*this.itemSize]);if(this.normalized)x=denormalize(x,this.array);return x}setX(index,x){if(this.normalized)x=normalize(x,this.array);this.array[index*this.itemSize]=toHalfFloat(x);return this}getY(index){let y=fromHalfFloat(this.array[index*this.itemSize+1]);if(this.normalized)y=denormalize(y,this.array);return y}setY(index,y){if(this.normalized)y=normalize(y,this.array);this.array[index*this.itemSize+1]=toHalfFloat(y);return this}getZ(index){let z=fromHalfFloat(this.array[index*this.itemSize+2]);if(this.normalized)z=denormalize(z,this.array);return z}setZ(index,z){if(this.normalized)z=normalize(z,this.array);this.array[index*this.itemSize+2]=toHalfFloat(z);return this}getW(index){let w=fromHalfFloat(this.array[index*this.itemSize+3]);if(this.normalized)w=denormalize(w,this.array);return w}setW(index,w){if(this.normalized)w=normalize(w,this.array);this.array[index*this.itemSize+3]=toHalfFloat(w);return this}setXY(index,x,y){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array)}this.array[index+0]=toHalfFloat(x);this.array[index+1]=toHalfFloat(y);return this}setXYZ(index,x,y,z){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array)}this.array[index+0]=toHalfFloat(x);this.array[index+1]=toHalfFloat(y);this.array[index+2]=toHalfFloat(z);return this}setXYZW(index,x,y,z,w){index*=this.itemSize;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array);w=normalize(w,this.array)}this.array[index+0]=toHalfFloat(x);this.array[index+1]=toHalfFloat(y);this.array[index+2]=toHalfFloat(z);this.array[index+3]=toHalfFloat(w);return this}}class Float32BufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized){super(new Float32Array(array),itemSize,normalized)}}let _id$2=0;const _m1$2=new Matrix4;const _obj=new Object3D;const _offset=new Vector3;const _box$2=new Box3;const _boxMorphTargets=new Box3;const _vector$8=new Vector3;class BufferGeometry extends EventDispatcher{constructor(){super();this.isBufferGeometry=true;Object.defineProperty(this,"id",{value:_id$2++});this.uuid=generateUUID();this.name="";this.type="BufferGeometry";this.index=null;this.attributes={};this.morphAttributes={};this.morphTargetsRelative=false;this.groups=[];this.boundingBox=null;this.boundingSphere=null;this.drawRange={start:0,count:Infinity};this.userData={}}getIndex(){return this.index}setIndex(index){if(Array.isArray(index)){this.index=new(arrayNeedsUint32(index)?Uint32BufferAttribute:Uint16BufferAttribute)(index,1)}else{this.index=index}return this}getAttribute(name){return this.attributes[name]}setAttribute(name,attribute){this.attributes[name]=attribute;return this}deleteAttribute(name){delete this.attributes[name];return this}hasAttribute(name){return this.attributes[name]!==undefined}addGroup(start,count,materialIndex=0){this.groups.push({start:start,count:count,materialIndex:materialIndex})}clearGroups(){this.groups=[]}setDrawRange(start,count){this.drawRange.start=start;this.drawRange.count=count}applyMatrix4(matrix){const position=this.attributes.position;if(position!==undefined){position.applyMatrix4(matrix);position.needsUpdate=true}const normal=this.attributes.normal;if(normal!==undefined){const normalMatrix=new Matrix3().getNormalMatrix(matrix);normal.applyNormalMatrix(normalMatrix);normal.needsUpdate=true}const tangent=this.attributes.tangent;if(tangent!==undefined){tangent.transformDirection(matrix);tangent.needsUpdate=true}if(this.boundingBox!==null){this.computeBoundingBox()}if(this.boundingSphere!==null){this.computeBoundingSphere()}return this}applyQuaternion(q){_m1$2.makeRotationFromQuaternion(q);this.applyMatrix4(_m1$2);return this}rotateX(angle){_m1$2.makeRotationX(angle);this.applyMatrix4(_m1$2);return this}rotateY(angle){_m1$2.makeRotationY(angle);this.applyMatrix4(_m1$2);return this}rotateZ(angle){_m1$2.makeRotationZ(angle);this.applyMatrix4(_m1$2);return this}translate(x,y,z){_m1$2.makeTranslation(x,y,z);this.applyMatrix4(_m1$2);return this}scale(x,y,z){_m1$2.makeScale(x,y,z);this.applyMatrix4(_m1$2);return this}lookAt(vector){_obj.lookAt(vector);_obj.updateMatrix();this.applyMatrix4(_obj.matrix);return this}center(){this.computeBoundingBox();this.boundingBox.getCenter(_offset).negate();this.translate(_offset.x,_offset.y,_offset.z);return this}setFromPoints(points){const position=[];for(let i=0,l=points.length;i&lt;l;i++){const point=points[i];position.push(point.x,point.y,point.z||0)}this.setAttribute("position",new Float32BufferAttribute(position,3));return this}computeBoundingBox(){if(this.boundingBox===null){this.boundingBox=new Box3}const position=this.attributes.position;const morphAttributesPosition=this.morphAttributes.position;if(position&amp;&amp;position.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this);this.boundingBox.set(new Vector3(-Infinity,-Infinity,-Infinity),new Vector3(+Infinity,+Infinity,+Infinity));return}if(position!==undefined){this.boundingBox.setFromBufferAttribute(position);if(morphAttributesPosition){for(let i=0,il=morphAttributesPosition.length;i&lt;il;i++){const morphAttribute=morphAttributesPosition[i];_box$2.setFromBufferAttribute(morphAttribute);if(this.morphTargetsRelative){_vector$8.addVectors(this.boundingBox.min,_box$2.min);this.boundingBox.expandByPoint(_vector$8);_vector$8.addVectors(this.boundingBox.max,_box$2.max);this.boundingBox.expandByPoint(_vector$8)}else{this.boundingBox.expandByPoint(_box$2.min);this.boundingBox.expandByPoint(_box$2.max)}}}}else{this.boundingBox.makeEmpty()}if(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(){if(this.boundingSphere===null){this.boundingSphere=new Sphere}const position=this.attributes.position;const morphAttributesPosition=this.morphAttributes.position;if(position&amp;&amp;position.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this);this.boundingSphere.set(new Vector3,Infinity);return}if(position){const center=this.boundingSphere.center;_box$2.setFromBufferAttribute(position);if(morphAttributesPosition){for(let i=0,il=morphAttributesPosition.length;i&lt;il;i++){const morphAttribute=morphAttributesPosition[i];_boxMorphTargets.setFromBufferAttribute(morphAttribute);if(this.morphTargetsRelative){_vector$8.addVectors(_box$2.min,_boxMorphTargets.min);_box$2.expandByPoint(_vector$8);_vector$8.addVectors(_box$2.max,_boxMorphTargets.max);_box$2.expandByPoint(_vector$8)}else{_box$2.expandByPoint(_boxMorphTargets.min);_box$2.expandByPoint(_boxMorphTargets.max)}}}_box$2.getCenter(center);let maxRadiusSq=0;for(let i=0,il=position.count;i&lt;il;i++){_vector$8.fromBufferAttribute(position,i);maxRadiusSq=Math.max(maxRadiusSq,center.distanceToSquared(_vector$8))}if(morphAttributesPosition){for(let i=0,il=morphAttributesPosition.length;i&lt;il;i++){const morphAttribute=morphAttributesPosition[i];const morphTargetsRelative=this.morphTargetsRelative;for(let j=0,jl=morphAttribute.count;j&lt;jl;j++){_vector$8.fromBufferAttribute(morphAttribute,j);if(morphTargetsRelative){_offset.fromBufferAttribute(position,j);_vector$8.add(_offset)}maxRadiusSq=Math.max(maxRadiusSq,center.distanceToSquared(_vector$8))}}}this.boundingSphere.radius=Math.sqrt(maxRadiusSq);if(isNaN(this.boundingSphere.radius)){console.error("THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The \"position\" attribute is likely to have NaN values.",this)}}}computeTangents(){const index=this.index;const attributes=this.attributes;if(index===null||attributes.position===undefined||attributes.normal===undefined||attributes.uv===undefined){console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");return}const positionAttribute=attributes.position;const normalAttribute=attributes.normal;const uvAttribute=attributes.uv;if(this.hasAttribute("tangent")===false){this.setAttribute("tangent",new BufferAttribute(new Float32Array(4*positionAttribute.count),4))}const tangentAttribute=this.getAttribute("tangent");const tan1=[],tan2=[];for(let i=0;i&lt;positionAttribute.count;i++){tan1[i]=new Vector3;tan2[i]=new Vector3}const vA=new Vector3,vB=new Vector3,vC=new Vector3,uvA=new Vector2,uvB=new Vector2,uvC=new Vector2,sdir=new Vector3,tdir=new Vector3;function handleTriangle(a,b,c){vA.fromBufferAttribute(positionAttribute,a);vB.fromBufferAttribute(positionAttribute,b);vC.fromBufferAttribute(positionAttribute,c);uvA.fromBufferAttribute(uvAttribute,a);uvB.fromBufferAttribute(uvAttribute,b);uvC.fromBufferAttribute(uvAttribute,c);vB.sub(vA);vC.sub(vA);uvB.sub(uvA);uvC.sub(uvA);const r=1/(uvB.x*uvC.y-uvC.x*uvB.y);if(!isFinite(r))return;sdir.copy(vB).multiplyScalar(uvC.y).addScaledVector(vC,-uvB.y).multiplyScalar(r);tdir.copy(vC).multiplyScalar(uvB.x).addScaledVector(vB,-uvC.x).multiplyScalar(r);tan1[a].add(sdir);tan1[b].add(sdir);tan1[c].add(sdir);tan2[a].add(tdir);tan2[b].add(tdir);tan2[c].add(tdir)}let groups=this.groups;if(groups.length===0){groups=[{start:0,count:index.count}]}for(let i=0,il=groups.length;i&lt;il;++i){const group=groups[i];const start=group.start;const count=group.count;for(let j=start,jl=start+count;j&lt;jl;j+=3){handleTriangle(index.getX(j+0),index.getX(j+1),index.getX(j+2))}}const tmp=new Vector3,tmp2=new Vector3;const n=new Vector3,n2=new Vector3;function handleVertex(v){n.fromBufferAttribute(normalAttribute,v);n2.copy(n);const t=tan1[v];tmp.copy(t);tmp.sub(n.multiplyScalar(n.dot(t))).normalize();tmp2.crossVectors(n2,t);const test=tmp2.dot(tan2[v]);const w=test&lt;0?-1:1;tangentAttribute.setXYZW(v,tmp.x,tmp.y,tmp.z,w)}for(let i=0,il=groups.length;i&lt;il;++i){const group=groups[i];const start=group.start;const count=group.count;for(let j=start,jl=start+count;j&lt;jl;j+=3){handleVertex(index.getX(j+0));handleVertex(index.getX(j+1));handleVertex(index.getX(j+2))}}}computeVertexNormals(){const index=this.index;const positionAttribute=this.getAttribute("position");if(positionAttribute!==undefined){let normalAttribute=this.getAttribute("normal");if(normalAttribute===undefined){normalAttribute=new BufferAttribute(new Float32Array(positionAttribute.count*3),3);this.setAttribute("normal",normalAttribute)}else{for(let i=0,il=normalAttribute.count;i&lt;il;i++){normalAttribute.setXYZ(i,0,0,0)}}const pA=new Vector3,pB=new Vector3,pC=new Vector3;const nA=new Vector3,nB=new Vector3,nC=new Vector3;const cb=new Vector3,ab=new Vector3;if(index){for(let i=0,il=index.count;i&lt;il;i+=3){const vA=index.getX(i+0);const vB=index.getX(i+1);const vC=index.getX(i+2);pA.fromBufferAttribute(positionAttribute,vA);pB.fromBufferAttribute(positionAttribute,vB);pC.fromBufferAttribute(positionAttribute,vC);cb.subVectors(pC,pB);ab.subVectors(pA,pB);cb.cross(ab);nA.fromBufferAttribute(normalAttribute,vA);nB.fromBufferAttribute(normalAttribute,vB);nC.fromBufferAttribute(normalAttribute,vC);nA.add(cb);nB.add(cb);nC.add(cb);normalAttribute.setXYZ(vA,nA.x,nA.y,nA.z);normalAttribute.setXYZ(vB,nB.x,nB.y,nB.z);normalAttribute.setXYZ(vC,nC.x,nC.y,nC.z)}}else{for(let i=0,il=positionAttribute.count;i&lt;il;i+=3){pA.fromBufferAttribute(positionAttribute,i+0);pB.fromBufferAttribute(positionAttribute,i+1);pC.fromBufferAttribute(positionAttribute,i+2);cb.subVectors(pC,pB);ab.subVectors(pA,pB);cb.cross(ab);normalAttribute.setXYZ(i+0,cb.x,cb.y,cb.z);normalAttribute.setXYZ(i+1,cb.x,cb.y,cb.z);normalAttribute.setXYZ(i+2,cb.x,cb.y,cb.z)}}this.normalizeNormals();normalAttribute.needsUpdate=true}}normalizeNormals(){const normals=this.attributes.normal;for(let i=0,il=normals.count;i&lt;il;i++){_vector$8.fromBufferAttribute(normals,i);_vector$8.normalize();normals.setXYZ(i,_vector$8.x,_vector$8.y,_vector$8.z)}}toNonIndexed(){function convertBufferAttribute(attribute,indices){const array=attribute.array;const itemSize=attribute.itemSize;const normalized=attribute.normalized;const array2=new array.constructor(indices.length*itemSize);let index=0,index2=0;for(let i=0,l=indices.length;i&lt;l;i++){if(attribute.isInterleavedBufferAttribute){index=indices[i]*attribute.data.stride+attribute.offset}else{index=indices[i]*itemSize}for(let j=0;j&lt;itemSize;j++){array2[index2++]=array[index++]}}return new BufferAttribute(array2,itemSize,normalized)}if(this.index===null){console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.");return this}const geometry2=new BufferGeometry;const indices=this.index.array;const attributes=this.attributes;for(const name in attributes){const attribute=attributes[name];const newAttribute=convertBufferAttribute(attribute,indices);geometry2.setAttribute(name,newAttribute)}const morphAttributes=this.morphAttributes;for(const name in morphAttributes){const morphArray=[];const morphAttribute=morphAttributes[name];for(let i=0,il=morphAttribute.length;i&lt;il;i++){const attribute=morphAttribute[i];const newAttribute=convertBufferAttribute(attribute,indices);morphArray.push(newAttribute)}geometry2.morphAttributes[name]=morphArray}geometry2.morphTargetsRelative=this.morphTargetsRelative;const groups=this.groups;for(let i=0,l=groups.length;i&lt;l;i++){const group=groups[i];geometry2.addGroup(group.start,group.count,group.materialIndex)}return geometry2}toJSON(){const data={metadata:{version:4.6,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};data.uuid=this.uuid;data.type=this.type;if(this.name!=="")data.name=this.name;if(Object.keys(this.userData).length&gt;0)data.userData=this.userData;if(this.parameters!==undefined){const parameters=this.parameters;for(const key in parameters){if(parameters[key]!==undefined)data[key]=parameters[key]}return data}data.data={attributes:{}};const index=this.index;if(index!==null){data.data.index={type:index.array.constructor.name,array:Array.prototype.slice.call(index.array)}}const attributes=this.attributes;for(const key in attributes){const attribute=attributes[key];data.data.attributes[key]=attribute.toJSON(data.data)}const morphAttributes={};let hasMorphAttributes=false;for(const key in this.morphAttributes){const attributeArray=this.morphAttributes[key];const array=[];for(let i=0,il=attributeArray.length;i&lt;il;i++){const attribute=attributeArray[i];array.push(attribute.toJSON(data.data))}if(array.length&gt;0){morphAttributes[key]=array;hasMorphAttributes=true}}if(hasMorphAttributes){data.data.morphAttributes=morphAttributes;data.data.morphTargetsRelative=this.morphTargetsRelative}const groups=this.groups;if(groups.length&gt;0){data.data.groups=JSON.parse(JSON.stringify(groups))}const boundingSphere=this.boundingSphere;if(boundingSphere!==null){data.data.boundingSphere={center:boundingSphere.center.toArray(),radius:boundingSphere.radius}}return data}clone(){return new this.constructor().copy(this)}copy(source){this.index=null;this.attributes={};this.morphAttributes={};this.groups=[];this.boundingBox=null;this.boundingSphere=null;const data={};this.name=source.name;const index=source.index;if(index!==null){this.setIndex(index.clone(data))}const attributes=source.attributes;for(const name in attributes){const attribute=attributes[name];this.setAttribute(name,attribute.clone(data))}const morphAttributes=source.morphAttributes;for(const name in morphAttributes){const array=[];const morphAttribute=morphAttributes[name];for(let i=0,l=morphAttribute.length;i&lt;l;i++){array.push(morphAttribute[i].clone(data))}this.morphAttributes[name]=array}this.morphTargetsRelative=source.morphTargetsRelative;const groups=source.groups;for(let i=0,l=groups.length;i&lt;l;i++){const group=groups[i];this.addGroup(group.start,group.count,group.materialIndex)}const boundingBox=source.boundingBox;if(boundingBox!==null){this.boundingBox=boundingBox.clone()}const boundingSphere=source.boundingSphere;if(boundingSphere!==null){this.boundingSphere=boundingSphere.clone()}this.drawRange.start=source.drawRange.start;this.drawRange.count=source.drawRange.count;this.userData=source.userData;return this}dispose(){this.dispatchEvent({type:"dispose"})}}const _inverseMatrix$3=new Matrix4;const _ray$3=new Ray;const _sphere$6=new Sphere;const _sphereHitAt=new Vector3;const _vA$1=new Vector3;const _vB$1=new Vector3;const _vC$1=new Vector3;const _tempA=new Vector3;const _morphA=new Vector3;const _uvA$1=new Vector2;const _uvB$1=new Vector2;const _uvC$1=new Vector2;const _normalA=new Vector3;const _normalB=new Vector3;const _normalC=new Vector3;const _intersectionPoint=new Vector3;const _intersectionPointWorld=new Vector3;class Mesh extends Object3D{constructor(geometry=new BufferGeometry,material=new MeshBasicMaterial){super();this.isMesh=true;this.type="Mesh";this.geometry=geometry;this.material=material;this.updateMorphTargets()}copy(source,recursive){super.copy(source,recursive);if(source.morphTargetInfluences!==undefined){this.morphTargetInfluences=source.morphTargetInfluences.slice()}if(source.morphTargetDictionary!==undefined){this.morphTargetDictionary=Object.assign({},source.morphTargetDictionary)}this.material=Array.isArray(source.material)?source.material.slice():source.material;this.geometry=source.geometry;return this}updateMorphTargets(){const geometry=this.geometry;const morphAttributes=geometry.morphAttributes;const keys=Object.keys(morphAttributes);if(keys.length&gt;0){const morphAttribute=morphAttributes[keys[0]];if(morphAttribute!==undefined){this.morphTargetInfluences=[];this.morphTargetDictionary={};for(let m=0,ml=morphAttribute.length;m&lt;ml;m++){const name=morphAttribute[m].name||String(m);this.morphTargetInfluences.push(0);this.morphTargetDictionary[name]=m}}}}getVertexPosition(index,target){const geometry=this.geometry;const position=geometry.attributes.position;const morphPosition=geometry.morphAttributes.position;const morphTargetsRelative=geometry.morphTargetsRelative;target.fromBufferAttribute(position,index);const morphInfluences=this.morphTargetInfluences;if(morphPosition&amp;&amp;morphInfluences){_morphA.set(0,0,0);for(let i=0,il=morphPosition.length;i&lt;il;i++){const influence=morphInfluences[i];const morphAttribute=morphPosition[i];if(influence===0)continue;_tempA.fromBufferAttribute(morphAttribute,index);if(morphTargetsRelative){_morphA.addScaledVector(_tempA,influence)}else{_morphA.addScaledVector(_tempA.sub(target),influence)}}target.add(_morphA)}return target}raycast(raycaster,intersects){const geometry=this.geometry;const material=this.material;const matrixWorld=this.matrixWorld;if(material===undefined)return;if(geometry.boundingSphere===null)geometry.computeBoundingSphere();_sphere$6.copy(geometry.boundingSphere);_sphere$6.applyMatrix4(matrixWorld);_ray$3.copy(raycaster.ray).recast(raycaster.near);if(_sphere$6.containsPoint(_ray$3.origin)===false){if(_ray$3.intersectSphere(_sphere$6,_sphereHitAt)===null)return;if(_ray$3.origin.distanceToSquared(_sphereHitAt)&gt;(raycaster.far-raycaster.near)**2)return}_inverseMatrix$3.copy(matrixWorld).invert();_ray$3.copy(raycaster.ray).applyMatrix4(_inverseMatrix$3);if(geometry.boundingBox!==null){if(_ray$3.intersectsBox(geometry.boundingBox)===false)return}this._computeIntersections(raycaster,intersects,_ray$3)}_computeIntersections(raycaster,intersects,rayLocalSpace){let intersection;const geometry=this.geometry;const material=this.material;const index=geometry.index;const position=geometry.attributes.position;const uv=geometry.attributes.uv;const uv1=geometry.attributes.uv1;const normal=geometry.attributes.normal;const groups=geometry.groups;const drawRange=geometry.drawRange;if(index!==null){if(Array.isArray(material)){for(let i=0,il=groups.length;i&lt;il;i++){const group=groups[i];const groupMaterial=material[group.materialIndex];const start=Math.max(group.start,drawRange.start);const end=Math.min(index.count,Math.min(group.start+group.count,drawRange.start+drawRange.count));for(let j=start,jl=end;j&lt;jl;j+=3){const a=index.getX(j);const b=index.getX(j+1);const c=index.getX(j+2);intersection=checkGeometryIntersection(this,groupMaterial,raycaster,rayLocalSpace,uv,uv1,normal,a,b,c);if(intersection){intersection.faceIndex=Math.floor(j/3);intersection.face.materialIndex=group.materialIndex;intersects.push(intersection)}}}}else{const start=Math.max(0,drawRange.start);const end=Math.min(index.count,drawRange.start+drawRange.count);for(let i=start,il=end;i&lt;il;i+=3){const a=index.getX(i);const b=index.getX(i+1);const c=index.getX(i+2);intersection=checkGeometryIntersection(this,material,raycaster,rayLocalSpace,uv,uv1,normal,a,b,c);if(intersection){intersection.faceIndex=Math.floor(i/3);intersects.push(intersection)}}}}else if(position!==undefined){if(Array.isArray(material)){for(let i=0,il=groups.length;i&lt;il;i++){const group=groups[i];const groupMaterial=material[group.materialIndex];const start=Math.max(group.start,drawRange.start);const end=Math.min(position.count,Math.min(group.start+group.count,drawRange.start+drawRange.count));for(let j=start,jl=end;j&lt;jl;j+=3){const a=j;const b=j+1;const c=j+2;intersection=checkGeometryIntersection(this,groupMaterial,raycaster,rayLocalSpace,uv,uv1,normal,a,b,c);if(intersection){intersection.faceIndex=Math.floor(j/3);intersection.face.materialIndex=group.materialIndex;intersects.push(intersection)}}}}else{const start=Math.max(0,drawRange.start);const end=Math.min(position.count,drawRange.start+drawRange.count);for(let i=start,il=end;i&lt;il;i+=3){const a=i;const b=i+1;const c=i+2;intersection=checkGeometryIntersection(this,material,raycaster,rayLocalSpace,uv,uv1,normal,a,b,c);if(intersection){intersection.faceIndex=Math.floor(i/3);intersects.push(intersection)}}}}}}function checkIntersection(object,material,raycaster,ray,pA,pB,pC,point){let intersect;if(material.side===BackSide){intersect=ray.intersectTriangle(pC,pB,pA,true,point)}else{intersect=ray.intersectTriangle(pA,pB,pC,material.side===FrontSide,point)}if(intersect===null)return null;_intersectionPointWorld.copy(point);_intersectionPointWorld.applyMatrix4(object.matrixWorld);const distance=raycaster.ray.origin.distanceTo(_intersectionPointWorld);if(distance&lt;raycaster.near||distance&gt;raycaster.far)return null;return{distance:distance,point:_intersectionPointWorld.clone(),object:object}}function checkGeometryIntersection(object,material,raycaster,ray,uv,uv1,normal,a,b,c){object.getVertexPosition(a,_vA$1);object.getVertexPosition(b,_vB$1);object.getVertexPosition(c,_vC$1);const intersection=checkIntersection(object,material,raycaster,ray,_vA$1,_vB$1,_vC$1,_intersectionPoint);if(intersection){if(uv){_uvA$1.fromBufferAttribute(uv,a);_uvB$1.fromBufferAttribute(uv,b);_uvC$1.fromBufferAttribute(uv,c);intersection.uv=Triangle.getInterpolation(_intersectionPoint,_vA$1,_vB$1,_vC$1,_uvA$1,_uvB$1,_uvC$1,new Vector2)}if(uv1){_uvA$1.fromBufferAttribute(uv1,a);_uvB$1.fromBufferAttribute(uv1,b);_uvC$1.fromBufferAttribute(uv1,c);intersection.uv1=Triangle.getInterpolation(_intersectionPoint,_vA$1,_vB$1,_vC$1,_uvA$1,_uvB$1,_uvC$1,new Vector2)}if(normal){_normalA.fromBufferAttribute(normal,a);_normalB.fromBufferAttribute(normal,b);_normalC.fromBufferAttribute(normal,c);intersection.normal=Triangle.getInterpolation(_intersectionPoint,_vA$1,_vB$1,_vC$1,_normalA,_normalB,_normalC,new Vector3);if(intersection.normal.dot(ray.direction)&gt;0){intersection.normal.multiplyScalar(-1)}}const face={a:a,b:b,c:c,normal:new Vector3,materialIndex:0};Triangle.getNormal(_vA$1,_vB$1,_vC$1,face.normal);intersection.face=face}return intersection}class BoxGeometry extends BufferGeometry{constructor(width=1,height=1,depth=1,widthSegments=1,heightSegments=1,depthSegments=1){super();this.type="BoxGeometry";this.parameters={width:width,height:height,depth:depth,widthSegments:widthSegments,heightSegments:heightSegments,depthSegments:depthSegments};const scope=this;widthSegments=Math.floor(widthSegments);heightSegments=Math.floor(heightSegments);depthSegments=Math.floor(depthSegments);const indices=[];const vertices=[];const normals=[];const uvs=[];let numberOfVertices=0;let groupStart=0;buildPlane("z","y","x",-1,-1,depth,height,width,depthSegments,heightSegments,0);buildPlane("z","y","x",1,-1,depth,height,-width,depthSegments,heightSegments,1);buildPlane("x","z","y",1,1,width,depth,height,widthSegments,depthSegments,2);buildPlane("x","z","y",1,-1,width,depth,-height,widthSegments,depthSegments,3);buildPlane("x","y","z",1,-1,width,height,depth,widthSegments,heightSegments,4);buildPlane("x","y","z",-1,-1,width,height,-depth,widthSegments,heightSegments,5);this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));function buildPlane(u,v,w,udir,vdir,width,height,depth,gridX,gridY,materialIndex){const segmentWidth=width/gridX;const segmentHeight=height/gridY;const widthHalf=width/2;const heightHalf=height/2;const depthHalf=depth/2;const gridX1=gridX+1;const gridY1=gridY+1;let vertexCounter=0;let groupCount=0;const vector=new Vector3;for(let iy=0;iy&lt;gridY1;iy++){const y=iy*segmentHeight-heightHalf;for(let ix=0;ix&lt;gridX1;ix++){const x=ix*segmentWidth-widthHalf;vector[u]=x*udir;vector[v]=y*vdir;vector[w]=depthHalf;vertices.push(vector.x,vector.y,vector.z);vector[u]=0;vector[v]=0;vector[w]=depth&gt;0?1:-1;normals.push(vector.x,vector.y,vector.z);uvs.push(ix/gridX);uvs.push(1-iy/gridY);vertexCounter+=1}}for(let iy=0;iy&lt;gridY;iy++){for(let ix=0;ix&lt;gridX;ix++){const a=numberOfVertices+ix+gridX1*iy;const b=numberOfVertices+ix+gridX1*(iy+1);const c=numberOfVertices+(ix+1)+gridX1*(iy+1);const d=numberOfVertices+(ix+1)+gridX1*iy;indices.push(a,b,d);indices.push(b,c,d);groupCount+=6}}scope.addGroup(groupStart,groupCount,materialIndex);groupStart+=groupCount;numberOfVertices+=vertexCounter}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new BoxGeometry(data.width,data.height,data.depth,data.widthSegments,data.heightSegments,data.depthSegments)}}function cloneUniforms(src){const dst={};for(const u in src){dst[u]={};for(const p in src[u]){const property=src[u][p];if(property&amp;&amp;(property.isColor||property.isMatrix3||property.isMatrix4||property.isVector2||property.isVector3||property.isVector4||property.isTexture||property.isQuaternion)){if(property.isRenderTargetTexture){console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms().");dst[u][p]=null}else{dst[u][p]=property.clone()}}else if(Array.isArray(property)){dst[u][p]=property.slice()}else{dst[u][p]=property}}}return dst}function mergeUniforms(uniforms){const merged={};for(let u=0;u&lt;uniforms.length;u++){const tmp=cloneUniforms(uniforms[u]);for(const p in tmp){merged[p]=tmp[p]}}return merged}function cloneUniformsGroups(src){const dst=[];for(let u=0;u&lt;src.length;u++){dst.push(src[u].clone())}return dst}function getUnlitUniformColorSpace(renderer){const currentRenderTarget=renderer.getRenderTarget();if(currentRenderTarget===null){return renderer.outputColorSpace}if(currentRenderTarget.isXRRenderTarget===true){return currentRenderTarget.texture.colorSpace}return ColorManagement.workingColorSpace}const UniformsUtils={clone:cloneUniforms,merge:mergeUniforms};var default_vertex="void main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}";var default_fragment="void main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}";class ShaderMaterial extends Material{constructor(parameters){super();this.isShaderMaterial=true;this.type="ShaderMaterial";this.defines={};this.uniforms={};this.uniformsGroups=[];this.vertexShader=default_vertex;this.fragmentShader=default_fragment;this.linewidth=1;this.wireframe=false;this.wireframeLinewidth=1;this.fog=false;this.lights=false;this.clipping=false;this.forceSinglePass=true;this.extensions={clipCullDistance:false,multiDraw:false};this.defaultAttributeValues={"color":[1,1,1],"uv":[0,0],"uv1":[0,0]};this.index0AttributeName=undefined;this.uniformsNeedUpdate=false;this.glslVersion=null;if(parameters!==undefined){this.setValues(parameters)}}copy(source){super.copy(source);this.fragmentShader=source.fragmentShader;this.vertexShader=source.vertexShader;this.uniforms=cloneUniforms(source.uniforms);this.uniformsGroups=cloneUniformsGroups(source.uniformsGroups);this.defines=Object.assign({},source.defines);this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.fog=source.fog;this.lights=source.lights;this.clipping=source.clipping;this.extensions=Object.assign({},source.extensions);this.glslVersion=source.glslVersion;return this}toJSON(meta){const data=super.toJSON(meta);data.glslVersion=this.glslVersion;data.uniforms={};for(const name in this.uniforms){const uniform=this.uniforms[name];const value=uniform.value;if(value&amp;&amp;value.isTexture){data.uniforms[name]={type:"t",value:value.toJSON(meta).uuid}}else if(value&amp;&amp;value.isColor){data.uniforms[name]={type:"c",value:value.getHex()}}else if(value&amp;&amp;value.isVector2){data.uniforms[name]={type:"v2",value:value.toArray()}}else if(value&amp;&amp;value.isVector3){data.uniforms[name]={type:"v3",value:value.toArray()}}else if(value&amp;&amp;value.isVector4){data.uniforms[name]={type:"v4",value:value.toArray()}}else if(value&amp;&amp;value.isMatrix3){data.uniforms[name]={type:"m3",value:value.toArray()}}else if(value&amp;&amp;value.isMatrix4){data.uniforms[name]={type:"m4",value:value.toArray()}}else{data.uniforms[name]={value:value}}}if(Object.keys(this.defines).length&gt;0)data.defines=this.defines;data.vertexShader=this.vertexShader;data.fragmentShader=this.fragmentShader;data.lights=this.lights;data.clipping=this.clipping;const extensions={};for(const key in this.extensions){if(this.extensions[key]===true)extensions[key]=true}if(Object.keys(extensions).length&gt;0)data.extensions=extensions;return data}}class Camera extends Object3D{constructor(){super();this.isCamera=true;this.type="Camera";this.matrixWorldInverse=new Matrix4;this.projectionMatrix=new Matrix4;this.projectionMatrixInverse=new Matrix4;this.coordinateSystem=WebGLCoordinateSystem}copy(source,recursive){super.copy(source,recursive);this.matrixWorldInverse.copy(source.matrixWorldInverse);this.projectionMatrix.copy(source.projectionMatrix);this.projectionMatrixInverse.copy(source.projectionMatrixInverse);this.coordinateSystem=source.coordinateSystem;return this}getWorldDirection(target){return super.getWorldDirection(target).negate()}updateMatrixWorld(force){super.updateMatrixWorld(force);this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(updateParents,updateChildren){super.updateWorldMatrix(updateParents,updateChildren);this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}const _v3$1=new Vector3;const _minTarget=new Vector2;const _maxTarget=new Vector2;class PerspectiveCamera extends Camera{constructor(fov=50,aspect=1,near=0.1,far=2000){super();this.isPerspectiveCamera=true;this.type="PerspectiveCamera";this.fov=fov;this.zoom=1;this.near=near;this.far=far;this.focus=10;this.aspect=aspect;this.view=null;this.filmGauge=35;this.filmOffset=0;this.updateProjectionMatrix()}copy(source,recursive){super.copy(source,recursive);this.fov=source.fov;this.zoom=source.zoom;this.near=source.near;this.far=source.far;this.focus=source.focus;this.aspect=source.aspect;this.view=source.view===null?null:Object.assign({},source.view);this.filmGauge=source.filmGauge;this.filmOffset=source.filmOffset;return this}setFocalLength(focalLength){const vExtentSlope=0.5*this.getFilmHeight()/focalLength;this.fov=RAD2DEG*2*Math.atan(vExtentSlope);this.updateProjectionMatrix()}getFocalLength(){const vExtentSlope=Math.tan(DEG2RAD*0.5*this.fov);return 0.5*this.getFilmHeight()/vExtentSlope}getEffectiveFOV(){return RAD2DEG*2*Math.atan(Math.tan(DEG2RAD*0.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(distance,minTarget,maxTarget){_v3$1.set(-1,-1,0.5).applyMatrix4(this.projectionMatrixInverse);minTarget.set(_v3$1.x,_v3$1.y).multiplyScalar(-distance/_v3$1.z);_v3$1.set(1,1,0.5).applyMatrix4(this.projectionMatrixInverse);maxTarget.set(_v3$1.x,_v3$1.y).multiplyScalar(-distance/_v3$1.z)}getViewSize(distance,target){this.getViewBounds(distance,_minTarget,_maxTarget);return target.subVectors(_maxTarget,_minTarget)}setViewOffset(fullWidth,fullHeight,x,y,width,height){this.aspect=fullWidth/fullHeight;if(this.view===null){this.view={enabled:true,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}}this.view.enabled=true;this.view.fullWidth=fullWidth;this.view.fullHeight=fullHeight;this.view.offsetX=x;this.view.offsetY=y;this.view.width=width;this.view.height=height;this.updateProjectionMatrix()}clearViewOffset(){if(this.view!==null){this.view.enabled=false}this.updateProjectionMatrix()}updateProjectionMatrix(){const near=this.near;let top=near*Math.tan(DEG2RAD*0.5*this.fov)/this.zoom;let height=2*top;let width=this.aspect*height;let left=-0.5*width;const view=this.view;if(this.view!==null&amp;&amp;this.view.enabled){const fullWidth=view.fullWidth,fullHeight=view.fullHeight;left+=view.offsetX*width/fullWidth;top-=view.offsetY*height/fullHeight;width*=view.width/fullWidth;height*=view.height/fullHeight}const skew=this.filmOffset;if(skew!==0)left+=near*skew/this.getFilmWidth();this.projectionMatrix.makePerspective(left,left+width,top,top-height,near,this.far,this.coordinateSystem);this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(meta){const data=super.toJSON(meta);data.object.fov=this.fov;data.object.zoom=this.zoom;data.object.near=this.near;data.object.far=this.far;data.object.focus=this.focus;data.object.aspect=this.aspect;if(this.view!==null)data.object.view=Object.assign({},this.view);data.object.filmGauge=this.filmGauge;data.object.filmOffset=this.filmOffset;return data}}const fov=-90;const aspect=1;class CubeCamera extends Object3D{constructor(near,far,renderTarget){super();this.type="CubeCamera";this.renderTarget=renderTarget;this.coordinateSystem=null;this.activeMipmapLevel=0;const cameraPX=new PerspectiveCamera(fov,aspect,near,far);cameraPX.layers=this.layers;this.add(cameraPX);const cameraNX=new PerspectiveCamera(fov,aspect,near,far);cameraNX.layers=this.layers;this.add(cameraNX);const cameraPY=new PerspectiveCamera(fov,aspect,near,far);cameraPY.layers=this.layers;this.add(cameraPY);const cameraNY=new PerspectiveCamera(fov,aspect,near,far);cameraNY.layers=this.layers;this.add(cameraNY);const cameraPZ=new PerspectiveCamera(fov,aspect,near,far);cameraPZ.layers=this.layers;this.add(cameraPZ);const cameraNZ=new PerspectiveCamera(fov,aspect,near,far);cameraNZ.layers=this.layers;this.add(cameraNZ)}updateCoordinateSystem(){const coordinateSystem=this.coordinateSystem;const cameras=this.children.concat();const[cameraPX,cameraNX,cameraPY,cameraNY,cameraPZ,cameraNZ]=cameras;for(const camera of cameras)this.remove(camera);if(coordinateSystem===WebGLCoordinateSystem){cameraPX.up.set(0,1,0);cameraPX.lookAt(1,0,0);cameraNX.up.set(0,1,0);cameraNX.lookAt(-1,0,0);cameraPY.up.set(0,0,-1);cameraPY.lookAt(0,1,0);cameraNY.up.set(0,0,1);cameraNY.lookAt(0,-1,0);cameraPZ.up.set(0,1,0);cameraPZ.lookAt(0,0,1);cameraNZ.up.set(0,1,0);cameraNZ.lookAt(0,0,-1)}else if(coordinateSystem===WebGPUCoordinateSystem){cameraPX.up.set(0,-1,0);cameraPX.lookAt(-1,0,0);cameraNX.up.set(0,-1,0);cameraNX.lookAt(1,0,0);cameraPY.up.set(0,0,1);cameraPY.lookAt(0,1,0);cameraNY.up.set(0,0,-1);cameraNY.lookAt(0,-1,0);cameraPZ.up.set(0,-1,0);cameraPZ.lookAt(0,0,1);cameraNZ.up.set(0,-1,0);cameraNZ.lookAt(0,0,-1)}else{throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+coordinateSystem)}for(const camera of cameras){this.add(camera);camera.updateMatrixWorld()}}update(renderer,scene){if(this.parent===null)this.updateMatrixWorld();const{renderTarget,activeMipmapLevel}=this;if(this.coordinateSystem!==renderer.coordinateSystem){this.coordinateSystem=renderer.coordinateSystem;this.updateCoordinateSystem()}const[cameraPX,cameraNX,cameraPY,cameraNY,cameraPZ,cameraNZ]=this.children;const currentRenderTarget=renderer.getRenderTarget();const currentActiveCubeFace=renderer.getActiveCubeFace();const currentActiveMipmapLevel=renderer.getActiveMipmapLevel();const currentXrEnabled=renderer.xr.enabled;renderer.xr.enabled=false;const generateMipmaps=renderTarget.texture.generateMipmaps;renderTarget.texture.generateMipmaps=false;renderer.setRenderTarget(renderTarget,0,activeMipmapLevel);renderer.render(scene,cameraPX);renderer.setRenderTarget(renderTarget,1,activeMipmapLevel);renderer.render(scene,cameraNX);renderer.setRenderTarget(renderTarget,2,activeMipmapLevel);renderer.render(scene,cameraPY);renderer.setRenderTarget(renderTarget,3,activeMipmapLevel);renderer.render(scene,cameraNY);renderer.setRenderTarget(renderTarget,4,activeMipmapLevel);renderer.render(scene,cameraPZ);renderTarget.texture.generateMipmaps=generateMipmaps;renderer.setRenderTarget(renderTarget,5,activeMipmapLevel);renderer.render(scene,cameraNZ);renderer.setRenderTarget(currentRenderTarget,currentActiveCubeFace,currentActiveMipmapLevel);renderer.xr.enabled=currentXrEnabled;renderTarget.texture.needsPMREMUpdate=true}}class CubeTexture extends Texture{constructor(images,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy,colorSpace){images=images!==undefined?images:[];mapping=mapping!==undefined?mapping:CubeReflectionMapping;super(images,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy,colorSpace);this.isCubeTexture=true;this.flipY=false}get images(){return this.image}set images(value){this.image=value}}class WebGLCubeRenderTarget extends WebGLRenderTarget{constructor(size=1,options={}){super(size,size,options);this.isWebGLCubeRenderTarget=true;const image={width:size,height:size,depth:1};const images=[image,image,image,image,image,image];this.texture=new CubeTexture(images,options.mapping,options.wrapS,options.wrapT,options.magFilter,options.minFilter,options.format,options.type,options.anisotropy,options.colorSpace);this.texture.isRenderTargetTexture=true;this.texture.generateMipmaps=options.generateMipmaps!==undefined?options.generateMipmaps:false;this.texture.minFilter=options.minFilter!==undefined?options.minFilter:LinearFilter}fromEquirectangularTexture(renderer,texture){this.texture.type=texture.type;this.texture.colorSpace=texture.colorSpace;this.texture.generateMipmaps=texture.generateMipmaps;this.texture.minFilter=texture.minFilter;this.texture.magFilter=texture.magFilter;const shader={uniforms:{tEquirect:{value:null}},vertexShader:`

				varying vec3 vWorldDirection;

				vec3 transformDirection( in vec3 dir, in mat4 matrix ) {

					return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );

				}

				void main() {

					vWorldDirection = transformDirection( position, modelMatrix );

					#include &lt;begin_vertex&gt;
					#include &lt;project_vertex&gt;

				}
			`,fragmentShader:`

				uniform sampler2D tEquirect;

				varying vec3 vWorldDirection;

				#include &lt;common&gt;

				void main() {

					vec3 direction = normalize( vWorldDirection );

					vec2 sampleUV = equirectUv( direction );

					gl_FragColor = texture2D( tEquirect, sampleUV );

				}
			`};const geometry=new BoxGeometry(5,5,5);const material=new ShaderMaterial({name:"CubemapFromEquirect",uniforms:cloneUniforms(shader.uniforms),vertexShader:shader.vertexShader,fragmentShader:shader.fragmentShader,side:BackSide,blending:NoBlending});material.uniforms.tEquirect.value=texture;const mesh=new Mesh(geometry,material);const currentMinFilter=texture.minFilter;if(texture.minFilter===LinearMipmapLinearFilter)texture.minFilter=LinearFilter;const camera=new CubeCamera(1,10,this);camera.update(renderer,mesh);texture.minFilter=currentMinFilter;mesh.geometry.dispose();mesh.material.dispose();return this}clear(renderer,color,depth,stencil){const currentRenderTarget=renderer.getRenderTarget();for(let i=0;i&lt;6;i++){renderer.setRenderTarget(this,i);renderer.clear(color,depth,stencil)}renderer.setRenderTarget(currentRenderTarget)}}const _vector1=new Vector3;const _vector2=new Vector3;const _normalMatrix=new Matrix3;class Plane{constructor(normal=new Vector3(1,0,0),constant=0){this.isPlane=true;this.normal=normal;this.constant=constant}set(normal,constant){this.normal.copy(normal);this.constant=constant;return this}setComponents(x,y,z,w){this.normal.set(x,y,z);this.constant=w;return this}setFromNormalAndCoplanarPoint(normal,point){this.normal.copy(normal);this.constant=-point.dot(this.normal);return this}setFromCoplanarPoints(a,b,c){const normal=_vector1.subVectors(c,b).cross(_vector2.subVectors(a,b)).normalize();this.setFromNormalAndCoplanarPoint(normal,a);return this}copy(plane){this.normal.copy(plane.normal);this.constant=plane.constant;return this}normalize(){const inverseNormalLength=1/this.normal.length();this.normal.multiplyScalar(inverseNormalLength);this.constant*=inverseNormalLength;return this}negate(){this.constant*=-1;this.normal.negate();return this}distanceToPoint(point){return this.normal.dot(point)+this.constant}distanceToSphere(sphere){return this.distanceToPoint(sphere.center)-sphere.radius}projectPoint(point,target){return target.copy(point).addScaledVector(this.normal,-this.distanceToPoint(point))}intersectLine(line,target){const direction=line.delta(_vector1);const denominator=this.normal.dot(direction);if(denominator===0){if(this.distanceToPoint(line.start)===0){return target.copy(line.start)}return null}const t=-(line.start.dot(this.normal)+this.constant)/denominator;if(t&lt;0||t&gt;1){return null}return target.copy(line.start).addScaledVector(direction,t)}intersectsLine(line){const startSign=this.distanceToPoint(line.start);const endSign=this.distanceToPoint(line.end);return startSign&lt;0&amp;&amp;endSign&gt;0||endSign&lt;0&amp;&amp;startSign&gt;0}intersectsBox(box){return box.intersectsPlane(this)}intersectsSphere(sphere){return sphere.intersectsPlane(this)}coplanarPoint(target){return target.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(matrix,optionalNormalMatrix){const normalMatrix=optionalNormalMatrix||_normalMatrix.getNormalMatrix(matrix);const referencePoint=this.coplanarPoint(_vector1).applyMatrix4(matrix);const normal=this.normal.applyMatrix3(normalMatrix).normalize();this.constant=-referencePoint.dot(normal);return this}translate(offset){this.constant-=offset.dot(this.normal);return this}equals(plane){return plane.normal.equals(this.normal)&amp;&amp;plane.constant===this.constant}clone(){return new this.constructor().copy(this)}}const _sphere$5=new Sphere;const _vector$7=new Vector3;class Frustum{constructor(p0=new Plane,p1=new Plane,p2=new Plane,p3=new Plane,p4=new Plane,p5=new Plane){this.planes=[p0,p1,p2,p3,p4,p5]}set(p0,p1,p2,p3,p4,p5){const planes=this.planes;planes[0].copy(p0);planes[1].copy(p1);planes[2].copy(p2);planes[3].copy(p3);planes[4].copy(p4);planes[5].copy(p5);return this}copy(frustum){const planes=this.planes;for(let i=0;i&lt;6;i++){planes[i].copy(frustum.planes[i])}return this}setFromProjectionMatrix(m,coordinateSystem=WebGLCoordinateSystem){const planes=this.planes;const me=m.elements;const me0=me[0],me1=me[1],me2=me[2],me3=me[3];const me4=me[4],me5=me[5],me6=me[6],me7=me[7];const me8=me[8],me9=me[9],me10=me[10],me11=me[11];const me12=me[12],me13=me[13],me14=me[14],me15=me[15];planes[0].setComponents(me3-me0,me7-me4,me11-me8,me15-me12).normalize();planes[1].setComponents(me3+me0,me7+me4,me11+me8,me15+me12).normalize();planes[2].setComponents(me3+me1,me7+me5,me11+me9,me15+me13).normalize();planes[3].setComponents(me3-me1,me7-me5,me11-me9,me15-me13).normalize();planes[4].setComponents(me3-me2,me7-me6,me11-me10,me15-me14).normalize();if(coordinateSystem===WebGLCoordinateSystem){planes[5].setComponents(me3+me2,me7+me6,me11+me10,me15+me14).normalize()}else if(coordinateSystem===WebGPUCoordinateSystem){planes[5].setComponents(me2,me6,me10,me14).normalize()}else{throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+coordinateSystem)}return this}intersectsObject(object){if(object.boundingSphere!==undefined){if(object.boundingSphere===null)object.computeBoundingSphere();_sphere$5.copy(object.boundingSphere).applyMatrix4(object.matrixWorld)}else{const geometry=object.geometry;if(geometry.boundingSphere===null)geometry.computeBoundingSphere();_sphere$5.copy(geometry.boundingSphere).applyMatrix4(object.matrixWorld)}return this.intersectsSphere(_sphere$5)}intersectsSprite(sprite){_sphere$5.center.set(0,0,0);_sphere$5.radius=0.7071067811865476;_sphere$5.applyMatrix4(sprite.matrixWorld);return this.intersectsSphere(_sphere$5)}intersectsSphere(sphere){const planes=this.planes;const center=sphere.center;const negRadius=-sphere.radius;for(let i=0;i&lt;6;i++){const distance=planes[i].distanceToPoint(center);if(distance&lt;negRadius){return false}}return true}intersectsBox(box){const planes=this.planes;for(let i=0;i&lt;6;i++){const plane=planes[i];_vector$7.x=plane.normal.x&gt;0?box.max.x:box.min.x;_vector$7.y=plane.normal.y&gt;0?box.max.y:box.min.y;_vector$7.z=plane.normal.z&gt;0?box.max.z:box.min.z;if(plane.distanceToPoint(_vector$7)&lt;0){return false}}return true}containsPoint(point){const planes=this.planes;for(let i=0;i&lt;6;i++){if(planes[i].distanceToPoint(point)&lt;0){return false}}return true}clone(){return new this.constructor().copy(this)}}function WebGLAnimation(){let context=null;let isAnimating=false;let animationLoop=null;let requestId=null;function onAnimationFrame(time,frame){animationLoop(time,frame);requestId=context.requestAnimationFrame(onAnimationFrame)}return{start:function(){if(isAnimating===true)return;if(animationLoop===null)return;requestId=context.requestAnimationFrame(onAnimationFrame);isAnimating=true},stop:function(){context.cancelAnimationFrame(requestId);isAnimating=false},setAnimationLoop:function(callback){animationLoop=callback},setContext:function(value){context=value}}}function WebGLAttributes(gl){const buffers=new WeakMap;function createBuffer(attribute,bufferType){const array=attribute.array;const usage=attribute.usage;const size=array.byteLength;const buffer=gl.createBuffer();gl.bindBuffer(bufferType,buffer);gl.bufferData(bufferType,array,usage);attribute.onUploadCallback();let type;if(array instanceof Float32Array){type=gl.FLOAT}else if(array instanceof Uint16Array){if(attribute.isFloat16BufferAttribute){type=gl.HALF_FLOAT}else{type=gl.UNSIGNED_SHORT}}else if(array instanceof Int16Array){type=gl.SHORT}else if(array instanceof Uint32Array){type=gl.UNSIGNED_INT}else if(array instanceof Int32Array){type=gl.INT}else if(array instanceof Int8Array){type=gl.BYTE}else if(array instanceof Uint8Array){type=gl.UNSIGNED_BYTE}else if(array instanceof Uint8ClampedArray){type=gl.UNSIGNED_BYTE}else{throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+array)}return{buffer:buffer,type:type,bytesPerElement:array.BYTES_PER_ELEMENT,version:attribute.version,size:size}}function updateBuffer(buffer,attribute,bufferType){const array=attribute.array;const updateRange=attribute._updateRange;const updateRanges=attribute.updateRanges;gl.bindBuffer(bufferType,buffer);if(updateRange.count===-1&amp;&amp;updateRanges.length===0){gl.bufferSubData(bufferType,0,array)}if(updateRanges.length!==0){for(let i=0,l=updateRanges.length;i&lt;l;i++){const range=updateRanges[i];gl.bufferSubData(bufferType,range.start*array.BYTES_PER_ELEMENT,array,range.start,range.count)}attribute.clearUpdateRanges()}if(updateRange.count!==-1){gl.bufferSubData(bufferType,updateRange.offset*array.BYTES_PER_ELEMENT,array,updateRange.offset,updateRange.count);updateRange.count=-1}attribute.onUploadCallback()}function get(attribute){if(attribute.isInterleavedBufferAttribute)attribute=attribute.data;return buffers.get(attribute)}function remove(attribute){if(attribute.isInterleavedBufferAttribute)attribute=attribute.data;const data=buffers.get(attribute);if(data){gl.deleteBuffer(data.buffer);buffers.delete(attribute)}}function update(attribute,bufferType){if(attribute.isGLBufferAttribute){const cached=buffers.get(attribute);if(!cached||cached.version&lt;attribute.version){buffers.set(attribute,{buffer:attribute.buffer,type:attribute.type,bytesPerElement:attribute.elementSize,version:attribute.version})}return}if(attribute.isInterleavedBufferAttribute)attribute=attribute.data;const data=buffers.get(attribute);if(data===undefined){buffers.set(attribute,createBuffer(attribute,bufferType))}else if(data.version&lt;attribute.version){if(data.size!==attribute.array.byteLength){throw new Error("THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.")}updateBuffer(data.buffer,attribute,bufferType);data.version=attribute.version}}return{get:get,remove:remove,update:update}}class PlaneGeometry extends BufferGeometry{constructor(width=1,height=1,widthSegments=1,heightSegments=1){super();this.type="PlaneGeometry";this.parameters={width:width,height:height,widthSegments:widthSegments,heightSegments:heightSegments};const width_half=width/2;const height_half=height/2;const gridX=Math.floor(widthSegments);const gridY=Math.floor(heightSegments);const gridX1=gridX+1;const gridY1=gridY+1;const segment_width=width/gridX;const segment_height=height/gridY;const indices=[];const vertices=[];const normals=[];const uvs=[];for(let iy=0;iy&lt;gridY1;iy++){const y=iy*segment_height-height_half;for(let ix=0;ix&lt;gridX1;ix++){const x=ix*segment_width-width_half;vertices.push(x,-y,0);normals.push(0,0,1);uvs.push(ix/gridX);uvs.push(1-iy/gridY)}}for(let iy=0;iy&lt;gridY;iy++){for(let ix=0;ix&lt;gridX;ix++){const a=ix+gridX1*iy;const b=ix+gridX1*(iy+1);const c=ix+1+gridX1*(iy+1);const d=ix+1+gridX1*iy;indices.push(a,b,d);indices.push(b,c,d)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new PlaneGeometry(data.width,data.height,data.widthSegments,data.heightSegments)}}var alphahash_fragment="#ifdef USE_ALPHAHASH\n\tif ( diffuseColor.a &lt; getAlphaHashThreshold( vPosition ) ) discard;\n#endif";var alphahash_pars_fragment="#ifdef USE_ALPHAHASH\n\tconst float ALPHA_HASH_SCALE = 0.05;\n\tfloat hash2D( vec2 value ) {\n\t\treturn fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n\t}\n\tfloat hash3D( vec3 value ) {\n\t\treturn hash2D( vec2( hash2D( value.xy ), value.z ) );\n\t}\n\tfloat getAlphaHashThreshold( vec3 position ) {\n\t\tfloat maxDeriv = max(\n\t\t\tlength( dFdx( position.xyz ) ),\n\t\t\tlength( dFdy( position.xyz ) )\n\t\t);\n\t\tfloat pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n\t\tvec2 pixScales = vec2(\n\t\t\texp2( floor( log2( pixScale ) ) ),\n\t\t\texp2( ceil( log2( pixScale ) ) )\n\t\t);\n\t\tvec2 alpha = vec2(\n\t\t\thash3D( floor( pixScales.x * position.xyz ) ),\n\t\t\thash3D( floor( pixScales.y * position.xyz ) )\n\t\t);\n\t\tfloat lerpFactor = fract( log2( pixScale ) );\n\t\tfloat x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n\t\tfloat a = min( lerpFactor, 1.0 - lerpFactor );\n\t\tvec3 cases = vec3(\n\t\t\tx * x / ( 2.0 * a * ( 1.0 - a ) ),\n\t\t\t( x - 0.5 * a ) / ( 1.0 - a ),\n\t\t\t1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n\t\t);\n\t\tfloat threshold = ( x &lt; ( 1.0 - a ) )\n\t\t\t? ( ( x &lt; a ) ? cases.x : cases.y )\n\t\t\t: cases.z;\n\t\treturn clamp( threshold , 1.0e-6, 1.0 );\n\t}\n#endif";var alphamap_fragment="#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n#endif";var alphamap_pars_fragment="#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif";var alphatest_fragment="#ifdef USE_ALPHATEST\n\t#ifdef ALPHA_TO_COVERAGE\n\tdiffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n\tif ( diffuseColor.a == 0.0 ) discard;\n\t#else\n\tif ( diffuseColor.a &lt; alphaTest ) discard;\n\t#endif\n#endif";var alphatest_pars_fragment="#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif";var aomap_fragment="#ifdef USE_AOMAP\n\tfloat ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\t#if defined( USE_CLEARCOAT ) \n\t\tclearcoatSpecularIndirect *= ambientOcclusion;\n\t#endif\n\t#if defined( USE_SHEEN ) \n\t\tsheenSpecularIndirect *= ambientOcclusion;\n\t#endif\n\t#if defined( USE_ENVMAP ) &amp;&amp; defined( STANDARD )\n\t\tfloat dotNV = saturate( dot( geometryNormal, geometryViewDir ) );\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\t#endif\n#endif";var aomap_pars_fragment="#ifdef USE_AOMAP\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n#endif";var batching_pars_vertex="#ifdef USE_BATCHING\n\tattribute float batchId;\n\tuniform highp sampler2D batchingTexture;\n\tmat4 getBatchingMatrix( const in float i ) {\n\t\tint size = textureSize( batchingTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n\t\treturn mat4( v1, v2, v3, v4 );\n\t}\n#endif";var batching_vertex="#ifdef USE_BATCHING\n\tmat4 batchingMatrix = getBatchingMatrix( batchId );\n#endif";var begin_vertex="vec3 transformed = vec3( position );\n#ifdef USE_ALPHAHASH\n\tvPosition = vec3( position );\n#endif";var beginnormal_vertex="vec3 objectNormal = vec3( normal );\n#ifdef USE_TANGENT\n\tvec3 objectTangent = vec3( tangent.xyz );\n#endif";var bsdfs="float 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_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\tfloat G = G_BlinnPhong_Implicit( );\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\treturn F * ( G * D );\n} // validated";var iridescence_fragment="#ifdef USE_IRIDESCENCE\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\t}\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\t}\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\t}\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\t}\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\t\tvec3 I;\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq &lt; 0.0 ) {\n\t\t\treturn vec3( 1.0 );\n\t\t}\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR &lt; outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] &lt; iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] &lt; iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] &lt; iridescenceIOR ) phi23[ 2 ] = PI;\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m &lt;= 2; ++ m ) {\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\t\t}\n\t\treturn max( I, vec3( 0.0 ) );\n\t}\n#endif";var bumpmap_pars_fragment="#ifdef USE_BUMPMAP\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\tvec2 dHdxy_fwd() {\n\t\tvec2 dSTdx = dFdx( vBumpMapUv );\n\t\tvec2 dSTdy = dFdy( vBumpMapUv );\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n\t\treturn vec2( dBx, dBy );\n\t}\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\t\tvec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n\t\tvec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\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 ) * faceDirection;\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";var clipping_planes_fragment="#if NUM_CLIPPING_PLANES &gt; 0\n\tvec4 plane;\n\t#ifdef ALPHA_TO_COVERAGE\n\t\tfloat distanceToPlane, distanceGradient;\n\t\tfloat clipOpacity = 1.0;\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i &lt; UNION_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\tclipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\t\t\tif ( clipOpacity == 0.0 ) discard;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\t#if UNION_CLIPPING_PLANES &lt; NUM_CLIPPING_PLANES\n\t\t\tfloat unionClipOpacity = 1.0;\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i &lt; NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\t\tunionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\t\t\tclipOpacity *= 1.0 - unionClipOpacity;\n\t\t#endif\n\t\tdiffuseColor.a *= clipOpacity;\n\t\tif ( diffuseColor.a == 0.0 ) discard;\n\t#else\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i &lt; UNION_CLIPPING_PLANES; i ++ ) {\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tif ( dot( vClipPosition, plane.xyz ) &gt; plane.w ) discard;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t\t#if UNION_CLIPPING_PLANES &lt; NUM_CLIPPING_PLANES\n\t\t\tbool clipped = true;\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i &lt; NUM_CLIPPING_PLANES; i ++ ) {\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) &gt; plane.w ) &amp;&amp; clipped;\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\t\t\tif ( clipped ) discard;\n\t\t#endif\n\t#endif\n#endif";var clipping_planes_pars_fragment="#if NUM_CLIPPING_PLANES &gt; 0\n\tvarying vec3 vClipPosition;\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n#endif";var clipping_planes_pars_vertex="#if NUM_CLIPPING_PLANES &gt; 0\n\tvarying vec3 vClipPosition;\n#endif";var clipping_planes_vertex="#if NUM_CLIPPING_PLANES &gt; 0\n\tvClipPosition = - mvPosition.xyz;\n#endif";var color_fragment="#if defined( USE_COLOR_ALPHA )\n\tdiffuseColor *= vColor;\n#elif defined( USE_COLOR )\n\tdiffuseColor.rgb *= vColor;\n#endif";var color_pars_fragment="#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR )\n\tvarying vec3 vColor;\n#endif";var color_pars_vertex="#if defined( USE_COLOR_ALPHA )\n\tvarying vec4 vColor;\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvarying vec3 vColor;\n#endif";var color_vertex="#if defined( USE_COLOR_ALPHA )\n\tvColor = vec4( 1.0 );\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\n\tvColor = vec3( 1.0 );\n#endif\n#ifdef USE_COLOR\n\tvColor *= color;\n#endif\n#ifdef USE_INSTANCING_COLOR\n\tvColor.xyz *= instanceColor.xyz;\n#endif";var common="#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\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; }\nvec3 pow2( const in vec3 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 max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\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 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};\n#ifdef USE_ALPHAHASH\n\tvarying vec3 vPosition;\n#endif\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}\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 luminance( const in vec3 rgb ) {\n\tconst vec3 weights = vec3( 0.2126729, 0.7151522, 0.0721750 );\n\treturn dot( weights, rgb );\n}\nbool isPerspectiveMatrix( mat4 m ) {\n\treturn m[ 2 ][ 3 ] == - 1.0;\n}\nvec2 equirectUv( in vec3 dir ) {\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\treturn vec2( u, v );\n}\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\treturn RECIPROCAL_PI * diffuseColor;\n}\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n}\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n} // validated";var cube_uv_reflection_fragment="#ifdef ENVMAP_TYPE_CUBE_UV\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\tfloat getFace( vec3 direction ) {\n\t\tvec3 absDirection = abs( direction );\n\t\tfloat face = - 1.0;\n\t\tif ( absDirection.x &gt; absDirection.z ) {\n\t\t\tif ( absDirection.x &gt; absDirection.y )\n\t\t\t\tface = direction.x &gt; 0.0 ? 0.0 : 3.0;\n\t\t\telse\n\t\t\t\tface = direction.y &gt; 0.0 ? 1.0 : 4.0;\n\t\t} else {\n\t\t\tif ( absDirection.z &gt; absDirection.y )\n\t\t\t\tface = direction.z &gt; 0.0 ? 2.0 : 5.0;\n\t\t\telse\n\t\t\t\tface = direction.y &gt; 0.0 ? 1.0 : 4.0;\n\t\t}\n\t\treturn face;\n\t}\n\tvec2 getUV( vec3 direction, float face ) {\n\t\tvec2 uv;\n\t\tif ( face == 0.0 ) {\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 1.0 ) {\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\n\t\t} else if ( face == 2.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\n\t\t} else if ( face == 3.0 ) {\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\n\t\t} else if ( face == 4.0 ) {\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\n\t\t} else {\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\n\t\t}\n\t\treturn 0.5 * ( uv + 1.0 );\n\t}\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\t\tfloat face = getFace( direction );\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\t\tfloat faceSize = exp2( mipInt );\n\t\thighp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\n\t\tif ( face &gt; 2.0 ) {\n\t\t\tuv.y += faceSize;\n\t\t\tface -= 3.0;\n\t\t}\n\t\tuv.x += face * faceSize;\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\t\t#ifdef texture2DGradEXT\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\n\t\t#else\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\t\t#endif\n\t}\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_m6 4.0\n\tfloat roughnessToMip( float roughness ) {\n\t\tfloat mip = 0.0;\n\t\tif ( roughness &gt;= cubeUV_r1 ) {\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\t\t} else if ( roughness &gt;= cubeUV_r4 ) {\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\t\t} else if ( roughness &gt;= cubeUV_r5 ) {\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\t\t} else if ( roughness &gt;= cubeUV_r6 ) {\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\t\t} else {\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness );\t\t}\n\t\treturn mip;\n\t}\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\t\tfloat mipF = fract( mip );\n\t\tfloat mipInt = floor( mip );\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\t\tif ( mipF == 0.0 ) {\n\t\t\treturn vec4( color0, 1.0 );\n\t\t} else {\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\t\t}\n\t}\n#endif";var defaultnormal_vertex="vec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n\tvec3 transformedTangent = objectTangent;\n#endif\n#ifdef USE_BATCHING\n\tmat3 bm = mat3( batchingMatrix );\n\ttransformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n\ttransformedNormal = bm * transformedNormal;\n\t#ifdef USE_TANGENT\n\t\ttransformedTangent = bm * transformedTangent;\n\t#endif\n#endif\n#ifdef USE_INSTANCING\n\tmat3 im = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n\ttransformedNormal = im * transformedNormal;\n\t#ifdef USE_TANGENT\n\t\ttransformedTangent = im * transformedTangent;\n\t#endif\n#endif\ntransformedNormal = normalMatrix * transformedNormal;\n#ifdef FLIP_SIDED\n\ttransformedNormal = - transformedNormal;\n#endif\n#ifdef USE_TANGENT\n\ttransformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n\t#ifdef FLIP_SIDED\n\t\ttransformedTangent = - transformedTangent;\n\t#endif\n#endif";var displacementmap_pars_vertex="#ifdef USE_DISPLACEMENTMAP\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n#endif";var displacementmap_vertex="#ifdef USE_DISPLACEMENTMAP\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n#endif";var emissivemap_fragment="#ifdef USE_EMISSIVEMAP\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n#endif";var emissivemap_pars_fragment="#ifdef USE_EMISSIVEMAP\n\tuniform sampler2D emissiveMap;\n#endif";var colorspace_fragment="gl_FragColor = linearToOutputTexel( gl_FragColor );";var colorspace_pars_fragment="\nconst mat3 LINEAR_SRGB_TO_LINEAR_DISPLAY_P3 = mat3(\n\tvec3( 0.8224621, 0.177538, 0.0 ),\n\tvec3( 0.0331941, 0.9668058, 0.0 ),\n\tvec3( 0.0170827, 0.0723974, 0.9105199 )\n);\nconst mat3 LINEAR_DISPLAY_P3_TO_LINEAR_SRGB = mat3(\n\tvec3( 1.2249401, - 0.2249404, 0.0 ),\n\tvec3( - 0.0420569, 1.0420571, 0.0 ),\n\tvec3( - 0.0196376, - 0.0786361, 1.0982735 )\n);\nvec4 LinearSRGBToLinearDisplayP3( in vec4 value ) {\n\treturn vec4( value.rgb * LINEAR_SRGB_TO_LINEAR_DISPLAY_P3, value.a );\n}\nvec4 LinearDisplayP3ToLinearSRGB( in vec4 value ) {\n\treturn vec4( value.rgb * LINEAR_DISPLAY_P3_TO_LINEAR_SRGB, value.a );\n}\nvec4 LinearTransferOETF( in vec4 value ) {\n\treturn value;\n}\nvec4 sRGBTransferOETF( 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 LinearToLinear( in vec4 value ) {\n\treturn value;\n}\nvec4 LinearTosRGB( in vec4 value ) {\n\treturn sRGBTransferOETF( value );\n}";var envmap_fragment="#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvec3 cameraToFrag;\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, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\t#else\n\t\tvec4 envColor = vec4( 0.0 );\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";var envmap_common_pars_fragment="#ifdef USE_ENVMAP\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform mat3 envMapRotation;\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";var envmap_pars_fragment="#ifdef USE_ENVMAP\n\tuniform float reflectivity;\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\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";var envmap_pars_vertex="#ifdef USE_ENVMAP\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\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";var envmap_vertex="#ifdef USE_ENVMAP\n\t#ifdef ENV_WORLDPOS\n\t\tvWorldPosition = worldPosition.xyz;\n\t#else\n\t\tvec3 cameraToVertex;\n\t\tif ( isOrthographic ) {\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\t\t} else {\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\t\t}\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\t\t#else\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\t\t#endif\n\t#endif\n#endif";var fog_vertex="#ifdef USE_FOG\n\tvFogDepth = - mvPosition.z;\n#endif";var fog_pars_vertex="#ifdef USE_FOG\n\tvarying float vFogDepth;\n#endif";var fog_fragment="#ifdef USE_FOG\n\t#ifdef FOG_EXP2\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\t#else\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\t#endif\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n#endif";var fog_pars_fragment="#ifdef USE_FOG\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\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";var gradientmap_pars_fragment="#ifdef USE_GRADIENTMAP\n\tuniform sampler2D gradientMap;\n#endif\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\t#ifdef USE_GRADIENTMAP\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\t#else\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\t#endif\n}";var lightmap_fragment="#ifdef USE_LIGHTMAP\n\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\treflectedLight.indirectDiffuse += lightMapIrradiance;\n#endif";var lightmap_pars_fragment="#ifdef USE_LIGHTMAP\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n#endif";var lights_lambert_fragment="LambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;";var lights_lambert_pars_fragment="varying vec3 vViewPosition;\nstruct LambertMaterial {\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n};\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert";var lights_pars_begin="uniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n#if defined( USE_LIGHT_PROBES )\n\tuniform vec3 lightProbe[ 9 ];\n#endif\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 vec3 normal ) {\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\treturn irradiance;\n}\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\tvec3 irradiance = ambientLightColor;\n\treturn irradiance;\n}\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\t#if defined ( LEGACY_LIGHTS )\n\t\tif ( cutoffDistance &gt; 0.0 &amp;&amp; decayExponent &gt; 0.0 ) {\n\t\t\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\n\t\t}\n\t\treturn 1.0;\n\t#else\n\t\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\t\tif ( cutoffDistance &gt; 0.0 ) {\n\t\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\t\t}\n\t\treturn distanceFalloff;\n\t#endif\n}\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n}\n#if NUM_DIR_LIGHTS &gt; 0\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\t}\n#endif\n#if NUM_POINT_LIGHTS &gt; 0\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\tvoid getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\t\tvec3 lVector = pointLight.position - geometryPosition;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat lightDistance = length( lVector );\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t}\n#endif\n#if NUM_SPOT_LIGHTS &gt; 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};\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\t\tvec3 lVector = spotLight.position - geometryPosition;\n\t\tlight.direction = normalize( lVector );\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\t\tif ( spotAttenuation &gt; 0.0 ) {\n\t\t\tfloat lightDistance = length( lVector );\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\t\t} else {\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\t\t}\n\t}\n#endif\n#if NUM_RECT_AREA_LIGHTS &gt; 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 &gt; 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 vec3 normal ) {\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\t\treturn irradiance;\n\t}\n#endif";var envmap_physical_pars_fragment="#ifdef USE_ENVMAP\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\t\t#else\n\t\t\treturn vec3( 0.0 );\n\t\t#endif\n\t}\n\t#ifdef USE_ANISOTROPY\n\t\tvec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n\t\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\t\t\t\tvec3 bentNormal = cross( bitangent, viewDir );\n\t\t\t\tbentNormal = normalize( cross( bentNormal, bitangent ) );\n\t\t\t\tbentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n\t\t\t\treturn getIBLRadiance( viewDir, bentNormal, roughness );\n\t\t\t#else\n\t\t\t\treturn vec3( 0.0 );\n\t\t\t#endif\n\t\t}\n\t#endif\n#endif";var lights_toon_fragment="ToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;";var lights_toon_pars_fragment="varying vec3 vViewPosition;\nstruct ToonMaterial {\n\tvec3 diffuseColor;\n};\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\tvec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon";var lights_phong_fragment="BlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;";var lights_phong_pars_fragment="varying vec3 vViewPosition;\nstruct BlinnPhongMaterial {\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n};\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n}\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong";var lights_physical_fragment="PhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n#ifdef IOR\n\tmaterial.ior = ior;\n\t#ifdef USE_SPECULAR\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\t\t#ifdef USE_SPECULAR_COLORMAP\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n\t\t#endif\n\t\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n\t\t#endif\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\t#else\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\t#endif\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n#else\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n#endif\n#ifdef USE_CLEARCOAT\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\t#ifdef USE_CLEARCOATMAP\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n\t#endif\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n\t#endif\n\tmaterial.clearcoat = saturate( material.clearcoat );\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n#endif\n#ifdef USE_IRIDESCENCE\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\t#ifdef USE_IRIDESCENCEMAP\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n\t#endif\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n\t#else\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\t#endif\n#endif\n#ifdef USE_SHEEN\n\tmaterial.sheenColor = sheenColor;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n\t#endif\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n\t#endif\n#endif\n#ifdef USE_ANISOTROPY\n\t#ifdef USE_ANISOTROPYMAP\n\t\tmat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n\t\tvec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n\t\tvec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n\t#else\n\t\tvec2 anisotropyV = anisotropyVector;\n\t#endif\n\tmaterial.anisotropy = length( anisotropyV );\n\tif( material.anisotropy == 0.0 ) {\n\t\tanisotropyV = vec2( 1.0, 0.0 );\n\t} else {\n\t\tanisotropyV /= material.anisotropy;\n\t\tmaterial.anisotropy = saturate( material.anisotropy );\n\t}\n\tmaterial.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n\tmaterial.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n\tmaterial.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n#endif";var lights_physical_pars_fragment="struct PhysicalMaterial {\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n\t#ifdef USE_ANISOTROPY\n\t\tfloat anisotropy;\n\t\tfloat alphaT;\n\t\tvec3 anisotropyT;\n\t\tvec3 anisotropyB;\n\t#endif\n};\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\nfloat V_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}\n#ifdef USE_ANISOTROPY\n\tfloat V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n\t\tfloat gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );\n\t\tfloat gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n\t\tfloat v = 0.5 / ( gv + gl );\n\t\treturn saturate(v);\n\t}\n\tfloat D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n\t\tfloat a2 = alphaT * alphaB;\n\t\thighp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n\t\thighp float v2 = dot( v, v );\n\t\tfloat w2 = a2 / v2;\n\t\treturn RECIPROCAL_PI * a2 * pow2 ( w2 );\n\t}\n#endif\n#ifdef USE_CLEARCOAT\n\tvec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n\t\tvec3 f0 = material.clearcoatF0;\n\t\tfloat f90 = material.clearcoatF90;\n\t\tfloat roughness = material.clearcoatRoughness;\n\t\tfloat alpha = pow2( roughness );\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\t\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t\treturn F * ( V * D );\n\t}\n#endif\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n\tvec3 f0 = material.specularColor;\n\tfloat f90 = material.specularF90;\n\tfloat roughness = material.roughness;\n\tfloat alpha = pow2( roughness );\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\t#ifdef USE_IRIDESCENCE\n\t\tF = mix( F, material.iridescenceFresnel, material.iridescence );\n\t#endif\n\t#ifdef USE_ANISOTROPY\n\t\tfloat dotTL = dot( material.anisotropyT, lightDir );\n\t\tfloat dotTV = dot( material.anisotropyT, viewDir );\n\t\tfloat dotTH = dot( material.anisotropyT, halfDir );\n\t\tfloat dotBL = dot( material.anisotropyB, lightDir );\n\t\tfloat dotBV = dot( material.anisotropyB, viewDir );\n\t\tfloat dotBH = dot( material.anisotropyB, halfDir );\n\t\tfloat V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n\t\tfloat D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n\t#else\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\t\tfloat D = D_GGX( alpha, dotNH );\n\t#endif\n\treturn F * ( V * 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 &gt; 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 ] ) &lt; 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}\n#if defined( USE_SHEEN )\nfloat D_Charlie( float roughness, float dotNH ) {\n\tfloat alpha = pow2( roughness );\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n}\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n}\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\treturn sheenColor * ( D * V );\n}\n#endif\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat r2 = roughness * roughness;\n\tfloat a = roughness &lt; 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\tfloat b = roughness &lt; 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\tfloat DG = exp( a * dotNV + b ) + ( roughness &lt; 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\treturn saturate( DG * RECIPROCAL_PI );\n}\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\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\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\treturn fab;\n}\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\treturn specularColor * fab.x + specularF90 * fab.y;\n}\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\t#ifdef USE_IRIDESCENCE\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\t#else\n\t\tvec3 Fr = specularColor;\n\t#endif\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n}\n#if NUM_RECT_AREA_LIGHTS &gt; 0\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\t\tvec3 normal = geometryNormal;\n\t\tvec3 viewDir = geometryViewDir;\n\t\tvec3 position = geometryPosition;\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.roughness;\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 vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\t\tclearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n\t#endif\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\t#endif\n\t#ifdef USE_SHEEN\n\t\tsheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n\t#endif\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\t#ifdef USE_IRIDESCENCE\n\t\tcomputeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\t#else\n\t\tcomputeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\t#endif\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\treflectedLight.indirectSpecular += 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}";var lights_fragment_begin="\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n#ifdef USE_CLEARCOAT\n\tgeometryClearcoatNormal = clearcoatNormal;\n#endif\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometryViewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence &gt; 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\nIncidentLight directLight;\n#if ( NUM_POINT_LIGHTS &gt; 0 ) &amp;&amp; defined( RE_Direct )\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) &amp;&amp; NUM_POINT_LIGHT_SHADOWS &gt; 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_POINT_LIGHTS; i ++ ) {\n\t\tpointLight = pointLights[ i ];\n\t\tgetPointLightInfo( pointLight, geometryPosition, directLight );\n\t\t#if defined( USE_SHADOWMAP ) &amp;&amp; ( UNROLLED_LOOP_INDEX &lt; NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible &amp;&amp; receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_SPOT_LIGHTS &gt; 0 ) &amp;&amp; defined( RE_Direct )\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\t#if defined( USE_SHADOWMAP ) &amp;&amp; NUM_SPOT_LIGHT_SHADOWS &gt; 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_SPOT_LIGHTS; i ++ ) {\n\t\tspotLight = spotLights[ i ];\n\t\tgetSpotLightInfo( spotLight, geometryPosition, directLight );\n\t\t#if ( UNROLLED_LOOP_INDEX &lt; NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX &lt; NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX &lt; NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\t\t#if defined( USE_SHADOWMAP ) &amp;&amp; ( UNROLLED_LOOP_INDEX &lt; NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible &amp;&amp; receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_DIR_LIGHTS &gt; 0 ) &amp;&amp; defined( RE_Direct )\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) &amp;&amp; NUM_DIR_LIGHT_SHADOWS &gt; 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_DIR_LIGHTS; i ++ ) {\n\t\tdirectionalLight = directionalLights[ i ];\n\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\t\t#if defined( USE_SHADOWMAP ) &amp;&amp; ( UNROLLED_LOOP_INDEX &lt; NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible &amp;&amp; receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if ( NUM_RECT_AREA_LIGHTS &gt; 0 ) &amp;&amp; defined( RE_Direct_RectArea )\n\tRectAreaLight rectAreaLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_RECT_AREA_LIGHTS; i ++ ) {\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\t}\n\t#pragma unroll_loop_end\n#endif\n#if defined( RE_IndirectDiffuse )\n\tvec3 iblIrradiance = vec3( 0.0 );\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\t#if defined( USE_LIGHT_PROBES )\n\t\tirradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n\t#endif\n\t#if ( NUM_HEMI_LIGHTS &gt; 0 )\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i &lt; NUM_HEMI_LIGHTS; i ++ ) {\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if defined( RE_IndirectSpecular )\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n#endif";var lights_fragment_maps="#if defined( RE_IndirectDiffuse )\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\t\tirradiance += lightMapIrradiance;\n\t#endif\n\t#if defined( USE_ENVMAP ) &amp;&amp; defined( STANDARD ) &amp;&amp; defined( ENVMAP_TYPE_CUBE_UV )\n\t\tiblIrradiance += getIBLIrradiance( geometryNormal );\n\t#endif\n#endif\n#if defined( USE_ENVMAP ) &amp;&amp; defined( RE_IndirectSpecular )\n\t#ifdef USE_ANISOTROPY\n\t\tradiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n\t#else\n\t\tradiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tclearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n\t#endif\n#endif";var lights_fragment_end="#if defined( RE_IndirectDiffuse )\n\tRE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif\n#if defined( RE_IndirectSpecular )\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n#endif";var logdepthbuf_fragment="#if defined( USE_LOGDEPTHBUF )\n\tgl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n#endif";var logdepthbuf_pars_fragment="#if defined( USE_LOGDEPTHBUF )\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif";var logdepthbuf_pars_vertex="#ifdef USE_LOGDEPTHBUF\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n#endif";var logdepthbuf_vertex="#ifdef USE_LOGDEPTHBUF\n\tvFragDepth = 1.0 + gl_Position.w;\n\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n#endif";var map_fragment="#ifdef USE_MAP\n\tvec4 sampledDiffuseColor = texture2D( map, vMapUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\n\t\n\t#endif\n\tdiffuseColor *= sampledDiffuseColor;\n#endif";var map_pars_fragment="#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif";var map_particle_fragment="#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t#if defined( USE_POINTS_UV )\n\t\tvec2 uv = vUv;\n\t#else\n\t\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tdiffuseColor *= texture2D( map, uv );\n#endif\n#ifdef USE_ALPHAMAP\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n#endif";var map_particle_pars_fragment="#if defined( USE_POINTS_UV )\n\tvarying vec2 vUv;\n#else\n\t#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\t\tuniform mat3 uvTransform;\n\t#endif\n#endif\n#ifdef USE_MAP\n\tuniform sampler2D map;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform sampler2D alphaMap;\n#endif";var metalnessmap_fragment="float metalnessFactor = metalness;\n#ifdef USE_METALNESSMAP\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\tmetalnessFactor *= texelMetalness.b;\n#endif";var metalnessmap_pars_fragment="#ifdef USE_METALNESSMAP\n\tuniform sampler2D metalnessMap;\n#endif";var morphinstance_vertex="#ifdef USE_INSTANCING_MORPH\n\tfloat morphTargetInfluences[MORPHTARGETS_COUNT];\n\tfloat morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n\tfor ( int i = 0; i &lt; MORPHTARGETS_COUNT; i ++ ) {\n\t\tmorphTargetInfluences[i] =  texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n\t}\n#endif";var morphcolor_vertex="#if defined( USE_MORPHCOLORS ) &amp;&amp; defined( MORPHTARGETS_TEXTURE )\n\tvColor *= morphTargetBaseInfluence;\n\tfor ( int i = 0; i &lt; MORPHTARGETS_COUNT; i ++ ) {\n\t\t#if defined( USE_COLOR_ALPHA )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\t\t#elif defined( USE_COLOR )\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\t\t#endif\n\t}\n#endif";var morphnormal_vertex="#ifdef USE_MORPHNORMALS\n\tobjectNormal *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i &lt; MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\n\t\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\n\t\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\n\t\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\n\t#endif\n#endif";var morphtarget_pars_vertex="#ifdef USE_MORPHTARGETS\n\t#ifndef USE_INSTANCING_MORPH\n\t\tuniform float morphTargetBaseInfluence;\n\t#endif\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\t#ifndef USE_INSTANCING_MORPH\n\t\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\t\t#endif\n\t\tuniform sampler2DArray morphTargetsTexture;\n\t\tuniform ivec2 morphTargetsTextureSize;\n\t\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\t\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\t\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\t\t}\n\t#else\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\tuniform float morphTargetInfluences[ 8 ];\n\t\t#else\n\t\t\tuniform float morphTargetInfluences[ 4 ];\n\t\t#endif\n\t#endif\n#endif";var morphtarget_vertex="#ifdef USE_MORPHTARGETS\n\ttransformed *= morphTargetBaseInfluence;\n\t#ifdef MORPHTARGETS_TEXTURE\n\t\tfor ( int i = 0; i &lt; MORPHTARGETS_COUNT; i ++ ) {\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\t\t}\n\t#else\n\t\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\n\t\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\n\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\n\t\t\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\n\t\t#endif\n\t#endif\n#endif";var normal_fragment_begin="float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n#ifdef FLAT_SHADED\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n#else\n\tvec3 normal = normalize( vNormal );\n\t#ifdef DOUBLE_SIDED\n\t\tnormal *= faceDirection;\n\t#endif\n#endif\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn = getTangentFrame( - vViewPosition, normal,\n\t\t#if defined( USE_NORMALMAP )\n\t\t\tvNormalMapUv\n\t\t#elif defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tvClearcoatNormalMapUv\n\t\t#else\n\t\t\tvUv\n\t\t#endif\n\t\t);\n\t#endif\n\t#if defined( DOUBLE_SIDED ) &amp;&amp; ! defined( FLAT_SHADED )\n\t\ttbn[0] *= faceDirection;\n\t\ttbn[1] *= faceDirection;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\t#ifdef USE_TANGENT\n\t\tmat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\t#else\n\t\tmat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n\t#endif\n\t#if defined( DOUBLE_SIDED ) &amp;&amp; ! defined( FLAT_SHADED )\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\t#endif\n#endif\nvec3 nonPerturbedNormal = normal;";var normal_fragment_maps="#ifdef USE_NORMALMAP_OBJECTSPACE\n\tnormal = texture2D( normalMap, vNormalMapUv ).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 * faceDirection;\n\t#endif\n\tnormal = normalize( normalMatrix * normal );\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n\tvec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\tnormal = normalize( tbn * mapN );\n#elif defined( USE_BUMPMAP )\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n#endif";var normal_pars_fragment="#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";var normal_pars_vertex="#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";var normal_vertex="#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";var normalmap_pars_fragment="#ifdef USE_NORMALMAP\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n#endif\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\tuniform mat3 normalMatrix;\n#endif\n#if ! defined ( USE_TANGENT ) &amp;&amp; ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n\tmat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( uv.st );\n\t\tvec2 st1 = dFdy( uv.st );\n\t\tvec3 N = surf_norm;\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n\t\treturn mat3( T * scale, B * scale, N );\n\t}\n#endif";var clearcoat_normal_fragment_begin="#ifdef USE_CLEARCOAT\n\tvec3 clearcoatNormal = nonPerturbedNormal;\n#endif";var clearcoat_normal_fragment_maps="#ifdef USE_CLEARCOAT_NORMALMAP\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\tclearcoatNormal = normalize( tbn2 * clearcoatMapN );\n#endif";var clearcoat_pars_fragment="#ifdef USE_CLEARCOATMAP\n\tuniform sampler2D clearcoatMap;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform sampler2D clearcoatRoughnessMap;\n#endif";var iridescence_pars_fragment="#ifdef USE_IRIDESCENCEMAP\n\tuniform sampler2D iridescenceMap;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform sampler2D iridescenceThicknessMap;\n#endif";var opaque_fragment="#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );";var packing="vec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\nconst float ShiftRight8 = 1. / 256.;\nvec4 packDepthToRGBA( const in float v ) {\n\tvec4 r = vec4( fract( v * PackFactors ), v );\n\tr.yzw -= r.xyz * ShiftRight8;\treturn r * PackUpscale;\n}\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors );\n}\nvec2 packDepthToRG( in highp float v ) {\n\treturn packDepthToRGBA( v ).yx;\n}\nfloat unpackRGToDepth( const in highp vec2 v ) {\n\treturn unpackRGBAToDepth( vec4( v.xy, 0.0, 0.0 ) );\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 depth, const in float near, const in float far ) {\n\treturn depth * ( 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 depth, const in float near, const in float far ) {\n\treturn ( near * far ) / ( ( far - near ) * depth - far );\n}";var premultiplied_alpha_fragment="#ifdef PREMULTIPLIED_ALPHA\n\tgl_FragColor.rgb *= gl_FragColor.a;\n#endif";var project_vertex="vec4 mvPosition = vec4( transformed, 1.0 );\n#ifdef USE_BATCHING\n\tmvPosition = batchingMatrix * mvPosition;\n#endif\n#ifdef USE_INSTANCING\n\tmvPosition = instanceMatrix * mvPosition;\n#endif\nmvPosition = modelViewMatrix * mvPosition;\ngl_Position = projectionMatrix * mvPosition;";var dithering_fragment="#ifdef DITHERING\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n#endif";var 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";var roughnessmap_fragment="float roughnessFactor = roughness;\n#ifdef USE_ROUGHNESSMAP\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\troughnessFactor *= texelRoughness.g;\n#endif";var roughnessmap_pars_fragment="#ifdef USE_ROUGHNESSMAP\n\tuniform sampler2D roughnessMap;\n#endif";var shadowmap_pars_fragment="#if NUM_SPOT_LIGHT_COORDS &gt; 0\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#if NUM_SPOT_LIGHT_MAPS &gt; 0\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS &gt; 0\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS &gt; 0\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS &gt; 0\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ 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 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\tbool inFrustum = shadowCoord.x &gt;= 0.0 &amp;&amp; shadowCoord.x &lt;= 1.0 &amp;&amp; shadowCoord.y &gt;= 0.0 &amp;&amp; shadowCoord.y &lt;= 1.0;\n\t\tbool frustumTest = inFrustum &amp;&amp; shadowCoord.z &lt;= 1.0;\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 dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\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 &gt;= almostOne ) {\n\t\t\tif ( v.z &gt; 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\t\t} else if ( absV.x &gt;= 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 &gt;= 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\tfloat shadow = 1.0;\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\t\n\t\tfloat lightToPositionLength = length( lightToPosition );\n\t\tif ( lightToPositionLength - shadowCameraFar &lt;= 0.0 &amp;&amp; lightToPositionLength - shadowCameraNear &gt;= 0.0 ) {\n\t\t\tfloat dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\t\t\tdp += shadowBias;\n\t\t\tvec3 bd3D = normalize( lightToPosition );\n\t\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\t\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\t\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\t\t\t\tshadow = (\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t\t) * ( 1.0 / 9.0 );\n\t\t\t#else\n\t\t\t\tshadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\t\t\t#endif\n\t\t}\n\t\treturn shadow;\n\t}\n#endif";var shadowmap_pars_vertex="#if NUM_SPOT_LIGHT_COORDS &gt; 0\n\tuniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n#endif\n#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS &gt; 0\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS &gt; 0\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS &gt; 0\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\t#endif\n#endif";var shadowmap_vertex="#if ( defined( USE_SHADOWMAP ) &amp;&amp; ( NUM_DIR_LIGHT_SHADOWS &gt; 0 || NUM_POINT_LIGHT_SHADOWS &gt; 0 ) ) || ( NUM_SPOT_LIGHT_COORDS &gt; 0 )\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n#endif\n#if defined( USE_SHADOWMAP )\n\t#if NUM_DIR_LIGHT_SHADOWS &gt; 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i &lt; NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS &gt; 0\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i &lt; NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#endif\n#endif\n#if NUM_SPOT_LIGHT_COORDS &gt; 0\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) &amp;&amp; UNROLLED_LOOP_INDEX &lt; NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\t}\n\t#pragma unroll_loop_end\n#endif";var shadowmask_pars_fragment="float getShadowMask() {\n\tfloat shadow = 1.0;\n\t#ifdef USE_SHADOWMAP\n\t#if NUM_DIR_LIGHT_SHADOWS &gt; 0\n\tDirectionalLightShadow directionalLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_SPOT_LIGHT_SHADOWS &gt; 0\n\tSpotLightShadow spotLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#if NUM_POINT_LIGHT_SHADOWS &gt; 0\n\tPointLightShadow pointLight;\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i &lt; NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\t}\n\t#pragma unroll_loop_end\n\t#endif\n\t#endif\n\treturn shadow;\n}";var skinbase_vertex="#ifdef USE_SKINNING\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n#endif";var skinning_pars_vertex="#ifdef USE_SKINNING\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\tuniform highp sampler2D boneTexture;\n\tmat4 getBoneMatrix( const in float i ) {\n\t\tint size = textureSize( boneTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n\t\treturn mat4( v1, v2, v3, v4 );\n\t}\n#endif";var skinning_vertex="#ifdef USE_SKINNING\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n#endif";var skinnormal_vertex="#ifdef USE_SKINNING\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\t#ifdef USE_TANGENT\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\t#endif\n#endif";var specularmap_fragment="float specularStrength;\n#ifdef USE_SPECULARMAP\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n#else\n\tspecularStrength = 1.0;\n#endif";var specularmap_pars_fragment="#ifdef USE_SPECULARMAP\n\tuniform sampler2D specularMap;\n#endif";var tonemapping_fragment="#if defined( TONE_MAPPING )\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n#endif";var tonemapping_pars_fragment="#ifndef saturate\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\nuniform float toneMappingExposure;\nvec3 LinearToneMapping( vec3 color ) {\n\treturn saturate( toneMappingExposure * color );\n}\nvec3 ReinhardToneMapping( vec3 color ) {\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\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 RRTAndODTFit( vec3 v ) {\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n}\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ),\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ),\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\tcolor *= toneMappingExposure / 0.6;\n\tcolor = ACESInputMat * color;\n\tcolor = RRTAndODTFit( color );\n\tcolor = ACESOutputMat * color;\n\treturn saturate( color );\n}\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n\tvec3( 1.6605, - 0.1246, - 0.0182 ),\n\tvec3( - 0.5876, 1.1329, - 0.1006 ),\n\tvec3( - 0.0728, - 0.0083, 1.1187 )\n);\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n\tvec3( 0.6274, 0.0691, 0.0164 ),\n\tvec3( 0.3293, 0.9195, 0.0880 ),\n\tvec3( 0.0433, 0.0113, 0.8956 )\n);\nvec3 agxDefaultContrastApprox( vec3 x ) {\n\tvec3 x2 = x * x;\n\tvec3 x4 = x2 * x2;\n\treturn + 15.5 * x4 * x2\n\t\t- 40.14 * x4 * x\n\t\t+ 31.96 * x4\n\t\t- 6.868 * x2 * x\n\t\t+ 0.4298 * x2\n\t\t+ 0.1191 * x\n\t\t- 0.00232;\n}\nvec3 AgXToneMapping( vec3 color ) {\n\tconst mat3 AgXInsetMatrix = mat3(\n\t\tvec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n\t\tvec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n\t\tvec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n\t);\n\tconst mat3 AgXOutsetMatrix = mat3(\n\t\tvec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n\t\tvec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n\t\tvec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n\t);\n\tconst float AgxMinEv = - 12.47393;\tconst float AgxMaxEv = 4.026069;\n\tcolor *= toneMappingExposure;\n\tcolor = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n\tcolor = AgXInsetMatrix * color;\n\tcolor = max( color, 1e-10 );\tcolor = log2( color );\n\tcolor = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n\tcolor = clamp( color, 0.0, 1.0 );\n\tcolor = agxDefaultContrastApprox( color );\n\tcolor = AgXOutsetMatrix * color;\n\tcolor = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n\tcolor = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n\tcolor = clamp( color, 0.0, 1.0 );\n\treturn color;\n}\nvec3 NeutralToneMapping( vec3 color ) {\n\tfloat startCompression = 0.8 - 0.04;\n\tfloat desaturation = 0.15;\n\tcolor *= toneMappingExposure;\n\tfloat x = min(color.r, min(color.g, color.b));\n\tfloat offset = x &lt; 0.08 ? x - 6.25 * x * x : 0.04;\n\tcolor -= offset;\n\tfloat peak = max(color.r, max(color.g, color.b));\n\tif (peak &lt; startCompression) return color;\n\tfloat d = 1. - startCompression;\n\tfloat newPeak = 1. - d * d / (peak + d - startCompression);\n\tcolor *= newPeak / peak;\n\tfloat g = 1. - 1. / (desaturation * (peak - newPeak) + 1.);\n\treturn mix(color, newPeak * vec3(1, 1, 1), g);\n}\nvec3 CustomToneMapping( vec3 color ) { return color; }";var transmission_fragment="#ifdef USE_TRANSMISSION\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tmaterial.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tmaterial.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n\t#endif\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\tvec4 transmitted = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n\ttotalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n#endif";var transmission_pars_fragment="#ifdef USE_TRANSMISSION\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\t#ifdef USE_TRANSMISSIONMAP\n\t\tuniform sampler2D transmissionMap;\n\t#endif\n\t#ifdef USE_THICKNESSMAP\n\t\tuniform sampler2D thicknessMap;\n\t#endif\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\tvarying vec3 vWorldPosition;\n\tfloat w0( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n\t}\n\tfloat w1( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a *  a * ( 3.0 * a - 6.0 ) + 4.0 );\n\t}\n\tfloat w2( float a ){\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n\t}\n\tfloat w3( float a ) {\n\t\treturn ( 1.0 / 6.0 ) * ( a * a * a );\n\t}\n\tfloat g0( float a ) {\n\t\treturn w0( a ) + w1( a );\n\t}\n\tfloat g1( float a ) {\n\t\treturn w2( a ) + w3( a );\n\t}\n\tfloat h0( float a ) {\n\t\treturn - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n\t}\n\tfloat h1( float a ) {\n\t\treturn 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n\t}\n\tvec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n\t\tuv = uv * texelSize.zw + 0.5;\n\t\tvec2 iuv = floor( uv );\n\t\tvec2 fuv = fract( uv );\n\t\tfloat g0x = g0( fuv.x );\n\t\tfloat g1x = g1( fuv.x );\n\t\tfloat h0x = h0( fuv.x );\n\t\tfloat h1x = h1( fuv.x );\n\t\tfloat h0y = h0( fuv.y );\n\t\tfloat h1y = h1( fuv.y );\n\t\tvec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\treturn g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n\t\t\tg1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n\t}\n\tvec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n\t\tvec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n\t\tvec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n\t\tvec2 fLodSizeInv = 1.0 / fLodSize;\n\t\tvec2 cLodSizeInv = 1.0 / cLodSize;\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n\t\treturn mix( fSample, cSample, fract( lod ) );\n\t}\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\t}\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\t}\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\t\tfloat lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\treturn textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n\t}\n\tvec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tif ( isinf( attenuationDistance ) ) {\n\t\t\treturn vec3( 1.0 );\n\t\t} else {\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\t\t\treturn transmittance;\n\t\t}\n\t}\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\tvec3 refractedRayExit = position + transmissionRay;\n\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\trefractionCoords += 1.0;\n\t\trefractionCoords /= 2.0;\n\t\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\tvec3 transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n\t\tvec3 attenuatedColor = transmittance * transmittedLight.rgb;\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\t\tfloat transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n\t}\n#endif";var uv_pars_fragment="#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tvarying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif";var uv_pars_vertex="#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvarying vec2 vUv;\n#endif\n#ifdef USE_MAP\n\tuniform mat3 mapTransform;\n\tvarying vec2 vMapUv;\n#endif\n#ifdef USE_ALPHAMAP\n\tuniform mat3 alphaMapTransform;\n\tvarying vec2 vAlphaMapUv;\n#endif\n#ifdef USE_LIGHTMAP\n\tuniform mat3 lightMapTransform;\n\tvarying vec2 vLightMapUv;\n#endif\n#ifdef USE_AOMAP\n\tuniform mat3 aoMapTransform;\n\tvarying vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tuniform mat3 bumpMapTransform;\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tuniform mat3 normalMapTransform;\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tuniform mat3 displacementMapTransform;\n\tvarying vec2 vDisplacementMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tuniform mat3 emissiveMapTransform;\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tuniform mat3 metalnessMapTransform;\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tuniform mat3 roughnessMapTransform;\n\tvarying vec2 vRoughnessMapUv;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tuniform mat3 anisotropyMapTransform;\n\tvarying vec2 vAnisotropyMapUv;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tuniform mat3 clearcoatMapTransform;\n\tvarying vec2 vClearcoatMapUv;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tuniform mat3 clearcoatNormalMapTransform;\n\tvarying vec2 vClearcoatNormalMapUv;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tuniform mat3 clearcoatRoughnessMapTransform;\n\tvarying vec2 vClearcoatRoughnessMapUv;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tuniform mat3 sheenColorMapTransform;\n\tvarying vec2 vSheenColorMapUv;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tuniform mat3 sheenRoughnessMapTransform;\n\tvarying vec2 vSheenRoughnessMapUv;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tuniform mat3 iridescenceMapTransform;\n\tvarying vec2 vIridescenceMapUv;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tuniform mat3 iridescenceThicknessMapTransform;\n\tvarying vec2 vIridescenceThicknessMapUv;\n#endif\n#ifdef USE_SPECULARMAP\n\tuniform mat3 specularMapTransform;\n\tvarying vec2 vSpecularMapUv;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tuniform mat3 specularColorMapTransform;\n\tvarying vec2 vSpecularColorMapUv;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tuniform mat3 specularIntensityMapTransform;\n\tvarying vec2 vSpecularIntensityMapUv;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n#endif\n#ifdef USE_THICKNESSMAP\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n#endif";var uv_vertex="#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\tvUv = vec3( uv, 1 ).xy;\n#endif\n#ifdef USE_MAP\n\tvMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ALPHAMAP\n\tvAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_LIGHTMAP\n\tvLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_AOMAP\n\tvAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_BUMPMAP\n\tvBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_NORMALMAP\n\tvNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\tvDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_METALNESSMAP\n\tvMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_ANISOTROPYMAP\n\tvAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOATMAP\n\tvClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\tvClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\tvClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\tvIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\tvIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\tvSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\tvSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULARMAP\n\tvSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\tvSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\tvSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\tvTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n#endif\n#ifdef USE_THICKNESSMAP\n\tvThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n#endif";var worldpos_vertex="#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS &gt; 0\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\t#ifdef USE_BATCHING\n\t\tworldPosition = batchingMatrix * worldPosition;\n\t#endif\n\t#ifdef USE_INSTANCING\n\t\tworldPosition = instanceMatrix * worldPosition;\n\t#endif\n\tworldPosition = modelMatrix * worldPosition;\n#endif";const vertex$h="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}";const fragment$h="uniform sampler2D t2D;\nuniform float backgroundIntensity;\nvarying vec2 vUv;\nvoid main() {\n\tvec4 texColor = texture2D( t2D, vUv );\n\t#ifdef DECODE_VIDEO_TEXTURE\n\t\ttexColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n}";const vertex$g="varying vec3 vWorldDirection;\n#include &lt;common&gt;\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\tgl_Position.z = gl_Position.w;\n}";const fragment$g="#ifdef ENVMAP_TYPE_CUBE\n\tuniform samplerCube envMap;\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n\tuniform sampler2D envMap;\n#endif\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\nvarying vec3 vWorldDirection;\n#include &lt;cube_uv_reflection_fragment&gt;\nvoid main() {\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tvec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\t\tvec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n\t#else\n\t\tvec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t#endif\n\ttexColor.rgb *= backgroundIntensity;\n\tgl_FragColor = texColor;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n}";const vertex$f="varying vec3 vWorldDirection;\n#include &lt;common&gt;\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\tgl_Position.z = gl_Position.w;\n}";const fragment$f="uniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\nvarying vec3 vWorldDirection;\nvoid main() {\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\tgl_FragColor = texColor;\n\tgl_FragColor.a *= opacity;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n}";const vertex$e="#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include &lt;beginnormal_vertex&gt;\n\t\t#include &lt;morphnormal_vertex&gt;\n\t\t#include &lt;skinnormal_vertex&gt;\n\t#endif\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvHighPrecisionZW = gl_Position.zw;\n}";const fragment$e="#if DEPTH_PACKING == 3200\n\tuniform float opacity;\n#endif\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvarying vec2 vHighPrecisionZW;\nvoid main() {\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include &lt;clipping_planes_fragment&gt;\n\t#if DEPTH_PACKING == 3200\n\t\tdiffuseColor.a = opacity;\n\t#endif\n\t#include &lt;map_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;logdepthbuf_fragment&gt;\n\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\n\t#if DEPTH_PACKING == 3200\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\t#elif DEPTH_PACKING == 3201\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\t#endif\n}";const vertex$d="#define DISTANCE\nvarying vec3 vWorldPosition;\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#ifdef USE_DISPLACEMENTMAP\n\t\t#include &lt;beginnormal_vertex&gt;\n\t\t#include &lt;morphnormal_vertex&gt;\n\t\t#include &lt;skinnormal_vertex&gt;\n\t#endif\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvWorldPosition = worldPosition.xyz;\n}";const fragment$d="#define DISTANCE\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main () {\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include &lt;clipping_planes_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist );\n\tgl_FragColor = packDepthToRGBA( dist );\n}";const vertex$c="varying vec3 vWorldDirection;\n#include &lt;common&gt;\nvoid main() {\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;project_vertex&gt;\n}";const fragment$c="uniform sampler2D tEquirect;\nvarying vec3 vWorldDirection;\n#include &lt;common&gt;\nvoid main() {\n\tvec3 direction = normalize( vWorldDirection );\n\tvec2 sampleUV = equirectUv( direction );\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n}";const vertex$b="uniform float scale;\nattribute float lineDistance;\nvarying float vLineDistance;\n#include &lt;common&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\tvLineDistance = scale * lineDistance;\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$b="uniform vec3 diffuse;\nuniform float opacity;\nuniform float dashSize;\nuniform float totalSize;\nvarying float vLineDistance;\n#include &lt;common&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tif ( mod( vLineDistance, totalSize ) &gt; dashSize ) {\n\t\tdiscard;\n\t}\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\toutgoingLight = diffuseColor.rgb;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n}";const vertex$a="#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;envmap_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\t\t#include &lt;beginnormal_vertex&gt;\n\t\t#include &lt;morphnormal_vertex&gt;\n\t\t#include &lt;skinbase_vertex&gt;\n\t\t#include &lt;skinnormal_vertex&gt;\n\t\t#include &lt;defaultnormal_vertex&gt;\n\t#endif\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;envmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$a="uniform vec3 diffuse;\nuniform float opacity;\n#ifndef FLAT_SHADED\n\tvarying vec3 vNormal;\n#endif\n#include &lt;common&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;aomap_pars_fragment&gt;\n#include &lt;lightmap_pars_fragment&gt;\n#include &lt;envmap_common_pars_fragment&gt;\n#include &lt;envmap_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;specularmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;specularmap_fragment&gt;\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\t#ifdef USE_LIGHTMAP\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\t#else\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\t#endif\n\t#include &lt;aomap_fragment&gt;\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\t#include &lt;envmap_fragment&gt;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$9="#define LAMBERT\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;envmap_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;shadowmap_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvViewPosition = - mvPosition.xyz;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;envmap_vertex&gt;\n\t#include &lt;shadowmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$9="#define LAMBERT\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;aomap_pars_fragment&gt;\n#include &lt;lightmap_pars_fragment&gt;\n#include &lt;emissivemap_pars_fragment&gt;\n#include &lt;envmap_common_pars_fragment&gt;\n#include &lt;envmap_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;bsdfs&gt;\n#include &lt;lights_pars_begin&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;lights_lambert_pars_fragment&gt;\n#include &lt;shadowmap_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;specularmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;specularmap_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\t#include &lt;emissivemap_fragment&gt;\n\t#include &lt;lights_lambert_fragment&gt;\n\t#include &lt;lights_fragment_begin&gt;\n\t#include &lt;lights_fragment_maps&gt;\n\t#include &lt;lights_fragment_end&gt;\n\t#include &lt;aomap_fragment&gt;\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include &lt;envmap_fragment&gt;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$8="#define MATCAP\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n\tvViewPosition = - mvPosition.xyz;\n}";const fragment$8="#define MATCAP\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\n\t#ifdef USE_MATCAP\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\t#else\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\n\t#endif\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$7="#define NORMAL\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvViewPosition = - mvPosition.xyz;\n#endif\n}";const fragment$7="#define NORMAL\nuniform float opacity;\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\tvarying vec3 vViewPosition;\n#endif\n#include &lt;packing&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\tgl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n\t#ifdef OPAQUE\n\t\tgl_FragColor.a = 1.0;\n\t#endif\n}";const vertex$6="#define PHONG\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;envmap_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;shadowmap_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvViewPosition = - mvPosition.xyz;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;envmap_vertex&gt;\n\t#include &lt;shadowmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$6="#define PHONG\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;aomap_pars_fragment&gt;\n#include &lt;lightmap_pars_fragment&gt;\n#include &lt;emissivemap_pars_fragment&gt;\n#include &lt;envmap_common_pars_fragment&gt;\n#include &lt;envmap_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;bsdfs&gt;\n#include &lt;lights_pars_begin&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;lights_phong_pars_fragment&gt;\n#include &lt;shadowmap_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;specularmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;specularmap_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\t#include &lt;emissivemap_fragment&gt;\n\t#include &lt;lights_phong_fragment&gt;\n\t#include &lt;lights_fragment_begin&gt;\n\t#include &lt;lights_fragment_maps&gt;\n\t#include &lt;lights_fragment_end&gt;\n\t#include &lt;aomap_fragment&gt;\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\t#include &lt;envmap_fragment&gt;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$5="#define STANDARD\nvarying vec3 vViewPosition;\n#ifdef USE_TRANSMISSION\n\tvarying vec3 vWorldPosition;\n#endif\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;shadowmap_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvViewPosition = - mvPosition.xyz;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;shadowmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n#ifdef USE_TRANSMISSION\n\tvWorldPosition = worldPosition.xyz;\n#endif\n}";const fragment$5="#define STANDARD\n#ifdef PHYSICAL\n\t#define IOR\n\t#define USE_SPECULAR\n#endif\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n#ifdef IOR\n\tuniform float ior;\n#endif\n#ifdef USE_SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\t#ifdef USE_SPECULAR_COLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n#endif\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\n#ifdef USE_ANISOTROPY\n\tuniform vec2 anisotropyVector;\n\t#ifdef USE_ANISOTROPYMAP\n\t\tuniform sampler2D anisotropyMap;\n\t#endif\n#endif\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;aomap_pars_fragment&gt;\n#include &lt;lightmap_pars_fragment&gt;\n#include &lt;emissivemap_pars_fragment&gt;\n#include &lt;iridescence_fragment&gt;\n#include &lt;cube_uv_reflection_fragment&gt;\n#include &lt;envmap_common_pars_fragment&gt;\n#include &lt;envmap_physical_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;lights_pars_begin&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;lights_physical_pars_fragment&gt;\n#include &lt;transmission_pars_fragment&gt;\n#include &lt;shadowmap_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;clearcoat_pars_fragment&gt;\n#include &lt;iridescence_pars_fragment&gt;\n#include &lt;roughnessmap_pars_fragment&gt;\n#include &lt;metalnessmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;roughnessmap_fragment&gt;\n\t#include &lt;metalnessmap_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\t#include &lt;clearcoat_normal_fragment_begin&gt;\n\t#include &lt;clearcoat_normal_fragment_maps&gt;\n\t#include &lt;emissivemap_fragment&gt;\n\t#include &lt;lights_physical_fragment&gt;\n\t#include &lt;lights_fragment_begin&gt;\n\t#include &lt;lights_fragment_maps&gt;\n\t#include &lt;lights_fragment_end&gt;\n\t#include &lt;aomap_fragment&gt;\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\t#include &lt;transmission_fragment&gt;\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\t#ifdef USE_SHEEN\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n\t#endif\n\t#ifdef USE_CLEARCOAT\n\t\tfloat dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n\t#endif\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$4="#define TOON\nvarying vec3 vViewPosition;\n#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;displacementmap_pars_vertex&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;normal_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;shadowmap_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;normal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;displacementmap_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\tvViewPosition = - mvPosition.xyz;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;shadowmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$4="#define TOON\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;dithering_pars_fragment&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;aomap_pars_fragment&gt;\n#include &lt;lightmap_pars_fragment&gt;\n#include &lt;emissivemap_pars_fragment&gt;\n#include &lt;gradientmap_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;bsdfs&gt;\n#include &lt;lights_pars_begin&gt;\n#include &lt;normal_pars_fragment&gt;\n#include &lt;lights_toon_pars_fragment&gt;\n#include &lt;shadowmap_pars_fragment&gt;\n#include &lt;bumpmap_pars_fragment&gt;\n#include &lt;normalmap_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\t#include &lt;normal_fragment_begin&gt;\n\t#include &lt;normal_fragment_maps&gt;\n\t#include &lt;emissivemap_fragment&gt;\n\t#include &lt;lights_toon_fragment&gt;\n\t#include &lt;lights_fragment_begin&gt;\n\t#include &lt;lights_fragment_maps&gt;\n\t#include &lt;lights_fragment_end&gt;\n\t#include &lt;aomap_fragment&gt;\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n\t#include &lt;dithering_fragment&gt;\n}";const vertex$3="uniform float size;\nuniform float scale;\n#include &lt;common&gt;\n#include &lt;color_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\n#ifdef USE_POINTS_UV\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n#endif\nvoid main() {\n\t#ifdef USE_POINTS_UV\n\t\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\t#endif\n\t#include &lt;color_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphcolor_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;project_vertex&gt;\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 &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$3="uniform vec3 diffuse;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;color_pars_fragment&gt;\n#include &lt;map_particle_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_particle_fragment&gt;\n\t#include &lt;color_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\toutgoingLight = diffuseColor.rgb;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n\t#include &lt;premultiplied_alpha_fragment&gt;\n}";const vertex$2="#include &lt;common&gt;\n#include &lt;batching_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;morphtarget_pars_vertex&gt;\n#include &lt;skinning_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;shadowmap_pars_vertex&gt;\nvoid main() {\n\t#include &lt;batching_vertex&gt;\n\t#include &lt;beginnormal_vertex&gt;\n\t#include &lt;morphinstance_vertex&gt;\n\t#include &lt;morphnormal_vertex&gt;\n\t#include &lt;skinbase_vertex&gt;\n\t#include &lt;skinnormal_vertex&gt;\n\t#include &lt;defaultnormal_vertex&gt;\n\t#include &lt;begin_vertex&gt;\n\t#include &lt;morphtarget_vertex&gt;\n\t#include &lt;skinning_vertex&gt;\n\t#include &lt;project_vertex&gt;\n\t#include &lt;logdepthbuf_vertex&gt;\n\t#include &lt;worldpos_vertex&gt;\n\t#include &lt;shadowmap_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$2="uniform vec3 color;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;packing&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;bsdfs&gt;\n#include &lt;lights_pars_begin&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;shadowmap_pars_fragment&gt;\n#include &lt;shadowmask_pars_fragment&gt;\nvoid main() {\n\t#include &lt;logdepthbuf_fragment&gt;\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n}";const vertex$1="uniform float rotation;\nuniform vec2 center;\n#include &lt;common&gt;\n#include &lt;uv_pars_vertex&gt;\n#include &lt;fog_pars_vertex&gt;\n#include &lt;logdepthbuf_pars_vertex&gt;\n#include &lt;clipping_planes_pars_vertex&gt;\nvoid main() {\n\t#include &lt;uv_vertex&gt;\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 &lt;logdepthbuf_vertex&gt;\n\t#include &lt;clipping_planes_vertex&gt;\n\t#include &lt;fog_vertex&gt;\n}";const fragment$1="uniform vec3 diffuse;\nuniform float opacity;\n#include &lt;common&gt;\n#include &lt;uv_pars_fragment&gt;\n#include &lt;map_pars_fragment&gt;\n#include &lt;alphamap_pars_fragment&gt;\n#include &lt;alphatest_pars_fragment&gt;\n#include &lt;alphahash_pars_fragment&gt;\n#include &lt;fog_pars_fragment&gt;\n#include &lt;logdepthbuf_pars_fragment&gt;\n#include &lt;clipping_planes_pars_fragment&gt;\nvoid main() {\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include &lt;clipping_planes_fragment&gt;\n\tvec3 outgoingLight = vec3( 0.0 );\n\t#include &lt;logdepthbuf_fragment&gt;\n\t#include &lt;map_fragment&gt;\n\t#include &lt;alphamap_fragment&gt;\n\t#include &lt;alphatest_fragment&gt;\n\t#include &lt;alphahash_fragment&gt;\n\toutgoingLight = diffuseColor.rgb;\n\t#include &lt;opaque_fragment&gt;\n\t#include &lt;tonemapping_fragment&gt;\n\t#include &lt;colorspace_fragment&gt;\n\t#include &lt;fog_fragment&gt;\n}";const ShaderChunk={alphahash_fragment:alphahash_fragment,alphahash_pars_fragment:alphahash_pars_fragment,alphamap_fragment:alphamap_fragment,alphamap_pars_fragment:alphamap_pars_fragment,alphatest_fragment:alphatest_fragment,alphatest_pars_fragment:alphatest_pars_fragment,aomap_fragment:aomap_fragment,aomap_pars_fragment:aomap_pars_fragment,batching_pars_vertex:batching_pars_vertex,batching_vertex:batching_vertex,begin_vertex:begin_vertex,beginnormal_vertex:beginnormal_vertex,bsdfs:bsdfs,iridescence_fragment:iridescence_fragment,bumpmap_pars_fragment:bumpmap_pars_fragment,clipping_planes_fragment:clipping_planes_fragment,clipping_planes_pars_fragment:clipping_planes_pars_fragment,clipping_planes_pars_vertex:clipping_planes_pars_vertex,clipping_planes_vertex:clipping_planes_vertex,color_fragment:color_fragment,color_pars_fragment:color_pars_fragment,color_pars_vertex:color_pars_vertex,color_vertex:color_vertex,common:common,cube_uv_reflection_fragment:cube_uv_reflection_fragment,defaultnormal_vertex:defaultnormal_vertex,displacementmap_pars_vertex:displacementmap_pars_vertex,displacementmap_vertex:displacementmap_vertex,emissivemap_fragment:emissivemap_fragment,emissivemap_pars_fragment:emissivemap_pars_fragment,colorspace_fragment:colorspace_fragment,colorspace_pars_fragment:colorspace_pars_fragment,envmap_fragment:envmap_fragment,envmap_common_pars_fragment:envmap_common_pars_fragment,envmap_pars_fragment:envmap_pars_fragment,envmap_pars_vertex:envmap_pars_vertex,envmap_physical_pars_fragment:envmap_physical_pars_fragment,envmap_vertex:envmap_vertex,fog_vertex:fog_vertex,fog_pars_vertex:fog_pars_vertex,fog_fragment:fog_fragment,fog_pars_fragment:fog_pars_fragment,gradientmap_pars_fragment:gradientmap_pars_fragment,lightmap_fragment:lightmap_fragment,lightmap_pars_fragment:lightmap_pars_fragment,lights_lambert_fragment:lights_lambert_fragment,lights_lambert_pars_fragment:lights_lambert_pars_fragment,lights_pars_begin:lights_pars_begin,lights_toon_fragment:lights_toon_fragment,lights_toon_pars_fragment:lights_toon_pars_fragment,lights_phong_fragment:lights_phong_fragment,lights_phong_pars_fragment:lights_phong_pars_fragment,lights_physical_fragment:lights_physical_fragment,lights_physical_pars_fragment:lights_physical_pars_fragment,lights_fragment_begin:lights_fragment_begin,lights_fragment_maps:lights_fragment_maps,lights_fragment_end:lights_fragment_end,logdepthbuf_fragment:logdepthbuf_fragment,logdepthbuf_pars_fragment:logdepthbuf_pars_fragment,logdepthbuf_pars_vertex:logdepthbuf_pars_vertex,logdepthbuf_vertex:logdepthbuf_vertex,map_fragment:map_fragment,map_pars_fragment:map_pars_fragment,map_particle_fragment:map_particle_fragment,map_particle_pars_fragment:map_particle_pars_fragment,metalnessmap_fragment:metalnessmap_fragment,metalnessmap_pars_fragment:metalnessmap_pars_fragment,morphinstance_vertex:morphinstance_vertex,morphcolor_vertex:morphcolor_vertex,morphnormal_vertex:morphnormal_vertex,morphtarget_pars_vertex:morphtarget_pars_vertex,morphtarget_vertex:morphtarget_vertex,normal_fragment_begin:normal_fragment_begin,normal_fragment_maps:normal_fragment_maps,normal_pars_fragment:normal_pars_fragment,normal_pars_vertex:normal_pars_vertex,normal_vertex:normal_vertex,normalmap_pars_fragment:normalmap_pars_fragment,clearcoat_normal_fragment_begin:clearcoat_normal_fragment_begin,clearcoat_normal_fragment_maps:clearcoat_normal_fragment_maps,clearcoat_pars_fragment:clearcoat_pars_fragment,iridescence_pars_fragment:iridescence_pars_fragment,opaque_fragment:opaque_fragment,packing:packing,premultiplied_alpha_fragment:premultiplied_alpha_fragment,project_vertex:project_vertex,dithering_fragment:dithering_fragment,dithering_pars_fragment:dithering_pars_fragment,roughnessmap_fragment:roughnessmap_fragment,roughnessmap_pars_fragment:roughnessmap_pars_fragment,shadowmap_pars_fragment:shadowmap_pars_fragment,shadowmap_pars_vertex:shadowmap_pars_vertex,shadowmap_vertex:shadowmap_vertex,shadowmask_pars_fragment:shadowmask_pars_fragment,skinbase_vertex:skinbase_vertex,skinning_pars_vertex:skinning_pars_vertex,skinning_vertex:skinning_vertex,skinnormal_vertex:skinnormal_vertex,specularmap_fragment:specularmap_fragment,specularmap_pars_fragment:specularmap_pars_fragment,tonemapping_fragment:tonemapping_fragment,tonemapping_pars_fragment:tonemapping_pars_fragment,transmission_fragment:transmission_fragment,transmission_pars_fragment:transmission_pars_fragment,uv_pars_fragment:uv_pars_fragment,uv_pars_vertex:uv_pars_vertex,uv_vertex:uv_vertex,worldpos_vertex:worldpos_vertex,background_vert:vertex$h,background_frag:fragment$h,backgroundCube_vert:vertex$g,backgroundCube_frag:fragment$g,cube_vert:vertex$f,cube_frag:fragment$f,depth_vert:vertex$e,depth_frag:fragment$e,distanceRGBA_vert:vertex$d,distanceRGBA_frag:fragment$d,equirect_vert:vertex$c,equirect_frag:fragment$c,linedashed_vert:vertex$b,linedashed_frag:fragment$b,meshbasic_vert:vertex$a,meshbasic_frag:fragment$a,meshlambert_vert:vertex$9,meshlambert_frag:fragment$9,meshmatcap_vert:vertex$8,meshmatcap_frag:fragment$8,meshnormal_vert:vertex$7,meshnormal_frag:fragment$7,meshphong_vert:vertex$6,meshphong_frag:fragment$6,meshphysical_vert:vertex$5,meshphysical_frag:fragment$5,meshtoon_vert:vertex$4,meshtoon_frag:fragment$4,points_vert:vertex$3,points_frag:fragment$3,shadow_vert:vertex$2,shadow_frag:fragment$2,sprite_vert:vertex$1,sprite_frag:fragment$1};const UniformsLib={common:{diffuse:{value:new Color(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Matrix3},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Matrix3}},envmap:{envMap:{value:null},envMapRotation:{value:new Matrix3},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:0.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Matrix3}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Matrix3}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Matrix3},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Matrix3},normalScale:{value:new Vector2(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Matrix3},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Matrix3}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Matrix3}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Matrix3}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:0.00025},fogNear:{value:1},fogFar:{value:2000},fogColor:{value:new Color(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Color(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0},uvTransform:{value:new Matrix3}},sprite:{diffuse:{value:new Color(16777215)},opacity:{value:1},center:{value:new Vector2(0.5,0.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Matrix3},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0}}};const ShaderLib={basic:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.fog]),vertexShader:ShaderChunk.meshbasic_vert,fragmentShader:ShaderChunk.meshbasic_frag},lambert:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)}}]),vertexShader:ShaderChunk.meshlambert_vert,fragmentShader:ShaderChunk.meshlambert_frag},phong:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)},specular:{value:new Color(1118481)},shininess:{value:30}}]),vertexShader:ShaderChunk.meshphong_vert,fragmentShader:ShaderChunk.meshphong_frag},standard:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.roughnessmap,UniformsLib.metalnessmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:ShaderChunk.meshphysical_vert,fragmentShader:ShaderChunk.meshphysical_frag},toon:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.gradientmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)}}]),vertexShader:ShaderChunk.meshtoon_vert,fragmentShader:ShaderChunk.meshtoon_frag},matcap:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,{matcap:{value:null}}]),vertexShader:ShaderChunk.meshmatcap_vert,fragmentShader:ShaderChunk.meshmatcap_frag},points:{uniforms:mergeUniforms([UniformsLib.points,UniformsLib.fog]),vertexShader:ShaderChunk.points_vert,fragmentShader:ShaderChunk.points_frag},dashed:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:ShaderChunk.linedashed_vert,fragmentShader:ShaderChunk.linedashed_frag},depth:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.displacementmap]),vertexShader:ShaderChunk.depth_vert,fragmentShader:ShaderChunk.depth_frag},normal:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,{opacity:{value:1}}]),vertexShader:ShaderChunk.meshnormal_vert,fragmentShader:ShaderChunk.meshnormal_frag},sprite:{uniforms:mergeUniforms([UniformsLib.sprite,UniformsLib.fog]),vertexShader:ShaderChunk.sprite_vert,fragmentShader:ShaderChunk.sprite_frag},background:{uniforms:{uvTransform:{value:new Matrix3},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:ShaderChunk.background_vert,fragmentShader:ShaderChunk.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Matrix3}},vertexShader:ShaderChunk.backgroundCube_vert,fragmentShader:ShaderChunk.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:ShaderChunk.cube_vert,fragmentShader:ShaderChunk.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:ShaderChunk.equirect_vert,fragmentShader:ShaderChunk.equirect_frag},distanceRGBA:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.displacementmap,{referencePosition:{value:new Vector3},nearDistance:{value:1},farDistance:{value:1000}}]),vertexShader:ShaderChunk.distanceRGBA_vert,fragmentShader:ShaderChunk.distanceRGBA_frag},shadow:{uniforms:mergeUniforms([UniformsLib.lights,UniformsLib.fog,{color:{value:new Color(0)},opacity:{value:1}}]),vertexShader:ShaderChunk.shadow_vert,fragmentShader:ShaderChunk.shadow_frag}};ShaderLib.physical={uniforms:mergeUniforms([ShaderLib.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Matrix3},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Matrix3},clearcoatNormalScale:{value:new Vector2(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Matrix3},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Matrix3},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Matrix3},sheen:{value:0},sheenColor:{value:new Color(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Matrix3},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Matrix3},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Matrix3},transmissionSamplerSize:{value:new Vector2},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Matrix3},attenuationDistance:{value:0},attenuationColor:{value:new Color(0)},specularColor:{value:new Color(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Matrix3},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Matrix3},anisotropyVector:{value:new Vector2},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Matrix3}}]),vertexShader:ShaderChunk.meshphysical_vert,fragmentShader:ShaderChunk.meshphysical_frag};const _rgb={r:0,b:0,g:0};const _e1$1=new Euler;const _m1$1=new Matrix4;function WebGLBackground(renderer,cubemaps,cubeuvmaps,state,objects,alpha,premultipliedAlpha){const clearColor=new Color(0);let clearAlpha=alpha===true?0:1;let planeMesh;let boxMesh;let currentBackground=null;let currentBackgroundVersion=0;let currentTonemapping=null;function render(renderList,scene){let forceClear=false;let background=scene.isScene===true?scene.background:null;if(background&amp;&amp;background.isTexture){const usePMREM=scene.backgroundBlurriness&gt;0;background=(usePMREM?cubeuvmaps:cubemaps).get(background)}if(background===null){setClear(clearColor,clearAlpha)}else if(background&amp;&amp;background.isColor){setClear(background,1);forceClear=true}const environmentBlendMode=renderer.xr.getEnvironmentBlendMode();if(environmentBlendMode==="additive"){state.buffers.color.setClear(0,0,0,1,premultipliedAlpha)}else if(environmentBlendMode==="alpha-blend"){state.buffers.color.setClear(0,0,0,0,premultipliedAlpha)}if(renderer.autoClear||forceClear){renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil)}if(background&amp;&amp;(background.isCubeTexture||background.mapping===CubeUVReflectionMapping)){if(boxMesh===undefined){boxMesh=new Mesh(new BoxGeometry(1,1,1),new ShaderMaterial({name:"BackgroundCubeMaterial",uniforms:cloneUniforms(ShaderLib.backgroundCube.uniforms),vertexShader:ShaderLib.backgroundCube.vertexShader,fragmentShader:ShaderLib.backgroundCube.fragmentShader,side:BackSide,depthTest:false,depthWrite:false,fog:false}));boxMesh.geometry.deleteAttribute("normal");boxMesh.geometry.deleteAttribute("uv");boxMesh.onBeforeRender=function(renderer,scene,camera){this.matrixWorld.copyPosition(camera.matrixWorld)};Object.defineProperty(boxMesh.material,"envMap",{get:function(){return this.uniforms.envMap.value}});objects.update(boxMesh)}_e1$1.copy(scene.backgroundRotation);_e1$1.x*=-1;_e1$1.y*=-1;_e1$1.z*=-1;if(background.isCubeTexture&amp;&amp;background.isRenderTargetTexture===false){_e1$1.y*=-1;_e1$1.z*=-1}boxMesh.material.uniforms.envMap.value=background;boxMesh.material.uniforms.flipEnvMap.value=background.isCubeTexture&amp;&amp;background.isRenderTargetTexture===false?-1:1;boxMesh.material.uniforms.backgroundBlurriness.value=scene.backgroundBlurriness;boxMesh.material.uniforms.backgroundIntensity.value=scene.backgroundIntensity;boxMesh.material.uniforms.backgroundRotation.value.setFromMatrix4(_m1$1.makeRotationFromEuler(_e1$1));boxMesh.material.toneMapped=ColorManagement.getTransfer(background.colorSpace)!==SRGBTransfer;if(currentBackground!==background||currentBackgroundVersion!==background.version||currentTonemapping!==renderer.toneMapping){boxMesh.material.needsUpdate=true;currentBackground=background;currentBackgroundVersion=background.version;currentTonemapping=renderer.toneMapping}boxMesh.layers.enableAll();renderList.unshift(boxMesh,boxMesh.geometry,boxMesh.material,0,0,null)}else if(background&amp;&amp;background.isTexture){if(planeMesh===undefined){planeMesh=new Mesh(new PlaneGeometry(2,2),new ShaderMaterial({name:"BackgroundMaterial",uniforms:cloneUniforms(ShaderLib.background.uniforms),vertexShader:ShaderLib.background.vertexShader,fragmentShader:ShaderLib.background.fragmentShader,side:FrontSide,depthTest:false,depthWrite:false,fog:false}));planeMesh.geometry.deleteAttribute("normal");Object.defineProperty(planeMesh.material,"map",{get:function(){return this.uniforms.t2D.value}});objects.update(planeMesh)}planeMesh.material.uniforms.t2D.value=background;planeMesh.material.uniforms.backgroundIntensity.value=scene.backgroundIntensity;planeMesh.material.toneMapped=ColorManagement.getTransfer(background.colorSpace)!==SRGBTransfer;if(background.matrixAutoUpdate===true){background.updateMatrix()}planeMesh.material.uniforms.uvTransform.value.copy(background.matrix);if(currentBackground!==background||currentBackgroundVersion!==background.version||currentTonemapping!==renderer.toneMapping){planeMesh.material.needsUpdate=true;currentBackground=background;currentBackgroundVersion=background.version;currentTonemapping=renderer.toneMapping}planeMesh.layers.enableAll();renderList.unshift(planeMesh,planeMesh.geometry,planeMesh.material,0,0,null)}}function setClear(color,alpha){color.getRGB(_rgb,getUnlitUniformColorSpace(renderer));state.buffers.color.setClear(_rgb.r,_rgb.g,_rgb.b,alpha,premultipliedAlpha)}return{getClearColor:function(){return clearColor},setClearColor:function(color,alpha=1){clearColor.set(color);clearAlpha=alpha;setClear(clearColor,clearAlpha)},getClearAlpha:function(){return clearAlpha},setClearAlpha:function(alpha){clearAlpha=alpha;setClear(clearColor,clearAlpha)},render:render}}function WebGLBindingStates(gl,attributes){const maxVertexAttributes=gl.getParameter(gl.MAX_VERTEX_ATTRIBS);const bindingStates={};const defaultState=createBindingState(null);let currentState=defaultState;let forceUpdate=false;function setup(object,material,program,geometry,index){let updateBuffers=false;const state=getBindingState(geometry,program,material);if(currentState!==state){currentState=state;bindVertexArrayObject(currentState.object)}updateBuffers=needsUpdate(object,geometry,program,index);if(updateBuffers)saveCache(object,geometry,program,index);if(index!==null){attributes.update(index,gl.ELEMENT_ARRAY_BUFFER)}if(updateBuffers||forceUpdate){forceUpdate=false;setupVertexAttributes(object,material,program,geometry);if(index!==null){gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER,attributes.get(index).buffer)}}}function createVertexArrayObject(){return gl.createVertexArray()}function bindVertexArrayObject(vao){return gl.bindVertexArray(vao)}function deleteVertexArrayObject(vao){return gl.deleteVertexArray(vao)}function getBindingState(geometry,program,material){const wireframe=material.wireframe===true;let programMap=bindingStates[geometry.id];if(programMap===undefined){programMap={};bindingStates[geometry.id]=programMap}let stateMap=programMap[program.id];if(stateMap===undefined){stateMap={};programMap[program.id]=stateMap}let state=stateMap[wireframe];if(state===undefined){state=createBindingState(createVertexArrayObject());stateMap[wireframe]=state}return state}function createBindingState(vao){const newAttributes=[];const enabledAttributes=[];const attributeDivisors=[];for(let i=0;i&lt;maxVertexAttributes;i++){newAttributes[i]=0;enabledAttributes[i]=0;attributeDivisors[i]=0}return{geometry:null,program:null,wireframe:false,newAttributes:newAttributes,enabledAttributes:enabledAttributes,attributeDivisors:attributeDivisors,object:vao,attributes:{},index:null}}function needsUpdate(object,geometry,program,index){const cachedAttributes=currentState.attributes;const geometryAttributes=geometry.attributes;let attributesNum=0;const programAttributes=program.getAttributes();for(const name in programAttributes){const programAttribute=programAttributes[name];if(programAttribute.location&gt;=0){const cachedAttribute=cachedAttributes[name];let geometryAttribute=geometryAttributes[name];if(geometryAttribute===undefined){if(name==="instanceMatrix"&amp;&amp;object.instanceMatrix)geometryAttribute=object.instanceMatrix;if(name==="instanceColor"&amp;&amp;object.instanceColor)geometryAttribute=object.instanceColor}if(cachedAttribute===undefined)return true;if(cachedAttribute.attribute!==geometryAttribute)return true;if(geometryAttribute&amp;&amp;cachedAttribute.data!==geometryAttribute.data)return true;attributesNum++}}if(currentState.attributesNum!==attributesNum)return true;if(currentState.index!==index)return true;return false}function saveCache(object,geometry,program,index){const cache={};const attributes=geometry.attributes;let attributesNum=0;const programAttributes=program.getAttributes();for(const name in programAttributes){const programAttribute=programAttributes[name];if(programAttribute.location&gt;=0){let attribute=attributes[name];if(attribute===undefined){if(name==="instanceMatrix"&amp;&amp;object.instanceMatrix)attribute=object.instanceMatrix;if(name==="instanceColor"&amp;&amp;object.instanceColor)attribute=object.instanceColor}const data={};data.attribute=attribute;if(attribute&amp;&amp;attribute.data){data.data=attribute.data}cache[name]=data;attributesNum++}}currentState.attributes=cache;currentState.attributesNum=attributesNum;currentState.index=index}function initAttributes(){const newAttributes=currentState.newAttributes;for(let i=0,il=newAttributes.length;i&lt;il;i++){newAttributes[i]=0}}function enableAttribute(attribute){enableAttributeAndDivisor(attribute,0)}function enableAttributeAndDivisor(attribute,meshPerAttribute){const newAttributes=currentState.newAttributes;const enabledAttributes=currentState.enabledAttributes;const attributeDivisors=currentState.attributeDivisors;newAttributes[attribute]=1;if(enabledAttributes[attribute]===0){gl.enableVertexAttribArray(attribute);enabledAttributes[attribute]=1}if(attributeDivisors[attribute]!==meshPerAttribute){gl.vertexAttribDivisor(attribute,meshPerAttribute);attributeDivisors[attribute]=meshPerAttribute}}function disableUnusedAttributes(){const newAttributes=currentState.newAttributes;const enabledAttributes=currentState.enabledAttributes;for(let i=0,il=enabledAttributes.length;i&lt;il;i++){if(enabledAttributes[i]!==newAttributes[i]){gl.disableVertexAttribArray(i);enabledAttributes[i]=0}}}function vertexAttribPointer(index,size,type,normalized,stride,offset,integer){if(integer===true){gl.vertexAttribIPointer(index,size,type,stride,offset)}else{gl.vertexAttribPointer(index,size,type,normalized,stride,offset)}}function setupVertexAttributes(object,material,program,geometry){initAttributes();const geometryAttributes=geometry.attributes;const programAttributes=program.getAttributes();const materialDefaultAttributeValues=material.defaultAttributeValues;for(const name in programAttributes){const programAttribute=programAttributes[name];if(programAttribute.location&gt;=0){let geometryAttribute=geometryAttributes[name];if(geometryAttribute===undefined){if(name==="instanceMatrix"&amp;&amp;object.instanceMatrix)geometryAttribute=object.instanceMatrix;if(name==="instanceColor"&amp;&amp;object.instanceColor)geometryAttribute=object.instanceColor}if(geometryAttribute!==undefined){const normalized=geometryAttribute.normalized;const size=geometryAttribute.itemSize;const attribute=attributes.get(geometryAttribute);if(attribute===undefined)continue;const buffer=attribute.buffer;const type=attribute.type;const bytesPerElement=attribute.bytesPerElement;const integer=type===gl.INT||type===gl.UNSIGNED_INT||geometryAttribute.gpuType===IntType;if(geometryAttribute.isInterleavedBufferAttribute){const data=geometryAttribute.data;const stride=data.stride;const offset=geometryAttribute.offset;if(data.isInstancedInterleavedBuffer){for(let i=0;i&lt;programAttribute.locationSize;i++){enableAttributeAndDivisor(programAttribute.location+i,data.meshPerAttribute)}if(object.isInstancedMesh!==true&amp;&amp;geometry._maxInstanceCount===undefined){geometry._maxInstanceCount=data.meshPerAttribute*data.count}}else{for(let i=0;i&lt;programAttribute.locationSize;i++){enableAttribute(programAttribute.location+i)}}gl.bindBuffer(gl.ARRAY_BUFFER,buffer);for(let i=0;i&lt;programAttribute.locationSize;i++){vertexAttribPointer(programAttribute.location+i,size/programAttribute.locationSize,type,normalized,stride*bytesPerElement,(offset+size/programAttribute.locationSize*i)*bytesPerElement,integer)}}else{if(geometryAttribute.isInstancedBufferAttribute){for(let i=0;i&lt;programAttribute.locationSize;i++){enableAttributeAndDivisor(programAttribute.location+i,geometryAttribute.meshPerAttribute)}if(object.isInstancedMesh!==true&amp;&amp;geometry._maxInstanceCount===undefined){geometry._maxInstanceCount=geometryAttribute.meshPerAttribute*geometryAttribute.count}}else{for(let i=0;i&lt;programAttribute.locationSize;i++){enableAttribute(programAttribute.location+i)}}gl.bindBuffer(gl.ARRAY_BUFFER,buffer);for(let i=0;i&lt;programAttribute.locationSize;i++){vertexAttribPointer(programAttribute.location+i,size/programAttribute.locationSize,type,normalized,size*bytesPerElement,size/programAttribute.locationSize*i*bytesPerElement,integer)}}}else if(materialDefaultAttributeValues!==undefined){const value=materialDefaultAttributeValues[name];if(value!==undefined){switch(value.length){case 2:gl.vertexAttrib2fv(programAttribute.location,value);break;case 3:gl.vertexAttrib3fv(programAttribute.location,value);break;case 4:gl.vertexAttrib4fv(programAttribute.location,value);break;default:gl.vertexAttrib1fv(programAttribute.location,value);}}}}}disableUnusedAttributes()}function dispose(){reset();for(const geometryId in bindingStates){const programMap=bindingStates[geometryId];for(const programId in programMap){const stateMap=programMap[programId];for(const wireframe in stateMap){deleteVertexArrayObject(stateMap[wireframe].object);delete stateMap[wireframe]}delete programMap[programId]}delete bindingStates[geometryId]}}function releaseStatesOfGeometry(geometry){if(bindingStates[geometry.id]===undefined)return;const programMap=bindingStates[geometry.id];for(const programId in programMap){const stateMap=programMap[programId];for(const wireframe in stateMap){deleteVertexArrayObject(stateMap[wireframe].object);delete stateMap[wireframe]}delete programMap[programId]}delete bindingStates[geometry.id]}function releaseStatesOfProgram(program){for(const geometryId in bindingStates){const programMap=bindingStates[geometryId];if(programMap[program.id]===undefined)continue;const stateMap=programMap[program.id];for(const wireframe in stateMap){deleteVertexArrayObject(stateMap[wireframe].object);delete stateMap[wireframe]}delete programMap[program.id]}}function reset(){resetDefaultState();forceUpdate=true;if(currentState===defaultState)return;currentState=defaultState;bindVertexArrayObject(currentState.object)}function resetDefaultState(){defaultState.geometry=null;defaultState.program=null;defaultState.wireframe=false}return{setup:setup,reset:reset,resetDefaultState:resetDefaultState,dispose:dispose,releaseStatesOfGeometry:releaseStatesOfGeometry,releaseStatesOfProgram:releaseStatesOfProgram,initAttributes:initAttributes,enableAttribute:enableAttribute,disableUnusedAttributes:disableUnusedAttributes}}function WebGLBufferRenderer(gl,extensions,info){let mode;function setMode(value){mode=value}function render(start,count){gl.drawArrays(mode,start,count);info.update(count,mode,1)}function renderInstances(start,count,primcount){if(primcount===0)return;gl.drawArraysInstanced(mode,start,count,primcount);info.update(count,mode,primcount)}function renderMultiDraw(starts,counts,drawCount){if(drawCount===0)return;const extension=extensions.get("WEBGL_multi_draw");if(extension===null){for(let i=0;i&lt;drawCount;i++){this.render(starts[i],counts[i])}}else{extension.multiDrawArraysWEBGL(mode,starts,0,counts,0,drawCount);let elementCount=0;for(let i=0;i&lt;drawCount;i++){elementCount+=counts[i]}info.update(elementCount,mode,1)}}this.setMode=setMode;this.render=render;this.renderInstances=renderInstances;this.renderMultiDraw=renderMultiDraw}function WebGLCapabilities(gl,extensions,parameters){let maxAnisotropy;function getMaxAnisotropy(){if(maxAnisotropy!==undefined)return maxAnisotropy;if(extensions.has("EXT_texture_filter_anisotropic")===true){const extension=extensions.get("EXT_texture_filter_anisotropic");maxAnisotropy=gl.getParameter(extension.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else{maxAnisotropy=0}return maxAnisotropy}function getMaxPrecision(precision){if(precision==="highp"){if(gl.getShaderPrecisionFormat(gl.VERTEX_SHADER,gl.HIGH_FLOAT).precision&gt;0&amp;&amp;gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER,gl.HIGH_FLOAT).precision&gt;0){return"highp"}precision="mediump"}if(precision==="mediump"){if(gl.getShaderPrecisionFormat(gl.VERTEX_SHADER,gl.MEDIUM_FLOAT).precision&gt;0&amp;&amp;gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER,gl.MEDIUM_FLOAT).precision&gt;0){return"mediump"}}return"lowp"}let precision=parameters.precision!==undefined?parameters.precision:"highp";const maxPrecision=getMaxPrecision(precision);if(maxPrecision!==precision){console.warn("THREE.WebGLRenderer:",precision,"not supported, using",maxPrecision,"instead.");precision=maxPrecision}const logarithmicDepthBuffer=parameters.logarithmicDepthBuffer===true;const maxTextures=gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);const maxVertexTextures=gl.getParameter(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);const maxTextureSize=gl.getParameter(gl.MAX_TEXTURE_SIZE);const maxCubemapSize=gl.getParameter(gl.MAX_CUBE_MAP_TEXTURE_SIZE);const maxAttributes=gl.getParameter(gl.MAX_VERTEX_ATTRIBS);const maxVertexUniforms=gl.getParameter(gl.MAX_VERTEX_UNIFORM_VECTORS);const maxVaryings=gl.getParameter(gl.MAX_VARYING_VECTORS);const maxFragmentUniforms=gl.getParameter(gl.MAX_FRAGMENT_UNIFORM_VECTORS);const vertexTextures=maxVertexTextures&gt;0;const maxSamples=gl.getParameter(gl.MAX_SAMPLES);return{isWebGL2:true,getMaxAnisotropy:getMaxAnisotropy,getMaxPrecision:getMaxPrecision,precision:precision,logarithmicDepthBuffer:logarithmicDepthBuffer,maxTextures:maxTextures,maxVertexTextures:maxVertexTextures,maxTextureSize:maxTextureSize,maxCubemapSize:maxCubemapSize,maxAttributes:maxAttributes,maxVertexUniforms:maxVertexUniforms,maxVaryings:maxVaryings,maxFragmentUniforms:maxFragmentUniforms,vertexTextures:vertexTextures,maxSamples:maxSamples}}function WebGLClipping(properties){const scope=this;let globalState=null,numGlobalPlanes=0,localClippingEnabled=false,renderingShadows=false;const plane=new Plane,viewNormalMatrix=new Matrix3,uniform={value:null,needsUpdate:false};this.uniform=uniform;this.numPlanes=0;this.numIntersection=0;this.init=function(planes,enableLocalClipping){const enabled=planes.length!==0||enableLocalClipping||numGlobalPlanes!==0||localClippingEnabled;localClippingEnabled=enableLocalClipping;numGlobalPlanes=planes.length;return enabled};this.beginShadows=function(){renderingShadows=true;projectPlanes(null)};this.endShadows=function(){renderingShadows=false};this.setGlobalState=function(planes,camera){globalState=projectPlanes(planes,camera,0)};this.setState=function(material,camera,useCache){const planes=material.clippingPlanes,clipIntersection=material.clipIntersection,clipShadows=material.clipShadows;const materialProperties=properties.get(material);if(!localClippingEnabled||planes===null||planes.length===0||renderingShadows&amp;&amp;!clipShadows){if(renderingShadows){projectPlanes(null)}else{resetGlobalState()}}else{const nGlobal=renderingShadows?0:numGlobalPlanes,lGlobal=nGlobal*4;let dstArray=materialProperties.clippingState||null;uniform.value=dstArray;dstArray=projectPlanes(planes,camera,lGlobal,useCache);for(let i=0;i!==lGlobal;++i){dstArray[i]=globalState[i]}materialProperties.clippingState=dstArray;this.numIntersection=clipIntersection?this.numPlanes:0;this.numPlanes+=nGlobal}};function resetGlobalState(){if(uniform.value!==globalState){uniform.value=globalState;uniform.needsUpdate=numGlobalPlanes&gt;0}scope.numPlanes=numGlobalPlanes;scope.numIntersection=0}function projectPlanes(planes,camera,dstOffset,skipTransform){const nPlanes=planes!==null?planes.length:0;let dstArray=null;if(nPlanes!==0){dstArray=uniform.value;if(skipTransform!==true||dstArray===null){const flatSize=dstOffset+nPlanes*4,viewMatrix=camera.matrixWorldInverse;viewNormalMatrix.getNormalMatrix(viewMatrix);if(dstArray===null||dstArray.length&lt;flatSize){dstArray=new Float32Array(flatSize)}for(let i=0,i4=dstOffset;i!==nPlanes;++i,i4+=4){plane.copy(planes[i]).applyMatrix4(viewMatrix,viewNormalMatrix);plane.normal.toArray(dstArray,i4);dstArray[i4+3]=plane.constant}}uniform.value=dstArray;uniform.needsUpdate=true}scope.numPlanes=nPlanes;scope.numIntersection=0;return dstArray}}function WebGLCubeMaps(renderer){let cubemaps=new WeakMap;function mapTextureMapping(texture,mapping){if(mapping===EquirectangularReflectionMapping){texture.mapping=CubeReflectionMapping}else if(mapping===EquirectangularRefractionMapping){texture.mapping=CubeRefractionMapping}return texture}function get(texture){if(texture&amp;&amp;texture.isTexture){const mapping=texture.mapping;if(mapping===EquirectangularReflectionMapping||mapping===EquirectangularRefractionMapping){if(cubemaps.has(texture)){const cubemap=cubemaps.get(texture).texture;return mapTextureMapping(cubemap,texture.mapping)}else{const image=texture.image;if(image&amp;&amp;image.height&gt;0){const renderTarget=new WebGLCubeRenderTarget(image.height);renderTarget.fromEquirectangularTexture(renderer,texture);cubemaps.set(texture,renderTarget);texture.addEventListener("dispose",onTextureDispose);return mapTextureMapping(renderTarget.texture,texture.mapping)}else{return null}}}}return texture}function onTextureDispose(event){const texture=event.target;texture.removeEventListener("dispose",onTextureDispose);const cubemap=cubemaps.get(texture);if(cubemap!==undefined){cubemaps.delete(texture);cubemap.dispose()}}function dispose(){cubemaps=new WeakMap}return{get:get,dispose:dispose}}class OrthographicCamera extends Camera{constructor(left=-1,right=1,top=1,bottom=-1,near=0.1,far=2000){super();this.isOrthographicCamera=true;this.type="OrthographicCamera";this.zoom=1;this.view=null;this.left=left;this.right=right;this.top=top;this.bottom=bottom;this.near=near;this.far=far;this.updateProjectionMatrix()}copy(source,recursive){super.copy(source,recursive);this.left=source.left;this.right=source.right;this.top=source.top;this.bottom=source.bottom;this.near=source.near;this.far=source.far;this.zoom=source.zoom;this.view=source.view===null?null:Object.assign({},source.view);return this}setViewOffset(fullWidth,fullHeight,x,y,width,height){if(this.view===null){this.view={enabled:true,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}}this.view.enabled=true;this.view.fullWidth=fullWidth;this.view.fullHeight=fullHeight;this.view.offsetX=x;this.view.offsetY=y;this.view.width=width;this.view.height=height;this.updateProjectionMatrix()}clearViewOffset(){if(this.view!==null){this.view.enabled=false}this.updateProjectionMatrix()}updateProjectionMatrix(){const dx=(this.right-this.left)/(2*this.zoom);const dy=(this.top-this.bottom)/(2*this.zoom);const cx=(this.right+this.left)/2;const cy=(this.top+this.bottom)/2;let left=cx-dx;let right=cx+dx;let top=cy+dy;let bottom=cy-dy;if(this.view!==null&amp;&amp;this.view.enabled){const scaleW=(this.right-this.left)/this.view.fullWidth/this.zoom;const scaleH=(this.top-this.bottom)/this.view.fullHeight/this.zoom;left+=scaleW*this.view.offsetX;right=left+scaleW*this.view.width;top-=scaleH*this.view.offsetY;bottom=top-scaleH*this.view.height}this.projectionMatrix.makeOrthographic(left,right,top,bottom,this.near,this.far,this.coordinateSystem);this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(meta){const data=super.toJSON(meta);data.object.zoom=this.zoom;data.object.left=this.left;data.object.right=this.right;data.object.top=this.top;data.object.bottom=this.bottom;data.object.near=this.near;data.object.far=this.far;if(this.view!==null)data.object.view=Object.assign({},this.view);return data}}const LOD_MIN=4;const EXTRA_LOD_SIGMA=[0.125,0.215,0.35,0.446,0.526,0.582];const MAX_SAMPLES=20;const _flatCamera=new OrthographicCamera;const _clearColor=new Color;let _oldTarget=null;let _oldActiveCubeFace=0;let _oldActiveMipmapLevel=0;let _oldXrEnabled=false;const PHI=(1+Math.sqrt(5))/2;const INV_PHI=1/PHI;const _axisDirections=[new Vector3(1,1,1),new Vector3(-1,1,1),new Vector3(1,1,-1),new Vector3(-1,1,-1),new Vector3(0,PHI,INV_PHI),new Vector3(0,PHI,-INV_PHI),new Vector3(INV_PHI,0,PHI),new Vector3(-INV_PHI,0,PHI),new Vector3(PHI,INV_PHI,0),new Vector3(-PHI,INV_PHI,0)];class PMREMGenerator{constructor(renderer){this._renderer=renderer;this._pingPongRenderTarget=null;this._lodMax=0;this._cubeSize=0;this._lodPlanes=[];this._sizeLods=[];this._sigmas=[];this._blurMaterial=null;this._cubemapMaterial=null;this._equirectMaterial=null;this._compileMaterial(this._blurMaterial)}fromScene(scene,sigma=0,near=0.1,far=100){_oldTarget=this._renderer.getRenderTarget();_oldActiveCubeFace=this._renderer.getActiveCubeFace();_oldActiveMipmapLevel=this._renderer.getActiveMipmapLevel();_oldXrEnabled=this._renderer.xr.enabled;this._renderer.xr.enabled=false;this._setSize(256);const cubeUVRenderTarget=this._allocateTargets();cubeUVRenderTarget.depthBuffer=true;this._sceneToCubeUV(scene,near,far,cubeUVRenderTarget);if(sigma&gt;0){this._blur(cubeUVRenderTarget,0,0,sigma)}this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}fromEquirectangular(equirectangular,renderTarget=null){return this._fromTexture(equirectangular,renderTarget)}fromCubemap(cubemap,renderTarget=null){return this._fromTexture(cubemap,renderTarget)}compileCubemapShader(){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial();this._compileMaterial(this._cubemapMaterial)}}compileEquirectangularShader(){if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial();this._compileMaterial(this._equirectMaterial)}}dispose(){this._dispose();if(this._cubemapMaterial!==null)this._cubemapMaterial.dispose();if(this._equirectMaterial!==null)this._equirectMaterial.dispose()}_setSize(cubeSize){this._lodMax=Math.floor(Math.log2(cubeSize));this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){if(this._blurMaterial!==null)this._blurMaterial.dispose();if(this._pingPongRenderTarget!==null)this._pingPongRenderTarget.dispose();for(let i=0;i&lt;this._lodPlanes.length;i++){this._lodPlanes[i].dispose()}}_cleanup(outputTarget){this._renderer.setRenderTarget(_oldTarget,_oldActiveCubeFace,_oldActiveMipmapLevel);this._renderer.xr.enabled=_oldXrEnabled;outputTarget.scissorTest=false;_setViewport(outputTarget,0,0,outputTarget.width,outputTarget.height)}_fromTexture(texture,renderTarget){if(texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping){this._setSize(texture.image.length===0?16:texture.image[0].width||texture.image[0].image.width)}else{this._setSize(texture.image.width/4)}_oldTarget=this._renderer.getRenderTarget();_oldActiveCubeFace=this._renderer.getActiveCubeFace();_oldActiveMipmapLevel=this._renderer.getActiveMipmapLevel();_oldXrEnabled=this._renderer.xr.enabled;this._renderer.xr.enabled=false;const cubeUVRenderTarget=renderTarget||this._allocateTargets();this._textureToCubeUV(texture,cubeUVRenderTarget);this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}_allocateTargets(){const width=3*Math.max(this._cubeSize,16*7);const height=4*this._cubeSize;const params={magFilter:LinearFilter,minFilter:LinearFilter,generateMipmaps:false,type:HalfFloatType,format:RGBAFormat,colorSpace:LinearSRGBColorSpace,depthBuffer:false};const cubeUVRenderTarget=_createRenderTarget(width,height,params);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==width||this._pingPongRenderTarget.height!==height){if(this._pingPongRenderTarget!==null){this._dispose()}this._pingPongRenderTarget=_createRenderTarget(width,height,params);const{_lodMax}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=_createPlanes(_lodMax));this._blurMaterial=_getBlurShader(_lodMax,width,height)}return cubeUVRenderTarget}_compileMaterial(material){const tmpMesh=new Mesh(this._lodPlanes[0],material);this._renderer.compile(tmpMesh,_flatCamera)}_sceneToCubeUV(scene,near,far,cubeUVRenderTarget){const fov=90;const aspect=1;const cubeCamera=new PerspectiveCamera(fov,aspect,near,far);const upSign=[1,-1,1,1,1,1];const forwardSign=[1,1,1,-1,-1,-1];const renderer=this._renderer;const originalAutoClear=renderer.autoClear;const toneMapping=renderer.toneMapping;renderer.getClearColor(_clearColor);renderer.toneMapping=NoToneMapping;renderer.autoClear=false;const backgroundMaterial=new MeshBasicMaterial({name:"PMREM.Background",side:BackSide,depthWrite:false,depthTest:false});const backgroundBox=new Mesh(new BoxGeometry(),backgroundMaterial);let useSolidColor=false;const background=scene.background;if(background){if(background.isColor){backgroundMaterial.color.copy(background);scene.background=null;useSolidColor=true}}else{backgroundMaterial.color.copy(_clearColor);useSolidColor=true}for(let i=0;i&lt;6;i++){const col=i%3;if(col===0){cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(forwardSign[i],0,0)}else if(col===1){cubeCamera.up.set(0,0,upSign[i]);cubeCamera.lookAt(0,forwardSign[i],0)}else{cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(0,0,forwardSign[i])}const size=this._cubeSize;_setViewport(cubeUVRenderTarget,col*size,i&gt;2?size:0,size,size);renderer.setRenderTarget(cubeUVRenderTarget);if(useSolidColor){renderer.render(backgroundBox,cubeCamera)}renderer.render(scene,cubeCamera)}backgroundBox.geometry.dispose();backgroundBox.material.dispose();renderer.toneMapping=toneMapping;renderer.autoClear=originalAutoClear;scene.background=background}_textureToCubeUV(texture,cubeUVRenderTarget){const renderer=this._renderer;const isCubeTexture=texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping;if(isCubeTexture){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial()}this._cubemapMaterial.uniforms.flipEnvMap.value=texture.isRenderTargetTexture===false?-1:1}else{if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial()}}const material=isCubeTexture?this._cubemapMaterial:this._equirectMaterial;const mesh=new Mesh(this._lodPlanes[0],material);const uniforms=material.uniforms;uniforms["envMap"].value=texture;const size=this._cubeSize;_setViewport(cubeUVRenderTarget,0,0,3*size,2*size);renderer.setRenderTarget(cubeUVRenderTarget);renderer.render(mesh,_flatCamera)}_applyPMREM(cubeUVRenderTarget){const renderer=this._renderer;const autoClear=renderer.autoClear;renderer.autoClear=false;for(let i=1;i&lt;this._lodPlanes.length;i++){const sigma=Math.sqrt(this._sigmas[i]*this._sigmas[i]-this._sigmas[i-1]*this._sigmas[i-1]);const poleAxis=_axisDirections[(i-1)%_axisDirections.length];this._blur(cubeUVRenderTarget,i-1,i,sigma,poleAxis)}renderer.autoClear=autoClear}_blur(cubeUVRenderTarget,lodIn,lodOut,sigma,poleAxis){const pingPongRenderTarget=this._pingPongRenderTarget;this._halfBlur(cubeUVRenderTarget,pingPongRenderTarget,lodIn,lodOut,sigma,"latitudinal",poleAxis);this._halfBlur(pingPongRenderTarget,cubeUVRenderTarget,lodOut,lodOut,sigma,"longitudinal",poleAxis)}_halfBlur(targetIn,targetOut,lodIn,lodOut,sigmaRadians,direction,poleAxis){const renderer=this._renderer;const blurMaterial=this._blurMaterial;if(direction!=="latitudinal"&amp;&amp;direction!=="longitudinal"){console.error("blur direction must be either latitudinal or longitudinal!")}const STANDARD_DEVIATIONS=3;const blurMesh=new Mesh(this._lodPlanes[lodOut],blurMaterial);const blurUniforms=blurMaterial.uniforms;const pixels=this._sizeLods[lodIn]-1;const radiansPerPixel=isFinite(sigmaRadians)?Math.PI/(2*pixels):2*Math.PI/(2*MAX_SAMPLES-1);const sigmaPixels=sigmaRadians/radiansPerPixel;const samples=isFinite(sigmaRadians)?1+Math.floor(STANDARD_DEVIATIONS*sigmaPixels):MAX_SAMPLES;if(samples&gt;MAX_SAMPLES){console.warn(`sigmaRadians, ${sigmaRadians}, is too large and will clip, as it requested ${samples} samples when the maximum is set to ${MAX_SAMPLES}`)}const weights=[];let sum=0;for(let i=0;i&lt;MAX_SAMPLES;++i){const x=i/sigmaPixels;const weight=Math.exp(-x*x/2);weights.push(weight);if(i===0){sum+=weight}else if(i&lt;samples){sum+=2*weight}}for(let i=0;i&lt;weights.length;i++){weights[i]=weights[i]/sum}blurUniforms["envMap"].value=targetIn.texture;blurUniforms["samples"].value=samples;blurUniforms["weights"].value=weights;blurUniforms["latitudinal"].value=direction==="latitudinal";if(poleAxis){blurUniforms["poleAxis"].value=poleAxis}const{_lodMax}=this;blurUniforms["dTheta"].value=radiansPerPixel;blurUniforms["mipInt"].value=_lodMax-lodIn;const outputSize=this._sizeLods[lodOut];const x=3*outputSize*(lodOut&gt;_lodMax-LOD_MIN?lodOut-_lodMax+LOD_MIN:0);const y=4*(this._cubeSize-outputSize);_setViewport(targetOut,x,y,3*outputSize,2*outputSize);renderer.setRenderTarget(targetOut);renderer.render(blurMesh,_flatCamera)}}function _createPlanes(lodMax){const lodPlanes=[];const sizeLods=[];const sigmas=[];let lod=lodMax;const totalLods=lodMax-LOD_MIN+1+EXTRA_LOD_SIGMA.length;for(let i=0;i&lt;totalLods;i++){const sizeLod=Math.pow(2,lod);sizeLods.push(sizeLod);let sigma=1/sizeLod;if(i&gt;lodMax-LOD_MIN){sigma=EXTRA_LOD_SIGMA[i-lodMax+LOD_MIN-1]}else if(i===0){sigma=0}sigmas.push(sigma);const texelSize=1/(sizeLod-2);const min=-texelSize;const max=1+texelSize;const uv1=[min,min,max,min,max,max,min,min,max,max,min,max];const cubeFaces=6;const vertices=6;const positionSize=3;const uvSize=2;const faceIndexSize=1;const position=new Float32Array(positionSize*vertices*cubeFaces);const uv=new Float32Array(uvSize*vertices*cubeFaces);const faceIndex=new Float32Array(faceIndexSize*vertices*cubeFaces);for(let face=0;face&lt;cubeFaces;face++){const x=face%3*2/3-1;const y=face&gt;2?0:-1;const coordinates=[x,y,0,x+2/3,y,0,x+2/3,y+1,0,x,y,0,x+2/3,y+1,0,x,y+1,0];position.set(coordinates,positionSize*vertices*face);uv.set(uv1,uvSize*vertices*face);const fill=[face,face,face,face,face,face];faceIndex.set(fill,faceIndexSize*vertices*face)}const planes=new BufferGeometry;planes.setAttribute("position",new BufferAttribute(position,positionSize));planes.setAttribute("uv",new BufferAttribute(uv,uvSize));planes.setAttribute("faceIndex",new BufferAttribute(faceIndex,faceIndexSize));lodPlanes.push(planes);if(lod&gt;LOD_MIN){lod--}}return{lodPlanes,sizeLods,sigmas}}function _createRenderTarget(width,height,params){const cubeUVRenderTarget=new WebGLRenderTarget(width,height,params);cubeUVRenderTarget.texture.mapping=CubeUVReflectionMapping;cubeUVRenderTarget.texture.name="PMREM.cubeUv";cubeUVRenderTarget.scissorTest=true;return cubeUVRenderTarget}function _setViewport(target,x,y,width,height){target.viewport.set(x,y,width,height);target.scissor.set(x,y,width,height)}function _getBlurShader(lodMax,width,height){const weights=new Float32Array(MAX_SAMPLES);const poleAxis=new Vector3(0,1,0);const shaderMaterial=new ShaderMaterial({name:"SphericalGaussianBlur",defines:{"n":MAX_SAMPLES,"CUBEUV_TEXEL_WIDTH":1/width,"CUBEUV_TEXEL_HEIGHT":1/height,"CUBEUV_MAX_MIP":`${lodMax}.0`},uniforms:{"envMap":{value:null},"samples":{value:1},"weights":{value:weights},"latitudinal":{value:false},"dTheta":{value:0},"mipInt":{value:0},"poleAxis":{value:poleAxis}},vertexShader:_getCommonVertexShader(),fragmentShader:`

			precision mediump float;
			precision mediump int;

			varying vec3 vOutputDirection;

			uniform sampler2D envMap;
			uniform int samples;
			uniform float weights[ n ];
			uniform bool latitudinal;
			uniform float dTheta;
			uniform float mipInt;
			uniform vec3 poleAxis;

			#define ENVMAP_TYPE_CUBE_UV
			#include &lt;cube_uv_reflection_fragment&gt;

			vec3 getSample( float theta, vec3 axis ) {

				float cosTheta = cos( theta );
				// Rodrigues' axis-angle rotation
				vec3 sampleDirection = vOutputDirection * cosTheta
					+ cross( axis, vOutputDirection ) * sin( theta )
					+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );

				return bilinearCubeUV( envMap, sampleDirection, mipInt );

			}

			void main() {

				vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );

				if ( all( equal( axis, vec3( 0.0 ) ) ) ) {

					axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );

				}

				axis = normalize( axis );

				gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
				gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );

				for ( int i = 1; i &lt; n; i++ ) {

					if ( i &gt;= samples ) {

						break;

					}

					float theta = dTheta * float( i );
					gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );
					gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );

				}

			}
		`,blending:NoBlending,depthTest:false,depthWrite:false});return shaderMaterial}function _getEquirectMaterial(){return new ShaderMaterial({name:"EquirectangularToCubeUV",uniforms:{"envMap":{value:null}},vertexShader:_getCommonVertexShader(),fragmentShader:`

			precision mediump float;
			precision mediump int;

			varying vec3 vOutputDirection;

			uniform sampler2D envMap;

			#include &lt;common&gt;

			void main() {

				vec3 outputDirection = normalize( vOutputDirection );
				vec2 uv = equirectUv( outputDirection );

				gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );

			}
		`,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCubemapMaterial(){return new ShaderMaterial({name:"CubemapToCubeUV",uniforms:{"envMap":{value:null},"flipEnvMap":{value:-1}},vertexShader:_getCommonVertexShader(),fragmentShader:`

			precision mediump float;
			precision mediump int;

			uniform float flipEnvMap;

			varying vec3 vOutputDirection;

			uniform samplerCube envMap;

			void main() {

				gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );

			}
		`,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCommonVertexShader(){return`

		precision mediump float;
		precision mediump int;

		attribute float faceIndex;

		varying vec3 vOutputDirection;

		// RH coordinate system; PMREM face-indexing convention
		vec3 getDirection( vec2 uv, float face ) {

			uv = 2.0 * uv - 1.0;

			vec3 direction = vec3( uv, 1.0 );

			if ( face == 0.0 ) {

				direction = direction.zyx; // ( 1, v, u ) pos x

			} else if ( face == 1.0 ) {

				direction = direction.xzy;
				direction.xz *= -1.0; // ( -u, 1, -v ) pos y

			} else if ( face == 2.0 ) {

				direction.x *= -1.0; // ( -u, v, 1 ) pos z

			} else if ( face == 3.0 ) {

				direction = direction.zyx;
				direction.xz *= -1.0; // ( -1, v, -u ) neg x

			} else if ( face == 4.0 ) {

				direction = direction.xzy;
				direction.xy *= -1.0; // ( -u, -1, v ) neg y

			} else if ( face == 5.0 ) {

				direction.z *= -1.0; // ( u, v, -1 ) neg z

			}

			return direction;

		}

		void main() {

			vOutputDirection = getDirection( uv, faceIndex );
			gl_Position = vec4( position, 1.0 );

		}
	`}function WebGLCubeUVMaps(renderer){let cubeUVmaps=new WeakMap;let pmremGenerator=null;function get(texture){if(texture&amp;&amp;texture.isTexture){const mapping=texture.mapping;const isEquirectMap=mapping===EquirectangularReflectionMapping||mapping===EquirectangularRefractionMapping;const isCubeMap=mapping===CubeReflectionMapping||mapping===CubeRefractionMapping;if(isEquirectMap||isCubeMap){let renderTarget=cubeUVmaps.get(texture);const currentPMREMVersion=renderTarget!==undefined?renderTarget.texture.pmremVersion:0;if(texture.isRenderTargetTexture&amp;&amp;texture.pmremVersion!==currentPMREMVersion){if(pmremGenerator===null)pmremGenerator=new PMREMGenerator(renderer);renderTarget=isEquirectMap?pmremGenerator.fromEquirectangular(texture,renderTarget):pmremGenerator.fromCubemap(texture,renderTarget);renderTarget.texture.pmremVersion=texture.pmremVersion;cubeUVmaps.set(texture,renderTarget);return renderTarget.texture}else{if(renderTarget!==undefined){return renderTarget.texture}else{const image=texture.image;if(isEquirectMap&amp;&amp;image&amp;&amp;image.height&gt;0||isCubeMap&amp;&amp;image&amp;&amp;isCubeTextureComplete(image)){if(pmremGenerator===null)pmremGenerator=new PMREMGenerator(renderer);renderTarget=isEquirectMap?pmremGenerator.fromEquirectangular(texture):pmremGenerator.fromCubemap(texture);renderTarget.texture.pmremVersion=texture.pmremVersion;cubeUVmaps.set(texture,renderTarget);texture.addEventListener("dispose",onTextureDispose);return renderTarget.texture}else{return null}}}}}return texture}function isCubeTextureComplete(image){let count=0;const length=6;for(let i=0;i&lt;length;i++){if(image[i]!==undefined)count++}return count===length}function onTextureDispose(event){const texture=event.target;texture.removeEventListener("dispose",onTextureDispose);const cubemapUV=cubeUVmaps.get(texture);if(cubemapUV!==undefined){cubeUVmaps.delete(texture);cubemapUV.dispose()}}function dispose(){cubeUVmaps=new WeakMap;if(pmremGenerator!==null){pmremGenerator.dispose();pmremGenerator=null}}return{get:get,dispose:dispose}}function WebGLExtensions(gl){const extensions={};function getExtension(name){if(extensions[name]!==undefined){return extensions[name]}let extension;switch(name){case"WEBGL_depth_texture":extension=gl.getExtension("WEBGL_depth_texture")||gl.getExtension("MOZ_WEBGL_depth_texture")||gl.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":extension=gl.getExtension("EXT_texture_filter_anisotropic")||gl.getExtension("MOZ_EXT_texture_filter_anisotropic")||gl.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":extension=gl.getExtension("WEBGL_compressed_texture_s3tc")||gl.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||gl.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":extension=gl.getExtension("WEBGL_compressed_texture_pvrtc")||gl.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:extension=gl.getExtension(name);}extensions[name]=extension;return extension}return{has:function(name){return getExtension(name)!==null},init:function(){getExtension("EXT_color_buffer_float");getExtension("WEBGL_clip_cull_distance");getExtension("OES_texture_float_linear");getExtension("EXT_color_buffer_half_float");getExtension("WEBGL_multisampled_render_to_texture");getExtension("WEBGL_render_shared_exponent")},get:function(name){const extension=getExtension(name);if(extension===null){console.warn("THREE.WebGLRenderer: "+name+" extension not supported.")}return extension}}}function WebGLGeometries(gl,attributes,info,bindingStates){const geometries={};const wireframeAttributes=new WeakMap;function onGeometryDispose(event){const geometry=event.target;if(geometry.index!==null){attributes.remove(geometry.index)}for(const name in geometry.attributes){attributes.remove(geometry.attributes[name])}for(const name in geometry.morphAttributes){const array=geometry.morphAttributes[name];for(let i=0,l=array.length;i&lt;l;i++){attributes.remove(array[i])}}geometry.removeEventListener("dispose",onGeometryDispose);delete geometries[geometry.id];const attribute=wireframeAttributes.get(geometry);if(attribute){attributes.remove(attribute);wireframeAttributes.delete(geometry)}bindingStates.releaseStatesOfGeometry(geometry);if(geometry.isInstancedBufferGeometry===true){delete geometry._maxInstanceCount}info.memory.geometries--}function get(object,geometry){if(geometries[geometry.id]===true)return geometry;geometry.addEventListener("dispose",onGeometryDispose);geometries[geometry.id]=true;info.memory.geometries++;return geometry}function update(geometry){const geometryAttributes=geometry.attributes;for(const name in geometryAttributes){attributes.update(geometryAttributes[name],gl.ARRAY_BUFFER)}const morphAttributes=geometry.morphAttributes;for(const name in morphAttributes){const array=morphAttributes[name];for(let i=0,l=array.length;i&lt;l;i++){attributes.update(array[i],gl.ARRAY_BUFFER)}}}function updateWireframeAttribute(geometry){const indices=[];const geometryIndex=geometry.index;const geometryPosition=geometry.attributes.position;let version=0;if(geometryIndex!==null){const array=geometryIndex.array;version=geometryIndex.version;for(let i=0,l=array.length;i&lt;l;i+=3){const a=array[i+0];const b=array[i+1];const c=array[i+2];indices.push(a,b,b,c,c,a)}}else if(geometryPosition!==undefined){const array=geometryPosition.array;version=geometryPosition.version;for(let i=0,l=array.length/3-1;i&lt;l;i+=3){const a=i+0;const b=i+1;const c=i+2;indices.push(a,b,b,c,c,a)}}else{return}const attribute=new(arrayNeedsUint32(indices)?Uint32BufferAttribute:Uint16BufferAttribute)(indices,1);attribute.version=version;const previousAttribute=wireframeAttributes.get(geometry);if(previousAttribute)attributes.remove(previousAttribute);wireframeAttributes.set(geometry,attribute)}function getWireframeAttribute(geometry){const currentAttribute=wireframeAttributes.get(geometry);if(currentAttribute){const geometryIndex=geometry.index;if(geometryIndex!==null){if(currentAttribute.version&lt;geometryIndex.version){updateWireframeAttribute(geometry)}}}else{updateWireframeAttribute(geometry)}return wireframeAttributes.get(geometry)}return{get:get,update:update,getWireframeAttribute:getWireframeAttribute}}function WebGLIndexedBufferRenderer(gl,extensions,info){let mode;function setMode(value){mode=value}let type,bytesPerElement;function setIndex(value){type=value.type;bytesPerElement=value.bytesPerElement}function render(start,count){gl.drawElements(mode,count,type,start*bytesPerElement);info.update(count,mode,1)}function renderInstances(start,count,primcount){if(primcount===0)return;gl.drawElementsInstanced(mode,count,type,start*bytesPerElement,primcount);info.update(count,mode,primcount)}function renderMultiDraw(starts,counts,drawCount){if(drawCount===0)return;const extension=extensions.get("WEBGL_multi_draw");if(extension===null){for(let i=0;i&lt;drawCount;i++){this.render(starts[i]/bytesPerElement,counts[i])}}else{extension.multiDrawElementsWEBGL(mode,counts,0,type,starts,0,drawCount);let elementCount=0;for(let i=0;i&lt;drawCount;i++){elementCount+=counts[i]}info.update(elementCount,mode,1)}}this.setMode=setMode;this.setIndex=setIndex;this.render=render;this.renderInstances=renderInstances;this.renderMultiDraw=renderMultiDraw}function WebGLInfo(gl){const memory={geometries:0,textures:0};const render={frame:0,calls:0,triangles:0,points:0,lines:0};function update(count,mode,instanceCount){render.calls++;switch(mode){case gl.TRIANGLES:render.triangles+=instanceCount*(count/3);break;case gl.LINES:render.lines+=instanceCount*(count/2);break;case gl.LINE_STRIP:render.lines+=instanceCount*(count-1);break;case gl.LINE_LOOP:render.lines+=instanceCount*count;break;case gl.POINTS:render.points+=instanceCount*count;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",mode);break;}}function reset(){render.calls=0;render.triangles=0;render.points=0;render.lines=0}return{memory:memory,render:render,programs:null,autoReset:true,reset:reset,update:update}}function WebGLMorphtargets(gl,capabilities,textures){const morphTextures=new WeakMap;const morph=new Vector4;function update(object,geometry,program){const objectInfluences=object.morphTargetInfluences;const morphAttribute=geometry.morphAttributes.position||geometry.morphAttributes.normal||geometry.morphAttributes.color;const morphTargetsCount=morphAttribute!==undefined?morphAttribute.length:0;let entry=morphTextures.get(geometry);if(entry===undefined||entry.count!==morphTargetsCount){if(entry!==undefined)entry.texture.dispose();const hasMorphPosition=geometry.morphAttributes.position!==undefined;const hasMorphNormals=geometry.morphAttributes.normal!==undefined;const hasMorphColors=geometry.morphAttributes.color!==undefined;const morphTargets=geometry.morphAttributes.position||[];const morphNormals=geometry.morphAttributes.normal||[];const morphColors=geometry.morphAttributes.color||[];let vertexDataCount=0;if(hasMorphPosition===true)vertexDataCount=1;if(hasMorphNormals===true)vertexDataCount=2;if(hasMorphColors===true)vertexDataCount=3;let width=geometry.attributes.position.count*vertexDataCount;let height=1;if(width&gt;capabilities.maxTextureSize){height=Math.ceil(width/capabilities.maxTextureSize);width=capabilities.maxTextureSize}const buffer=new Float32Array(width*height*4*morphTargetsCount);const texture=new DataArrayTexture(buffer,width,height,morphTargetsCount);texture.type=FloatType;texture.needsUpdate=true;const vertexDataStride=vertexDataCount*4;for(let i=0;i&lt;morphTargetsCount;i++){const morphTarget=morphTargets[i];const morphNormal=morphNormals[i];const morphColor=morphColors[i];const offset=width*height*4*i;for(let j=0;j&lt;morphTarget.count;j++){const stride=j*vertexDataStride;if(hasMorphPosition===true){morph.fromBufferAttribute(morphTarget,j);buffer[offset+stride+0]=morph.x;buffer[offset+stride+1]=morph.y;buffer[offset+stride+2]=morph.z;buffer[offset+stride+3]=0}if(hasMorphNormals===true){morph.fromBufferAttribute(morphNormal,j);buffer[offset+stride+4]=morph.x;buffer[offset+stride+5]=morph.y;buffer[offset+stride+6]=morph.z;buffer[offset+stride+7]=0}if(hasMorphColors===true){morph.fromBufferAttribute(morphColor,j);buffer[offset+stride+8]=morph.x;buffer[offset+stride+9]=morph.y;buffer[offset+stride+10]=morph.z;buffer[offset+stride+11]=morphColor.itemSize===4?morph.w:1}}}entry={count:morphTargetsCount,texture:texture,size:new Vector2(width,height)};morphTextures.set(geometry,entry);function disposeTexture(){texture.dispose();morphTextures.delete(geometry);geometry.removeEventListener("dispose",disposeTexture)}geometry.addEventListener("dispose",disposeTexture)}if(object.isInstancedMesh===true&amp;&amp;object.morphTexture!==null){program.getUniforms().setValue(gl,"morphTexture",object.morphTexture,textures)}else{let morphInfluencesSum=0;for(let i=0;i&lt;objectInfluences.length;i++){morphInfluencesSum+=objectInfluences[i]}const morphBaseInfluence=geometry.morphTargetsRelative?1:1-morphInfluencesSum;program.getUniforms().setValue(gl,"morphTargetBaseInfluence",morphBaseInfluence);program.getUniforms().setValue(gl,"morphTargetInfluences",objectInfluences)}program.getUniforms().setValue(gl,"morphTargetsTexture",entry.texture,textures);program.getUniforms().setValue(gl,"morphTargetsTextureSize",entry.size)}return{update:update}}function WebGLObjects(gl,geometries,attributes,info){let updateMap=new WeakMap;function update(object){const frame=info.render.frame;const geometry=object.geometry;const buffergeometry=geometries.get(object,geometry);if(updateMap.get(buffergeometry)!==frame){geometries.update(buffergeometry);updateMap.set(buffergeometry,frame)}if(object.isInstancedMesh){if(object.hasEventListener("dispose",onInstancedMeshDispose)===false){object.addEventListener("dispose",onInstancedMeshDispose)}if(updateMap.get(object)!==frame){attributes.update(object.instanceMatrix,gl.ARRAY_BUFFER);if(object.instanceColor!==null){attributes.update(object.instanceColor,gl.ARRAY_BUFFER)}updateMap.set(object,frame)}}if(object.isSkinnedMesh){const skeleton=object.skeleton;if(updateMap.get(skeleton)!==frame){skeleton.update();updateMap.set(skeleton,frame)}}return buffergeometry}function dispose(){updateMap=new WeakMap}function onInstancedMeshDispose(event){const instancedMesh=event.target;instancedMesh.removeEventListener("dispose",onInstancedMeshDispose);attributes.remove(instancedMesh.instanceMatrix);if(instancedMesh.instanceColor!==null)attributes.remove(instancedMesh.instanceColor)}return{update:update,dispose:dispose}}class DepthTexture extends Texture{constructor(width,height,type,mapping,wrapS,wrapT,magFilter,minFilter,anisotropy,format){format=format!==undefined?format:DepthFormat;if(format!==DepthFormat&amp;&amp;format!==DepthStencilFormat){throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat")}if(type===undefined&amp;&amp;format===DepthFormat)type=UnsignedIntType;if(type===undefined&amp;&amp;format===DepthStencilFormat)type=UnsignedInt248Type;super(null,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy);this.isDepthTexture=true;this.image={width:width,height:height};this.magFilter=magFilter!==undefined?magFilter:NearestFilter;this.minFilter=minFilter!==undefined?minFilter:NearestFilter;this.flipY=false;this.generateMipmaps=false;this.compareFunction=null}copy(source){super.copy(source);this.compareFunction=source.compareFunction;return this}toJSON(meta){const data=super.toJSON(meta);if(this.compareFunction!==null)data.compareFunction=this.compareFunction;return data}}const emptyTexture=new Texture;const emptyShadowTexture=new DepthTexture(1,1);emptyShadowTexture.compareFunction=LessEqualCompare;const emptyArrayTexture=new DataArrayTexture;const empty3dTexture=new Data3DTexture;const emptyCubeTexture=new CubeTexture;const arrayCacheF32=[];const arrayCacheI32=[];const mat4array=new Float32Array(16);const mat3array=new Float32Array(9);const mat2array=new Float32Array(4);function flatten(array,nBlocks,blockSize){const firstElem=array[0];if(firstElem&lt;=0||firstElem&gt;0)return array;const n=nBlocks*blockSize;let r=arrayCacheF32[n];if(r===undefined){r=new Float32Array(n);arrayCacheF32[n]=r}if(nBlocks!==0){firstElem.toArray(r,0);for(let i=1,offset=0;i!==nBlocks;++i){offset+=blockSize;array[i].toArray(r,offset)}}return r}function arraysEqual(a,b){if(a.length!==b.length)return false;for(let i=0,l=a.length;i&lt;l;i++){if(a[i]!==b[i])return false}return true}function copyArray(a,b){for(let i=0,l=b.length;i&lt;l;i++){a[i]=b[i]}}function allocTexUnits(textures,n){let r=arrayCacheI32[n];if(r===undefined){r=new Int32Array(n);arrayCacheI32[n]=r}for(let i=0;i!==n;++i){r[i]=textures.allocateTextureUnit()}return r}function setValueV1f(gl,v){const cache=this.cache;if(cache[0]===v)return;gl.uniform1f(this.addr,v);cache[0]=v}function setValueV2f(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y){gl.uniform2f(this.addr,v.x,v.y);cache[0]=v.x;cache[1]=v.y}}else{if(arraysEqual(cache,v))return;gl.uniform2fv(this.addr,v);copyArray(cache,v)}}function setValueV3f(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z){gl.uniform3f(this.addr,v.x,v.y,v.z);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z}}else if(v.r!==undefined){if(cache[0]!==v.r||cache[1]!==v.g||cache[2]!==v.b){gl.uniform3f(this.addr,v.r,v.g,v.b);cache[0]=v.r;cache[1]=v.g;cache[2]=v.b}}else{if(arraysEqual(cache,v))return;gl.uniform3fv(this.addr,v);copyArray(cache,v)}}function setValueV4f(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z||cache[3]!==v.w){gl.uniform4f(this.addr,v.x,v.y,v.z,v.w);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z;cache[3]=v.w}}else{if(arraysEqual(cache,v))return;gl.uniform4fv(this.addr,v);copyArray(cache,v)}}function setValueM2(gl,v){const cache=this.cache;const elements=v.elements;if(elements===undefined){if(arraysEqual(cache,v))return;gl.uniformMatrix2fv(this.addr,false,v);copyArray(cache,v)}else{if(arraysEqual(cache,elements))return;mat2array.set(elements);gl.uniformMatrix2fv(this.addr,false,mat2array);copyArray(cache,elements)}}function setValueM3(gl,v){const cache=this.cache;const elements=v.elements;if(elements===undefined){if(arraysEqual(cache,v))return;gl.uniformMatrix3fv(this.addr,false,v);copyArray(cache,v)}else{if(arraysEqual(cache,elements))return;mat3array.set(elements);gl.uniformMatrix3fv(this.addr,false,mat3array);copyArray(cache,elements)}}function setValueM4(gl,v){const cache=this.cache;const elements=v.elements;if(elements===undefined){if(arraysEqual(cache,v))return;gl.uniformMatrix4fv(this.addr,false,v);copyArray(cache,v)}else{if(arraysEqual(cache,elements))return;mat4array.set(elements);gl.uniformMatrix4fv(this.addr,false,mat4array);copyArray(cache,elements)}}function setValueV1i(gl,v){const cache=this.cache;if(cache[0]===v)return;gl.uniform1i(this.addr,v);cache[0]=v}function setValueV2i(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y){gl.uniform2i(this.addr,v.x,v.y);cache[0]=v.x;cache[1]=v.y}}else{if(arraysEqual(cache,v))return;gl.uniform2iv(this.addr,v);copyArray(cache,v)}}function setValueV3i(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z){gl.uniform3i(this.addr,v.x,v.y,v.z);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z}}else{if(arraysEqual(cache,v))return;gl.uniform3iv(this.addr,v);copyArray(cache,v)}}function setValueV4i(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z||cache[3]!==v.w){gl.uniform4i(this.addr,v.x,v.y,v.z,v.w);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z;cache[3]=v.w}}else{if(arraysEqual(cache,v))return;gl.uniform4iv(this.addr,v);copyArray(cache,v)}}function setValueV1ui(gl,v){const cache=this.cache;if(cache[0]===v)return;gl.uniform1ui(this.addr,v);cache[0]=v}function setValueV2ui(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y){gl.uniform2ui(this.addr,v.x,v.y);cache[0]=v.x;cache[1]=v.y}}else{if(arraysEqual(cache,v))return;gl.uniform2uiv(this.addr,v);copyArray(cache,v)}}function setValueV3ui(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z){gl.uniform3ui(this.addr,v.x,v.y,v.z);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z}}else{if(arraysEqual(cache,v))return;gl.uniform3uiv(this.addr,v);copyArray(cache,v)}}function setValueV4ui(gl,v){const cache=this.cache;if(v.x!==undefined){if(cache[0]!==v.x||cache[1]!==v.y||cache[2]!==v.z||cache[3]!==v.w){gl.uniform4ui(this.addr,v.x,v.y,v.z,v.w);cache[0]=v.x;cache[1]=v.y;cache[2]=v.z;cache[3]=v.w}}else{if(arraysEqual(cache,v))return;gl.uniform4uiv(this.addr,v);copyArray(cache,v)}}function setValueT1(gl,v,textures){const cache=this.cache;const unit=textures.allocateTextureUnit();if(cache[0]!==unit){gl.uniform1i(this.addr,unit);cache[0]=unit}const emptyTexture2D=this.type===gl.SAMPLER_2D_SHADOW?emptyShadowTexture:emptyTexture;textures.setTexture2D(v||emptyTexture2D,unit)}function setValueT3D1(gl,v,textures){const cache=this.cache;const unit=textures.allocateTextureUnit();if(cache[0]!==unit){gl.uniform1i(this.addr,unit);cache[0]=unit}textures.setTexture3D(v||empty3dTexture,unit)}function setValueT6(gl,v,textures){const cache=this.cache;const unit=textures.allocateTextureUnit();if(cache[0]!==unit){gl.uniform1i(this.addr,unit);cache[0]=unit}textures.setTextureCube(v||emptyCubeTexture,unit)}function setValueT2DArray1(gl,v,textures){const cache=this.cache;const unit=textures.allocateTextureUnit();if(cache[0]!==unit){gl.uniform1i(this.addr,unit);cache[0]=unit}textures.setTexture2DArray(v||emptyArrayTexture,unit)}function getSingularSetter(type){switch(type){case 5126:return setValueV1f;case 35664:return setValueV2f;case 35665:return setValueV3f;case 35666:return setValueV4f;case 35674:return setValueM2;case 35675:return setValueM3;case 35676:return setValueM4;case 5124:case 35670:return setValueV1i;case 35667:case 35671:return setValueV2i;case 35668:case 35672:return setValueV3i;case 35669:case 35673:return setValueV4i;case 5125:return setValueV1ui;case 36294:return setValueV2ui;case 36295:return setValueV3ui;case 36296:return setValueV4ui;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1;case 35679:case 36299:case 36307:return setValueT3D1;case 35680:case 36300:case 36308:case 36293:return setValueT6;case 36289:case 36303:case 36311:case 36292:return setValueT2DArray1;}}function setValueV1fArray(gl,v){gl.uniform1fv(this.addr,v)}function setValueV2fArray(gl,v){const data=flatten(v,this.size,2);gl.uniform2fv(this.addr,data)}function setValueV3fArray(gl,v){const data=flatten(v,this.size,3);gl.uniform3fv(this.addr,data)}function setValueV4fArray(gl,v){const data=flatten(v,this.size,4);gl.uniform4fv(this.addr,data)}function setValueM2Array(gl,v){const data=flatten(v,this.size,4);gl.uniformMatrix2fv(this.addr,false,data)}function setValueM3Array(gl,v){const data=flatten(v,this.size,9);gl.uniformMatrix3fv(this.addr,false,data)}function setValueM4Array(gl,v){const data=flatten(v,this.size,16);gl.uniformMatrix4fv(this.addr,false,data)}function setValueV1iArray(gl,v){gl.uniform1iv(this.addr,v)}function setValueV2iArray(gl,v){gl.uniform2iv(this.addr,v)}function setValueV3iArray(gl,v){gl.uniform3iv(this.addr,v)}function setValueV4iArray(gl,v){gl.uniform4iv(this.addr,v)}function setValueV1uiArray(gl,v){gl.uniform1uiv(this.addr,v)}function setValueV2uiArray(gl,v){gl.uniform2uiv(this.addr,v)}function setValueV3uiArray(gl,v){gl.uniform3uiv(this.addr,v)}function setValueV4uiArray(gl,v){gl.uniform4uiv(this.addr,v)}function setValueT1Array(gl,v,textures){const cache=this.cache;const n=v.length;const units=allocTexUnits(textures,n);if(!arraysEqual(cache,units)){gl.uniform1iv(this.addr,units);copyArray(cache,units)}for(let i=0;i!==n;++i){textures.setTexture2D(v[i]||emptyTexture,units[i])}}function setValueT3DArray(gl,v,textures){const cache=this.cache;const n=v.length;const units=allocTexUnits(textures,n);if(!arraysEqual(cache,units)){gl.uniform1iv(this.addr,units);copyArray(cache,units)}for(let i=0;i!==n;++i){textures.setTexture3D(v[i]||empty3dTexture,units[i])}}function setValueT6Array(gl,v,textures){const cache=this.cache;const n=v.length;const units=allocTexUnits(textures,n);if(!arraysEqual(cache,units)){gl.uniform1iv(this.addr,units);copyArray(cache,units)}for(let i=0;i!==n;++i){textures.setTextureCube(v[i]||emptyCubeTexture,units[i])}}function setValueT2DArrayArray(gl,v,textures){const cache=this.cache;const n=v.length;const units=allocTexUnits(textures,n);if(!arraysEqual(cache,units)){gl.uniform1iv(this.addr,units);copyArray(cache,units)}for(let i=0;i!==n;++i){textures.setTexture2DArray(v[i]||emptyArrayTexture,units[i])}}function getPureArraySetter(type){switch(type){case 5126:return setValueV1fArray;case 35664:return setValueV2fArray;case 35665:return setValueV3fArray;case 35666:return setValueV4fArray;case 35674:return setValueM2Array;case 35675:return setValueM3Array;case 35676:return setValueM4Array;case 5124:case 35670:return setValueV1iArray;case 35667:case 35671:return setValueV2iArray;case 35668:case 35672:return setValueV3iArray;case 35669:case 35673:return setValueV4iArray;case 5125:return setValueV1uiArray;case 36294:return setValueV2uiArray;case 36295:return setValueV3uiArray;case 36296:return setValueV4uiArray;case 35678:case 36198:case 36298:case 36306:case 35682:return setValueT1Array;case 35679:case 36299:case 36307:return setValueT3DArray;case 35680:case 36300:case 36308:case 36293:return setValueT6Array;case 36289:case 36303:case 36311:case 36292:return setValueT2DArrayArray;}}class SingleUniform{constructor(id,activeInfo,addr){this.id=id;this.addr=addr;this.cache=[];this.type=activeInfo.type;this.setValue=getSingularSetter(activeInfo.type)}}class PureArrayUniform{constructor(id,activeInfo,addr){this.id=id;this.addr=addr;this.cache=[];this.type=activeInfo.type;this.size=activeInfo.size;this.setValue=getPureArraySetter(activeInfo.type)}}class StructuredUniform{constructor(id){this.id=id;this.seq=[];this.map={}}setValue(gl,value,textures){const seq=this.seq;for(let i=0,n=seq.length;i!==n;++i){const u=seq[i];u.setValue(gl,value[u.id],textures)}}}const RePathPart=/(\w+)(\])?(\[|\.)?/g;function addUniform(container,uniformObject){container.seq.push(uniformObject);container.map[uniformObject.id]=uniformObject}function parseUniform(activeInfo,addr,container){const path=activeInfo.name,pathLength=path.length;RePathPart.lastIndex=0;while(true){const match=RePathPart.exec(path),matchEnd=RePathPart.lastIndex;let id=match[1];const idIsIndex=match[2]==="]",subscript=match[3];if(idIsIndex)id=id|0;if(subscript===undefined||subscript==="["&amp;&amp;matchEnd+2===pathLength){addUniform(container,subscript===undefined?new SingleUniform(id,activeInfo,addr):new PureArrayUniform(id,activeInfo,addr));break}else{const map=container.map;let next=map[id];if(next===undefined){next=new StructuredUniform(id);addUniform(container,next)}container=next}}}class WebGLUniforms{constructor(gl,program){this.seq=[];this.map={};const n=gl.getProgramParameter(program,gl.ACTIVE_UNIFORMS);for(let i=0;i&lt;n;++i){const info=gl.getActiveUniform(program,i),addr=gl.getUniformLocation(program,info.name);parseUniform(info,addr,this)}}setValue(gl,name,value,textures){const u=this.map[name];if(u!==undefined)u.setValue(gl,value,textures)}setOptional(gl,object,name){const v=object[name];if(v!==undefined)this.setValue(gl,name,v)}static upload(gl,seq,values,textures){for(let i=0,n=seq.length;i!==n;++i){const u=seq[i],v=values[u.id];if(v.needsUpdate!==false){u.setValue(gl,v.value,textures)}}}static seqWithValue(seq,values){const r=[];for(let i=0,n=seq.length;i!==n;++i){const u=seq[i];if(u.id in values)r.push(u)}return r}}function WebGLShader(gl,type,string){const shader=gl.createShader(type);gl.shaderSource(shader,string);gl.compileShader(shader);return shader}const COMPLETION_STATUS_KHR=37297;let programIdCount=0;function handleSource(string,errorLine){const lines=string.split("\n");const lines2=[];const from=Math.max(errorLine-6,0);const to=Math.min(errorLine+6,lines.length);for(let i=from;i&lt;to;i++){const line=i+1;lines2.push(`${line===errorLine?"&gt;":" "} ${line}: ${lines[i]}`)}return lines2.join("\n")}function getEncodingComponents(colorSpace){const workingPrimaries=ColorManagement.getPrimaries(ColorManagement.workingColorSpace);const encodingPrimaries=ColorManagement.getPrimaries(colorSpace);let gamutMapping;if(workingPrimaries===encodingPrimaries){gamutMapping=""}else if(workingPrimaries===P3Primaries&amp;&amp;encodingPrimaries===Rec709Primaries){gamutMapping="LinearDisplayP3ToLinearSRGB"}else if(workingPrimaries===Rec709Primaries&amp;&amp;encodingPrimaries===P3Primaries){gamutMapping="LinearSRGBToLinearDisplayP3"}switch(colorSpace){case LinearSRGBColorSpace:case LinearDisplayP3ColorSpace:return[gamutMapping,"LinearTransferOETF"];case SRGBColorSpace:case DisplayP3ColorSpace:return[gamutMapping,"sRGBTransferOETF"];default:console.warn("THREE.WebGLProgram: Unsupported color space:",colorSpace);return[gamutMapping,"LinearTransferOETF"];}}function getShaderErrors(gl,shader,type){const status=gl.getShaderParameter(shader,gl.COMPILE_STATUS);const errors=gl.getShaderInfoLog(shader).trim();if(status&amp;&amp;errors==="")return"";const errorMatches=/ERROR: 0:(\d+)/.exec(errors);if(errorMatches){const errorLine=parseInt(errorMatches[1]);return type.toUpperCase()+"\n\n"+errors+"\n\n"+handleSource(gl.getShaderSource(shader),errorLine)}else{return errors}}function getTexelEncodingFunction(functionName,colorSpace){const components=getEncodingComponents(colorSpace);return`vec4 ${functionName}( vec4 value ) { return ${components[0]}( ${components[1]}( value ) ); }`}function getToneMappingFunction(functionName,toneMapping){let toneMappingName;switch(toneMapping){case LinearToneMapping:toneMappingName="Linear";break;case ReinhardToneMapping:toneMappingName="Reinhard";break;case CineonToneMapping:toneMappingName="OptimizedCineon";break;case ACESFilmicToneMapping:toneMappingName="ACESFilmic";break;case AgXToneMapping:toneMappingName="AgX";break;case NeutralToneMapping:toneMappingName="Neutral";break;case CustomToneMapping:toneMappingName="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",toneMapping);toneMappingName="Linear";}return"vec3 "+functionName+"( vec3 color ) { return "+toneMappingName+"ToneMapping( color ); }"}function generateVertexExtensions(parameters){const chunks=[parameters.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",parameters.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""];return chunks.filter(filterEmptyLine).join("\n")}function generateDefines(defines){const chunks=[];for(const name in defines){const value=defines[name];if(value===false)continue;chunks.push("#define "+name+" "+value)}return chunks.join("\n")}function fetchAttributeLocations(gl,program){const attributes={};const n=gl.getProgramParameter(program,gl.ACTIVE_ATTRIBUTES);for(let i=0;i&lt;n;i++){const info=gl.getActiveAttrib(program,i);const name=info.name;let locationSize=1;if(info.type===gl.FLOAT_MAT2)locationSize=2;if(info.type===gl.FLOAT_MAT3)locationSize=3;if(info.type===gl.FLOAT_MAT4)locationSize=4;attributes[name]={type:info.type,location:gl.getAttribLocation(program,name),locationSize:locationSize}}return attributes}function filterEmptyLine(string){return string!==""}function replaceLightNums(string,parameters){const numSpotLightCoords=parameters.numSpotLightShadows+parameters.numSpotLightMaps-parameters.numSpotLightShadowsWithMaps;return string.replace(/NUM_DIR_LIGHTS/g,parameters.numDirLights).replace(/NUM_SPOT_LIGHTS/g,parameters.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,parameters.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,numSpotLightCoords).replace(/NUM_RECT_AREA_LIGHTS/g,parameters.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,parameters.numPointLights).replace(/NUM_HEMI_LIGHTS/g,parameters.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,parameters.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,parameters.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,parameters.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,parameters.numPointLightShadows)}function replaceClippingPlaneNums(string,parameters){return string.replace(/NUM_CLIPPING_PLANES/g,parameters.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,parameters.numClippingPlanes-parameters.numClipIntersection)}const includePattern=/^[ \t]*#include +&lt;([\w\d./]+)&gt;/gm;function resolveIncludes(string){return string.replace(includePattern,includeReplacer)}const shaderChunkMap=new Map([["encodings_fragment","colorspace_fragment"],["encodings_pars_fragment","colorspace_pars_fragment"],["output_fragment","opaque_fragment"]]);function includeReplacer(match,include){let string=ShaderChunk[include];if(string===undefined){const newInclude=shaderChunkMap.get(include);if(newInclude!==undefined){string=ShaderChunk[newInclude];console.warn("THREE.WebGLRenderer: Shader chunk \"%s\" has been deprecated. Use \"%s\" instead.",include,newInclude)}else{throw new Error("Can not resolve #include &lt;"+include+"&gt;")}}return resolveIncludes(string)}const unrollLoopPattern=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*&lt;\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function unrollLoops(string){return string.replace(unrollLoopPattern,loopReplacer)}function loopReplacer(match,start,end,snippet){let string="";for(let i=parseInt(start);i&lt;parseInt(end);i++){string+=snippet.replace(/\[\s*i\s*\]/g,"[ "+i+" ]").replace(/UNROLLED_LOOP_INDEX/g,i)}return string}function generatePrecision(parameters){let precisionstring=`precision ${parameters.precision} float;
	precision ${parameters.precision} int;
	precision ${parameters.precision} sampler2D;
	precision ${parameters.precision} samplerCube;
	precision ${parameters.precision} sampler3D;
	precision ${parameters.precision} sampler2DArray;
	precision ${parameters.precision} sampler2DShadow;
	precision ${parameters.precision} samplerCubeShadow;
	precision ${parameters.precision} sampler2DArrayShadow;
	precision ${parameters.precision} isampler2D;
	precision ${parameters.precision} isampler3D;
	precision ${parameters.precision} isamplerCube;
	precision ${parameters.precision} isampler2DArray;
	precision ${parameters.precision} usampler2D;
	precision ${parameters.precision} usampler3D;
	precision ${parameters.precision} usamplerCube;
	precision ${parameters.precision} usampler2DArray;
	`;if(parameters.precision==="highp"){precisionstring+="\n#define HIGH_PRECISION"}else if(parameters.precision==="mediump"){precisionstring+="\n#define MEDIUM_PRECISION"}else if(parameters.precision==="lowp"){precisionstring+="\n#define LOW_PRECISION"}return precisionstring}function generateShadowMapTypeDefine(parameters){let shadowMapTypeDefine="SHADOWMAP_TYPE_BASIC";if(parameters.shadowMapType===PCFShadowMap){shadowMapTypeDefine="SHADOWMAP_TYPE_PCF"}else if(parameters.shadowMapType===PCFSoftShadowMap){shadowMapTypeDefine="SHADOWMAP_TYPE_PCF_SOFT"}else if(parameters.shadowMapType===VSMShadowMap){shadowMapTypeDefine="SHADOWMAP_TYPE_VSM"}return shadowMapTypeDefine}function generateEnvMapTypeDefine(parameters){let envMapTypeDefine="ENVMAP_TYPE_CUBE";if(parameters.envMap){switch(parameters.envMapMode){case CubeReflectionMapping:case CubeRefractionMapping:envMapTypeDefine="ENVMAP_TYPE_CUBE";break;case CubeUVReflectionMapping:envMapTypeDefine="ENVMAP_TYPE_CUBE_UV";break;}}return envMapTypeDefine}function generateEnvMapModeDefine(parameters){let envMapModeDefine="ENVMAP_MODE_REFLECTION";if(parameters.envMap){switch(parameters.envMapMode){case CubeRefractionMapping:envMapModeDefine="ENVMAP_MODE_REFRACTION";break;}}return envMapModeDefine}function generateEnvMapBlendingDefine(parameters){let envMapBlendingDefine="ENVMAP_BLENDING_NONE";if(parameters.envMap){switch(parameters.combine){case MultiplyOperation:envMapBlendingDefine="ENVMAP_BLENDING_MULTIPLY";break;case MixOperation:envMapBlendingDefine="ENVMAP_BLENDING_MIX";break;case AddOperation:envMapBlendingDefine="ENVMAP_BLENDING_ADD";break;}}return envMapBlendingDefine}function generateCubeUVSize(parameters){const imageHeight=parameters.envMapCubeUVHeight;if(imageHeight===null)return null;const maxMip=Math.log2(imageHeight)-2;const texelHeight=1/imageHeight;const texelWidth=1/(3*Math.max(Math.pow(2,maxMip),7*16));return{texelWidth,texelHeight,maxMip}}function WebGLProgram(renderer,cacheKey,parameters,bindingStates){const gl=renderer.getContext();const defines=parameters.defines;let vertexShader=parameters.vertexShader;let fragmentShader=parameters.fragmentShader;const shadowMapTypeDefine=generateShadowMapTypeDefine(parameters);const envMapTypeDefine=generateEnvMapTypeDefine(parameters);const envMapModeDefine=generateEnvMapModeDefine(parameters);const envMapBlendingDefine=generateEnvMapBlendingDefine(parameters);const envMapCubeUVSize=generateCubeUVSize(parameters);const customVertexExtensions=generateVertexExtensions(parameters);const customDefines=generateDefines(defines);const program=gl.createProgram();let prefixVertex,prefixFragment;let versionString=parameters.glslVersion?"#version "+parameters.glslVersion+"\n":"";if(parameters.isRawShaderMaterial){prefixVertex=["#define SHADER_TYPE "+parameters.shaderType,"#define SHADER_NAME "+parameters.shaderName,customDefines].filter(filterEmptyLine).join("\n");if(prefixVertex.length&gt;0){prefixVertex+="\n"}prefixFragment=["#define SHADER_TYPE "+parameters.shaderType,"#define SHADER_NAME "+parameters.shaderName,customDefines].filter(filterEmptyLine).join("\n");if(prefixFragment.length&gt;0){prefixFragment+="\n"}}else{prefixVertex=[generatePrecision(parameters),"#define SHADER_TYPE "+parameters.shaderType,"#define SHADER_NAME "+parameters.shaderName,customDefines,parameters.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",parameters.batching?"#define USE_BATCHING":"",parameters.instancing?"#define USE_INSTANCING":"",parameters.instancingColor?"#define USE_INSTANCING_COLOR":"",parameters.instancingMorph?"#define USE_INSTANCING_MORPH":"",parameters.useFog&amp;&amp;parameters.fog?"#define USE_FOG":"",parameters.useFog&amp;&amp;parameters.fogExp2?"#define FOG_EXP2":"",parameters.map?"#define USE_MAP":"",parameters.envMap?"#define USE_ENVMAP":"",parameters.envMap?"#define "+envMapModeDefine:"",parameters.lightMap?"#define USE_LIGHTMAP":"",parameters.aoMap?"#define USE_AOMAP":"",parameters.bumpMap?"#define USE_BUMPMAP":"",parameters.normalMap?"#define USE_NORMALMAP":"",parameters.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",parameters.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",parameters.displacementMap?"#define USE_DISPLACEMENTMAP":"",parameters.emissiveMap?"#define USE_EMISSIVEMAP":"",parameters.anisotropy?"#define USE_ANISOTROPY":"",parameters.anisotropyMap?"#define USE_ANISOTROPYMAP":"",parameters.clearcoatMap?"#define USE_CLEARCOATMAP":"",parameters.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",parameters.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",parameters.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",parameters.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",parameters.specularMap?"#define USE_SPECULARMAP":"",parameters.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",parameters.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",parameters.roughnessMap?"#define USE_ROUGHNESSMAP":"",parameters.metalnessMap?"#define USE_METALNESSMAP":"",parameters.alphaMap?"#define USE_ALPHAMAP":"",parameters.alphaHash?"#define USE_ALPHAHASH":"",parameters.transmission?"#define USE_TRANSMISSION":"",parameters.transmissionMap?"#define USE_TRANSMISSIONMAP":"",parameters.thicknessMap?"#define USE_THICKNESSMAP":"",parameters.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",parameters.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",parameters.mapUv?"#define MAP_UV "+parameters.mapUv:"",parameters.alphaMapUv?"#define ALPHAMAP_UV "+parameters.alphaMapUv:"",parameters.lightMapUv?"#define LIGHTMAP_UV "+parameters.lightMapUv:"",parameters.aoMapUv?"#define AOMAP_UV "+parameters.aoMapUv:"",parameters.emissiveMapUv?"#define EMISSIVEMAP_UV "+parameters.emissiveMapUv:"",parameters.bumpMapUv?"#define BUMPMAP_UV "+parameters.bumpMapUv:"",parameters.normalMapUv?"#define NORMALMAP_UV "+parameters.normalMapUv:"",parameters.displacementMapUv?"#define DISPLACEMENTMAP_UV "+parameters.displacementMapUv:"",parameters.metalnessMapUv?"#define METALNESSMAP_UV "+parameters.metalnessMapUv:"",parameters.roughnessMapUv?"#define ROUGHNESSMAP_UV "+parameters.roughnessMapUv:"",parameters.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+parameters.anisotropyMapUv:"",parameters.clearcoatMapUv?"#define CLEARCOATMAP_UV "+parameters.clearcoatMapUv:"",parameters.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+parameters.clearcoatNormalMapUv:"",parameters.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+parameters.clearcoatRoughnessMapUv:"",parameters.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+parameters.iridescenceMapUv:"",parameters.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+parameters.iridescenceThicknessMapUv:"",parameters.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+parameters.sheenColorMapUv:"",parameters.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+parameters.sheenRoughnessMapUv:"",parameters.specularMapUv?"#define SPECULARMAP_UV "+parameters.specularMapUv:"",parameters.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+parameters.specularColorMapUv:"",parameters.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+parameters.specularIntensityMapUv:"",parameters.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+parameters.transmissionMapUv:"",parameters.thicknessMapUv?"#define THICKNESSMAP_UV "+parameters.thicknessMapUv:"",parameters.vertexTangents&amp;&amp;parameters.flatShading===false?"#define USE_TANGENT":"",parameters.vertexColors?"#define USE_COLOR":"",parameters.vertexAlphas?"#define USE_COLOR_ALPHA":"",parameters.vertexUv1s?"#define USE_UV1":"",parameters.vertexUv2s?"#define USE_UV2":"",parameters.vertexUv3s?"#define USE_UV3":"",parameters.pointsUvs?"#define USE_POINTS_UV":"",parameters.flatShading?"#define FLAT_SHADED":"",parameters.skinning?"#define USE_SKINNING":"",parameters.morphTargets?"#define USE_MORPHTARGETS":"",parameters.morphNormals&amp;&amp;parameters.flatShading===false?"#define USE_MORPHNORMALS":"",parameters.morphColors?"#define USE_MORPHCOLORS":"",parameters.morphTargetsCount&gt;0?"#define MORPHTARGETS_TEXTURE":"",parameters.morphTargetsCount&gt;0?"#define MORPHTARGETS_TEXTURE_STRIDE "+parameters.morphTextureStride:"",parameters.morphTargetsCount&gt;0?"#define MORPHTARGETS_COUNT "+parameters.morphTargetsCount:"",parameters.doubleSided?"#define DOUBLE_SIDED":"",parameters.flipSided?"#define FLIP_SIDED":"",parameters.shadowMapEnabled?"#define USE_SHADOWMAP":"",parameters.shadowMapEnabled?"#define "+shadowMapTypeDefine:"",parameters.sizeAttenuation?"#define USE_SIZEATTENUATION":"",parameters.numLightProbes&gt;0?"#define USE_LIGHT_PROBES":"",parameters.useLegacyLights?"#define LEGACY_LIGHTS":"",parameters.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH","\tuniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1","\tattribute vec2 uv1;","#endif","#ifdef USE_UV2","\tattribute vec2 uv2;","#endif","#ifdef USE_UV3","\tattribute vec2 uv3;","#endif","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#if ( defined( USE_MORPHTARGETS ) &amp;&amp; ! defined( MORPHTARGETS_TEXTURE ) )","\tattribute vec3 morphTarget0;","\tattribute vec3 morphTarget1;","\tattribute vec3 morphTarget2;","\tattribute vec3 morphTarget3;","\t#ifdef USE_MORPHNORMALS","\t\tattribute vec3 morphNormal0;","\t\tattribute vec3 morphNormal1;","\t\tattribute vec3 morphNormal2;","\t\tattribute vec3 morphNormal3;","\t#else","\t\tattribute vec3 morphTarget4;","\t\tattribute vec3 morphTarget5;","\t\tattribute vec3 morphTarget6;","\t\tattribute vec3 morphTarget7;","\t#endif","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(filterEmptyLine).join("\n");prefixFragment=[generatePrecision(parameters),"#define SHADER_TYPE "+parameters.shaderType,"#define SHADER_NAME "+parameters.shaderName,customDefines,parameters.useFog&amp;&amp;parameters.fog?"#define USE_FOG":"",parameters.useFog&amp;&amp;parameters.fogExp2?"#define FOG_EXP2":"",parameters.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",parameters.map?"#define USE_MAP":"",parameters.matcap?"#define USE_MATCAP":"",parameters.envMap?"#define USE_ENVMAP":"",parameters.envMap?"#define "+envMapTypeDefine:"",parameters.envMap?"#define "+envMapModeDefine:"",parameters.envMap?"#define "+envMapBlendingDefine:"",envMapCubeUVSize?"#define CUBEUV_TEXEL_WIDTH "+envMapCubeUVSize.texelWidth:"",envMapCubeUVSize?"#define CUBEUV_TEXEL_HEIGHT "+envMapCubeUVSize.texelHeight:"",envMapCubeUVSize?"#define CUBEUV_MAX_MIP "+envMapCubeUVSize.maxMip+".0":"",parameters.lightMap?"#define USE_LIGHTMAP":"",parameters.aoMap?"#define USE_AOMAP":"",parameters.bumpMap?"#define USE_BUMPMAP":"",parameters.normalMap?"#define USE_NORMALMAP":"",parameters.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",parameters.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",parameters.emissiveMap?"#define USE_EMISSIVEMAP":"",parameters.anisotropy?"#define USE_ANISOTROPY":"",parameters.anisotropyMap?"#define USE_ANISOTROPYMAP":"",parameters.clearcoat?"#define USE_CLEARCOAT":"",parameters.clearcoatMap?"#define USE_CLEARCOATMAP":"",parameters.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",parameters.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",parameters.iridescence?"#define USE_IRIDESCENCE":"",parameters.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",parameters.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",parameters.specularMap?"#define USE_SPECULARMAP":"",parameters.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",parameters.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",parameters.roughnessMap?"#define USE_ROUGHNESSMAP":"",parameters.metalnessMap?"#define USE_METALNESSMAP":"",parameters.alphaMap?"#define USE_ALPHAMAP":"",parameters.alphaTest?"#define USE_ALPHATEST":"",parameters.alphaHash?"#define USE_ALPHAHASH":"",parameters.sheen?"#define USE_SHEEN":"",parameters.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",parameters.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",parameters.transmission?"#define USE_TRANSMISSION":"",parameters.transmissionMap?"#define USE_TRANSMISSIONMAP":"",parameters.thicknessMap?"#define USE_THICKNESSMAP":"",parameters.vertexTangents&amp;&amp;parameters.flatShading===false?"#define USE_TANGENT":"",parameters.vertexColors||parameters.instancingColor?"#define USE_COLOR":"",parameters.vertexAlphas?"#define USE_COLOR_ALPHA":"",parameters.vertexUv1s?"#define USE_UV1":"",parameters.vertexUv2s?"#define USE_UV2":"",parameters.vertexUv3s?"#define USE_UV3":"",parameters.pointsUvs?"#define USE_POINTS_UV":"",parameters.gradientMap?"#define USE_GRADIENTMAP":"",parameters.flatShading?"#define FLAT_SHADED":"",parameters.doubleSided?"#define DOUBLE_SIDED":"",parameters.flipSided?"#define FLIP_SIDED":"",parameters.shadowMapEnabled?"#define USE_SHADOWMAP":"",parameters.shadowMapEnabled?"#define "+shadowMapTypeDefine:"",parameters.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",parameters.numLightProbes&gt;0?"#define USE_LIGHT_PROBES":"",parameters.useLegacyLights?"#define LEGACY_LIGHTS":"",parameters.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",parameters.logarithmicDepthBuffer?"#define USE_LOGDEPTHBUF":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",parameters.toneMapping!==NoToneMapping?"#define TONE_MAPPING":"",parameters.toneMapping!==NoToneMapping?ShaderChunk["tonemapping_pars_fragment"]:"",parameters.toneMapping!==NoToneMapping?getToneMappingFunction("toneMapping",parameters.toneMapping):"",parameters.dithering?"#define DITHERING":"",parameters.opaque?"#define OPAQUE":"",ShaderChunk["colorspace_pars_fragment"],getTexelEncodingFunction("linearToOutputTexel",parameters.outputColorSpace),parameters.useDepthPacking?"#define DEPTH_PACKING "+parameters.depthPacking:"","\n"].filter(filterEmptyLine).join("\n")}vertexShader=resolveIncludes(vertexShader);vertexShader=replaceLightNums(vertexShader,parameters);vertexShader=replaceClippingPlaneNums(vertexShader,parameters);fragmentShader=resolveIncludes(fragmentShader);fragmentShader=replaceLightNums(fragmentShader,parameters);fragmentShader=replaceClippingPlaneNums(fragmentShader,parameters);vertexShader=unrollLoops(vertexShader);fragmentShader=unrollLoops(fragmentShader);if(parameters.isRawShaderMaterial!==true){versionString="#version 300 es\n";prefixVertex=[customVertexExtensions,"#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+prefixVertex;prefixFragment=["#define varying in",parameters.glslVersion===GLSL3?"":"layout(location = 0) out highp vec4 pc_fragColor;",parameters.glslVersion===GLSL3?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+prefixFragment}const vertexGlsl=versionString+prefixVertex+vertexShader;const fragmentGlsl=versionString+prefixFragment+fragmentShader;const glVertexShader=WebGLShader(gl,gl.VERTEX_SHADER,vertexGlsl);const glFragmentShader=WebGLShader(gl,gl.FRAGMENT_SHADER,fragmentGlsl);gl.attachShader(program,glVertexShader);gl.attachShader(program,glFragmentShader);if(parameters.index0AttributeName!==undefined){gl.bindAttribLocation(program,0,parameters.index0AttributeName)}else if(parameters.morphTargets===true){gl.bindAttribLocation(program,0,"position")}gl.linkProgram(program);function onFirstUse(self){if(renderer.debug.checkShaderErrors){const programLog=gl.getProgramInfoLog(program).trim();const vertexLog=gl.getShaderInfoLog(glVertexShader).trim();const fragmentLog=gl.getShaderInfoLog(glFragmentShader).trim();let runnable=true;let haveDiagnostics=true;if(gl.getProgramParameter(program,gl.LINK_STATUS)===false){runnable=false;if(typeof renderer.debug.onShaderError==="function"){renderer.debug.onShaderError(gl,program,glVertexShader,glFragmentShader)}else{const vertexErrors=getShaderErrors(gl,glVertexShader,"vertex");const fragmentErrors=getShaderErrors(gl,glFragmentShader,"fragment");console.error("THREE.WebGLProgram: Shader Error "+gl.getError()+" - "+"VALIDATE_STATUS "+gl.getProgramParameter(program,gl.VALIDATE_STATUS)+"\n\n"+"Material Name: "+self.name+"\n"+"Material Type: "+self.type+"\n\n"+"Program Info Log: "+programLog+"\n"+vertexErrors+"\n"+fragmentErrors)}}else if(programLog!==""){console.warn("THREE.WebGLProgram: Program Info Log:",programLog)}else if(vertexLog===""||fragmentLog===""){haveDiagnostics=false}if(haveDiagnostics){self.diagnostics={runnable:runnable,programLog:programLog,vertexShader:{log:vertexLog,prefix:prefixVertex},fragmentShader:{log:fragmentLog,prefix:prefixFragment}}}}gl.deleteShader(glVertexShader);gl.deleteShader(glFragmentShader);cachedUniforms=new WebGLUniforms(gl,program);cachedAttributes=fetchAttributeLocations(gl,program)}let cachedUniforms;this.getUniforms=function(){if(cachedUniforms===undefined){onFirstUse(this)}return cachedUniforms};let cachedAttributes;this.getAttributes=function(){if(cachedAttributes===undefined){onFirstUse(this)}return cachedAttributes};let programReady=parameters.rendererExtensionParallelShaderCompile===false;this.isReady=function(){if(programReady===false){programReady=gl.getProgramParameter(program,COMPLETION_STATUS_KHR)}return programReady};this.destroy=function(){bindingStates.releaseStatesOfProgram(this);gl.deleteProgram(program);this.program=undefined};this.type=parameters.shaderType;this.name=parameters.shaderName;this.id=programIdCount++;this.cacheKey=cacheKey;this.usedTimes=1;this.program=program;this.vertexShader=glVertexShader;this.fragmentShader=glFragmentShader;return this}let _id$1=0;class WebGLShaderCache{constructor(){this.shaderCache=new Map;this.materialCache=new Map}update(material){const vertexShader=material.vertexShader;const fragmentShader=material.fragmentShader;const vertexShaderStage=this._getShaderStage(vertexShader);const fragmentShaderStage=this._getShaderStage(fragmentShader);const materialShaders=this._getShaderCacheForMaterial(material);if(materialShaders.has(vertexShaderStage)===false){materialShaders.add(vertexShaderStage);vertexShaderStage.usedTimes++}if(materialShaders.has(fragmentShaderStage)===false){materialShaders.add(fragmentShaderStage);fragmentShaderStage.usedTimes++}return this}remove(material){const materialShaders=this.materialCache.get(material);for(const shaderStage of materialShaders){shaderStage.usedTimes--;if(shaderStage.usedTimes===0)this.shaderCache.delete(shaderStage.code)}this.materialCache.delete(material);return this}getVertexShaderID(material){return this._getShaderStage(material.vertexShader).id}getFragmentShaderID(material){return this._getShaderStage(material.fragmentShader).id}dispose(){this.shaderCache.clear();this.materialCache.clear()}_getShaderCacheForMaterial(material){const cache=this.materialCache;let set=cache.get(material);if(set===undefined){set=new Set;cache.set(material,set)}return set}_getShaderStage(code){const cache=this.shaderCache;let stage=cache.get(code);if(stage===undefined){stage=new WebGLShaderStage(code);cache.set(code,stage)}return stage}}class WebGLShaderStage{constructor(code){this.id=_id$1++;this.code=code;this.usedTimes=0}}function WebGLPrograms(renderer,cubemaps,cubeuvmaps,extensions,capabilities,bindingStates,clipping){const _programLayers=new Layers;const _customShaders=new WebGLShaderCache;const _activeChannels=new Set;const programs=[];const logarithmicDepthBuffer=capabilities.logarithmicDepthBuffer;const SUPPORTS_VERTEX_TEXTURES=capabilities.vertexTextures;let precision=capabilities.precision;const shaderIDs={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function getChannel(value){_activeChannels.add(value);if(value===0)return"uv";return`uv${value}`}function getParameters(material,lights,shadows,scene,object){const fog=scene.fog;const geometry=object.geometry;const environment=material.isMeshStandardMaterial?scene.environment:null;const envMap=(material.isMeshStandardMaterial?cubeuvmaps:cubemaps).get(material.envMap||environment);const envMapCubeUVHeight=!!envMap&amp;&amp;envMap.mapping===CubeUVReflectionMapping?envMap.image.height:null;const shaderID=shaderIDs[material.type];if(material.precision!==null){precision=capabilities.getMaxPrecision(material.precision);if(precision!==material.precision){console.warn("THREE.WebGLProgram.getParameters:",material.precision,"not supported, using",precision,"instead.")}}const morphAttribute=geometry.morphAttributes.position||geometry.morphAttributes.normal||geometry.morphAttributes.color;const morphTargetsCount=morphAttribute!==undefined?morphAttribute.length:0;let morphTextureStride=0;if(geometry.morphAttributes.position!==undefined)morphTextureStride=1;if(geometry.morphAttributes.normal!==undefined)morphTextureStride=2;if(geometry.morphAttributes.color!==undefined)morphTextureStride=3;let vertexShader,fragmentShader;let customVertexShaderID,customFragmentShaderID;if(shaderID){const shader=ShaderLib[shaderID];vertexShader=shader.vertexShader;fragmentShader=shader.fragmentShader}else{vertexShader=material.vertexShader;fragmentShader=material.fragmentShader;_customShaders.update(material);customVertexShaderID=_customShaders.getVertexShaderID(material);customFragmentShaderID=_customShaders.getFragmentShaderID(material)}const currentRenderTarget=renderer.getRenderTarget();const IS_INSTANCEDMESH=object.isInstancedMesh===true;const IS_BATCHEDMESH=object.isBatchedMesh===true;const HAS_MAP=!!material.map;const HAS_MATCAP=!!material.matcap;const HAS_ENVMAP=!!envMap;const HAS_AOMAP=!!material.aoMap;const HAS_LIGHTMAP=!!material.lightMap;const HAS_BUMPMAP=!!material.bumpMap;const HAS_NORMALMAP=!!material.normalMap;const HAS_DISPLACEMENTMAP=!!material.displacementMap;const HAS_EMISSIVEMAP=!!material.emissiveMap;const HAS_METALNESSMAP=!!material.metalnessMap;const HAS_ROUGHNESSMAP=!!material.roughnessMap;const HAS_ANISOTROPY=material.anisotropy&gt;0;const HAS_CLEARCOAT=material.clearcoat&gt;0;const HAS_IRIDESCENCE=material.iridescence&gt;0;const HAS_SHEEN=material.sheen&gt;0;const HAS_TRANSMISSION=material.transmission&gt;0;const HAS_ANISOTROPYMAP=HAS_ANISOTROPY&amp;&amp;!!material.anisotropyMap;const HAS_CLEARCOATMAP=HAS_CLEARCOAT&amp;&amp;!!material.clearcoatMap;const HAS_CLEARCOAT_NORMALMAP=HAS_CLEARCOAT&amp;&amp;!!material.clearcoatNormalMap;const HAS_CLEARCOAT_ROUGHNESSMAP=HAS_CLEARCOAT&amp;&amp;!!material.clearcoatRoughnessMap;const HAS_IRIDESCENCEMAP=HAS_IRIDESCENCE&amp;&amp;!!material.iridescenceMap;const HAS_IRIDESCENCE_THICKNESSMAP=HAS_IRIDESCENCE&amp;&amp;!!material.iridescenceThicknessMap;const HAS_SHEEN_COLORMAP=HAS_SHEEN&amp;&amp;!!material.sheenColorMap;const HAS_SHEEN_ROUGHNESSMAP=HAS_SHEEN&amp;&amp;!!material.sheenRoughnessMap;const HAS_SPECULARMAP=!!material.specularMap;const HAS_SPECULAR_COLORMAP=!!material.specularColorMap;const HAS_SPECULAR_INTENSITYMAP=!!material.specularIntensityMap;const HAS_TRANSMISSIONMAP=HAS_TRANSMISSION&amp;&amp;!!material.transmissionMap;const HAS_THICKNESSMAP=HAS_TRANSMISSION&amp;&amp;!!material.thicknessMap;const HAS_GRADIENTMAP=!!material.gradientMap;const HAS_ALPHAMAP=!!material.alphaMap;const HAS_ALPHATEST=material.alphaTest&gt;0;const HAS_ALPHAHASH=!!material.alphaHash;const HAS_EXTENSIONS=!!material.extensions;let toneMapping=NoToneMapping;if(material.toneMapped){if(currentRenderTarget===null||currentRenderTarget.isXRRenderTarget===true){toneMapping=renderer.toneMapping}}const parameters={shaderID:shaderID,shaderType:material.type,shaderName:material.name,vertexShader:vertexShader,fragmentShader:fragmentShader,defines:material.defines,customVertexShaderID:customVertexShaderID,customFragmentShaderID:customFragmentShaderID,isRawShaderMaterial:material.isRawShaderMaterial===true,glslVersion:material.glslVersion,precision:precision,batching:IS_BATCHEDMESH,instancing:IS_INSTANCEDMESH,instancingColor:IS_INSTANCEDMESH&amp;&amp;object.instanceColor!==null,instancingMorph:IS_INSTANCEDMESH&amp;&amp;object.morphTexture!==null,supportsVertexTextures:SUPPORTS_VERTEX_TEXTURES,outputColorSpace:currentRenderTarget===null?renderer.outputColorSpace:currentRenderTarget.isXRRenderTarget===true?currentRenderTarget.texture.colorSpace:LinearSRGBColorSpace,alphaToCoverage:!!material.alphaToCoverage,map:HAS_MAP,matcap:HAS_MATCAP,envMap:HAS_ENVMAP,envMapMode:HAS_ENVMAP&amp;&amp;envMap.mapping,envMapCubeUVHeight:envMapCubeUVHeight,aoMap:HAS_AOMAP,lightMap:HAS_LIGHTMAP,bumpMap:HAS_BUMPMAP,normalMap:HAS_NORMALMAP,displacementMap:SUPPORTS_VERTEX_TEXTURES&amp;&amp;HAS_DISPLACEMENTMAP,emissiveMap:HAS_EMISSIVEMAP,normalMapObjectSpace:HAS_NORMALMAP&amp;&amp;material.normalMapType===ObjectSpaceNormalMap,normalMapTangentSpace:HAS_NORMALMAP&amp;&amp;material.normalMapType===TangentSpaceNormalMap,metalnessMap:HAS_METALNESSMAP,roughnessMap:HAS_ROUGHNESSMAP,anisotropy:HAS_ANISOTROPY,anisotropyMap:HAS_ANISOTROPYMAP,clearcoat:HAS_CLEARCOAT,clearcoatMap:HAS_CLEARCOATMAP,clearcoatNormalMap:HAS_CLEARCOAT_NORMALMAP,clearcoatRoughnessMap:HAS_CLEARCOAT_ROUGHNESSMAP,iridescence:HAS_IRIDESCENCE,iridescenceMap:HAS_IRIDESCENCEMAP,iridescenceThicknessMap:HAS_IRIDESCENCE_THICKNESSMAP,sheen:HAS_SHEEN,sheenColorMap:HAS_SHEEN_COLORMAP,sheenRoughnessMap:HAS_SHEEN_ROUGHNESSMAP,specularMap:HAS_SPECULARMAP,specularColorMap:HAS_SPECULAR_COLORMAP,specularIntensityMap:HAS_SPECULAR_INTENSITYMAP,transmission:HAS_TRANSMISSION,transmissionMap:HAS_TRANSMISSIONMAP,thicknessMap:HAS_THICKNESSMAP,gradientMap:HAS_GRADIENTMAP,opaque:material.transparent===false&amp;&amp;material.blending===NormalBlending&amp;&amp;material.alphaToCoverage===false,alphaMap:HAS_ALPHAMAP,alphaTest:HAS_ALPHATEST,alphaHash:HAS_ALPHAHASH,combine:material.combine,mapUv:HAS_MAP&amp;&amp;getChannel(material.map.channel),aoMapUv:HAS_AOMAP&amp;&amp;getChannel(material.aoMap.channel),lightMapUv:HAS_LIGHTMAP&amp;&amp;getChannel(material.lightMap.channel),bumpMapUv:HAS_BUMPMAP&amp;&amp;getChannel(material.bumpMap.channel),normalMapUv:HAS_NORMALMAP&amp;&amp;getChannel(material.normalMap.channel),displacementMapUv:HAS_DISPLACEMENTMAP&amp;&amp;getChannel(material.displacementMap.channel),emissiveMapUv:HAS_EMISSIVEMAP&amp;&amp;getChannel(material.emissiveMap.channel),metalnessMapUv:HAS_METALNESSMAP&amp;&amp;getChannel(material.metalnessMap.channel),roughnessMapUv:HAS_ROUGHNESSMAP&amp;&amp;getChannel(material.roughnessMap.channel),anisotropyMapUv:HAS_ANISOTROPYMAP&amp;&amp;getChannel(material.anisotropyMap.channel),clearcoatMapUv:HAS_CLEARCOATMAP&amp;&amp;getChannel(material.clearcoatMap.channel),clearcoatNormalMapUv:HAS_CLEARCOAT_NORMALMAP&amp;&amp;getChannel(material.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:HAS_CLEARCOAT_ROUGHNESSMAP&amp;&amp;getChannel(material.clearcoatRoughnessMap.channel),iridescenceMapUv:HAS_IRIDESCENCEMAP&amp;&amp;getChannel(material.iridescenceMap.channel),iridescenceThicknessMapUv:HAS_IRIDESCENCE_THICKNESSMAP&amp;&amp;getChannel(material.iridescenceThicknessMap.channel),sheenColorMapUv:HAS_SHEEN_COLORMAP&amp;&amp;getChannel(material.sheenColorMap.channel),sheenRoughnessMapUv:HAS_SHEEN_ROUGHNESSMAP&amp;&amp;getChannel(material.sheenRoughnessMap.channel),specularMapUv:HAS_SPECULARMAP&amp;&amp;getChannel(material.specularMap.channel),specularColorMapUv:HAS_SPECULAR_COLORMAP&amp;&amp;getChannel(material.specularColorMap.channel),specularIntensityMapUv:HAS_SPECULAR_INTENSITYMAP&amp;&amp;getChannel(material.specularIntensityMap.channel),transmissionMapUv:HAS_TRANSMISSIONMAP&amp;&amp;getChannel(material.transmissionMap.channel),thicknessMapUv:HAS_THICKNESSMAP&amp;&amp;getChannel(material.thicknessMap.channel),alphaMapUv:HAS_ALPHAMAP&amp;&amp;getChannel(material.alphaMap.channel),vertexTangents:!!geometry.attributes.tangent&amp;&amp;(HAS_NORMALMAP||HAS_ANISOTROPY),vertexColors:material.vertexColors,vertexAlphas:material.vertexColors===true&amp;&amp;!!geometry.attributes.color&amp;&amp;geometry.attributes.color.itemSize===4,pointsUvs:object.isPoints===true&amp;&amp;!!geometry.attributes.uv&amp;&amp;(HAS_MAP||HAS_ALPHAMAP),fog:!!fog,useFog:material.fog===true,fogExp2:!!fog&amp;&amp;fog.isFogExp2,flatShading:material.flatShading===true,sizeAttenuation:material.sizeAttenuation===true,logarithmicDepthBuffer:logarithmicDepthBuffer,skinning:object.isSkinnedMesh===true,morphTargets:geometry.morphAttributes.position!==undefined,morphNormals:geometry.morphAttributes.normal!==undefined,morphColors:geometry.morphAttributes.color!==undefined,morphTargetsCount:morphTargetsCount,morphTextureStride:morphTextureStride,numDirLights:lights.directional.length,numPointLights:lights.point.length,numSpotLights:lights.spot.length,numSpotLightMaps:lights.spotLightMap.length,numRectAreaLights:lights.rectArea.length,numHemiLights:lights.hemi.length,numDirLightShadows:lights.directionalShadowMap.length,numPointLightShadows:lights.pointShadowMap.length,numSpotLightShadows:lights.spotShadowMap.length,numSpotLightShadowsWithMaps:lights.numSpotLightShadowsWithMaps,numLightProbes:lights.numLightProbes,numClippingPlanes:clipping.numPlanes,numClipIntersection:clipping.numIntersection,dithering:material.dithering,shadowMapEnabled:renderer.shadowMap.enabled&amp;&amp;shadows.length&gt;0,shadowMapType:renderer.shadowMap.type,toneMapping:toneMapping,useLegacyLights:renderer._useLegacyLights,decodeVideoTexture:HAS_MAP&amp;&amp;material.map.isVideoTexture===true&amp;&amp;ColorManagement.getTransfer(material.map.colorSpace)===SRGBTransfer,premultipliedAlpha:material.premultipliedAlpha,doubleSided:material.side===DoubleSide,flipSided:material.side===BackSide,useDepthPacking:material.depthPacking&gt;=0,depthPacking:material.depthPacking||0,index0AttributeName:material.index0AttributeName,extensionClipCullDistance:HAS_EXTENSIONS&amp;&amp;material.extensions.clipCullDistance===true&amp;&amp;extensions.has("WEBGL_clip_cull_distance"),extensionMultiDraw:HAS_EXTENSIONS&amp;&amp;material.extensions.multiDraw===true&amp;&amp;extensions.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:extensions.has("KHR_parallel_shader_compile"),customProgramCacheKey:material.customProgramCacheKey()};parameters.vertexUv1s=_activeChannels.has(1);parameters.vertexUv2s=_activeChannels.has(2);parameters.vertexUv3s=_activeChannels.has(3);_activeChannels.clear();return parameters}function getProgramCacheKey(parameters){const array=[];if(parameters.shaderID){array.push(parameters.shaderID)}else{array.push(parameters.customVertexShaderID);array.push(parameters.customFragmentShaderID)}if(parameters.defines!==undefined){for(const name in parameters.defines){array.push(name);array.push(parameters.defines[name])}}if(parameters.isRawShaderMaterial===false){getProgramCacheKeyParameters(array,parameters);getProgramCacheKeyBooleans(array,parameters);array.push(renderer.outputColorSpace)}array.push(parameters.customProgramCacheKey);return array.join()}function getProgramCacheKeyParameters(array,parameters){array.push(parameters.precision);array.push(parameters.outputColorSpace);array.push(parameters.envMapMode);array.push(parameters.envMapCubeUVHeight);array.push(parameters.mapUv);array.push(parameters.alphaMapUv);array.push(parameters.lightMapUv);array.push(parameters.aoMapUv);array.push(parameters.bumpMapUv);array.push(parameters.normalMapUv);array.push(parameters.displacementMapUv);array.push(parameters.emissiveMapUv);array.push(parameters.metalnessMapUv);array.push(parameters.roughnessMapUv);array.push(parameters.anisotropyMapUv);array.push(parameters.clearcoatMapUv);array.push(parameters.clearcoatNormalMapUv);array.push(parameters.clearcoatRoughnessMapUv);array.push(parameters.iridescenceMapUv);array.push(parameters.iridescenceThicknessMapUv);array.push(parameters.sheenColorMapUv);array.push(parameters.sheenRoughnessMapUv);array.push(parameters.specularMapUv);array.push(parameters.specularColorMapUv);array.push(parameters.specularIntensityMapUv);array.push(parameters.transmissionMapUv);array.push(parameters.thicknessMapUv);array.push(parameters.combine);array.push(parameters.fogExp2);array.push(parameters.sizeAttenuation);array.push(parameters.morphTargetsCount);array.push(parameters.morphAttributeCount);array.push(parameters.numDirLights);array.push(parameters.numPointLights);array.push(parameters.numSpotLights);array.push(parameters.numSpotLightMaps);array.push(parameters.numHemiLights);array.push(parameters.numRectAreaLights);array.push(parameters.numDirLightShadows);array.push(parameters.numPointLightShadows);array.push(parameters.numSpotLightShadows);array.push(parameters.numSpotLightShadowsWithMaps);array.push(parameters.numLightProbes);array.push(parameters.shadowMapType);array.push(parameters.toneMapping);array.push(parameters.numClippingPlanes);array.push(parameters.numClipIntersection);array.push(parameters.depthPacking)}function getProgramCacheKeyBooleans(array,parameters){_programLayers.disableAll();if(parameters.supportsVertexTextures)_programLayers.enable(0);if(parameters.instancing)_programLayers.enable(1);if(parameters.instancingColor)_programLayers.enable(2);if(parameters.instancingMorph)_programLayers.enable(3);if(parameters.matcap)_programLayers.enable(4);if(parameters.envMap)_programLayers.enable(5);if(parameters.normalMapObjectSpace)_programLayers.enable(6);if(parameters.normalMapTangentSpace)_programLayers.enable(7);if(parameters.clearcoat)_programLayers.enable(8);if(parameters.iridescence)_programLayers.enable(9);if(parameters.alphaTest)_programLayers.enable(10);if(parameters.vertexColors)_programLayers.enable(11);if(parameters.vertexAlphas)_programLayers.enable(12);if(parameters.vertexUv1s)_programLayers.enable(13);if(parameters.vertexUv2s)_programLayers.enable(14);if(parameters.vertexUv3s)_programLayers.enable(15);if(parameters.vertexTangents)_programLayers.enable(16);if(parameters.anisotropy)_programLayers.enable(17);if(parameters.alphaHash)_programLayers.enable(18);if(parameters.batching)_programLayers.enable(19);array.push(_programLayers.mask);_programLayers.disableAll();if(parameters.fog)_programLayers.enable(0);if(parameters.useFog)_programLayers.enable(1);if(parameters.flatShading)_programLayers.enable(2);if(parameters.logarithmicDepthBuffer)_programLayers.enable(3);if(parameters.skinning)_programLayers.enable(4);if(parameters.morphTargets)_programLayers.enable(5);if(parameters.morphNormals)_programLayers.enable(6);if(parameters.morphColors)_programLayers.enable(7);if(parameters.premultipliedAlpha)_programLayers.enable(8);if(parameters.shadowMapEnabled)_programLayers.enable(9);if(parameters.useLegacyLights)_programLayers.enable(10);if(parameters.doubleSided)_programLayers.enable(11);if(parameters.flipSided)_programLayers.enable(12);if(parameters.useDepthPacking)_programLayers.enable(13);if(parameters.dithering)_programLayers.enable(14);if(parameters.transmission)_programLayers.enable(15);if(parameters.sheen)_programLayers.enable(16);if(parameters.opaque)_programLayers.enable(17);if(parameters.pointsUvs)_programLayers.enable(18);if(parameters.decodeVideoTexture)_programLayers.enable(19);if(parameters.alphaToCoverage)_programLayers.enable(20);array.push(_programLayers.mask)}function getUniforms(material){const shaderID=shaderIDs[material.type];let uniforms;if(shaderID){const shader=ShaderLib[shaderID];uniforms=UniformsUtils.clone(shader.uniforms)}else{uniforms=material.uniforms}return uniforms}function acquireProgram(parameters,cacheKey){let program;for(let p=0,pl=programs.length;p&lt;pl;p++){const preexistingProgram=programs[p];if(preexistingProgram.cacheKey===cacheKey){program=preexistingProgram;++program.usedTimes;break}}if(program===undefined){program=new WebGLProgram(renderer,cacheKey,parameters,bindingStates);programs.push(program)}return program}function releaseProgram(program){if(--program.usedTimes===0){const i=programs.indexOf(program);programs[i]=programs[programs.length-1];programs.pop();program.destroy()}}function releaseShaderCache(material){_customShaders.remove(material)}function dispose(){_customShaders.dispose()}return{getParameters:getParameters,getProgramCacheKey:getProgramCacheKey,getUniforms:getUniforms,acquireProgram:acquireProgram,releaseProgram:releaseProgram,releaseShaderCache:releaseShaderCache,programs:programs,dispose:dispose}}function WebGLProperties(){let properties=new WeakMap;function get(object){let map=properties.get(object);if(map===undefined){map={};properties.set(object,map)}return map}function remove(object){properties.delete(object)}function update(object,key,value){properties.get(object)[key]=value}function dispose(){properties=new WeakMap}return{get:get,remove:remove,update:update,dispose:dispose}}function painterSortStable(a,b){if(a.groupOrder!==b.groupOrder){return a.groupOrder-b.groupOrder}else if(a.renderOrder!==b.renderOrder){return a.renderOrder-b.renderOrder}else if(a.material.id!==b.material.id){return a.material.id-b.material.id}else if(a.z!==b.z){return a.z-b.z}else{return a.id-b.id}}function reversePainterSortStable(a,b){if(a.groupOrder!==b.groupOrder){return a.groupOrder-b.groupOrder}else if(a.renderOrder!==b.renderOrder){return a.renderOrder-b.renderOrder}else if(a.z!==b.z){return b.z-a.z}else{return a.id-b.id}}function WebGLRenderList(){const renderItems=[];let renderItemsIndex=0;const opaque=[];const transmissive=[];const transparent=[];function init(){renderItemsIndex=0;opaque.length=0;transmissive.length=0;transparent.length=0}function getNextRenderItem(object,geometry,material,groupOrder,z,group){let renderItem=renderItems[renderItemsIndex];if(renderItem===undefined){renderItem={id:object.id,object:object,geometry:geometry,material:material,groupOrder:groupOrder,renderOrder:object.renderOrder,z:z,group:group};renderItems[renderItemsIndex]=renderItem}else{renderItem.id=object.id;renderItem.object=object;renderItem.geometry=geometry;renderItem.material=material;renderItem.groupOrder=groupOrder;renderItem.renderOrder=object.renderOrder;renderItem.z=z;renderItem.group=group}renderItemsIndex++;return renderItem}function push(object,geometry,material,groupOrder,z,group){const renderItem=getNextRenderItem(object,geometry,material,groupOrder,z,group);if(material.transmission&gt;0){transmissive.push(renderItem)}else if(material.transparent===true){transparent.push(renderItem)}else{opaque.push(renderItem)}}function unshift(object,geometry,material,groupOrder,z,group){const renderItem=getNextRenderItem(object,geometry,material,groupOrder,z,group);if(material.transmission&gt;0){transmissive.unshift(renderItem)}else if(material.transparent===true){transparent.unshift(renderItem)}else{opaque.unshift(renderItem)}}function sort(customOpaqueSort,customTransparentSort){if(opaque.length&gt;1)opaque.sort(customOpaqueSort||painterSortStable);if(transmissive.length&gt;1)transmissive.sort(customTransparentSort||reversePainterSortStable);if(transparent.length&gt;1)transparent.sort(customTransparentSort||reversePainterSortStable)}function finish(){for(let i=renderItemsIndex,il=renderItems.length;i&lt;il;i++){const renderItem=renderItems[i];if(renderItem.id===null)break;renderItem.id=null;renderItem.object=null;renderItem.geometry=null;renderItem.material=null;renderItem.group=null}}return{opaque:opaque,transmissive:transmissive,transparent:transparent,init:init,push:push,unshift:unshift,finish:finish,sort:sort}}function WebGLRenderLists(){let lists=new WeakMap;function get(scene,renderCallDepth){const listArray=lists.get(scene);let list;if(listArray===undefined){list=new WebGLRenderList;lists.set(scene,[list])}else{if(renderCallDepth&gt;=listArray.length){list=new WebGLRenderList;listArray.push(list)}else{list=listArray[renderCallDepth]}}return list}function dispose(){lists=new WeakMap}return{get:get,dispose:dispose}}function UniformsCache(){const lights={};return{get:function(light){if(lights[light.id]!==undefined){return lights[light.id]}let uniforms;switch(light.type){case"DirectionalLight":uniforms={direction:new Vector3,color:new Color};break;case"SpotLight":uniforms={position:new Vector3,direction:new Vector3,color:new Color,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":uniforms={position:new Vector3,color:new Color,distance:0,decay:0};break;case"HemisphereLight":uniforms={direction:new Vector3,skyColor:new Color,groundColor:new Color};break;case"RectAreaLight":uniforms={color:new Color,position:new Vector3,halfWidth:new Vector3,halfHeight:new Vector3};break;}lights[light.id]=uniforms;return uniforms}}}function ShadowUniformsCache(){const lights={};return{get:function(light){if(lights[light.id]!==undefined){return lights[light.id]}let uniforms;switch(light.type){case"DirectionalLight":uniforms={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2};break;case"SpotLight":uniforms={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2};break;case"PointLight":uniforms={shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2,shadowCameraNear:1,shadowCameraFar:1000};break;}lights[light.id]=uniforms;return uniforms}}}let nextVersion=0;function shadowCastingAndTexturingLightsFirst(lightA,lightB){return(lightB.castShadow?2:0)-(lightA.castShadow?2:0)+(lightB.map?1:0)-(lightA.map?1:0)}function WebGLLights(extensions){const cache=new UniformsCache;const shadowCache=ShadowUniformsCache();const state={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let i=0;i&lt;9;i++)state.probe.push(new Vector3);const vector3=new Vector3;const matrix4=new Matrix4;const matrix42=new Matrix4;function setup(lights,useLegacyLights){let r=0,g=0,b=0;for(let i=0;i&lt;9;i++)state.probe[i].set(0,0,0);let directionalLength=0;let pointLength=0;let spotLength=0;let rectAreaLength=0;let hemiLength=0;let numDirectionalShadows=0;let numPointShadows=0;let numSpotShadows=0;let numSpotMaps=0;let numSpotShadowsWithMaps=0;let numLightProbes=0;lights.sort(shadowCastingAndTexturingLightsFirst);const scaleFactor=useLegacyLights===true?Math.PI:1;for(let i=0,l=lights.length;i&lt;l;i++){const light=lights[i];const color=light.color;const intensity=light.intensity;const distance=light.distance;const shadowMap=light.shadow&amp;&amp;light.shadow.map?light.shadow.map.texture:null;if(light.isAmbientLight){r+=color.r*intensity*scaleFactor;g+=color.g*intensity*scaleFactor;b+=color.b*intensity*scaleFactor}else if(light.isLightProbe){for(let j=0;j&lt;9;j++){state.probe[j].addScaledVector(light.sh.coefficients[j],intensity)}numLightProbes++}else if(light.isDirectionalLight){const uniforms=cache.get(light);uniforms.color.copy(light.color).multiplyScalar(light.intensity*scaleFactor);if(light.castShadow){const shadow=light.shadow;const shadowUniforms=shadowCache.get(light);shadowUniforms.shadowBias=shadow.bias;shadowUniforms.shadowNormalBias=shadow.normalBias;shadowUniforms.shadowRadius=shadow.radius;shadowUniforms.shadowMapSize=shadow.mapSize;state.directionalShadow[directionalLength]=shadowUniforms;state.directionalShadowMap[directionalLength]=shadowMap;state.directionalShadowMatrix[directionalLength]=light.shadow.matrix;numDirectionalShadows++}state.directional[directionalLength]=uniforms;directionalLength++}else if(light.isSpotLight){const uniforms=cache.get(light);uniforms.position.setFromMatrixPosition(light.matrixWorld);uniforms.color.copy(color).multiplyScalar(intensity*scaleFactor);uniforms.distance=distance;uniforms.coneCos=Math.cos(light.angle);uniforms.penumbraCos=Math.cos(light.angle*(1-light.penumbra));uniforms.decay=light.decay;state.spot[spotLength]=uniforms;const shadow=light.shadow;if(light.map){state.spotLightMap[numSpotMaps]=light.map;numSpotMaps++;shadow.updateMatrices(light);if(light.castShadow)numSpotShadowsWithMaps++}state.spotLightMatrix[spotLength]=shadow.matrix;if(light.castShadow){const shadowUniforms=shadowCache.get(light);shadowUniforms.shadowBias=shadow.bias;shadowUniforms.shadowNormalBias=shadow.normalBias;shadowUniforms.shadowRadius=shadow.radius;shadowUniforms.shadowMapSize=shadow.mapSize;state.spotShadow[spotLength]=shadowUniforms;state.spotShadowMap[spotLength]=shadowMap;numSpotShadows++}spotLength++}else if(light.isRectAreaLight){const uniforms=cache.get(light);uniforms.color.copy(color).multiplyScalar(intensity);uniforms.halfWidth.set(light.width*0.5,0,0);uniforms.halfHeight.set(0,light.height*0.5,0);state.rectArea[rectAreaLength]=uniforms;rectAreaLength++}else if(light.isPointLight){const uniforms=cache.get(light);uniforms.color.copy(light.color).multiplyScalar(light.intensity*scaleFactor);uniforms.distance=light.distance;uniforms.decay=light.decay;if(light.castShadow){const shadow=light.shadow;const shadowUniforms=shadowCache.get(light);shadowUniforms.shadowBias=shadow.bias;shadowUniforms.shadowNormalBias=shadow.normalBias;shadowUniforms.shadowRadius=shadow.radius;shadowUniforms.shadowMapSize=shadow.mapSize;shadowUniforms.shadowCameraNear=shadow.camera.near;shadowUniforms.shadowCameraFar=shadow.camera.far;state.pointShadow[pointLength]=shadowUniforms;state.pointShadowMap[pointLength]=shadowMap;state.pointShadowMatrix[pointLength]=light.shadow.matrix;numPointShadows++}state.point[pointLength]=uniforms;pointLength++}else if(light.isHemisphereLight){const uniforms=cache.get(light);uniforms.skyColor.copy(light.color).multiplyScalar(intensity*scaleFactor);uniforms.groundColor.copy(light.groundColor).multiplyScalar(intensity*scaleFactor);state.hemi[hemiLength]=uniforms;hemiLength++}}if(rectAreaLength&gt;0){if(extensions.has("OES_texture_float_linear")===true){state.rectAreaLTC1=UniformsLib.LTC_FLOAT_1;state.rectAreaLTC2=UniformsLib.LTC_FLOAT_2}else{state.rectAreaLTC1=UniformsLib.LTC_HALF_1;state.rectAreaLTC2=UniformsLib.LTC_HALF_2}}state.ambient[0]=r;state.ambient[1]=g;state.ambient[2]=b;const hash=state.hash;if(hash.directionalLength!==directionalLength||hash.pointLength!==pointLength||hash.spotLength!==spotLength||hash.rectAreaLength!==rectAreaLength||hash.hemiLength!==hemiLength||hash.numDirectionalShadows!==numDirectionalShadows||hash.numPointShadows!==numPointShadows||hash.numSpotShadows!==numSpotShadows||hash.numSpotMaps!==numSpotMaps||hash.numLightProbes!==numLightProbes){state.directional.length=directionalLength;state.spot.length=spotLength;state.rectArea.length=rectAreaLength;state.point.length=pointLength;state.hemi.length=hemiLength;state.directionalShadow.length=numDirectionalShadows;state.directionalShadowMap.length=numDirectionalShadows;state.pointShadow.length=numPointShadows;state.pointShadowMap.length=numPointShadows;state.spotShadow.length=numSpotShadows;state.spotShadowMap.length=numSpotShadows;state.directionalShadowMatrix.length=numDirectionalShadows;state.pointShadowMatrix.length=numPointShadows;state.spotLightMatrix.length=numSpotShadows+numSpotMaps-numSpotShadowsWithMaps;state.spotLightMap.length=numSpotMaps;state.numSpotLightShadowsWithMaps=numSpotShadowsWithMaps;state.numLightProbes=numLightProbes;hash.directionalLength=directionalLength;hash.pointLength=pointLength;hash.spotLength=spotLength;hash.rectAreaLength=rectAreaLength;hash.hemiLength=hemiLength;hash.numDirectionalShadows=numDirectionalShadows;hash.numPointShadows=numPointShadows;hash.numSpotShadows=numSpotShadows;hash.numSpotMaps=numSpotMaps;hash.numLightProbes=numLightProbes;state.version=nextVersion++}}function setupView(lights,camera){let directionalLength=0;let pointLength=0;let spotLength=0;let rectAreaLength=0;let hemiLength=0;const viewMatrix=camera.matrixWorldInverse;for(let i=0,l=lights.length;i&lt;l;i++){const light=lights[i];if(light.isDirectionalLight){const uniforms=state.directional[directionalLength];uniforms.direction.setFromMatrixPosition(light.matrixWorld);vector3.setFromMatrixPosition(light.target.matrixWorld);uniforms.direction.sub(vector3);uniforms.direction.transformDirection(viewMatrix);directionalLength++}else if(light.isSpotLight){const uniforms=state.spot[spotLength];uniforms.position.setFromMatrixPosition(light.matrixWorld);uniforms.position.applyMatrix4(viewMatrix);uniforms.direction.setFromMatrixPosition(light.matrixWorld);vector3.setFromMatrixPosition(light.target.matrixWorld);uniforms.direction.sub(vector3);uniforms.direction.transformDirection(viewMatrix);spotLength++}else if(light.isRectAreaLight){const uniforms=state.rectArea[rectAreaLength];uniforms.position.setFromMatrixPosition(light.matrixWorld);uniforms.position.applyMatrix4(viewMatrix);matrix42.identity();matrix4.copy(light.matrixWorld);matrix4.premultiply(viewMatrix);matrix42.extractRotation(matrix4);uniforms.halfWidth.set(light.width*0.5,0,0);uniforms.halfHeight.set(0,light.height*0.5,0);uniforms.halfWidth.applyMatrix4(matrix42);uniforms.halfHeight.applyMatrix4(matrix42);rectAreaLength++}else if(light.isPointLight){const uniforms=state.point[pointLength];uniforms.position.setFromMatrixPosition(light.matrixWorld);uniforms.position.applyMatrix4(viewMatrix);pointLength++}else if(light.isHemisphereLight){const uniforms=state.hemi[hemiLength];uniforms.direction.setFromMatrixPosition(light.matrixWorld);uniforms.direction.transformDirection(viewMatrix);hemiLength++}}}return{setup:setup,setupView:setupView,state:state}}function WebGLRenderState(extensions){const lights=new WebGLLights(extensions);const lightsArray=[];const shadowsArray=[];function init(){lightsArray.length=0;shadowsArray.length=0}function pushLight(light){lightsArray.push(light)}function pushShadow(shadowLight){shadowsArray.push(shadowLight)}function setupLights(useLegacyLights){lights.setup(lightsArray,useLegacyLights)}function setupLightsView(camera){lights.setupView(lightsArray,camera)}const state={lightsArray:lightsArray,shadowsArray:shadowsArray,lights:lights,transmissionRenderTarget:null};return{init:init,state:state,setupLights:setupLights,setupLightsView:setupLightsView,pushLight:pushLight,pushShadow:pushShadow}}function WebGLRenderStates(extensions){let renderStates=new WeakMap;function get(scene,renderCallDepth=0){const renderStateArray=renderStates.get(scene);let renderState;if(renderStateArray===undefined){renderState=new WebGLRenderState(extensions);renderStates.set(scene,[renderState])}else{if(renderCallDepth&gt;=renderStateArray.length){renderState=new WebGLRenderState(extensions);renderStateArray.push(renderState)}else{renderState=renderStateArray[renderCallDepth]}}return renderState}function dispose(){renderStates=new WeakMap}return{get:get,dispose:dispose}}class MeshDepthMaterial extends Material{constructor(parameters){super();this.isMeshDepthMaterial=true;this.type="MeshDepthMaterial";this.depthPacking=BasicDepthPacking;this.map=null;this.alphaMap=null;this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=false;this.wireframeLinewidth=1;this.setValues(parameters)}copy(source){super.copy(source);this.depthPacking=source.depthPacking;this.map=source.map;this.alphaMap=source.alphaMap;this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;return this}}class MeshDistanceMaterial extends Material{constructor(parameters){super();this.isMeshDistanceMaterial=true;this.type="MeshDistanceMaterial";this.map=null;this.alphaMap=null;this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.setValues(parameters)}copy(source){super.copy(source);this.map=source.map;this.alphaMap=source.alphaMap;this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;return this}}const vertex="void main() {\n\tgl_Position = vec4( position, 1.0 );\n}";const fragment="uniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n#include &lt;packing&gt;\nvoid main() {\n\tconst float samples = float( VSM_SAMPLES );\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\tfloat uvStride = samples &lt;= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples &lt;= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i &lt; samples; i ++ ) {\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\t\t#ifdef HORIZONTAL_PASS\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\t\t#else\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\t\t#endif\n\t}\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n}";function WebGLShadowMap(_renderer,_objects,_capabilities){let _frustum=new Frustum;const _shadowMapSize=new Vector2,_viewportSize=new Vector2,_viewport=new Vector4,_depthMaterial=new MeshDepthMaterial({depthPacking:RGBADepthPacking}),_distanceMaterial=new MeshDistanceMaterial,_materialCache={},_maxTextureSize=_capabilities.maxTextureSize;const shadowSide={[FrontSide]:BackSide,[BackSide]:FrontSide,[DoubleSide]:DoubleSide};const shadowMaterialVertical=new ShaderMaterial({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Vector2},radius:{value:4}},vertexShader:vertex,fragmentShader:fragment});const shadowMaterialHorizontal=shadowMaterialVertical.clone();shadowMaterialHorizontal.defines.HORIZONTAL_PASS=1;const fullScreenTri=new BufferGeometry;fullScreenTri.setAttribute("position",new BufferAttribute(new Float32Array([-1,-1,0.5,3,-1,0.5,-1,3,0.5]),3));const fullScreenMesh=new Mesh(fullScreenTri,shadowMaterialVertical);const scope=this;this.enabled=false;this.autoUpdate=true;this.needsUpdate=false;this.type=PCFShadowMap;let _previousType=this.type;this.render=function(lights,scene,camera){if(scope.enabled===false)return;if(scope.autoUpdate===false&amp;&amp;scope.needsUpdate===false)return;if(lights.length===0)return;const currentRenderTarget=_renderer.getRenderTarget();const activeCubeFace=_renderer.getActiveCubeFace();const activeMipmapLevel=_renderer.getActiveMipmapLevel();const _state=_renderer.state;_state.setBlending(NoBlending);_state.buffers.color.setClear(1,1,1,1);_state.buffers.depth.setTest(true);_state.setScissorTest(false);const toVSM=_previousType!==VSMShadowMap&amp;&amp;this.type===VSMShadowMap;const fromVSM=_previousType===VSMShadowMap&amp;&amp;this.type!==VSMShadowMap;for(let i=0,il=lights.length;i&lt;il;i++){const light=lights[i];const shadow=light.shadow;if(shadow===undefined){console.warn("THREE.WebGLShadowMap:",light,"has no shadow.");continue}if(shadow.autoUpdate===false&amp;&amp;shadow.needsUpdate===false)continue;_shadowMapSize.copy(shadow.mapSize);const shadowFrameExtents=shadow.getFrameExtents();_shadowMapSize.multiply(shadowFrameExtents);_viewportSize.copy(shadow.mapSize);if(_shadowMapSize.x&gt;_maxTextureSize||_shadowMapSize.y&gt;_maxTextureSize){if(_shadowMapSize.x&gt;_maxTextureSize){_viewportSize.x=Math.floor(_maxTextureSize/shadowFrameExtents.x);_shadowMapSize.x=_viewportSize.x*shadowFrameExtents.x;shadow.mapSize.x=_viewportSize.x}if(_shadowMapSize.y&gt;_maxTextureSize){_viewportSize.y=Math.floor(_maxTextureSize/shadowFrameExtents.y);_shadowMapSize.y=_viewportSize.y*shadowFrameExtents.y;shadow.mapSize.y=_viewportSize.y}}if(shadow.map===null||toVSM===true||fromVSM===true){const pars=this.type!==VSMShadowMap?{minFilter:NearestFilter,magFilter:NearestFilter}:{};if(shadow.map!==null){shadow.map.dispose()}shadow.map=new WebGLRenderTarget(_shadowMapSize.x,_shadowMapSize.y,pars);shadow.map.texture.name=light.name+".shadowMap";shadow.camera.updateProjectionMatrix()}_renderer.setRenderTarget(shadow.map);_renderer.clear();const viewportCount=shadow.getViewportCount();for(let vp=0;vp&lt;viewportCount;vp++){const viewport=shadow.getViewport(vp);_viewport.set(_viewportSize.x*viewport.x,_viewportSize.y*viewport.y,_viewportSize.x*viewport.z,_viewportSize.y*viewport.w);_state.viewport(_viewport);shadow.updateMatrices(light,vp);_frustum=shadow.getFrustum();renderObject(scene,camera,shadow.camera,light,this.type)}if(shadow.isPointLightShadow!==true&amp;&amp;this.type===VSMShadowMap){VSMPass(shadow,camera)}shadow.needsUpdate=false}_previousType=this.type;scope.needsUpdate=false;_renderer.setRenderTarget(currentRenderTarget,activeCubeFace,activeMipmapLevel)};function VSMPass(shadow,camera){const geometry=_objects.update(fullScreenMesh);if(shadowMaterialVertical.defines.VSM_SAMPLES!==shadow.blurSamples){shadowMaterialVertical.defines.VSM_SAMPLES=shadow.blurSamples;shadowMaterialHorizontal.defines.VSM_SAMPLES=shadow.blurSamples;shadowMaterialVertical.needsUpdate=true;shadowMaterialHorizontal.needsUpdate=true}if(shadow.mapPass===null){shadow.mapPass=new WebGLRenderTarget(_shadowMapSize.x,_shadowMapSize.y)}shadowMaterialVertical.uniforms.shadow_pass.value=shadow.map.texture;shadowMaterialVertical.uniforms.resolution.value=shadow.mapSize;shadowMaterialVertical.uniforms.radius.value=shadow.radius;_renderer.setRenderTarget(shadow.mapPass);_renderer.clear();_renderer.renderBufferDirect(camera,null,geometry,shadowMaterialVertical,fullScreenMesh,null);shadowMaterialHorizontal.uniforms.shadow_pass.value=shadow.mapPass.texture;shadowMaterialHorizontal.uniforms.resolution.value=shadow.mapSize;shadowMaterialHorizontal.uniforms.radius.value=shadow.radius;_renderer.setRenderTarget(shadow.map);_renderer.clear();_renderer.renderBufferDirect(camera,null,geometry,shadowMaterialHorizontal,fullScreenMesh,null)}function getDepthMaterial(object,material,light,type){let result=null;const customMaterial=light.isPointLight===true?object.customDistanceMaterial:object.customDepthMaterial;if(customMaterial!==undefined){result=customMaterial}else{result=light.isPointLight===true?_distanceMaterial:_depthMaterial;if(_renderer.localClippingEnabled&amp;&amp;material.clipShadows===true&amp;&amp;Array.isArray(material.clippingPlanes)&amp;&amp;material.clippingPlanes.length!==0||material.displacementMap&amp;&amp;material.displacementScale!==0||material.alphaMap&amp;&amp;material.alphaTest&gt;0||material.map&amp;&amp;material.alphaTest&gt;0){const keyA=result.uuid,keyB=material.uuid;let materialsForVariant=_materialCache[keyA];if(materialsForVariant===undefined){materialsForVariant={};_materialCache[keyA]=materialsForVariant}let cachedMaterial=materialsForVariant[keyB];if(cachedMaterial===undefined){cachedMaterial=result.clone();materialsForVariant[keyB]=cachedMaterial;material.addEventListener("dispose",onMaterialDispose)}result=cachedMaterial}}result.visible=material.visible;result.wireframe=material.wireframe;if(type===VSMShadowMap){result.side=material.shadowSide!==null?material.shadowSide:material.side}else{result.side=material.shadowSide!==null?material.shadowSide:shadowSide[material.side]}result.alphaMap=material.alphaMap;result.alphaTest=material.alphaTest;result.map=material.map;result.clipShadows=material.clipShadows;result.clippingPlanes=material.clippingPlanes;result.clipIntersection=material.clipIntersection;result.displacementMap=material.displacementMap;result.displacementScale=material.displacementScale;result.displacementBias=material.displacementBias;result.wireframeLinewidth=material.wireframeLinewidth;result.linewidth=material.linewidth;if(light.isPointLight===true&amp;&amp;result.isMeshDistanceMaterial===true){const materialProperties=_renderer.properties.get(result);materialProperties.light=light}return result}function renderObject(object,camera,shadowCamera,light,type){if(object.visible===false)return;const visible=object.layers.test(camera.layers);if(visible&amp;&amp;(object.isMesh||object.isLine||object.isPoints)){if((object.castShadow||object.receiveShadow&amp;&amp;type===VSMShadowMap)&amp;&amp;(!object.frustumCulled||_frustum.intersectsObject(object))){object.modelViewMatrix.multiplyMatrices(shadowCamera.matrixWorldInverse,object.matrixWorld);const geometry=_objects.update(object);const material=object.material;if(Array.isArray(material)){const groups=geometry.groups;for(let k=0,kl=groups.length;k&lt;kl;k++){const group=groups[k];const groupMaterial=material[group.materialIndex];if(groupMaterial&amp;&amp;groupMaterial.visible){const depthMaterial=getDepthMaterial(object,groupMaterial,light,type);object.onBeforeShadow(_renderer,object,camera,shadowCamera,geometry,depthMaterial,group);_renderer.renderBufferDirect(shadowCamera,null,geometry,depthMaterial,object,group);object.onAfterShadow(_renderer,object,camera,shadowCamera,geometry,depthMaterial,group)}}}else if(material.visible){const depthMaterial=getDepthMaterial(object,material,light,type);object.onBeforeShadow(_renderer,object,camera,shadowCamera,geometry,depthMaterial,null);_renderer.renderBufferDirect(shadowCamera,null,geometry,depthMaterial,object,null);object.onAfterShadow(_renderer,object,camera,shadowCamera,geometry,depthMaterial,null)}}}const children=object.children;for(let i=0,l=children.length;i&lt;l;i++){renderObject(children[i],camera,shadowCamera,light,type)}}function onMaterialDispose(event){const material=event.target;material.removeEventListener("dispose",onMaterialDispose);for(const id in _materialCache){const cache=_materialCache[id];const uuid=event.target.uuid;if(uuid in cache){const shadowMaterial=cache[uuid];shadowMaterial.dispose();delete cache[uuid]}}}}function WebGLState(gl){function ColorBuffer(){let locked=false;const color=new Vector4;let currentColorMask=null;const currentColorClear=new Vector4(0,0,0,0);return{setMask:function(colorMask){if(currentColorMask!==colorMask&amp;&amp;!locked){gl.colorMask(colorMask,colorMask,colorMask,colorMask);currentColorMask=colorMask}},setLocked:function(lock){locked=lock},setClear:function(r,g,b,a,premultipliedAlpha){if(premultipliedAlpha===true){r*=a;g*=a;b*=a}color.set(r,g,b,a);if(currentColorClear.equals(color)===false){gl.clearColor(r,g,b,a);currentColorClear.copy(color)}},reset:function(){locked=false;currentColorMask=null;currentColorClear.set(-1,0,0,0)}}}function DepthBuffer(){let locked=false;let currentDepthMask=null;let currentDepthFunc=null;let currentDepthClear=null;return{setTest:function(depthTest){if(depthTest){enable(gl.DEPTH_TEST)}else{disable(gl.DEPTH_TEST)}},setMask:function(depthMask){if(currentDepthMask!==depthMask&amp;&amp;!locked){gl.depthMask(depthMask);currentDepthMask=depthMask}},setFunc:function(depthFunc){if(currentDepthFunc!==depthFunc){switch(depthFunc){case NeverDepth:gl.depthFunc(gl.NEVER);break;case AlwaysDepth:gl.depthFunc(gl.ALWAYS);break;case LessDepth:gl.depthFunc(gl.LESS);break;case LessEqualDepth:gl.depthFunc(gl.LEQUAL);break;case EqualDepth:gl.depthFunc(gl.EQUAL);break;case GreaterEqualDepth:gl.depthFunc(gl.GEQUAL);break;case GreaterDepth:gl.depthFunc(gl.GREATER);break;case NotEqualDepth:gl.depthFunc(gl.NOTEQUAL);break;default:gl.depthFunc(gl.LEQUAL);}currentDepthFunc=depthFunc}},setLocked:function(lock){locked=lock},setClear:function(depth){if(currentDepthClear!==depth){gl.clearDepth(depth);currentDepthClear=depth}},reset:function(){locked=false;currentDepthMask=null;currentDepthFunc=null;currentDepthClear=null}}}function StencilBuffer(){let locked=false;let currentStencilMask=null;let currentStencilFunc=null;let currentStencilRef=null;let currentStencilFuncMask=null;let currentStencilFail=null;let currentStencilZFail=null;let currentStencilZPass=null;let currentStencilClear=null;return{setTest:function(stencilTest){if(!locked){if(stencilTest){enable(gl.STENCIL_TEST)}else{disable(gl.STENCIL_TEST)}}},setMask:function(stencilMask){if(currentStencilMask!==stencilMask&amp;&amp;!locked){gl.stencilMask(stencilMask);currentStencilMask=stencilMask}},setFunc:function(stencilFunc,stencilRef,stencilMask){if(currentStencilFunc!==stencilFunc||currentStencilRef!==stencilRef||currentStencilFuncMask!==stencilMask){gl.stencilFunc(stencilFunc,stencilRef,stencilMask);currentStencilFunc=stencilFunc;currentStencilRef=stencilRef;currentStencilFuncMask=stencilMask}},setOp:function(stencilFail,stencilZFail,stencilZPass){if(currentStencilFail!==stencilFail||currentStencilZFail!==stencilZFail||currentStencilZPass!==stencilZPass){gl.stencilOp(stencilFail,stencilZFail,stencilZPass);currentStencilFail=stencilFail;currentStencilZFail=stencilZFail;currentStencilZPass=stencilZPass}},setLocked:function(lock){locked=lock},setClear:function(stencil){if(currentStencilClear!==stencil){gl.clearStencil(stencil);currentStencilClear=stencil}},reset:function(){locked=false;currentStencilMask=null;currentStencilFunc=null;currentStencilRef=null;currentStencilFuncMask=null;currentStencilFail=null;currentStencilZFail=null;currentStencilZPass=null;currentStencilClear=null}}}const colorBuffer=new ColorBuffer;const depthBuffer=new DepthBuffer;const stencilBuffer=new StencilBuffer;const uboBindings=new WeakMap;const uboProgramMap=new WeakMap;let enabledCapabilities={};let currentBoundFramebuffers={};let currentDrawbuffers=new WeakMap;let defaultDrawbuffers=[];let currentProgram=null;let currentBlendingEnabled=false;let currentBlending=null;let currentBlendEquation=null;let currentBlendSrc=null;let currentBlendDst=null;let currentBlendEquationAlpha=null;let currentBlendSrcAlpha=null;let currentBlendDstAlpha=null;let currentBlendColor=new Color(0,0,0);let currentBlendAlpha=0;let currentPremultipledAlpha=false;let currentFlipSided=null;let currentCullFace=null;let currentLineWidth=null;let currentPolygonOffsetFactor=null;let currentPolygonOffsetUnits=null;const maxTextures=gl.getParameter(gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let lineWidthAvailable=false;let version=0;const glVersion=gl.getParameter(gl.VERSION);if(glVersion.indexOf("WebGL")!==-1){version=parseFloat(/^WebGL (\d)/.exec(glVersion)[1]);lineWidthAvailable=version&gt;=1}else if(glVersion.indexOf("OpenGL ES")!==-1){version=parseFloat(/^OpenGL ES (\d)/.exec(glVersion)[1]);lineWidthAvailable=version&gt;=2}let currentTextureSlot=null;let currentBoundTextures={};const scissorParam=gl.getParameter(gl.SCISSOR_BOX);const viewportParam=gl.getParameter(gl.VIEWPORT);const currentScissor=new Vector4().fromArray(scissorParam);const currentViewport=new Vector4().fromArray(viewportParam);function createTexture(type,target,count,dimensions){const data=new Uint8Array(4);const texture=gl.createTexture();gl.bindTexture(type,texture);gl.texParameteri(type,gl.TEXTURE_MIN_FILTER,gl.NEAREST);gl.texParameteri(type,gl.TEXTURE_MAG_FILTER,gl.NEAREST);for(let i=0;i&lt;count;i++){if(type===gl.TEXTURE_3D||type===gl.TEXTURE_2D_ARRAY){gl.texImage3D(target,0,gl.RGBA,1,1,dimensions,0,gl.RGBA,gl.UNSIGNED_BYTE,data)}else{gl.texImage2D(target+i,0,gl.RGBA,1,1,0,gl.RGBA,gl.UNSIGNED_BYTE,data)}}return texture}const emptyTextures={};emptyTextures[gl.TEXTURE_2D]=createTexture(gl.TEXTURE_2D,gl.TEXTURE_2D,1);emptyTextures[gl.TEXTURE_CUBE_MAP]=createTexture(gl.TEXTURE_CUBE_MAP,gl.TEXTURE_CUBE_MAP_POSITIVE_X,6);emptyTextures[gl.TEXTURE_2D_ARRAY]=createTexture(gl.TEXTURE_2D_ARRAY,gl.TEXTURE_2D_ARRAY,1,1);emptyTextures[gl.TEXTURE_3D]=createTexture(gl.TEXTURE_3D,gl.TEXTURE_3D,1,1);colorBuffer.setClear(0,0,0,1);depthBuffer.setClear(1);stencilBuffer.setClear(0);enable(gl.DEPTH_TEST);depthBuffer.setFunc(LessEqualDepth);setFlipSided(false);setCullFace(CullFaceBack);enable(gl.CULL_FACE);setBlending(NoBlending);function enable(id){if(enabledCapabilities[id]!==true){gl.enable(id);enabledCapabilities[id]=true}}function disable(id){if(enabledCapabilities[id]!==false){gl.disable(id);enabledCapabilities[id]=false}}function bindFramebuffer(target,framebuffer){if(currentBoundFramebuffers[target]!==framebuffer){gl.bindFramebuffer(target,framebuffer);currentBoundFramebuffers[target]=framebuffer;if(target===gl.DRAW_FRAMEBUFFER){currentBoundFramebuffers[gl.FRAMEBUFFER]=framebuffer}if(target===gl.FRAMEBUFFER){currentBoundFramebuffers[gl.DRAW_FRAMEBUFFER]=framebuffer}return true}return false}function drawBuffers(renderTarget,framebuffer){let drawBuffers=defaultDrawbuffers;let needsUpdate=false;if(renderTarget){drawBuffers=currentDrawbuffers.get(framebuffer);if(drawBuffers===undefined){drawBuffers=[];currentDrawbuffers.set(framebuffer,drawBuffers)}const textures=renderTarget.textures;if(drawBuffers.length!==textures.length||drawBuffers[0]!==gl.COLOR_ATTACHMENT0){for(let i=0,il=textures.length;i&lt;il;i++){drawBuffers[i]=gl.COLOR_ATTACHMENT0+i}drawBuffers.length=textures.length;needsUpdate=true}}else{if(drawBuffers[0]!==gl.BACK){drawBuffers[0]=gl.BACK;needsUpdate=true}}if(needsUpdate){gl.drawBuffers(drawBuffers)}}function useProgram(program){if(currentProgram!==program){gl.useProgram(program);currentProgram=program;return true}return false}const equationToGL={[AddEquation]:gl.FUNC_ADD,[SubtractEquation]:gl.FUNC_SUBTRACT,[ReverseSubtractEquation]:gl.FUNC_REVERSE_SUBTRACT};equationToGL[MinEquation]=gl.MIN;equationToGL[MaxEquation]=gl.MAX;const factorToGL={[ZeroFactor]:gl.ZERO,[OneFactor]:gl.ONE,[SrcColorFactor]:gl.SRC_COLOR,[SrcAlphaFactor]:gl.SRC_ALPHA,[SrcAlphaSaturateFactor]:gl.SRC_ALPHA_SATURATE,[DstColorFactor]:gl.DST_COLOR,[DstAlphaFactor]:gl.DST_ALPHA,[OneMinusSrcColorFactor]:gl.ONE_MINUS_SRC_COLOR,[OneMinusSrcAlphaFactor]:gl.ONE_MINUS_SRC_ALPHA,[OneMinusDstColorFactor]:gl.ONE_MINUS_DST_COLOR,[OneMinusDstAlphaFactor]:gl.ONE_MINUS_DST_ALPHA,[ConstantColorFactor]:gl.CONSTANT_COLOR,[OneMinusConstantColorFactor]:gl.ONE_MINUS_CONSTANT_COLOR,[ConstantAlphaFactor]:gl.CONSTANT_ALPHA,[OneMinusConstantAlphaFactor]:gl.ONE_MINUS_CONSTANT_ALPHA};function setBlending(blending,blendEquation,blendSrc,blendDst,blendEquationAlpha,blendSrcAlpha,blendDstAlpha,blendColor,blendAlpha,premultipliedAlpha){if(blending===NoBlending){if(currentBlendingEnabled===true){disable(gl.BLEND);currentBlendingEnabled=false}return}if(currentBlendingEnabled===false){enable(gl.BLEND);currentBlendingEnabled=true}if(blending!==CustomBlending){if(blending!==currentBlending||premultipliedAlpha!==currentPremultipledAlpha){if(currentBlendEquation!==AddEquation||currentBlendEquationAlpha!==AddEquation){gl.blendEquation(gl.FUNC_ADD);currentBlendEquation=AddEquation;currentBlendEquationAlpha=AddEquation}if(premultipliedAlpha){switch(blending){case NormalBlending:gl.blendFuncSeparate(gl.ONE,gl.ONE_MINUS_SRC_ALPHA,gl.ONE,gl.ONE_MINUS_SRC_ALPHA);break;case AdditiveBlending:gl.blendFunc(gl.ONE,gl.ONE);break;case SubtractiveBlending:gl.blendFuncSeparate(gl.ZERO,gl.ONE_MINUS_SRC_COLOR,gl.ZERO,gl.ONE);break;case MultiplyBlending:gl.blendFuncSeparate(gl.ZERO,gl.SRC_COLOR,gl.ZERO,gl.SRC_ALPHA);break;default:console.error("THREE.WebGLState: Invalid blending: ",blending);break;}}else{switch(blending){case NormalBlending:gl.blendFuncSeparate(gl.SRC_ALPHA,gl.ONE_MINUS_SRC_ALPHA,gl.ONE,gl.ONE_MINUS_SRC_ALPHA);break;case AdditiveBlending:gl.blendFunc(gl.SRC_ALPHA,gl.ONE);break;case SubtractiveBlending:gl.blendFuncSeparate(gl.ZERO,gl.ONE_MINUS_SRC_COLOR,gl.ZERO,gl.ONE);break;case MultiplyBlending:gl.blendFunc(gl.ZERO,gl.SRC_COLOR);break;default:console.error("THREE.WebGLState: Invalid blending: ",blending);break;}}currentBlendSrc=null;currentBlendDst=null;currentBlendSrcAlpha=null;currentBlendDstAlpha=null;currentBlendColor.set(0,0,0);currentBlendAlpha=0;currentBlending=blending;currentPremultipledAlpha=premultipliedAlpha}return}blendEquationAlpha=blendEquationAlpha||blendEquation;blendSrcAlpha=blendSrcAlpha||blendSrc;blendDstAlpha=blendDstAlpha||blendDst;if(blendEquation!==currentBlendEquation||blendEquationAlpha!==currentBlendEquationAlpha){gl.blendEquationSeparate(equationToGL[blendEquation],equationToGL[blendEquationAlpha]);currentBlendEquation=blendEquation;currentBlendEquationAlpha=blendEquationAlpha}if(blendSrc!==currentBlendSrc||blendDst!==currentBlendDst||blendSrcAlpha!==currentBlendSrcAlpha||blendDstAlpha!==currentBlendDstAlpha){gl.blendFuncSeparate(factorToGL[blendSrc],factorToGL[blendDst],factorToGL[blendSrcAlpha],factorToGL[blendDstAlpha]);currentBlendSrc=blendSrc;currentBlendDst=blendDst;currentBlendSrcAlpha=blendSrcAlpha;currentBlendDstAlpha=blendDstAlpha}if(blendColor.equals(currentBlendColor)===false||blendAlpha!==currentBlendAlpha){gl.blendColor(blendColor.r,blendColor.g,blendColor.b,blendAlpha);currentBlendColor.copy(blendColor);currentBlendAlpha=blendAlpha}currentBlending=blending;currentPremultipledAlpha=false}function setMaterial(material,frontFaceCW){material.side===DoubleSide?disable(gl.CULL_FACE):enable(gl.CULL_FACE);let flipSided=material.side===BackSide;if(frontFaceCW)flipSided=!flipSided;setFlipSided(flipSided);material.blending===NormalBlending&amp;&amp;material.transparent===false?setBlending(NoBlending):setBlending(material.blending,material.blendEquation,material.blendSrc,material.blendDst,material.blendEquationAlpha,material.blendSrcAlpha,material.blendDstAlpha,material.blendColor,material.blendAlpha,material.premultipliedAlpha);depthBuffer.setFunc(material.depthFunc);depthBuffer.setTest(material.depthTest);depthBuffer.setMask(material.depthWrite);colorBuffer.setMask(material.colorWrite);const stencilWrite=material.stencilWrite;stencilBuffer.setTest(stencilWrite);if(stencilWrite){stencilBuffer.setMask(material.stencilWriteMask);stencilBuffer.setFunc(material.stencilFunc,material.stencilRef,material.stencilFuncMask);stencilBuffer.setOp(material.stencilFail,material.stencilZFail,material.stencilZPass)}setPolygonOffset(material.polygonOffset,material.polygonOffsetFactor,material.polygonOffsetUnits);material.alphaToCoverage===true?enable(gl.SAMPLE_ALPHA_TO_COVERAGE):disable(gl.SAMPLE_ALPHA_TO_COVERAGE)}function setFlipSided(flipSided){if(currentFlipSided!==flipSided){if(flipSided){gl.frontFace(gl.CW)}else{gl.frontFace(gl.CCW)}currentFlipSided=flipSided}}function setCullFace(cullFace){if(cullFace!==CullFaceNone){enable(gl.CULL_FACE);if(cullFace!==currentCullFace){if(cullFace===CullFaceBack){gl.cullFace(gl.BACK)}else if(cullFace===CullFaceFront){gl.cullFace(gl.FRONT)}else{gl.cullFace(gl.FRONT_AND_BACK)}}}else{disable(gl.CULL_FACE)}currentCullFace=cullFace}function setLineWidth(width){if(width!==currentLineWidth){if(lineWidthAvailable)gl.lineWidth(width);currentLineWidth=width}}function setPolygonOffset(polygonOffset,factor,units){if(polygonOffset){enable(gl.POLYGON_OFFSET_FILL);if(currentPolygonOffsetFactor!==factor||currentPolygonOffsetUnits!==units){gl.polygonOffset(factor,units);currentPolygonOffsetFactor=factor;currentPolygonOffsetUnits=units}}else{disable(gl.POLYGON_OFFSET_FILL)}}function setScissorTest(scissorTest){if(scissorTest){enable(gl.SCISSOR_TEST)}else{disable(gl.SCISSOR_TEST)}}function activeTexture(webglSlot){if(webglSlot===undefined)webglSlot=gl.TEXTURE0+maxTextures-1;if(currentTextureSlot!==webglSlot){gl.activeTexture(webglSlot);currentTextureSlot=webglSlot}}function bindTexture(webglType,webglTexture,webglSlot){if(webglSlot===undefined){if(currentTextureSlot===null){webglSlot=gl.TEXTURE0+maxTextures-1}else{webglSlot=currentTextureSlot}}let boundTexture=currentBoundTextures[webglSlot];if(boundTexture===undefined){boundTexture={type:undefined,texture:undefined};currentBoundTextures[webglSlot]=boundTexture}if(boundTexture.type!==webglType||boundTexture.texture!==webglTexture){if(currentTextureSlot!==webglSlot){gl.activeTexture(webglSlot);currentTextureSlot=webglSlot}gl.bindTexture(webglType,webglTexture||emptyTextures[webglType]);boundTexture.type=webglType;boundTexture.texture=webglTexture}}function unbindTexture(){const boundTexture=currentBoundTextures[currentTextureSlot];if(boundTexture!==undefined&amp;&amp;boundTexture.type!==undefined){gl.bindTexture(boundTexture.type,null);boundTexture.type=undefined;boundTexture.texture=undefined}}function compressedTexImage2D(){try{gl.compressedTexImage2D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function compressedTexImage3D(){try{gl.compressedTexImage3D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texSubImage2D(){try{gl.texSubImage2D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texSubImage3D(){try{gl.texSubImage3D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function compressedTexSubImage2D(){try{gl.compressedTexSubImage2D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function compressedTexSubImage3D(){try{gl.compressedTexSubImage3D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texStorage2D(){try{gl.texStorage2D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texStorage3D(){try{gl.texStorage3D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texImage2D(){try{gl.texImage2D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function texImage3D(){try{gl.texImage3D.apply(gl,arguments)}catch(error){console.error("THREE.WebGLState:",error)}}function scissor(scissor){if(currentScissor.equals(scissor)===false){gl.scissor(scissor.x,scissor.y,scissor.z,scissor.w);currentScissor.copy(scissor)}}function viewport(viewport){if(currentViewport.equals(viewport)===false){gl.viewport(viewport.x,viewport.y,viewport.z,viewport.w);currentViewport.copy(viewport)}}function updateUBOMapping(uniformsGroup,program){let mapping=uboProgramMap.get(program);if(mapping===undefined){mapping=new WeakMap;uboProgramMap.set(program,mapping)}let blockIndex=mapping.get(uniformsGroup);if(blockIndex===undefined){blockIndex=gl.getUniformBlockIndex(program,uniformsGroup.name);mapping.set(uniformsGroup,blockIndex)}}function uniformBlockBinding(uniformsGroup,program){const mapping=uboProgramMap.get(program);const blockIndex=mapping.get(uniformsGroup);if(uboBindings.get(program)!==blockIndex){gl.uniformBlockBinding(program,blockIndex,uniformsGroup.__bindingPointIndex);uboBindings.set(program,blockIndex)}}function reset(){gl.disable(gl.BLEND);gl.disable(gl.CULL_FACE);gl.disable(gl.DEPTH_TEST);gl.disable(gl.POLYGON_OFFSET_FILL);gl.disable(gl.SCISSOR_TEST);gl.disable(gl.STENCIL_TEST);gl.disable(gl.SAMPLE_ALPHA_TO_COVERAGE);gl.blendEquation(gl.FUNC_ADD);gl.blendFunc(gl.ONE,gl.ZERO);gl.blendFuncSeparate(gl.ONE,gl.ZERO,gl.ONE,gl.ZERO);gl.blendColor(0,0,0,0);gl.colorMask(true,true,true,true);gl.clearColor(0,0,0,0);gl.depthMask(true);gl.depthFunc(gl.LESS);gl.clearDepth(1);gl.stencilMask(4294967295);gl.stencilFunc(gl.ALWAYS,0,4294967295);gl.stencilOp(gl.KEEP,gl.KEEP,gl.KEEP);gl.clearStencil(0);gl.cullFace(gl.BACK);gl.frontFace(gl.CCW);gl.polygonOffset(0,0);gl.activeTexture(gl.TEXTURE0);gl.bindFramebuffer(gl.FRAMEBUFFER,null);gl.bindFramebuffer(gl.DRAW_FRAMEBUFFER,null);gl.bindFramebuffer(gl.READ_FRAMEBUFFER,null);gl.useProgram(null);gl.lineWidth(1);gl.scissor(0,0,gl.canvas.width,gl.canvas.height);gl.viewport(0,0,gl.canvas.width,gl.canvas.height);enabledCapabilities={};currentTextureSlot=null;currentBoundTextures={};currentBoundFramebuffers={};currentDrawbuffers=new WeakMap;defaultDrawbuffers=[];currentProgram=null;currentBlendingEnabled=false;currentBlending=null;currentBlendEquation=null;currentBlendSrc=null;currentBlendDst=null;currentBlendEquationAlpha=null;currentBlendSrcAlpha=null;currentBlendDstAlpha=null;currentBlendColor=new Color(0,0,0);currentBlendAlpha=0;currentPremultipledAlpha=false;currentFlipSided=null;currentCullFace=null;currentLineWidth=null;currentPolygonOffsetFactor=null;currentPolygonOffsetUnits=null;currentScissor.set(0,0,gl.canvas.width,gl.canvas.height);currentViewport.set(0,0,gl.canvas.width,gl.canvas.height);colorBuffer.reset();depthBuffer.reset();stencilBuffer.reset()}return{buffers:{color:colorBuffer,depth:depthBuffer,stencil:stencilBuffer},enable:enable,disable:disable,bindFramebuffer:bindFramebuffer,drawBuffers:drawBuffers,useProgram:useProgram,setBlending:setBlending,setMaterial:setMaterial,setFlipSided:setFlipSided,setCullFace:setCullFace,setLineWidth:setLineWidth,setPolygonOffset:setPolygonOffset,setScissorTest:setScissorTest,activeTexture:activeTexture,bindTexture:bindTexture,unbindTexture:unbindTexture,compressedTexImage2D:compressedTexImage2D,compressedTexImage3D:compressedTexImage3D,texImage2D:texImage2D,texImage3D:texImage3D,updateUBOMapping:updateUBOMapping,uniformBlockBinding:uniformBlockBinding,texStorage2D:texStorage2D,texStorage3D:texStorage3D,texSubImage2D:texSubImage2D,texSubImage3D:texSubImage3D,compressedTexSubImage2D:compressedTexSubImage2D,compressedTexSubImage3D:compressedTexSubImage3D,scissor:scissor,viewport:viewport,reset:reset}}function WebGLTextures(_gl,extensions,state,properties,capabilities,utils,info){const multisampledRTTExt=extensions.has("WEBGL_multisampled_render_to_texture")?extensions.get("WEBGL_multisampled_render_to_texture"):null;const supportsInvalidateFramebuffer=typeof navigator==="undefined"?false:/OculusBrowser/g.test(navigator.userAgent);const _imageDimensions=new Vector2;const _videoTextures=new WeakMap;let _canvas;const _sources=new WeakMap;let useOffscreenCanvas=false;try{useOffscreenCanvas=typeof OffscreenCanvas!=="undefined"&amp;&amp;new OffscreenCanvas(1,1).getContext("2d")!==null}catch(err){}function createCanvas(width,height){return useOffscreenCanvas?new OffscreenCanvas(width,height):createElementNS("canvas")}function resizeImage(image,needsNewCanvas,maxSize){let scale=1;const dimensions=getDimensions(image);if(dimensions.width&gt;maxSize||dimensions.height&gt;maxSize){scale=maxSize/Math.max(dimensions.width,dimensions.height)}if(scale&lt;1){if(typeof HTMLImageElement!=="undefined"&amp;&amp;image instanceof HTMLImageElement||typeof HTMLCanvasElement!=="undefined"&amp;&amp;image instanceof HTMLCanvasElement||typeof ImageBitmap!=="undefined"&amp;&amp;image instanceof ImageBitmap||typeof VideoFrame!=="undefined"&amp;&amp;image instanceof VideoFrame){const width=Math.floor(scale*dimensions.width);const height=Math.floor(scale*dimensions.height);if(_canvas===undefined)_canvas=createCanvas(width,height);const canvas=needsNewCanvas?createCanvas(width,height):_canvas;canvas.width=width;canvas.height=height;const context=canvas.getContext("2d");context.drawImage(image,0,0,width,height);console.warn("THREE.WebGLRenderer: Texture has been resized from ("+dimensions.width+"x"+dimensions.height+") to ("+width+"x"+height+").");return canvas}else{if("data"in image){console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+dimensions.width+"x"+dimensions.height+").")}return image}}return image}function textureNeedsGenerateMipmaps(texture){return texture.generateMipmaps&amp;&amp;texture.minFilter!==NearestFilter&amp;&amp;texture.minFilter!==LinearFilter}function generateMipmap(target){_gl.generateMipmap(target)}function getInternalFormat(internalFormatName,glFormat,glType,colorSpace,forceLinearTransfer=false){if(internalFormatName!==null){if(_gl[internalFormatName]!==undefined)return _gl[internalFormatName];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+internalFormatName+"'")}let internalFormat=glFormat;if(glFormat===_gl.RED){if(glType===_gl.FLOAT)internalFormat=_gl.R32F;if(glType===_gl.HALF_FLOAT)internalFormat=_gl.R16F;if(glType===_gl.UNSIGNED_BYTE)internalFormat=_gl.R8}if(glFormat===_gl.RED_INTEGER){if(glType===_gl.UNSIGNED_BYTE)internalFormat=_gl.R8UI;if(glType===_gl.UNSIGNED_SHORT)internalFormat=_gl.R16UI;if(glType===_gl.UNSIGNED_INT)internalFormat=_gl.R32UI;if(glType===_gl.BYTE)internalFormat=_gl.R8I;if(glType===_gl.SHORT)internalFormat=_gl.R16I;if(glType===_gl.INT)internalFormat=_gl.R32I}if(glFormat===_gl.RG){if(glType===_gl.FLOAT)internalFormat=_gl.RG32F;if(glType===_gl.HALF_FLOAT)internalFormat=_gl.RG16F;if(glType===_gl.UNSIGNED_BYTE)internalFormat=_gl.RG8}if(glFormat===_gl.RG_INTEGER){if(glType===_gl.UNSIGNED_BYTE)internalFormat=_gl.RG8UI;if(glType===_gl.UNSIGNED_SHORT)internalFormat=_gl.RG16UI;if(glType===_gl.UNSIGNED_INT)internalFormat=_gl.RG32UI;if(glType===_gl.BYTE)internalFormat=_gl.RG8I;if(glType===_gl.SHORT)internalFormat=_gl.RG16I;if(glType===_gl.INT)internalFormat=_gl.RG32I}if(glFormat===_gl.RGB){if(glType===_gl.UNSIGNED_INT_5_9_9_9_REV)internalFormat=_gl.RGB9_E5}if(glFormat===_gl.RGBA){const transfer=forceLinearTransfer?LinearTransfer:ColorManagement.getTransfer(colorSpace);if(glType===_gl.FLOAT)internalFormat=_gl.RGBA32F;if(glType===_gl.HALF_FLOAT)internalFormat=_gl.RGBA16F;if(glType===_gl.UNSIGNED_BYTE)internalFormat=transfer===SRGBTransfer?_gl.SRGB8_ALPHA8:_gl.RGBA8;if(glType===_gl.UNSIGNED_SHORT_4_4_4_4)internalFormat=_gl.RGBA4;if(glType===_gl.UNSIGNED_SHORT_5_5_5_1)internalFormat=_gl.RGB5_A1}if(internalFormat===_gl.R16F||internalFormat===_gl.R32F||internalFormat===_gl.RG16F||internalFormat===_gl.RG32F||internalFormat===_gl.RGBA16F||internalFormat===_gl.RGBA32F){extensions.get("EXT_color_buffer_float")}return internalFormat}function getMipLevels(texture,image){if(textureNeedsGenerateMipmaps(texture)===true||texture.isFramebufferTexture&amp;&amp;texture.minFilter!==NearestFilter&amp;&amp;texture.minFilter!==LinearFilter){return Math.log2(Math.max(image.width,image.height))+1}else if(texture.mipmaps!==undefined&amp;&amp;texture.mipmaps.length&gt;0){return texture.mipmaps.length}else if(texture.isCompressedTexture&amp;&amp;Array.isArray(texture.image)){return image.mipmaps.length}else{return 1}}function onTextureDispose(event){const texture=event.target;texture.removeEventListener("dispose",onTextureDispose);deallocateTexture(texture);if(texture.isVideoTexture){_videoTextures.delete(texture)}}function onRenderTargetDispose(event){const renderTarget=event.target;renderTarget.removeEventListener("dispose",onRenderTargetDispose);deallocateRenderTarget(renderTarget)}function deallocateTexture(texture){const textureProperties=properties.get(texture);if(textureProperties.__webglInit===undefined)return;const source=texture.source;const webglTextures=_sources.get(source);if(webglTextures){const webglTexture=webglTextures[textureProperties.__cacheKey];webglTexture.usedTimes--;if(webglTexture.usedTimes===0){deleteTexture(texture)}if(Object.keys(webglTextures).length===0){_sources.delete(source)}}properties.remove(texture)}function deleteTexture(texture){const textureProperties=properties.get(texture);_gl.deleteTexture(textureProperties.__webglTexture);const source=texture.source;const webglTextures=_sources.get(source);delete webglTextures[textureProperties.__cacheKey];info.memory.textures--}function deallocateRenderTarget(renderTarget){const renderTargetProperties=properties.get(renderTarget);if(renderTarget.depthTexture){renderTarget.depthTexture.dispose()}if(renderTarget.isWebGLCubeRenderTarget){for(let i=0;i&lt;6;i++){if(Array.isArray(renderTargetProperties.__webglFramebuffer[i])){for(let level=0;level&lt;renderTargetProperties.__webglFramebuffer[i].length;level++)_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer[i][level])}else{_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer[i])}if(renderTargetProperties.__webglDepthbuffer)_gl.deleteRenderbuffer(renderTargetProperties.__webglDepthbuffer[i])}}else{if(Array.isArray(renderTargetProperties.__webglFramebuffer)){for(let level=0;level&lt;renderTargetProperties.__webglFramebuffer.length;level++)_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer[level])}else{_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer)}if(renderTargetProperties.__webglDepthbuffer)_gl.deleteRenderbuffer(renderTargetProperties.__webglDepthbuffer);if(renderTargetProperties.__webglMultisampledFramebuffer)_gl.deleteFramebuffer(renderTargetProperties.__webglMultisampledFramebuffer);if(renderTargetProperties.__webglColorRenderbuffer){for(let i=0;i&lt;renderTargetProperties.__webglColorRenderbuffer.length;i++){if(renderTargetProperties.__webglColorRenderbuffer[i])_gl.deleteRenderbuffer(renderTargetProperties.__webglColorRenderbuffer[i])}}if(renderTargetProperties.__webglDepthRenderbuffer)_gl.deleteRenderbuffer(renderTargetProperties.__webglDepthRenderbuffer)}const textures=renderTarget.textures;for(let i=0,il=textures.length;i&lt;il;i++){const attachmentProperties=properties.get(textures[i]);if(attachmentProperties.__webglTexture){_gl.deleteTexture(attachmentProperties.__webglTexture);info.memory.textures--}properties.remove(textures[i])}properties.remove(renderTarget)}let textureUnits=0;function resetTextureUnits(){textureUnits=0}function allocateTextureUnit(){const textureUnit=textureUnits;if(textureUnit&gt;=capabilities.maxTextures){console.warn("THREE.WebGLTextures: Trying to use "+textureUnit+" texture units while this GPU supports only "+capabilities.maxTextures)}textureUnits+=1;return textureUnit}function getTextureCacheKey(texture){const array=[];array.push(texture.wrapS);array.push(texture.wrapT);array.push(texture.wrapR||0);array.push(texture.magFilter);array.push(texture.minFilter);array.push(texture.anisotropy);array.push(texture.internalFormat);array.push(texture.format);array.push(texture.type);array.push(texture.generateMipmaps);array.push(texture.premultiplyAlpha);array.push(texture.flipY);array.push(texture.unpackAlignment);array.push(texture.colorSpace);return array.join()}function setTexture2D(texture,slot){const textureProperties=properties.get(texture);if(texture.isVideoTexture)updateVideoTexture(texture);if(texture.isRenderTargetTexture===false&amp;&amp;texture.version&gt;0&amp;&amp;textureProperties.__version!==texture.version){const image=texture.image;if(image===null){console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.")}else if(image.complete===false){console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}else{uploadTexture(textureProperties,texture,slot);return}}state.bindTexture(_gl.TEXTURE_2D,textureProperties.__webglTexture,_gl.TEXTURE0+slot)}function setTexture2DArray(texture,slot){const textureProperties=properties.get(texture);if(texture.version&gt;0&amp;&amp;textureProperties.__version!==texture.version){uploadTexture(textureProperties,texture,slot);return}state.bindTexture(_gl.TEXTURE_2D_ARRAY,textureProperties.__webglTexture,_gl.TEXTURE0+slot)}function setTexture3D(texture,slot){const textureProperties=properties.get(texture);if(texture.version&gt;0&amp;&amp;textureProperties.__version!==texture.version){uploadTexture(textureProperties,texture,slot);return}state.bindTexture(_gl.TEXTURE_3D,textureProperties.__webglTexture,_gl.TEXTURE0+slot)}function setTextureCube(texture,slot){const textureProperties=properties.get(texture);if(texture.version&gt;0&amp;&amp;textureProperties.__version!==texture.version){uploadCubeTexture(textureProperties,texture,slot);return}state.bindTexture(_gl.TEXTURE_CUBE_MAP,textureProperties.__webglTexture,_gl.TEXTURE0+slot)}const wrappingToGL={[RepeatWrapping]:_gl.REPEAT,[ClampToEdgeWrapping]:_gl.CLAMP_TO_EDGE,[MirroredRepeatWrapping]:_gl.MIRRORED_REPEAT};const filterToGL={[NearestFilter]:_gl.NEAREST,[NearestMipmapNearestFilter]:_gl.NEAREST_MIPMAP_NEAREST,[NearestMipmapLinearFilter]:_gl.NEAREST_MIPMAP_LINEAR,[LinearFilter]:_gl.LINEAR,[LinearMipmapNearestFilter]:_gl.LINEAR_MIPMAP_NEAREST,[LinearMipmapLinearFilter]:_gl.LINEAR_MIPMAP_LINEAR};const compareToGL={[NeverCompare]:_gl.NEVER,[AlwaysCompare]:_gl.ALWAYS,[LessCompare]:_gl.LESS,[LessEqualCompare]:_gl.LEQUAL,[EqualCompare]:_gl.EQUAL,[GreaterEqualCompare]:_gl.GEQUAL,[GreaterCompare]:_gl.GREATER,[NotEqualCompare]:_gl.NOTEQUAL};function setTextureParameters(textureType,texture){if(texture.type===FloatType&amp;&amp;extensions.has("OES_texture_float_linear")===false&amp;&amp;(texture.magFilter===LinearFilter||texture.magFilter===LinearMipmapNearestFilter||texture.magFilter===NearestMipmapLinearFilter||texture.magFilter===LinearMipmapLinearFilter||texture.minFilter===LinearFilter||texture.minFilter===LinearMipmapNearestFilter||texture.minFilter===NearestMipmapLinearFilter||texture.minFilter===LinearMipmapLinearFilter)){console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device.")}_gl.texParameteri(textureType,_gl.TEXTURE_WRAP_S,wrappingToGL[texture.wrapS]);_gl.texParameteri(textureType,_gl.TEXTURE_WRAP_T,wrappingToGL[texture.wrapT]);if(textureType===_gl.TEXTURE_3D||textureType===_gl.TEXTURE_2D_ARRAY){_gl.texParameteri(textureType,_gl.TEXTURE_WRAP_R,wrappingToGL[texture.wrapR])}_gl.texParameteri(textureType,_gl.TEXTURE_MAG_FILTER,filterToGL[texture.magFilter]);_gl.texParameteri(textureType,_gl.TEXTURE_MIN_FILTER,filterToGL[texture.minFilter]);if(texture.compareFunction){_gl.texParameteri(textureType,_gl.TEXTURE_COMPARE_MODE,_gl.COMPARE_REF_TO_TEXTURE);_gl.texParameteri(textureType,_gl.TEXTURE_COMPARE_FUNC,compareToGL[texture.compareFunction])}if(extensions.has("EXT_texture_filter_anisotropic")===true){if(texture.magFilter===NearestFilter)return;if(texture.minFilter!==NearestMipmapLinearFilter&amp;&amp;texture.minFilter!==LinearMipmapLinearFilter)return;if(texture.type===FloatType&amp;&amp;extensions.has("OES_texture_float_linear")===false)return;if(texture.anisotropy&gt;1||properties.get(texture).__currentAnisotropy){const extension=extensions.get("EXT_texture_filter_anisotropic");_gl.texParameterf(textureType,extension.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(texture.anisotropy,capabilities.getMaxAnisotropy()));properties.get(texture).__currentAnisotropy=texture.anisotropy}}}function initTexture(textureProperties,texture){let forceUpload=false;if(textureProperties.__webglInit===undefined){textureProperties.__webglInit=true;texture.addEventListener("dispose",onTextureDispose)}const source=texture.source;let webglTextures=_sources.get(source);if(webglTextures===undefined){webglTextures={};_sources.set(source,webglTextures)}const textureCacheKey=getTextureCacheKey(texture);if(textureCacheKey!==textureProperties.__cacheKey){if(webglTextures[textureCacheKey]===undefined){webglTextures[textureCacheKey]={texture:_gl.createTexture(),usedTimes:0};info.memory.textures++;forceUpload=true}webglTextures[textureCacheKey].usedTimes++;const webglTexture=webglTextures[textureProperties.__cacheKey];if(webglTexture!==undefined){webglTextures[textureProperties.__cacheKey].usedTimes--;if(webglTexture.usedTimes===0){deleteTexture(texture)}}textureProperties.__cacheKey=textureCacheKey;textureProperties.__webglTexture=webglTextures[textureCacheKey].texture}return forceUpload}function uploadTexture(textureProperties,texture,slot){let textureType=_gl.TEXTURE_2D;if(texture.isDataArrayTexture||texture.isCompressedArrayTexture)textureType=_gl.TEXTURE_2D_ARRAY;if(texture.isData3DTexture)textureType=_gl.TEXTURE_3D;const forceUpload=initTexture(textureProperties,texture);const source=texture.source;state.bindTexture(textureType,textureProperties.__webglTexture,_gl.TEXTURE0+slot);const sourceProperties=properties.get(source);if(source.version!==sourceProperties.__version||forceUpload===true){state.activeTexture(_gl.TEXTURE0+slot);const workingPrimaries=ColorManagement.getPrimaries(ColorManagement.workingColorSpace);const texturePrimaries=texture.colorSpace===NoColorSpace?null:ColorManagement.getPrimaries(texture.colorSpace);const unpackConversion=texture.colorSpace===NoColorSpace||workingPrimaries===texturePrimaries?_gl.NONE:_gl.BROWSER_DEFAULT_WEBGL;_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL,texture.flipY);_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL,texture.premultiplyAlpha);_gl.pixelStorei(_gl.UNPACK_ALIGNMENT,texture.unpackAlignment);_gl.pixelStorei(_gl.UNPACK_COLORSPACE_CONVERSION_WEBGL,unpackConversion);let image=resizeImage(texture.image,false,capabilities.maxTextureSize);image=verifyColorSpace(texture,image);const glFormat=utils.convert(texture.format,texture.colorSpace);const glType=utils.convert(texture.type);let glInternalFormat=getInternalFormat(texture.internalFormat,glFormat,glType,texture.colorSpace,texture.isVideoTexture);setTextureParameters(textureType,texture);let mipmap;const mipmaps=texture.mipmaps;const useTexStorage=texture.isVideoTexture!==true&amp;&amp;glInternalFormat!==RGB_ETC1_Format;const allocateMemory=sourceProperties.__version===undefined||forceUpload===true;const dataReady=source.dataReady;const levels=getMipLevels(texture,image);if(texture.isDepthTexture){glInternalFormat=_gl.DEPTH_COMPONENT16;if(texture.type===FloatType){glInternalFormat=_gl.DEPTH_COMPONENT32F}else if(texture.type===UnsignedIntType){glInternalFormat=_gl.DEPTH_COMPONENT24}else if(texture.type===UnsignedInt248Type){glInternalFormat=_gl.DEPTH24_STENCIL8}if(allocateMemory){if(useTexStorage){state.texStorage2D(_gl.TEXTURE_2D,1,glInternalFormat,image.width,image.height)}else{state.texImage2D(_gl.TEXTURE_2D,0,glInternalFormat,image.width,image.height,0,glFormat,glType,null)}}}else if(texture.isDataTexture){if(mipmaps.length&gt;0){if(useTexStorage&amp;&amp;allocateMemory){state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,mipmaps[0].width,mipmaps[0].height)}for(let i=0,il=mipmaps.length;i&lt;il;i++){mipmap=mipmaps[i];if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_2D,i,0,0,mipmap.width,mipmap.height,glFormat,glType,mipmap.data)}}else{state.texImage2D(_gl.TEXTURE_2D,i,glInternalFormat,mipmap.width,mipmap.height,0,glFormat,glType,mipmap.data)}}texture.generateMipmaps=false}else{if(useTexStorage){if(allocateMemory){state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,image.width,image.height)}if(dataReady){state.texSubImage2D(_gl.TEXTURE_2D,0,0,0,image.width,image.height,glFormat,glType,image.data)}}else{state.texImage2D(_gl.TEXTURE_2D,0,glInternalFormat,image.width,image.height,0,glFormat,glType,image.data)}}}else if(texture.isCompressedTexture){if(texture.isCompressedArrayTexture){if(useTexStorage&amp;&amp;allocateMemory){state.texStorage3D(_gl.TEXTURE_2D_ARRAY,levels,glInternalFormat,mipmaps[0].width,mipmaps[0].height,image.depth)}for(let i=0,il=mipmaps.length;i&lt;il;i++){mipmap=mipmaps[i];if(texture.format!==RGBAFormat){if(glFormat!==null){if(useTexStorage){if(dataReady){state.compressedTexSubImage3D(_gl.TEXTURE_2D_ARRAY,i,0,0,0,mipmap.width,mipmap.height,image.depth,glFormat,mipmap.data,0,0)}}else{state.compressedTexImage3D(_gl.TEXTURE_2D_ARRAY,i,glInternalFormat,mipmap.width,mipmap.height,image.depth,0,mipmap.data,0,0)}}else{console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()")}}else{if(useTexStorage){if(dataReady){state.texSubImage3D(_gl.TEXTURE_2D_ARRAY,i,0,0,0,mipmap.width,mipmap.height,image.depth,glFormat,glType,mipmap.data)}}else{state.texImage3D(_gl.TEXTURE_2D_ARRAY,i,glInternalFormat,mipmap.width,mipmap.height,image.depth,0,glFormat,glType,mipmap.data)}}}}else{if(useTexStorage&amp;&amp;allocateMemory){state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,mipmaps[0].width,mipmaps[0].height)}for(let i=0,il=mipmaps.length;i&lt;il;i++){mipmap=mipmaps[i];if(texture.format!==RGBAFormat){if(glFormat!==null){if(useTexStorage){if(dataReady){state.compressedTexSubImage2D(_gl.TEXTURE_2D,i,0,0,mipmap.width,mipmap.height,glFormat,mipmap.data)}}else{state.compressedTexImage2D(_gl.TEXTURE_2D,i,glInternalFormat,mipmap.width,mipmap.height,0,mipmap.data)}}else{console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()")}}else{if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_2D,i,0,0,mipmap.width,mipmap.height,glFormat,glType,mipmap.data)}}else{state.texImage2D(_gl.TEXTURE_2D,i,glInternalFormat,mipmap.width,mipmap.height,0,glFormat,glType,mipmap.data)}}}}}else if(texture.isDataArrayTexture){if(useTexStorage){if(allocateMemory){state.texStorage3D(_gl.TEXTURE_2D_ARRAY,levels,glInternalFormat,image.width,image.height,image.depth)}if(dataReady){state.texSubImage3D(_gl.TEXTURE_2D_ARRAY,0,0,0,0,image.width,image.height,image.depth,glFormat,glType,image.data)}}else{state.texImage3D(_gl.TEXTURE_2D_ARRAY,0,glInternalFormat,image.width,image.height,image.depth,0,glFormat,glType,image.data)}}else if(texture.isData3DTexture){if(useTexStorage){if(allocateMemory){state.texStorage3D(_gl.TEXTURE_3D,levels,glInternalFormat,image.width,image.height,image.depth)}if(dataReady){state.texSubImage3D(_gl.TEXTURE_3D,0,0,0,0,image.width,image.height,image.depth,glFormat,glType,image.data)}}else{state.texImage3D(_gl.TEXTURE_3D,0,glInternalFormat,image.width,image.height,image.depth,0,glFormat,glType,image.data)}}else if(texture.isFramebufferTexture){if(allocateMemory){if(useTexStorage){state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,image.width,image.height)}else{let width=image.width,height=image.height;for(let i=0;i&lt;levels;i++){state.texImage2D(_gl.TEXTURE_2D,i,glInternalFormat,width,height,0,glFormat,glType,null);width&gt;&gt;=1;height&gt;&gt;=1}}}}else{if(mipmaps.length&gt;0){if(useTexStorage&amp;&amp;allocateMemory){const dimensions=getDimensions(mipmaps[0]);state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,dimensions.width,dimensions.height)}for(let i=0,il=mipmaps.length;i&lt;il;i++){mipmap=mipmaps[i];if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_2D,i,0,0,glFormat,glType,mipmap)}}else{state.texImage2D(_gl.TEXTURE_2D,i,glInternalFormat,glFormat,glType,mipmap)}}texture.generateMipmaps=false}else{if(useTexStorage){if(allocateMemory){const dimensions=getDimensions(image);state.texStorage2D(_gl.TEXTURE_2D,levels,glInternalFormat,dimensions.width,dimensions.height)}if(dataReady){state.texSubImage2D(_gl.TEXTURE_2D,0,0,0,glFormat,glType,image)}}else{state.texImage2D(_gl.TEXTURE_2D,0,glInternalFormat,glFormat,glType,image)}}}if(textureNeedsGenerateMipmaps(texture)){generateMipmap(textureType)}sourceProperties.__version=source.version;if(texture.onUpdate)texture.onUpdate(texture)}textureProperties.__version=texture.version}function uploadCubeTexture(textureProperties,texture,slot){if(texture.image.length!==6)return;const forceUpload=initTexture(textureProperties,texture);const source=texture.source;state.bindTexture(_gl.TEXTURE_CUBE_MAP,textureProperties.__webglTexture,_gl.TEXTURE0+slot);const sourceProperties=properties.get(source);if(source.version!==sourceProperties.__version||forceUpload===true){state.activeTexture(_gl.TEXTURE0+slot);const workingPrimaries=ColorManagement.getPrimaries(ColorManagement.workingColorSpace);const texturePrimaries=texture.colorSpace===NoColorSpace?null:ColorManagement.getPrimaries(texture.colorSpace);const unpackConversion=texture.colorSpace===NoColorSpace||workingPrimaries===texturePrimaries?_gl.NONE:_gl.BROWSER_DEFAULT_WEBGL;_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL,texture.flipY);_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL,texture.premultiplyAlpha);_gl.pixelStorei(_gl.UNPACK_ALIGNMENT,texture.unpackAlignment);_gl.pixelStorei(_gl.UNPACK_COLORSPACE_CONVERSION_WEBGL,unpackConversion);const isCompressed=texture.isCompressedTexture||texture.image[0].isCompressedTexture;const isDataTexture=texture.image[0]&amp;&amp;texture.image[0].isDataTexture;const cubeImage=[];for(let i=0;i&lt;6;i++){if(!isCompressed&amp;&amp;!isDataTexture){cubeImage[i]=resizeImage(texture.image[i],true,capabilities.maxCubemapSize)}else{cubeImage[i]=isDataTexture?texture.image[i].image:texture.image[i]}cubeImage[i]=verifyColorSpace(texture,cubeImage[i])}const image=cubeImage[0],glFormat=utils.convert(texture.format,texture.colorSpace),glType=utils.convert(texture.type),glInternalFormat=getInternalFormat(texture.internalFormat,glFormat,glType,texture.colorSpace);const useTexStorage=texture.isVideoTexture!==true;const allocateMemory=sourceProperties.__version===undefined||forceUpload===true;const dataReady=source.dataReady;let levels=getMipLevels(texture,image);setTextureParameters(_gl.TEXTURE_CUBE_MAP,texture);let mipmaps;if(isCompressed){if(useTexStorage&amp;&amp;allocateMemory){state.texStorage2D(_gl.TEXTURE_CUBE_MAP,levels,glInternalFormat,image.width,image.height)}for(let i=0;i&lt;6;i++){mipmaps=cubeImage[i].mipmaps;for(let j=0;j&lt;mipmaps.length;j++){const mipmap=mipmaps[j];if(texture.format!==RGBAFormat){if(glFormat!==null){if(useTexStorage){if(dataReady){state.compressedTexSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j,0,0,mipmap.width,mipmap.height,glFormat,mipmap.data)}}else{state.compressedTexImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j,glInternalFormat,mipmap.width,mipmap.height,0,mipmap.data)}}else{console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()")}}else{if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j,0,0,mipmap.width,mipmap.height,glFormat,glType,mipmap.data)}}else{state.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j,glInternalFormat,mipmap.width,mipmap.height,0,glFormat,glType,mipmap.data)}}}}}else{mipmaps=texture.mipmaps;if(useTexStorage&amp;&amp;allocateMemory){if(mipmaps.length&gt;0)levels++;const dimensions=getDimensions(cubeImage[0]);state.texStorage2D(_gl.TEXTURE_CUBE_MAP,levels,glInternalFormat,dimensions.width,dimensions.height)}for(let i=0;i&lt;6;i++){if(isDataTexture){if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,0,0,cubeImage[i].width,cubeImage[i].height,glFormat,glType,cubeImage[i].data)}}else{state.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,glInternalFormat,cubeImage[i].width,cubeImage[i].height,0,glFormat,glType,cubeImage[i].data)}for(let j=0;j&lt;mipmaps.length;j++){const mipmap=mipmaps[j];const mipmapImage=mipmap.image[i].image;if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j+1,0,0,mipmapImage.width,mipmapImage.height,glFormat,glType,mipmapImage.data)}}else{state.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j+1,glInternalFormat,mipmapImage.width,mipmapImage.height,0,glFormat,glType,mipmapImage.data)}}}else{if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,0,0,glFormat,glType,cubeImage[i])}}else{state.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,0,glInternalFormat,glFormat,glType,cubeImage[i])}for(let j=0;j&lt;mipmaps.length;j++){const mipmap=mipmaps[j];if(useTexStorage){if(dataReady){state.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j+1,0,0,glFormat,glType,mipmap.image[i])}}else{state.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,j+1,glInternalFormat,glFormat,glType,mipmap.image[i])}}}}}if(textureNeedsGenerateMipmaps(texture)){generateMipmap(_gl.TEXTURE_CUBE_MAP)}sourceProperties.__version=source.version;if(texture.onUpdate)texture.onUpdate(texture)}textureProperties.__version=texture.version}function setupFrameBufferTexture(framebuffer,renderTarget,texture,attachment,textureTarget,level){const glFormat=utils.convert(texture.format,texture.colorSpace);const glType=utils.convert(texture.type);const glInternalFormat=getInternalFormat(texture.internalFormat,glFormat,glType,texture.colorSpace);const renderTargetProperties=properties.get(renderTarget);if(!renderTargetProperties.__hasExternalTextures){const width=Math.max(1,renderTarget.width&gt;&gt;level);const height=Math.max(1,renderTarget.height&gt;&gt;level);if(textureTarget===_gl.TEXTURE_3D||textureTarget===_gl.TEXTURE_2D_ARRAY){state.texImage3D(textureTarget,level,glInternalFormat,width,height,renderTarget.depth,0,glFormat,glType,null)}else{state.texImage2D(textureTarget,level,glInternalFormat,width,height,0,glFormat,glType,null)}}state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);if(useMultisampledRTT(renderTarget)){multisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER,attachment,textureTarget,properties.get(texture).__webglTexture,0,getRenderTargetSamples(renderTarget))}else if(textureTarget===_gl.TEXTURE_2D||textureTarget&gt;=_gl.TEXTURE_CUBE_MAP_POSITIVE_X&amp;&amp;textureTarget&lt;=_gl.TEXTURE_CUBE_MAP_NEGATIVE_Z){_gl.framebufferTexture2D(_gl.FRAMEBUFFER,attachment,textureTarget,properties.get(texture).__webglTexture,level)}state.bindFramebuffer(_gl.FRAMEBUFFER,null)}function setupRenderBufferStorage(renderbuffer,renderTarget,isMultisample){_gl.bindRenderbuffer(_gl.RENDERBUFFER,renderbuffer);if(renderTarget.depthBuffer&amp;&amp;!renderTarget.stencilBuffer){let glInternalFormat=_gl.DEPTH_COMPONENT24;if(isMultisample||useMultisampledRTT(renderTarget)){const depthTexture=renderTarget.depthTexture;if(depthTexture&amp;&amp;depthTexture.isDepthTexture){if(depthTexture.type===FloatType){glInternalFormat=_gl.DEPTH_COMPONENT32F}else if(depthTexture.type===UnsignedIntType){glInternalFormat=_gl.DEPTH_COMPONENT24}}const samples=getRenderTargetSamples(renderTarget);if(useMultisampledRTT(renderTarget)){multisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER,samples,glInternalFormat,renderTarget.width,renderTarget.height)}else{_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER,samples,glInternalFormat,renderTarget.width,renderTarget.height)}}else{_gl.renderbufferStorage(_gl.RENDERBUFFER,glInternalFormat,renderTarget.width,renderTarget.height)}_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER,_gl.DEPTH_ATTACHMENT,_gl.RENDERBUFFER,renderbuffer)}else if(renderTarget.depthBuffer&amp;&amp;renderTarget.stencilBuffer){const samples=getRenderTargetSamples(renderTarget);if(isMultisample&amp;&amp;useMultisampledRTT(renderTarget)===false){_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER,samples,_gl.DEPTH24_STENCIL8,renderTarget.width,renderTarget.height)}else if(useMultisampledRTT(renderTarget)){multisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER,samples,_gl.DEPTH24_STENCIL8,renderTarget.width,renderTarget.height)}else{_gl.renderbufferStorage(_gl.RENDERBUFFER,_gl.DEPTH_STENCIL,renderTarget.width,renderTarget.height)}_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER,_gl.DEPTH_STENCIL_ATTACHMENT,_gl.RENDERBUFFER,renderbuffer)}else{const textures=renderTarget.textures;for(let i=0;i&lt;textures.length;i++){const texture=textures[i];const glFormat=utils.convert(texture.format,texture.colorSpace);const glType=utils.convert(texture.type);const glInternalFormat=getInternalFormat(texture.internalFormat,glFormat,glType,texture.colorSpace);const samples=getRenderTargetSamples(renderTarget);if(isMultisample&amp;&amp;useMultisampledRTT(renderTarget)===false){_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER,samples,glInternalFormat,renderTarget.width,renderTarget.height)}else if(useMultisampledRTT(renderTarget)){multisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER,samples,glInternalFormat,renderTarget.width,renderTarget.height)}else{_gl.renderbufferStorage(_gl.RENDERBUFFER,glInternalFormat,renderTarget.width,renderTarget.height)}}}_gl.bindRenderbuffer(_gl.RENDERBUFFER,null)}function setupDepthTexture(framebuffer,renderTarget){const isCube=renderTarget&amp;&amp;renderTarget.isWebGLCubeRenderTarget;if(isCube)throw new Error("Depth Texture with cube render targets is not supported");state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);if(!(renderTarget.depthTexture&amp;&amp;renderTarget.depthTexture.isDepthTexture)){throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture")}if(!properties.get(renderTarget.depthTexture).__webglTexture||renderTarget.depthTexture.image.width!==renderTarget.width||renderTarget.depthTexture.image.height!==renderTarget.height){renderTarget.depthTexture.image.width=renderTarget.width;renderTarget.depthTexture.image.height=renderTarget.height;renderTarget.depthTexture.needsUpdate=true}setTexture2D(renderTarget.depthTexture,0);const webglDepthTexture=properties.get(renderTarget.depthTexture).__webglTexture;const samples=getRenderTargetSamples(renderTarget);if(renderTarget.depthTexture.format===DepthFormat){if(useMultisampledRTT(renderTarget)){multisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER,_gl.DEPTH_ATTACHMENT,_gl.TEXTURE_2D,webglDepthTexture,0,samples)}else{_gl.framebufferTexture2D(_gl.FRAMEBUFFER,_gl.DEPTH_ATTACHMENT,_gl.TEXTURE_2D,webglDepthTexture,0)}}else if(renderTarget.depthTexture.format===DepthStencilFormat){if(useMultisampledRTT(renderTarget)){multisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER,_gl.DEPTH_STENCIL_ATTACHMENT,_gl.TEXTURE_2D,webglDepthTexture,0,samples)}else{_gl.framebufferTexture2D(_gl.FRAMEBUFFER,_gl.DEPTH_STENCIL_ATTACHMENT,_gl.TEXTURE_2D,webglDepthTexture,0)}}else{throw new Error("Unknown depthTexture format")}}function setupDepthRenderbuffer(renderTarget){const renderTargetProperties=properties.get(renderTarget);const isCube=renderTarget.isWebGLCubeRenderTarget===true;if(renderTarget.depthTexture&amp;&amp;!renderTargetProperties.__autoAllocateDepthBuffer){if(isCube)throw new Error("target.depthTexture not supported in Cube render targets");setupDepthTexture(renderTargetProperties.__webglFramebuffer,renderTarget)}else{if(isCube){renderTargetProperties.__webglDepthbuffer=[];for(let i=0;i&lt;6;i++){state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglFramebuffer[i]);renderTargetProperties.__webglDepthbuffer[i]=_gl.createRenderbuffer();setupRenderBufferStorage(renderTargetProperties.__webglDepthbuffer[i],renderTarget,false)}}else{state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglFramebuffer);renderTargetProperties.__webglDepthbuffer=_gl.createRenderbuffer();setupRenderBufferStorage(renderTargetProperties.__webglDepthbuffer,renderTarget,false)}}state.bindFramebuffer(_gl.FRAMEBUFFER,null)}function rebindTextures(renderTarget,colorTexture,depthTexture){const renderTargetProperties=properties.get(renderTarget);if(colorTexture!==undefined){setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer,renderTarget,renderTarget.texture,_gl.COLOR_ATTACHMENT0,_gl.TEXTURE_2D,0)}if(depthTexture!==undefined){setupDepthRenderbuffer(renderTarget)}}function setupRenderTarget(renderTarget){const texture=renderTarget.texture;const renderTargetProperties=properties.get(renderTarget);const textureProperties=properties.get(texture);renderTarget.addEventListener("dispose",onRenderTargetDispose);const textures=renderTarget.textures;const isCube=renderTarget.isWebGLCubeRenderTarget===true;const isMultipleRenderTargets=textures.length&gt;1;if(!isMultipleRenderTargets){if(textureProperties.__webglTexture===undefined){textureProperties.__webglTexture=_gl.createTexture()}textureProperties.__version=texture.version;info.memory.textures++}if(isCube){renderTargetProperties.__webglFramebuffer=[];for(let i=0;i&lt;6;i++){if(texture.mipmaps&amp;&amp;texture.mipmaps.length&gt;0){renderTargetProperties.__webglFramebuffer[i]=[];for(let level=0;level&lt;texture.mipmaps.length;level++){renderTargetProperties.__webglFramebuffer[i][level]=_gl.createFramebuffer()}}else{renderTargetProperties.__webglFramebuffer[i]=_gl.createFramebuffer()}}}else{if(texture.mipmaps&amp;&amp;texture.mipmaps.length&gt;0){renderTargetProperties.__webglFramebuffer=[];for(let level=0;level&lt;texture.mipmaps.length;level++){renderTargetProperties.__webglFramebuffer[level]=_gl.createFramebuffer()}}else{renderTargetProperties.__webglFramebuffer=_gl.createFramebuffer()}if(isMultipleRenderTargets){for(let i=0,il=textures.length;i&lt;il;i++){const attachmentProperties=properties.get(textures[i]);if(attachmentProperties.__webglTexture===undefined){attachmentProperties.__webglTexture=_gl.createTexture();info.memory.textures++}}}if(renderTarget.samples&gt;0&amp;&amp;useMultisampledRTT(renderTarget)===false){renderTargetProperties.__webglMultisampledFramebuffer=_gl.createFramebuffer();renderTargetProperties.__webglColorRenderbuffer=[];state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglMultisampledFramebuffer);for(let i=0;i&lt;textures.length;i++){const texture=textures[i];renderTargetProperties.__webglColorRenderbuffer[i]=_gl.createRenderbuffer();_gl.bindRenderbuffer(_gl.RENDERBUFFER,renderTargetProperties.__webglColorRenderbuffer[i]);const glFormat=utils.convert(texture.format,texture.colorSpace);const glType=utils.convert(texture.type);const glInternalFormat=getInternalFormat(texture.internalFormat,glFormat,glType,texture.colorSpace,renderTarget.isXRRenderTarget===true);const samples=getRenderTargetSamples(renderTarget);_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER,samples,glInternalFormat,renderTarget.width,renderTarget.height);_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER,_gl.COLOR_ATTACHMENT0+i,_gl.RENDERBUFFER,renderTargetProperties.__webglColorRenderbuffer[i])}_gl.bindRenderbuffer(_gl.RENDERBUFFER,null);if(renderTarget.depthBuffer){renderTargetProperties.__webglDepthRenderbuffer=_gl.createRenderbuffer();setupRenderBufferStorage(renderTargetProperties.__webglDepthRenderbuffer,renderTarget,true)}state.bindFramebuffer(_gl.FRAMEBUFFER,null)}}if(isCube){state.bindTexture(_gl.TEXTURE_CUBE_MAP,textureProperties.__webglTexture);setTextureParameters(_gl.TEXTURE_CUBE_MAP,texture);for(let i=0;i&lt;6;i++){if(texture.mipmaps&amp;&amp;texture.mipmaps.length&gt;0){for(let level=0;level&lt;texture.mipmaps.length;level++){setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer[i][level],renderTarget,texture,_gl.COLOR_ATTACHMENT0,_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,level)}}else{setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer[i],renderTarget,texture,_gl.COLOR_ATTACHMENT0,_gl.TEXTURE_CUBE_MAP_POSITIVE_X+i,0)}}if(textureNeedsGenerateMipmaps(texture)){generateMipmap(_gl.TEXTURE_CUBE_MAP)}state.unbindTexture()}else if(isMultipleRenderTargets){for(let i=0,il=textures.length;i&lt;il;i++){const attachment=textures[i];const attachmentProperties=properties.get(attachment);state.bindTexture(_gl.TEXTURE_2D,attachmentProperties.__webglTexture);setTextureParameters(_gl.TEXTURE_2D,attachment);setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer,renderTarget,attachment,_gl.COLOR_ATTACHMENT0+i,_gl.TEXTURE_2D,0);if(textureNeedsGenerateMipmaps(attachment)){generateMipmap(_gl.TEXTURE_2D)}}state.unbindTexture()}else{let glTextureType=_gl.TEXTURE_2D;if(renderTarget.isWebGL3DRenderTarget||renderTarget.isWebGLArrayRenderTarget){glTextureType=renderTarget.isWebGL3DRenderTarget?_gl.TEXTURE_3D:_gl.TEXTURE_2D_ARRAY}state.bindTexture(glTextureType,textureProperties.__webglTexture);setTextureParameters(glTextureType,texture);if(texture.mipmaps&amp;&amp;texture.mipmaps.length&gt;0){for(let level=0;level&lt;texture.mipmaps.length;level++){setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer[level],renderTarget,texture,_gl.COLOR_ATTACHMENT0,glTextureType,level)}}else{setupFrameBufferTexture(renderTargetProperties.__webglFramebuffer,renderTarget,texture,_gl.COLOR_ATTACHMENT0,glTextureType,0)}if(textureNeedsGenerateMipmaps(texture)){generateMipmap(glTextureType)}state.unbindTexture()}if(renderTarget.depthBuffer){setupDepthRenderbuffer(renderTarget)}}function updateRenderTargetMipmap(renderTarget){const textures=renderTarget.textures;for(let i=0,il=textures.length;i&lt;il;i++){const texture=textures[i];if(textureNeedsGenerateMipmaps(texture)){const target=renderTarget.isWebGLCubeRenderTarget?_gl.TEXTURE_CUBE_MAP:_gl.TEXTURE_2D;const webglTexture=properties.get(texture).__webglTexture;state.bindTexture(target,webglTexture);generateMipmap(target);state.unbindTexture()}}}function updateMultisampleRenderTarget(renderTarget){if(renderTarget.samples&gt;0&amp;&amp;useMultisampledRTT(renderTarget)===false){const textures=renderTarget.textures;const width=renderTarget.width;const height=renderTarget.height;let mask=_gl.COLOR_BUFFER_BIT;const invalidationArray=[];const depthStyle=renderTarget.stencilBuffer?_gl.DEPTH_STENCIL_ATTACHMENT:_gl.DEPTH_ATTACHMENT;const renderTargetProperties=properties.get(renderTarget);const isMultipleRenderTargets=textures.length&gt;1;if(isMultipleRenderTargets){for(let i=0;i&lt;textures.length;i++){state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglMultisampledFramebuffer);_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER,_gl.COLOR_ATTACHMENT0+i,_gl.RENDERBUFFER,null);state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglFramebuffer);_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER,_gl.COLOR_ATTACHMENT0+i,_gl.TEXTURE_2D,null,0)}}state.bindFramebuffer(_gl.READ_FRAMEBUFFER,renderTargetProperties.__webglMultisampledFramebuffer);state.bindFramebuffer(_gl.DRAW_FRAMEBUFFER,renderTargetProperties.__webglFramebuffer);for(let i=0;i&lt;textures.length;i++){invalidationArray.push(_gl.COLOR_ATTACHMENT0+i);if(renderTarget.depthBuffer){invalidationArray.push(depthStyle)}const ignoreDepthValues=renderTargetProperties.__ignoreDepthValues!==undefined?renderTargetProperties.__ignoreDepthValues:false;if(ignoreDepthValues===false){if(renderTarget.depthBuffer)mask|=_gl.DEPTH_BUFFER_BIT;if(renderTarget.stencilBuffer&amp;&amp;renderTargetProperties.__isTransmissionRenderTarget!==true)mask|=_gl.STENCIL_BUFFER_BIT}if(isMultipleRenderTargets){_gl.framebufferRenderbuffer(_gl.READ_FRAMEBUFFER,_gl.COLOR_ATTACHMENT0,_gl.RENDERBUFFER,renderTargetProperties.__webglColorRenderbuffer[i])}if(ignoreDepthValues===true){_gl.invalidateFramebuffer(_gl.READ_FRAMEBUFFER,[depthStyle]);_gl.invalidateFramebuffer(_gl.DRAW_FRAMEBUFFER,[depthStyle])}if(isMultipleRenderTargets){const webglTexture=properties.get(textures[i]).__webglTexture;_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER,_gl.COLOR_ATTACHMENT0,_gl.TEXTURE_2D,webglTexture,0)}_gl.blitFramebuffer(0,0,width,height,0,0,width,height,mask,_gl.NEAREST);if(supportsInvalidateFramebuffer){_gl.invalidateFramebuffer(_gl.READ_FRAMEBUFFER,invalidationArray)}}state.bindFramebuffer(_gl.READ_FRAMEBUFFER,null);state.bindFramebuffer(_gl.DRAW_FRAMEBUFFER,null);if(isMultipleRenderTargets){for(let i=0;i&lt;textures.length;i++){state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglMultisampledFramebuffer);_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER,_gl.COLOR_ATTACHMENT0+i,_gl.RENDERBUFFER,renderTargetProperties.__webglColorRenderbuffer[i]);const webglTexture=properties.get(textures[i]).__webglTexture;state.bindFramebuffer(_gl.FRAMEBUFFER,renderTargetProperties.__webglFramebuffer);_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER,_gl.COLOR_ATTACHMENT0+i,_gl.TEXTURE_2D,webglTexture,0)}}state.bindFramebuffer(_gl.DRAW_FRAMEBUFFER,renderTargetProperties.__webglMultisampledFramebuffer)}}function getRenderTargetSamples(renderTarget){return Math.min(capabilities.maxSamples,renderTarget.samples)}function useMultisampledRTT(renderTarget){const renderTargetProperties=properties.get(renderTarget);return renderTarget.samples&gt;0&amp;&amp;extensions.has("WEBGL_multisampled_render_to_texture")===true&amp;&amp;renderTargetProperties.__useRenderToTexture!==false}function updateVideoTexture(texture){const frame=info.render.frame;if(_videoTextures.get(texture)!==frame){_videoTextures.set(texture,frame);texture.update()}}function verifyColorSpace(texture,image){const colorSpace=texture.colorSpace;const format=texture.format;const type=texture.type;if(texture.isCompressedTexture===true||texture.isVideoTexture===true)return image;if(colorSpace!==LinearSRGBColorSpace&amp;&amp;colorSpace!==NoColorSpace){if(ColorManagement.getTransfer(colorSpace)===SRGBTransfer){if(format!==RGBAFormat||type!==UnsignedByteType){console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.")}}else{console.error("THREE.WebGLTextures: Unsupported texture color space:",colorSpace)}}return image}function getDimensions(image){if(typeof HTMLImageElement!=="undefined"&amp;&amp;image instanceof HTMLImageElement){_imageDimensions.width=image.naturalWidth||image.width;_imageDimensions.height=image.naturalHeight||image.height}else if(typeof VideoFrame!=="undefined"&amp;&amp;image instanceof VideoFrame){_imageDimensions.width=image.displayWidth;_imageDimensions.height=image.displayHeight}else{_imageDimensions.width=image.width;_imageDimensions.height=image.height}return _imageDimensions}this.allocateTextureUnit=allocateTextureUnit;this.resetTextureUnits=resetTextureUnits;this.setTexture2D=setTexture2D;this.setTexture2DArray=setTexture2DArray;this.setTexture3D=setTexture3D;this.setTextureCube=setTextureCube;this.rebindTextures=rebindTextures;this.setupRenderTarget=setupRenderTarget;this.updateRenderTargetMipmap=updateRenderTargetMipmap;this.updateMultisampleRenderTarget=updateMultisampleRenderTarget;this.setupDepthRenderbuffer=setupDepthRenderbuffer;this.setupFrameBufferTexture=setupFrameBufferTexture;this.useMultisampledRTT=useMultisampledRTT}function WebGLUtils(gl,extensions){function convert(p,colorSpace=NoColorSpace){let extension;const transfer=ColorManagement.getTransfer(colorSpace);if(p===UnsignedByteType)return gl.UNSIGNED_BYTE;if(p===UnsignedShort4444Type)return gl.UNSIGNED_SHORT_4_4_4_4;if(p===UnsignedShort5551Type)return gl.UNSIGNED_SHORT_5_5_5_1;if(p===UnsignedInt5999Type)return gl.UNSIGNED_INT_5_9_9_9_REV;if(p===ByteType)return gl.BYTE;if(p===ShortType)return gl.SHORT;if(p===UnsignedShortType)return gl.UNSIGNED_SHORT;if(p===IntType)return gl.INT;if(p===UnsignedIntType)return gl.UNSIGNED_INT;if(p===FloatType)return gl.FLOAT;if(p===HalfFloatType)return gl.HALF_FLOAT;if(p===AlphaFormat)return gl.ALPHA;if(p===RGBFormat)return gl.RGB;if(p===RGBAFormat)return gl.RGBA;if(p===LuminanceFormat)return gl.LUMINANCE;if(p===LuminanceAlphaFormat)return gl.LUMINANCE_ALPHA;if(p===DepthFormat)return gl.DEPTH_COMPONENT;if(p===DepthStencilFormat)return gl.DEPTH_STENCIL;if(p===RedFormat)return gl.RED;if(p===RedIntegerFormat)return gl.RED_INTEGER;if(p===RGFormat)return gl.RG;if(p===RGIntegerFormat)return gl.RG_INTEGER;if(p===RGBAIntegerFormat)return gl.RGBA_INTEGER;if(p===RGB_S3TC_DXT1_Format||p===RGBA_S3TC_DXT1_Format||p===RGBA_S3TC_DXT3_Format||p===RGBA_S3TC_DXT5_Format){if(transfer===SRGBTransfer){extension=extensions.get("WEBGL_compressed_texture_s3tc_srgb");if(extension!==null){if(p===RGB_S3TC_DXT1_Format)return extension.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(p===RGBA_S3TC_DXT1_Format)return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(p===RGBA_S3TC_DXT3_Format)return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(p===RGBA_S3TC_DXT5_Format)return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{return null}}else{extension=extensions.get("WEBGL_compressed_texture_s3tc");if(extension!==null){if(p===RGB_S3TC_DXT1_Format)return extension.COMPRESSED_RGB_S3TC_DXT1_EXT;if(p===RGBA_S3TC_DXT1_Format)return extension.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(p===RGBA_S3TC_DXT3_Format)return extension.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(p===RGBA_S3TC_DXT5_Format)return extension.COMPRESSED_RGBA_S3TC_DXT5_EXT}else{return null}}}if(p===RGB_PVRTC_4BPPV1_Format||p===RGB_PVRTC_2BPPV1_Format||p===RGBA_PVRTC_4BPPV1_Format||p===RGBA_PVRTC_2BPPV1_Format){extension=extensions.get("WEBGL_compressed_texture_pvrtc");if(extension!==null){if(p===RGB_PVRTC_4BPPV1_Format)return extension.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(p===RGB_PVRTC_2BPPV1_Format)return extension.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(p===RGBA_PVRTC_4BPPV1_Format)return extension.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(p===RGBA_PVRTC_2BPPV1_Format)return extension.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else{return null}}if(p===RGB_ETC1_Format){extension=extensions.get("WEBGL_compressed_texture_etc1");if(extension!==null){return extension.COMPRESSED_RGB_ETC1_WEBGL}else{return null}}if(p===RGB_ETC2_Format||p===RGBA_ETC2_EAC_Format){extension=extensions.get("WEBGL_compressed_texture_etc");if(extension!==null){if(p===RGB_ETC2_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ETC2:extension.COMPRESSED_RGB8_ETC2;if(p===RGBA_ETC2_EAC_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:extension.COMPRESSED_RGBA8_ETC2_EAC}else{return null}}if(p===RGBA_ASTC_4x4_Format||p===RGBA_ASTC_5x4_Format||p===RGBA_ASTC_5x5_Format||p===RGBA_ASTC_6x5_Format||p===RGBA_ASTC_6x6_Format||p===RGBA_ASTC_8x5_Format||p===RGBA_ASTC_8x6_Format||p===RGBA_ASTC_8x8_Format||p===RGBA_ASTC_10x5_Format||p===RGBA_ASTC_10x6_Format||p===RGBA_ASTC_10x8_Format||p===RGBA_ASTC_10x10_Format||p===RGBA_ASTC_12x10_Format||p===RGBA_ASTC_12x12_Format){extension=extensions.get("WEBGL_compressed_texture_astc");if(extension!==null){if(p===RGBA_ASTC_4x4_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:extension.COMPRESSED_RGBA_ASTC_4x4_KHR;if(p===RGBA_ASTC_5x4_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:extension.COMPRESSED_RGBA_ASTC_5x4_KHR;if(p===RGBA_ASTC_5x5_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:extension.COMPRESSED_RGBA_ASTC_5x5_KHR;if(p===RGBA_ASTC_6x5_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:extension.COMPRESSED_RGBA_ASTC_6x5_KHR;if(p===RGBA_ASTC_6x6_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:extension.COMPRESSED_RGBA_ASTC_6x6_KHR;if(p===RGBA_ASTC_8x5_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:extension.COMPRESSED_RGBA_ASTC_8x5_KHR;if(p===RGBA_ASTC_8x6_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:extension.COMPRESSED_RGBA_ASTC_8x6_KHR;if(p===RGBA_ASTC_8x8_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:extension.COMPRESSED_RGBA_ASTC_8x8_KHR;if(p===RGBA_ASTC_10x5_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:extension.COMPRESSED_RGBA_ASTC_10x5_KHR;if(p===RGBA_ASTC_10x6_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:extension.COMPRESSED_RGBA_ASTC_10x6_KHR;if(p===RGBA_ASTC_10x8_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:extension.COMPRESSED_RGBA_ASTC_10x8_KHR;if(p===RGBA_ASTC_10x10_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:extension.COMPRESSED_RGBA_ASTC_10x10_KHR;if(p===RGBA_ASTC_12x10_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:extension.COMPRESSED_RGBA_ASTC_12x10_KHR;if(p===RGBA_ASTC_12x12_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:extension.COMPRESSED_RGBA_ASTC_12x12_KHR}else{return null}}if(p===RGBA_BPTC_Format||p===RGB_BPTC_SIGNED_Format||p===RGB_BPTC_UNSIGNED_Format){extension=extensions.get("EXT_texture_compression_bptc");if(extension!==null){if(p===RGBA_BPTC_Format)return transfer===SRGBTransfer?extension.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:extension.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(p===RGB_BPTC_SIGNED_Format)return extension.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(p===RGB_BPTC_UNSIGNED_Format)return extension.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else{return null}}if(p===RED_RGTC1_Format||p===SIGNED_RED_RGTC1_Format||p===RED_GREEN_RGTC2_Format||p===SIGNED_RED_GREEN_RGTC2_Format){extension=extensions.get("EXT_texture_compression_rgtc");if(extension!==null){if(p===RGBA_BPTC_Format)return extension.COMPRESSED_RED_RGTC1_EXT;if(p===SIGNED_RED_RGTC1_Format)return extension.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(p===RED_GREEN_RGTC2_Format)return extension.COMPRESSED_RED_GREEN_RGTC2_EXT;if(p===SIGNED_RED_GREEN_RGTC2_Format)return extension.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else{return null}}if(p===UnsignedInt248Type)return gl.UNSIGNED_INT_24_8;return gl[p]!==undefined?gl[p]:null}return{convert:convert}}class ArrayCamera extends PerspectiveCamera{constructor(array=[]){super();this.isArrayCamera=true;this.cameras=array}}class Group extends Object3D{constructor(){super();this.isGroup=true;this.type="Group"}}const _moveEvent={type:"move"};class WebXRController{constructor(){this._targetRay=null;this._grip=null;this._hand=null}getHandSpace(){if(this._hand===null){this._hand=new Group;this._hand.matrixAutoUpdate=false;this._hand.visible=false;this._hand.joints={};this._hand.inputState={pinching:false}}return this._hand}getTargetRaySpace(){if(this._targetRay===null){this._targetRay=new Group;this._targetRay.matrixAutoUpdate=false;this._targetRay.visible=false;this._targetRay.hasLinearVelocity=false;this._targetRay.linearVelocity=new Vector3;this._targetRay.hasAngularVelocity=false;this._targetRay.angularVelocity=new Vector3}return this._targetRay}getGripSpace(){if(this._grip===null){this._grip=new Group;this._grip.matrixAutoUpdate=false;this._grip.visible=false;this._grip.hasLinearVelocity=false;this._grip.linearVelocity=new Vector3;this._grip.hasAngularVelocity=false;this._grip.angularVelocity=new Vector3}return this._grip}dispatchEvent(event){if(this._targetRay!==null){this._targetRay.dispatchEvent(event)}if(this._grip!==null){this._grip.dispatchEvent(event)}if(this._hand!==null){this._hand.dispatchEvent(event)}return this}connect(inputSource){if(inputSource&amp;&amp;inputSource.hand){const hand=this._hand;if(hand){for(const inputjoint of inputSource.hand.values()){this._getHandJoint(hand,inputjoint)}}}this.dispatchEvent({type:"connected",data:inputSource});return this}disconnect(inputSource){this.dispatchEvent({type:"disconnected",data:inputSource});if(this._targetRay!==null){this._targetRay.visible=false}if(this._grip!==null){this._grip.visible=false}if(this._hand!==null){this._hand.visible=false}return this}update(inputSource,frame,referenceSpace){let inputPose=null;let gripPose=null;let handPose=null;const targetRay=this._targetRay;const grip=this._grip;const hand=this._hand;if(inputSource&amp;&amp;frame.session.visibilityState!=="visible-blurred"){if(hand&amp;&amp;inputSource.hand){handPose=true;for(const inputjoint of inputSource.hand.values()){const jointPose=frame.getJointPose(inputjoint,referenceSpace);const joint=this._getHandJoint(hand,inputjoint);if(jointPose!==null){joint.matrix.fromArray(jointPose.transform.matrix);joint.matrix.decompose(joint.position,joint.rotation,joint.scale);joint.matrixWorldNeedsUpdate=true;joint.jointRadius=jointPose.radius}joint.visible=jointPose!==null}const indexTip=hand.joints["index-finger-tip"];const thumbTip=hand.joints["thumb-tip"];const distance=indexTip.position.distanceTo(thumbTip.position);const distanceToPinch=0.02;const threshold=0.005;if(hand.inputState.pinching&amp;&amp;distance&gt;distanceToPinch+threshold){hand.inputState.pinching=false;this.dispatchEvent({type:"pinchend",handedness:inputSource.handedness,target:this})}else if(!hand.inputState.pinching&amp;&amp;distance&lt;=distanceToPinch-threshold){hand.inputState.pinching=true;this.dispatchEvent({type:"pinchstart",handedness:inputSource.handedness,target:this})}}else{if(grip!==null&amp;&amp;inputSource.gripSpace){gripPose=frame.getPose(inputSource.gripSpace,referenceSpace);if(gripPose!==null){grip.matrix.fromArray(gripPose.transform.matrix);grip.matrix.decompose(grip.position,grip.rotation,grip.scale);grip.matrixWorldNeedsUpdate=true;if(gripPose.linearVelocity){grip.hasLinearVelocity=true;grip.linearVelocity.copy(gripPose.linearVelocity)}else{grip.hasLinearVelocity=false}if(gripPose.angularVelocity){grip.hasAngularVelocity=true;grip.angularVelocity.copy(gripPose.angularVelocity)}else{grip.hasAngularVelocity=false}}}}if(targetRay!==null){inputPose=frame.getPose(inputSource.targetRaySpace,referenceSpace);if(inputPose===null&amp;&amp;gripPose!==null){inputPose=gripPose}if(inputPose!==null){targetRay.matrix.fromArray(inputPose.transform.matrix);targetRay.matrix.decompose(targetRay.position,targetRay.rotation,targetRay.scale);targetRay.matrixWorldNeedsUpdate=true;if(inputPose.linearVelocity){targetRay.hasLinearVelocity=true;targetRay.linearVelocity.copy(inputPose.linearVelocity)}else{targetRay.hasLinearVelocity=false}if(inputPose.angularVelocity){targetRay.hasAngularVelocity=true;targetRay.angularVelocity.copy(inputPose.angularVelocity)}else{targetRay.hasAngularVelocity=false}this.dispatchEvent(_moveEvent)}}}if(targetRay!==null){targetRay.visible=inputPose!==null}if(grip!==null){grip.visible=gripPose!==null}if(hand!==null){hand.visible=handPose!==null}return this}_getHandJoint(hand,inputjoint){if(hand.joints[inputjoint.jointName]===undefined){const joint=new Group;joint.matrixAutoUpdate=false;joint.visible=false;hand.joints[inputjoint.jointName]=joint;hand.add(joint)}return hand.joints[inputjoint.jointName]}}const _occlusion_vertex=`
void main() {

	gl_Position = vec4( position, 1.0 );

}`;const _occlusion_fragment=`
uniform sampler2DArray depthColor;
uniform float depthWidth;
uniform float depthHeight;

void main() {

	vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight );

	if ( coord.x &gt;= 1.0 ) {

		gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r;

	} else {

		gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r;

	}

}`;class WebXRDepthSensing{constructor(){this.texture=null;this.mesh=null;this.depthNear=0;this.depthFar=0}init(renderer,depthData,renderState){if(this.texture===null){const texture=new Texture;const texProps=renderer.properties.get(texture);texProps.__webglTexture=depthData.texture;if(depthData.depthNear!=renderState.depthNear||depthData.depthFar!=renderState.depthFar){this.depthNear=depthData.depthNear;this.depthFar=depthData.depthFar}this.texture=texture}}render(renderer,cameraXR){if(this.texture!==null){if(this.mesh===null){const viewport=cameraXR.cameras[0].viewport;const material=new ShaderMaterial({vertexShader:_occlusion_vertex,fragmentShader:_occlusion_fragment,uniforms:{depthColor:{value:this.texture},depthWidth:{value:viewport.z},depthHeight:{value:viewport.w}}});this.mesh=new Mesh(new PlaneGeometry(20,20),material)}renderer.render(this.mesh,cameraXR)}}reset(){this.texture=null;this.mesh=null}}class WebXRManager extends EventDispatcher{constructor(renderer,gl){super();const scope=this;let session=null;let framebufferScaleFactor=1;let referenceSpace=null;let referenceSpaceType="local-floor";let foveation=1;let customReferenceSpace=null;let pose=null;let glBinding=null;let glProjLayer=null;let glBaseLayer=null;let xrFrame=null;const depthSensing=new WebXRDepthSensing;const attributes=gl.getContextAttributes();let initialRenderTarget=null;let newRenderTarget=null;const controllers=[];const controllerInputSources=[];const currentSize=new Vector2;let currentPixelRatio=null;const cameraL=new PerspectiveCamera;cameraL.layers.enable(1);cameraL.viewport=new Vector4;const cameraR=new PerspectiveCamera;cameraR.layers.enable(2);cameraR.viewport=new Vector4;const cameras=[cameraL,cameraR];const cameraXR=new ArrayCamera;cameraXR.layers.enable(1);cameraXR.layers.enable(2);let _currentDepthNear=null;let _currentDepthFar=null;this.cameraAutoUpdate=true;this.enabled=false;this.isPresenting=false;this.getController=function(index){let controller=controllers[index];if(controller===undefined){controller=new WebXRController;controllers[index]=controller}return controller.getTargetRaySpace()};this.getControllerGrip=function(index){let controller=controllers[index];if(controller===undefined){controller=new WebXRController;controllers[index]=controller}return controller.getGripSpace()};this.getHand=function(index){let controller=controllers[index];if(controller===undefined){controller=new WebXRController;controllers[index]=controller}return controller.getHandSpace()};function onSessionEvent(event){const controllerIndex=controllerInputSources.indexOf(event.inputSource);if(controllerIndex===-1){return}const controller=controllers[controllerIndex];if(controller!==undefined){controller.update(event.inputSource,event.frame,customReferenceSpace||referenceSpace);controller.dispatchEvent({type:event.type,data:event.inputSource})}}function onSessionEnd(){session.removeEventListener("select",onSessionEvent);session.removeEventListener("selectstart",onSessionEvent);session.removeEventListener("selectend",onSessionEvent);session.removeEventListener("squeeze",onSessionEvent);session.removeEventListener("squeezestart",onSessionEvent);session.removeEventListener("squeezeend",onSessionEvent);session.removeEventListener("end",onSessionEnd);session.removeEventListener("inputsourceschange",onInputSourcesChange);for(let i=0;i&lt;controllers.length;i++){const inputSource=controllerInputSources[i];if(inputSource===null)continue;controllerInputSources[i]=null;controllers[i].disconnect(inputSource)}_currentDepthNear=null;_currentDepthFar=null;depthSensing.reset();renderer.setRenderTarget(initialRenderTarget);glBaseLayer=null;glProjLayer=null;glBinding=null;session=null;newRenderTarget=null;animation.stop();scope.isPresenting=false;renderer.setPixelRatio(currentPixelRatio);renderer.setSize(currentSize.width,currentSize.height,false);scope.dispatchEvent({type:"sessionend"})}this.setFramebufferScaleFactor=function(value){framebufferScaleFactor=value;if(scope.isPresenting===true){console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")}};this.setReferenceSpaceType=function(value){referenceSpaceType=value;if(scope.isPresenting===true){console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")}};this.getReferenceSpace=function(){return customReferenceSpace||referenceSpace};this.setReferenceSpace=function(space){customReferenceSpace=space};this.getBaseLayer=function(){return glProjLayer!==null?glProjLayer:glBaseLayer};this.getBinding=function(){return glBinding};this.getFrame=function(){return xrFrame};this.getSession=function(){return session};this.setSession=async function(value){session=value;if(session!==null){initialRenderTarget=renderer.getRenderTarget();session.addEventListener("select",onSessionEvent);session.addEventListener("selectstart",onSessionEvent);session.addEventListener("selectend",onSessionEvent);session.addEventListener("squeeze",onSessionEvent);session.addEventListener("squeezestart",onSessionEvent);session.addEventListener("squeezeend",onSessionEvent);session.addEventListener("end",onSessionEnd);session.addEventListener("inputsourceschange",onInputSourcesChange);if(attributes.xrCompatible!==true){await gl.makeXRCompatible()}currentPixelRatio=renderer.getPixelRatio();renderer.getSize(currentSize);if(session.renderState.layers===undefined){const layerInit={antialias:attributes.antialias,alpha:true,depth:attributes.depth,stencil:attributes.stencil,framebufferScaleFactor:framebufferScaleFactor};glBaseLayer=new XRWebGLLayer(session,gl,layerInit);session.updateRenderState({baseLayer:glBaseLayer});renderer.setPixelRatio(1);renderer.setSize(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,false);newRenderTarget=new WebGLRenderTarget(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,{format:RGBAFormat,type:UnsignedByteType,colorSpace:renderer.outputColorSpace,stencilBuffer:attributes.stencil})}else{let depthFormat=null;let depthType=null;let glDepthFormat=null;if(attributes.depth){glDepthFormat=attributes.stencil?gl.DEPTH24_STENCIL8:gl.DEPTH_COMPONENT24;depthFormat=attributes.stencil?DepthStencilFormat:DepthFormat;depthType=attributes.stencil?UnsignedInt248Type:UnsignedIntType}const projectionlayerInit={colorFormat:gl.RGBA8,depthFormat:glDepthFormat,scaleFactor:framebufferScaleFactor};glBinding=new XRWebGLBinding(session,gl);glProjLayer=glBinding.createProjectionLayer(projectionlayerInit);session.updateRenderState({layers:[glProjLayer]});renderer.setPixelRatio(1);renderer.setSize(glProjLayer.textureWidth,glProjLayer.textureHeight,false);newRenderTarget=new WebGLRenderTarget(glProjLayer.textureWidth,glProjLayer.textureHeight,{format:RGBAFormat,type:UnsignedByteType,depthTexture:new DepthTexture(glProjLayer.textureWidth,glProjLayer.textureHeight,depthType,undefined,undefined,undefined,undefined,undefined,undefined,depthFormat),stencilBuffer:attributes.stencil,colorSpace:renderer.outputColorSpace,samples:attributes.antialias?4:0});const renderTargetProperties=renderer.properties.get(newRenderTarget);renderTargetProperties.__ignoreDepthValues=glProjLayer.ignoreDepthValues}newRenderTarget.isXRRenderTarget=true;this.setFoveation(foveation);customReferenceSpace=null;referenceSpace=await session.requestReferenceSpace(referenceSpaceType);animation.setContext(session);animation.start();scope.isPresenting=true;scope.dispatchEvent({type:"sessionstart"})}};this.getEnvironmentBlendMode=function(){if(session!==null){return session.environmentBlendMode}};function onInputSourcesChange(event){for(let i=0;i&lt;event.removed.length;i++){const inputSource=event.removed[i];const index=controllerInputSources.indexOf(inputSource);if(index&gt;=0){controllerInputSources[index]=null;controllers[index].disconnect(inputSource)}}for(let i=0;i&lt;event.added.length;i++){const inputSource=event.added[i];let controllerIndex=controllerInputSources.indexOf(inputSource);if(controllerIndex===-1){for(let i=0;i&lt;controllers.length;i++){if(i&gt;=controllerInputSources.length){controllerInputSources.push(inputSource);controllerIndex=i;break}else if(controllerInputSources[i]===null){controllerInputSources[i]=inputSource;controllerIndex=i;break}}if(controllerIndex===-1)break}const controller=controllers[controllerIndex];if(controller){controller.connect(inputSource)}}}const cameraLPos=new Vector3;const cameraRPos=new Vector3;function setProjectionFromUnion(camera,cameraL,cameraR){cameraLPos.setFromMatrixPosition(cameraL.matrixWorld);cameraRPos.setFromMatrixPosition(cameraR.matrixWorld);const ipd=cameraLPos.distanceTo(cameraRPos);const projL=cameraL.projectionMatrix.elements;const projR=cameraR.projectionMatrix.elements;const near=projL[14]/(projL[10]-1);const far=projL[14]/(projL[10]+1);const topFov=(projL[9]+1)/projL[5];const bottomFov=(projL[9]-1)/projL[5];const leftFov=(projL[8]-1)/projL[0];const rightFov=(projR[8]+1)/projR[0];const left=near*leftFov;const right=near*rightFov;const zOffset=ipd/(-leftFov+rightFov);const xOffset=zOffset*-leftFov;cameraL.matrixWorld.decompose(camera.position,camera.quaternion,camera.scale);camera.translateX(xOffset);camera.translateZ(zOffset);camera.matrixWorld.compose(camera.position,camera.quaternion,camera.scale);camera.matrixWorldInverse.copy(camera.matrixWorld).invert();const near2=near+zOffset;const far2=far+zOffset;const left2=left-xOffset;const right2=right+(ipd-xOffset);const top2=topFov*far/far2*near2;const bottom2=bottomFov*far/far2*near2;camera.projectionMatrix.makePerspective(left2,right2,top2,bottom2,near2,far2);camera.projectionMatrixInverse.copy(camera.projectionMatrix).invert()}function updateCamera(camera,parent){if(parent===null){camera.matrixWorld.copy(camera.matrix)}else{camera.matrixWorld.multiplyMatrices(parent.matrixWorld,camera.matrix)}camera.matrixWorldInverse.copy(camera.matrixWorld).invert()}this.updateCamera=function(camera){if(session===null)return;if(depthSensing.texture!==null){camera.near=depthSensing.depthNear;camera.far=depthSensing.depthFar}cameraXR.near=cameraR.near=cameraL.near=camera.near;cameraXR.far=cameraR.far=cameraL.far=camera.far;if(_currentDepthNear!==cameraXR.near||_currentDepthFar!==cameraXR.far){session.updateRenderState({depthNear:cameraXR.near,depthFar:cameraXR.far});_currentDepthNear=cameraXR.near;_currentDepthFar=cameraXR.far;cameraL.near=_currentDepthNear;cameraL.far=_currentDepthFar;cameraR.near=_currentDepthNear;cameraR.far=_currentDepthFar;cameraL.updateProjectionMatrix();cameraR.updateProjectionMatrix();camera.updateProjectionMatrix()}const parent=camera.parent;const cameras=cameraXR.cameras;updateCamera(cameraXR,parent);for(let i=0;i&lt;cameras.length;i++){updateCamera(cameras[i],parent)}if(cameras.length===2){setProjectionFromUnion(cameraXR,cameraL,cameraR)}else{cameraXR.projectionMatrix.copy(cameraL.projectionMatrix)}updateUserCamera(camera,cameraXR,parent)};function updateUserCamera(camera,cameraXR,parent){if(parent===null){camera.matrix.copy(cameraXR.matrixWorld)}else{camera.matrix.copy(parent.matrixWorld);camera.matrix.invert();camera.matrix.multiply(cameraXR.matrixWorld)}camera.matrix.decompose(camera.position,camera.quaternion,camera.scale);camera.updateMatrixWorld(true);camera.projectionMatrix.copy(cameraXR.projectionMatrix);camera.projectionMatrixInverse.copy(cameraXR.projectionMatrixInverse);if(camera.isPerspectiveCamera){camera.fov=RAD2DEG*2*Math.atan(1/camera.projectionMatrix.elements[5]);camera.zoom=1}}this.getCamera=function(){return cameraXR};this.getFoveation=function(){if(glProjLayer===null&amp;&amp;glBaseLayer===null){return undefined}return foveation};this.setFoveation=function(value){foveation=value;if(glProjLayer!==null){glProjLayer.fixedFoveation=value}if(glBaseLayer!==null&amp;&amp;glBaseLayer.fixedFoveation!==undefined){glBaseLayer.fixedFoveation=value}};this.hasDepthSensing=function(){return depthSensing.texture!==null};let onAnimationFrameCallback=null;function onAnimationFrame(time,frame){pose=frame.getViewerPose(customReferenceSpace||referenceSpace);xrFrame=frame;if(pose!==null){const views=pose.views;if(glBaseLayer!==null){renderer.setRenderTargetFramebuffer(newRenderTarget,glBaseLayer.framebuffer);renderer.setRenderTarget(newRenderTarget)}let cameraXRNeedsUpdate=false;if(views.length!==cameraXR.cameras.length){cameraXR.cameras.length=0;cameraXRNeedsUpdate=true}for(let i=0;i&lt;views.length;i++){const view=views[i];let viewport=null;if(glBaseLayer!==null){viewport=glBaseLayer.getViewport(view)}else{const glSubImage=glBinding.getViewSubImage(glProjLayer,view);viewport=glSubImage.viewport;if(i===0){renderer.setRenderTargetTextures(newRenderTarget,glSubImage.colorTexture,glProjLayer.ignoreDepthValues?undefined:glSubImage.depthStencilTexture);renderer.setRenderTarget(newRenderTarget)}}let camera=cameras[i];if(camera===undefined){camera=new PerspectiveCamera;camera.layers.enable(i);camera.viewport=new Vector4;cameras[i]=camera}camera.matrix.fromArray(view.transform.matrix);camera.matrix.decompose(camera.position,camera.quaternion,camera.scale);camera.projectionMatrix.fromArray(view.projectionMatrix);camera.projectionMatrixInverse.copy(camera.projectionMatrix).invert();camera.viewport.set(viewport.x,viewport.y,viewport.width,viewport.height);if(i===0){cameraXR.matrix.copy(camera.matrix);cameraXR.matrix.decompose(cameraXR.position,cameraXR.quaternion,cameraXR.scale)}if(cameraXRNeedsUpdate===true){cameraXR.cameras.push(camera)}}const enabledFeatures=session.enabledFeatures;if(enabledFeatures&amp;&amp;enabledFeatures.includes("depth-sensing")){const depthData=glBinding.getDepthInformation(views[0]);if(depthData&amp;&amp;depthData.isValid&amp;&amp;depthData.texture){depthSensing.init(renderer,depthData,session.renderState)}}}for(let i=0;i&lt;controllers.length;i++){const inputSource=controllerInputSources[i];const controller=controllers[i];if(inputSource!==null&amp;&amp;controller!==undefined){controller.update(inputSource,frame,customReferenceSpace||referenceSpace)}}depthSensing.render(renderer,cameraXR);if(onAnimationFrameCallback)onAnimationFrameCallback(time,frame);if(frame.detectedPlanes){scope.dispatchEvent({type:"planesdetected",data:frame})}xrFrame=null}const animation=new WebGLAnimation;animation.setAnimationLoop(onAnimationFrame);this.setAnimationLoop=function(callback){onAnimationFrameCallback=callback};this.dispose=function(){}}}const _e1=new Euler;const _m1=new Matrix4;function WebGLMaterials(renderer,properties){function refreshTransformUniform(map,uniform){if(map.matrixAutoUpdate===true){map.updateMatrix()}uniform.value.copy(map.matrix)}function refreshFogUniforms(uniforms,fog){fog.color.getRGB(uniforms.fogColor.value,getUnlitUniformColorSpace(renderer));if(fog.isFog){uniforms.fogNear.value=fog.near;uniforms.fogFar.value=fog.far}else if(fog.isFogExp2){uniforms.fogDensity.value=fog.density}}function refreshMaterialUniforms(uniforms,material,pixelRatio,height,transmissionRenderTarget){if(material.isMeshBasicMaterial){refreshUniformsCommon(uniforms,material)}else if(material.isMeshLambertMaterial){refreshUniformsCommon(uniforms,material)}else if(material.isMeshToonMaterial){refreshUniformsCommon(uniforms,material);refreshUniformsToon(uniforms,material)}else if(material.isMeshPhongMaterial){refreshUniformsCommon(uniforms,material);refreshUniformsPhong(uniforms,material)}else if(material.isMeshStandardMaterial){refreshUniformsCommon(uniforms,material);refreshUniformsStandard(uniforms,material);if(material.isMeshPhysicalMaterial){refreshUniformsPhysical(uniforms,material,transmissionRenderTarget)}}else if(material.isMeshMatcapMaterial){refreshUniformsCommon(uniforms,material);refreshUniformsMatcap(uniforms,material)}else if(material.isMeshDepthMaterial){refreshUniformsCommon(uniforms,material)}else if(material.isMeshDistanceMaterial){refreshUniformsCommon(uniforms,material);refreshUniformsDistance(uniforms,material)}else if(material.isMeshNormalMaterial){refreshUniformsCommon(uniforms,material)}else if(material.isLineBasicMaterial){refreshUniformsLine(uniforms,material);if(material.isLineDashedMaterial){refreshUniformsDash(uniforms,material)}}else if(material.isPointsMaterial){refreshUniformsPoints(uniforms,material,pixelRatio,height)}else if(material.isSpriteMaterial){refreshUniformsSprites(uniforms,material)}else if(material.isShadowMaterial){uniforms.color.value.copy(material.color);uniforms.opacity.value=material.opacity}else if(material.isShaderMaterial){material.uniformsNeedUpdate=false}}function refreshUniformsCommon(uniforms,material){uniforms.opacity.value=material.opacity;if(material.color){uniforms.diffuse.value.copy(material.color)}if(material.emissive){uniforms.emissive.value.copy(material.emissive).multiplyScalar(material.emissiveIntensity)}if(material.map){uniforms.map.value=material.map;refreshTransformUniform(material.map,uniforms.mapTransform)}if(material.alphaMap){uniforms.alphaMap.value=material.alphaMap;refreshTransformUniform(material.alphaMap,uniforms.alphaMapTransform)}if(material.bumpMap){uniforms.bumpMap.value=material.bumpMap;refreshTransformUniform(material.bumpMap,uniforms.bumpMapTransform);uniforms.bumpScale.value=material.bumpScale;if(material.side===BackSide){uniforms.bumpScale.value*=-1}}if(material.normalMap){uniforms.normalMap.value=material.normalMap;refreshTransformUniform(material.normalMap,uniforms.normalMapTransform);uniforms.normalScale.value.copy(material.normalScale);if(material.side===BackSide){uniforms.normalScale.value.negate()}}if(material.displacementMap){uniforms.displacementMap.value=material.displacementMap;refreshTransformUniform(material.displacementMap,uniforms.displacementMapTransform);uniforms.displacementScale.value=material.displacementScale;uniforms.displacementBias.value=material.displacementBias}if(material.emissiveMap){uniforms.emissiveMap.value=material.emissiveMap;refreshTransformUniform(material.emissiveMap,uniforms.emissiveMapTransform)}if(material.specularMap){uniforms.specularMap.value=material.specularMap;refreshTransformUniform(material.specularMap,uniforms.specularMapTransform)}if(material.alphaTest&gt;0){uniforms.alphaTest.value=material.alphaTest}const materialProperties=properties.get(material);const envMap=materialProperties.envMap;const envMapRotation=materialProperties.envMapRotation;if(envMap){uniforms.envMap.value=envMap;_e1.copy(envMapRotation);_e1.x*=-1;_e1.y*=-1;_e1.z*=-1;if(envMap.isCubeTexture&amp;&amp;envMap.isRenderTargetTexture===false){_e1.y*=-1;_e1.z*=-1}uniforms.envMapRotation.value.setFromMatrix4(_m1.makeRotationFromEuler(_e1));uniforms.flipEnvMap.value=envMap.isCubeTexture&amp;&amp;envMap.isRenderTargetTexture===false?-1:1;uniforms.reflectivity.value=material.reflectivity;uniforms.ior.value=material.ior;uniforms.refractionRatio.value=material.refractionRatio}if(material.lightMap){uniforms.lightMap.value=material.lightMap;const scaleFactor=renderer._useLegacyLights===true?Math.PI:1;uniforms.lightMapIntensity.value=material.lightMapIntensity*scaleFactor;refreshTransformUniform(material.lightMap,uniforms.lightMapTransform)}if(material.aoMap){uniforms.aoMap.value=material.aoMap;uniforms.aoMapIntensity.value=material.aoMapIntensity;refreshTransformUniform(material.aoMap,uniforms.aoMapTransform)}}function refreshUniformsLine(uniforms,material){uniforms.diffuse.value.copy(material.color);uniforms.opacity.value=material.opacity;if(material.map){uniforms.map.value=material.map;refreshTransformUniform(material.map,uniforms.mapTransform)}}function refreshUniformsDash(uniforms,material){uniforms.dashSize.value=material.dashSize;uniforms.totalSize.value=material.dashSize+material.gapSize;uniforms.scale.value=material.scale}function refreshUniformsPoints(uniforms,material,pixelRatio,height){uniforms.diffuse.value.copy(material.color);uniforms.opacity.value=material.opacity;uniforms.size.value=material.size*pixelRatio;uniforms.scale.value=height*0.5;if(material.map){uniforms.map.value=material.map;refreshTransformUniform(material.map,uniforms.uvTransform)}if(material.alphaMap){uniforms.alphaMap.value=material.alphaMap;refreshTransformUniform(material.alphaMap,uniforms.alphaMapTransform)}if(material.alphaTest&gt;0){uniforms.alphaTest.value=material.alphaTest}}function refreshUniformsSprites(uniforms,material){uniforms.diffuse.value.copy(material.color);uniforms.opacity.value=material.opacity;uniforms.rotation.value=material.rotation;if(material.map){uniforms.map.value=material.map;refreshTransformUniform(material.map,uniforms.mapTransform)}if(material.alphaMap){uniforms.alphaMap.value=material.alphaMap;refreshTransformUniform(material.alphaMap,uniforms.alphaMapTransform)}if(material.alphaTest&gt;0){uniforms.alphaTest.value=material.alphaTest}}function refreshUniformsPhong(uniforms,material){uniforms.specular.value.copy(material.specular);uniforms.shininess.value=Math.max(material.shininess,1e-4)}function refreshUniformsToon(uniforms,material){if(material.gradientMap){uniforms.gradientMap.value=material.gradientMap}}function refreshUniformsStandard(uniforms,material){uniforms.metalness.value=material.metalness;if(material.metalnessMap){uniforms.metalnessMap.value=material.metalnessMap;refreshTransformUniform(material.metalnessMap,uniforms.metalnessMapTransform)}uniforms.roughness.value=material.roughness;if(material.roughnessMap){uniforms.roughnessMap.value=material.roughnessMap;refreshTransformUniform(material.roughnessMap,uniforms.roughnessMapTransform)}if(material.envMap){uniforms.envMapIntensity.value=material.envMapIntensity}}function refreshUniformsPhysical(uniforms,material,transmissionRenderTarget){uniforms.ior.value=material.ior;if(material.sheen&gt;0){uniforms.sheenColor.value.copy(material.sheenColor).multiplyScalar(material.sheen);uniforms.sheenRoughness.value=material.sheenRoughness;if(material.sheenColorMap){uniforms.sheenColorMap.value=material.sheenColorMap;refreshTransformUniform(material.sheenColorMap,uniforms.sheenColorMapTransform)}if(material.sheenRoughnessMap){uniforms.sheenRoughnessMap.value=material.sheenRoughnessMap;refreshTransformUniform(material.sheenRoughnessMap,uniforms.sheenRoughnessMapTransform)}}if(material.clearcoat&gt;0){uniforms.clearcoat.value=material.clearcoat;uniforms.clearcoatRoughness.value=material.clearcoatRoughness;if(material.clearcoatMap){uniforms.clearcoatMap.value=material.clearcoatMap;refreshTransformUniform(material.clearcoatMap,uniforms.clearcoatMapTransform)}if(material.clearcoatRoughnessMap){uniforms.clearcoatRoughnessMap.value=material.clearcoatRoughnessMap;refreshTransformUniform(material.clearcoatRoughnessMap,uniforms.clearcoatRoughnessMapTransform)}if(material.clearcoatNormalMap){uniforms.clearcoatNormalMap.value=material.clearcoatNormalMap;refreshTransformUniform(material.clearcoatNormalMap,uniforms.clearcoatNormalMapTransform);uniforms.clearcoatNormalScale.value.copy(material.clearcoatNormalScale);if(material.side===BackSide){uniforms.clearcoatNormalScale.value.negate()}}}if(material.iridescence&gt;0){uniforms.iridescence.value=material.iridescence;uniforms.iridescenceIOR.value=material.iridescenceIOR;uniforms.iridescenceThicknessMinimum.value=material.iridescenceThicknessRange[0];uniforms.iridescenceThicknessMaximum.value=material.iridescenceThicknessRange[1];if(material.iridescenceMap){uniforms.iridescenceMap.value=material.iridescenceMap;refreshTransformUniform(material.iridescenceMap,uniforms.iridescenceMapTransform)}if(material.iridescenceThicknessMap){uniforms.iridescenceThicknessMap.value=material.iridescenceThicknessMap;refreshTransformUniform(material.iridescenceThicknessMap,uniforms.iridescenceThicknessMapTransform)}}if(material.transmission&gt;0){uniforms.transmission.value=material.transmission;uniforms.transmissionSamplerMap.value=transmissionRenderTarget.texture;uniforms.transmissionSamplerSize.value.set(transmissionRenderTarget.width,transmissionRenderTarget.height);if(material.transmissionMap){uniforms.transmissionMap.value=material.transmissionMap;refreshTransformUniform(material.transmissionMap,uniforms.transmissionMapTransform)}uniforms.thickness.value=material.thickness;if(material.thicknessMap){uniforms.thicknessMap.value=material.thicknessMap;refreshTransformUniform(material.thicknessMap,uniforms.thicknessMapTransform)}uniforms.attenuationDistance.value=material.attenuationDistance;uniforms.attenuationColor.value.copy(material.attenuationColor)}if(material.anisotropy&gt;0){uniforms.anisotropyVector.value.set(material.anisotropy*Math.cos(material.anisotropyRotation),material.anisotropy*Math.sin(material.anisotropyRotation));if(material.anisotropyMap){uniforms.anisotropyMap.value=material.anisotropyMap;refreshTransformUniform(material.anisotropyMap,uniforms.anisotropyMapTransform)}}uniforms.specularIntensity.value=material.specularIntensity;uniforms.specularColor.value.copy(material.specularColor);if(material.specularColorMap){uniforms.specularColorMap.value=material.specularColorMap;refreshTransformUniform(material.specularColorMap,uniforms.specularColorMapTransform)}if(material.specularIntensityMap){uniforms.specularIntensityMap.value=material.specularIntensityMap;refreshTransformUniform(material.specularIntensityMap,uniforms.specularIntensityMapTransform)}}function refreshUniformsMatcap(uniforms,material){if(material.matcap){uniforms.matcap.value=material.matcap}}function refreshUniformsDistance(uniforms,material){const light=properties.get(material).light;uniforms.referencePosition.value.setFromMatrixPosition(light.matrixWorld);uniforms.nearDistance.value=light.shadow.camera.near;uniforms.farDistance.value=light.shadow.camera.far}return{refreshFogUniforms:refreshFogUniforms,refreshMaterialUniforms:refreshMaterialUniforms}}function WebGLUniformsGroups(gl,info,capabilities,state){let buffers={};let updateList={};let allocatedBindingPoints=[];const maxBindingPoints=gl.getParameter(gl.MAX_UNIFORM_BUFFER_BINDINGS);function bind(uniformsGroup,program){const webglProgram=program.program;state.uniformBlockBinding(uniformsGroup,webglProgram)}function update(uniformsGroup,program){let buffer=buffers[uniformsGroup.id];if(buffer===undefined){prepareUniformsGroup(uniformsGroup);buffer=createBuffer(uniformsGroup);buffers[uniformsGroup.id]=buffer;uniformsGroup.addEventListener("dispose",onUniformsGroupsDispose)}const webglProgram=program.program;state.updateUBOMapping(uniformsGroup,webglProgram);const frame=info.render.frame;if(updateList[uniformsGroup.id]!==frame){updateBufferData(uniformsGroup);updateList[uniformsGroup.id]=frame}}function createBuffer(uniformsGroup){const bindingPointIndex=allocateBindingPointIndex();uniformsGroup.__bindingPointIndex=bindingPointIndex;const buffer=gl.createBuffer();const size=uniformsGroup.__size;const usage=uniformsGroup.usage;gl.bindBuffer(gl.UNIFORM_BUFFER,buffer);gl.bufferData(gl.UNIFORM_BUFFER,size,usage);gl.bindBuffer(gl.UNIFORM_BUFFER,null);gl.bindBufferBase(gl.UNIFORM_BUFFER,bindingPointIndex,buffer);return buffer}function allocateBindingPointIndex(){for(let i=0;i&lt;maxBindingPoints;i++){if(allocatedBindingPoints.indexOf(i)===-1){allocatedBindingPoints.push(i);return i}}console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached.");return 0}function updateBufferData(uniformsGroup){const buffer=buffers[uniformsGroup.id];const uniforms=uniformsGroup.uniforms;const cache=uniformsGroup.__cache;gl.bindBuffer(gl.UNIFORM_BUFFER,buffer);for(let i=0,il=uniforms.length;i&lt;il;i++){const uniformArray=Array.isArray(uniforms[i])?uniforms[i]:[uniforms[i]];for(let j=0,jl=uniformArray.length;j&lt;jl;j++){const uniform=uniformArray[j];if(hasUniformChanged(uniform,i,j,cache)===true){const offset=uniform.__offset;const values=Array.isArray(uniform.value)?uniform.value:[uniform.value];let arrayOffset=0;for(let k=0;k&lt;values.length;k++){const value=values[k];const info=getUniformSize(value);if(typeof value==="number"||typeof value==="boolean"){uniform.__data[0]=value;gl.bufferSubData(gl.UNIFORM_BUFFER,offset+arrayOffset,uniform.__data)}else if(value.isMatrix3){uniform.__data[0]=value.elements[0];uniform.__data[1]=value.elements[1];uniform.__data[2]=value.elements[2];uniform.__data[3]=0;uniform.__data[4]=value.elements[3];uniform.__data[5]=value.elements[4];uniform.__data[6]=value.elements[5];uniform.__data[7]=0;uniform.__data[8]=value.elements[6];uniform.__data[9]=value.elements[7];uniform.__data[10]=value.elements[8];uniform.__data[11]=0}else{value.toArray(uniform.__data,arrayOffset);arrayOffset+=info.storage/Float32Array.BYTES_PER_ELEMENT}}gl.bufferSubData(gl.UNIFORM_BUFFER,offset,uniform.__data)}}}gl.bindBuffer(gl.UNIFORM_BUFFER,null)}function hasUniformChanged(uniform,index,indexArray,cache){const value=uniform.value;const indexString=index+"_"+indexArray;if(cache[indexString]===undefined){if(typeof value==="number"||typeof value==="boolean"){cache[indexString]=value}else{cache[indexString]=value.clone()}return true}else{const cachedObject=cache[indexString];if(typeof value==="number"||typeof value==="boolean"){if(cachedObject!==value){cache[indexString]=value;return true}}else{if(cachedObject.equals(value)===false){cachedObject.copy(value);return true}}}return false}function prepareUniformsGroup(uniformsGroup){const uniforms=uniformsGroup.uniforms;let offset=0;const chunkSize=16;for(let i=0,l=uniforms.length;i&lt;l;i++){const uniformArray=Array.isArray(uniforms[i])?uniforms[i]:[uniforms[i]];for(let j=0,jl=uniformArray.length;j&lt;jl;j++){const uniform=uniformArray[j];const values=Array.isArray(uniform.value)?uniform.value:[uniform.value];for(let k=0,kl=values.length;k&lt;kl;k++){const value=values[k];const info=getUniformSize(value);const chunkOffsetUniform=offset%chunkSize;if(chunkOffsetUniform!==0&amp;&amp;chunkSize-chunkOffsetUniform&lt;info.boundary){offset+=chunkSize-chunkOffsetUniform}uniform.__data=new Float32Array(info.storage/Float32Array.BYTES_PER_ELEMENT);uniform.__offset=offset;offset+=info.storage}}}const chunkOffset=offset%chunkSize;if(chunkOffset&gt;0)offset+=chunkSize-chunkOffset;uniformsGroup.__size=offset;uniformsGroup.__cache={};return this}function getUniformSize(value){const info={boundary:0,storage:0};if(typeof value==="number"||typeof value==="boolean"){info.boundary=4;info.storage=4}else if(value.isVector2){info.boundary=8;info.storage=8}else if(value.isVector3||value.isColor){info.boundary=16;info.storage=12}else if(value.isVector4){info.boundary=16;info.storage=16}else if(value.isMatrix3){info.boundary=48;info.storage=48}else if(value.isMatrix4){info.boundary=64;info.storage=64}else if(value.isTexture){console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group.")}else{console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",value)}return info}function onUniformsGroupsDispose(event){const uniformsGroup=event.target;uniformsGroup.removeEventListener("dispose",onUniformsGroupsDispose);const index=allocatedBindingPoints.indexOf(uniformsGroup.__bindingPointIndex);allocatedBindingPoints.splice(index,1);gl.deleteBuffer(buffers[uniformsGroup.id]);delete buffers[uniformsGroup.id];delete updateList[uniformsGroup.id]}function dispose(){for(const id in buffers){gl.deleteBuffer(buffers[id])}allocatedBindingPoints=[];buffers={};updateList={}}return{bind:bind,update:update,dispose:dispose}}class WebGLRenderer{constructor(parameters={}){const{canvas=createCanvasElement(),context=null,depth=true,stencil=false,alpha=false,antialias=false,premultipliedAlpha=true,preserveDrawingBuffer=false,powerPreference="default",failIfMajorPerformanceCaveat=false}=parameters;this.isWebGLRenderer=true;let _alpha;if(context!==null){if(typeof WebGLRenderingContext!=="undefined"&amp;&amp;context instanceof WebGLRenderingContext){throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.")}_alpha=context.getContextAttributes().alpha}else{_alpha=alpha}const uintClearColor=new Uint32Array(4);const intClearColor=new Int32Array(4);let currentRenderList=null;let currentRenderState=null;const renderListStack=[];const renderStateStack=[];this.domElement=canvas;this.debug={checkShaderErrors:true,onShaderError:null};this.autoClear=true;this.autoClearColor=true;this.autoClearDepth=true;this.autoClearStencil=true;this.sortObjects=true;this.clippingPlanes=[];this.localClippingEnabled=false;this._outputColorSpace=SRGBColorSpace;this._useLegacyLights=false;this.toneMapping=NoToneMapping;this.toneMappingExposure=1;const _this=this;let _isContextLost=false;let _currentActiveCubeFace=0;let _currentActiveMipmapLevel=0;let _currentRenderTarget=null;let _currentMaterialId=-1;let _currentCamera=null;const _currentViewport=new Vector4;const _currentScissor=new Vector4;let _currentScissorTest=null;const _currentClearColor=new Color(0);let _currentClearAlpha=0;let _width=canvas.width;let _height=canvas.height;let _pixelRatio=1;let _opaqueSort=null;let _transparentSort=null;const _viewport=new Vector4(0,0,_width,_height);const _scissor=new Vector4(0,0,_width,_height);let _scissorTest=false;const _frustum=new Frustum;let _clippingEnabled=false;let _localClippingEnabled=false;const _projScreenMatrix=new Matrix4;const _vector2=new Vector2;const _vector3=new Vector3;const _emptyScene={background:null,fog:null,environment:null,overrideMaterial:null,isScene:true};function getTargetPixelRatio(){return _currentRenderTarget===null?_pixelRatio:1}let _gl=context;function getContext(contextName,contextAttributes){const context=canvas.getContext(contextName,contextAttributes);if(context!==null)return context;return null}try{const contextAttributes={alpha:true,depth,stencil,antialias,premultipliedAlpha,preserveDrawingBuffer,powerPreference,failIfMajorPerformanceCaveat};if("setAttribute"in canvas)canvas.setAttribute("data-engine",`three.js r${REVISION}`);canvas.addEventListener("webglcontextlost",onContextLost,false);canvas.addEventListener("webglcontextrestored",onContextRestore,false);canvas.addEventListener("webglcontextcreationerror",onContextCreationError,false);if(_gl===null){const contextName="webgl2";_gl=getContext(contextName,contextAttributes);if(_gl===null){if(getContext(contextName)){throw new Error("Error creating WebGL context with your selected attributes.")}else{throw new Error("Error creating WebGL context.")}}}}catch(error){console.error("THREE.WebGLRenderer: "+error.message);throw error}let extensions,capabilities,state,info;let properties,textures,cubemaps,cubeuvmaps,attributes,geometries,objects;let programCache,materials,renderLists,renderStates,clipping,shadowMap;let background,morphtargets,bufferRenderer,indexedBufferRenderer;let utils,bindingStates,uniformsGroups;function initGLContext(){extensions=new WebGLExtensions(_gl);extensions.init();capabilities=new WebGLCapabilities(_gl,extensions,parameters);utils=new WebGLUtils(_gl,extensions);state=new WebGLState(_gl);info=new WebGLInfo(_gl);properties=new WebGLProperties;textures=new WebGLTextures(_gl,extensions,state,properties,capabilities,utils,info);cubemaps=new WebGLCubeMaps(_this);cubeuvmaps=new WebGLCubeUVMaps(_this);attributes=new WebGLAttributes(_gl);bindingStates=new WebGLBindingStates(_gl,attributes);geometries=new WebGLGeometries(_gl,attributes,info,bindingStates);objects=new WebGLObjects(_gl,geometries,attributes,info);morphtargets=new WebGLMorphtargets(_gl,capabilities,textures);clipping=new WebGLClipping(properties);programCache=new WebGLPrograms(_this,cubemaps,cubeuvmaps,extensions,capabilities,bindingStates,clipping);materials=new WebGLMaterials(_this,properties);renderLists=new WebGLRenderLists;renderStates=new WebGLRenderStates(extensions);background=new WebGLBackground(_this,cubemaps,cubeuvmaps,state,objects,_alpha,premultipliedAlpha);shadowMap=new WebGLShadowMap(_this,objects,capabilities);uniformsGroups=new WebGLUniformsGroups(_gl,info,capabilities,state);bufferRenderer=new WebGLBufferRenderer(_gl,extensions,info);indexedBufferRenderer=new WebGLIndexedBufferRenderer(_gl,extensions,info);info.programs=programCache.programs;_this.capabilities=capabilities;_this.extensions=extensions;_this.properties=properties;_this.renderLists=renderLists;_this.shadowMap=shadowMap;_this.state=state;_this.info=info}initGLContext();const xr=new WebXRManager(_this,_gl);this.xr=xr;this.getContext=function(){return _gl};this.getContextAttributes=function(){return _gl.getContextAttributes()};this.forceContextLoss=function(){const extension=extensions.get("WEBGL_lose_context");if(extension)extension.loseContext()};this.forceContextRestore=function(){const extension=extensions.get("WEBGL_lose_context");if(extension)extension.restoreContext()};this.getPixelRatio=function(){return _pixelRatio};this.setPixelRatio=function(value){if(value===undefined)return;_pixelRatio=value;this.setSize(_width,_height,false)};this.getSize=function(target){return target.set(_width,_height)};this.setSize=function(width,height,updateStyle=true){if(xr.isPresenting){console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting.");return}_width=width;_height=height;canvas.width=Math.floor(width*_pixelRatio);canvas.height=Math.floor(height*_pixelRatio);if(updateStyle===true){canvas.style.width=width+"px";canvas.style.height=height+"px"}this.setViewport(0,0,width,height)};this.getDrawingBufferSize=function(target){return target.set(_width*_pixelRatio,_height*_pixelRatio).floor()};this.setDrawingBufferSize=function(width,height,pixelRatio){_width=width;_height=height;_pixelRatio=pixelRatio;canvas.width=Math.floor(width*pixelRatio);canvas.height=Math.floor(height*pixelRatio);this.setViewport(0,0,width,height)};this.getCurrentViewport=function(target){return target.copy(_currentViewport)};this.getViewport=function(target){return target.copy(_viewport)};this.setViewport=function(x,y,width,height){if(x.isVector4){_viewport.set(x.x,x.y,x.z,x.w)}else{_viewport.set(x,y,width,height)}state.viewport(_currentViewport.copy(_viewport).multiplyScalar(_pixelRatio).round())};this.getScissor=function(target){return target.copy(_scissor)};this.setScissor=function(x,y,width,height){if(x.isVector4){_scissor.set(x.x,x.y,x.z,x.w)}else{_scissor.set(x,y,width,height)}state.scissor(_currentScissor.copy(_scissor).multiplyScalar(_pixelRatio).round())};this.getScissorTest=function(){return _scissorTest};this.setScissorTest=function(boolean){state.setScissorTest(_scissorTest=boolean)};this.setOpaqueSort=function(method){_opaqueSort=method};this.setTransparentSort=function(method){_transparentSort=method};this.getClearColor=function(target){return target.copy(background.getClearColor())};this.setClearColor=function(){background.setClearColor.apply(background,arguments)};this.getClearAlpha=function(){return background.getClearAlpha()};this.setClearAlpha=function(){background.setClearAlpha.apply(background,arguments)};this.clear=function(color=true,depth=true,stencil=true){let bits=0;if(color){let isIntegerFormat=false;if(_currentRenderTarget!==null){const targetFormat=_currentRenderTarget.texture.format;isIntegerFormat=targetFormat===RGBAIntegerFormat||targetFormat===RGIntegerFormat||targetFormat===RedIntegerFormat}if(isIntegerFormat){const targetType=_currentRenderTarget.texture.type;const isUnsignedType=targetType===UnsignedByteType||targetType===UnsignedIntType||targetType===UnsignedShortType||targetType===UnsignedInt248Type||targetType===UnsignedShort4444Type||targetType===UnsignedShort5551Type;const clearColor=background.getClearColor();const a=background.getClearAlpha();const r=clearColor.r;const g=clearColor.g;const b=clearColor.b;if(isUnsignedType){uintClearColor[0]=r;uintClearColor[1]=g;uintClearColor[2]=b;uintClearColor[3]=a;_gl.clearBufferuiv(_gl.COLOR,0,uintClearColor)}else{intClearColor[0]=r;intClearColor[1]=g;intClearColor[2]=b;intClearColor[3]=a;_gl.clearBufferiv(_gl.COLOR,0,intClearColor)}}else{bits|=_gl.COLOR_BUFFER_BIT}}if(depth)bits|=_gl.DEPTH_BUFFER_BIT;if(stencil){bits|=_gl.STENCIL_BUFFER_BIT;this.state.buffers.stencil.setMask(4294967295)}_gl.clear(bits)};this.clearColor=function(){this.clear(true,false,false)};this.clearDepth=function(){this.clear(false,true,false)};this.clearStencil=function(){this.clear(false,false,true)};this.dispose=function(){canvas.removeEventListener("webglcontextlost",onContextLost,false);canvas.removeEventListener("webglcontextrestored",onContextRestore,false);canvas.removeEventListener("webglcontextcreationerror",onContextCreationError,false);renderLists.dispose();renderStates.dispose();properties.dispose();cubemaps.dispose();cubeuvmaps.dispose();objects.dispose();bindingStates.dispose();uniformsGroups.dispose();programCache.dispose();xr.dispose();xr.removeEventListener("sessionstart",onXRSessionStart);xr.removeEventListener("sessionend",onXRSessionEnd);animation.stop()};function onContextLost(event){event.preventDefault();console.log("THREE.WebGLRenderer: Context Lost.");_isContextLost=true}function onContextRestore(){console.log("THREE.WebGLRenderer: Context Restored.");_isContextLost=false;const infoAutoReset=info.autoReset;const shadowMapEnabled=shadowMap.enabled;const shadowMapAutoUpdate=shadowMap.autoUpdate;const shadowMapNeedsUpdate=shadowMap.needsUpdate;const shadowMapType=shadowMap.type;initGLContext();info.autoReset=infoAutoReset;shadowMap.enabled=shadowMapEnabled;shadowMap.autoUpdate=shadowMapAutoUpdate;shadowMap.needsUpdate=shadowMapNeedsUpdate;shadowMap.type=shadowMapType}function onContextCreationError(event){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",event.statusMessage)}function onMaterialDispose(event){const material=event.target;material.removeEventListener("dispose",onMaterialDispose);deallocateMaterial(material)}function deallocateMaterial(material){releaseMaterialProgramReferences(material);properties.remove(material)}function releaseMaterialProgramReferences(material){const programs=properties.get(material).programs;if(programs!==undefined){programs.forEach(function(program){programCache.releaseProgram(program)});if(material.isShaderMaterial){programCache.releaseShaderCache(material)}}}this.renderBufferDirect=function(camera,scene,geometry,material,object,group){if(scene===null)scene=_emptyScene;const frontFaceCW=object.isMesh&amp;&amp;object.matrixWorld.determinant()&lt;0;const program=setProgram(camera,scene,geometry,material,object);state.setMaterial(material,frontFaceCW);let index=geometry.index;let rangeFactor=1;if(material.wireframe===true){index=geometries.getWireframeAttribute(geometry);if(index===undefined)return;rangeFactor=2}const drawRange=geometry.drawRange;const position=geometry.attributes.position;let drawStart=drawRange.start*rangeFactor;let drawEnd=(drawRange.start+drawRange.count)*rangeFactor;if(group!==null){drawStart=Math.max(drawStart,group.start*rangeFactor);drawEnd=Math.min(drawEnd,(group.start+group.count)*rangeFactor)}if(index!==null){drawStart=Math.max(drawStart,0);drawEnd=Math.min(drawEnd,index.count)}else if(position!==undefined&amp;&amp;position!==null){drawStart=Math.max(drawStart,0);drawEnd=Math.min(drawEnd,position.count)}const drawCount=drawEnd-drawStart;if(drawCount&lt;0||drawCount===Infinity)return;bindingStates.setup(object,material,program,geometry,index);let attribute;let renderer=bufferRenderer;if(index!==null){attribute=attributes.get(index);renderer=indexedBufferRenderer;renderer.setIndex(attribute)}if(object.isMesh){if(material.wireframe===true){state.setLineWidth(material.wireframeLinewidth*getTargetPixelRatio());renderer.setMode(_gl.LINES)}else{renderer.setMode(_gl.TRIANGLES)}}else if(object.isLine){let lineWidth=material.linewidth;if(lineWidth===undefined)lineWidth=1;state.setLineWidth(lineWidth*getTargetPixelRatio());if(object.isLineSegments){renderer.setMode(_gl.LINES)}else if(object.isLineLoop){renderer.setMode(_gl.LINE_LOOP)}else{renderer.setMode(_gl.LINE_STRIP)}}else if(object.isPoints){renderer.setMode(_gl.POINTS)}else if(object.isSprite){renderer.setMode(_gl.TRIANGLES)}if(object.isBatchedMesh){renderer.renderMultiDraw(object._multiDrawStarts,object._multiDrawCounts,object._multiDrawCount)}else if(object.isInstancedMesh){renderer.renderInstances(drawStart,drawCount,object.count)}else if(geometry.isInstancedBufferGeometry){const maxInstanceCount=geometry._maxInstanceCount!==undefined?geometry._maxInstanceCount:Infinity;const instanceCount=Math.min(geometry.instanceCount,maxInstanceCount);renderer.renderInstances(drawStart,drawCount,instanceCount)}else{renderer.render(drawStart,drawCount)}};function prepareMaterial(material,scene,object){if(material.transparent===true&amp;&amp;material.side===DoubleSide&amp;&amp;material.forceSinglePass===false){material.side=BackSide;material.needsUpdate=true;getProgram(material,scene,object);material.side=FrontSide;material.needsUpdate=true;getProgram(material,scene,object);material.side=DoubleSide}else{getProgram(material,scene,object)}}this.compile=function(scene,camera,targetScene=null){if(targetScene===null)targetScene=scene;currentRenderState=renderStates.get(targetScene);currentRenderState.init();renderStateStack.push(currentRenderState);targetScene.traverseVisible(function(object){if(object.isLight&amp;&amp;object.layers.test(camera.layers)){currentRenderState.pushLight(object);if(object.castShadow){currentRenderState.pushShadow(object)}}});if(scene!==targetScene){scene.traverseVisible(function(object){if(object.isLight&amp;&amp;object.layers.test(camera.layers)){currentRenderState.pushLight(object);if(object.castShadow){currentRenderState.pushShadow(object)}}})}currentRenderState.setupLights(_this._useLegacyLights);const materials=new Set;scene.traverse(function(object){const material=object.material;if(material){if(Array.isArray(material)){for(let i=0;i&lt;material.length;i++){const material2=material[i];prepareMaterial(material2,targetScene,object);materials.add(material2)}}else{prepareMaterial(material,targetScene,object);materials.add(material)}}});renderStateStack.pop();currentRenderState=null;return materials};this.compileAsync=function(scene,camera,targetScene=null){const materials=this.compile(scene,camera,targetScene);return new Promise(resolve=&gt;{function checkMaterialsReady(){materials.forEach(function(material){const materialProperties=properties.get(material);const program=materialProperties.currentProgram;if(program.isReady()){materials.delete(material)}});if(materials.size===0){resolve(scene);return}setTimeout(checkMaterialsReady,10)}if(extensions.get("KHR_parallel_shader_compile")!==null){checkMaterialsReady()}else{setTimeout(checkMaterialsReady,10)}})};let onAnimationFrameCallback=null;function onAnimationFrame(time){if(onAnimationFrameCallback)onAnimationFrameCallback(time)}function onXRSessionStart(){animation.stop()}function onXRSessionEnd(){animation.start()}const animation=new WebGLAnimation;animation.setAnimationLoop(onAnimationFrame);if(typeof self!=="undefined")animation.setContext(self);this.setAnimationLoop=function(callback){onAnimationFrameCallback=callback;xr.setAnimationLoop(callback);callback===null?animation.stop():animation.start()};xr.addEventListener("sessionstart",onXRSessionStart);xr.addEventListener("sessionend",onXRSessionEnd);this.render=function(scene,camera){if(camera!==undefined&amp;&amp;camera.isCamera!==true){console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(_isContextLost===true)return;if(scene.matrixWorldAutoUpdate===true)scene.updateMatrixWorld();if(camera.parent===null&amp;&amp;camera.matrixWorldAutoUpdate===true)camera.updateMatrixWorld();if(xr.enabled===true&amp;&amp;xr.isPresenting===true){if(xr.cameraAutoUpdate===true)xr.updateCamera(camera);camera=xr.getCamera()}if(scene.isScene===true)scene.onBeforeRender(_this,scene,camera,_currentRenderTarget);currentRenderState=renderStates.get(scene,renderStateStack.length);currentRenderState.init();renderStateStack.push(currentRenderState);_projScreenMatrix.multiplyMatrices(camera.projectionMatrix,camera.matrixWorldInverse);_frustum.setFromProjectionMatrix(_projScreenMatrix);_localClippingEnabled=this.localClippingEnabled;_clippingEnabled=clipping.init(this.clippingPlanes,_localClippingEnabled);currentRenderList=renderLists.get(scene,renderListStack.length);currentRenderList.init();renderListStack.push(currentRenderList);projectObject(scene,camera,0,_this.sortObjects);currentRenderList.finish();if(_this.sortObjects===true){currentRenderList.sort(_opaqueSort,_transparentSort)}this.info.render.frame++;if(_clippingEnabled===true)clipping.beginShadows();const shadowsArray=currentRenderState.state.shadowsArray;shadowMap.render(shadowsArray,scene,camera);if(_clippingEnabled===true)clipping.endShadows();if(this.info.autoReset===true)this.info.reset();if(xr.enabled===false||xr.isPresenting===false||xr.hasDepthSensing()===false){background.render(currentRenderList,scene)}currentRenderState.setupLights(_this._useLegacyLights);if(camera.isArrayCamera){const cameras=camera.cameras;for(let i=0,l=cameras.length;i&lt;l;i++){const camera2=cameras[i];renderScene(currentRenderList,scene,camera2,camera2.viewport)}}else{renderScene(currentRenderList,scene,camera)}if(_currentRenderTarget!==null){textures.updateMultisampleRenderTarget(_currentRenderTarget);textures.updateRenderTargetMipmap(_currentRenderTarget)}if(scene.isScene===true)scene.onAfterRender(_this,scene,camera);bindingStates.resetDefaultState();_currentMaterialId=-1;_currentCamera=null;renderStateStack.pop();if(renderStateStack.length&gt;0){currentRenderState=renderStateStack[renderStateStack.length-1]}else{currentRenderState=null}renderListStack.pop();if(renderListStack.length&gt;0){currentRenderList=renderListStack[renderListStack.length-1]}else{currentRenderList=null}};function projectObject(object,camera,groupOrder,sortObjects){if(object.visible===false)return;const visible=object.layers.test(camera.layers);if(visible){if(object.isGroup){groupOrder=object.renderOrder}else if(object.isLOD){if(object.autoUpdate===true)object.update(camera)}else if(object.isLight){currentRenderState.pushLight(object);if(object.castShadow){currentRenderState.pushShadow(object)}}else if(object.isSprite){if(!object.frustumCulled||_frustum.intersectsSprite(object)){if(sortObjects){_vector3.setFromMatrixPosition(object.matrixWorld).applyMatrix4(_projScreenMatrix)}const geometry=objects.update(object);const material=object.material;if(material.visible){currentRenderList.push(object,geometry,material,groupOrder,_vector3.z,null)}}}else if(object.isMesh||object.isLine||object.isPoints){if(!object.frustumCulled||_frustum.intersectsObject(object)){const geometry=objects.update(object);const material=object.material;if(sortObjects){if(object.boundingSphere!==undefined){if(object.boundingSphere===null)object.computeBoundingSphere();_vector3.copy(object.boundingSphere.center)}else{if(geometry.boundingSphere===null)geometry.computeBoundingSphere();_vector3.copy(geometry.boundingSphere.center)}_vector3.applyMatrix4(object.matrixWorld).applyMatrix4(_projScreenMatrix)}if(Array.isArray(material)){const groups=geometry.groups;for(let i=0,l=groups.length;i&lt;l;i++){const group=groups[i];const groupMaterial=material[group.materialIndex];if(groupMaterial&amp;&amp;groupMaterial.visible){currentRenderList.push(object,geometry,groupMaterial,groupOrder,_vector3.z,group)}}}else if(material.visible){currentRenderList.push(object,geometry,material,groupOrder,_vector3.z,null)}}}}const children=object.children;for(let i=0,l=children.length;i&lt;l;i++){projectObject(children[i],camera,groupOrder,sortObjects)}}function renderScene(currentRenderList,scene,camera,viewport){const opaqueObjects=currentRenderList.opaque;const transmissiveObjects=currentRenderList.transmissive;const transparentObjects=currentRenderList.transparent;currentRenderState.setupLightsView(camera);if(_clippingEnabled===true)clipping.setGlobalState(_this.clippingPlanes,camera);if(transmissiveObjects.length&gt;0)renderTransmissionPass(opaqueObjects,transmissiveObjects,scene,camera);if(viewport)state.viewport(_currentViewport.copy(viewport));if(opaqueObjects.length&gt;0)renderObjects(opaqueObjects,scene,camera);if(transmissiveObjects.length&gt;0)renderObjects(transmissiveObjects,scene,camera);if(transparentObjects.length&gt;0)renderObjects(transparentObjects,scene,camera);state.buffers.depth.setTest(true);state.buffers.depth.setMask(true);state.buffers.color.setMask(true);state.setPolygonOffset(false)}function renderTransmissionPass(opaqueObjects,transmissiveObjects,scene,camera){const overrideMaterial=scene.isScene===true?scene.overrideMaterial:null;if(overrideMaterial!==null){return}if(currentRenderState.state.transmissionRenderTarget===null){currentRenderState.state.transmissionRenderTarget=new WebGLRenderTarget(1,1,{generateMipmaps:true,type:extensions.has("EXT_color_buffer_half_float")||extensions.has("EXT_color_buffer_float")?HalfFloatType:UnsignedByteType,minFilter:LinearMipmapLinearFilter,samples:4,stencilBuffer:stencil});const renderTargetProperties=properties.get(currentRenderState.state.transmissionRenderTarget);renderTargetProperties.__isTransmissionRenderTarget=true}const transmissionRenderTarget=currentRenderState.state.transmissionRenderTarget;_this.getDrawingBufferSize(_vector2);transmissionRenderTarget.setSize(_vector2.x,_vector2.y);const currentRenderTarget=_this.getRenderTarget();_this.setRenderTarget(transmissionRenderTarget);_this.getClearColor(_currentClearColor);_currentClearAlpha=_this.getClearAlpha();if(_currentClearAlpha&lt;1)_this.setClearColor(16777215,0.5);_this.clear();const currentToneMapping=_this.toneMapping;_this.toneMapping=NoToneMapping;renderObjects(opaqueObjects,scene,camera);textures.updateMultisampleRenderTarget(transmissionRenderTarget);textures.updateRenderTargetMipmap(transmissionRenderTarget);let renderTargetNeedsUpdate=false;for(let i=0,l=transmissiveObjects.length;i&lt;l;i++){const renderItem=transmissiveObjects[i];const object=renderItem.object;const geometry=renderItem.geometry;const material=renderItem.material;const group=renderItem.group;if(material.side===DoubleSide&amp;&amp;object.layers.test(camera.layers)){const currentSide=material.side;material.side=BackSide;material.needsUpdate=true;renderObject(object,scene,camera,geometry,material,group);material.side=currentSide;material.needsUpdate=true;renderTargetNeedsUpdate=true}}if(renderTargetNeedsUpdate===true){textures.updateMultisampleRenderTarget(transmissionRenderTarget);textures.updateRenderTargetMipmap(transmissionRenderTarget)}_this.setRenderTarget(currentRenderTarget);_this.setClearColor(_currentClearColor,_currentClearAlpha);_this.toneMapping=currentToneMapping}function renderObjects(renderList,scene,camera){const overrideMaterial=scene.isScene===true?scene.overrideMaterial:null;for(let i=0,l=renderList.length;i&lt;l;i++){const renderItem=renderList[i];const object=renderItem.object;const geometry=renderItem.geometry;const material=overrideMaterial===null?renderItem.material:overrideMaterial;const group=renderItem.group;if(object.layers.test(camera.layers)){renderObject(object,scene,camera,geometry,material,group)}}}function renderObject(object,scene,camera,geometry,material,group){object.onBeforeRender(_this,scene,camera,geometry,material,group);object.modelViewMatrix.multiplyMatrices(camera.matrixWorldInverse,object.matrixWorld);object.normalMatrix.getNormalMatrix(object.modelViewMatrix);material.onBeforeRender(_this,scene,camera,geometry,object,group);if(material.transparent===true&amp;&amp;material.side===DoubleSide&amp;&amp;material.forceSinglePass===false){material.side=BackSide;material.needsUpdate=true;_this.renderBufferDirect(camera,scene,geometry,material,object,group);material.side=FrontSide;material.needsUpdate=true;_this.renderBufferDirect(camera,scene,geometry,material,object,group);material.side=DoubleSide}else{_this.renderBufferDirect(camera,scene,geometry,material,object,group)}object.onAfterRender(_this,scene,camera,geometry,material,group)}function getProgram(material,scene,object){if(scene.isScene!==true)scene=_emptyScene;const materialProperties=properties.get(material);const lights=currentRenderState.state.lights;const shadowsArray=currentRenderState.state.shadowsArray;const lightsStateVersion=lights.state.version;const parameters=programCache.getParameters(material,lights.state,shadowsArray,scene,object);const programCacheKey=programCache.getProgramCacheKey(parameters);let programs=materialProperties.programs;materialProperties.environment=material.isMeshStandardMaterial?scene.environment:null;materialProperties.fog=scene.fog;materialProperties.envMap=(material.isMeshStandardMaterial?cubeuvmaps:cubemaps).get(material.envMap||materialProperties.environment);materialProperties.envMapRotation=materialProperties.environment!==null&amp;&amp;material.envMap===null?scene.environmentRotation:material.envMapRotation;if(programs===undefined){material.addEventListener("dispose",onMaterialDispose);programs=new Map;materialProperties.programs=programs}let program=programs.get(programCacheKey);if(program!==undefined){if(materialProperties.currentProgram===program&amp;&amp;materialProperties.lightsStateVersion===lightsStateVersion){updateCommonMaterialProperties(material,parameters);return program}}else{parameters.uniforms=programCache.getUniforms(material);material.onBuild(object,parameters,_this);material.onBeforeCompile(parameters,_this);program=programCache.acquireProgram(parameters,programCacheKey);programs.set(programCacheKey,program);materialProperties.uniforms=parameters.uniforms}const uniforms=materialProperties.uniforms;if(!material.isShaderMaterial&amp;&amp;!material.isRawShaderMaterial||material.clipping===true){uniforms.clippingPlanes=clipping.uniform}updateCommonMaterialProperties(material,parameters);materialProperties.needsLights=materialNeedsLights(material);materialProperties.lightsStateVersion=lightsStateVersion;if(materialProperties.needsLights){uniforms.ambientLightColor.value=lights.state.ambient;uniforms.lightProbe.value=lights.state.probe;uniforms.directionalLights.value=lights.state.directional;uniforms.directionalLightShadows.value=lights.state.directionalShadow;uniforms.spotLights.value=lights.state.spot;uniforms.spotLightShadows.value=lights.state.spotShadow;uniforms.rectAreaLights.value=lights.state.rectArea;uniforms.ltc_1.value=lights.state.rectAreaLTC1;uniforms.ltc_2.value=lights.state.rectAreaLTC2;uniforms.pointLights.value=lights.state.point;uniforms.pointLightShadows.value=lights.state.pointShadow;uniforms.hemisphereLights.value=lights.state.hemi;uniforms.directionalShadowMap.value=lights.state.directionalShadowMap;uniforms.directionalShadowMatrix.value=lights.state.directionalShadowMatrix;uniforms.spotShadowMap.value=lights.state.spotShadowMap;uniforms.spotLightMatrix.value=lights.state.spotLightMatrix;uniforms.spotLightMap.value=lights.state.spotLightMap;uniforms.pointShadowMap.value=lights.state.pointShadowMap;uniforms.pointShadowMatrix.value=lights.state.pointShadowMatrix}materialProperties.currentProgram=program;materialProperties.uniformsList=null;return program}function getUniformList(materialProperties){if(materialProperties.uniformsList===null){const progUniforms=materialProperties.currentProgram.getUniforms();materialProperties.uniformsList=WebGLUniforms.seqWithValue(progUniforms.seq,materialProperties.uniforms)}return materialProperties.uniformsList}function updateCommonMaterialProperties(material,parameters){const materialProperties=properties.get(material);materialProperties.outputColorSpace=parameters.outputColorSpace;materialProperties.batching=parameters.batching;materialProperties.instancing=parameters.instancing;materialProperties.instancingColor=parameters.instancingColor;materialProperties.instancingMorph=parameters.instancingMorph;materialProperties.skinning=parameters.skinning;materialProperties.morphTargets=parameters.morphTargets;materialProperties.morphNormals=parameters.morphNormals;materialProperties.morphColors=parameters.morphColors;materialProperties.morphTargetsCount=parameters.morphTargetsCount;materialProperties.numClippingPlanes=parameters.numClippingPlanes;materialProperties.numIntersection=parameters.numClipIntersection;materialProperties.vertexAlphas=parameters.vertexAlphas;materialProperties.vertexTangents=parameters.vertexTangents;materialProperties.toneMapping=parameters.toneMapping}function setProgram(camera,scene,geometry,material,object){if(scene.isScene!==true)scene=_emptyScene;textures.resetTextureUnits();const fog=scene.fog;const environment=material.isMeshStandardMaterial?scene.environment:null;const colorSpace=_currentRenderTarget===null?_this.outputColorSpace:_currentRenderTarget.isXRRenderTarget===true?_currentRenderTarget.texture.colorSpace:LinearSRGBColorSpace;const envMap=(material.isMeshStandardMaterial?cubeuvmaps:cubemaps).get(material.envMap||environment);const vertexAlphas=material.vertexColors===true&amp;&amp;!!geometry.attributes.color&amp;&amp;geometry.attributes.color.itemSize===4;const vertexTangents=!!geometry.attributes.tangent&amp;&amp;(!!material.normalMap||material.anisotropy&gt;0);const morphTargets=!!geometry.morphAttributes.position;const morphNormals=!!geometry.morphAttributes.normal;const morphColors=!!geometry.morphAttributes.color;let toneMapping=NoToneMapping;if(material.toneMapped){if(_currentRenderTarget===null||_currentRenderTarget.isXRRenderTarget===true){toneMapping=_this.toneMapping}}const morphAttribute=geometry.morphAttributes.position||geometry.morphAttributes.normal||geometry.morphAttributes.color;const morphTargetsCount=morphAttribute!==undefined?morphAttribute.length:0;const materialProperties=properties.get(material);const lights=currentRenderState.state.lights;if(_clippingEnabled===true){if(_localClippingEnabled===true||camera!==_currentCamera){const useCache=camera===_currentCamera&amp;&amp;material.id===_currentMaterialId;clipping.setState(material,camera,useCache)}}let needsProgramChange=false;if(material.version===materialProperties.__version){if(materialProperties.needsLights&amp;&amp;materialProperties.lightsStateVersion!==lights.state.version){needsProgramChange=true}else if(materialProperties.outputColorSpace!==colorSpace){needsProgramChange=true}else if(object.isBatchedMesh&amp;&amp;materialProperties.batching===false){needsProgramChange=true}else if(!object.isBatchedMesh&amp;&amp;materialProperties.batching===true){needsProgramChange=true}else if(object.isInstancedMesh&amp;&amp;materialProperties.instancing===false){needsProgramChange=true}else if(!object.isInstancedMesh&amp;&amp;materialProperties.instancing===true){needsProgramChange=true}else if(object.isSkinnedMesh&amp;&amp;materialProperties.skinning===false){needsProgramChange=true}else if(!object.isSkinnedMesh&amp;&amp;materialProperties.skinning===true){needsProgramChange=true}else if(object.isInstancedMesh&amp;&amp;materialProperties.instancingColor===true&amp;&amp;object.instanceColor===null){needsProgramChange=true}else if(object.isInstancedMesh&amp;&amp;materialProperties.instancingColor===false&amp;&amp;object.instanceColor!==null){needsProgramChange=true}else if(object.isInstancedMesh&amp;&amp;materialProperties.instancingMorph===true&amp;&amp;object.morphTexture===null){needsProgramChange=true}else if(object.isInstancedMesh&amp;&amp;materialProperties.instancingMorph===false&amp;&amp;object.morphTexture!==null){needsProgramChange=true}else if(materialProperties.envMap!==envMap){needsProgramChange=true}else if(material.fog===true&amp;&amp;materialProperties.fog!==fog){needsProgramChange=true}else if(materialProperties.numClippingPlanes!==undefined&amp;&amp;(materialProperties.numClippingPlanes!==clipping.numPlanes||materialProperties.numIntersection!==clipping.numIntersection)){needsProgramChange=true}else if(materialProperties.vertexAlphas!==vertexAlphas){needsProgramChange=true}else if(materialProperties.vertexTangents!==vertexTangents){needsProgramChange=true}else if(materialProperties.morphTargets!==morphTargets){needsProgramChange=true}else if(materialProperties.morphNormals!==morphNormals){needsProgramChange=true}else if(materialProperties.morphColors!==morphColors){needsProgramChange=true}else if(materialProperties.toneMapping!==toneMapping){needsProgramChange=true}else if(materialProperties.morphTargetsCount!==morphTargetsCount){needsProgramChange=true}}else{needsProgramChange=true;materialProperties.__version=material.version}let program=materialProperties.currentProgram;if(needsProgramChange===true){program=getProgram(material,scene,object)}let refreshProgram=false;let refreshMaterial=false;let refreshLights=false;const p_uniforms=program.getUniforms(),m_uniforms=materialProperties.uniforms;if(state.useProgram(program.program)){refreshProgram=true;refreshMaterial=true;refreshLights=true}if(material.id!==_currentMaterialId){_currentMaterialId=material.id;refreshMaterial=true}if(refreshProgram||_currentCamera!==camera){p_uniforms.setValue(_gl,"projectionMatrix",camera.projectionMatrix);p_uniforms.setValue(_gl,"viewMatrix",camera.matrixWorldInverse);const uCamPos=p_uniforms.map.cameraPosition;if(uCamPos!==undefined){uCamPos.setValue(_gl,_vector3.setFromMatrixPosition(camera.matrixWorld))}if(capabilities.logarithmicDepthBuffer){p_uniforms.setValue(_gl,"logDepthBufFC",2/(Math.log(camera.far+1)/Math.LN2))}if(material.isMeshPhongMaterial||material.isMeshToonMaterial||material.isMeshLambertMaterial||material.isMeshBasicMaterial||material.isMeshStandardMaterial||material.isShaderMaterial){p_uniforms.setValue(_gl,"isOrthographic",camera.isOrthographicCamera===true)}if(_currentCamera!==camera){_currentCamera=camera;refreshMaterial=true;refreshLights=true}}if(object.isSkinnedMesh){p_uniforms.setOptional(_gl,object,"bindMatrix");p_uniforms.setOptional(_gl,object,"bindMatrixInverse");const skeleton=object.skeleton;if(skeleton){if(skeleton.boneTexture===null)skeleton.computeBoneTexture();p_uniforms.setValue(_gl,"boneTexture",skeleton.boneTexture,textures)}}if(object.isBatchedMesh){p_uniforms.setOptional(_gl,object,"batchingTexture");p_uniforms.setValue(_gl,"batchingTexture",object._matricesTexture,textures)}const morphAttributes=geometry.morphAttributes;if(morphAttributes.position!==undefined||morphAttributes.normal!==undefined||morphAttributes.color!==undefined){morphtargets.update(object,geometry,program)}if(refreshMaterial||materialProperties.receiveShadow!==object.receiveShadow){materialProperties.receiveShadow=object.receiveShadow;p_uniforms.setValue(_gl,"receiveShadow",object.receiveShadow)}if(material.isMeshGouraudMaterial&amp;&amp;material.envMap!==null){m_uniforms.envMap.value=envMap;m_uniforms.flipEnvMap.value=envMap.isCubeTexture&amp;&amp;envMap.isRenderTargetTexture===false?-1:1}if(material.isMeshStandardMaterial&amp;&amp;material.envMap===null&amp;&amp;scene.environment!==null){m_uniforms.envMapIntensity.value=scene.environmentIntensity}if(refreshMaterial){p_uniforms.setValue(_gl,"toneMappingExposure",_this.toneMappingExposure);if(materialProperties.needsLights){markUniformsLightsNeedsUpdate(m_uniforms,refreshLights)}if(fog&amp;&amp;material.fog===true){materials.refreshFogUniforms(m_uniforms,fog)}materials.refreshMaterialUniforms(m_uniforms,material,_pixelRatio,_height,currentRenderState.state.transmissionRenderTarget);WebGLUniforms.upload(_gl,getUniformList(materialProperties),m_uniforms,textures)}if(material.isShaderMaterial&amp;&amp;material.uniformsNeedUpdate===true){WebGLUniforms.upload(_gl,getUniformList(materialProperties),m_uniforms,textures);material.uniformsNeedUpdate=false}if(material.isSpriteMaterial){p_uniforms.setValue(_gl,"center",object.center)}p_uniforms.setValue(_gl,"modelViewMatrix",object.modelViewMatrix);p_uniforms.setValue(_gl,"normalMatrix",object.normalMatrix);p_uniforms.setValue(_gl,"modelMatrix",object.matrixWorld);if(material.isShaderMaterial||material.isRawShaderMaterial){const groups=material.uniformsGroups;for(let i=0,l=groups.length;i&lt;l;i++){const group=groups[i];uniformsGroups.update(group,program);uniformsGroups.bind(group,program)}}return program}function markUniformsLightsNeedsUpdate(uniforms,value){uniforms.ambientLightColor.needsUpdate=value;uniforms.lightProbe.needsUpdate=value;uniforms.directionalLights.needsUpdate=value;uniforms.directionalLightShadows.needsUpdate=value;uniforms.pointLights.needsUpdate=value;uniforms.pointLightShadows.needsUpdate=value;uniforms.spotLights.needsUpdate=value;uniforms.spotLightShadows.needsUpdate=value;uniforms.rectAreaLights.needsUpdate=value;uniforms.hemisphereLights.needsUpdate=value}function materialNeedsLights(material){return material.isMeshLambertMaterial||material.isMeshToonMaterial||material.isMeshPhongMaterial||material.isMeshStandardMaterial||material.isShadowMaterial||material.isShaderMaterial&amp;&amp;material.lights===true}this.getActiveCubeFace=function(){return _currentActiveCubeFace};this.getActiveMipmapLevel=function(){return _currentActiveMipmapLevel};this.getRenderTarget=function(){return _currentRenderTarget};this.setRenderTargetTextures=function(renderTarget,colorTexture,depthTexture){properties.get(renderTarget.texture).__webglTexture=colorTexture;properties.get(renderTarget.depthTexture).__webglTexture=depthTexture;const renderTargetProperties=properties.get(renderTarget);renderTargetProperties.__hasExternalTextures=true;renderTargetProperties.__autoAllocateDepthBuffer=depthTexture===undefined;if(!renderTargetProperties.__autoAllocateDepthBuffer){if(extensions.has("WEBGL_multisampled_render_to_texture")===true){console.warn("THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided");renderTargetProperties.__useRenderToTexture=false}}};this.setRenderTargetFramebuffer=function(renderTarget,defaultFramebuffer){const renderTargetProperties=properties.get(renderTarget);renderTargetProperties.__webglFramebuffer=defaultFramebuffer;renderTargetProperties.__useDefaultFramebuffer=defaultFramebuffer===undefined};this.setRenderTarget=function(renderTarget,activeCubeFace=0,activeMipmapLevel=0){_currentRenderTarget=renderTarget;_currentActiveCubeFace=activeCubeFace;_currentActiveMipmapLevel=activeMipmapLevel;let useDefaultFramebuffer=true;let framebuffer=null;let isCube=false;let isRenderTarget3D=false;if(renderTarget){const renderTargetProperties=properties.get(renderTarget);if(renderTargetProperties.__useDefaultFramebuffer!==undefined){state.bindFramebuffer(_gl.FRAMEBUFFER,null);useDefaultFramebuffer=false}else if(renderTargetProperties.__webglFramebuffer===undefined){textures.setupRenderTarget(renderTarget)}else if(renderTargetProperties.__hasExternalTextures){textures.rebindTextures(renderTarget,properties.get(renderTarget.texture).__webglTexture,properties.get(renderTarget.depthTexture).__webglTexture)}const texture=renderTarget.texture;if(texture.isData3DTexture||texture.isDataArrayTexture||texture.isCompressedArrayTexture){isRenderTarget3D=true}const __webglFramebuffer=properties.get(renderTarget).__webglFramebuffer;if(renderTarget.isWebGLCubeRenderTarget){if(Array.isArray(__webglFramebuffer[activeCubeFace])){framebuffer=__webglFramebuffer[activeCubeFace][activeMipmapLevel]}else{framebuffer=__webglFramebuffer[activeCubeFace]}isCube=true}else if(renderTarget.samples&gt;0&amp;&amp;textures.useMultisampledRTT(renderTarget)===false){framebuffer=properties.get(renderTarget).__webglMultisampledFramebuffer}else{if(Array.isArray(__webglFramebuffer)){framebuffer=__webglFramebuffer[activeMipmapLevel]}else{framebuffer=__webglFramebuffer}}_currentViewport.copy(renderTarget.viewport);_currentScissor.copy(renderTarget.scissor);_currentScissorTest=renderTarget.scissorTest}else{_currentViewport.copy(_viewport).multiplyScalar(_pixelRatio).floor();_currentScissor.copy(_scissor).multiplyScalar(_pixelRatio).floor();_currentScissorTest=_scissorTest}const framebufferBound=state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);if(framebufferBound&amp;&amp;useDefaultFramebuffer){state.drawBuffers(renderTarget,framebuffer)}state.viewport(_currentViewport);state.scissor(_currentScissor);state.setScissorTest(_currentScissorTest);if(isCube){const textureProperties=properties.get(renderTarget.texture);_gl.framebufferTexture2D(_gl.FRAMEBUFFER,_gl.COLOR_ATTACHMENT0,_gl.TEXTURE_CUBE_MAP_POSITIVE_X+activeCubeFace,textureProperties.__webglTexture,activeMipmapLevel)}else if(isRenderTarget3D){const textureProperties=properties.get(renderTarget.texture);const layer=activeCubeFace||0;_gl.framebufferTextureLayer(_gl.FRAMEBUFFER,_gl.COLOR_ATTACHMENT0,textureProperties.__webglTexture,activeMipmapLevel||0,layer)}_currentMaterialId=-1};this.readRenderTargetPixels=function(renderTarget,x,y,width,height,buffer,activeCubeFaceIndex){if(!(renderTarget&amp;&amp;renderTarget.isWebGLRenderTarget)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");return}let framebuffer=properties.get(renderTarget).__webglFramebuffer;if(renderTarget.isWebGLCubeRenderTarget&amp;&amp;activeCubeFaceIndex!==undefined){framebuffer=framebuffer[activeCubeFaceIndex]}if(framebuffer){state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);try{const texture=renderTarget.texture;const textureFormat=texture.format;const textureType=texture.type;if(textureFormat!==RGBAFormat&amp;&amp;utils.convert(textureFormat)!==_gl.getParameter(_gl.IMPLEMENTATION_COLOR_READ_FORMAT)){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");return}const halfFloatSupportedByExt=textureType===HalfFloatType&amp;&amp;(extensions.has("EXT_color_buffer_half_float")||extensions.has("EXT_color_buffer_float"));if(textureType!==UnsignedByteType&amp;&amp;utils.convert(textureType)!==_gl.getParameter(_gl.IMPLEMENTATION_COLOR_READ_TYPE)&amp;&amp;textureType!==FloatType&amp;&amp;!halfFloatSupportedByExt){console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");return}if(x&gt;=0&amp;&amp;x&lt;=renderTarget.width-width&amp;&amp;y&gt;=0&amp;&amp;y&lt;=renderTarget.height-height){_gl.readPixels(x,y,width,height,utils.convert(textureFormat),utils.convert(textureType),buffer)}}finally{const framebuffer=_currentRenderTarget!==null?properties.get(_currentRenderTarget).__webglFramebuffer:null;state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer)}}};this.copyFramebufferToTexture=function(position,texture,level=0){const levelScale=Math.pow(2,-level);const width=Math.floor(texture.image.width*levelScale);const height=Math.floor(texture.image.height*levelScale);textures.setTexture2D(texture,0);_gl.copyTexSubImage2D(_gl.TEXTURE_2D,level,0,0,position.x,position.y,width,height);state.unbindTexture()};this.copyTextureToTexture=function(position,srcTexture,dstTexture,level=0){const width=srcTexture.image.width;const height=srcTexture.image.height;const glFormat=utils.convert(dstTexture.format);const glType=utils.convert(dstTexture.type);textures.setTexture2D(dstTexture,0);_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL,dstTexture.flipY);_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL,dstTexture.premultiplyAlpha);_gl.pixelStorei(_gl.UNPACK_ALIGNMENT,dstTexture.unpackAlignment);if(srcTexture.isDataTexture){_gl.texSubImage2D(_gl.TEXTURE_2D,level,position.x,position.y,width,height,glFormat,glType,srcTexture.image.data)}else{if(srcTexture.isCompressedTexture){_gl.compressedTexSubImage2D(_gl.TEXTURE_2D,level,position.x,position.y,srcTexture.mipmaps[0].width,srcTexture.mipmaps[0].height,glFormat,srcTexture.mipmaps[0].data)}else{_gl.texSubImage2D(_gl.TEXTURE_2D,level,position.x,position.y,glFormat,glType,srcTexture.image)}}if(level===0&amp;&amp;dstTexture.generateMipmaps)_gl.generateMipmap(_gl.TEXTURE_2D);state.unbindTexture()};this.copyTextureToTexture3D=function(sourceBox,position,srcTexture,dstTexture,level=0){const width=Math.round(sourceBox.max.x-sourceBox.min.x);const height=Math.round(sourceBox.max.y-sourceBox.min.y);const depth=sourceBox.max.z-sourceBox.min.z+1;const glFormat=utils.convert(dstTexture.format);const glType=utils.convert(dstTexture.type);let glTarget;if(dstTexture.isData3DTexture){textures.setTexture3D(dstTexture,0);glTarget=_gl.TEXTURE_3D}else if(dstTexture.isDataArrayTexture||dstTexture.isCompressedArrayTexture){textures.setTexture2DArray(dstTexture,0);glTarget=_gl.TEXTURE_2D_ARRAY}else{console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.");return}_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL,dstTexture.flipY);_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL,dstTexture.premultiplyAlpha);_gl.pixelStorei(_gl.UNPACK_ALIGNMENT,dstTexture.unpackAlignment);const unpackRowLen=_gl.getParameter(_gl.UNPACK_ROW_LENGTH);const unpackImageHeight=_gl.getParameter(_gl.UNPACK_IMAGE_HEIGHT);const unpackSkipPixels=_gl.getParameter(_gl.UNPACK_SKIP_PIXELS);const unpackSkipRows=_gl.getParameter(_gl.UNPACK_SKIP_ROWS);const unpackSkipImages=_gl.getParameter(_gl.UNPACK_SKIP_IMAGES);const image=srcTexture.isCompressedTexture?srcTexture.mipmaps[level]:srcTexture.image;_gl.pixelStorei(_gl.UNPACK_ROW_LENGTH,image.width);_gl.pixelStorei(_gl.UNPACK_IMAGE_HEIGHT,image.height);_gl.pixelStorei(_gl.UNPACK_SKIP_PIXELS,sourceBox.min.x);_gl.pixelStorei(_gl.UNPACK_SKIP_ROWS,sourceBox.min.y);_gl.pixelStorei(_gl.UNPACK_SKIP_IMAGES,sourceBox.min.z);if(srcTexture.isDataTexture||srcTexture.isData3DTexture){_gl.texSubImage3D(glTarget,level,position.x,position.y,position.z,width,height,depth,glFormat,glType,image.data)}else{if(dstTexture.isCompressedArrayTexture){_gl.compressedTexSubImage3D(glTarget,level,position.x,position.y,position.z,width,height,depth,glFormat,image.data)}else{_gl.texSubImage3D(glTarget,level,position.x,position.y,position.z,width,height,depth,glFormat,glType,image)}}_gl.pixelStorei(_gl.UNPACK_ROW_LENGTH,unpackRowLen);_gl.pixelStorei(_gl.UNPACK_IMAGE_HEIGHT,unpackImageHeight);_gl.pixelStorei(_gl.UNPACK_SKIP_PIXELS,unpackSkipPixels);_gl.pixelStorei(_gl.UNPACK_SKIP_ROWS,unpackSkipRows);_gl.pixelStorei(_gl.UNPACK_SKIP_IMAGES,unpackSkipImages);if(level===0&amp;&amp;dstTexture.generateMipmaps)_gl.generateMipmap(glTarget);state.unbindTexture()};this.initTexture=function(texture){if(texture.isCubeTexture){textures.setTextureCube(texture,0)}else if(texture.isData3DTexture){textures.setTexture3D(texture,0)}else if(texture.isDataArrayTexture||texture.isCompressedArrayTexture){textures.setTexture2DArray(texture,0)}else{textures.setTexture2D(texture,0)}state.unbindTexture()};this.resetState=function(){_currentActiveCubeFace=0;_currentActiveMipmapLevel=0;_currentRenderTarget=null;state.reset();bindingStates.reset()};if(typeof __THREE_DEVTOOLS__!=="undefined"){__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}}get coordinateSystem(){return WebGLCoordinateSystem}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(colorSpace){this._outputColorSpace=colorSpace;const gl=this.getContext();gl.drawingBufferColorSpace=colorSpace===DisplayP3ColorSpace?"display-p3":"srgb";gl.unpackColorSpace=ColorManagement.workingColorSpace===LinearDisplayP3ColorSpace?"display-p3":"srgb"}get useLegacyLights(){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.");return this._useLegacyLights}set useLegacyLights(value){console.warn("THREE.WebGLRenderer: The property .useLegacyLights has been deprecated. Migrate your lighting according to the following guide: https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.");this._useLegacyLights=value}}class FogExp2{constructor(color,density=0.00025){this.isFogExp2=true;this.name="";this.color=new Color(color);this.density=density}clone(){return new FogExp2(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class Fog{constructor(color,near=1,far=1000){this.isFog=true;this.name="";this.color=new Color(color);this.near=near;this.far=far}clone(){return new Fog(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class Scene extends Object3D{constructor(){super();this.isScene=true;this.type="Scene";this.background=null;this.environment=null;this.fog=null;this.backgroundBlurriness=0;this.backgroundIntensity=1;this.backgroundRotation=new Euler;this.environmentIntensity=1;this.environmentRotation=new Euler;this.overrideMaterial=null;if(typeof __THREE_DEVTOOLS__!=="undefined"){__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}}copy(source,recursive){super.copy(source,recursive);if(source.background!==null)this.background=source.background.clone();if(source.environment!==null)this.environment=source.environment.clone();if(source.fog!==null)this.fog=source.fog.clone();this.backgroundBlurriness=source.backgroundBlurriness;this.backgroundIntensity=source.backgroundIntensity;this.backgroundRotation.copy(source.backgroundRotation);this.environmentIntensity=source.environmentIntensity;this.environmentRotation.copy(source.environmentRotation);if(source.overrideMaterial!==null)this.overrideMaterial=source.overrideMaterial.clone();this.matrixAutoUpdate=source.matrixAutoUpdate;return this}toJSON(meta){const data=super.toJSON(meta);if(this.fog!==null)data.object.fog=this.fog.toJSON();if(this.backgroundBlurriness&gt;0)data.object.backgroundBlurriness=this.backgroundBlurriness;if(this.backgroundIntensity!==1)data.object.backgroundIntensity=this.backgroundIntensity;data.object.backgroundRotation=this.backgroundRotation.toArray();if(this.environmentIntensity!==1)data.object.environmentIntensity=this.environmentIntensity;data.object.environmentRotation=this.environmentRotation.toArray();return data}}class InterleavedBuffer{constructor(array,stride){this.isInterleavedBuffer=true;this.array=array;this.stride=stride;this.count=array!==undefined?array.length/stride:0;this.usage=StaticDrawUsage;this._updateRange={offset:0,count:-1};this.updateRanges=[];this.version=0;this.uuid=generateUUID()}onUploadCallback(){}set needsUpdate(value){if(value===true)this.version++}get updateRange(){warnOnce("THREE.InterleavedBuffer: updateRange() is deprecated and will be removed in r169. Use addUpdateRange() instead.");return this._updateRange}setUsage(value){this.usage=value;return this}addUpdateRange(start,count){this.updateRanges.push({start,count})}clearUpdateRanges(){this.updateRanges.length=0}copy(source){this.array=new source.array.constructor(source.array);this.count=source.count;this.stride=source.stride;this.usage=source.usage;return this}copyAt(index1,attribute,index2){index1*=this.stride;index2*=attribute.stride;for(let i=0,l=this.stride;i&lt;l;i++){this.array[index1+i]=attribute.array[index2+i]}return this}set(value,offset=0){this.array.set(value,offset);return this}clone(data){if(data.arrayBuffers===undefined){data.arrayBuffers={}}if(this.array.buffer._uuid===undefined){this.array.buffer._uuid=generateUUID()}if(data.arrayBuffers[this.array.buffer._uuid]===undefined){data.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer}const array=new this.array.constructor(data.arrayBuffers[this.array.buffer._uuid]);const ib=new this.constructor(array,this.stride);ib.setUsage(this.usage);return ib}onUpload(callback){this.onUploadCallback=callback;return this}toJSON(data){if(data.arrayBuffers===undefined){data.arrayBuffers={}}if(this.array.buffer._uuid===undefined){this.array.buffer._uuid=generateUUID()}if(data.arrayBuffers[this.array.buffer._uuid]===undefined){data.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))}return{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const _vector$6=new Vector3;class InterleavedBufferAttribute{constructor(interleavedBuffer,itemSize,offset,normalized=false){this.isInterleavedBufferAttribute=true;this.name="";this.data=interleavedBuffer;this.itemSize=itemSize;this.offset=offset;this.normalized=normalized}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(value){this.data.needsUpdate=value}applyMatrix4(m){for(let i=0,l=this.data.count;i&lt;l;i++){_vector$6.fromBufferAttribute(this,i);_vector$6.applyMatrix4(m);this.setXYZ(i,_vector$6.x,_vector$6.y,_vector$6.z)}return this}applyNormalMatrix(m){for(let i=0,l=this.count;i&lt;l;i++){_vector$6.fromBufferAttribute(this,i);_vector$6.applyNormalMatrix(m);this.setXYZ(i,_vector$6.x,_vector$6.y,_vector$6.z)}return this}transformDirection(m){for(let i=0,l=this.count;i&lt;l;i++){_vector$6.fromBufferAttribute(this,i);_vector$6.transformDirection(m);this.setXYZ(i,_vector$6.x,_vector$6.y,_vector$6.z)}return this}getComponent(index,component){let value=this.array[index*this.data.stride+this.offset+component];if(this.normalized)value=denormalize(value,this.array);return value}setComponent(index,component,value){if(this.normalized)value=normalize(value,this.array);this.data.array[index*this.data.stride+this.offset+component]=value;return this}setX(index,x){if(this.normalized)x=normalize(x,this.array);this.data.array[index*this.data.stride+this.offset]=x;return this}setY(index,y){if(this.normalized)y=normalize(y,this.array);this.data.array[index*this.data.stride+this.offset+1]=y;return this}setZ(index,z){if(this.normalized)z=normalize(z,this.array);this.data.array[index*this.data.stride+this.offset+2]=z;return this}setW(index,w){if(this.normalized)w=normalize(w,this.array);this.data.array[index*this.data.stride+this.offset+3]=w;return this}getX(index){let x=this.data.array[index*this.data.stride+this.offset];if(this.normalized)x=denormalize(x,this.array);return x}getY(index){let y=this.data.array[index*this.data.stride+this.offset+1];if(this.normalized)y=denormalize(y,this.array);return y}getZ(index){let z=this.data.array[index*this.data.stride+this.offset+2];if(this.normalized)z=denormalize(z,this.array);return z}getW(index){let w=this.data.array[index*this.data.stride+this.offset+3];if(this.normalized)w=denormalize(w,this.array);return w}setXY(index,x,y){index=index*this.data.stride+this.offset;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array)}this.data.array[index+0]=x;this.data.array[index+1]=y;return this}setXYZ(index,x,y,z){index=index*this.data.stride+this.offset;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array)}this.data.array[index+0]=x;this.data.array[index+1]=y;this.data.array[index+2]=z;return this}setXYZW(index,x,y,z,w){index=index*this.data.stride+this.offset;if(this.normalized){x=normalize(x,this.array);y=normalize(y,this.array);z=normalize(z,this.array);w=normalize(w,this.array)}this.data.array[index+0]=x;this.data.array[index+1]=y;this.data.array[index+2]=z;this.data.array[index+3]=w;return this}clone(data){if(data===undefined){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const array=[];for(let i=0;i&lt;this.count;i++){const index=i*this.data.stride+this.offset;for(let j=0;j&lt;this.itemSize;j++){array.push(this.data.array[index+j])}}return new BufferAttribute(new this.array.constructor(array),this.itemSize,this.normalized)}else{if(data.interleavedBuffers===undefined){data.interleavedBuffers={}}if(data.interleavedBuffers[this.data.uuid]===undefined){data.interleavedBuffers[this.data.uuid]=this.data.clone(data)}return new InterleavedBufferAttribute(data.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}}toJSON(data){if(data===undefined){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const array=[];for(let i=0;i&lt;this.count;i++){const index=i*this.data.stride+this.offset;for(let j=0;j&lt;this.itemSize;j++){array.push(this.data.array[index+j])}}return{itemSize:this.itemSize,type:this.array.constructor.name,array:array,normalized:this.normalized}}else{if(data.interleavedBuffers===undefined){data.interleavedBuffers={}}if(data.interleavedBuffers[this.data.uuid]===undefined){data.interleavedBuffers[this.data.uuid]=this.data.toJSON(data)}return{isInterleavedBufferAttribute:true,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}}class SpriteMaterial extends Material{constructor(parameters){super();this.isSpriteMaterial=true;this.type="SpriteMaterial";this.color=new Color(16777215);this.map=null;this.alphaMap=null;this.rotation=0;this.sizeAttenuation=true;this.transparent=true;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.alphaMap=source.alphaMap;this.rotation=source.rotation;this.sizeAttenuation=source.sizeAttenuation;this.fog=source.fog;return this}}let _geometry;const _intersectPoint=new Vector3;const _worldScale=new Vector3;const _mvPosition=new Vector3;const _alignedPosition=new Vector2;const _rotatedPosition=new Vector2;const _viewWorldMatrix=new Matrix4;const _vA=new Vector3;const _vB=new Vector3;const _vC=new Vector3;const _uvA=new Vector2;const _uvB=new Vector2;const _uvC=new Vector2;class Sprite extends Object3D{constructor(material=new SpriteMaterial){super();this.isSprite=true;this.type="Sprite";if(_geometry===undefined){_geometry=new BufferGeometry;const float32Array=new Float32Array([-0.5,-0.5,0,0,0,0.5,-0.5,0,1,0,0.5,0.5,0,1,1,-0.5,0.5,0,0,1]);const interleavedBuffer=new InterleavedBuffer(float32Array,5);_geometry.setIndex([0,1,2,0,2,3]);_geometry.setAttribute("position",new InterleavedBufferAttribute(interleavedBuffer,3,0,false));_geometry.setAttribute("uv",new InterleavedBufferAttribute(interleavedBuffer,2,3,false))}this.geometry=_geometry;this.material=material;this.center=new Vector2(0.5,0.5)}raycast(raycaster,intersects){if(raycaster.camera===null){console.error("THREE.Sprite: \"Raycaster.camera\" needs to be set in order to raycast against sprites.")}_worldScale.setFromMatrixScale(this.matrixWorld);_viewWorldMatrix.copy(raycaster.camera.matrixWorld);this.modelViewMatrix.multiplyMatrices(raycaster.camera.matrixWorldInverse,this.matrixWorld);_mvPosition.setFromMatrixPosition(this.modelViewMatrix);if(raycaster.camera.isPerspectiveCamera&amp;&amp;this.material.sizeAttenuation===false){_worldScale.multiplyScalar(-_mvPosition.z)}const rotation=this.material.rotation;let sin,cos;if(rotation!==0){cos=Math.cos(rotation);sin=Math.sin(rotation)}const center=this.center;transformVertex(_vA.set(-0.5,-0.5,0),_mvPosition,center,_worldScale,sin,cos);transformVertex(_vB.set(0.5,-0.5,0),_mvPosition,center,_worldScale,sin,cos);transformVertex(_vC.set(0.5,0.5,0),_mvPosition,center,_worldScale,sin,cos);_uvA.set(0,0);_uvB.set(1,0);_uvC.set(1,1);let intersect=raycaster.ray.intersectTriangle(_vA,_vB,_vC,false,_intersectPoint);if(intersect===null){transformVertex(_vB.set(-0.5,0.5,0),_mvPosition,center,_worldScale,sin,cos);_uvB.set(0,1);intersect=raycaster.ray.intersectTriangle(_vA,_vC,_vB,false,_intersectPoint);if(intersect===null){return}}const distance=raycaster.ray.origin.distanceTo(_intersectPoint);if(distance&lt;raycaster.near||distance&gt;raycaster.far)return;intersects.push({distance:distance,point:_intersectPoint.clone(),uv:Triangle.getInterpolation(_intersectPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new Vector2),face:null,object:this})}copy(source,recursive){super.copy(source,recursive);if(source.center!==undefined)this.center.copy(source.center);this.material=source.material;return this}}function transformVertex(vertexPosition,mvPosition,center,scale,sin,cos){_alignedPosition.subVectors(vertexPosition,center).addScalar(0.5).multiply(scale);if(sin!==undefined){_rotatedPosition.x=cos*_alignedPosition.x-sin*_alignedPosition.y;_rotatedPosition.y=sin*_alignedPosition.x+cos*_alignedPosition.y}else{_rotatedPosition.copy(_alignedPosition)}vertexPosition.copy(mvPosition);vertexPosition.x+=_rotatedPosition.x;vertexPosition.y+=_rotatedPosition.y;vertexPosition.applyMatrix4(_viewWorldMatrix)}const _v1$2=new Vector3;const _v2$1=new Vector3;class LOD extends Object3D{constructor(){super();this._currentLevel=0;this.type="LOD";Object.defineProperties(this,{levels:{enumerable:true,value:[]},isLOD:{value:true}});this.autoUpdate=true}copy(source){super.copy(source,false);const levels=source.levels;for(let i=0,l=levels.length;i&lt;l;i++){const level=levels[i];this.addLevel(level.object.clone(),level.distance,level.hysteresis)}this.autoUpdate=source.autoUpdate;return this}addLevel(object,distance=0,hysteresis=0){distance=Math.abs(distance);const levels=this.levels;let l;for(l=0;l&lt;levels.length;l++){if(distance&lt;levels[l].distance){break}}levels.splice(l,0,{distance:distance,hysteresis:hysteresis,object:object});this.add(object);return this}getCurrentLevel(){return this._currentLevel}getObjectForDistance(distance){const levels=this.levels;if(levels.length&gt;0){let i,l;for(i=1,l=levels.length;i&lt;l;i++){let levelDistance=levels[i].distance;if(levels[i].object.visible){levelDistance-=levelDistance*levels[i].hysteresis}if(distance&lt;levelDistance){break}}return levels[i-1].object}return null}raycast(raycaster,intersects){const levels=this.levels;if(levels.length&gt;0){_v1$2.setFromMatrixPosition(this.matrixWorld);const distance=raycaster.ray.origin.distanceTo(_v1$2);this.getObjectForDistance(distance).raycast(raycaster,intersects)}}update(camera){const levels=this.levels;if(levels.length&gt;1){_v1$2.setFromMatrixPosition(camera.matrixWorld);_v2$1.setFromMatrixPosition(this.matrixWorld);const distance=_v1$2.distanceTo(_v2$1)/camera.zoom;levels[0].object.visible=true;let i,l;for(i=1,l=levels.length;i&lt;l;i++){let levelDistance=levels[i].distance;if(levels[i].object.visible){levelDistance-=levelDistance*levels[i].hysteresis}if(distance&gt;=levelDistance){levels[i-1].object.visible=false;levels[i].object.visible=true}else{break}}this._currentLevel=i-1;for(;i&lt;l;i++){levels[i].object.visible=false}}}toJSON(meta){const data=super.toJSON(meta);if(this.autoUpdate===false)data.object.autoUpdate=false;data.object.levels=[];const levels=this.levels;for(let i=0,l=levels.length;i&lt;l;i++){const level=levels[i];data.object.levels.push({object:level.object.uuid,distance:level.distance,hysteresis:level.hysteresis})}return data}}const _basePosition=new Vector3;const _skinIndex=new Vector4;const _skinWeight=new Vector4;const _vector3=new Vector3;const _matrix4=new Matrix4;const _vertex=new Vector3;const _sphere$4=new Sphere;const _inverseMatrix$2=new Matrix4;const _ray$2=new Ray;class SkinnedMesh extends Mesh{constructor(geometry,material){super(geometry,material);this.isSkinnedMesh=true;this.type="SkinnedMesh";this.bindMode=AttachedBindMode;this.bindMatrix=new Matrix4;this.bindMatrixInverse=new Matrix4;this.boundingBox=null;this.boundingSphere=null}computeBoundingBox(){const geometry=this.geometry;if(this.boundingBox===null){this.boundingBox=new Box3}this.boundingBox.makeEmpty();const positionAttribute=geometry.getAttribute("position");for(let i=0;i&lt;positionAttribute.count;i++){this.getVertexPosition(i,_vertex);this.boundingBox.expandByPoint(_vertex)}}computeBoundingSphere(){const geometry=this.geometry;if(this.boundingSphere===null){this.boundingSphere=new Sphere}this.boundingSphere.makeEmpty();const positionAttribute=geometry.getAttribute("position");for(let i=0;i&lt;positionAttribute.count;i++){this.getVertexPosition(i,_vertex);this.boundingSphere.expandByPoint(_vertex)}}copy(source,recursive){super.copy(source,recursive);this.bindMode=source.bindMode;this.bindMatrix.copy(source.bindMatrix);this.bindMatrixInverse.copy(source.bindMatrixInverse);this.skeleton=source.skeleton;if(source.boundingBox!==null)this.boundingBox=source.boundingBox.clone();if(source.boundingSphere!==null)this.boundingSphere=source.boundingSphere.clone();return this}raycast(raycaster,intersects){const material=this.material;const matrixWorld=this.matrixWorld;if(material===undefined)return;if(this.boundingSphere===null)this.computeBoundingSphere();_sphere$4.copy(this.boundingSphere);_sphere$4.applyMatrix4(matrixWorld);if(raycaster.ray.intersectsSphere(_sphere$4)===false)return;_inverseMatrix$2.copy(matrixWorld).invert();_ray$2.copy(raycaster.ray).applyMatrix4(_inverseMatrix$2);if(this.boundingBox!==null){if(_ray$2.intersectsBox(this.boundingBox)===false)return}this._computeIntersections(raycaster,intersects,_ray$2)}getVertexPosition(index,target){super.getVertexPosition(index,target);this.applyBoneTransform(index,target);return target}bind(skeleton,bindMatrix){this.skeleton=skeleton;if(bindMatrix===undefined){this.updateMatrixWorld(true);this.skeleton.calculateInverses();bindMatrix=this.matrixWorld}this.bindMatrix.copy(bindMatrix);this.bindMatrixInverse.copy(bindMatrix).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const vector=new Vector4;const skinWeight=this.geometry.attributes.skinWeight;for(let i=0,l=skinWeight.count;i&lt;l;i++){vector.fromBufferAttribute(skinWeight,i);const scale=1/vector.manhattanLength();if(scale!==Infinity){vector.multiplyScalar(scale)}else{vector.set(1,0,0,0)}skinWeight.setXYZW(i,vector.x,vector.y,vector.z,vector.w)}}updateMatrixWorld(force){super.updateMatrixWorld(force);if(this.bindMode===AttachedBindMode){this.bindMatrixInverse.copy(this.matrixWorld).invert()}else if(this.bindMode===DetachedBindMode){this.bindMatrixInverse.copy(this.bindMatrix).invert()}else{console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}}applyBoneTransform(index,vector){const skeleton=this.skeleton;const geometry=this.geometry;_skinIndex.fromBufferAttribute(geometry.attributes.skinIndex,index);_skinWeight.fromBufferAttribute(geometry.attributes.skinWeight,index);_basePosition.copy(vector).applyMatrix4(this.bindMatrix);vector.set(0,0,0);for(let i=0;i&lt;4;i++){const weight=_skinWeight.getComponent(i);if(weight!==0){const boneIndex=_skinIndex.getComponent(i);_matrix4.multiplyMatrices(skeleton.bones[boneIndex].matrixWorld,skeleton.boneInverses[boneIndex]);vector.addScaledVector(_vector3.copy(_basePosition).applyMatrix4(_matrix4),weight)}}return vector.applyMatrix4(this.bindMatrixInverse)}}class Bone extends Object3D{constructor(){super();this.isBone=true;this.type="Bone"}}class DataTexture extends Texture{constructor(data=null,width=1,height=1,format,type,mapping,wrapS,wrapT,magFilter=NearestFilter,minFilter=NearestFilter,anisotropy,colorSpace){super(null,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy,colorSpace);this.isDataTexture=true;this.image={data:data,width:width,height:height};this.generateMipmaps=false;this.flipY=false;this.unpackAlignment=1}}const _offsetMatrix=new Matrix4;const _identityMatrix$1=new Matrix4;class Skeleton{constructor(bones=[],boneInverses=[]){this.uuid=generateUUID();this.bones=bones.slice(0);this.boneInverses=boneInverses;this.boneMatrices=null;this.boneTexture=null;this.init()}init(){const bones=this.bones;const boneInverses=this.boneInverses;this.boneMatrices=new Float32Array(bones.length*16);if(boneInverses.length===0){this.calculateInverses()}else{if(bones.length!==boneInverses.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones.");this.boneInverses=[];for(let i=0,il=this.bones.length;i&lt;il;i++){this.boneInverses.push(new Matrix4)}}}}calculateInverses(){this.boneInverses.length=0;for(let i=0,il=this.bones.length;i&lt;il;i++){const inverse=new Matrix4;if(this.bones[i]){inverse.copy(this.bones[i].matrixWorld).invert()}this.boneInverses.push(inverse)}}pose(){for(let i=0,il=this.bones.length;i&lt;il;i++){const bone=this.bones[i];if(bone){bone.matrixWorld.copy(this.boneInverses[i]).invert()}}for(let i=0,il=this.bones.length;i&lt;il;i++){const bone=this.bones[i];if(bone){if(bone.parent&amp;&amp;bone.parent.isBone){bone.matrix.copy(bone.parent.matrixWorld).invert();bone.matrix.multiply(bone.matrixWorld)}else{bone.matrix.copy(bone.matrixWorld)}bone.matrix.decompose(bone.position,bone.quaternion,bone.scale)}}}update(){const bones=this.bones;const boneInverses=this.boneInverses;const boneMatrices=this.boneMatrices;const boneTexture=this.boneTexture;for(let i=0,il=bones.length;i&lt;il;i++){const matrix=bones[i]?bones[i].matrixWorld:_identityMatrix$1;_offsetMatrix.multiplyMatrices(matrix,boneInverses[i]);_offsetMatrix.toArray(boneMatrices,i*16)}if(boneTexture!==null){boneTexture.needsUpdate=true}}clone(){return new Skeleton(this.bones,this.boneInverses)}computeBoneTexture(){let size=Math.sqrt(this.bones.length*4);size=Math.ceil(size/4)*4;size=Math.max(size,4);const boneMatrices=new Float32Array(size*size*4);boneMatrices.set(this.boneMatrices);const boneTexture=new DataTexture(boneMatrices,size,size,RGBAFormat,FloatType);boneTexture.needsUpdate=true;this.boneMatrices=boneMatrices;this.boneTexture=boneTexture;return this}getBoneByName(name){for(let i=0,il=this.bones.length;i&lt;il;i++){const bone=this.bones[i];if(bone.name===name){return bone}}return undefined}dispose(){if(this.boneTexture!==null){this.boneTexture.dispose();this.boneTexture=null}}fromJSON(json,bones){this.uuid=json.uuid;for(let i=0,l=json.bones.length;i&lt;l;i++){const uuid=json.bones[i];let bone=bones[uuid];if(bone===undefined){console.warn("THREE.Skeleton: No bone found with UUID:",uuid);bone=new Bone}this.bones.push(bone);this.boneInverses.push(new Matrix4().fromArray(json.boneInverses[i]))}this.init();return this}toJSON(){const data={metadata:{version:4.6,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};data.uuid=this.uuid;const bones=this.bones;const boneInverses=this.boneInverses;for(let i=0,l=bones.length;i&lt;l;i++){const bone=bones[i];data.bones.push(bone.uuid);const boneInverse=boneInverses[i];data.boneInverses.push(boneInverse.toArray())}return data}}class InstancedBufferAttribute extends BufferAttribute{constructor(array,itemSize,normalized,meshPerAttribute=1){super(array,itemSize,normalized);this.isInstancedBufferAttribute=true;this.meshPerAttribute=meshPerAttribute}copy(source){super.copy(source);this.meshPerAttribute=source.meshPerAttribute;return this}toJSON(){const data=super.toJSON();data.meshPerAttribute=this.meshPerAttribute;data.isInstancedBufferAttribute=true;return data}}const _instanceLocalMatrix=new Matrix4;const _instanceWorldMatrix=new Matrix4;const _instanceIntersects=[];const _box3=new Box3;const _identity=new Matrix4;const _mesh$1=new Mesh;const _sphere$3=new Sphere;class InstancedMesh extends Mesh{constructor(geometry,material,count){super(geometry,material);this.isInstancedMesh=true;this.instanceMatrix=new InstancedBufferAttribute(new Float32Array(count*16),16);this.instanceColor=null;this.morphTexture=null;this.count=count;this.boundingBox=null;this.boundingSphere=null;for(let i=0;i&lt;count;i++){this.setMatrixAt(i,_identity)}}computeBoundingBox(){const geometry=this.geometry;const count=this.count;if(this.boundingBox===null){this.boundingBox=new Box3}if(geometry.boundingBox===null){geometry.computeBoundingBox()}this.boundingBox.makeEmpty();for(let i=0;i&lt;count;i++){this.getMatrixAt(i,_instanceLocalMatrix);_box3.copy(geometry.boundingBox).applyMatrix4(_instanceLocalMatrix);this.boundingBox.union(_box3)}}computeBoundingSphere(){const geometry=this.geometry;const count=this.count;if(this.boundingSphere===null){this.boundingSphere=new Sphere}if(geometry.boundingSphere===null){geometry.computeBoundingSphere()}this.boundingSphere.makeEmpty();for(let i=0;i&lt;count;i++){this.getMatrixAt(i,_instanceLocalMatrix);_sphere$3.copy(geometry.boundingSphere).applyMatrix4(_instanceLocalMatrix);this.boundingSphere.union(_sphere$3)}}copy(source,recursive){super.copy(source,recursive);this.instanceMatrix.copy(source.instanceMatrix);if(source.morphTexture!==null)this.morphTexture=source.morphTexture.clone();if(source.instanceColor!==null)this.instanceColor=source.instanceColor.clone();this.count=source.count;if(source.boundingBox!==null)this.boundingBox=source.boundingBox.clone();if(source.boundingSphere!==null)this.boundingSphere=source.boundingSphere.clone();return this}getColorAt(index,color){color.fromArray(this.instanceColor.array,index*3)}getMatrixAt(index,matrix){matrix.fromArray(this.instanceMatrix.array,index*16)}getMorphAt(index,object){const objectInfluences=object.morphTargetInfluences;const array=this.morphTexture.source.data.data;const len=objectInfluences.length+1;const dataIndex=index*len+1;for(let i=0;i&lt;objectInfluences.length;i++){objectInfluences[i]=array[dataIndex+i]}}raycast(raycaster,intersects){const matrixWorld=this.matrixWorld;const raycastTimes=this.count;_mesh$1.geometry=this.geometry;_mesh$1.material=this.material;if(_mesh$1.material===undefined)return;if(this.boundingSphere===null)this.computeBoundingSphere();_sphere$3.copy(this.boundingSphere);_sphere$3.applyMatrix4(matrixWorld);if(raycaster.ray.intersectsSphere(_sphere$3)===false)return;for(let instanceId=0;instanceId&lt;raycastTimes;instanceId++){this.getMatrixAt(instanceId,_instanceLocalMatrix);_instanceWorldMatrix.multiplyMatrices(matrixWorld,_instanceLocalMatrix);_mesh$1.matrixWorld=_instanceWorldMatrix;_mesh$1.raycast(raycaster,_instanceIntersects);for(let i=0,l=_instanceIntersects.length;i&lt;l;i++){const intersect=_instanceIntersects[i];intersect.instanceId=instanceId;intersect.object=this;intersects.push(intersect)}_instanceIntersects.length=0}}setColorAt(index,color){if(this.instanceColor===null){this.instanceColor=new InstancedBufferAttribute(new Float32Array(this.instanceMatrix.count*3),3)}color.toArray(this.instanceColor.array,index*3)}setMatrixAt(index,matrix){matrix.toArray(this.instanceMatrix.array,index*16)}setMorphAt(index,object){const objectInfluences=object.morphTargetInfluences;const len=objectInfluences.length+1;if(this.morphTexture===null){this.morphTexture=new DataTexture(new Float32Array(len*this.count),len,this.count,RedFormat,FloatType)}const array=this.morphTexture.source.data.data;let morphInfluencesSum=0;for(let i=0;i&lt;objectInfluences.length;i++){morphInfluencesSum+=objectInfluences[i]}const morphBaseInfluence=this.geometry.morphTargetsRelative?1:1-morphInfluencesSum;const dataIndex=len*index;array[dataIndex]=morphBaseInfluence;array.set(objectInfluences,dataIndex+1)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"});if(this.morphTexture!==null){this.morphTexture.dispose();this.morphTexture=null}return this}}function sortOpaque(a,b){return a.z-b.z}function sortTransparent(a,b){return b.z-a.z}class MultiDrawRenderList{constructor(){this.index=0;this.pool=[];this.list=[]}push(drawRange,z){const pool=this.pool;const list=this.list;if(this.index&gt;=pool.length){pool.push({start:-1,count:-1,z:-1})}const item=pool[this.index];list.push(item);this.index++;item.start=drawRange.start;item.count=drawRange.count;item.z=z}reset(){this.list.length=0;this.index=0}}const ID_ATTR_NAME="batchId";const _matrix$1=new Matrix4;const _invMatrixWorld=new Matrix4;const _identityMatrix=new Matrix4;const _projScreenMatrix$2=new Matrix4;const _frustum=new Frustum;const _box$1=new Box3;const _sphere$2=new Sphere;const _vector$5=new Vector3;const _renderList=new MultiDrawRenderList;const _mesh=new Mesh;const _batchIntersects=[];function copyAttributeData(src,target,targetOffset=0){const itemSize=target.itemSize;if(src.isInterleavedBufferAttribute||src.array.constructor!==target.array.constructor){const vertexCount=src.count;for(let i=0;i&lt;vertexCount;i++){for(let c=0;c&lt;itemSize;c++){target.setComponent(i+targetOffset,c,src.getComponent(i,c))}}}else{target.array.set(src.array,targetOffset*itemSize)}target.needsUpdate=true}class BatchedMesh extends Mesh{get maxGeometryCount(){return this._maxGeometryCount}constructor(maxGeometryCount,maxVertexCount,maxIndexCount=maxVertexCount*2,material){super(new BufferGeometry,material);this.isBatchedMesh=true;this.perObjectFrustumCulled=true;this.sortObjects=true;this.boundingBox=null;this.boundingSphere=null;this.customSort=null;this._drawRanges=[];this._reservedRanges=[];this._visibility=[];this._active=[];this._bounds=[];this._maxGeometryCount=maxGeometryCount;this._maxVertexCount=maxVertexCount;this._maxIndexCount=maxIndexCount;this._geometryInitialized=false;this._geometryCount=0;this._multiDrawCounts=new Int32Array(maxGeometryCount);this._multiDrawStarts=new Int32Array(maxGeometryCount);this._multiDrawCount=0;this._visibilityChanged=true;this._matricesTexture=null;this._initMatricesTexture()}_initMatricesTexture(){let size=Math.sqrt(this._maxGeometryCount*4);size=Math.ceil(size/4)*4;size=Math.max(size,4);const matricesArray=new Float32Array(size*size*4);const matricesTexture=new DataTexture(matricesArray,size,size,RGBAFormat,FloatType);this._matricesTexture=matricesTexture}_initializeGeometry(reference){const geometry=this.geometry;const maxVertexCount=this._maxVertexCount;const maxGeometryCount=this._maxGeometryCount;const maxIndexCount=this._maxIndexCount;if(this._geometryInitialized===false){for(const attributeName in reference.attributes){const srcAttribute=reference.getAttribute(attributeName);const{array,itemSize,normalized}=srcAttribute;const dstArray=new array.constructor(maxVertexCount*itemSize);const dstAttribute=new BufferAttribute(dstArray,itemSize,normalized);geometry.setAttribute(attributeName,dstAttribute)}if(reference.getIndex()!==null){const indexArray=maxVertexCount&gt;65536?new Uint32Array(maxIndexCount):new Uint16Array(maxIndexCount);geometry.setIndex(new BufferAttribute(indexArray,1))}const idArray=maxGeometryCount&gt;65536?new Uint32Array(maxVertexCount):new Uint16Array(maxVertexCount);geometry.setAttribute(ID_ATTR_NAME,new BufferAttribute(idArray,1));this._geometryInitialized=true}}_validateGeometry(geometry){if(geometry.getAttribute(ID_ATTR_NAME)){throw new Error(`BatchedMesh: Geometry cannot use attribute "${ID_ATTR_NAME}"`)}const batchGeometry=this.geometry;if(Boolean(geometry.getIndex())!==Boolean(batchGeometry.getIndex())){throw new Error("BatchedMesh: All geometries must consistently have \"index\".")}for(const attributeName in batchGeometry.attributes){if(attributeName===ID_ATTR_NAME){continue}if(!geometry.hasAttribute(attributeName)){throw new Error(`BatchedMesh: Added geometry missing "${attributeName}". All geometries must have consistent attributes.`)}const srcAttribute=geometry.getAttribute(attributeName);const dstAttribute=batchGeometry.getAttribute(attributeName);if(srcAttribute.itemSize!==dstAttribute.itemSize||srcAttribute.normalized!==dstAttribute.normalized){throw new Error("BatchedMesh: All attributes must have a consistent itemSize and normalized value.")}}}setCustomSort(func){this.customSort=func;return this}computeBoundingBox(){if(this.boundingBox===null){this.boundingBox=new Box3}const geometryCount=this._geometryCount;const boundingBox=this.boundingBox;const active=this._active;boundingBox.makeEmpty();for(let i=0;i&lt;geometryCount;i++){if(active[i]===false)continue;this.getMatrixAt(i,_matrix$1);this.getBoundingBoxAt(i,_box$1).applyMatrix4(_matrix$1);boundingBox.union(_box$1)}}computeBoundingSphere(){if(this.boundingSphere===null){this.boundingSphere=new Sphere}const geometryCount=this._geometryCount;const boundingSphere=this.boundingSphere;const active=this._active;boundingSphere.makeEmpty();for(let i=0;i&lt;geometryCount;i++){if(active[i]===false)continue;this.getMatrixAt(i,_matrix$1);this.getBoundingSphereAt(i,_sphere$2).applyMatrix4(_matrix$1);boundingSphere.union(_sphere$2)}}addGeometry(geometry,vertexCount=-1,indexCount=-1){this._initializeGeometry(geometry);this._validateGeometry(geometry);if(this._geometryCount&gt;=this._maxGeometryCount){throw new Error("BatchedMesh: Maximum geometry count reached.")}const reservedRange={vertexStart:-1,vertexCount:-1,indexStart:-1,indexCount:-1};let lastRange=null;const reservedRanges=this._reservedRanges;const drawRanges=this._drawRanges;const bounds=this._bounds;if(this._geometryCount!==0){lastRange=reservedRanges[reservedRanges.length-1]}if(vertexCount===-1){reservedRange.vertexCount=geometry.getAttribute("position").count}else{reservedRange.vertexCount=vertexCount}if(lastRange===null){reservedRange.vertexStart=0}else{reservedRange.vertexStart=lastRange.vertexStart+lastRange.vertexCount}const index=geometry.getIndex();const hasIndex=index!==null;if(hasIndex){if(indexCount===-1){reservedRange.indexCount=index.count}else{reservedRange.indexCount=indexCount}if(lastRange===null){reservedRange.indexStart=0}else{reservedRange.indexStart=lastRange.indexStart+lastRange.indexCount}}if(reservedRange.indexStart!==-1&amp;&amp;reservedRange.indexStart+reservedRange.indexCount&gt;this._maxIndexCount||reservedRange.vertexStart+reservedRange.vertexCount&gt;this._maxVertexCount){throw new Error("BatchedMesh: Reserved space request exceeds the maximum buffer size.")}const visibility=this._visibility;const active=this._active;const matricesTexture=this._matricesTexture;const matricesArray=this._matricesTexture.image.data;visibility.push(true);active.push(true);const geometryId=this._geometryCount;this._geometryCount++;_identityMatrix.toArray(matricesArray,geometryId*16);matricesTexture.needsUpdate=true;reservedRanges.push(reservedRange);drawRanges.push({start:hasIndex?reservedRange.indexStart:reservedRange.vertexStart,count:-1});bounds.push({boxInitialized:false,box:new Box3,sphereInitialized:false,sphere:new Sphere});const idAttribute=this.geometry.getAttribute(ID_ATTR_NAME);for(let i=0;i&lt;reservedRange.vertexCount;i++){idAttribute.setX(reservedRange.vertexStart+i,geometryId)}idAttribute.needsUpdate=true;this.setGeometryAt(geometryId,geometry);return geometryId}setGeometryAt(id,geometry){if(id&gt;=this._geometryCount){throw new Error("BatchedMesh: Maximum geometry count reached.")}this._validateGeometry(geometry);const batchGeometry=this.geometry;const hasIndex=batchGeometry.getIndex()!==null;const dstIndex=batchGeometry.getIndex();const srcIndex=geometry.getIndex();const reservedRange=this._reservedRanges[id];if(hasIndex&amp;&amp;srcIndex.count&gt;reservedRange.indexCount||geometry.attributes.position.count&gt;reservedRange.vertexCount){throw new Error("BatchedMesh: Reserved space not large enough for provided geometry.")}const vertexStart=reservedRange.vertexStart;const vertexCount=reservedRange.vertexCount;for(const attributeName in batchGeometry.attributes){if(attributeName===ID_ATTR_NAME){continue}const srcAttribute=geometry.getAttribute(attributeName);const dstAttribute=batchGeometry.getAttribute(attributeName);copyAttributeData(srcAttribute,dstAttribute,vertexStart);const itemSize=srcAttribute.itemSize;for(let i=srcAttribute.count,l=vertexCount;i&lt;l;i++){const index=vertexStart+i;for(let c=0;c&lt;itemSize;c++){dstAttribute.setComponent(index,c,0)}}dstAttribute.needsUpdate=true;dstAttribute.addUpdateRange(vertexStart*itemSize,vertexCount*itemSize)}if(hasIndex){const indexStart=reservedRange.indexStart;for(let i=0;i&lt;srcIndex.count;i++){dstIndex.setX(indexStart+i,vertexStart+srcIndex.getX(i))}for(let i=srcIndex.count,l=reservedRange.indexCount;i&lt;l;i++){dstIndex.setX(indexStart+i,vertexStart)}dstIndex.needsUpdate=true;dstIndex.addUpdateRange(indexStart,reservedRange.indexCount)}const bound=this._bounds[id];if(geometry.boundingBox!==null){bound.box.copy(geometry.boundingBox);bound.boxInitialized=true}else{bound.boxInitialized=false}if(geometry.boundingSphere!==null){bound.sphere.copy(geometry.boundingSphere);bound.sphereInitialized=true}else{bound.sphereInitialized=false}const drawRange=this._drawRanges[id];const posAttr=geometry.getAttribute("position");drawRange.count=hasIndex?srcIndex.count:posAttr.count;this._visibilityChanged=true;return id}deleteGeometry(geometryId){const active=this._active;if(geometryId&gt;=active.length||active[geometryId]===false){return this}active[geometryId]=false;this._visibilityChanged=true;return this}getBoundingBoxAt(id,target){const active=this._active;if(active[id]===false){return null}const bound=this._bounds[id];const box=bound.box;const geometry=this.geometry;if(bound.boxInitialized===false){box.makeEmpty();const index=geometry.index;const position=geometry.attributes.position;const drawRange=this._drawRanges[id];for(let i=drawRange.start,l=drawRange.start+drawRange.count;i&lt;l;i++){let iv=i;if(index){iv=index.getX(iv)}box.expandByPoint(_vector$5.fromBufferAttribute(position,iv))}bound.boxInitialized=true}target.copy(box);return target}getBoundingSphereAt(id,target){const active=this._active;if(active[id]===false){return null}const bound=this._bounds[id];const sphere=bound.sphere;const geometry=this.geometry;if(bound.sphereInitialized===false){sphere.makeEmpty();this.getBoundingBoxAt(id,_box$1);_box$1.getCenter(sphere.center);const index=geometry.index;const position=geometry.attributes.position;const drawRange=this._drawRanges[id];let maxRadiusSq=0;for(let i=drawRange.start,l=drawRange.start+drawRange.count;i&lt;l;i++){let iv=i;if(index){iv=index.getX(iv)}_vector$5.fromBufferAttribute(position,iv);maxRadiusSq=Math.max(maxRadiusSq,sphere.center.distanceToSquared(_vector$5))}sphere.radius=Math.sqrt(maxRadiusSq);bound.sphereInitialized=true}target.copy(sphere);return target}setMatrixAt(geometryId,matrix){const active=this._active;const matricesTexture=this._matricesTexture;const matricesArray=this._matricesTexture.image.data;const geometryCount=this._geometryCount;if(geometryId&gt;=geometryCount||active[geometryId]===false){return this}matrix.toArray(matricesArray,geometryId*16);matricesTexture.needsUpdate=true;return this}getMatrixAt(geometryId,matrix){const active=this._active;const matricesArray=this._matricesTexture.image.data;const geometryCount=this._geometryCount;if(geometryId&gt;=geometryCount||active[geometryId]===false){return null}return matrix.fromArray(matricesArray,geometryId*16)}setVisibleAt(geometryId,value){const visibility=this._visibility;const active=this._active;const geometryCount=this._geometryCount;if(geometryId&gt;=geometryCount||active[geometryId]===false||visibility[geometryId]===value){return this}visibility[geometryId]=value;this._visibilityChanged=true;return this}getVisibleAt(geometryId){const visibility=this._visibility;const active=this._active;const geometryCount=this._geometryCount;if(geometryId&gt;=geometryCount||active[geometryId]===false){return false}return visibility[geometryId]}raycast(raycaster,intersects){const visibility=this._visibility;const active=this._active;const drawRanges=this._drawRanges;const geometryCount=this._geometryCount;const matrixWorld=this.matrixWorld;const batchGeometry=this.geometry;_mesh.material=this.material;_mesh.geometry.index=batchGeometry.index;_mesh.geometry.attributes=batchGeometry.attributes;if(_mesh.geometry.boundingBox===null){_mesh.geometry.boundingBox=new Box3}if(_mesh.geometry.boundingSphere===null){_mesh.geometry.boundingSphere=new Sphere}for(let i=0;i&lt;geometryCount;i++){if(!visibility[i]||!active[i]){continue}const drawRange=drawRanges[i];_mesh.geometry.setDrawRange(drawRange.start,drawRange.count);this.getMatrixAt(i,_mesh.matrixWorld).premultiply(matrixWorld);this.getBoundingBoxAt(i,_mesh.geometry.boundingBox);this.getBoundingSphereAt(i,_mesh.geometry.boundingSphere);_mesh.raycast(raycaster,_batchIntersects);for(let j=0,l=_batchIntersects.length;j&lt;l;j++){const intersect=_batchIntersects[j];intersect.object=this;intersect.batchId=i;intersects.push(intersect)}_batchIntersects.length=0}_mesh.material=null;_mesh.geometry.index=null;_mesh.geometry.attributes={};_mesh.geometry.setDrawRange(0,Infinity)}copy(source){super.copy(source);this.geometry=source.geometry.clone();this.perObjectFrustumCulled=source.perObjectFrustumCulled;this.sortObjects=source.sortObjects;this.boundingBox=source.boundingBox!==null?source.boundingBox.clone():null;this.boundingSphere=source.boundingSphere!==null?source.boundingSphere.clone():null;this._drawRanges=source._drawRanges.map(range=&gt;({...range}));this._reservedRanges=source._reservedRanges.map(range=&gt;({...range}));this._visibility=source._visibility.slice();this._active=source._active.slice();this._bounds=source._bounds.map(bound=&gt;({boxInitialized:bound.boxInitialized,box:bound.box.clone(),sphereInitialized:bound.sphereInitialized,sphere:bound.sphere.clone()}));this._maxGeometryCount=source._maxGeometryCount;this._maxVertexCount=source._maxVertexCount;this._maxIndexCount=source._maxIndexCount;this._geometryInitialized=source._geometryInitialized;this._geometryCount=source._geometryCount;this._multiDrawCounts=source._multiDrawCounts.slice();this._multiDrawStarts=source._multiDrawStarts.slice();this._matricesTexture=source._matricesTexture.clone();this._matricesTexture.image.data=this._matricesTexture.image.slice();return this}dispose(){this.geometry.dispose();this._matricesTexture.dispose();this._matricesTexture=null;return this}onBeforeRender(renderer,scene,camera,geometry,material){if(!this._visibilityChanged&amp;&amp;!this.perObjectFrustumCulled&amp;&amp;!this.sortObjects){return}const index=geometry.getIndex();const bytesPerElement=index===null?1:index.array.BYTES_PER_ELEMENT;const active=this._active;const visibility=this._visibility;const multiDrawStarts=this._multiDrawStarts;const multiDrawCounts=this._multiDrawCounts;const drawRanges=this._drawRanges;const perObjectFrustumCulled=this.perObjectFrustumCulled;if(perObjectFrustumCulled){_projScreenMatrix$2.multiplyMatrices(camera.projectionMatrix,camera.matrixWorldInverse).multiply(this.matrixWorld);_frustum.setFromProjectionMatrix(_projScreenMatrix$2,renderer.coordinateSystem)}let count=0;if(this.sortObjects){_invMatrixWorld.copy(this.matrixWorld).invert();_vector$5.setFromMatrixPosition(camera.matrixWorld).applyMatrix4(_invMatrixWorld);for(let i=0,l=visibility.length;i&lt;l;i++){if(visibility[i]&amp;&amp;active[i]){this.getMatrixAt(i,_matrix$1);this.getBoundingSphereAt(i,_sphere$2).applyMatrix4(_matrix$1);let culled=false;if(perObjectFrustumCulled){culled=!_frustum.intersectsSphere(_sphere$2)}if(!culled){const z=_vector$5.distanceTo(_sphere$2.center);_renderList.push(drawRanges[i],z)}}}const list=_renderList.list;const customSort=this.customSort;if(customSort===null){list.sort(material.transparent?sortTransparent:sortOpaque)}else{customSort.call(this,list,camera)}for(let i=0,l=list.length;i&lt;l;i++){const item=list[i];multiDrawStarts[count]=item.start*bytesPerElement;multiDrawCounts[count]=item.count;count++}_renderList.reset()}else{for(let i=0,l=visibility.length;i&lt;l;i++){if(visibility[i]&amp;&amp;active[i]){let culled=false;if(perObjectFrustumCulled){this.getMatrixAt(i,_matrix$1);this.getBoundingSphereAt(i,_sphere$2).applyMatrix4(_matrix$1);culled=!_frustum.intersectsSphere(_sphere$2)}if(!culled){const range=drawRanges[i];multiDrawStarts[count]=range.start*bytesPerElement;multiDrawCounts[count]=range.count;count++}}}}this._multiDrawCount=count;this._visibilityChanged=false}onBeforeShadow(renderer,object,camera,shadowCamera,geometry,depthMaterial){this.onBeforeRender(renderer,null,shadowCamera,geometry,depthMaterial)}}class LineBasicMaterial extends Material{constructor(parameters){super();this.isLineBasicMaterial=true;this.type="LineBasicMaterial";this.color=new Color(16777215);this.map=null;this.linewidth=1;this.linecap="round";this.linejoin="round";this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.linewidth=source.linewidth;this.linecap=source.linecap;this.linejoin=source.linejoin;this.fog=source.fog;return this}}const _start$1=new Vector3;const _end$1=new Vector3;const _inverseMatrix$1=new Matrix4;const _ray$1=new Ray;const _sphere$1=new Sphere;class Line extends Object3D{constructor(geometry=new BufferGeometry,material=new LineBasicMaterial){super();this.isLine=true;this.type="Line";this.geometry=geometry;this.material=material;this.updateMorphTargets()}copy(source,recursive){super.copy(source,recursive);this.material=Array.isArray(source.material)?source.material.slice():source.material;this.geometry=source.geometry;return this}computeLineDistances(){const geometry=this.geometry;if(geometry.index===null){const positionAttribute=geometry.attributes.position;const lineDistances=[0];for(let i=1,l=positionAttribute.count;i&lt;l;i++){_start$1.fromBufferAttribute(positionAttribute,i-1);_end$1.fromBufferAttribute(positionAttribute,i);lineDistances[i]=lineDistances[i-1];lineDistances[i]+=_start$1.distanceTo(_end$1)}geometry.setAttribute("lineDistance",new Float32BufferAttribute(lineDistances,1))}else{console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.")}return this}raycast(raycaster,intersects){const geometry=this.geometry;const matrixWorld=this.matrixWorld;const threshold=raycaster.params.Line.threshold;const drawRange=geometry.drawRange;if(geometry.boundingSphere===null)geometry.computeBoundingSphere();_sphere$1.copy(geometry.boundingSphere);_sphere$1.applyMatrix4(matrixWorld);_sphere$1.radius+=threshold;if(raycaster.ray.intersectsSphere(_sphere$1)===false)return;_inverseMatrix$1.copy(matrixWorld).invert();_ray$1.copy(raycaster.ray).applyMatrix4(_inverseMatrix$1);const localThreshold=threshold/((this.scale.x+this.scale.y+this.scale.z)/3);const localThresholdSq=localThreshold*localThreshold;const vStart=new Vector3;const vEnd=new Vector3;const interSegment=new Vector3;const interRay=new Vector3;const step=this.isLineSegments?2:1;const index=geometry.index;const attributes=geometry.attributes;const positionAttribute=attributes.position;if(index!==null){const start=Math.max(0,drawRange.start);const end=Math.min(index.count,drawRange.start+drawRange.count);for(let i=start,l=end-1;i&lt;l;i+=step){const a=index.getX(i);const b=index.getX(i+1);vStart.fromBufferAttribute(positionAttribute,a);vEnd.fromBufferAttribute(positionAttribute,b);const distSq=_ray$1.distanceSqToSegment(vStart,vEnd,interRay,interSegment);if(distSq&gt;localThresholdSq)continue;interRay.applyMatrix4(this.matrixWorld);const distance=raycaster.ray.origin.distanceTo(interRay);if(distance&lt;raycaster.near||distance&gt;raycaster.far)continue;intersects.push({distance:distance,point:interSegment.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}else{const start=Math.max(0,drawRange.start);const end=Math.min(positionAttribute.count,drawRange.start+drawRange.count);for(let i=start,l=end-1;i&lt;l;i+=step){vStart.fromBufferAttribute(positionAttribute,i);vEnd.fromBufferAttribute(positionAttribute,i+1);const distSq=_ray$1.distanceSqToSegment(vStart,vEnd,interRay,interSegment);if(distSq&gt;localThresholdSq)continue;interRay.applyMatrix4(this.matrixWorld);const distance=raycaster.ray.origin.distanceTo(interRay);if(distance&lt;raycaster.near||distance&gt;raycaster.far)continue;intersects.push({distance:distance,point:interSegment.clone().applyMatrix4(this.matrixWorld),index:i,face:null,faceIndex:null,object:this})}}}updateMorphTargets(){const geometry=this.geometry;const morphAttributes=geometry.morphAttributes;const keys=Object.keys(morphAttributes);if(keys.length&gt;0){const morphAttribute=morphAttributes[keys[0]];if(morphAttribute!==undefined){this.morphTargetInfluences=[];this.morphTargetDictionary={};for(let m=0,ml=morphAttribute.length;m&lt;ml;m++){const name=morphAttribute[m].name||String(m);this.morphTargetInfluences.push(0);this.morphTargetDictionary[name]=m}}}}}const _start=new Vector3;const _end=new Vector3;class LineSegments extends Line{constructor(geometry,material){super(geometry,material);this.isLineSegments=true;this.type="LineSegments"}computeLineDistances(){const geometry=this.geometry;if(geometry.index===null){const positionAttribute=geometry.attributes.position;const lineDistances=[];for(let i=0,l=positionAttribute.count;i&lt;l;i+=2){_start.fromBufferAttribute(positionAttribute,i);_end.fromBufferAttribute(positionAttribute,i+1);lineDistances[i]=i===0?0:lineDistances[i-1];lineDistances[i+1]=lineDistances[i]+_start.distanceTo(_end)}geometry.setAttribute("lineDistance",new Float32BufferAttribute(lineDistances,1))}else{console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.")}return this}}class LineLoop extends Line{constructor(geometry,material){super(geometry,material);this.isLineLoop=true;this.type="LineLoop"}}class PointsMaterial extends Material{constructor(parameters){super();this.isPointsMaterial=true;this.type="PointsMaterial";this.color=new Color(16777215);this.map=null;this.alphaMap=null;this.size=1;this.sizeAttenuation=true;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.alphaMap=source.alphaMap;this.size=source.size;this.sizeAttenuation=source.sizeAttenuation;this.fog=source.fog;return this}}const _inverseMatrix=new Matrix4;const _ray=new Ray;const _sphere=new Sphere;const _position$2=new Vector3;class Points extends Object3D{constructor(geometry=new BufferGeometry,material=new PointsMaterial){super();this.isPoints=true;this.type="Points";this.geometry=geometry;this.material=material;this.updateMorphTargets()}copy(source,recursive){super.copy(source,recursive);this.material=Array.isArray(source.material)?source.material.slice():source.material;this.geometry=source.geometry;return this}raycast(raycaster,intersects){const geometry=this.geometry;const matrixWorld=this.matrixWorld;const threshold=raycaster.params.Points.threshold;const drawRange=geometry.drawRange;if(geometry.boundingSphere===null)geometry.computeBoundingSphere();_sphere.copy(geometry.boundingSphere);_sphere.applyMatrix4(matrixWorld);_sphere.radius+=threshold;if(raycaster.ray.intersectsSphere(_sphere)===false)return;_inverseMatrix.copy(matrixWorld).invert();_ray.copy(raycaster.ray).applyMatrix4(_inverseMatrix);const localThreshold=threshold/((this.scale.x+this.scale.y+this.scale.z)/3);const localThresholdSq=localThreshold*localThreshold;const index=geometry.index;const attributes=geometry.attributes;const positionAttribute=attributes.position;if(index!==null){const start=Math.max(0,drawRange.start);const end=Math.min(index.count,drawRange.start+drawRange.count);for(let i=start,il=end;i&lt;il;i++){const a=index.getX(i);_position$2.fromBufferAttribute(positionAttribute,a);testPoint(_position$2,a,localThresholdSq,matrixWorld,raycaster,intersects,this)}}else{const start=Math.max(0,drawRange.start);const end=Math.min(positionAttribute.count,drawRange.start+drawRange.count);for(let i=start,l=end;i&lt;l;i++){_position$2.fromBufferAttribute(positionAttribute,i);testPoint(_position$2,i,localThresholdSq,matrixWorld,raycaster,intersects,this)}}}updateMorphTargets(){const geometry=this.geometry;const morphAttributes=geometry.morphAttributes;const keys=Object.keys(morphAttributes);if(keys.length&gt;0){const morphAttribute=morphAttributes[keys[0]];if(morphAttribute!==undefined){this.morphTargetInfluences=[];this.morphTargetDictionary={};for(let m=0,ml=morphAttribute.length;m&lt;ml;m++){const name=morphAttribute[m].name||String(m);this.morphTargetInfluences.push(0);this.morphTargetDictionary[name]=m}}}}}function testPoint(point,index,localThresholdSq,matrixWorld,raycaster,intersects,object){const rayPointDistanceSq=_ray.distanceSqToPoint(point);if(rayPointDistanceSq&lt;localThresholdSq){const intersectPoint=new Vector3;_ray.closestPointToPoint(point,intersectPoint);intersectPoint.applyMatrix4(matrixWorld);const distance=raycaster.ray.origin.distanceTo(intersectPoint);if(distance&lt;raycaster.near||distance&gt;raycaster.far)return;intersects.push({distance:distance,distanceToRay:Math.sqrt(rayPointDistanceSq),point:intersectPoint,index:index,face:null,object:object})}}class VideoTexture extends Texture{constructor(video,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy){super(video,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy);this.isVideoTexture=true;this.minFilter=minFilter!==undefined?minFilter:LinearFilter;this.magFilter=magFilter!==undefined?magFilter:LinearFilter;this.generateMipmaps=false;const scope=this;function updateVideo(){scope.needsUpdate=true;video.requestVideoFrameCallback(updateVideo)}if("requestVideoFrameCallback"in video){video.requestVideoFrameCallback(updateVideo)}}clone(){return new this.constructor(this.image).copy(this)}update(){const video=this.image;const hasVideoFrameCallback=("requestVideoFrameCallback"in video);if(hasVideoFrameCallback===false&amp;&amp;video.readyState&gt;=video.HAVE_CURRENT_DATA){this.needsUpdate=true}}}class FramebufferTexture extends Texture{constructor(width,height){super({width,height});this.isFramebufferTexture=true;this.magFilter=NearestFilter;this.minFilter=NearestFilter;this.generateMipmaps=false;this.needsUpdate=true}}class CompressedTexture extends Texture{constructor(mipmaps,width,height,format,type,mapping,wrapS,wrapT,magFilter,minFilter,anisotropy,colorSpace){super(null,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy,colorSpace);this.isCompressedTexture=true;this.image={width:width,height:height};this.mipmaps=mipmaps;this.flipY=false;this.generateMipmaps=false}}class CompressedArrayTexture extends CompressedTexture{constructor(mipmaps,width,height,depth,format,type){super(mipmaps,width,height,format,type);this.isCompressedArrayTexture=true;this.image.depth=depth;this.wrapR=ClampToEdgeWrapping}}class CompressedCubeTexture extends CompressedTexture{constructor(images,format,type){super(undefined,images[0].width,images[0].height,format,type,CubeReflectionMapping);this.isCompressedCubeTexture=true;this.isCubeTexture=true;this.image=images}}class CanvasTexture extends Texture{constructor(canvas,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy){super(canvas,mapping,wrapS,wrapT,magFilter,minFilter,format,type,anisotropy);this.isCanvasTexture=true;this.needsUpdate=true}}class Curve{constructor(){this.type="Curve";this.arcLengthDivisions=200}getPoint(){console.warn("THREE.Curve: .getPoint() not implemented.");return null}getPointAt(u,optionalTarget){const t=this.getUtoTmapping(u);return this.getPoint(t,optionalTarget)}getPoints(divisions=5){const points=[];for(let d=0;d&lt;=divisions;d++){points.push(this.getPoint(d/divisions))}return points}getSpacedPoints(divisions=5){const points=[];for(let d=0;d&lt;=divisions;d++){points.push(this.getPointAt(d/divisions))}return points}getLength(){const lengths=this.getLengths();return lengths[lengths.length-1]}getLengths(divisions=this.arcLengthDivisions){if(this.cacheArcLengths&amp;&amp;this.cacheArcLengths.length===divisions+1&amp;&amp;!this.needsUpdate){return this.cacheArcLengths}this.needsUpdate=false;const cache=[];let current,last=this.getPoint(0);let sum=0;cache.push(0);for(let p=1;p&lt;=divisions;p++){current=this.getPoint(p/divisions);sum+=current.distanceTo(last);cache.push(sum);last=current}this.cacheArcLengths=cache;return cache}updateArcLengths(){this.needsUpdate=true;this.getLengths()}getUtoTmapping(u,distance){const arcLengths=this.getLengths();let i=0;const il=arcLengths.length;let targetArcLength;if(distance){targetArcLength=distance}else{targetArcLength=u*arcLengths[il-1]}let low=0,high=il-1,comparison;while(low&lt;=high){i=Math.floor(low+(high-low)/2);comparison=arcLengths[i]-targetArcLength;if(comparison&lt;0){low=i+1}else if(comparison&gt;0){high=i-1}else{high=i;break}}i=high;if(arcLengths[i]===targetArcLength){return i/(il-1)}const lengthBefore=arcLengths[i];const lengthAfter=arcLengths[i+1];const segmentLength=lengthAfter-lengthBefore;const segmentFraction=(targetArcLength-lengthBefore)/segmentLength;const t=(i+segmentFraction)/(il-1);return t}getTangent(t,optionalTarget){const delta=0.0001;let t1=t-delta;let t2=t+delta;if(t1&lt;0)t1=0;if(t2&gt;1)t2=1;const pt1=this.getPoint(t1);const pt2=this.getPoint(t2);const tangent=optionalTarget||(pt1.isVector2?new Vector2:new Vector3);tangent.copy(pt2).sub(pt1).normalize();return tangent}getTangentAt(u,optionalTarget){const t=this.getUtoTmapping(u);return this.getTangent(t,optionalTarget)}computeFrenetFrames(segments,closed){const normal=new Vector3;const tangents=[];const normals=[];const binormals=[];const vec=new Vector3;const mat=new Matrix4;for(let i=0;i&lt;=segments;i++){const u=i/segments;tangents[i]=this.getTangentAt(u,new Vector3)}normals[0]=new Vector3;binormals[0]=new Vector3;let min=Number.MAX_VALUE;const tx=Math.abs(tangents[0].x);const ty=Math.abs(tangents[0].y);const tz=Math.abs(tangents[0].z);if(tx&lt;=min){min=tx;normal.set(1,0,0)}if(ty&lt;=min){min=ty;normal.set(0,1,0)}if(tz&lt;=min){normal.set(0,0,1)}vec.crossVectors(tangents[0],normal).normalize();normals[0].crossVectors(tangents[0],vec);binormals[0].crossVectors(tangents[0],normals[0]);for(let i=1;i&lt;=segments;i++){normals[i]=normals[i-1].clone();binormals[i]=binormals[i-1].clone();vec.crossVectors(tangents[i-1],tangents[i]);if(vec.length()&gt;Number.EPSILON){vec.normalize();const theta=Math.acos(clamp(tangents[i-1].dot(tangents[i]),-1,1));normals[i].applyMatrix4(mat.makeRotationAxis(vec,theta))}binormals[i].crossVectors(tangents[i],normals[i])}if(closed===true){let theta=Math.acos(clamp(normals[0].dot(normals[segments]),-1,1));theta/=segments;if(tangents[0].dot(vec.crossVectors(normals[0],normals[segments]))&gt;0){theta=-theta}for(let i=1;i&lt;=segments;i++){normals[i].applyMatrix4(mat.makeRotationAxis(tangents[i],theta*i));binormals[i].crossVectors(tangents[i],normals[i])}}return{tangents:tangents,normals:normals,binormals:binormals}}clone(){return new this.constructor().copy(this)}copy(source){this.arcLengthDivisions=source.arcLengthDivisions;return this}toJSON(){const data={metadata:{version:4.6,type:"Curve",generator:"Curve.toJSON"}};data.arcLengthDivisions=this.arcLengthDivisions;data.type=this.type;return data}fromJSON(json){this.arcLengthDivisions=json.arcLengthDivisions;return this}}class EllipseCurve extends Curve{constructor(aX=0,aY=0,xRadius=1,yRadius=1,aStartAngle=0,aEndAngle=Math.PI*2,aClockwise=false,aRotation=0){super();this.isEllipseCurve=true;this.type="EllipseCurve";this.aX=aX;this.aY=aY;this.xRadius=xRadius;this.yRadius=yRadius;this.aStartAngle=aStartAngle;this.aEndAngle=aEndAngle;this.aClockwise=aClockwise;this.aRotation=aRotation}getPoint(t,optionalTarget=new Vector2){const point=optionalTarget;const twoPi=Math.PI*2;let deltaAngle=this.aEndAngle-this.aStartAngle;const samePoints=Math.abs(deltaAngle)&lt;Number.EPSILON;while(deltaAngle&lt;0)deltaAngle+=twoPi;while(deltaAngle&gt;twoPi)deltaAngle-=twoPi;if(deltaAngle&lt;Number.EPSILON){if(samePoints){deltaAngle=0}else{deltaAngle=twoPi}}if(this.aClockwise===true&amp;&amp;!samePoints){if(deltaAngle===twoPi){deltaAngle=-twoPi}else{deltaAngle=deltaAngle-twoPi}}const angle=this.aStartAngle+t*deltaAngle;let x=this.aX+this.xRadius*Math.cos(angle);let y=this.aY+this.yRadius*Math.sin(angle);if(this.aRotation!==0){const cos=Math.cos(this.aRotation);const sin=Math.sin(this.aRotation);const tx=x-this.aX;const ty=y-this.aY;x=tx*cos-ty*sin+this.aX;y=tx*sin+ty*cos+this.aY}return point.set(x,y)}copy(source){super.copy(source);this.aX=source.aX;this.aY=source.aY;this.xRadius=source.xRadius;this.yRadius=source.yRadius;this.aStartAngle=source.aStartAngle;this.aEndAngle=source.aEndAngle;this.aClockwise=source.aClockwise;this.aRotation=source.aRotation;return this}toJSON(){const data=super.toJSON();data.aX=this.aX;data.aY=this.aY;data.xRadius=this.xRadius;data.yRadius=this.yRadius;data.aStartAngle=this.aStartAngle;data.aEndAngle=this.aEndAngle;data.aClockwise=this.aClockwise;data.aRotation=this.aRotation;return data}fromJSON(json){super.fromJSON(json);this.aX=json.aX;this.aY=json.aY;this.xRadius=json.xRadius;this.yRadius=json.yRadius;this.aStartAngle=json.aStartAngle;this.aEndAngle=json.aEndAngle;this.aClockwise=json.aClockwise;this.aRotation=json.aRotation;return this}}class ArcCurve extends EllipseCurve{constructor(aX,aY,aRadius,aStartAngle,aEndAngle,aClockwise){super(aX,aY,aRadius,aRadius,aStartAngle,aEndAngle,aClockwise);this.isArcCurve=true;this.type="ArcCurve"}}function CubicPoly(){let c0=0,c1=0,c2=0,c3=0;function init(x0,x1,t0,t1){c0=x0;c1=t0;c2=-3*x0+3*x1-2*t0-t1;c3=2*x0-2*x1+t0+t1}return{initCatmullRom:function(x0,x1,x2,x3,tension){init(x1,x2,tension*(x2-x0),tension*(x3-x1))},initNonuniformCatmullRom:function(x0,x1,x2,x3,dt0,dt1,dt2){let t1=(x1-x0)/dt0-(x2-x0)/(dt0+dt1)+(x2-x1)/dt1;let t2=(x2-x1)/dt1-(x3-x1)/(dt1+dt2)+(x3-x2)/dt2;t1*=dt1;t2*=dt1;init(x1,x2,t1,t2)},calc:function(t){const t2=t*t;const t3=t2*t;return c0+c1*t+c2*t2+c3*t3}}}const tmp=new Vector3;const px=new CubicPoly;const py=new CubicPoly;const pz=new CubicPoly;class CatmullRomCurve3 extends Curve{constructor(points=[],closed=false,curveType="centripetal",tension=0.5){super();this.isCatmullRomCurve3=true;this.type="CatmullRomCurve3";this.points=points;this.closed=closed;this.curveType=curveType;this.tension=tension}getPoint(t,optionalTarget=new Vector3){const point=optionalTarget;const points=this.points;const l=points.length;const p=(l-(this.closed?0:1))*t;let intPoint=Math.floor(p);let weight=p-intPoint;if(this.closed){intPoint+=intPoint&gt;0?0:(Math.floor(Math.abs(intPoint)/l)+1)*l}else if(weight===0&amp;&amp;intPoint===l-1){intPoint=l-2;weight=1}let p0,p3;if(this.closed||intPoint&gt;0){p0=points[(intPoint-1)%l]}else{tmp.subVectors(points[0],points[1]).add(points[0]);p0=tmp}const p1=points[intPoint%l];const p2=points[(intPoint+1)%l];if(this.closed||intPoint+2&lt;l){p3=points[(intPoint+2)%l]}else{tmp.subVectors(points[l-1],points[l-2]).add(points[l-1]);p3=tmp}if(this.curveType==="centripetal"||this.curveType==="chordal"){const pow=this.curveType==="chordal"?0.5:0.25;let dt0=Math.pow(p0.distanceToSquared(p1),pow);let dt1=Math.pow(p1.distanceToSquared(p2),pow);let dt2=Math.pow(p2.distanceToSquared(p3),pow);if(dt1&lt;1e-4)dt1=1;if(dt0&lt;1e-4)dt0=dt1;if(dt2&lt;1e-4)dt2=dt1;px.initNonuniformCatmullRom(p0.x,p1.x,p2.x,p3.x,dt0,dt1,dt2);py.initNonuniformCatmullRom(p0.y,p1.y,p2.y,p3.y,dt0,dt1,dt2);pz.initNonuniformCatmullRom(p0.z,p1.z,p2.z,p3.z,dt0,dt1,dt2)}else if(this.curveType==="catmullrom"){px.initCatmullRom(p0.x,p1.x,p2.x,p3.x,this.tension);py.initCatmullRom(p0.y,p1.y,p2.y,p3.y,this.tension);pz.initCatmullRom(p0.z,p1.z,p2.z,p3.z,this.tension)}point.set(px.calc(weight),py.calc(weight),pz.calc(weight));return point}copy(source){super.copy(source);this.points=[];for(let i=0,l=source.points.length;i&lt;l;i++){const point=source.points[i];this.points.push(point.clone())}this.closed=source.closed;this.curveType=source.curveType;this.tension=source.tension;return this}toJSON(){const data=super.toJSON();data.points=[];for(let i=0,l=this.points.length;i&lt;l;i++){const point=this.points[i];data.points.push(point.toArray())}data.closed=this.closed;data.curveType=this.curveType;data.tension=this.tension;return data}fromJSON(json){super.fromJSON(json);this.points=[];for(let i=0,l=json.points.length;i&lt;l;i++){const point=json.points[i];this.points.push(new Vector3().fromArray(point))}this.closed=json.closed;this.curveType=json.curveType;this.tension=json.tension;return this}}function CatmullRom(t,p0,p1,p2,p3){const v0=(p2-p0)*0.5;const v1=(p3-p1)*0.5;const t2=t*t;const t3=t*t2;return(2*p1-2*p2+v0+v1)*t3+(-3*p1+3*p2-2*v0-v1)*t2+v0*t+p1}function QuadraticBezierP0(t,p){const k=1-t;return k*k*p}function QuadraticBezierP1(t,p){return 2*(1-t)*t*p}function QuadraticBezierP2(t,p){return t*t*p}function QuadraticBezier(t,p0,p1,p2){return QuadraticBezierP0(t,p0)+QuadraticBezierP1(t,p1)+QuadraticBezierP2(t,p2)}function CubicBezierP0(t,p){const k=1-t;return k*k*k*p}function CubicBezierP1(t,p){const k=1-t;return 3*k*k*t*p}function CubicBezierP2(t,p){return 3*(1-t)*t*t*p}function CubicBezierP3(t,p){return t*t*t*p}function CubicBezier(t,p0,p1,p2,p3){return CubicBezierP0(t,p0)+CubicBezierP1(t,p1)+CubicBezierP2(t,p2)+CubicBezierP3(t,p3)}class CubicBezierCurve extends Curve{constructor(v0=new Vector2,v1=new Vector2,v2=new Vector2,v3=new Vector2){super();this.isCubicBezierCurve=true;this.type="CubicBezierCurve";this.v0=v0;this.v1=v1;this.v2=v2;this.v3=v3}getPoint(t,optionalTarget=new Vector2){const point=optionalTarget;const v0=this.v0,v1=this.v1,v2=this.v2,v3=this.v3;point.set(CubicBezier(t,v0.x,v1.x,v2.x,v3.x),CubicBezier(t,v0.y,v1.y,v2.y,v3.y));return point}copy(source){super.copy(source);this.v0.copy(source.v0);this.v1.copy(source.v1);this.v2.copy(source.v2);this.v3.copy(source.v3);return this}toJSON(){const data=super.toJSON();data.v0=this.v0.toArray();data.v1=this.v1.toArray();data.v2=this.v2.toArray();data.v3=this.v3.toArray();return data}fromJSON(json){super.fromJSON(json);this.v0.fromArray(json.v0);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);this.v3.fromArray(json.v3);return this}}class CubicBezierCurve3 extends Curve{constructor(v0=new Vector3,v1=new Vector3,v2=new Vector3,v3=new Vector3){super();this.isCubicBezierCurve3=true;this.type="CubicBezierCurve3";this.v0=v0;this.v1=v1;this.v2=v2;this.v3=v3}getPoint(t,optionalTarget=new Vector3){const point=optionalTarget;const v0=this.v0,v1=this.v1,v2=this.v2,v3=this.v3;point.set(CubicBezier(t,v0.x,v1.x,v2.x,v3.x),CubicBezier(t,v0.y,v1.y,v2.y,v3.y),CubicBezier(t,v0.z,v1.z,v2.z,v3.z));return point}copy(source){super.copy(source);this.v0.copy(source.v0);this.v1.copy(source.v1);this.v2.copy(source.v2);this.v3.copy(source.v3);return this}toJSON(){const data=super.toJSON();data.v0=this.v0.toArray();data.v1=this.v1.toArray();data.v2=this.v2.toArray();data.v3=this.v3.toArray();return data}fromJSON(json){super.fromJSON(json);this.v0.fromArray(json.v0);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);this.v3.fromArray(json.v3);return this}}class LineCurve extends Curve{constructor(v1=new Vector2,v2=new Vector2){super();this.isLineCurve=true;this.type="LineCurve";this.v1=v1;this.v2=v2}getPoint(t,optionalTarget=new Vector2){const point=optionalTarget;if(t===1){point.copy(this.v2)}else{point.copy(this.v2).sub(this.v1);point.multiplyScalar(t).add(this.v1)}return point}getPointAt(u,optionalTarget){return this.getPoint(u,optionalTarget)}getTangent(t,optionalTarget=new Vector2){return optionalTarget.subVectors(this.v2,this.v1).normalize()}getTangentAt(u,optionalTarget){return this.getTangent(u,optionalTarget)}copy(source){super.copy(source);this.v1.copy(source.v1);this.v2.copy(source.v2);return this}toJSON(){const data=super.toJSON();data.v1=this.v1.toArray();data.v2=this.v2.toArray();return data}fromJSON(json){super.fromJSON(json);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);return this}}class LineCurve3 extends Curve{constructor(v1=new Vector3,v2=new Vector3){super();this.isLineCurve3=true;this.type="LineCurve3";this.v1=v1;this.v2=v2}getPoint(t,optionalTarget=new Vector3){const point=optionalTarget;if(t===1){point.copy(this.v2)}else{point.copy(this.v2).sub(this.v1);point.multiplyScalar(t).add(this.v1)}return point}getPointAt(u,optionalTarget){return this.getPoint(u,optionalTarget)}getTangent(t,optionalTarget=new Vector3){return optionalTarget.subVectors(this.v2,this.v1).normalize()}getTangentAt(u,optionalTarget){return this.getTangent(u,optionalTarget)}copy(source){super.copy(source);this.v1.copy(source.v1);this.v2.copy(source.v2);return this}toJSON(){const data=super.toJSON();data.v1=this.v1.toArray();data.v2=this.v2.toArray();return data}fromJSON(json){super.fromJSON(json);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);return this}}class QuadraticBezierCurve extends Curve{constructor(v0=new Vector2,v1=new Vector2,v2=new Vector2){super();this.isQuadraticBezierCurve=true;this.type="QuadraticBezierCurve";this.v0=v0;this.v1=v1;this.v2=v2}getPoint(t,optionalTarget=new Vector2){const point=optionalTarget;const v0=this.v0,v1=this.v1,v2=this.v2;point.set(QuadraticBezier(t,v0.x,v1.x,v2.x),QuadraticBezier(t,v0.y,v1.y,v2.y));return point}copy(source){super.copy(source);this.v0.copy(source.v0);this.v1.copy(source.v1);this.v2.copy(source.v2);return this}toJSON(){const data=super.toJSON();data.v0=this.v0.toArray();data.v1=this.v1.toArray();data.v2=this.v2.toArray();return data}fromJSON(json){super.fromJSON(json);this.v0.fromArray(json.v0);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);return this}}class QuadraticBezierCurve3 extends Curve{constructor(v0=new Vector3,v1=new Vector3,v2=new Vector3){super();this.isQuadraticBezierCurve3=true;this.type="QuadraticBezierCurve3";this.v0=v0;this.v1=v1;this.v2=v2}getPoint(t,optionalTarget=new Vector3){const point=optionalTarget;const v0=this.v0,v1=this.v1,v2=this.v2;point.set(QuadraticBezier(t,v0.x,v1.x,v2.x),QuadraticBezier(t,v0.y,v1.y,v2.y),QuadraticBezier(t,v0.z,v1.z,v2.z));return point}copy(source){super.copy(source);this.v0.copy(source.v0);this.v1.copy(source.v1);this.v2.copy(source.v2);return this}toJSON(){const data=super.toJSON();data.v0=this.v0.toArray();data.v1=this.v1.toArray();data.v2=this.v2.toArray();return data}fromJSON(json){super.fromJSON(json);this.v0.fromArray(json.v0);this.v1.fromArray(json.v1);this.v2.fromArray(json.v2);return this}}class SplineCurve extends Curve{constructor(points=[]){super();this.isSplineCurve=true;this.type="SplineCurve";this.points=points}getPoint(t,optionalTarget=new Vector2){const point=optionalTarget;const points=this.points;const p=(points.length-1)*t;const intPoint=Math.floor(p);const weight=p-intPoint;const p0=points[intPoint===0?intPoint:intPoint-1];const p1=points[intPoint];const p2=points[intPoint&gt;points.length-2?points.length-1:intPoint+1];const p3=points[intPoint&gt;points.length-3?points.length-1:intPoint+2];point.set(CatmullRom(weight,p0.x,p1.x,p2.x,p3.x),CatmullRom(weight,p0.y,p1.y,p2.y,p3.y));return point}copy(source){super.copy(source);this.points=[];for(let i=0,l=source.points.length;i&lt;l;i++){const point=source.points[i];this.points.push(point.clone())}return this}toJSON(){const data=super.toJSON();data.points=[];for(let i=0,l=this.points.length;i&lt;l;i++){const point=this.points[i];data.points.push(point.toArray())}return data}fromJSON(json){super.fromJSON(json);this.points=[];for(let i=0,l=json.points.length;i&lt;l;i++){const point=json.points[i];this.points.push(new Vector2().fromArray(point))}return this}}var Curves=Object.freeze({__proto__:null,ArcCurve:ArcCurve,CatmullRomCurve3:CatmullRomCurve3,CubicBezierCurve:CubicBezierCurve,CubicBezierCurve3:CubicBezierCurve3,EllipseCurve:EllipseCurve,LineCurve:LineCurve,LineCurve3:LineCurve3,QuadraticBezierCurve:QuadraticBezierCurve,QuadraticBezierCurve3:QuadraticBezierCurve3,SplineCurve:SplineCurve});class CurvePath extends Curve{constructor(){super();this.type="CurvePath";this.curves=[];this.autoClose=false}add(curve){this.curves.push(curve)}closePath(){const startPoint=this.curves[0].getPoint(0);const endPoint=this.curves[this.curves.length-1].getPoint(1);if(!startPoint.equals(endPoint)){const lineType=startPoint.isVector2===true?"LineCurve":"LineCurve3";this.curves.push(new Curves[lineType](endPoint,startPoint))}return this}getPoint(t,optionalTarget){const d=t*this.getLength();const curveLengths=this.getCurveLengths();let i=0;while(i&lt;curveLengths.length){if(curveLengths[i]&gt;=d){const diff=curveLengths[i]-d;const curve=this.curves[i];const segmentLength=curve.getLength();const u=segmentLength===0?0:1-diff/segmentLength;return curve.getPointAt(u,optionalTarget)}i++}return null}getLength(){const lens=this.getCurveLengths();return lens[lens.length-1]}updateArcLengths(){this.needsUpdate=true;this.cacheLengths=null;this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&amp;&amp;this.cacheLengths.length===this.curves.length){return this.cacheLengths}const lengths=[];let sums=0;for(let i=0,l=this.curves.length;i&lt;l;i++){sums+=this.curves[i].getLength();lengths.push(sums)}this.cacheLengths=lengths;return lengths}getSpacedPoints(divisions=40){const points=[];for(let i=0;i&lt;=divisions;i++){points.push(this.getPoint(i/divisions))}if(this.autoClose){points.push(points[0])}return points}getPoints(divisions=12){const points=[];let last;for(let i=0,curves=this.curves;i&lt;curves.length;i++){const curve=curves[i];const resolution=curve.isEllipseCurve?divisions*2:curve.isLineCurve||curve.isLineCurve3?1:curve.isSplineCurve?divisions*curve.points.length:divisions;const pts=curve.getPoints(resolution);for(let j=0;j&lt;pts.length;j++){const point=pts[j];if(last&amp;&amp;last.equals(point))continue;points.push(point);last=point}}if(this.autoClose&amp;&amp;points.length&gt;1&amp;&amp;!points[points.length-1].equals(points[0])){points.push(points[0])}return points}copy(source){super.copy(source);this.curves=[];for(let i=0,l=source.curves.length;i&lt;l;i++){const curve=source.curves[i];this.curves.push(curve.clone())}this.autoClose=source.autoClose;return this}toJSON(){const data=super.toJSON();data.autoClose=this.autoClose;data.curves=[];for(let i=0,l=this.curves.length;i&lt;l;i++){const curve=this.curves[i];data.curves.push(curve.toJSON())}return data}fromJSON(json){super.fromJSON(json);this.autoClose=json.autoClose;this.curves=[];for(let i=0,l=json.curves.length;i&lt;l;i++){const curve=json.curves[i];this.curves.push(new Curves[curve.type]().fromJSON(curve))}return this}}class Path extends CurvePath{constructor(points){super();this.type="Path";this.currentPoint=new Vector2;if(points){this.setFromPoints(points)}}setFromPoints(points){this.moveTo(points[0].x,points[0].y);for(let i=1,l=points.length;i&lt;l;i++){this.lineTo(points[i].x,points[i].y)}return this}moveTo(x,y){this.currentPoint.set(x,y);return this}lineTo(x,y){const curve=new LineCurve(this.currentPoint.clone(),new Vector2(x,y));this.curves.push(curve);this.currentPoint.set(x,y);return this}quadraticCurveTo(aCPx,aCPy,aX,aY){const curve=new QuadraticBezierCurve(this.currentPoint.clone(),new Vector2(aCPx,aCPy),new Vector2(aX,aY));this.curves.push(curve);this.currentPoint.set(aX,aY);return this}bezierCurveTo(aCP1x,aCP1y,aCP2x,aCP2y,aX,aY){const curve=new CubicBezierCurve(this.currentPoint.clone(),new Vector2(aCP1x,aCP1y),new Vector2(aCP2x,aCP2y),new Vector2(aX,aY));this.curves.push(curve);this.currentPoint.set(aX,aY);return this}splineThru(pts){const npts=[this.currentPoint.clone()].concat(pts);const curve=new SplineCurve(npts);this.curves.push(curve);this.currentPoint.copy(pts[pts.length-1]);return this}arc(aX,aY,aRadius,aStartAngle,aEndAngle,aClockwise){const x0=this.currentPoint.x;const y0=this.currentPoint.y;this.absarc(aX+x0,aY+y0,aRadius,aStartAngle,aEndAngle,aClockwise);return this}absarc(aX,aY,aRadius,aStartAngle,aEndAngle,aClockwise){this.absellipse(aX,aY,aRadius,aRadius,aStartAngle,aEndAngle,aClockwise);return this}ellipse(aX,aY,xRadius,yRadius,aStartAngle,aEndAngle,aClockwise,aRotation){const x0=this.currentPoint.x;const y0=this.currentPoint.y;this.absellipse(aX+x0,aY+y0,xRadius,yRadius,aStartAngle,aEndAngle,aClockwise,aRotation);return this}absellipse(aX,aY,xRadius,yRadius,aStartAngle,aEndAngle,aClockwise,aRotation){const curve=new EllipseCurve(aX,aY,xRadius,yRadius,aStartAngle,aEndAngle,aClockwise,aRotation);if(this.curves.length&gt;0){const firstPoint=curve.getPoint(0);if(!firstPoint.equals(this.currentPoint)){this.lineTo(firstPoint.x,firstPoint.y)}}this.curves.push(curve);const lastPoint=curve.getPoint(1);this.currentPoint.copy(lastPoint);return this}copy(source){super.copy(source);this.currentPoint.copy(source.currentPoint);return this}toJSON(){const data=super.toJSON();data.currentPoint=this.currentPoint.toArray();return data}fromJSON(json){super.fromJSON(json);this.currentPoint.fromArray(json.currentPoint);return this}}class LatheGeometry extends BufferGeometry{constructor(points=[new Vector2(0,-0.5),new Vector2(0.5,0),new Vector2(0,0.5)],segments=12,phiStart=0,phiLength=Math.PI*2){super();this.type="LatheGeometry";this.parameters={points:points,segments:segments,phiStart:phiStart,phiLength:phiLength};segments=Math.floor(segments);phiLength=clamp(phiLength,0,Math.PI*2);const indices=[];const vertices=[];const uvs=[];const initNormals=[];const normals=[];const inverseSegments=1/segments;const vertex=new Vector3;const uv=new Vector2;const normal=new Vector3;const curNormal=new Vector3;const prevNormal=new Vector3;let dx=0;let dy=0;for(let j=0;j&lt;=points.length-1;j++){switch(j){case 0:dx=points[j+1].x-points[j].x;dy=points[j+1].y-points[j].y;normal.x=dy*1;normal.y=-dx;normal.z=dy*0;prevNormal.copy(normal);normal.normalize();initNormals.push(normal.x,normal.y,normal.z);break;case points.length-1:initNormals.push(prevNormal.x,prevNormal.y,prevNormal.z);break;default:dx=points[j+1].x-points[j].x;dy=points[j+1].y-points[j].y;normal.x=dy*1;normal.y=-dx;normal.z=dy*0;curNormal.copy(normal);normal.x+=prevNormal.x;normal.y+=prevNormal.y;normal.z+=prevNormal.z;normal.normalize();initNormals.push(normal.x,normal.y,normal.z);prevNormal.copy(curNormal);}}for(let i=0;i&lt;=segments;i++){const phi=phiStart+i*inverseSegments*phiLength;const sin=Math.sin(phi);const cos=Math.cos(phi);for(let j=0;j&lt;=points.length-1;j++){vertex.x=points[j].x*sin;vertex.y=points[j].y;vertex.z=points[j].x*cos;vertices.push(vertex.x,vertex.y,vertex.z);uv.x=i/segments;uv.y=j/(points.length-1);uvs.push(uv.x,uv.y);const x=initNormals[3*j+0]*sin;const y=initNormals[3*j+1];const z=initNormals[3*j+0]*cos;normals.push(x,y,z)}}for(let i=0;i&lt;segments;i++){for(let j=0;j&lt;points.length-1;j++){const base=j+i*points.length;const a=base;const b=base+points.length;const c=base+points.length+1;const d=base+1;indices.push(a,b,d);indices.push(c,d,b)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));this.setAttribute("normal",new Float32BufferAttribute(normals,3))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new LatheGeometry(data.points,data.segments,data.phiStart,data.phiLength)}}class CapsuleGeometry extends LatheGeometry{constructor(radius=1,length=1,capSegments=4,radialSegments=8){const path=new Path;path.absarc(0,-length/2,radius,Math.PI*1.5,0);path.absarc(0,length/2,radius,0,Math.PI*0.5);super(path.getPoints(capSegments),radialSegments);this.type="CapsuleGeometry";this.parameters={radius:radius,length:length,capSegments:capSegments,radialSegments:radialSegments}}static fromJSON(data){return new CapsuleGeometry(data.radius,data.length,data.capSegments,data.radialSegments)}}class CircleGeometry extends BufferGeometry{constructor(radius=1,segments=32,thetaStart=0,thetaLength=Math.PI*2){super();this.type="CircleGeometry";this.parameters={radius:radius,segments:segments,thetaStart:thetaStart,thetaLength:thetaLength};segments=Math.max(3,segments);const indices=[];const vertices=[];const normals=[];const uvs=[];const vertex=new Vector3;const uv=new Vector2;vertices.push(0,0,0);normals.push(0,0,1);uvs.push(0.5,0.5);for(let s=0,i=3;s&lt;=segments;s++,i+=3){const segment=thetaStart+s/segments*thetaLength;vertex.x=radius*Math.cos(segment);vertex.y=radius*Math.sin(segment);vertices.push(vertex.x,vertex.y,vertex.z);normals.push(0,0,1);uv.x=(vertices[i]/radius+1)/2;uv.y=(vertices[i+1]/radius+1)/2;uvs.push(uv.x,uv.y)}for(let i=1;i&lt;=segments;i++){indices.push(i,i+1,0)}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new CircleGeometry(data.radius,data.segments,data.thetaStart,data.thetaLength)}}class CylinderGeometry extends BufferGeometry{constructor(radiusTop=1,radiusBottom=1,height=1,radialSegments=32,heightSegments=1,openEnded=false,thetaStart=0,thetaLength=Math.PI*2){super();this.type="CylinderGeometry";this.parameters={radiusTop:radiusTop,radiusBottom:radiusBottom,height:height,radialSegments:radialSegments,heightSegments:heightSegments,openEnded:openEnded,thetaStart:thetaStart,thetaLength:thetaLength};const scope=this;radialSegments=Math.floor(radialSegments);heightSegments=Math.floor(heightSegments);const indices=[];const vertices=[];const normals=[];const uvs=[];let index=0;const indexArray=[];const halfHeight=height/2;let groupStart=0;generateTorso();if(openEnded===false){if(radiusTop&gt;0)generateCap(true);if(radiusBottom&gt;0)generateCap(false)}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));function generateTorso(){const normal=new Vector3;const vertex=new Vector3;let groupCount=0;const slope=(radiusBottom-radiusTop)/height;for(let y=0;y&lt;=heightSegments;y++){const indexRow=[];const v=y/heightSegments;const radius=v*(radiusBottom-radiusTop)+radiusTop;for(let x=0;x&lt;=radialSegments;x++){const u=x/radialSegments;const theta=u*thetaLength+thetaStart;const sinTheta=Math.sin(theta);const cosTheta=Math.cos(theta);vertex.x=radius*sinTheta;vertex.y=-v*height+halfHeight;vertex.z=radius*cosTheta;vertices.push(vertex.x,vertex.y,vertex.z);normal.set(sinTheta,slope,cosTheta).normalize();normals.push(normal.x,normal.y,normal.z);uvs.push(u,1-v);indexRow.push(index++)}indexArray.push(indexRow)}for(let x=0;x&lt;radialSegments;x++){for(let y=0;y&lt;heightSegments;y++){const a=indexArray[y][x];const b=indexArray[y+1][x];const c=indexArray[y+1][x+1];const d=indexArray[y][x+1];indices.push(a,b,d);indices.push(b,c,d);groupCount+=6}}scope.addGroup(groupStart,groupCount,0);groupStart+=groupCount}function generateCap(top){const centerIndexStart=index;const uv=new Vector2;const vertex=new Vector3;let groupCount=0;const radius=top===true?radiusTop:radiusBottom;const sign=top===true?1:-1;for(let x=1;x&lt;=radialSegments;x++){vertices.push(0,halfHeight*sign,0);normals.push(0,sign,0);uvs.push(0.5,0.5);index++}const centerIndexEnd=index;for(let x=0;x&lt;=radialSegments;x++){const u=x/radialSegments;const theta=u*thetaLength+thetaStart;const cosTheta=Math.cos(theta);const sinTheta=Math.sin(theta);vertex.x=radius*sinTheta;vertex.y=halfHeight*sign;vertex.z=radius*cosTheta;vertices.push(vertex.x,vertex.y,vertex.z);normals.push(0,sign,0);uv.x=cosTheta*0.5+0.5;uv.y=sinTheta*0.5*sign+0.5;uvs.push(uv.x,uv.y);index++}for(let x=0;x&lt;radialSegments;x++){const c=centerIndexStart+x;const i=centerIndexEnd+x;if(top===true){indices.push(i,i+1,c)}else{indices.push(i+1,i,c)}groupCount+=3}scope.addGroup(groupStart,groupCount,top===true?1:2);groupStart+=groupCount}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new CylinderGeometry(data.radiusTop,data.radiusBottom,data.height,data.radialSegments,data.heightSegments,data.openEnded,data.thetaStart,data.thetaLength)}}class ConeGeometry extends CylinderGeometry{constructor(radius=1,height=1,radialSegments=32,heightSegments=1,openEnded=false,thetaStart=0,thetaLength=Math.PI*2){super(0,radius,height,radialSegments,heightSegments,openEnded,thetaStart,thetaLength);this.type="ConeGeometry";this.parameters={radius:radius,height:height,radialSegments:radialSegments,heightSegments:heightSegments,openEnded:openEnded,thetaStart:thetaStart,thetaLength:thetaLength}}static fromJSON(data){return new ConeGeometry(data.radius,data.height,data.radialSegments,data.heightSegments,data.openEnded,data.thetaStart,data.thetaLength)}}class PolyhedronGeometry extends BufferGeometry{constructor(vertices=[],indices=[],radius=1,detail=0){super();this.type="PolyhedronGeometry";this.parameters={vertices:vertices,indices:indices,radius:radius,detail:detail};const vertexBuffer=[];const uvBuffer=[];subdivide(detail);applyRadius(radius);generateUVs();this.setAttribute("position",new Float32BufferAttribute(vertexBuffer,3));this.setAttribute("normal",new Float32BufferAttribute(vertexBuffer.slice(),3));this.setAttribute("uv",new Float32BufferAttribute(uvBuffer,2));if(detail===0){this.computeVertexNormals()}else{this.normalizeNormals()}function subdivide(detail){const a=new Vector3;const b=new Vector3;const c=new Vector3;for(let i=0;i&lt;indices.length;i+=3){getVertexByIndex(indices[i+0],a);getVertexByIndex(indices[i+1],b);getVertexByIndex(indices[i+2],c);subdivideFace(a,b,c,detail)}}function subdivideFace(a,b,c,detail){const cols=detail+1;const v=[];for(let i=0;i&lt;=cols;i++){v[i]=[];const aj=a.clone().lerp(c,i/cols);const bj=b.clone().lerp(c,i/cols);const rows=cols-i;for(let j=0;j&lt;=rows;j++){if(j===0&amp;&amp;i===cols){v[i][j]=aj}else{v[i][j]=aj.clone().lerp(bj,j/rows)}}}for(let i=0;i&lt;cols;i++){for(let j=0;j&lt;2*(cols-i)-1;j++){const k=Math.floor(j/2);if(j%2===0){pushVertex(v[i][k+1]);pushVertex(v[i+1][k]);pushVertex(v[i][k])}else{pushVertex(v[i][k+1]);pushVertex(v[i+1][k+1]);pushVertex(v[i+1][k])}}}}function applyRadius(radius){const vertex=new Vector3;for(let i=0;i&lt;vertexBuffer.length;i+=3){vertex.x=vertexBuffer[i+0];vertex.y=vertexBuffer[i+1];vertex.z=vertexBuffer[i+2];vertex.normalize().multiplyScalar(radius);vertexBuffer[i+0]=vertex.x;vertexBuffer[i+1]=vertex.y;vertexBuffer[i+2]=vertex.z}}function generateUVs(){const vertex=new Vector3;for(let i=0;i&lt;vertexBuffer.length;i+=3){vertex.x=vertexBuffer[i+0];vertex.y=vertexBuffer[i+1];vertex.z=vertexBuffer[i+2];const u=azimuth(vertex)/2/Math.PI+0.5;const v=inclination(vertex)/Math.PI+0.5;uvBuffer.push(u,1-v)}correctUVs();correctSeam()}function correctSeam(){for(let i=0;i&lt;uvBuffer.length;i+=6){const x0=uvBuffer[i+0];const x1=uvBuffer[i+2];const x2=uvBuffer[i+4];const max=Math.max(x0,x1,x2);const min=Math.min(x0,x1,x2);if(max&gt;0.9&amp;&amp;min&lt;0.1){if(x0&lt;0.2)uvBuffer[i+0]+=1;if(x1&lt;0.2)uvBuffer[i+2]+=1;if(x2&lt;0.2)uvBuffer[i+4]+=1}}}function pushVertex(vertex){vertexBuffer.push(vertex.x,vertex.y,vertex.z)}function getVertexByIndex(index,vertex){const stride=index*3;vertex.x=vertices[stride+0];vertex.y=vertices[stride+1];vertex.z=vertices[stride+2]}function correctUVs(){const a=new Vector3;const b=new Vector3;const c=new Vector3;const centroid=new Vector3;const uvA=new Vector2;const uvB=new Vector2;const uvC=new Vector2;for(let i=0,j=0;i&lt;vertexBuffer.length;i+=9,j+=6){a.set(vertexBuffer[i+0],vertexBuffer[i+1],vertexBuffer[i+2]);b.set(vertexBuffer[i+3],vertexBuffer[i+4],vertexBuffer[i+5]);c.set(vertexBuffer[i+6],vertexBuffer[i+7],vertexBuffer[i+8]);uvA.set(uvBuffer[j+0],uvBuffer[j+1]);uvB.set(uvBuffer[j+2],uvBuffer[j+3]);uvC.set(uvBuffer[j+4],uvBuffer[j+5]);centroid.copy(a).add(b).add(c).divideScalar(3);const azi=azimuth(centroid);correctUV(uvA,j+0,a,azi);correctUV(uvB,j+2,b,azi);correctUV(uvC,j+4,c,azi)}}function correctUV(uv,stride,vector,azimuth){if(azimuth&lt;0&amp;&amp;uv.x===1){uvBuffer[stride]=uv.x-1}if(vector.x===0&amp;&amp;vector.z===0){uvBuffer[stride]=azimuth/2/Math.PI+0.5}}function azimuth(vector){return Math.atan2(vector.z,-vector.x)}function inclination(vector){return Math.atan2(-vector.y,Math.sqrt(vector.x*vector.x+vector.z*vector.z))}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new PolyhedronGeometry(data.vertices,data.indices,data.radius,data.details)}}class DodecahedronGeometry extends PolyhedronGeometry{constructor(radius=1,detail=0){const t=(1+Math.sqrt(5))/2;const r=1/t;const vertices=[-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,-r,-t,0,-r,t,0,r,-t,0,r,t,-r,-t,0,-r,t,0,r,-t,0,r,t,0,-t,0,-r,t,0,-r,-t,0,r,t,0,r];const indices=[3,11,7,3,7,15,3,15,13,7,19,17,7,17,6,7,6,15,17,4,8,17,8,10,17,10,6,8,0,16,8,16,2,8,2,10,0,12,1,0,1,18,0,18,16,6,10,2,6,2,13,6,13,15,2,16,18,2,18,3,2,3,13,18,1,9,18,9,11,18,11,3,4,14,12,4,12,0,4,0,8,11,9,5,11,5,19,11,19,7,19,5,14,19,14,4,19,4,17,1,12,14,1,14,5,1,5,9];super(vertices,indices,radius,detail);this.type="DodecahedronGeometry";this.parameters={radius:radius,detail:detail}}static fromJSON(data){return new DodecahedronGeometry(data.radius,data.detail)}}const _v0=new Vector3;const _v1$1=new Vector3;const _normal=new Vector3;const _triangle=new Triangle;class EdgesGeometry extends BufferGeometry{constructor(geometry=null,thresholdAngle=1){super();this.type="EdgesGeometry";this.parameters={geometry:geometry,thresholdAngle:thresholdAngle};if(geometry!==null){const precisionPoints=4;const precision=Math.pow(10,precisionPoints);const thresholdDot=Math.cos(DEG2RAD*thresholdAngle);const indexAttr=geometry.getIndex();const positionAttr=geometry.getAttribute("position");const indexCount=indexAttr?indexAttr.count:positionAttr.count;const indexArr=[0,0,0];const vertKeys=["a","b","c"];const hashes=new Array(3);const edgeData={};const vertices=[];for(let i=0;i&lt;indexCount;i+=3){if(indexAttr){indexArr[0]=indexAttr.getX(i);indexArr[1]=indexAttr.getX(i+1);indexArr[2]=indexAttr.getX(i+2)}else{indexArr[0]=i;indexArr[1]=i+1;indexArr[2]=i+2}const{a,b,c}=_triangle;a.fromBufferAttribute(positionAttr,indexArr[0]);b.fromBufferAttribute(positionAttr,indexArr[1]);c.fromBufferAttribute(positionAttr,indexArr[2]);_triangle.getNormal(_normal);hashes[0]=`${Math.round(a.x*precision)},${Math.round(a.y*precision)},${Math.round(a.z*precision)}`;hashes[1]=`${Math.round(b.x*precision)},${Math.round(b.y*precision)},${Math.round(b.z*precision)}`;hashes[2]=`${Math.round(c.x*precision)},${Math.round(c.y*precision)},${Math.round(c.z*precision)}`;if(hashes[0]===hashes[1]||hashes[1]===hashes[2]||hashes[2]===hashes[0]){continue}for(let j=0;j&lt;3;j++){const jNext=(j+1)%3;const vecHash0=hashes[j];const vecHash1=hashes[jNext];const v0=_triangle[vertKeys[j]];const v1=_triangle[vertKeys[jNext]];const hash=`${vecHash0}_${vecHash1}`;const reverseHash=`${vecHash1}_${vecHash0}`;if(reverseHash in edgeData&amp;&amp;edgeData[reverseHash]){if(_normal.dot(edgeData[reverseHash].normal)&lt;=thresholdDot){vertices.push(v0.x,v0.y,v0.z);vertices.push(v1.x,v1.y,v1.z)}edgeData[reverseHash]=null}else if(!(hash in edgeData)){edgeData[hash]={index0:indexArr[j],index1:indexArr[jNext],normal:_normal.clone()}}}}for(const key in edgeData){if(edgeData[key]){const{index0,index1}=edgeData[key];_v0.fromBufferAttribute(positionAttr,index0);_v1$1.fromBufferAttribute(positionAttr,index1);vertices.push(_v0.x,_v0.y,_v0.z);vertices.push(_v1$1.x,_v1$1.y,_v1$1.z)}}this.setAttribute("position",new Float32BufferAttribute(vertices,3))}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}}class Shape extends Path{constructor(points){super(points);this.uuid=generateUUID();this.type="Shape";this.holes=[]}getPointsHoles(divisions){const holesPts=[];for(let i=0,l=this.holes.length;i&lt;l;i++){holesPts[i]=this.holes[i].getPoints(divisions)}return holesPts}extractPoints(divisions){return{shape:this.getPoints(divisions),holes:this.getPointsHoles(divisions)}}copy(source){super.copy(source);this.holes=[];for(let i=0,l=source.holes.length;i&lt;l;i++){const hole=source.holes[i];this.holes.push(hole.clone())}return this}toJSON(){const data=super.toJSON();data.uuid=this.uuid;data.holes=[];for(let i=0,l=this.holes.length;i&lt;l;i++){const hole=this.holes[i];data.holes.push(hole.toJSON())}return data}fromJSON(json){super.fromJSON(json);this.uuid=json.uuid;this.holes=[];for(let i=0,l=json.holes.length;i&lt;l;i++){const hole=json.holes[i];this.holes.push(new Path().fromJSON(hole))}return this}}const Earcut={triangulate:function(data,holeIndices,dim=2){const hasHoles=holeIndices&amp;&amp;holeIndices.length;const outerLen=hasHoles?holeIndices[0]*dim:data.length;let outerNode=linkedList(data,0,outerLen,dim,true);const triangles=[];if(!outerNode||outerNode.next===outerNode.prev)return triangles;let minX,minY,maxX,maxY,x,y,invSize;if(hasHoles)outerNode=eliminateHoles(data,holeIndices,outerNode,dim);if(data.length&gt;80*dim){minX=maxX=data[0];minY=maxY=data[1];for(let i=dim;i&lt;outerLen;i+=dim){x=data[i];y=data[i+1];if(x&lt;minX)minX=x;if(y&lt;minY)minY=y;if(x&gt;maxX)maxX=x;if(y&gt;maxY)maxY=y}invSize=Math.max(maxX-minX,maxY-minY);invSize=invSize!==0?32767/invSize:0}earcutLinked(outerNode,triangles,dim,minX,minY,invSize,0);return triangles}};function linkedList(data,start,end,dim,clockwise){let i,last;if(clockwise===signedArea(data,start,end,dim)&gt;0){for(i=start;i&lt;end;i+=dim)last=insertNode(i,data[i],data[i+1],last)}else{for(i=end-dim;i&gt;=start;i-=dim)last=insertNode(i,data[i],data[i+1],last)}if(last&amp;&amp;equals(last,last.next)){removeNode(last);last=last.next}return last}function filterPoints(start,end){if(!start)return start;if(!end)end=start;let p=start,again;do{again=false;if(!p.steiner&amp;&amp;(equals(p,p.next)||area(p.prev,p,p.next)===0)){removeNode(p);p=end=p.prev;if(p===p.next)break;again=true}else{p=p.next}}while(again||p!==end);return end}function earcutLinked(ear,triangles,dim,minX,minY,invSize,pass){if(!ear)return;if(!pass&amp;&amp;invSize)indexCurve(ear,minX,minY,invSize);let stop=ear,prev,next;while(ear.prev!==ear.next){prev=ear.prev;next=ear.next;if(invSize?isEarHashed(ear,minX,minY,invSize):isEar(ear)){triangles.push(prev.i/dim|0);triangles.push(ear.i/dim|0);triangles.push(next.i/dim|0);removeNode(ear);ear=next.next;stop=next.next;continue}ear=next;if(ear===stop){if(!pass){earcutLinked(filterPoints(ear),triangles,dim,minX,minY,invSize,1)}else if(pass===1){ear=cureLocalIntersections(filterPoints(ear),triangles,dim);earcutLinked(ear,triangles,dim,minX,minY,invSize,2)}else if(pass===2){splitEarcut(ear,triangles,dim,minX,minY,invSize)}break}}}function isEar(ear){const a=ear.prev,b=ear,c=ear.next;if(area(a,b,c)&gt;=0)return false;const ax=a.x,bx=b.x,cx=c.x,ay=a.y,by=b.y,cy=c.y;const x0=ax&lt;bx?ax&lt;cx?ax:cx:bx&lt;cx?bx:cx,y0=ay&lt;by?ay&lt;cy?ay:cy:by&lt;cy?by:cy,x1=ax&gt;bx?ax&gt;cx?ax:cx:bx&gt;cx?bx:cx,y1=ay&gt;by?ay&gt;cy?ay:cy:by&gt;cy?by:cy;let p=c.next;while(p!==a){if(p.x&gt;=x0&amp;&amp;p.x&lt;=x1&amp;&amp;p.y&gt;=y0&amp;&amp;p.y&lt;=y1&amp;&amp;pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&amp;&amp;area(p.prev,p,p.next)&gt;=0)return false;p=p.next}return true}function isEarHashed(ear,minX,minY,invSize){const a=ear.prev,b=ear,c=ear.next;if(area(a,b,c)&gt;=0)return false;const ax=a.x,bx=b.x,cx=c.x,ay=a.y,by=b.y,cy=c.y;const x0=ax&lt;bx?ax&lt;cx?ax:cx:bx&lt;cx?bx:cx,y0=ay&lt;by?ay&lt;cy?ay:cy:by&lt;cy?by:cy,x1=ax&gt;bx?ax&gt;cx?ax:cx:bx&gt;cx?bx:cx,y1=ay&gt;by?ay&gt;cy?ay:cy:by&gt;cy?by:cy;const minZ=zOrder(x0,y0,minX,minY,invSize),maxZ=zOrder(x1,y1,minX,minY,invSize);let p=ear.prevZ,n=ear.nextZ;while(p&amp;&amp;p.z&gt;=minZ&amp;&amp;n&amp;&amp;n.z&lt;=maxZ){if(p.x&gt;=x0&amp;&amp;p.x&lt;=x1&amp;&amp;p.y&gt;=y0&amp;&amp;p.y&lt;=y1&amp;&amp;p!==a&amp;&amp;p!==c&amp;&amp;pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&amp;&amp;area(p.prev,p,p.next)&gt;=0)return false;p=p.prevZ;if(n.x&gt;=x0&amp;&amp;n.x&lt;=x1&amp;&amp;n.y&gt;=y0&amp;&amp;n.y&lt;=y1&amp;&amp;n!==a&amp;&amp;n!==c&amp;&amp;pointInTriangle(ax,ay,bx,by,cx,cy,n.x,n.y)&amp;&amp;area(n.prev,n,n.next)&gt;=0)return false;n=n.nextZ}while(p&amp;&amp;p.z&gt;=minZ){if(p.x&gt;=x0&amp;&amp;p.x&lt;=x1&amp;&amp;p.y&gt;=y0&amp;&amp;p.y&lt;=y1&amp;&amp;p!==a&amp;&amp;p!==c&amp;&amp;pointInTriangle(ax,ay,bx,by,cx,cy,p.x,p.y)&amp;&amp;area(p.prev,p,p.next)&gt;=0)return false;p=p.prevZ}while(n&amp;&amp;n.z&lt;=maxZ){if(n.x&gt;=x0&amp;&amp;n.x&lt;=x1&amp;&amp;n.y&gt;=y0&amp;&amp;n.y&lt;=y1&amp;&amp;n!==a&amp;&amp;n!==c&amp;&amp;pointInTriangle(ax,ay,bx,by,cx,cy,n.x,n.y)&amp;&amp;area(n.prev,n,n.next)&gt;=0)return false;n=n.nextZ}return true}function cureLocalIntersections(start,triangles,dim){let p=start;do{const a=p.prev,b=p.next.next;if(!equals(a,b)&amp;&amp;intersects(a,p,p.next,b)&amp;&amp;locallyInside(a,b)&amp;&amp;locallyInside(b,a)){triangles.push(a.i/dim|0);triangles.push(p.i/dim|0);triangles.push(b.i/dim|0);removeNode(p);removeNode(p.next);p=start=b}p=p.next}while(p!==start);return filterPoints(p)}function splitEarcut(start,triangles,dim,minX,minY,invSize){let a=start;do{let b=a.next.next;while(b!==a.prev){if(a.i!==b.i&amp;&amp;isValidDiagonal(a,b)){let c=splitPolygon(a,b);a=filterPoints(a,a.next);c=filterPoints(c,c.next);earcutLinked(a,triangles,dim,minX,minY,invSize,0);earcutLinked(c,triangles,dim,minX,minY,invSize,0);return}b=b.next}a=a.next}while(a!==start)}function eliminateHoles(data,holeIndices,outerNode,dim){const queue=[];let i,len,start,end,list;for(i=0,len=holeIndices.length;i&lt;len;i++){start=holeIndices[i]*dim;end=i&lt;len-1?holeIndices[i+1]*dim:data.length;list=linkedList(data,start,end,dim,false);if(list===list.next)list.steiner=true;queue.push(getLeftmost(list))}queue.sort(compareX);for(i=0;i&lt;queue.length;i++){outerNode=eliminateHole(queue[i],outerNode)}return outerNode}function compareX(a,b){return a.x-b.x}function eliminateHole(hole,outerNode){const bridge=findHoleBridge(hole,outerNode);if(!bridge){return outerNode}const bridgeReverse=splitPolygon(bridge,hole);filterPoints(bridgeReverse,bridgeReverse.next);return filterPoints(bridge,bridge.next)}function findHoleBridge(hole,outerNode){let p=outerNode,qx=-Infinity,m;const hx=hole.x,hy=hole.y;do{if(hy&lt;=p.y&amp;&amp;hy&gt;=p.next.y&amp;&amp;p.next.y!==p.y){const x=p.x+(hy-p.y)*(p.next.x-p.x)/(p.next.y-p.y);if(x&lt;=hx&amp;&amp;x&gt;qx){qx=x;m=p.x&lt;p.next.x?p:p.next;if(x===hx)return m}}p=p.next}while(p!==outerNode);if(!m)return null;const stop=m,mx=m.x,my=m.y;let tanMin=Infinity,tan;p=m;do{if(hx&gt;=p.x&amp;&amp;p.x&gt;=mx&amp;&amp;hx!==p.x&amp;&amp;pointInTriangle(hy&lt;my?hx:qx,hy,mx,my,hy&lt;my?qx:hx,hy,p.x,p.y)){tan=Math.abs(hy-p.y)/(hx-p.x);if(locallyInside(p,hole)&amp;&amp;(tan&lt;tanMin||tan===tanMin&amp;&amp;(p.x&gt;m.x||p.x===m.x&amp;&amp;sectorContainsSector(m,p)))){m=p;tanMin=tan}}p=p.next}while(p!==stop);return m}function sectorContainsSector(m,p){return area(m.prev,m,p.prev)&lt;0&amp;&amp;area(p.next,m,m.next)&lt;0}function indexCurve(start,minX,minY,invSize){let p=start;do{if(p.z===0)p.z=zOrder(p.x,p.y,minX,minY,invSize);p.prevZ=p.prev;p.nextZ=p.next;p=p.next}while(p!==start);p.prevZ.nextZ=null;p.prevZ=null;sortLinked(p)}function sortLinked(list){let i,p,q,e,tail,numMerges,pSize,qSize,inSize=1;do{p=list;list=null;tail=null;numMerges=0;while(p){numMerges++;q=p;pSize=0;for(i=0;i&lt;inSize;i++){pSize++;q=q.nextZ;if(!q)break}qSize=inSize;while(pSize&gt;0||qSize&gt;0&amp;&amp;q){if(pSize!==0&amp;&amp;(qSize===0||!q||p.z&lt;=q.z)){e=p;p=p.nextZ;pSize--}else{e=q;q=q.nextZ;qSize--}if(tail)tail.nextZ=e;else list=e;e.prevZ=tail;tail=e}p=q}tail.nextZ=null;inSize*=2}while(numMerges&gt;1);return list}function zOrder(x,y,minX,minY,invSize){x=(x-minX)*invSize|0;y=(y-minY)*invSize|0;x=(x|x&lt;&lt;8)&amp;16711935;x=(x|x&lt;&lt;4)&amp;252645135;x=(x|x&lt;&lt;2)&amp;858993459;x=(x|x&lt;&lt;1)&amp;1431655765;y=(y|y&lt;&lt;8)&amp;16711935;y=(y|y&lt;&lt;4)&amp;252645135;y=(y|y&lt;&lt;2)&amp;858993459;y=(y|y&lt;&lt;1)&amp;1431655765;return x|y&lt;&lt;1}function getLeftmost(start){let p=start,leftmost=start;do{if(p.x&lt;leftmost.x||p.x===leftmost.x&amp;&amp;p.y&lt;leftmost.y)leftmost=p;p=p.next}while(p!==start);return leftmost}function pointInTriangle(ax,ay,bx,by,cx,cy,px,py){return(cx-px)*(ay-py)&gt;=(ax-px)*(cy-py)&amp;&amp;(ax-px)*(by-py)&gt;=(bx-px)*(ay-py)&amp;&amp;(bx-px)*(cy-py)&gt;=(cx-px)*(by-py)}function isValidDiagonal(a,b){return a.next.i!==b.i&amp;&amp;a.prev.i!==b.i&amp;&amp;!intersectsPolygon(a,b)&amp;&amp;(locallyInside(a,b)&amp;&amp;locallyInside(b,a)&amp;&amp;middleInside(a,b)&amp;&amp;(area(a.prev,a,b.prev)||area(a,b.prev,b))||equals(a,b)&amp;&amp;area(a.prev,a,a.next)&gt;0&amp;&amp;area(b.prev,b,b.next)&gt;0)}function area(p,q,r){return(q.y-p.y)*(r.x-q.x)-(q.x-p.x)*(r.y-q.y)}function equals(p1,p2){return p1.x===p2.x&amp;&amp;p1.y===p2.y}function intersects(p1,q1,p2,q2){const o1=sign(area(p1,q1,p2));const o2=sign(area(p1,q1,q2));const o3=sign(area(p2,q2,p1));const o4=sign(area(p2,q2,q1));if(o1!==o2&amp;&amp;o3!==o4)return true;if(o1===0&amp;&amp;onSegment(p1,p2,q1))return true;if(o2===0&amp;&amp;onSegment(p1,q2,q1))return true;if(o3===0&amp;&amp;onSegment(p2,p1,q2))return true;if(o4===0&amp;&amp;onSegment(p2,q1,q2))return true;return false}function onSegment(p,q,r){return q.x&lt;=Math.max(p.x,r.x)&amp;&amp;q.x&gt;=Math.min(p.x,r.x)&amp;&amp;q.y&lt;=Math.max(p.y,r.y)&amp;&amp;q.y&gt;=Math.min(p.y,r.y)}function sign(num){return num&gt;0?1:num&lt;0?-1:0}function intersectsPolygon(a,b){let p=a;do{if(p.i!==a.i&amp;&amp;p.next.i!==a.i&amp;&amp;p.i!==b.i&amp;&amp;p.next.i!==b.i&amp;&amp;intersects(p,p.next,a,b))return true;p=p.next}while(p!==a);return false}function locallyInside(a,b){return area(a.prev,a,a.next)&lt;0?area(a,b,a.next)&gt;=0&amp;&amp;area(a,a.prev,b)&gt;=0:area(a,b,a.prev)&lt;0||area(a,a.next,b)&lt;0}function middleInside(a,b){let p=a,inside=false;const px=(a.x+b.x)/2,py=(a.y+b.y)/2;do{if(p.y&gt;py!==p.next.y&gt;py&amp;&amp;p.next.y!==p.y&amp;&amp;px&lt;(p.next.x-p.x)*(py-p.y)/(p.next.y-p.y)+p.x)inside=!inside;p=p.next}while(p!==a);return inside}function splitPolygon(a,b){const a2=new Node(a.i,a.x,a.y),b2=new Node(b.i,b.x,b.y),an=a.next,bp=b.prev;a.next=b;b.prev=a;a2.next=an;an.prev=a2;b2.next=a2;a2.prev=b2;bp.next=b2;b2.prev=bp;return b2}function insertNode(i,x,y,last){const p=new Node(i,x,y);if(!last){p.prev=p;p.next=p}else{p.next=last.next;p.prev=last;last.next.prev=p;last.next=p}return p}function removeNode(p){p.next.prev=p.prev;p.prev.next=p.next;if(p.prevZ)p.prevZ.nextZ=p.nextZ;if(p.nextZ)p.nextZ.prevZ=p.prevZ}function Node(i,x,y){this.i=i;this.x=x;this.y=y;this.prev=null;this.next=null;this.z=0;this.prevZ=null;this.nextZ=null;this.steiner=false}function signedArea(data,start,end,dim){let sum=0;for(let i=start,j=end-dim;i&lt;end;i+=dim){sum+=(data[j]-data[i])*(data[i+1]+data[j+1]);j=i}return sum}class ShapeUtils{static area(contour){const n=contour.length;let a=0;for(let p=n-1,q=0;q&lt;n;p=q++){a+=contour[p].x*contour[q].y-contour[q].x*contour[p].y}return a*0.5}static isClockWise(pts){return ShapeUtils.area(pts)&lt;0}static triangulateShape(contour,holes){const vertices=[];const holeIndices=[];const faces=[];removeDupEndPts(contour);addContour(vertices,contour);let holeIndex=contour.length;holes.forEach(removeDupEndPts);for(let i=0;i&lt;holes.length;i++){holeIndices.push(holeIndex);holeIndex+=holes[i].length;addContour(vertices,holes[i])}const triangles=Earcut.triangulate(vertices,holeIndices);for(let i=0;i&lt;triangles.length;i+=3){faces.push(triangles.slice(i,i+3))}return faces}}function removeDupEndPts(points){const l=points.length;if(l&gt;2&amp;&amp;points[l-1].equals(points[0])){points.pop()}}function addContour(vertices,contour){for(let i=0;i&lt;contour.length;i++){vertices.push(contour[i].x);vertices.push(contour[i].y)}}class ExtrudeGeometry extends BufferGeometry{constructor(shapes=new Shape([new Vector2(0.5,0.5),new Vector2(-0.5,0.5),new Vector2(-0.5,-0.5),new Vector2(0.5,-0.5)]),options={}){super();this.type="ExtrudeGeometry";this.parameters={shapes:shapes,options:options};shapes=Array.isArray(shapes)?shapes:[shapes];const scope=this;const verticesArray=[];const uvArray=[];for(let i=0,l=shapes.length;i&lt;l;i++){const shape=shapes[i];addShape(shape)}this.setAttribute("position",new Float32BufferAttribute(verticesArray,3));this.setAttribute("uv",new Float32BufferAttribute(uvArray,2));this.computeVertexNormals();function addShape(shape){const placeholder=[];const curveSegments=options.curveSegments!==undefined?options.curveSegments:12;const steps=options.steps!==undefined?options.steps:1;const depth=options.depth!==undefined?options.depth:1;let bevelEnabled=options.bevelEnabled!==undefined?options.bevelEnabled:true;let bevelThickness=options.bevelThickness!==undefined?options.bevelThickness:0.2;let bevelSize=options.bevelSize!==undefined?options.bevelSize:bevelThickness-0.1;let bevelOffset=options.bevelOffset!==undefined?options.bevelOffset:0;let bevelSegments=options.bevelSegments!==undefined?options.bevelSegments:3;const extrudePath=options.extrudePath;const uvgen=options.UVGenerator!==undefined?options.UVGenerator:WorldUVGenerator;let extrudePts,extrudeByPath=false;let splineTube,binormal,normal,position2;if(extrudePath){extrudePts=extrudePath.getSpacedPoints(steps);extrudeByPath=true;bevelEnabled=false;splineTube=extrudePath.computeFrenetFrames(steps,false);binormal=new Vector3;normal=new Vector3;position2=new Vector3}if(!bevelEnabled){bevelSegments=0;bevelThickness=0;bevelSize=0;bevelOffset=0}const shapePoints=shape.extractPoints(curveSegments);let vertices=shapePoints.shape;const holes=shapePoints.holes;const reverse=!ShapeUtils.isClockWise(vertices);if(reverse){vertices=vertices.reverse();for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];if(ShapeUtils.isClockWise(ahole)){holes[h]=ahole.reverse()}}}const faces=ShapeUtils.triangulateShape(vertices,holes);const contour=vertices;for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];vertices=vertices.concat(ahole)}function scalePt2(pt,vec,size){if(!vec)console.error("THREE.ExtrudeGeometry: vec does not exist");return pt.clone().addScaledVector(vec,size)}const vlen=vertices.length,flen=faces.length;function getBevelVec(inPt,inPrev,inNext){let v_trans_x,v_trans_y,shrink_by;const v_prev_x=inPt.x-inPrev.x,v_prev_y=inPt.y-inPrev.y;const v_next_x=inNext.x-inPt.x,v_next_y=inNext.y-inPt.y;const v_prev_lensq=v_prev_x*v_prev_x+v_prev_y*v_prev_y;const collinear0=v_prev_x*v_next_y-v_prev_y*v_next_x;if(Math.abs(collinear0)&gt;Number.EPSILON){const v_prev_len=Math.sqrt(v_prev_lensq);const v_next_len=Math.sqrt(v_next_x*v_next_x+v_next_y*v_next_y);const ptPrevShift_x=inPrev.x-v_prev_y/v_prev_len;const ptPrevShift_y=inPrev.y+v_prev_x/v_prev_len;const ptNextShift_x=inNext.x-v_next_y/v_next_len;const ptNextShift_y=inNext.y+v_next_x/v_next_len;const sf=((ptNextShift_x-ptPrevShift_x)*v_next_y-(ptNextShift_y-ptPrevShift_y)*v_next_x)/(v_prev_x*v_next_y-v_prev_y*v_next_x);v_trans_x=ptPrevShift_x+v_prev_x*sf-inPt.x;v_trans_y=ptPrevShift_y+v_prev_y*sf-inPt.y;const v_trans_lensq=v_trans_x*v_trans_x+v_trans_y*v_trans_y;if(v_trans_lensq&lt;=2){return new Vector2(v_trans_x,v_trans_y)}else{shrink_by=Math.sqrt(v_trans_lensq/2)}}else{let direction_eq=false;if(v_prev_x&gt;Number.EPSILON){if(v_next_x&gt;Number.EPSILON){direction_eq=true}}else{if(v_prev_x&lt;-Number.EPSILON){if(v_next_x&lt;-Number.EPSILON){direction_eq=true}}else{if(Math.sign(v_prev_y)===Math.sign(v_next_y)){direction_eq=true}}}if(direction_eq){v_trans_x=-v_prev_y;v_trans_y=v_prev_x;shrink_by=Math.sqrt(v_prev_lensq)}else{v_trans_x=v_prev_x;v_trans_y=v_prev_y;shrink_by=Math.sqrt(v_prev_lensq/2)}}return new Vector2(v_trans_x/shrink_by,v_trans_y/shrink_by)}const contourMovements=[];for(let i=0,il=contour.length,j=il-1,k=i+1;i&lt;il;i++,j++,k++){if(j===il)j=0;if(k===il)k=0;contourMovements[i]=getBevelVec(contour[i],contour[j],contour[k])}const holesMovements=[];let oneHoleMovements,verticesMovements=contourMovements.concat();for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];oneHoleMovements=[];for(let i=0,il=ahole.length,j=il-1,k=i+1;i&lt;il;i++,j++,k++){if(j===il)j=0;if(k===il)k=0;oneHoleMovements[i]=getBevelVec(ahole[i],ahole[j],ahole[k])}holesMovements.push(oneHoleMovements);verticesMovements=verticesMovements.concat(oneHoleMovements)}for(let b=0;b&lt;bevelSegments;b++){const t=b/bevelSegments;const z=bevelThickness*Math.cos(t*Math.PI/2);const bs=bevelSize*Math.sin(t*Math.PI/2)+bevelOffset;for(let i=0,il=contour.length;i&lt;il;i++){const vert=scalePt2(contour[i],contourMovements[i],bs);v(vert.x,vert.y,-z)}for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];oneHoleMovements=holesMovements[h];for(let i=0,il=ahole.length;i&lt;il;i++){const vert=scalePt2(ahole[i],oneHoleMovements[i],bs);v(vert.x,vert.y,-z)}}}const bs=bevelSize+bevelOffset;for(let i=0;i&lt;vlen;i++){const vert=bevelEnabled?scalePt2(vertices[i],verticesMovements[i],bs):vertices[i];if(!extrudeByPath){v(vert.x,vert.y,0)}else{normal.copy(splineTube.normals[0]).multiplyScalar(vert.x);binormal.copy(splineTube.binormals[0]).multiplyScalar(vert.y);position2.copy(extrudePts[0]).add(normal).add(binormal);v(position2.x,position2.y,position2.z)}}for(let s=1;s&lt;=steps;s++){for(let i=0;i&lt;vlen;i++){const vert=bevelEnabled?scalePt2(vertices[i],verticesMovements[i],bs):vertices[i];if(!extrudeByPath){v(vert.x,vert.y,depth/steps*s)}else{normal.copy(splineTube.normals[s]).multiplyScalar(vert.x);binormal.copy(splineTube.binormals[s]).multiplyScalar(vert.y);position2.copy(extrudePts[s]).add(normal).add(binormal);v(position2.x,position2.y,position2.z)}}}for(let b=bevelSegments-1;b&gt;=0;b--){const t=b/bevelSegments;const z=bevelThickness*Math.cos(t*Math.PI/2);const bs=bevelSize*Math.sin(t*Math.PI/2)+bevelOffset;for(let i=0,il=contour.length;i&lt;il;i++){const vert=scalePt2(contour[i],contourMovements[i],bs);v(vert.x,vert.y,depth+z)}for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];oneHoleMovements=holesMovements[h];for(let i=0,il=ahole.length;i&lt;il;i++){const vert=scalePt2(ahole[i],oneHoleMovements[i],bs);if(!extrudeByPath){v(vert.x,vert.y,depth+z)}else{v(vert.x,vert.y+extrudePts[steps-1].y,extrudePts[steps-1].x+z)}}}}buildLidFaces();buildSideFaces();function buildLidFaces(){const start=verticesArray.length/3;if(bevelEnabled){let layer=0;let offset=vlen*layer;for(let i=0;i&lt;flen;i++){const face=faces[i];f3(face[2]+offset,face[1]+offset,face[0]+offset)}layer=steps+bevelSegments*2;offset=vlen*layer;for(let i=0;i&lt;flen;i++){const face=faces[i];f3(face[0]+offset,face[1]+offset,face[2]+offset)}}else{for(let i=0;i&lt;flen;i++){const face=faces[i];f3(face[2],face[1],face[0])}for(let i=0;i&lt;flen;i++){const face=faces[i];f3(face[0]+vlen*steps,face[1]+vlen*steps,face[2]+vlen*steps)}}scope.addGroup(start,verticesArray.length/3-start,0)}function buildSideFaces(){const start=verticesArray.length/3;let layeroffset=0;sidewalls(contour,layeroffset);layeroffset+=contour.length;for(let h=0,hl=holes.length;h&lt;hl;h++){const ahole=holes[h];sidewalls(ahole,layeroffset);layeroffset+=ahole.length}scope.addGroup(start,verticesArray.length/3-start,1)}function sidewalls(contour,layeroffset){let i=contour.length;while(--i&gt;=0){const j=i;let k=i-1;if(k&lt;0)k=contour.length-1;for(let s=0,sl=steps+bevelSegments*2;s&lt;sl;s++){const slen1=vlen*s;const slen2=vlen*(s+1);const a=layeroffset+j+slen1,b=layeroffset+k+slen1,c=layeroffset+k+slen2,d=layeroffset+j+slen2;f4(a,b,c,d)}}}function v(x,y,z){placeholder.push(x);placeholder.push(y);placeholder.push(z)}function f3(a,b,c){addVertex(a);addVertex(b);addVertex(c);const nextIndex=verticesArray.length/3;const uvs=uvgen.generateTopUV(scope,verticesArray,nextIndex-3,nextIndex-2,nextIndex-1);addUV(uvs[0]);addUV(uvs[1]);addUV(uvs[2])}function f4(a,b,c,d){addVertex(a);addVertex(b);addVertex(d);addVertex(b);addVertex(c);addVertex(d);const nextIndex=verticesArray.length/3;const uvs=uvgen.generateSideWallUV(scope,verticesArray,nextIndex-6,nextIndex-3,nextIndex-2,nextIndex-1);addUV(uvs[0]);addUV(uvs[1]);addUV(uvs[3]);addUV(uvs[1]);addUV(uvs[2]);addUV(uvs[3])}function addVertex(index){verticesArray.push(placeholder[index*3+0]);verticesArray.push(placeholder[index*3+1]);verticesArray.push(placeholder[index*3+2])}function addUV(vector2){uvArray.push(vector2.x);uvArray.push(vector2.y)}}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}toJSON(){const data=super.toJSON();const shapes=this.parameters.shapes;const options=this.parameters.options;return toJSON$1(shapes,options,data)}static fromJSON(data,shapes){const geometryShapes=[];for(let j=0,jl=data.shapes.length;j&lt;jl;j++){const shape=shapes[data.shapes[j]];geometryShapes.push(shape)}const extrudePath=data.options.extrudePath;if(extrudePath!==undefined){data.options.extrudePath=new Curves[extrudePath.type]().fromJSON(extrudePath)}return new ExtrudeGeometry(geometryShapes,data.options)}}const WorldUVGenerator={generateTopUV:function(geometry,vertices,indexA,indexB,indexC){const a_x=vertices[indexA*3];const a_y=vertices[indexA*3+1];const b_x=vertices[indexB*3];const b_y=vertices[indexB*3+1];const c_x=vertices[indexC*3];const c_y=vertices[indexC*3+1];return[new Vector2(a_x,a_y),new Vector2(b_x,b_y),new Vector2(c_x,c_y)]},generateSideWallUV:function(geometry,vertices,indexA,indexB,indexC,indexD){const a_x=vertices[indexA*3];const a_y=vertices[indexA*3+1];const a_z=vertices[indexA*3+2];const b_x=vertices[indexB*3];const b_y=vertices[indexB*3+1];const b_z=vertices[indexB*3+2];const c_x=vertices[indexC*3];const c_y=vertices[indexC*3+1];const c_z=vertices[indexC*3+2];const d_x=vertices[indexD*3];const d_y=vertices[indexD*3+1];const d_z=vertices[indexD*3+2];if(Math.abs(a_y-b_y)&lt;Math.abs(a_x-b_x)){return[new Vector2(a_x,1-a_z),new Vector2(b_x,1-b_z),new Vector2(c_x,1-c_z),new Vector2(d_x,1-d_z)]}else{return[new Vector2(a_y,1-a_z),new Vector2(b_y,1-b_z),new Vector2(c_y,1-c_z),new Vector2(d_y,1-d_z)]}}};function toJSON$1(shapes,options,data){data.shapes=[];if(Array.isArray(shapes)){for(let i=0,l=shapes.length;i&lt;l;i++){const shape=shapes[i];data.shapes.push(shape.uuid)}}else{data.shapes.push(shapes.uuid)}data.options=Object.assign({},options);if(options.extrudePath!==undefined)data.options.extrudePath=options.extrudePath.toJSON();return data}class IcosahedronGeometry extends PolyhedronGeometry{constructor(radius=1,detail=0){const t=(1+Math.sqrt(5))/2;const vertices=[-1,t,0,1,t,0,-1,-t,0,1,-t,0,0,-1,t,0,1,t,0,-1,-t,0,1,-t,t,0,-1,t,0,1,-t,0,-1,-t,0,1];const indices=[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];super(vertices,indices,radius,detail);this.type="IcosahedronGeometry";this.parameters={radius:radius,detail:detail}}static fromJSON(data){return new IcosahedronGeometry(data.radius,data.detail)}}class OctahedronGeometry extends PolyhedronGeometry{constructor(radius=1,detail=0){const vertices=[1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1];const indices=[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2];super(vertices,indices,radius,detail);this.type="OctahedronGeometry";this.parameters={radius:radius,detail:detail}}static fromJSON(data){return new OctahedronGeometry(data.radius,data.detail)}}class RingGeometry extends BufferGeometry{constructor(innerRadius=0.5,outerRadius=1,thetaSegments=32,phiSegments=1,thetaStart=0,thetaLength=Math.PI*2){super();this.type="RingGeometry";this.parameters={innerRadius:innerRadius,outerRadius:outerRadius,thetaSegments:thetaSegments,phiSegments:phiSegments,thetaStart:thetaStart,thetaLength:thetaLength};thetaSegments=Math.max(3,thetaSegments);phiSegments=Math.max(1,phiSegments);const indices=[];const vertices=[];const normals=[];const uvs=[];let radius=innerRadius;const radiusStep=(outerRadius-innerRadius)/phiSegments;const vertex=new Vector3;const uv=new Vector2;for(let j=0;j&lt;=phiSegments;j++){for(let i=0;i&lt;=thetaSegments;i++){const segment=thetaStart+i/thetaSegments*thetaLength;vertex.x=radius*Math.cos(segment);vertex.y=radius*Math.sin(segment);vertices.push(vertex.x,vertex.y,vertex.z);normals.push(0,0,1);uv.x=(vertex.x/outerRadius+1)/2;uv.y=(vertex.y/outerRadius+1)/2;uvs.push(uv.x,uv.y)}radius+=radiusStep}for(let j=0;j&lt;phiSegments;j++){const thetaSegmentLevel=j*(thetaSegments+1);for(let i=0;i&lt;thetaSegments;i++){const segment=i+thetaSegmentLevel;const a=segment;const b=segment+thetaSegments+1;const c=segment+thetaSegments+2;const d=segment+1;indices.push(a,b,d);indices.push(b,c,d)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new RingGeometry(data.innerRadius,data.outerRadius,data.thetaSegments,data.phiSegments,data.thetaStart,data.thetaLength)}}class ShapeGeometry extends BufferGeometry{constructor(shapes=new Shape([new Vector2(0,0.5),new Vector2(-0.5,-0.5),new Vector2(0.5,-0.5)]),curveSegments=12){super();this.type="ShapeGeometry";this.parameters={shapes:shapes,curveSegments:curveSegments};const indices=[];const vertices=[];const normals=[];const uvs=[];let groupStart=0;let groupCount=0;if(Array.isArray(shapes)===false){addShape(shapes)}else{for(let i=0;i&lt;shapes.length;i++){addShape(shapes[i]);this.addGroup(groupStart,groupCount,i);groupStart+=groupCount;groupCount=0}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));function addShape(shape){const indexOffset=vertices.length/3;const points=shape.extractPoints(curveSegments);let shapeVertices=points.shape;const shapeHoles=points.holes;if(ShapeUtils.isClockWise(shapeVertices)===false){shapeVertices=shapeVertices.reverse()}for(let i=0,l=shapeHoles.length;i&lt;l;i++){const shapeHole=shapeHoles[i];if(ShapeUtils.isClockWise(shapeHole)===true){shapeHoles[i]=shapeHole.reverse()}}const faces=ShapeUtils.triangulateShape(shapeVertices,shapeHoles);for(let i=0,l=shapeHoles.length;i&lt;l;i++){const shapeHole=shapeHoles[i];shapeVertices=shapeVertices.concat(shapeHole)}for(let i=0,l=shapeVertices.length;i&lt;l;i++){const vertex=shapeVertices[i];vertices.push(vertex.x,vertex.y,0);normals.push(0,0,1);uvs.push(vertex.x,vertex.y)}for(let i=0,l=faces.length;i&lt;l;i++){const face=faces[i];const a=face[0]+indexOffset;const b=face[1]+indexOffset;const c=face[2]+indexOffset;indices.push(a,b,c);groupCount+=3}}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}toJSON(){const data=super.toJSON();const shapes=this.parameters.shapes;return toJSON(shapes,data)}static fromJSON(data,shapes){const geometryShapes=[];for(let j=0,jl=data.shapes.length;j&lt;jl;j++){const shape=shapes[data.shapes[j]];geometryShapes.push(shape)}return new ShapeGeometry(geometryShapes,data.curveSegments)}}function toJSON(shapes,data){data.shapes=[];if(Array.isArray(shapes)){for(let i=0,l=shapes.length;i&lt;l;i++){const shape=shapes[i];data.shapes.push(shape.uuid)}}else{data.shapes.push(shapes.uuid)}return data}class SphereGeometry extends BufferGeometry{constructor(radius=1,widthSegments=32,heightSegments=16,phiStart=0,phiLength=Math.PI*2,thetaStart=0,thetaLength=Math.PI){super();this.type="SphereGeometry";this.parameters={radius:radius,widthSegments:widthSegments,heightSegments:heightSegments,phiStart:phiStart,phiLength:phiLength,thetaStart:thetaStart,thetaLength:thetaLength};widthSegments=Math.max(3,Math.floor(widthSegments));heightSegments=Math.max(2,Math.floor(heightSegments));const thetaEnd=Math.min(thetaStart+thetaLength,Math.PI);let index=0;const grid=[];const vertex=new Vector3;const normal=new Vector3;const indices=[];const vertices=[];const normals=[];const uvs=[];for(let iy=0;iy&lt;=heightSegments;iy++){const verticesRow=[];const v=iy/heightSegments;let uOffset=0;if(iy===0&amp;&amp;thetaStart===0){uOffset=0.5/widthSegments}else if(iy===heightSegments&amp;&amp;thetaEnd===Math.PI){uOffset=-0.5/widthSegments}for(let ix=0;ix&lt;=widthSegments;ix++){const u=ix/widthSegments;vertex.x=-radius*Math.cos(phiStart+u*phiLength)*Math.sin(thetaStart+v*thetaLength);vertex.y=radius*Math.cos(thetaStart+v*thetaLength);vertex.z=radius*Math.sin(phiStart+u*phiLength)*Math.sin(thetaStart+v*thetaLength);vertices.push(vertex.x,vertex.y,vertex.z);normal.copy(vertex).normalize();normals.push(normal.x,normal.y,normal.z);uvs.push(u+uOffset,1-v);verticesRow.push(index++)}grid.push(verticesRow)}for(let iy=0;iy&lt;heightSegments;iy++){for(let ix=0;ix&lt;widthSegments;ix++){const a=grid[iy][ix+1];const b=grid[iy][ix];const c=grid[iy+1][ix];const d=grid[iy+1][ix+1];if(iy!==0||thetaStart&gt;0)indices.push(a,b,d);if(iy!==heightSegments-1||thetaEnd&lt;Math.PI)indices.push(b,c,d)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new SphereGeometry(data.radius,data.widthSegments,data.heightSegments,data.phiStart,data.phiLength,data.thetaStart,data.thetaLength)}}class TetrahedronGeometry extends PolyhedronGeometry{constructor(radius=1,detail=0){const vertices=[1,1,1,-1,-1,1,-1,1,-1,1,-1,-1];const indices=[2,1,0,0,3,2,1,3,0,2,3,1];super(vertices,indices,radius,detail);this.type="TetrahedronGeometry";this.parameters={radius:radius,detail:detail}}static fromJSON(data){return new TetrahedronGeometry(data.radius,data.detail)}}class TorusGeometry extends BufferGeometry{constructor(radius=1,tube=0.4,radialSegments=12,tubularSegments=48,arc=Math.PI*2){super();this.type="TorusGeometry";this.parameters={radius:radius,tube:tube,radialSegments:radialSegments,tubularSegments:tubularSegments,arc:arc};radialSegments=Math.floor(radialSegments);tubularSegments=Math.floor(tubularSegments);const indices=[];const vertices=[];const normals=[];const uvs=[];const center=new Vector3;const vertex=new Vector3;const normal=new Vector3;for(let j=0;j&lt;=radialSegments;j++){for(let i=0;i&lt;=tubularSegments;i++){const u=i/tubularSegments*arc;const v=j/radialSegments*Math.PI*2;vertex.x=(radius+tube*Math.cos(v))*Math.cos(u);vertex.y=(radius+tube*Math.cos(v))*Math.sin(u);vertex.z=tube*Math.sin(v);vertices.push(vertex.x,vertex.y,vertex.z);center.x=radius*Math.cos(u);center.y=radius*Math.sin(u);normal.subVectors(vertex,center).normalize();normals.push(normal.x,normal.y,normal.z);uvs.push(i/tubularSegments);uvs.push(j/radialSegments)}}for(let j=1;j&lt;=radialSegments;j++){for(let i=1;i&lt;=tubularSegments;i++){const a=(tubularSegments+1)*j+i-1;const b=(tubularSegments+1)*(j-1)+i-1;const c=(tubularSegments+1)*(j-1)+i;const d=(tubularSegments+1)*j+i;indices.push(a,b,d);indices.push(b,c,d)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2))}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new TorusGeometry(data.radius,data.tube,data.radialSegments,data.tubularSegments,data.arc)}}class TorusKnotGeometry extends BufferGeometry{constructor(radius=1,tube=0.4,tubularSegments=64,radialSegments=8,p=2,q=3){super();this.type="TorusKnotGeometry";this.parameters={radius:radius,tube:tube,tubularSegments:tubularSegments,radialSegments:radialSegments,p:p,q:q};tubularSegments=Math.floor(tubularSegments);radialSegments=Math.floor(radialSegments);const indices=[];const vertices=[];const normals=[];const uvs=[];const vertex=new Vector3;const normal=new Vector3;const P1=new Vector3;const P2=new Vector3;const B=new Vector3;const T=new Vector3;const N=new Vector3;for(let i=0;i&lt;=tubularSegments;++i){const u=i/tubularSegments*p*Math.PI*2;calculatePositionOnCurve(u,p,q,radius,P1);calculatePositionOnCurve(u+0.01,p,q,radius,P2);T.subVectors(P2,P1);N.addVectors(P2,P1);B.crossVectors(T,N);N.crossVectors(B,T);B.normalize();N.normalize();for(let j=0;j&lt;=radialSegments;++j){const v=j/radialSegments*Math.PI*2;const cx=-tube*Math.cos(v);const cy=tube*Math.sin(v);vertex.x=P1.x+(cx*N.x+cy*B.x);vertex.y=P1.y+(cx*N.y+cy*B.y);vertex.z=P1.z+(cx*N.z+cy*B.z);vertices.push(vertex.x,vertex.y,vertex.z);normal.subVectors(vertex,P1).normalize();normals.push(normal.x,normal.y,normal.z);uvs.push(i/tubularSegments);uvs.push(j/radialSegments)}}for(let j=1;j&lt;=tubularSegments;j++){for(let i=1;i&lt;=radialSegments;i++){const a=(radialSegments+1)*(j-1)+(i-1);const b=(radialSegments+1)*j+(i-1);const c=(radialSegments+1)*j+i;const d=(radialSegments+1)*(j-1)+i;indices.push(a,b,d);indices.push(b,c,d)}}this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));function calculatePositionOnCurve(u,p,q,radius,position){const cu=Math.cos(u);const su=Math.sin(u);const quOverP=q/p*u;const cs=Math.cos(quOverP);position.x=radius*(2+cs)*0.5*cu;position.y=radius*(2+cs)*su*0.5;position.z=radius*Math.sin(quOverP)*0.5}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}static fromJSON(data){return new TorusKnotGeometry(data.radius,data.tube,data.tubularSegments,data.radialSegments,data.p,data.q)}}class TubeGeometry extends BufferGeometry{constructor(path=new QuadraticBezierCurve3(new Vector3(-1,-1,0),new Vector3(-1,1,0),new Vector3(1,1,0)),tubularSegments=64,radius=1,radialSegments=8,closed=false){super();this.type="TubeGeometry";this.parameters={path:path,tubularSegments:tubularSegments,radius:radius,radialSegments:radialSegments,closed:closed};const frames=path.computeFrenetFrames(tubularSegments,closed);this.tangents=frames.tangents;this.normals=frames.normals;this.binormals=frames.binormals;const vertex=new Vector3;const normal=new Vector3;const uv=new Vector2;let P=new Vector3;const vertices=[];const normals=[];const uvs=[];const indices=[];generateBufferData();this.setIndex(indices);this.setAttribute("position",new Float32BufferAttribute(vertices,3));this.setAttribute("normal",new Float32BufferAttribute(normals,3));this.setAttribute("uv",new Float32BufferAttribute(uvs,2));function generateBufferData(){for(let i=0;i&lt;tubularSegments;i++){generateSegment(i)}generateSegment(closed===false?tubularSegments:0);generateUVs();generateIndices()}function generateSegment(i){P=path.getPointAt(i/tubularSegments,P);const N=frames.normals[i];const B=frames.binormals[i];for(let j=0;j&lt;=radialSegments;j++){const v=j/radialSegments*Math.PI*2;const sin=Math.sin(v);const cos=-Math.cos(v);normal.x=cos*N.x+sin*B.x;normal.y=cos*N.y+sin*B.y;normal.z=cos*N.z+sin*B.z;normal.normalize();normals.push(normal.x,normal.y,normal.z);vertex.x=P.x+radius*normal.x;vertex.y=P.y+radius*normal.y;vertex.z=P.z+radius*normal.z;vertices.push(vertex.x,vertex.y,vertex.z)}}function generateIndices(){for(let j=1;j&lt;=tubularSegments;j++){for(let i=1;i&lt;=radialSegments;i++){const a=(radialSegments+1)*(j-1)+(i-1);const b=(radialSegments+1)*j+(i-1);const c=(radialSegments+1)*j+i;const d=(radialSegments+1)*(j-1)+i;indices.push(a,b,d);indices.push(b,c,d)}}}function generateUVs(){for(let i=0;i&lt;=tubularSegments;i++){for(let j=0;j&lt;=radialSegments;j++){uv.x=i/tubularSegments;uv.y=j/radialSegments;uvs.push(uv.x,uv.y)}}}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}toJSON(){const data=super.toJSON();data.path=this.parameters.path.toJSON();return data}static fromJSON(data){return new TubeGeometry(new Curves[data.path.type]().fromJSON(data.path),data.tubularSegments,data.radius,data.radialSegments,data.closed)}}class WireframeGeometry extends BufferGeometry{constructor(geometry=null){super();this.type="WireframeGeometry";this.parameters={geometry:geometry};if(geometry!==null){const vertices=[];const edges=new Set;const start=new Vector3;const end=new Vector3;if(geometry.index!==null){const position=geometry.attributes.position;const indices=geometry.index;let groups=geometry.groups;if(groups.length===0){groups=[{start:0,count:indices.count,materialIndex:0}]}for(let o=0,ol=groups.length;o&lt;ol;++o){const group=groups[o];const groupStart=group.start;const groupCount=group.count;for(let i=groupStart,l=groupStart+groupCount;i&lt;l;i+=3){for(let j=0;j&lt;3;j++){const index1=indices.getX(i+j);const index2=indices.getX(i+(j+1)%3);start.fromBufferAttribute(position,index1);end.fromBufferAttribute(position,index2);if(isUniqueEdge(start,end,edges)===true){vertices.push(start.x,start.y,start.z);vertices.push(end.x,end.y,end.z)}}}}}else{const position=geometry.attributes.position;for(let i=0,l=position.count/3;i&lt;l;i++){for(let j=0;j&lt;3;j++){const index1=3*i+j;const index2=3*i+(j+1)%3;start.fromBufferAttribute(position,index1);end.fromBufferAttribute(position,index2);if(isUniqueEdge(start,end,edges)===true){vertices.push(start.x,start.y,start.z);vertices.push(end.x,end.y,end.z)}}}}this.setAttribute("position",new Float32BufferAttribute(vertices,3))}}copy(source){super.copy(source);this.parameters=Object.assign({},source.parameters);return this}}function isUniqueEdge(start,end,edges){const hash1=`${start.x},${start.y},${start.z}-${end.x},${end.y},${end.z}`;const hash2=`${end.x},${end.y},${end.z}-${start.x},${start.y},${start.z}`;if(edges.has(hash1)===true||edges.has(hash2)===true){return false}else{edges.add(hash1);edges.add(hash2);return true}}var Geometries=Object.freeze({__proto__:null,BoxGeometry:BoxGeometry,CapsuleGeometry:CapsuleGeometry,CircleGeometry:CircleGeometry,ConeGeometry:ConeGeometry,CylinderGeometry:CylinderGeometry,DodecahedronGeometry:DodecahedronGeometry,EdgesGeometry:EdgesGeometry,ExtrudeGeometry:ExtrudeGeometry,IcosahedronGeometry:IcosahedronGeometry,LatheGeometry:LatheGeometry,OctahedronGeometry:OctahedronGeometry,PlaneGeometry:PlaneGeometry,PolyhedronGeometry:PolyhedronGeometry,RingGeometry:RingGeometry,ShapeGeometry:ShapeGeometry,SphereGeometry:SphereGeometry,TetrahedronGeometry:TetrahedronGeometry,TorusGeometry:TorusGeometry,TorusKnotGeometry:TorusKnotGeometry,TubeGeometry:TubeGeometry,WireframeGeometry:WireframeGeometry});class ShadowMaterial extends Material{constructor(parameters){super();this.isShadowMaterial=true;this.type="ShadowMaterial";this.color=new Color(0);this.transparent=true;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.fog=source.fog;return this}}class RawShaderMaterial extends ShaderMaterial{constructor(parameters){super(parameters);this.isRawShaderMaterial=true;this.type="RawShaderMaterial"}}class MeshStandardMaterial extends Material{constructor(parameters){super();this.isMeshStandardMaterial=true;this.defines={"STANDARD":""};this.type="MeshStandardMaterial";this.color=new Color(16777215);this.roughness=1;this.metalness=0;this.map=null;this.lightMap=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new Color(0);this.emissiveIntensity=1;this.emissiveMap=null;this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.roughnessMap=null;this.metalnessMap=null;this.alphaMap=null;this.envMap=null;this.envMapRotation=new Euler;this.envMapIntensity=1;this.wireframe=false;this.wireframeLinewidth=1;this.wireframeLinecap="round";this.wireframeLinejoin="round";this.flatShading=false;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.defines={"STANDARD":""};this.color.copy(source.color);this.roughness=source.roughness;this.metalness=source.metalness;this.map=source.map;this.lightMap=source.lightMap;this.lightMapIntensity=source.lightMapIntensity;this.aoMap=source.aoMap;this.aoMapIntensity=source.aoMapIntensity;this.emissive.copy(source.emissive);this.emissiveMap=source.emissiveMap;this.emissiveIntensity=source.emissiveIntensity;this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.roughnessMap=source.roughnessMap;this.metalnessMap=source.metalnessMap;this.alphaMap=source.alphaMap;this.envMap=source.envMap;this.envMapRotation.copy(source.envMapRotation);this.envMapIntensity=source.envMapIntensity;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.wireframeLinecap=source.wireframeLinecap;this.wireframeLinejoin=source.wireframeLinejoin;this.flatShading=source.flatShading;this.fog=source.fog;return this}}class MeshPhysicalMaterial extends MeshStandardMaterial{constructor(parameters){super();this.isMeshPhysicalMaterial=true;this.defines={"STANDARD":"","PHYSICAL":""};this.type="MeshPhysicalMaterial";this.anisotropyRotation=0;this.anisotropyMap=null;this.clearcoatMap=null;this.clearcoatRoughness=0;this.clearcoatRoughnessMap=null;this.clearcoatNormalScale=new Vector2(1,1);this.clearcoatNormalMap=null;this.ior=1.5;Object.defineProperty(this,"reflectivity",{get:function(){return clamp(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(reflectivity){this.ior=(1+0.4*reflectivity)/(1-0.4*reflectivity)}});this.iridescenceMap=null;this.iridescenceIOR=1.3;this.iridescenceThicknessRange=[100,400];this.iridescenceThicknessMap=null;this.sheenColor=new Color(0);this.sheenColorMap=null;this.sheenRoughness=1;this.sheenRoughnessMap=null;this.transmissionMap=null;this.thickness=0;this.thicknessMap=null;this.attenuationDistance=Infinity;this.attenuationColor=new Color(1,1,1);this.specularIntensity=1;this.specularIntensityMap=null;this.specularColor=new Color(1,1,1);this.specularColorMap=null;this._anisotropy=0;this._clearcoat=0;this._iridescence=0;this._sheen=0;this._transmission=0;this.setValues(parameters)}get anisotropy(){return this._anisotropy}set anisotropy(value){if(this._anisotropy&gt;0!==value&gt;0){this.version++}this._anisotropy=value}get clearcoat(){return this._clearcoat}set clearcoat(value){if(this._clearcoat&gt;0!==value&gt;0){this.version++}this._clearcoat=value}get iridescence(){return this._iridescence}set iridescence(value){if(this._iridescence&gt;0!==value&gt;0){this.version++}this._iridescence=value}get sheen(){return this._sheen}set sheen(value){if(this._sheen&gt;0!==value&gt;0){this.version++}this._sheen=value}get transmission(){return this._transmission}set transmission(value){if(this._transmission&gt;0!==value&gt;0){this.version++}this._transmission=value}copy(source){super.copy(source);this.defines={"STANDARD":"","PHYSICAL":""};this.anisotropy=source.anisotropy;this.anisotropyRotation=source.anisotropyRotation;this.anisotropyMap=source.anisotropyMap;this.clearcoat=source.clearcoat;this.clearcoatMap=source.clearcoatMap;this.clearcoatRoughness=source.clearcoatRoughness;this.clearcoatRoughnessMap=source.clearcoatRoughnessMap;this.clearcoatNormalMap=source.clearcoatNormalMap;this.clearcoatNormalScale.copy(source.clearcoatNormalScale);this.ior=source.ior;this.iridescence=source.iridescence;this.iridescenceMap=source.iridescenceMap;this.iridescenceIOR=source.iridescenceIOR;this.iridescenceThicknessRange=[...source.iridescenceThicknessRange];this.iridescenceThicknessMap=source.iridescenceThicknessMap;this.sheen=source.sheen;this.sheenColor.copy(source.sheenColor);this.sheenColorMap=source.sheenColorMap;this.sheenRoughness=source.sheenRoughness;this.sheenRoughnessMap=source.sheenRoughnessMap;this.transmission=source.transmission;this.transmissionMap=source.transmissionMap;this.thickness=source.thickness;this.thicknessMap=source.thicknessMap;this.attenuationDistance=source.attenuationDistance;this.attenuationColor.copy(source.attenuationColor);this.specularIntensity=source.specularIntensity;this.specularIntensityMap=source.specularIntensityMap;this.specularColor.copy(source.specularColor);this.specularColorMap=source.specularColorMap;return this}}class MeshPhongMaterial extends Material{constructor(parameters){super();this.isMeshPhongMaterial=true;this.type="MeshPhongMaterial";this.color=new Color(16777215);this.specular=new Color(1118481);this.shininess=30;this.map=null;this.lightMap=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new Color(0);this.emissiveIntensity=1;this.emissiveMap=null;this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.specularMap=null;this.alphaMap=null;this.envMap=null;this.envMapRotation=new Euler;this.combine=MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.wireframe=false;this.wireframeLinewidth=1;this.wireframeLinecap="round";this.wireframeLinejoin="round";this.flatShading=false;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.specular.copy(source.specular);this.shininess=source.shininess;this.map=source.map;this.lightMap=source.lightMap;this.lightMapIntensity=source.lightMapIntensity;this.aoMap=source.aoMap;this.aoMapIntensity=source.aoMapIntensity;this.emissive.copy(source.emissive);this.emissiveMap=source.emissiveMap;this.emissiveIntensity=source.emissiveIntensity;this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.specularMap=source.specularMap;this.alphaMap=source.alphaMap;this.envMap=source.envMap;this.envMapRotation.copy(source.envMapRotation);this.combine=source.combine;this.reflectivity=source.reflectivity;this.refractionRatio=source.refractionRatio;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.wireframeLinecap=source.wireframeLinecap;this.wireframeLinejoin=source.wireframeLinejoin;this.flatShading=source.flatShading;this.fog=source.fog;return this}}class MeshToonMaterial extends Material{constructor(parameters){super();this.isMeshToonMaterial=true;this.defines={"TOON":""};this.type="MeshToonMaterial";this.color=new Color(16777215);this.map=null;this.gradientMap=null;this.lightMap=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new Color(0);this.emissiveIntensity=1;this.emissiveMap=null;this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=null;this.wireframe=false;this.wireframeLinewidth=1;this.wireframeLinecap="round";this.wireframeLinejoin="round";this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.gradientMap=source.gradientMap;this.lightMap=source.lightMap;this.lightMapIntensity=source.lightMapIntensity;this.aoMap=source.aoMap;this.aoMapIntensity=source.aoMapIntensity;this.emissive.copy(source.emissive);this.emissiveMap=source.emissiveMap;this.emissiveIntensity=source.emissiveIntensity;this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.alphaMap=source.alphaMap;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.wireframeLinecap=source.wireframeLinecap;this.wireframeLinejoin=source.wireframeLinejoin;this.fog=source.fog;return this}}class MeshNormalMaterial extends Material{constructor(parameters){super();this.isMeshNormalMaterial=true;this.type="MeshNormalMaterial";this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.wireframe=false;this.wireframeLinewidth=1;this.flatShading=false;this.setValues(parameters)}copy(source){super.copy(source);this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.flatShading=source.flatShading;return this}}class MeshLambertMaterial extends Material{constructor(parameters){super();this.isMeshLambertMaterial=true;this.type="MeshLambertMaterial";this.color=new Color(16777215);this.map=null;this.lightMap=null;this.lightMapIntensity=1;this.aoMap=null;this.aoMapIntensity=1;this.emissive=new Color(0);this.emissiveIntensity=1;this.emissiveMap=null;this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.specularMap=null;this.alphaMap=null;this.envMap=null;this.envMapRotation=new Euler;this.combine=MultiplyOperation;this.reflectivity=1;this.refractionRatio=0.98;this.wireframe=false;this.wireframeLinewidth=1;this.wireframeLinecap="round";this.wireframeLinejoin="round";this.flatShading=false;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.color.copy(source.color);this.map=source.map;this.lightMap=source.lightMap;this.lightMapIntensity=source.lightMapIntensity;this.aoMap=source.aoMap;this.aoMapIntensity=source.aoMapIntensity;this.emissive.copy(source.emissive);this.emissiveMap=source.emissiveMap;this.emissiveIntensity=source.emissiveIntensity;this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.specularMap=source.specularMap;this.alphaMap=source.alphaMap;this.envMap=source.envMap;this.envMapRotation.copy(source.envMapRotation);this.combine=source.combine;this.reflectivity=source.reflectivity;this.refractionRatio=source.refractionRatio;this.wireframe=source.wireframe;this.wireframeLinewidth=source.wireframeLinewidth;this.wireframeLinecap=source.wireframeLinecap;this.wireframeLinejoin=source.wireframeLinejoin;this.flatShading=source.flatShading;this.fog=source.fog;return this}}class MeshMatcapMaterial extends Material{constructor(parameters){super();this.isMeshMatcapMaterial=true;this.defines={"MATCAP":""};this.type="MeshMatcapMaterial";this.color=new Color(16777215);this.matcap=null;this.map=null;this.bumpMap=null;this.bumpScale=1;this.normalMap=null;this.normalMapType=TangentSpaceNormalMap;this.normalScale=new Vector2(1,1);this.displacementMap=null;this.displacementScale=1;this.displacementBias=0;this.alphaMap=null;this.flatShading=false;this.fog=true;this.setValues(parameters)}copy(source){super.copy(source);this.defines={"MATCAP":""};this.color.copy(source.color);this.matcap=source.matcap;this.map=source.map;this.bumpMap=source.bumpMap;this.bumpScale=source.bumpScale;this.normalMap=source.normalMap;this.normalMapType=source.normalMapType;this.normalScale.copy(source.normalScale);this.displacementMap=source.displacementMap;this.displacementScale=source.displacementScale;this.displacementBias=source.displacementBias;this.alphaMap=source.alphaMap;this.flatShading=source.flatShading;this.fog=source.fog;return this}}class LineDashedMaterial extends LineBasicMaterial{constructor(parameters){super();this.isLineDashedMaterial=true;this.type="LineDashedMaterial";this.scale=1;this.dashSize=3;this.gapSize=1;this.setValues(parameters)}copy(source){super.copy(source);this.scale=source.scale;this.dashSize=source.dashSize;this.gapSize=source.gapSize;return this}}function convertArray(array,type,forceClone){if(!array||!forceClone&amp;&amp;array.constructor===type)return array;if(typeof type.BYTES_PER_ELEMENT==="number"){return new type(array)}return Array.prototype.slice.call(array)}function isTypedArray(object){return ArrayBuffer.isView(object)&amp;&amp;!(object instanceof DataView)}function getKeyframeOrder(times){function compareTime(i,j){return times[i]-times[j]}const n=times.length;const result=new Array(n);for(let i=0;i!==n;++i)result[i]=i;result.sort(compareTime);return result}function sortedArray(values,stride,order){const nValues=values.length;const result=new values.constructor(nValues);for(let i=0,dstOffset=0;dstOffset!==nValues;++i){const srcOffset=order[i]*stride;for(let j=0;j!==stride;++j){result[dstOffset++]=values[srcOffset+j]}}return result}function flattenJSON(jsonKeys,times,values,valuePropertyName){let i=1,key=jsonKeys[0];while(key!==undefined&amp;&amp;key[valuePropertyName]===undefined){key=jsonKeys[i++]}if(key===undefined)return;let value=key[valuePropertyName];if(value===undefined)return;if(Array.isArray(value)){do{value=key[valuePropertyName];if(value!==undefined){times.push(key.time);values.push.apply(values,value)}key=jsonKeys[i++]}while(key!==undefined)}else if(value.toArray!==undefined){do{value=key[valuePropertyName];if(value!==undefined){times.push(key.time);value.toArray(values,values.length)}key=jsonKeys[i++]}while(key!==undefined)}else{do{value=key[valuePropertyName];if(value!==undefined){times.push(key.time);values.push(value)}key=jsonKeys[i++]}while(key!==undefined)}}function subclip(sourceClip,name,startFrame,endFrame,fps=30){const clip=sourceClip.clone();clip.name=name;const tracks=[];for(let i=0;i&lt;clip.tracks.length;++i){const track=clip.tracks[i];const valueSize=track.getValueSize();const times=[];const values=[];for(let j=0;j&lt;track.times.length;++j){const frame=track.times[j]*fps;if(frame&lt;startFrame||frame&gt;=endFrame)continue;times.push(track.times[j]);for(let k=0;k&lt;valueSize;++k){values.push(track.values[j*valueSize+k])}}if(times.length===0)continue;track.times=convertArray(times,track.times.constructor);track.values=convertArray(values,track.values.constructor);tracks.push(track)}clip.tracks=tracks;let minStartTime=Infinity;for(let i=0;i&lt;clip.tracks.length;++i){if(minStartTime&gt;clip.tracks[i].times[0]){minStartTime=clip.tracks[i].times[0]}}for(let i=0;i&lt;clip.tracks.length;++i){clip.tracks[i].shift(-1*minStartTime)}clip.resetDuration();return clip}function makeClipAdditive(targetClip,referenceFrame=0,referenceClip=targetClip,fps=30){if(fps&lt;=0)fps=30;const numTracks=referenceClip.tracks.length;const referenceTime=referenceFrame/fps;for(let i=0;i&lt;numTracks;++i){const referenceTrack=referenceClip.tracks[i];const referenceTrackType=referenceTrack.ValueTypeName;if(referenceTrackType==="bool"||referenceTrackType==="string")continue;const targetTrack=targetClip.tracks.find(function(track){return track.name===referenceTrack.name&amp;&amp;track.ValueTypeName===referenceTrackType});if(targetTrack===undefined)continue;let referenceOffset=0;const referenceValueSize=referenceTrack.getValueSize();if(referenceTrack.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline){referenceOffset=referenceValueSize/3}let targetOffset=0;const targetValueSize=targetTrack.getValueSize();if(targetTrack.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline){targetOffset=targetValueSize/3}const lastIndex=referenceTrack.times.length-1;let referenceValue;if(referenceTime&lt;=referenceTrack.times[0]){const startIndex=referenceOffset;const endIndex=referenceValueSize-referenceOffset;referenceValue=referenceTrack.values.slice(startIndex,endIndex)}else if(referenceTime&gt;=referenceTrack.times[lastIndex]){const startIndex=lastIndex*referenceValueSize+referenceOffset;const endIndex=startIndex+referenceValueSize-referenceOffset;referenceValue=referenceTrack.values.slice(startIndex,endIndex)}else{const interpolant=referenceTrack.createInterpolant();const startIndex=referenceOffset;const endIndex=referenceValueSize-referenceOffset;interpolant.evaluate(referenceTime);referenceValue=interpolant.resultBuffer.slice(startIndex,endIndex)}if(referenceTrackType==="quaternion"){const referenceQuat=new Quaternion().fromArray(referenceValue).normalize().conjugate();referenceQuat.toArray(referenceValue)}const numTimes=targetTrack.times.length;for(let j=0;j&lt;numTimes;++j){const valueStart=j*targetValueSize+targetOffset;if(referenceTrackType==="quaternion"){Quaternion.multiplyQuaternionsFlat(targetTrack.values,valueStart,referenceValue,0,targetTrack.values,valueStart)}else{const valueEnd=targetValueSize-targetOffset*2;for(let k=0;k&lt;valueEnd;++k){targetTrack.values[valueStart+k]-=referenceValue[k]}}}}targetClip.blendMode=AdditiveAnimationBlendMode;return targetClip}const AnimationUtils={convertArray:convertArray,isTypedArray:isTypedArray,getKeyframeOrder:getKeyframeOrder,sortedArray:sortedArray,flattenJSON:flattenJSON,subclip:subclip,makeClipAdditive:makeClipAdditive};class Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){this.parameterPositions=parameterPositions;this._cachedIndex=0;this.resultBuffer=resultBuffer!==undefined?resultBuffer:new sampleValues.constructor(sampleSize);this.sampleValues=sampleValues;this.valueSize=sampleSize;this.settings=null;this.DefaultSettings_={}}evaluate(t){const pp=this.parameterPositions;let i1=this._cachedIndex,t1=pp[i1],t0=pp[i1-1];validate_interval:{seek:{let right;linear_scan:{forward_scan:if(!(t&lt;t1)){for(let giveUpAt=i1+2;;){if(t1===undefined){if(t&lt;t0)break forward_scan;i1=pp.length;this._cachedIndex=i1;return this.copySampleValue_(i1-1)}if(i1===giveUpAt)break;t0=t1;t1=pp[++i1];if(t&lt;t1){break seek}}right=pp.length;break linear_scan}if(!(t&gt;=t0)){const t1global=pp[1];if(t&lt;t1global){i1=2;t0=t1global}for(let giveUpAt=i1-2;;){if(t0===undefined){this._cachedIndex=0;return this.copySampleValue_(0)}if(i1===giveUpAt)break;t1=t0;t0=pp[--i1-1];if(t&gt;=t0){break seek}}right=i1;i1=0;break linear_scan}break validate_interval}while(i1&lt;right){const mid=i1+right&gt;&gt;&gt;1;if(t&lt;pp[mid]){right=mid}else{i1=mid+1}}t1=pp[i1];t0=pp[i1-1];if(t0===undefined){this._cachedIndex=0;return this.copySampleValue_(0)}if(t1===undefined){i1=pp.length;this._cachedIndex=i1;return this.copySampleValue_(i1-1)}}this._cachedIndex=i1;this.intervalChanged_(i1,t0,t1)}return this.interpolate_(i1,t0,t,t1)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(index){const result=this.resultBuffer,values=this.sampleValues,stride=this.valueSize,offset=index*stride;for(let i=0;i!==stride;++i){result[i]=values[offset+i]}return result}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class CubicInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer);this._weightPrev=-0;this._offsetPrev=-0;this._weightNext=-0;this._offsetNext=-0;this.DefaultSettings_={endingStart:ZeroCurvatureEnding,endingEnd:ZeroCurvatureEnding}}intervalChanged_(i1,t0,t1){const pp=this.parameterPositions;let iPrev=i1-2,iNext=i1+1,tPrev=pp[iPrev],tNext=pp[iNext];if(tPrev===undefined){switch(this.getSettings_().endingStart){case ZeroSlopeEnding:iPrev=i1;tPrev=2*t0-t1;break;case WrapAroundEnding:iPrev=pp.length-2;tPrev=t0+pp[iPrev]-pp[iPrev+1];break;default:iPrev=i1;tPrev=t1;}}if(tNext===undefined){switch(this.getSettings_().endingEnd){case ZeroSlopeEnding:iNext=i1;tNext=2*t1-t0;break;case WrapAroundEnding:iNext=1;tNext=t1+pp[1]-pp[0];break;default:iNext=i1-1;tNext=t0;}}const halfDt=(t1-t0)*0.5,stride=this.valueSize;this._weightPrev=halfDt/(t0-tPrev);this._weightNext=halfDt/(tNext-t1);this._offsetPrev=iPrev*stride;this._offsetNext=iNext*stride}interpolate_(i1,t0,t,t1){const result=this.resultBuffer,values=this.sampleValues,stride=this.valueSize,o1=i1*stride,o0=o1-stride,oP=this._offsetPrev,oN=this._offsetNext,wP=this._weightPrev,wN=this._weightNext,p=(t-t0)/(t1-t0),pp=p*p,ppp=pp*p;const sP=-wP*ppp+2*wP*pp-wP*p;const s0=(1+wP)*ppp+(-1.5-2*wP)*pp+(-0.5+wP)*p+1;const s1=(-1-wN)*ppp+(1.5+wN)*pp+0.5*p;const sN=wN*ppp-wN*pp;for(let i=0;i!==stride;++i){result[i]=sP*values[oP+i]+s0*values[o0+i]+s1*values[o1+i]+sN*values[oN+i]}return result}}class LinearInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}interpolate_(i1,t0,t,t1){const result=this.resultBuffer,values=this.sampleValues,stride=this.valueSize,offset1=i1*stride,offset0=offset1-stride,weight1=(t-t0)/(t1-t0),weight0=1-weight1;for(let i=0;i!==stride;++i){result[i]=values[offset0+i]*weight0+values[offset1+i]*weight1}return result}}class DiscreteInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}interpolate_(i1){return this.copySampleValue_(i1-1)}}class KeyframeTrack{constructor(name,times,values,interpolation){if(name===undefined)throw new Error("THREE.KeyframeTrack: track name is undefined");if(times===undefined||times.length===0)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+name);this.name=name;this.times=convertArray(times,this.TimeBufferType);this.values=convertArray(values,this.ValueBufferType);this.setInterpolation(interpolation||this.DefaultInterpolation)}static toJSON(track){const trackType=track.constructor;let json;if(trackType.toJSON!==this.toJSON){json=trackType.toJSON(track)}else{json={"name":track.name,"times":convertArray(track.times,Array),"values":convertArray(track.values,Array)};const interpolation=track.getInterpolation();if(interpolation!==track.DefaultInterpolation){json.interpolation=interpolation}}json.type=track.ValueTypeName;return json}InterpolantFactoryMethodDiscrete(result){return new DiscreteInterpolant(this.times,this.values,this.getValueSize(),result)}InterpolantFactoryMethodLinear(result){return new LinearInterpolant(this.times,this.values,this.getValueSize(),result)}InterpolantFactoryMethodSmooth(result){return new CubicInterpolant(this.times,this.values,this.getValueSize(),result)}setInterpolation(interpolation){let factoryMethod;switch(interpolation){case InterpolateDiscrete:factoryMethod=this.InterpolantFactoryMethodDiscrete;break;case InterpolateLinear:factoryMethod=this.InterpolantFactoryMethodLinear;break;case InterpolateSmooth:factoryMethod=this.InterpolantFactoryMethodSmooth;break;}if(factoryMethod===undefined){const message="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(this.createInterpolant===undefined){if(interpolation!==this.DefaultInterpolation){this.setInterpolation(this.DefaultInterpolation)}else{throw new Error(message)}}console.warn("THREE.KeyframeTrack:",message);return this}this.createInterpolant=factoryMethod;return this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return InterpolateDiscrete;case this.InterpolantFactoryMethodLinear:return InterpolateLinear;case this.InterpolantFactoryMethodSmooth:return InterpolateSmooth;}}getValueSize(){return this.values.length/this.times.length}shift(timeOffset){if(timeOffset!==0){const times=this.times;for(let i=0,n=times.length;i!==n;++i){times[i]+=timeOffset}}return this}scale(timeScale){if(timeScale!==1){const times=this.times;for(let i=0,n=times.length;i!==n;++i){times[i]*=timeScale}}return this}trim(startTime,endTime){const times=this.times,nKeys=times.length;let from=0,to=nKeys-1;while(from!==nKeys&amp;&amp;times[from]&lt;startTime){++from}while(to!==-1&amp;&amp;times[to]&gt;endTime){--to}++to;if(from!==0||to!==nKeys){if(from&gt;=to){to=Math.max(to,1);from=to-1}const stride=this.getValueSize();this.times=times.slice(from,to);this.values=this.values.slice(from*stride,to*stride)}return this}validate(){let valid=true;const valueSize=this.getValueSize();if(valueSize-Math.floor(valueSize)!==0){console.error("THREE.KeyframeTrack: Invalid value size in track.",this);valid=false}const times=this.times,values=this.values,nKeys=times.length;if(nKeys===0){console.error("THREE.KeyframeTrack: Track is empty.",this);valid=false}let prevTime=null;for(let i=0;i!==nKeys;i++){const currTime=times[i];if(typeof currTime==="number"&amp;&amp;isNaN(currTime)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,i,currTime);valid=false;break}if(prevTime!==null&amp;&amp;prevTime&gt;currTime){console.error("THREE.KeyframeTrack: Out of order keys.",this,i,currTime,prevTime);valid=false;break}prevTime=currTime}if(values!==undefined){if(isTypedArray(values)){for(let i=0,n=values.length;i!==n;++i){const value=values[i];if(isNaN(value)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,i,value);valid=false;break}}}}return valid}optimize(){const times=this.times.slice(),values=this.values.slice(),stride=this.getValueSize(),smoothInterpolation=this.getInterpolation()===InterpolateSmooth,lastIndex=times.length-1;let writeIndex=1;for(let i=1;i&lt;lastIndex;++i){let keep=false;const time=times[i];const timeNext=times[i+1];if(time!==timeNext&amp;&amp;(i!==1||time!==times[0])){if(!smoothInterpolation){const offset=i*stride,offsetP=offset-stride,offsetN=offset+stride;for(let j=0;j!==stride;++j){const value=values[offset+j];if(value!==values[offsetP+j]||value!==values[offsetN+j]){keep=true;break}}}else{keep=true}}if(keep){if(i!==writeIndex){times[writeIndex]=times[i];const readOffset=i*stride,writeOffset=writeIndex*stride;for(let j=0;j!==stride;++j){values[writeOffset+j]=values[readOffset+j]}}++writeIndex}}if(lastIndex&gt;0){times[writeIndex]=times[lastIndex];for(let readOffset=lastIndex*stride,writeOffset=writeIndex*stride,j=0;j!==stride;++j){values[writeOffset+j]=values[readOffset+j]}++writeIndex}if(writeIndex!==times.length){this.times=times.slice(0,writeIndex);this.values=values.slice(0,writeIndex*stride)}else{this.times=times;this.values=values}return this}clone(){const times=this.times.slice();const values=this.values.slice();const TypedKeyframeTrack=this.constructor;const track=new TypedKeyframeTrack(this.name,times,values);track.createInterpolant=this.createInterpolant;return track}}KeyframeTrack.prototype.TimeBufferType=Float32Array;KeyframeTrack.prototype.ValueBufferType=Float32Array;KeyframeTrack.prototype.DefaultInterpolation=InterpolateLinear;class BooleanKeyframeTrack extends KeyframeTrack{}BooleanKeyframeTrack.prototype.ValueTypeName="bool";BooleanKeyframeTrack.prototype.ValueBufferType=Array;BooleanKeyframeTrack.prototype.DefaultInterpolation=InterpolateDiscrete;BooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear=undefined;BooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=undefined;class ColorKeyframeTrack extends KeyframeTrack{}ColorKeyframeTrack.prototype.ValueTypeName="color";class NumberKeyframeTrack extends KeyframeTrack{}NumberKeyframeTrack.prototype.ValueTypeName="number";class QuaternionLinearInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}interpolate_(i1,t0,t,t1){const result=this.resultBuffer,values=this.sampleValues,stride=this.valueSize,alpha=(t-t0)/(t1-t0);let offset=i1*stride;for(let end=offset+stride;offset!==end;offset+=4){Quaternion.slerpFlat(result,0,values,offset-stride,values,offset,alpha)}return result}}class QuaternionKeyframeTrack extends KeyframeTrack{InterpolantFactoryMethodLinear(result){return new QuaternionLinearInterpolant(this.times,this.values,this.getValueSize(),result)}}QuaternionKeyframeTrack.prototype.ValueTypeName="quaternion";QuaternionKeyframeTrack.prototype.DefaultInterpolation=InterpolateLinear;QuaternionKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=undefined;class StringKeyframeTrack extends KeyframeTrack{}StringKeyframeTrack.prototype.ValueTypeName="string";StringKeyframeTrack.prototype.ValueBufferType=Array;StringKeyframeTrack.prototype.DefaultInterpolation=InterpolateDiscrete;StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear=undefined;StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=undefined;class VectorKeyframeTrack extends KeyframeTrack{}VectorKeyframeTrack.prototype.ValueTypeName="vector";class AnimationClip{constructor(name="",duration=-1,tracks=[],blendMode=NormalAnimationBlendMode){this.name=name;this.tracks=tracks;this.duration=duration;this.blendMode=blendMode;this.uuid=generateUUID();if(this.duration&lt;0){this.resetDuration()}}static parse(json){const tracks=[],jsonTracks=json.tracks,frameTime=1/(json.fps||1);for(let i=0,n=jsonTracks.length;i!==n;++i){tracks.push(parseKeyframeTrack(jsonTracks[i]).scale(frameTime))}const clip=new this(json.name,json.duration,tracks,json.blendMode);clip.uuid=json.uuid;return clip}static toJSON(clip){const tracks=[],clipTracks=clip.tracks;const json={"name":clip.name,"duration":clip.duration,"tracks":tracks,"uuid":clip.uuid,"blendMode":clip.blendMode};for(let i=0,n=clipTracks.length;i!==n;++i){tracks.push(KeyframeTrack.toJSON(clipTracks[i]))}return json}static CreateFromMorphTargetSequence(name,morphTargetSequence,fps,noLoop){const numMorphTargets=morphTargetSequence.length;const tracks=[];for(let i=0;i&lt;numMorphTargets;i++){let times=[];let values=[];times.push((i+numMorphTargets-1)%numMorphTargets,i,(i+1)%numMorphTargets);values.push(0,1,0);const order=getKeyframeOrder(times);times=sortedArray(times,1,order);values=sortedArray(values,1,order);if(!noLoop&amp;&amp;times[0]===0){times.push(numMorphTargets);values.push(values[0])}tracks.push(new NumberKeyframeTrack(".morphTargetInfluences["+morphTargetSequence[i].name+"]",times,values).scale(1/fps))}return new this(name,-1,tracks)}static findByName(objectOrClipArray,name){let clipArray=objectOrClipArray;if(!Array.isArray(objectOrClipArray)){const o=objectOrClipArray;clipArray=o.geometry&amp;&amp;o.geometry.animations||o.animations}for(let i=0;i&lt;clipArray.length;i++){if(clipArray[i].name===name){return clipArray[i]}}return null}static CreateClipsFromMorphTargetSequences(morphTargets,fps,noLoop){const animationToMorphTargets={};const pattern=/^([\w-]*?)([\d]+)$/;for(let i=0,il=morphTargets.length;i&lt;il;i++){const morphTarget=morphTargets[i];const parts=morphTarget.name.match(pattern);if(parts&amp;&amp;parts.length&gt;1){const name=parts[1];let animationMorphTargets=animationToMorphTargets[name];if(!animationMorphTargets){animationToMorphTargets[name]=animationMorphTargets=[]}animationMorphTargets.push(morphTarget)}}const clips=[];for(const name in animationToMorphTargets){clips.push(this.CreateFromMorphTargetSequence(name,animationToMorphTargets[name],fps,noLoop))}return clips}static parseAnimation(animation,bones){if(!animation){console.error("THREE.AnimationClip: No animation in JSONLoader data.");return null}const addNonemptyTrack=function(trackType,trackName,animationKeys,propertyName,destTracks){if(animationKeys.length!==0){const times=[];const values=[];flattenJSON(animationKeys,times,values,propertyName);if(times.length!==0){destTracks.push(new trackType(trackName,times,values))}}};const tracks=[];const clipName=animation.name||"default";const fps=animation.fps||30;const blendMode=animation.blendMode;let duration=animation.length||-1;const hierarchyTracks=animation.hierarchy||[];for(let h=0;h&lt;hierarchyTracks.length;h++){const animationKeys=hierarchyTracks[h].keys;if(!animationKeys||animationKeys.length===0)continue;if(animationKeys[0].morphTargets){const morphTargetNames={};let k;for(k=0;k&lt;animationKeys.length;k++){if(animationKeys[k].morphTargets){for(let m=0;m&lt;animationKeys[k].morphTargets.length;m++){morphTargetNames[animationKeys[k].morphTargets[m]]=-1}}}for(const morphTargetName in morphTargetNames){const times=[];const values=[];for(let m=0;m!==animationKeys[k].morphTargets.length;++m){const animationKey=animationKeys[k];times.push(animationKey.time);values.push(animationKey.morphTarget===morphTargetName?1:0)}tracks.push(new NumberKeyframeTrack(".morphTargetInfluence["+morphTargetName+"]",times,values))}duration=morphTargetNames.length*fps}else{const boneName=".bones["+bones[h].name+"]";addNonemptyTrack(VectorKeyframeTrack,boneName+".position",animationKeys,"pos",tracks);addNonemptyTrack(QuaternionKeyframeTrack,boneName+".quaternion",animationKeys,"rot",tracks);addNonemptyTrack(VectorKeyframeTrack,boneName+".scale",animationKeys,"scl",tracks)}}if(tracks.length===0){return null}const clip=new this(clipName,duration,tracks,blendMode);return clip}resetDuration(){const tracks=this.tracks;let duration=0;for(let i=0,n=tracks.length;i!==n;++i){const track=this.tracks[i];duration=Math.max(duration,track.times[track.times.length-1])}this.duration=duration;return this}trim(){for(let i=0;i&lt;this.tracks.length;i++){this.tracks[i].trim(0,this.duration)}return this}validate(){let valid=true;for(let i=0;i&lt;this.tracks.length;i++){valid=valid&amp;&amp;this.tracks[i].validate()}return valid}optimize(){for(let i=0;i&lt;this.tracks.length;i++){this.tracks[i].optimize()}return this}clone(){const tracks=[];for(let i=0;i&lt;this.tracks.length;i++){tracks.push(this.tracks[i].clone())}return new this.constructor(this.name,this.duration,tracks,this.blendMode)}toJSON(){return this.constructor.toJSON(this)}}function getTrackTypeForValueTypeName(typeName){switch(typeName.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return NumberKeyframeTrack;case"vector":case"vector2":case"vector3":case"vector4":return VectorKeyframeTrack;case"color":return ColorKeyframeTrack;case"quaternion":return QuaternionKeyframeTrack;case"bool":case"boolean":return BooleanKeyframeTrack;case"string":return StringKeyframeTrack;}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+typeName)}function parseKeyframeTrack(json){if(json.type===undefined){throw new Error("THREE.KeyframeTrack: track type undefined, can not parse")}const trackType=getTrackTypeForValueTypeName(json.type);if(json.times===undefined){const times=[],values=[];flattenJSON(json.keys,times,values,"value");json.times=times;json.values=values}if(trackType.parse!==undefined){return trackType.parse(json)}else{return new trackType(json.name,json.times,json.values,json.interpolation)}}const Cache={enabled:false,files:{},add:function(key,file){if(this.enabled===false)return;this.files[key]=file},get:function(key){if(this.enabled===false)return;return this.files[key]},remove:function(key){delete this.files[key]},clear:function(){this.files={}}};class LoadingManager{constructor(onLoad,onProgress,onError){const scope=this;let isLoading=false;let itemsLoaded=0;let itemsTotal=0;let urlModifier=undefined;const handlers=[];this.onStart=undefined;this.onLoad=onLoad;this.onProgress=onProgress;this.onError=onError;this.itemStart=function(url){itemsTotal++;if(isLoading===false){if(scope.onStart!==undefined){scope.onStart(url,itemsLoaded,itemsTotal)}}isLoading=true};this.itemEnd=function(url){itemsLoaded++;if(scope.onProgress!==undefined){scope.onProgress(url,itemsLoaded,itemsTotal)}if(itemsLoaded===itemsTotal){isLoading=false;if(scope.onLoad!==undefined){scope.onLoad()}}};this.itemError=function(url){if(scope.onError!==undefined){scope.onError(url)}};this.resolveURL=function(url){if(urlModifier){return urlModifier(url)}return url};this.setURLModifier=function(transform){urlModifier=transform;return this};this.addHandler=function(regex,loader){handlers.push(regex,loader);return this};this.removeHandler=function(regex){const index=handlers.indexOf(regex);if(index!==-1){handlers.splice(index,2)}return this};this.getHandler=function(file){for(let i=0,l=handlers.length;i&lt;l;i+=2){const regex=handlers[i];const loader=handlers[i+1];if(regex.global)regex.lastIndex=0;if(regex.test(file)){return loader}}return null}}}const DefaultLoadingManager=new LoadingManager;class Loader{constructor(manager){this.manager=manager!==undefined?manager:DefaultLoadingManager;this.crossOrigin="anonymous";this.withCredentials=false;this.path="";this.resourcePath="";this.requestHeader={}}load(){}loadAsync(url,onProgress){const scope=this;return new Promise(function(resolve,reject){scope.load(url,resolve,onProgress,reject)})}parse(){}setCrossOrigin(crossOrigin){this.crossOrigin=crossOrigin;return this}setWithCredentials(value){this.withCredentials=value;return this}setPath(path){this.path=path;return this}setResourcePath(resourcePath){this.resourcePath=resourcePath;return this}setRequestHeader(requestHeader){this.requestHeader=requestHeader;return this}}Loader.DEFAULT_MATERIAL_NAME="__DEFAULT";const loading={};class HttpError extends Error{constructor(message,response){super(message);this.response=response}}class FileLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){if(url===undefined)url="";if(this.path!==undefined)url=this.path+url;url=this.manager.resolveURL(url);const cached=Cache.get(url);if(cached!==undefined){this.manager.itemStart(url);setTimeout(()=&gt;{if(onLoad)onLoad(cached);this.manager.itemEnd(url)},0);return cached}if(loading[url]!==undefined){loading[url].push({onLoad:onLoad,onProgress:onProgress,onError:onError});return}loading[url]=[];loading[url].push({onLoad:onLoad,onProgress:onProgress,onError:onError});const req=new Request(url,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin"});const mimeType=this.mimeType;const responseType=this.responseType;fetch(req).then(response=&gt;{if(response.status===200||response.status===0){if(response.status===0){console.warn("THREE.FileLoader: HTTP Status 0 received.")}if(typeof ReadableStream==="undefined"||response.body===undefined||response.body.getReader===undefined){return response}const callbacks=loading[url];const reader=response.body.getReader();const contentLength=response.headers.get("Content-Length")||response.headers.get("X-File-Size");const total=contentLength?parseInt(contentLength):0;const lengthComputable=total!==0;let loaded=0;const stream=new ReadableStream({start(controller){readData();function readData(){reader.read().then(({done,value})=&gt;{if(done){controller.close()}else{loaded+=value.byteLength;const event=new ProgressEvent("progress",{lengthComputable,loaded,total});for(let i=0,il=callbacks.length;i&lt;il;i++){const callback=callbacks[i];if(callback.onProgress)callback.onProgress(event)}controller.enqueue(value);readData()}})}}});return new Response(stream)}else{throw new HttpError(`fetch for "${response.url}" responded with ${response.status}: ${response.statusText}`,response)}}).then(response=&gt;{switch(responseType){case"arraybuffer":return response.arrayBuffer();case"blob":return response.blob();case"document":return response.text().then(text=&gt;{const parser=new DOMParser;return parser.parseFromString(text,mimeType)});case"json":return response.json();default:if(mimeType===undefined){return response.text()}else{const re=/charset="?([^;"\s]*)"?/i;const exec=re.exec(mimeType);const label=exec&amp;&amp;exec[1]?exec[1].toLowerCase():undefined;const decoder=new TextDecoder(label);return response.arrayBuffer().then(ab=&gt;decoder.decode(ab))}}}).then(data=&gt;{Cache.add(url,data);const callbacks=loading[url];delete loading[url];for(let i=0,il=callbacks.length;i&lt;il;i++){const callback=callbacks[i];if(callback.onLoad)callback.onLoad(data)}}).catch(err=&gt;{const callbacks=loading[url];if(callbacks===undefined){this.manager.itemError(url);throw err}delete loading[url];for(let i=0,il=callbacks.length;i&lt;il;i++){const callback=callbacks[i];if(callback.onError)callback.onError(err)}this.manager.itemError(url)}).finally(()=&gt;{this.manager.itemEnd(url)});this.manager.itemStart(url)}setResponseType(value){this.responseType=value;return this}setMimeType(value){this.mimeType=value;return this}}class AnimationLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,function(text){try{onLoad(scope.parse(JSON.parse(text)))}catch(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url)}},onProgress,onError)}parse(json){const animations=[];for(let i=0;i&lt;json.length;i++){const clip=AnimationClip.parse(json[i]);animations.push(clip)}return animations}}class CompressedTextureLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const images=[];const texture=new CompressedTexture;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(scope.withCredentials);let loaded=0;function loadTexture(i){loader.load(url[i],function(buffer){const texDatas=scope.parse(buffer,true);images[i]={width:texDatas.width,height:texDatas.height,format:texDatas.format,mipmaps:texDatas.mipmaps};loaded+=1;if(loaded===6){if(texDatas.mipmapCount===1)texture.minFilter=LinearFilter;texture.image=images;texture.format=texDatas.format;texture.needsUpdate=true;if(onLoad)onLoad(texture)}},onProgress,onError)}if(Array.isArray(url)){for(let i=0,il=url.length;i&lt;il;++i){loadTexture(i)}}else{loader.load(url,function(buffer){const texDatas=scope.parse(buffer,true);if(texDatas.isCubemap){const faces=texDatas.mipmaps.length/texDatas.mipmapCount;for(let f=0;f&lt;faces;f++){images[f]={mipmaps:[]};for(let i=0;i&lt;texDatas.mipmapCount;i++){images[f].mipmaps.push(texDatas.mipmaps[f*texDatas.mipmapCount+i]);images[f].format=texDatas.format;images[f].width=texDatas.width;images[f].height=texDatas.height}}texture.image=images}else{texture.image.width=texDatas.width;texture.image.height=texDatas.height;texture.mipmaps=texDatas.mipmaps}if(texDatas.mipmapCount===1){texture.minFilter=LinearFilter}texture.format=texDatas.format;texture.needsUpdate=true;if(onLoad)onLoad(texture)},onProgress,onError)}return texture}}class ImageLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){if(this.path!==undefined)url=this.path+url;url=this.manager.resolveURL(url);const scope=this;const cached=Cache.get(url);if(cached!==undefined){scope.manager.itemStart(url);setTimeout(function(){if(onLoad)onLoad(cached);scope.manager.itemEnd(url)},0);return cached}const image=createElementNS("img");function onImageLoad(){removeEventListeners();Cache.add(url,this);if(onLoad)onLoad(this);scope.manager.itemEnd(url)}function onImageError(event){removeEventListeners();if(onError)onError(event);scope.manager.itemError(url);scope.manager.itemEnd(url)}function removeEventListeners(){image.removeEventListener("load",onImageLoad,false);image.removeEventListener("error",onImageError,false)}image.addEventListener("load",onImageLoad,false);image.addEventListener("error",onImageError,false);if(url.slice(0,5)!=="data:"){if(this.crossOrigin!==undefined)image.crossOrigin=this.crossOrigin}scope.manager.itemStart(url);image.src=url;return image}}class CubeTextureLoader extends Loader{constructor(manager){super(manager)}load(urls,onLoad,onProgress,onError){const texture=new CubeTexture;texture.colorSpace=SRGBColorSpace;const loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);loader.setPath(this.path);let loaded=0;function loadTexture(i){loader.load(urls[i],function(image){texture.images[i]=image;loaded++;if(loaded===6){texture.needsUpdate=true;if(onLoad)onLoad(texture)}},undefined,onError)}for(let i=0;i&lt;urls.length;++i){loadTexture(i)}return texture}}class DataTextureLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const texture=new DataTexture;const loader=new FileLoader(this.manager);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setPath(this.path);loader.setWithCredentials(scope.withCredentials);loader.load(url,function(buffer){let texData;try{texData=scope.parse(buffer)}catch(error){if(onError!==undefined){onError(error)}else{console.error(error);return}}if(texData.image!==undefined){texture.image=texData.image}else if(texData.data!==undefined){texture.image.width=texData.width;texture.image.height=texData.height;texture.image.data=texData.data}texture.wrapS=texData.wrapS!==undefined?texData.wrapS:ClampToEdgeWrapping;texture.wrapT=texData.wrapT!==undefined?texData.wrapT:ClampToEdgeWrapping;texture.magFilter=texData.magFilter!==undefined?texData.magFilter:LinearFilter;texture.minFilter=texData.minFilter!==undefined?texData.minFilter:LinearFilter;texture.anisotropy=texData.anisotropy!==undefined?texData.anisotropy:1;if(texData.colorSpace!==undefined){texture.colorSpace=texData.colorSpace}if(texData.flipY!==undefined){texture.flipY=texData.flipY}if(texData.format!==undefined){texture.format=texData.format}if(texData.type!==undefined){texture.type=texData.type}if(texData.mipmaps!==undefined){texture.mipmaps=texData.mipmaps;texture.minFilter=LinearMipmapLinearFilter}if(texData.mipmapCount===1){texture.minFilter=LinearFilter}if(texData.generateMipmaps!==undefined){texture.generateMipmaps=texData.generateMipmaps}texture.needsUpdate=true;if(onLoad)onLoad(texture,texData)},onProgress,onError);return texture}}class TextureLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const texture=new Texture;const loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);loader.setPath(this.path);loader.load(url,function(image){texture.image=image;texture.needsUpdate=true;if(onLoad!==undefined){onLoad(texture)}},onProgress,onError);return texture}}class Light extends Object3D{constructor(color,intensity=1){super();this.isLight=true;this.type="Light";this.color=new Color(color);this.intensity=intensity}dispose(){}copy(source,recursive){super.copy(source,recursive);this.color.copy(source.color);this.intensity=source.intensity;return this}toJSON(meta){const data=super.toJSON(meta);data.object.color=this.color.getHex();data.object.intensity=this.intensity;if(this.groundColor!==undefined)data.object.groundColor=this.groundColor.getHex();if(this.distance!==undefined)data.object.distance=this.distance;if(this.angle!==undefined)data.object.angle=this.angle;if(this.decay!==undefined)data.object.decay=this.decay;if(this.penumbra!==undefined)data.object.penumbra=this.penumbra;if(this.shadow!==undefined)data.object.shadow=this.shadow.toJSON();return data}}class HemisphereLight extends Light{constructor(skyColor,groundColor,intensity){super(skyColor,intensity);this.isHemisphereLight=true;this.type="HemisphereLight";this.position.copy(Object3D.DEFAULT_UP);this.updateMatrix();this.groundColor=new Color(groundColor)}copy(source,recursive){super.copy(source,recursive);this.groundColor.copy(source.groundColor);return this}}const _projScreenMatrix$1=new Matrix4;const _lightPositionWorld$1=new Vector3;const _lookTarget$1=new Vector3;class LightShadow{constructor(camera){this.camera=camera;this.bias=0;this.normalBias=0;this.radius=1;this.blurSamples=8;this.mapSize=new Vector2(512,512);this.map=null;this.mapPass=null;this.matrix=new Matrix4;this.autoUpdate=true;this.needsUpdate=false;this._frustum=new Frustum;this._frameExtents=new Vector2(1,1);this._viewportCount=1;this._viewports=[new Vector4(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(light){const shadowCamera=this.camera;const shadowMatrix=this.matrix;_lightPositionWorld$1.setFromMatrixPosition(light.matrixWorld);shadowCamera.position.copy(_lightPositionWorld$1);_lookTarget$1.setFromMatrixPosition(light.target.matrixWorld);shadowCamera.lookAt(_lookTarget$1);shadowCamera.updateMatrixWorld();_projScreenMatrix$1.multiplyMatrices(shadowCamera.projectionMatrix,shadowCamera.matrixWorldInverse);this._frustum.setFromProjectionMatrix(_projScreenMatrix$1);shadowMatrix.set(0.5,0,0,0.5,0,0.5,0,0.5,0,0,0.5,0.5,0,0,0,1);shadowMatrix.multiply(_projScreenMatrix$1)}getViewport(viewportIndex){return this._viewports[viewportIndex]}getFrameExtents(){return this._frameExtents}dispose(){if(this.map){this.map.dispose()}if(this.mapPass){this.mapPass.dispose()}}copy(source){this.camera=source.camera.clone();this.bias=source.bias;this.radius=source.radius;this.mapSize.copy(source.mapSize);return this}clone(){return new this.constructor().copy(this)}toJSON(){const object={};if(this.bias!==0)object.bias=this.bias;if(this.normalBias!==0)object.normalBias=this.normalBias;if(this.radius!==1)object.radius=this.radius;if(this.mapSize.x!==512||this.mapSize.y!==512)object.mapSize=this.mapSize.toArray();object.camera=this.camera.toJSON(false).object;delete object.camera.matrix;return object}}class SpotLightShadow extends LightShadow{constructor(){super(new PerspectiveCamera(50,1,0.5,500));this.isSpotLightShadow=true;this.focus=1}updateMatrices(light){const camera=this.camera;const fov=RAD2DEG*2*light.angle*this.focus;const aspect=this.mapSize.width/this.mapSize.height;const far=light.distance||camera.far;if(fov!==camera.fov||aspect!==camera.aspect||far!==camera.far){camera.fov=fov;camera.aspect=aspect;camera.far=far;camera.updateProjectionMatrix()}super.updateMatrices(light)}copy(source){super.copy(source);this.focus=source.focus;return this}}class SpotLight extends Light{constructor(color,intensity,distance=0,angle=Math.PI/3,penumbra=0,decay=2){super(color,intensity);this.isSpotLight=true;this.type="SpotLight";this.position.copy(Object3D.DEFAULT_UP);this.updateMatrix();this.target=new Object3D;this.distance=distance;this.angle=angle;this.penumbra=penumbra;this.decay=decay;this.map=null;this.shadow=new SpotLightShadow}get power(){return this.intensity*Math.PI}set power(power){this.intensity=power/Math.PI}dispose(){this.shadow.dispose()}copy(source,recursive){super.copy(source,recursive);this.distance=source.distance;this.angle=source.angle;this.penumbra=source.penumbra;this.decay=source.decay;this.target=source.target.clone();this.shadow=source.shadow.clone();return this}}const _projScreenMatrix=new Matrix4;const _lightPositionWorld=new Vector3;const _lookTarget=new Vector3;class PointLightShadow extends LightShadow{constructor(){super(new PerspectiveCamera(90,1,0.5,500));this.isPointLightShadow=true;this._frameExtents=new Vector2(4,2);this._viewportCount=6;this._viewports=[new Vector4(2,1,1,1),new Vector4(0,1,1,1),new Vector4(3,1,1,1),new Vector4(1,1,1,1),new Vector4(3,0,1,1),new Vector4(1,0,1,1)];this._cubeDirections=[new Vector3(1,0,0),new Vector3(-1,0,0),new Vector3(0,0,1),new Vector3(0,0,-1),new Vector3(0,1,0),new Vector3(0,-1,0)];this._cubeUps=[new Vector3(0,1,0),new Vector3(0,1,0),new Vector3(0,1,0),new Vector3(0,1,0),new Vector3(0,0,1),new Vector3(0,0,-1)]}updateMatrices(light,viewportIndex=0){const camera=this.camera;const shadowMatrix=this.matrix;const far=light.distance||camera.far;if(far!==camera.far){camera.far=far;camera.updateProjectionMatrix()}_lightPositionWorld.setFromMatrixPosition(light.matrixWorld);camera.position.copy(_lightPositionWorld);_lookTarget.copy(camera.position);_lookTarget.add(this._cubeDirections[viewportIndex]);camera.up.copy(this._cubeUps[viewportIndex]);camera.lookAt(_lookTarget);camera.updateMatrixWorld();shadowMatrix.makeTranslation(-_lightPositionWorld.x,-_lightPositionWorld.y,-_lightPositionWorld.z);_projScreenMatrix.multiplyMatrices(camera.projectionMatrix,camera.matrixWorldInverse);this._frustum.setFromProjectionMatrix(_projScreenMatrix)}}class PointLight extends Light{constructor(color,intensity,distance=0,decay=2){super(color,intensity);this.isPointLight=true;this.type="PointLight";this.distance=distance;this.decay=decay;this.shadow=new PointLightShadow}get power(){return this.intensity*4*Math.PI}set power(power){this.intensity=power/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(source,recursive){super.copy(source,recursive);this.distance=source.distance;this.decay=source.decay;this.shadow=source.shadow.clone();return this}}class DirectionalLightShadow extends LightShadow{constructor(){super(new OrthographicCamera(-5,5,5,-5,0.5,500));this.isDirectionalLightShadow=true}}class DirectionalLight extends Light{constructor(color,intensity){super(color,intensity);this.isDirectionalLight=true;this.type="DirectionalLight";this.position.copy(Object3D.DEFAULT_UP);this.updateMatrix();this.target=new Object3D;this.shadow=new DirectionalLightShadow}dispose(){this.shadow.dispose()}copy(source){super.copy(source);this.target=source.target.clone();this.shadow=source.shadow.clone();return this}}class AmbientLight extends Light{constructor(color,intensity){super(color,intensity);this.isAmbientLight=true;this.type="AmbientLight"}}class RectAreaLight extends Light{constructor(color,intensity,width=10,height=10){super(color,intensity);this.isRectAreaLight=true;this.type="RectAreaLight";this.width=width;this.height=height}get power(){return this.intensity*this.width*this.height*Math.PI}set power(power){this.intensity=power/(this.width*this.height*Math.PI)}copy(source){super.copy(source);this.width=source.width;this.height=source.height;return this}toJSON(meta){const data=super.toJSON(meta);data.object.width=this.width;data.object.height=this.height;return data}}class SphericalHarmonics3{constructor(){this.isSphericalHarmonics3=true;this.coefficients=[];for(let i=0;i&lt;9;i++){this.coefficients.push(new Vector3)}}set(coefficients){for(let i=0;i&lt;9;i++){this.coefficients[i].copy(coefficients[i])}return this}zero(){for(let i=0;i&lt;9;i++){this.coefficients[i].set(0,0,0)}return this}getAt(normal,target){const x=normal.x,y=normal.y,z=normal.z;const coeff=this.coefficients;target.copy(coeff[0]).multiplyScalar(0.282095);target.addScaledVector(coeff[1],0.488603*y);target.addScaledVector(coeff[2],0.488603*z);target.addScaledVector(coeff[3],0.488603*x);target.addScaledVector(coeff[4],1.092548*(x*y));target.addScaledVector(coeff[5],1.092548*(y*z));target.addScaledVector(coeff[6],0.315392*(3*z*z-1));target.addScaledVector(coeff[7],1.092548*(x*z));target.addScaledVector(coeff[8],0.546274*(x*x-y*y));return target}getIrradianceAt(normal,target){const x=normal.x,y=normal.y,z=normal.z;const coeff=this.coefficients;target.copy(coeff[0]).multiplyScalar(0.886227);target.addScaledVector(coeff[1],2*0.511664*y);target.addScaledVector(coeff[2],2*0.511664*z);target.addScaledVector(coeff[3],2*0.511664*x);target.addScaledVector(coeff[4],2*0.429043*x*y);target.addScaledVector(coeff[5],2*0.429043*y*z);target.addScaledVector(coeff[6],0.743125*z*z-0.247708);target.addScaledVector(coeff[7],2*0.429043*x*z);target.addScaledVector(coeff[8],0.429043*(x*x-y*y));return target}add(sh){for(let i=0;i&lt;9;i++){this.coefficients[i].add(sh.coefficients[i])}return this}addScaledSH(sh,s){for(let i=0;i&lt;9;i++){this.coefficients[i].addScaledVector(sh.coefficients[i],s)}return this}scale(s){for(let i=0;i&lt;9;i++){this.coefficients[i].multiplyScalar(s)}return this}lerp(sh,alpha){for(let i=0;i&lt;9;i++){this.coefficients[i].lerp(sh.coefficients[i],alpha)}return this}equals(sh){for(let i=0;i&lt;9;i++){if(!this.coefficients[i].equals(sh.coefficients[i])){return false}}return true}copy(sh){return this.set(sh.coefficients)}clone(){return new this.constructor().copy(this)}fromArray(array,offset=0){const coefficients=this.coefficients;for(let i=0;i&lt;9;i++){coefficients[i].fromArray(array,offset+i*3)}return this}toArray(array=[],offset=0){const coefficients=this.coefficients;for(let i=0;i&lt;9;i++){coefficients[i].toArray(array,offset+i*3)}return array}static getBasisAt(normal,shBasis){const x=normal.x,y=normal.y,z=normal.z;shBasis[0]=0.282095;shBasis[1]=0.488603*y;shBasis[2]=0.488603*z;shBasis[3]=0.488603*x;shBasis[4]=1.092548*x*y;shBasis[5]=1.092548*y*z;shBasis[6]=0.315392*(3*z*z-1);shBasis[7]=1.092548*x*z;shBasis[8]=0.546274*(x*x-y*y)}}class LightProbe extends Light{constructor(sh=new SphericalHarmonics3,intensity=1){super(undefined,intensity);this.isLightProbe=true;this.sh=sh}copy(source){super.copy(source);this.sh.copy(source.sh);return this}fromJSON(json){this.intensity=json.intensity;this.sh.fromArray(json.sh);return this}toJSON(meta){const data=super.toJSON(meta);data.object.sh=this.sh.toArray();return data}}class MaterialLoader extends Loader{constructor(manager){super(manager);this.textures={}}load(url,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(scope.manager);loader.setPath(scope.path);loader.setRequestHeader(scope.requestHeader);loader.setWithCredentials(scope.withCredentials);loader.load(url,function(text){try{onLoad(scope.parse(JSON.parse(text)))}catch(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url)}},onProgress,onError)}parse(json){const textures=this.textures;function getTexture(name){if(textures[name]===undefined){console.warn("THREE.MaterialLoader: Undefined texture",name)}return textures[name]}const material=MaterialLoader.createMaterialFromType(json.type);if(json.uuid!==undefined)material.uuid=json.uuid;if(json.name!==undefined)material.name=json.name;if(json.color!==undefined&amp;&amp;material.color!==undefined)material.color.setHex(json.color);if(json.roughness!==undefined)material.roughness=json.roughness;if(json.metalness!==undefined)material.metalness=json.metalness;if(json.sheen!==undefined)material.sheen=json.sheen;if(json.sheenColor!==undefined)material.sheenColor=new Color().setHex(json.sheenColor);if(json.sheenRoughness!==undefined)material.sheenRoughness=json.sheenRoughness;if(json.emissive!==undefined&amp;&amp;material.emissive!==undefined)material.emissive.setHex(json.emissive);if(json.specular!==undefined&amp;&amp;material.specular!==undefined)material.specular.setHex(json.specular);if(json.specularIntensity!==undefined)material.specularIntensity=json.specularIntensity;if(json.specularColor!==undefined&amp;&amp;material.specularColor!==undefined)material.specularColor.setHex(json.specularColor);if(json.shininess!==undefined)material.shininess=json.shininess;if(json.clearcoat!==undefined)material.clearcoat=json.clearcoat;if(json.clearcoatRoughness!==undefined)material.clearcoatRoughness=json.clearcoatRoughness;if(json.iridescence!==undefined)material.iridescence=json.iridescence;if(json.iridescenceIOR!==undefined)material.iridescenceIOR=json.iridescenceIOR;if(json.iridescenceThicknessRange!==undefined)material.iridescenceThicknessRange=json.iridescenceThicknessRange;if(json.transmission!==undefined)material.transmission=json.transmission;if(json.thickness!==undefined)material.thickness=json.thickness;if(json.attenuationDistance!==undefined)material.attenuationDistance=json.attenuationDistance;if(json.attenuationColor!==undefined&amp;&amp;material.attenuationColor!==undefined)material.attenuationColor.setHex(json.attenuationColor);if(json.anisotropy!==undefined)material.anisotropy=json.anisotropy;if(json.anisotropyRotation!==undefined)material.anisotropyRotation=json.anisotropyRotation;if(json.fog!==undefined)material.fog=json.fog;if(json.flatShading!==undefined)material.flatShading=json.flatShading;if(json.blending!==undefined)material.blending=json.blending;if(json.combine!==undefined)material.combine=json.combine;if(json.side!==undefined)material.side=json.side;if(json.shadowSide!==undefined)material.shadowSide=json.shadowSide;if(json.opacity!==undefined)material.opacity=json.opacity;if(json.transparent!==undefined)material.transparent=json.transparent;if(json.alphaTest!==undefined)material.alphaTest=json.alphaTest;if(json.alphaHash!==undefined)material.alphaHash=json.alphaHash;if(json.depthFunc!==undefined)material.depthFunc=json.depthFunc;if(json.depthTest!==undefined)material.depthTest=json.depthTest;if(json.depthWrite!==undefined)material.depthWrite=json.depthWrite;if(json.colorWrite!==undefined)material.colorWrite=json.colorWrite;if(json.blendSrc!==undefined)material.blendSrc=json.blendSrc;if(json.blendDst!==undefined)material.blendDst=json.blendDst;if(json.blendEquation!==undefined)material.blendEquation=json.blendEquation;if(json.blendSrcAlpha!==undefined)material.blendSrcAlpha=json.blendSrcAlpha;if(json.blendDstAlpha!==undefined)material.blendDstAlpha=json.blendDstAlpha;if(json.blendEquationAlpha!==undefined)material.blendEquationAlpha=json.blendEquationAlpha;if(json.blendColor!==undefined&amp;&amp;material.blendColor!==undefined)material.blendColor.setHex(json.blendColor);if(json.blendAlpha!==undefined)material.blendAlpha=json.blendAlpha;if(json.stencilWriteMask!==undefined)material.stencilWriteMask=json.stencilWriteMask;if(json.stencilFunc!==undefined)material.stencilFunc=json.stencilFunc;if(json.stencilRef!==undefined)material.stencilRef=json.stencilRef;if(json.stencilFuncMask!==undefined)material.stencilFuncMask=json.stencilFuncMask;if(json.stencilFail!==undefined)material.stencilFail=json.stencilFail;if(json.stencilZFail!==undefined)material.stencilZFail=json.stencilZFail;if(json.stencilZPass!==undefined)material.stencilZPass=json.stencilZPass;if(json.stencilWrite!==undefined)material.stencilWrite=json.stencilWrite;if(json.wireframe!==undefined)material.wireframe=json.wireframe;if(json.wireframeLinewidth!==undefined)material.wireframeLinewidth=json.wireframeLinewidth;if(json.wireframeLinecap!==undefined)material.wireframeLinecap=json.wireframeLinecap;if(json.wireframeLinejoin!==undefined)material.wireframeLinejoin=json.wireframeLinejoin;if(json.rotation!==undefined)material.rotation=json.rotation;if(json.linewidth!==undefined)material.linewidth=json.linewidth;if(json.dashSize!==undefined)material.dashSize=json.dashSize;if(json.gapSize!==undefined)material.gapSize=json.gapSize;if(json.scale!==undefined)material.scale=json.scale;if(json.polygonOffset!==undefined)material.polygonOffset=json.polygonOffset;if(json.polygonOffsetFactor!==undefined)material.polygonOffsetFactor=json.polygonOffsetFactor;if(json.polygonOffsetUnits!==undefined)material.polygonOffsetUnits=json.polygonOffsetUnits;if(json.dithering!==undefined)material.dithering=json.dithering;if(json.alphaToCoverage!==undefined)material.alphaToCoverage=json.alphaToCoverage;if(json.premultipliedAlpha!==undefined)material.premultipliedAlpha=json.premultipliedAlpha;if(json.forceSinglePass!==undefined)material.forceSinglePass=json.forceSinglePass;if(json.visible!==undefined)material.visible=json.visible;if(json.toneMapped!==undefined)material.toneMapped=json.toneMapped;if(json.userData!==undefined)material.userData=json.userData;if(json.vertexColors!==undefined){if(typeof json.vertexColors==="number"){material.vertexColors=json.vertexColors&gt;0?true:false}else{material.vertexColors=json.vertexColors}}if(json.uniforms!==undefined){for(const name in json.uniforms){const uniform=json.uniforms[name];material.uniforms[name]={};switch(uniform.type){case"t":material.uniforms[name].value=getTexture(uniform.value);break;case"c":material.uniforms[name].value=new Color().setHex(uniform.value);break;case"v2":material.uniforms[name].value=new Vector2().fromArray(uniform.value);break;case"v3":material.uniforms[name].value=new Vector3().fromArray(uniform.value);break;case"v4":material.uniforms[name].value=new Vector4().fromArray(uniform.value);break;case"m3":material.uniforms[name].value=new Matrix3().fromArray(uniform.value);break;case"m4":material.uniforms[name].value=new Matrix4().fromArray(uniform.value);break;default:material.uniforms[name].value=uniform.value;}}}if(json.defines!==undefined)material.defines=json.defines;if(json.vertexShader!==undefined)material.vertexShader=json.vertexShader;if(json.fragmentShader!==undefined)material.fragmentShader=json.fragmentShader;if(json.glslVersion!==undefined)material.glslVersion=json.glslVersion;if(json.extensions!==undefined){for(const key in json.extensions){material.extensions[key]=json.extensions[key]}}if(json.lights!==undefined)material.lights=json.lights;if(json.clipping!==undefined)material.clipping=json.clipping;if(json.size!==undefined)material.size=json.size;if(json.sizeAttenuation!==undefined)material.sizeAttenuation=json.sizeAttenuation;if(json.map!==undefined)material.map=getTexture(json.map);if(json.matcap!==undefined)material.matcap=getTexture(json.matcap);if(json.alphaMap!==undefined)material.alphaMap=getTexture(json.alphaMap);if(json.bumpMap!==undefined)material.bumpMap=getTexture(json.bumpMap);if(json.bumpScale!==undefined)material.bumpScale=json.bumpScale;if(json.normalMap!==undefined)material.normalMap=getTexture(json.normalMap);if(json.normalMapType!==undefined)material.normalMapType=json.normalMapType;if(json.normalScale!==undefined){let normalScale=json.normalScale;if(Array.isArray(normalScale)===false){normalScale=[normalScale,normalScale]}material.normalScale=new Vector2().fromArray(normalScale)}if(json.displacementMap!==undefined)material.displacementMap=getTexture(json.displacementMap);if(json.displacementScale!==undefined)material.displacementScale=json.displacementScale;if(json.displacementBias!==undefined)material.displacementBias=json.displacementBias;if(json.roughnessMap!==undefined)material.roughnessMap=getTexture(json.roughnessMap);if(json.metalnessMap!==undefined)material.metalnessMap=getTexture(json.metalnessMap);if(json.emissiveMap!==undefined)material.emissiveMap=getTexture(json.emissiveMap);if(json.emissiveIntensity!==undefined)material.emissiveIntensity=json.emissiveIntensity;if(json.specularMap!==undefined)material.specularMap=getTexture(json.specularMap);if(json.specularIntensityMap!==undefined)material.specularIntensityMap=getTexture(json.specularIntensityMap);if(json.specularColorMap!==undefined)material.specularColorMap=getTexture(json.specularColorMap);if(json.envMap!==undefined)material.envMap=getTexture(json.envMap);if(json.envMapRotation!==undefined)material.envMapRotation.fromArray(json.envMapRotation);if(json.envMapIntensity!==undefined)material.envMapIntensity=json.envMapIntensity;if(json.reflectivity!==undefined)material.reflectivity=json.reflectivity;if(json.refractionRatio!==undefined)material.refractionRatio=json.refractionRatio;if(json.lightMap!==undefined)material.lightMap=getTexture(json.lightMap);if(json.lightMapIntensity!==undefined)material.lightMapIntensity=json.lightMapIntensity;if(json.aoMap!==undefined)material.aoMap=getTexture(json.aoMap);if(json.aoMapIntensity!==undefined)material.aoMapIntensity=json.aoMapIntensity;if(json.gradientMap!==undefined)material.gradientMap=getTexture(json.gradientMap);if(json.clearcoatMap!==undefined)material.clearcoatMap=getTexture(json.clearcoatMap);if(json.clearcoatRoughnessMap!==undefined)material.clearcoatRoughnessMap=getTexture(json.clearcoatRoughnessMap);if(json.clearcoatNormalMap!==undefined)material.clearcoatNormalMap=getTexture(json.clearcoatNormalMap);if(json.clearcoatNormalScale!==undefined)material.clearcoatNormalScale=new Vector2().fromArray(json.clearcoatNormalScale);if(json.iridescenceMap!==undefined)material.iridescenceMap=getTexture(json.iridescenceMap);if(json.iridescenceThicknessMap!==undefined)material.iridescenceThicknessMap=getTexture(json.iridescenceThicknessMap);if(json.transmissionMap!==undefined)material.transmissionMap=getTexture(json.transmissionMap);if(json.thicknessMap!==undefined)material.thicknessMap=getTexture(json.thicknessMap);if(json.anisotropyMap!==undefined)material.anisotropyMap=getTexture(json.anisotropyMap);if(json.sheenColorMap!==undefined)material.sheenColorMap=getTexture(json.sheenColorMap);if(json.sheenRoughnessMap!==undefined)material.sheenRoughnessMap=getTexture(json.sheenRoughnessMap);return material}setTextures(value){this.textures=value;return this}static createMaterialFromType(type){const materialLib={ShadowMaterial,SpriteMaterial,RawShaderMaterial,ShaderMaterial,PointsMaterial,MeshPhysicalMaterial,MeshStandardMaterial,MeshPhongMaterial,MeshToonMaterial,MeshNormalMaterial,MeshLambertMaterial,MeshDepthMaterial,MeshDistanceMaterial,MeshBasicMaterial,MeshMatcapMaterial,LineDashedMaterial,LineBasicMaterial,Material};return new materialLib[type]}}class LoaderUtils{static decodeText(array){if(typeof TextDecoder!=="undefined"){return new TextDecoder().decode(array)}let s="";for(let i=0,il=array.length;i&lt;il;i++){s+=String.fromCharCode(array[i])}try{return decodeURIComponent(escape(s))}catch(e){return s}}static extractUrlBase(url){const index=url.lastIndexOf("/");if(index===-1)return"./";return url.slice(0,index+1)}static resolveURL(url,path){if(typeof url!=="string"||url==="")return"";if(/^https?:\/\//i.test(path)&amp;&amp;/^\//.test(url)){path=path.replace(/(^https?:\/\/[^\/]+).*/i,"$1")}if(/^(https?:)?\/\//i.test(url))return url;if(/^data:.*,.*$/i.test(url))return url;if(/^blob:.*$/i.test(url))return url;return path+url}}class InstancedBufferGeometry extends BufferGeometry{constructor(){super();this.isInstancedBufferGeometry=true;this.type="InstancedBufferGeometry";this.instanceCount=Infinity}copy(source){super.copy(source);this.instanceCount=source.instanceCount;return this}toJSON(){const data=super.toJSON();data.instanceCount=this.instanceCount;data.isInstancedBufferGeometry=true;return data}}class BufferGeometryLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(scope.manager);loader.setPath(scope.path);loader.setRequestHeader(scope.requestHeader);loader.setWithCredentials(scope.withCredentials);loader.load(url,function(text){try{onLoad(scope.parse(JSON.parse(text)))}catch(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url)}},onProgress,onError)}parse(json){const interleavedBufferMap={};const arrayBufferMap={};function getInterleavedBuffer(json,uuid){if(interleavedBufferMap[uuid]!==undefined)return interleavedBufferMap[uuid];const interleavedBuffers=json.interleavedBuffers;const interleavedBuffer=interleavedBuffers[uuid];const buffer=getArrayBuffer(json,interleavedBuffer.buffer);const array=getTypedArray(interleavedBuffer.type,buffer);const ib=new InterleavedBuffer(array,interleavedBuffer.stride);ib.uuid=interleavedBuffer.uuid;interleavedBufferMap[uuid]=ib;return ib}function getArrayBuffer(json,uuid){if(arrayBufferMap[uuid]!==undefined)return arrayBufferMap[uuid];const arrayBuffers=json.arrayBuffers;const arrayBuffer=arrayBuffers[uuid];const ab=new Uint32Array(arrayBuffer).buffer;arrayBufferMap[uuid]=ab;return ab}const geometry=json.isInstancedBufferGeometry?new InstancedBufferGeometry:new BufferGeometry;const index=json.data.index;if(index!==undefined){const typedArray=getTypedArray(index.type,index.array);geometry.setIndex(new BufferAttribute(typedArray,1))}const attributes=json.data.attributes;for(const key in attributes){const attribute=attributes[key];let bufferAttribute;if(attribute.isInterleavedBufferAttribute){const interleavedBuffer=getInterleavedBuffer(json.data,attribute.data);bufferAttribute=new InterleavedBufferAttribute(interleavedBuffer,attribute.itemSize,attribute.offset,attribute.normalized)}else{const typedArray=getTypedArray(attribute.type,attribute.array);const bufferAttributeConstr=attribute.isInstancedBufferAttribute?InstancedBufferAttribute:BufferAttribute;bufferAttribute=new bufferAttributeConstr(typedArray,attribute.itemSize,attribute.normalized)}if(attribute.name!==undefined)bufferAttribute.name=attribute.name;if(attribute.usage!==undefined)bufferAttribute.setUsage(attribute.usage);geometry.setAttribute(key,bufferAttribute)}const morphAttributes=json.data.morphAttributes;if(morphAttributes){for(const key in morphAttributes){const attributeArray=morphAttributes[key];const array=[];for(let i=0,il=attributeArray.length;i&lt;il;i++){const attribute=attributeArray[i];let bufferAttribute;if(attribute.isInterleavedBufferAttribute){const interleavedBuffer=getInterleavedBuffer(json.data,attribute.data);bufferAttribute=new InterleavedBufferAttribute(interleavedBuffer,attribute.itemSize,attribute.offset,attribute.normalized)}else{const typedArray=getTypedArray(attribute.type,attribute.array);bufferAttribute=new BufferAttribute(typedArray,attribute.itemSize,attribute.normalized)}if(attribute.name!==undefined)bufferAttribute.name=attribute.name;array.push(bufferAttribute)}geometry.morphAttributes[key]=array}}const morphTargetsRelative=json.data.morphTargetsRelative;if(morphTargetsRelative){geometry.morphTargetsRelative=true}const groups=json.data.groups||json.data.drawcalls||json.data.offsets;if(groups!==undefined){for(let i=0,n=groups.length;i!==n;++i){const group=groups[i];geometry.addGroup(group.start,group.count,group.materialIndex)}}const boundingSphere=json.data.boundingSphere;if(boundingSphere!==undefined){const center=new Vector3;if(boundingSphere.center!==undefined){center.fromArray(boundingSphere.center)}geometry.boundingSphere=new Sphere(center,boundingSphere.radius)}if(json.name)geometry.name=json.name;if(json.userData)geometry.userData=json.userData;return geometry}}class ObjectLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const path=this.path===""?LoaderUtils.extractUrlBase(url):this.path;this.resourcePath=this.resourcePath||path;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,function(text){let json=null;try{json=JSON.parse(text)}catch(error){if(onError!==undefined)onError(error);console.error("THREE:ObjectLoader: Can't parse "+url+".",error.message);return}const metadata=json.metadata;if(metadata===undefined||metadata.type===undefined||metadata.type.toLowerCase()==="geometry"){if(onError!==undefined)onError(new Error("THREE.ObjectLoader: Can't load "+url));console.error("THREE.ObjectLoader: Can't load "+url);return}scope.parse(json,onLoad)},onProgress,onError)}async loadAsync(url,onProgress){const scope=this;const path=this.path===""?LoaderUtils.extractUrlBase(url):this.path;this.resourcePath=this.resourcePath||path;const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);const text=await loader.loadAsync(url,onProgress);const json=JSON.parse(text);const metadata=json.metadata;if(metadata===undefined||metadata.type===undefined||metadata.type.toLowerCase()==="geometry"){throw new Error("THREE.ObjectLoader: Can't load "+url)}return await scope.parseAsync(json)}parse(json,onLoad){const animations=this.parseAnimations(json.animations);const shapes=this.parseShapes(json.shapes);const geometries=this.parseGeometries(json.geometries,shapes);const images=this.parseImages(json.images,function(){if(onLoad!==undefined)onLoad(object)});const textures=this.parseTextures(json.textures,images);const materials=this.parseMaterials(json.materials,textures);const object=this.parseObject(json.object,geometries,materials,textures,animations);const skeletons=this.parseSkeletons(json.skeletons,object);this.bindSkeletons(object,skeletons);if(onLoad!==undefined){let hasImages=false;for(const uuid in images){if(images[uuid].data instanceof HTMLImageElement){hasImages=true;break}}if(hasImages===false)onLoad(object)}return object}async parseAsync(json){const animations=this.parseAnimations(json.animations);const shapes=this.parseShapes(json.shapes);const geometries=this.parseGeometries(json.geometries,shapes);const images=await this.parseImagesAsync(json.images);const textures=this.parseTextures(json.textures,images);const materials=this.parseMaterials(json.materials,textures);const object=this.parseObject(json.object,geometries,materials,textures,animations);const skeletons=this.parseSkeletons(json.skeletons,object);this.bindSkeletons(object,skeletons);return object}parseShapes(json){const shapes={};if(json!==undefined){for(let i=0,l=json.length;i&lt;l;i++){const shape=new Shape().fromJSON(json[i]);shapes[shape.uuid]=shape}}return shapes}parseSkeletons(json,object){const skeletons={};const bones={};object.traverse(function(child){if(child.isBone)bones[child.uuid]=child});if(json!==undefined){for(let i=0,l=json.length;i&lt;l;i++){const skeleton=new Skeleton().fromJSON(json[i],bones);skeletons[skeleton.uuid]=skeleton}}return skeletons}parseGeometries(json,shapes){const geometries={};if(json!==undefined){const bufferGeometryLoader=new BufferGeometryLoader;for(let i=0,l=json.length;i&lt;l;i++){let geometry;const data=json[i];switch(data.type){case"BufferGeometry":case"InstancedBufferGeometry":geometry=bufferGeometryLoader.parse(data);break;default:if(data.type in Geometries){geometry=Geometries[data.type].fromJSON(data,shapes)}else{console.warn(`THREE.ObjectLoader: Unsupported geometry type "${data.type}"`)}}geometry.uuid=data.uuid;if(data.name!==undefined)geometry.name=data.name;if(data.userData!==undefined)geometry.userData=data.userData;geometries[data.uuid]=geometry}}return geometries}parseMaterials(json,textures){const cache={};const materials={};if(json!==undefined){const loader=new MaterialLoader;loader.setTextures(textures);for(let i=0,l=json.length;i&lt;l;i++){const data=json[i];if(cache[data.uuid]===undefined){cache[data.uuid]=loader.parse(data)}materials[data.uuid]=cache[data.uuid]}}return materials}parseAnimations(json){const animations={};if(json!==undefined){for(let i=0;i&lt;json.length;i++){const data=json[i];const clip=AnimationClip.parse(data);animations[clip.uuid]=clip}}return animations}parseImages(json,onLoad){const scope=this;const images={};let loader;function loadImage(url){scope.manager.itemStart(url);return loader.load(url,function(){scope.manager.itemEnd(url)},undefined,function(){scope.manager.itemError(url);scope.manager.itemEnd(url)})}function deserializeImage(image){if(typeof image==="string"){const url=image;const path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(url)?url:scope.resourcePath+url;return loadImage(path)}else{if(image.data){return{data:getTypedArray(image.type,image.data),width:image.width,height:image.height}}else{return null}}}if(json!==undefined&amp;&amp;json.length&gt;0){const manager=new LoadingManager(onLoad);loader=new ImageLoader(manager);loader.setCrossOrigin(this.crossOrigin);for(let i=0,il=json.length;i&lt;il;i++){const image=json[i];const url=image.url;if(Array.isArray(url)){const imageArray=[];for(let j=0,jl=url.length;j&lt;jl;j++){const currentUrl=url[j];const deserializedImage=deserializeImage(currentUrl);if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage)}else{imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height))}}}images[image.uuid]=new Source(imageArray)}else{const deserializedImage=deserializeImage(image.url);images[image.uuid]=new Source(deserializedImage)}}}return images}async parseImagesAsync(json){const scope=this;const images={};let loader;async function deserializeImage(image){if(typeof image==="string"){const url=image;const path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(url)?url:scope.resourcePath+url;return await loader.loadAsync(path)}else{if(image.data){return{data:getTypedArray(image.type,image.data),width:image.width,height:image.height}}else{return null}}}if(json!==undefined&amp;&amp;json.length&gt;0){loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);for(let i=0,il=json.length;i&lt;il;i++){const image=json[i];const url=image.url;if(Array.isArray(url)){const imageArray=[];for(let j=0,jl=url.length;j&lt;jl;j++){const currentUrl=url[j];const deserializedImage=await deserializeImage(currentUrl);if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage)}else{imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height))}}}images[image.uuid]=new Source(imageArray)}else{const deserializedImage=await deserializeImage(image.url);images[image.uuid]=new Source(deserializedImage)}}}return images}parseTextures(json,images){function parseConstant(value,type){if(typeof value==="number")return value;console.warn("THREE.ObjectLoader.parseTexture: Constant should be in numeric form.",value);return type[value]}const textures={};if(json!==undefined){for(let i=0,l=json.length;i&lt;l;i++){const data=json[i];if(data.image===undefined){console.warn("THREE.ObjectLoader: No \"image\" specified for",data.uuid)}if(images[data.image]===undefined){console.warn("THREE.ObjectLoader: Undefined image",data.image)}const source=images[data.image];const image=source.data;let texture;if(Array.isArray(image)){texture=new CubeTexture;if(image.length===6)texture.needsUpdate=true}else{if(image&amp;&amp;image.data){texture=new DataTexture}else{texture=new Texture}if(image)texture.needsUpdate=true}texture.source=source;texture.uuid=data.uuid;if(data.name!==undefined)texture.name=data.name;if(data.mapping!==undefined)texture.mapping=parseConstant(data.mapping,TEXTURE_MAPPING);if(data.channel!==undefined)texture.channel=data.channel;if(data.offset!==undefined)texture.offset.fromArray(data.offset);if(data.repeat!==undefined)texture.repeat.fromArray(data.repeat);if(data.center!==undefined)texture.center.fromArray(data.center);if(data.rotation!==undefined)texture.rotation=data.rotation;if(data.wrap!==undefined){texture.wrapS=parseConstant(data.wrap[0],TEXTURE_WRAPPING);texture.wrapT=parseConstant(data.wrap[1],TEXTURE_WRAPPING)}if(data.format!==undefined)texture.format=data.format;if(data.internalFormat!==undefined)texture.internalFormat=data.internalFormat;if(data.type!==undefined)texture.type=data.type;if(data.colorSpace!==undefined)texture.colorSpace=data.colorSpace;if(data.minFilter!==undefined)texture.minFilter=parseConstant(data.minFilter,TEXTURE_FILTER);if(data.magFilter!==undefined)texture.magFilter=parseConstant(data.magFilter,TEXTURE_FILTER);if(data.anisotropy!==undefined)texture.anisotropy=data.anisotropy;if(data.flipY!==undefined)texture.flipY=data.flipY;if(data.generateMipmaps!==undefined)texture.generateMipmaps=data.generateMipmaps;if(data.premultiplyAlpha!==undefined)texture.premultiplyAlpha=data.premultiplyAlpha;if(data.unpackAlignment!==undefined)texture.unpackAlignment=data.unpackAlignment;if(data.compareFunction!==undefined)texture.compareFunction=data.compareFunction;if(data.userData!==undefined)texture.userData=data.userData;textures[data.uuid]=texture}}return textures}parseObject(data,geometries,materials,textures,animations){let object;function getGeometry(name){if(geometries[name]===undefined){console.warn("THREE.ObjectLoader: Undefined geometry",name)}return geometries[name]}function getMaterial(name){if(name===undefined)return undefined;if(Array.isArray(name)){const array=[];for(let i=0,l=name.length;i&lt;l;i++){const uuid=name[i];if(materials[uuid]===undefined){console.warn("THREE.ObjectLoader: Undefined material",uuid)}array.push(materials[uuid])}return array}if(materials[name]===undefined){console.warn("THREE.ObjectLoader: Undefined material",name)}return materials[name]}function getTexture(uuid){if(textures[uuid]===undefined){console.warn("THREE.ObjectLoader: Undefined texture",uuid)}return textures[uuid]}let geometry,material;switch(data.type){case"Scene":object=new Scene;if(data.background!==undefined){if(Number.isInteger(data.background)){object.background=new Color(data.background)}else{object.background=getTexture(data.background)}}if(data.environment!==undefined){object.environment=getTexture(data.environment)}if(data.fog!==undefined){if(data.fog.type==="Fog"){object.fog=new Fog(data.fog.color,data.fog.near,data.fog.far)}else if(data.fog.type==="FogExp2"){object.fog=new FogExp2(data.fog.color,data.fog.density)}if(data.fog.name!==""){object.fog.name=data.fog.name}}if(data.backgroundBlurriness!==undefined)object.backgroundBlurriness=data.backgroundBlurriness;if(data.backgroundIntensity!==undefined)object.backgroundIntensity=data.backgroundIntensity;if(data.backgroundRotation!==undefined)object.backgroundRotation.fromArray(data.backgroundRotation);if(data.environmentIntensity!==undefined)object.environmentIntensity=data.environmentIntensity;if(data.environmentRotation!==undefined)object.environmentRotation.fromArray(data.environmentRotation);break;case"PerspectiveCamera":object=new PerspectiveCamera(data.fov,data.aspect,data.near,data.far);if(data.focus!==undefined)object.focus=data.focus;if(data.zoom!==undefined)object.zoom=data.zoom;if(data.filmGauge!==undefined)object.filmGauge=data.filmGauge;if(data.filmOffset!==undefined)object.filmOffset=data.filmOffset;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case"OrthographicCamera":object=new OrthographicCamera(data.left,data.right,data.top,data.bottom,data.near,data.far);if(data.zoom!==undefined)object.zoom=data.zoom;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case"AmbientLight":object=new AmbientLight(data.color,data.intensity);break;case"DirectionalLight":object=new DirectionalLight(data.color,data.intensity);break;case"PointLight":object=new PointLight(data.color,data.intensity,data.distance,data.decay);break;case"RectAreaLight":object=new RectAreaLight(data.color,data.intensity,data.width,data.height);break;case"SpotLight":object=new SpotLight(data.color,data.intensity,data.distance,data.angle,data.penumbra,data.decay);break;case"HemisphereLight":object=new HemisphereLight(data.color,data.groundColor,data.intensity);break;case"LightProbe":object=new LightProbe().fromJSON(data);break;case"SkinnedMesh":geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new SkinnedMesh(geometry,material);if(data.bindMode!==undefined)object.bindMode=data.bindMode;if(data.bindMatrix!==undefined)object.bindMatrix.fromArray(data.bindMatrix);if(data.skeleton!==undefined)object.skeleton=data.skeleton;break;case"Mesh":geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new Mesh(geometry,material);break;case"InstancedMesh":geometry=getGeometry(data.geometry);material=getMaterial(data.material);const count=data.count;const instanceMatrix=data.instanceMatrix;const instanceColor=data.instanceColor;object=new InstancedMesh(geometry,material,count);object.instanceMatrix=new InstancedBufferAttribute(new Float32Array(instanceMatrix.array),16);if(instanceColor!==undefined)object.instanceColor=new InstancedBufferAttribute(new Float32Array(instanceColor.array),instanceColor.itemSize);break;case"BatchedMesh":geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new BatchedMesh(data.maxGeometryCount,data.maxVertexCount,data.maxIndexCount,material);object.geometry=geometry;object.perObjectFrustumCulled=data.perObjectFrustumCulled;object.sortObjects=data.sortObjects;object._drawRanges=data.drawRanges;object._reservedRanges=data.reservedRanges;object._visibility=data.visibility;object._active=data.active;object._bounds=data.bounds.map(bound=&gt;{const box=new Box3;box.min.fromArray(bound.boxMin);box.max.fromArray(bound.boxMax);const sphere=new Sphere;sphere.radius=bound.sphereRadius;sphere.center.fromArray(bound.sphereCenter);return{boxInitialized:bound.boxInitialized,box:box,sphereInitialized:bound.sphereInitialized,sphere:sphere}});object._maxGeometryCount=data.maxGeometryCount;object._maxVertexCount=data.maxVertexCount;object._maxIndexCount=data.maxIndexCount;object._geometryInitialized=data.geometryInitialized;object._geometryCount=data.geometryCount;object._matricesTexture=getTexture(data.matricesTexture.uuid);break;case"LOD":object=new LOD;break;case"Line":object=new Line(getGeometry(data.geometry),getMaterial(data.material));break;case"LineLoop":object=new LineLoop(getGeometry(data.geometry),getMaterial(data.material));break;case"LineSegments":object=new LineSegments(getGeometry(data.geometry),getMaterial(data.material));break;case"PointCloud":case"Points":object=new Points(getGeometry(data.geometry),getMaterial(data.material));break;case"Sprite":object=new Sprite(getMaterial(data.material));break;case"Group":object=new Group;break;case"Bone":object=new Bone;break;default:object=new Object3D;}object.uuid=data.uuid;if(data.name!==undefined)object.name=data.name;if(data.matrix!==undefined){object.matrix.fromArray(data.matrix);if(data.matrixAutoUpdate!==undefined)object.matrixAutoUpdate=data.matrixAutoUpdate;if(object.matrixAutoUpdate)object.matrix.decompose(object.position,object.quaternion,object.scale)}else{if(data.position!==undefined)object.position.fromArray(data.position);if(data.rotation!==undefined)object.rotation.fromArray(data.rotation);if(data.quaternion!==undefined)object.quaternion.fromArray(data.quaternion);if(data.scale!==undefined)object.scale.fromArray(data.scale)}if(data.up!==undefined)object.up.fromArray(data.up);if(data.castShadow!==undefined)object.castShadow=data.castShadow;if(data.receiveShadow!==undefined)object.receiveShadow=data.receiveShadow;if(data.shadow){if(data.shadow.bias!==undefined)object.shadow.bias=data.shadow.bias;if(data.shadow.normalBias!==undefined)object.shadow.normalBias=data.shadow.normalBias;if(data.shadow.radius!==undefined)object.shadow.radius=data.shadow.radius;if(data.shadow.mapSize!==undefined)object.shadow.mapSize.fromArray(data.shadow.mapSize);if(data.shadow.camera!==undefined)object.shadow.camera=this.parseObject(data.shadow.camera)}if(data.visible!==undefined)object.visible=data.visible;if(data.frustumCulled!==undefined)object.frustumCulled=data.frustumCulled;if(data.renderOrder!==undefined)object.renderOrder=data.renderOrder;if(data.userData!==undefined)object.userData=data.userData;if(data.layers!==undefined)object.layers.mask=data.layers;if(data.children!==undefined){const children=data.children;for(let i=0;i&lt;children.length;i++){object.add(this.parseObject(children[i],geometries,materials,textures,animations))}}if(data.animations!==undefined){const objectAnimations=data.animations;for(let i=0;i&lt;objectAnimations.length;i++){const uuid=objectAnimations[i];object.animations.push(animations[uuid])}}if(data.type==="LOD"){if(data.autoUpdate!==undefined)object.autoUpdate=data.autoUpdate;const levels=data.levels;for(let l=0;l&lt;levels.length;l++){const level=levels[l];const child=object.getObjectByProperty("uuid",level.object);if(child!==undefined){object.addLevel(child,level.distance,level.hysteresis)}}}return object}bindSkeletons(object,skeletons){if(Object.keys(skeletons).length===0)return;object.traverse(function(child){if(child.isSkinnedMesh===true&amp;&amp;child.skeleton!==undefined){const skeleton=skeletons[child.skeleton];if(skeleton===undefined){console.warn("THREE.ObjectLoader: No skeleton found with UUID:",child.skeleton)}else{child.bind(skeleton,child.bindMatrix)}}})}}const TEXTURE_MAPPING={UVMapping:UVMapping,CubeReflectionMapping:CubeReflectionMapping,CubeRefractionMapping:CubeRefractionMapping,EquirectangularReflectionMapping:EquirectangularReflectionMapping,EquirectangularRefractionMapping:EquirectangularRefractionMapping,CubeUVReflectionMapping:CubeUVReflectionMapping};const TEXTURE_WRAPPING={RepeatWrapping:RepeatWrapping,ClampToEdgeWrapping:ClampToEdgeWrapping,MirroredRepeatWrapping:MirroredRepeatWrapping};const TEXTURE_FILTER={NearestFilter:NearestFilter,NearestMipmapNearestFilter:NearestMipmapNearestFilter,NearestMipmapLinearFilter:NearestMipmapLinearFilter,LinearFilter:LinearFilter,LinearMipmapNearestFilter:LinearMipmapNearestFilter,LinearMipmapLinearFilter:LinearMipmapLinearFilter};class ImageBitmapLoader extends Loader{constructor(manager){super(manager);this.isImageBitmapLoader=true;if(typeof createImageBitmap==="undefined"){console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported.")}if(typeof fetch==="undefined"){console.warn("THREE.ImageBitmapLoader: fetch() not supported.")}this.options={premultiplyAlpha:"none"}}setOptions(options){this.options=options;return this}load(url,onLoad,onProgress,onError){if(url===undefined)url="";if(this.path!==undefined)url=this.path+url;url=this.manager.resolveURL(url);const scope=this;const cached=Cache.get(url);if(cached!==undefined){scope.manager.itemStart(url);if(cached.then){cached.then(imageBitmap=&gt;{if(onLoad)onLoad(imageBitmap);scope.manager.itemEnd(url)}).catch(e=&gt;{if(onError)onError(e)});return}setTimeout(function(){if(onLoad)onLoad(cached);scope.manager.itemEnd(url)},0);return cached}const fetchOptions={};fetchOptions.credentials=this.crossOrigin==="anonymous"?"same-origin":"include";fetchOptions.headers=this.requestHeader;const promise=fetch(url,fetchOptions).then(function(res){return res.blob()}).then(function(blob){return createImageBitmap(blob,Object.assign(scope.options,{colorSpaceConversion:"none"}))}).then(function(imageBitmap){Cache.add(url,imageBitmap);if(onLoad)onLoad(imageBitmap);scope.manager.itemEnd(url);return imageBitmap}).catch(function(e){if(onError)onError(e);Cache.remove(url);scope.manager.itemError(url);scope.manager.itemEnd(url)});Cache.add(url,promise);scope.manager.itemStart(url)}}let _context;class AudioContext{static getContext(){if(_context===undefined){_context=new(window.AudioContext||window.webkitAudioContext)}return _context}static setContext(value){_context=value}}class AudioLoader extends Loader{constructor(manager){super(manager)}load(url,onLoad,onProgress,onError){const scope=this;const loader=new FileLoader(this.manager);loader.setResponseType("arraybuffer");loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,function(buffer){try{const bufferCopy=buffer.slice(0);const context=AudioContext.getContext();context.decodeAudioData(bufferCopy,function(audioBuffer){onLoad(audioBuffer)}).catch(handleError)}catch(e){handleError(e)}},onProgress,onError);function handleError(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url)}}}const _eyeRight=new Matrix4;const _eyeLeft=new Matrix4;const _projectionMatrix=new Matrix4;class StereoCamera{constructor(){this.type="StereoCamera";this.aspect=1;this.eyeSep=0.064;this.cameraL=new PerspectiveCamera;this.cameraL.layers.enable(1);this.cameraL.matrixAutoUpdate=false;this.cameraR=new PerspectiveCamera;this.cameraR.layers.enable(2);this.cameraR.matrixAutoUpdate=false;this._cache={focus:null,fov:null,aspect:null,near:null,far:null,zoom:null,eyeSep:null}}update(camera){const cache=this._cache;const needsUpdate=cache.focus!==camera.focus||cache.fov!==camera.fov||cache.aspect!==camera.aspect*this.aspect||cache.near!==camera.near||cache.far!==camera.far||cache.zoom!==camera.zoom||cache.eyeSep!==this.eyeSep;if(needsUpdate){cache.focus=camera.focus;cache.fov=camera.fov;cache.aspect=camera.aspect*this.aspect;cache.near=camera.near;cache.far=camera.far;cache.zoom=camera.zoom;cache.eyeSep=this.eyeSep;_projectionMatrix.copy(camera.projectionMatrix);const eyeSepHalf=cache.eyeSep/2;const eyeSepOnProjection=eyeSepHalf*cache.near/cache.focus;const ymax=cache.near*Math.tan(DEG2RAD*cache.fov*0.5)/cache.zoom;let xmin,xmax;_eyeLeft.elements[12]=-eyeSepHalf;_eyeRight.elements[12]=eyeSepHalf;xmin=-ymax*cache.aspect+eyeSepOnProjection;xmax=ymax*cache.aspect+eyeSepOnProjection;_projectionMatrix.elements[0]=2*cache.near/(xmax-xmin);_projectionMatrix.elements[8]=(xmax+xmin)/(xmax-xmin);this.cameraL.projectionMatrix.copy(_projectionMatrix);xmin=-ymax*cache.aspect-eyeSepOnProjection;xmax=ymax*cache.aspect-eyeSepOnProjection;_projectionMatrix.elements[0]=2*cache.near/(xmax-xmin);_projectionMatrix.elements[8]=(xmax+xmin)/(xmax-xmin);this.cameraR.projectionMatrix.copy(_projectionMatrix)}this.cameraL.matrixWorld.copy(camera.matrixWorld).multiply(_eyeLeft);this.cameraR.matrixWorld.copy(camera.matrixWorld).multiply(_eyeRight)}}class Clock{constructor(autoStart=true){this.autoStart=autoStart;this.startTime=0;this.oldTime=0;this.elapsedTime=0;this.running=false}start(){this.startTime=now();this.oldTime=this.startTime;this.elapsedTime=0;this.running=true}stop(){this.getElapsedTime();this.running=false;this.autoStart=false}getElapsedTime(){this.getDelta();return this.elapsedTime}getDelta(){let diff=0;if(this.autoStart&amp;&amp;!this.running){this.start();return 0}if(this.running){const newTime=now();diff=(newTime-this.oldTime)/1000;this.oldTime=newTime;this.elapsedTime+=diff}return diff}}function now(){return(typeof performance==="undefined"?Date:performance).now()}const _position$1=new Vector3;const _quaternion$1=new Quaternion;const _scale$1=new Vector3;const _orientation$1=new Vector3;class AudioListener extends Object3D{constructor(){super();this.type="AudioListener";this.context=AudioContext.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0;this._clock=new Clock}getInput(){return this.gain}removeFilter(){if(this.filter!==null){this.gain.disconnect(this.filter);this.filter.disconnect(this.context.destination);this.gain.connect(this.context.destination);this.filter=null}return this}getFilter(){return this.filter}setFilter(value){if(this.filter!==null){this.gain.disconnect(this.filter);this.filter.disconnect(this.context.destination)}else{this.gain.disconnect(this.context.destination)}this.filter=value;this.gain.connect(this.filter);this.filter.connect(this.context.destination);return this}getMasterVolume(){return this.gain.gain.value}setMasterVolume(value){this.gain.gain.setTargetAtTime(value,this.context.currentTime,0.01);return this}updateMatrixWorld(force){super.updateMatrixWorld(force);const listener=this.context.listener;const up=this.up;this.timeDelta=this._clock.getDelta();this.matrixWorld.decompose(_position$1,_quaternion$1,_scale$1);_orientation$1.set(0,0,-1).applyQuaternion(_quaternion$1);if(listener.positionX){const endTime=this.context.currentTime+this.timeDelta;listener.positionX.linearRampToValueAtTime(_position$1.x,endTime);listener.positionY.linearRampToValueAtTime(_position$1.y,endTime);listener.positionZ.linearRampToValueAtTime(_position$1.z,endTime);listener.forwardX.linearRampToValueAtTime(_orientation$1.x,endTime);listener.forwardY.linearRampToValueAtTime(_orientation$1.y,endTime);listener.forwardZ.linearRampToValueAtTime(_orientation$1.z,endTime);listener.upX.linearRampToValueAtTime(up.x,endTime);listener.upY.linearRampToValueAtTime(up.y,endTime);listener.upZ.linearRampToValueAtTime(up.z,endTime)}else{listener.setPosition(_position$1.x,_position$1.y,_position$1.z);listener.setOrientation(_orientation$1.x,_orientation$1.y,_orientation$1.z,up.x,up.y,up.z)}}}class Audio extends Object3D{constructor(listener){super();this.type="Audio";this.listener=listener;this.context=listener.context;this.gain=this.context.createGain();this.gain.connect(listener.getInput());this.autoplay=false;this.buffer=null;this.detune=0;this.loop=false;this.loopStart=0;this.loopEnd=0;this.offset=0;this.duration=undefined;this.playbackRate=1;this.isPlaying=false;this.hasPlaybackControl=true;this.source=null;this.sourceType="empty";this._startedAt=0;this._progress=0;this._connected=false;this.filters=[]}getOutput(){return this.gain}setNodeSource(audioNode){this.hasPlaybackControl=false;this.sourceType="audioNode";this.source=audioNode;this.connect();return this}setMediaElementSource(mediaElement){this.hasPlaybackControl=false;this.sourceType="mediaNode";this.source=this.context.createMediaElementSource(mediaElement);this.connect();return this}setMediaStreamSource(mediaStream){this.hasPlaybackControl=false;this.sourceType="mediaStreamNode";this.source=this.context.createMediaStreamSource(mediaStream);this.connect();return this}setBuffer(audioBuffer){this.buffer=audioBuffer;this.sourceType="buffer";if(this.autoplay)this.play();return this}play(delay=0){if(this.isPlaying===true){console.warn("THREE.Audio: Audio is already playing.");return}if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return}this._startedAt=this.context.currentTime+delay;const source=this.context.createBufferSource();source.buffer=this.buffer;source.loop=this.loop;source.loopStart=this.loopStart;source.loopEnd=this.loopEnd;source.onended=this.onEnded.bind(this);source.start(this._startedAt,this._progress+this.offset,this.duration);this.isPlaying=true;this.source=source;this.setDetune(this.detune);this.setPlaybackRate(this.playbackRate);return this.connect()}pause(){if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return}if(this.isPlaying===true){this._progress+=Math.max(this.context.currentTime-this._startedAt,0)*this.playbackRate;if(this.loop===true){this._progress=this._progress%(this.duration||this.buffer.duration)}this.source.stop();this.source.onended=null;this.isPlaying=false}return this}stop(){if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return}this._progress=0;if(this.source!==null){this.source.stop();this.source.onended=null}this.isPlaying=false;return this}connect(){if(this.filters.length&gt;0){this.source.connect(this.filters[0]);for(let i=1,l=this.filters.length;i&lt;l;i++){this.filters[i-1].connect(this.filters[i])}this.filters[this.filters.length-1].connect(this.getOutput())}else{this.source.connect(this.getOutput())}this._connected=true;return this}disconnect(){if(this._connected===false){return}if(this.filters.length&gt;0){this.source.disconnect(this.filters[0]);for(let i=1,l=this.filters.length;i&lt;l;i++){this.filters[i-1].disconnect(this.filters[i])}this.filters[this.filters.length-1].disconnect(this.getOutput())}else{this.source.disconnect(this.getOutput())}this._connected=false;return this}getFilters(){return this.filters}setFilters(value){if(!value)value=[];if(this._connected===true){this.disconnect();this.filters=value.slice();this.connect()}else{this.filters=value.slice()}return this}setDetune(value){this.detune=value;if(this.isPlaying===true&amp;&amp;this.source.detune!==undefined){this.source.detune.setTargetAtTime(this.detune,this.context.currentTime,0.01)}return this}getDetune(){return this.detune}getFilter(){return this.getFilters()[0]}setFilter(filter){return this.setFilters(filter?[filter]:[])}setPlaybackRate(value){if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return}this.playbackRate=value;if(this.isPlaying===true){this.source.playbackRate.setTargetAtTime(this.playbackRate,this.context.currentTime,0.01)}return this}getPlaybackRate(){return this.playbackRate}onEnded(){this.isPlaying=false}getLoop(){if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return false}return this.loop}setLoop(value){if(this.hasPlaybackControl===false){console.warn("THREE.Audio: this Audio has no playback control.");return}this.loop=value;if(this.isPlaying===true){this.source.loop=this.loop}return this}setLoopStart(value){this.loopStart=value;return this}setLoopEnd(value){this.loopEnd=value;return this}getVolume(){return this.gain.gain.value}setVolume(value){this.gain.gain.setTargetAtTime(value,this.context.currentTime,0.01);return this}}const _position=new Vector3;const _quaternion=new Quaternion;const _scale=new Vector3;const _orientation=new Vector3;class PositionalAudio extends Audio{constructor(listener){super(listener);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}connect(){super.connect();this.panner.connect(this.gain)}disconnect(){super.disconnect();this.panner.disconnect(this.gain)}getOutput(){return this.panner}getRefDistance(){return this.panner.refDistance}setRefDistance(value){this.panner.refDistance=value;return this}getRolloffFactor(){return this.panner.rolloffFactor}setRolloffFactor(value){this.panner.rolloffFactor=value;return this}getDistanceModel(){return this.panner.distanceModel}setDistanceModel(value){this.panner.distanceModel=value;return this}getMaxDistance(){return this.panner.maxDistance}setMaxDistance(value){this.panner.maxDistance=value;return this}setDirectionalCone(coneInnerAngle,coneOuterAngle,coneOuterGain){this.panner.coneInnerAngle=coneInnerAngle;this.panner.coneOuterAngle=coneOuterAngle;this.panner.coneOuterGain=coneOuterGain;return this}updateMatrixWorld(force){super.updateMatrixWorld(force);if(this.hasPlaybackControl===true&amp;&amp;this.isPlaying===false)return;this.matrixWorld.decompose(_position,_quaternion,_scale);_orientation.set(0,0,1).applyQuaternion(_quaternion);const panner=this.panner;if(panner.positionX){const endTime=this.context.currentTime+this.listener.timeDelta;panner.positionX.linearRampToValueAtTime(_position.x,endTime);panner.positionY.linearRampToValueAtTime(_position.y,endTime);panner.positionZ.linearRampToValueAtTime(_position.z,endTime);panner.orientationX.linearRampToValueAtTime(_orientation.x,endTime);panner.orientationY.linearRampToValueAtTime(_orientation.y,endTime);panner.orientationZ.linearRampToValueAtTime(_orientation.z,endTime)}else{panner.setPosition(_position.x,_position.y,_position.z);panner.setOrientation(_orientation.x,_orientation.y,_orientation.z)}}}class AudioAnalyser{constructor(audio,fftSize=2048){this.analyser=audio.context.createAnalyser();this.analyser.fftSize=fftSize;this.data=new Uint8Array(this.analyser.frequencyBinCount);audio.getOutput().connect(this.analyser)}getFrequencyData(){this.analyser.getByteFrequencyData(this.data);return this.data}getAverageFrequency(){let value=0;const data=this.getFrequencyData();for(let i=0;i&lt;data.length;i++){value+=data[i]}return value/data.length}}class PropertyMixer{constructor(binding,typeName,valueSize){this.binding=binding;this.valueSize=valueSize;let mixFunction,mixFunctionAdditive,setIdentity;switch(typeName){case"quaternion":mixFunction=this._slerp;mixFunctionAdditive=this._slerpAdditive;setIdentity=this._setAdditiveIdentityQuaternion;this.buffer=new Float64Array(valueSize*6);this._workIndex=5;break;case"string":case"bool":mixFunction=this._select;mixFunctionAdditive=this._select;setIdentity=this._setAdditiveIdentityOther;this.buffer=new Array(valueSize*5);break;default:mixFunction=this._lerp;mixFunctionAdditive=this._lerpAdditive;setIdentity=this._setAdditiveIdentityNumeric;this.buffer=new Float64Array(valueSize*5);}this._mixBufferRegion=mixFunction;this._mixBufferRegionAdditive=mixFunctionAdditive;this._setIdentity=setIdentity;this._origIndex=3;this._addIndex=4;this.cumulativeWeight=0;this.cumulativeWeightAdditive=0;this.useCount=0;this.referenceCount=0}accumulate(accuIndex,weight){const buffer=this.buffer,stride=this.valueSize,offset=accuIndex*stride+stride;let currentWeight=this.cumulativeWeight;if(currentWeight===0){for(let i=0;i!==stride;++i){buffer[offset+i]=buffer[i]}currentWeight=weight}else{currentWeight+=weight;const mix=weight/currentWeight;this._mixBufferRegion(buffer,offset,0,mix,stride)}this.cumulativeWeight=currentWeight}accumulateAdditive(weight){const buffer=this.buffer,stride=this.valueSize,offset=stride*this._addIndex;if(this.cumulativeWeightAdditive===0){this._setIdentity()}this._mixBufferRegionAdditive(buffer,offset,0,weight,stride);this.cumulativeWeightAdditive+=weight}apply(accuIndex){const stride=this.valueSize,buffer=this.buffer,offset=accuIndex*stride+stride,weight=this.cumulativeWeight,weightAdditive=this.cumulativeWeightAdditive,binding=this.binding;this.cumulativeWeight=0;this.cumulativeWeightAdditive=0;if(weight&lt;1){const originalValueOffset=stride*this._origIndex;this._mixBufferRegion(buffer,offset,originalValueOffset,1-weight,stride)}if(weightAdditive&gt;0){this._mixBufferRegionAdditive(buffer,offset,this._addIndex*stride,1,stride)}for(let i=stride,e=stride+stride;i!==e;++i){if(buffer[i]!==buffer[i+stride]){binding.setValue(buffer,offset);break}}}saveOriginalState(){const binding=this.binding;const buffer=this.buffer,stride=this.valueSize,originalValueOffset=stride*this._origIndex;binding.getValue(buffer,originalValueOffset);for(let i=stride,e=originalValueOffset;i!==e;++i){buffer[i]=buffer[originalValueOffset+i%stride]}this._setIdentity();this.cumulativeWeight=0;this.cumulativeWeightAdditive=0}restoreOriginalState(){const originalValueOffset=this.valueSize*3;this.binding.setValue(this.buffer,originalValueOffset)}_setAdditiveIdentityNumeric(){const startIndex=this._addIndex*this.valueSize;const endIndex=startIndex+this.valueSize;for(let i=startIndex;i&lt;endIndex;i++){this.buffer[i]=0}}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric();this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const startIndex=this._origIndex*this.valueSize;const targetIndex=this._addIndex*this.valueSize;for(let i=0;i&lt;this.valueSize;i++){this.buffer[targetIndex+i]=this.buffer[startIndex+i]}}_select(buffer,dstOffset,srcOffset,t,stride){if(t&gt;=0.5){for(let i=0;i!==stride;++i){buffer[dstOffset+i]=buffer[srcOffset+i]}}}_slerp(buffer,dstOffset,srcOffset,t){Quaternion.slerpFlat(buffer,dstOffset,buffer,dstOffset,buffer,srcOffset,t)}_slerpAdditive(buffer,dstOffset,srcOffset,t,stride){const workOffset=this._workIndex*stride;Quaternion.multiplyQuaternionsFlat(buffer,workOffset,buffer,dstOffset,buffer,srcOffset);Quaternion.slerpFlat(buffer,dstOffset,buffer,dstOffset,buffer,workOffset,t)}_lerp(buffer,dstOffset,srcOffset,t,stride){const s=1-t;for(let i=0;i!==stride;++i){const j=dstOffset+i;buffer[j]=buffer[j]*s+buffer[srcOffset+i]*t}}_lerpAdditive(buffer,dstOffset,srcOffset,t,stride){for(let i=0;i!==stride;++i){const j=dstOffset+i;buffer[j]=buffer[j]+buffer[srcOffset+i]*t}}}const _RESERVED_CHARS_RE="\\[\\]\\.:\\/";const _reservedRe=new RegExp("["+_RESERVED_CHARS_RE+"]","g");const _wordChar="[^"+_RESERVED_CHARS_RE+"]";const _wordCharOrDot="[^"+_RESERVED_CHARS_RE.replace("\\.","")+"]";const _directoryRe=/((?:WC+[\/:])*)/.source.replace("WC",_wordChar);const _nodeRe=/(WCOD+)?/.source.replace("WCOD",_wordCharOrDot);const _objectRe=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",_wordChar);const _propertyRe=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",_wordChar);const _trackRe=new RegExp(""+"^"+_directoryRe+_nodeRe+_objectRe+_propertyRe+"$");const _supportedObjectNames=["material","materials","bones","map"];class Composite{constructor(targetGroup,path,optionalParsedPath){const parsedPath=optionalParsedPath||PropertyBinding.parseTrackName(path);this._targetGroup=targetGroup;this._bindings=targetGroup.subscribe_(path,parsedPath)}getValue(array,offset){this.bind();const firstValidIndex=this._targetGroup.nCachedObjects_,binding=this._bindings[firstValidIndex];if(binding!==undefined)binding.getValue(array,offset)}setValue(array,offset){const bindings=this._bindings;for(let i=this._targetGroup.nCachedObjects_,n=bindings.length;i!==n;++i){bindings[i].setValue(array,offset)}}bind(){const bindings=this._bindings;for(let i=this._targetGroup.nCachedObjects_,n=bindings.length;i!==n;++i){bindings[i].bind()}}unbind(){const bindings=this._bindings;for(let i=this._targetGroup.nCachedObjects_,n=bindings.length;i!==n;++i){bindings[i].unbind()}}}class PropertyBinding{constructor(rootNode,path,parsedPath){this.path=path;this.parsedPath=parsedPath||PropertyBinding.parseTrackName(path);this.node=PropertyBinding.findNode(rootNode,this.parsedPath.nodeName);this.rootNode=rootNode;this.getValue=this._getValue_unbound;this.setValue=this._setValue_unbound}static create(root,path,parsedPath){if(!(root&amp;&amp;root.isAnimationObjectGroup)){return new PropertyBinding(root,path,parsedPath)}else{return new PropertyBinding.Composite(root,path,parsedPath)}}static sanitizeNodeName(name){return name.replace(/\s/g,"_").replace(_reservedRe,"")}static parseTrackName(trackName){const matches=_trackRe.exec(trackName);if(matches===null){throw new Error("PropertyBinding: Cannot parse trackName: "+trackName)}const results={nodeName:matches[2],objectName:matches[3],objectIndex:matches[4],propertyName:matches[5],propertyIndex:matches[6]};const lastDot=results.nodeName&amp;&amp;results.nodeName.lastIndexOf(".");if(lastDot!==undefined&amp;&amp;lastDot!==-1){const objectName=results.nodeName.substring(lastDot+1);if(_supportedObjectNames.indexOf(objectName)!==-1){results.nodeName=results.nodeName.substring(0,lastDot);results.objectName=objectName}}if(results.propertyName===null||results.propertyName.length===0){throw new Error("PropertyBinding: can not parse propertyName from trackName: "+trackName)}return results}static findNode(root,nodeName){if(nodeName===undefined||nodeName===""||nodeName==="."||nodeName===-1||nodeName===root.name||nodeName===root.uuid){return root}if(root.skeleton){const bone=root.skeleton.getBoneByName(nodeName);if(bone!==undefined){return bone}}if(root.children){const searchNodeSubtree=function(children){for(let i=0;i&lt;children.length;i++){const childNode=children[i];if(childNode.name===nodeName||childNode.uuid===nodeName){return childNode}const result=searchNodeSubtree(childNode.children);if(result)return result}return null};const subTreeNode=searchNodeSubtree(root.children);if(subTreeNode){return subTreeNode}}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(buffer,offset){buffer[offset]=this.targetObject[this.propertyName]}_getValue_array(buffer,offset){const source=this.resolvedProperty;for(let i=0,n=source.length;i!==n;++i){buffer[offset++]=source[i]}}_getValue_arrayElement(buffer,offset){buffer[offset]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(buffer,offset){this.resolvedProperty.toArray(buffer,offset)}_setValue_direct(buffer,offset){this.targetObject[this.propertyName]=buffer[offset]}_setValue_direct_setNeedsUpdate(buffer,offset){this.targetObject[this.propertyName]=buffer[offset];this.targetObject.needsUpdate=true}_setValue_direct_setMatrixWorldNeedsUpdate(buffer,offset){this.targetObject[this.propertyName]=buffer[offset];this.targetObject.matrixWorldNeedsUpdate=true}_setValue_array(buffer,offset){const dest=this.resolvedProperty;for(let i=0,n=dest.length;i!==n;++i){dest[i]=buffer[offset++]}}_setValue_array_setNeedsUpdate(buffer,offset){const dest=this.resolvedProperty;for(let i=0,n=dest.length;i!==n;++i){dest[i]=buffer[offset++]}this.targetObject.needsUpdate=true}_setValue_array_setMatrixWorldNeedsUpdate(buffer,offset){const dest=this.resolvedProperty;for(let i=0,n=dest.length;i!==n;++i){dest[i]=buffer[offset++]}this.targetObject.matrixWorldNeedsUpdate=true}_setValue_arrayElement(buffer,offset){this.resolvedProperty[this.propertyIndex]=buffer[offset]}_setValue_arrayElement_setNeedsUpdate(buffer,offset){this.resolvedProperty[this.propertyIndex]=buffer[offset];this.targetObject.needsUpdate=true}_setValue_arrayElement_setMatrixWorldNeedsUpdate(buffer,offset){this.resolvedProperty[this.propertyIndex]=buffer[offset];this.targetObject.matrixWorldNeedsUpdate=true}_setValue_fromArray(buffer,offset){this.resolvedProperty.fromArray(buffer,offset)}_setValue_fromArray_setNeedsUpdate(buffer,offset){this.resolvedProperty.fromArray(buffer,offset);this.targetObject.needsUpdate=true}_setValue_fromArray_setMatrixWorldNeedsUpdate(buffer,offset){this.resolvedProperty.fromArray(buffer,offset);this.targetObject.matrixWorldNeedsUpdate=true}_getValue_unbound(targetArray,offset){this.bind();this.getValue(targetArray,offset)}_setValue_unbound(sourceArray,offset){this.bind();this.setValue(sourceArray,offset)}bind(){let targetObject=this.node;const parsedPath=this.parsedPath;const objectName=parsedPath.objectName;const propertyName=parsedPath.propertyName;let propertyIndex=parsedPath.propertyIndex;if(!targetObject){targetObject=PropertyBinding.findNode(this.rootNode,parsedPath.nodeName);this.node=targetObject}this.getValue=this._getValue_unavailable;this.setValue=this._setValue_unavailable;if(!targetObject){console.warn("THREE.PropertyBinding: No target node found for track: "+this.path+".");return}if(objectName){let objectIndex=parsedPath.objectIndex;switch(objectName){case"materials":if(!targetObject.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!targetObject.material.materials){console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}targetObject=targetObject.material.materials;break;case"bones":if(!targetObject.skeleton){console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}targetObject=targetObject.skeleton.bones;for(let i=0;i&lt;targetObject.length;i++){if(targetObject[i].name===objectIndex){objectIndex=i;break}}break;case"map":if("map"in targetObject){targetObject=targetObject.map;break}if(!targetObject.material){console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!targetObject.material.map){console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);return}targetObject=targetObject.material.map;break;default:if(targetObject[objectName]===undefined){console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);return}targetObject=targetObject[objectName];}if(objectIndex!==undefined){if(targetObject[objectIndex]===undefined){console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,targetObject);return}targetObject=targetObject[objectIndex]}}const nodeProperty=targetObject[propertyName];if(nodeProperty===undefined){const nodeName=parsedPath.nodeName;console.error("THREE.PropertyBinding: Trying to update property for track: "+nodeName+"."+propertyName+" but it wasn't found.",targetObject);return}let versioning=this.Versioning.None;this.targetObject=targetObject;if(targetObject.needsUpdate!==undefined){versioning=this.Versioning.NeedsUpdate}else if(targetObject.matrixWorldNeedsUpdate!==undefined){versioning=this.Versioning.MatrixWorldNeedsUpdate}let bindingType=this.BindingType.Direct;if(propertyIndex!==undefined){if(propertyName==="morphTargetInfluences"){if(!targetObject.geometry){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);return}if(!targetObject.geometry.morphAttributes){console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);return}if(targetObject.morphTargetDictionary[propertyIndex]!==undefined){propertyIndex=targetObject.morphTargetDictionary[propertyIndex]}}bindingType=this.BindingType.ArrayElement;this.resolvedProperty=nodeProperty;this.propertyIndex=propertyIndex}else if(nodeProperty.fromArray!==undefined&amp;&amp;nodeProperty.toArray!==undefined){bindingType=this.BindingType.HasFromToArray;this.resolvedProperty=nodeProperty}else if(Array.isArray(nodeProperty)){bindingType=this.BindingType.EntireArray;this.resolvedProperty=nodeProperty}else{this.propertyName=propertyName}this.getValue=this.GetterByBindingType[bindingType];this.setValue=this.SetterByBindingTypeAndVersioning[bindingType][versioning]}unbind(){this.node=null;this.getValue=this._getValue_unbound;this.setValue=this._setValue_unbound}}PropertyBinding.Composite=Composite;PropertyBinding.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3};PropertyBinding.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2};PropertyBinding.prototype.GetterByBindingType=[PropertyBinding.prototype._getValue_direct,PropertyBinding.prototype._getValue_array,PropertyBinding.prototype._getValue_arrayElement,PropertyBinding.prototype._getValue_toArray];PropertyBinding.prototype.SetterByBindingTypeAndVersioning=[[PropertyBinding.prototype._setValue_direct,PropertyBinding.prototype._setValue_direct_setNeedsUpdate,PropertyBinding.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[PropertyBinding.prototype._setValue_array,PropertyBinding.prototype._setValue_array_setNeedsUpdate,PropertyBinding.prototype._setValue_array_setMatrixWorldNeedsUpdate],[PropertyBinding.prototype._setValue_arrayElement,PropertyBinding.prototype._setValue_arrayElement_setNeedsUpdate,PropertyBinding.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[PropertyBinding.prototype._setValue_fromArray,PropertyBinding.prototype._setValue_fromArray_setNeedsUpdate,PropertyBinding.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class AnimationObjectGroup{constructor(){this.isAnimationObjectGroup=true;this.uuid=generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;const indices={};this._indicesByUUID=indices;for(let i=0,n=arguments.length;i!==n;++i){indices[arguments[i].uuid]=i}this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};const scope=this;this.stats={objects:{get total(){return scope._objects.length},get inUse(){return this.total-scope.nCachedObjects_}},get bindingsPerObject(){return scope._bindings.length}}}add(){const objects=this._objects,indicesByUUID=this._indicesByUUID,paths=this._paths,parsedPaths=this._parsedPaths,bindings=this._bindings,nBindings=bindings.length;let knownObject=undefined,nObjects=objects.length,nCachedObjects=this.nCachedObjects_;for(let i=0,n=arguments.length;i!==n;++i){const object=arguments[i],uuid=object.uuid;let index=indicesByUUID[uuid];if(index===undefined){index=nObjects++;indicesByUUID[uuid]=index;objects.push(object);for(let j=0,m=nBindings;j!==m;++j){bindings[j].push(new PropertyBinding(object,paths[j],parsedPaths[j]))}}else if(index&lt;nCachedObjects){knownObject=objects[index];const firstActiveIndex=--nCachedObjects,lastCachedObject=objects[firstActiveIndex];indicesByUUID[lastCachedObject.uuid]=index;objects[index]=lastCachedObject;indicesByUUID[uuid]=firstActiveIndex;objects[firstActiveIndex]=object;for(let j=0,m=nBindings;j!==m;++j){const bindingsForPath=bindings[j],lastCached=bindingsForPath[firstActiveIndex];let binding=bindingsForPath[index];bindingsForPath[index]=lastCached;if(binding===undefined){binding=new PropertyBinding(object,paths[j],parsedPaths[j])}bindingsForPath[firstActiveIndex]=binding}}else if(objects[index]!==knownObject){console.error("THREE.AnimationObjectGroup: Different objects with the same UUID "+"detected. Clean the caches or recreate your infrastructure when reloading scenes.")}}this.nCachedObjects_=nCachedObjects}remove(){const objects=this._objects,indicesByUUID=this._indicesByUUID,bindings=this._bindings,nBindings=bindings.length;let nCachedObjects=this.nCachedObjects_;for(let i=0,n=arguments.length;i!==n;++i){const object=arguments[i],uuid=object.uuid,index=indicesByUUID[uuid];if(index!==undefined&amp;&amp;index&gt;=nCachedObjects){const lastCachedIndex=nCachedObjects++,firstActiveObject=objects[lastCachedIndex];indicesByUUID[firstActiveObject.uuid]=index;objects[index]=firstActiveObject;indicesByUUID[uuid]=lastCachedIndex;objects[lastCachedIndex]=object;for(let j=0,m=nBindings;j!==m;++j){const bindingsForPath=bindings[j],firstActive=bindingsForPath[lastCachedIndex],binding=bindingsForPath[index];bindingsForPath[index]=firstActive;bindingsForPath[lastCachedIndex]=binding}}}this.nCachedObjects_=nCachedObjects}uncache(){const objects=this._objects,indicesByUUID=this._indicesByUUID,bindings=this._bindings,nBindings=bindings.length;let nCachedObjects=this.nCachedObjects_,nObjects=objects.length;for(let i=0,n=arguments.length;i!==n;++i){const object=arguments[i],uuid=object.uuid,index=indicesByUUID[uuid];if(index!==undefined){delete indicesByUUID[uuid];if(index&lt;nCachedObjects){const firstActiveIndex=--nCachedObjects,lastCachedObject=objects[firstActiveIndex],lastIndex=--nObjects,lastObject=objects[lastIndex];indicesByUUID[lastCachedObject.uuid]=index;objects[index]=lastCachedObject;indicesByUUID[lastObject.uuid]=firstActiveIndex;objects[firstActiveIndex]=lastObject;objects.pop();for(let j=0,m=nBindings;j!==m;++j){const bindingsForPath=bindings[j],lastCached=bindingsForPath[firstActiveIndex],last=bindingsForPath[lastIndex];bindingsForPath[index]=lastCached;bindingsForPath[firstActiveIndex]=last;bindingsForPath.pop()}}else{const lastIndex=--nObjects,lastObject=objects[lastIndex];if(lastIndex&gt;0){indicesByUUID[lastObject.uuid]=index}objects[index]=lastObject;objects.pop();for(let j=0,m=nBindings;j!==m;++j){const bindingsForPath=bindings[j];bindingsForPath[index]=bindingsForPath[lastIndex];bindingsForPath.pop()}}}}this.nCachedObjects_=nCachedObjects}subscribe_(path,parsedPath){const indicesByPath=this._bindingsIndicesByPath;let index=indicesByPath[path];const bindings=this._bindings;if(index!==undefined)return bindings[index];const paths=this._paths,parsedPaths=this._parsedPaths,objects=this._objects,nObjects=objects.length,nCachedObjects=this.nCachedObjects_,bindingsForPath=new Array(nObjects);index=bindings.length;indicesByPath[path]=index;paths.push(path);parsedPaths.push(parsedPath);bindings.push(bindingsForPath);for(let i=nCachedObjects,n=objects.length;i!==n;++i){const object=objects[i];bindingsForPath[i]=new PropertyBinding(object,path,parsedPath)}return bindingsForPath}unsubscribe_(path){const indicesByPath=this._bindingsIndicesByPath,index=indicesByPath[path];if(index!==undefined){const paths=this._paths,parsedPaths=this._parsedPaths,bindings=this._bindings,lastBindingsIndex=bindings.length-1,lastBindings=bindings[lastBindingsIndex],lastBindingsPath=path[lastBindingsIndex];indicesByPath[lastBindingsPath]=index;bindings[index]=lastBindings;bindings.pop();parsedPaths[index]=parsedPaths[lastBindingsIndex];parsedPaths.pop();paths[index]=paths[lastBindingsIndex];paths.pop()}}}class AnimationAction{constructor(mixer,clip,localRoot=null,blendMode=clip.blendMode){this._mixer=mixer;this._clip=clip;this._localRoot=localRoot;this.blendMode=blendMode;const tracks=clip.tracks,nTracks=tracks.length,interpolants=new Array(nTracks);const interpolantSettings={endingStart:ZeroCurvatureEnding,endingEnd:ZeroCurvatureEnding};for(let i=0;i!==nTracks;++i){const interpolant=tracks[i].createInterpolant(null);interpolants[i]=interpolant;interpolant.settings=interpolantSettings}this._interpolantSettings=interpolantSettings;this._interpolants=interpolants;this._propertyBindings=new Array(nTracks);this._cacheIndex=null;this._byClipCacheIndex=null;this._timeScaleInterpolant=null;this._weightInterpolant=null;this.loop=LoopRepeat;this._loopCount=-1;this._startTime=null;this.time=0;this.timeScale=1;this._effectiveTimeScale=1;this.weight=1;this._effectiveWeight=1;this.repetitions=Infinity;this.paused=false;this.enabled=true;this.clampWhenFinished=false;this.zeroSlopeAtStart=true;this.zeroSlopeAtEnd=true}play(){this._mixer._activateAction(this);return this}stop(){this._mixer._deactivateAction(this);return this.reset()}reset(){this.paused=false;this.enabled=true;this.time=0;this._loopCount=-1;this._startTime=null;return this.stopFading().stopWarping()}isRunning(){return this.enabled&amp;&amp;!this.paused&amp;&amp;this.timeScale!==0&amp;&amp;this._startTime===null&amp;&amp;this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(time){this._startTime=time;return this}setLoop(mode,repetitions){this.loop=mode;this.repetitions=repetitions;return this}setEffectiveWeight(weight){this.weight=weight;this._effectiveWeight=this.enabled?weight:0;return this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(duration){return this._scheduleFading(duration,0,1)}fadeOut(duration){return this._scheduleFading(duration,1,0)}crossFadeFrom(fadeOutAction,duration,warp){fadeOutAction.fadeOut(duration);this.fadeIn(duration);if(warp){const fadeInDuration=this._clip.duration,fadeOutDuration=fadeOutAction._clip.duration,startEndRatio=fadeOutDuration/fadeInDuration,endStartRatio=fadeInDuration/fadeOutDuration;fadeOutAction.warp(1,startEndRatio,duration);this.warp(endStartRatio,1,duration)}return this}crossFadeTo(fadeInAction,duration,warp){return fadeInAction.crossFadeFrom(this,duration,warp)}stopFading(){const weightInterpolant=this._weightInterpolant;if(weightInterpolant!==null){this._weightInterpolant=null;this._mixer._takeBackControlInterpolant(weightInterpolant)}return this}setEffectiveTimeScale(timeScale){this.timeScale=timeScale;this._effectiveTimeScale=this.paused?0:timeScale;return this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(duration){this.timeScale=this._clip.duration/duration;return this.stopWarping()}syncWith(action){this.time=action.time;this.timeScale=action.timeScale;return this.stopWarping()}halt(duration){return this.warp(this._effectiveTimeScale,0,duration)}warp(startTimeScale,endTimeScale,duration){const mixer=this._mixer,now=mixer.time,timeScale=this.timeScale;let interpolant=this._timeScaleInterpolant;if(interpolant===null){interpolant=mixer._lendControlInterpolant();this._timeScaleInterpolant=interpolant}const times=interpolant.parameterPositions,values=interpolant.sampleValues;times[0]=now;times[1]=now+duration;values[0]=startTimeScale/timeScale;values[1]=endTimeScale/timeScale;return this}stopWarping(){const timeScaleInterpolant=this._timeScaleInterpolant;if(timeScaleInterpolant!==null){this._timeScaleInterpolant=null;this._mixer._takeBackControlInterpolant(timeScaleInterpolant)}return this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(time,deltaTime,timeDirection,accuIndex){if(!this.enabled){this._updateWeight(time);return}const startTime=this._startTime;if(startTime!==null){const timeRunning=(time-startTime)*timeDirection;if(timeRunning&lt;0||timeDirection===0){deltaTime=0}else{this._startTime=null;deltaTime=timeDirection*timeRunning}}deltaTime*=this._updateTimeScale(time);const clipTime=this._updateTime(deltaTime);const weight=this._updateWeight(time);if(weight&gt;0){const interpolants=this._interpolants;const propertyMixers=this._propertyBindings;switch(this.blendMode){case AdditiveAnimationBlendMode:for(let j=0,m=interpolants.length;j!==m;++j){interpolants[j].evaluate(clipTime);propertyMixers[j].accumulateAdditive(weight)}break;case NormalAnimationBlendMode:default:for(let j=0,m=interpolants.length;j!==m;++j){interpolants[j].evaluate(clipTime);propertyMixers[j].accumulate(accuIndex,weight)}}}}_updateWeight(time){let weight=0;if(this.enabled){weight=this.weight;const interpolant=this._weightInterpolant;if(interpolant!==null){const interpolantValue=interpolant.evaluate(time)[0];weight*=interpolantValue;if(time&gt;interpolant.parameterPositions[1]){this.stopFading();if(interpolantValue===0){this.enabled=false}}}}this._effectiveWeight=weight;return weight}_updateTimeScale(time){let timeScale=0;if(!this.paused){timeScale=this.timeScale;const interpolant=this._timeScaleInterpolant;if(interpolant!==null){const interpolantValue=interpolant.evaluate(time)[0];timeScale*=interpolantValue;if(time&gt;interpolant.parameterPositions[1]){this.stopWarping();if(timeScale===0){this.paused=true}else{this.timeScale=timeScale}}}}this._effectiveTimeScale=timeScale;return timeScale}_updateTime(deltaTime){const duration=this._clip.duration;const loop=this.loop;let time=this.time+deltaTime;let loopCount=this._loopCount;const pingPong=loop===LoopPingPong;if(deltaTime===0){if(loopCount===-1)return time;return pingPong&amp;&amp;(loopCount&amp;1)===1?duration-time:time}if(loop===LoopOnce){if(loopCount===-1){this._loopCount=0;this._setEndings(true,true,false)}handle_stop:{if(time&gt;=duration){time=duration}else if(time&lt;0){time=0}else{this.time=time;break handle_stop}if(this.clampWhenFinished)this.paused=true;else this.enabled=false;this.time=time;this._mixer.dispatchEvent({type:"finished",action:this,direction:deltaTime&lt;0?-1:1})}}else{if(loopCount===-1){if(deltaTime&gt;=0){loopCount=0;this._setEndings(true,this.repetitions===0,pingPong)}else{this._setEndings(this.repetitions===0,true,pingPong)}}if(time&gt;=duration||time&lt;0){const loopDelta=Math.floor(time/duration);time-=duration*loopDelta;loopCount+=Math.abs(loopDelta);const pending=this.repetitions-loopCount;if(pending&lt;=0){if(this.clampWhenFinished)this.paused=true;else this.enabled=false;time=deltaTime&gt;0?duration:0;this.time=time;this._mixer.dispatchEvent({type:"finished",action:this,direction:deltaTime&gt;0?1:-1})}else{if(pending===1){const atStart=deltaTime&lt;0;this._setEndings(atStart,!atStart,pingPong)}else{this._setEndings(false,false,pingPong)}this._loopCount=loopCount;this.time=time;this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:loopDelta})}}else{this.time=time}if(pingPong&amp;&amp;(loopCount&amp;1)===1){return duration-time}}return time}_setEndings(atStart,atEnd,pingPong){const settings=this._interpolantSettings;if(pingPong){settings.endingStart=ZeroSlopeEnding;settings.endingEnd=ZeroSlopeEnding}else{if(atStart){settings.endingStart=this.zeroSlopeAtStart?ZeroSlopeEnding:ZeroCurvatureEnding}else{settings.endingStart=WrapAroundEnding}if(atEnd){settings.endingEnd=this.zeroSlopeAtEnd?ZeroSlopeEnding:ZeroCurvatureEnding}else{settings.endingEnd=WrapAroundEnding}}}_scheduleFading(duration,weightNow,weightThen){const mixer=this._mixer,now=mixer.time;let interpolant=this._weightInterpolant;if(interpolant===null){interpolant=mixer._lendControlInterpolant();this._weightInterpolant=interpolant}const times=interpolant.parameterPositions,values=interpolant.sampleValues;times[0]=now;values[0]=weightNow;times[1]=now+duration;values[1]=weightThen;return this}}const _controlInterpolantsResultBuffer=new Float32Array(1);class AnimationMixer extends EventDispatcher{constructor(root){super();this._root=root;this._initMemoryManager();this._accuIndex=0;this.time=0;this.timeScale=1}_bindAction(action,prototypeAction){const root=action._localRoot||this._root,tracks=action._clip.tracks,nTracks=tracks.length,bindings=action._propertyBindings,interpolants=action._interpolants,rootUuid=root.uuid,bindingsByRoot=this._bindingsByRootAndName;let bindingsByName=bindingsByRoot[rootUuid];if(bindingsByName===undefined){bindingsByName={};bindingsByRoot[rootUuid]=bindingsByName}for(let i=0;i!==nTracks;++i){const track=tracks[i],trackName=track.name;let binding=bindingsByName[trackName];if(binding!==undefined){++binding.referenceCount;bindings[i]=binding}else{binding=bindings[i];if(binding!==undefined){if(binding._cacheIndex===null){++binding.referenceCount;this._addInactiveBinding(binding,rootUuid,trackName)}continue}const path=prototypeAction&amp;&amp;prototypeAction._propertyBindings[i].binding.parsedPath;binding=new PropertyMixer(PropertyBinding.create(root,trackName,path),track.ValueTypeName,track.getValueSize());++binding.referenceCount;this._addInactiveBinding(binding,rootUuid,trackName);bindings[i]=binding}interpolants[i].resultBuffer=binding.buffer}}_activateAction(action){if(!this._isActiveAction(action)){if(action._cacheIndex===null){const rootUuid=(action._localRoot||this._root).uuid,clipUuid=action._clip.uuid,actionsForClip=this._actionsByClip[clipUuid];this._bindAction(action,actionsForClip&amp;&amp;actionsForClip.knownActions[0]);this._addInactiveAction(action,clipUuid,rootUuid)}const bindings=action._propertyBindings;for(let i=0,n=bindings.length;i!==n;++i){const binding=bindings[i];if(binding.useCount++===0){this._lendBinding(binding);binding.saveOriginalState()}}this._lendAction(action)}}_deactivateAction(action){if(this._isActiveAction(action)){const bindings=action._propertyBindings;for(let i=0,n=bindings.length;i!==n;++i){const binding=bindings[i];if(--binding.useCount===0){binding.restoreOriginalState();this._takeBackBinding(binding)}}this._takeBackAction(action)}}_initMemoryManager(){this._actions=[];this._nActiveActions=0;this._actionsByClip={};this._bindings=[];this._nActiveBindings=0;this._bindingsByRootAndName={};this._controlInterpolants=[];this._nActiveControlInterpolants=0;const scope=this;this.stats={actions:{get total(){return scope._actions.length},get inUse(){return scope._nActiveActions}},bindings:{get total(){return scope._bindings.length},get inUse(){return scope._nActiveBindings}},controlInterpolants:{get total(){return scope._controlInterpolants.length},get inUse(){return scope._nActiveControlInterpolants}}}}_isActiveAction(action){const index=action._cacheIndex;return index!==null&amp;&amp;index&lt;this._nActiveActions}_addInactiveAction(action,clipUuid,rootUuid){const actions=this._actions,actionsByClip=this._actionsByClip;let actionsForClip=actionsByClip[clipUuid];if(actionsForClip===undefined){actionsForClip={knownActions:[action],actionByRoot:{}};action._byClipCacheIndex=0;actionsByClip[clipUuid]=actionsForClip}else{const knownActions=actionsForClip.knownActions;action._byClipCacheIndex=knownActions.length;knownActions.push(action)}action._cacheIndex=actions.length;actions.push(action);actionsForClip.actionByRoot[rootUuid]=action}_removeInactiveAction(action){const actions=this._actions,lastInactiveAction=actions[actions.length-1],cacheIndex=action._cacheIndex;lastInactiveAction._cacheIndex=cacheIndex;actions[cacheIndex]=lastInactiveAction;actions.pop();action._cacheIndex=null;const clipUuid=action._clip.uuid,actionsByClip=this._actionsByClip,actionsForClip=actionsByClip[clipUuid],knownActionsForClip=actionsForClip.knownActions,lastKnownAction=knownActionsForClip[knownActionsForClip.length-1],byClipCacheIndex=action._byClipCacheIndex;lastKnownAction._byClipCacheIndex=byClipCacheIndex;knownActionsForClip[byClipCacheIndex]=lastKnownAction;knownActionsForClip.pop();action._byClipCacheIndex=null;const actionByRoot=actionsForClip.actionByRoot,rootUuid=(action._localRoot||this._root).uuid;delete actionByRoot[rootUuid];if(knownActionsForClip.length===0){delete actionsByClip[clipUuid]}this._removeInactiveBindingsForAction(action)}_removeInactiveBindingsForAction(action){const bindings=action._propertyBindings;for(let i=0,n=bindings.length;i!==n;++i){const binding=bindings[i];if(--binding.referenceCount===0){this._removeInactiveBinding(binding)}}}_lendAction(action){const actions=this._actions,prevIndex=action._cacheIndex,lastActiveIndex=this._nActiveActions++,firstInactiveAction=actions[lastActiveIndex];action._cacheIndex=lastActiveIndex;actions[lastActiveIndex]=action;firstInactiveAction._cacheIndex=prevIndex;actions[prevIndex]=firstInactiveAction}_takeBackAction(action){const actions=this._actions,prevIndex=action._cacheIndex,firstInactiveIndex=--this._nActiveActions,lastActiveAction=actions[firstInactiveIndex];action._cacheIndex=firstInactiveIndex;actions[firstInactiveIndex]=action;lastActiveAction._cacheIndex=prevIndex;actions[prevIndex]=lastActiveAction}_addInactiveBinding(binding,rootUuid,trackName){const bindingsByRoot=this._bindingsByRootAndName,bindings=this._bindings;let bindingByName=bindingsByRoot[rootUuid];if(bindingByName===undefined){bindingByName={};bindingsByRoot[rootUuid]=bindingByName}bindingByName[trackName]=binding;binding._cacheIndex=bindings.length;bindings.push(binding)}_removeInactiveBinding(binding){const bindings=this._bindings,propBinding=binding.binding,rootUuid=propBinding.rootNode.uuid,trackName=propBinding.path,bindingsByRoot=this._bindingsByRootAndName,bindingByName=bindingsByRoot[rootUuid],lastInactiveBinding=bindings[bindings.length-1],cacheIndex=binding._cacheIndex;lastInactiveBinding._cacheIndex=cacheIndex;bindings[cacheIndex]=lastInactiveBinding;bindings.pop();delete bindingByName[trackName];if(Object.keys(bindingByName).length===0){delete bindingsByRoot[rootUuid]}}_lendBinding(binding){const bindings=this._bindings,prevIndex=binding._cacheIndex,lastActiveIndex=this._nActiveBindings++,firstInactiveBinding=bindings[lastActiveIndex];binding._cacheIndex=lastActiveIndex;bindings[lastActiveIndex]=binding;firstInactiveBinding._cacheIndex=prevIndex;bindings[prevIndex]=firstInactiveBinding}_takeBackBinding(binding){const bindings=this._bindings,prevIndex=binding._cacheIndex,firstInactiveIndex=--this._nActiveBindings,lastActiveBinding=bindings[firstInactiveIndex];binding._cacheIndex=firstInactiveIndex;bindings[firstInactiveIndex]=binding;lastActiveBinding._cacheIndex=prevIndex;bindings[prevIndex]=lastActiveBinding}_lendControlInterpolant(){const interpolants=this._controlInterpolants,lastActiveIndex=this._nActiveControlInterpolants++;let interpolant=interpolants[lastActiveIndex];if(interpolant===undefined){interpolant=new LinearInterpolant(new Float32Array(2),new Float32Array(2),1,_controlInterpolantsResultBuffer);interpolant.__cacheIndex=lastActiveIndex;interpolants[lastActiveIndex]=interpolant}return interpolant}_takeBackControlInterpolant(interpolant){const interpolants=this._controlInterpolants,prevIndex=interpolant.__cacheIndex,firstInactiveIndex=--this._nActiveControlInterpolants,lastActiveInterpolant=interpolants[firstInactiveIndex];interpolant.__cacheIndex=firstInactiveIndex;interpolants[firstInactiveIndex]=interpolant;lastActiveInterpolant.__cacheIndex=prevIndex;interpolants[prevIndex]=lastActiveInterpolant}clipAction(clip,optionalRoot,blendMode){const root=optionalRoot||this._root,rootUuid=root.uuid;let clipObject=typeof clip==="string"?AnimationClip.findByName(root,clip):clip;const clipUuid=clipObject!==null?clipObject.uuid:clip;const actionsForClip=this._actionsByClip[clipUuid];let prototypeAction=null;if(blendMode===undefined){if(clipObject!==null){blendMode=clipObject.blendMode}else{blendMode=NormalAnimationBlendMode}}if(actionsForClip!==undefined){const existingAction=actionsForClip.actionByRoot[rootUuid];if(existingAction!==undefined&amp;&amp;existingAction.blendMode===blendMode){return existingAction}prototypeAction=actionsForClip.knownActions[0];if(clipObject===null)clipObject=prototypeAction._clip}if(clipObject===null)return null;const newAction=new AnimationAction(this,clipObject,optionalRoot,blendMode);this._bindAction(newAction,prototypeAction);this._addInactiveAction(newAction,clipUuid,rootUuid);return newAction}existingAction(clip,optionalRoot){const root=optionalRoot||this._root,rootUuid=root.uuid,clipObject=typeof clip==="string"?AnimationClip.findByName(root,clip):clip,clipUuid=clipObject?clipObject.uuid:clip,actionsForClip=this._actionsByClip[clipUuid];if(actionsForClip!==undefined){return actionsForClip.actionByRoot[rootUuid]||null}return null}stopAllAction(){const actions=this._actions,nActions=this._nActiveActions;for(let i=nActions-1;i&gt;=0;--i){actions[i].stop()}return this}update(deltaTime){deltaTime*=this.timeScale;const actions=this._actions,nActions=this._nActiveActions,time=this.time+=deltaTime,timeDirection=Math.sign(deltaTime),accuIndex=this._accuIndex^=1;for(let i=0;i!==nActions;++i){const action=actions[i];action._update(time,deltaTime,timeDirection,accuIndex)}const bindings=this._bindings,nBindings=this._nActiveBindings;for(let i=0;i!==nBindings;++i){bindings[i].apply(accuIndex)}return this}setTime(timeInSeconds){this.time=0;for(let i=0;i&lt;this._actions.length;i++){this._actions[i].time=0}return this.update(timeInSeconds)}getRoot(){return this._root}uncacheClip(clip){const actions=this._actions,clipUuid=clip.uuid,actionsByClip=this._actionsByClip,actionsForClip=actionsByClip[clipUuid];if(actionsForClip!==undefined){const actionsToRemove=actionsForClip.knownActions;for(let i=0,n=actionsToRemove.length;i!==n;++i){const action=actionsToRemove[i];this._deactivateAction(action);const cacheIndex=action._cacheIndex,lastInactiveAction=actions[actions.length-1];action._cacheIndex=null;action._byClipCacheIndex=null;lastInactiveAction._cacheIndex=cacheIndex;actions[cacheIndex]=lastInactiveAction;actions.pop();this._removeInactiveBindingsForAction(action)}delete actionsByClip[clipUuid]}}uncacheRoot(root){const rootUuid=root.uuid,actionsByClip=this._actionsByClip;for(const clipUuid in actionsByClip){const actionByRoot=actionsByClip[clipUuid].actionByRoot,action=actionByRoot[rootUuid];if(action!==undefined){this._deactivateAction(action);this._removeInactiveAction(action)}}const bindingsByRoot=this._bindingsByRootAndName,bindingByName=bindingsByRoot[rootUuid];if(bindingByName!==undefined){for(const trackName in bindingByName){const binding=bindingByName[trackName];binding.restoreOriginalState();this._removeInactiveBinding(binding)}}}uncacheAction(clip,optionalRoot){const action=this.existingAction(clip,optionalRoot);if(action!==null){this._deactivateAction(action);this._removeInactiveAction(action)}}}class Uniform{constructor(value){this.value=value}clone(){return new Uniform(this.value.clone===undefined?this.value:this.value.clone())}}let _id=0;class UniformsGroup extends EventDispatcher{constructor(){super();this.isUniformsGroup=true;Object.defineProperty(this,"id",{value:_id++});this.name="";this.usage=StaticDrawUsage;this.uniforms=[]}add(uniform){this.uniforms.push(uniform);return this}remove(uniform){const index=this.uniforms.indexOf(uniform);if(index!==-1)this.uniforms.splice(index,1);return this}setName(name){this.name=name;return this}setUsage(value){this.usage=value;return this}dispose(){this.dispatchEvent({type:"dispose"});return this}copy(source){this.name=source.name;this.usage=source.usage;const uniformsSource=source.uniforms;this.uniforms.length=0;for(let i=0,l=uniformsSource.length;i&lt;l;i++){const uniforms=Array.isArray(uniformsSource[i])?uniformsSource[i]:[uniformsSource[i]];for(let j=0;j&lt;uniforms.length;j++){this.uniforms.push(uniforms[j].clone())}}return this}clone(){return new this.constructor().copy(this)}}class InstancedInterleavedBuffer extends InterleavedBuffer{constructor(array,stride,meshPerAttribute=1){super(array,stride);this.isInstancedInterleavedBuffer=true;this.meshPerAttribute=meshPerAttribute}copy(source){super.copy(source);this.meshPerAttribute=source.meshPerAttribute;return this}clone(data){const ib=super.clone(data);ib.meshPerAttribute=this.meshPerAttribute;return ib}toJSON(data){const json=super.toJSON(data);json.isInstancedInterleavedBuffer=true;json.meshPerAttribute=this.meshPerAttribute;return json}}class GLBufferAttribute{constructor(buffer,type,itemSize,elementSize,count){this.isGLBufferAttribute=true;this.name="";this.buffer=buffer;this.type=type;this.itemSize=itemSize;this.elementSize=elementSize;this.count=count;this.version=0}set needsUpdate(value){if(value===true)this.version++}setBuffer(buffer){this.buffer=buffer;return this}setType(type,elementSize){this.type=type;this.elementSize=elementSize;return this}setItemSize(itemSize){this.itemSize=itemSize;return this}setCount(count){this.count=count;return this}}const _matrix=new Matrix4;class Raycaster{constructor(origin,direction,near=0,far=Infinity){this.ray=new Ray(origin,direction);this.near=near;this.far=far;this.camera=null;this.layers=new Layers;this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(origin,direction){this.ray.set(origin,direction)}setFromCamera(coords,camera){if(camera.isPerspectiveCamera){this.ray.origin.setFromMatrixPosition(camera.matrixWorld);this.ray.direction.set(coords.x,coords.y,0.5).unproject(camera).sub(this.ray.origin).normalize();this.camera=camera}else if(camera.isOrthographicCamera){this.ray.origin.set(coords.x,coords.y,(camera.near+camera.far)/(camera.near-camera.far)).unproject(camera);this.ray.direction.set(0,0,-1).transformDirection(camera.matrixWorld);this.camera=camera}else{console.error("THREE.Raycaster: Unsupported camera type: "+camera.type)}}setFromXRController(controller){_matrix.identity().extractRotation(controller.matrixWorld);this.ray.origin.setFromMatrixPosition(controller.matrixWorld);this.ray.direction.set(0,0,-1).applyMatrix4(_matrix);return this}intersectObject(object,recursive=true,intersects=[]){intersect(object,this,intersects,recursive);intersects.sort(ascSort);return intersects}intersectObjects(objects,recursive=true,intersects=[]){for(let i=0,l=objects.length;i&lt;l;i++){intersect(objects[i],this,intersects,recursive)}intersects.sort(ascSort);return intersects}}function ascSort(a,b){return a.distance-b.distance}function intersect(object,raycaster,intersects,recursive){if(object.layers.test(raycaster.layers)){object.raycast(raycaster,intersects)}if(recursive===true){const children=object.children;for(let i=0,l=children.length;i&lt;l;i++){intersect(children[i],raycaster,intersects,true)}}}class Spherical{constructor(radius=1,phi=0,theta=0){this.radius=radius;this.phi=phi;this.theta=theta;return this}set(radius,phi,theta){this.radius=radius;this.phi=phi;this.theta=theta;return this}copy(other){this.radius=other.radius;this.phi=other.phi;this.theta=other.theta;return this}makeSafe(){const EPS=0.000001;this.phi=Math.max(EPS,Math.min(Math.PI-EPS,this.phi));return this}setFromVector3(v){return this.setFromCartesianCoords(v.x,v.y,v.z)}setFromCartesianCoords(x,y,z){this.radius=Math.sqrt(x*x+y*y+z*z);if(this.radius===0){this.theta=0;this.phi=0}else{this.theta=Math.atan2(x,z);this.phi=Math.acos(clamp(y/this.radius,-1,1))}return this}clone(){return new this.constructor().copy(this)}}class Cylindrical{constructor(radius=1,theta=0,y=0){this.radius=radius;this.theta=theta;this.y=y;return this}set(radius,theta,y){this.radius=radius;this.theta=theta;this.y=y;return this}copy(other){this.radius=other.radius;this.theta=other.theta;this.y=other.y;return this}setFromVector3(v){return this.setFromCartesianCoords(v.x,v.y,v.z)}setFromCartesianCoords(x,y,z){this.radius=Math.sqrt(x*x+z*z);this.theta=Math.atan2(x,z);this.y=y;return this}clone(){return new this.constructor().copy(this)}}const _vector$4=new Vector2;class Box2{constructor(min=new Vector2(+Infinity,+Infinity),max=new Vector2(-Infinity,-Infinity)){this.isBox2=true;this.min=min;this.max=max}set(min,max){this.min.copy(min);this.max.copy(max);return this}setFromPoints(points){this.makeEmpty();for(let i=0,il=points.length;i&lt;il;i++){this.expandByPoint(points[i])}return this}setFromCenterAndSize(center,size){const halfSize=_vector$4.copy(size).multiplyScalar(0.5);this.min.copy(center).sub(halfSize);this.max.copy(center).add(halfSize);return this}clone(){return new this.constructor().copy(this)}copy(box){this.min.copy(box.min);this.max.copy(box.max);return this}makeEmpty(){this.min.x=this.min.y=+Infinity;this.max.x=this.max.y=-Infinity;return this}isEmpty(){return this.max.x&lt;this.min.x||this.max.y&lt;this.min.y}getCenter(target){return this.isEmpty()?target.set(0,0):target.addVectors(this.min,this.max).multiplyScalar(0.5)}getSize(target){return this.isEmpty()?target.set(0,0):target.subVectors(this.max,this.min)}expandByPoint(point){this.min.min(point);this.max.max(point);return this}expandByVector(vector){this.min.sub(vector);this.max.add(vector);return this}expandByScalar(scalar){this.min.addScalar(-scalar);this.max.addScalar(scalar);return this}containsPoint(point){return point.x&lt;this.min.x||point.x&gt;this.max.x||point.y&lt;this.min.y||point.y&gt;this.max.y?false:true}containsBox(box){return this.min.x&lt;=box.min.x&amp;&amp;box.max.x&lt;=this.max.x&amp;&amp;this.min.y&lt;=box.min.y&amp;&amp;box.max.y&lt;=this.max.y}getParameter(point,target){return target.set((point.x-this.min.x)/(this.max.x-this.min.x),(point.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(box){return box.max.x&lt;this.min.x||box.min.x&gt;this.max.x||box.max.y&lt;this.min.y||box.min.y&gt;this.max.y?false:true}clampPoint(point,target){return target.copy(point).clamp(this.min,this.max)}distanceToPoint(point){return this.clampPoint(point,_vector$4).distanceTo(point)}intersect(box){this.min.max(box.min);this.max.min(box.max);if(this.isEmpty())this.makeEmpty();return this}union(box){this.min.min(box.min);this.max.max(box.max);return this}translate(offset){this.min.add(offset);this.max.add(offset);return this}equals(box){return box.min.equals(this.min)&amp;&amp;box.max.equals(this.max)}}const _startP=new Vector3;const _startEnd=new Vector3;class Line3{constructor(start=new Vector3,end=new Vector3){this.start=start;this.end=end}set(start,end){this.start.copy(start);this.end.copy(end);return this}copy(line){this.start.copy(line.start);this.end.copy(line.end);return this}getCenter(target){return target.addVectors(this.start,this.end).multiplyScalar(0.5)}delta(target){return target.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(t,target){return this.delta(target).multiplyScalar(t).add(this.start)}closestPointToPointParameter(point,clampToLine){_startP.subVectors(point,this.start);_startEnd.subVectors(this.end,this.start);const startEnd2=_startEnd.dot(_startEnd);const startEnd_startP=_startEnd.dot(_startP);let t=startEnd_startP/startEnd2;if(clampToLine){t=clamp(t,0,1)}return t}closestPointToPoint(point,clampToLine,target){const t=this.closestPointToPointParameter(point,clampToLine);return this.delta(target).multiplyScalar(t).add(this.start)}applyMatrix4(matrix){this.start.applyMatrix4(matrix);this.end.applyMatrix4(matrix);return this}equals(line){return line.start.equals(this.start)&amp;&amp;line.end.equals(this.end)}clone(){return new this.constructor().copy(this)}}const _vector$3=new Vector3;class SpotLightHelper extends Object3D{constructor(light,color){super();this.light=light;this.matrixAutoUpdate=false;this.color=color;this.type="SpotLightHelper";const geometry=new BufferGeometry;const positions=[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(let i=0,j=1,l=32;i&lt;l;i++,j++){const p1=i/l*Math.PI*2;const p2=j/l*Math.PI*2;positions.push(Math.cos(p1),Math.sin(p1),1,Math.cos(p2),Math.sin(p2),1)}geometry.setAttribute("position",new Float32BufferAttribute(positions,3));const material=new LineBasicMaterial({fog:false,toneMapped:false});this.cone=new LineSegments(geometry,material);this.add(this.cone);this.update()}dispose(){this.cone.geometry.dispose();this.cone.material.dispose()}update(){this.light.updateWorldMatrix(true,false);this.light.target.updateWorldMatrix(true,false);if(this.parent){this.parent.updateWorldMatrix(true);this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)}else{this.matrix.copy(this.light.matrixWorld)}this.matrixWorld.copy(this.light.matrixWorld);const coneLength=this.light.distance?this.light.distance:1000;const coneWidth=coneLength*Math.tan(this.light.angle);this.cone.scale.set(coneWidth,coneWidth,coneLength);_vector$3.setFromMatrixPosition(this.light.target.matrixWorld);this.cone.lookAt(_vector$3);if(this.color!==undefined){this.cone.material.color.set(this.color)}else{this.cone.material.color.copy(this.light.color)}}}const _vector$2=new Vector3;const _boneMatrix=new Matrix4;const _matrixWorldInv=new Matrix4;class SkeletonHelper extends LineSegments{constructor(object){const bones=getBoneList(object);const geometry=new BufferGeometry;const vertices=[];const colors=[];const color1=new Color(0,0,1);const color2=new Color(0,1,0);for(let i=0;i&lt;bones.length;i++){const bone=bones[i];if(bone.parent&amp;&amp;bone.parent.isBone){vertices.push(0,0,0);vertices.push(0,0,0);colors.push(color1.r,color1.g,color1.b);colors.push(color2.r,color2.g,color2.b)}}geometry.setAttribute("position",new Float32BufferAttribute(vertices,3));geometry.setAttribute("color",new Float32BufferAttribute(colors,3));const material=new LineBasicMaterial({vertexColors:true,depthTest:false,depthWrite:false,toneMapped:false,transparent:true});super(geometry,material);this.isSkeletonHelper=true;this.type="SkeletonHelper";this.root=object;this.bones=bones;this.matrix=object.matrixWorld;this.matrixAutoUpdate=false}updateMatrixWorld(force){const bones=this.bones;const geometry=this.geometry;const position=geometry.getAttribute("position");_matrixWorldInv.copy(this.root.matrixWorld).invert();for(let i=0,j=0;i&lt;bones.length;i++){const bone=bones[i];if(bone.parent&amp;&amp;bone.parent.isBone){_boneMatrix.multiplyMatrices(_matrixWorldInv,bone.matrixWorld);_vector$2.setFromMatrixPosition(_boneMatrix);position.setXYZ(j,_vector$2.x,_vector$2.y,_vector$2.z);_boneMatrix.multiplyMatrices(_matrixWorldInv,bone.parent.matrixWorld);_vector$2.setFromMatrixPosition(_boneMatrix);position.setXYZ(j+1,_vector$2.x,_vector$2.y,_vector$2.z);j+=2}}geometry.getAttribute("position").needsUpdate=true;super.updateMatrixWorld(force)}dispose(){this.geometry.dispose();this.material.dispose()}}function getBoneList(object){const boneList=[];if(object.isBone===true){boneList.push(object)}for(let i=0;i&lt;object.children.length;i++){boneList.push.apply(boneList,getBoneList(object.children[i]))}return boneList}class PointLightHelper extends Mesh{constructor(light,sphereSize,color){const geometry=new SphereGeometry(sphereSize,4,2);const material=new MeshBasicMaterial({wireframe:true,fog:false,toneMapped:false});super(geometry,material);this.light=light;this.color=color;this.type="PointLightHelper";this.matrix=this.light.matrixWorld;this.matrixAutoUpdate=false;this.update()}dispose(){this.geometry.dispose();this.material.dispose()}update(){this.light.updateWorldMatrix(true,false);if(this.color!==undefined){this.material.color.set(this.color)}else{this.material.color.copy(this.light.color)}}}const _vector$1=new Vector3;const _color1=new Color;const _color2=new Color;class HemisphereLightHelper extends Object3D{constructor(light,size,color){super();this.light=light;this.matrix=light.matrixWorld;this.matrixAutoUpdate=false;this.color=color;this.type="HemisphereLightHelper";const geometry=new OctahedronGeometry(size);geometry.rotateY(Math.PI*0.5);this.material=new MeshBasicMaterial({wireframe:true,fog:false,toneMapped:false});if(this.color===undefined)this.material.vertexColors=true;const position=geometry.getAttribute("position");const colors=new Float32Array(position.count*3);geometry.setAttribute("color",new BufferAttribute(colors,3));this.add(new Mesh(geometry,this.material));this.update()}dispose(){this.children[0].geometry.dispose();this.children[0].material.dispose()}update(){const mesh=this.children[0];if(this.color!==undefined){this.material.color.set(this.color)}else{const colors=mesh.geometry.getAttribute("color");_color1.copy(this.light.color);_color2.copy(this.light.groundColor);for(let i=0,l=colors.count;i&lt;l;i++){const color=i&lt;l/2?_color1:_color2;colors.setXYZ(i,color.r,color.g,color.b)}colors.needsUpdate=true}this.light.updateWorldMatrix(true,false);mesh.lookAt(_vector$1.setFromMatrixPosition(this.light.matrixWorld).negate())}}class GridHelper extends LineSegments{constructor(size=10,divisions=10,color1=4473924,color2=8947848){color1=new Color(color1);color2=new Color(color2);const center=divisions/2;const step=size/divisions;const halfSize=size/2;const vertices=[],colors=[];for(let i=0,j=0,k=-halfSize;i&lt;=divisions;i++,k+=step){vertices.push(-halfSize,0,k,halfSize,0,k);vertices.push(k,0,-halfSize,k,0,halfSize);const color=i===center?color1:color2;color.toArray(colors,j);j+=3;color.toArray(colors,j);j+=3;color.toArray(colors,j);j+=3;color.toArray(colors,j);j+=3}const geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute(vertices,3));geometry.setAttribute("color",new Float32BufferAttribute(colors,3));const material=new LineBasicMaterial({vertexColors:true,toneMapped:false});super(geometry,material);this.type="GridHelper"}dispose(){this.geometry.dispose();this.material.dispose()}}class PolarGridHelper extends LineSegments{constructor(radius=10,sectors=16,rings=8,divisions=64,color1=4473924,color2=8947848){color1=new Color(color1);color2=new Color(color2);const vertices=[];const colors=[];if(sectors&gt;1){for(let i=0;i&lt;sectors;i++){const v=i/sectors*(Math.PI*2);const x=Math.sin(v)*radius;const z=Math.cos(v)*radius;vertices.push(0,0,0);vertices.push(x,0,z);const color=i&amp;1?color1:color2;colors.push(color.r,color.g,color.b);colors.push(color.r,color.g,color.b)}}for(let i=0;i&lt;rings;i++){const color=i&amp;1?color1:color2;const r=radius-radius/rings*i;for(let j=0;j&lt;divisions;j++){let v=j/divisions*(Math.PI*2);let x=Math.sin(v)*r;let z=Math.cos(v)*r;vertices.push(x,0,z);colors.push(color.r,color.g,color.b);v=(j+1)/divisions*(Math.PI*2);x=Math.sin(v)*r;z=Math.cos(v)*r;vertices.push(x,0,z);colors.push(color.r,color.g,color.b)}}const geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute(vertices,3));geometry.setAttribute("color",new Float32BufferAttribute(colors,3));const material=new LineBasicMaterial({vertexColors:true,toneMapped:false});super(geometry,material);this.type="PolarGridHelper"}dispose(){this.geometry.dispose();this.material.dispose()}}const _v1=new Vector3;const _v2=new Vector3;const _v3=new Vector3;class DirectionalLightHelper extends Object3D{constructor(light,size,color){super();this.light=light;this.matrix=light.matrixWorld;this.matrixAutoUpdate=false;this.color=color;this.type="DirectionalLightHelper";if(size===undefined)size=1;let geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute([-size,size,0,size,size,0,size,-size,0,-size,-size,0,-size,size,0],3));const material=new LineBasicMaterial({fog:false,toneMapped:false});this.lightPlane=new Line(geometry,material);this.add(this.lightPlane);geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute([0,0,0,0,0,1],3));this.targetLine=new Line(geometry,material);this.add(this.targetLine);this.update()}dispose(){this.lightPlane.geometry.dispose();this.lightPlane.material.dispose();this.targetLine.geometry.dispose();this.targetLine.material.dispose()}update(){this.light.updateWorldMatrix(true,false);this.light.target.updateWorldMatrix(true,false);_v1.setFromMatrixPosition(this.light.matrixWorld);_v2.setFromMatrixPosition(this.light.target.matrixWorld);_v3.subVectors(_v2,_v1);this.lightPlane.lookAt(_v2);if(this.color!==undefined){this.lightPlane.material.color.set(this.color);this.targetLine.material.color.set(this.color)}else{this.lightPlane.material.color.copy(this.light.color);this.targetLine.material.color.copy(this.light.color)}this.targetLine.lookAt(_v2);this.targetLine.scale.z=_v3.length()}}const _vector=new Vector3;const _camera=new Camera;class CameraHelper extends LineSegments{constructor(camera){const geometry=new BufferGeometry;const material=new LineBasicMaterial({color:16777215,vertexColors:true,toneMapped:false});const vertices=[];const colors=[];const pointMap={};addLine("n1","n2");addLine("n2","n4");addLine("n4","n3");addLine("n3","n1");addLine("f1","f2");addLine("f2","f4");addLine("f4","f3");addLine("f3","f1");addLine("n1","f1");addLine("n2","f2");addLine("n3","f3");addLine("n4","f4");addLine("p","n1");addLine("p","n2");addLine("p","n3");addLine("p","n4");addLine("u1","u2");addLine("u2","u3");addLine("u3","u1");addLine("c","t");addLine("p","c");addLine("cn1","cn2");addLine("cn3","cn4");addLine("cf1","cf2");addLine("cf3","cf4");function addLine(a,b){addPoint(a);addPoint(b)}function addPoint(id){vertices.push(0,0,0);colors.push(0,0,0);if(pointMap[id]===undefined){pointMap[id]=[]}pointMap[id].push(vertices.length/3-1)}geometry.setAttribute("position",new Float32BufferAttribute(vertices,3));geometry.setAttribute("color",new Float32BufferAttribute(colors,3));super(geometry,material);this.type="CameraHelper";this.camera=camera;if(this.camera.updateProjectionMatrix)this.camera.updateProjectionMatrix();this.matrix=camera.matrixWorld;this.matrixAutoUpdate=false;this.pointMap=pointMap;this.update();const colorFrustum=new Color(16755200);const colorCone=new Color(16711680);const colorUp=new Color(43775);const colorTarget=new Color(16777215);const colorCross=new Color(3355443);this.setColors(colorFrustum,colorCone,colorUp,colorTarget,colorCross)}setColors(frustum,cone,up,target,cross){const geometry=this.geometry;const colorAttribute=geometry.getAttribute("color");colorAttribute.setXYZ(0,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(1,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(2,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(3,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(4,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(5,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(6,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(7,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(8,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(9,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(10,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(11,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(12,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(13,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(14,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(15,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(16,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(17,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(18,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(19,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(20,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(21,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(22,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(23,frustum.r,frustum.g,frustum.b);colorAttribute.setXYZ(24,cone.r,cone.g,cone.b);colorAttribute.setXYZ(25,cone.r,cone.g,cone.b);colorAttribute.setXYZ(26,cone.r,cone.g,cone.b);colorAttribute.setXYZ(27,cone.r,cone.g,cone.b);colorAttribute.setXYZ(28,cone.r,cone.g,cone.b);colorAttribute.setXYZ(29,cone.r,cone.g,cone.b);colorAttribute.setXYZ(30,cone.r,cone.g,cone.b);colorAttribute.setXYZ(31,cone.r,cone.g,cone.b);colorAttribute.setXYZ(32,up.r,up.g,up.b);colorAttribute.setXYZ(33,up.r,up.g,up.b);colorAttribute.setXYZ(34,up.r,up.g,up.b);colorAttribute.setXYZ(35,up.r,up.g,up.b);colorAttribute.setXYZ(36,up.r,up.g,up.b);colorAttribute.setXYZ(37,up.r,up.g,up.b);colorAttribute.setXYZ(38,target.r,target.g,target.b);colorAttribute.setXYZ(39,target.r,target.g,target.b);colorAttribute.setXYZ(40,cross.r,cross.g,cross.b);colorAttribute.setXYZ(41,cross.r,cross.g,cross.b);colorAttribute.setXYZ(42,cross.r,cross.g,cross.b);colorAttribute.setXYZ(43,cross.r,cross.g,cross.b);colorAttribute.setXYZ(44,cross.r,cross.g,cross.b);colorAttribute.setXYZ(45,cross.r,cross.g,cross.b);colorAttribute.setXYZ(46,cross.r,cross.g,cross.b);colorAttribute.setXYZ(47,cross.r,cross.g,cross.b);colorAttribute.setXYZ(48,cross.r,cross.g,cross.b);colorAttribute.setXYZ(49,cross.r,cross.g,cross.b);colorAttribute.needsUpdate=true}update(){const geometry=this.geometry;const pointMap=this.pointMap;const w=1,h=1;_camera.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse);setPoint("c",pointMap,geometry,_camera,0,0,-1);setPoint("t",pointMap,geometry,_camera,0,0,1);setPoint("n1",pointMap,geometry,_camera,-w,-h,-1);setPoint("n2",pointMap,geometry,_camera,w,-h,-1);setPoint("n3",pointMap,geometry,_camera,-w,h,-1);setPoint("n4",pointMap,geometry,_camera,w,h,-1);setPoint("f1",pointMap,geometry,_camera,-w,-h,1);setPoint("f2",pointMap,geometry,_camera,w,-h,1);setPoint("f3",pointMap,geometry,_camera,-w,h,1);setPoint("f4",pointMap,geometry,_camera,w,h,1);setPoint("u1",pointMap,geometry,_camera,w*0.7,h*1.1,-1);setPoint("u2",pointMap,geometry,_camera,-w*0.7,h*1.1,-1);setPoint("u3",pointMap,geometry,_camera,0,h*2,-1);setPoint("cf1",pointMap,geometry,_camera,-w,0,1);setPoint("cf2",pointMap,geometry,_camera,w,0,1);setPoint("cf3",pointMap,geometry,_camera,0,-h,1);setPoint("cf4",pointMap,geometry,_camera,0,h,1);setPoint("cn1",pointMap,geometry,_camera,-w,0,-1);setPoint("cn2",pointMap,geometry,_camera,w,0,-1);setPoint("cn3",pointMap,geometry,_camera,0,-h,-1);setPoint("cn4",pointMap,geometry,_camera,0,h,-1);geometry.getAttribute("position").needsUpdate=true}dispose(){this.geometry.dispose();this.material.dispose()}}function setPoint(point,pointMap,geometry,camera,x,y,z){_vector.set(x,y,z).unproject(camera);const points=pointMap[point];if(points!==undefined){const position=geometry.getAttribute("position");for(let i=0,l=points.length;i&lt;l;i++){position.setXYZ(points[i],_vector.x,_vector.y,_vector.z)}}}const _box=new Box3;class BoxHelper extends LineSegments{constructor(object,color=16776960){const indices=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]);const positions=new Float32Array(8*3);const geometry=new BufferGeometry;geometry.setIndex(new BufferAttribute(indices,1));geometry.setAttribute("position",new BufferAttribute(positions,3));super(geometry,new LineBasicMaterial({color:color,toneMapped:false}));this.object=object;this.type="BoxHelper";this.matrixAutoUpdate=false;this.update()}update(object){if(object!==undefined){console.warn("THREE.BoxHelper: .update() has no longer arguments.")}if(this.object!==undefined){_box.setFromObject(this.object)}if(_box.isEmpty())return;const min=_box.min;const max=_box.max;const position=this.geometry.attributes.position;const array=position.array;array[0]=max.x;array[1]=max.y;array[2]=max.z;array[3]=min.x;array[4]=max.y;array[5]=max.z;array[6]=min.x;array[7]=min.y;array[8]=max.z;array[9]=max.x;array[10]=min.y;array[11]=max.z;array[12]=max.x;array[13]=max.y;array[14]=min.z;array[15]=min.x;array[16]=max.y;array[17]=min.z;array[18]=min.x;array[19]=min.y;array[20]=min.z;array[21]=max.x;array[22]=min.y;array[23]=min.z;position.needsUpdate=true;this.geometry.computeBoundingSphere()}setFromObject(object){this.object=object;this.update();return this}copy(source,recursive){super.copy(source,recursive);this.object=source.object;return this}dispose(){this.geometry.dispose();this.material.dispose()}}class Box3Helper extends LineSegments{constructor(box,color=16776960){const indices=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]);const positions=[1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1];const geometry=new BufferGeometry;geometry.setIndex(new BufferAttribute(indices,1));geometry.setAttribute("position",new Float32BufferAttribute(positions,3));super(geometry,new LineBasicMaterial({color:color,toneMapped:false}));this.box=box;this.type="Box3Helper";this.geometry.computeBoundingSphere()}updateMatrixWorld(force){const box=this.box;if(box.isEmpty())return;box.getCenter(this.position);box.getSize(this.scale);this.scale.multiplyScalar(0.5);super.updateMatrixWorld(force)}dispose(){this.geometry.dispose();this.material.dispose()}}class PlaneHelper extends Line{constructor(plane,size=1,hex=16776960){const color=hex;const positions=[1,-1,0,-1,1,0,-1,-1,0,1,1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0];const geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute(positions,3));geometry.computeBoundingSphere();super(geometry,new LineBasicMaterial({color:color,toneMapped:false}));this.type="PlaneHelper";this.plane=plane;this.size=size;const positions2=[1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0];const geometry2=new BufferGeometry;geometry2.setAttribute("position",new Float32BufferAttribute(positions2,3));geometry2.computeBoundingSphere();this.add(new Mesh(geometry2,new MeshBasicMaterial({color:color,opacity:0.2,transparent:true,depthWrite:false,toneMapped:false})))}updateMatrixWorld(force){this.position.set(0,0,0);this.scale.set(0.5*this.size,0.5*this.size,1);this.lookAt(this.plane.normal);this.translateZ(-this.plane.constant);super.updateMatrixWorld(force)}dispose(){this.geometry.dispose();this.material.dispose();this.children[0].geometry.dispose();this.children[0].material.dispose()}}const _axis=new Vector3;let _lineGeometry,_coneGeometry;class ArrowHelper extends Object3D{constructor(dir=new Vector3(0,0,1),origin=new Vector3(0,0,0),length=1,color=16776960,headLength=length*0.2,headWidth=headLength*0.2){super();this.type="ArrowHelper";if(_lineGeometry===undefined){_lineGeometry=new BufferGeometry;_lineGeometry.setAttribute("position",new Float32BufferAttribute([0,0,0,0,1,0],3));_coneGeometry=new CylinderGeometry(0,0.5,1,5,1);_coneGeometry.translate(0,-0.5,0)}this.position.copy(origin);this.line=new Line(_lineGeometry,new LineBasicMaterial({color:color,toneMapped:false}));this.line.matrixAutoUpdate=false;this.add(this.line);this.cone=new Mesh(_coneGeometry,new MeshBasicMaterial({color:color,toneMapped:false}));this.cone.matrixAutoUpdate=false;this.add(this.cone);this.setDirection(dir);this.setLength(length,headLength,headWidth)}setDirection(dir){if(dir.y&gt;0.99999){this.quaternion.set(0,0,0,1)}else if(dir.y&lt;-0.99999){this.quaternion.set(1,0,0,0)}else{_axis.set(dir.z,0,-dir.x).normalize();const radians=Math.acos(dir.y);this.quaternion.setFromAxisAngle(_axis,radians)}}setLength(length,headLength=length*0.2,headWidth=headLength*0.2){this.line.scale.set(1,Math.max(0.0001,length-headLength),1);this.line.updateMatrix();this.cone.scale.set(headWidth,headLength,headWidth);this.cone.position.y=length;this.cone.updateMatrix()}setColor(color){this.line.material.color.set(color);this.cone.material.color.set(color)}copy(source){super.copy(source,false);this.line.copy(source.line);this.cone.copy(source.cone);return this}dispose(){this.line.geometry.dispose();this.line.material.dispose();this.cone.geometry.dispose();this.cone.material.dispose()}}class AxesHelper extends LineSegments{constructor(size=1){const vertices=[0,0,0,size,0,0,0,0,0,0,size,0,0,0,0,0,0,size];const colors=[1,0,0,1,0.6,0,0,1,0,0.6,1,0,0,0,1,0,0.6,1];const geometry=new BufferGeometry;geometry.setAttribute("position",new Float32BufferAttribute(vertices,3));geometry.setAttribute("color",new Float32BufferAttribute(colors,3));const material=new LineBasicMaterial({vertexColors:true,toneMapped:false});super(geometry,material);this.type="AxesHelper"}setColors(xAxisColor,yAxisColor,zAxisColor){const color=new Color;const array=this.geometry.attributes.color.array;color.set(xAxisColor);color.toArray(array,0);color.toArray(array,3);color.set(yAxisColor);color.toArray(array,6);color.toArray(array,9);color.set(zAxisColor);color.toArray(array,12);color.toArray(array,15);this.geometry.attributes.color.needsUpdate=true;return this}dispose(){this.geometry.dispose();this.material.dispose()}}class ShapePath{constructor(){this.type="ShapePath";this.color=new Color;this.subPaths=[];this.currentPath=null}moveTo(x,y){this.currentPath=new Path;this.subPaths.push(this.currentPath);this.currentPath.moveTo(x,y);return this}lineTo(x,y){this.currentPath.lineTo(x,y);return this}quadraticCurveTo(aCPx,aCPy,aX,aY){this.currentPath.quadraticCurveTo(aCPx,aCPy,aX,aY);return this}bezierCurveTo(aCP1x,aCP1y,aCP2x,aCP2y,aX,aY){this.currentPath.bezierCurveTo(aCP1x,aCP1y,aCP2x,aCP2y,aX,aY);return this}splineThru(pts){this.currentPath.splineThru(pts);return this}toShapes(isCCW){function toShapesNoHoles(inSubpaths){const shapes=[];for(let i=0,l=inSubpaths.length;i&lt;l;i++){const tmpPath=inSubpaths[i];const tmpShape=new Shape;tmpShape.curves=tmpPath.curves;shapes.push(tmpShape)}return shapes}function isPointInsidePolygon(inPt,inPolygon){const polyLen=inPolygon.length;let inside=false;for(let p=polyLen-1,q=0;q&lt;polyLen;p=q++){let edgeLowPt=inPolygon[p];let edgeHighPt=inPolygon[q];let edgeDx=edgeHighPt.x-edgeLowPt.x;let edgeDy=edgeHighPt.y-edgeLowPt.y;if(Math.abs(edgeDy)&gt;Number.EPSILON){if(edgeDy&lt;0){edgeLowPt=inPolygon[q];edgeDx=-edgeDx;edgeHighPt=inPolygon[p];edgeDy=-edgeDy}if(inPt.y&lt;edgeLowPt.y||inPt.y&gt;edgeHighPt.y)continue;if(inPt.y===edgeLowPt.y){if(inPt.x===edgeLowPt.x)return true}else{const perpEdge=edgeDy*(inPt.x-edgeLowPt.x)-edgeDx*(inPt.y-edgeLowPt.y);if(perpEdge===0)return true;if(perpEdge&lt;0)continue;inside=!inside}}else{if(inPt.y!==edgeLowPt.y)continue;if(edgeHighPt.x&lt;=inPt.x&amp;&amp;inPt.x&lt;=edgeLowPt.x||edgeLowPt.x&lt;=inPt.x&amp;&amp;inPt.x&lt;=edgeHighPt.x)return true}}return inside}const isClockWise=ShapeUtils.isClockWise;const subPaths=this.subPaths;if(subPaths.length===0)return[];let solid,tmpPath,tmpShape;const shapes=[];if(subPaths.length===1){tmpPath=subPaths[0];tmpShape=new Shape;tmpShape.curves=tmpPath.curves;shapes.push(tmpShape);return shapes}let holesFirst=!isClockWise(subPaths[0].getPoints());holesFirst=isCCW?!holesFirst:holesFirst;const betterShapeHoles=[];const newShapes=[];let newShapeHoles=[];let mainIdx=0;let tmpPoints;newShapes[mainIdx]=undefined;newShapeHoles[mainIdx]=[];for(let i=0,l=subPaths.length;i&lt;l;i++){tmpPath=subPaths[i];tmpPoints=tmpPath.getPoints();solid=isClockWise(tmpPoints);solid=isCCW?!solid:solid;if(solid){if(!holesFirst&amp;&amp;newShapes[mainIdx])mainIdx++;newShapes[mainIdx]={s:new Shape,p:tmpPoints};newShapes[mainIdx].s.curves=tmpPath.curves;if(holesFirst)mainIdx++;newShapeHoles[mainIdx]=[]}else{newShapeHoles[mainIdx].push({h:tmpPath,p:tmpPoints[0]})}}if(!newShapes[0])return toShapesNoHoles(subPaths);if(newShapes.length&gt;1){let ambiguous=false;let toChange=0;for(let sIdx=0,sLen=newShapes.length;sIdx&lt;sLen;sIdx++){betterShapeHoles[sIdx]=[]}for(let sIdx=0,sLen=newShapes.length;sIdx&lt;sLen;sIdx++){const sho=newShapeHoles[sIdx];for(let hIdx=0;hIdx&lt;sho.length;hIdx++){const ho=sho[hIdx];let hole_unassigned=true;for(let s2Idx=0;s2Idx&lt;newShapes.length;s2Idx++){if(isPointInsidePolygon(ho.p,newShapes[s2Idx].p)){if(sIdx!==s2Idx)toChange++;if(hole_unassigned){hole_unassigned=false;betterShapeHoles[s2Idx].push(ho)}else{ambiguous=true}}}if(hole_unassigned){betterShapeHoles[sIdx].push(ho)}}}if(toChange&gt;0&amp;&amp;ambiguous===false){newShapeHoles=betterShapeHoles}}let tmpHoles;for(let i=0,il=newShapes.length;i&lt;il;i++){tmpShape=newShapes[i].s;shapes.push(tmpShape);tmpHoles=newShapeHoles[i];for(let j=0,jl=tmpHoles.length;j&lt;jl;j++){tmpShape.holes.push(tmpHoles[j].h)}}return shapes}}class WebGLMultipleRenderTargets extends WebGLRenderTarget{constructor(width=1,height=1,count=1,options={}){console.warn("THREE.WebGLMultipleRenderTargets has been deprecated and will be removed in r172. Use THREE.WebGLRenderTarget and set the \"count\" parameter to enable MRT.");super(width,height,{...options,count});this.isWebGLMultipleRenderTargets=true}get texture(){return this.textures}}if(typeof __THREE_DEVTOOLS__!=="undefined"){__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:REVISION}}))}if(typeof window!=="undefined"){if(window.__THREE__){console.warn("WARNING: Multiple instances of Three.js being imported.")}else{window.__THREE__=REVISION}}exports.ACESFilmicToneMapping=ACESFilmicToneMapping;exports.AddEquation=AddEquation;exports.AddOperation=AddOperation;exports.AdditiveAnimationBlendMode=AdditiveAnimationBlendMode;exports.AdditiveBlending=AdditiveBlending;exports.AgXToneMapping=AgXToneMapping;exports.AlphaFormat=AlphaFormat;exports.AlwaysCompare=AlwaysCompare;exports.AlwaysDepth=AlwaysDepth;exports.AlwaysStencilFunc=AlwaysStencilFunc;exports.AmbientLight=AmbientLight;exports.AnimationAction=AnimationAction;exports.AnimationClip=AnimationClip;exports.AnimationLoader=AnimationLoader;exports.AnimationMixer=AnimationMixer;exports.AnimationObjectGroup=AnimationObjectGroup;exports.AnimationUtils=AnimationUtils;exports.ArcCurve=ArcCurve;exports.ArrayCamera=ArrayCamera;exports.ArrowHelper=ArrowHelper;exports.AttachedBindMode=AttachedBindMode;exports.Audio=Audio;exports.AudioAnalyser=AudioAnalyser;exports.AudioContext=AudioContext;exports.AudioListener=AudioListener;exports.AudioLoader=AudioLoader;exports.AxesHelper=AxesHelper;exports.BackSide=BackSide;exports.BasicDepthPacking=BasicDepthPacking;exports.BasicShadowMap=BasicShadowMap;exports.BatchedMesh=BatchedMesh;exports.Bone=Bone;exports.BooleanKeyframeTrack=BooleanKeyframeTrack;exports.Box2=Box2;exports.Box3=Box3;exports.Box3Helper=Box3Helper;exports.BoxGeometry=BoxGeometry;exports.BoxHelper=BoxHelper;exports.BufferAttribute=BufferAttribute;exports.BufferGeometry=BufferGeometry;exports.BufferGeometryLoader=BufferGeometryLoader;exports.ByteType=ByteType;exports.Cache=Cache;exports.Camera=Camera;exports.CameraHelper=CameraHelper;exports.CanvasTexture=CanvasTexture;exports.CapsuleGeometry=CapsuleGeometry;exports.CatmullRomCurve3=CatmullRomCurve3;exports.CineonToneMapping=CineonToneMapping;exports.CircleGeometry=CircleGeometry;exports.ClampToEdgeWrapping=ClampToEdgeWrapping;exports.Clock=Clock;exports.Color=Color;exports.ColorKeyframeTrack=ColorKeyframeTrack;exports.ColorManagement=ColorManagement;exports.CompressedArrayTexture=CompressedArrayTexture;exports.CompressedCubeTexture=CompressedCubeTexture;exports.CompressedTexture=CompressedTexture;exports.CompressedTextureLoader=CompressedTextureLoader;exports.ConeGeometry=ConeGeometry;exports.ConstantAlphaFactor=ConstantAlphaFactor;exports.ConstantColorFactor=ConstantColorFactor;exports.CubeCamera=CubeCamera;exports.CubeReflectionMapping=CubeReflectionMapping;exports.CubeRefractionMapping=CubeRefractionMapping;exports.CubeTexture=CubeTexture;exports.CubeTextureLoader=CubeTextureLoader;exports.CubeUVReflectionMapping=CubeUVReflectionMapping;exports.CubicBezierCurve=CubicBezierCurve;exports.CubicBezierCurve3=CubicBezierCurve3;exports.CubicInterpolant=CubicInterpolant;exports.CullFaceBack=CullFaceBack;exports.CullFaceFront=CullFaceFront;exports.CullFaceFrontBack=CullFaceFrontBack;exports.CullFaceNone=CullFaceNone;exports.Curve=Curve;exports.CurvePath=CurvePath;exports.CustomBlending=CustomBlending;exports.CustomToneMapping=CustomToneMapping;exports.CylinderGeometry=CylinderGeometry;exports.Cylindrical=Cylindrical;exports.Data3DTexture=Data3DTexture;exports.DataArrayTexture=DataArrayTexture;exports.DataTexture=DataTexture;exports.DataTextureLoader=DataTextureLoader;exports.DataUtils=DataUtils;exports.DecrementStencilOp=DecrementStencilOp;exports.DecrementWrapStencilOp=DecrementWrapStencilOp;exports.DefaultLoadingManager=DefaultLoadingManager;exports.DepthFormat=DepthFormat;exports.DepthStencilFormat=DepthStencilFormat;exports.DepthTexture=DepthTexture;exports.DetachedBindMode=DetachedBindMode;exports.DirectionalLight=DirectionalLight;exports.DirectionalLightHelper=DirectionalLightHelper;exports.DiscreteInterpolant=DiscreteInterpolant;exports.DisplayP3ColorSpace=DisplayP3ColorSpace;exports.DodecahedronGeometry=DodecahedronGeometry;exports.DoubleSide=DoubleSide;exports.DstAlphaFactor=DstAlphaFactor;exports.DstColorFactor=DstColorFactor;exports.DynamicCopyUsage=DynamicCopyUsage;exports.DynamicDrawUsage=DynamicDrawUsage;exports.DynamicReadUsage=DynamicReadUsage;exports.EdgesGeometry=EdgesGeometry;exports.EllipseCurve=EllipseCurve;exports.EqualCompare=EqualCompare;exports.EqualDepth=EqualDepth;exports.EqualStencilFunc=EqualStencilFunc;exports.EquirectangularReflectionMapping=EquirectangularReflectionMapping;exports.EquirectangularRefractionMapping=EquirectangularRefractionMapping;exports.Euler=Euler;exports.EventDispatcher=EventDispatcher;exports.ExtrudeGeometry=ExtrudeGeometry;exports.FileLoader=FileLoader;exports.Float16BufferAttribute=Float16BufferAttribute;exports.Float32BufferAttribute=Float32BufferAttribute;exports.FloatType=FloatType;exports.Fog=Fog;exports.FogExp2=FogExp2;exports.FramebufferTexture=FramebufferTexture;exports.FrontSide=FrontSide;exports.Frustum=Frustum;exports.GLBufferAttribute=GLBufferAttribute;exports.GLSL1=GLSL1;exports.GLSL3=GLSL3;exports.GreaterCompare=GreaterCompare;exports.GreaterDepth=GreaterDepth;exports.GreaterEqualCompare=GreaterEqualCompare;exports.GreaterEqualDepth=GreaterEqualDepth;exports.GreaterEqualStencilFunc=GreaterEqualStencilFunc;exports.GreaterStencilFunc=GreaterStencilFunc;exports.GridHelper=GridHelper;exports.Group=Group;exports.HalfFloatType=HalfFloatType;exports.HemisphereLight=HemisphereLight;exports.HemisphereLightHelper=HemisphereLightHelper;exports.IcosahedronGeometry=IcosahedronGeometry;exports.ImageBitmapLoader=ImageBitmapLoader;exports.ImageLoader=ImageLoader;exports.ImageUtils=ImageUtils;exports.IncrementStencilOp=IncrementStencilOp;exports.IncrementWrapStencilOp=IncrementWrapStencilOp;exports.InstancedBufferAttribute=InstancedBufferAttribute;exports.InstancedBufferGeometry=InstancedBufferGeometry;exports.InstancedInterleavedBuffer=InstancedInterleavedBuffer;exports.InstancedMesh=InstancedMesh;exports.Int16BufferAttribute=Int16BufferAttribute;exports.Int32BufferAttribute=Int32BufferAttribute;exports.Int8BufferAttribute=Int8BufferAttribute;exports.IntType=IntType;exports.InterleavedBuffer=InterleavedBuffer;exports.InterleavedBufferAttribute=InterleavedBufferAttribute;exports.Interpolant=Interpolant;exports.InterpolateDiscrete=InterpolateDiscrete;exports.InterpolateLinear=InterpolateLinear;exports.InterpolateSmooth=InterpolateSmooth;exports.InvertStencilOp=InvertStencilOp;exports.KeepStencilOp=KeepStencilOp;exports.KeyframeTrack=KeyframeTrack;exports.LOD=LOD;exports.LatheGeometry=LatheGeometry;exports.Layers=Layers;exports.LessCompare=LessCompare;exports.LessDepth=LessDepth;exports.LessEqualCompare=LessEqualCompare;exports.LessEqualDepth=LessEqualDepth;exports.LessEqualStencilFunc=LessEqualStencilFunc;exports.LessStencilFunc=LessStencilFunc;exports.Light=Light;exports.LightProbe=LightProbe;exports.Line=Line;exports.Line3=Line3;exports.LineBasicMaterial=LineBasicMaterial;exports.LineCurve=LineCurve;exports.LineCurve3=LineCurve3;exports.LineDashedMaterial=LineDashedMaterial;exports.LineLoop=LineLoop;exports.LineSegments=LineSegments;exports.LinearDisplayP3ColorSpace=LinearDisplayP3ColorSpace;exports.LinearFilter=LinearFilter;exports.LinearInterpolant=LinearInterpolant;exports.LinearMipMapLinearFilter=LinearMipMapLinearFilter;exports.LinearMipMapNearestFilter=LinearMipMapNearestFilter;exports.LinearMipmapLinearFilter=LinearMipmapLinearFilter;exports.LinearMipmapNearestFilter=LinearMipmapNearestFilter;exports.LinearSRGBColorSpace=LinearSRGBColorSpace;exports.LinearToneMapping=LinearToneMapping;exports.LinearTransfer=LinearTransfer;exports.Loader=Loader;exports.LoaderUtils=LoaderUtils;exports.LoadingManager=LoadingManager;exports.LoopOnce=LoopOnce;exports.LoopPingPong=LoopPingPong;exports.LoopRepeat=LoopRepeat;exports.LuminanceAlphaFormat=LuminanceAlphaFormat;exports.LuminanceFormat=LuminanceFormat;exports.MOUSE=MOUSE;exports.Material=Material;exports.MaterialLoader=MaterialLoader;exports.MathUtils=MathUtils;exports.Matrix3=Matrix3;exports.Matrix4=Matrix4;exports.MaxEquation=MaxEquation;exports.Mesh=Mesh;exports.MeshBasicMaterial=MeshBasicMaterial;exports.MeshDepthMaterial=MeshDepthMaterial;exports.MeshDistanceMaterial=MeshDistanceMaterial;exports.MeshLambertMaterial=MeshLambertMaterial;exports.MeshMatcapMaterial=MeshMatcapMaterial;exports.MeshNormalMaterial=MeshNormalMaterial;exports.MeshPhongMaterial=MeshPhongMaterial;exports.MeshPhysicalMaterial=MeshPhysicalMaterial;exports.MeshStandardMaterial=MeshStandardMaterial;exports.MeshToonMaterial=MeshToonMaterial;exports.MinEquation=MinEquation;exports.MirroredRepeatWrapping=MirroredRepeatWrapping;exports.MixOperation=MixOperation;exports.MultiplyBlending=MultiplyBlending;exports.MultiplyOperation=MultiplyOperation;exports.NearestFilter=NearestFilter;exports.NearestMipMapLinearFilter=NearestMipMapLinearFilter;exports.NearestMipMapNearestFilter=NearestMipMapNearestFilter;exports.NearestMipmapLinearFilter=NearestMipmapLinearFilter;exports.NearestMipmapNearestFilter=NearestMipmapNearestFilter;exports.NeutralToneMapping=NeutralToneMapping;exports.NeverCompare=NeverCompare;exports.NeverDepth=NeverDepth;exports.NeverStencilFunc=NeverStencilFunc;exports.NoBlending=NoBlending;exports.NoColorSpace=NoColorSpace;exports.NoToneMapping=NoToneMapping;exports.NormalAnimationBlendMode=NormalAnimationBlendMode;exports.NormalBlending=NormalBlending;exports.NotEqualCompare=NotEqualCompare;exports.NotEqualDepth=NotEqualDepth;exports.NotEqualStencilFunc=NotEqualStencilFunc;exports.NumberKeyframeTrack=NumberKeyframeTrack;exports.Object3D=Object3D;exports.ObjectLoader=ObjectLoader;exports.ObjectSpaceNormalMap=ObjectSpaceNormalMap;exports.OctahedronGeometry=OctahedronGeometry;exports.OneFactor=OneFactor;exports.OneMinusConstantAlphaFactor=OneMinusConstantAlphaFactor;exports.OneMinusConstantColorFactor=OneMinusConstantColorFactor;exports.OneMinusDstAlphaFactor=OneMinusDstAlphaFactor;exports.OneMinusDstColorFactor=OneMinusDstColorFactor;exports.OneMinusSrcAlphaFactor=OneMinusSrcAlphaFactor;exports.OneMinusSrcColorFactor=OneMinusSrcColorFactor;exports.OrthographicCamera=OrthographicCamera;exports.P3Primaries=P3Primaries;exports.PCFShadowMap=PCFShadowMap;exports.PCFSoftShadowMap=PCFSoftShadowMap;exports.PMREMGenerator=PMREMGenerator;exports.Path=Path;exports.PerspectiveCamera=PerspectiveCamera;exports.Plane=Plane;exports.PlaneGeometry=PlaneGeometry;exports.PlaneHelper=PlaneHelper;exports.PointLight=PointLight;exports.PointLightHelper=PointLightHelper;exports.Points=Points;exports.PointsMaterial=PointsMaterial;exports.PolarGridHelper=PolarGridHelper;exports.PolyhedronGeometry=PolyhedronGeometry;exports.PositionalAudio=PositionalAudio;exports.PropertyBinding=PropertyBinding;exports.PropertyMixer=PropertyMixer;exports.QuadraticBezierCurve=QuadraticBezierCurve;exports.QuadraticBezierCurve3=QuadraticBezierCurve3;exports.Quaternion=Quaternion;exports.QuaternionKeyframeTrack=QuaternionKeyframeTrack;exports.QuaternionLinearInterpolant=QuaternionLinearInterpolant;exports.RED_GREEN_RGTC2_Format=RED_GREEN_RGTC2_Format;exports.RED_RGTC1_Format=RED_RGTC1_Format;exports.REVISION=REVISION;exports.RGBADepthPacking=RGBADepthPacking;exports.RGBAFormat=RGBAFormat;exports.RGBAIntegerFormat=RGBAIntegerFormat;exports.RGBA_ASTC_10x10_Format=RGBA_ASTC_10x10_Format;exports.RGBA_ASTC_10x5_Format=RGBA_ASTC_10x5_Format;exports.RGBA_ASTC_10x6_Format=RGBA_ASTC_10x6_Format;exports.RGBA_ASTC_10x8_Format=RGBA_ASTC_10x8_Format;exports.RGBA_ASTC_12x10_Format=RGBA_ASTC_12x10_Format;exports.RGBA_ASTC_12x12_Format=RGBA_ASTC_12x12_Format;exports.RGBA_ASTC_4x4_Format=RGBA_ASTC_4x4_Format;exports.RGBA_ASTC_5x4_Format=RGBA_ASTC_5x4_Format;exports.RGBA_ASTC_5x5_Format=RGBA_ASTC_5x5_Format;exports.RGBA_ASTC_6x5_Format=RGBA_ASTC_6x5_Format;exports.RGBA_ASTC_6x6_Format=RGBA_ASTC_6x6_Format;exports.RGBA_ASTC_8x5_Format=RGBA_ASTC_8x5_Format;exports.RGBA_ASTC_8x6_Format=RGBA_ASTC_8x6_Format;exports.RGBA_ASTC_8x8_Format=RGBA_ASTC_8x8_Format;exports.RGBA_BPTC_Format=RGBA_BPTC_Format;exports.RGBA_ETC2_EAC_Format=RGBA_ETC2_EAC_Format;exports.RGBA_PVRTC_2BPPV1_Format=RGBA_PVRTC_2BPPV1_Format;exports.RGBA_PVRTC_4BPPV1_Format=RGBA_PVRTC_4BPPV1_Format;exports.RGBA_S3TC_DXT1_Format=RGBA_S3TC_DXT1_Format;exports.RGBA_S3TC_DXT3_Format=RGBA_S3TC_DXT3_Format;exports.RGBA_S3TC_DXT5_Format=RGBA_S3TC_DXT5_Format;exports.RGBFormat=RGBFormat;exports.RGB_BPTC_SIGNED_Format=RGB_BPTC_SIGNED_Format;exports.RGB_BPTC_UNSIGNED_Format=RGB_BPTC_UNSIGNED_Format;exports.RGB_ETC1_Format=RGB_ETC1_Format;exports.RGB_ETC2_Format=RGB_ETC2_Format;exports.RGB_PVRTC_2BPPV1_Format=RGB_PVRTC_2BPPV1_Format;exports.RGB_PVRTC_4BPPV1_Format=RGB_PVRTC_4BPPV1_Format;exports.RGB_S3TC_DXT1_Format=RGB_S3TC_DXT1_Format;exports.RGFormat=RGFormat;exports.RGIntegerFormat=RGIntegerFormat;exports.RawShaderMaterial=RawShaderMaterial;exports.Ray=Ray;exports.Raycaster=Raycaster;exports.Rec709Primaries=Rec709Primaries;exports.RectAreaLight=RectAreaLight;exports.RedFormat=RedFormat;exports.RedIntegerFormat=RedIntegerFormat;exports.ReinhardToneMapping=ReinhardToneMapping;exports.RenderTarget=RenderTarget;exports.RepeatWrapping=RepeatWrapping;exports.ReplaceStencilOp=ReplaceStencilOp;exports.ReverseSubtractEquation=ReverseSubtractEquation;exports.RingGeometry=RingGeometry;exports.SIGNED_RED_GREEN_RGTC2_Format=SIGNED_RED_GREEN_RGTC2_Format;exports.SIGNED_RED_RGTC1_Format=SIGNED_RED_RGTC1_Format;exports.SRGBColorSpace=SRGBColorSpace;exports.SRGBTransfer=SRGBTransfer;exports.Scene=Scene;exports.ShaderChunk=ShaderChunk;exports.ShaderLib=ShaderLib;exports.ShaderMaterial=ShaderMaterial;exports.ShadowMaterial=ShadowMaterial;exports.Shape=Shape;exports.ShapeGeometry=ShapeGeometry;exports.ShapePath=ShapePath;exports.ShapeUtils=ShapeUtils;exports.ShortType=ShortType;exports.Skeleton=Skeleton;exports.SkeletonHelper=SkeletonHelper;exports.SkinnedMesh=SkinnedMesh;exports.Source=Source;exports.Sphere=Sphere;exports.SphereGeometry=SphereGeometry;exports.Spherical=Spherical;exports.SphericalHarmonics3=SphericalHarmonics3;exports.SplineCurve=SplineCurve;exports.SpotLight=SpotLight;exports.SpotLightHelper=SpotLightHelper;exports.Sprite=Sprite;exports.SpriteMaterial=SpriteMaterial;exports.SrcAlphaFactor=SrcAlphaFactor;exports.SrcAlphaSaturateFactor=SrcAlphaSaturateFactor;exports.SrcColorFactor=SrcColorFactor;exports.StaticCopyUsage=StaticCopyUsage;exports.StaticDrawUsage=StaticDrawUsage;exports.StaticReadUsage=StaticReadUsage;exports.StereoCamera=StereoCamera;exports.StreamCopyUsage=StreamCopyUsage;exports.StreamDrawUsage=StreamDrawUsage;exports.StreamReadUsage=StreamReadUsage;exports.StringKeyframeTrack=StringKeyframeTrack;exports.SubtractEquation=SubtractEquation;exports.SubtractiveBlending=SubtractiveBlending;exports.TOUCH=TOUCH;exports.TangentSpaceNormalMap=TangentSpaceNormalMap;exports.TetrahedronGeometry=TetrahedronGeometry;exports.Texture=Texture;exports.TextureLoader=TextureLoader;exports.TorusGeometry=TorusGeometry;exports.TorusKnotGeometry=TorusKnotGeometry;exports.Triangle=Triangle;exports.TriangleFanDrawMode=TriangleFanDrawMode;exports.TriangleStripDrawMode=TriangleStripDrawMode;exports.TrianglesDrawMode=TrianglesDrawMode;exports.TubeGeometry=TubeGeometry;exports.UVMapping=UVMapping;exports.Uint16BufferAttribute=Uint16BufferAttribute;exports.Uint32BufferAttribute=Uint32BufferAttribute;exports.Uint8BufferAttribute=Uint8BufferAttribute;exports.Uint8ClampedBufferAttribute=Uint8ClampedBufferAttribute;exports.Uniform=Uniform;exports.UniformsGroup=UniformsGroup;exports.UniformsLib=UniformsLib;exports.UniformsUtils=UniformsUtils;exports.UnsignedByteType=UnsignedByteType;exports.UnsignedInt248Type=UnsignedInt248Type;exports.UnsignedInt5999Type=UnsignedInt5999Type;exports.UnsignedIntType=UnsignedIntType;exports.UnsignedShort4444Type=UnsignedShort4444Type;exports.UnsignedShort5551Type=UnsignedShort5551Type;exports.UnsignedShortType=UnsignedShortType;exports.VSMShadowMap=VSMShadowMap;exports.Vector2=Vector2;exports.Vector3=Vector3;exports.Vector4=Vector4;exports.VectorKeyframeTrack=VectorKeyframeTrack;exports.VideoTexture=VideoTexture;exports.WebGL3DRenderTarget=WebGL3DRenderTarget;exports.WebGLArrayRenderTarget=WebGLArrayRenderTarget;exports.WebGLCoordinateSystem=WebGLCoordinateSystem;exports.WebGLCubeRenderTarget=WebGLCubeRenderTarget;exports.WebGLMultipleRenderTargets=WebGLMultipleRenderTargets;exports.WebGLRenderTarget=WebGLRenderTarget;exports.WebGLRenderer=WebGLRenderer;exports.WebGLUtils=WebGLUtils;exports.WebGPUCoordinateSystem=WebGPUCoordinateSystem;exports.WireframeGeometry=WireframeGeometry;exports.WrapAroundEnding=WrapAroundEnding;exports.ZeroCurvatureEnding=ZeroCurvatureEnding;exports.ZeroFactor=ZeroFactor;exports.ZeroSlopeEnding=ZeroSlopeEnding;exports.ZeroStencilOp=ZeroStencilOp;exports.createCanvasElement=createCanvasElement});(function(t,e){e(t.MeshBVHLib=t.MeshBVHLib||{},t.THREE=t.THREE||{})})(this,function(exports,three){const CENTER=0;const AVERAGE=1;const SAH=2;const NOT_INTERSECTED=0;const INTERSECTED=1;const CONTAINED=2;const TRIANGLE_INTERSECT_COST=1.25;const TRAVERSAL_COST=1;const BYTES_PER_NODE=6*4+4+4;const IS_LEAFNODE_FLAG=65535;const FLOAT32_EPSILON=Math.pow(2,-24);const SKIP_GENERATION=Symbol("SKIP_GENERATION");function getVertexCount(geo){return geo.index?geo.index.count:geo.attributes.position.count}function getTriCount(geo){return getVertexCount(geo)/3}function getIndexArray(vertexCount,BufferConstructor=ArrayBuffer){if(vertexCount&gt;65535){return new Uint32Array(new BufferConstructor(4*vertexCount))}else{return new Uint16Array(new BufferConstructor(2*vertexCount))}}function ensureIndex(geo,options){if(!geo.index){const vertexCount=geo.attributes.position.count;const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;const index=getIndexArray(vertexCount,BufferConstructor);geo.setIndex(new three.BufferAttribute(index,1));for(let i=0;i&lt;vertexCount;i++){index[i]=i}}}function getFullGeometryRange(geo){const triCount=getTriCount(geo);const drawRange=geo.drawRange;const start=drawRange.start/3;const end=(drawRange.start+drawRange.count)/3;const offset=Math.max(0,start);const count=Math.min(triCount,end)-offset;return[{offset:Math.floor(offset),count:Math.floor(count)}]}function getRootIndexRanges(geo){if(!geo.groups||!geo.groups.length){return getFullGeometryRange(geo)}const ranges=[];const rangeBoundaries=new Set;const drawRange=geo.drawRange;const drawRangeStart=drawRange.start/3;const drawRangeEnd=(drawRange.start+drawRange.count)/3;for(const group of geo.groups){const groupStart=group.start/3;const groupEnd=(group.start+group.count)/3;rangeBoundaries.add(Math.max(drawRangeStart,groupStart));rangeBoundaries.add(Math.min(drawRangeEnd,groupEnd))}const sortedBoundaries=Array.from(rangeBoundaries.values()).sort((a,b)=&gt;a-b);for(let i=0;i&lt;sortedBoundaries.length-1;i++){const start=sortedBoundaries[i];const end=sortedBoundaries[i+1];ranges.push({offset:Math.floor(start),count:Math.floor(end-start)})}return ranges}function hasGroupGaps(geometry){if(geometry.groups.length===0){return false}const vertexCount=getTriCount(geometry);const groups=getRootIndexRanges(geometry).sort((a,b)=&gt;a.offset-b.offset);const finalGroup=groups[groups.length-1];finalGroup.count=Math.min(vertexCount-finalGroup.offset,finalGroup.count);let total=0;groups.forEach(({count})=&gt;total+=count);return vertexCount!==total}function getBounds(triangleBounds,offset,count,target,centroidTarget){let minx=Infinity;let miny=Infinity;let minz=Infinity;let maxx=-Infinity;let maxy=-Infinity;let maxz=-Infinity;let cminx=Infinity;let cminy=Infinity;let cminz=Infinity;let cmaxx=-Infinity;let cmaxy=-Infinity;let cmaxz=-Infinity;for(let i=offset*6,end=(offset+count)*6;i&lt;end;i+=6){const cx=triangleBounds[i+0];const hx=triangleBounds[i+1];const lx=cx-hx;const rx=cx+hx;if(lx&lt;minx)minx=lx;if(rx&gt;maxx)maxx=rx;if(cx&lt;cminx)cminx=cx;if(cx&gt;cmaxx)cmaxx=cx;const cy=triangleBounds[i+2];const hy=triangleBounds[i+3];const ly=cy-hy;const ry=cy+hy;if(ly&lt;miny)miny=ly;if(ry&gt;maxy)maxy=ry;if(cy&lt;cminy)cminy=cy;if(cy&gt;cmaxy)cmaxy=cy;const cz=triangleBounds[i+4];const hz=triangleBounds[i+5];const lz=cz-hz;const rz=cz+hz;if(lz&lt;minz)minz=lz;if(rz&gt;maxz)maxz=rz;if(cz&lt;cminz)cminz=cz;if(cz&gt;cmaxz)cmaxz=cz}target[0]=minx;target[1]=miny;target[2]=minz;target[3]=maxx;target[4]=maxy;target[5]=maxz;centroidTarget[0]=cminx;centroidTarget[1]=cminy;centroidTarget[2]=cminz;centroidTarget[3]=cmaxx;centroidTarget[4]=cmaxy;centroidTarget[5]=cmaxz}function computeTriangleBounds(geo,target=null,offset=null,count=null){const posAttr=geo.attributes.position;const index=geo.index?geo.index.array:null;const triCount=getTriCount(geo);const normalized=posAttr.normalized;let triangleBounds;if(target===null){triangleBounds=new Float32Array(triCount*6*4);offset=0;count=triCount}else{triangleBounds=target;offset=offset||0;count=count||triCount}const posArr=posAttr.array;const bufferOffset=posAttr.offset||0;let stride=3;if(posAttr.isInterleavedBufferAttribute){stride=posAttr.data.stride}const getters=["getX","getY","getZ"];for(let tri=offset;tri&lt;offset+count;tri++){const tri3=tri*3;const tri6=tri*6;let ai=tri3+0;let bi=tri3+1;let ci=tri3+2;if(index){ai=index[ai];bi=index[bi];ci=index[ci]}if(!normalized){ai=ai*stride+bufferOffset;bi=bi*stride+bufferOffset;ci=ci*stride+bufferOffset}for(let el=0;el&lt;3;el++){let a,b,c;if(normalized){a=posAttr[getters[el]](ai);b=posAttr[getters[el]](bi);c=posAttr[getters[el]](ci)}else{a=posArr[ai+el];b=posArr[bi+el];c=posArr[ci+el]}let min=a;if(b&lt;min)min=b;if(c&lt;min)min=c;let max=a;if(b&gt;max)max=b;if(c&gt;max)max=c;const halfExtents=(max-min)/2;const el2=el*2;triangleBounds[tri6+el2+0]=min+halfExtents;triangleBounds[tri6+el2+1]=halfExtents+(Math.abs(min)+halfExtents)*FLOAT32_EPSILON}}return triangleBounds}function arrayToBox(nodeIndex32,array,target){target.min.x=array[nodeIndex32];target.min.y=array[nodeIndex32+1];target.min.z=array[nodeIndex32+2];target.max.x=array[nodeIndex32+3];target.max.y=array[nodeIndex32+4];target.max.z=array[nodeIndex32+5];return target}function makeEmptyBounds(target){target[0]=target[1]=target[2]=Infinity;target[3]=target[4]=target[5]=-Infinity}function getLongestEdgeIndex(bounds){let splitDimIdx=-1;let splitDist=-Infinity;for(let i=0;i&lt;3;i++){const dist=bounds[i+3]-bounds[i];if(dist&gt;splitDist){splitDist=dist;splitDimIdx=i}}return splitDimIdx}function copyBounds(source,target){target.set(source)}function unionBounds(a,b,target){let aVal,bVal;for(let d=0;d&lt;3;d++){const d3=d+3;aVal=a[d];bVal=b[d];target[d]=aVal&lt;bVal?aVal:bVal;aVal=a[d3];bVal=b[d3];target[d3]=aVal&gt;bVal?aVal:bVal}}function expandByTriangleBounds(startIndex,triangleBounds,bounds){for(let d=0;d&lt;3;d++){const tCenter=triangleBounds[startIndex+2*d];const tHalf=triangleBounds[startIndex+2*d+1];const tMin=tCenter-tHalf;const tMax=tCenter+tHalf;if(tMin&lt;bounds[d]){bounds[d]=tMin}if(tMax&gt;bounds[d+3]){bounds[d+3]=tMax}}}function computeSurfaceArea(bounds){const d0=bounds[3]-bounds[0];const d1=bounds[4]-bounds[1];const d2=bounds[5]-bounds[2];return 2*(d0*d1+d1*d2+d2*d0)}const BIN_COUNT=32;const binsSort=(a,b)=&gt;a.candidate-b.candidate;const sahBins=new Array(BIN_COUNT).fill().map(()=&gt;{return{count:0,bounds:new Float32Array(6),rightCacheBounds:new Float32Array(6),leftCacheBounds:new Float32Array(6),candidate:0}});const leftBounds=new Float32Array(6);function getOptimalSplit(nodeBoundingData,centroidBoundingData,triangleBounds,offset,count,strategy){let axis=-1;let pos=0;if(strategy===CENTER){axis=getLongestEdgeIndex(centroidBoundingData);if(axis!==-1){pos=(centroidBoundingData[axis]+centroidBoundingData[axis+3])/2}}else if(strategy===AVERAGE){axis=getLongestEdgeIndex(nodeBoundingData);if(axis!==-1){pos=getAverage(triangleBounds,offset,count,axis)}}else if(strategy===SAH){const rootSurfaceArea=computeSurfaceArea(nodeBoundingData);let bestCost=TRIANGLE_INTERSECT_COST*count;const cStart=offset*6;const cEnd=(offset+count)*6;for(let a=0;a&lt;3;a++){const axisLeft=centroidBoundingData[a];const axisRight=centroidBoundingData[a+3];const axisLength=axisRight-axisLeft;const binWidth=axisLength/BIN_COUNT;if(count&lt;BIN_COUNT/4){const truncatedBins=[...sahBins];truncatedBins.length=count;let b=0;for(let c=cStart;c&lt;cEnd;c+=6,b++){const bin=truncatedBins[b];bin.candidate=triangleBounds[c+2*a];bin.count=0;const{bounds,leftCacheBounds,rightCacheBounds}=bin;for(let d=0;d&lt;3;d++){rightCacheBounds[d]=Infinity;rightCacheBounds[d+3]=-Infinity;leftCacheBounds[d]=Infinity;leftCacheBounds[d+3]=-Infinity;bounds[d]=Infinity;bounds[d+3]=-Infinity}expandByTriangleBounds(c,triangleBounds,bounds)}truncatedBins.sort(binsSort);let splitCount=count;for(let bi=0;bi&lt;splitCount;bi++){const bin=truncatedBins[bi];while(bi+1&lt;splitCount&amp;&amp;truncatedBins[bi+1].candidate===bin.candidate){truncatedBins.splice(bi+1,1);splitCount--}}for(let c=cStart;c&lt;cEnd;c+=6){const center=triangleBounds[c+2*a];for(let bi=0;bi&lt;splitCount;bi++){const bin=truncatedBins[bi];if(center&gt;=bin.candidate){expandByTriangleBounds(c,triangleBounds,bin.rightCacheBounds)}else{expandByTriangleBounds(c,triangleBounds,bin.leftCacheBounds);bin.count++}}}for(let bi=0;bi&lt;splitCount;bi++){const bin=truncatedBins[bi];const leftCount=bin.count;const rightCount=count-bin.count;const leftBounds=bin.leftCacheBounds;const rightBounds=bin.rightCacheBounds;let leftProb=0;if(leftCount!==0){leftProb=computeSurfaceArea(leftBounds)/rootSurfaceArea}let rightProb=0;if(rightCount!==0){rightProb=computeSurfaceArea(rightBounds)/rootSurfaceArea}const cost=TRAVERSAL_COST+TRIANGLE_INTERSECT_COST*(leftProb*leftCount+rightProb*rightCount);if(cost&lt;bestCost){axis=a;bestCost=cost;pos=bin.candidate}}}else{for(let i=0;i&lt;BIN_COUNT;i++){const bin=sahBins[i];bin.count=0;bin.candidate=axisLeft+binWidth+i*binWidth;const bounds=bin.bounds;for(let d=0;d&lt;3;d++){bounds[d]=Infinity;bounds[d+3]=-Infinity}}for(let c=cStart;c&lt;cEnd;c+=6){const triCenter=triangleBounds[c+2*a];const relativeCenter=triCenter-axisLeft;let binIndex=~~(relativeCenter/binWidth);if(binIndex&gt;=BIN_COUNT)binIndex=BIN_COUNT-1;const bin=sahBins[binIndex];bin.count++;expandByTriangleBounds(c,triangleBounds,bin.bounds)}const lastBin=sahBins[BIN_COUNT-1];copyBounds(lastBin.bounds,lastBin.rightCacheBounds);for(let i=BIN_COUNT-2;i&gt;=0;i--){const bin=sahBins[i];const nextBin=sahBins[i+1];unionBounds(bin.bounds,nextBin.rightCacheBounds,bin.rightCacheBounds)}let leftCount=0;for(let i=0;i&lt;BIN_COUNT-1;i++){const bin=sahBins[i];const binCount=bin.count;const bounds=bin.bounds;const nextBin=sahBins[i+1];const rightBounds=nextBin.rightCacheBounds;if(binCount!==0){if(leftCount===0){copyBounds(bounds,leftBounds)}else{unionBounds(bounds,leftBounds,leftBounds)}}leftCount+=binCount;let leftProb=0;let rightProb=0;if(leftCount!==0){leftProb=computeSurfaceArea(leftBounds)/rootSurfaceArea}const rightCount=count-leftCount;if(rightCount!==0){rightProb=computeSurfaceArea(rightBounds)/rootSurfaceArea}const cost=TRAVERSAL_COST+TRIANGLE_INTERSECT_COST*(leftProb*leftCount+rightProb*rightCount);if(cost&lt;bestCost){axis=a;bestCost=cost;pos=bin.candidate}}}}}else{console.warn(`MeshBVH: Invalid build strategy value ${strategy} used.`)}return{axis,pos}}function getAverage(triangleBounds,offset,count,axis){let avg=0;for(let i=offset,end=offset+count;i&lt;end;i++){avg+=triangleBounds[i*6+axis*2]}return avg/count}class MeshBVHNode{constructor(){this.boundingData=new Float32Array(6)}}function partition(indirectBuffer,index,triangleBounds,offset,count,split){let left=offset;let right=offset+count-1;const pos=split.pos;const axisOffset=split.axis*2;while(true){while(left&lt;=right&amp;&amp;triangleBounds[left*6+axisOffset]&lt;pos){left++}while(left&lt;=right&amp;&amp;triangleBounds[right*6+axisOffset]&gt;=pos){right--}if(left&lt;right){for(let i=0;i&lt;3;i++){let t0=index[left*3+i];index[left*3+i]=index[right*3+i];index[right*3+i]=t0}for(let i=0;i&lt;6;i++){let tb=triangleBounds[left*6+i];triangleBounds[left*6+i]=triangleBounds[right*6+i];triangleBounds[right*6+i]=tb}left++;right--}else{return left}}}function partition_indirect(indirectBuffer,index,triangleBounds,offset,count,split){let left=offset;let right=offset+count-1;const pos=split.pos;const axisOffset=split.axis*2;while(true){while(left&lt;=right&amp;&amp;triangleBounds[left*6+axisOffset]&lt;pos){left++}while(left&lt;=right&amp;&amp;triangleBounds[right*6+axisOffset]&gt;=pos){right--}if(left&lt;right){let t=indirectBuffer[left];indirectBuffer[left]=indirectBuffer[right];indirectBuffer[right]=t;for(let i=0;i&lt;6;i++){let tb=triangleBounds[left*6+i];triangleBounds[left*6+i]=triangleBounds[right*6+i];triangleBounds[right*6+i]=tb}left++;right--}else{return left}}}function IS_LEAF(n16,uint16Array){return uint16Array[n16+15]===65535}function OFFSET(n32,uint32Array){return uint32Array[n32+6]}function COUNT(n16,uint16Array){return uint16Array[n16+14]}function LEFT_NODE(n32){return n32+8}function RIGHT_NODE(n32,uint32Array){return uint32Array[n32+6]}function SPLIT_AXIS(n32,uint32Array){return uint32Array[n32+7]}function BOUNDING_DATA_INDEX(n32){return n32}let float32Array,uint32Array,uint16Array,uint8Array;const MAX_POINTER=Math.pow(2,32);function countNodes(node){if("count"in node){return 1}else{return 1+countNodes(node.left)+countNodes(node.right)}}function populateBuffer(byteOffset,node,buffer){float32Array=new Float32Array(buffer);uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);uint8Array=new Uint8Array(buffer);return _populateBuffer(byteOffset,node)}function _populateBuffer(byteOffset,node){const stride4Offset=byteOffset/4;const stride2Offset=byteOffset/2;const isLeaf=("count"in node);const boundingData=node.boundingData;for(let i=0;i&lt;6;i++){float32Array[stride4Offset+i]=boundingData[i]}if(isLeaf){if(node.buffer){const buffer=node.buffer;uint8Array.set(new Uint8Array(buffer),byteOffset);for(let offset=byteOffset,l=byteOffset+buffer.byteLength;offset&lt;l;offset+=BYTES_PER_NODE){const offset2=offset/2;if(!IS_LEAF(offset2,uint16Array)){uint32Array[offset/4+6]+=stride4Offset}}return byteOffset+buffer.byteLength}else{const offset=node.offset;const count=node.count;uint32Array[stride4Offset+6]=offset;uint16Array[stride2Offset+14]=count;uint16Array[stride2Offset+15]=IS_LEAFNODE_FLAG;return byteOffset+BYTES_PER_NODE}}else{const left=node.left;const right=node.right;const splitAxis=node.splitAxis;let nextUnusedPointer;nextUnusedPointer=_populateBuffer(byteOffset+BYTES_PER_NODE,left);if(nextUnusedPointer/4&gt;MAX_POINTER){throw new Error("MeshBVH: Cannot store child pointer greater than 32 bits.")}uint32Array[stride4Offset+6]=nextUnusedPointer/4;nextUnusedPointer=_populateBuffer(nextUnusedPointer,right);uint32Array[stride4Offset+7]=splitAxis;return nextUnusedPointer}}function generateIndirectBuffer(geometry,useSharedArrayBuffer){const triCount=(geometry.index?geometry.index.count:geometry.attributes.position.count)/3;const useUint32=triCount&gt;2**16;const byteCount=useUint32?4:2;const buffer=useSharedArrayBuffer?new SharedArrayBuffer(triCount*byteCount):new ArrayBuffer(triCount*byteCount);const indirectBuffer=useUint32?new Uint32Array(buffer):new Uint16Array(buffer);for(let i=0,l=indirectBuffer.length;i&lt;l;i++){indirectBuffer[i]=i}return indirectBuffer}function buildTree(bvh,triangleBounds,offset,count,options){const{maxDepth,verbose,maxLeafTris,strategy,onProgress,indirect}=options;const indirectBuffer=bvh._indirectBuffer;const geometry=bvh.geometry;const indexArray=geometry.index?geometry.index.array:null;const partionFunc=indirect?partition_indirect:partition;const totalTriangles=getTriCount(geometry);const cacheCentroidBoundingData=new Float32Array(6);let reachedMaxDepth=false;const root=new MeshBVHNode;getBounds(triangleBounds,offset,count,root.boundingData,cacheCentroidBoundingData);splitNode(root,offset,count,cacheCentroidBoundingData);return root;function triggerProgress(trianglesProcessed){if(onProgress){onProgress(trianglesProcessed/totalTriangles)}}function splitNode(node,offset,count,centroidBoundingData=null,depth=0){if(!reachedMaxDepth&amp;&amp;depth&gt;=maxDepth){reachedMaxDepth=true;if(verbose){console.warn(`MeshBVH: Max depth of ${maxDepth} reached when generating BVH. Consider increasing maxDepth.`);console.warn(geometry)}}if(count&lt;=maxLeafTris||depth&gt;=maxDepth){triggerProgress(offset+count);node.offset=offset;node.count=count;return node}const split=getOptimalSplit(node.boundingData,centroidBoundingData,triangleBounds,offset,count,strategy);if(split.axis===-1){triggerProgress(offset+count);node.offset=offset;node.count=count;return node}const splitOffset=partionFunc(indirectBuffer,indexArray,triangleBounds,offset,count,split);if(splitOffset===offset||splitOffset===offset+count){triggerProgress(offset+count);node.offset=offset;node.count=count}else{node.splitAxis=split.axis;const left=new MeshBVHNode;const lstart=offset;const lcount=splitOffset-offset;node.left=left;getBounds(triangleBounds,lstart,lcount,left.boundingData,cacheCentroidBoundingData);splitNode(left,lstart,lcount,cacheCentroidBoundingData,depth+1);const right=new MeshBVHNode;const rstart=splitOffset;const rcount=count-lcount;node.right=right;getBounds(triangleBounds,rstart,rcount,right.boundingData,cacheCentroidBoundingData);splitNode(right,rstart,rcount,cacheCentroidBoundingData,depth+1)}return node}}function buildPackedTree(bvh,options){const geometry=bvh.geometry;if(options.indirect){bvh._indirectBuffer=generateIndirectBuffer(geometry,options.useSharedArrayBuffer);if(hasGroupGaps(geometry)&amp;&amp;!options.verbose){console.warn("MeshBVH: Provided geometry contains groups that do not fully span the vertex contents while using the \"indirect\" option. "+"BVH may incorrectly report intersections on unrendered portions of the geometry.")}}if(!bvh._indirectBuffer){ensureIndex(geometry,options)}const BufferConstructor=options.useSharedArrayBuffer?SharedArrayBuffer:ArrayBuffer;const triangleBounds=computeTriangleBounds(geometry);const geometryRanges=options.indirect?getFullGeometryRange(geometry):getRootIndexRanges(geometry);bvh._roots=geometryRanges.map(range=&gt;{const root=buildTree(bvh,triangleBounds,range.offset,range.count,options);const nodeCount=countNodes(root);const buffer=new BufferConstructor(BYTES_PER_NODE*nodeCount);populateBuffer(0,root,buffer);return buffer})}class SeparatingAxisBounds{constructor(){this.min=Infinity;this.max=-Infinity}setFromPointsField(points,field){let min=Infinity;let max=-Infinity;for(let i=0,l=points.length;i&lt;l;i++){const p=points[i];const val=p[field];min=val&lt;min?val:min;max=val&gt;max?val:max}this.min=min;this.max=max}setFromPoints(axis,points){let min=Infinity;let max=-Infinity;for(let i=0,l=points.length;i&lt;l;i++){const p=points[i];const val=axis.dot(p);min=val&lt;min?val:min;max=val&gt;max?val:max}this.min=min;this.max=max}isSeparated(other){return this.min&gt;other.max||other.min&gt;this.max}}SeparatingAxisBounds.prototype.setFromBox=function(){const p=new three.Vector3;return function setFromBox(axis,box){const boxMin=box.min;const boxMax=box.max;let min=Infinity;let max=-Infinity;for(let x=0;x&lt;=1;x++){for(let y=0;y&lt;=1;y++){for(let z=0;z&lt;=1;z++){p.x=boxMin.x*x+boxMax.x*(1-x);p.y=boxMin.y*y+boxMax.y*(1-y);p.z=boxMin.z*z+boxMax.z*(1-z);const val=axis.dot(p);min=Math.min(val,min);max=Math.max(val,max)}}}this.min=min;this.max=max}}();const areIntersecting=function(){const cacheSatBounds=new SeparatingAxisBounds;return function areIntersecting(shape1,shape2){const points1=shape1.points;const satAxes1=shape1.satAxes;const satBounds1=shape1.satBounds;const points2=shape2.points;const satAxes2=shape2.satAxes;const satBounds2=shape2.satBounds;for(let i=0;i&lt;3;i++){const sb=satBounds1[i];const sa=satAxes1[i];cacheSatBounds.setFromPoints(sa,points2);if(sb.isSeparated(cacheSatBounds))return false}for(let i=0;i&lt;3;i++){const sb=satBounds2[i];const sa=satAxes2[i];cacheSatBounds.setFromPoints(sa,points1);if(sb.isSeparated(cacheSatBounds))return false}}}();const closestPointLineToLine=function(){const dir1=new three.Vector3;const dir2=new three.Vector3;const v02=new three.Vector3;return function closestPointLineToLine(l1,l2,result){const v0=l1.start;const v10=dir1;const v2=l2.start;const v32=dir2;v02.subVectors(v0,v2);dir1.subVectors(l1.end,l1.start);dir2.subVectors(l2.end,l2.start);const d0232=v02.dot(v32);const d3210=v32.dot(v10);const d3232=v32.dot(v32);const d0210=v02.dot(v10);const d1010=v10.dot(v10);const denom=d1010*d3232-d3210*d3210;let d,d2;if(denom!==0){d=(d0232*d3210-d0210*d3232)/denom}else{d=0}d2=(d0232+d*d3210)/d3232;result.x=d;result.y=d2}}();const closestPointsSegmentToSegment=function(){const paramResult=new three.Vector2;const temp1=new three.Vector3;const temp2=new three.Vector3;return function closestPointsSegmentToSegment(l1,l2,target1,target2){closestPointLineToLine(l1,l2,paramResult);let d=paramResult.x;let d2=paramResult.y;if(d&gt;=0&amp;&amp;d&lt;=1&amp;&amp;d2&gt;=0&amp;&amp;d2&lt;=1){l1.at(d,target1);l2.at(d2,target2);return}else if(d&gt;=0&amp;&amp;d&lt;=1){if(d2&lt;0){l2.at(0,target2)}else{l2.at(1,target2)}l1.closestPointToPoint(target2,true,target1);return}else if(d2&gt;=0&amp;&amp;d2&lt;=1){if(d&lt;0){l1.at(0,target1)}else{l1.at(1,target1)}l2.closestPointToPoint(target1,true,target2);return}else{let p;if(d&lt;0){p=l1.start}else{p=l1.end}let p2;if(d2&lt;0){p2=l2.start}else{p2=l2.end}const closestPoint=temp1;const closestPoint2=temp2;l1.closestPointToPoint(p2,true,temp1);l2.closestPointToPoint(p,true,temp2);if(closestPoint.distanceToSquared(p2)&lt;=closestPoint2.distanceToSquared(p)){target1.copy(closestPoint);target2.copy(p2);return}else{target1.copy(p);target2.copy(closestPoint2);return}}}}();const sphereIntersectTriangle=function(){const closestPointTemp=new three.Vector3;const projectedPointTemp=new three.Vector3;const planeTemp=new three.Plane;const lineTemp=new three.Line3;return function sphereIntersectTriangle(sphere,triangle){const{radius,center}=sphere;const{a,b,c}=triangle;lineTemp.start=a;lineTemp.end=b;const closestPoint1=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint1.distanceTo(center)&lt;=radius)return true;lineTemp.start=a;lineTemp.end=c;const closestPoint2=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint2.distanceTo(center)&lt;=radius)return true;lineTemp.start=b;lineTemp.end=c;const closestPoint3=lineTemp.closestPointToPoint(center,true,closestPointTemp);if(closestPoint3.distanceTo(center)&lt;=radius)return true;const plane=triangle.getPlane(planeTemp);const dp=Math.abs(plane.distanceToPoint(center));if(dp&lt;=radius){const pp=plane.projectPoint(center,projectedPointTemp);const cp=triangle.containsPoint(pp);if(cp)return true}return false}}();const ZERO_EPSILON=1e-15;function isNearZero(value){return Math.abs(value)&lt;ZERO_EPSILON}class ExtendedTriangle extends three.Triangle{constructor(...args){super(...args);this.isExtendedTriangle=true;this.satAxes=new Array(4).fill().map(()=&gt;new three.Vector3);this.satBounds=new Array(4).fill().map(()=&gt;new SeparatingAxisBounds);this.points=[this.a,this.b,this.c];this.sphere=new three.Sphere;this.plane=new three.Plane;this.needsUpdate=true}intersectsSphere(sphere){return sphereIntersectTriangle(sphere,this)}update(){const a=this.a;const b=this.b;const c=this.c;const points=this.points;const satAxes=this.satAxes;const satBounds=this.satBounds;const axis0=satAxes[0];const sab0=satBounds[0];this.getNormal(axis0);sab0.setFromPoints(axis0,points);const axis1=satAxes[1];const sab1=satBounds[1];axis1.subVectors(a,b);sab1.setFromPoints(axis1,points);const axis2=satAxes[2];const sab2=satBounds[2];axis2.subVectors(b,c);sab2.setFromPoints(axis2,points);const axis3=satAxes[3];const sab3=satBounds[3];axis3.subVectors(c,a);sab3.setFromPoints(axis3,points);this.sphere.setFromPoints(this.points);this.plane.setFromNormalAndCoplanarPoint(axis0,a);this.needsUpdate=false}}ExtendedTriangle.prototype.closestPointToSegment=function(){const point1=new three.Vector3;const point2=new three.Vector3;const edge=new three.Line3;return function distanceToSegment(segment,target1=null,target2=null){const{start,end}=segment;const points=this.points;let distSq;let closestDistanceSq=Infinity;for(let i=0;i&lt;3;i++){const nexti=(i+1)%3;edge.start.copy(points[i]);edge.end.copy(points[nexti]);closestPointsSegmentToSegment(edge,segment,point1,point2);distSq=point1.distanceToSquared(point2);if(distSq&lt;closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(point2)}}this.closestPointToPoint(start,point1);distSq=start.distanceToSquared(point1);if(distSq&lt;closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(start)}this.closestPointToPoint(end,point1);distSq=end.distanceToSquared(point1);if(distSq&lt;closestDistanceSq){closestDistanceSq=distSq;if(target1)target1.copy(point1);if(target2)target2.copy(end)}return Math.sqrt(closestDistanceSq)}}();ExtendedTriangle.prototype.intersectsTriangle=function(){const saTri2=new ExtendedTriangle;const arr1=new Array(3);const arr2=new Array(3);const cachedSatBounds=new SeparatingAxisBounds;const cachedSatBounds2=new SeparatingAxisBounds;const cachedAxis=new three.Vector3;const dir=new three.Vector3;const dir1=new three.Vector3;const dir2=new three.Vector3;const tempDir=new three.Vector3;const edge=new three.Line3;const edge1=new three.Line3;const edge2=new three.Line3;const tempPoint=new three.Vector3;function triIntersectPlane(tri,plane,targetEdge){const points=tri.points;let count=0;let startPointIntersection=-1;for(let i=0;i&lt;3;i++){const{start,end}=edge;start.copy(points[i]);end.copy(points[(i+1)%3]);edge.delta(dir);const startIntersects=isNearZero(plane.distanceToPoint(start));if(isNearZero(plane.normal.dot(dir))&amp;&amp;startIntersects){targetEdge.copy(edge);count=2;break}const doesIntersect=plane.intersectLine(edge,tempPoint);if(!doesIntersect&amp;&amp;startIntersects){tempPoint.copy(start)}if((doesIntersect||startIntersects)&amp;&amp;!isNearZero(tempPoint.distanceTo(end))){if(count&lt;=1){const point=count===1?targetEdge.start:targetEdge.end;point.copy(tempPoint);if(startIntersects){startPointIntersection=count}}else if(count&gt;=2){const point=startPointIntersection===1?targetEdge.start:targetEdge.end;point.copy(tempPoint);count=2;break}count++;if(count===2&amp;&amp;startPointIntersection===-1){break}}}return count}return function intersectsTriangle(other,target=null,suppressLog=false){if(this.needsUpdate){this.update()}if(!other.isExtendedTriangle){saTri2.copy(other);saTri2.update();other=saTri2}else if(other.needsUpdate){other.update()}const plane1=this.plane;const plane2=other.plane;if(Math.abs(plane1.normal.dot(plane2.normal))&gt;1-1e-10){const satBounds1=this.satBounds;const satAxes1=this.satAxes;arr2[0]=other.a;arr2[1]=other.b;arr2[2]=other.c;for(let i=0;i&lt;4;i++){const sb=satBounds1[i];const sa=satAxes1[i];cachedSatBounds.setFromPoints(sa,arr2);if(sb.isSeparated(cachedSatBounds))return false}const satBounds2=other.satBounds;const satAxes2=other.satAxes;arr1[0]=this.a;arr1[1]=this.b;arr1[2]=this.c;for(let i=0;i&lt;4;i++){const sb=satBounds2[i];const sa=satAxes2[i];cachedSatBounds.setFromPoints(sa,arr1);if(sb.isSeparated(cachedSatBounds))return false}for(let i=0;i&lt;4;i++){const sa1=satAxes1[i];for(let i2=0;i2&lt;4;i2++){const sa2=satAxes2[i2];cachedAxis.crossVectors(sa1,sa2);cachedSatBounds.setFromPoints(cachedAxis,arr1);cachedSatBounds2.setFromPoints(cachedAxis,arr2);if(cachedSatBounds.isSeparated(cachedSatBounds2))return false}}if(target){if(!suppressLog){console.warn("ExtendedTriangle.intersectsTriangle: Triangles are coplanar which does not support an output edge. Setting edge to 0, 0, 0.")}target.start.set(0,0,0);target.end.set(0,0,0)}return true}else{const count1=triIntersectPlane(this,plane2,edge1);if(count1===1&amp;&amp;other.containsPoint(edge1.end)){if(target){target.start.copy(edge1.end);target.end.copy(edge1.end)}return true}else if(count1!==2){return false}const count2=triIntersectPlane(other,plane1,edge2);if(count2===1&amp;&amp;this.containsPoint(edge2.end)){if(target){target.start.copy(edge2.end);target.end.copy(edge2.end)}return true}else if(count2!==2){return false}edge1.delta(dir1);edge2.delta(dir2);if(dir1.dot(dir2)&lt;0){let tmp=edge2.start;edge2.start=edge2.end;edge2.end=tmp}const s1=edge1.start.dot(dir1);const e1=edge1.end.dot(dir1);const s2=edge2.start.dot(dir1);const e2=edge2.end.dot(dir1);const separated1=e1&lt;s2;const separated2=s1&lt;e2;if(s1!==e2&amp;&amp;s2!==e1&amp;&amp;separated1===separated2){return false}if(target){tempDir.subVectors(edge1.start,edge2.start);if(tempDir.dot(dir1)&gt;0){target.start.copy(edge1.start)}else{target.start.copy(edge2.start)}tempDir.subVectors(edge1.end,edge2.end);if(tempDir.dot(dir1)&lt;0){target.end.copy(edge1.end)}else{target.end.copy(edge2.end)}}return true}}}();ExtendedTriangle.prototype.distanceToPoint=function(){const target=new three.Vector3;return function distanceToPoint(point){this.closestPointToPoint(point,target);return point.distanceTo(target)}}();ExtendedTriangle.prototype.distanceToTriangle=function(){const point=new three.Vector3;const point2=new three.Vector3;const cornerFields=["a","b","c"];const line1=new three.Line3;const line2=new three.Line3;return function distanceToTriangle(other,target1=null,target2=null){const lineTarget=target1||target2?line1:null;if(this.intersectsTriangle(other,lineTarget)){if(target1||target2){if(target1)lineTarget.getCenter(target1);if(target2)lineTarget.getCenter(target2)}return 0}let closestDistanceSq=Infinity;for(let i=0;i&lt;3;i++){let dist;const field=cornerFields[i];const otherVec=other[field];this.closestPointToPoint(otherVec,point);dist=otherVec.distanceToSquared(point);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point);if(target2)target2.copy(otherVec)}const thisVec=this[field];other.closestPointToPoint(thisVec,point);dist=thisVec.distanceToSquared(point);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(thisVec);if(target2)target2.copy(point)}}for(let i=0;i&lt;3;i++){const f11=cornerFields[i];const f12=cornerFields[(i+1)%3];line1.set(this[f11],this[f12]);for(let i2=0;i2&lt;3;i2++){const f21=cornerFields[i2];const f22=cornerFields[(i2+1)%3];line2.set(other[f21],other[f22]);closestPointsSegmentToSegment(line1,line2,point,point2);const dist=point.distanceToSquared(point2);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point);if(target2)target2.copy(point2)}}}return Math.sqrt(closestDistanceSq)}}();class OrientedBox{constructor(min,max,matrix){this.isOrientedBox=true;this.min=new three.Vector3;this.max=new three.Vector3;this.matrix=new three.Matrix4;this.invMatrix=new three.Matrix4;this.points=new Array(8).fill().map(()=&gt;new three.Vector3);this.satAxes=new Array(3).fill().map(()=&gt;new three.Vector3);this.satBounds=new Array(3).fill().map(()=&gt;new SeparatingAxisBounds);this.alignedSatBounds=new Array(3).fill().map(()=&gt;new SeparatingAxisBounds);this.needsUpdate=false;if(min)this.min.copy(min);if(max)this.max.copy(max);if(matrix)this.matrix.copy(matrix)}set(min,max,matrix){this.min.copy(min);this.max.copy(max);this.matrix.copy(matrix);this.needsUpdate=true}copy(other){this.min.copy(other.min);this.max.copy(other.max);this.matrix.copy(other.matrix);this.needsUpdate=true}}OrientedBox.prototype.update=function(){return function update(){const matrix=this.matrix;const min=this.min;const max=this.max;const points=this.points;for(let x=0;x&lt;=1;x++){for(let y=0;y&lt;=1;y++){for(let z=0;z&lt;=1;z++){const i=(1&lt;&lt;0)*x|(1&lt;&lt;1)*y|(1&lt;&lt;2)*z;const v=points[i];v.x=x?max.x:min.x;v.y=y?max.y:min.y;v.z=z?max.z:min.z;v.applyMatrix4(matrix)}}}const satBounds=this.satBounds;const satAxes=this.satAxes;const minVec=points[0];for(let i=0;i&lt;3;i++){const axis=satAxes[i];const sb=satBounds[i];const index=1&lt;&lt;i;const pi=points[index];axis.subVectors(minVec,pi);sb.setFromPoints(axis,points)}const alignedSatBounds=this.alignedSatBounds;alignedSatBounds[0].setFromPointsField(points,"x");alignedSatBounds[1].setFromPointsField(points,"y");alignedSatBounds[2].setFromPointsField(points,"z");this.invMatrix.copy(this.matrix).invert();this.needsUpdate=false}}();OrientedBox.prototype.intersectsBox=function(){const aabbBounds=new SeparatingAxisBounds;return function intersectsBox(box){if(this.needsUpdate){this.update()}const min=box.min;const max=box.max;const satBounds=this.satBounds;const satAxes=this.satAxes;const alignedSatBounds=this.alignedSatBounds;aabbBounds.min=min.x;aabbBounds.max=max.x;if(alignedSatBounds[0].isSeparated(aabbBounds))return false;aabbBounds.min=min.y;aabbBounds.max=max.y;if(alignedSatBounds[1].isSeparated(aabbBounds))return false;aabbBounds.min=min.z;aabbBounds.max=max.z;if(alignedSatBounds[2].isSeparated(aabbBounds))return false;for(let i=0;i&lt;3;i++){const axis=satAxes[i];const sb=satBounds[i];aabbBounds.setFromBox(axis,box);if(sb.isSeparated(aabbBounds))return false}return true}}();OrientedBox.prototype.intersectsTriangle=function(){const saTri=new ExtendedTriangle;const pointsArr=new Array(3);const cachedSatBounds=new SeparatingAxisBounds;const cachedSatBounds2=new SeparatingAxisBounds;const cachedAxis=new three.Vector3;return function intersectsTriangle(triangle){if(this.needsUpdate){this.update()}if(!triangle.isExtendedTriangle){saTri.copy(triangle);saTri.update();triangle=saTri}else if(triangle.needsUpdate){triangle.update()}const satBounds=this.satBounds;const satAxes=this.satAxes;pointsArr[0]=triangle.a;pointsArr[1]=triangle.b;pointsArr[2]=triangle.c;for(let i=0;i&lt;3;i++){const sb=satBounds[i];const sa=satAxes[i];cachedSatBounds.setFromPoints(sa,pointsArr);if(sb.isSeparated(cachedSatBounds))return false}const triSatBounds=triangle.satBounds;const triSatAxes=triangle.satAxes;const points=this.points;for(let i=0;i&lt;3;i++){const sb=triSatBounds[i];const sa=triSatAxes[i];cachedSatBounds.setFromPoints(sa,points);if(sb.isSeparated(cachedSatBounds))return false}for(let i=0;i&lt;3;i++){const sa1=satAxes[i];for(let i2=0;i2&lt;4;i2++){const sa2=triSatAxes[i2];cachedAxis.crossVectors(sa1,sa2);cachedSatBounds.setFromPoints(cachedAxis,pointsArr);cachedSatBounds2.setFromPoints(cachedAxis,points);if(cachedSatBounds.isSeparated(cachedSatBounds2))return false}}return true}}();OrientedBox.prototype.closestPointToPoint=function(){return function closestPointToPoint(point,target1){if(this.needsUpdate){this.update()}target1.copy(point).applyMatrix4(this.invMatrix).clamp(this.min,this.max).applyMatrix4(this.matrix);return target1}}();OrientedBox.prototype.distanceToPoint=function(){const target=new three.Vector3;return function distanceToPoint(point){this.closestPointToPoint(point,target);return point.distanceTo(target)}}();OrientedBox.prototype.distanceToBox=function(){const xyzFields=["x","y","z"];const segments1=new Array(12).fill().map(()=&gt;new three.Line3);const segments2=new Array(12).fill().map(()=&gt;new three.Line3);const point1=new three.Vector3;const point2=new three.Vector3;return function distanceToBox(box,threshold=0,target1=null,target2=null){if(this.needsUpdate){this.update()}if(this.intersectsBox(box)){if(target1||target2){box.getCenter(point2);this.closestPointToPoint(point2,point1);box.closestPointToPoint(point1,point2);if(target1)target1.copy(point1);if(target2)target2.copy(point2)}return 0}const threshold2=threshold*threshold;const min=box.min;const max=box.max;const points=this.points;let closestDistanceSq=Infinity;for(let i=0;i&lt;8;i++){const p=points[i];point2.copy(p).clamp(min,max);const dist=p.distanceToSquared(point2);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(p);if(target2)target2.copy(point2);if(dist&lt;threshold2)return Math.sqrt(dist)}}let count=0;for(let i=0;i&lt;3;i++){for(let i1=0;i1&lt;=1;i1++){for(let i2=0;i2&lt;=1;i2++){const nextIndex=(i+1)%3;const nextIndex2=(i+2)%3;const index=i1&lt;&lt;nextIndex|i2&lt;&lt;nextIndex2;const index2=1&lt;&lt;i|i1&lt;&lt;nextIndex|i2&lt;&lt;nextIndex2;const p1=points[index];const p2=points[index2];const line1=segments1[count];line1.set(p1,p2);const f1=xyzFields[i];const f2=xyzFields[nextIndex];const f3=xyzFields[nextIndex2];const line2=segments2[count];const start=line2.start;const end=line2.end;start[f1]=min[f1];start[f2]=i1?min[f2]:max[f2];start[f3]=i2?min[f3]:max[f2];end[f1]=max[f1];end[f2]=i1?min[f2]:max[f2];end[f3]=i2?min[f3]:max[f2];count++}}}for(let x=0;x&lt;=1;x++){for(let y=0;y&lt;=1;y++){for(let z=0;z&lt;=1;z++){point2.x=x?max.x:min.x;point2.y=y?max.y:min.y;point2.z=z?max.z:min.z;this.closestPointToPoint(point2,point1);const dist=point2.distanceToSquared(point1);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist&lt;threshold2)return Math.sqrt(dist)}}}}for(let i=0;i&lt;12;i++){const l1=segments1[i];for(let i2=0;i2&lt;12;i2++){const l2=segments2[i2];closestPointsSegmentToSegment(l1,l2,point1,point2);const dist=point1.distanceToSquared(point2);if(dist&lt;closestDistanceSq){closestDistanceSq=dist;if(target1)target1.copy(point1);if(target2)target2.copy(point2);if(dist&lt;threshold2)return Math.sqrt(dist)}}}return Math.sqrt(closestDistanceSq)}}();class PrimitivePool{constructor(getNewPrimitive){this._getNewPrimitive=getNewPrimitive;this._primitives=[]}getPrimitive(){const primitives=this._primitives;if(primitives.length===0){return this._getNewPrimitive()}else{return primitives.pop()}}releasePrimitive(primitive){this._primitives.push(primitive)}}class ExtendedTrianglePoolBase extends PrimitivePool{constructor(){super(()=&gt;new ExtendedTriangle)}}const ExtendedTrianglePool=new ExtendedTrianglePoolBase;class _BufferStack{constructor(){this.float32Array=null;this.uint16Array=null;this.uint32Array=null;const stack=[];let prevBuffer=null;this.setBuffer=buffer=&gt;{if(prevBuffer){stack.push(prevBuffer)}prevBuffer=buffer;this.float32Array=new Float32Array(buffer);this.uint16Array=new Uint16Array(buffer);this.uint32Array=new Uint32Array(buffer)};this.clearBuffer=()=&gt;{prevBuffer=null;this.float32Array=null;this.uint16Array=null;this.uint32Array=null;if(stack.length!==0){this.setBuffer(stack.pop())}}}}const BufferStack=new _BufferStack;let _box1$1,_box2$1;const boxStack=[];const boxPool=new PrimitivePool(()=&gt;new three.Box3);function shapecast(bvh,root,intersectsBounds,intersectsRange,boundsTraverseOrder,byteOffset){_box1$1=boxPool.getPrimitive();_box2$1=boxPool.getPrimitive();boxStack.push(_box1$1,_box2$1);BufferStack.setBuffer(bvh._roots[root]);const result=shapecastTraverse(0,bvh.geometry,intersectsBounds,intersectsRange,boundsTraverseOrder,byteOffset);BufferStack.clearBuffer();boxPool.releasePrimitive(_box1$1);boxPool.releasePrimitive(_box2$1);boxStack.pop();boxStack.pop();const length=boxStack.length;if(length&gt;0){_box2$1=boxStack[length-1];_box1$1=boxStack[length-2]}return result}function shapecastTraverse(nodeIndex32,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc=null,nodeIndexByteOffset=0,depth=0){const{float32Array,uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);arrayToBox(BOUNDING_DATA_INDEX(nodeIndex32),float32Array,_box1$1);return intersectsRangeFunc(offset,count,false,depth,nodeIndexByteOffset+nodeIndex32,_box1$1)}else{const left=LEFT_NODE(nodeIndex32);const right=RIGHT_NODE(nodeIndex32,uint32Array);let c1=left;let c2=right;let score1,score2;let box1,box2;if(nodeScoreFunc){box1=_box1$1;box2=_box2$1;arrayToBox(BOUNDING_DATA_INDEX(c1),float32Array,box1);arrayToBox(BOUNDING_DATA_INDEX(c2),float32Array,box2);score1=nodeScoreFunc(box1);score2=nodeScoreFunc(box2);if(score2&lt;score1){c1=right;c2=left;const temp=score1;score1=score2;score2=temp;box1=box2}}if(!box1){box1=_box1$1;arrayToBox(BOUNDING_DATA_INDEX(c1),float32Array,box1)}const isC1Leaf=IS_LEAF(c1*2,uint16Array);const c1Intersection=intersectsBoundsFunc(box1,isC1Leaf,score1,depth+1,nodeIndexByteOffset+c1);let c1StopTraversal;if(c1Intersection===CONTAINED){const offset=getLeftOffset(c1);const end=getRightEndOffset(c1);const count=end-offset;c1StopTraversal=intersectsRangeFunc(offset,count,true,depth+1,nodeIndexByteOffset+c1,box1)}else{c1StopTraversal=c1Intersection&amp;&amp;shapecastTraverse(c1,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c1StopTraversal)return true;box2=_box2$1;arrayToBox(BOUNDING_DATA_INDEX(c2),float32Array,box2);const isC2Leaf=IS_LEAF(c2*2,uint16Array);const c2Intersection=intersectsBoundsFunc(box2,isC2Leaf,score2,depth+1,nodeIndexByteOffset+c2);let c2StopTraversal;if(c2Intersection===CONTAINED){const offset=getLeftOffset(c2);const end=getRightEndOffset(c2);const count=end-offset;c2StopTraversal=intersectsRangeFunc(offset,count,true,depth+1,nodeIndexByteOffset+c2,box2)}else{c2StopTraversal=c2Intersection&amp;&amp;shapecastTraverse(c2,geometry,intersectsBoundsFunc,intersectsRangeFunc,nodeScoreFunc,nodeIndexByteOffset,depth+1)}if(c2StopTraversal)return true;return false;function getLeftOffset(nodeIndex32){const{uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=LEFT_NODE(nodeIndex32);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)}function getRightEndOffset(nodeIndex32){const{uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;while(!IS_LEAF(nodeIndex16,uint16Array)){nodeIndex32=RIGHT_NODE(nodeIndex32,uint32Array);nodeIndex16=nodeIndex32*2}return OFFSET(nodeIndex32,uint32Array)+COUNT(nodeIndex16,uint16Array)}}}const temp=new three.Vector3;const temp1$2=new three.Vector3;function closestPointToPoint(bvh,point,target={},minThreshold=0,maxThreshold=Infinity){const minThresholdSq=minThreshold*minThreshold;const maxThresholdSq=maxThreshold*maxThreshold;let closestDistanceSq=Infinity;let closestDistanceTriIndex=null;bvh.shapecast({boundsTraverseOrder:box=&gt;{temp.copy(point).clamp(box.min,box.max);return temp.distanceToSquared(point)},intersectsBounds:(box,isLeaf,score)=&gt;{return score&lt;closestDistanceSq&amp;&amp;score&lt;maxThresholdSq},intersectsTriangle:(tri,triIndex)=&gt;{tri.closestPointToPoint(point,temp);const distSq=point.distanceToSquared(temp);if(distSq&lt;closestDistanceSq){temp1$2.copy(temp);closestDistanceSq=distSq;closestDistanceTriIndex=triIndex}if(distSq&lt;minThresholdSq){return true}else{return false}}});if(closestDistanceSq===Infinity)return null;const closestDistance=Math.sqrt(closestDistanceSq);if(!target.point)target.point=temp1$2.clone();else target.point.copy(temp1$2);target.distance=closestDistance,target.faceIndex=closestDistanceTriIndex;return target}const _vA=new three.Vector3;const _vB=new three.Vector3;const _vC=new three.Vector3;const _uvA=new three.Vector2;const _uvB=new three.Vector2;const _uvC=new three.Vector2;const _normalA=new three.Vector3;const _normalB=new three.Vector3;const _normalC=new three.Vector3;const _intersectionPoint=new three.Vector3;function checkIntersection(ray,pA,pB,pC,point,side){let intersect;if(side===three.BackSide){intersect=ray.intersectTriangle(pC,pB,pA,true,point)}else{intersect=ray.intersectTriangle(pA,pB,pC,side!==three.DoubleSide,point)}if(intersect===null)return null;const distance=ray.origin.distanceTo(point);return{distance:distance,point:point.clone()}}function checkBufferGeometryIntersection(ray,position,normal,uv,uv1,a,b,c,side){_vA.fromBufferAttribute(position,a);_vB.fromBufferAttribute(position,b);_vC.fromBufferAttribute(position,c);const intersection=checkIntersection(ray,_vA,_vB,_vC,_intersectionPoint,side);if(intersection){if(uv){_uvA.fromBufferAttribute(uv,a);_uvB.fromBufferAttribute(uv,b);_uvC.fromBufferAttribute(uv,c);intersection.uv=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new three.Vector2)}if(uv1){_uvA.fromBufferAttribute(uv1,a);_uvB.fromBufferAttribute(uv1,b);_uvC.fromBufferAttribute(uv1,c);intersection.uv1=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new three.Vector2)}if(normal){_normalA.fromBufferAttribute(normal,a);_normalB.fromBufferAttribute(normal,b);_normalC.fromBufferAttribute(normal,c);intersection.normal=three.Triangle.getInterpolation(_intersectionPoint,_vA,_vB,_vC,_normalA,_normalB,_normalC,new three.Vector3);if(intersection.normal.dot(ray.direction)&gt;0){intersection.normal.multiplyScalar(-1)}}const face={a:a,b:b,c:c,normal:new three.Vector3,materialIndex:0};three.Triangle.getNormal(_vA,_vB,_vC,face.normal);intersection.face=face;intersection.faceIndex=a}return intersection}function intersectTri(geo,side,ray,tri,intersections){const triOffset=tri*3;let a=triOffset+0;let b=triOffset+1;let c=triOffset+2;const index=geo.index;if(geo.index){a=index.getX(a);b=index.getX(b);c=index.getX(c)}const{position,normal,uv,uv1}=geo.attributes;const intersection=checkBufferGeometryIntersection(ray,position,normal,uv,uv1,a,b,c,side);if(intersection){intersection.faceIndex=tri;if(intersections)intersections.push(intersection);return intersection}return null}function setTriangle(tri,i,index,pos){const ta=tri.a;const tb=tri.b;const tc=tri.c;let i0=i;let i1=i+1;let i2=i+2;if(index){i0=index.getX(i0);i1=index.getX(i1);i2=index.getX(i2)}ta.x=pos.getX(i0);ta.y=pos.getY(i0);ta.z=pos.getZ(i0);tb.x=pos.getX(i1);tb.y=pos.getY(i1);tb.z=pos.getZ(i1);tc.x=pos.getX(i2);tc.y=pos.getY(i2);tc.z=pos.getZ(i2)}const tempV1=new three.Vector3;const tempV2=new three.Vector3;const tempV3=new three.Vector3;const tempUV1=new three.Vector2;const tempUV2=new three.Vector2;const tempUV3=new three.Vector2;function getTriangleHitPointInfo(point,geometry,triangleIndex,target){const indices=geometry.getIndex().array;const positions=geometry.getAttribute("position");const uvs=geometry.getAttribute("uv");const a=indices[triangleIndex*3];const b=indices[triangleIndex*3+1];const c=indices[triangleIndex*3+2];tempV1.fromBufferAttribute(positions,a);tempV2.fromBufferAttribute(positions,b);tempV3.fromBufferAttribute(positions,c);let materialIndex=0;const groups=geometry.groups;const firstVertexIndex=triangleIndex*3;for(let i=0,l=groups.length;i&lt;l;i++){const group=groups[i];const{start,count}=group;if(firstVertexIndex&gt;=start&amp;&amp;firstVertexIndex&lt;start+count){materialIndex=group.materialIndex;break}}let uv=null;if(uvs){tempUV1.fromBufferAttribute(uvs,a);tempUV2.fromBufferAttribute(uvs,b);tempUV3.fromBufferAttribute(uvs,c);if(target&amp;&amp;target.uv)uv=target.uv;else uv=new three.Vector2;three.Triangle.getInterpolation(point,tempV1,tempV2,tempV3,tempUV1,tempUV2,tempUV3,uv)}if(target){if(!target.face)target.face={};target.face.a=a;target.face.b=b;target.face.c=c;target.face.materialIndex=materialIndex;if(!target.face.normal)target.face.normal=new three.Vector3;three.Triangle.getNormal(tempV1,tempV2,tempV3,target.face.normal);if(uv)target.uv=uv;return target}else{return{face:{a:a,b:b,c:c,materialIndex:materialIndex,normal:three.Triangle.getNormal(tempV1,tempV2,tempV3,new three.Vector3)},uv:uv}}}function intersectTris(bvh,side,ray,offset,count,intersections){const{geometry,_indirectBuffer}=bvh;for(let i=offset,end=offset+count;i&lt;end;i++){intersectTri(geometry,side,ray,i,intersections)}}function intersectClosestTri(bvh,side,ray,offset,count){const{geometry,_indirectBuffer}=bvh;let dist=Infinity;let res=null;for(let i=offset,end=offset+count;i&lt;end;i++){let intersection;intersection=intersectTri(geometry,side,ray,i);if(intersection&amp;&amp;intersection.distance&lt;dist){res=intersection;dist=intersection.distance}}return res}function iterateOverTriangles(offset,count,bvh,intersectsTriangleFunc,contained,depth,triangle){const{geometry}=bvh;const{index}=geometry;const pos=geometry.attributes.position;for(let i=offset,l=count+offset;i&lt;l;i++){let tri;tri=i;setTriangle(triangle,tri*3,index,pos);triangle.needsUpdate=true;if(intersectsTriangleFunc(triangle,tri,contained,depth)){return true}}return false}function refit(bvh,nodeIndices=null){if(nodeIndices&amp;&amp;Array.isArray(nodeIndices)){nodeIndices=new Set(nodeIndices)}const geometry=bvh.geometry;const indexArr=geometry.index?geometry.index.array:null;const posAttr=geometry.attributes.position;let buffer,uint32Array,uint16Array,float32Array;let byteOffset=0;const roots=bvh._roots;for(let i=0,l=roots.length;i&lt;l;i++){buffer=roots[i];uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);float32Array=new Float32Array(buffer);_traverse(0,byteOffset);byteOffset+=buffer.byteLength}function _traverse(node32Index,byteOffset,force=false){const node16Index=node32Index*2;const isLeaf=uint16Array[node16Index+15]===IS_LEAFNODE_FLAG;if(isLeaf){const offset=uint32Array[node32Index+6];const count=uint16Array[node16Index+14];let minx=Infinity;let miny=Infinity;let minz=Infinity;let maxx=-Infinity;let maxy=-Infinity;let maxz=-Infinity;for(let i=3*offset,l=3*(offset+count);i&lt;l;i++){let index=indexArr[i];const x=posAttr.getX(index);const y=posAttr.getY(index);const z=posAttr.getZ(index);if(x&lt;minx)minx=x;if(x&gt;maxx)maxx=x;if(y&lt;miny)miny=y;if(y&gt;maxy)maxy=y;if(z&lt;minz)minz=z;if(z&gt;maxz)maxz=z}if(float32Array[node32Index+0]!==minx||float32Array[node32Index+1]!==miny||float32Array[node32Index+2]!==minz||float32Array[node32Index+3]!==maxx||float32Array[node32Index+4]!==maxy||float32Array[node32Index+5]!==maxz){float32Array[node32Index+0]=minx;float32Array[node32Index+1]=miny;float32Array[node32Index+2]=minz;float32Array[node32Index+3]=maxx;float32Array[node32Index+4]=maxy;float32Array[node32Index+5]=maxz;return true}else{return false}}else{const left=node32Index+8;const right=uint32Array[node32Index+6];const offsetLeft=left+byteOffset;const offsetRight=right+byteOffset;let forceChildren=force;let includesLeft=false;let includesRight=false;if(nodeIndices){if(!forceChildren){includesLeft=nodeIndices.has(offsetLeft);includesRight=nodeIndices.has(offsetRight);forceChildren=!includesLeft&amp;&amp;!includesRight}}else{includesLeft=true;includesRight=true}const traverseLeft=forceChildren||includesLeft;const traverseRight=forceChildren||includesRight;let leftChange=false;if(traverseLeft){leftChange=_traverse(left,byteOffset,forceChildren)}let rightChange=false;if(traverseRight){rightChange=_traverse(right,byteOffset,forceChildren)}const didChange=leftChange||rightChange;if(didChange){for(let i=0;i&lt;3;i++){const lefti=left+i;const righti=right+i;const minLeftValue=float32Array[lefti];const maxLeftValue=float32Array[lefti+3];const minRightValue=float32Array[righti];const maxRightValue=float32Array[righti+3];float32Array[node32Index+i]=minLeftValue&lt;minRightValue?minLeftValue:minRightValue;float32Array[node32Index+i+3]=maxLeftValue&gt;maxRightValue?maxLeftValue:maxRightValue}}return didChange}}}function intersectRay(nodeIndex32,array,ray){let tmin,tmax,tymin,tymax,tzmin,tzmax;const invdirx=1/ray.direction.x,invdiry=1/ray.direction.y,invdirz=1/ray.direction.z;const ox=ray.origin.x;const oy=ray.origin.y;const oz=ray.origin.z;let minx=array[nodeIndex32];let maxx=array[nodeIndex32+3];let miny=array[nodeIndex32+1];let maxy=array[nodeIndex32+3+1];let minz=array[nodeIndex32+2];let maxz=array[nodeIndex32+3+2];if(invdirx&gt;=0){tmin=(minx-ox)*invdirx;tmax=(maxx-ox)*invdirx}else{tmin=(maxx-ox)*invdirx;tmax=(minx-ox)*invdirx}if(invdiry&gt;=0){tymin=(miny-oy)*invdiry;tymax=(maxy-oy)*invdiry}else{tymin=(maxy-oy)*invdiry;tymax=(miny-oy)*invdiry}if(tmin&gt;tymax||tymin&gt;tmax)return false;if(tymin&gt;tmin||isNaN(tmin))tmin=tymin;if(tymax&lt;tmax||isNaN(tmax))tmax=tymax;if(invdirz&gt;=0){tzmin=(minz-oz)*invdirz;tzmax=(maxz-oz)*invdirz}else{tzmin=(maxz-oz)*invdirz;tzmax=(minz-oz)*invdirz}if(tmin&gt;tzmax||tzmin&gt;tmax)return false;if(tzmax&lt;tmax||tmax!==tmax)tmax=tzmax;if(tmax&lt;0)return false;return true}function intersectTris_indirect(bvh,side,ray,offset,count,intersections){const{geometry,_indirectBuffer}=bvh;for(let i=offset,end=offset+count;i&lt;end;i++){let vi=_indirectBuffer?_indirectBuffer[i]:i;intersectTri(geometry,side,ray,vi,intersections)}}function intersectClosestTri_indirect(bvh,side,ray,offset,count){const{geometry,_indirectBuffer}=bvh;let dist=Infinity;let res=null;for(let i=offset,end=offset+count;i&lt;end;i++){let intersection;intersection=intersectTri(geometry,side,ray,_indirectBuffer?_indirectBuffer[i]:i);if(intersection&amp;&amp;intersection.distance&lt;dist){res=intersection;dist=intersection.distance}}return res}function iterateOverTriangles_indirect(offset,count,bvh,intersectsTriangleFunc,contained,depth,triangle){const{geometry}=bvh;const{index}=geometry;const pos=geometry.attributes.position;for(let i=offset,l=count+offset;i&lt;l;i++){let tri;tri=bvh.resolveTriangleIndex(i);setTriangle(triangle,tri*3,index,pos);triangle.needsUpdate=true;if(intersectsTriangleFunc(triangle,tri,contained,depth)){return true}}return false}function raycast(bvh,root,side,ray,intersects){BufferStack.setBuffer(bvh._roots[root]);_raycast$1(0,bvh,side,ray,intersects);BufferStack.clearBuffer()}function _raycast$1(nodeIndex32,bvh,side,ray,intersects){const{float32Array,uint16Array,uint32Array}=BufferStack;const nodeIndex16=nodeIndex32*2;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);intersectTris(bvh,side,ray,offset,count,intersects)}else{const leftIndex=LEFT_NODE(nodeIndex32);if(intersectRay(leftIndex,float32Array,ray)){_raycast$1(leftIndex,bvh,side,ray,intersects)}const rightIndex=RIGHT_NODE(nodeIndex32,uint32Array);if(intersectRay(rightIndex,float32Array,ray)){_raycast$1(rightIndex,bvh,side,ray,intersects)}}}const _xyzFields$1=["x","y","z"];function raycastFirst(bvh,root,side,ray){BufferStack.setBuffer(bvh._roots[root]);const result=_raycastFirst$1(0,bvh,side,ray);BufferStack.clearBuffer();return result}function _raycastFirst$1(nodeIndex32,bvh,side,ray){const{float32Array,uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);return intersectClosestTri(bvh,side,ray,offset,count)}else{const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);const xyzAxis=_xyzFields$1[splitAxis];const rayDir=ray.direction[xyzAxis];const leftToRight=rayDir&gt;=0;let c1,c2;if(leftToRight){c1=LEFT_NODE(nodeIndex32);c2=RIGHT_NODE(nodeIndex32,uint32Array)}else{c1=RIGHT_NODE(nodeIndex32,uint32Array);c2=LEFT_NODE(nodeIndex32)}const c1Intersection=intersectRay(c1,float32Array,ray);const c1Result=c1Intersection?_raycastFirst$1(c1,bvh,side,ray):null;if(c1Result){const point=c1Result.point[xyzAxis];const isOutside=leftToRight?point&lt;=float32Array[c2+splitAxis]:point&gt;=float32Array[c2+splitAxis+3];if(isOutside){return c1Result}}const c2Intersection=intersectRay(c2,float32Array,ray);const c2Result=c2Intersection?_raycastFirst$1(c2,bvh,side,ray):null;if(c1Result&amp;&amp;c2Result){return c1Result.distance&lt;=c2Result.distance?c1Result:c2Result}else{return c1Result||c2Result||null}}}const boundingBox$2=new three.Box3;const triangle$1=new ExtendedTriangle;const triangle2$1=new ExtendedTriangle;const invertedMat$1=new three.Matrix4;const obb$4=new OrientedBox;const obb2$3=new OrientedBox;function intersectsGeometry(bvh,root,otherGeometry,geometryToBvh){BufferStack.setBuffer(bvh._roots[root]);const result=_intersectsGeometry$1(0,bvh,otherGeometry,geometryToBvh);BufferStack.clearBuffer();return result}function _intersectsGeometry$1(nodeIndex32,bvh,otherGeometry,geometryToBvh,cachedObb=null){const{float32Array,uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;if(cachedObb===null){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb$4.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);cachedObb=obb$4}const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const thisGeometry=bvh.geometry;const thisIndex=thisGeometry.index;const thisPos=thisGeometry.attributes.position;const index=otherGeometry.index;const pos=otherGeometry.attributes.position;const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);invertedMat$1.copy(geometryToBvh).invert();if(otherGeometry.boundsTree){arrayToBox(BOUNDING_DATA_INDEX(nodeIndex32),float32Array,obb2$3);obb2$3.matrix.copy(invertedMat$1);obb2$3.needsUpdate=true;const res=otherGeometry.boundsTree.shapecast({intersectsBounds:box=&gt;obb2$3.intersectsBox(box),intersectsTriangle:tri=&gt;{tri.a.applyMatrix4(geometryToBvh);tri.b.applyMatrix4(geometryToBvh);tri.c.applyMatrix4(geometryToBvh);tri.needsUpdate=true;for(let i=offset*3,l=(count+offset)*3;i&lt;l;i+=3){setTriangle(triangle2$1,i,thisIndex,thisPos);triangle2$1.needsUpdate=true;if(tri.intersectsTriangle(triangle2$1)){return true}}return false}});return res}else{for(let i=offset*3,l=(count+offset)*3;i&lt;l;i+=3){setTriangle(triangle$1,i,thisIndex,thisPos);triangle$1.a.applyMatrix4(invertedMat$1);triangle$1.b.applyMatrix4(invertedMat$1);triangle$1.c.applyMatrix4(invertedMat$1);triangle$1.needsUpdate=true;for(let i2=0,l2=index.count;i2&lt;l2;i2+=3){setTriangle(triangle2$1,i2,index,pos);triangle2$1.needsUpdate=true;if(triangle$1.intersectsTriangle(triangle2$1)){return true}}}}}else{const left=nodeIndex32+8;const right=uint32Array[nodeIndex32+6];arrayToBox(BOUNDING_DATA_INDEX(left),float32Array,boundingBox$2);const leftIntersection=cachedObb.intersectsBox(boundingBox$2)&amp;&amp;_intersectsGeometry$1(left,bvh,otherGeometry,geometryToBvh,cachedObb);if(leftIntersection)return true;arrayToBox(BOUNDING_DATA_INDEX(right),float32Array,boundingBox$2);const rightIntersection=cachedObb.intersectsBox(boundingBox$2)&amp;&amp;_intersectsGeometry$1(right,bvh,otherGeometry,geometryToBvh,cachedObb);if(rightIntersection)return true;return false}}const tempMatrix$1=new three.Matrix4;const obb$3=new OrientedBox;const obb2$2=new OrientedBox;const temp1$1=new three.Vector3;const temp2$1=new three.Vector3;const temp3$1=new three.Vector3;const temp4$1=new three.Vector3;function closestPointToGeometry(bvh,otherGeometry,geometryToBvh,target1={},target2={},minThreshold=0,maxThreshold=Infinity){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb$3.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);obb$3.needsUpdate=true;const geometry=bvh.geometry;const pos=geometry.attributes.position;const index=geometry.index;const otherPos=otherGeometry.attributes.position;const otherIndex=otherGeometry.index;const triangle=ExtendedTrianglePool.getPrimitive();const triangle2=ExtendedTrianglePool.getPrimitive();let tempTarget1=temp1$1;let tempTargetDest1=temp2$1;let tempTarget2=null;let tempTargetDest2=null;if(target2){tempTarget2=temp3$1;tempTargetDest2=temp4$1}let closestDistance=Infinity;let closestDistanceTriIndex=null;let closestDistanceOtherTriIndex=null;tempMatrix$1.copy(geometryToBvh).invert();obb2$2.matrix.copy(tempMatrix$1);bvh.shapecast({boundsTraverseOrder:box=&gt;{return obb$3.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=&gt;{if(score&lt;closestDistance&amp;&amp;score&lt;maxThreshold){if(isLeaf){obb2$2.min.copy(box.min);obb2$2.max.copy(box.max);obb2$2.needsUpdate=true}return true}return false},intersectsRange:(offset,count)=&gt;{if(otherGeometry.boundsTree){const otherBvh=otherGeometry.boundsTree;return otherBvh.shapecast({boundsTraverseOrder:box=&gt;{return obb2$2.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=&gt;{return score&lt;closestDistance&amp;&amp;score&lt;maxThreshold},intersectsRange:(otherOffset,otherCount)=&gt;{for(let i2=otherOffset,l2=otherOffset+otherCount;i2&lt;l2;i2++){setTriangle(triangle2,3*i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset,l=offset+count;i&lt;l;i++){setTriangle(triangle,3*i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist&lt;closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i;closestDistanceOtherTriIndex=i2}if(dist&lt;minThreshold){return true}}}}})}else{const triCount=getTriCount(otherGeometry);for(let i2=0,l2=triCount;i2&lt;l2;i2++){setTriangle(triangle2,3*i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset,l=offset+count;i&lt;l;i++){setTriangle(triangle,3*i,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist&lt;closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i;closestDistanceOtherTriIndex=i2}if(dist&lt;minThreshold){return true}}}}}});ExtendedTrianglePool.releasePrimitive(triangle);ExtendedTrianglePool.releasePrimitive(triangle2);if(closestDistance===Infinity){return null}if(!target1.point){target1.point=tempTargetDest1.clone()}else{target1.point.copy(tempTargetDest1)}target1.distance=closestDistance,target1.faceIndex=closestDistanceTriIndex;if(target2){if(!target2.point)target2.point=tempTargetDest2.clone();else target2.point.copy(tempTargetDest2);target2.point.applyMatrix4(tempMatrix$1);tempTargetDest1.applyMatrix4(tempMatrix$1);target2.distance=tempTargetDest1.sub(target2.point).length();target2.faceIndex=closestDistanceOtherTriIndex}return target1}function refit_indirect(bvh,nodeIndices=null){if(nodeIndices&amp;&amp;Array.isArray(nodeIndices)){nodeIndices=new Set(nodeIndices)}const geometry=bvh.geometry;const indexArr=geometry.index?geometry.index.array:null;const posAttr=geometry.attributes.position;let buffer,uint32Array,uint16Array,float32Array;let byteOffset=0;const roots=bvh._roots;for(let i=0,l=roots.length;i&lt;l;i++){buffer=roots[i];uint32Array=new Uint32Array(buffer);uint16Array=new Uint16Array(buffer);float32Array=new Float32Array(buffer);_traverse(0,byteOffset);byteOffset+=buffer.byteLength}function _traverse(node32Index,byteOffset,force=false){const node16Index=node32Index*2;const isLeaf=uint16Array[node16Index+15]===IS_LEAFNODE_FLAG;if(isLeaf){const offset=uint32Array[node32Index+6];const count=uint16Array[node16Index+14];let minx=Infinity;let miny=Infinity;let minz=Infinity;let maxx=-Infinity;let maxy=-Infinity;let maxz=-Infinity;for(let i=offset,l=offset+count;i&lt;l;i++){const t=3*bvh.resolveTriangleIndex(i);for(let j=0;j&lt;3;j++){let index=t+j;index=indexArr?indexArr[index]:index;const x=posAttr.getX(index);const y=posAttr.getY(index);const z=posAttr.getZ(index);if(x&lt;minx)minx=x;if(x&gt;maxx)maxx=x;if(y&lt;miny)miny=y;if(y&gt;maxy)maxy=y;if(z&lt;minz)minz=z;if(z&gt;maxz)maxz=z}}if(float32Array[node32Index+0]!==minx||float32Array[node32Index+1]!==miny||float32Array[node32Index+2]!==minz||float32Array[node32Index+3]!==maxx||float32Array[node32Index+4]!==maxy||float32Array[node32Index+5]!==maxz){float32Array[node32Index+0]=minx;float32Array[node32Index+1]=miny;float32Array[node32Index+2]=minz;float32Array[node32Index+3]=maxx;float32Array[node32Index+4]=maxy;float32Array[node32Index+5]=maxz;return true}else{return false}}else{const left=node32Index+8;const right=uint32Array[node32Index+6];const offsetLeft=left+byteOffset;const offsetRight=right+byteOffset;let forceChildren=force;let includesLeft=false;let includesRight=false;if(nodeIndices){if(!forceChildren){includesLeft=nodeIndices.has(offsetLeft);includesRight=nodeIndices.has(offsetRight);forceChildren=!includesLeft&amp;&amp;!includesRight}}else{includesLeft=true;includesRight=true}const traverseLeft=forceChildren||includesLeft;const traverseRight=forceChildren||includesRight;let leftChange=false;if(traverseLeft){leftChange=_traverse(left,byteOffset,forceChildren)}let rightChange=false;if(traverseRight){rightChange=_traverse(right,byteOffset,forceChildren)}const didChange=leftChange||rightChange;if(didChange){for(let i=0;i&lt;3;i++){const lefti=left+i;const righti=right+i;const minLeftValue=float32Array[lefti];const maxLeftValue=float32Array[lefti+3];const minRightValue=float32Array[righti];const maxRightValue=float32Array[righti+3];float32Array[node32Index+i]=minLeftValue&lt;minRightValue?minLeftValue:minRightValue;float32Array[node32Index+i+3]=maxLeftValue&gt;maxRightValue?maxLeftValue:maxRightValue}}return didChange}}}function raycast_indirect(bvh,root,side,ray,intersects){BufferStack.setBuffer(bvh._roots[root]);_raycast(0,bvh,side,ray,intersects);BufferStack.clearBuffer()}function _raycast(nodeIndex32,bvh,side,ray,intersects){const{float32Array,uint16Array,uint32Array}=BufferStack;const nodeIndex16=nodeIndex32*2;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);intersectTris_indirect(bvh,side,ray,offset,count,intersects)}else{const leftIndex=LEFT_NODE(nodeIndex32);if(intersectRay(leftIndex,float32Array,ray)){_raycast(leftIndex,bvh,side,ray,intersects)}const rightIndex=RIGHT_NODE(nodeIndex32,uint32Array);if(intersectRay(rightIndex,float32Array,ray)){_raycast(rightIndex,bvh,side,ray,intersects)}}}const _xyzFields=["x","y","z"];function raycastFirst_indirect(bvh,root,side,ray){BufferStack.setBuffer(bvh._roots[root]);const result=_raycastFirst(0,bvh,side,ray);BufferStack.clearBuffer();return result}function _raycastFirst(nodeIndex32,bvh,side,ray){const{float32Array,uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);return intersectClosestTri_indirect(bvh,side,ray,offset,count)}else{const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);const xyzAxis=_xyzFields[splitAxis];const rayDir=ray.direction[xyzAxis];const leftToRight=rayDir&gt;=0;let c1,c2;if(leftToRight){c1=LEFT_NODE(nodeIndex32);c2=RIGHT_NODE(nodeIndex32,uint32Array)}else{c1=RIGHT_NODE(nodeIndex32,uint32Array);c2=LEFT_NODE(nodeIndex32)}const c1Intersection=intersectRay(c1,float32Array,ray);const c1Result=c1Intersection?_raycastFirst(c1,bvh,side,ray):null;if(c1Result){const point=c1Result.point[xyzAxis];const isOutside=leftToRight?point&lt;=float32Array[c2+splitAxis]:point&gt;=float32Array[c2+splitAxis+3];if(isOutside){return c1Result}}const c2Intersection=intersectRay(c2,float32Array,ray);const c2Result=c2Intersection?_raycastFirst(c2,bvh,side,ray):null;if(c1Result&amp;&amp;c2Result){return c1Result.distance&lt;=c2Result.distance?c1Result:c2Result}else{return c1Result||c2Result||null}}}const boundingBox$1=new three.Box3;const triangle=new ExtendedTriangle;const triangle2=new ExtendedTriangle;const invertedMat=new three.Matrix4;const obb$2=new OrientedBox;const obb2$1=new OrientedBox;function intersectsGeometry_indirect(bvh,root,otherGeometry,geometryToBvh){BufferStack.setBuffer(bvh._roots[root]);const result=_intersectsGeometry(0,bvh,otherGeometry,geometryToBvh);BufferStack.clearBuffer();return result}function _intersectsGeometry(nodeIndex32,bvh,otherGeometry,geometryToBvh,cachedObb=null){const{float32Array,uint16Array,uint32Array}=BufferStack;let nodeIndex16=nodeIndex32*2;if(cachedObb===null){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb$2.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);cachedObb=obb$2}const isLeaf=IS_LEAF(nodeIndex16,uint16Array);if(isLeaf){const thisGeometry=bvh.geometry;const thisIndex=thisGeometry.index;const thisPos=thisGeometry.attributes.position;const index=otherGeometry.index;const pos=otherGeometry.attributes.position;const offset=OFFSET(nodeIndex32,uint32Array);const count=COUNT(nodeIndex16,uint16Array);invertedMat.copy(geometryToBvh).invert();if(otherGeometry.boundsTree){arrayToBox(BOUNDING_DATA_INDEX(nodeIndex32),float32Array,obb2$1);obb2$1.matrix.copy(invertedMat);obb2$1.needsUpdate=true;const res=otherGeometry.boundsTree.shapecast({intersectsBounds:box=&gt;obb2$1.intersectsBox(box),intersectsTriangle:tri=&gt;{tri.a.applyMatrix4(geometryToBvh);tri.b.applyMatrix4(geometryToBvh);tri.c.applyMatrix4(geometryToBvh);tri.needsUpdate=true;for(let i=offset,l=count+offset;i&lt;l;i++){setTriangle(triangle2,3*bvh.resolveTriangleIndex(i),thisIndex,thisPos);triangle2.needsUpdate=true;if(tri.intersectsTriangle(triangle2)){return true}}return false}});return res}else{for(let i=offset,l=count+offset;i&lt;l;i++){const ti=bvh.resolveTriangleIndex(i);setTriangle(triangle,3*ti,thisIndex,thisPos);triangle.a.applyMatrix4(invertedMat);triangle.b.applyMatrix4(invertedMat);triangle.c.applyMatrix4(invertedMat);triangle.needsUpdate=true;for(let i2=0,l2=index.count;i2&lt;l2;i2+=3){setTriangle(triangle2,i2,index,pos);triangle2.needsUpdate=true;if(triangle.intersectsTriangle(triangle2)){return true}}}}}else{const left=nodeIndex32+8;const right=uint32Array[nodeIndex32+6];arrayToBox(BOUNDING_DATA_INDEX(left),float32Array,boundingBox$1);const leftIntersection=cachedObb.intersectsBox(boundingBox$1)&amp;&amp;_intersectsGeometry(left,bvh,otherGeometry,geometryToBvh,cachedObb);if(leftIntersection)return true;arrayToBox(BOUNDING_DATA_INDEX(right),float32Array,boundingBox$1);const rightIntersection=cachedObb.intersectsBox(boundingBox$1)&amp;&amp;_intersectsGeometry(right,bvh,otherGeometry,geometryToBvh,cachedObb);if(rightIntersection)return true;return false}}const tempMatrix=new three.Matrix4;const obb$1=new OrientedBox;const obb2=new OrientedBox;const temp1=new three.Vector3;const temp2=new three.Vector3;const temp3=new three.Vector3;const temp4=new three.Vector3;function closestPointToGeometry_indirect(bvh,otherGeometry,geometryToBvh,target1={},target2={},minThreshold=0,maxThreshold=Infinity){if(!otherGeometry.boundingBox){otherGeometry.computeBoundingBox()}obb$1.set(otherGeometry.boundingBox.min,otherGeometry.boundingBox.max,geometryToBvh);obb$1.needsUpdate=true;const geometry=bvh.geometry;const pos=geometry.attributes.position;const index=geometry.index;const otherPos=otherGeometry.attributes.position;const otherIndex=otherGeometry.index;const triangle=ExtendedTrianglePool.getPrimitive();const triangle2=ExtendedTrianglePool.getPrimitive();let tempTarget1=temp1;let tempTargetDest1=temp2;let tempTarget2=null;let tempTargetDest2=null;if(target2){tempTarget2=temp3;tempTargetDest2=temp4}let closestDistance=Infinity;let closestDistanceTriIndex=null;let closestDistanceOtherTriIndex=null;tempMatrix.copy(geometryToBvh).invert();obb2.matrix.copy(tempMatrix);bvh.shapecast({boundsTraverseOrder:box=&gt;{return obb$1.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=&gt;{if(score&lt;closestDistance&amp;&amp;score&lt;maxThreshold){if(isLeaf){obb2.min.copy(box.min);obb2.max.copy(box.max);obb2.needsUpdate=true}return true}return false},intersectsRange:(offset,count)=&gt;{if(otherGeometry.boundsTree){const otherBvh=otherGeometry.boundsTree;return otherBvh.shapecast({boundsTraverseOrder:box=&gt;{return obb2.distanceToBox(box)},intersectsBounds:(box,isLeaf,score)=&gt;{return score&lt;closestDistance&amp;&amp;score&lt;maxThreshold},intersectsRange:(otherOffset,otherCount)=&gt;{for(let i2=otherOffset,l2=otherOffset+otherCount;i2&lt;l2;i2++){const ti2=otherBvh.resolveTriangleIndex(i2);setTriangle(triangle2,3*ti2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset,l=offset+count;i&lt;l;i++){const ti=bvh.resolveTriangleIndex(i);setTriangle(triangle,3*ti,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist&lt;closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i;closestDistanceOtherTriIndex=i2}if(dist&lt;minThreshold){return true}}}}})}else{const triCount=getTriCount(otherGeometry);for(let i2=0,l2=triCount;i2&lt;l2;i2++){setTriangle(triangle2,3*i2,otherIndex,otherPos);triangle2.a.applyMatrix4(geometryToBvh);triangle2.b.applyMatrix4(geometryToBvh);triangle2.c.applyMatrix4(geometryToBvh);triangle2.needsUpdate=true;for(let i=offset,l=offset+count;i&lt;l;i++){const ti=bvh.resolveTriangleIndex(i);setTriangle(triangle,3*ti,index,pos);triangle.needsUpdate=true;const dist=triangle.distanceToTriangle(triangle2,tempTarget1,tempTarget2);if(dist&lt;closestDistance){tempTargetDest1.copy(tempTarget1);if(tempTargetDest2){tempTargetDest2.copy(tempTarget2)}closestDistance=dist;closestDistanceTriIndex=i;closestDistanceOtherTriIndex=i2}if(dist&lt;minThreshold){return true}}}}}});ExtendedTrianglePool.releasePrimitive(triangle);ExtendedTrianglePool.releasePrimitive(triangle2);if(closestDistance===Infinity){return null}if(!target1.point){target1.point=tempTargetDest1.clone()}else{target1.point.copy(tempTargetDest1)}target1.distance=closestDistance,target1.faceIndex=closestDistanceTriIndex;if(target2){if(!target2.point)target2.point=tempTargetDest2.clone();else target2.point.copy(tempTargetDest2);target2.point.applyMatrix4(tempMatrix);tempTargetDest1.applyMatrix4(tempMatrix);target2.distance=tempTargetDest1.sub(target2.point).length();target2.faceIndex=closestDistanceOtherTriIndex}return target1}function isSharedArrayBufferSupported(){return typeof SharedArrayBuffer!=="undefined"}function convertToBufferType(array,BufferConstructor){if(array===null){return array}else if(array.buffer){const buffer=array.buffer;if(buffer.constructor===BufferConstructor){return array}const ArrayConstructor=array.constructor;const result=new ArrayConstructor(new BufferConstructor(buffer.byteLength));result.set(array);return result}else{if(array.constructor===BufferConstructor){return array}const result=new BufferConstructor(array.byteLength);new Uint8Array(result).set(new Uint8Array(array));return result}}const _bufferStack1=new BufferStack.constructor;const _bufferStack2=new BufferStack.constructor;const _boxPool=new PrimitivePool(()=&gt;new three.Box3);const _leftBox1=new three.Box3;const _rightBox1=new three.Box3;const _leftBox2=new three.Box3;const _rightBox2=new three.Box3;let _active=false;function bvhcast(bvh,otherBvh,matrixToLocal,intersectsRanges){if(_active){throw new Error("MeshBVH: Recursive calls to bvhcast not supported.")}_active=true;const roots=bvh._roots;const otherRoots=otherBvh._roots;let result;let offset1=0;let offset2=0;const invMat=new three.Matrix4().copy(matrixToLocal).invert();for(let i=0,il=roots.length;i&lt;il;i++){_bufferStack1.setBuffer(roots[i]);offset2=0;const localBox=_boxPool.getPrimitive();arrayToBox(BOUNDING_DATA_INDEX(0),_bufferStack1.float32Array,localBox);localBox.applyMatrix4(invMat);for(let j=0,jl=otherRoots.length;j&lt;jl;j++){_bufferStack2.setBuffer(otherRoots[i]);result=_traverse(0,0,matrixToLocal,invMat,intersectsRanges,offset1,offset2,0,0,localBox);_bufferStack2.clearBuffer();offset2+=otherRoots[j].length;if(result){break}}_boxPool.releasePrimitive(localBox);_bufferStack1.clearBuffer();offset1+=roots[i].length;if(result){break}}_active=false;return result}function _traverse(node1Index32,node2Index32,matrix2to1,matrix1to2,intersectsRangesFunc,node1IndexByteOffset=0,node2IndexByteOffset=0,depth1=0,depth2=0,currBox=null,reversed=false){let bufferStack1,bufferStack2;if(reversed){bufferStack1=_bufferStack2;bufferStack2=_bufferStack1}else{bufferStack1=_bufferStack1;bufferStack2=_bufferStack2}const float32Array1=bufferStack1.float32Array,uint32Array1=bufferStack1.uint32Array,uint16Array1=bufferStack1.uint16Array,float32Array2=bufferStack2.float32Array,uint32Array2=bufferStack2.uint32Array,uint16Array2=bufferStack2.uint16Array;const node1Index16=node1Index32*2;const node2Index16=node2Index32*2;const isLeaf1=IS_LEAF(node1Index16,uint16Array1);const isLeaf2=IS_LEAF(node2Index16,uint16Array2);let result=false;if(isLeaf2&amp;&amp;isLeaf1){if(reversed){result=intersectsRangesFunc(OFFSET(node2Index32,uint32Array2),COUNT(node2Index32*2,uint16Array2),OFFSET(node1Index32,uint32Array1),COUNT(node1Index32*2,uint16Array1),depth2,node2IndexByteOffset+node2Index32,depth1,node1IndexByteOffset+node1Index32)}else{result=intersectsRangesFunc(OFFSET(node1Index32,uint32Array1),COUNT(node1Index32*2,uint16Array1),OFFSET(node2Index32,uint32Array2),COUNT(node2Index32*2,uint16Array2),depth1,node1IndexByteOffset+node1Index32,depth2,node2IndexByteOffset+node2Index32)}}else if(isLeaf2){const newBox=_boxPool.getPrimitive();arrayToBox(BOUNDING_DATA_INDEX(node2Index32),float32Array2,newBox);newBox.applyMatrix4(matrix2to1);const cl1=LEFT_NODE(node1Index32);const cr1=RIGHT_NODE(node1Index32,uint32Array1);arrayToBox(BOUNDING_DATA_INDEX(cl1),float32Array1,_leftBox1);arrayToBox(BOUNDING_DATA_INDEX(cr1),float32Array1,_rightBox1);const intersectCl1=newBox.intersectsBox(_leftBox1);const intersectCr1=newBox.intersectsBox(_rightBox1);result=intersectCl1&amp;&amp;_traverse(node2Index32,cl1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed)||intersectCr1&amp;&amp;_traverse(node2Index32,cr1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed);_boxPool.releasePrimitive(newBox)}else{const cl2=LEFT_NODE(node2Index32);const cr2=RIGHT_NODE(node2Index32,uint32Array2);arrayToBox(BOUNDING_DATA_INDEX(cl2),float32Array2,_leftBox2);arrayToBox(BOUNDING_DATA_INDEX(cr2),float32Array2,_rightBox2);const leftIntersects=currBox.intersectsBox(_leftBox2);const rightIntersects=currBox.intersectsBox(_rightBox2);if(leftIntersects&amp;&amp;rightIntersects){result=_traverse(node1Index32,cl2,matrix2to1,matrix1to2,intersectsRangesFunc,node1IndexByteOffset,node2IndexByteOffset,depth1,depth2+1,currBox,reversed)||_traverse(node1Index32,cr2,matrix2to1,matrix1to2,intersectsRangesFunc,node1IndexByteOffset,node2IndexByteOffset,depth1,depth2+1,currBox,reversed)}else if(leftIntersects){if(isLeaf1){result=_traverse(node1Index32,cl2,matrix2to1,matrix1to2,intersectsRangesFunc,node1IndexByteOffset,node2IndexByteOffset,depth1,depth2+1,currBox,reversed)}else{const newBox=_boxPool.getPrimitive();newBox.copy(_leftBox2).applyMatrix4(matrix2to1);const cl1=LEFT_NODE(node1Index32);const cr1=RIGHT_NODE(node1Index32,uint32Array1);arrayToBox(BOUNDING_DATA_INDEX(cl1),float32Array1,_leftBox1);arrayToBox(BOUNDING_DATA_INDEX(cr1),float32Array1,_rightBox1);const intersectCl1=newBox.intersectsBox(_leftBox1);const intersectCr1=newBox.intersectsBox(_rightBox1);result=intersectCl1&amp;&amp;_traverse(cl2,cl1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed)||intersectCr1&amp;&amp;_traverse(cl2,cr1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed);_boxPool.releasePrimitive(newBox)}}else if(rightIntersects){if(isLeaf1){result=_traverse(node1Index32,cr2,matrix2to1,matrix1to2,intersectsRangesFunc,node1IndexByteOffset,node2IndexByteOffset,depth1,depth2+1,currBox,reversed)}else{const newBox=_boxPool.getPrimitive();newBox.copy(_rightBox2).applyMatrix4(matrix2to1);const cl1=LEFT_NODE(node1Index32);const cr1=RIGHT_NODE(node1Index32,uint32Array1);arrayToBox(BOUNDING_DATA_INDEX(cl1),float32Array1,_leftBox1);arrayToBox(BOUNDING_DATA_INDEX(cr1),float32Array1,_rightBox1);const intersectCl1=newBox.intersectsBox(_leftBox1);const intersectCr1=newBox.intersectsBox(_rightBox1);result=intersectCl1&amp;&amp;_traverse(cr2,cl1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed)||intersectCr1&amp;&amp;_traverse(cr2,cr1,matrix1to2,matrix2to1,intersectsRangesFunc,node2IndexByteOffset,node1IndexByteOffset,depth2,depth1+1,newBox,!reversed);_boxPool.releasePrimitive(newBox)}}}return result}const obb=new OrientedBox;const tempBox=new three.Box3;const DEFAULT_OPTIONS={strategy:CENTER,maxDepth:40,maxLeafTris:10,useSharedArrayBuffer:false,setBoundingBox:true,onProgress:null,indirect:false,verbose:true};class MeshBVH{static serialize(bvh,options={}){options={cloneBuffers:true,...options};const geometry=bvh.geometry;const rootData=bvh._roots;const indirectBuffer=bvh._indirectBuffer;const indexAttribute=geometry.getIndex();let result;if(options.cloneBuffers){result={roots:rootData.map(root=&gt;root.slice()),index:indexAttribute?indexAttribute.array.slice():null,indirectBuffer:indirectBuffer?indirectBuffer.slice():null}}else{result={roots:rootData,index:indexAttribute?indexAttribute.array:null,indirectBuffer:indirectBuffer}}return result}static deserialize(data,geometry,options={}){options={setIndex:true,indirect:Boolean(data.indirectBuffer),...options};const{index,roots,indirectBuffer}=data;const bvh=new MeshBVH(geometry,{...options,[SKIP_GENERATION]:true});bvh._roots=roots;bvh._indirectBuffer=indirectBuffer||null;if(options.setIndex){const indexAttribute=geometry.getIndex();if(indexAttribute===null){const newIndex=new three.BufferAttribute(data.index,1,false);geometry.setIndex(newIndex)}else if(indexAttribute.array!==index){indexAttribute.array.set(index);indexAttribute.needsUpdate=true}}return bvh}get indirect(){return!!this._indirectBuffer}constructor(geometry,options={}){if(!geometry.isBufferGeometry){throw new Error("MeshBVH: Only BufferGeometries are supported.")}else if(geometry.index&amp;&amp;geometry.index.isInterleavedBufferAttribute){throw new Error("MeshBVH: InterleavedBufferAttribute is not supported for the index attribute.")}options=Object.assign({...DEFAULT_OPTIONS,[SKIP_GENERATION]:false},options);if(options.useSharedArrayBuffer&amp;&amp;!isSharedArrayBufferSupported()){throw new Error("MeshBVH: SharedArrayBuffer is not available.")}this.geometry=geometry;this._roots=null;this._indirectBuffer=null;if(!options[SKIP_GENERATION]){buildPackedTree(this,options);if(!geometry.boundingBox&amp;&amp;options.setBoundingBox){geometry.boundingBox=this.getBoundingBox(new three.Box3)}}this.resolveTriangleIndex=this._indirectBuffer?i=&gt;this._indirectBuffer[i]:i=&gt;i}refit(nodeIndices=null){const refitFunc=this.indirect?refit_indirect:refit;return refitFunc(this,nodeIndices)}traverse(callback,rootIndex=0){const buffer=this._roots[rootIndex];const uint32Array=new Uint32Array(buffer);const uint16Array=new Uint16Array(buffer);_traverse(0);function _traverse(node32Index,depth=0){const node16Index=node32Index*2;const isLeaf=uint16Array[node16Index+15]===IS_LEAFNODE_FLAG;if(isLeaf){const offset=uint32Array[node32Index+6];const count=uint16Array[node16Index+14];callback(depth,isLeaf,new Float32Array(buffer,node32Index*4,6),offset,count)}else{const left=node32Index+BYTES_PER_NODE/4;const right=uint32Array[node32Index+6];const splitAxis=uint32Array[node32Index+7];const stopTraversal=callback(depth,isLeaf,new Float32Array(buffer,node32Index*4,6),splitAxis);if(!stopTraversal){_traverse(left,depth+1);_traverse(right,depth+1)}}}}raycast(ray,materialOrSide=three.FrontSide){const roots=this._roots;const geometry=this.geometry;const intersects=[];const isMaterial=materialOrSide.isMaterial;const isArrayMaterial=Array.isArray(materialOrSide);const groups=geometry.groups;const side=isMaterial?materialOrSide.side:materialOrSide;const raycastFunc=this.indirect?raycast_indirect:raycast;for(let i=0,l=roots.length;i&lt;l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;const startCount=intersects.length;raycastFunc(this,i,materialSide,ray,intersects);if(isArrayMaterial){const materialIndex=groups[i].materialIndex;for(let j=startCount,jl=intersects.length;j&lt;jl;j++){intersects[j].face.materialIndex=materialIndex}}}return intersects}raycastFirst(ray,materialOrSide=three.FrontSide){const roots=this._roots;const geometry=this.geometry;const isMaterial=materialOrSide.isMaterial;const isArrayMaterial=Array.isArray(materialOrSide);let closestResult=null;const groups=geometry.groups;const side=isMaterial?materialOrSide.side:materialOrSide;const raycastFirstFunc=this.indirect?raycastFirst_indirect:raycastFirst;for(let i=0,l=roots.length;i&lt;l;i++){const materialSide=isArrayMaterial?materialOrSide[groups[i].materialIndex].side:side;const result=raycastFirstFunc(this,i,materialSide,ray);if(result!=null&amp;&amp;(closestResult==null||result.distance&lt;closestResult.distance)){closestResult=result;if(isArrayMaterial){result.face.materialIndex=groups[i].materialIndex}}}return closestResult}intersectsGeometry(otherGeometry,geomToMesh){let result=false;const roots=this._roots;const intersectsGeometryFunc=this.indirect?intersectsGeometry_indirect:intersectsGeometry;for(let i=0,l=roots.length;i&lt;l;i++){result=intersectsGeometryFunc(this,i,otherGeometry,geomToMesh);if(result){break}}return result}shapecast(callbacks){const triangle=ExtendedTrianglePool.getPrimitive();const iterateFunc=this.indirect?iterateOverTriangles_indirect:iterateOverTriangles;let{boundsTraverseOrder,intersectsBounds,intersectsRange,intersectsTriangle}=callbacks;if(intersectsRange&amp;&amp;intersectsTriangle){const originalIntersectsRange=intersectsRange;intersectsRange=(offset,count,contained,depth,nodeIndex)=&gt;{if(!originalIntersectsRange(offset,count,contained,depth,nodeIndex)){return iterateFunc(offset,count,this,intersectsTriangle,contained,depth,triangle)}return true}}else if(!intersectsRange){if(intersectsTriangle){intersectsRange=(offset,count,contained,depth)=&gt;{return iterateFunc(offset,count,this,intersectsTriangle,contained,depth,triangle)}}else{intersectsRange=(offset,count,contained)=&gt;{return contained}}}let result=false;let byteOffset=0;const roots=this._roots;for(let i=0,l=roots.length;i&lt;l;i++){const root=roots[i];result=shapecast(this,i,intersectsBounds,intersectsRange,boundsTraverseOrder,byteOffset);if(result){break}byteOffset+=root.byteLength}ExtendedTrianglePool.releasePrimitive(triangle);return result}bvhcast(otherBvh,matrixToLocal,callbacks){let{intersectsRanges,intersectsTriangles}=callbacks;const triangle1=ExtendedTrianglePool.getPrimitive();const indexAttr1=this.geometry.index;const positionAttr1=this.geometry.attributes.position;const assignTriangle1=this.indirect?i1=&gt;{const ti=this.resolveTriangleIndex(i1);setTriangle(triangle1,ti*3,indexAttr1,positionAttr1)}:i1=&gt;{setTriangle(triangle1,i1*3,indexAttr1,positionAttr1)};const triangle2=ExtendedTrianglePool.getPrimitive();const indexAttr2=otherBvh.geometry.index;const positionAttr2=otherBvh.geometry.attributes.position;const assignTriangle2=otherBvh.indirect?i2=&gt;{const ti2=otherBvh.resolveTriangleIndex(i2);setTriangle(triangle2,ti2*3,indexAttr2,positionAttr2)}:i2=&gt;{setTriangle(triangle2,i2*3,indexAttr2,positionAttr2)};if(intersectsTriangles){const iterateOverDoubleTriangles=(offset1,count1,offset2,count2,depth1,index1,depth2,index2)=&gt;{for(let i2=offset2,l2=offset2+count2;i2&lt;l2;i2++){assignTriangle2(i2);triangle2.a.applyMatrix4(matrixToLocal);triangle2.b.applyMatrix4(matrixToLocal);triangle2.c.applyMatrix4(matrixToLocal);triangle2.needsUpdate=true;for(let i1=offset1,l1=offset1+count1;i1&lt;l1;i1++){assignTriangle1(i1);triangle1.needsUpdate=true;if(intersectsTriangles(triangle1,triangle2,i1,i2,depth1,index1,depth2,index2)){return true}}}return false};if(intersectsRanges){const originalIntersectsRanges=intersectsRanges;intersectsRanges=function(offset1,count1,offset2,count2,depth1,index1,depth2,index2){if(!originalIntersectsRanges(offset1,count1,offset2,count2,depth1,index1,depth2,index2)){return iterateOverDoubleTriangles(offset1,count1,offset2,count2,depth1,index1,depth2,index2)}return true}}else{intersectsRanges=iterateOverDoubleTriangles}}return bvhcast(this,otherBvh,matrixToLocal,intersectsRanges)}intersectsBox(box,boxToMesh){obb.set(box.min,box.max,boxToMesh);obb.needsUpdate=true;return this.shapecast({intersectsBounds:box=&gt;obb.intersectsBox(box),intersectsTriangle:tri=&gt;obb.intersectsTriangle(tri)})}intersectsSphere(sphere){return this.shapecast({intersectsBounds:box=&gt;sphere.intersectsBox(box),intersectsTriangle:tri=&gt;tri.intersectsSphere(sphere)})}closestPointToGeometry(otherGeometry,geometryToBvh,target1={},target2={},minThreshold=0,maxThreshold=Infinity){const closestPointToGeometryFunc=this.indirect?closestPointToGeometry_indirect:closestPointToGeometry;return closestPointToGeometryFunc(this,otherGeometry,geometryToBvh,target1,target2,minThreshold,maxThreshold)}closestPointToPoint(point,target={},minThreshold=0,maxThreshold=Infinity){return closestPointToPoint(this,point,target,minThreshold,maxThreshold)}getBoundingBox(target){target.makeEmpty();const roots=this._roots;roots.forEach(buffer=&gt;{arrayToBox(0,new Float32Array(buffer),tempBox);target.union(tempBox)});return target}}const boundingBox=new three.Box3;class MeshBVHRootHelper extends three.Object3D{get isMesh(){return!this.displayEdges}get isLineSegments(){return this.displayEdges}get isLine(){return this.displayEdges}constructor(bvh,material,depth=10,group=0){super();this.material=material;this.geometry=new three.BufferGeometry;this.name="MeshBVHRootHelper";this.depth=depth;this.displayParents=false;this.bvh=bvh;this.displayEdges=true;this._group=group}raycast(){}update(){const geometry=this.geometry;const boundsTree=this.bvh;const group=this._group;geometry.dispose();this.visible=false;if(boundsTree){const targetDepth=this.depth-1;const displayParents=this.displayParents;let boundsCount=0;boundsTree.traverse((depth,isLeaf)=&gt;{if(depth&gt;=targetDepth||isLeaf){boundsCount++;return true}else if(displayParents){boundsCount++}},group);let posIndex=0;const positionArray=new Float32Array(8*3*boundsCount);boundsTree.traverse((depth,isLeaf,boundingData)=&gt;{const terminate=depth&gt;=targetDepth||isLeaf;if(terminate||displayParents){arrayToBox(0,boundingData,boundingBox);const{min,max}=boundingBox;for(let x=-1;x&lt;=1;x+=2){const xVal=x&lt;0?min.x:max.x;for(let y=-1;y&lt;=1;y+=2){const yVal=y&lt;0?min.y:max.y;for(let z=-1;z&lt;=1;z+=2){const zVal=z&lt;0?min.z:max.z;positionArray[posIndex+0]=xVal;positionArray[posIndex+1]=yVal;positionArray[posIndex+2]=zVal;posIndex+=3}}}return terminate}},group);let indexArray;let indices;if(this.displayEdges){indices=new Uint8Array([0,4,1,5,2,6,3,7,0,2,1,3,4,6,5,7,0,1,2,3,4,5,6,7])}else{indices=new Uint8Array([0,1,2,2,1,3,4,6,5,6,7,5,1,4,5,0,4,1,2,3,6,3,7,6,0,2,4,2,6,4,1,5,3,3,5,7])}if(positionArray.length&gt;65535){indexArray=new Uint32Array(indices.length*boundsCount)}else{indexArray=new Uint16Array(indices.length*boundsCount)}const indexLength=indices.length;for(let i=0;i&lt;boundsCount;i++){const posOffset=i*8;const indexOffset=i*indexLength;for(let j=0;j&lt;indexLength;j++){indexArray[indexOffset+j]=posOffset+indices[j]}}geometry.setIndex(new three.BufferAttribute(indexArray,1,false));geometry.setAttribute("position",new three.BufferAttribute(positionArray,3,false));this.visible=true}}}class MeshBVHHelper extends three.Group{get color(){return this.edgeMaterial.color}get opacity(){return this.edgeMaterial.opacity}set opacity(v){this.edgeMaterial.opacity=v;this.meshMaterial.opacity=v}constructor(mesh=null,bvh=null,depth=10){if(mesh instanceof MeshBVH){depth=bvh||10;bvh=mesh;mesh=null}if(typeof bvh==="number"){depth=bvh;bvh=null}super();this.name="MeshBVHHelper";this.depth=depth;this.mesh=mesh;this.bvh=bvh;this.displayParents=false;this.displayEdges=true;this._roots=[];const edgeMaterial=new three.LineBasicMaterial({color:65416,transparent:true,opacity:0.3,depthWrite:false});const meshMaterial=new three.MeshBasicMaterial({color:65416,transparent:true,opacity:0.3,depthWrite:false});meshMaterial.color=edgeMaterial.color;this.edgeMaterial=edgeMaterial;this.meshMaterial=meshMaterial;this.update()}update(){const bvh=this.bvh||this.mesh.geometry.boundsTree;const totalRoots=bvh?bvh._roots.length:0;while(this._roots.length&gt;totalRoots){const root=this._roots.pop();root.geometry.dispose();this.remove(root)}for(let i=0;i&lt;totalRoots;i++){const{depth,edgeMaterial,meshMaterial,displayParents,displayEdges}=this;if(i&gt;=this._roots.length){const root=new MeshBVHRootHelper(bvh,edgeMaterial,depth,i);this.add(root);this._roots.push(root)}const root=this._roots[i];root.bvh=bvh;root.depth=depth;root.displayParents=displayParents;root.displayEdges=displayEdges;root.material=displayEdges?edgeMaterial:meshMaterial;root.update()}}updateMatrixWorld(...args){const mesh=this.mesh;const parent=this.parent;if(mesh!==null){mesh.updateWorldMatrix(true,false);if(parent){this.matrix.copy(parent.matrixWorld).invert().multiply(mesh.matrixWorld)}else{this.matrix.copy(mesh.matrixWorld)}this.matrix.decompose(this.position,this.quaternion,this.scale)}super.updateMatrixWorld(...args)}copy(source){this.depth=source.depth;this.mesh=source.mesh;this.bvh=source.bvh;this.opacity=source.opacity;this.color.copy(source.color)}clone(){return new MeshBVHHelper(this.mesh,this.bvh,this.depth)}dispose(){this.edgeMaterial.dispose();this.meshMaterial.dispose();const children=this.children;for(let i=0,l=children.length;i&lt;l;i++){children[i].geometry.dispose()}}}class MeshBVHVisualizer extends MeshBVHHelper{constructor(...args){super(...args);console.warn("MeshBVHVisualizer: MeshBVHVisualizer has been deprecated. Use MeshBVHHelper, instead.")}}const _box1=new three.Box3;const _box2=new three.Box3;const _vec=new three.Vector3;function getPrimitiveSize(el){switch(typeof el){case"number":return 8;case"string":return el.length*2;case"boolean":return 4;default:return 0;}}function isTypedArray(arr){const regex=/(Uint|Int|Float)(8|16|32)Array/;return regex.test(arr.constructor.name)}function getRootExtremes(bvh,group){const result={nodeCount:0,leafNodeCount:0,depth:{min:Infinity,max:-Infinity},tris:{min:Infinity,max:-Infinity},splits:[0,0,0],surfaceAreaScore:0};bvh.traverse((depth,isLeaf,boundingData,offsetOrSplit,count)=&gt;{const l0=boundingData[0+3]-boundingData[0];const l1=boundingData[1+3]-boundingData[1];const l2=boundingData[2+3]-boundingData[2];const surfaceArea=2*(l0*l1+l1*l2+l2*l0);result.nodeCount++;if(isLeaf){result.leafNodeCount++;result.depth.min=Math.min(depth,result.depth.min);result.depth.max=Math.max(depth,result.depth.max);result.tris.min=Math.min(count,result.tris.min);result.tris.max=Math.max(count,result.tris.max);result.surfaceAreaScore+=surfaceArea*TRIANGLE_INTERSECT_COST*count}else{result.splits[offsetOrSplit]++;result.surfaceAreaScore+=surfaceArea*TRAVERSAL_COST}},group);if(result.tris.min===Infinity){result.tris.min=0;result.tris.max=0}if(result.depth.min===Infinity){result.depth.min=0;result.depth.max=0}return result}function getBVHExtremes(bvh){return bvh._roots.map((root,i)=&gt;getRootExtremes(bvh,i))}function estimateMemoryInBytes(obj){const traversed=new Set;const stack=[obj];let bytes=0;while(stack.length){const curr=stack.pop();if(traversed.has(curr)){continue}traversed.add(curr);for(let key in curr){if(!curr.hasOwnProperty(key)){continue}bytes+=getPrimitiveSize(key);const value=curr[key];if(value&amp;&amp;(typeof value==="object"||typeof value==="function")){if(isTypedArray(value)){bytes+=value.byteLength}else if(isSharedArrayBufferSupported()&amp;&amp;value instanceof SharedArrayBuffer){bytes+=value.byteLength}else if(value instanceof ArrayBuffer){bytes+=value.byteLength}else{stack.push(value)}}else{bytes+=getPrimitiveSize(value)}}}return bytes}function validateBounds(bvh){const geometry=bvh.geometry;const depthStack=[];const index=geometry.index;const position=geometry.getAttribute("position");let passes=true;bvh.traverse((depth,isLeaf,boundingData,offset,count)=&gt;{const info={depth,isLeaf,boundingData,offset,count};depthStack[depth]=info;arrayToBox(0,boundingData,_box1);const parent=depthStack[depth-1];if(isLeaf){for(let i=offset,l=offset+count;i&lt;l;i++){const triIndex=bvh.resolveTriangleIndex(i);let i0=3*triIndex;let i1=3*triIndex+1;let i2=3*triIndex+2;if(index){i0=index.getX(i0);i1=index.getX(i1);i2=index.getX(i2)}let isContained;_vec.fromBufferAttribute(position,i0);isContained=_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i1);isContained=isContained&amp;&amp;_box1.containsPoint(_vec);_vec.fromBufferAttribute(position,i2);isContained=isContained&amp;&amp;_box1.containsPoint(_vec);console.assert(isContained,"Leaf bounds does not fully contain triangle.");passes=passes&amp;&amp;isContained}}if(parent){arrayToBox(0,boundingData,_box2);const isContained=_box2.containsBox(_box1);console.assert(isContained,"Parent bounds does not fully contain child.");passes=passes&amp;&amp;isContained}});return passes}function getJSONStructure(bvh){const depthStack=[];bvh.traverse((depth,isLeaf,boundingData,offset,count)=&gt;{const info={bounds:arrayToBox(0,boundingData,new three.Box3)};if(isLeaf){info.count=count;info.offset=offset}else{info.left=null;info.right=null}depthStack[depth]=info;const parent=depthStack[depth-1];if(parent){if(parent.left===null){parent.left=info}else{parent.right=info}}});return depthStack[0]}function convertRaycastIntersect(hit,object,raycaster){if(hit===null){return null}hit.point.applyMatrix4(object.matrixWorld);hit.distance=hit.point.distanceTo(raycaster.ray.origin);hit.object=object;if(hit.distance&lt;raycaster.near||hit.distance&gt;raycaster.far){return null}else{return hit}}const ray=new three.Ray;const tmpInverseMatrix=new three.Matrix4;const origMeshRaycastFunc=three.Mesh.prototype.raycast;function acceleratedRaycast(raycaster,intersects){if(this.geometry.boundsTree){if(this.material===undefined)return;tmpInverseMatrix.copy(this.matrixWorld).invert();ray.copy(raycaster.ray).applyMatrix4(tmpInverseMatrix);const bvh=this.geometry.boundsTree;if(raycaster.firstHitOnly===true){const hit=convertRaycastIntersect(bvh.raycastFirst(ray,this.material),this,raycaster);if(hit){intersects.push(hit)}}else{const hits=bvh.raycast(ray,this.material);for(let i=0,l=hits.length;i&lt;l;i++){const hit=convertRaycastIntersect(hits[i],this,raycaster);if(hit){intersects.push(hit)}}}}else{origMeshRaycastFunc.call(this,raycaster,intersects)}}function computeBoundsTree(options){this.boundsTree=new MeshBVH(this,options);return this.boundsTree}function disposeBoundsTree(){this.boundsTree=null}function countToStringFormat(count){switch(count){case 1:return"R";case 2:return"RG";case 3:return"RGBA";case 4:return"RGBA";}throw new Error}function countToFormat(count){switch(count){case 1:return three.RedFormat;case 2:return three.RGFormat;case 3:return three.RGBAFormat;case 4:return three.RGBAFormat;}}function countToIntFormat(count){switch(count){case 1:return three.RedIntegerFormat;case 2:return three.RGIntegerFormat;case 3:return three.RGBAIntegerFormat;case 4:return three.RGBAIntegerFormat;}}class VertexAttributeTexture extends three.DataTexture{constructor(){super();this.minFilter=three.NearestFilter;this.magFilter=three.NearestFilter;this.generateMipmaps=false;this.overrideItemSize=null;this._forcedType=null}updateFrom(attr){const overrideItemSize=this.overrideItemSize;const originalItemSize=attr.itemSize;const originalCount=attr.count;if(overrideItemSize!==null){if(originalItemSize*originalCount%overrideItemSize!==0){throw new Error("VertexAttributeTexture: overrideItemSize must divide evenly into buffer length.")}attr.itemSize=overrideItemSize;attr.count=originalCount*originalItemSize/overrideItemSize}const itemSize=attr.itemSize;const count=attr.count;const normalized=attr.normalized;const originalBufferCons=attr.array.constructor;const byteCount=originalBufferCons.BYTES_PER_ELEMENT;let targetType=this._forcedType;let finalStride=itemSize;if(targetType===null){switch(originalBufferCons){case Float32Array:targetType=three.FloatType;break;case Uint8Array:case Uint16Array:case Uint32Array:targetType=three.UnsignedIntType;break;case Int8Array:case Int16Array:case Int32Array:targetType=three.IntType;break;}}let type,format,normalizeValue,targetBufferCons;let internalFormat=countToStringFormat(itemSize);switch(targetType){case three.FloatType:normalizeValue=1;format=countToFormat(itemSize);if(normalized&amp;&amp;byteCount===1){targetBufferCons=originalBufferCons;internalFormat+="8";if(originalBufferCons===Uint8Array){type=three.UnsignedByteType}else{type=three.ByteType;internalFormat+="_SNORM"}}else{targetBufferCons=Float32Array;internalFormat+="32F";type=three.FloatType}break;case three.IntType:internalFormat+=byteCount*8+"I";normalizeValue=normalized?Math.pow(2,originalBufferCons.BYTES_PER_ELEMENT*8-1):1;format=countToIntFormat(itemSize);if(byteCount===1){targetBufferCons=Int8Array;type=three.ByteType}else if(byteCount===2){targetBufferCons=Int16Array;type=three.ShortType}else{targetBufferCons=Int32Array;type=three.IntType}break;case three.UnsignedIntType:internalFormat+=byteCount*8+"UI";normalizeValue=normalized?Math.pow(2,originalBufferCons.BYTES_PER_ELEMENT*8-1):1;format=countToIntFormat(itemSize);if(byteCount===1){targetBufferCons=Uint8Array;type=three.UnsignedByteType}else if(byteCount===2){targetBufferCons=Uint16Array;type=three.UnsignedShortType}else{targetBufferCons=Uint32Array;type=three.UnsignedIntType}break;}if(finalStride===3&amp;&amp;(format===three.RGBAFormat||format===three.RGBAIntegerFormat)){finalStride=4}const dimension=Math.ceil(Math.sqrt(count))||1;const length=finalStride*dimension*dimension;const dataArray=new targetBufferCons(length);const originalNormalized=attr.normalized;attr.normalized=false;for(let i=0;i&lt;count;i++){const ii=finalStride*i;dataArray[ii]=attr.getX(i)/normalizeValue;if(itemSize&gt;=2){dataArray[ii+1]=attr.getY(i)/normalizeValue}if(itemSize&gt;=3){dataArray[ii+2]=attr.getZ(i)/normalizeValue;if(finalStride===4){dataArray[ii+3]=1}}if(itemSize&gt;=4){dataArray[ii+3]=attr.getW(i)/normalizeValue}}attr.normalized=originalNormalized;this.internalFormat=internalFormat;this.format=format;this.type=type;this.image.width=dimension;this.image.height=dimension;this.image.data=dataArray;this.needsUpdate=true;this.dispose();attr.itemSize=originalItemSize;attr.count=originalCount}}class UIntVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.UnsignedIntType}}class IntVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.IntType}}class FloatVertexAttributeTexture extends VertexAttributeTexture{constructor(){super();this._forcedType=three.FloatType}}class MeshBVHUniformStruct{constructor(){this.index=new UIntVertexAttributeTexture;this.position=new FloatVertexAttributeTexture;this.bvhBounds=new three.DataTexture;this.bvhContents=new three.DataTexture;this._cachedIndexAttr=null;this.index.overrideItemSize=3}updateFrom(bvh){const{geometry}=bvh;bvhToTextures(bvh,this.bvhBounds,this.bvhContents);this.position.updateFrom(geometry.attributes.position);if(bvh.indirect){const indirectBuffer=bvh._indirectBuffer;if(this._cachedIndexAttr===null||this._cachedIndexAttr.count!==indirectBuffer.length){if(geometry.index){this._cachedIndexAttr=geometry.index.clone()}else{const array=getIndexArray(getVertexCount(geometry));this._cachedIndexAttr=new three.BufferAttribute(array,1,false)}}dereferenceIndex(geometry,indirectBuffer,this._cachedIndexAttr);this.index.updateFrom(this._cachedIndexAttr)}else{this.index.updateFrom(geometry.index)}}dispose(){const{index,position,bvhBounds,bvhContents}=this;if(index)index.dispose();if(position)position.dispose();if(bvhBounds)bvhBounds.dispose();if(bvhContents)bvhContents.dispose()}}function dereferenceIndex(geometry,indirectBuffer,target){const unpacked=target.array;const indexArray=geometry.index?geometry.index.array:null;for(let i=0,l=indirectBuffer.length;i&lt;l;i++){const i3=3*i;const v3=3*indirectBuffer[i];for(let c=0;c&lt;3;c++){unpacked[i3+c]=indexArray?indexArray[v3+c]:v3+c}}}function bvhToTextures(bvh,boundsTexture,contentsTexture){const roots=bvh._roots;if(roots.length!==1){throw new Error("MeshBVHUniformStruct: Multi-root BVHs not supported.")}const root=roots[0];const uint16Array=new Uint16Array(root);const uint32Array=new Uint32Array(root);const float32Array=new Float32Array(root);const nodeCount=root.byteLength/BYTES_PER_NODE;const boundsDimension=2*Math.ceil(Math.sqrt(nodeCount/2));const boundsArray=new Float32Array(4*boundsDimension*boundsDimension);const contentsDimension=Math.ceil(Math.sqrt(nodeCount));const contentsArray=new Uint32Array(2*contentsDimension*contentsDimension);for(let i=0;i&lt;nodeCount;i++){const nodeIndex32=i*BYTES_PER_NODE/4;const nodeIndex16=nodeIndex32*2;const boundsIndex=BOUNDING_DATA_INDEX(nodeIndex32);for(let b=0;b&lt;3;b++){boundsArray[8*i+0+b]=float32Array[boundsIndex+0+b];boundsArray[8*i+4+b]=float32Array[boundsIndex+3+b]}if(IS_LEAF(nodeIndex16,uint16Array)){const count=COUNT(nodeIndex16,uint16Array);const offset=OFFSET(nodeIndex32,uint32Array);const mergedLeafCount=4294901760|count;contentsArray[i*2+0]=mergedLeafCount;contentsArray[i*2+1]=offset}else{const rightIndex=4*RIGHT_NODE(nodeIndex32,uint32Array)/BYTES_PER_NODE;const splitAxis=SPLIT_AXIS(nodeIndex32,uint32Array);contentsArray[i*2+0]=splitAxis;contentsArray[i*2+1]=rightIndex}}boundsTexture.image.data=boundsArray;boundsTexture.image.width=boundsDimension;boundsTexture.image.height=boundsDimension;boundsTexture.format=three.RGBAFormat;boundsTexture.type=three.FloatType;boundsTexture.internalFormat="RGBA32F";boundsTexture.minFilter=three.NearestFilter;boundsTexture.magFilter=three.NearestFilter;boundsTexture.generateMipmaps=false;boundsTexture.needsUpdate=true;boundsTexture.dispose();contentsTexture.image.data=contentsArray;contentsTexture.image.width=contentsDimension;contentsTexture.image.height=contentsDimension;contentsTexture.format=three.RGIntegerFormat;contentsTexture.type=three.UnsignedIntType;contentsTexture.internalFormat="RG32UI";contentsTexture.minFilter=three.NearestFilter;contentsTexture.magFilter=three.NearestFilter;contentsTexture.generateMipmaps=false;contentsTexture.needsUpdate=true;contentsTexture.dispose()}const _positionVector=new three.Vector3;const _normalVector=new three.Vector3;const _tangentVector=new three.Vector3;const _tangentVector4=new three.Vector4;const _morphVector=new three.Vector3;const _temp=new three.Vector3;const _skinIndex=new three.Vector4;const _skinWeight=new three.Vector4;const _matrix=new three.Matrix4;const _boneMatrix=new three.Matrix4;function validateAttributes(attr1,attr2){if(!attr1&amp;&amp;!attr2){return}const sameCount=attr1.count===attr2.count;const sameNormalized=attr1.normalized===attr2.normalized;const sameType=attr1.array.constructor===attr2.array.constructor;const sameItemSize=attr1.itemSize===attr2.itemSize;if(!sameCount||!sameNormalized||!sameType||!sameItemSize){throw new Error}}function createAttributeClone(attr,countOverride=null){const cons=attr.array.constructor;const normalized=attr.normalized;const itemSize=attr.itemSize;const count=countOverride===null?attr.count:countOverride;return new three.BufferAttribute(new cons(itemSize*count),itemSize,normalized)}function copyAttributeContents(attr,target,targetOffset=0){if(attr.isInterleavedBufferAttribute){const itemSize=attr.itemSize;for(let i=0,l=attr.count;i&lt;l;i++){const io=i+targetOffset;target.setX(io,attr.getX(i));if(itemSize&gt;=2)target.setY(io,attr.getY(i));if(itemSize&gt;=3)target.setZ(io,attr.getZ(i));if(itemSize&gt;=4)target.setW(io,attr.getW(i))}}else{const array=target.array;const cons=array.constructor;const byteOffset=array.BYTES_PER_ELEMENT*attr.itemSize*targetOffset;const temp=new cons(array.buffer,byteOffset,attr.array.length);temp.set(attr.array)}}function addScaledMatrix(target,matrix,scale){const targetArray=target.elements;const matrixArray=matrix.elements;for(let i=0,l=matrixArray.length;i&lt;l;i++){targetArray[i]+=matrixArray[i]*scale}}function boneNormalTransform(mesh,index,target){const skeleton=mesh.skeleton;const geometry=mesh.geometry;const bones=skeleton.bones;const boneInverses=skeleton.boneInverses;_skinIndex.fromBufferAttribute(geometry.attributes.skinIndex,index);_skinWeight.fromBufferAttribute(geometry.attributes.skinWeight,index);_matrix.elements.fill(0);for(let i=0;i&lt;4;i++){const weight=_skinWeight.getComponent(i);if(weight!==0){const boneIndex=_skinIndex.getComponent(i);_boneMatrix.multiplyMatrices(bones[boneIndex].matrixWorld,boneInverses[boneIndex]);addScaledMatrix(_matrix,_boneMatrix,weight)}}_matrix.multiply(mesh.bindMatrix).premultiply(mesh.bindMatrixInverse);target.transformDirection(_matrix);return target}function applyMorphTarget(morphData,morphInfluences,morphTargetsRelative,i,target){_morphVector.set(0,0,0);for(let j=0,jl=morphData.length;j&lt;jl;j++){const influence=morphInfluences[j];const morphAttribute=morphData[j];if(influence===0)continue;_temp.fromBufferAttribute(morphAttribute,i);if(morphTargetsRelative){_morphVector.addScaledVector(_temp,influence)}else{_morphVector.addScaledVector(_temp.sub(target),influence)}}target.add(_morphVector)}function mergeBufferGeometries(geometries,options={useGroups:false,updateIndex:false,skipAttributes:[]},targetGeometry=new three.BufferGeometry){const isIndexed=geometries[0].index!==null;const{useGroups=false,updateIndex=false,skipAttributes=[]}=options;const attributesUsed=new Set(Object.keys(geometries[0].attributes));const attributes={};let offset=0;targetGeometry.clearGroups();for(let i=0;i&lt;geometries.length;++i){const geometry=geometries[i];let attributesCount=0;if(isIndexed!==(geometry.index!==null)){throw new Error("StaticGeometryGenerator: All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.")}for(const name in geometry.attributes){if(!attributesUsed.has(name)){throw new Error("StaticGeometryGenerator: All geometries must have compatible attributes; make sure \""+name+"\" attribute exists among all geometries, or in none of them.")}if(attributes[name]===undefined){attributes[name]=[]}attributes[name].push(geometry.attributes[name]);attributesCount++}if(attributesCount!==attributesUsed.size){throw new Error("StaticGeometryGenerator: Make sure all geometries have the same number of attributes.")}if(useGroups){let count;if(isIndexed){count=geometry.index.count}else if(geometry.attributes.position!==undefined){count=geometry.attributes.position.count}else{throw new Error("StaticGeometryGenerator: The geometry must have either an index or a position attribute")}targetGeometry.addGroup(offset,count,i);offset+=count}}if(isIndexed){let forceUpdateIndex=false;if(!targetGeometry.index){let indexCount=0;for(let i=0;i&lt;geometries.length;++i){indexCount+=geometries[i].index.count}targetGeometry.setIndex(new three.BufferAttribute(new Uint32Array(indexCount),1,false));forceUpdateIndex=true}if(updateIndex||forceUpdateIndex){const targetIndex=targetGeometry.index;let targetOffset=0;let indexOffset=0;for(let i=0;i&lt;geometries.length;++i){const geometry=geometries[i];const index=geometry.index;if(skipAttributes[i]!==true){for(let j=0;j&lt;index.count;++j){targetIndex.setX(targetOffset,index.getX(j)+indexOffset);targetOffset++}}indexOffset+=geometry.attributes.position.count}}}for(const name in attributes){const attrList=attributes[name];if(!(name in targetGeometry.attributes)){let count=0;for(const key in attrList){count+=attrList[key].count}targetGeometry.setAttribute(name,createAttributeClone(attributes[name][0],count))}const targetAttribute=targetGeometry.attributes[name];let offset=0;for(let i=0,l=attrList.length;i&lt;l;i++){const attr=attrList[i];if(skipAttributes[i]!==true){copyAttributeContents(attr,targetAttribute,offset)}offset+=attr.count}}return targetGeometry}function checkTypedArrayEquality(a,b){if(a===null||b===null){return a===b}if(a.length!==b.length){return false}for(let i=0,l=a.length;i&lt;l;i++){if(a[i]!==b[i]){return false}}return true}function invertGeometry(geometry){const{index,attributes}=geometry;if(index){for(let i=0,l=index.count;i&lt;l;i+=3){const v0=index.getX(i);const v2=index.getX(i+2);index.setX(i,v2);index.setX(i+2,v0)}}else{for(const key in attributes){const attr=attributes[key];const itemSize=attr.itemSize;for(let i=0,l=attr.count;i&lt;l;i+=3){for(let j=0;j&lt;itemSize;j++){const v0=attr.getComponent(i,j);const v2=attr.getComponent(i+2,j);attr.setComponent(i,j,v2);attr.setComponent(i+2,j,v0)}}}}return geometry}class GeometryDiff{constructor(mesh){this.matrixWorld=new three.Matrix4;this.geometryHash=null;this.boneMatrices=null;this.primitiveCount=-1;this.mesh=mesh;this.update()}update(){const mesh=this.mesh;const geometry=mesh.geometry;const skeleton=mesh.skeleton;const primitiveCount=(geometry.index?geometry.index.count:geometry.attributes.position.count)/3;this.matrixWorld.copy(mesh.matrixWorld);this.geometryHash=geometry.attributes.position.version;this.primitiveCount=primitiveCount;if(skeleton){if(!skeleton.boneTexture){skeleton.computeBoneTexture()}skeleton.update();const boneMatrices=skeleton.boneMatrices;if(!this.boneMatrices||this.boneMatrices.length!==boneMatrices.length){this.boneMatrices=boneMatrices.slice()}else{this.boneMatrices.set(boneMatrices)}}else{this.boneMatrices=null}}didChange(){const mesh=this.mesh;const geometry=mesh.geometry;const primitiveCount=(geometry.index?geometry.index.count:geometry.attributes.position.count)/3;const identical=this.matrixWorld.equals(mesh.matrixWorld)&amp;&amp;this.geometryHash===geometry.attributes.position.version&amp;&amp;checkTypedArrayEquality(mesh.skeleton&amp;&amp;mesh.skeleton.boneMatrices||null,this.boneMatrices)&amp;&amp;this.primitiveCount===primitiveCount;return!identical}}class StaticGeometryGenerator{constructor(meshes){if(!Array.isArray(meshes)){meshes=[meshes]}const finalMeshes=[];meshes.forEach(object=&gt;{object.traverseVisible(c=&gt;{if(c.isMesh){finalMeshes.push(c)}})});this.meshes=finalMeshes;this.useGroups=true;this.applyWorldTransforms=true;this.attributes=["position","normal","color","tangent","uv","uv2"];this._intermediateGeometry=new Array(finalMeshes.length).fill().map(()=&gt;new three.BufferGeometry);this._diffMap=new WeakMap}getMaterials(){const materials=[];this.meshes.forEach(mesh=&gt;{if(Array.isArray(mesh.material)){materials.push(...mesh.material)}else{materials.push(mesh.material)}});return materials}generate(targetGeometry=new three.BufferGeometry){let skipAttributes=[];const{meshes,useGroups,_intermediateGeometry,_diffMap}=this;for(let i=0,l=meshes.length;i&lt;l;i++){const mesh=meshes[i];const geom=_intermediateGeometry[i];const diff=_diffMap.get(mesh);if(!diff||diff.didChange(mesh)){this._convertToStaticGeometry(mesh,geom);skipAttributes.push(false);if(!diff){_diffMap.set(mesh,new GeometryDiff(mesh))}else{diff.update()}}else{skipAttributes.push(true)}}if(_intermediateGeometry.length===0){targetGeometry.setIndex(null);const attrs=targetGeometry.attributes;for(const key in attrs){targetGeometry.deleteAttribute(key)}for(const key in this.attributes){targetGeometry.setAttribute(this.attributes[key],new three.BufferAttribute(new Float32Array(0),4,false))}}else{mergeBufferGeometries(_intermediateGeometry,{useGroups,skipAttributes},targetGeometry)}for(const key in targetGeometry.attributes){targetGeometry.attributes[key].needsUpdate=true}return targetGeometry}_convertToStaticGeometry(mesh,targetGeometry=new three.BufferGeometry){const geometry=mesh.geometry;const applyWorldTransforms=this.applyWorldTransforms;const includeNormal=this.attributes.includes("normal");const includeTangent=this.attributes.includes("tangent");const attributes=geometry.attributes;const targetAttributes=targetGeometry.attributes;if(!targetGeometry.index&amp;&amp;geometry.index){targetGeometry.index=geometry.index.clone()}if(!targetAttributes.position){targetGeometry.setAttribute("position",createAttributeClone(attributes.position))}if(includeNormal&amp;&amp;!targetAttributes.normal&amp;&amp;attributes.normal){targetGeometry.setAttribute("normal",createAttributeClone(attributes.normal))}if(includeTangent&amp;&amp;!targetAttributes.tangent&amp;&amp;attributes.tangent){targetGeometry.setAttribute("tangent",createAttributeClone(attributes.tangent))}validateAttributes(geometry.index,targetGeometry.index);validateAttributes(attributes.position,targetAttributes.position);if(includeNormal){validateAttributes(attributes.normal,targetAttributes.normal)}if(includeTangent){validateAttributes(attributes.tangent,targetAttributes.tangent)}const position=attributes.position;const normal=includeNormal?attributes.normal:null;const tangent=includeTangent?attributes.tangent:null;const morphPosition=geometry.morphAttributes.position;const morphNormal=geometry.morphAttributes.normal;const morphTangent=geometry.morphAttributes.tangent;const morphTargetsRelative=geometry.morphTargetsRelative;const morphInfluences=mesh.morphTargetInfluences;const normalMatrix=new three.Matrix3;normalMatrix.getNormalMatrix(mesh.matrixWorld);if(geometry.index){targetGeometry.index.array.set(geometry.index.array)}for(let i=0,l=attributes.position.count;i&lt;l;i++){_positionVector.fromBufferAttribute(position,i);if(normal){_normalVector.fromBufferAttribute(normal,i)}if(tangent){_tangentVector4.fromBufferAttribute(tangent,i);_tangentVector.fromBufferAttribute(tangent,i)}if(morphInfluences){if(morphPosition){applyMorphTarget(morphPosition,morphInfluences,morphTargetsRelative,i,_positionVector)}if(morphNormal){applyMorphTarget(morphNormal,morphInfluences,morphTargetsRelative,i,_normalVector)}if(morphTangent){applyMorphTarget(morphTangent,morphInfluences,morphTargetsRelative,i,_tangentVector)}}if(mesh.isSkinnedMesh){mesh.applyBoneTransform(i,_positionVector);if(normal){boneNormalTransform(mesh,i,_normalVector)}if(tangent){boneNormalTransform(mesh,i,_tangentVector)}}if(applyWorldTransforms){_positionVector.applyMatrix4(mesh.matrixWorld)}targetAttributes.position.setXYZ(i,_positionVector.x,_positionVector.y,_positionVector.z);if(normal){if(applyWorldTransforms){_normalVector.applyNormalMatrix(normalMatrix)}targetAttributes.normal.setXYZ(i,_normalVector.x,_normalVector.y,_normalVector.z)}if(tangent){if(applyWorldTransforms){_tangentVector.transformDirection(mesh.matrixWorld)}targetAttributes.tangent.setXYZW(i,_tangentVector.x,_tangentVector.y,_tangentVector.z,_tangentVector4.w)}}for(const i in this.attributes){const key=this.attributes[i];if(key==="position"||key==="tangent"||key==="normal"||!(key in attributes)){continue}if(!targetAttributes[key]){targetGeometry.setAttribute(key,createAttributeClone(attributes[key]))}validateAttributes(attributes[key],targetAttributes[key]);copyAttributeContents(attributes[key],targetAttributes[key])}if(mesh.matrixWorld.determinant()&lt;0){invertGeometry(targetGeometry)}return targetGeometry}}const common_functions=`

// A stack of uint32 indices can can store the indices for
// a perfectly balanced tree with a depth up to 31. Lower stack
// depth gets higher performance.
//
// However not all trees are balanced. Best value to set this to
// is the trees max depth.
#ifndef BVH_STACK_DEPTH
#define BVH_STACK_DEPTH 60
#endif

#ifndef INFINITY
#define INFINITY 1e20
#endif

// Utilities
uvec4 uTexelFetch1D( usampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

ivec4 iTexelFetch1D( isampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

vec4 texelFetch1D( sampler2D tex, uint index ) {

	uint width = uint( textureSize( tex, 0 ).x );
	uvec2 uv;
	uv.x = index % width;
	uv.y = index / width;

	return texelFetch( tex, ivec2( uv ), 0 );

}

vec4 textureSampleBarycoord( sampler2D tex, vec3 barycoord, uvec3 faceIndices ) {

	return
		barycoord.x * texelFetch1D( tex, faceIndices.x ) +
		barycoord.y * texelFetch1D( tex, faceIndices.y ) +
		barycoord.z * texelFetch1D( tex, faceIndices.z );

}

void ndcToCameraRay(
	vec2 coord, mat4 cameraWorld, mat4 invProjectionMatrix,
	out vec3 rayOrigin, out vec3 rayDirection
) {

	// get camera look direction and near plane for camera clipping
	vec4 lookDirection = cameraWorld * vec4( 0.0, 0.0, - 1.0, 0.0 );
	vec4 nearVector = invProjectionMatrix * vec4( 0.0, 0.0, - 1.0, 1.0 );
	float near = abs( nearVector.z / nearVector.w );

	// get the camera direction and position from camera matrices
	vec4 origin = cameraWorld * vec4( 0.0, 0.0, 0.0, 1.0 );
	vec4 direction = invProjectionMatrix * vec4( coord, 0.5, 1.0 );
	direction /= direction.w;
	direction = cameraWorld * direction - origin;

	// slide the origin along the ray until it sits at the near clip plane position
	origin.xyz += direction.xyz * near / dot( direction, lookDirection );

	rayOrigin = origin.xyz;
	rayDirection = direction.xyz;

}
`;const bvh_distance_functions=`

float dot2( vec3 v ) {

	return dot( v, v );

}

// https://www.shadertoy.com/view/ttfGWl
vec3 closestPointToTriangle( vec3 p, vec3 v0, vec3 v1, vec3 v2, out vec3 barycoord ) {

    vec3 v10 = v1 - v0;
    vec3 v21 = v2 - v1;
    vec3 v02 = v0 - v2;

	vec3 p0 = p - v0;
	vec3 p1 = p - v1;
	vec3 p2 = p - v2;

    vec3 nor = cross( v10, v02 );

    // method 2, in barycentric space
    vec3  q = cross( nor, p0 );
    float d = 1.0 / dot2( nor );
    float u = d * dot( q, v02 );
    float v = d * dot( q, v10 );
    float w = 1.0 - u - v;

	if( u &lt; 0.0 ) {

		w = clamp( dot( p2, v02 ) / dot2( v02 ), 0.0, 1.0 );
		u = 0.0;
		v = 1.0 - w;

	} else if( v &lt; 0.0 ) {

		u = clamp( dot( p0, v10 ) / dot2( v10 ), 0.0, 1.0 );
		v = 0.0;
		w = 1.0 - u;

	} else if( w &lt; 0.0 ) {

		v = clamp( dot( p1, v21 ) / dot2( v21 ), 0.0, 1.0 );
		w = 0.0;
		u = 1.0-v;

	}

	barycoord = vec3( u, v, w );
    return u * v1 + v * v2 + w * v0;

}

float distanceToTriangles(
	// geometry info and triangle range
	sampler2D positionAttr, usampler2D indexAttr, uint offset, uint count,

	// point and cut off range
	vec3 point, float closestDistanceSquared,

	// outputs
	inout uvec4 faceIndices, inout vec3 faceNormal, inout vec3 barycoord, inout float side, inout vec3 outPoint
) {

	bool found = false;
	vec3 localBarycoord;
	for ( uint i = offset, l = offset + count; i &lt; l; i ++ ) {

		uvec3 indices = uTexelFetch1D( indexAttr, i ).xyz;
		vec3 a = texelFetch1D( positionAttr, indices.x ).rgb;
		vec3 b = texelFetch1D( positionAttr, indices.y ).rgb;
		vec3 c = texelFetch1D( positionAttr, indices.z ).rgb;

		// get the closest point and barycoord
		vec3 closestPoint = closestPointToTriangle( point, a, b, c, localBarycoord );
		vec3 delta = point - closestPoint;
		float sqDist = dot2( delta );
		if ( sqDist &lt; closestDistanceSquared ) {

			// set the output results
			closestDistanceSquared = sqDist;
			faceIndices = uvec4( indices.xyz, i );
			faceNormal = normalize( cross( a - b, b - c ) );
			barycoord = localBarycoord;
			outPoint = closestPoint;
			side = sign( dot( faceNormal, delta ) );

		}

	}

	return closestDistanceSquared;

}

float distanceSqToBounds( vec3 point, vec3 boundsMin, vec3 boundsMax ) {

	vec3 clampedPoint = clamp( point, boundsMin, boundsMax );
	vec3 delta = point - clampedPoint;
	return dot( delta, delta );

}

float distanceSqToBVHNodeBoundsPoint( vec3 point, sampler2D bvhBounds, uint currNodeIndex ) {

	uint cni2 = currNodeIndex * 2u;
	vec3 boundsMin = texelFetch1D( bvhBounds, cni2 ).xyz;
	vec3 boundsMax = texelFetch1D( bvhBounds, cni2 + 1u ).xyz;
	return distanceSqToBounds( point, boundsMin, boundsMax );

}

// use a macro to hide the fact that we need to expand the struct into separate fields
#define\
	bvhClosestPointToPoint(\
		bvh,\
		point, faceIndices, faceNormal, barycoord, side, outPoint\
	)\
	_bvhClosestPointToPoint(\
		bvh.position, bvh.index, bvh.bvhBounds, bvh.bvhContents,\
		point, faceIndices, faceNormal, barycoord, side, outPoint\
	)

float _bvhClosestPointToPoint(
	// bvh info
	sampler2D bvh_position, usampler2D bvh_index, sampler2D bvh_bvhBounds, usampler2D bvh_bvhContents,

	// point to check
	vec3 point,

	// output variables
	inout uvec4 faceIndices, inout vec3 faceNormal, inout vec3 barycoord,
	inout float side, inout vec3 outPoint
 ) {

	// stack needs to be twice as long as the deepest tree we expect because
	// we push both the left and right child onto the stack every traversal
	int ptr = 0;
	uint stack[ BVH_STACK_DEPTH ];
	stack[ 0 ] = 0u;

	float closestDistanceSquared = pow( 100000.0, 2.0 );
	bool found = false;
	while ( ptr &gt; - 1 &amp;&amp; ptr &lt; BVH_STACK_DEPTH ) {

		uint currNodeIndex = stack[ ptr ];
		ptr --;

		// check if we intersect the current bounds
		float boundsHitDistance = distanceSqToBVHNodeBoundsPoint( point, bvh_bvhBounds, currNodeIndex );
		if ( boundsHitDistance &gt; closestDistanceSquared ) {

			continue;

		}

		uvec2 boundsInfo = uTexelFetch1D( bvh_bvhContents, currNodeIndex ).xy;
		bool isLeaf = bool( boundsInfo.x &amp; 0xffff0000u );
		if ( isLeaf ) {

			uint count = boundsInfo.x &amp; 0x0000ffffu;
			uint offset = boundsInfo.y;
			closestDistanceSquared = distanceToTriangles(
				bvh_position, bvh_index, offset, count, point, closestDistanceSquared,

				// outputs
				faceIndices, faceNormal, barycoord, side, outPoint
			);

		} else {

			uint leftIndex = currNodeIndex + 1u;
			uint splitAxis = boundsInfo.x &amp; 0x0000ffffu;
			uint rightIndex = boundsInfo.y;
			bool leftToRight = distanceSqToBVHNodeBoundsPoint( point, bvh_bvhBounds, leftIndex ) &lt; distanceSqToBVHNodeBoundsPoint( point, bvh_bvhBounds, rightIndex );//rayDirection[ splitAxis ] &gt;= 0.0;
			uint c1 = leftToRight ? leftIndex : rightIndex;
			uint c2 = leftToRight ? rightIndex : leftIndex;

			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
			// the stack while we traverse. The second pointer added is the one that will be
			// traversed first
			ptr ++;
			stack[ ptr ] = c2;
			ptr ++;
			stack[ ptr ] = c1;

		}

	}

	return sqrt( closestDistanceSquared );

}
`;const bvh_ray_functions=`

#ifndef TRI_INTERSECT_EPSILON
#define TRI_INTERSECT_EPSILON 1e-5
#endif

// Raycasting
bool intersectsBounds( vec3 rayOrigin, vec3 rayDirection, vec3 boundsMin, vec3 boundsMax, out float dist ) {

	// https://www.reddit.com/r/opengl/comments/8ntzz5/fast_glsl_ray_box_intersection/
	// https://tavianator.com/2011/ray_box.html
	vec3 invDir = 1.0 / rayDirection;

	// find intersection distances for each plane
	vec3 tMinPlane = invDir * ( boundsMin - rayOrigin );
	vec3 tMaxPlane = invDir * ( boundsMax - rayOrigin );

	// get the min and max distances from each intersection
	vec3 tMinHit = min( tMaxPlane, tMinPlane );
	vec3 tMaxHit = max( tMaxPlane, tMinPlane );

	// get the furthest hit distance
	vec2 t = max( tMinHit.xx, tMinHit.yz );
	float t0 = max( t.x, t.y );

	// get the minimum hit distance
	t = min( tMaxHit.xx, tMaxHit.yz );
	float t1 = min( t.x, t.y );

	// set distance to 0.0 if the ray starts inside the box
	dist = max( t0, 0.0 );

	return t1 &gt;= dist;

}

bool intersectsTriangle(
	vec3 rayOrigin, vec3 rayDirection, vec3 a, vec3 b, vec3 c,
	out vec3 barycoord, out vec3 norm, out float dist, out float side
) {

	// https://stackoverflow.com/questions/42740765/intersection-between-line-and-triangle-in-3d
	vec3 edge1 = b - a;
	vec3 edge2 = c - a;
	norm = cross( edge1, edge2 );

	float det = - dot( rayDirection, norm );
	float invdet = 1.0 / det;

	vec3 AO = rayOrigin - a;
	vec3 DAO = cross( AO, rayDirection );

	vec4 uvt;
	uvt.x = dot( edge2, DAO ) * invdet;
	uvt.y = - dot( edge1, DAO ) * invdet;
	uvt.z = dot( AO, norm ) * invdet;
	uvt.w = 1.0 - uvt.x - uvt.y;

	// set the hit information
	barycoord = uvt.wxy; // arranged in A, B, C order
	dist = uvt.z;
	side = sign( det );
	norm = side * normalize( norm );

	// add an epsilon to avoid misses between triangles
	uvt += vec4( TRI_INTERSECT_EPSILON );

	return all( greaterThanEqual( uvt, vec4( 0.0 ) ) );

}

bool intersectTriangles(
	// geometry info and triangle range
	sampler2D positionAttr, usampler2D indexAttr, uint offset, uint count,

	// ray
	vec3 rayOrigin, vec3 rayDirection,

	// outputs
	inout float minDistance, inout uvec4 faceIndices, inout vec3 faceNormal, inout vec3 barycoord,
	inout float side, inout float dist
) {

	bool found = false;
	vec3 localBarycoord, localNormal;
	float localDist, localSide;
	for ( uint i = offset, l = offset + count; i &lt; l; i ++ ) {

		uvec3 indices = uTexelFetch1D( indexAttr, i ).xyz;
		vec3 a = texelFetch1D( positionAttr, indices.x ).rgb;
		vec3 b = texelFetch1D( positionAttr, indices.y ).rgb;
		vec3 c = texelFetch1D( positionAttr, indices.z ).rgb;

		if (
			intersectsTriangle( rayOrigin, rayDirection, a, b, c, localBarycoord, localNormal, localDist, localSide )
			&amp;&amp; localDist &lt; minDistance
		) {

			found = true;
			minDistance = localDist;

			faceIndices = uvec4( indices.xyz, i );
			faceNormal = localNormal;

			side = localSide;
			barycoord = localBarycoord;
			dist = localDist;

		}

	}

	return found;

}

bool intersectsBVHNodeBounds( vec3 rayOrigin, vec3 rayDirection, sampler2D bvhBounds, uint currNodeIndex, out float dist ) {

	uint cni2 = currNodeIndex * 2u;
	vec3 boundsMin = texelFetch1D( bvhBounds, cni2 ).xyz;
	vec3 boundsMax = texelFetch1D( bvhBounds, cni2 + 1u ).xyz;
	return intersectsBounds( rayOrigin, rayDirection, boundsMin, boundsMax, dist );

}

// use a macro to hide the fact that we need to expand the struct into separate fields
#define\
	bvhIntersectFirstHit(\
		bvh,\
		rayOrigin, rayDirection, faceIndices, faceNormal, barycoord, side, dist\
	)\
	_bvhIntersectFirstHit(\
		bvh.position, bvh.index, bvh.bvhBounds, bvh.bvhContents,\
		rayOrigin, rayDirection, faceIndices, faceNormal, barycoord, side, dist\
	)

bool _bvhIntersectFirstHit(
	// bvh info
	sampler2D bvh_position, usampler2D bvh_index, sampler2D bvh_bvhBounds, usampler2D bvh_bvhContents,

	// ray
	vec3 rayOrigin, vec3 rayDirection,

	// output variables split into separate variables due to output precision
	inout uvec4 faceIndices, inout vec3 faceNormal, inout vec3 barycoord,
	inout float side, inout float dist
) {

	// stack needs to be twice as long as the deepest tree we expect because
	// we push both the left and right child onto the stack every traversal
	int ptr = 0;
	uint stack[ BVH_STACK_DEPTH ];
	stack[ 0 ] = 0u;

	float triangleDistance = INFINITY;
	bool found = false;
	while ( ptr &gt; - 1 &amp;&amp; ptr &lt; BVH_STACK_DEPTH ) {

		uint currNodeIndex = stack[ ptr ];
		ptr --;

		// check if we intersect the current bounds
		float boundsHitDistance;
		if (
			! intersectsBVHNodeBounds( rayOrigin, rayDirection, bvh_bvhBounds, currNodeIndex, boundsHitDistance )
			|| boundsHitDistance &gt; triangleDistance
		) {

			continue;

		}

		uvec2 boundsInfo = uTexelFetch1D( bvh_bvhContents, currNodeIndex ).xy;
		bool isLeaf = bool( boundsInfo.x &amp; 0xffff0000u );

		if ( isLeaf ) {

			uint count = boundsInfo.x &amp; 0x0000ffffu;
			uint offset = boundsInfo.y;

			found = intersectTriangles(
				bvh_position, bvh_index, offset, count,
				rayOrigin, rayDirection, triangleDistance,
				faceIndices, faceNormal, barycoord, side, dist
			) || found;

		} else {

			uint leftIndex = currNodeIndex + 1u;
			uint splitAxis = boundsInfo.x &amp; 0x0000ffffu;
			uint rightIndex = boundsInfo.y;

			bool leftToRight = rayDirection[ splitAxis ] &gt;= 0.0;
			uint c1 = leftToRight ? leftIndex : rightIndex;
			uint c2 = leftToRight ? rightIndex : leftIndex;

			// set c2 in the stack so we traverse it later. We need to keep track of a pointer in
			// the stack while we traverse. The second pointer added is the one that will be
			// traversed first
			ptr ++;
			stack[ ptr ] = c2;

			ptr ++;
			stack[ ptr ] = c1;

		}

	}

	return found;

}
`;const bvh_struct_definitions=`
struct BVH {

	usampler2D index;
	sampler2D position;

	sampler2D bvhBounds;
	usampler2D bvhContents;

};
`;var BVHShaderGLSL=Object.freeze({__proto__:null,bvh_distance_functions:bvh_distance_functions,bvh_ray_functions:bvh_ray_functions,bvh_struct_definitions:bvh_struct_definitions,common_functions:common_functions});const shaderStructs=bvh_struct_definitions;const shaderDistanceFunction=bvh_distance_functions;const shaderIntersectFunction=`
	${common_functions}
	${bvh_ray_functions}
`;exports.AVERAGE=AVERAGE;exports.BVHShaderGLSL=BVHShaderGLSL;exports.CENTER=CENTER;exports.CONTAINED=CONTAINED;exports.ExtendedTriangle=ExtendedTriangle;exports.FloatVertexAttributeTexture=FloatVertexAttributeTexture;exports.INTERSECTED=INTERSECTED;exports.IntVertexAttributeTexture=IntVertexAttributeTexture;exports.MeshBVH=MeshBVH;exports.MeshBVHHelper=MeshBVHHelper;exports.MeshBVHUniformStruct=MeshBVHUniformStruct;exports.NOT_INTERSECTED=NOT_INTERSECTED;exports.OrientedBox=OrientedBox;exports.SAH=SAH;exports.StaticGeometryGenerator=StaticGeometryGenerator;exports.UIntVertexAttributeTexture=UIntVertexAttributeTexture;exports.VertexAttributeTexture=VertexAttributeTexture;exports.acceleratedRaycast=acceleratedRaycast;exports.computeBoundsTree=computeBoundsTree;exports.disposeBoundsTree=disposeBoundsTree;exports.estimateMemoryInBytes=estimateMemoryInBytes;exports.getBVHExtremes=getBVHExtremes;exports.getJSONStructure=getJSONStructure;exports.getTriangleHitPointInfo=getTriangleHitPointInfo;exports.shaderDistanceFunction=shaderDistanceFunction;exports.shaderIntersectFunction=shaderIntersectFunction;exports.shaderStructs=shaderStructs;exports.validateBounds=validateBounds;Object.defineProperty(exports,"__esModule",{value:true});three.BufferGeometry.prototype.computeBoundsTree=computeBoundsTree;three.BufferGeometry.prototype.disposeBoundsTree=disposeBoundsTree;three.Mesh.prototype.raycast=acceleratedRaycast});THREE.MeshoptDecoder=function(){"use strict";var wasm_base="b9H79Tebbbe8Fv9Gbb9Gvuuuuueu9Giuuub9Geueu9Giuuueuikqbeeedddillviebeoweuec:q;iekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbeY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVbdE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbiL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtblK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbol79IV9Rbrq:P8Yqdbk;3sezu8Jjjjjbcj;eb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Radz1jjjbhwcj;abad9UhoaicefhldnadTmbaoc;WFbGgocjdaocjd6EhDcbhqinaqae9pmeaDaeaq9RaqaDfae6Egkcsfgocl4cifcd4hxdndndndnaoc9WGgmTmbcbhPcehsawcjdfhzalhHinaraH9Rax6midnaraHaxfgl9RcK6mbczhoinawcj;cbfaogifgoc9WfhOdndndndndnaHaic9WfgAco4fRbbaAci4coG4ciGPlbedibkaO9cb83ibaOcwf9cb83ibxikaOalRblalRbbgAco4gCaCciSgCE86bbaocGfalclfaCfgORbbaAcl4ciGgCaCciSgCE86bbaocVfaOaCfgORbbaAcd4ciGgCaCciSgCE86bbaoc7faOaCfgORbbaAciGgAaAciSgAE86bbaoctfaOaAfgARbbalRbegOco4gCaCciSgCE86bbaoc91faAaCfgARbbaOcl4ciGgCaCciSgCE86bbaoc4faAaCfgARbbaOcd4ciGgCaCciSgCE86bbaoc93faAaCfgARbbaOciGgOaOciSgOE86bbaoc94faAaOfgARbbalRbdgOco4gCaCciSgCE86bbaoc95faAaCfgARbbaOcl4ciGgCaCciSgCE86bbaoc96faAaCfgARbbaOcd4ciGgCaCciSgCE86bbaoc97faAaCfgARbbaOciGgOaOciSgOE86bbaoc98faAaOfgORbbalRbiglco4gAaAciSgAE86bbaoc99faOaAfgORbbalcl4ciGgAaAciSgAE86bbaoc9:faOaAfgORbbalcd4ciGgAaAciSgAE86bbaocufaOaAfgoRbbalciGglalciSglE86bbaoalfhlxdkaOalRbwalRbbgAcl4gCaCcsSgCE86bbaocGfalcwfaCfgORbbaAcsGgAaAcsSgAE86bbaocVfaOaAfgORbbalRbegAcl4gCaCcsSgCE86bbaoc7faOaCfgORbbaAcsGgAaAcsSgAE86bbaoctfaOaAfgORbbalRbdgAcl4gCaCcsSgCE86bbaoc91faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc4faOaAfgORbbalRbigAcl4gCaCcsSgCE86bbaoc93faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc94faOaAfgORbbalRblgAcl4gCaCcsSgCE86bbaoc95faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc96faOaAfgORbbalRbvgAcl4gCaCcsSgCE86bbaoc97faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc98faOaAfgORbbalRbogAcl4gCaCcsSgCE86bbaoc99faOaCfgORbbaAcsGgAaAcsSgAE86bbaoc9:faOaAfgORbbalRbrglcl4gAaAcsSgAE86bbaocufaOaAfgoRbbalcsGglalcsSglE86bbaoalfhlxekaOal8Pbb83bbaOcwfalcwf8Pbb83bbalczfhlkdnaiam9pmbaiczfhoaral9RcL0mekkaiam6mialTmidnakTmbawaPfRbbhOcbhoazhiinaiawcj;cbfaofRbbgAce4cbaAceG9R7aOfgO86bbaiadfhiaocefgoak9hmbkkazcefhzaPcefgPad6hsalhHaPad9hmexvkkcbhlasceGmdxikalaxad2fhCdnakTmbcbhHcehsawcjdfhminaral9Rax6mialTmdalaxfhlawaHfRbbhOcbhoamhiinaiawcj;cbfaofRbbgAce4cbaAceG9R7aOfgO86bbaiadfhiaocefgoak9hmbkamcefhmaHcefgHad6hsaHad9hmbkaChlxikcbhocehsinaral9Rax6mdalTmealaxfhlaocefgoad6hsadao9hmbkaChlxdkcbhlasceGTmekc9:hoxikabaqad2fawcjdfakad2z1jjjb8Aawawcjdfakcufad2fadz1jjjb8Aakaqfhqalmbkc9:hoxekcbc99aral9Radcaadca0ESEhokavcj;ebf8Kjjjjbaok;yzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecjez:jjjjb8AavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhDcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgrc;Ve0mbavc;abfalarcl4cu7fcsGcitfgPydlhsaPydbhzdnarcsGgPak9pmbavaiarcu7fcsGcdtfydbaxaPEhraPThPdndnadcd9hmbabaDcetfgHaz87ebaHcdfas87ebaHclfar87ebxekabaDcdtfgHazBdbaHclfasBdbaHcwfarBdbkaxaPfhxavc;abfalcitfgHarBdbaHasBdlavaicdtfarBdbavc;abfalcefcsGglcitfgHazBdbaHarBdlaiaPfhialcefhlxdkdndnaPcsSmbamaPfaPc987fcefhmxekaocefhrao8SbbgPcFeGhHdndnaPcu9mmbarhoxekaocvfhoaHcFbGhHcrhPdninar8SbbgOcFbGaPtaHVhHaOcu9kmearcefhraPcrfgPc8J9hmbxdkkarcefhokaHce4cbaHceG9R7amfhmkdndnadcd9hmbabaDcetfgraz87ebarcdfas87ebarclfam87ebxekabaDcdtfgrazBdbarclfasBdbarcwfamBdbkavc;abfalcitfgramBdbarasBdlavaicdtfamBdbavc;abfalcefcsGglcitfgrazBdbaramBdlaicefhialcefhlxekdnarcpe0mbaxcefgOavaiaqarcsGfRbbgPcl49RcsGcdtfydbaPcz6gHEhravaiaP9RcsGcdtfydbaOaHfgsaPcsGgOEhPaOThOdndnadcd9hmbabaDcetfgzax87ebazcdfar87ebazclfaP87ebxekabaDcdtfgzaxBdbazclfarBdbazcwfaPBdbkavaicdtfaxBdbavc;abfalcitfgzarBdbazaxBdlavaicefgicsGcdtfarBdbavc;abfalcefcsGcitfgzaPBdbazarBdlavaiaHfcsGgicdtfaPBdbavc;abfalcdfcsGglcitfgraxBdbaraPBdlalcefhlaiaOfhiasaOfhxxekaxcbaoRbbgzEgAarc;:eSgrfhsazcsGhCazcl4hXdndnazcs0mbascefhOxekashOavaiaX9RcsGcdtfydbhskdndnaCmbaOcefhxxekaOhxavaiaz9RcsGcdtfydbhOkdndnarTmbaocefhrxekaocdfhrao8SbegHcFeGhPdnaHcu9kmbaocofhAaPcFbGhPcrhodninar8SbbgHcFbGaotaPVhPaHcu9kmearcefhraocrfgoc8J9hmbkaAhrxekarcefhrkaPce4cbaPceG9R7amfgmhAkdndnaXcsSmbarhPxekarcefhPar8SbbgocFeGhHdnaocu9kmbarcvfhsaHcFbGhHcrhodninaP8SbbgrcFbGaotaHVhHarcu9kmeaPcefhPaocrfgoc8J9hmbkashPxekaPcefhPkaHce4cbaHceG9R7amfgmhskdndnaCcsSmbaPhoxekaPcefhoaP8SbbgrcFeGhHdnarcu9kmbaPcvfhOaHcFbGhHcrhrdninao8SbbgPcFbGartaHVhHaPcu9kmeaocefhoarcrfgrc8J9hmbkaOhoxekaocefhokaHce4cbaHceG9R7amfgmhOkdndnadcd9hmbabaDcetfgraA87ebarcdfas87ebarclfaO87ebxekabaDcdtfgraABdbarclfasBdbarcwfaOBdbkavc;abfalcitfgrasBdbaraABdlavaicdtfaABdbavc;abfalcefcsGcitfgraOBdbarasBdlavaicefgicsGcdtfasBdbavc;abfalcdfcsGcitfgraABdbaraOBdlavaiazcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiaDcifgDae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:llevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:Lvoeue99dud99eud99dndnadcl9hmbaeTmeindndnabcdfgd8Sbb:Yab8Sbbgi:Ygl:l:tabcefgv8Sbbgo:Ygr:l:tgwJbb;:9cawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai86bbdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad86bbdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad86bbabclfhbaecufgembxdkkaeTmbindndnabclfgd8Ueb:Yab8Uebgi:Ygl:l:tabcdfgv8Uebgo:Ygr:l:tgwJb;:FSawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai87ebdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad87ebdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad87ebabcwfhbaecufgembkkk;siliui99iue99dnaeTmbcbhiabhlindndnJ;Zl81Zalcof8UebgvciV:Y:vgoal8Ueb:YNgrJb;:FSNJbbbZJbbb:;arJbbbb9GEMgw:lJbbb9p9DTmbaw:OhDxekcjjjj94hDkalclf8Uebhqalcdf8UebhkabavcefciGaiVcetfaD87ebdndnaoak:YNgwJb;:FSNJbbbZJbbb:;awJbbbb9GEMgx:lJbbb9p9DTmbax:Ohkxekcjjjj94hkkabavcdfciGaiVcetfak87ebdndnaoaq:YNgoJb;:FSNJbbbZJbbb:;aoJbbbb9GEMgx:lJbbb9p9DTmbax:Ohqxekcjjjj94hqkabavcufciGaiVcetfaq87ebdndnJbbjZararN:tawawN:taoaoN:tgrJbbbbarJbbbb9GE:rJb;:FSNJbbbZMgr:lJbbb9p9DTmbar:Ohqxekcjjjj94hqkabavciGaiVcetfaq87ebalcwfhlaiclfhiaecufgembkkk9mbdnadcd4ae2geTmbinababydbgdcwtcw91:Yadce91cjjj;8ifcjjj98G::NUdbabclfhbaecufgembkkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik;LeeeudndnaeabVciGTmbabhixekdndnadcz9pmbabhixekabhiinaiaeydbBdbaiclfaeclfydbBdbaicwfaecwfydbBdbaicxfaecxfydbBdbaiczfhiaeczfheadc9Wfgdcs0mbkkadcl6mbinaiaeydbBdbaeclfheaiclfhiadc98fgdci0mbkkdnadTmbinaiaeRbb86bbaicefhiaecefheadcufgdmbkkabk;aeedudndnabciGTmbabhixekaecFeGc:b:c:ew2hldndnadcz9pmbabhixekabhiinaialBdbaicxfalBdbaicwfalBdbaiclfalBdbaiczfhiadc9Wfgdcs0mbkkadcl6mbinaialBdbaiclfhiadc98fgdci0mbkkdnadTmbinaiae86bbaicefhiadcufgdmbkkabkkkebcjwklz9Kbb";var wasm_simd="b9H79TebbbeKl9Gbb9Gvuuuuueu9Giuuub9Geueuikqbbebeedddilve9Weeeviebeoweuec:q;Aekr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbdY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVblE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtboK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbrL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbwl79IV9RbDq;t9tqlbzik9:evu8Jjjjjbcz9Rhbcbheincbhdcbhiinabcwfadfaicjuaead4ceGglE86bbaialfhiadcefgdcw9hmbkaec:q:yjjbfai86bbaecitc:q1jjbfab8Piw83ibaecefgecjd9hmbkk;h8JlHud97euo978Jjjjjbcj;kb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Rad;8qbbcj;abad9UhoaicefhldnadTmbaoc;WFbGgocjdaocjd6EhwcbhDinaDae9pmeawaeaD9RaDawfae6Egqcsfgoc9WGgkci2hxakcethmaocl4cifcd4hPabaDad2fhscbhzdnincehHalhOcbhAdninaraO9RaP6miavcj;cbfaAak2fhCaOaPfhlcbhidnakc;ab6mbaral9Rc;Gb6mbcbhoinaCaofhidndndndndnaOaoco4fRbbgXciGPlbedibkaipxbbbbbbbbbbbbbbbbpklbxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklbalczfhlkdndndndndnaXcd4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklzxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklzalczfhlkdndndndndnaXcl4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklaxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaialpbbbpklaalczfhlkdndndndndnaXco4Plbedibkaipxbbbbbbbbbbbbbbbbpkl8WxikaialpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalclfaYpQbfaXc:q:yjjbfRbbfhlxdkaialpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WalcwfaYpQbfaXc:q:yjjbfRbbfhlxekaialpbbbpkl8Walczfhlkaoc;abfhiaocjefak0meaihoaral9Rc;Fb0mbkkdndnaiak9pmbaici4hoinaral9RcK6mdaCaifhXdndndndndnaOaico4fRbbaocoG4ciGPlbedibkaXpxbbbbbbbbbbbbbbbbpklbxikaXalpbblalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalclfaYpQbfaKc:q:yjjbfRbbfhlxdkaXalpbbwalpbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbalcwfaYpQbfaKc:q:yjjbfRbbfhlxekaXalpbbbpklbalczfhlkaocdfhoaiczfgiak6mbkkalTmbaAci6hHalhOaAcefgohAaoclSmdxekkcbhlaHceGmdkdnakTmbavcjdfazfhiavazfpbdbhYcbhXinaiavcj;cbfaXfgopblbgLcep9TaLpxeeeeeeeeeeeeeeeegQp9op9Hp9rgLaoakfpblbg8Acep9Ta8AaQp9op9Hp9rg8ApmbzeHdOiAlCvXoQrLgEaoamfpblbg3cep9Ta3aQp9op9Hp9rg3aoaxfpblbg5cep9Ta5aQp9op9Hp9rg5pmbzeHdOiAlCvXoQrLg8EpmbezHdiOAlvCXorQLgQaQpmbedibedibedibediaYp9UgYp9AdbbaiadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaEa8EpmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaLa8ApmwKDYq8AkEx3m5P8Es8FgLa3a5pmwKDYq8AkEx3m5P8Es8Fg8ApmbezHdiOAlvCXorQLgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfgoaYaLa8ApmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaoadfgoaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaoadfgoaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaoadfgoaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaoadfhiaXczfgXak6mbkkazclfgzad6mbkasavcjdfaqad2;8qbbavavcjdfaqcufad2fad;8qbbaqaDfhDc9:hoalmexikkc9:hoxekcbc99aral9Radcaadca0ESEhokavcj;kbf8Kjjjjbaokwbz:bjjjbk;uzeHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgDce0mbavc;abfcFecje;8kbavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhqaicefgwarfhodnaeTmbcmcsaDceSEhkcbhxcbhmcbhDcbhicbhlindnaoaq9nmbc9:hoxikdndnawRbbgrc;Ve0mbavc;abfalarcl4cu7fcsGcitfgPydlhsaPydbhzdnarcsGgPak9pmbavaiarcu7fcsGcdtfydbaxaPEhraPThPdndnadcd9hmbabaDcetfgHaz87ebaHcdfas87ebaHclfar87ebxekabaDcdtfgHazBdbaHclfasBdbaHcwfarBdbkaxaPfhxavc;abfalcitfgHarBdbaHasBdlavaicdtfarBdbavc;abfalcefcsGglcitfgHazBdbaHarBdlaiaPfhialcefhlxdkdndnaPcsSmbamaPfaPc987fcefhmxekaocefhrao8SbbgPcFeGhHdndnaPcu9mmbarhoxekaocvfhoaHcFbGhHcrhPdninar8SbbgOcFbGaPtaHVhHaOcu9kmearcefhraPcrfgPc8J9hmbxdkkarcefhokaHce4cbaHceG9R7amfhmkdndnadcd9hmbabaDcetfgraz87ebarcdfas87ebarclfam87ebxekabaDcdtfgrazBdbarclfasBdbarcwfamBdbkavc;abfalcitfgramBdbarasBdlavaicdtfamBdbavc;abfalcefcsGglcitfgrazBdbaramBdlaicefhialcefhlxekdnarcpe0mbaxcefgOavaiaqarcsGfRbbgPcl49RcsGcdtfydbaPcz6gHEhravaiaP9RcsGcdtfydbaOaHfgsaPcsGgOEhPaOThOdndnadcd9hmbabaDcetfgzax87ebazcdfar87ebazclfaP87ebxekabaDcdtfgzaxBdbazclfarBdbazcwfaPBdbkavaicdtfaxBdbavc;abfalcitfgzarBdbazaxBdlavaicefgicsGcdtfarBdbavc;abfalcefcsGcitfgzaPBdbazarBdlavaiaHfcsGgicdtfaPBdbavc;abfalcdfcsGglcitfgraxBdbaraPBdlalcefhlaiaOfhiasaOfhxxekaxcbaoRbbgzEgAarc;:eSgrfhsazcsGhCazcl4hXdndnazcs0mbascefhOxekashOavaiaX9RcsGcdtfydbhskdndnaCmbaOcefhxxekaOhxavaiaz9RcsGcdtfydbhOkdndnarTmbaocefhrxekaocdfhrao8SbegHcFeGhPdnaHcu9kmbaocofhAaPcFbGhPcrhodninar8SbbgHcFbGaotaPVhPaHcu9kmearcefhraocrfgoc8J9hmbkaAhrxekarcefhrkaPce4cbaPceG9R7amfgmhAkdndnaXcsSmbarhPxekarcefhPar8SbbgocFeGhHdnaocu9kmbarcvfhsaHcFbGhHcrhodninaP8SbbgrcFbGaotaHVhHarcu9kmeaPcefhPaocrfgoc8J9hmbkashPxekaPcefhPkaHce4cbaHceG9R7amfgmhskdndnaCcsSmbaPhoxekaPcefhoaP8SbbgrcFeGhHdnarcu9kmbaPcvfhOaHcFbGhHcrhrdninao8SbbgPcFbGartaHVhHaPcu9kmeaocefhoarcrfgrc8J9hmbkaOhoxekaocefhokaHce4cbaHceG9R7amfgmhOkdndnadcd9hmbabaDcetfgraA87ebarcdfas87ebarclfaO87ebxekabaDcdtfgraABdbarclfasBdbarcwfaOBdbkavc;abfalcitfgrasBdbaraABdlavaicdtfaABdbavc;abfalcefcsGcitfgraOBdbarasBdlavaicefgicsGcdtfasBdbavc;abfalcdfcsGcitfgraABdbaraOBdlavaiazcz6aXcsSVfgicsGcdtfaOBdbaiaCTaCcsSVfhialcifhlkawcefhwalcsGhlaicsGhiaDcifgDae6mbkkcbc99aoaqSEhokavc;aef8Kjjjjbaok:llevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaicd4cbaice4ceG9R7avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:EPliuo97eue978Jjjjjbca9Rhidndnadcl9hmbdnaec98GglTmbcbhvabhdinadadpbbbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpkbbadczfhdavclfgval6mbkkalae9pmeaiaeciGgvcdtgdVcbczad9R;8kbaiabalcdtfglad;8qbbdnavTmbaiaipblbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpklbkalaiad;8qbbskdnaec98GgxTmbcbhvabhdinadczfglalpbbbgopxbbbbbbFFbbbbbbFFgkp9oadpbbbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpkbbadaDakp9oawaopmbezHdiOAlvCXorQLp9qpkbbadcafhdavclfgvax6mbkkaxae9pmbaiaeciGgvcitgdfcbcaad9R;8kbaiabaxcitfglad;8qbbdnavTmbaiaipblzgopxbbbbbbFFbbbbbbFFgkp9oaipblbgDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eaDaopmbediwDqkzHOAKY8AEgoczp:Sep;6egrp;Geaoczp:Reczp:Sep;6egwp;Gep;Kep;Legopxb;:FSb;:FSb;:FSb;:FSawaopxbbbbbbbbbbbbbbbbp:2egqawpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegwawp;Meaoaop;Mearaqaramp9op9rp;Kegoaop;Mep;Kep;Kep;Jep;Negrp;Mepxbbn0bbn0bbn0bbn0gqp;Keczp:Reawarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9op9qgwaoarp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogopmwDKYqk8AExm35Ps8E8Fp9qpklzaiaDakp9oawaopmbezHdiOAlvCXorQLp9qpklbkalaiad;8qbbkk;4wllue97euv978Jjjjjbc8W9Rhidnaec98GglTmbcbhvabhoinaiaopbbbgraoczfgwpbbbgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklbaopxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblbpEb:T:j83ibaocwfarp5eaipblbpEe:T:j83ibawaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblbpEd:T:j83ibaocKfakp5eaipblbpEi:T:j83ibaocafhoavclfgval6mbkkdnalae9pmbaiaeciGgvcitgofcbcaao9R;8kbaiabalcitfgwao;8qbbdnavTmbaiaipblbgraipblzgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklaaipxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaqakp;Mearp;Keczp:ReaDakp;Mearp;Keamp9op9qgkpmbezHdiOAlvCXorQLgrp5baipblapEb:T:j83ibaiarp5eaipblapEe:T:j83iwaiaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblapEd:T:j83izaiakp5eaipblapEi:T:j83iKkawaiao;8qbbkk:Pddiue978Jjjjjbc;ab9Rhidnadcd4ae2glc98GgvTmbcbhdabheinaeaepbbbgocwp:Recwp:Sep;6eaocep:SepxbbjZbbjZbbjZbbjZp:UepxbbjFbbjFbbjFbbjFp9op;Mepkbbaeczfheadclfgdav6mbkkdnaval9pmbaialciGgdcdtgeVcbc;abae9R;8kbaiabavcdtfgvae;8qbbdnadTmbaiaipblbgocwp:Recwp:Sep;6eaocep:SepxbbjZbbjZbbjZbbjZp:UepxbbjFbbjFbbjFbbjFp9op;Mepklbkavaiae;8qbbkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaikkkebcjwklz9Tbb";var detector=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]);var wasmpack=new Uint8Array([32,0,65,2,1,106,34,33,3,128,11,4,13,64,6,253,10,7,15,116,127,5,8,12,40,16,19,54,20,9,27,255,113,17,42,67,24,23,146,148,18,14,22,45,70,69,56,114,101,21,25,63,75,136,108,28,118,29,73,115]);if(typeof WebAssembly!=="object"){return{supported:false}}var wasm=WebAssembly.validate(detector)?wasm_simd:wasm_base;var instance;var ready=WebAssembly.instantiate(unpack(wasm),{}).then(function(result){instance=result.instance;instance.exports.__wasm_call_ctors()});function unpack(data){var result=new Uint8Array(data.length);for(var i=0;i&lt;data.length;++i){var ch=data.charCodeAt(i);result[i]=ch&gt;96?ch-97:ch&gt;64?ch-39:ch+4}var write=0;for(var i=0;i&lt;data.length;++i){result[write++]=result[i]&lt;60?wasmpack[result[i]]:(result[i]-60)*64+result[++i]}return result.buffer.slice(0,write)}function decode(fun,target,count,size,source,filter){var sbrk=instance.exports.sbrk;var count4=count+3&amp;~3;var tp=sbrk(count4*size);var sp=sbrk(source.length);var heap=new Uint8Array(instance.exports.memory.buffer);heap.set(source,sp);var res=fun(tp,count,size,sp,source.length);if(res==0&amp;&amp;filter){filter(tp,count4,size)}target.set(heap.subarray(tp,tp+count*size));sbrk(tp-sbrk(0));if(res!=0){throw new Error("Malformed buffer data: "+res)}}var filters={NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"};var decoders={ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"};var workers=[];var requestId=0;function createWorker(url){var worker={object:new Worker(url),pending:0,requests:{}};worker.object.onmessage=function(event){var data=event.data;worker.pending-=data.count;worker.requests[data.id][data.action](data.value);delete worker.requests[data.id]};return worker}function initWorkers(count){var source="var instance; var ready = WebAssembly.instantiate(new Uint8Array(["+new Uint8Array(unpack(wasm))+"]), {})"+".then(function(result) { instance = result.instance; instance.exports.__wasm_call_ctors(); });"+"self.onmessage = workerProcess;"+decode.toString()+workerProcess.toString();var blob=new Blob([source],{type:"text/javascript"});var url=URL.createObjectURL(blob);for(var i=0;i&lt;count;++i){workers[i]=createWorker(url)}URL.revokeObjectURL(url)}function decodeWorker(count,size,source,mode,filter){var worker=workers[0];for(var i=1;i&lt;workers.length;++i){if(workers[i].pending&lt;worker.pending){worker=workers[i]}}return new Promise(function(resolve,reject){var data=new Uint8Array(source);var id=requestId++;worker.pending+=count;worker.requests[id]={resolve:resolve,reject:reject};worker.object.postMessage({id:id,count:count,size:size,source:data,mode:mode,filter:filter},[data.buffer])})}function workerProcess(event){ready.then(function(){var data=event.data;try{var target=new Uint8Array(data.count*data.size);decode(instance.exports[data.mode],target,data.count,data.size,data.source,instance.exports[data.filter]);self.postMessage({id:data.id,count:data.count,action:"resolve",value:target},[target.buffer])}catch(error){self.postMessage({id:data.id,count:data.count,action:"reject",value:error})}})}return{ready:ready,supported:true,useWorkers:function(count){initWorkers(count)},decodeVertexBuffer:function(target,count,size,source,filter){decode(instance.exports.meshopt_decodeVertexBuffer,target,count,size,source,instance.exports[filters[filter]])},decodeIndexBuffer:function(target,count,size,source){decode(instance.exports.meshopt_decodeIndexBuffer,target,count,size,source)},decodeIndexSequence:function(target,count,size,source){decode(instance.exports.meshopt_decodeIndexSequence,target,count,size,source)},decodeGltfBuffer:function(target,count,size,source,mode,filter){decode(instance.exports[decoders[mode]],target,count,size,source,instance.exports[filters[filter]])},decodeGltfBufferAsync:function(count,size,source,mode,filter){if(workers.length&gt;0){return decodeWorker(count,size,source,decoders[mode],filters[filter])}return ready.then(function(){var target=new Uint8Array(count*size);decode(instance.exports[decoders[mode]],target,count,size,source,instance.exports[filters[filter]]);return target})}}}();(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Color=THREE.Color,Vector3=THREE.Vector3;class Face3{constructor(a,b,c,normal,color,materialIndex=0){this.a=a;this.b=b;this.c=c;this.normal=normal&amp;&amp;normal.isVector3?normal:new Vector3;this.vertexNormals=Array.isArray(normal)?normal:[];this.color=color&amp;&amp;color.isColor?color:new Color;this.vertexColors=Array.isArray(color)?color:[];this.materialIndex=materialIndex}clone(){return new this.constructor().copy(this)}copy(source){this.a=source.a;this.b=source.b;this.c=source.c;this.normal.copy(source.normal);this.color.copy(source.color);this.materialIndex=source.materialIndex;for(let i=0,il=source.vertexNormals.length;i&lt;il;i++){this.vertexNormals[i]=source.vertexNormals[i].clone()}for(let i=0,il=source.vertexColors.length;i&lt;il;i++){this.vertexColors[i]=source.vertexColors[i].clone()}return this}}THREE.Face3=Face3});(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Box3=THREE.Box3,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Color=THREE.Color,EventDispatcher=THREE.EventDispatcher,Float32BufferAttribute=THREE.Float32BufferAttribute,Matrix3=THREE.Matrix3,Matrix4=THREE.Matrix4,MathUtils=THREE.MathUtils,Object3D=THREE.Object3D,Sphere=THREE.Sphere,Vector2=THREE.Vector2,Vector3=THREE.Vector3;const _m1=new Matrix4;const _obj=new Object3D;const _offset=new Vector3;class Geometry extends EventDispatcher{constructor(){super();this.uuid=MathUtils.generateUUID();this.name="";this.type="Geometry";this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingBox=null;this.boundingSphere=null;this.elementsNeedUpdate=false;this.verticesNeedUpdate=false;this.uvsNeedUpdate=false;this.normalsNeedUpdate=false;this.colorsNeedUpdate=false;this.lineDistancesNeedUpdate=false;this.groupsNeedUpdate=false}applyMatrix4(matrix){const normalMatrix=new Matrix3().getNormalMatrix(matrix);for(let i=0,il=this.vertices.length;i&lt;il;i++){const vertex=this.vertices[i];vertex.applyMatrix4(matrix)}for(let i=0,il=this.faces.length;i&lt;il;i++){const face=this.faces[i];face.normal.applyMatrix3(normalMatrix).normalize();for(let j=0,jl=face.vertexNormals.length;j&lt;jl;j++){face.vertexNormals[j].applyMatrix3(normalMatrix).normalize()}}if(this.boundingBox!==null){this.computeBoundingBox()}if(this.boundingSphere!==null){this.computeBoundingSphere()}this.verticesNeedUpdate=true;this.normalsNeedUpdate=true;return this}rotateX(angle){_m1.makeRotationX(angle);this.applyMatrix4(_m1);return this}rotateY(angle){_m1.makeRotationY(angle);this.applyMatrix4(_m1);return this}rotateZ(angle){_m1.makeRotationZ(angle);this.applyMatrix4(_m1);return this}translate(x,y,z){_m1.makeTranslation(x,y,z);this.applyMatrix4(_m1);return this}scale(x,y,z){_m1.makeScale(x,y,z);this.applyMatrix4(_m1);return this}lookAt(vector){_obj.lookAt(vector);_obj.updateMatrix();this.applyMatrix4(_obj.matrix);return this}fromBufferGeometry(geometry){const scope=this;const index=geometry.index!==null?geometry.index:undefined;const attributes=geometry.attributes;if(attributes.position===undefined){console.error("THREE.Geometry.fromBufferGeometry(): Position attribute required for conversion.");return this}const position=attributes.position;const normal=attributes.normal;const color=attributes.color;const uv=attributes.uv;const uv2=attributes.uv2;if(uv2!==undefined)this.faceVertexUvs[1]=[];for(let i=0;i&lt;position.count;i++){scope.vertices.push(new Vector3().fromBufferAttribute(position,i));if(color!==undefined){scope.colors.push(new Color().fromBufferAttribute(color,i))}}function addFace(a,b,c,materialIndex){const vertexColors=color===undefined?[]:[scope.colors[a].clone(),scope.colors[b].clone(),scope.colors[c].clone()];const vertexNormals=normal===undefined?[]:[new Vector3().fromBufferAttribute(normal,a),new Vector3().fromBufferAttribute(normal,b),new Vector3().fromBufferAttribute(normal,c)];const face=new Face3(a,b,c,vertexNormals,vertexColors,materialIndex);scope.faces.push(face);if(uv!==undefined){scope.faceVertexUvs[0].push([new Vector2().fromBufferAttribute(uv,a),new Vector2().fromBufferAttribute(uv,b),new Vector2().fromBufferAttribute(uv,c)])}if(uv2!==undefined){scope.faceVertexUvs[1].push([new Vector2().fromBufferAttribute(uv2,a),new Vector2().fromBufferAttribute(uv2,b),new Vector2().fromBufferAttribute(uv2,c)])}}const groups=geometry.groups;if(groups.length&gt;0){for(let i=0;i&lt;groups.length;i++){const group=groups[i];const start=group.start;const count=group.count;for(let j=start,jl=start+count;j&lt;jl;j+=3){if(index!==undefined){addFace(index.getX(j),index.getX(j+1),index.getX(j+2),group.materialIndex)}else{addFace(j,j+1,j+2,group.materialIndex)}}}}else{if(index!==undefined){for(let i=0;i&lt;index.count;i+=3){addFace(index.getX(i),index.getX(i+1),index.getX(i+2))}}else{for(let i=0;i&lt;position.count;i+=3){addFace(i,i+1,i+2)}}}this.computeFaceNormals();if(geometry.boundingBox!==null){this.boundingBox=geometry.boundingBox.clone()}if(geometry.boundingSphere!==null){this.boundingSphere=geometry.boundingSphere.clone()}return this}center(){this.computeBoundingBox();this.boundingBox.getCenter(_offset).negate();this.translate(_offset.x,_offset.y,_offset.z);return this}normalize(){this.computeBoundingSphere();const center=this.boundingSphere.center;const radius=this.boundingSphere.radius;const s=radius===0?1:1/radius;const matrix=new Matrix4;matrix.set(s,0,0,-s*center.x,0,s,0,-s*center.y,0,0,s,-s*center.z,0,0,0,1);this.applyMatrix4(matrix);return this}computeFaceNormals(){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];const vA=this.vertices[face.a];const vB=this.vertices[face.b];const vC=this.vertices[face.c];cb.subVectors(vC,vB);ab.subVectors(vA,vB);cb.cross(ab);cb.normalize();face.normal.copy(cb)}}computeVertexNormals(areaWeighted=true){const vertices=new Array(this.vertices.length);for(let v=0,vl=this.vertices.length;v&lt;vl;v++){vertices[v]=new Vector3}if(areaWeighted){const cb=new Vector3,ab=new Vector3;for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];const vA=this.vertices[face.a];const vB=this.vertices[face.b];const vC=this.vertices[face.c];cb.subVectors(vC,vB);ab.subVectors(vA,vB);cb.cross(ab);vertices[face.a].add(cb);vertices[face.b].add(cb);vertices[face.c].add(cb)}}else{this.computeFaceNormals();for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];vertices[face.a].add(face.normal);vertices[face.b].add(face.normal);vertices[face.c].add(face.normal)}}for(let v=0,vl=this.vertices.length;v&lt;vl;v++){vertices[v].normalize()}for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){vertexNormals[0].copy(vertices[face.a]);vertexNormals[1].copy(vertices[face.b]);vertexNormals[2].copy(vertices[face.c])}else{vertexNormals[0]=vertices[face.a].clone();vertexNormals[1]=vertices[face.b].clone();vertexNormals[2]=vertices[face.c].clone()}}if(this.faces.length&gt;0){this.normalsNeedUpdate=true}}computeFlatVertexNormals(){this.computeFaceNormals();for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){vertexNormals[0].copy(face.normal);vertexNormals[1].copy(face.normal);vertexNormals[2].copy(face.normal)}else{vertexNormals[0]=face.normal.clone();vertexNormals[1]=face.normal.clone();vertexNormals[2]=face.normal.clone()}}if(this.faces.length&gt;0){this.normalsNeedUpdate=true}}computeMorphNormals(){for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];if(!face.__originalFaceNormal){face.__originalFaceNormal=face.normal.clone()}else{face.__originalFaceNormal.copy(face.normal)}if(!face.__originalVertexNormals)face.__originalVertexNormals=[];for(let i=0,il=face.vertexNormals.length;i&lt;il;i++){if(!face.__originalVertexNormals[i]){face.__originalVertexNormals[i]=face.vertexNormals[i].clone()}else{face.__originalVertexNormals[i].copy(face.vertexNormals[i])}}}const tmpGeo=new Geometry;tmpGeo.faces=this.faces;for(let i=0,il=this.morphTargets.length;i&lt;il;i++){if(!this.morphNormals[i]){this.morphNormals[i]={};this.morphNormals[i].faceNormals=[];this.morphNormals[i].vertexNormals=[];const dstNormalsFace=this.morphNormals[i].faceNormals;const dstNormalsVertex=this.morphNormals[i].vertexNormals;for(let f=0,fl=this.faces.length;f&lt;fl;f++){const faceNormal=new Vector3;const vertexNormals={a:new Vector3,b:new Vector3,c:new Vector3};dstNormalsFace.push(faceNormal);dstNormalsVertex.push(vertexNormals)}}const morphNormals=this.morphNormals[i];tmpGeo.vertices=this.morphTargets[i].vertices;tmpGeo.computeFaceNormals();tmpGeo.computeVertexNormals();for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];const faceNormal=morphNormals.faceNormals[f];const vertexNormals=morphNormals.vertexNormals[f];faceNormal.copy(face.normal);vertexNormals.a.copy(face.vertexNormals[0]);vertexNormals.b.copy(face.vertexNormals[1]);vertexNormals.c.copy(face.vertexNormals[2])}}for(let f=0,fl=this.faces.length;f&lt;fl;f++){const face=this.faces[f];face.normal=face.__originalFaceNormal;face.vertexNormals=face.__originalVertexNormals}}computeBoundingBox(){if(this.boundingBox===null){this.boundingBox=new Box3}this.boundingBox.setFromPoints(this.vertices)}computeBoundingSphere(){if(this.boundingSphere===null){this.boundingSphere=new Sphere}this.boundingSphere.setFromPoints(this.vertices)}merge(geometry,matrix,materialIndexOffset=0){if(!(geometry&amp;&amp;geometry.isGeometry)){console.error("THREE.Geometry.merge(): geometry not an instance of THREE.Geometry.",geometry);return}let normalMatrix;const vertexOffset=this.vertices.length,vertices1=this.vertices,vertices2=geometry.vertices,faces1=this.faces,faces2=geometry.faces,colors1=this.colors,colors2=geometry.colors;if(matrix!==undefined){normalMatrix=new Matrix3().getNormalMatrix(matrix)}for(let i=0,il=vertices2.length;i&lt;il;i++){const vertex=vertices2[i];const vertexCopy=vertex.clone();if(matrix!==undefined)vertexCopy.applyMatrix4(matrix);vertices1.push(vertexCopy)}for(let i=0,il=colors2.length;i&lt;il;i++){colors1.push(colors2[i].clone())}for(let i=0,il=faces2.length;i&lt;il;i++){const face=faces2[i];let normal,color;const faceVertexNormals=face.vertexNormals,faceVertexColors=face.vertexColors;const faceCopy=new Face3(face.a+vertexOffset,face.b+vertexOffset,face.c+vertexOffset);faceCopy.normal.copy(face.normal);if(normalMatrix!==undefined){faceCopy.normal.applyMatrix3(normalMatrix).normalize()}for(let j=0,jl=faceVertexNormals.length;j&lt;jl;j++){normal=faceVertexNormals[j].clone();if(normalMatrix!==undefined){normal.applyMatrix3(normalMatrix).normalize()}faceCopy.vertexNormals.push(normal)}faceCopy.color.copy(face.color);for(let j=0,jl=faceVertexColors.length;j&lt;jl;j++){color=faceVertexColors[j];faceCopy.vertexColors.push(color.clone())}faceCopy.materialIndex=face.materialIndex+materialIndexOffset;faces1.push(faceCopy)}for(let i=0,il=geometry.faceVertexUvs.length;i&lt;il;i++){const faceVertexUvs2=geometry.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined)this.faceVertexUvs[i]=[];for(let j=0,jl=faceVertexUvs2.length;j&lt;jl;j++){const uvs2=faceVertexUvs2[j],uvsCopy=[];for(let k=0,kl=uvs2.length;k&lt;kl;k++){uvsCopy.push(uvs2[k].clone())}this.faceVertexUvs[i].push(uvsCopy)}}}mergeMesh(mesh){if(!(mesh&amp;&amp;mesh.isMesh)){console.error("THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.",mesh);return}if(mesh.matrixAutoUpdate)mesh.updateMatrix();this.merge(mesh.geometry,mesh.matrix)}mergeVertices(precisionPoints=4){const verticesMap={};const unique=[],changes=[];const precision=Math.pow(10,precisionPoints);for(let i=0,il=this.vertices.length;i&lt;il;i++){const v=this.vertices[i];const key=Math.round(v.x*precision)+"_"+Math.round(v.y*precision)+"_"+Math.round(v.z*precision);if(verticesMap[key]===undefined){verticesMap[key]=i;unique.push(this.vertices[i]);changes[i]=unique.length-1}else{changes[i]=changes[verticesMap[key]]}}const faceIndicesToRemove=[];for(let i=0,il=this.faces.length;i&lt;il;i++){const face=this.faces[i];face.a=changes[face.a];face.b=changes[face.b];face.c=changes[face.c];const indices=[face.a,face.b,face.c];for(let n=0;n&lt;3;n++){if(indices[n]===indices[(n+1)%3]){faceIndicesToRemove.push(i);break}}}for(let i=faceIndicesToRemove.length-1;i&gt;=0;i--){const idx=faceIndicesToRemove[i];this.faces.splice(idx,1);for(let j=0,jl=this.faceVertexUvs.length;j&lt;jl;j++){this.faceVertexUvs[j].splice(idx,1)}}const diff=this.vertices.length-unique.length;this.vertices=unique;return diff}setFromPoints(points){this.vertices=[];for(let i=0,l=points.length;i&lt;l;i++){const point=points[i];this.vertices.push(new Vector3(point.x,point.y,point.z||0))}return this}sortFacesByMaterialIndex(){const faces=this.faces;const length=faces.length;for(let i=0;i&lt;length;i++){faces[i]._id=i}function materialIndexSort(a,b){return a.materialIndex-b.materialIndex}faces.sort(materialIndexSort);const uvs1=this.faceVertexUvs[0];const uvs2=this.faceVertexUvs[1];let newUvs1,newUvs2;if(uvs1&amp;&amp;uvs1.length===length)newUvs1=[];if(uvs2&amp;&amp;uvs2.length===length)newUvs2=[];for(let i=0;i&lt;length;i++){const id=faces[i]._id;if(newUvs1)newUvs1.push(uvs1[id]);if(newUvs2)newUvs2.push(uvs2[id])}if(newUvs1)this.faceVertexUvs[0]=newUvs1;if(newUvs2)this.faceVertexUvs[1]=newUvs2}toJSON(){const data={metadata:{version:4.5,type:"Geometry",generator:"Geometry.toJSON"}};data.uuid=this.uuid;data.type=this.type;if(this.name!=="")data.name=this.name;if(this.parameters!==undefined){const parameters=this.parameters;for(const key in parameters){if(parameters[key]!==undefined)data[key]=parameters[key]}return data}const vertices=[];for(let i=0;i&lt;this.vertices.length;i++){const vertex=this.vertices[i];vertices.push(vertex.x,vertex.y,vertex.z)}const faces=[];const normals=[];const normalsHash={};const colors=[];const colorsHash={};const uvs=[];const uvsHash={};for(let i=0;i&lt;this.faces.length;i++){const face=this.faces[i];const hasMaterial=true;const hasFaceUv=false;const hasFaceVertexUv=this.faceVertexUvs[0][i]!==undefined;const hasFaceNormal=face.normal.length()&gt;0;const hasFaceVertexNormal=face.vertexNormals.length&gt;0;const hasFaceColor=face.color.r!==1||face.color.g!==1||face.color.b!==1;const hasFaceVertexColor=face.vertexColors.length&gt;0;let faceType=0;faceType=setBit(faceType,0,0);faceType=setBit(faceType,1,hasMaterial);faceType=setBit(faceType,2,hasFaceUv);faceType=setBit(faceType,3,hasFaceVertexUv);faceType=setBit(faceType,4,hasFaceNormal);faceType=setBit(faceType,5,hasFaceVertexNormal);faceType=setBit(faceType,6,hasFaceColor);faceType=setBit(faceType,7,hasFaceVertexColor);faces.push(faceType);faces.push(face.a,face.b,face.c);faces.push(face.materialIndex);if(hasFaceVertexUv){const faceVertexUvs=this.faceVertexUvs[0][i];faces.push(getUvIndex(faceVertexUvs[0]),getUvIndex(faceVertexUvs[1]),getUvIndex(faceVertexUvs[2]))}if(hasFaceNormal){faces.push(getNormalIndex(face.normal))}if(hasFaceVertexNormal){const vertexNormals=face.vertexNormals;faces.push(getNormalIndex(vertexNormals[0]),getNormalIndex(vertexNormals[1]),getNormalIndex(vertexNormals[2]))}if(hasFaceColor){faces.push(getColorIndex(face.color))}if(hasFaceVertexColor){const vertexColors=face.vertexColors;faces.push(getColorIndex(vertexColors[0]),getColorIndex(vertexColors[1]),getColorIndex(vertexColors[2]))}}function setBit(value,position,enabled){return enabled?value|1&lt;&lt;position:value&amp;~(1&lt;&lt;position)}function getNormalIndex(normal){const hash=normal.x.toString()+normal.y.toString()+normal.z.toString();if(normalsHash[hash]!==undefined){return normalsHash[hash]}normalsHash[hash]=normals.length/3;normals.push(normal.x,normal.y,normal.z);return normalsHash[hash]}function getColorIndex(color){const hash=color.r.toString()+color.g.toString()+color.b.toString();if(colorsHash[hash]!==undefined){return colorsHash[hash]}colorsHash[hash]=colors.length;colors.push(color.getHex());return colorsHash[hash]}function getUvIndex(uv){const hash=uv.x.toString()+uv.y.toString();if(uvsHash[hash]!==undefined){return uvsHash[hash]}uvsHash[hash]=uvs.length/2;uvs.push(uv.x,uv.y);return uvsHash[hash]}data.data={};data.data.vertices=vertices;data.data.normals=normals;if(colors.length&gt;0)data.data.colors=colors;if(uvs.length&gt;0)data.data.uvs=[uvs];data.data.faces=faces;return data}clone(){return new Geometry().copy(this)}copy(source){this.vertices=[];this.colors=[];this.faces=[];this.faceVertexUvs=[[]];this.morphTargets=[];this.morphNormals=[];this.skinWeights=[];this.skinIndices=[];this.lineDistances=[];this.boundingBox=null;this.boundingSphere=null;this.name=source.name;const vertices=source.vertices;for(let i=0,il=vertices.length;i&lt;il;i++){this.vertices.push(vertices[i].clone())}const colors=source.colors;for(let i=0,il=colors.length;i&lt;il;i++){this.colors.push(colors[i].clone())}const faces=source.faces;for(let i=0,il=faces.length;i&lt;il;i++){this.faces.push(faces[i].clone())}for(let i=0,il=source.faceVertexUvs.length;i&lt;il;i++){const faceVertexUvs=source.faceVertexUvs[i];if(this.faceVertexUvs[i]===undefined){this.faceVertexUvs[i]=[]}for(let j=0,jl=faceVertexUvs.length;j&lt;jl;j++){const uvs=faceVertexUvs[j],uvsCopy=[];for(let k=0,kl=uvs.length;k&lt;kl;k++){const uv=uvs[k];uvsCopy.push(uv.clone())}this.faceVertexUvs[i].push(uvsCopy)}}const morphTargets=source.morphTargets;for(let i=0,il=morphTargets.length;i&lt;il;i++){const morphTarget={};morphTarget.name=morphTargets[i].name;if(morphTargets[i].vertices!==undefined){morphTarget.vertices=[];for(let j=0,jl=morphTargets[i].vertices.length;j&lt;jl;j++){morphTarget.vertices.push(morphTargets[i].vertices[j].clone())}}if(morphTargets[i].normals!==undefined){morphTarget.normals=[];for(let j=0,jl=morphTargets[i].normals.length;j&lt;jl;j++){morphTarget.normals.push(morphTargets[i].normals[j].clone())}}this.morphTargets.push(morphTarget)}const morphNormals=source.morphNormals;for(let i=0,il=morphNormals.length;i&lt;il;i++){const morphNormal={};if(morphNormals[i].vertexNormals!==undefined){morphNormal.vertexNormals=[];for(let j=0,jl=morphNormals[i].vertexNormals.length;j&lt;jl;j++){const srcVertexNormal=morphNormals[i].vertexNormals[j];const destVertexNormal={};destVertexNormal.a=srcVertexNormal.a.clone();destVertexNormal.b=srcVertexNormal.b.clone();destVertexNormal.c=srcVertexNormal.c.clone();morphNormal.vertexNormals.push(destVertexNormal)}}if(morphNormals[i].faceNormals!==undefined){morphNormal.faceNormals=[];for(let j=0,jl=morphNormals[i].faceNormals.length;j&lt;jl;j++){morphNormal.faceNormals.push(morphNormals[i].faceNormals[j].clone())}}this.morphNormals.push(morphNormal)}const skinWeights=source.skinWeights;for(let i=0,il=skinWeights.length;i&lt;il;i++){this.skinWeights.push(skinWeights[i].clone())}const skinIndices=source.skinIndices;for(let i=0,il=skinIndices.length;i&lt;il;i++){this.skinIndices.push(skinIndices[i].clone())}const lineDistances=source.lineDistances;for(let i=0,il=lineDistances.length;i&lt;il;i++){this.lineDistances.push(lineDistances[i])}const boundingBox=source.boundingBox;if(boundingBox!==null){this.boundingBox=boundingBox.clone()}const boundingSphere=source.boundingSphere;if(boundingSphere!==null){this.boundingSphere=boundingSphere.clone()}this.elementsNeedUpdate=source.elementsNeedUpdate;this.verticesNeedUpdate=source.verticesNeedUpdate;this.uvsNeedUpdate=source.uvsNeedUpdate;this.normalsNeedUpdate=source.normalsNeedUpdate;this.colorsNeedUpdate=source.colorsNeedUpdate;this.lineDistancesNeedUpdate=source.lineDistancesNeedUpdate;this.groupsNeedUpdate=source.groupsNeedUpdate;return this}toBufferGeometry(){const geometry=new DirectGeometry().fromGeometry(this);const buffergeometry=new BufferGeometry;const positions=new Float32Array(geometry.vertices.length*3);buffergeometry.setAttribute("position",copyVector3sArray(new BufferAttribute(positions,3),geometry.vertices));if(geometry.normals.length&gt;0){const normals=new Float32Array(geometry.normals.length*3);buffergeometry.setAttribute("normal",copyVector3sArray(new BufferAttribute(normals,3),geometry.normals))}if(geometry.colors.length&gt;0){const colors=new Float32Array(geometry.colors.length*3);buffergeometry.setAttribute("color",copyColorsArray(new BufferAttribute(colors,3),geometry.colors))}if(geometry.uvs.length&gt;0){const uvs=new Float32Array(geometry.uvs.length*2);buffergeometry.setAttribute("uv",copyVector2sArray(new BufferAttribute(uvs,2),geometry.uvs))}if(geometry.uvs2.length&gt;0){const uvs2=new Float32Array(geometry.uvs2.length*2);buffergeometry.setAttribute("uv2",copyVector2sArray(new BufferAttribute(uvs2,2),geometry.uvs2))}buffergeometry.groups=geometry.groups;for(const name in geometry.morphTargets){const array=[];const morphTargets=geometry.morphTargets[name];for(let i=0,l=morphTargets.length;i&lt;l;i++){const morphTarget=morphTargets[i];const attribute=new Float32BufferAttribute(morphTarget.data.length*3,3);attribute.name=morphTarget.name;array.push(copyVector3sArray(attribute,morphTarget.data))}buffergeometry.morphAttributes[name]=array}if(geometry.skinIndices.length&gt;0){const skinIndices=new Float32BufferAttribute(geometry.skinIndices.length*4,4);buffergeometry.setAttribute("skinIndex",copyVector4sArray(skinIndices,geometry.skinIndices))}if(geometry.skinWeights.length&gt;0){const skinWeights=new Float32BufferAttribute(geometry.skinWeights.length*4,4);buffergeometry.setAttribute("skinWeight",copyVector4sArray(skinWeights,geometry.skinWeights))}if(geometry.boundingSphere!==null){buffergeometry.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){buffergeometry.boundingBox=geometry.boundingBox.clone()}return buffergeometry}computeTangents(){console.error("THREE.Geometry: .computeTangents() has been removed.")}computeLineDistances(){console.error("THREE.Geometry: .computeLineDistances() has been removed. Use THREE.Line.computeLineDistances() instead.")}applyMatrix(matrix){console.warn("THREE.Geometry: .applyMatrix() has been renamed to .applyMatrix4().");return this.applyMatrix4(matrix)}dispose(){this.dispatchEvent({type:"dispose"})}static createBufferGeometryFromObject(object){let buffergeometry=new BufferGeometry;const geometry=object.geometry;if(object.isPoints||object.isLine){const positions=new Float32BufferAttribute(geometry.vertices.length*3,3);const colors=new Float32BufferAttribute(geometry.colors.length*3,3);buffergeometry.setAttribute("position",copyVector3sArray(positions,geometry.vertices));buffergeometry.setAttribute("color",copyColorsArray(colors,geometry.colors));if(geometry.lineDistances&amp;&amp;geometry.lineDistances.length===geometry.vertices.length){const lineDistances=new Float32BufferAttribute(geometry.lineDistances.length,1);buffergeometry.setAttribute("lineDistance",lineDistances.copyArray(geometry.lineDistances))}if(geometry.boundingSphere!==null){buffergeometry.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){buffergeometry.boundingBox=geometry.boundingBox.clone()}}else if(object.isMesh){buffergeometry=geometry.toBufferGeometry()}return buffergeometry}}Geometry.prototype.isGeometry=true;class DirectGeometry{constructor(){this.vertices=[];this.normals=[];this.colors=[];this.uvs=[];this.uvs2=[];this.groups=[];this.morphTargets={};this.skinWeights=[];this.skinIndices=[];this.boundingBox=null;this.boundingSphere=null;this.verticesNeedUpdate=false;this.normalsNeedUpdate=false;this.colorsNeedUpdate=false;this.uvsNeedUpdate=false;this.groupsNeedUpdate=false}computeGroups(geometry){const groups=[];let group,i;let materialIndex=undefined;const faces=geometry.faces;for(i=0;i&lt;faces.length;i++){const face=faces[i];if(face.materialIndex!==materialIndex){materialIndex=face.materialIndex;if(group!==undefined){group.count=i*3-group.start;groups.push(group)}group={start:i*3,materialIndex:materialIndex}}}if(group!==undefined){group.count=i*3-group.start;groups.push(group)}this.groups=groups}fromGeometry(geometry){const faces=geometry.faces;const vertices=geometry.vertices;const faceVertexUvs=geometry.faceVertexUvs;const hasFaceVertexUv=faceVertexUvs[0]&amp;&amp;faceVertexUvs[0].length&gt;0;const hasFaceVertexUv2=faceVertexUvs[1]&amp;&amp;faceVertexUvs[1].length&gt;0;const morphTargets=geometry.morphTargets;const morphTargetsLength=morphTargets.length;let morphTargetsPosition;if(morphTargetsLength&gt;0){morphTargetsPosition=[];for(let i=0;i&lt;morphTargetsLength;i++){morphTargetsPosition[i]={name:morphTargets[i].name,data:[]}}this.morphTargets.position=morphTargetsPosition}const morphNormals=geometry.morphNormals;const morphNormalsLength=morphNormals.length;let morphTargetsNormal;if(morphNormalsLength&gt;0){morphTargetsNormal=[];for(let i=0;i&lt;morphNormalsLength;i++){morphTargetsNormal[i]={name:morphNormals[i].name,data:[]}}this.morphTargets.normal=morphTargetsNormal}const skinIndices=geometry.skinIndices;const skinWeights=geometry.skinWeights;const hasSkinIndices=skinIndices.length===vertices.length;const hasSkinWeights=skinWeights.length===vertices.length;if(vertices.length&gt;0&amp;&amp;faces.length===0){console.error("THREE.DirectGeometry: Faceless geometries are not supported.")}for(let i=0;i&lt;faces.length;i++){const face=faces[i];this.vertices.push(vertices[face.a],vertices[face.b],vertices[face.c]);const vertexNormals=face.vertexNormals;if(vertexNormals.length===3){this.normals.push(vertexNormals[0],vertexNormals[1],vertexNormals[2])}else{const normal=face.normal;this.normals.push(normal,normal,normal)}const vertexColors=face.vertexColors;if(vertexColors.length===3){this.colors.push(vertexColors[0],vertexColors[1],vertexColors[2])}else{const color=face.color;this.colors.push(color,color,color)}if(hasFaceVertexUv===true){const vertexUvs=faceVertexUvs[0][i];if(vertexUvs!==undefined){this.uvs.push(vertexUvs[0],vertexUvs[1],vertexUvs[2])}else{console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv ",i);this.uvs.push(new Vector2,new Vector2,new Vector2)}}if(hasFaceVertexUv2===true){const vertexUvs=faceVertexUvs[1][i];if(vertexUvs!==undefined){this.uvs2.push(vertexUvs[0],vertexUvs[1],vertexUvs[2])}else{console.warn("THREE.DirectGeometry.fromGeometry(): Undefined vertexUv2 ",i);this.uvs2.push(new Vector2,new Vector2,new Vector2)}}for(let j=0;j&lt;morphTargetsLength;j++){const morphTarget=morphTargets[j].vertices;morphTargetsPosition[j].data.push(morphTarget[face.a],morphTarget[face.b],morphTarget[face.c])}for(let j=0;j&lt;morphNormalsLength;j++){const morphNormal=morphNormals[j].vertexNormals[i];morphTargetsNormal[j].data.push(morphNormal.a,morphNormal.b,morphNormal.c)}if(hasSkinIndices){this.skinIndices.push(skinIndices[face.a],skinIndices[face.b],skinIndices[face.c])}if(hasSkinWeights){this.skinWeights.push(skinWeights[face.a],skinWeights[face.b],skinWeights[face.c])}}this.computeGroups(geometry);this.verticesNeedUpdate=geometry.verticesNeedUpdate;this.normalsNeedUpdate=geometry.normalsNeedUpdate;this.colorsNeedUpdate=geometry.colorsNeedUpdate;this.uvsNeedUpdate=geometry.uvsNeedUpdate;this.groupsNeedUpdate=geometry.groupsNeedUpdate;if(geometry.boundingSphere!==null){this.boundingSphere=geometry.boundingSphere.clone()}if(geometry.boundingBox!==null){this.boundingBox=geometry.boundingBox.clone()}return this}}function copyColorsArray(bufferAttribute,colors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=colors.length;i&lt;l;i++){let color=colors[i];if(color===undefined){console.warn("THREE.BufferAttribute.copyColorsArray(): color is undefined",i);color=new Color}if(bufferAttribute.normalized){array[offset++]=normalize(color.r,array);array[offset++]=normalize(color.g,array);array[offset++]=normalize(color.b,array)}else{array[offset++]=color.r;array[offset++]=color.g;array[offset++]=color.b}}return bufferAttribute}function copyVector2sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i&lt;l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector2sArray(): vector is undefined",i);vector=new Vector2}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array)}else{array[offset++]=vector.x;array[offset++]=vector.y}}return bufferAttribute}function copyVector3sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i&lt;l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector3sArray(): vector is undefined",i);vector=new Vector3}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array);array[offset++]=normalize(vector.z,array)}else{array[offset++]=vector.x;array[offset++]=vector.y;array[offset++]=vector.z}}return bufferAttribute}function copyVector4sArray(bufferAttribute,vectors){const array=bufferAttribute.array;let offset=0;for(let i=0,l=vectors.length;i&lt;l;i++){let vector=vectors[i];if(vector===undefined){console.warn("THREE.BufferAttribute.copyVector4sArray(): vector is undefined",i);vector=new Vector4}if(bufferAttribute.normalized){array[offset++]=normalize(vector.x,array);array[offset++]=normalize(vector.y,array);array[offset++]=normalize(vector.z,array);array[offset++]=normalize(vector.w,array)}else{array[offset++]=vector.x;array[offset++]=vector.y;array[offset++]=vector.z;array[offset++]=vector.w}}return this}THREE.Geometry=Geometry});(function(){var BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Float32BufferAttribute=THREE.Float32BufferAttribute,InstancedBufferAttribute=THREE.InstancedBufferAttribute,InterleavedBuffer=THREE.InterleavedBuffer,InterleavedBufferAttribute=THREE.InterleavedBufferAttribute,TriangleFanDrawMode=THREE.TriangleFanDrawMode,TriangleStripDrawMode=THREE.TriangleStripDrawMode,TrianglesDrawMode=THREE.TrianglesDrawMode,Vector3=THREE.Vector3;function computeMikkTSpaceTangents(geometry,MikkTSpace,negateSign=true){if(!MikkTSpace||!MikkTSpace.isReady){throw new Error("BufferGeometryUtils: Initialized MikkTSpace library required.")}if(!geometry.hasAttribute("position")||!geometry.hasAttribute("normal")||!geometry.hasAttribute("uv")){throw new Error("BufferGeometryUtils: Tangents require \"position\", \"normal\", and \"uv\" attributes.")}function getAttributeArray(attribute){if(attribute.normalized||attribute.isInterleavedBufferAttribute){const dstArray=new Float32Array(attribute.getCount()*attribute.itemSize);for(let i=0,j=0;i&lt;attribute.getCount();i++){dstArray[j++]=attribute.getX(i);dstArray[j++]=attribute.getY(i);if(attribute.itemSize&gt;2){dstArray[j++]=attribute.getZ(i)}}return dstArray}if(attribute.array instanceof Float32Array){return attribute.array}return new Float32Array(attribute.array)}const _geometry=geometry.index?geometry.toNonIndexed():geometry;const tangents=MikkTSpace.generateTangents(getAttributeArray(_geometry.attributes.position),getAttributeArray(_geometry.attributes.normal),getAttributeArray(_geometry.attributes.uv));if(negateSign){for(let i=3;i&lt;tangents.length;i+=4){tangents[i]*=-1}}_geometry.setAttribute("tangent",new BufferAttribute(tangents,4));if(geometry!==_geometry){geometry.copy(_geometry)}return geometry}function mergeGeometries(geometries,useGroups=false){const isIndexed=geometries[0].index!==null;const attributesUsed=new Set(Object.keys(geometries[0].attributes));const morphAttributesUsed=new Set(Object.keys(geometries[0].morphAttributes));const attributes={};const morphAttributes={};const morphTargetsRelative=geometries[0].morphTargetsRelative;const mergedGeometry=new BufferGeometry;let offset=0;for(let i=0;i&lt;geometries.length;++i){const geometry=geometries[i];let attributesCount=0;if(isIndexed!==(geometry.index!==null)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.");return null}for(const name in geometry.attributes){if(!attributesUsed.has(name)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". All geometries must have compatible attributes; make sure \""+name+"\" attribute exists among all geometries, or in none of them.");return null}if(attributes[name]===undefined)attributes[name]=[];attributes[name].push(geometry.attributes[name]);attributesCount++}if(attributesCount!==attributesUsed.size){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". Make sure all geometries have the same number of attributes.");return null}if(morphTargetsRelative!==geometry.morphTargetsRelative){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". .morphTargetsRelative must be consistent throughout all geometries.");return null}for(const name in geometry.morphAttributes){if(!morphAttributesUsed.has(name)){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+".  .morphAttributes must be consistent throughout all geometries.");return null}if(morphAttributes[name]===undefined)morphAttributes[name]=[];morphAttributes[name].push(geometry.morphAttributes[name])}if(useGroups){let count;if(isIndexed){count=geometry.index.count}else if(geometry.attributes.position!==undefined){count=geometry.attributes.position.count}else{console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed with geometry at index "+i+". The geometry must have either an index or a position attribute");return null}mergedGeometry.addGroup(offset,count,i);offset+=count}}if(isIndexed){let indexOffset=0;const mergedIndex=[];for(let i=0;i&lt;geometries.length;++i){const index=geometries[i].index;for(let j=0;j&lt;index.count;++j){mergedIndex.push(index.getX(j)+indexOffset)}indexOffset+=geometries[i].attributes.position.count}mergedGeometry.setIndex(mergedIndex)}for(const name in attributes){const mergedAttribute=mergeAttributes(attributes[name]);if(!mergedAttribute){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+name+" attribute.");return null}mergedGeometry.setAttribute(name,mergedAttribute)}for(const name in morphAttributes){const numMorphTargets=morphAttributes[name][0].length;if(numMorphTargets===0)break;mergedGeometry.morphAttributes=mergedGeometry.morphAttributes||{};mergedGeometry.morphAttributes[name]=[];for(let i=0;i&lt;numMorphTargets;++i){const morphAttributesToMerge=[];for(let j=0;j&lt;morphAttributes[name].length;++j){morphAttributesToMerge.push(morphAttributes[name][j][i])}const mergedMorphAttribute=mergeAttributes(morphAttributesToMerge);if(!mergedMorphAttribute){console.error("THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the "+name+" morphAttribute.");return null}mergedGeometry.morphAttributes[name].push(mergedMorphAttribute)}}return mergedGeometry}function mergeAttributes(attributes){let TypedArray;let itemSize;let normalized;let arrayLength=0;for(let i=0;i&lt;attributes.length;++i){const attribute=attributes[i];if(attribute.isInterleavedBufferAttribute){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. InterleavedBufferAttributes are not supported.");return null}if(TypedArray===undefined)TypedArray=attribute.array.constructor;if(TypedArray!==attribute.array.constructor){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.array must be of consistent array types across matching attributes.");return null}if(itemSize===undefined)itemSize=attribute.itemSize;if(itemSize!==attribute.itemSize){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.itemSize must be consistent across matching attributes.");return null}if(normalized===undefined)normalized=attribute.normalized;if(normalized!==attribute.normalized){console.error("THREE.BufferGeometryUtils: .mergeAttributes() failed. BufferAttribute.normalized must be consistent across matching attributes.");return null}arrayLength+=attribute.array.length}const array=new TypedArray(arrayLength);let offset=0;for(let i=0;i&lt;attributes.length;++i){array.set(attributes[i].array,offset);offset+=attributes[i].array.length}return new BufferAttribute(array,itemSize,normalized)}function deepCloneAttribute(attribute){if(attribute.isInstancedInterleavedBufferAttribute||attribute.isInterleavedBufferAttribute){return deinterleaveAttribute(attribute)}if(attribute.isInstancedBufferAttribute){return new InstancedBufferAttribute().copy(attribute)}return new BufferAttribute().copy(attribute)}function interleaveAttributes(attributes){let TypedArray;let arrayLength=0;let stride=0;for(let i=0,l=attributes.length;i&lt;l;++i){const attribute=attributes[i];if(TypedArray===undefined)TypedArray=attribute.array.constructor;if(TypedArray!==attribute.array.constructor){console.error("AttributeBuffers of different types cannot be interleaved");return null}arrayLength+=attribute.array.length;stride+=attribute.itemSize}const interleavedBuffer=new InterleavedBuffer(new TypedArray(arrayLength),stride);let offset=0;const res=[];const getters=["getX","getY","getZ","getW"];const setters=["setX","setY","setZ","setW"];for(let j=0,l=attributes.length;j&lt;l;j++){const attribute=attributes[j];const itemSize=attribute.itemSize;const count=attribute.count;const iba=new InterleavedBufferAttribute(interleavedBuffer,itemSize,offset,attribute.normalized);res.push(iba);offset+=itemSize;for(let c=0;c&lt;count;c++){for(let k=0;k&lt;itemSize;k++){iba[setters[k]](c,attribute[getters[k]](c))}}}return res}function deinterleaveAttribute(attribute){const cons=attribute.data.array.constructor;const count=attribute.count;const itemSize=attribute.itemSize;const normalized=attribute.normalized;const array=new cons(count*itemSize);let newAttribute;if(attribute.isInstancedInterleavedBufferAttribute){newAttribute=new InstancedBufferAttribute(array,itemSize,normalized,attribute.meshPerAttribute)}else{newAttribute=new BufferAttribute(array,itemSize,normalized)}for(let i=0;i&lt;count;i++){newAttribute.setX(i,attribute.getX(i));if(itemSize&gt;=2){newAttribute.setY(i,attribute.getY(i))}if(itemSize&gt;=3){newAttribute.setZ(i,attribute.getZ(i))}if(itemSize&gt;=4){newAttribute.setW(i,attribute.getW(i))}}return newAttribute}function deinterleaveGeometry(geometry){const attributes=geometry.attributes;const morphTargets=geometry.morphTargets;const attrMap=new Map;for(const key in attributes){const attr=attributes[key];if(attr.isInterleavedBufferAttribute){if(!attrMap.has(attr)){attrMap.set(attr,deinterleaveAttribute(attr))}attributes[key]=attrMap.get(attr)}}for(const key in morphTargets){const attr=morphTargets[key];if(attr.isInterleavedBufferAttribute){if(!attrMap.has(attr)){attrMap.set(attr,deinterleaveAttribute(attr))}morphTargets[key]=attrMap.get(attr)}}}function estimateBytesUsed(geometry){let mem=0;for(const name in geometry.attributes){const attr=geometry.getAttribute(name);mem+=attr.count*attr.itemSize*attr.array.BYTES_PER_ELEMENT}const indices=geometry.getIndex();mem+=indices?indices.count*indices.itemSize*indices.array.BYTES_PER_ELEMENT:0;return mem}function mergeVertices(geometry,tolerance=1e-4){tolerance=Math.max(tolerance,Number.EPSILON);const hashToIndex={};const indices=geometry.getIndex();const positions=geometry.getAttribute("position");const vertexCount=indices?indices.count:positions.count;let nextIndex=0;const attributeNames=Object.keys(geometry.attributes);const tmpAttributes={};const tmpMorphAttributes={};const newIndices=[];const getters=["getX","getY","getZ","getW"];const setters=["setX","setY","setZ","setW"];for(let i=0,l=attributeNames.length;i&lt;l;i++){const name=attributeNames[i];const attr=geometry.attributes[name];tmpAttributes[name]=new BufferAttribute(new attr.array.constructor(attr.count*attr.itemSize),attr.itemSize,attr.normalized);const morphAttr=geometry.morphAttributes[name];if(morphAttr){tmpMorphAttributes[name]=new BufferAttribute(new morphAttr.array.constructor(morphAttr.count*morphAttr.itemSize),morphAttr.itemSize,morphAttr.normalized)}}const decimalShift=Math.log10(1/tolerance);const shiftMultiplier=Math.pow(10,decimalShift);for(let i=0;i&lt;vertexCount;i++){const index=indices?indices.getX(i):i;let hash="";for(let j=0,l=attributeNames.length;j&lt;l;j++){const name=attributeNames[j];const attribute=geometry.getAttribute(name);const itemSize=attribute.itemSize;for(let k=0;k&lt;itemSize;k++){hash+=`${~~(attribute[getters[k]](index)*shiftMultiplier)},`}}if(hash in hashToIndex){newIndices.push(hashToIndex[hash])}else{for(let j=0,l=attributeNames.length;j&lt;l;j++){const name=attributeNames[j];const attribute=geometry.getAttribute(name);const morphAttr=geometry.morphAttributes[name];const itemSize=attribute.itemSize;const newarray=tmpAttributes[name];const newMorphArrays=tmpMorphAttributes[name];for(let k=0;k&lt;itemSize;k++){const getterFunc=getters[k];const setterFunc=setters[k];newarray[setterFunc](nextIndex,attribute[getterFunc](index));if(morphAttr){for(let m=0,ml=morphAttr.length;m&lt;ml;m++){newMorphArrays[m][setterFunc](nextIndex,morphAttr[m][getterFunc](index))}}}}hashToIndex[hash]=nextIndex;newIndices.push(nextIndex);nextIndex++}}const result=geometry.clone();for(const name in geometry.attributes){const tmpAttribute=tmpAttributes[name];result.setAttribute(name,new BufferAttribute(tmpAttribute.array.slice(0,nextIndex*tmpAttribute.itemSize),tmpAttribute.itemSize,tmpAttribute.normalized));if(!(name in tmpMorphAttributes))continue;for(let j=0;j&lt;tmpMorphAttributes[name].length;j++){const tmpMorphAttribute=tmpMorphAttributes[name][j];result.morphAttributes[name][j]=new BufferAttribute(tmpMorphAttribute.array.slice(0,nextIndex*tmpMorphAttribute.itemSize),tmpMorphAttribute.itemSize,tmpMorphAttribute.normalized)}}result.setIndex(newIndices);return result}function toTrianglesDrawMode(geometry,drawMode){if(drawMode===TrianglesDrawMode){console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles.");return geometry}if(drawMode===TriangleFanDrawMode||drawMode===TriangleStripDrawMode){let index=geometry.getIndex();if(index===null){const indices=[];const position=geometry.getAttribute("position");if(position!==undefined){for(let i=0;i&lt;position.count;i++){indices.push(i)}geometry.setIndex(indices);index=geometry.getIndex()}else{console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible.");return geometry}}const numberOfTriangles=index.count-2;const newIndices=[];if(drawMode===TriangleFanDrawMode){for(let i=1;i&lt;=numberOfTriangles;i++){newIndices.push(index.getX(0));newIndices.push(index.getX(i));newIndices.push(index.getX(i+1))}}else{for(let i=0;i&lt;numberOfTriangles;i++){if(i%2===0){newIndices.push(index.getX(i));newIndices.push(index.getX(i+1));newIndices.push(index.getX(i+2))}else{newIndices.push(index.getX(i+2));newIndices.push(index.getX(i+1));newIndices.push(index.getX(i))}}}if(newIndices.length/3!==numberOfTriangles){console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.")}const newGeometry=geometry.clone();newGeometry.setIndex(newIndices);newGeometry.clearGroups();return newGeometry}else{console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",drawMode);return geometry}}function computeMorphedAttributes(object){const _vA=new Vector3;const _vB=new Vector3;const _vC=new Vector3;const _tempA=new Vector3;const _tempB=new Vector3;const _tempC=new Vector3;const _morphA=new Vector3;const _morphB=new Vector3;const _morphC=new Vector3;function _calculateMorphedAttributeData(object,attribute,morphAttribute,morphTargetsRelative,a,b,c,modifiedAttributeArray){_vA.fromBufferAttribute(attribute,a);_vB.fromBufferAttribute(attribute,b);_vC.fromBufferAttribute(attribute,c);const morphInfluences=object.morphTargetInfluences;if(morphAttribute&amp;&amp;morphInfluences){_morphA.set(0,0,0);_morphB.set(0,0,0);_morphC.set(0,0,0);for(let i=0,il=morphAttribute.length;i&lt;il;i++){const influence=morphInfluences[i];const morph=morphAttribute[i];if(influence===0)continue;_tempA.fromBufferAttribute(morph,a);_tempB.fromBufferAttribute(morph,b);_tempC.fromBufferAttribute(morph,c);if(morphTargetsRelative){_morphA.addScaledVector(_tempA,influence);_morphB.addScaledVector(_tempB,influence);_morphC.addScaledVector(_tempC,influence)}else{_morphA.addScaledVector(_tempA.sub(_vA),influence);_morphB.addScaledVector(_tempB.sub(_vB),influence);_morphC.addScaledVector(_tempC.sub(_vC),influence)}}_vA.add(_morphA);_vB.add(_morphB);_vC.add(_morphC)}if(object.isSkinnedMesh){object.applyBoneTransform(a,_vA);object.applyBoneTransform(b,_vB);object.applyBoneTransform(c,_vC)}modifiedAttributeArray[a*3+0]=_vA.x;modifiedAttributeArray[a*3+1]=_vA.y;modifiedAttributeArray[a*3+2]=_vA.z;modifiedAttributeArray[b*3+0]=_vB.x;modifiedAttributeArray[b*3+1]=_vB.y;modifiedAttributeArray[b*3+2]=_vB.z;modifiedAttributeArray[c*3+0]=_vC.x;modifiedAttributeArray[c*3+1]=_vC.y;modifiedAttributeArray[c*3+2]=_vC.z}const geometry=object.geometry;const material=object.material;let a,b,c;const index=geometry.index;const positionAttribute=geometry.attributes.position;const morphPosition=geometry.morphAttributes.position;const morphTargetsRelative=geometry.morphTargetsRelative;const normalAttribute=geometry.attributes.normal;const morphNormal=geometry.morphAttributes.position;const groups=geometry.groups;const drawRange=geometry.drawRange;let i,j,il,jl;let group;let start,end;const modifiedPosition=new Float32Array(positionAttribute.count*positionAttribute.itemSize);const modifiedNormal=new Float32Array(normalAttribute.count*normalAttribute.itemSize);if(index!==null){if(Array.isArray(material)){for(i=0,il=groups.length;i&lt;il;i++){group=groups[i];start=Math.max(group.start,drawRange.start);end=Math.min(group.start+group.count,drawRange.start+drawRange.count);for(j=start,jl=end;j&lt;jl;j+=3){a=index.getX(j);b=index.getX(j+1);c=index.getX(j+2);_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{start=Math.max(0,drawRange.start);end=Math.min(index.count,drawRange.start+drawRange.count);for(i=start,il=end;i&lt;il;i+=3){a=index.getX(i);b=index.getX(i+1);c=index.getX(i+2);_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{if(Array.isArray(material)){for(i=0,il=groups.length;i&lt;il;i++){group=groups[i];start=Math.max(group.start,drawRange.start);end=Math.min(group.start+group.count,drawRange.start+drawRange.count);for(j=start,jl=end;j&lt;jl;j+=3){a=j;b=j+1;c=j+2;_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}else{start=Math.max(0,drawRange.start);end=Math.min(positionAttribute.count,drawRange.start+drawRange.count);for(i=start,il=end;i&lt;il;i+=3){a=i;b=i+1;c=i+2;_calculateMorphedAttributeData(object,positionAttribute,morphPosition,morphTargetsRelative,a,b,c,modifiedPosition);_calculateMorphedAttributeData(object,normalAttribute,morphNormal,morphTargetsRelative,a,b,c,modifiedNormal)}}}const morphedPositionAttribute=new Float32BufferAttribute(modifiedPosition,3);const morphedNormalAttribute=new Float32BufferAttribute(modifiedNormal,3);return{positionAttribute:positionAttribute,normalAttribute:normalAttribute,morphedPositionAttribute:morphedPositionAttribute,morphedNormalAttribute:morphedNormalAttribute}}function mergeGroups(geometry){if(geometry.groups.length===0){console.warn("THREE.BufferGeometryUtils.mergeGroups(): No groups are defined. Nothing to merge.");return geometry}let groups=geometry.groups;groups=groups.sort((a,b)=&gt;{if(a.materialIndex!==b.materialIndex)return a.materialIndex-b.materialIndex;return a.start-b.start});if(geometry.getIndex()===null){const positionAttribute=geometry.getAttribute("position");const indices=[];for(let i=0;i&lt;positionAttribute.count;i+=3){indices.push(i,i+1,i+2)}geometry.setIndex(indices)}const index=geometry.getIndex();const newIndices=[];for(let i=0;i&lt;groups.length;i++){const group=groups[i];const groupStart=group.start;const groupLength=groupStart+group.count;for(let j=groupStart;j&lt;groupLength;j++){newIndices.push(index.getX(j))}}geometry.dispose();geometry.setIndex(newIndices);let start=0;for(let i=0;i&lt;groups.length;i++){const group=groups[i];group.start=start;start+=group.count}let currentGroup=groups[0];geometry.groups=[currentGroup];for(let i=1;i&lt;groups.length;i++){const group=groups[i];if(currentGroup.materialIndex===group.materialIndex){currentGroup.count+=group.count}else{currentGroup=group;geometry.groups.push(currentGroup)}}return geometry}function toCreasedNormals(geometry,creaseAngle=Math.PI/3){const creaseDot=Math.cos(creaseAngle);const hashMultiplier=(1+1e-10)*100;const verts=[new Vector3,new Vector3,new Vector3];const tempVec1=new Vector3;const tempVec2=new Vector3;const tempNorm=new Vector3;const tempNorm2=new Vector3;function hashVertex(v){const x=~~(v.x*hashMultiplier);const y=~~(v.y*hashMultiplier);const z=~~(v.z*hashMultiplier);return`${x},${y},${z}`}const resultGeometry=geometry.toNonIndexed();const posAttr=resultGeometry.attributes.position;const vertexMap={};for(let i=0,l=posAttr.count/3;i&lt;l;i++){const i3=3*i;const a=verts[0].fromBufferAttribute(posAttr,i3+0);const b=verts[1].fromBufferAttribute(posAttr,i3+1);const c=verts[2].fromBufferAttribute(posAttr,i3+2);tempVec1.subVectors(c,b);tempVec2.subVectors(a,b);const normal=new Vector3().crossVectors(tempVec1,tempVec2).normalize();for(let n=0;n&lt;3;n++){const vert=verts[n];const hash=hashVertex(vert);if(!(hash in vertexMap)){vertexMap[hash]=[]}vertexMap[hash].push(normal)}}const normalArray=new Float32Array(posAttr.count*3);const normAttr=new BufferAttribute(normalArray,3,false);for(let i=0,l=posAttr.count/3;i&lt;l;i++){const i3=3*i;const a=verts[0].fromBufferAttribute(posAttr,i3+0);const b=verts[1].fromBufferAttribute(posAttr,i3+1);const c=verts[2].fromBufferAttribute(posAttr,i3+2);tempVec1.subVectors(c,b);tempVec2.subVectors(a,b);tempNorm.crossVectors(tempVec1,tempVec2).normalize();for(let n=0;n&lt;3;n++){const vert=verts[n];const hash=hashVertex(vert);const otherNormals=vertexMap[hash];tempNorm2.set(0,0,0);for(let k=0,lk=otherNormals.length;k&lt;lk;k++){const otherNorm=otherNormals[k];if(tempNorm.dot(otherNorm)&gt;creaseDot){tempNorm2.add(otherNorm)}}tempNorm2.normalize();normAttr.setXYZ(i3+n,tempNorm2.x,tempNorm2.y,tempNorm2.z)}}resultGeometry.setAttribute("normal",normAttr);return resultGeometry}function mergeBufferGeometries(geometries,useGroups=false){console.warn("THREE.BufferGeometryUtils: mergeBufferGeometries() has been renamed to mergeGeometries().");return mergeGeometries(geometries,useGroups)}function mergeBufferAttributes(attributes){console.warn("THREE.BufferGeometryUtils: mergeBufferAttributes() has been renamed to mergeAttributes().");return mergeAttributes(attributes)}var BufferGeometryUtils={computeMikkTSpaceTangents,deepCloneAttribute,deinterleaveAttribute,deinterleaveGeometry,mergeGeometries,mergeBufferGeometries,mergeAttributes,mergeBufferAttributes,interleaveAttributes,estimateBytesUsed,mergeVertices,toTrianglesDrawMode,computeMorphedAttributes,mergeGroups,toCreasedNormals};THREE.BufferGeometryUtils=BufferGeometryUtils})();(function(){class WorkerPool{constructor(pool=4){this.pool=pool;this.queue=[];this.workers=[];this.workersResolve=[];this.workerStatus=0}_initWorker(workerId){if(!this.workers[workerId]){const worker=this.workerCreator();worker.addEventListener("message",this._onMessage.bind(this,workerId));this.workers[workerId]=worker}}_getIdleWorker(){for(let i=0;i&lt;this.pool;i++)if(!(this.workerStatus&amp;1&lt;&lt;i))return i;return-1}_onMessage(workerId,msg){const resolve=this.workersResolve[workerId];resolve&amp;&amp;resolve(msg);if(this.queue.length){const{resolve,msg,transfer}=this.queue.shift();this.workersResolve[workerId]=resolve;this.workers[workerId].postMessage(msg,transfer)}else{this.workerStatus^=1&lt;&lt;workerId}}setWorkerCreator(workerCreator){this.workerCreator=workerCreator}setWorkerLimit(pool){this.pool=pool}postMessage(msg,transfer){return new Promise(resolve=&gt;{const workerId=this._getIdleWorker();if(workerId!==-1){this._initWorker(workerId);this.workerStatus|=1&lt;&lt;workerId;this.workersResolve[workerId]=resolve;this.workers[workerId].postMessage(msg,transfer)}else{this.queue.push({resolve,msg,transfer})}})}dispose(){this.workers.forEach(worker=&gt;worker.terminate());this.workersResolve.length=0;this.workers.length=0;this.queue.length=0;this.workerStatus=0}}THREE.WorkerPool=WorkerPool})();(function(){const t=0,e=1,n=2,i=3,s=0,a=0,r=2,o=0,l=1,f=160,U=161,c=162,h=163,_=0,p=1,g=0,y=1,x=2,u=3,b=4,d=5,m=6,w=7,D=8,B=9,L=10,A=11,k=12,v=13,S=14,I=15,O=16,T=17,V=18,E=0,F=1,P=2,C=3,z=4,M=5,W=6,N=7,H=8,K=9,X=10,j=11,R=0,Y=1,q=2,G=13,J=14,Q=15,Z=128,$=64,tt=32,et=16,nt=0,it=1,st=2,at=3,rt=4,ot=5,lt=6,ft=7,Ut=8,ct=9,ht=10,_t=13,pt=14,gt=15,yt=16,xt=17,ut=20,bt=21,dt=22,mt=23,wt=24,Dt=27,Bt=28,Lt=29,At=30,kt=31,vt=34,St=35,It=36,Ot=37,Tt=38,Vt=41,Et=42,Ft=43,Pt=44,Ct=45,zt=48,Mt=49,Wt=50,Nt=58,Ht=59,Kt=62,Xt=63,jt=64,Rt=65,Yt=68,qt=69,Gt=70,Jt=71,Qt=74,Zt=75,$t=76,te=77,ee=78,ne=81,ie=82,se=83,ae=84,re=85,oe=88,le=89,fe=90,Ue=91,ce=92,he=95,_e=96,pe=97,ge=98,ye=99,xe=100,ue=101,be=102,de=103,me=104,we=105,De=106,Be=107,Le=108,Ae=109,ke=110,ve=111,Se=112,Ie=113,Oe=114,Te=115,Ve=116,Ee=117,Fe=118,Pe=119,Ce=120,ze=121,Me=122,We=123,Ne=124,He=125,Ke=126,Xe=127,je=128,Re=129,Ye=130,qe=131,Ge=132,Je=133,Qe=134,Ze=135,$e=136,tn=137,en=138,nn=139,sn=140,an=141,rn=142,on=143,ln=144,fn=145,Un=146,cn=147,hn=148,_n=149,pn=150,gn=151,yn=152,xn=153,un=154,bn=155,dn=156,mn=157,wn=158,Dn=159,Bn=160,Ln=161,An=162,kn=163,vn=164,Sn=165,In=166,On=167,Tn=168,Vn=169,En=170,Fn=171,Pn=172,Cn=173,zn=174,Mn=175,Wn=176,Nn=177,Hn=178,Kn=179,Xn=180,jn=181,Rn=182,Yn=183,qn=184,Gn=1000156007,Jn=1000156008,Qn=1000156009,Zn=1000156010,$n=1000156011,ti=1000156017,ei=1000156018,ni=1000156019,ii=1000156020,si=1000156021,ai=1000054e3,ri=1000054001,oi=1000054002,li=1000054003,fi=1000054004,Ui=1000054005,ci=1000054006,hi=1000054007,_i=1000066e3,pi=1000066001,gi=1000066002,yi=1000066003,xi=1000066004,ui=1000066005,bi=1000066006,di=1000066007,mi=1000066008,wi=1000066009,Di=1000066010,Bi=1000066011,Li=1000066012,Ai=1000066013,ki=100034e4,vi=1000340001;class Si{constructor(){this.vkFormat=0,this.typeSize=1,this.pixelWidth=0,this.pixelHeight=0,this.pixelDepth=0,this.layerCount=0,this.faceCount=1,this.supercompressionScheme=0,this.levels=[],this.dataFormatDescriptor=[{vendorId:0,descriptorType:0,descriptorBlockSize:0,versionNumber:2,colorModel:0,colorPrimaries:1,transferFunction:2,flags:0,texelBlockDimension:[0,0,0,0],bytesPlane:[0,0,0,0,0,0,0,0],samples:[]}],this.keyValue={},this.globalData=null}}class Ii{constructor(t,e,n,i){this._dataView=new DataView(t.buffer,t.byteOffset+e,n),this._littleEndian=i,this._offset=0}_nextUint8(){const t=this._dataView.getUint8(this._offset);return this._offset+=1,t}_nextUint16(){const t=this._dataView.getUint16(this._offset,this._littleEndian);return this._offset+=2,t}_nextUint32(){const t=this._dataView.getUint32(this._offset,this._littleEndian);return this._offset+=4,t}_nextUint64(){const t=this._dataView.getUint32(this._offset,this._littleEndian)+2**32*this._dataView.getUint32(this._offset+4,this._littleEndian);return this._offset+=8,t}_nextInt32(){const t=this._dataView.getInt32(this._offset,this._littleEndian);return this._offset+=4,t}_skip(t){return this._offset+=t,this}_scan(t,e=0){const n=this._offset;let i=0;for(;this._dataView.getUint8(this._offset)!==e&amp;&amp;i&lt;t;)i++,this._offset++;return i&lt;t&amp;&amp;this._offset++,new Uint8Array(this._dataView.buffer,this._dataView.byteOffset+n,i)}}const Oi=new Uint8Array([0]),Ti=[171,75,84,88,32,50,48,187,13,10,26,10];function Vi(t){return"undefined"!=typeof TextEncoder?new TextEncoder().encode(t):Buffer.from(t)}function Ei(t){return"undefined"!=typeof TextDecoder?new TextDecoder().decode(t):Buffer.from(t).toString("utf8")}function Fi(t){let e=0;for(const n of t)e+=n.byteLength;const n=new Uint8Array(e);let i=0;for(const e of t)n.set(new Uint8Array(e),i),i+=e.byteLength;return n}function Pi(t){const e=new Uint8Array(t.buffer,t.byteOffset,Ti.length);if(e[0]!==Ti[0]||e[1]!==Ti[1]||e[2]!==Ti[2]||e[3]!==Ti[3]||e[4]!==Ti[4]||e[5]!==Ti[5]||e[6]!==Ti[6]||e[7]!==Ti[7]||e[8]!==Ti[8]||e[9]!==Ti[9]||e[10]!==Ti[10]||e[11]!==Ti[11])throw new Error("Missing KTX 2.0 identifier.");const n=new Si,i=17*Uint32Array.BYTES_PER_ELEMENT,s=new Ii(t,Ti.length,i,!0);n.vkFormat=s._nextUint32(),n.typeSize=s._nextUint32(),n.pixelWidth=s._nextUint32(),n.pixelHeight=s._nextUint32(),n.pixelDepth=s._nextUint32(),n.layerCount=s._nextUint32(),n.faceCount=s._nextUint32();const a=s._nextUint32();n.supercompressionScheme=s._nextUint32();const r=s._nextUint32(),o=s._nextUint32(),l=s._nextUint32(),f=s._nextUint32(),U=s._nextUint64(),c=s._nextUint64(),h=new Ii(t,Ti.length+i,3*a*8,!0);for(let e=0;e&lt;a;e++)n.levels.push({levelData:new Uint8Array(t.buffer,t.byteOffset+h._nextUint64(),h._nextUint64()),uncompressedByteLength:h._nextUint64()});const _=new Ii(t,r,o,!0),p={vendorId:_._skip(4)._nextUint16(),descriptorType:_._nextUint16(),versionNumber:_._nextUint16(),descriptorBlockSize:_._nextUint16(),colorModel:_._nextUint8(),colorPrimaries:_._nextUint8(),transferFunction:_._nextUint8(),flags:_._nextUint8(),texelBlockDimension:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],bytesPlane:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],samples:[]},g=(p.descriptorBlockSize/4-6)/4;for(let t=0;t&lt;g;t++){const e={bitOffset:_._nextUint16(),bitLength:_._nextUint8(),channelType:_._nextUint8(),samplePosition:[_._nextUint8(),_._nextUint8(),_._nextUint8(),_._nextUint8()],sampleLower:-Infinity,sampleUpper:Infinity};64&amp;e.channelType?(e.sampleLower=_._nextInt32(),e.sampleUpper=_._nextInt32()):(e.sampleLower=_._nextUint32(),e.sampleUpper=_._nextUint32()),p.samples[t]=e}n.dataFormatDescriptor.length=0,n.dataFormatDescriptor.push(p);const y=new Ii(t,l,f,!0);for(;y._offset&lt;f;){const t=y._nextUint32(),e=y._scan(t),i=Ei(e),s=y._scan(t-e.byteLength);n.keyValue[i]=i.match(/^ktx/i)?Ei(s):s,y._offset%4&amp;&amp;y._skip(4-y._offset%4)}if(c&lt;=0)return n;const x=new Ii(t,U,c,!0),u=x._nextUint16(),b=x._nextUint16(),d=x._nextUint32(),m=x._nextUint32(),w=x._nextUint32(),D=x._nextUint32(),B=[];for(let t=0;t&lt;a;t++)B.push({imageFlags:x._nextUint32(),rgbSliceByteOffset:x._nextUint32(),rgbSliceByteLength:x._nextUint32(),alphaSliceByteOffset:x._nextUint32(),alphaSliceByteLength:x._nextUint32()});const L=U+x._offset,A=L+d,k=A+m,v=k+w,S=new Uint8Array(t.buffer,t.byteOffset+L,d),I=new Uint8Array(t.buffer,t.byteOffset+A,m),O=new Uint8Array(t.buffer,t.byteOffset+k,w),T=new Uint8Array(t.buffer,t.byteOffset+v,D);return n.globalData={endpointCount:u,selectorCount:b,imageDescs:B,endpointsData:S,selectorsData:I,tablesData:O,extendedData:T},n}function Ci(){return(Ci=Object.assign||function(t){for(var e=1;e&lt;arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&amp;&amp;(t[i]=n[i])}return t}).apply(this,arguments)}const zi={keepWriter:!1};function Mi(t,e={}){e=Ci({},zi,e);let n=new ArrayBuffer(0);if(t.globalData){const e=new ArrayBuffer(20+5*t.globalData.imageDescs.length*4),i=new DataView(e);i.setUint16(0,t.globalData.endpointCount,!0),i.setUint16(2,t.globalData.selectorCount,!0),i.setUint32(4,t.globalData.endpointsData.byteLength,!0),i.setUint32(8,t.globalData.selectorsData.byteLength,!0),i.setUint32(12,t.globalData.tablesData.byteLength,!0),i.setUint32(16,t.globalData.extendedData.byteLength,!0);for(let e=0;e&lt;t.globalData.imageDescs.length;e++){const n=t.globalData.imageDescs[e];i.setUint32(20+5*e*4+0,n.imageFlags,!0),i.setUint32(20+5*e*4+4,n.rgbSliceByteOffset,!0),i.setUint32(20+5*e*4+8,n.rgbSliceByteLength,!0),i.setUint32(20+5*e*4+12,n.alphaSliceByteOffset,!0),i.setUint32(20+5*e*4+16,n.alphaSliceByteLength,!0)}n=Fi([e,t.globalData.endpointsData,t.globalData.selectorsData,t.globalData.tablesData,t.globalData.extendedData])}const i=[];let s=t.keyValue;e.keepWriter||(s=Ci({},t.keyValue,{KTXwriter:"KTX-Parse v0.3.1"}));for(const t in s){const e=s[t],n=Vi(t),a="string"==typeof e?Vi(e):e,r=n.byteLength+1+a.byteLength+1,o=r%4?4-r%4:0;i.push(Fi([new Uint32Array([r]),n,Oi,a,Oi,new Uint8Array(o).fill(0)]))}const a=Fi(i);if(1!==t.dataFormatDescriptor.length||0!==t.dataFormatDescriptor[0].descriptorType)throw new Error("Only BASICFORMAT Data Format Descriptor output supported.");const r=t.dataFormatDescriptor[0],o=new ArrayBuffer(28+16*r.samples.length),l=new DataView(o),f=24+16*r.samples.length;if(l.setUint32(0,o.byteLength,!0),l.setUint16(4,r.vendorId,!0),l.setUint16(6,r.descriptorType,!0),l.setUint16(8,r.versionNumber,!0),l.setUint16(10,f,!0),l.setUint8(12,r.colorModel),l.setUint8(13,r.colorPrimaries),l.setUint8(14,r.transferFunction),l.setUint8(15,r.flags),!Array.isArray(r.texelBlockDimension))throw new Error("texelBlockDimension is now an array. For dimensionality `d`, set `d - 1`.");l.setUint8(16,r.texelBlockDimension[0]),l.setUint8(17,r.texelBlockDimension[1]),l.setUint8(18,r.texelBlockDimension[2]),l.setUint8(19,r.texelBlockDimension[3]);for(let t=0;t&lt;8;t++)l.setUint8(20+t,r.bytesPlane[t]);for(let t=0;t&lt;r.samples.length;t++){const e=r.samples[t],n=28+16*t;if(e.channelID)throw new Error("channelID has been renamed to channelType.");l.setUint16(n+0,e.bitOffset,!0),l.setUint8(n+2,e.bitLength),l.setUint8(n+3,e.channelType),l.setUint8(n+4,e.samplePosition[0]),l.setUint8(n+5,e.samplePosition[1]),l.setUint8(n+6,e.samplePosition[2]),l.setUint8(n+7,e.samplePosition[3]),64&amp;e.channelType?(l.setInt32(n+8,e.sampleLower,!0),l.setInt32(n+12,e.sampleUpper,!0)):(l.setUint32(n+8,e.sampleLower,!0),l.setUint32(n+12,e.sampleUpper,!0))}const U=Ti.length+68+3*t.levels.length*8,c=U+o.byteLength;let h=n.byteLength&gt;0?c+a.byteLength:0;h%8&amp;&amp;(h+=8-h%8);const _=[],p=new DataView(new ArrayBuffer(3*t.levels.length*8));let g=(h||c+a.byteLength)+n.byteLength;for(let e=0;e&lt;t.levels.length;e++){const n=t.levels[e];_.push(n.levelData),p.setBigUint64(24*e+0,BigInt(g),!0),p.setBigUint64(24*e+8,BigInt(n.levelData.byteLength),!0),p.setBigUint64(24*e+16,BigInt(n.uncompressedByteLength),!0),g+=n.levelData.byteLength}const y=new ArrayBuffer(68),x=new DataView(y);return x.setUint32(0,t.vkFormat,!0),x.setUint32(4,t.typeSize,!0),x.setUint32(8,t.pixelWidth,!0),x.setUint32(12,t.pixelHeight,!0),x.setUint32(16,t.pixelDepth,!0),x.setUint32(20,t.layerCount,!0),x.setUint32(24,t.faceCount,!0),x.setUint32(28,t.levels.length,!0),x.setUint32(32,t.supercompressionScheme,!0),x.setUint32(36,U,!0),x.setUint32(40,o.byteLength,!0),x.setUint32(44,c,!0),x.setUint32(48,a.byteLength,!0),x.setBigUint64(52,BigInt(n.byteLength&gt;0?h:0),!0),x.setBigUint64(60,BigInt(n.byteLength),!0),new Uint8Array(Fi([new Uint8Array(Ti).buffer,y,p.buffer,o,a,h&gt;0?new ArrayBuffer(h-(c+a.byteLength)):new ArrayBuffer(0),n,..._]))}var KTXParse=THREE.KTXParse={};KTXParse.KHR_DF_CHANNEL_RGBSDA_ALPHA=Q,KTXParse.KHR_DF_CHANNEL_RGBSDA_BLUE=q,KTXParse.KHR_DF_CHANNEL_RGBSDA_DEPTH=J,KTXParse.KHR_DF_CHANNEL_RGBSDA_GREEN=Y,KTXParse.KHR_DF_CHANNEL_RGBSDA_RED=R,KTXParse.KHR_DF_CHANNEL_RGBSDA_STENCIL=G,KTXParse.KHR_DF_FLAG_ALPHA_PREMULTIPLIED=p,KTXParse.KHR_DF_FLAG_ALPHA_STRAIGHT=_,KTXParse.KHR_DF_KHR_DESCRIPTORTYPE_BASICFORMAT=s,KTXParse.KHR_DF_MODEL_ASTC=c,KTXParse.KHR_DF_MODEL_ETC1=f,KTXParse.KHR_DF_MODEL_ETC1S=h,KTXParse.KHR_DF_MODEL_ETC2=U,KTXParse.KHR_DF_MODEL_RGBSDA=l,KTXParse.KHR_DF_MODEL_UNSPECIFIED=o,KTXParse.KHR_DF_PRIMARIES_ACES=W,KTXParse.KHR_DF_PRIMARIES_ACESCC=N,KTXParse.KHR_DF_PRIMARIES_ADOBERGB=j,KTXParse.KHR_DF_PRIMARIES_BT2020=z,KTXParse.KHR_DF_PRIMARIES_BT601_EBU=P,KTXParse.KHR_DF_PRIMARIES_BT601_SMPTE=C,KTXParse.KHR_DF_PRIMARIES_BT709=F,KTXParse.KHR_DF_PRIMARIES_CIEXYZ=M,KTXParse.KHR_DF_PRIMARIES_DISPLAYP3=X,KTXParse.KHR_DF_PRIMARIES_NTSC1953=H,KTXParse.KHR_DF_PRIMARIES_PAL525=K,KTXParse.KHR_DF_PRIMARIES_UNSPECIFIED=E,KTXParse.KHR_DF_SAMPLE_DATATYPE_EXPONENT=tt,KTXParse.KHR_DF_SAMPLE_DATATYPE_FLOAT=Z,KTXParse.KHR_DF_SAMPLE_DATATYPE_LINEAR=et,KTXParse.KHR_DF_SAMPLE_DATATYPE_SIGNED=$,KTXParse.KHR_DF_TRANSFER_ACESCC=O,KTXParse.KHR_DF_TRANSFER_ACESCCT=T,KTXParse.KHR_DF_TRANSFER_ADOBERGB=V,KTXParse.KHR_DF_TRANSFER_BT1886=w,KTXParse.KHR_DF_TRANSFER_DCIP3=k,KTXParse.KHR_DF_TRANSFER_HLG_EOTF=B,KTXParse.KHR_DF_TRANSFER_HLG_OETF=D,KTXParse.KHR_DF_TRANSFER_ITU=u,KTXParse.KHR_DF_TRANSFER_LINEAR=y,KTXParse.KHR_DF_TRANSFER_NTSC=b,KTXParse.KHR_DF_TRANSFER_PAL625_EOTF=S,KTXParse.KHR_DF_TRANSFER_PAL_OETF=v,KTXParse.KHR_DF_TRANSFER_PQ_EOTF=L,KTXParse.KHR_DF_TRANSFER_PQ_OETF=A,KTXParse.KHR_DF_TRANSFER_SLOG=d,KTXParse.KHR_DF_TRANSFER_SLOG2=m,KTXParse.KHR_DF_TRANSFER_SRGB=x,KTXParse.KHR_DF_TRANSFER_ST240=I,KTXParse.KHR_DF_TRANSFER_UNSPECIFIED=g,KTXParse.KHR_DF_VENDORID_KHRONOS=a,KTXParse.KHR_DF_VERSION=r,KTXParse.KHR_SUPERCOMPRESSION_BASISLZ=e,KTXParse.KHR_SUPERCOMPRESSION_NONE=t,KTXParse.KHR_SUPERCOMPRESSION_ZLIB=i,KTXParse.KHR_SUPERCOMPRESSION_ZSTD=n,KTXParse.KTX2Container=Si,KTXParse.VK_FORMAT_A1R5G5B5_UNORM_PACK16=Ut,KTXParse.VK_FORMAT_A2B10G10R10_SINT_PACK32=qt,KTXParse.VK_FORMAT_A2B10G10R10_SNORM_PACK32=Rt,KTXParse.VK_FORMAT_A2B10G10R10_UINT_PACK32=Yt,KTXParse.VK_FORMAT_A2B10G10R10_UNORM_PACK32=jt,KTXParse.VK_FORMAT_A2R10G10B10_SINT_PACK32=Xt,KTXParse.VK_FORMAT_A2R10G10B10_SNORM_PACK32=Ht,KTXParse.VK_FORMAT_A2R10G10B10_UINT_PACK32=Kt,KTXParse.VK_FORMAT_A2R10G10B10_UNORM_PACK32=Nt,KTXParse.VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT=vi,KTXParse.VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT=ki,KTXParse.VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT=Bi,KTXParse.VK_FORMAT_ASTC_10x10_SRGB_BLOCK=Xn,KTXParse.VK_FORMAT_ASTC_10x10_UNORM_BLOCK=Kn,KTXParse.VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT=mi,KTXParse.VK_FORMAT_ASTC_10x5_SRGB_BLOCK=zn,KTXParse.VK_FORMAT_ASTC_10x5_UNORM_BLOCK=Cn,KTXParse.VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT=wi,KTXParse.VK_FORMAT_ASTC_10x6_SRGB_BLOCK=Wn,KTXParse.VK_FORMAT_ASTC_10x6_UNORM_BLOCK=Mn,KTXParse.VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT=Di,KTXParse.VK_FORMAT_ASTC_10x8_SRGB_BLOCK=Hn,KTXParse.VK_FORMAT_ASTC_10x8_UNORM_BLOCK=Nn,KTXParse.VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT=Li,KTXParse.VK_FORMAT_ASTC_12x10_SRGB_BLOCK=Rn,KTXParse.VK_FORMAT_ASTC_12x10_UNORM_BLOCK=jn,KTXParse.VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT=Ai,KTXParse.VK_FORMAT_ASTC_12x12_SRGB_BLOCK=qn,KTXParse.VK_FORMAT_ASTC_12x12_UNORM_BLOCK=Yn,KTXParse.VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT=_i,KTXParse.VK_FORMAT_ASTC_4x4_SRGB_BLOCK=wn,KTXParse.VK_FORMAT_ASTC_4x4_UNORM_BLOCK=mn,KTXParse.VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT=pi,KTXParse.VK_FORMAT_ASTC_5x4_SRGB_BLOCK=Bn,KTXParse.VK_FORMAT_ASTC_5x4_UNORM_BLOCK=Dn,KTXParse.VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT=gi,KTXParse.VK_FORMAT_ASTC_5x5_SRGB_BLOCK=An,KTXParse.VK_FORMAT_ASTC_5x5_UNORM_BLOCK=Ln,KTXParse.VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT=yi,KTXParse.VK_FORMAT_ASTC_6x5_SRGB_BLOCK=vn,KTXParse.VK_FORMAT_ASTC_6x5_UNORM_BLOCK=kn,KTXParse.VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT=xi,KTXParse.VK_FORMAT_ASTC_6x6_SRGB_BLOCK=In,KTXParse.VK_FORMAT_ASTC_6x6_UNORM_BLOCK=Sn,KTXParse.VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT=ui,KTXParse.VK_FORMAT_ASTC_8x5_SRGB_BLOCK=Tn,KTXParse.VK_FORMAT_ASTC_8x5_UNORM_BLOCK=On,KTXParse.VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT=bi,KTXParse.VK_FORMAT_ASTC_8x6_SRGB_BLOCK=En,KTXParse.VK_FORMAT_ASTC_8x6_UNORM_BLOCK=Vn,KTXParse.VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT=di,KTXParse.VK_FORMAT_ASTC_8x8_SRGB_BLOCK=Pn,KTXParse.VK_FORMAT_ASTC_8x8_UNORM_BLOCK=Fn,KTXParse.VK_FORMAT_B10G11R11_UFLOAT_PACK32=Me,KTXParse.VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16=$n,KTXParse.VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16=si,KTXParse.VK_FORMAT_B4G4R4A4_UNORM_PACK16=at,KTXParse.VK_FORMAT_B5G5R5A1_UNORM_PACK16=ft,KTXParse.VK_FORMAT_B5G6R5_UNORM_PACK16=ot,KTXParse.VK_FORMAT_B8G8R8A8_SINT=Mt,KTXParse.VK_FORMAT_B8G8R8A8_SNORM=Ct,KTXParse.VK_FORMAT_B8G8R8A8_SRGB=Wt,KTXParse.VK_FORMAT_B8G8R8A8_UINT=zt,KTXParse.VK_FORMAT_B8G8R8A8_UNORM=Pt,KTXParse.VK_FORMAT_B8G8R8_SINT=St,KTXParse.VK_FORMAT_B8G8R8_SNORM=kt,KTXParse.VK_FORMAT_B8G8R8_SRGB=It,KTXParse.VK_FORMAT_B8G8R8_UINT=vt,KTXParse.VK_FORMAT_B8G8R8_UNORM=At,KTXParse.VK_FORMAT_BC1_RGBA_SRGB_BLOCK=Qe,KTXParse.VK_FORMAT_BC1_RGBA_UNORM_BLOCK=Je,KTXParse.VK_FORMAT_BC1_RGB_SRGB_BLOCK=Ge,KTXParse.VK_FORMAT_BC1_RGB_UNORM_BLOCK=qe,KTXParse.VK_FORMAT_BC2_SRGB_BLOCK=$e,KTXParse.VK_FORMAT_BC2_UNORM_BLOCK=Ze,KTXParse.VK_FORMAT_BC3_SRGB_BLOCK=en,KTXParse.VK_FORMAT_BC3_UNORM_BLOCK=tn,KTXParse.VK_FORMAT_BC4_SNORM_BLOCK=sn,KTXParse.VK_FORMAT_BC4_UNORM_BLOCK=nn,KTXParse.VK_FORMAT_BC5_SNORM_BLOCK=rn,KTXParse.VK_FORMAT_BC5_UNORM_BLOCK=an,KTXParse.VK_FORMAT_BC6H_SFLOAT_BLOCK=ln,KTXParse.VK_FORMAT_BC6H_UFLOAT_BLOCK=on,KTXParse.VK_FORMAT_BC7_SRGB_BLOCK=Un,KTXParse.VK_FORMAT_BC7_UNORM_BLOCK=fn,KTXParse.VK_FORMAT_D16_UNORM=Ne,KTXParse.VK_FORMAT_D16_UNORM_S8_UINT=je,KTXParse.VK_FORMAT_D24_UNORM_S8_UINT=Re,KTXParse.VK_FORMAT_D32_SFLOAT=Ke,KTXParse.VK_FORMAT_D32_SFLOAT_S8_UINT=Ye,KTXParse.VK_FORMAT_E5B9G9R9_UFLOAT_PACK32=We,KTXParse.VK_FORMAT_EAC_R11G11_SNORM_BLOCK=dn,KTXParse.VK_FORMAT_EAC_R11G11_UNORM_BLOCK=bn,KTXParse.VK_FORMAT_EAC_R11_SNORM_BLOCK=un,KTXParse.VK_FORMAT_EAC_R11_UNORM_BLOCK=xn,KTXParse.VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK=pn,KTXParse.VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK=_n,KTXParse.VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK=yn,KTXParse.VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK=gn,KTXParse.VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK=hn,KTXParse.VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK=cn,KTXParse.VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16=Zn,KTXParse.VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16=ii,KTXParse.VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG=fi,KTXParse.VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG=ai,KTXParse.VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG=Ui,KTXParse.VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG=ri,KTXParse.VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG=ci,KTXParse.VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG=oi,KTXParse.VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG=hi,KTXParse.VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG=li,KTXParse.VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16=Qn,KTXParse.VK_FORMAT_R10X6G10X6_UNORM_2PACK16=Jn,KTXParse.VK_FORMAT_R10X6_UNORM_PACK16=Gn,KTXParse.VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16=ni,KTXParse.VK_FORMAT_R12X4G12X4_UNORM_2PACK16=ei,KTXParse.VK_FORMAT_R12X4_UNORM_PACK16=ti,KTXParse.VK_FORMAT_R16G16B16A16_SFLOAT=pe,KTXParse.VK_FORMAT_R16G16B16A16_SINT=_e,KTXParse.VK_FORMAT_R16G16B16A16_SNORM=ce,KTXParse.VK_FORMAT_R16G16B16A16_UINT=he,KTXParse.VK_FORMAT_R16G16B16A16_UNORM=Ue,KTXParse.VK_FORMAT_R16G16B16_SFLOAT=fe,KTXParse.VK_FORMAT_R16G16B16_SINT=le,KTXParse.VK_FORMAT_R16G16B16_SNORM=re,KTXParse.VK_FORMAT_R16G16B16_UINT=oe,KTXParse.VK_FORMAT_R16G16B16_UNORM=ae,KTXParse.VK_FORMAT_R16G16_SFLOAT=se,KTXParse.VK_FORMAT_R16G16_SINT=ie,KTXParse.VK_FORMAT_R16G16_SNORM=ee,KTXParse.VK_FORMAT_R16G16_UINT=ne,KTXParse.VK_FORMAT_R16G16_UNORM=te,KTXParse.VK_FORMAT_R16_SFLOAT=$t,KTXParse.VK_FORMAT_R16_SINT=Zt,KTXParse.VK_FORMAT_R16_SNORM=Jt,KTXParse.VK_FORMAT_R16_UINT=Qt,KTXParse.VK_FORMAT_R16_UNORM=Gt,KTXParse.VK_FORMAT_R32G32B32A32_SFLOAT=Ae,KTXParse.VK_FORMAT_R32G32B32A32_SINT=Le,KTXParse.VK_FORMAT_R32G32B32A32_UINT=Be,KTXParse.VK_FORMAT_R32G32B32_SFLOAT=De,KTXParse.VK_FORMAT_R32G32B32_SINT=we,KTXParse.VK_FORMAT_R32G32B32_UINT=me,KTXParse.VK_FORMAT_R32G32_SFLOAT=de,KTXParse.VK_FORMAT_R32G32_SINT=be,KTXParse.VK_FORMAT_R32G32_UINT=ue,KTXParse.VK_FORMAT_R32_SFLOAT=xe,KTXParse.VK_FORMAT_R32_SINT=ye,KTXParse.VK_FORMAT_R32_UINT=ge,KTXParse.VK_FORMAT_R4G4B4A4_UNORM_PACK16=st,KTXParse.VK_FORMAT_R4G4_UNORM_PACK8=it,KTXParse.VK_FORMAT_R5G5B5A1_UNORM_PACK16=lt,KTXParse.VK_FORMAT_R5G6B5_UNORM_PACK16=rt,KTXParse.VK_FORMAT_R64G64B64A64_SFLOAT=ze,KTXParse.VK_FORMAT_R64G64B64A64_SINT=Ce,KTXParse.VK_FORMAT_R64G64B64A64_UINT=Pe,KTXParse.VK_FORMAT_R64G64B64_SFLOAT=Fe,KTXParse.VK_FORMAT_R64G64B64_SINT=Ee,KTXParse.VK_FORMAT_R64G64B64_UINT=Ve,KTXParse.VK_FORMAT_R64G64_SFLOAT=Te,KTXParse.VK_FORMAT_R64G64_SINT=Oe,KTXParse.VK_FORMAT_R64G64_UINT=Ie,KTXParse.VK_FORMAT_R64_SFLOAT=Se,KTXParse.VK_FORMAT_R64_SINT=ve,KTXParse.VK_FORMAT_R64_UINT=ke,KTXParse.VK_FORMAT_R8G8B8A8_SINT=Et,KTXParse.VK_FORMAT_R8G8B8A8_SNORM=Tt,KTXParse.VK_FORMAT_R8G8B8A8_SRGB=Ft,KTXParse.VK_FORMAT_R8G8B8A8_UINT=Vt,KTXParse.VK_FORMAT_R8G8B8A8_UNORM=Ot,KTXParse.VK_FORMAT_R8G8B8_SINT=Bt,KTXParse.VK_FORMAT_R8G8B8_SNORM=wt,KTXParse.VK_FORMAT_R8G8B8_SRGB=Lt,KTXParse.VK_FORMAT_R8G8B8_UINT=Dt,KTXParse.VK_FORMAT_R8G8B8_UNORM=mt,KTXParse.VK_FORMAT_R8G8_SINT=bt,KTXParse.VK_FORMAT_R8G8_SNORM=xt,KTXParse.VK_FORMAT_R8G8_SRGB=dt,KTXParse.VK_FORMAT_R8G8_UINT=ut,KTXParse.VK_FORMAT_R8G8_UNORM=yt,KTXParse.VK_FORMAT_R8_SINT=pt,KTXParse.VK_FORMAT_R8_SNORM=ht,KTXParse.VK_FORMAT_R8_SRGB=gt,KTXParse.VK_FORMAT_R8_UINT=_t,KTXParse.VK_FORMAT_R8_UNORM=ct,KTXParse.VK_FORMAT_S8_UINT=Xe,KTXParse.VK_FORMAT_UNDEFINED=nt,KTXParse.VK_FORMAT_X8_D24_UNORM_PACK32=He,KTXParse.read=Pi,KTXParse.write=Mi})();(function(){var CompressedTexture=THREE.CompressedTexture,Data3DTexture=THREE.Data3DTexture,DataTexture=THREE.DataTexture,FileLoader=THREE.FileLoader,FloatType=THREE.FloatType,HalfFloatType=THREE.HalfFloatType,LinearEncoding=THREE.LinearEncoding,LinearFilter=THREE.LinearFilter,LinearMipmapLinearFilter=THREE.LinearMipmapLinearFilter,Loader=THREE.Loader,RedFormat=THREE.RedFormat,RGB_ETC1_Format=THREE.RGB_ETC1_Format,RGB_ETC2_Format=THREE.RGB_ETC2_Format,RGB_PVRTC_4BPPV1_Format=THREE.RGB_PVRTC_4BPPV1_Format,RGB_S3TC_DXT1_Format=THREE.RGB_S3TC_DXT1_Format,RGBA_ASTC_4x4_Format=THREE.RGBA_ASTC_4x4_Format,RGBA_BPTC_Format=THREE.RGBA_BPTC_Format,RGBA_ETC2_EAC_Format=THREE.RGBA_ETC2_EAC_Format,RGBA_PVRTC_4BPPV1_Format=THREE.RGBA_PVRTC_4BPPV1_Format,RGBA_S3TC_DXT5_Format=THREE.RGBA_S3TC_DXT5_Format,RGBAFormat=THREE.RGBAFormat,RGFormat=THREE.RGFormat,sRGBEncoding=THREE.sRGBEncoding,UnsignedByteType=THREE.UnsignedByteType,WorkerPool=THREE.WorkerPool;var read=THREE.KTXParse.read,KHR_DF_FLAG_ALPHA_PREMULTIPLIED=THREE.KTXParse.KHR_DF_FLAG_ALPHA_PREMULTIPLIED,KHR_DF_TRANSFER_SRGB=THREE.KTXParse.KHR_DF_TRANSFER_SRGB,KHR_SUPERCOMPRESSION_NONE=THREE.KTXParse.KHR_SUPERCOMPRESSION_NONE,KHR_SUPERCOMPRESSION_ZSTD=THREE.KTXParse.KHR_SUPERCOMPRESSION_ZSTD,VK_FORMAT_UNDEFINED=THREE.KTXParse.VK_FORMAT_UNDEFINED,VK_FORMAT_R16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16_SFLOAT,VK_FORMAT_R16G16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16G16_SFLOAT,VK_FORMAT_R16G16B16A16_SFLOAT=THREE.KTXParse.VK_FORMAT_R16G16B16A16_SFLOAT,VK_FORMAT_R32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32_SFLOAT,VK_FORMAT_R32G32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32G32_SFLOAT,VK_FORMAT_R32G32B32A32_SFLOAT=THREE.KTXParse.VK_FORMAT_R32G32B32A32_SFLOAT,VK_FORMAT_R8_SRGB=THREE.KTXParse.VK_FORMAT_R8_SRGB,VK_FORMAT_R8_UNORM=THREE.KTXParse.VK_FORMAT_R8_UNORM,VK_FORMAT_R8G8_SRGB=THREE.KTXParse.VK_FORMAT_R8G8_SRGB,VK_FORMAT_R8G8_UNORM=THREE.KTXParse.VK_FORMAT_R8G8_UNORM,VK_FORMAT_R8G8B8A8_SRGB=THREE.KTXParse.VK_FORMAT_R8G8B8A8_SRGB,VK_FORMAT_R8G8B8A8_UNORM=THREE.KTXParse.VK_FORMAT_R8G8B8A8_UNORM;var ZSTDDecoder=THREE.ZSTDDecoder;const _taskCache=new WeakMap;let _activeLoaders=0;let _zstd;class KTX2Loader extends Loader{constructor(manager){super(manager);this.transcoderPath="";this.transcoderBinary=null;this.transcoderPending=null;this.workerPool=new WorkerPool;this.workerSourceURL="";this.workerConfig=null;if(typeof MSC_TRANSCODER!=="undefined"){console.warn("THREE.KTX2Loader: Please update to latest \"basis_transcoder\"."+" \"msc_basis_transcoder\" is no longer supported in three.js r125+.")}}setTranscoderPath(path){this.transcoderPath=path;return this}setWorkerLimit(num){this.workerPool.setWorkerLimit(num);return this}detectSupport(renderer){this.workerConfig={astcSupported:renderer.extensions.has("WEBGL_compressed_texture_astc"),etc1Supported:renderer.extensions.has("WEBGL_compressed_texture_etc1"),etc2Supported:renderer.extensions.has("WEBGL_compressed_texture_etc"),dxtSupported:renderer.extensions.has("WEBGL_compressed_texture_s3tc"),bptcSupported:renderer.extensions.has("EXT_texture_compression_bptc"),pvrtcSupported:renderer.extensions.has("WEBGL_compressed_texture_pvrtc")||renderer.extensions.has("WEBKIT_WEBGL_compressed_texture_pvrtc")};if(renderer.capabilities.isWebGL2){this.workerConfig.etc1Supported=false}return this}init(){if(!this.transcoderPending){const jsLoader=new FileLoader(this.manager);jsLoader.setPath(this.transcoderPath);jsLoader.setWithCredentials(this.withCredentials);const jsContent=jsLoader.loadAsync("basis_transcoder.js");const binaryLoader=new FileLoader(this.manager);binaryLoader.setPath(this.transcoderPath);binaryLoader.setResponseType("arraybuffer");binaryLoader.setWithCredentials(this.withCredentials);const binaryContent=binaryLoader.loadAsync("basis_transcoder.wasm");this.transcoderPending=Promise.all([jsContent,binaryContent]).then(([jsContent,binaryContent])=&gt;{const fn=KTX2Loader.BasisWorker.toString();const body=["/* constants */","let _EngineFormat = "+JSON.stringify(KTX2Loader.EngineFormat),"let _TranscoderFormat = "+JSON.stringify(KTX2Loader.TranscoderFormat),"let _BasisFormat = "+JSON.stringify(KTX2Loader.BasisFormat),"/* basis_transcoder.js */",jsContent,"/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]));this.transcoderBinary=binaryContent;this.workerPool.setWorkerCreator(()=&gt;{const worker=new Worker(this.workerSourceURL);const transcoderBinary=this.transcoderBinary.slice(0);worker.postMessage({type:"init",config:this.workerConfig,transcoderBinary},[transcoderBinary]);return worker})});if(_activeLoaders&gt;0){console.warn("THREE.KTX2Loader: Multiple active KTX2 loaders may cause performance issues."+" Use a single KTX2Loader instance, or call .dispose() on old instances.")}_activeLoaders++}return this.transcoderPending}load(url,onLoad,onProgress,onError){if(this.workerConfig===null){throw new Error("THREE.KTX2Loader: Missing initialization with `.detectSupport( renderer )`.")}const loader=new FileLoader(this.manager);loader.setResponseType("arraybuffer");loader.setWithCredentials(this.withCredentials);loader.load(url,buffer=&gt;{if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);return cachedTask.promise.then(onLoad).catch(onError)}this._createTexture(buffer).then(texture=&gt;onLoad?onLoad(texture):null).catch(onError)},onProgress,onError)}_createTextureFrom(transcodeResult){const{mipmaps,width,height,format,type,error,dfdTransferFn,dfdFlags}=transcodeResult;if(type==="error")return Promise.reject(error);const texture=new CompressedTexture(mipmaps,width,height,format,UnsignedByteType);texture.minFilter=mipmaps.length===1?LinearFilter:LinearMipmapLinearFilter;texture.magFilter=LinearFilter;texture.generateMipmaps=false;texture.needsUpdate=true;texture.encoding=dfdTransferFn===KHR_DF_TRANSFER_SRGB?sRGBEncoding:LinearEncoding;texture.premultiplyAlpha=!!(dfdFlags&amp;KHR_DF_FLAG_ALPHA_PREMULTIPLIED);return texture}_createTexture(buffer,config={}){const container=read(new Uint8Array(buffer));if(container.vkFormat!==VK_FORMAT_UNDEFINED){return createDataTexture(container)}const taskConfig=config;const texturePending=this.init().then(()=&gt;{return this.workerPool.postMessage({type:"transcode",buffer,taskConfig:taskConfig},[buffer])}).then(e=&gt;this._createTextureFrom(e.data));_taskCache.set(buffer,{promise:texturePending});return texturePending}dispose(){this.workerPool.dispose();if(this.workerSourceURL)URL.revokeObjectURL(this.workerSourceURL);_activeLoaders--;return this}}KTX2Loader.BasisFormat={ETC1S:0,UASTC_4x4:1};KTX2Loader.TranscoderFormat={ETC1:0,ETC2:1,BC1:2,BC3:3,BC4:4,BC5:5,BC7_M6_OPAQUE_ONLY:6,BC7_M5:7,PVRTC1_4_RGB:8,PVRTC1_4_RGBA:9,ASTC_4x4:10,ATC_RGB:11,ATC_RGBA_INTERPOLATED_ALPHA:12,RGBA32:13,RGB565:14,BGR565:15,RGBA4444:16};KTX2Loader.EngineFormat={RGBAFormat:RGBAFormat,RGBA_ASTC_4x4_Format:RGBA_ASTC_4x4_Format,RGBA_BPTC_Format:RGBA_BPTC_Format,RGBA_ETC2_EAC_Format:RGBA_ETC2_EAC_Format,RGBA_PVRTC_4BPPV1_Format:RGBA_PVRTC_4BPPV1_Format,RGBA_S3TC_DXT5_Format:RGBA_S3TC_DXT5_Format,RGB_ETC1_Format:RGB_ETC1_Format,RGB_ETC2_Format:RGB_ETC2_Format,RGB_PVRTC_4BPPV1_Format:RGB_PVRTC_4BPPV1_Format,RGB_S3TC_DXT1_Format:RGB_S3TC_DXT1_Format};KTX2Loader.BasisWorker=function(){let config;let transcoderPending;let BasisModule;const EngineFormat=_EngineFormat;const TranscoderFormat=_TranscoderFormat;const BasisFormat=_BasisFormat;self.addEventListener("message",function(e){const message=e.data;switch(message.type){case"init":config=message.config;init(message.transcoderBinary);break;case"transcode":transcoderPending.then(()=&gt;{try{const{width,height,hasAlpha,mipmaps,format,dfdTransferFn,dfdFlags}=transcode(message.buffer);const buffers=[];for(let i=0;i&lt;mipmaps.length;++i){buffers.push(mipmaps[i].data.buffer)}self.postMessage({type:"transcode",id:message.id,width,height,hasAlpha,mipmaps,format,dfdTransferFn,dfdFlags},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}});break;}});function init(wasmBinary){transcoderPending=new Promise(resolve=&gt;{BasisModule={wasmBinary,onRuntimeInitialized:resolve};BASIS(BasisModule)}).then(()=&gt;{BasisModule.initializeBasis();if(BasisModule.KTX2File===undefined){console.warn("THREE.KTX2Loader: Please update Basis Universal transcoder.")}})}function transcode(buffer){const ktx2File=new BasisModule.KTX2File(new Uint8Array(buffer));function cleanup(){ktx2File.close();ktx2File.delete()}if(!ktx2File.isValid()){cleanup();throw new Error("THREE.KTX2Loader:\tInvalid or unsupported .ktx2 file")}const basisFormat=ktx2File.isUASTC()?BasisFormat.UASTC_4x4:BasisFormat.ETC1S;const width=ktx2File.getWidth();const height=ktx2File.getHeight();const levels=ktx2File.getLevels();const hasAlpha=ktx2File.getHasAlpha();const dfdTransferFn=ktx2File.getDFDTransferFunc();const dfdFlags=ktx2File.getDFDFlags();const{transcoderFormat,engineFormat}=getTranscoderFormat(basisFormat,width,height,hasAlpha);if(!width||!height||!levels){cleanup();throw new Error("THREE.KTX2Loader:\tInvalid texture")}if(!ktx2File.startTranscoding()){cleanup();throw new Error("THREE.KTX2Loader: .startTranscoding failed")}const mipmaps=[];for(let mip=0;mip&lt;levels;mip++){const levelInfo=ktx2File.getImageLevelInfo(mip,0,0);const mipWidth=levelInfo.origWidth;const mipHeight=levelInfo.origHeight;const dst=new Uint8Array(ktx2File.getImageTranscodedSizeInBytes(mip,0,0,transcoderFormat));const status=ktx2File.transcodeImage(dst,mip,0,0,transcoderFormat,0,-1,-1);if(!status){cleanup();throw new Error("THREE.KTX2Loader: .transcodeImage failed.")}mipmaps.push({data:dst,width:mipWidth,height:mipHeight})}cleanup();return{width,height,hasAlpha,mipmaps,format:engineFormat,dfdTransferFn,dfdFlags}}const FORMAT_OPTIONS=[{if:"astcSupported",basisFormat:[BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ASTC_4x4,TranscoderFormat.ASTC_4x4],engineFormat:[EngineFormat.RGBA_ASTC_4x4_Format,EngineFormat.RGBA_ASTC_4x4_Format],priorityETC1S:Infinity,priorityUASTC:1,needsPowerOfTwo:false},{if:"bptcSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.BC7_M5,TranscoderFormat.BC7_M5],engineFormat:[EngineFormat.RGBA_BPTC_Format,EngineFormat.RGBA_BPTC_Format],priorityETC1S:3,priorityUASTC:2,needsPowerOfTwo:false},{if:"dxtSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.BC1,TranscoderFormat.BC3],engineFormat:[EngineFormat.RGB_S3TC_DXT1_Format,EngineFormat.RGBA_S3TC_DXT5_Format],priorityETC1S:4,priorityUASTC:5,needsPowerOfTwo:false},{if:"etc2Supported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ETC1,TranscoderFormat.ETC2],engineFormat:[EngineFormat.RGB_ETC2_Format,EngineFormat.RGBA_ETC2_EAC_Format],priorityETC1S:1,priorityUASTC:3,needsPowerOfTwo:false},{if:"etc1Supported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.ETC1],engineFormat:[EngineFormat.RGB_ETC1_Format],priorityETC1S:2,priorityUASTC:4,needsPowerOfTwo:false},{if:"pvrtcSupported",basisFormat:[BasisFormat.ETC1S,BasisFormat.UASTC_4x4],transcoderFormat:[TranscoderFormat.PVRTC1_4_RGB,TranscoderFormat.PVRTC1_4_RGBA],engineFormat:[EngineFormat.RGB_PVRTC_4BPPV1_Format,EngineFormat.RGBA_PVRTC_4BPPV1_Format],priorityETC1S:5,priorityUASTC:6,needsPowerOfTwo:true}];const ETC1S_OPTIONS=FORMAT_OPTIONS.sort(function(a,b){return a.priorityETC1S-b.priorityETC1S});const UASTC_OPTIONS=FORMAT_OPTIONS.sort(function(a,b){return a.priorityUASTC-b.priorityUASTC});function getTranscoderFormat(basisFormat,width,height,hasAlpha){let transcoderFormat;let engineFormat;const options=basisFormat===BasisFormat.ETC1S?ETC1S_OPTIONS:UASTC_OPTIONS;for(let i=0;i&lt;options.length;i++){const opt=options[i];if(!config[opt.if])continue;if(!opt.basisFormat.includes(basisFormat))continue;if(hasAlpha&amp;&amp;opt.transcoderFormat.length&lt;2)continue;if(opt.needsPowerOfTwo&amp;&amp;!(isPowerOfTwo(width)&amp;&amp;isPowerOfTwo(height)))continue;transcoderFormat=opt.transcoderFormat[hasAlpha?1:0];engineFormat=opt.engineFormat[hasAlpha?1:0];return{transcoderFormat,engineFormat}}console.warn("THREE.KTX2Loader: No suitable compressed texture format found. Decoding to RGBA32.");transcoderFormat=TranscoderFormat.RGBA32;engineFormat=EngineFormat.RGBAFormat;return{transcoderFormat,engineFormat}}function isPowerOfTwo(value){if(value&lt;=2)return true;return(value&amp;value-1)===0&amp;&amp;value!==0}};const FORMAT_MAP={[VK_FORMAT_R32G32B32A32_SFLOAT]:RGBAFormat,[VK_FORMAT_R16G16B16A16_SFLOAT]:RGBAFormat,[VK_FORMAT_R8G8B8A8_UNORM]:RGBAFormat,[VK_FORMAT_R8G8B8A8_SRGB]:RGBAFormat,[VK_FORMAT_R32G32_SFLOAT]:RGFormat,[VK_FORMAT_R16G16_SFLOAT]:RGFormat,[VK_FORMAT_R8G8_UNORM]:RGFormat,[VK_FORMAT_R8G8_SRGB]:RGFormat,[VK_FORMAT_R32_SFLOAT]:RedFormat,[VK_FORMAT_R16_SFLOAT]:RedFormat,[VK_FORMAT_R8_SRGB]:RedFormat,[VK_FORMAT_R8_UNORM]:RedFormat};const TYPE_MAP={[VK_FORMAT_R32G32B32A32_SFLOAT]:FloatType,[VK_FORMAT_R16G16B16A16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8G8B8A8_UNORM]:UnsignedByteType,[VK_FORMAT_R8G8B8A8_SRGB]:UnsignedByteType,[VK_FORMAT_R32G32_SFLOAT]:FloatType,[VK_FORMAT_R16G16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8G8_UNORM]:UnsignedByteType,[VK_FORMAT_R8G8_SRGB]:UnsignedByteType,[VK_FORMAT_R32_SFLOAT]:FloatType,[VK_FORMAT_R16_SFLOAT]:HalfFloatType,[VK_FORMAT_R8_SRGB]:UnsignedByteType,[VK_FORMAT_R8_UNORM]:UnsignedByteType};const ENCODING_MAP={[VK_FORMAT_R8G8B8A8_SRGB]:sRGBEncoding,[VK_FORMAT_R8G8_SRGB]:sRGBEncoding,[VK_FORMAT_R8_SRGB]:sRGBEncoding};async function createDataTexture(container){const{vkFormat,pixelWidth,pixelHeight,pixelDepth}=container;if(FORMAT_MAP[vkFormat]===undefined){throw new Error("THREE.KTX2Loader: Unsupported vkFormat.")}const level=container.levels[0];let levelData;let view;if(container.supercompressionScheme===KHR_SUPERCOMPRESSION_NONE){levelData=level.levelData}else if(container.supercompressionScheme===KHR_SUPERCOMPRESSION_ZSTD){if(!_zstd){_zstd=new Promise(async resolve=&gt;{const zstd=new ZSTDDecoder;await zstd.init();resolve(zstd)})}levelData=(await _zstd).decode(level.levelData,level.uncompressedByteLength)}else{throw new Error("THREE.KTX2Loader: Unsupported supercompressionScheme.")}if(TYPE_MAP[vkFormat]===FloatType){view=new Float32Array(levelData.buffer,levelData.byteOffset,levelData.byteLength/Float32Array.BYTES_PER_ELEMENT)}else if(TYPE_MAP[vkFormat]===HalfFloatType){view=new Uint16Array(levelData.buffer,levelData.byteOffset,levelData.byteLength/Uint16Array.BYTES_PER_ELEMENT)}else{view=levelData}const texture=pixelDepth===0?new DataTexture(view,pixelWidth,pixelHeight):new Data3DTexture(view,pixelWidth,pixelHeight,pixelDepth);texture.type=TYPE_MAP[vkFormat];texture.format=FORMAT_MAP[vkFormat];texture.encoding=ENCODING_MAP[vkFormat]||LinearEncoding;texture.needsUpdate=true;return Promise.resolve(texture)}THREE.KTX2Loader=KTX2Loader})();(function(){let A,I,B;const g={env:{emscripten_notify_memory_growth:function(A){B=new Uint8Array(I.exports.memory.buffer)}}};class Q{init(){return A||(A="undefined"!=typeof fetch?fetch("data:application/wasm;base64,"+C).then(A=&gt;A.arrayBuffer()).then(A=&gt;WebAssembly.instantiate(A,g)).then(this._init):WebAssembly.instantiate(Buffer.from(C,"base64"),g).then(this._init),A)}_init(A){I=A.instance,g.env.emscripten_notify_memory_growth(0)}decode(A,g=0){if(!I)throw new Error("ZSTDDecoder: Await .init() before decoding.");const Q=A.byteLength,C=I.exports.malloc(Q);B.set(A,C),g=g||Number(I.exports.ZSTD_findDecompressedSize(C,Q));const E=I.exports.malloc(g),i=I.exports.ZSTD_decompress(E,g,C,Q),D=B.slice(E,E+i);return I.exports.free(C),I.exports.free(E),D}}const C="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IAMNACAEQQNxBEADQCACRQ0FIAAgAkF/aiICaiIDIAEgAmotAAA6AAAgA0EDcQ0ACwsgAkEDTQ0AA0AgACACQXxqIgJqIAEgAmooAgA2AgAgAkEDSw0ACwsgAkUNAgNAIAAgAkF/aiICaiABIAJqLQAAOgAAIAINAAsMAgsgAkEDTQ0AIAIhBANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIARBfGoiBEEDSw0ACyACQQNxIQILIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQh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ASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBkGo6r5pRg0AQXYhAyAGQXBxQdDUtMIBRw0BQQghAyACQQhJDQEgAEEAQSgQECEAIAEoAAQhASAAQQE2AhQgACABrTcDAEEADwsgASACIAMQLyIDIAJLDQAgACADNgIYQXIhAyABIARqIgVBf2otAAAiAkEIcQ0AIAJBIHEiBkUEQEFwIQMgBS0AACIFQacBSw0BIAVBB3GtQgEgBUEDdkEKaq2GIgdCA4h+IAd8IQggBEEBaiEECyACQQZ2IQMgAkECdiEFAkAgAkEDcUF/aiICQQJLBEBBACECDAELAkACQAJAIAJBAWsOAgECAAsgASAEai0AACECIARBAWohBAwCCyABIARqLwAAIQIgBEECaiEEDAELIAEgBGooAAAhAiAEQQRqIQQLIAVBAXEhBQJ+AkACQAJAIANBf2oiA0ECTQRAIANBAWsOAgIDAQtCfyAGRQ0DGiABIARqMQAADAMLIAEgBGovAACtQoACfAwCCyABIARqKAAArQwBCyABIARqKQAACyEHIAAgBTYCICAAIAI2AhwgACAHNwMAQQAhAyAAQQA2AhQgACAHIAggBhsiBzcDCCAAIAdCgIAIIAdCgIAIVBs+AhALIAMLWwEBf0G4fyEDIAIQFiICIAFNBH8gACACakF/ai0AACIAQQNxQQJ0QaAeaigCACACaiAAQQZ2IgFBAnRBsB5qKAIAaiAAQSBxIgBFaiABRSAAQQV2cWoFQbh/CwsdACAAKAKQ4gEQWiAAQQA2AqDiASAAQgA3A5DiAQu1AwEFfyMAQZACayIKJABBuH8hBgJAIAVFDQAgBCwAACIIQf8BcSEHAkAgCEF/TARAIAdBgn9qQQF2IgggBU8NAkFsIQYgB0GBf2oiBUGAAk8NAiAEQQFqIQdBACEGA0AgBiAFTwRAIAUhBiAIIQcMAwUgACAGaiAHIAZBAXZqIgQtAABBBHY6AAAgACAGQQFyaiAELQAAQQ9xOgAAIAZBAmohBgwBCwAACwALIAcgBU8NASAAIARBAWogByAKEFMiBhADDQELIAYhBEEAIQYgAUEAQTQQECEJQQAhBQNAIAQgBkcEQCAAIAZqIggtAAAiAUELSwRAQWwhBgwDBSAJIAFBAnRqIgEgASgCAEEBajYCACAGQQFqIQZBASAILQAAdEEBdSAFaiEFDAILAAsLQWwhBiAFRQ0AIAUQFEEBaiIBQQxLDQAgAyABNgIAQQFBASABdCAFayIDEBQiAXQgA0cNACAAIARqIAFBAWoiADoAACAJIABBAnRqIgAgACgCAEEBajYCACAJKAIEIgBBAkkgAEEBcXINACACIARBAWo2AgAgB0EBaiEGCyAKQZACaiQAIAYLxhEBDH8jAEHwAGsiBSQAQWwhCwJAIANBCkkNACACLwAAIQogAi8AAiEJIAIvAAQhByAFQQhqIAQQDgJAIAMgByAJIApqakEGaiIMSQ0AIAUtAAohCCAFQdgAaiACQQZqIgIgChAGIgsQAw0BIAVBQGsgAiAKaiICIAkQBiILEAMNASAFQShqIAIgCWoiAiAHEAYiCxADDQEgBUEQaiACIAdqIAMgDGsQBiILEAMNASAAIAFqIg9BfWohECAEQQRqIQZBASELIAAgAUEDakECdiIDaiIMIANqIgIgA2oiDiEDIAIhBCAMIQcDQCALIAMgEElxBEAgACAGIAVB2ABqIAgQAkECdGoiCS8BADsAACAFQdgAaiAJLQACEAEgCS0AAyELIAcgBiAFQUBrIAgQAkECdGoiCS8BADsAACAFQUBrIAktAAIQASAJLQADIQogBCAGIAVBKGogCBACQQJ0aiIJLwEAOwAAIAVBKGogCS0AAhABIAktAAMhCSADIAYgBUEQaiAIEAJBAnRqIg0vAQA7AAAgBUEQaiANLQACEAEgDS0AAyENIAAgC2oiCyAGIAVB2ABqIAgQAkECdGoiAC8BADsAACAFQdgAaiAALQACEAEgAC0AAyEAIAcgCmoiCiAGIAVBQGsgCBACQQJ0aiIHLwEAOwAAIAVBQGsgBy0AAhABIActAAMhByAEIAlqIgkgBiAFQShqIAgQAkECdGoiBC8BADsAACAFQShqIAQtAAIQASAELQADIQQgAyANaiIDIAYgBUEQaiAIEAJBAnRqIg0vAQA7AAAgBUEQaiANLQACEAEgACALaiEAIAcgCmohByAEIAlqIQQgAyANLQADaiEDIAVB2ABqEA0gBUFAaxANciAFQShqEA1yIAVBEGoQDXJFIQsMAQsLIAQgDksgByACS3INAEFsIQsgACAMSw0BIAxBfWohCQNAQQAgACAJSSAFQdgAahAEGwRAIAAgBiAFQdgAaiAIEAJBAnRqIgovAQA7AAAgBUHYAGogCi0AAhABIAAgCi0AA2oiACAGIAVB2ABqIAgQAkECdGoiCi8BADsAACAFQdgAaiAKLQACEAEgACAKLQADaiEADAEFIAxBfmohCgNAIAVB2ABqEAQgACAKS3JFBEAgACAGIAVB2ABqIAgQAkECdGoiCS8BADsAACAFQdgAaiAJLQACEAEgACAJLQADaiEADAELCwNAIAAgCk0EQCAAIAYgBUHYAGogCBACQQJ0aiIJLwEAOwAAIAVB2ABqIAktAAIQASAAIAktAANqIQAMAQsLAkAgACAMTw0AIAAgBiAFQdgAaiAIEAIiAEECdGoiDC0AADoAACAMLQADQQFGBEAgBUHYAGogDC0AAhABDAELIAUoAlxBH0sNACAFQdgAaiAGIABBAnRqLQACEAEgBSgCXEEhSQ0AIAVBIDYCXAsgAkF9aiEMA0BBACAHIAxJIAVBQGsQBBsEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiIAIAYgBUFAayAIEAJBAnRqIgcvAQA7AAAgBUFAayAHLQACEAEgACAHLQADaiEHDAEFIAJBfmohDANAIAVBQGsQBCAHIAxLckUEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwNAIAcgDE0EQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwJAIAcgAk8NACAHIAYgBUFAayAIEAIiAEECdGoiAi0AADoAACACLQADQQFGBEAgBUFAayACLQACEAEMAQsgBSgCREEfSw0AIAVBQGsgBiAAQQJ0ai0AAhABIAUoAkRBIUkNACAFQSA2AkQLIA5BfWohAgNAQQAgBCACSSAFQShqEAQbBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2oiACAGIAVBKGogCBACQQJ0aiIELwEAOwAAIAVBKGogBC0AAhABIAAgBC0AA2ohBAwBBSAOQX5qIQIDQCAFQShqEAQgBCACS3JFBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2ohBAwBCwsDQCAEIAJNBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2ohBAwBCwsCQCAEIA5PDQAgBCAGIAVBKGogCBACIgBBAnRqIgItAAA6AAAgAi0AA0EBRgRAIAVBKGogAi0AAhABDAELIAUoAixBH0sNACAFQShqIAYgAEECdGotAAIQASAFKAIsQSFJDQAgBUEgNgIsCwNAQQAgAyAQSSAFQRBqEAQbBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2oiACAGIAVBEGogCBACQQJ0aiICLwEAOwAAIAVBEGogAi0AAhABIAAgAi0AA2ohAwwBBSAPQX5qIQIDQCAFQRBqEAQgAyACS3JFBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2ohAwwBCwsDQCADIAJNBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2ohAwwBCwsCQCADIA9PDQAgAyAGIAVBEGogCBACIgBBAnRqIgItAAA6AAAgAi0AA0EBRgRAIAVBEGogAi0AAhABDAELIAUoAhRBH0sNACAFQRBqIAYgAEECdGotAAIQASAFKAIUQSFJDQAgBUEgNgIUCyABQWwgBUHYAGoQCiAFQUBrEApxIAVBKGoQCnEgBUEQahAKcRshCwwJCwAACwALAAALAAsAAAsACwAACwALQWwhCwsgBUHwAGokACALC7UEAQ5/IwBBEGsiBiQAIAZBBGogABAOQVQhBQJAIARB3AtJDQAgBi0ABCEHIANB8ARqQQBB7AAQECEIIAdBDEsNACADQdwJaiIJIAggBkEIaiAGQQxqIAEgAhAxIhAQA0UEQCAGKAIMIgQgB0sNASADQdwFaiEPIANBpAVqIREgAEEEaiESIANBqAVqIQEgBCEFA0AgBSICQX9qIQUgCCACQQJ0aigCAEUNAAsgAkEBaiEOQQEhBQNAIAUgDk9FBEAgCCAFQQJ0IgtqKAIAIQwgASALaiAKNgIAIAVBAWohBSAKIAxqIQoMAQsLIAEgCjYCAEEAIQUgBigCCCELA0AgBSALRkUEQCABIAUgCWotAAAiDEECdGoiDSANKAIAIg1BAWo2AgAgDyANQQF0aiINIAw6AAEgDSAFOgAAIAVBAWohBQwBCwtBACEBIANBADYCqAUgBEF/cyAHaiEJQQEhBQNAIAUgDk9FBEAgCCAFQQJ0IgtqKAIAIQwgAyALaiABNgIAIAwgBSAJanQgAWohASAFQQFqIQUMAQsLIAcgBEEBaiIBIAJrIgRrQQFqIQgDQEEBIQUgBCAIT0UEQANAIAUgDk9FBEAgBUECdCIJIAMgBEE0bGpqIAMgCWooAgAgBHY2AgAgBUEBaiEFDAELCyAEQQFqIQQMAQsLIBIgByAPIAogESADIAIgARBkIAZBAToABSAGIAc6AAYgACAGKAIENgIACyAQIQULIAZBEGokACAFC8ENAQt/IwBB8ABrIgUkAEFsIQkCQCADQQpJDQAgAi8AACEKIAIvAAIhDCACLwAEIQYgBUEIaiAEEA4CQCADIAYgCiAMampBBmoiDUkNACAFLQAKIQcgBUHYAGogAkEGaiICIAoQBiIJEAMNASAFQUBrIAIgCmoiAiAMEAYiCRADDQEgBUEoaiACIAxqIgIgBhAGIgkQAw0BIAVBEGogAiAGaiADIA1rEAYiCRADDQEgACABaiIOQX1qIQ8gBEEEaiEGQQEhCSAAIAFBA2pBAnYiAmoiCiACaiIMIAJqIg0hAyAMIQQgCiECA0AgCSADIA9JcQRAIAYgBUHYAGogBxACQQF0aiIILQAAIQsgBUHYAGogCC0AARABIAAgCzoAACAGIAVBQGsgBxACQQF0aiIILQAAIQsgBUFAayAILQABEAEgAiALOgAAIAYgBUEoaiAHEAJBAXRqIggtAAAhCyAFQShqIAgtAAEQASAEIAs6AAAgBiAFQRBqIAcQAkEBdGoiCC0AACELIAVBEGogCC0AARABIAMgCzoAACAGIAVB2ABqIAcQAkEBdGoiCC0AACELIAVB2ABqIAgtAAEQASAAIAs6AAEgBiAFQUBrIAcQAkEBdGoiCC0AACELIAVBQGsgCC0AARABIAIgCzoAASAGIAVBKGogBxACQQF0aiIILQAAIQsgBUEoaiAILQABEAEgBCALOgABIAYgBUEQaiAHEAJBAXRqIggtAAAhCyAFQRBqIAgtAAEQASADIAs6AAEgA0ECaiEDIARBAmohBCACQQJqIQIgAEECaiEAIAkgBUHYAGoQDUVxIAVBQGsQDUVxIAVBKGoQDUVxIAVBEGoQDUVxIQkMAQsLIAQgDUsgAiAMS3INAEFsIQkgACAKSw0BIApBfWohCQNAIAVB2ABqEAQgACAJT3JFBEAgBiAFQdgAaiAHEAJBAXRqIggtAAAhCyAFQdgAaiAILQABEAEgACALOgAAIAYgBUHYAGogBxACQQF0aiIILQAAIQsgBUHYAGogCC0AARABIAAgCzoAASAAQQJqIQAMAQsLA0AgBUHYAGoQBCAAIApPckUEQCAGIAVB2ABqIAcQAkEBdGoiCS0AACEIIAVB2ABqIAktAAEQASAAIAg6AAAgAEEBaiEADAELCwNAIAAgCkkEQCAGIAVB2ABqIAcQAkEBdGoiCS0AACEIIAVB2ABqIAktAAEQASAAIAg6AAAgAEEBaiEADAELCyAMQX1qIQADQCAFQUBrEAQgAiAAT3JFBEAgBiAFQUBrIAcQAkEBdGoiCi0AACEJIAVBQGsgCi0AARABIAIgCToAACAGIAVBQGsgBxACQQF0aiIKLQAAIQkgBUFAayAKLQABEAEgAiAJOgABIAJBAmohAgwBCwsDQCAFQUBrEAQgAiAMT3JFBEAgBiAFQUBrIAcQAkEBdGoiAC0AACEKIAVBQGsgAC0AARABIAIgCjoAACACQQFqIQIMAQsLA0AgAiAMSQRAIAYgBUFAayAHEAJBAXRqIgAtAAAhCiAFQUBrIAAtAAEQASACIAo6AAAgAkEBaiECDAELCyANQX1qIQADQCAFQShqEAQgBCAAT3JFBEAgBiAFQShqIAcQAkEBdGoiAi0AACEKIAVBKGogAi0AARABIAQgCjoAACAGIAVBKGogBxACQQF0aiICLQAAIQogBUEoaiACLQABEAEgBCAKOgABIARBAmohBAwBCwsDQCAFQShqEAQgBCANT3JFBEAgBiAFQShqIAcQAkEBdGoiAC0AACECIAVBKGogAC0AARABIAQgAjoAACAEQQFqIQQMAQsLA0AgBCANSQRAIAYgBUEoaiAHEAJBAXRqIgAtAAAhAiAFQShqIAAtAAEQASAEIAI6AAAgBEEBaiEEDAELCwNAIAVBEGoQBCADIA9PckUEQCAGIAVBEGogBxACQQF0aiIALQAAIQIgBUEQaiAALQABEAEgAyACOgAAIAYgBUEQaiAHEAJBAXRqIgAtAAAhAiAFQRBqIAAtAAEQASADIAI6AAEgA0ECaiEDDAELCwNAIAVBEGoQBCADIA5PckUEQCAGIAVBEGogBxACQQF0aiIALQAAIQIgBUEQaiAALQABEAEgAyACOgAAIANBAWohAwwBCwsDQCADIA5JBEAgBiAFQRBqIAcQAkEBdGoiAC0AACECIAVBEGogAC0AARABIAMgAjoAACADQQFqIQMMAQsLIAFBbCAFQdgAahAKIAVBQGsQCnEgBUEoahAKcSAFQRBqEApxGyEJDAELQWwhCQsgBUHwAGokACAJC8oCAQR/IwBBIGsiBSQAIAUgBBAOIAUtAAIhByAFQQhqIAIgAxAGIgIQA0UEQCAEQQRqIQIgACABaiIDQX1qIQQDQCAFQQhqEAQgACAET3JFBEAgAiAFQQhqIAcQAkEBdGoiBi0AACEIIAVBCGogBi0AARABIAAgCDoAACACIAVBCGogBxACQQF0aiIGLQAAIQggBUEIaiAGLQABEAEgACAIOgABIABBAmohAAwBCwsDQCAFQQhqEAQgACADT3JFBEAgAiAFQQhqIAcQAkEBdGoiBC0AACEGIAVBCGogBC0AARABIAAgBjoAACAAQQFqIQAMAQsLA0AgACADT0UEQCACIAVBCGogBxACQQF0aiIELQAAIQYgBUEIaiAELQABEAEgACAGOgAAIABBAWohAAwBCwsgAUFsIAVBCGoQChshAgsgBUEgaiQAIAILtgMBCX8jAEEQayIGJAAgBkEANgIMIAZBADYCCEFUIQQCQAJAIANBQGsiDCADIAZBCGogBkEMaiABIAIQMSICEAMNACAGQQRqIAAQDiAGKAIMIgcgBi0ABEEBaksNASAAQQRqIQogBkEAOgAFIAYgBzoABiAAIAYoAgQ2AgAgB0EBaiEJQQEhBANAIAQgCUkEQCADIARBAnRqIgEoAgAhACABIAU2AgAgACAEQX9qdCAFaiEFIARBAWohBAwBCwsgB0EBaiEHQQAhBSAGKAIIIQkDQCAFIAlGDQEgAyAFIAxqLQAAIgRBAnRqIgBBASAEdEEBdSILIAAoAgAiAWoiADYCACAHIARrIQhBACEEAkAgC0EDTQRAA0AgBCALRg0CIAogASAEakEBdGoiACAIOgABIAAgBToAACAEQQFqIQQMAAALAAsDQCABIABPDQEgCiABQQF0aiIEIAg6AAEgBCAFOgAAIAQgCDoAAyAEIAU6AAIgBCAIOgAFIAQgBToABCAEIAg6AAcgBCAFOgAGIAFBBGohAQwAAAsACyAFQQFqIQUMAAALAAsgAiEECyAGQRBqJAAgBAutAQECfwJAQYQgKAIAIABHIAAoAgBBAXYiAyABa0F4aiICQXhxQQhHcgR/IAIFIAMQJ0UNASACQQhqC0EQSQ0AIAAgACgCACICQQFxIAAgAWpBD2pBeHEiASAAa0EBdHI2AgAgASAANgIEIAEgASgCAEEBcSAAIAJBAXZqIAFrIgJBAXRyNgIAQYQgIAEgAkH/////B3FqQQRqQYQgKAIAIABGGyABNgIAIAEQJQsLygIBBX8CQAJAAkAgAEEIIABBCEsbZ0EfcyAAaUEBR2oiAUEESSAAIAF2cg0AIAFBAnRB/B5qKAIAIgJFDQADQCACQXhqIgMoAgBBAXZBeGoiBSAATwRAIAIgBUEIIAVBCEsbZ0Efc0ECdEGAH2oiASgCAEYEQCABIAIoAgQ2AgALDAMLIARBHksNASAEQQFqIQQgAigCBCICDQALC0EAIQMgAUEgTw0BA0AgAUECdEGAH2ooAgAiAkUEQCABQR5LIQIgAUEBaiEBIAJFDQEMAwsLIAIgAkF4aiIDKAIAQQF2QXhqIgFBCCABQQhLG2dBH3NBAnRBgB9qIgEoAgBGBEAgASACKAIENgIACwsgAigCACIBBEAgASACKAIENgIECyACKAIEIgEEQCABIAIoAgA2AgALIAMgAygCAEEBcjYCACADIAAQNwsgAwvhCwINfwV+IwBB8ABrIgckACAHIAAoAvDhASIINgJcIAEgAmohDSAIIAAoAoDiAWohDwJAAkAgBUUEQCABIQQMAQsgACgCxOABIRAgACgCwOABIREgACgCvOABIQ4gAEEBNgKM4QFBACEIA0AgCEEDRwRAIAcgCEECdCICaiAAIAJqQazQAWooAgA2AkQgCEEBaiEIDAELC0FsIQwgB0EYaiADIAQQBhADDQEgB0EsaiAHQRhqIAAoAgAQEyAHQTRqIAdBGGogACgCCBATIAdBPGogB0EYaiAAKAIEEBMgDUFgaiESIAEhBEEAIQwDQCAHKAIwIAcoAixBA3RqKQIAIhRCEIinQf8BcSEIIAcoAkAgBygCPEEDdGopAgAiFUIQiKdB/wFxIQsgBygCOCAHKAI0QQN0aikCACIWQiCIpyEJIBVCIIghFyAUQiCIpyECAkAgFkIQiKdB/wFxIgNBAk8EQAJAIAZFIANBGUlyRQRAIAkgB0EYaiADQSAgBygCHGsiCiAKIANLGyIKEAUgAyAKayIDdGohCSAHQRhqEAQaIANFDQEgB0EYaiADEAUgCWohCQwBCyAHQRhqIAMQBSAJaiEJIAdBGGoQBBoLIAcpAkQhGCAHIAk2AkQgByAYNwNIDAELAkAgA0UEQCACBEAgBygCRCEJDAMLIAcoAkghCQwBCwJAAkAgB0EYakEBEAUgCSACRWpqIgNBA0YEQCAHKAJEQX9qIgMgA0VqIQkMAQsgA0ECdCAHaigCRCIJIAlFaiEJIANBAUYNAQsgByAHKAJINgJMCwsgByAHKAJENgJIIAcgCTYCRAsgF6chAyALBEAgB0EYaiALEAUgA2ohAwsgCCALakEUTwRAIAdBGGoQBBoLIAgEQCAHQRhqIAgQBSACaiECCyAHQRhqEAQaIAcgB0EYaiAUQhiIp0H/AXEQCCAUp0H//wNxajYCLCAHIAdBGGogFUIYiKdB/wFxEAggFadB//8DcWo2AjwgB0EYahAEGiAHIAdBGGogFkIYiKdB/wFxEAggFqdB//8DcWo2AjQgByACNgJgIAcoAlwhCiAHIAk2AmggByADNgJkAkACQAJAIAQgAiADaiILaiASSw0AIAIgCmoiEyAPSw0AIA0gBGsgC0Egak8NAQsgByAHKQNoNwMQIAcgBykDYDcDCCAEIA0gB0EIaiAHQdwAaiAPIA4gESAQEB4hCwwBCyACIARqIQggBCAKEAcgAkERTwRAIARBEGohAgNAIAIgCkEQaiIKEAcgAkEQaiICIAhJDQALCyAIIAlrIQIgByATNgJcIAkgCCAOa0sEQCAJIAggEWtLBEBBbCELDAILIBAgAiAOayICaiIKIANqIBBNBEAgCCAKIAMQDxoMAgsgCCAKQQAgAmsQDyEIIAcgAiADaiIDNgJkIAggAmshCCAOIQILIAlBEE8EQCADIAhqIQMDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALDAELAkAgCUEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgCUECdCIDQcAeaigCAGoiAhAXIAIgA0HgHmooAgBrIQIgBygCZCEDDAELIAggAhAMCyADQQlJDQAgAyAIaiEDIAhBCGoiCCACQQhqIgJrQQ9MBEADQCAIIAIQDCACQQhqIQIgCEEIaiIIIANJDQAMAgALAAsDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALCyAHQRhqEAQaIAsgDCALEAMiAhshDCAEIAQgC2ogAhshBCAFQX9qIgUNAAsgDBADDQFBbCEMIAdBGGoQBEECSQ0BQQAhCANAIAhBA0cEQCAAIAhBAnQiAmpBrNABaiACIAdqKAJENgIAIAhBAWohCAwBCwsgBygCXCEIC0G6fyEMIA8gCGsiACANIARrSw0AIAQEfyAEIAggABALIABqBUEACyABayEMCyAHQfAAaiQAIAwLkRcCFn8FfiMAQdABayIHJAAgByAAKALw4QEiCDYCvAEgASACaiESIAggACgCgOIBaiETAkACQCAFRQRAIAEhAwwBCyAAKALE4AEhESAAKALA4AEhFSAAKAK84AEhDyAAQQE2AozhAUEAIQgDQCAIQQNHBEAgByAIQQJ0IgJqIAAgAmpBrNABaigCADYCVCAIQQFqIQgMAQsLIAcgETYCZCAHIA82AmAgByABIA9rNgJoQWwhECAHQShqIAMgBBAGEAMNASAFQQQgBUEESBshFyAHQTxqIAdBKGogACgCABATIAdBxABqIAdBKGogACgCCBATIAdBzABqIAdB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IAdB0AFqJAAgEAslACAAQgA3AgAgAEEAOwEIIABBADoACyAAIAE2AgwgACACOgAKC7QFAQN/IwBBMGsiBCQAIABB/wFqIgVBfWohBgJAIAMvAQIEQCAEQRhqIAEgAhAGIgIQAw0BIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahASOgAAIAMgBEEIaiAEQRhqEBI6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0FIAEgBEEQaiAEQRhqEBI6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBSABIARBCGogBEEYahASOgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEjoAACABIAJqIABrIQIMAwsgAyAEQRBqIARBGGoQEjoAAiADIARBCGogBEEYahASOgADIANBBGohAwwAAAsACyAEQRhqIAEgAhAGIgIQAw0AIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahAROgAAIAMgBEEIaiAEQRhqEBE6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0EIAEgBEEQaiAEQRhqEBE6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBCABIARBCGogBEEYahAROgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEToAACABIAJqIABrIQIMAgsgAyAEQRBqIARBGGoQEToAAiADIARBCGogBEEYahAROgADIANBBGohAwwAAAsACyAEQTBqJAAgAgtpAQF/An8CQAJAIAJBB00NACABKAAAQbfIwuF+Rw0AIAAgASgABDYCmOIBQWIgAEEQaiABIAIQPiIDEAMNAhogAEKBgICAEDcDiOEBIAAgASADaiACIANrECoMAQsgACABIAIQKgtBAAsLrQMBBn8jAEGAAWsiAyQAQWIhCAJAIAJBCUkNACAAQZjQAGogAUEIaiIEIAJBeGogAEGY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wOABCwutAgIEfwF+IwBBQGoiBCQAAkACQCACQQhJDQAgASgAAEFwcUHQ1LTCAUcNACABIAIQIiEBIABCADcDCCAAQQA2AgQgACABNgIADAELIARBGGogASACEC0iAxADBEAgACADEBoMAQsgAwRAIABBuH8QGgwBCyACIAQoAjAiA2shAiABIANqIQMDQAJAIAAgAyACIARBCGoQLCIFEAMEfyAFBSACIAVBA2oiBU8NAUG4fwsQGgwCCyAGQQFqIQYgAiAFayECIAMgBWohAyAEKAIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwBBEGsiBSQAIAVBCGogBBAOAn8gBS0ACQRAIAAgASACIAMgBBAyDAELIAAgASACIAMgBBA0CyEAIAVBEGokACAACzQAIAAgAyAEIAUQNiIFEAMEQCAFDwsgBSAESQR/IAEgAiADIAVqIAQgBWsgABA1BUG4fwsLRgEBfyMAQRBrIgUkACAFQQhqIAQQDgJ/IAUtAAkEQCAAIAEgAiADIAQQYgwBCyAAIAEgAiADIAQQNQshACAFQRBqJAAgAAtZAQF/QQ8hAiABIABJBEAgAUEE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";THREE.ZSTDDecoder=Q})();(function(){var BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Color=THREE.Color,FileLoader=THREE.FileLoader,Loader=THREE.Loader,LinearSRGBColorSpace=THREE.LinearSRGBColorSpace,SRGBColorSpace=THREE.SRGBColorSpace;const _taskCache=new WeakMap;class DRACOLoader extends Loader{constructor(manager){super(manager);this.decoderPath="";this.decoderConfig={};this.decoderBinary=null;this.decoderPending=null;this.workerLimit=4;this.workerPool=[];this.workerNextTaskID=1;this.workerSourceURL="";this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"};this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(path){this.decoderPath=path;return this}setDecoderConfig(config){this.decoderConfig=config;return this}setWorkerLimit(workerLimit){this.workerLimit=workerLimit;return this}load(url,onLoad,onProgress,onError){const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,buffer=&gt;{this.parse(buffer,onLoad,onError)},onProgress,onError)}parse(buffer,onLoad,onError=()=&gt;{}){this.decodeDracoFile(buffer,onLoad,null,null,SRGBColorSpace).catch(onError)}decodeDracoFile(buffer,callback,attributeIDs,attributeTypes,vertexColorSpace=LinearSRGBColorSpace,onError=()=&gt;{}){const taskConfig={attributeIDs:attributeIDs||this.defaultAttributeIDs,attributeTypes:attributeTypes||this.defaultAttributeTypes,useUniqueIDs:!!attributeIDs,vertexColorSpace:vertexColorSpace};return this.decodeGeometry(buffer,taskConfig).then(callback).catch(onError)}decodeGeometry(buffer,taskConfig){const taskKey=JSON.stringify(taskConfig);if(_taskCache.has(buffer)){const cachedTask=_taskCache.get(buffer);if(cachedTask.key===taskKey){return cachedTask.promise}else if(buffer.byteLength===0){throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different "+"settings. Buffer has already been transferred.")}}let worker;const taskID=this.workerNextTaskID++;const taskCost=buffer.byteLength;const geometryPending=this._getWorker(taskID,taskCost).then(_worker=&gt;{worker=_worker;return new Promise((resolve,reject)=&gt;{worker._callbacks[taskID]={resolve,reject};worker.postMessage({type:"decode",id:taskID,taskConfig,buffer},[buffer])})}).then(message=&gt;this._createGeometry(message.geometry));geometryPending.catch(()=&gt;true).then(()=&gt;{if(worker&amp;&amp;taskID){this._releaseTask(worker,taskID)}});_taskCache.set(buffer,{key:taskKey,promise:geometryPending});return geometryPending}_createGeometry(geometryData){const geometry=new BufferGeometry;if(geometryData.index){geometry.setIndex(new BufferAttribute(geometryData.index.array,1))}for(let i=0;i&lt;geometryData.attributes.length;i++){const result=geometryData.attributes[i];const name=result.name;const array=result.array;const itemSize=result.itemSize;const attribute=new BufferAttribute(array,itemSize);if(name==="color"){this._assignVertexColorSpace(attribute,result.vertexColorSpace);attribute.normalized=array instanceof Float32Array===false}geometry.setAttribute(name,attribute)}return geometry}_assignVertexColorSpace(attribute,inputColorSpace){if(inputColorSpace!==SRGBColorSpace)return;const _color=new Color;for(let i=0,il=attribute.count;i&lt;il;i++){_color.fromBufferAttribute(attribute,i).convertSRGBToLinear();attribute.setXYZ(i,_color.r,_color.g,_color.b)}}_loadLibrary(url,responseType){const loader=new FileLoader(this.manager);loader.setPath(this.decoderPath);loader.setResponseType(responseType);loader.setWithCredentials(this.withCredentials);return new Promise((resolve,reject)=&gt;{loader.load(url,resolve,undefined,reject)})}preload(){this._initDecoder();return this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const useJS=typeof WebAssembly!=="object"||this.decoderConfig.type==="js";const librariesPending=[];if(useJS){librariesPending.push(this._loadLibrary("draco_decoder.js","text"))}else{librariesPending.push(this._loadLibrary("draco_wasm_wrapper.js","text"));librariesPending.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))}this.decoderPending=Promise.all(librariesPending).then(libraries=&gt;{const jsContent=libraries[0];if(!useJS){this.decoderConfig.wasmBinary=libraries[1]}const fn=DRACOWorker.toString();const body=["/* draco decoder */",jsContent,"","/* worker */",fn.substring(fn.indexOf("{")+1,fn.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([body]))});return this.decoderPending}_getWorker(taskID,taskCost){return this._initDecoder().then(()=&gt;{if(this.workerPool.length&lt;this.workerLimit){const worker=new Worker(this.workerSourceURL);worker._callbacks={};worker._taskCosts={};worker._taskLoad=0;worker.postMessage({type:"init",decoderConfig:this.decoderConfig});worker.onmessage=function(e){const message=e.data;switch(message.type){case"decode":worker._callbacks[message.id].resolve(message);break;case"error":worker._callbacks[message.id].reject(message);break;default:console.error("THREE.DRACOLoader: Unexpected message, \""+message.type+"\"");}};this.workerPool.push(worker)}else{this.workerPool.sort(function(a,b){return a._taskLoad&gt;b._taskLoad?-1:1})}const worker=this.workerPool[this.workerPool.length-1];worker._taskCosts[taskID]=taskCost;worker._taskLoad+=taskCost;return worker})}_releaseTask(worker,taskID){worker._taskLoad-=worker._taskCosts[taskID];delete worker._callbacks[taskID];delete worker._taskCosts[taskID]}debug(){console.log("Task load: ",this.workerPool.map(worker=&gt;worker._taskLoad))}dispose(){for(let i=0;i&lt;this.workerPool.length;++i){this.workerPool[i].terminate()}this.workerPool.length=0;if(this.workerSourceURL!==""){URL.revokeObjectURL(this.workerSourceURL)}return this}}function DRACOWorker(){let decoderConfig;let decoderPending;onmessage=function(e){const message=e.data;switch(message.type){case"init":decoderConfig=message.decoderConfig;decoderPending=new Promise(function(resolve){decoderConfig.onModuleLoaded=function(draco){resolve({draco:draco})};DracoDecoderModule(decoderConfig)});break;case"decode":const buffer=message.buffer;const taskConfig=message.taskConfig;decoderPending.then(module=&gt;{const draco=module.draco;const decoder=new draco.Decoder;try{const geometry=decodeGeometry(draco,decoder,new Int8Array(buffer),taskConfig);const buffers=geometry.attributes.map(attr=&gt;attr.array.buffer);if(geometry.index)buffers.push(geometry.index.array.buffer);self.postMessage({type:"decode",id:message.id,geometry},buffers)}catch(error){console.error(error);self.postMessage({type:"error",id:message.id,error:error.message})}finally{draco.destroy(decoder)}});break;}};function decodeGeometry(draco,decoder,array,taskConfig){const attributeIDs=taskConfig.attributeIDs;const attributeTypes=taskConfig.attributeTypes;let dracoGeometry;let decodingStatus;const geometryType=decoder.GetEncodedGeometryType(array);if(geometryType===draco.TRIANGULAR_MESH){dracoGeometry=new draco.Mesh;decodingStatus=decoder.DecodeArrayToMesh(array,array.byteLength,dracoGeometry)}else if(geometryType===draco.POINT_CLOUD){dracoGeometry=new draco.PointCloud;decodingStatus=decoder.DecodeArrayToPointCloud(array,array.byteLength,dracoGeometry)}else{throw new Error("THREE.DRACOLoader: Unexpected geometry type.")}if(!decodingStatus.ok()||dracoGeometry.ptr===0){throw new Error("THREE.DRACOLoader: Decoding failed: "+decodingStatus.error_msg())}const geometry={index:null,attributes:[]};for(const attributeName in attributeIDs){const attributeType=self[attributeTypes[attributeName]];let attribute;let attributeID;if(taskConfig.useUniqueIDs){attributeID=attributeIDs[attributeName];attribute=decoder.GetAttributeByUniqueId(dracoGeometry,attributeID)}else{attributeID=decoder.GetAttributeId(dracoGeometry,draco[attributeIDs[attributeName]]);if(attributeID===-1)continue;attribute=decoder.GetAttribute(dracoGeometry,attributeID)}const attributeResult=decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute);if(attributeName==="color"){attributeResult.vertexColorSpace=taskConfig.vertexColorSpace}geometry.attributes.push(attributeResult)}if(geometryType===draco.TRIANGULAR_MESH){geometry.index=decodeIndex(draco,decoder,dracoGeometry)}draco.destroy(dracoGeometry);return geometry}function decodeIndex(draco,decoder,dracoGeometry){const numFaces=dracoGeometry.num_faces();const numIndices=numFaces*3;const byteLength=numIndices*4;const ptr=draco._malloc(byteLength);decoder.GetTrianglesUInt32Array(dracoGeometry,byteLength,ptr);const index=new Uint32Array(draco.HEAPF32.buffer,ptr,numIndices).slice();draco._free(ptr);return{array:index,itemSize:1}}function decodeAttribute(draco,decoder,dracoGeometry,attributeName,attributeType,attribute){const numComponents=attribute.num_components();const numPoints=dracoGeometry.num_points();const numValues=numPoints*numComponents;const byteLength=numValues*attributeType.BYTES_PER_ELEMENT;const dataType=getDracoDataType(draco,attributeType);const ptr=draco._malloc(byteLength);decoder.GetAttributeDataArrayForAllPoints(dracoGeometry,attribute,dataType,byteLength,ptr);const array=new attributeType(draco.HEAPF32.buffer,ptr,numValues).slice();draco._free(ptr);return{name:attributeName,array:array,itemSize:numComponents}}function getDracoDataType(draco,attributeType){switch(attributeType){case Float32Array:return draco.DT_FLOAT32;case Int8Array:return draco.DT_INT8;case Int16Array:return draco.DT_INT16;case Int32Array:return draco.DT_INT32;case Uint8Array:return draco.DT_UINT8;case Uint16Array:return draco.DT_UINT16;case Uint32Array:return draco.DT_UINT32;}}}THREE.DRACOLoader=DRACOLoader})();(function(e){var modifiedJSON={};modifiedJSON.parse=function(data){json=JSON.parse(data);json.nodes&amp;&amp;json.nodes.forEach((node,index)=&gt;{(node.extras||(node.extras={})).id=index.toString()});return json};e(modifiedJSON)})(function(JSON){(function(){var AnimationClip=THREE.AnimationClip,Bone=THREE.Bone,Box3=THREE.Box3,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,ClampToEdgeWrapping=THREE.ClampToEdgeWrapping,Color=THREE.Color,ColorManagement=THREE.ColorManagement,DirectionalLight=THREE.DirectionalLight,DoubleSide=THREE.DoubleSide,FileLoader=THREE.FileLoader,FrontSide=THREE.FrontSide,Group=THREE.Group,ImageBitmapLoader=THREE.ImageBitmapLoader,InstancedMesh=THREE.InstancedMesh,InterleavedBuffer=THREE.InterleavedBuffer,InterleavedBufferAttribute=THREE.InterleavedBufferAttribute,Interpolant=THREE.Interpolant,InterpolateDiscrete=THREE.InterpolateDiscrete,InterpolateLinear=THREE.InterpolateLinear,Line=THREE.Line,LineBasicMaterial=THREE.LineBasicMaterial,LineLoop=THREE.LineLoop,LineSegments=THREE.LineSegments,LinearFilter=THREE.LinearFilter,LinearMipmapLinearFilter=THREE.LinearMipmapLinearFilter,LinearMipmapNearestFilter=THREE.LinearMipmapNearestFilter,LinearSRGBColorSpace=THREE.LinearSRGBColorSpace,Loader=THREE.Loader,LoaderUtils=THREE.LoaderUtils,Material=THREE.Material,MathUtils=THREE.MathUtils,Matrix4=THREE.Matrix4,Mesh=THREE.Mesh,MeshBasicMaterial=THREE.MeshBasicMaterial,MeshPhysicalMaterial=THREE.MeshPhysicalMaterial,MeshStandardMaterial=THREE.MeshStandardMaterial,MirroredRepeatWrapping=THREE.MirroredRepeatWrapping,NearestFilter=THREE.NearestFilter,NearestMipmapLinearFilter=THREE.NearestMipmapLinearFilter,NearestMipmapNearestFilter=THREE.NearestMipmapNearestFilter,NumberKeyframeTrack=THREE.NumberKeyframeTrack,Object3D=THREE.Object3D,OrthographicCamera=THREE.OrthographicCamera,PerspectiveCamera=THREE.PerspectiveCamera,PointLight=THREE.PointLight,Points=THREE.Points,PointsMaterial=THREE.PointsMaterial,PropertyBinding=THREE.PropertyBinding,Quaternion=THREE.Quaternion,QuaternionKeyframeTrack=THREE.QuaternionKeyframeTrack,RepeatWrapping=THREE.RepeatWrapping,Skeleton=THREE.Skeleton,SkinnedMesh=THREE.SkinnedMesh,Sphere=THREE.Sphere,SpotLight=THREE.SpotLight,Texture=THREE.Texture,TextureLoader=THREE.TextureLoader,TriangleFanDrawMode=THREE.TriangleFanDrawMode,TriangleStripDrawMode=THREE.TriangleStripDrawMode,Vector2=THREE.Vector2,Vector3=THREE.Vector3,VectorKeyframeTrack=THREE.VectorKeyframeTrack,SRGBColorSpace=THREE.SRGBColorSpace,InstancedBufferAttribute=THREE.InstancedBufferAttribute;var toTrianglesDrawMode=THREE.BufferGeometryUtils.toTrianglesDrawMode;class GLTFLoader extends Loader{constructor(manager){super(manager);this.dracoLoader=null;this.ktx2Loader=null;this.meshoptDecoder=null;this.pluginCallbacks=[];this.register(function(parser){return new GLTFMaterialsClearcoatExtension(parser)});this.register(function(parser){return new GLTFMaterialsDispersionExtension(parser)});this.register(function(parser){return new GLTFTextureBasisUExtension(parser)});this.register(function(parser){return new GLTFTextureWebPExtension(parser)});this.register(function(parser){return new GLTFTextureAVIFExtension(parser)});this.register(function(parser){return new GLTFMaterialsSheenExtension(parser)});this.register(function(parser){return new GLTFMaterialsTransmissionExtension(parser)});this.register(function(parser){return new GLTFMaterialsVolumeExtension(parser)});this.register(function(parser){return new GLTFMaterialsIorExtension(parser)});this.register(function(parser){return new GLTFMaterialsEmissiveStrengthExtension(parser)});this.register(function(parser){return new GLTFMaterialsSpecularExtension(parser)});this.register(function(parser){return new GLTFMaterialsIridescenceExtension(parser)});this.register(function(parser){return new GLTFMaterialsAnisotropyExtension(parser)});this.register(function(parser){return new GLTFMaterialsBumpExtension(parser)});this.register(function(parser){return new GLTFLightsExtension(parser)});this.register(function(parser){return new GLTFMeshoptCompression(parser)});this.register(function(parser){return new GLTFMeshGpuInstancing(parser)})}load(url,onLoad,onProgress,onError){const scope=this;let resourcePath;if(this.resourcePath!==""){resourcePath=this.resourcePath}else if(this.path!==""){const relativeUrl=LoaderUtils.extractUrlBase(url);resourcePath=LoaderUtils.resolveURL(relativeUrl,this.path)}else{resourcePath=LoaderUtils.extractUrlBase(url)}this.manager.itemStart(url);const _onError=function(e){if(onError){onError(e)}else{console.error(e)}scope.manager.itemError(url);scope.manager.itemEnd(url)};const loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setResponseType("arraybuffer");loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);loader.load(url,function(data){try{scope.parse(data,resourcePath,function(gltf){onLoad(gltf);scope.manager.itemEnd(url)},_onError)}catch(e){_onError(e)}},onProgress,_onError)}setDRACOLoader(dracoLoader){this.dracoLoader=dracoLoader;return this}setDDSLoader(){throw new Error("THREE.GLTFLoader: \"MSFT_texture_dds\" no longer supported. Please update to \"KHR_texture_basisu\".")}setKTX2Loader(ktx2Loader){this.ktx2Loader=ktx2Loader;return this}setMeshoptDecoder(meshoptDecoder){this.meshoptDecoder=meshoptDecoder;return this}register(callback){if(this.pluginCallbacks.indexOf(callback)===-1){this.pluginCallbacks.push(callback)}return this}unregister(callback){if(this.pluginCallbacks.indexOf(callback)!==-1){this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(callback),1)}return this}parse(data,path,onLoad,onError){let json;const extensions={};const plugins={};const textDecoder=new TextDecoder;if(typeof data==="string"){json=JSON.parse(data)}else if(data instanceof ArrayBuffer){const magic=textDecoder.decode(new Uint8Array(data,0,4));if(magic===BINARY_EXTENSION_HEADER_MAGIC){try{extensions[EXTENSIONS.KHR_BINARY_GLTF]=new GLTFBinaryExtension(data)}catch(error){if(onError)onError(error);return}json=JSON.parse(extensions[EXTENSIONS.KHR_BINARY_GLTF].content)}else{json=JSON.parse(textDecoder.decode(data))}}else{json=data}if(json.asset===undefined||json.asset.version[0]&lt;2){if(onError)onError(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions &gt;=2.0 are supported."));return}const parser=new GLTFParser(json,{path:path||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});parser.fileLoader.setRequestHeader(this.requestHeader);for(let i=0;i&lt;this.pluginCallbacks.length;i++){const plugin=this.pluginCallbacks[i](parser);if(!plugin.name)console.error("THREE.GLTFLoader: Invalid plugin found: missing name");plugins[plugin.name]=plugin;extensions[plugin.name]=true}if(json.extensionsUsed){for(let i=0;i&lt;json.extensionsUsed.length;++i){const extensionName=json.extensionsUsed[i];const extensionsRequired=json.extensionsRequired||[];switch(extensionName){case EXTENSIONS.KHR_MATERIALS_UNLIT:extensions[extensionName]=new GLTFMaterialsUnlitExtension;break;case EXTENSIONS.KHR_DRACO_MESH_COMPRESSION:extensions[extensionName]=new GLTFDracoMeshCompressionExtension(json,this.dracoLoader);break;case EXTENSIONS.KHR_TEXTURE_TRANSFORM:extensions[extensionName]=new GLTFTextureTransformExtension;break;case EXTENSIONS.KHR_MESH_QUANTIZATION:extensions[extensionName]=new GLTFMeshQuantizationExtension;break;default:if(extensionsRequired.indexOf(extensionName)&gt;=0&amp;&amp;plugins[extensionName]===undefined){console.warn("THREE.GLTFLoader: Unknown extension \""+extensionName+"\".")}}}}parser.setExtensions(extensions);parser.setPlugins(plugins);parser.parse(onLoad,onError)}parseAsync(data,path){const scope=this;return new Promise(function(resolve,reject){scope.parse(data,path,resolve,reject)})}}function GLTFRegistry(){let objects={};return{get:function(key){return objects[key]},add:function(key,object){objects[key]=object},remove:function(key){delete objects[key]},removeAll:function(){objects={}}}}const EXTENSIONS={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class GLTFLightsExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_LIGHTS_PUNCTUAL;this.cache={refs:{},uses:{}}}_markDefs(){const parser=this.parser;const nodeDefs=this.parser.json.nodes||[];for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex&lt;nodeLength;nodeIndex++){const nodeDef=nodeDefs[nodeIndex];if(nodeDef.extensions&amp;&amp;nodeDef.extensions[this.name]&amp;&amp;nodeDef.extensions[this.name].light!==undefined){parser._addNodeRef(this.cache,nodeDef.extensions[this.name].light)}}}_loadLight(lightIndex){const parser=this.parser;const cacheKey="light:"+lightIndex;let dependency=parser.cache.get(cacheKey);if(dependency)return dependency;const json=parser.json;const extensions=json.extensions&amp;&amp;json.extensions[this.name]||{};const lightDefs=extensions.lights||[];const lightDef=lightDefs[lightIndex];let lightNode;const color=new Color(16777215);if(lightDef.color!==undefined)color.setRGB(lightDef.color[0],lightDef.color[1],lightDef.color[2],LinearSRGBColorSpace);const range=lightDef.range!==undefined?lightDef.range:0;switch(lightDef.type){case"directional":lightNode=new DirectionalLight(color);lightNode.target.position.set(0,0,-1);lightNode.add(lightNode.target);break;case"point":lightNode=new PointLight(color);lightNode.distance=range;break;case"spot":lightNode=new SpotLight(color);lightNode.distance=range;lightDef.spot=lightDef.spot||{};lightDef.spot.innerConeAngle=lightDef.spot.innerConeAngle!==undefined?lightDef.spot.innerConeAngle:0;lightDef.spot.outerConeAngle=lightDef.spot.outerConeAngle!==undefined?lightDef.spot.outerConeAngle:Math.PI/4;lightNode.angle=lightDef.spot.outerConeAngle;lightNode.penumbra=1-lightDef.spot.innerConeAngle/lightDef.spot.outerConeAngle;lightNode.target.position.set(0,0,-1);lightNode.add(lightNode.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+lightDef.type);}lightNode.position.set(0,0,0);lightNode.decay=2;assignExtrasToUserData(lightNode,lightDef);if(lightDef.intensity!==undefined)lightNode.intensity=lightDef.intensity;lightNode.name=parser.createUniqueName(lightDef.name||"light_"+lightIndex);dependency=Promise.resolve(lightNode);parser.cache.add(cacheKey,dependency);return dependency}getDependency(type,index){if(type!=="light")return;return this._loadLight(index)}createNodeAttachment(nodeIndex){const self=this;const parser=this.parser;const json=parser.json;const nodeDef=json.nodes[nodeIndex];const lightDef=nodeDef.extensions&amp;&amp;nodeDef.extensions[this.name]||{};const lightIndex=lightDef.light;if(lightIndex===undefined)return null;return this._loadLight(lightIndex).then(function(light){return parser._getNodeRef(self.cache,lightIndex,light)})}}class GLTFMaterialsUnlitExtension{constructor(){this.name=EXTENSIONS.KHR_MATERIALS_UNLIT}getMaterialType(){return MeshBasicMaterial}extendParams(materialParams,materialDef,parser){const pending=[];materialParams.color=new Color(1,1,1);materialParams.opacity=1;const metallicRoughness=materialDef.pbrMetallicRoughness;if(metallicRoughness){if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.setRGB(array[0],array[1],array[2],LinearSRGBColorSpace);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,SRGBColorSpace))}}return Promise.all(pending)}}class GLTFMaterialsEmissiveStrengthExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const emissiveStrength=materialDef.extensions[this.name].emissiveStrength;if(emissiveStrength!==undefined){materialParams.emissiveIntensity=emissiveStrength}return Promise.resolve()}}class GLTFMaterialsClearcoatExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_CLEARCOAT}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.clearcoatFactor!==undefined){materialParams.clearcoat=extension.clearcoatFactor}if(extension.clearcoatTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatMap",extension.clearcoatTexture))}if(extension.clearcoatRoughnessFactor!==undefined){materialParams.clearcoatRoughness=extension.clearcoatRoughnessFactor}if(extension.clearcoatRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatRoughnessMap",extension.clearcoatRoughnessTexture))}if(extension.clearcoatNormalTexture!==undefined){pending.push(parser.assignTexture(materialParams,"clearcoatNormalMap",extension.clearcoatNormalTexture));if(extension.clearcoatNormalTexture.scale!==undefined){const scale=extension.clearcoatNormalTexture.scale;materialParams.clearcoatNormalScale=new Vector2(scale,scale)}}return Promise.all(pending)}}class GLTFMaterialsDispersionExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_DISPERSION}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const extension=materialDef.extensions[this.name];materialParams.dispersion=extension.dispersion!==undefined?extension.dispersion:0;return Promise.resolve()}}class GLTFMaterialsIridescenceExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_IRIDESCENCE}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.iridescenceFactor!==undefined){materialParams.iridescence=extension.iridescenceFactor}if(extension.iridescenceTexture!==undefined){pending.push(parser.assignTexture(materialParams,"iridescenceMap",extension.iridescenceTexture))}if(extension.iridescenceIor!==undefined){materialParams.iridescenceIOR=extension.iridescenceIor}if(materialParams.iridescenceThicknessRange===undefined){materialParams.iridescenceThicknessRange=[100,400]}if(extension.iridescenceThicknessMinimum!==undefined){materialParams.iridescenceThicknessRange[0]=extension.iridescenceThicknessMinimum}if(extension.iridescenceThicknessMaximum!==undefined){materialParams.iridescenceThicknessRange[1]=extension.iridescenceThicknessMaximum}if(extension.iridescenceThicknessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"iridescenceThicknessMap",extension.iridescenceThicknessTexture))}return Promise.all(pending)}}class GLTFMaterialsSheenExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_SHEEN}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];materialParams.sheenColor=new Color(0,0,0);materialParams.sheenRoughness=0;materialParams.sheen=1;const extension=materialDef.extensions[this.name];if(extension.sheenColorFactor!==undefined){const colorFactor=extension.sheenColorFactor;materialParams.sheenColor.setRGB(colorFactor[0],colorFactor[1],colorFactor[2],LinearSRGBColorSpace)}if(extension.sheenRoughnessFactor!==undefined){materialParams.sheenRoughness=extension.sheenRoughnessFactor}if(extension.sheenColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"sheenColorMap",extension.sheenColorTexture,SRGBColorSpace))}if(extension.sheenRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"sheenRoughnessMap",extension.sheenRoughnessTexture))}return Promise.all(pending)}}class GLTFMaterialsTransmissionExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_TRANSMISSION}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.transmissionFactor!==undefined){materialParams.transmission=extension.transmissionFactor}if(extension.transmissionTexture!==undefined){pending.push(parser.assignTexture(materialParams,"transmissionMap",extension.transmissionTexture))}return Promise.all(pending)}}class GLTFMaterialsVolumeExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_VOLUME}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];materialParams.thickness=extension.thicknessFactor!==undefined?extension.thicknessFactor:0;if(extension.thicknessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"thicknessMap",extension.thicknessTexture))}materialParams.attenuationDistance=extension.attenuationDistance||Infinity;const colorArray=extension.attenuationColor||[1,1,1];materialParams.attenuationColor=new Color().setRGB(colorArray[0],colorArray[1],colorArray[2],LinearSRGBColorSpace);return Promise.all(pending)}}class GLTFMaterialsIorExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_IOR}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const extension=materialDef.extensions[this.name];materialParams.ior=extension.ior!==undefined?extension.ior:1.5;return Promise.resolve()}}class GLTFMaterialsSpecularExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_SPECULAR}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];materialParams.specularIntensity=extension.specularFactor!==undefined?extension.specularFactor:1;if(extension.specularTexture!==undefined){pending.push(parser.assignTexture(materialParams,"specularIntensityMap",extension.specularTexture))}const colorArray=extension.specularColorFactor||[1,1,1];materialParams.specularColor=new Color().setRGB(colorArray[0],colorArray[1],colorArray[2],LinearSRGBColorSpace);if(extension.specularColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"specularColorMap",extension.specularColorTexture,SRGBColorSpace))}return Promise.all(pending)}}class GLTFMaterialsBumpExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_MATERIALS_BUMP}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];materialParams.bumpScale=extension.bumpFactor!==undefined?extension.bumpFactor:1;if(extension.bumpTexture!==undefined){pending.push(parser.assignTexture(materialParams,"bumpMap",extension.bumpTexture))}return Promise.all(pending)}}class GLTFMaterialsAnisotropyExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_MATERIALS_ANISOTROPY}getMaterialType(materialIndex){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name])return null;return MeshPhysicalMaterial}extendMaterialParams(materialIndex,materialParams){const parser=this.parser;const materialDef=parser.json.materials[materialIndex];if(!materialDef.extensions||!materialDef.extensions[this.name]){return Promise.resolve()}const pending=[];const extension=materialDef.extensions[this.name];if(extension.anisotropyStrength!==undefined){materialParams.anisotropy=extension.anisotropyStrength}if(extension.anisotropyRotation!==undefined){materialParams.anisotropyRotation=extension.anisotropyRotation}if(extension.anisotropyTexture!==undefined){pending.push(parser.assignTexture(materialParams,"anisotropyMap",extension.anisotropyTexture))}return Promise.all(pending)}}class GLTFTextureBasisUExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.KHR_TEXTURE_BASISU}loadTexture(textureIndex){const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[this.name]){return null}const extension=textureDef.extensions[this.name];const loader=parser.options.ktx2Loader;if(!loader){if(json.extensionsRequired&amp;&amp;json.extensionsRequired.indexOf(this.name)&gt;=0){throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures")}else{return null}}return parser.loadTextureImage(textureIndex,extension.source,loader)}}class GLTFTextureWebPExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_WEBP;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then(function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,extension.source,loader);if(json.extensionsRequired&amp;&amp;json.extensionsRequired.indexOf(name)&gt;=0){throw new Error("THREE.GLTFLoader: WebP required by asset but unsupported.")}return parser.loadTexture(textureIndex)})}detectSupport(){if(!this.isSupported){this.isSupported=new Promise(function(resolve){const image=new Image;image.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA";image.onload=image.onerror=function(){resolve(image.height===1)}})}return this.isSupported}}class GLTFTextureAVIFExtension{constructor(parser){this.parser=parser;this.name=EXTENSIONS.EXT_TEXTURE_AVIF;this.isSupported=null}loadTexture(textureIndex){const name=this.name;const parser=this.parser;const json=parser.json;const textureDef=json.textures[textureIndex];if(!textureDef.extensions||!textureDef.extensions[name]){return null}const extension=textureDef.extensions[name];const source=json.images[extension.source];let loader=parser.textureLoader;if(source.uri){const handler=parser.options.manager.getHandler(source.uri);if(handler!==null)loader=handler}return this.detectSupport().then(function(isSupported){if(isSupported)return parser.loadTextureImage(textureIndex,extension.source,loader);if(json.extensionsRequired&amp;&amp;json.extensionsRequired.indexOf(name)&gt;=0){throw new Error("THREE.GLTFLoader: AVIF required by asset but unsupported.")}return parser.loadTexture(textureIndex)})}detectSupport(){if(!this.isSupported){this.isSupported=new Promise(function(resolve){const image=new Image;image.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=";image.onload=image.onerror=function(){resolve(image.height===1)}})}return this.isSupported}}class GLTFMeshoptCompression{constructor(parser){this.name=EXTENSIONS.EXT_MESHOPT_COMPRESSION;this.parser=parser}loadBufferView(index){const json=this.parser.json;const bufferView=json.bufferViews[index];if(bufferView.extensions&amp;&amp;bufferView.extensions[this.name]){const extensionDef=bufferView.extensions[this.name];const buffer=this.parser.getDependency("buffer",extensionDef.buffer);const decoder=this.parser.options.meshoptDecoder;if(!decoder||!decoder.supported){if(json.extensionsRequired&amp;&amp;json.extensionsRequired.indexOf(this.name)&gt;=0){throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files")}else{return null}}return buffer.then(function(res){const byteOffset=extensionDef.byteOffset||0;const byteLength=extensionDef.byteLength||0;const count=extensionDef.count;const stride=extensionDef.byteStride;const source=new Uint8Array(res,byteOffset,byteLength);if(decoder.decodeGltfBufferAsync){return decoder.decodeGltfBufferAsync(count,stride,source,extensionDef.mode,extensionDef.filter).then(function(res){return res.buffer})}else{return decoder.ready.then(function(){const result=new ArrayBuffer(count*stride);decoder.decodeGltfBuffer(new Uint8Array(result),count,stride,source,extensionDef.mode,extensionDef.filter);return result})}})}else{return null}}}class GLTFMeshGpuInstancing{constructor(parser){this.name=EXTENSIONS.EXT_MESH_GPU_INSTANCING;this.parser=parser}createNodeMesh(nodeIndex){const json=this.parser.json;const nodeDef=json.nodes[nodeIndex];if(!nodeDef.extensions||!nodeDef.extensions[this.name]||nodeDef.mesh===undefined){return null}const meshDef=json.meshes[nodeDef.mesh];for(const primitive of meshDef.primitives){if(primitive.mode!==WEBGL_CONSTANTS.TRIANGLES&amp;&amp;primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_STRIP&amp;&amp;primitive.mode!==WEBGL_CONSTANTS.TRIANGLE_FAN&amp;&amp;primitive.mode!==undefined){return null}}const extensionDef=nodeDef.extensions[this.name];const attributesDef=extensionDef.attributes;const pending=[];const attributes={};for(const key in attributesDef){pending.push(this.parser.getDependency("accessor",attributesDef[key]).then(accessor=&gt;{attributes[key]=accessor;return attributes[key]}))}if(pending.length&lt;1){return null}pending.push(this.parser.createNodeMesh(nodeIndex));return Promise.all(pending).then(results=&gt;{const nodeObject=results.pop();const meshes=nodeObject.isGroup?nodeObject.children:[nodeObject];const count=results[0].count;const instancedMeshes=[];for(const mesh of meshes){const m=new Matrix4;const p=new Vector3;const q=new Quaternion;const s=new Vector3(1,1,1);const instancedMesh=new InstancedMesh(mesh.geometry,mesh.material,count);for(let i=0;i&lt;count;i++){if(attributes.TRANSLATION){p.fromBufferAttribute(attributes.TRANSLATION,i)}if(attributes.ROTATION){q.fromBufferAttribute(attributes.ROTATION,i)}if(attributes.SCALE){s.fromBufferAttribute(attributes.SCALE,i)}instancedMesh.setMatrixAt(i,m.compose(p,q,s))}for(const attributeName in attributes){if(attributeName==="_COLOR_0"){const attr=attributes[attributeName];instancedMesh.instanceColor=new InstancedBufferAttribute(attr.array,attr.itemSize,attr.normalized)}else if(attributeName!=="TRANSLATION"&amp;&amp;attributeName!=="ROTATION"&amp;&amp;attributeName!=="SCALE"){mesh.geometry.setAttribute(attributeName,attributes[attributeName])}}Object3D.prototype.copy.call(instancedMesh,mesh);this.parser.assignFinalMaterial(instancedMesh);instancedMeshes.push(instancedMesh)}if(nodeObject.isGroup){nodeObject.clear();nodeObject.add(...instancedMeshes);return nodeObject}return instancedMeshes[0]})}}const BINARY_EXTENSION_HEADER_MAGIC="glTF";const BINARY_EXTENSION_HEADER_LENGTH=12;const BINARY_EXTENSION_CHUNK_TYPES={JSON:1313821514,BIN:5130562};class GLTFBinaryExtension{constructor(data){this.name=EXTENSIONS.KHR_BINARY_GLTF;this.content=null;this.body=null;const headerView=new DataView(data,0,BINARY_EXTENSION_HEADER_LENGTH);const textDecoder=new TextDecoder;this.header={magic:textDecoder.decode(new Uint8Array(data.slice(0,4))),version:headerView.getUint32(4,true),length:headerView.getUint32(8,true)};if(this.header.magic!==BINARY_EXTENSION_HEADER_MAGIC){throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.")}else if(this.header.version&lt;2){throw new Error("THREE.GLTFLoader: Legacy binary file detected.")}const chunkContentsLength=this.header.length-BINARY_EXTENSION_HEADER_LENGTH;const chunkView=new DataView(data,BINARY_EXTENSION_HEADER_LENGTH);let chunkIndex=0;while(chunkIndex&lt;chunkContentsLength){const chunkLength=chunkView.getUint32(chunkIndex,true);chunkIndex+=4;const chunkType=chunkView.getUint32(chunkIndex,true);chunkIndex+=4;if(chunkType===BINARY_EXTENSION_CHUNK_TYPES.JSON){const contentArray=new Uint8Array(data,BINARY_EXTENSION_HEADER_LENGTH+chunkIndex,chunkLength);this.content=textDecoder.decode(contentArray)}else if(chunkType===BINARY_EXTENSION_CHUNK_TYPES.BIN){const byteOffset=BINARY_EXTENSION_HEADER_LENGTH+chunkIndex;this.body=data.slice(byteOffset,byteOffset+chunkLength)}chunkIndex+=chunkLength}if(this.content===null){throw new Error("THREE.GLTFLoader: JSON content not found.")}}}class GLTFDracoMeshCompressionExtension{constructor(json,dracoLoader){if(!dracoLoader){throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.")}this.name=EXTENSIONS.KHR_DRACO_MESH_COMPRESSION;this.json=json;this.dracoLoader=dracoLoader;this.dracoLoader.preload()}decodePrimitive(primitive,parser){const json=this.json;const dracoLoader=this.dracoLoader;const bufferViewIndex=primitive.extensions[this.name].bufferView;const gltfAttributeMap=primitive.extensions[this.name].attributes;const threeAttributeMap={};const attributeNormalizedMap={};const attributeTypeMap={};for(const attributeName in gltfAttributeMap){const threeAttributeName=ATTRIBUTES[attributeName]||attributeName.toLowerCase();threeAttributeMap[threeAttributeName]=gltfAttributeMap[attributeName]}for(const attributeName in primitive.attributes){const threeAttributeName=ATTRIBUTES[attributeName]||attributeName.toLowerCase();if(gltfAttributeMap[attributeName]!==undefined){const accessorDef=json.accessors[primitive.attributes[attributeName]];const componentType=WEBGL_COMPONENT_TYPES[accessorDef.componentType];attributeTypeMap[threeAttributeName]=componentType.name;attributeNormalizedMap[threeAttributeName]=accessorDef.normalized===true}}return parser.getDependency("bufferView",bufferViewIndex).then(function(bufferView){return new Promise(function(resolve,reject){dracoLoader.decodeDracoFile(bufferView,function(geometry){for(const attributeName in geometry.attributes){const attribute=geometry.attributes[attributeName];const normalized=attributeNormalizedMap[attributeName];if(normalized!==undefined)attribute.normalized=normalized}resolve(geometry)},threeAttributeMap,attributeTypeMap,LinearSRGBColorSpace,reject)})})}}class GLTFTextureTransformExtension{constructor(){this.name=EXTENSIONS.KHR_TEXTURE_TRANSFORM}extendTexture(texture,transform){if((transform.texCoord===undefined||transform.texCoord===texture.channel)&amp;&amp;transform.offset===undefined&amp;&amp;transform.rotation===undefined&amp;&amp;transform.scale===undefined){return texture}texture=texture.clone();if(transform.texCoord!==undefined){texture.channel=transform.texCoord}if(transform.offset!==undefined){texture.offset.fromArray(transform.offset)}if(transform.rotation!==undefined){texture.rotation=transform.rotation}if(transform.scale!==undefined){texture.repeat.fromArray(transform.scale)}texture.needsUpdate=true;return texture}}class GLTFMeshQuantizationExtension{constructor(){this.name=EXTENSIONS.KHR_MESH_QUANTIZATION}}class GLTFCubicSplineInterpolant extends Interpolant{constructor(parameterPositions,sampleValues,sampleSize,resultBuffer){super(parameterPositions,sampleValues,sampleSize,resultBuffer)}copySampleValue_(index){const result=this.resultBuffer,values=this.sampleValues,valueSize=this.valueSize,offset=index*valueSize*3+valueSize;for(let i=0;i!==valueSize;i++){result[i]=values[offset+i]}return result}interpolate_(i1,t0,t,t1){const result=this.resultBuffer;const values=this.sampleValues;const stride=this.valueSize;const stride2=stride*2;const stride3=stride*3;const td=t1-t0;const p=(t-t0)/td;const pp=p*p;const ppp=pp*p;const offset1=i1*stride3;const offset0=offset1-stride3;const s2=-2*ppp+3*pp;const s3=ppp-pp;const s0=1-s2;const s1=s3-pp+p;for(let i=0;i!==stride;i++){const p0=values[offset0+i+stride];const m0=values[offset0+i+stride2]*td;const p1=values[offset1+i+stride];const m1=values[offset1+i]*td;result[i]=s0*p0+s1*m0+s2*p1+s3*m1}return result}}const _q=new Quaternion;class GLTFCubicSplineQuaternionInterpolant extends GLTFCubicSplineInterpolant{interpolate_(i1,t0,t,t1){const result=super.interpolate_(i1,t0,t,t1);_q.fromArray(result).normalize().toArray(result);return result}}const WEBGL_CONSTANTS={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123};const WEBGL_COMPONENT_TYPES={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array};const WEBGL_FILTERS={9728:NearestFilter,9729:LinearFilter,9984:NearestMipmapNearestFilter,9985:LinearMipmapNearestFilter,9986:NearestMipmapLinearFilter,9987:LinearMipmapLinearFilter};const WEBGL_WRAPPINGS={33071:ClampToEdgeWrapping,33648:MirroredRepeatWrapping,10497:RepeatWrapping};const WEBGL_TYPE_SIZES={"SCALAR":1,"VEC2":2,"VEC3":3,"VEC4":4,"MAT2":4,"MAT3":9,"MAT4":16};const ATTRIBUTES={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"};const PATH_PROPERTIES={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"};const INTERPOLATION={CUBICSPLINE:undefined,LINEAR:InterpolateLinear,STEP:InterpolateDiscrete};const ALPHA_MODES={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function createDefaultMaterial(cache){if(cache["DefaultMaterial"]===undefined){cache["DefaultMaterial"]=new MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:false,depthTest:true,side:FrontSide})}return cache["DefaultMaterial"]}function addUnknownExtensionsToUserData(knownExtensions,object,objectDef){for(const name in objectDef.extensions){if(knownExtensions[name]===undefined){object.userData.gltfExtensions=object.userData.gltfExtensions||{};object.userData.gltfExtensions[name]=objectDef.extensions[name]}}}function assignExtrasToUserData(object,gltfDef){if(gltfDef.extras!==undefined){if(typeof gltfDef.extras==="object"){Object.assign(object.userData,gltfDef.extras)}else{console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+gltfDef.extras)}}}function addMorphTargets(geometry,targets,parser){let hasMorphPosition=false;let hasMorphNormal=false;let hasMorphColor=false;for(let i=0,il=targets.length;i&lt;il;i++){const target=targets[i];if(target.POSITION!==undefined)hasMorphPosition=true;if(target.NORMAL!==undefined)hasMorphNormal=true;if(target.COLOR_0!==undefined)hasMorphColor=true;if(hasMorphPosition&amp;&amp;hasMorphNormal&amp;&amp;hasMorphColor)break}if(!hasMorphPosition&amp;&amp;!hasMorphNormal&amp;&amp;!hasMorphColor)return Promise.resolve(geometry);const pendingPositionAccessors=[];const pendingNormalAccessors=[];const pendingColorAccessors=[];for(let i=0,il=targets.length;i&lt;il;i++){const target=targets[i];if(hasMorphPosition){const pendingAccessor=target.POSITION!==undefined?parser.getDependency("accessor",target.POSITION):geometry.attributes.position;pendingPositionAccessors.push(pendingAccessor)}if(hasMorphNormal){const pendingAccessor=target.NORMAL!==undefined?parser.getDependency("accessor",target.NORMAL):geometry.attributes.normal;pendingNormalAccessors.push(pendingAccessor)}if(hasMorphColor){const pendingAccessor=target.COLOR_0!==undefined?parser.getDependency("accessor",target.COLOR_0):geometry.attributes.color;pendingColorAccessors.push(pendingAccessor)}}return Promise.all([Promise.all(pendingPositionAccessors),Promise.all(pendingNormalAccessors),Promise.all(pendingColorAccessors)]).then(function(accessors){const morphPositions=accessors[0];const morphNormals=accessors[1];const morphColors=accessors[2];if(hasMorphPosition)geometry.morphAttributes.position=morphPositions;if(hasMorphNormal)geometry.morphAttributes.normal=morphNormals;if(hasMorphColor)geometry.morphAttributes.color=morphColors;geometry.morphTargetsRelative=true;return geometry})}function updateMorphTargets(mesh,meshDef){mesh.updateMorphTargets();if(meshDef.weights!==undefined){for(let i=0,il=meshDef.weights.length;i&lt;il;i++){mesh.morphTargetInfluences[i]=meshDef.weights[i]}}if(meshDef.extras&amp;&amp;Array.isArray(meshDef.extras.targetNames)){const targetNames=meshDef.extras.targetNames;if(mesh.morphTargetInfluences.length===targetNames.length){mesh.morphTargetDictionary={};for(let i=0,il=targetNames.length;i&lt;il;i++){mesh.morphTargetDictionary[targetNames[i]]=i}}else{console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}}function createPrimitiveKey(primitiveDef){let geometryKey;const dracoExtension=primitiveDef.extensions&amp;&amp;primitiveDef.extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION];if(dracoExtension){geometryKey="draco:"+dracoExtension.bufferView+":"+dracoExtension.indices+":"+createAttributesKey(dracoExtension.attributes)}else{geometryKey=primitiveDef.indices+":"+createAttributesKey(primitiveDef.attributes)+":"+primitiveDef.mode}if(primitiveDef.targets!==undefined){for(let i=0,il=primitiveDef.targets.length;i&lt;il;i++){geometryKey+=":"+createAttributesKey(primitiveDef.targets[i])}}return geometryKey}function createAttributesKey(attributes){let attributesKey="";const keys=Object.keys(attributes).sort();for(let i=0,il=keys.length;i&lt;il;i++){attributesKey+=keys[i]+":"+attributes[keys[i]]+";"}return attributesKey}function getNormalizedComponentScale(constructor){switch(constructor){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.");}}function getImageURIMimeType(uri){if(uri.search(/\.jpe?g($|\?)/i)&gt;0||uri.search(/^data\:image\/jpeg/)===0)return"image/jpeg";if(uri.search(/\.webp($|\?)/i)&gt;0||uri.search(/^data\:image\/webp/)===0)return"image/webp";return"image/png"}const _identityMatrix=new Matrix4;class GLTFParser{constructor(json={},options={}){this.json=json;this.extensions={};this.plugins={};this.options=options;this.cache=new GLTFRegistry;this.associations=new Map;this.primitiveCache={};this.nodeCache={};this.meshCache={refs:{},uses:{}};this.cameraCache={refs:{},uses:{}};this.lightCache={refs:{},uses:{}};this.sourceCache={};this.textureCache={};this.nodeNamesUsed={};let isSafari=false;let isFirefox=false;let firefoxVersion=-1;if(typeof navigator!=="undefined"){isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent)===true;isFirefox=navigator.userAgent.indexOf("Firefox")&gt;-1;firefoxVersion=isFirefox?navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1]:-1}if(typeof createImageBitmap==="undefined"||isSafari||isFirefox&amp;&amp;firefoxVersion&lt;98){this.textureLoader=new TextureLoader(this.options.manager)}else{this.textureLoader=new ImageBitmapLoader(this.options.manager)}this.textureLoader.setCrossOrigin(this.options.crossOrigin);this.textureLoader.setRequestHeader(this.options.requestHeader);this.fileLoader=new FileLoader(this.options.manager);this.fileLoader.setResponseType("arraybuffer");if(this.options.crossOrigin==="use-credentials"){this.fileLoader.setWithCredentials(true)}}setExtensions(extensions){this.extensions=extensions}setPlugins(plugins){this.plugins=plugins}parse(onLoad,onError){const parser=this;const json=this.json;const extensions=this.extensions;this.cache.removeAll();this.nodeCache={};this._invokeAll(function(ext){return ext._markDefs&amp;&amp;ext._markDefs()});Promise.all(this._invokeAll(function(ext){return ext.beforeRoot&amp;&amp;ext.beforeRoot()})).then(function(){return Promise.all([parser.getDependencies("scene"),parser.getDependencies("animation"),parser.getDependencies("camera")])}).then(function(dependencies){const result={scene:dependencies[0][json.scene||0],scenes:dependencies[0],animations:dependencies[1],cameras:dependencies[2],asset:json.asset,parser:parser,userData:{}};addUnknownExtensionsToUserData(extensions,result,json);assignExtrasToUserData(result,json);return Promise.all(parser._invokeAll(function(ext){return ext.afterRoot&amp;&amp;ext.afterRoot(result)})).then(function(){for(const scene of result.scenes){scene.updateMatrixWorld()}onLoad(result)})}).catch(onError)}_markDefs(){const nodeDefs=this.json.nodes||[];const skinDefs=this.json.skins||[];const meshDefs=this.json.meshes||[];for(let skinIndex=0,skinLength=skinDefs.length;skinIndex&lt;skinLength;skinIndex++){const joints=skinDefs[skinIndex].joints;for(let i=0,il=joints.length;i&lt;il;i++){nodeDefs[joints[i]].isBone=true}}for(let nodeIndex=0,nodeLength=nodeDefs.length;nodeIndex&lt;nodeLength;nodeIndex++){const nodeDef=nodeDefs[nodeIndex];if(nodeDef.mesh!==undefined){this._addNodeRef(this.meshCache,nodeDef.mesh);if(nodeDef.skin!==undefined){meshDefs[nodeDef.mesh].isSkinnedMesh=true}}if(nodeDef.camera!==undefined){this._addNodeRef(this.cameraCache,nodeDef.camera)}}}_addNodeRef(cache,index){if(index===undefined)return;if(cache.refs[index]===undefined){cache.refs[index]=cache.uses[index]=0}cache.refs[index]++}_getNodeRef(cache,index,object){if(cache.refs[index]&lt;=1)return object;const ref=object.clone();const updateMappings=(original,clone)=&gt;{const mappings=this.associations.get(original);if(mappings!=null){this.associations.set(clone,mappings)}for(const[i,child]of original.children.entries()){updateMappings(child,clone.children[i])}};updateMappings(object,ref);ref.name+="_instance_"+cache.uses[index]++;return ref}_invokeOne(func){const extensions=Object.values(this.plugins);extensions.push(this);for(let i=0;i&lt;extensions.length;i++){const result=func(extensions[i]);if(result)return result}return null}_invokeAll(func){const extensions=Object.values(this.plugins);extensions.unshift(this);const pending=[];for(let i=0;i&lt;extensions.length;i++){const result=func(extensions[i]);if(result)pending.push(result)}return pending}getDependency(type,index){const cacheKey=type+":"+index;let dependency=this.cache.get(cacheKey);if(!dependency){switch(type){case"scene":dependency=this.loadScene(index);break;case"node":dependency=this._invokeOne(function(ext){return ext.loadNode&amp;&amp;ext.loadNode(index)});break;case"mesh":dependency=this._invokeOne(function(ext){return ext.loadMesh&amp;&amp;ext.loadMesh(index)});break;case"accessor":dependency=this.loadAccessor(index);break;case"bufferView":dependency=this._invokeOne(function(ext){return ext.loadBufferView&amp;&amp;ext.loadBufferView(index)});break;case"buffer":dependency=this.loadBuffer(index);break;case"material":dependency=this._invokeOne(function(ext){return ext.loadMaterial&amp;&amp;ext.loadMaterial(index)});break;case"texture":dependency=this._invokeOne(function(ext){return ext.loadTexture&amp;&amp;ext.loadTexture(index)});break;case"skin":dependency=this.loadSkin(index);break;case"animation":dependency=this._invokeOne(function(ext){return ext.loadAnimation&amp;&amp;ext.loadAnimation(index)});break;case"camera":dependency=this.loadCamera(index);break;default:dependency=this._invokeOne(function(ext){return ext!=this&amp;&amp;ext.getDependency&amp;&amp;ext.getDependency(type,index)});if(!dependency){throw new Error("Unknown type: "+type)}break;}this.cache.add(cacheKey,dependency)}return dependency}getDependencies(type){let dependencies=this.cache.get(type);if(!dependencies){const parser=this;const defs=this.json[type+(type==="mesh"?"es":"s")]||[];dependencies=Promise.all(defs.map(function(def,index){return parser.getDependency(type,index)}));this.cache.add(type,dependencies)}return dependencies}loadBuffer(bufferIndex){const bufferDef=this.json.buffers[bufferIndex];const loader=this.fileLoader;if(bufferDef.type&amp;&amp;bufferDef.type!=="arraybuffer"){throw new Error("THREE.GLTFLoader: "+bufferDef.type+" buffer type is not supported.")}if(bufferDef.uri===undefined&amp;&amp;bufferIndex===0){return Promise.resolve(this.extensions[EXTENSIONS.KHR_BINARY_GLTF].body)}const options=this.options;return new Promise(function(resolve,reject){loader.load(LoaderUtils.resolveURL(bufferDef.uri,options.path),resolve,undefined,function(){reject(new Error("THREE.GLTFLoader: Failed to load buffer \""+bufferDef.uri+"\"."))})})}loadBufferView(bufferViewIndex){const bufferViewDef=this.json.bufferViews[bufferViewIndex];return this.getDependency("buffer",bufferViewDef.buffer).then(function(buffer){const byteLength=bufferViewDef.byteLength||0;const byteOffset=bufferViewDef.byteOffset||0;return buffer.slice(byteOffset,byteOffset+byteLength)})}loadAccessor(accessorIndex){const parser=this;const json=this.json;const accessorDef=this.json.accessors[accessorIndex];if(accessorDef.bufferView===undefined&amp;&amp;accessorDef.sparse===undefined){const itemSize=WEBGL_TYPE_SIZES[accessorDef.type];const TypedArray=WEBGL_COMPONENT_TYPES[accessorDef.componentType];const normalized=accessorDef.normalized===true;const array=new TypedArray(accessorDef.count*itemSize);return Promise.resolve(new BufferAttribute(array,itemSize,normalized))}const pendingBufferViews=[];if(accessorDef.bufferView!==undefined){pendingBufferViews.push(this.getDependency("bufferView",accessorDef.bufferView))}else{pendingBufferViews.push(null)}if(accessorDef.sparse!==undefined){pendingBufferViews.push(this.getDependency("bufferView",accessorDef.sparse.indices.bufferView));pendingBufferViews.push(this.getDependency("bufferView",accessorDef.sparse.values.bufferView))}return Promise.all(pendingBufferViews).then(function(bufferViews){const bufferView=bufferViews[0];const itemSize=WEBGL_TYPE_SIZES[accessorDef.type];const TypedArray=WEBGL_COMPONENT_TYPES[accessorDef.componentType];const elementBytes=TypedArray.BYTES_PER_ELEMENT;const itemBytes=elementBytes*itemSize;const byteOffset=accessorDef.byteOffset||0;const byteStride=accessorDef.bufferView!==undefined?json.bufferViews[accessorDef.bufferView].byteStride:undefined;const normalized=accessorDef.normalized===true;let array,bufferAttribute;if(byteStride&amp;&amp;byteStride!==itemBytes){const ibSlice=Math.floor(byteOffset/byteStride);const ibCacheKey="InterleavedBuffer:"+accessorDef.bufferView+":"+accessorDef.componentType+":"+ibSlice+":"+accessorDef.count;let ib=parser.cache.get(ibCacheKey);if(!ib){array=new TypedArray(bufferView,ibSlice*byteStride,accessorDef.count*byteStride/elementBytes);ib=new InterleavedBuffer(array,byteStride/elementBytes);parser.cache.add(ibCacheKey,ib)}bufferAttribute=new InterleavedBufferAttribute(ib,itemSize,byteOffset%byteStride/elementBytes,normalized)}else{if(bufferView===null){array=new TypedArray(accessorDef.count*itemSize)}else{array=new TypedArray(bufferView,byteOffset,accessorDef.count*itemSize)}bufferAttribute=new BufferAttribute(array,itemSize,normalized)}if(accessorDef.sparse!==undefined){const itemSizeIndices=WEBGL_TYPE_SIZES.SCALAR;const TypedArrayIndices=WEBGL_COMPONENT_TYPES[accessorDef.sparse.indices.componentType];const byteOffsetIndices=accessorDef.sparse.indices.byteOffset||0;const byteOffsetValues=accessorDef.sparse.values.byteOffset||0;const sparseIndices=new TypedArrayIndices(bufferViews[1],byteOffsetIndices,accessorDef.sparse.count*itemSizeIndices);const sparseValues=new TypedArray(bufferViews[2],byteOffsetValues,accessorDef.sparse.count*itemSize);if(bufferView!==null){bufferAttribute=new BufferAttribute(bufferAttribute.array.slice(),bufferAttribute.itemSize,bufferAttribute.normalized)}for(let i=0,il=sparseIndices.length;i&lt;il;i++){const index=sparseIndices[i];bufferAttribute.setX(index,sparseValues[i*itemSize]);if(itemSize&gt;=2)bufferAttribute.setY(index,sparseValues[i*itemSize+1]);if(itemSize&gt;=3)bufferAttribute.setZ(index,sparseValues[i*itemSize+2]);if(itemSize&gt;=4)bufferAttribute.setW(index,sparseValues[i*itemSize+3]);if(itemSize&gt;=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return bufferAttribute})}loadTexture(textureIndex){const json=this.json;const options=this.options;const textureDef=json.textures[textureIndex];const sourceIndex=textureDef.source;const sourceDef=json.images[sourceIndex];let loader=this.textureLoader;if(sourceDef.uri){const handler=options.manager.getHandler(sourceDef.uri);if(handler!==null)loader=handler}return this.loadTextureImage(textureIndex,sourceIndex,loader)}loadTextureImage(textureIndex,sourceIndex,loader){const parser=this;const json=this.json;const textureDef=json.textures[textureIndex];const sourceDef=json.images[sourceIndex];const cacheKey=(sourceDef.uri||sourceDef.bufferView)+":"+textureDef.sampler;if(this.textureCache[cacheKey]){return this.textureCache[cacheKey]}const promise=this.loadImageSource(sourceIndex,loader).then(function(texture){texture.flipY=false;texture.name=textureDef.name||sourceDef.name||"";if(texture.name===""&amp;&amp;typeof sourceDef.uri==="string"&amp;&amp;sourceDef.uri.startsWith("data:image/")===false){texture.name=sourceDef.uri}const samplers=json.samplers||{};const sampler=samplers[textureDef.sampler]||{};texture.magFilter=WEBGL_FILTERS[sampler.magFilter]||LinearFilter;texture.minFilter=WEBGL_FILTERS[sampler.minFilter]||LinearMipmapLinearFilter;texture.wrapS=WEBGL_WRAPPINGS[sampler.wrapS]||RepeatWrapping;texture.wrapT=WEBGL_WRAPPINGS[sampler.wrapT]||RepeatWrapping;parser.associations.set(texture,{textures:textureIndex});return texture}).catch(function(){return null});this.textureCache[cacheKey]=promise;return promise}loadImageSource(sourceIndex,loader){const parser=this;const json=this.json;const options=this.options;if(this.sourceCache[sourceIndex]!==undefined){return this.sourceCache[sourceIndex].then(texture=&gt;texture.clone())}const sourceDef=json.images[sourceIndex];const URL=self.URL||self.webkitURL;let sourceURI=sourceDef.uri||"";let isObjectURL=false;if(sourceDef.bufferView!==undefined){sourceURI=parser.getDependency("bufferView",sourceDef.bufferView).then(function(bufferView){isObjectURL=true;const blob=new Blob([bufferView],{type:sourceDef.mimeType});sourceURI=URL.createObjectURL(blob);return sourceURI})}else if(sourceDef.uri===undefined){throw new Error("THREE.GLTFLoader: Image "+sourceIndex+" is missing URI and bufferView")}const promise=Promise.resolve(sourceURI).then(function(sourceURI){return new Promise(function(resolve,reject){let onLoad=resolve;if(loader.isImageBitmapLoader===true){onLoad=function(imageBitmap){const texture=new Texture(imageBitmap);texture.needsUpdate=true;resolve(texture)}}loader.load(LoaderUtils.resolveURL(sourceURI,options.path),onLoad,undefined,reject)})}).then(function(texture){if(isObjectURL===true){URL.revokeObjectURL(sourceURI)}texture.userData.mimeType=sourceDef.mimeType||getImageURIMimeType(sourceDef.uri);return texture}).catch(function(error){console.error("THREE.GLTFLoader: Couldn't load texture",sourceURI);throw error});this.sourceCache[sourceIndex]=promise;return promise}assignTexture(materialParams,mapName,mapDef,colorSpace){const parser=this;return this.getDependency("texture",mapDef.index).then(function(texture){if(!texture)return null;if(mapDef.texCoord!==undefined&amp;&amp;mapDef.texCoord&gt;0){texture=texture.clone();texture.channel=mapDef.texCoord}if(parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]){const transform=mapDef.extensions!==undefined?mapDef.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]:undefined;if(transform){const gltfReference=parser.associations.get(texture);texture=parser.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM].extendTexture(texture,transform);parser.associations.set(texture,gltfReference)}}if(colorSpace!==undefined){texture.colorSpace=colorSpace}materialParams[mapName]=texture;return texture})}assignFinalMaterial(mesh){const geometry=mesh.geometry;let material=mesh.material;const useDerivativeTangents=geometry.attributes.tangent===undefined;const useVertexColors=geometry.attributes.color!==undefined;const useFlatShading=geometry.attributes.normal===undefined;if(mesh.isPoints){const cacheKey="PointsMaterial:"+material.uuid;let pointsMaterial=this.cache.get(cacheKey);if(!pointsMaterial){pointsMaterial=new PointsMaterial;Material.prototype.copy.call(pointsMaterial,material);pointsMaterial.color.copy(material.color);pointsMaterial.map=material.map;pointsMaterial.sizeAttenuation=false;this.cache.add(cacheKey,pointsMaterial)}material=pointsMaterial}else if(mesh.isLine){const cacheKey="LineBasicMaterial:"+material.uuid;let lineMaterial=this.cache.get(cacheKey);if(!lineMaterial){lineMaterial=new LineBasicMaterial;Material.prototype.copy.call(lineMaterial,material);lineMaterial.color.copy(material.color);lineMaterial.map=material.map;this.cache.add(cacheKey,lineMaterial)}material=lineMaterial}if(useDerivativeTangents||useVertexColors||useFlatShading){let cacheKey="ClonedMaterial:"+material.uuid+":";if(useDerivativeTangents)cacheKey+="derivative-tangents:";if(useVertexColors)cacheKey+="vertex-colors:";if(useFlatShading)cacheKey+="flat-shading:";let cachedMaterial=this.cache.get(cacheKey);if(!cachedMaterial){cachedMaterial=material.clone();if(useVertexColors)cachedMaterial.vertexColors=true;if(useFlatShading)cachedMaterial.flatShading=true;if(useDerivativeTangents){if(cachedMaterial.normalScale)cachedMaterial.normalScale.y*=-1;if(cachedMaterial.clearcoatNormalScale)cachedMaterial.clearcoatNormalScale.y*=-1}this.cache.add(cacheKey,cachedMaterial);this.associations.set(cachedMaterial,this.associations.get(material))}material=cachedMaterial}mesh.material=material}getMaterialType(){return MeshStandardMaterial}loadMaterial(materialIndex){const parser=this;const json=this.json;const extensions=this.extensions;const materialDef=json.materials[materialIndex];let materialType;const materialParams={};const materialExtensions=materialDef.extensions||{};const pending=[];if(materialExtensions[EXTENSIONS.KHR_MATERIALS_UNLIT]){const kmuExtension=extensions[EXTENSIONS.KHR_MATERIALS_UNLIT];materialType=kmuExtension.getMaterialType();pending.push(kmuExtension.extendParams(materialParams,materialDef,parser))}else{const metallicRoughness=materialDef.pbrMetallicRoughness||{};materialParams.color=new Color(1,1,1);materialParams.opacity=1;if(Array.isArray(metallicRoughness.baseColorFactor)){const array=metallicRoughness.baseColorFactor;materialParams.color.setRGB(array[0],array[1],array[2],LinearSRGBColorSpace);materialParams.opacity=array[3]}if(metallicRoughness.baseColorTexture!==undefined){pending.push(parser.assignTexture(materialParams,"map",metallicRoughness.baseColorTexture,SRGBColorSpace))}materialParams.metalness=metallicRoughness.metallicFactor!==undefined?metallicRoughness.metallicFactor:1;materialParams.roughness=metallicRoughness.roughnessFactor!==undefined?metallicRoughness.roughnessFactor:1;if(metallicRoughness.metallicRoughnessTexture!==undefined){pending.push(parser.assignTexture(materialParams,"metalnessMap",metallicRoughness.metallicRoughnessTexture));pending.push(parser.assignTexture(materialParams,"roughnessMap",metallicRoughness.metallicRoughnessTexture))}materialType=this._invokeOne(function(ext){return ext.getMaterialType&amp;&amp;ext.getMaterialType(materialIndex)});pending.push(Promise.all(this._invokeAll(function(ext){return ext.extendMaterialParams&amp;&amp;ext.extendMaterialParams(materialIndex,materialParams)})))}if(materialDef.doubleSided===true){materialParams.side=DoubleSide}const alphaMode=materialDef.alphaMode||ALPHA_MODES.OPAQUE;if(alphaMode===ALPHA_MODES.BLEND){materialParams.transparent=true;materialParams.depthWrite=false}else{materialParams.transparent=false;if(alphaMode===ALPHA_MODES.MASK){materialParams.alphaTest=materialDef.alphaCutoff!==undefined?materialDef.alphaCutoff:0.5}}if(materialDef.normalTexture!==undefined&amp;&amp;materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"normalMap",materialDef.normalTexture));materialParams.normalScale=new Vector2(1,1);if(materialDef.normalTexture.scale!==undefined){const scale=materialDef.normalTexture.scale;materialParams.normalScale.set(scale,scale)}}if(materialDef.occlusionTexture!==undefined&amp;&amp;materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"aoMap",materialDef.occlusionTexture));if(materialDef.occlusionTexture.strength!==undefined){materialParams.aoMapIntensity=materialDef.occlusionTexture.strength}}if(materialDef.emissiveFactor!==undefined&amp;&amp;materialType!==MeshBasicMaterial){const emissiveFactor=materialDef.emissiveFactor;materialParams.emissive=new Color().setRGB(emissiveFactor[0],emissiveFactor[1],emissiveFactor[2],LinearSRGBColorSpace)}if(materialDef.emissiveTexture!==undefined&amp;&amp;materialType!==MeshBasicMaterial){pending.push(parser.assignTexture(materialParams,"emissiveMap",materialDef.emissiveTexture,SRGBColorSpace))}return Promise.all(pending).then(function(){const material=new materialType(materialParams);if(materialDef.name)material.name=materialDef.name;assignExtrasToUserData(material,materialDef);parser.associations.set(material,{materials:materialIndex});if(materialDef.extensions)addUnknownExtensionsToUserData(extensions,material,materialDef);return material})}createUniqueName(originalName){const sanitizedName=PropertyBinding.sanitizeNodeName(originalName||"");if(sanitizedName in this.nodeNamesUsed){return sanitizedName+"_"+ ++this.nodeNamesUsed[sanitizedName]}else{this.nodeNamesUsed[sanitizedName]=0;return sanitizedName}}loadGeometries(primitives){const parser=this;const extensions=this.extensions;const cache=this.primitiveCache;function createDracoPrimitive(primitive){return extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(primitive,parser).then(function(geometry){return addPrimitiveAttributes(geometry,primitive,parser)})}const pending=[];for(let i=0,il=primitives.length;i&lt;il;i++){const primitive=primitives[i];const cacheKey=createPrimitiveKey(primitive);const cached=cache[cacheKey];if(cached){pending.push(cached.promise)}else{let geometryPromise;if(primitive.extensions&amp;&amp;primitive.extensions[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION]){geometryPromise=createDracoPrimitive(primitive)}else{geometryPromise=addPrimitiveAttributes(new BufferGeometry,primitive,parser)}cache[cacheKey]={primitive:primitive,promise:geometryPromise};pending.push(geometryPromise)}}return Promise.all(pending)}loadMesh(meshIndex){const parser=this;const json=this.json;const extensions=this.extensions;const meshDef=json.meshes[meshIndex];const primitives=meshDef.primitives;const pending=[];for(let i=0,il=primitives.length;i&lt;il;i++){const material=primitives[i].material===undefined?createDefaultMaterial(this.cache):this.getDependency("material",primitives[i].material);pending.push(material)}pending.push(parser.loadGeometries(primitives));return Promise.all(pending).then(function(results){const materials=results.slice(0,results.length-1);const geometries=results[results.length-1];const meshes=[];for(let i=0,il=geometries.length;i&lt;il;i++){const geometry=geometries[i];const primitive=primitives[i];let mesh;const material=materials[i];if(primitive.mode===WEBGL_CONSTANTS.TRIANGLES||primitive.mode===WEBGL_CONSTANTS.TRIANGLE_STRIP||primitive.mode===WEBGL_CONSTANTS.TRIANGLE_FAN||primitive.mode===undefined){mesh=meshDef.isSkinnedMesh===true?new SkinnedMesh(geometry,material):new Mesh(geometry,material);if(mesh.isSkinnedMesh===true){mesh.normalizeSkinWeights()}if(primitive.mode===WEBGL_CONSTANTS.TRIANGLE_STRIP){mesh.geometry=toTrianglesDrawMode(mesh.geometry,TriangleStripDrawMode)}else if(primitive.mode===WEBGL_CONSTANTS.TRIANGLE_FAN){mesh.geometry=toTrianglesDrawMode(mesh.geometry,TriangleFanDrawMode)}}else if(primitive.mode===WEBGL_CONSTANTS.LINES){mesh=new LineSegments(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.LINE_STRIP){mesh=new Line(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.LINE_LOOP){mesh=new LineLoop(geometry,material)}else if(primitive.mode===WEBGL_CONSTANTS.POINTS){mesh=new Points(geometry,material)}else{throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+primitive.mode)}if(Object.keys(mesh.geometry.morphAttributes).length&gt;0){updateMorphTargets(mesh,meshDef)}mesh.name=parser.createUniqueName(meshDef.name||"mesh_"+meshIndex);assignExtrasToUserData(mesh,meshDef);if(primitive.extensions)addUnknownExtensionsToUserData(extensions,mesh,primitive);parser.assignFinalMaterial(mesh);meshes.push(mesh)}for(let i=0,il=meshes.length;i&lt;il;i++){parser.associations.set(meshes[i],{meshes:meshIndex,primitives:i})}if(meshes.length===1){if(meshDef.extensions)addUnknownExtensionsToUserData(extensions,meshes[0],meshDef);return meshes[0]}const group=new Group;if(meshDef.extensions)addUnknownExtensionsToUserData(extensions,group,meshDef);parser.associations.set(group,{meshes:meshIndex});for(let i=0,il=meshes.length;i&lt;il;i++){group.add(meshes[i])}return group})}loadCamera(cameraIndex){let camera;const cameraDef=this.json.cameras[cameraIndex];const params=cameraDef[cameraDef.type];if(!params){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}if(cameraDef.type==="perspective"){camera=new PerspectiveCamera(MathUtils.radToDeg(params.yfov),params.aspectRatio||1,params.znear||1,params.zfar||2e6)}else if(cameraDef.type==="orthographic"){camera=new OrthographicCamera(-params.xmag,params.xmag,params.ymag,-params.ymag,params.znear,params.zfar)}if(cameraDef.name)camera.name=this.createUniqueName(cameraDef.name);assignExtrasToUserData(camera,cameraDef);return Promise.resolve(camera)}loadSkin(skinIndex){const skinDef=this.json.skins[skinIndex];const pending=[];for(let i=0,il=skinDef.joints.length;i&lt;il;i++){pending.push(this._loadNodeShallow(skinDef.joints[i]))}if(skinDef.inverseBindMatrices!==undefined){pending.push(this.getDependency("accessor",skinDef.inverseBindMatrices))}else{pending.push(null)}return Promise.all(pending).then(function(results){const inverseBindMatrices=results.pop();const jointNodes=results;const bones=[];const boneInverses=[];for(let i=0,il=jointNodes.length;i&lt;il;i++){const jointNode=jointNodes[i];if(jointNode){bones.push(jointNode);const mat=new Matrix4;if(inverseBindMatrices!==null){mat.fromArray(inverseBindMatrices.array,i*16)}boneInverses.push(mat)}else{console.warn("THREE.GLTFLoader: Joint \"%s\" could not be found.",skinDef.joints[i])}}return new Skeleton(bones,boneInverses)})}loadAnimation(animationIndex){const json=this.json;const parser=this;const animationDef=json.animations[animationIndex];const animationName=animationDef.name?animationDef.name:"animation_"+animationIndex;const pendingNodes=[];const pendingInputAccessors=[];const pendingOutputAccessors=[];const pendingSamplers=[];const pendingTargets=[];for(let i=0,il=animationDef.channels.length;i&lt;il;i++){const channel=animationDef.channels[i];const sampler=animationDef.samplers[channel.sampler];const target=channel.target;const name=target.node;const input=animationDef.parameters!==undefined?animationDef.parameters[sampler.input]:sampler.input;const output=animationDef.parameters!==undefined?animationDef.parameters[sampler.output]:sampler.output;if(target.node===undefined)continue;pendingNodes.push(this.getDependency("node",name));pendingInputAccessors.push(this.getDependency("accessor",input));pendingOutputAccessors.push(this.getDependency("accessor",output));pendingSamplers.push(sampler);pendingTargets.push(target)}return Promise.all([Promise.all(pendingNodes),Promise.all(pendingInputAccessors),Promise.all(pendingOutputAccessors),Promise.all(pendingSamplers),Promise.all(pendingTargets)]).then(function(dependencies){const nodes=dependencies[0];const inputAccessors=dependencies[1];const outputAccessors=dependencies[2];const samplers=dependencies[3];const targets=dependencies[4];const tracks=[];for(let i=0,il=nodes.length;i&lt;il;i++){const node=nodes[i];const inputAccessor=inputAccessors[i];const outputAccessor=outputAccessors[i];const sampler=samplers[i];const target=targets[i];if(node===undefined)continue;if(node.updateMatrix){node.updateMatrix()}const createdTracks=parser._createAnimationTracks(node,inputAccessor,outputAccessor,sampler,target);if(createdTracks){for(let k=0;k&lt;createdTracks.length;k++){tracks.push(createdTracks[k])}}}return new AnimationClip(animationName,undefined,tracks)})}createNodeMesh(nodeIndex){const json=this.json;const parser=this;const nodeDef=json.nodes[nodeIndex];if(nodeDef.mesh===undefined)return null;return parser.getDependency("mesh",nodeDef.mesh).then(function(mesh){const node=parser._getNodeRef(parser.meshCache,nodeDef.mesh,mesh);if(nodeDef.weights!==undefined){node.traverse(function(o){if(!o.isMesh)return;for(let i=0,il=nodeDef.weights.length;i&lt;il;i++){o.morphTargetInfluences[i]=nodeDef.weights[i]}})}return node})}loadNode(nodeIndex){const json=this.json;const parser=this;const nodeDef=json.nodes[nodeIndex];const nodePending=parser._loadNodeShallow(nodeIndex);const childPending=[];const childrenDef=nodeDef.children||[];for(let i=0,il=childrenDef.length;i&lt;il;i++){childPending.push(parser.getDependency("node",childrenDef[i]))}const skeletonPending=nodeDef.skin===undefined?Promise.resolve(null):parser.getDependency("skin",nodeDef.skin);return Promise.all([nodePending,Promise.all(childPending),skeletonPending]).then(function(results){const node=results[0];const children=results[1];const skeleton=results[2];if(skeleton!==null){node.traverse(function(mesh){if(!mesh.isSkinnedMesh)return;mesh.bind(skeleton,_identityMatrix)})}for(let i=0,il=children.length;i&lt;il;i++){node.add(children[i])}return node})}_loadNodeShallow(nodeIndex){const json=this.json;const extensions=this.extensions;const parser=this;if(this.nodeCache[nodeIndex]!==undefined){return this.nodeCache[nodeIndex]}const nodeDef=json.nodes[nodeIndex];const nodeName=nodeDef.name?parser.createUniqueName(nodeDef.name):"";const pending=[];const meshPromise=parser._invokeOne(function(ext){return ext.createNodeMesh&amp;&amp;ext.createNodeMesh(nodeIndex)});if(meshPromise){pending.push(meshPromise)}if(nodeDef.camera!==undefined){pending.push(parser.getDependency("camera",nodeDef.camera).then(function(camera){return parser._getNodeRef(parser.cameraCache,nodeDef.camera,camera)}))}parser._invokeAll(function(ext){return ext.createNodeAttachment&amp;&amp;ext.createNodeAttachment(nodeIndex)}).forEach(function(promise){pending.push(promise)});this.nodeCache[nodeIndex]=Promise.all(pending).then(function(objects){let node;if(nodeDef.isBone===true){node=new Bone}else if(objects.length&gt;1){node=new Group}else if(objects.length===1){node=objects[0]}else{node=new Object3D}if(node!==objects[0]){for(let i=0,il=objects.length;i&lt;il;i++){node.add(objects[i])}}if(nodeDef.name){node.userData.name=nodeDef.name;node.name=nodeName}assignExtrasToUserData(node,nodeDef);if(nodeDef.extensions)addUnknownExtensionsToUserData(extensions,node,nodeDef);if(nodeDef.matrix!==undefined){const matrix=new Matrix4;matrix.fromArray(nodeDef.matrix);node.applyMatrix4(matrix)}else{if(nodeDef.translation!==undefined){node.position.fromArray(nodeDef.translation)}if(nodeDef.rotation!==undefined){node.quaternion.fromArray(nodeDef.rotation)}if(nodeDef.scale!==undefined){node.scale.fromArray(nodeDef.scale)}}if(!parser.associations.has(node)){parser.associations.set(node,{})}parser.associations.get(node).nodes=nodeIndex;return node});return this.nodeCache[nodeIndex]}loadScene(sceneIndex){const extensions=this.extensions;const sceneDef=this.json.scenes[sceneIndex];const parser=this;const scene=new Group;if(sceneDef.name)scene.name=parser.createUniqueName(sceneDef.name);assignExtrasToUserData(scene,sceneDef);if(sceneDef.extensions)addUnknownExtensionsToUserData(extensions,scene,sceneDef);const nodeIds=sceneDef.nodes||[];const pending=[];for(let i=0,il=nodeIds.length;i&lt;il;i++){pending.push(parser.getDependency("node",nodeIds[i]))}return Promise.all(pending).then(function(nodes){for(let i=0,il=nodes.length;i&lt;il;i++){scene.add(nodes[i])}const reduceAssociations=node=&gt;{const reducedAssociations=new Map;for(const[key,value]of parser.associations){if(key instanceof Material||key instanceof Texture){reducedAssociations.set(key,value)}}node.traverse(node=&gt;{const mappings=parser.associations.get(node);if(mappings!=null){reducedAssociations.set(node,mappings)}});return reducedAssociations};parser.associations=reduceAssociations(scene);return scene})}_createAnimationTracks(node,inputAccessor,outputAccessor,sampler,target){const tracks=[];const targetName=node.name?node.name:node.uuid;const targetNames=[];if(PATH_PROPERTIES[target.path]===PATH_PROPERTIES.weights){node.traverse(function(object){if(object.morphTargetInfluences){targetNames.push(object.name?object.name:object.uuid)}})}else{targetNames.push(targetName)}let TypedKeyframeTrack;switch(PATH_PROPERTIES[target.path]){case PATH_PROPERTIES.weights:TypedKeyframeTrack=NumberKeyframeTrack;break;case PATH_PROPERTIES.rotation:TypedKeyframeTrack=QuaternionKeyframeTrack;break;case PATH_PROPERTIES.position:case PATH_PROPERTIES.scale:TypedKeyframeTrack=VectorKeyframeTrack;break;default:switch(outputAccessor.itemSize){case 1:TypedKeyframeTrack=NumberKeyframeTrack;break;case 2:case 3:default:TypedKeyframeTrack=VectorKeyframeTrack;break;}break;}const interpolation=sampler.interpolation!==undefined?INTERPOLATION[sampler.interpolation]:InterpolateLinear;const outputArray=this._getArrayFromAccessor(outputAccessor);for(let j=0,jl=targetNames.length;j&lt;jl;j++){const track=new TypedKeyframeTrack(targetNames[j]+"."+PATH_PROPERTIES[target.path],inputAccessor.array,outputArray,interpolation);if(sampler.interpolation==="CUBICSPLINE"){this._createCubicSplineTrackInterpolant(track)}tracks.push(track)}return tracks}_getArrayFromAccessor(accessor){let outputArray=accessor.array;if(accessor.normalized){const scale=getNormalizedComponentScale(outputArray.constructor);const scaled=new Float32Array(outputArray.length);for(let j=0,jl=outputArray.length;j&lt;jl;j++){scaled[j]=outputArray[j]*scale}outputArray=scaled}return outputArray}_createCubicSplineTrackInterpolant(track){track.createInterpolant=function InterpolantFactoryMethodGLTFCubicSpline(result){const interpolantType=this instanceof QuaternionKeyframeTrack?GLTFCubicSplineQuaternionInterpolant:GLTFCubicSplineInterpolant;return new interpolantType(this.times,this.values,this.getValueSize()/3,result)};track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=true}}function computeBounds(geometry,primitiveDef,parser){const attributes=primitiveDef.attributes;const box=new Box3;if(attributes.POSITION!==undefined){const accessor=parser.json.accessors[attributes.POSITION];const min=accessor.min;const max=accessor.max;if(min!==undefined&amp;&amp;max!==undefined){box.set(new Vector3(min[0],min[1],min[2]),new Vector3(max[0],max[1],max[2]));if(accessor.normalized){const boxScale=getNormalizedComponentScale(WEBGL_COMPONENT_TYPES[accessor.componentType]);box.min.multiplyScalar(boxScale);box.max.multiplyScalar(boxScale)}}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");return}}else{return}const targets=primitiveDef.targets;if(targets!==undefined){const maxDisplacement=new Vector3;const vector=new Vector3;for(let i=0,il=targets.length;i&lt;il;i++){const target=targets[i];if(target.POSITION!==undefined){const accessor=parser.json.accessors[target.POSITION];const min=accessor.min;const max=accessor.max;if(min!==undefined&amp;&amp;max!==undefined){vector.setX(Math.max(Math.abs(min[0]),Math.abs(max[0])));vector.setY(Math.max(Math.abs(min[1]),Math.abs(max[1])));vector.setZ(Math.max(Math.abs(min[2]),Math.abs(max[2])));if(accessor.normalized){const boxScale=getNormalizedComponentScale(WEBGL_COMPONENT_TYPES[accessor.componentType]);vector.multiplyScalar(boxScale)}maxDisplacement.max(vector)}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}}box.expandByVector(maxDisplacement)}geometry.boundingBox=box;const sphere=new Sphere;box.getCenter(sphere.center);sphere.radius=box.min.distanceTo(box.max)/2;geometry.boundingSphere=sphere}function addPrimitiveAttributes(geometry,primitiveDef,parser){const attributes=primitiveDef.attributes;const pending=[];function assignAttributeAccessor(accessorIndex,attributeName){return parser.getDependency("accessor",accessorIndex).then(function(accessor){geometry.setAttribute(attributeName,accessor)})}for(const gltfAttributeName in attributes){const threeAttributeName=ATTRIBUTES[gltfAttributeName]||gltfAttributeName.toLowerCase();if(threeAttributeName in geometry.attributes)continue;pending.push(assignAttributeAccessor(attributes[gltfAttributeName],threeAttributeName))}if(primitiveDef.indices!==undefined&amp;&amp;!geometry.index){const accessor=parser.getDependency("accessor",primitiveDef.indices).then(function(accessor){geometry.setIndex(accessor)});pending.push(accessor)}if(ColorManagement.workingColorSpace!==LinearSRGBColorSpace&amp;&amp;"COLOR_0"in attributes){console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${ColorManagement.workingColorSpace}" not supported.`)}assignExtrasToUserData(geometry,primitiveDef);computeBounds(geometry,primitiveDef,parser);return Promise.all(pending).then(function(){return primitiveDef.targets!==undefined?addMorphTargets(geometry,primitiveDef.targets,parser):geometry})}THREE.GLTFLoader=GLTFLoader})()});(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var Object3D=THREE.Object3D;var deviceMax=Number.POSITIVE_INFINITY;var deviceMin=Number.NEGATIVE_INFINITY;class CSS3DObject extends Object3D{constructor(element){super();this.containerElement=document.createElement("div");this.containerElement.style.position="absolute";this.containerElement.style.pointerEvents="none";this.containerElement.style.overflow="hidden";this.cameraElement=document.createElement("div");this.containerElement.appendChild(this.cameraElement);this.cameraElement.style.transformStyle="preserve-3d";this.cameraElement.style.position="absolute";this.cameraElement.style.pointerEvents="none";this.element=element||document.createElement("div");this.cameraElement.appendChild(this.element);this.element.style.position="absolute";this.element.style.pointerEvents="none";this.contentWidth=100;this.contentHeight=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.projectedVertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.addEventListener("removed",function(){this.traverse(function(object){if(object.containerElement instanceof Element&amp;&amp;object.containerElement.parentNode!==null)object.containerElement.parentNode.removeChild(object.containerElement)})})}copy(source,recursive){super.copy(source,recursive);this.element=source.element.cloneNode(true);return this}updateVertices(){this.vertices[0].set(-this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[1].set(+this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[2].set(+this.contentWidth*0.5,-this.contentHeight*0.5,0);this.vertices[3].set(-this.contentWidth*0.5,-this.contentHeight*0.5,0)}projectVertices(camera){if(this.matrixWorldNeedsUpdate)this.updateMatrixWorld();projectVertices(this,camera);var pv=this.projectedVertices;this.isDrawable=true;pv=pv.filter(function(p){return p.z&lt;0});var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x&lt;-1)x-=1;else if(p.x&gt;1)x+=1;if(p.y&lt;-1)y-=1;else if(p.y&gt;1)y+=1;max=Math.max(p.x*camera.aspect,p.y,max);min=Math.min(p.x*camera.aspect,p.y,min)});this.isVisible=this.isDrawable&amp;&amp;Math.abs(x)&lt;pv.length&amp;&amp;Math.abs(y)&lt;pv.length&amp;&amp;max&lt;deviceMax&amp;&amp;min&gt;deviceMin}}CSS3DObject.prototype.isCSS3DObject=true;THREE.CSS3DObject=CSS3DObject;class CSS3DQuad extends Object3D{constructor(element){super();this.contentWidth=100;this.contentHeight=100;this.vertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.projectedVertices=[new THREE.Vector3,new THREE.Vector3,new THREE.Vector3,new THREE.Vector3];this.containerElement=document.createElement("div");this.containerElement.style.position="absolute";this.containerElement.style.pointerEvents="none";this.containerElement.style.overflow="hidden";this.element=element||document.createElement("div");this.containerElement.appendChild(this.element);this.element.style.position="absolute";this.element.style.pointerEvents="none"}copy(source,recursive){super.copy(source,recursive);for(var i=0;i&lt;4;i++)this.vertices[i].copy(source.vertices[i]);return this}projectVertices(camera){if(this.matrixWorldNeedsUpdate)this.updateMatrixWorld();projectVertices(this,camera);var pv=this.projectedVertices;this.isDrawable=pv[0].z&lt;0&amp;&amp;pv[1].z&lt;0&amp;&amp;pv[2].z&lt;0&amp;&amp;pv[3].z&lt;0;var x=0,y=0;var max=0,min=0;pv.forEach(function(p){if(p.x&lt;-1)x-=1;else if(p.x&gt;1)x+=1;if(p.y&lt;-1)y-=1;else if(p.y&gt;1)y+=1;max=Math.max(p.x*camera.aspect,p.y,max);min=Math.min(p.x*camera.aspect,p.y,min)});this.isVisible=this.isDrawable&amp;&amp;Math.abs(x)&lt;pv.length&amp;&amp;Math.abs(y)&lt;pv.length&amp;&amp;max&lt;deviceMax&amp;&amp;min&gt;deviceMin}}CSS3DQuad.prototype.isCSS3DQuad=true;THREE.CSS3DQuad=CSS3DQuad;class CSS3DRectangle extends CSS3DQuad{constructor(element){super(element)}updateVertices(){this.vertices[0].set(-this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[1].set(+this.contentWidth*0.5,+this.contentHeight*0.5,0);this.vertices[2].set(+this.contentWidth*0.5,-this.contentHeight*0.5,0);this.vertices[3].set(-this.contentWidth*0.5,-this.contentHeight*0.5,0)}}CSS3DRectangle.prototype.isCSS3DRectangle=true;THREE.CSS3DRectangle=CSS3DRectangle;var _matrix=new THREE.Matrix4;class CSS3DRenderer{constructor(){var _this=this;var _width,_height;var _widthHalf,_heightHalf;var _fov;var _cameraStyle;var cache={objects:new WeakMap};var domElement=document.createElement("div");domElement.style.overflow="hidden";this.domElement=domElement;this.getSize=function(){return{width:_width,height:_height}};this.render=function(scene,camera){_fov=camera.projectionMatrix.elements[5]*_heightHalf;if(scene.matrixWorldAutoUpdate===true)scene.updateMatrixWorld();_cameraStyle="translateZ("+_fov+"px)"+getCameraCSSMatrix(camera.matrixWorldInverse)+"translate("+_widthHalf+"px,"+_heightHalf+"px)";renderObject(scene,scene,camera)};this.setSize=function(width,height){_width=width;_height=height;_widthHalf=_width/2;_heightHalf=_height/2;domElement.style.width=_width+"px";domElement.style.height=_height+"px"};function renderObject(object,scene,camera){if(object.isCSS3DObject||object.isCSS3DQuad){object.onBeforeRender(_this,scene,camera);var cachedObject=cache.objects.get(object)||{};var cacheChanged=false;if(object.isVisible){if(object.isCSS3DQuad){var pv=object.projectedVertices;var x0=(1+pv[0].x)*0.5*_width,y0=(1-pv[0].y)*0.5*_height,x1=(1+pv[1].x)*0.5*_width,y1=(1-pv[1].y)*0.5*_height,x2=(1+pv[2].x)*0.5*_width,y2=(1-pv[2].y)*0.5*_height,x3=(1+pv[3].x)*0.5*_width,y3=(1-pv[3].y)*0.5*_height;createQuadMatrix(object.contentWidth,object.contentHeight,x0,y0,x1,y1,x3,y3,x2,y2,_matrix.elements);var elementStyle=getQuadCSSMatrix(_matrix);if(cachedObject.elementStyle!=elementStyle){cachedObject.elementStyle=object.element.style.transform=elementStyle;cacheChanged=true}if(cachedObject.width!==_width||cachedObject.height!==_height){object.containerElement.style.width=(cachedObject.width=_width)+"px";object.containerElement.style.height=(cachedObject.height=_height)+"px";cacheChanged=true}}else{var elementStyle=getObjectCSSMatrix(object.matrixWorld);if(cachedObject.cameraFov!==_fov){object.containerElement.style.perspective=(cachedObject.cameraFov=_fov)+"px";cacheChanged=true}if(cachedObject.width!==_width||cachedObject.height!==_height){object.cameraElement.style.width=object.containerElement.style.width=(cachedObject.width=_width)+"px";object.cameraElement.style.height=object.containerElement.style.height=(cachedObject.height=_height)+"px";cacheChanged=true}if(cachedObject.cameraStyle!==_cameraStyle){cachedObject.cameraStyle=object.cameraElement.style.transform=_cameraStyle;cacheChanged=true}if(cachedObject.elementStyle!==elementStyle){cachedObject.elementStyle=object.element.style.transform=elementStyle;cacheChanged=true}}object.containerElement.style.left="0"}else{object.containerElement.style.left=_width+"px"}if(cacheChanged)cache.objects.set(object,cachedObject);object.containerElement.style.display=object.visible?"":"none";if(object.containerElement.parentNode!==domElement)domElement.appendChild(object.containerElement);object.onAfterRender(_this,scene,camera)}for(var i=0,l=object.children.length;i&lt;l;i++)renderObject(object.children[i],scene,camera)}function epsilon(value){return value&lt;1e-10&amp;&amp;value&gt;-1e-10?0:value}function getCameraCSSMatrix(matrix){var elements=matrix.elements;return"matrix3d("+epsilon(elements[0])+","+epsilon(-elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(elements[4])+","+epsilon(-elements[5])+","+epsilon(elements[6])+","+epsilon(elements[7])+","+epsilon(elements[8])+","+epsilon(-elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(-elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")"}function getObjectCSSMatrix(matrix){var elements=matrix.elements;var matrix3d="matrix3d("+epsilon(elements[0])+","+epsilon(elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(-elements[4])+","+epsilon(-elements[5])+","+epsilon(-elements[6])+","+epsilon(-elements[7])+","+epsilon(elements[8])+","+epsilon(elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")";return"translate(-50%,-50%)"+matrix3d}function getQuadCSSMatrix(matrix){var elements=matrix.elements;var matrix3d="matrix3d("+epsilon(elements[0])+","+epsilon(elements[1])+","+epsilon(elements[2])+","+epsilon(elements[3])+","+epsilon(elements[4])+","+epsilon(elements[5])+","+epsilon(elements[6])+","+epsilon(elements[7])+","+epsilon(elements[8])+","+epsilon(elements[9])+","+epsilon(elements[10])+","+epsilon(elements[11])+","+epsilon(elements[12])+","+epsilon(elements[13])+","+epsilon(elements[14])+","+epsilon(elements[15])+")";return matrix3d}}};THREE.CSS3DRenderer=CSS3DRenderer;function projectVertices(object,camera){for(var index=0;index&lt;object.vertices.length;index++){var vertex=object.vertices[index];var projectedVertex=object.projectedVertices[index];projectedVertex.copy(vertex);projectedVertex.applyMatrix4(object.matrixWorld);projectedVertex.applyMatrix4(camera.matrixWorldInverse);var z=projectedVertex.z;projectedVertex.applyMatrix4(camera.projectionMatrix);projectedVertex.z=z}}function setArray(){var a=arguments[0];for(var i=1;i&lt;arguments.length;i++)a[i-1]=arguments[i];return a}function copyArray(t,s){for(var i=0;i&lt;s.length;i++)t[i]=s[i];return t}function adjugate(m,out){setArray(out,m[4]*m[8]-m[5]*m[7],m[2]*m[7]-m[1]*m[8],m[1]*m[5]-m[2]*m[4],m[5]*m[6]-m[3]*m[8],m[0]*m[8]-m[2]*m[6],m[2]*m[3]-m[0]*m[5],m[3]*m[7]-m[4]*m[6],m[1]*m[6]-m[0]*m[7],m[0]*m[4]-m[1]*m[3])}function multmm(a,b,out){for(var i=0;i!=3;++i){for(var j=0;j!=3;++j){var cij=0;for(var k=0;k!=3;++k){cij+=a[3*i+k]*b[3*k+j]}out[3*i+j]=cij}}}function multmv(m,v,out){return setArray(out,m[0]*v[0]+m[1]*v[1]+m[2]*v[2],m[3]*v[0]+m[4]*v[1]+m[5]*v[2],m[6]*v[0]+m[7]*v[1]+m[8]*v[2])}var m=new Array(9);var m2=new Array(9);var mAdj=new Array(9);var p=new Array(3);var v=new Array(3);var s=new Array(9);var d=new Array(9);var sAdj=new Array(9);var t=new Array(9);function basisToPoints(x1,y1,x2,y2,x3,y3,x4,y4,out){setArray(m,x1,x2,x3,y1,y2,y3,1,1,1);adjugate(m,mAdj);setArray(p,x4,y4,1);multmv(mAdj,p,v);setArray(m2,v[0],0,0,0,v[1],0,0,0,v[2]);return multmm(m,m2,out)}function general2DProjection(x1s,y1s,x1d,y1d,x2s,y2s,x2d,y2d,x3s,y3s,x3d,y3d,x4s,y4s,x4d,y4d,out){basisToPoints(x1s,y1s,x2s,y2s,x3s,y3s,x4s,y4s,s);basisToPoints(x1d,y1d,x2d,y2d,x3d,y3d,x4d,y4d,d);adjugate(s,sAdj);return multmm(d,sAdj,out)}function createQuadMatrix(w,h,x1,y1,x2,y2,x3,y3,x4,y4,out){general2DProjection(0,0,x1,y1,w,0,x2,y2,0,h,x3,y3,w,h,x4,y4,t);setArray(out,t[0]/t[8],t[3]/t[8],0,t[6]/t[8],t[1]/t[8],t[4]/t[8],0,t[7]/t[8],0,0,1,0,t[2]/t[8],t[5]/t[8],0,1)}});(function(){var BackSide=THREE.BackSide,BoxGeometry=THREE.BoxGeometry,Mesh=THREE.Mesh,MeshBasicMaterial=THREE.MeshBasicMaterial,MeshStandardMaterial=THREE.MeshStandardMaterial,PointLight=THREE.PointLight,Scene=THREE.Scene;class RoomEnvironment extends Scene{constructor(renderer=null){super();const geometry=new BoxGeometry;geometry.deleteAttribute("uv");const roomMaterial=new MeshStandardMaterial({side:BackSide});const boxMaterial=new MeshStandardMaterial;let intensity=5;if(renderer!==null&amp;&amp;renderer._useLegacyLights===false)intensity=900;const mainLight=new PointLight(16777215,intensity,28,2);mainLight.position.set(0.418,16.199,0.3);this.add(mainLight);const room=new Mesh(geometry,roomMaterial);room.position.set(-0.757,13.219,0.717);room.scale.set(31.713,28.305,28.591);this.add(room);const box1=new Mesh(geometry,boxMaterial);box1.position.set(-10.906,2.009,1.846);box1.rotation.set(0,-0.195,0);box1.scale.set(2.328,7.905,4.651);this.add(box1);const box2=new Mesh(geometry,boxMaterial);box2.position.set(-5.607,-0.754,-0.758);box2.rotation.set(0,0.994,0);box2.scale.set(1.97,1.534,3.955);this.add(box2);const box3=new Mesh(geometry,boxMaterial);box3.position.set(6.167,0.857,7.803);box3.rotation.set(0,0.561,0);box3.scale.set(3.927,6.285,3.687);this.add(box3);const box4=new Mesh(geometry,boxMaterial);box4.position.set(-2.017,0.018,6.124);box4.rotation.set(0,0.333,0);box4.scale.set(2.002,4.566,2.064);this.add(box4);const box5=new Mesh(geometry,boxMaterial);box5.position.set(2.291,-0.756,-2.621);box5.rotation.set(0,-0.286,0);box5.scale.set(1.546,1.552,1.496);this.add(box5);const box6=new Mesh(geometry,boxMaterial);box6.position.set(-2.193,-0.369,-5.547);box6.rotation.set(0,0.516,0);box6.scale.set(3.875,3.487,2.986);this.add(box6);const light1=new Mesh(geometry,createAreaLightMaterial(50));light1.position.set(-16.116,14.37,8.208);light1.scale.set(0.1,2.428,2.739);this.add(light1);const light2=new Mesh(geometry,createAreaLightMaterial(50));light2.position.set(-16.109,18.021,-8.207);light2.scale.set(0.1,2.425,2.751);this.add(light2);const light3=new Mesh(geometry,createAreaLightMaterial(17));light3.position.set(14.904,12.198,-1.832);light3.scale.set(0.15,4.265,6.331);this.add(light3);const light4=new Mesh(geometry,createAreaLightMaterial(43));light4.position.set(-0.462,8.89,14.52);light4.scale.set(4.38,5.441,0.088);this.add(light4);const light5=new Mesh(geometry,createAreaLightMaterial(20));light5.position.set(3.235,11.486,-12.541);light5.scale.set(2.5,2,0.1);this.add(light5);const light6=new Mesh(geometry,createAreaLightMaterial(100));light6.position.set(0,20,0);light6.scale.set(1,0.1,1);this.add(light6)}dispose(){const resources=new Set;this.traverse(object=&gt;{if(object.isMesh){resources.add(object.geometry);resources.add(object.material)}});for(const resource of resources){resource.dispose()}}}function createAreaLightMaterial(intensity){const material=new MeshBasicMaterial;material.color.setScalar(intensity);return material}THREE.RoomEnvironment=RoomEnvironment})();(function(t,e){e(t.THREE=t.THREE||{})})(this,function(THREE){var CubeReflectionMapping=THREE.CubeReflectionMapping,CubeRefractionMapping=THREE.CubeRefractionMapping,CubeUVReflectionMapping=THREE.CubeUVReflectionMapping,LinearEncoding=THREE.LinearEncoding,LinearFilter=THREE.LinearFilter,NoToneMapping=THREE.NoToneMapping,NoBlending=THREE.NoBlending,RGBAFormat=THREE.RGBAFormat,HalfFloatType=THREE.HalfFloatType,BufferAttribute=THREE.BufferAttribute,BufferGeometry=THREE.BufferGeometry,Mesh=THREE.Mesh,OrthographicCamera=THREE.OrthographicCamera,PerspectiveCamera=THREE.PerspectiveCamera,ShaderMaterial=THREE.ShaderMaterial,Vector3=THREE.Vector3,Color=THREE.Color,WebGLRenderTarget=THREE.WebGLRenderTarget,MeshBasicMaterial=THREE.MeshBasicMaterial,BoxGeometry=THREE.BoxGeometry,BackSide=THREE.BackSide;const LOD_MIN=4;const EXTRA_LOD_SIGMA=[0.125,0.215,0.35,0.446,0.526,0.582];const MAX_SAMPLES=20;const _flatCamera=new OrthographicCamera;const _clearColor=new Color;let _oldTarget=null;const PHI=(1+Math.sqrt(5))/2;const INV_PHI=1/PHI;const _axisDirections=[new Vector3(1,1,1),new Vector3(-1,1,1),new Vector3(1,1,-1),new Vector3(-1,1,-1),new Vector3(0,PHI,INV_PHI),new Vector3(0,PHI,-INV_PHI),new Vector3(INV_PHI,0,PHI),new Vector3(-INV_PHI,0,PHI),new Vector3(PHI,INV_PHI,0),new Vector3(-PHI,INV_PHI,0)];class PMREMGenerator{constructor(renderer){this._renderer=renderer;this._pingPongRenderTarget=null;this._lodMax=0;this._cubeSize=0;this._lodPlanes=[];this._sizeLods=[];this._sigmas=[];this._blurMaterial=null;this._cubemapMaterial=null;this._equirectMaterial=null;this._compileMaterial(this._blurMaterial)}fromScene(scene,sigma=0,near=0.1,far=100){_oldTarget=this._renderer.getRenderTarget();this._setSize(256);const cubeUVRenderTarget=this._allocateTargets();cubeUVRenderTarget.depthBuffer=true;this._sceneToCubeUV(scene,near,far,cubeUVRenderTarget);if(sigma&gt;0){this._blur(cubeUVRenderTarget,0,0,sigma)}this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}fromEquirectangular(equirectangular,renderTarget=null){return this._fromTexture(equirectangular,renderTarget)}fromCubemap(cubemap,renderTarget=null){return this._fromTexture(cubemap,renderTarget)}compileCubemapShader(){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial();this._compileMaterial(this._cubemapMaterial)}}compileEquirectangularShader(){if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial();this._compileMaterial(this._equirectMaterial)}}dispose(){this._dispose();if(this._cubemapMaterial!==null)this._cubemapMaterial.dispose();if(this._equirectMaterial!==null)this._equirectMaterial.dispose()}_setSize(cubeSize){this._lodMax=Math.floor(Math.log2(cubeSize));this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){if(this._blurMaterial!==null)this._blurMaterial.dispose();if(this._pingPongRenderTarget!==null)this._pingPongRenderTarget.dispose();for(let i=0;i&lt;this._lodPlanes.length;i++){this._lodPlanes[i].dispose()}}_cleanup(outputTarget){this._renderer.setRenderTarget(_oldTarget);outputTarget.scissorTest=false;_setViewport(outputTarget,0,0,outputTarget.width,outputTarget.height)}_fromTexture(texture,renderTarget){if(texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping){this._setSize(texture.image.length===0?16:texture.image[0].width||texture.image[0].image.width)}else{this._setSize(texture.image.width/4)}_oldTarget=this._renderer.getRenderTarget();const cubeUVRenderTarget=renderTarget||this._allocateTargets();this._textureToCubeUV(texture,cubeUVRenderTarget);this._applyPMREM(cubeUVRenderTarget);this._cleanup(cubeUVRenderTarget);return cubeUVRenderTarget}_allocateTargets(){const width=3*Math.max(this._cubeSize,16*7);const height=4*this._cubeSize;const params={magFilter:LinearFilter,minFilter:LinearFilter,generateMipmaps:false,type:HalfFloatType,format:RGBAFormat,encoding:LinearEncoding,depthBuffer:false};const cubeUVRenderTarget=_createRenderTarget(width,height,params);if(this._pingPongRenderTarget===null||this._pingPongRenderTarget.width!==width){if(this._pingPongRenderTarget!==null){this._dispose()}this._pingPongRenderTarget=_createRenderTarget(width,height,params);const{_lodMax}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=_createPlanes(_lodMax));this._blurMaterial=_getBlurShader(_lodMax,width,height)}return cubeUVRenderTarget}_compileMaterial(material){const tmpMesh=new Mesh(this._lodPlanes[0],material);this._renderer.compile(tmpMesh,_flatCamera)}_sceneToCubeUV(scene,near,far,cubeUVRenderTarget){const fov=90;const aspect=1;const cubeCamera=new PerspectiveCamera(fov,aspect,near,far);const upSign=[1,-1,1,1,1,1];const forwardSign=[1,1,1,-1,-1,-1];const renderer=this._renderer;const originalAutoClear=renderer.autoClear;const toneMapping=renderer.toneMapping;renderer.getClearColor(_clearColor);renderer.toneMapping=NoToneMapping;renderer.autoClear=false;const backgroundMaterial=new MeshBasicMaterial({name:"PMREM.Background",side:BackSide,depthWrite:false,depthTest:false});const backgroundBox=new Mesh(new BoxGeometry(),backgroundMaterial);let useSolidColor=false;const background=scene.background;if(background){if(background.isColor){backgroundMaterial.color.copy(background);scene.background=null;useSolidColor=true}}else{backgroundMaterial.color.copy(_clearColor);useSolidColor=true}for(let i=0;i&lt;6;i++){const col=i%3;if(col===0){cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(forwardSign[i],0,0)}else if(col===1){cubeCamera.up.set(0,0,upSign[i]);cubeCamera.lookAt(0,forwardSign[i],0)}else{cubeCamera.up.set(0,upSign[i],0);cubeCamera.lookAt(0,0,forwardSign[i])}const size=this._cubeSize;_setViewport(cubeUVRenderTarget,col*size,i&gt;2?size:0,size,size);renderer.setRenderTarget(cubeUVRenderTarget);if(useSolidColor){renderer.render(backgroundBox,cubeCamera)}renderer.render(scene,cubeCamera)}backgroundBox.geometry.dispose();backgroundBox.material.dispose();renderer.toneMapping=toneMapping;renderer.autoClear=originalAutoClear;scene.background=background}_textureToCubeUV(texture,cubeUVRenderTarget){const renderer=this._renderer;const isCubeTexture=texture.mapping===CubeReflectionMapping||texture.mapping===CubeRefractionMapping;if(isCubeTexture){if(this._cubemapMaterial===null){this._cubemapMaterial=_getCubemapMaterial()}this._cubemapMaterial.uniforms.flipEnvMap.value=texture.isRenderTargetTexture===false?-1:1}else{if(this._equirectMaterial===null){this._equirectMaterial=_getEquirectMaterial()}}const material=isCubeTexture?this._cubemapMaterial:this._equirectMaterial;const mesh=new Mesh(this._lodPlanes[0],material);const uniforms=material.uniforms;uniforms["envMap"].value=texture;const size=this._cubeSize;_setViewport(cubeUVRenderTarget,0,0,3*size,2*size);renderer.setRenderTarget(cubeUVRenderTarget);renderer.render(mesh,_flatCamera)}_applyPMREM(cubeUVRenderTarget){const renderer=this._renderer;const autoClear=renderer.autoClear;renderer.autoClear=false;for(let i=1;i&lt;this._lodPlanes.length;i++){const sigma=Math.sqrt(this._sigmas[i]*this._sigmas[i]-this._sigmas[i-1]*this._sigmas[i-1]);const poleAxis=_axisDirections[(i-1)%_axisDirections.length];this._blur(cubeUVRenderTarget,i-1,i,sigma,poleAxis)}renderer.autoClear=autoClear}_blur(cubeUVRenderTarget,lodIn,lodOut,sigma,poleAxis){const pingPongRenderTarget=this._pingPongRenderTarget;this._halfBlur(cubeUVRenderTarget,pingPongRenderTarget,lodIn,lodOut,sigma,"latitudinal",poleAxis);this._halfBlur(pingPongRenderTarget,cubeUVRenderTarget,lodOut,lodOut,sigma,"longitudinal",poleAxis)}_halfBlur(targetIn,targetOut,lodIn,lodOut,sigmaRadians,direction,poleAxis){const renderer=this._renderer;const blurMaterial=this._blurMaterial;if(direction!=="latitudinal"&amp;&amp;direction!=="longitudinal"){console.error("blur direction must be either latitudinal or longitudinal!")}const STANDARD_DEVIATIONS=3;const blurMesh=new Mesh(this._lodPlanes[lodOut],blurMaterial);const blurUniforms=blurMaterial.uniforms;const pixels=this._sizeLods[lodIn]-1;const radiansPerPixel=isFinite(sigmaRadians)?Math.PI/(2*pixels):2*Math.PI/(2*MAX_SAMPLES-1);const sigmaPixels=sigmaRadians/radiansPerPixel;const samples=isFinite(sigmaRadians)?1+Math.floor(STANDARD_DEVIATIONS*sigmaPixels):MAX_SAMPLES;if(samples&gt;MAX_SAMPLES){console.warn(`sigmaRadians, ${sigmaRadians}, is too large and will clip, as it requested ${samples} samples when the maximum is set to ${MAX_SAMPLES}`)}const weights=[];let sum=0;for(let i=0;i&lt;MAX_SAMPLES;++i){const x=i/sigmaPixels;const weight=Math.exp(-x*x/2);weights.push(weight);if(i===0){sum+=weight}else if(i&lt;samples){sum+=2*weight}}for(let i=0;i&lt;weights.length;i++){weights[i]=weights[i]/sum}blurUniforms["envMap"].value=targetIn.texture;blurUniforms["samples"].value=samples;blurUniforms["weights"].value=weights;blurUniforms["latitudinal"].value=direction==="latitudinal";if(poleAxis){blurUniforms["poleAxis"].value=poleAxis}const{_lodMax}=this;blurUniforms["dTheta"].value=radiansPerPixel;blurUniforms["mipInt"].value=_lodMax-lodIn;const outputSize=this._sizeLods[lodOut];const x=3*outputSize*(lodOut&gt;_lodMax-LOD_MIN?lodOut-_lodMax+LOD_MIN:0);const y=4*(this._cubeSize-outputSize);_setViewport(targetOut,x,y,3*outputSize,2*outputSize);renderer.setRenderTarget(targetOut);renderer.render(blurMesh,_flatCamera)}}function _createPlanes(lodMax){const lodPlanes=[];const sizeLods=[];const sigmas=[];let lod=lodMax;const totalLods=lodMax-LOD_MIN+1+EXTRA_LOD_SIGMA.length;for(let i=0;i&lt;totalLods;i++){const sizeLod=Math.pow(2,lod);sizeLods.push(sizeLod);let sigma=1/sizeLod;if(i&gt;lodMax-LOD_MIN){sigma=EXTRA_LOD_SIGMA[i-lodMax+LOD_MIN-1]}else if(i===0){sigma=0}sigmas.push(sigma);const texelSize=1/(sizeLod-2);const min=-texelSize;const max=1+texelSize;const uv1=[min,min,max,min,max,max,min,min,max,max,min,max];const cubeFaces=6;const vertices=6;const positionSize=3;const uvSize=2;const faceIndexSize=1;const position=new Float32Array(positionSize*vertices*cubeFaces);const uv=new Float32Array(uvSize*vertices*cubeFaces);const faceIndex=new Float32Array(faceIndexSize*vertices*cubeFaces);for(let face=0;face&lt;cubeFaces;face++){const x=face%3*2/3-1;const y=face&gt;2?0:-1;const coordinates=[x,y,0,x+2/3,y,0,x+2/3,y+1,0,x,y,0,x+2/3,y+1,0,x,y+1,0];position.set(coordinates,positionSize*vertices*face);uv.set(uv1,uvSize*vertices*face);const fill=[face,face,face,face,face,face];faceIndex.set(fill,faceIndexSize*vertices*face)}const planes=new BufferGeometry;planes.setAttribute("position",new BufferAttribute(position,positionSize));planes.setAttribute("uv",new BufferAttribute(uv,uvSize));planes.setAttribute("faceIndex",new BufferAttribute(faceIndex,faceIndexSize));lodPlanes.push(planes);if(lod&gt;LOD_MIN){lod--}}return{lodPlanes,sizeLods,sigmas}}function _createRenderTarget(width,height,params){const cubeUVRenderTarget=new WebGLRenderTarget(width,height,params);cubeUVRenderTarget.texture.mapping=CubeUVReflectionMapping;cubeUVRenderTarget.texture.name="PMREM.cubeUv";cubeUVRenderTarget.scissorTest=true;return cubeUVRenderTarget}function _setViewport(target,x,y,width,height){target.viewport.set(x,y,width,height);target.scissor.set(x,y,width,height)}function _getBlurShader(lodMax,width,height){const weights=new Float32Array(MAX_SAMPLES);const poleAxis=new Vector3(0,1,0);const shaderMaterial=new ShaderMaterial({name:"SphericalGaussianBlur",defines:{"n":MAX_SAMPLES,"CUBEUV_TEXEL_WIDTH":1/width,"CUBEUV_TEXEL_HEIGHT":1/height,"CUBEUV_MAX_MIP":`${lodMax}.0`},uniforms:{"envMap":{value:null},"samples":{value:1},"weights":{value:weights},"latitudinal":{value:false},"dTheta":{value:0},"mipInt":{value:0},"poleAxis":{value:poleAxis}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                varying vec3 vOutputDirection;

                uniform sampler2D envMap;
                uniform int samples;
                uniform float weights[ n ];
                uniform bool latitudinal;
                uniform float dTheta;
                uniform float mipInt;
                uniform vec3 poleAxis;

                #define ENVMAP_TYPE_CUBE_UV
                #include &lt;cube_uv_reflection_fragment&gt;

                vec3 getSample( float theta, vec3 axis ) {

                    float cosTheta = cos( theta );
                    // Rodrigues' axis-angle rotation
                    vec3 sampleDirection = vOutputDirection * cosTheta
                        + cross( axis, vOutputDirection ) * sin( theta )
                        + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );

                    return bilinearCubeUV( envMap, sampleDirection, mipInt );

                }

                void main() {

                    vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );

                    if ( all( equal( axis, vec3( 0.0 ) ) ) ) {

                        axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );

                    }

                    axis = normalize( axis );

                    gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
                    gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );

                    for ( int i = 1; i &lt; n; i++ ) {

                        if ( i &gt;= samples ) {

                            break;

                        }

                        float theta = dTheta * float( i );
                        gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );
                        gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );

                    }

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false});return shaderMaterial}function _getEquirectMaterial(){return new ShaderMaterial({name:"EquirectangularToCubeUV",uniforms:{"envMap":{value:null}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                varying vec3 vOutputDirection;

                uniform sampler2D envMap;

                #include &lt;common&gt;

                void main() {

                    vec3 outputDirection = normalize( vOutputDirection );
                    vec2 uv = equirectUv( outputDirection );

                    gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCubemapMaterial(){return new ShaderMaterial({name:"CubemapToCubeUV",uniforms:{"envMap":{value:null},"flipEnvMap":{value:-1}},vertexShader:_getCommonVertexShader(),fragmentShader:`

                precision mediump float;
                precision mediump int;

                uniform float flipEnvMap;

                varying vec3 vOutputDirection;

                uniform samplerCube envMap;

                void main() {

                    gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );

                }
            `,blending:NoBlending,depthTest:false,depthWrite:false})}function _getCommonVertexShader(){return`

            precision mediump float;
            precision mediump int;

            attribute float faceIndex;

            varying vec3 vOutputDirection;

            // RH coordinate system; PMREM face-indexing convention
            vec3 getDirection( vec2 uv, float face ) {

                uv = 2.0 * uv - 1.0;

                vec3 direction = vec3( uv, 1.0 );

                if ( face == 0.0 ) {

                    direction = direction.zyx; // ( 1, v, u ) pos x

                } else if ( face == 1.0 ) {

                    direction = direction.xzy;
                    direction.xz *= -1.0; // ( -u, 1, -v ) pos y

                } else if ( face == 2.0 ) {

                    direction.x *= -1.0; // ( -u, v, 1 ) pos z

                } else if ( face == 3.0 ) {

                    direction = direction.zyx;
                    direction.xz *= -1.0; // ( -1, v, -u ) neg x

                } else if ( face == 4.0 ) {

                    direction = direction.xzy;
                    direction.xy *= -1.0; // ( -u, -1, v ) neg y

                } else if ( face == 5.0 ) {

                    direction.z *= -1.0; // ( u, v, -1 ) neg z

                }

                return direction;

            }

            void main() {

                vOutputDirection = getDirection( uv, faceIndex );
                gl_Position = vec4( position, 1.0 );

            }
        `}THREE.PMREMGenerator=PMREMGenerator});(function(t,e){e(t,t.THREE=t.THREE||{})})(this,function(globalThis,THREE){const $5OpyM$Spherical=THREE.Spherical;const $5OpyM$Vector3=THREE.Vector3;const $5OpyM$MathUtils=THREE.MathUtils;const $5OpyM$Sphere=THREE.Sphere;const $5OpyM$Group=THREE.Group;const $5OpyM$PointsMaterial=THREE.PointsMaterial;const $5OpyM$MeshStandardMaterial=THREE.MeshStandardMaterial;const $5OpyM$Box3Helper=THREE.Box3Helper;const $5OpyM$Color=THREE.Color;const $5OpyM$Matrix4=THREE.Matrix4;const $5OpyM$LoadingManager=THREE.LoadingManager;const $5OpyM$Vector2=THREE.Vector2;const $5OpyM$Frustum=THREE.Frustum;const $5OpyM$DefaultLoadingManager=THREE.DefaultLoadingManager;const $5OpyM$BufferGeometry=THREE.BufferGeometry;const $5OpyM$BufferAttribute=THREE.BufferAttribute;const $5OpyM$Points=THREE.Points;const $5OpyM$Quaternion=THREE.Quaternion;const $5OpyM$InstancedMesh=THREE.InstancedMesh;const $5OpyM$Ray=THREE.Ray;const $5OpyM$Box3=THREE.Box3;const $5OpyM$LineBasicMaterial=THREE.LineBasicMaterial;const $5OpyM$LineSegments=THREE.LineSegments;const $5OpyM$BoxGeometry=THREE.BoxGeometry;const $5OpyM$EdgesGeometry=THREE.EdgesGeometry;const $5OpyM$Mesh=THREE.Mesh;const $5OpyM$Euler=THREE.Euler;const $5OpyM$GLTFLoader=THREE.GLTFLoader;var $parcel$global=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{};var $parcel$modules={};var $parcel$inits={};var parcelRequire=$parcel$global["parcelRequire5fa1"];if(parcelRequire==null){parcelRequire=function(id){if(id in $parcel$modules){return $parcel$modules[id].exports}if(id in $parcel$inits){var init=$parcel$inits[id];delete $parcel$inits[id];var module={id:id,exports:{}};$parcel$modules[id]=module;init.call(module.exports,module,module.exports);return module.exports}var err=new Error("Cannot find module '"+id+"'");err.code="MODULE_NOT_FOUND";throw err};parcelRequire.register=function register(id,init){$parcel$inits[id]=init};$parcel$global["parcelRequire5fa1"]=parcelRequire}parcelRequire.register("1hGdn",function(module,exports){"use strict";Object.defineProperty(module.exports,"__esModule",{value:true});module.exports.latitudeToSphericalPhi=$0ef81fee344e2f3b$var$latitudeToSphericalPhi;module.exports.sphericalPhiToLatitude=$0ef81fee344e2f3b$var$sphericalPhiToLatitude;module.exports.swapToGeoFrame=$0ef81fee344e2f3b$var$swapToGeoFrame;module.exports.swapToThreeFrame=$0ef81fee344e2f3b$var$swapToThreeFrame;module.exports.toLatLonString=$0ef81fee344e2f3b$var$toLatLonString;const $0ef81fee344e2f3b$var$_spherical=new $5OpyM$Spherical;const $0ef81fee344e2f3b$var$_vec=new $5OpyM$Vector3;const $0ef81fee344e2f3b$var$_geoResults={};function $0ef81fee344e2f3b$var$swapToGeoFrame(target){const{x:x,y:y,z:z}=target;target.x=z;target.y=x;target.z=y}function $0ef81fee344e2f3b$var$swapToThreeFrame(target){const{x:x,y:y,z:z}=target;target.z=x;target.x=y;target.y=z}function $0ef81fee344e2f3b$var$sphericalPhiToLatitude(phi){return-(phi-Math.PI/2)}function $0ef81fee344e2f3b$var$latitudeToSphericalPhi(latitude){return-latitude+Math.PI/2}function $0ef81fee344e2f3b$var$correctGeoCoordWrap(lat,lon,target={}){$0ef81fee344e2f3b$var$_spherical.theta=lon;$0ef81fee344e2f3b$var$_spherical.phi=$0ef81fee344e2f3b$var$latitudeToSphericalPhi(lat);$0ef81fee344e2f3b$var$_vec.setFromSpherical($0ef81fee344e2f3b$var$_spherical);$0ef81fee344e2f3b$var$_spherical.setFromVector3($0ef81fee344e2f3b$var$_vec);target.lat=$0ef81fee344e2f3b$var$sphericalPhiToLatitude($0ef81fee344e2f3b$var$_spherical.phi);target.lon=$0ef81fee344e2f3b$var$_spherical.theta;return target}function $0ef81fee344e2f3b$var$toHoursMinutesSecondsString(value,pos="E",neg="W"){const direction=value&lt;0?neg:pos;value=Math.abs(value);const hours=~~value;const minDec=(value-hours)*60;const minutes=~~minDec;const secDec=(minDec-minutes)*60;const seconds=~~secDec;return`${hours}Â° ${minutes}' ${seconds}" ${direction}`}function $0ef81fee344e2f3b$var$toLatLonString(lat,lon,decimalFormat=false){const result=$0ef81fee344e2f3b$var$correctGeoCoordWrap(lat,lon,$0ef81fee344e2f3b$var$_geoResults);let latString,lonString;if(decimalFormat){latString=`${($5OpyM$MathUtils.RAD2DEG*result.lat).toFixed(4)}Â°`;lonString=`${($5OpyM$MathUtils.RAD2DEG*result.lon).toFixed(4)}Â°`}else{latString=$0ef81fee344e2f3b$var$toHoursMinutesSecondsString($5OpyM$MathUtils.RAD2DEG*result.lat,"N","S");lonString=$0ef81fee344e2f3b$var$toHoursMinutesSecondsString($5OpyM$MathUtils.RAD2DEG*result.lon,"E","W")}return`${latString} ${lonString}`}});var $cf838c15c8b009ba$exports={};"use strict";Object.defineProperty($cf838c15c8b009ba$exports,"__esModule",{value:true});var $cf838c15c8b009ba$var$_exportNames={DebugTilesRenderer:true,NONE:true,SCREEN_ERROR:true,GEOMETRIC_ERROR:true,DISTANCE:true,DEPTH:true,RELATIVE_DEPTH:true,IS_LEAF:true,RANDOM_COLOR:true,RANDOM_NODE_COLOR:true,CUSTOM_COLOR:true,TilesRenderer:true,B3DMLoader:true,PNTSLoader:true,I3DMLoader:true,CMPTLoader:true,GLTFCesiumRTCExtension:true,GLTFExtensionLoader:true,EllipsoidRegionHelper:true,EllipsoidRegionLineHelper:true,SphereHelper:true,Ellipsoid:true,EllipsoidRegion:true,GeoUtils:true,TilesRendererBase:true,LoaderBase:true,B3DMLoaderBase:true,I3DMLoaderBase:true,PNTSLoaderBase:true,CMPTLoaderBase:true,LRUCache:true,PriorityQueue:true};Object.defineProperty($cf838c15c8b009ba$exports,"B3DMLoader",{enumerable:true,get:function(){return $0aa3d1def57e98b1$exports.B3DMLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"B3DMLoaderBase",{enumerable:true,get:function(){return $f5d9b5dde53306bf$exports.B3DMLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"CMPTLoader",{enumerable:true,get:function(){return $54879e9a7dc345e0$exports.CMPTLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"CMPTLoaderBase",{enumerable:true,get:function(){return $cb66a16334732244$exports.CMPTLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"CUSTOM_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.CUSTOM_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"DEPTH",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DEPTH}});Object.defineProperty($cf838c15c8b009ba$exports,"DISTANCE",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DISTANCE}});Object.defineProperty($cf838c15c8b009ba$exports,"DebugTilesRenderer",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.DebugTilesRenderer}});Object.defineProperty($cf838c15c8b009ba$exports,"Ellipsoid",{enumerable:true,get:function(){return $9160f8f2e0578e98$exports.Ellipsoid}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegion",{enumerable:true,get:function(){return $aa7b3b269f245cbe$exports.EllipsoidRegion}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegionHelper",{enumerable:true,get:function(){return $3b9225051b507460$exports.EllipsoidRegionHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"EllipsoidRegionLineHelper",{enumerable:true,get:function(){return $3b9225051b507460$exports.EllipsoidRegionLineHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"GEOMETRIC_ERROR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.GEOMETRIC_ERROR}});Object.defineProperty($cf838c15c8b009ba$exports,"GLTFCesiumRTCExtension",{enumerable:true,get:function(){return $44c3bffa5e49f297$exports.GLTFCesiumRTCExtension}});Object.defineProperty($cf838c15c8b009ba$exports,"GLTFExtensionLoader",{enumerable:true,get:function(){return $29ced67d26e5c4e2$exports.GLTFExtensionLoader}});$cf838c15c8b009ba$exports.GeoUtils=void 0;Object.defineProperty($cf838c15c8b009ba$exports,"I3DMLoader",{enumerable:true,get:function(){return $0bc85483bdeca322$exports.I3DMLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"I3DMLoaderBase",{enumerable:true,get:function(){return $bcb352fb74bed4a5$exports.I3DMLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"IS_LEAF",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.IS_LEAF}});Object.defineProperty($cf838c15c8b009ba$exports,"LRUCache",{enumerable:true,get:function(){return $e0d7a242557dc8e6$exports.LRUCache}});Object.defineProperty($cf838c15c8b009ba$exports,"LoaderBase",{enumerable:true,get:function(){return $e6b785bba9ea128d$exports.LoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"NONE",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.NONE}});Object.defineProperty($cf838c15c8b009ba$exports,"PNTSLoader",{enumerable:true,get:function(){return $1ddd6ca16eb224df$exports.PNTSLoader}});Object.defineProperty($cf838c15c8b009ba$exports,"PNTSLoaderBase",{enumerable:true,get:function(){return $d408eda5a179398a$exports.PNTSLoaderBase}});Object.defineProperty($cf838c15c8b009ba$exports,"PriorityQueue",{enumerable:true,get:function(){return $096d2234d1235002$exports.PriorityQueue}});Object.defineProperty($cf838c15c8b009ba$exports,"RANDOM_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RANDOM_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"RANDOM_NODE_COLOR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RANDOM_NODE_COLOR}});Object.defineProperty($cf838c15c8b009ba$exports,"RELATIVE_DEPTH",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.RELATIVE_DEPTH}});Object.defineProperty($cf838c15c8b009ba$exports,"SCREEN_ERROR",{enumerable:true,get:function(){return $1909f04f34bd6630$exports.SCREEN_ERROR}});Object.defineProperty($cf838c15c8b009ba$exports,"SphereHelper",{enumerable:true,get:function(){return $1cb839fa4db014d3$exports.SphereHelper}});Object.defineProperty($cf838c15c8b009ba$exports,"TilesRenderer",{enumerable:true,get:function(){return $06d26e8e9f5361d3$exports.TilesRenderer}});Object.defineProperty($cf838c15c8b009ba$exports,"TilesRendererBase",{enumerable:true,get:function(){return $5a6f7a997885dc30$exports.TilesRendererBase}});var $1909f04f34bd6630$exports={};"use strict";Object.defineProperty($1909f04f34bd6630$exports,"__esModule",{value:true});$1909f04f34bd6630$exports.SCREEN_ERROR=$1909f04f34bd6630$exports.RELATIVE_DEPTH=$1909f04f34bd6630$exports.RANDOM_NODE_COLOR=$1909f04f34bd6630$exports.RANDOM_COLOR=$1909f04f34bd6630$exports.NONE=$1909f04f34bd6630$exports.IS_LEAF=$1909f04f34bd6630$exports.GEOMETRIC_ERROR=$1909f04f34bd6630$exports.DebugTilesRenderer=$1909f04f34bd6630$exports.DISTANCE=$1909f04f34bd6630$exports.DEPTH=$1909f04f34bd6630$exports.CUSTOM_COLOR=void 0;var $3a66585ec6f85053$exports={};"use strict";Object.defineProperty($3a66585ec6f85053$exports,"__esModule",{value:true});$3a66585ec6f85053$exports.getIndexedRandomColor=$3a66585ec6f85053$var$getIndexedRandomColor;const $3a66585ec6f85053$var$colors={};function $3a66585ec6f85053$var$getIndexedRandomColor(index){if(!$3a66585ec6f85053$var$colors[index]){const h=Math.random();const s=0.5+Math.random()*0.5;const l=0.375+Math.random()*0.25;$3a66585ec6f85053$var$colors[index]=new $5OpyM$Color().setHSL(h,s,l)}return $3a66585ec6f85053$var$colors[index]}var $06d26e8e9f5361d3$exports={};"use strict";Object.defineProperty($06d26e8e9f5361d3$exports,"__esModule",{value:true});$06d26e8e9f5361d3$exports.TilesRenderer=void 0;var $5a6f7a997885dc30$exports={};"use strict";Object.defineProperty($5a6f7a997885dc30$exports,"__esModule",{value:true});$5a6f7a997885dc30$exports.TilesRendererBase=void 0;var $7ff9fb142d83939f$exports={};"use strict";Object.defineProperty($7ff9fb142d83939f$exports,"__esModule",{value:true});$7ff9fb142d83939f$exports.getUrlExtension=$7ff9fb142d83939f$var$getUrlExtension;function $7ff9fb142d83939f$var$getUrlExtension(url){let parsedUrl;try{parsedUrl=new URL(url,"http://fakehost.com/")}catch(_){return null}const filename=parsedUrl.pathname.split("/").pop();const dotIndex=filename.lastIndexOf(".");if(dotIndex===-1||dotIndex===filename.length-1)return null;const extension=filename.substring(dotIndex+1);return extension}var $e0d7a242557dc8e6$exports={};"use strict";Object.defineProperty($e0d7a242557dc8e6$exports,"__esModule",{value:true});$e0d7a242557dc8e6$exports.LRUCache=void 0;function $e0d7a242557dc8e6$var$enqueueMicrotask(callback){Promise.resolve().then(callback)}class $e0d7a242557dc8e6$var$LRUCache{constructor(){this.maxSize=800;this.minSize=600;this.unloadPercent=0.05;this.itemSet=new Map;this.itemList=[];this.usedSet=new Set;this.callbacks=new Map;this.unloadPriorityCallback=null;const itemSet=this.itemSet;this.defaultPriorityCallback=item=&gt;itemSet.get(item)}isFull(){return this.itemSet.size&gt;=this.maxSize}add(item,removeCb){const itemSet=this.itemSet;if(itemSet.has(item))return false;if(this.isFull())return false;const usedSet=this.usedSet;const itemList=this.itemList;const callbacks=this.callbacks;itemList.push(item);usedSet.add(item);itemSet.set(item,Date.now());callbacks.set(item,removeCb);return true}remove(item){const usedSet=this.usedSet;const itemSet=this.itemSet;const itemList=this.itemList;const callbacks=this.callbacks;if(itemSet.has(item)){callbacks.get(item)(item);const index=itemList.indexOf(item);itemList.splice(index,1);usedSet.delete(item);itemSet.delete(item);callbacks.delete(item);return true}return false}markUsed(item){const itemSet=this.itemSet;const usedSet=this.usedSet;if(itemSet.has(item)&amp;&amp;!usedSet.has(item)){itemSet.set(item,Date.now());usedSet.add(item)}}markAllUnused(){this.usedSet.clear()}unloadUnusedContent(){const unloadPercent=this.unloadPercent;const targetSize=this.minSize;const itemList=this.itemList;const itemSet=this.itemSet;const usedSet=this.usedSet;const callbacks=this.callbacks;const unused=itemList.length-usedSet.size;const excess=itemList.length-targetSize;const unloadPriorityCallback=this.unloadPriorityCallback||this.defaultPriorityCallback;if(excess&gt;0&amp;&amp;unused&gt;0){itemList.sort((a,b)=&gt;{const usedA=usedSet.has(a);const usedB=usedSet.has(b);if(usedA&amp;&amp;usedB)return 0;else if(!usedA&amp;&amp;!usedB)return unloadPriorityCallback(b)-unloadPriorityCallback(a);else return usedA?1:-1});const unusedExcess=Math.min(excess,unused);const maxUnload=Math.max(targetSize*unloadPercent,unusedExcess*unloadPercent);let nodesToUnload=Math.min(maxUnload,unused);nodesToUnload=Math.ceil(nodesToUnload);const removedItems=itemList.splice(0,nodesToUnload);for(let i=0,l=removedItems.length;i&lt;l;i++){const item=removedItems[i];callbacks.get(item)(item);itemSet.delete(item);callbacks.delete(item)}}}scheduleUnload(markAllUnused=true){if(!this.scheduled){this.scheduled=true;$e0d7a242557dc8e6$var$enqueueMicrotask(()=&gt;{this.scheduled=false;this.unloadUnusedContent();if(markAllUnused)this.markAllUnused()})}}}$e0d7a242557dc8e6$exports.LRUCache=$e0d7a242557dc8e6$var$LRUCache;var $096d2234d1235002$exports={};"use strict";Object.defineProperty($096d2234d1235002$exports,"__esModule",{value:true});$096d2234d1235002$exports.PriorityQueue=void 0;class $096d2234d1235002$var$PriorityQueue{constructor(){this.maxJobs=6;this.items=[];this.callbacks=new Map;this.currJobs=0;this.scheduled=false;this.autoUpdate=true;this.priorityCallback=()=&gt;{throw new Error("PriorityQueue: PriorityCallback function not defined.")};this.schedulingCallback=func=&gt;{requestAnimationFrame(func)};this._runjobs=()=&gt;{this.tryRunJobs();this.scheduled=false}}sort(){const priorityCallback=this.priorityCallback;const items=this.items;items.sort(priorityCallback)}add(item,callback){return new Promise((resolve,reject)=&gt;{const prCallback=(...args)=&gt;callback(...args).then(resolve).catch(reject);const items=this.items;const callbacks=this.callbacks;items.push(item);callbacks.set(item,prCallback);if(this.autoUpdate)this.scheduleJobRun()})}remove(item){const items=this.items;const callbacks=this.callbacks;const index=items.indexOf(item);if(index!==-1){items.splice(index,1);callbacks.delete(item)}}tryRunJobs(){this.sort();const items=this.items;const callbacks=this.callbacks;const maxJobs=this.maxJobs;let currJobs=this.currJobs;while(maxJobs&gt;currJobs&amp;&amp;items.length&gt;0){currJobs++;const item=items.pop();const callback=callbacks.get(item);callbacks.delete(item);callback(item).then(()=&gt;{this.currJobs--;if(this.autoUpdate)this.scheduleJobRun()}).catch(()=&gt;{this.currJobs--;if(this.autoUpdate)this.scheduleJobRun()})}this.currJobs=currJobs}scheduleJobRun(){if(!this.scheduled){this.schedulingCallback(this._runjobs);this.scheduled=true}}}$096d2234d1235002$exports.PriorityQueue=$096d2234d1235002$var$PriorityQueue;var $cd531a5f1c18e9cc$exports={};"use strict";Object.defineProperty($cd531a5f1c18e9cc$exports,"__esModule",{value:true});$cd531a5f1c18e9cc$exports.determineFrustumSet=$cd531a5f1c18e9cc$var$determineFrustumSet;$cd531a5f1c18e9cc$exports.markUsedSetLeaves=$cd531a5f1c18e9cc$var$markUsedSetLeaves;$cd531a5f1c18e9cc$exports.skipTraversal=$cd531a5f1c18e9cc$var$skipTraversal;$cd531a5f1c18e9cc$exports.toggleTiles=$cd531a5f1c18e9cc$var$toggleTiles;$cd531a5f1c18e9cc$exports.traverseSet=$cd531a5f1c18e9cc$var$traverseSet;var $002d29a772485791$exports={};"use strict";Object.defineProperty($002d29a772485791$exports,"__esModule",{value:true});$002d29a772485791$exports.WGS84_RADIUS=$002d29a772485791$exports.WGS84_HEIGHT=$002d29a772485791$exports.WGS84_FLATTENING=$002d29a772485791$exports.UNLOADED=$002d29a772485791$exports.PARSING=$002d29a772485791$exports.LOADING=$002d29a772485791$exports.LOADED=$002d29a772485791$exports.FAILED=void 0;const $002d29a772485791$var$UNLOADED=0;$002d29a772485791$exports.UNLOADED=$002d29a772485791$var$UNLOADED;const $002d29a772485791$var$LOADING=1;$002d29a772485791$exports.LOADING=$002d29a772485791$var$LOADING;const $002d29a772485791$var$PARSING=2;$002d29a772485791$exports.PARSING=$002d29a772485791$var$PARSING;const $002d29a772485791$var$LOADED=3;$002d29a772485791$exports.LOADED=$002d29a772485791$var$LOADED;const $002d29a772485791$var$FAILED=4;$002d29a772485791$exports.FAILED=$002d29a772485791$var$FAILED;const $002d29a772485791$var$WGS84_RADIUS=6378137;$002d29a772485791$exports.WGS84_RADIUS=$002d29a772485791$var$WGS84_RADIUS;const $002d29a772485791$var$WGS84_FLATTENING=1/298.257223563;$002d29a772485791$exports.WGS84_FLATTENING=$002d29a772485791$var$WGS84_FLATTENING;const $002d29a772485791$var$WGS84_HEIGHT=-($002d29a772485791$var$WGS84_FLATTENING*$002d29a772485791$var$WGS84_RADIUS-$002d29a772485791$var$WGS84_RADIUS);$002d29a772485791$exports.WGS84_HEIGHT=$002d29a772485791$var$WGS84_HEIGHT;function $cd531a5f1c18e9cc$var$isDownloadFinished(value){return value===$002d29a772485791$exports.LOADED||value===$002d29a772485791$exports.FAILED}function $cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount){return tile.__lastFrameVisited===frameCount&amp;&amp;tile.__used}function $cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount){if(tile.__lastFrameVisited!==frameCount){tile.__lastFrameVisited=frameCount;tile.__used=false;tile.__inFrustum=false;tile.__isLeaf=false;tile.__visible=false;tile.__active=false;tile.__error=Infinity;tile.__distanceFromCamera=Infinity;tile.__childrenWereVisible=false;tile.__allChildrenLoaded=false}}function $cd531a5f1c18e9cc$var$recursivelyMarkUsed(tile,frameCount,lruCache,renderer){renderer.ensureChildrenArePreprocessed(tile);$cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount);tile.__used=true;lruCache.markUsed(tile);if(tile.__contentEmpty){const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++)$cd531a5f1c18e9cc$var$recursivelyMarkUsed(children[i],frameCount,lruCache,renderer)}}function $cd531a5f1c18e9cc$var$recursivelyLoadTiles(tile,depthFromRenderedParent,renderer){renderer.ensureChildrenArePreprocessed(tile);const doTraverse=tile.__contentEmpty&amp;&amp;(!tile.__externalTileSet||$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState));if(doTraverse){const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++){const child=children[i];child.__depthFromRenderedParent=depthFromRenderedParent;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(child,depthFromRenderedParent,renderer)}}else renderer.requestTileContents(tile)}function $cd531a5f1c18e9cc$var$traverseSet(tile,beforeCb=null,afterCb=null,parent=null,depth=0){if(beforeCb&amp;&amp;beforeCb(tile,parent,depth)){if(afterCb)afterCb(tile,parent,depth);return}const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++)$cd531a5f1c18e9cc$var$traverseSet(children[i],beforeCb,afterCb,tile,depth+1);if(afterCb)afterCb(tile,parent,depth)}function $cd531a5f1c18e9cc$var$determineFrustumSet(tile,renderer){renderer.ensureChildrenArePreprocessed(tile);const stats=renderer.stats;const frameCount=renderer.frameCount;const errorTarget=renderer.errorTarget;const maxDepth=renderer.maxDepth;const loadSiblings=renderer.loadSiblings;const lruCache=renderer.lruCache;const stopAtEmptyTiles=renderer.stopAtEmptyTiles;$cd531a5f1c18e9cc$var$resetFrameState(tile,frameCount);const inFrustum=renderer.tileInView(tile);if(inFrustum===false)return false;tile.__used=true;lruCache.markUsed(tile);tile.__inFrustum=true;stats.inFrustum++;if((stopAtEmptyTiles||!tile.__contentEmpty)&amp;&amp;!tile.__externalTileSet){renderer.calculateError(tile);const error=tile.__error;if(error&lt;=errorTarget)return true;if(renderer.maxDepth&gt;0&amp;&amp;tile.__depth+1&gt;=maxDepth)return true}let anyChildrenUsed=false;const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];const r=$cd531a5f1c18e9cc$var$determineFrustumSet(c,renderer);anyChildrenUsed=anyChildrenUsed||r}if(anyChildrenUsed&amp;&amp;loadSiblings)for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];$cd531a5f1c18e9cc$var$recursivelyMarkUsed(c,frameCount,lruCache,renderer)}return true}function $cd531a5f1c18e9cc$var$markUsedSetLeaves(tile,renderer){const stats=renderer.stats;const frameCount=renderer.frameCount;if(!$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount))return;stats.used++;const children=tile.children;let anyChildrenUsed=false;for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];anyChildrenUsed=anyChildrenUsed||$cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)}if(!anyChildrenUsed)tile.__isLeaf=true;else{let childrenWereVisible=false;let allChildrenLoaded=true;for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];$cd531a5f1c18e9cc$var$markUsedSetLeaves(c,renderer);childrenWereVisible=childrenWereVisible||c.__wasSetVisible||c.__childrenWereVisible;if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)){const childLoaded=c.__allChildrenLoaded||!c.__contentEmpty&amp;&amp;$cd531a5f1c18e9cc$var$isDownloadFinished(c.__loadingState)||c.__externalTileSet&amp;&amp;c.__loadingState===$002d29a772485791$exports.FAILED;allChildrenLoaded=allChildrenLoaded&amp;&amp;childLoaded}}tile.__childrenWereVisible=childrenWereVisible;tile.__allChildrenLoaded=allChildrenLoaded}}function $cd531a5f1c18e9cc$var$skipTraversal(tile,renderer){const stats=renderer.stats;const frameCount=renderer.frameCount;if(!$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount))return;const parent=tile.parent;const parentDepthToParent=parent?parent.__depthFromRenderedParent:-1;tile.__depthFromRenderedParent=parentDepthToParent;const lruCache=renderer.lruCache;if(tile.__isLeaf){tile.__depthFromRenderedParent++;if(tile.__loadingState===$002d29a772485791$exports.LOADED){if(tile.__inFrustum){tile.__visible=true;stats.visible++}tile.__active=true;stats.active++}else if(!lruCache.isFull()&amp;&amp;(!tile.__contentEmpty||tile.__externalTileSet))renderer.requestTileContents(tile);return}const errorRequirement=(renderer.errorTarget+1)*renderer.errorThreshold;const meetsSSE=tile.__error&lt;=errorRequirement;const includeTile=meetsSSE||tile.refine==="ADD";const hasModel=!tile.__contentEmpty;const hasContent=hasModel||tile.__externalTileSet;const loadedContent=$cd531a5f1c18e9cc$var$isDownloadFinished(tile.__loadingState)&amp;&amp;hasContent;const childrenWereVisible=tile.__childrenWereVisible;const children=tile.children;const allChildrenHaveContent=tile.__allChildrenLoaded;if(includeTile&amp;&amp;hasModel)tile.__depthFromRenderedParent++;if(includeTile&amp;&amp;!loadedContent&amp;&amp;!lruCache.isFull()&amp;&amp;hasContent)renderer.requestTileContents(tile);if(meetsSSE&amp;&amp;!allChildrenHaveContent&amp;&amp;!childrenWereVisible&amp;&amp;loadedContent||tile.refine==="ADD"&amp;&amp;loadedContent){if(tile.__inFrustum){tile.__visible=true;stats.visible++}tile.__active=true;stats.active++}if(tile.refine!=="ADD"&amp;&amp;meetsSSE&amp;&amp;!allChildrenHaveContent&amp;&amp;loadedContent)for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount)&amp;&amp;!lruCache.isFull()){c.__depthFromRenderedParent=tile.__depthFromRenderedParent+1;$cd531a5f1c18e9cc$var$recursivelyLoadTiles(c,c.__depthFromRenderedParent,renderer)}}else for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];if($cd531a5f1c18e9cc$var$isUsedThisFrame(c,frameCount))$cd531a5f1c18e9cc$var$skipTraversal(c,renderer)}}function $cd531a5f1c18e9cc$var$toggleTiles(tile,renderer){const frameCount=renderer.frameCount;const isUsed=$cd531a5f1c18e9cc$var$isUsedThisFrame(tile,frameCount);if(isUsed||tile.__usedLastFrame){let setActive=false;let setVisible=false;if(isUsed){setActive=tile.__active;if(renderer.displayActiveTiles)setVisible=tile.__active||tile.__visible;else setVisible=tile.__visible}if(!tile.__contentEmpty&amp;&amp;tile.__loadingState===$002d29a772485791$exports.LOADED){if(tile.__wasSetActive!==setActive)renderer.setTileActive(tile,setActive);if(tile.__wasSetVisible!==setVisible)renderer.setTileVisible(tile,setVisible)}tile.__wasSetActive=setActive;tile.__wasSetVisible=setVisible;tile.__usedLastFrame=isUsed;const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++){const c=children[i];$cd531a5f1c18e9cc$var$toggleTiles(c,renderer)}}}const $5a6f7a997885dc30$var$priorityCallback=(a,b)=&gt;{if(a.__depth!==b.__depth)return a.__depth&gt;b.__depth?-1:1;else if(a.__inFrustum!==b.__inFrustum)return a.__inFrustum?1:-1;else if(a.__used!==b.__used)return a.__used?1:-1;else if(a.__error!==b.__error)return a.__error&gt;b.__error?1:-1;else if(a.__distanceFromCamera!==b.__distanceFromCamera)return a.__distanceFromCamera&gt;b.__distanceFromCamera?-1:1;return 0};const $5a6f7a997885dc30$var$lruPriorityCallback=tile=&gt;1/(tile.__depthFromRenderedParent+1);class $5a6f7a997885dc30$var$TilesRendererBase{get rootTileSet(){const tileSet=this.tileSets[this.rootURL];if(!tileSet||tileSet instanceof Promise)return null;else return tileSet}get root(){const tileSet=this.rootTileSet;return tileSet?tileSet.root:null}constructor(url){this.tileSets={};this.rootURL=url;this.fetchOptions={};this.preprocessURL=null;const lruCache=new $e0d7a242557dc8e6$exports.LRUCache;lruCache.unloadPriorityCallback=$5a6f7a997885dc30$var$lruPriorityCallback;const downloadQueue=new $096d2234d1235002$exports.PriorityQueue;downloadQueue.maxJobs=4;downloadQueue.priorityCallback=$5a6f7a997885dc30$var$priorityCallback;const parseQueue=new $096d2234d1235002$exports.PriorityQueue;parseQueue.maxJobs=1;parseQueue.priorityCallback=$5a6f7a997885dc30$var$priorityCallback;this.lruCache=lruCache;this.downloadQueue=downloadQueue;this.parseQueue=parseQueue;this.stats={parsing:0,downloading:0,failed:0,inFrustum:0,used:0,active:0,visible:0};this.frameCount=0;this.errorTarget=6;this.errorThreshold=Infinity;this.loadSiblings=true;this.displayActiveTiles=false;this.maxDepth=Infinity;this.stopAtEmptyTiles=true}traverse(beforecb,aftercb){const tileSets=this.tileSets;const rootTileSet=tileSets[this.rootURL];if(!rootTileSet||!rootTileSet.root)return;(0,$cd531a5f1c18e9cc$exports.traverseSet)(rootTileSet.root,(tile,...args)=&gt;{this.ensureChildrenArePreprocessed(tile);return beforecb?beforecb(tile,...args):false},aftercb)}update(){const stats=this.stats;const lruCache=this.lruCache;const tileSets=this.tileSets;const rootTileSet=tileSets[this.rootURL];if(!(this.rootURL in tileSets)){this.loadRootTileSet(this.rootURL);return}else if(!rootTileSet||!rootTileSet.root)return;const root=rootTileSet.root;stats.inFrustum=0,stats.used=0,stats.active=0,stats.visible=0,this.frameCount++;(0,$cd531a5f1c18e9cc$exports.determineFrustumSet)(root,this);(0,$cd531a5f1c18e9cc$exports.markUsedSetLeaves)(root,this);(0,$cd531a5f1c18e9cc$exports.skipTraversal)(root,this);(0,$cd531a5f1c18e9cc$exports.toggleTiles)(root,this);lruCache.scheduleUnload()}parseTile(buffer,tile,extension){return null}disposeTile(tile){}preprocessNode(tile,tileSetDir,parentTile=null){if(tile.content){if(!("uri"in tile.content)&amp;&amp;"url"in tile.content){tile.content.uri=tile.content.url;delete tile.content.url}if(tile.content.uri)tile.content.uri=new URL(tile.content.uri,tileSetDir+"/").toString();if(tile.content.boundingVolume&amp;&amp;!("box"in tile.content.boundingVolume||"sphere"in tile.content.boundingVolume||"region"in tile.content.boundingVolume))delete tile.content.boundingVolume}tile.parent=parentTile;tile.children=tile.children||[];const uri=tile.content&amp;&amp;tile.content.uri;if(uri){const extension=(0,$7ff9fb142d83939f$exports.getUrlExtension)(tile.content.uri);const isExternalTileSet=Boolean(extension&amp;&amp;extension.toLowerCase()==="json");tile.__externalTileSet=isExternalTileSet;tile.__contentEmpty=isExternalTileSet}else{tile.__externalTileSet=false;tile.__contentEmpty=true}tile.__distanceFromCamera=Infinity;tile.__error=Infinity;tile.__inFrustum=false;tile.__isLeaf=false;tile.__usedLastFrame=false;tile.__used=false;tile.__wasSetVisible=false;tile.__visible=false;tile.__childrenWereVisible=false;tile.__allChildrenLoaded=false;tile.__wasSetActive=false;tile.__active=false;tile.__loadingState=$002d29a772485791$exports.UNLOADED;tile.__loadIndex=0;tile.__loadAbort=null;tile.__depthFromRenderedParent=-1;if(parentTile===null){tile.__depth=0;tile.refine=tile.refine||"REPLACE"}else{tile.__depth=parentTile.__depth+1;tile.refine=tile.refine||parentTile.refine}tile.__basePath=tileSetDir}setTileActive(tile,state){}setTileVisible(tile,state){}calculateError(tile){return 0}tileInView(tile){return true}ensureChildrenArePreprocessed(tile){const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++){const child=children[i];if("__depth"in child)break;this.preprocessNode(child,tile.__basePath,tile)}}resetFailedTiles(){const stats=this.stats;if(stats.failed===0)return;this.traverse(tile=&gt;{if(tile.__loadingState===$002d29a772485791$exports.FAILED)tile.__loadingState=$002d29a772485791$exports.UNLOADED});stats.failed=0}fetchTileSet(url,fetchOptions,parent=null){return fetch(url,fetchOptions).then(res=&gt;{if(res.ok)return res.json();else throw new Error(`TilesRenderer: Failed to load tileset "${url}" with status ${res.status} : ${res.statusText}`)}).then(json=&gt;{const version=json.asset.version;console.assert(version==="1.0"||version==="0.0","asset.version is expected to be a string of \"1.0\" or \"0.0\"");let basePath=url.replace(/\/[^\/]*\/?$/,"");basePath=new URL(basePath,window.location.href).toString();this.preprocessNode(json.root,basePath,parent);return json})}loadRootTileSet(url){const tileSets=this.tileSets;if(!(url in tileSets)){const pr=this.fetchTileSet(this.preprocessURL?this.preprocessURL(url):url,this.fetchOptions).then(json=&gt;{tileSets[url]=json});pr.catch(err=&gt;{console.error(err);tileSets[url]=err});tileSets[url]=pr;return pr}else if(tileSets[url]instanceof Error)return Promise.reject(tileSets[url]);else return Promise.resolve(tileSets[url])}requestTileContents(tile){if(tile.__loadingState!==$002d29a772485791$exports.UNLOADED)return;const stats=this.stats;const lruCache=this.lruCache;const downloadQueue=this.downloadQueue;const parseQueue=this.parseQueue;const isExternalTileSet=tile.__externalTileSet;lruCache.add(tile,t=&gt;{if(t.__loadingState===$002d29a772485791$exports.LOADING){t.__loadAbort.abort();t.__loadAbort=null}else if(isExternalTileSet)t.children.length=0;else this.disposeTile(t);if(t.__loadingState===$002d29a772485791$exports.LOADING)stats.downloading--;else if(t.__loadingState===$002d29a772485791$exports.PARSING)stats.parsing--;t.__loadingState=$002d29a772485791$exports.UNLOADED;t.__loadIndex++;parseQueue.remove(t);downloadQueue.remove(t)});tile.__loadIndex++;const loadIndex=tile.__loadIndex;const controller=new AbortController;const signal=controller.signal;stats.downloading++;tile.__loadAbort=controller;tile.__loadingState=$002d29a772485791$exports.LOADING;const errorCallback=e=&gt;{if(tile.__loadIndex!==loadIndex)return;if(e.name!=="AbortError"){parseQueue.remove(tile);downloadQueue.remove(tile);if(tile.__loadingState===$002d29a772485791$exports.PARSING)stats.parsing--;else if(tile.__loadingState===$002d29a772485791$exports.LOADING)stats.downloading--;stats.failed++;console.error(`TilesRenderer : Failed to load tile at url "${tile.content.uri}".`);console.error(e);tile.__loadingState=$002d29a772485791$exports.FAILED}else lruCache.remove(tile)};if(isExternalTileSet)downloadQueue.add(tile,tileCb=&gt;{if(tileCb.__loadIndex!==loadIndex)return Promise.resolve();const uri=this.preprocessURL?this.preprocessURL(tileCb.content.uri):tileCb.content.uri;return this.fetchTileSet(uri,Object.assign({signal:signal},this.fetchOptions),tileCb)}).then(json=&gt;{if(tile.__loadIndex!==loadIndex)return;stats.downloading--;tile.__loadAbort=null;tile.__loadingState=$002d29a772485791$exports.LOADED;tile.children.push(json.root)}).catch(errorCallback);else downloadQueue.add(tile,downloadTile=&gt;{if(downloadTile.__loadIndex!==loadIndex)return Promise.resolve();const uri=this.preprocessURL?this.preprocessURL(downloadTile.content.uri):downloadTile.content.uri;return fetch(uri,Object.assign({signal:signal},this.fetchOptions))}).then(res=&gt;{if(tile.__loadIndex!==loadIndex)return;if(res.ok)return res.arrayBuffer();else throw new Error(`Failed to load model with error code ${res.status}`)}).then(buffer=&gt;{if(tile.__loadIndex!==loadIndex)return;stats.downloading--;stats.parsing++;tile.__loadAbort=null;tile.__loadingState=$002d29a772485791$exports.PARSING;return parseQueue.add(tile,parseTile=&gt;{if(parseTile.__loadIndex!==loadIndex)return Promise.resolve();const uri=parseTile.content.uri;const extension=(0,$7ff9fb142d83939f$exports.getUrlExtension)(uri);return this.parseTile(buffer,parseTile,extension)})}).then(()=&gt;{if(tile.__loadIndex!==loadIndex)return;stats.parsing--;tile.__loadingState=$002d29a772485791$exports.LOADED;if(tile.__wasSetVisible)this.setTileVisible(tile,true);if(tile.__wasSetActive)this.setTileActive(tile,true)}).catch(errorCallback)}dispose(){const lruCache=this.lruCache;const toRemove=[];this.traverse(t=&gt;{toRemove.push(t);return false});for(let i=0,l=toRemove.length;i&lt;l;i++)lruCache.remove(toRemove[i]);this.stats={parsing:0,downloading:0,failed:0,inFrustum:0,used:0,active:0,visible:0};this.frameCount=0}}$5a6f7a997885dc30$exports.TilesRendererBase=$5a6f7a997885dc30$var$TilesRendererBase;var $0aa3d1def57e98b1$exports={};"use strict";Object.defineProperty($0aa3d1def57e98b1$exports,"__esModule",{value:true});$0aa3d1def57e98b1$exports.B3DMLoader=void 0;var $f5d9b5dde53306bf$exports={};"use strict";Object.defineProperty($f5d9b5dde53306bf$exports,"__esModule",{value:true});$f5d9b5dde53306bf$exports.B3DMLoaderBase=void 0;var $5bfd2e53a5ab8bef$exports={};"use strict";Object.defineProperty($5bfd2e53a5ab8bef$exports,"__esModule",{value:true});$5bfd2e53a5ab8bef$exports.FeatureTable=$5bfd2e53a5ab8bef$exports.BatchTable=void 0;var $5d480c6739d4b949$exports={};"use strict";Object.defineProperty($5d480c6739d4b949$exports,"__esModule",{value:true});$5d480c6739d4b949$exports.arrayToString=$5d480c6739d4b949$var$arrayToString;function $5d480c6739d4b949$var$arrayToString(array){const utf8decoder=new TextDecoder;return utf8decoder.decode(array)}class $5bfd2e53a5ab8bef$var$FeatureTable{constructor(buffer,start,headerLength,binLength){this.buffer=buffer;this.binOffset=start+headerLength;this.binLength=binLength;let header=null;if(headerLength!==0){const headerData=new Uint8Array(buffer,start,headerLength);header=JSON.parse((0,$5d480c6739d4b949$exports.arrayToString)(headerData))}else header={};this.header=header}getKeys(){return Object.keys(this.header)}getData(key,count,defaultComponentType=null,defaultType=null){const header=this.header;if(!(key in header))return null;const feature=header[key];if(!(feature instanceof Object))return feature;else if(Array.isArray(feature))return feature;else{const{buffer:buffer,binOffset:binOffset,binLength:binLength}=this;const byteOffset=feature.byteOffset||0;const featureType=feature.type||defaultType;const featureComponentType=feature.componentType||defaultComponentType;if("type"in feature&amp;&amp;defaultType&amp;&amp;feature.type!==defaultType)throw new Error("FeatureTable: Specified type does not match expected type.");let stride;switch(featureType){case"SCALAR":stride=1;break;case"VEC2":stride=2;break;case"VEC3":stride=3;break;case"VEC4":stride=4;break;default:throw new Error(`FeatureTable : Feature type not provided for "${key}".`);}let data;const arrayStart=binOffset+byteOffset;const arrayLength=count*stride;switch(featureComponentType){case"BYTE":data=new Int8Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_BYTE":data=new Uint8Array(buffer,arrayStart,arrayLength);break;case"SHORT":data=new Int16Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_SHORT":data=new Uint16Array(buffer,arrayStart,arrayLength);break;case"INT":data=new Int32Array(buffer,arrayStart,arrayLength);break;case"UNSIGNED_INT":data=new Uint32Array(buffer,arrayStart,arrayLength);break;case"FLOAT":data=new Float32Array(buffer,arrayStart,arrayLength);break;case"DOUBLE":data=new Float64Array(buffer,arrayStart,arrayLength);break;default:throw new Error(`FeatureTable : Feature component type not provided for "${key}".`);}const dataEnd=arrayStart+arrayLength*data.BYTES_PER_ELEMENT;if(dataEnd&gt;binOffset+binLength)throw new Error("FeatureTable: Feature data read outside binary body length.");return data}}getBuffer(byteOffset,byteLength){const{buffer:buffer,binOffset:binOffset}=this;return buffer.slice(binOffset+byteOffset,binOffset+byteOffset+byteLength)}}$5bfd2e53a5ab8bef$exports.FeatureTable=$5bfd2e53a5ab8bef$var$FeatureTable;class $5bfd2e53a5ab8bef$var$BatchTable extends $5bfd2e53a5ab8bef$var$FeatureTable{constructor(buffer,batchSize,start,headerLength,binLength){super(buffer,start,headerLength,binLength);this.batchSize=batchSize}getData(key,componentType=null,type=null){return super.getData(key,this.batchSize,componentType,type)}}$5bfd2e53a5ab8bef$exports.BatchTable=$5bfd2e53a5ab8bef$var$BatchTable;var $e6b785bba9ea128d$exports={};"use strict";Object.defineProperty($e6b785bba9ea128d$exports,"__esModule",{value:true});$e6b785bba9ea128d$exports.LoaderBase=void 0;class $e6b785bba9ea128d$var$LoaderBase{constructor(){this.fetchOptions={};this.workingPath=""}load(url){return fetch(url,this.fetchOptions).then(res=&gt;{if(!res.ok)throw new Error(`Failed to load file "${url}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=&gt;{if(this.workingPath==="")this.workingPath=this.workingPathForURL(url);return this.parse(buffer)})}resolveExternalURL(url){if(/^[^\\/]/.test(url))return this.workingPath+"/"+url;else return url}workingPathForURL(url){const splits=url.split(/[\\/]/g);splits.pop();const workingPath=splits.join("/");return workingPath+"/"}parse(buffer){throw new Error("LoaderBase: Parse not implemented.")}}$e6b785bba9ea128d$exports.LoaderBase=$e6b785bba9ea128d$var$LoaderBase;var $9e3e194659cc5776$exports={};"use strict";Object.defineProperty($9e3e194659cc5776$exports,"__esModule",{value:true});$9e3e194659cc5776$exports.readMagicBytes=$9e3e194659cc5776$var$readMagicBytes;function $9e3e194659cc5776$var$readMagicBytes(bufferOrDataView){let view;if(bufferOrDataView instanceof DataView)view=bufferOrDataView;else view=new DataView(bufferOrDataView);if(String.fromCharCode(view.getUint8(0))==="{")return null;let magicBytes="";for(let i=0;i&lt;4;i++)magicBytes+=String.fromCharCode(view.getUint8(i));return magicBytes}class $f5d9b5dde53306bf$var$B3DMLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="b3dm");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const featureTableStart=28;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("BATCH_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);const glbStart=batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength;const glbBytes=new Uint8Array(buffer,glbStart,byteLength-glbStart);return{version:version,featureTable:featureTable,batchTable:batchTable,glbBytes:glbBytes}}}$f5d9b5dde53306bf$exports.B3DMLoaderBase=$f5d9b5dde53306bf$var$B3DMLoaderBase;class $0aa3d1def57e98b1$var$B3DMLoader extends $f5d9b5dde53306bf$exports.B3DMLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}parse(buffer){const b3dm=super.parse(buffer);const gltfBuffer=b3dm.glbBytes.slice().buffer;return new Promise((resolve,reject)=&gt;{const manager=this.manager;const fetchOptions=this.fetchOptions;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&amp;&amp;fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers);let workingPath=this.workingPath;if(!/[\\/]$/.test(workingPath)&amp;&amp;workingPath.length)workingPath+="/";const adjustmentTransform=this.adjustmentTransform;loader.parse(gltfBuffer,workingPath,model=&gt;{const{batchTable:batchTable,featureTable:featureTable}=b3dm;const{scene:scene}=model;const rtcCenter=featureTable.getData("RTC_CENTER");if(rtcCenter){scene.position.x+=rtcCenter[0];scene.position.y+=rtcCenter[1];scene.position.z+=rtcCenter[2]}model.scene.updateMatrix();model.scene.matrix.multiply(adjustmentTransform);model.scene.matrix.decompose(model.scene.position,model.scene.quaternion,model.scene.scale);model.batchTable=batchTable;model.featureTable=featureTable;scene.batchTable=batchTable;scene.featureTable=featureTable;resolve(model)},reject)})}}$0aa3d1def57e98b1$exports.B3DMLoader=$0aa3d1def57e98b1$var$B3DMLoader;var $1ddd6ca16eb224df$exports={};"use strict";Object.defineProperty($1ddd6ca16eb224df$exports,"__esModule",{value:true});$1ddd6ca16eb224df$exports.PNTSLoader=void 0;var $d408eda5a179398a$exports={};"use strict";Object.defineProperty($d408eda5a179398a$exports,"__esModule",{value:true});$d408eda5a179398a$exports.PNTSLoaderBase=void 0;class $d408eda5a179398a$var$PNTSLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="pnts");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const featureTableStart=28;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("BATCH_LENGTH")||featureTable.getData("POINTS_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);return Promise.resolve({version:version,featureTable:featureTable,batchTable:batchTable})}}$d408eda5a179398a$exports.PNTSLoaderBase=$d408eda5a179398a$var$PNTSLoaderBase;const $1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP={RGB:"color",POSITION:"position"};class $1ddd6ca16eb224df$var$PNTSLoader extends $d408eda5a179398a$exports.PNTSLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager}parse(buffer){return super.parse(buffer).then(async result=&gt;{const{featureTable:featureTable}=result;const material=new $5OpyM$PointsMaterial;const extensions=featureTable.header.extensions;const translationOffset=new $5OpyM$Vector3;let geometry;if(extensions&amp;&amp;extensions["3DTILES_draco_point_compression"]){const{byteOffset:byteOffset,byteLength:byteLength,properties:properties}=extensions["3DTILES_draco_point_compression"];const dracoLoader=this.manager.getHandler("draco.drc");if(dracoLoader==null)throw new Error("PNTSLoader: dracoLoader not available.");const attributeIDs={};for(const key in properties)if(key in $1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP&amp;&amp;key in properties){const mappedKey=$1ddd6ca16eb224df$var$DRACO_ATTRIBUTE_MAP[key];attributeIDs[mappedKey]=properties[key]}const taskConfig={attributeIDs:attributeIDs,attributeTypes:{position:"Float32Array",color:"Uint8Array"},useUniqueIDs:true};const buffer=featureTable.getBuffer(byteOffset,byteLength);geometry=await dracoLoader.decodeGeometry(buffer,taskConfig);if(geometry.attributes.color)material.vertexColors=true}else{const POINTS_LENGTH=featureTable.getData("POINTS_LENGTH");const POSITION=featureTable.getData("POSITION",POINTS_LENGTH,"FLOAT","VEC3");const RGB=featureTable.getData("RGB",POINTS_LENGTH,"UNSIGNED_BYTE","VEC3");const POSITION_QUANTIZED=featureTable.getData("POSITION_QUANTIZED",POINTS_LENGTH,"UNSIGNED_SHORT","VEC3");const QUANTIZED_VOLUME_SCALE=featureTable.getData("QUANTIZED_VOLUME_SCALE",POINTS_LENGTH,"FLOAT","VEC3");const QUANTIZED_VOLUME_OFFSET=featureTable.getData("QUANTIZED_VOLUME_OFFSET",POINTS_LENGTH,"FLOAT","VEC3");geometry=new $5OpyM$BufferGeometry;if(POSITION_QUANTIZED){const decodedPositions=new Float32Array(POINTS_LENGTH*3);for(let i=0;i&lt;POINTS_LENGTH;i++)for(let j=0;j&lt;3;j++){const index=3*i+j;decodedPositions[index]=POSITION_QUANTIZED[index]/65535*QUANTIZED_VOLUME_SCALE[j]}translationOffset.x=QUANTIZED_VOLUME_OFFSET[0];translationOffset.y=QUANTIZED_VOLUME_OFFSET[1];translationOffset.z=QUANTIZED_VOLUME_OFFSET[2];geometry.setAttribute("position",new $5OpyM$BufferAttribute(decodedPositions,3,false))}else geometry.setAttribute("position",new $5OpyM$BufferAttribute(POSITION,3,false));if(RGB!==null){geometry.setAttribute("color",new $5OpyM$BufferAttribute(RGB,3,true));material.vertexColors=true}}["CONSTANT_RGBA","BATCH_LENGTH","RGBA","RGB565","NORMAL","NORMAL_OCT16P"].forEach(feature=&gt;{if(feature in featureTable.header)console.warn(`PNTSLoader: Unsupported FeatureTable feature "${feature}" detected.`)});const object=new $5OpyM$Points(geometry,material);object.position.copy(translationOffset);result.scene=object;result.scene.featureTable=featureTable;const rtcCenter=featureTable.getData("RTC_CENTER");if(rtcCenter){result.scene.position.x+=rtcCenter[0];result.scene.position.y+=rtcCenter[1];result.scene.position.z+=rtcCenter[2]}return result})}}$1ddd6ca16eb224df$exports.PNTSLoader=$1ddd6ca16eb224df$var$PNTSLoader;var $0bc85483bdeca322$exports={};"use strict";Object.defineProperty($0bc85483bdeca322$exports,"__esModule",{value:true});$0bc85483bdeca322$exports.I3DMLoader=void 0;var $bcb352fb74bed4a5$exports={};"use strict";Object.defineProperty($bcb352fb74bed4a5$exports,"__esModule",{value:true});$bcb352fb74bed4a5$exports.I3DMLoaderBase=void 0;class $bcb352fb74bed4a5$var$I3DMLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="i3dm");const version=dataView.getUint32(4,true);console.assert(version===1);const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength);const featureTableJSONByteLength=dataView.getUint32(12,true);const featureTableBinaryByteLength=dataView.getUint32(16,true);const batchTableJSONByteLength=dataView.getUint32(20,true);const batchTableBinaryByteLength=dataView.getUint32(24,true);const gltfFormat=dataView.getUint32(28,true);const featureTableStart=32;const featureTableBuffer=buffer.slice(featureTableStart,featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength);const featureTable=new $5bfd2e53a5ab8bef$exports.FeatureTable(featureTableBuffer,0,featureTableJSONByteLength,featureTableBinaryByteLength);const batchTableStart=featureTableStart+featureTableJSONByteLength+featureTableBinaryByteLength;const batchTableBuffer=buffer.slice(batchTableStart,batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength);const batchTable=new $5bfd2e53a5ab8bef$exports.BatchTable(batchTableBuffer,featureTable.getData("INSTANCES_LENGTH"),0,batchTableJSONByteLength,batchTableBinaryByteLength);const glbStart=batchTableStart+batchTableJSONByteLength+batchTableBinaryByteLength;const bodyBytes=new Uint8Array(buffer,glbStart,byteLength-glbStart);let glbBytes=null;let promise=null;if(gltfFormat){glbBytes=bodyBytes;promise=Promise.resolve()}else{const externalUri=this.resolveExternalURL((0,$5d480c6739d4b949$exports.arrayToString)(bodyBytes));promise=fetch(externalUri,this.fetchOptions).then(res=&gt;{if(!res.ok)throw new Error(`I3DMLoaderBase : Failed to load file "${externalUri}" with status ${res.status} : ${res.statusText}`);return res.arrayBuffer()}).then(buffer=&gt;{glbBytes=new Uint8Array(buffer)})}return promise.then(()=&gt;{return{version:version,featureTable:featureTable,batchTable:batchTable,glbBytes:glbBytes}})}}$bcb352fb74bed4a5$exports.I3DMLoaderBase=$bcb352fb74bed4a5$var$I3DMLoaderBase;const $0bc85483bdeca322$var$tempFwd=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempUp=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempRight=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempPos=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempQuat=new $5OpyM$Quaternion;const $0bc85483bdeca322$var$tempSca=new $5OpyM$Vector3;const $0bc85483bdeca322$var$tempMat=new $5OpyM$Matrix4;class $0bc85483bdeca322$var$I3DMLoader extends $bcb352fb74bed4a5$exports.I3DMLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}resolveExternalURL(url){return this.manager.resolveURL(super.resolveExternalURL(url))}parse(buffer){return super.parse(buffer).then(i3dm=&gt;{const{featureTable:featureTable,batchTable:batchTable}=i3dm;const gltfBuffer=i3dm.glbBytes.slice().buffer;return new Promise((resolve,reject)=&gt;{const fetchOptions=this.fetchOptions;const manager=this.manager;const loader=manager.getHandler("path.gltf")||new $5OpyM$GLTFLoader(manager);if(fetchOptions.credentials==="include"&amp;&amp;fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers);let workingPath=this.workingPath;if(!/[\\/]$/.test(workingPath))workingPath+="/";const adjustmentTransform=this.adjustmentTransform;loader.parse(gltfBuffer,workingPath,model=&gt;{const INSTANCES_LENGTH=featureTable.getData("INSTANCES_LENGTH");const POSITION=featureTable.getData("POSITION",INSTANCES_LENGTH,"FLOAT","VEC3");const NORMAL_UP=featureTable.getData("NORMAL_UP",INSTANCES_LENGTH,"FLOAT","VEC3");const NORMAL_RIGHT=featureTable.getData("NORMAL_RIGHT",INSTANCES_LENGTH,"FLOAT","VEC3");const SCALE_NON_UNIFORM=featureTable.getData("SCALE_NON_UNIFORM",INSTANCES_LENGTH,"FLOAT","VEC3");const SCALE=featureTable.getData("SCALE",INSTANCES_LENGTH,"FLOAT","SCALAR");["RTC_CENTER","QUANTIZED_VOLUME_OFFSET","QUANTIZED_VOLUME_SCALE","EAST_NORTH_UP","POSITION_QUANTIZED","NORMAL_UP_OCT32P","NORMAL_RIGHT_OCT32P"].forEach(feature=&gt;{if(feature in featureTable.header)console.warn(`I3DMLoader: Unsupported FeatureTable feature "${feature}" detected.`)});const instanceMap=new Map;const instances=[];model.scene.traverse(child=&gt;{if(child.isMesh){const{geometry:geometry,material:material}=child;const instancedMesh=new $5OpyM$InstancedMesh(geometry,material,INSTANCES_LENGTH);instancedMesh.position.copy(child.position);instancedMesh.rotation.copy(child.rotation);instancedMesh.scale.copy(child.scale);instances.push(instancedMesh);instanceMap.set(child,instancedMesh)}});const averageVector=new $5OpyM$Vector3;for(let i=0;i&lt;INSTANCES_LENGTH;i++){averageVector.x+=POSITION[i*3+0]/INSTANCES_LENGTH;averageVector.y+=POSITION[i*3+1]/INSTANCES_LENGTH;averageVector.z+=POSITION[i*3+2]/INSTANCES_LENGTH}instanceMap.forEach((instancedMesh,mesh)=&gt;{const parent=mesh.parent;if(parent){parent.remove(mesh);parent.add(instancedMesh);instancedMesh.updateMatrixWorld();instancedMesh.position.copy(averageVector).applyMatrix4(instancedMesh.matrixWorld)}});for(let i=0;i&lt;INSTANCES_LENGTH;i++){$0bc85483bdeca322$var$tempPos.set(POSITION[i*3+0]-averageVector.x,POSITION[i*3+1]-averageVector.y,POSITION[i*3+2]-averageVector.z);if(NORMAL_UP){$0bc85483bdeca322$var$tempUp.set(NORMAL_UP[i*3+0],NORMAL_UP[i*3+1],NORMAL_UP[i*3+2]);$0bc85483bdeca322$var$tempRight.set(NORMAL_RIGHT[i*3+0],NORMAL_RIGHT[i*3+1],NORMAL_RIGHT[i*3+2]);$0bc85483bdeca322$var$tempFwd.crossVectors($0bc85483bdeca322$var$tempRight,$0bc85483bdeca322$var$tempUp).normalize();$0bc85483bdeca322$var$tempMat.makeBasis($0bc85483bdeca322$var$tempRight,$0bc85483bdeca322$var$tempUp,$0bc85483bdeca322$var$tempFwd);$0bc85483bdeca322$var$tempQuat.setFromRotationMatrix($0bc85483bdeca322$var$tempMat)}else $0bc85483bdeca322$var$tempQuat.set(0,0,0,1);if(SCALE)$0bc85483bdeca322$var$tempSca.setScalar(SCALE[i]);else if(SCALE_NON_UNIFORM)$0bc85483bdeca322$var$tempSca.set(SCALE_NON_UNIFORM[i*3+0],SCALE_NON_UNIFORM[i*3+1],SCALE_NON_UNIFORM[i*3+2]);else $0bc85483bdeca322$var$tempSca.set(1,1,1);$0bc85483bdeca322$var$tempMat.compose($0bc85483bdeca322$var$tempPos,$0bc85483bdeca322$var$tempQuat,$0bc85483bdeca322$var$tempSca).multiply(adjustmentTransform);for(let j=0,l=instances.length;j&lt;l;j++){const instance=instances[j];instance.setMatrixAt(i,$0bc85483bdeca322$var$tempMat)}}model.batchTable=batchTable;model.featureTable=featureTable;model.scene.batchTable=batchTable;model.scene.featureTable=featureTable;resolve(model)},reject)})})}}$0bc85483bdeca322$exports.I3DMLoader=$0bc85483bdeca322$var$I3DMLoader;var $54879e9a7dc345e0$exports={};"use strict";Object.defineProperty($54879e9a7dc345e0$exports,"__esModule",{value:true});$54879e9a7dc345e0$exports.CMPTLoader=void 0;var $cb66a16334732244$exports={};"use strict";Object.defineProperty($cb66a16334732244$exports,"__esModule",{value:true});$cb66a16334732244$exports.CMPTLoaderBase=void 0;class $cb66a16334732244$var$CMPTLoaderBase extends $e6b785bba9ea128d$exports.LoaderBase{parse(buffer){const dataView=new DataView(buffer);const magic=(0,$9e3e194659cc5776$exports.readMagicBytes)(dataView);console.assert(magic==="cmpt","CMPTLoader: The magic bytes equal \"cmpt\".");const version=dataView.getUint32(4,true);console.assert(version===1,"CMPTLoader: The version listed in the header is \"1\".");const byteLength=dataView.getUint32(8,true);console.assert(byteLength===buffer.byteLength,"CMPTLoader: The contents buffer length listed in the header matches the file.");const tilesLength=dataView.getUint32(12,true);const tiles=[];let offset=16;for(let i=0;i&lt;tilesLength;i++){const tileView=new DataView(buffer,offset,12);const tileMagic=(0,$9e3e194659cc5776$exports.readMagicBytes)(tileView);const tileVersion=tileView.getUint32(4,true);const byteLength=tileView.getUint32(8,true);const tileBuffer=new Uint8Array(buffer,offset,byteLength);tiles.push({type:tileMagic,buffer:tileBuffer,version:tileVersion});offset+=byteLength}return{version:version,tiles:tiles}}}$cb66a16334732244$exports.CMPTLoaderBase=$cb66a16334732244$var$CMPTLoaderBase;class $54879e9a7dc345e0$var$CMPTLoader extends $cb66a16334732244$exports.CMPTLoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager;this.adjustmentTransform=new $5OpyM$Matrix4}parse(buffer){const result=super.parse(buffer);const manager=this.manager;const adjustmentTransform=this.adjustmentTransform;const promises=[];for(const i in result.tiles){const{type:type,buffer:buffer}=result.tiles[i];switch(type){case"b3dm":{const slicedBuffer=buffer.slice();const loader=new $0aa3d1def57e98b1$exports.B3DMLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;loader.adjustmentTransform.copy(adjustmentTransform);const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}case"pnts":{const slicedBuffer=buffer.slice();const loader=new $1ddd6ca16eb224df$exports.PNTSLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}case"i3dm":{const slicedBuffer=buffer.slice();const loader=new $0bc85483bdeca322$exports.I3DMLoader(manager);loader.workingPath=this.workingPath;loader.fetchOptions=this.fetchOptions;loader.adjustmentTransform.copy(adjustmentTransform);const promise=loader.parse(slicedBuffer.buffer);promises.push(promise);break}}}return Promise.all(promises).then(results=&gt;{const group=new $5OpyM$Group;results.forEach(result=&gt;{group.add(result.scene)});return{tiles:results,scene:group}})}}$54879e9a7dc345e0$exports.CMPTLoader=$54879e9a7dc345e0$var$CMPTLoader;var $29ced67d26e5c4e2$exports={};"use strict";Object.defineProperty($29ced67d26e5c4e2$exports,"__esModule",{value:true});$29ced67d26e5c4e2$exports.GLTFExtensionLoader=void 0;var $44c3bffa5e49f297$exports={};"use strict";Object.defineProperty($44c3bffa5e49f297$exports,"__esModule",{value:true});$44c3bffa5e49f297$exports.GLTFCesiumRTCExtension=void 0;class $44c3bffa5e49f297$var$GLTFCesiumRTCExtension{constructor(){this.name="CESIUM_RTC"}afterRoot(res){if(res.parser.json.extensions&amp;&amp;res.parser.json.extensions.CESIUM_RTC){const{center:center}=res.parser.json.extensions.CESIUM_RTC;if(center){res.scene.position.x+=center[0];res.scene.position.y+=center[1];res.scene.position.z+=center[2]}}}}$44c3bffa5e49f297$exports.GLTFCesiumRTCExtension=$44c3bffa5e49f297$var$GLTFCesiumRTCExtension;class $29ced67d26e5c4e2$var$GLTFExtensionLoader extends $e6b785bba9ea128d$exports.LoaderBase{constructor(manager=$5OpyM$DefaultLoadingManager){super();this.manager=manager}parse(buffer){return new Promise((resolve,reject)=&gt;{const manager=this.manager;const fetchOptions=this.fetchOptions;let loader=manager.getHandler("path.gltf")||manager.getHandler("path.glb");if(!loader){loader=new $5OpyM$GLTFLoader(manager);loader.register(()=&gt;new $44c3bffa5e49f297$exports.GLTFCesiumRTCExtension);if(fetchOptions.credentials==="include"&amp;&amp;fetchOptions.mode==="cors")loader.setCrossOrigin("use-credentials");if("credentials"in fetchOptions)loader.setWithCredentials(fetchOptions.credentials==="include");if(fetchOptions.headers)loader.setRequestHeader(fetchOptions.headers)}let resourcePath=loader.resourcePath||loader.path||this.workingPath;if(!/[\\/]$/.test(resourcePath)&amp;&amp;resourcePath.length)resourcePath+="/";loader.parse(buffer,resourcePath,model=&gt;{resolve(model)},reject)})}}$29ced67d26e5c4e2$exports.GLTFExtensionLoader=$29ced67d26e5c4e2$var$GLTFExtensionLoader;var $3fcce8a4f74b2abc$exports={};"use strict";Object.defineProperty($3fcce8a4f74b2abc$exports,"__esModule",{value:true});$3fcce8a4f74b2abc$exports.TilesGroup=void 0;const $3fcce8a4f74b2abc$var$tempMat=new $5OpyM$Matrix4;class $3fcce8a4f74b2abc$var$TilesGroup extends $5OpyM$Group{constructor(tilesRenderer){super();this.name="TilesRenderer.TilesGroup";this.tilesRenderer=tilesRenderer}raycast(raycaster,intersects){if(this.tilesRenderer.optimizeRaycast)this.tilesRenderer.raycast(raycaster,intersects)}updateMatrixWorld(force){if(this.matrixAutoUpdate)this.updateMatrix();if(this.matrixWorldNeedsUpdate||force){if(this.parent===null)$3fcce8a4f74b2abc$var$tempMat.copy(this.matrix);else $3fcce8a4f74b2abc$var$tempMat.multiplyMatrices(this.parent.matrixWorld,this.matrix);this.matrixWorldNeedsUpdate=false;const elA=$3fcce8a4f74b2abc$var$tempMat.elements;const elB=this.matrixWorld.elements;let isDifferent=false;for(let i=0;i&lt;16;i++){const itemA=elA[i];const itemB=elB[i];const diff=Math.abs(itemA-itemB);if(diff&gt;Number.EPSILON){isDifferent=true;break}}if(isDifferent){this.matrixWorld.copy($3fcce8a4f74b2abc$var$tempMat);const children=this.children;for(let i=0,l=children.length;i&lt;l;i++)children[i].updateMatrixWorld()}}}}$3fcce8a4f74b2abc$exports.TilesGroup=$3fcce8a4f74b2abc$var$TilesGroup;var $c1ac95a1e8efcc86$exports={};"use strict";Object.defineProperty($c1ac95a1e8efcc86$exports,"__esModule",{value:true});$c1ac95a1e8efcc86$exports.raycastTraverse=$c1ac95a1e8efcc86$var$raycastTraverse;$c1ac95a1e8efcc86$exports.raycastTraverseFirstHit=$c1ac95a1e8efcc86$var$raycastTraverseFirstHit;const $c1ac95a1e8efcc86$var$_mat=new $5OpyM$Matrix4;const $c1ac95a1e8efcc86$var$_localRay=new $5OpyM$Ray;const $c1ac95a1e8efcc86$var$_vec=new $5OpyM$Vector3;const $c1ac95a1e8efcc86$var$_hitArray=[];function $c1ac95a1e8efcc86$var$distanceSort(a,b){return a.distance-b.distance}function $c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,intersects){scene.traverse(c=&gt;{Object.getPrototypeOf(c).raycast.call(c,raycaster,intersects)})}function $c1ac95a1e8efcc86$var$intersectTileSceneFirstHist(scene,raycaster){$c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,$c1ac95a1e8efcc86$var$_hitArray);$c1ac95a1e8efcc86$var$_hitArray.sort($c1ac95a1e8efcc86$var$distanceSort);const hit=$c1ac95a1e8efcc86$var$_hitArray[0]||null;$c1ac95a1e8efcc86$var$_hitArray.length=0;return hit}function $c1ac95a1e8efcc86$var$raycastTraverseFirstHit(renderer,tile,raycaster,localRay=null){const{group:group,activeTiles:activeTiles}=renderer;renderer.ensureChildrenArePreprocessed(tile);if(localRay===null){localRay=$c1ac95a1e8efcc86$var$_localRay;$c1ac95a1e8efcc86$var$_mat.copy(group.matrixWorld).invert();localRay.copy(raycaster.ray).applyMatrix4($c1ac95a1e8efcc86$var$_mat)}const array=[];const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++){const child=children[i];if(!child.__used)continue;const boundingVolume=child.cached.boundingVolume;if(boundingVolume.intersectRay(localRay,$c1ac95a1e8efcc86$var$_vec)!==null){$c1ac95a1e8efcc86$var$_vec.applyMatrix4(group.matrixWorld);array.push({distance:$c1ac95a1e8efcc86$var$_vec.distanceToSquared(raycaster.ray.origin),tile:child})}}array.sort($c1ac95a1e8efcc86$var$distanceSort);let bestHit=null;let bestHitDistSq=Infinity;if(activeTiles.has(tile)){const hit=$c1ac95a1e8efcc86$var$intersectTileSceneFirstHist(tile.cached.scene,raycaster);if(hit){bestHit=hit;bestHitDistSq=hit.distance*hit.distance}}for(let i=0,l=array.length;i&lt;l;i++){const data=array[i];const boundingVolumeDistSq=data.distance;const tile=data.tile;if(boundingVolumeDistSq&gt;bestHitDistSq)break;const hit=$c1ac95a1e8efcc86$var$raycastTraverseFirstHit(renderer,tile,raycaster,localRay);if(hit){const hitDistSq=hit.distance*hit.distance;if(hitDistSq&lt;bestHitDistSq){bestHit=hit;bestHitDistSq=hitDistSq}}}return bestHit}function $c1ac95a1e8efcc86$var$raycastTraverse(renderer,tile,raycaster,intersects,localRay=null){const{group:group,activeTiles:activeTiles}=renderer;const{scene:scene,boundingVolume:boundingVolume}=tile.cached;renderer.ensureChildrenArePreprocessed(tile);if(localRay===null){localRay=$c1ac95a1e8efcc86$var$_localRay;$c1ac95a1e8efcc86$var$_mat.copy(group.matrixWorld).invert();localRay.copy(raycaster.ray).applyMatrix4($c1ac95a1e8efcc86$var$_mat)}if(!tile.__used||!boundingVolume.intersectsRay(localRay))return;if(activeTiles.has(tile))$c1ac95a1e8efcc86$var$intersectTileScene(scene,raycaster,intersects);const children=tile.children;for(let i=0,l=children.length;i&lt;l;i++)$c1ac95a1e8efcc86$var$raycastTraverse(renderer,children[i],raycaster,intersects,localRay)}var $163be4c04da1c269$exports={};"use strict";Object.defineProperty($163be4c04da1c269$exports,"__esModule",{value:true});$163be4c04da1c269$exports.TileBoundingVolume=void 0;var $9e13f7da58b2928b$exports={};"use strict";Object.defineProperty($9e13f7da58b2928b$exports,"__esModule",{value:true});$9e13f7da58b2928b$exports.OBB=void 0;class $9e13f7da58b2928b$var$OBB{constructor(box=new $5OpyM$Box3,transform=new $5OpyM$Matrix4){this.box=box.clone();this.transform=transform.clone();this.inverseTransform=new $5OpyM$Matrix4;this.points=new Array(8).fill().map(()=&gt;new $5OpyM$Vector3)}update(){const{points:points,inverseTransform:inverseTransform,transform:transform,box:box}=this;inverseTransform.copy(transform).invert();const{min:min,max:max}=box;let index=0;for(let x=-1;x&lt;=1;x+=2){for(let y=-1;y&lt;=1;y+=2)for(let z=-1;z&lt;=1;z+=2){points[index].set(x&lt;0?min.x:max.x,y&lt;0?min.y:max.y,z&lt;0?min.z:max.z).applyMatrix4(transform);index++}}}intersectsFrustum(frustum){const{points:points}=this;const{planes:planes}=frustum;for(let i=0;i&lt;6;i++){const plane=planes[i];let maxDistance=-Infinity;for(let j=0;j&lt;8;j++){const v=points[j];const dist=plane.distanceToPoint(v);maxDistance=maxDistance&lt;dist?dist:maxDistance}if(maxDistance&lt;0)return false}return true}}$9e13f7da58b2928b$exports.OBB=$9e13f7da58b2928b$var$OBB;var $aa7b3b269f245cbe$exports={};"use strict";Object.defineProperty($aa7b3b269f245cbe$exports,"__esModule",{value:true});$aa7b3b269f245cbe$exports.EllipsoidRegion=void 0;var $9160f8f2e0578e98$exports={};"use strict";Object.defineProperty($9160f8f2e0578e98$exports,"__esModule",{value:true});$9160f8f2e0578e98$exports.Ellipsoid=void 0;var $1hGdn=parcelRequire("1hGdn");const $9160f8f2e0578e98$var$_spherical=new $5OpyM$Spherical;const $9160f8f2e0578e98$var$_norm=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec2=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vec3=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecX=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecY=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_vecZ=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$_pos=new $5OpyM$Vector3;const $9160f8f2e0578e98$var$EPSILON12=1e-12;const $9160f8f2e0578e98$var$CENTER_EPS=0.1;class $9160f8f2e0578e98$var$Ellipsoid{constructor(x=1,y=1,z=1){this.radius=new $5OpyM$Vector3(x,y,z)}constructLatLonFrame(lat,lon,target){this.getCartographicToPosition(lat,lon,0,$9160f8f2e0578e98$var$_pos);this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_vecZ);this.getNorthernTangent(lat,lon,$9160f8f2e0578e98$var$_vecY);$9160f8f2e0578e98$var$_vecX.crossVectors($9160f8f2e0578e98$var$_vecY,$9160f8f2e0578e98$var$_vecZ);return target.makeBasis($9160f8f2e0578e98$var$_vecX,$9160f8f2e0578e98$var$_vecY,$9160f8f2e0578e98$var$_vecZ).setPosition($9160f8f2e0578e98$var$_pos)}getNorthernTangent(lat,lon,target,westTarget=$9160f8f2e0578e98$var$_vec3){let multiplier=1;let latPrime=lat+1e-7;if(lat&gt;Math.PI/4){multiplier=-1;latPrime=lat-1e-7}const norm=this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_vec).normalize();const normPrime=this.getCartographicToNormal(latPrime,lon,$9160f8f2e0578e98$var$_vec2).normalize();westTarget.crossVectors(norm,normPrime).normalize().multiplyScalar(multiplier);return target.crossVectors(westTarget,norm).normalize()}getCartographicToPosition(lat,lon,height,target){this.getCartographicToNormal(lat,lon,$9160f8f2e0578e98$var$_norm);const radius=this.radius;$9160f8f2e0578e98$var$_vec.copy($9160f8f2e0578e98$var$_norm);$9160f8f2e0578e98$var$_vec.x*=radius.x**2;$9160f8f2e0578e98$var$_vec.y*=radius.y**2;$9160f8f2e0578e98$var$_vec.z*=radius.z**2;const gamma=Math.sqrt($9160f8f2e0578e98$var$_norm.dot($9160f8f2e0578e98$var$_vec));$9160f8f2e0578e98$var$_vec.divideScalar(gamma);return target.copy($9160f8f2e0578e98$var$_vec).addScaledVector($9160f8f2e0578e98$var$_norm,height)}getPositionToCartographic(pos,target){this.getPositionToSurfacePoint(pos,$9160f8f2e0578e98$var$_vec);this.getPositionToNormal(pos,$9160f8f2e0578e98$var$_norm);const heightDelta=$9160f8f2e0578e98$var$_vec2.subVectors(pos,$9160f8f2e0578e98$var$_vec);target.lon=Math.atan2($9160f8f2e0578e98$var$_norm.y,$9160f8f2e0578e98$var$_norm.x);target.lat=Math.asin($9160f8f2e0578e98$var$_norm.z);target.height=Math.sign(heightDelta.dot(pos))*heightDelta.length();return target}getCartographicToNormal(lat,lon,target){$9160f8f2e0578e98$var$_spherical.set(1,(0,$1hGdn.latitudeToSphericalPhi)(lat),lon);target.setFromSpherical($9160f8f2e0578e98$var$_spherical).normalize();(0,$1hGdn.swapToGeoFrame)(target);return target}getPositionToNormal(pos,target){const radius=this.radius;target.copy(pos);target.x/=radius.x**2;target.y/=radius.y**2;target.z/=radius.z**2;target.normalize();return target}getPositionToSurfacePoint(pos,target){const radius=this.radius;const invRadiusSqX=1/radius.x**2;const invRadiusSqY=1/radius.y**2;const invRadiusSqZ=1/radius.z**2;const x2=pos.x*pos.x*invRadiusSqX;const y2=pos.y*pos.y*invRadiusSqY;const z2=pos.z*pos.z*invRadiusSqZ;const squaredNorm=x2+y2+z2;const ratio=Math.sqrt(1/squaredNorm);const intersection=$9160f8f2e0578e98$var$_vec.copy(pos).multiplyScalar(ratio);if(squaredNorm&lt;$9160f8f2e0578e98$var$CENTER_EPS)return!isFinite(ratio)?null:target.copy(intersection);const gradient=$9160f8f2e0578e98$var$_vec2.set(intersection.x*invRadiusSqX*2,intersection.y*invRadiusSqY*2,intersection.z*invRadiusSqZ*2);let lambda=(1-ratio)*pos.length()/(0.5*gradient.length());let correction=0;let func,denominator;let xMultiplier,yMultiplier,zMultiplier;let xMultiplier2,yMultiplier2,zMultiplier2;let xMultiplier3,yMultiplier3,zMultiplier3;do{lambda-=correction;xMultiplier=1/(1+lambda*invRadiusSqX);yMultiplier=1/(1+lambda*invRadiusSqY);zMultiplier=1/(1+lambda*invRadiusSqZ);xMultiplier2=xMultiplier*xMultiplier;yMultiplier2=yMultiplier*yMultiplier;zMultiplier2=zMultiplier*zMultiplier;xMultiplier3=xMultiplier2*xMultiplier;yMultiplier3=yMultiplier2*yMultiplier;zMultiplier3=zMultiplier2*zMultiplier;func=x2*xMultiplier2+y2*yMultiplier2+z2*zMultiplier2-1;denominator=x2*xMultiplier3*invRadiusSqX+y2*yMultiplier3*invRadiusSqY+z2*zMultiplier3*invRadiusSqZ;const derivative=-2*denominator;correction=func/derivative}while(Math.abs(func)&gt;$9160f8f2e0578e98$var$EPSILON12);return target.set(pos.x*xMultiplier,pos.y*yMultiplier,pos.z*zMultiplier)}}$9160f8f2e0578e98$exports.Ellipsoid=$9160f8f2e0578e98$var$Ellipsoid;const $aa7b3b269f245cbe$var$PI=Math.PI;const $aa7b3b269f245cbe$var$HALF_PI=$aa7b3b269f245cbe$var$PI/2;const $aa7b3b269f245cbe$var$_orthoX=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_orthoY=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_orthoZ=new $5OpyM$Vector3;const $aa7b3b269f245cbe$var$_invMatrix=new $5OpyM$Matrix4;let $aa7b3b269f245cbe$var$_poolIndex=0;const $aa7b3b269f245cbe$var$_pointsPool=[];function $aa7b3b269f245cbe$var$getVector(usePool=false){if(!usePool)return new $5OpyM$Vector3;if(!$aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex])$aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex]=new $5OpyM$Vector3;$aa7b3b269f245cbe$var$_poolIndex++;return $aa7b3b269f245cbe$var$_pointsPool[$aa7b3b269f245cbe$var$_poolIndex-1]}function $aa7b3b269f245cbe$var$resetPool(){$aa7b3b269f245cbe$var$_poolIndex=0}class $aa7b3b269f245cbe$var$EllipsoidRegion extends $9160f8f2e0578e98$exports.Ellipsoid{constructor(x,y,z,latStart=-$aa7b3b269f245cbe$var$HALF_PI,latEnd=$aa7b3b269f245cbe$var$HALF_PI,lonStart=0,lonEnd=2*$aa7b3b269f245cbe$var$PI,heightStart=0,heightEnd=0){super(x,y,z);this.latStart=latStart;this.latEnd=latEnd;this.lonStart=lonStart;this.lonEnd=lonEnd;this.heightStart=heightStart;this.heightEnd=heightEnd}_getPoints(usePool=false){const{latStart:latStart,latEnd:latEnd,lonStart:lonStart,lonEnd:lonEnd,heightStart:heightStart,heightEnd:heightEnd}=this;const midLat=$5OpyM$MathUtils.mapLinear(0.5,0,1,latStart,latEnd);const midLon=$5OpyM$MathUtils.mapLinear(0.5,0,1,lonStart,lonEnd);const lonOffset=Math.floor(lonStart/$aa7b3b269f245cbe$var$HALF_PI)*$aa7b3b269f245cbe$var$HALF_PI;const latlon=[[-$aa7b3b269f245cbe$var$PI/2,0],[$aa7b3b269f245cbe$var$PI/2,0],[0,lonOffset],[0,lonOffset+$aa7b3b269f245cbe$var$PI/2],[0,lonOffset+$aa7b3b269f245cbe$var$PI],[0,lonOffset+3*$aa7b3b269f245cbe$var$PI/2],[latStart,lonEnd],[latEnd,lonEnd],[latStart,lonStart],[latEnd,lonStart],[0,lonStart],[0,lonEnd],[midLat,midLon],[latStart,midLon],[latEnd,midLon],[midLat,lonStart],[midLat,lonEnd]];const target=[];const total=latlon.length;for(let z=0;z&lt;=1;z++){const height=$5OpyM$MathUtils.mapLinear(z,0,1,heightStart,heightEnd);for(let i=0,l=total;i&lt;l;i++){const[lat,lon]=latlon[i];if(lat&gt;=latStart&amp;&amp;lat&lt;=latEnd&amp;&amp;lon&gt;=lonStart&amp;&amp;lon&lt;=lonEnd){const v=$aa7b3b269f245cbe$var$getVector(usePool);target.push(v);this.getCartographicToPosition(lat,lon,height,v)}}}return target}getBoundingBox(box,matrix){$aa7b3b269f245cbe$var$resetPool();const{latStart:latStart,latEnd:latEnd,lonStart:lonStart,lonEnd:lonEnd}=this;const latRange=latEnd-latStart;if(latRange&lt;$aa7b3b269f245cbe$var$PI/2){const midLat=$5OpyM$MathUtils.mapLinear(0.5,0,1,latStart,latEnd);const midLon=$5OpyM$MathUtils.mapLinear(0.5,0,1,lonStart,lonEnd);this.getCartographicToNormal(midLat,midLon,$aa7b3b269f245cbe$var$_orthoZ);$aa7b3b269f245cbe$var$_orthoY.set(0,0,1);$aa7b3b269f245cbe$var$_orthoX.crossVectors($aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ);$aa7b3b269f245cbe$var$_orthoY.crossVectors($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoZ);matrix.makeBasis($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ)}else{$aa7b3b269f245cbe$var$_orthoX.set(1,0,0);$aa7b3b269f245cbe$var$_orthoY.set(0,1,0);$aa7b3b269f245cbe$var$_orthoZ.set(0,0,1);matrix.makeBasis($aa7b3b269f245cbe$var$_orthoX,$aa7b3b269f245cbe$var$_orthoY,$aa7b3b269f245cbe$var$_orthoZ)}$aa7b3b269f245cbe$var$_invMatrix.copy(matrix).invert();const points=this._getPoints(true);for(let i=0,l=points.length;i&lt;l;i++)points[i].applyMatrix4($aa7b3b269f245cbe$var$_invMatrix);box.makeEmpty();box.setFromPoints(points)}getBoundingSphere(sphere,center){$aa7b3b269f245cbe$var$resetPool();const points=this._getPoints(true);sphere.makeEmpty();sphere.setFromPoints(points,center)}}$aa7b3b269f245cbe$exports.EllipsoidRegion=$aa7b3b269f245cbe$var$EllipsoidRegion;const $163be4c04da1c269$var$_vecX=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vecY=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vecZ=new $5OpyM$Vector3;const $163be4c04da1c269$var$_vec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_sphereVec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_obbVec=new $5OpyM$Vector3;const $163be4c04da1c269$var$_ray=new $5OpyM$Ray;class $163be4c04da1c269$var$TileBoundingVolume{constructor(){this.sphere=null;this.obb=null;this.region=null;this.regionObb=null}intersectsRay(ray){const sphere=this.sphere;const obb=this.obb||this.regionObb;if(sphere&amp;&amp;!ray.intersectsSphere(sphere))return false;if(obb){$163be4c04da1c269$var$_ray.copy(ray).applyMatrix4(obb.inverseTransform);if(!$163be4c04da1c269$var$_ray.intersectsBox(obb.box))return false}return true}intersectRay(ray,target=null){const sphere=this.sphere;const obb=this.obb||this.regionObb;let sphereDistSq=-Infinity;let obbDistSq=-Infinity;if(sphere){if(ray.intersectSphere(sphere,$163be4c04da1c269$var$_sphereVec))sphereDistSq=sphere.containsPoint(ray.origin)?0:ray.origin.distanceToSquared($163be4c04da1c269$var$_sphereVec)}if(obb){$163be4c04da1c269$var$_ray.copy(ray).applyMatrix4(obb.inverseTransform);if($163be4c04da1c269$var$_ray.intersectBox(obb.box,$163be4c04da1c269$var$_obbVec))obbDistSq=obb.box.containsPoint($163be4c04da1c269$var$_ray.origin)?0:$163be4c04da1c269$var$_ray.origin.distanceToSquared($163be4c04da1c269$var$_obbVec)}const furthestDist=Math.max(sphereDistSq,obbDistSq);if(furthestDist===-Infinity)return null;ray.at(Math.sqrt(furthestDist),target);return target}distanceToPoint(point){const sphere=this.sphere;const obb=this.obb||this.regionObb;let sphereDistance=-Infinity;let obbDistance=-Infinity;if(sphere)sphereDistance=Math.max(sphere.distanceToPoint(point),0);if(obb){$163be4c04da1c269$var$_vec.copy(point).applyMatrix4(obb.inverseTransform);obbDistance=obb.box.distanceToPoint($163be4c04da1c269$var$_vec)}return sphereDistance&gt;obbDistance?sphereDistance:obbDistance}intersectsFrustum(frustum){const obb=this.obb||this.regionObb;const sphere=this.sphere;if(sphere&amp;&amp;!frustum.intersectsSphere(sphere))return false;if(obb&amp;&amp;!obb.intersectsFrustum(frustum))return false;return Boolean(sphere||obb)}getOBB(targetBox,targetMatrix){const obb=this.obb||this.regionObb;if(obb){targetBox.copy(obb.box);targetMatrix.copy(obb.transform)}else{this.getAABB(targetBox);targetMatrix.identity()}}getAABB(target){if(this.sphere)this.sphere.getBoundingBox(target);else{const obb=this.obb||this.regionObb;target.copy(obb.box).applyMatrix4(obb.transform)}}getSphere(target){if(this.sphere)target.copy(this.sphere);else if(this.region)this.region.getBoundingSphere(target);else{const obb=this.obb||this.regionObb;obb.box.getBoundingSphere(target);target.applyMatrix4(obb.transform)}}setObbData(data,transform){const obb=new $9e13f7da58b2928b$exports.OBB;$163be4c04da1c269$var$_vecX.set(data[3],data[4],data[5]);$163be4c04da1c269$var$_vecY.set(data[6],data[7],data[8]);$163be4c04da1c269$var$_vecZ.set(data[9],data[10],data[11]);const scaleX=$163be4c04da1c269$var$_vecX.length();const scaleY=$163be4c04da1c269$var$_vecY.length();const scaleZ=$163be4c04da1c269$var$_vecZ.length();$163be4c04da1c269$var$_vecX.normalize();$163be4c04da1c269$var$_vecY.normalize();$163be4c04da1c269$var$_vecZ.normalize();if(scaleX===0)$163be4c04da1c269$var$_vecX.crossVectors($163be4c04da1c269$var$_vecY,$163be4c04da1c269$var$_vecZ);if(scaleY===0)$163be4c04da1c269$var$_vecY.crossVectors($163be4c04da1c269$var$_vecX,$163be4c04da1c269$var$_vecZ);if(scaleZ===0)$163be4c04da1c269$var$_vecZ.crossVectors($163be4c04da1c269$var$_vecX,$163be4c04da1c269$var$_vecY);obb.transform.set($163be4c04da1c269$var$_vecX.x,$163be4c04da1c269$var$_vecY.x,$163be4c04da1c269$var$_vecZ.x,data[0],$163be4c04da1c269$var$_vecX.y,$163be4c04da1c269$var$_vecY.y,$163be4c04da1c269$var$_vecZ.y,data[1],$163be4c04da1c269$var$_vecX.z,$163be4c04da1c269$var$_vecY.z,$163be4c04da1c269$var$_vecZ.z,data[2],0,0,0,1).premultiply(transform);obb.box.min.set(-scaleX,-scaleY,-scaleZ);obb.box.max.set(scaleX,scaleY,scaleZ);obb.update();this.obb=obb}setSphereData(x,y,z,radius,transform){const sphere=new $5OpyM$Sphere;sphere.center.set(x,y,z);sphere.radius=radius;sphere.applyMatrix4(transform);this.sphere=sphere}setRegionData(west,south,east,north,minHeight,maxHeight){const region=new $aa7b3b269f245cbe$exports.EllipsoidRegion($002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_HEIGHT,south,north,west,east,minHeight,maxHeight);const obb=new $9e13f7da58b2928b$exports.OBB;region.getBoundingBox(obb.box,obb.transform);obb.update();this.region=region;this.regionObb=obb}}$163be4c04da1c269$exports.TileBoundingVolume=$163be4c04da1c269$var$TileBoundingVolume;const $06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED=Symbol("INITIAL_FRUSTUM_CULLED");const $06d26e8e9f5361d3$var$tempMat=new $5OpyM$Matrix4;const $06d26e8e9f5361d3$var$tempMat2=new $5OpyM$Matrix4;const $06d26e8e9f5361d3$var$tempVector=new $5OpyM$Vector3;const $06d26e8e9f5361d3$var$X_AXIS=new $5OpyM$Vector3(1,0,0);const $06d26e8e9f5361d3$var$Y_AXIS=new $5OpyM$Vector3(0,1,0);function $06d26e8e9f5361d3$var$updateFrustumCulled(object,toInitialValue){object.traverse(c=&gt;{c.frustumCulled=c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]&amp;&amp;toInitialValue})}class $06d26e8e9f5361d3$var$TilesRenderer extends $5a6f7a997885dc30$exports.TilesRendererBase{get autoDisableRendererCulling(){return this._autoDisableRendererCulling}set autoDisableRendererCulling(value){if(this._autoDisableRendererCulling!==value){super._autoDisableRendererCulling=value;this.forEachLoadedModel(scene=&gt;{$06d26e8e9f5361d3$var$updateFrustumCulled(scene,!value)})}}constructor(...args){super(...args);this.group=new $3fcce8a4f74b2abc$exports.TilesGroup(this);this.cameras=[];this.cameraMap=new Map;this.cameraInfo=[];this.activeTiles=new Set;this.visibleTiles=new Set;this._autoDisableRendererCulling=true;this.optimizeRaycast=true;this.onLoadTileSet=null;this.onLoadModel=null;this.onDisposeModel=null;this.onTileVisibilityChange=null;const manager=new $5OpyM$LoadingManager;manager.setURLModifier(url=&gt;{if(this.preprocessURL)return this.preprocessURL(url);else return url});this.manager=manager;const tilesRenderer=this;this._overridenRaycast=function(raycaster,intersects){if(!tilesRenderer.optimizeRaycast)Object.getPrototypeOf(this).raycast.call(this,raycaster,intersects)}}getBounds(target){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getAABB(target);return true}else return true}getOrientedBounds(targetBox,targetMatrix){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getOBB(targetBox,targetMatrix);return true}else return true}getBoundingSphere(target){if(!this.root)return false;const boundingVolume=this.root.cached.boundingVolume;if(boundingVolume){boundingVolume.getSphere(target);return true}else return false}forEachLoadedModel(callback){this.traverse(tile=&gt;{const scene=tile.cached.scene;if(scene)callback(scene,tile)})}raycast(raycaster,intersects){if(!this.root)return;if(raycaster.firstHitOnly){const hit=(0,$c1ac95a1e8efcc86$exports.raycastTraverseFirstHit)(this,this.root,raycaster);if(hit)intersects.push(hit)}else(0,$c1ac95a1e8efcc86$exports.raycastTraverse)(this,this.root,raycaster,intersects)}hasCamera(camera){return this.cameraMap.has(camera)}setCamera(camera){const cameras=this.cameras;const cameraMap=this.cameraMap;if(!cameraMap.has(camera)){cameraMap.set(camera,new $5OpyM$Vector2);cameras.push(camera);return true}return false}setResolution(camera,xOrVec,y){const cameraMap=this.cameraMap;if(!cameraMap.has(camera))return false;if(xOrVec instanceof $5OpyM$Vector2)cameraMap.get(camera).copy(xOrVec);else cameraMap.get(camera).set(xOrVec,y);return true}setResolutionFromRenderer(camera,renderer){const cameraMap=this.cameraMap;if(!cameraMap.has(camera))return false;const resolution=cameraMap.get(camera);renderer.getSize(resolution);resolution.multiplyScalar(renderer.getPixelRatio());return true}deleteCamera(camera){const cameras=this.cameras;const cameraMap=this.cameraMap;if(cameraMap.has(camera)){const index=cameras.indexOf(camera);cameras.splice(index,1);cameraMap.delete(camera);return true}return false}fetchTileSet(url,...rest){const pr=super.fetchTileSet(url,...rest);pr.then(json=&gt;{if(this.onLoadTileSet)Promise.resolve().then(()=&gt;{this.onLoadTileSet(json,url)})});return pr}update(){const group=this.group;const cameras=this.cameras;const cameraMap=this.cameraMap;const cameraInfo=this.cameraInfo;if(cameras.length===0){console.warn("TilesRenderer: no cameras defined. Cannot update 3d tiles.");return}while(cameraInfo.length&gt;cameras.length)cameraInfo.pop();while(cameraInfo.length&lt;cameras.length)cameraInfo.push({frustum:new $5OpyM$Frustum,isOrthographic:false,sseDenominator:-1,position:new $5OpyM$Vector3,invScale:-1,pixelSize:0});$06d26e8e9f5361d3$var$tempMat2.copy(group.matrixWorld).invert();$06d26e8e9f5361d3$var$tempVector.setFromMatrixScale($06d26e8e9f5361d3$var$tempMat2);const invScale=$06d26e8e9f5361d3$var$tempVector.x;if(Math.abs(Math.max($06d26e8e9f5361d3$var$tempVector.x-$06d26e8e9f5361d3$var$tempVector.y,$06d26e8e9f5361d3$var$tempVector.x-$06d26e8e9f5361d3$var$tempVector.z))&gt;1e-6)console.warn("ThreeTilesRenderer : Non uniform scale used for tile which may cause issues when calculating screen space error.");for(let i=0,l=cameraInfo.length;i&lt;l;i++){const camera=cameras[i];const info=cameraInfo[i];const frustum=info.frustum;const position=info.position;const resolution=cameraMap.get(camera);if(resolution.width===0||resolution.height===0)console.warn("TilesRenderer: resolution for camera error calculation is not set.");const projection=camera.projectionMatrix.elements;info.isOrthographic=projection[15]===1;if(info.isOrthographic){const w=2/projection[0];const h=2/projection[5];info.pixelSize=Math.max(h/resolution.height,w/resolution.width)}else info.sseDenominator=2/projection[5]/resolution.height;info.invScale=invScale;$06d26e8e9f5361d3$var$tempMat.copy(group.matrixWorld);$06d26e8e9f5361d3$var$tempMat.premultiply(camera.matrixWorldInverse);$06d26e8e9f5361d3$var$tempMat.premultiply(camera.projectionMatrix);frustum.setFromProjectionMatrix($06d26e8e9f5361d3$var$tempMat);position.set(0,0,0);position.applyMatrix4(camera.matrixWorld);position.applyMatrix4($06d26e8e9f5361d3$var$tempMat2)}super.update()}preprocessNode(tile,tileSetDir,parentTile=null){super.preprocessNode(tile,tileSetDir,parentTile);const transform=new $5OpyM$Matrix4;if(tile.transform){const transformArr=tile.transform;for(let i=0;i&lt;16;i++)transform.elements[i]=transformArr[i]}else transform.identity();if(parentTile)transform.premultiply(parentTile.cached.transform);const transformInverse=new $5OpyM$Matrix4().copy(transform).invert();const boundingVolume=new $163be4c04da1c269$exports.TileBoundingVolume;if("sphere"in tile.boundingVolume)boundingVolume.setSphereData(...tile.boundingVolume.sphere,transform);if("box"in tile.boundingVolume)boundingVolume.setObbData(tile.boundingVolume.box,transform);if("region"in tile.boundingVolume)boundingVolume.setRegionData(...tile.boundingVolume.region);tile.cached={loadIndex:0,transform:transform,transformInverse:transformInverse,active:false,inFrustum:[],boundingVolume:boundingVolume,scene:null,geometry:null,material:null}}parseTile(buffer,tile,extension){tile._loadIndex=tile._loadIndex||0;tile._loadIndex++;const uri=tile.content.uri;const uriSplits=uri.split(/[\\\/]/g);uriSplits.pop();const workingPath=uriSplits.join("/");const fetchOptions=this.fetchOptions;const manager=this.manager;const loadIndex=tile._loadIndex;let promise=null;const upAxis=this.rootTileSet.asset&amp;&amp;this.rootTileSet.asset.gltfUpAxis||"y";const cached=tile.cached;const cachedTransform=cached.transform;const upAdjustment=new $5OpyM$Matrix4;switch(upAxis.toLowerCase()){case"x":upAdjustment.makeRotationAxis($06d26e8e9f5361d3$var$Y_AXIS,-Math.PI/2);break;case"y":upAdjustment.makeRotationAxis($06d26e8e9f5361d3$var$X_AXIS,Math.PI/2);break;case"z":upAdjustment.identity();break;}const fileType=((0,$9e3e194659cc5776$exports.readMagicBytes)(buffer)||extension).toLowerCase();switch(fileType){case"b3dm":{const loader=new $0aa3d1def57e98b1$exports.B3DMLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer);break}case"pnts":{const loader=new $1ddd6ca16eb224df$exports.PNTSLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;promise=loader.parse(buffer);break}case"i3dm":{const loader=new $0bc85483bdeca322$exports.I3DMLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer);break}case"cmpt":{const loader=new $54879e9a7dc345e0$exports.CMPTLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;loader.adjustmentTransform.copy(upAdjustment);promise=loader.parse(buffer).then(res=&gt;res.scene);break}case"gltf":case"glb":const loader=new $29ced67d26e5c4e2$exports.GLTFExtensionLoader(manager);loader.workingPath=workingPath;loader.fetchOptions=fetchOptions;promise=loader.parse(buffer);break;default:console.warn(`TilesRenderer: Content type "${fileType}" not supported.`);promise=Promise.resolve(null);break;}return promise.then(result=&gt;{let scene;let metadata;if(result.isObject3D){scene=result;metadata=null}else{scene=result.scene;metadata=result}if(tile._loadIndex!==loadIndex)return;scene.updateMatrix();if(fileType==="glb"||fileType==="gltf")scene.matrix.multiply(upAdjustment);scene.matrix.premultiply(cachedTransform);scene.matrix.decompose(scene.position,scene.quaternion,scene.scale);scene.traverse(c=&gt;{c[$06d26e8e9f5361d3$var$INITIAL_FRUSTUM_CULLED]=c.frustumCulled});$06d26e8e9f5361d3$var$updateFrustumCulled(scene,!this.autoDisableRendererCulling);scene.traverse(c=&gt;{c.raycast=this._overridenRaycast});const materials=[];const geometry=[];const textures=[];scene.traverse(c=&gt;{if(c.geometry)geometry.push(c.geometry);if(c.material){const material=c.material;materials.push(c.material);for(const key in material){const value=material[key];if(value&amp;&amp;value.isTexture)textures.push(value)}}});cached.materials=materials;cached.geometry=geometry;cached.textures=textures;cached.scene=scene;cached.metadata=metadata;if(this.onLoadModel)this.onLoadModel(scene,tile)})}disposeTile(tile){const cached=tile.cached;if(cached.scene){const materials=cached.materials;const geometry=cached.geometry;const textures=cached.textures;const parent=cached.scene.parent;for(let i=0,l=geometry.length;i&lt;l;i++)geometry[i].dispose();for(let i=0,l=materials.length;i&lt;l;i++)materials[i].dispose();for(let i=0,l=textures.length;i&lt;l;i++){const texture=textures[i];texture.dispose()}if(parent)parent.remove(cached.scene);if(this.onDisposeModel)this.onDisposeModel(cached.scene,tile);cached.scene=null;cached.materials=null;cached.textures=null;cached.geometry=null;cached.metadata=null}this.activeTiles.delete(tile);this.visibleTiles.delete(tile);tile._loadIndex++}setTileVisible(tile,visible){const scene=tile.cached.scene;const visibleTiles=this.visibleTiles;const group=this.group;if(visible){group.add(scene);visibleTiles.add(tile);scene.updateMatrixWorld(true)}else{group.remove(scene);visibleTiles.delete(tile)}if(this.onTileVisibilityChange)this.onTileVisibilityChange(scene,tile,visible)}setTileActive(tile,active){const activeTiles=this.activeTiles;if(active)activeTiles.add(tile);else activeTiles.delete(tile)}calculateError(tile){const cached=tile.cached;const inFrustum=cached.inFrustum;const cameras=this.cameras;const cameraInfo=this.cameraInfo;const boundingVolume=cached.boundingVolume;let maxError=-Infinity;let minDistance=Infinity;for(let i=0,l=cameras.length;i&lt;l;i++){if(!inFrustum[i])continue;const info=cameraInfo[i];const invScale=info.invScale;let error;if(info.isOrthographic){const pixelSize=info.pixelSize;error=tile.geometricError/(pixelSize*invScale)}else{const distance=boundingVolume.distanceToPoint(info.position);const scaledDistance=distance*invScale;const sseDenominator=info.sseDenominator;error=tile.geometricError/(scaledDistance*sseDenominator);minDistance=Math.min(minDistance,scaledDistance)}maxError=Math.max(maxError,error)}tile.__distanceFromCamera=minDistance;tile.__error=maxError}tileInView(tile){const cached=tile.cached;const boundingVolume=cached.boundingVolume;const inFrustum=cached.inFrustum;const cameraInfo=this.cameraInfo;let inView=false;for(let i=0,l=cameraInfo.length;i&lt;l;i++){const frustum=cameraInfo[i].frustum;if(boundingVolume.intersectsFrustum(frustum)){inView=true;inFrustum[i]=true}else inFrustum[i]=false}return inView}}$06d26e8e9f5361d3$exports.TilesRenderer=$06d26e8e9f5361d3$var$TilesRenderer;var $1cb839fa4db014d3$exports={};"use strict";Object.defineProperty($1cb839fa4db014d3$exports,"__esModule",{value:true});$1cb839fa4db014d3$exports.SphereHelper=void 0;const $1cb839fa4db014d3$var$_vector=new $5OpyM$Vector3;const $1cb839fa4db014d3$var$axes=["x","y","z"];class $1cb839fa4db014d3$var$SphereHelper extends $5OpyM$LineSegments{constructor(sphere,color=16776960,angleSteps=40){const geometry=new $5OpyM$BufferGeometry;const positions=[];for(let i=0;i&lt;3;i++){const axis1=$1cb839fa4db014d3$var$axes[i];const axis2=$1cb839fa4db014d3$var$axes[(i+1)%3];$1cb839fa4db014d3$var$_vector.set(0,0,0);for(let a=0;a&lt;angleSteps;a++){let angle;angle=2*Math.PI*a/(angleSteps-1);$1cb839fa4db014d3$var$_vector[axis1]=Math.sin(angle);$1cb839fa4db014d3$var$_vector[axis2]=Math.cos(angle);positions.push($1cb839fa4db014d3$var$_vector.x,$1cb839fa4db014d3$var$_vector.y,$1cb839fa4db014d3$var$_vector.z);angle=2*Math.PI*(a+1)/(angleSteps-1);$1cb839fa4db014d3$var$_vector[axis1]=Math.sin(angle);$1cb839fa4db014d3$var$_vector[axis2]=Math.cos(angle);positions.push($1cb839fa4db014d3$var$_vector.x,$1cb839fa4db014d3$var$_vector.y,$1cb839fa4db014d3$var$_vector.z)}}geometry.setAttribute("position",new $5OpyM$BufferAttribute(new Float32Array(positions),3));geometry.computeBoundingSphere();super(geometry,new $5OpyM$LineBasicMaterial({color:color,toneMapped:false}));this.sphere=sphere;this.type="SphereHelper"}updateMatrixWorld(force){const sphere=this.sphere;this.position.copy(sphere.center);this.scale.setScalar(sphere.radius);super.updateMatrixWorld(force)}}$1cb839fa4db014d3$exports.SphereHelper=$1cb839fa4db014d3$var$SphereHelper;var $3b9225051b507460$exports={};"use strict";Object.defineProperty($3b9225051b507460$exports,"__esModule",{value:true});$3b9225051b507460$exports.EllipsoidRegionLineHelper=$3b9225051b507460$exports.EllipsoidRegionHelper=void 0;const $3b9225051b507460$var$_norm=new $5OpyM$Vector3;const $3b9225051b507460$var$_norm2=new $5OpyM$Vector3;const $3b9225051b507460$var$_pos=new $5OpyM$Vector3;const $3b9225051b507460$var$_vec1=new $5OpyM$Vector3;const $3b9225051b507460$var$_vec2=new $5OpyM$Vector3;function $3b9225051b507460$var$toGroupGeometry(geometry){geometry=geometry.toNonIndexed();const{groups:groups}=geometry;const{position:position,normal:normal}=geometry.attributes;const newNorm=[];const newPos=[];for(const group of groups){const{start:start,count:count}=group;for(let i=start,l=start+count;i&lt;l;i++){$3b9225051b507460$var$_vec1.fromBufferAttribute(position,i);$3b9225051b507460$var$_vec2.fromBufferAttribute(normal,i);newPos.push(...$3b9225051b507460$var$_vec1);newNorm.push(...$3b9225051b507460$var$_vec2)}}const newGeometry=new $5OpyM$BufferGeometry;newGeometry.setAttribute("position",new $5OpyM$BufferAttribute(new Float32Array(newPos),3));newGeometry.setAttribute("normal",new $5OpyM$BufferAttribute(new Float32Array(newNorm),3));return newGeometry}function $3b9225051b507460$var$getRegionGeometry(ellipsoidRegion){const{latStart=-Math.PI/2,latEnd=Math.PI/2,lonStart=0,lonEnd=2*Math.PI,heightStart=0,heightEnd=0}=ellipsoidRegion;const geometry=new $5OpyM$BoxGeometry(1,1,1,32,32);const{normal:normal,position:position}=geometry.attributes;const refPosition=position.clone();for(let i=0,l=position.count;i&lt;l;i++){$3b9225051b507460$var$_pos.fromBufferAttribute(position,i);const lat=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.x,-0.5,0.5,latStart,latEnd);const lon=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.y,-0.5,0.5,lonStart,lonEnd);let height=heightStart;ellipsoidRegion.getCartographicToNormal(lat,lon,$3b9225051b507460$var$_norm);if($3b9225051b507460$var$_pos.z&lt;0)height=heightEnd;ellipsoidRegion.getCartographicToPosition(lat,lon,height,$3b9225051b507460$var$_pos);position.setXYZ(i,...$3b9225051b507460$var$_pos)}geometry.computeVertexNormals();for(let i=0,l=refPosition.count;i&lt;l;i++){$3b9225051b507460$var$_pos.fromBufferAttribute(refPosition,i);const lat=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.x,-0.5,0.5,latStart,latEnd);const lon=$5OpyM$MathUtils.mapLinear($3b9225051b507460$var$_pos.y,-0.5,0.5,lonStart,lonEnd);$3b9225051b507460$var$_norm.fromBufferAttribute(normal,i);ellipsoidRegion.getCartographicToNormal(lat,lon,$3b9225051b507460$var$_norm2);if(Math.abs($3b9225051b507460$var$_norm.dot($3b9225051b507460$var$_norm2))&gt;0.1){if($3b9225051b507460$var$_pos.z&gt;0)$3b9225051b507460$var$_norm2.multiplyScalar(-1);normal.setXYZ(i,...$3b9225051b507460$var$_norm2)}}return geometry}class $3b9225051b507460$var$EllipsoidRegionLineHelper extends $5OpyM$LineSegments{constructor(ellipsoidRegion=new $aa7b3b269f245cbe$exports.EllipsoidRegion,color=16776960){super();this.ellipsoidRegion=ellipsoidRegion;this.material.color.set(color);this.update()}update(){const geometry=$3b9225051b507460$var$getRegionGeometry(this.ellipsoidRegion);this.geometry.dispose();this.geometry=new $5OpyM$EdgesGeometry(geometry,80)}dispose(){this.geometry.dispose();this.material.dispose()}}$3b9225051b507460$exports.EllipsoidRegionLineHelper=$3b9225051b507460$var$EllipsoidRegionLineHelper;class $3b9225051b507460$var$EllipsoidRegionHelper extends $5OpyM$Mesh{constructor(ellipsoidRegion=new $aa7b3b269f245cbe$exports.EllipsoidRegion,color=16776960){super();this.ellipsoidRegion=ellipsoidRegion;this.material.color.set(color);this.update()}update(){this.geometry.dispose();const geometry=$3b9225051b507460$var$getRegionGeometry(this.ellipsoidRegion);const{lonStart:lonStart,lonEnd:lonEnd}=this;if(lonEnd-lonStart&gt;=2*Math.PI){geometry.groups.splice(2,2);this.geometry=$3b9225051b507460$var$toGroupGeometry(geometry)}else this.geometry=geometry}dispose(){this.geometry.dispose();this.material.dispose()}}$3b9225051b507460$exports.EllipsoidRegionHelper=$3b9225051b507460$var$EllipsoidRegionHelper;const $1909f04f34bd6630$var$ORIGINAL_MATERIAL=Symbol("ORIGINAL_MATERIAL");const $1909f04f34bd6630$var$HAS_RANDOM_COLOR=Symbol("HAS_RANDOM_COLOR");const $1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR=Symbol("HAS_RANDOM_NODE_COLOR");function $1909f04f34bd6630$var$emptyRaycast(){}const $1909f04f34bd6630$var$NONE=0;$1909f04f34bd6630$exports.NONE=$1909f04f34bd6630$var$NONE;const $1909f04f34bd6630$var$SCREEN_ERROR=1;$1909f04f34bd6630$exports.SCREEN_ERROR=$1909f04f34bd6630$var$SCREEN_ERROR;const $1909f04f34bd6630$var$GEOMETRIC_ERROR=2;$1909f04f34bd6630$exports.GEOMETRIC_ERROR=$1909f04f34bd6630$var$GEOMETRIC_ERROR;const $1909f04f34bd6630$var$DISTANCE=3;$1909f04f34bd6630$exports.DISTANCE=$1909f04f34bd6630$var$DISTANCE;const $1909f04f34bd6630$var$DEPTH=4;$1909f04f34bd6630$exports.DEPTH=$1909f04f34bd6630$var$DEPTH;const $1909f04f34bd6630$var$RELATIVE_DEPTH=5;$1909f04f34bd6630$exports.RELATIVE_DEPTH=$1909f04f34bd6630$var$RELATIVE_DEPTH;const $1909f04f34bd6630$var$IS_LEAF=6;$1909f04f34bd6630$exports.IS_LEAF=$1909f04f34bd6630$var$IS_LEAF;const $1909f04f34bd6630$var$RANDOM_COLOR=7;$1909f04f34bd6630$exports.RANDOM_COLOR=$1909f04f34bd6630$var$RANDOM_COLOR;const $1909f04f34bd6630$var$RANDOM_NODE_COLOR=8;$1909f04f34bd6630$exports.RANDOM_NODE_COLOR=$1909f04f34bd6630$var$RANDOM_NODE_COLOR;const $1909f04f34bd6630$var$CUSTOM_COLOR=9;$1909f04f34bd6630$exports.CUSTOM_COLOR=$1909f04f34bd6630$var$CUSTOM_COLOR;const $1909f04f34bd6630$var$_sphere=new $5OpyM$Sphere;class $1909f04f34bd6630$var$DebugTilesRenderer extends $06d26e8e9f5361d3$exports.TilesRenderer{constructor(...args){super(...args);const tilesGroup=this.group;const boxGroup=new $5OpyM$Group;boxGroup.name="DebugTilesRenderer.boxGroup";tilesGroup.add(boxGroup);const sphereGroup=new $5OpyM$Group;sphereGroup.name="DebugTilesRenderer.sphereGroup";tilesGroup.add(sphereGroup);const regionGroup=new $5OpyM$Group;regionGroup.name="DebugTilesRenderer.regionGroup";tilesGroup.add(regionGroup);this.displayBoxBounds=false;this.displaySphereBounds=false;this.displayRegionBounds=false;this.colorMode=$1909f04f34bd6630$var$NONE;this.customColorCallback=null;this.boxGroup=boxGroup;this.sphereGroup=sphereGroup;this.regionGroup=regionGroup;this.maxDebugDepth=-1;this.maxDebugDistance=-1;this.maxDebugError=-1;this.getDebugColor=(value,target)=&gt;{target.setRGB(value,value,value)};this.extremeDebugDepth=-1;this.extremeDebugError=-1}initExtremes(){let maxDepth=-1;this.traverse(tile=&gt;{maxDepth=Math.max(maxDepth,tile.__depth)});let maxError=-1;this.traverse(tile=&gt;{maxError=Math.max(maxError,tile.geometricError)});this.extremeDebugDepth=maxDepth;this.extremeDebugError=maxError}fetchTileSet(...args){const pr=super.fetchTileSet(...args);pr.then(()=&gt;{Promise.resolve().then(()=&gt;{this.initExtremes()})}).catch(()=&gt;{});return pr}getTileInformationFromActiveObject(object){let targetTile=null;const activeTiles=this.activeTiles;activeTiles.forEach(tile=&gt;{if(targetTile)return true;const scene=tile.cached.scene;if(scene)scene.traverse(c=&gt;{if(c===object)targetTile=tile})});if(targetTile)return{distanceToCamera:targetTile.__distanceFromCamera,geometricError:targetTile.geometricError,screenSpaceError:targetTile.__error,depth:targetTile.__depth,isLeaf:targetTile.__isLeaf};else return null}update(){super.update();if(!this.root)return;this.boxGroup.visible=this.displayBoxBounds;this.sphereGroup.visible=this.displaySphereBounds;this.regionGroup.visible=this.displayRegionBounds;let maxDepth=-1;if(this.maxDebugDepth===-1)maxDepth=this.extremeDebugDepth;else maxDepth=this.maxDebugDepth;let maxError=-1;if(this.maxDebugError===-1)maxError=this.extremeDebugError;else maxError=this.maxDebugError;let maxDistance=-1;if(this.maxDebugDistance===-1){this.root.cached.boundingVolume.getSphere($1909f04f34bd6630$var$_sphere);maxDistance=$1909f04f34bd6630$var$_sphere.radius}else maxDistance=this.maxDebugDistance;const errorTarget=this.errorTarget;const colorMode=this.colorMode;const visibleTiles=this.visibleTiles;visibleTiles.forEach(tile=&gt;{const scene=tile.cached.scene;let h,s,l;if(colorMode===$1909f04f34bd6630$var$RANDOM_COLOR){h=Math.random();s=0.5+Math.random()*0.5;l=0.375+Math.random()*0.25}scene.traverse(c=&gt;{if(colorMode===$1909f04f34bd6630$var$RANDOM_NODE_COLOR){h=Math.random();s=0.5+Math.random()*0.5;l=0.375+Math.random()*0.25}const currMaterial=c.material;if(currMaterial){const originalMaterial=c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL];if(colorMode===$1909f04f34bd6630$var$NONE&amp;&amp;currMaterial!==originalMaterial){c.material.dispose();c.material=c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL]}else if(colorMode!==$1909f04f34bd6630$var$NONE&amp;&amp;currMaterial===originalMaterial){if(c.isPoints){const pointsMaterial=new $5OpyM$PointsMaterial;pointsMaterial.size=originalMaterial.size;pointsMaterial.sizeAttenuation=originalMaterial.sizeAttenuation;c.material=pointsMaterial}else{c.material=new $5OpyM$MeshStandardMaterial;c.material.flatShading=true}}if(colorMode!==$1909f04f34bd6630$var$RANDOM_COLOR)delete c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR];if(colorMode!==$1909f04f34bd6630$var$RANDOM_NODE_COLOR)delete c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR];switch(colorMode){case $1909f04f34bd6630$var$DEPTH:{const val=tile.__depth/maxDepth;this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$RELATIVE_DEPTH:{const val=tile.__depthFromRenderedParent/maxDepth;this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$SCREEN_ERROR:{const val=tile.__error/errorTarget;if(val&gt;1)c.material.color.setRGB(1,0,0);else this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$GEOMETRIC_ERROR:{const val=Math.min(tile.geometricError/maxError,1);this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$DISTANCE:{const val=Math.min(tile.__distanceFromCamera/maxDistance,1);this.getDebugColor(val,c.material.color);break}case $1909f04f34bd6630$var$IS_LEAF:if(!tile.children||tile.children.length===0)this.getDebugColor(1,c.material.color);else this.getDebugColor(0,c.material.color);break;case $1909f04f34bd6630$var$RANDOM_NODE_COLOR:if(!c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR]){c.material.color.setHSL(h,s,l);c.material[$1909f04f34bd6630$var$HAS_RANDOM_NODE_COLOR]=true}break;case $1909f04f34bd6630$var$RANDOM_COLOR:if(!c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR]){c.material.color.setHSL(h,s,l);c.material[$1909f04f34bd6630$var$HAS_RANDOM_COLOR]=true}break;case $1909f04f34bd6630$var$CUSTOM_COLOR:if(this.customColorCallback)this.customColorCallback(tile,c);else console.warn("DebugTilesRenderer: customColorCallback not defined");break;}}})})}setTileVisible(tile,visible){super.setTileVisible(tile,visible);const cached=tile.cached;const sphereGroup=this.sphereGroup;const boxGroup=this.boxGroup;const regionGroup=this.regionGroup;const boxHelperGroup=cached.boxHelperGroup;const sphereHelper=cached.sphereHelper;const regionHelper=cached.regionHelper;if(!visible){if(boxHelperGroup)boxGroup.remove(boxHelperGroup);if(sphereHelper)sphereGroup.remove(sphereHelper);if(regionHelper)regionGroup.remove(regionHelper)}else{if(boxHelperGroup){boxGroup.add(boxHelperGroup);boxHelperGroup.updateMatrixWorld(true)}if(sphereHelper){sphereGroup.add(sphereHelper);sphereHelper.updateMatrixWorld(true)}if(regionHelper){regionGroup.add(regionHelper);regionHelper.updateMatrixWorld(true)}}}parseTile(buffer,tile,extension){return super.parseTile(buffer,tile,extension).then(()=&gt;{const cached=tile.cached;const scene=cached.scene;if(scene){const{sphere:sphere,obb:obb,region:region}=cached.boundingVolume;if(obb){const boxHelperGroup=new $5OpyM$Group;boxHelperGroup.name="DebugTilesRenderer.boxHelperGroup";boxHelperGroup.matrix.copy(obb.transform);boxHelperGroup.matrixAutoUpdate=false;const boxHelper=new $5OpyM$Box3Helper(obb.box,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));boxHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;boxHelperGroup.add(boxHelper);cached.boxHelperGroup=boxHelperGroup;if(this.visibleTiles.has(tile)&amp;&amp;this.displayBoxBounds){this.boxGroup.add(boxHelperGroup);boxHelperGroup.updateMatrixWorld(true)}}if(sphere){const sphereHelper=new $1cb839fa4db014d3$exports.SphereHelper(sphere,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));sphereHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;cached.sphereHelper=sphereHelper;if(this.visibleTiles.has(tile)&amp;&amp;this.displaySphereBounds){this.sphereGroup.add(sphereHelper);sphereHelper.updateMatrixWorld(true)}}if(region){const regionHelper=new $3b9225051b507460$exports.EllipsoidRegionLineHelper(region,(0,$3a66585ec6f85053$exports.getIndexedRandomColor)(tile.__depth));regionHelper.raycast=$1909f04f34bd6630$var$emptyRaycast;const sphere=new $5OpyM$Sphere;region.getBoundingSphere(sphere);regionHelper.position.copy(sphere.center);sphere.center.multiplyScalar(-1);regionHelper.geometry.translate(...sphere.center);cached.regionHelper=regionHelper;if(this.visibleTiles.has(tile)&amp;&amp;this.displayRegionBounds){this.regionGroup.add(regionHelper);regionHelper.updateMatrixWorld(true)}}scene.traverse(c=&gt;{const material=c.material;if(material)c[$1909f04f34bd6630$var$ORIGINAL_MATERIAL]=material})}})}disposeTile(tile){super.disposeTile(tile);const cached=tile.cached;if(cached.boxHelperGroup){cached.boxHelperGroup.children[0].geometry.dispose();delete cached.boxHelperGroup}if(cached.sphereHelper){cached.sphereHelper.geometry.dispose();delete cached.sphereHelper}}}$1909f04f34bd6630$exports.DebugTilesRenderer=$1909f04f34bd6630$var$DebugTilesRenderer;var $cf838c15c8b009ba$var$_GeoUtils=$cf838c15c8b009ba$var$_interopRequireWildcard(parcelRequire("1hGdn"));$cf838c15c8b009ba$exports.GeoUtils=$cf838c15c8b009ba$var$_GeoUtils;var $74a95d3099be71d6$exports={};"use strict";Object.defineProperty($74a95d3099be71d6$exports,"__esModule",{value:true});$74a95d3099be71d6$exports.WGS84_ELLIPSOID=void 0;const $74a95d3099be71d6$var$WGS84_ELLIPSOID=new $9160f8f2e0578e98$exports.Ellipsoid($002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_RADIUS,$002d29a772485791$exports.WGS84_HEIGHT);$74a95d3099be71d6$exports.WGS84_ELLIPSOID=$74a95d3099be71d6$var$WGS84_ELLIPSOID;Object.keys($74a95d3099be71d6$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&amp;&amp;$cf838c15c8b009ba$exports[key]===$74a95d3099be71d6$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $74a95d3099be71d6$exports[key]}})});var $e41589f0d6e8ce27$exports={};"use strict";Object.defineProperty($e41589f0d6e8ce27$exports,"__esModule",{value:true});$e41589f0d6e8ce27$exports.GoogleTilesRenderer=$e41589f0d6e8ce27$exports.DebugGoogleTilesRenderer=void 0;var $f462b5e10a0d334c$exports={};"use strict";Object.defineProperty($f462b5e10a0d334c$exports,"__esModule",{value:true});$f462b5e10a0d334c$exports.GoogleMapsTilesCredits=void 0;class $f462b5e10a0d334c$var$GoogleMapsTilesCredits{constructor(){this.creditsCount={}}_adjustCredits(line,add){const creditsCount=this.creditsCount;const tokens=line.split(/;/g);for(let i=0,l=tokens.length;i&lt;l;i++){const t=tokens[i];if(!(t in creditsCount))creditsCount[t]=0;creditsCount[t]+=add?1:-1;if(creditsCount[t]&lt;=0)delete creditsCount[t]}}addCredits(line){this._adjustCredits(line,true)}removeCredits(line){this._adjustCredits(line,false)}toString(){const tokens=Object.keys(this.creditsCount).sort();return tokens.join(", ")}}$f462b5e10a0d334c$exports.GoogleMapsTilesCredits=$f462b5e10a0d334c$var$GoogleMapsTilesCredits;const $e41589f0d6e8ce27$var$API_ORIGIN="https://tile.googleapis.com";const $e41589f0d6e8ce27$var$TILE_URL=`${$e41589f0d6e8ce27$var$API_ORIGIN}/v1/3dtiles/root.json`;const $e41589f0d6e8ce27$var$_mat=new $5OpyM$Matrix4;const $e41589f0d6e8ce27$var$_euler=new $5OpyM$Euler;const $e41589f0d6e8ce27$var$GoogleTilesRendererMixin=base=&gt;class extends base{get ellipsoid(){return $74a95d3099be71d6$exports.WGS84_ELLIPSOID}constructor(apiKey,baseUrl=$e41589f0d6e8ce27$var$TILE_URL){super(new URL(`${baseUrl}?key=${apiKey}`).toString());this._credits=new $f462b5e10a0d334c$exports.GoogleMapsTilesCredits;this.fetchOptions.mode="cors";this.parseQueue.maxJobs=10;this.downloadQueue.maxJobs=30;this.lruCache.minSize=3000;this.lruCache.maxSize=5000;this.errorTarget=20;this.onLoadTileSet=tileset=&gt;{let session;this.traverse(tile=&gt;{if(tile.content&amp;&amp;tile.content.uri){session=new URL(tile.content.uri).searchParams.get("session");return true}return false});this.preprocessURL=uri=&gt;{uri=new URL(uri);if(/^http/.test(uri.protocol)){uri.searchParams.append("session",session);uri.searchParams.append("key",apiKey)}return uri.toString()};this.onLoadTileSet=null};this.onTileVisibilityChange=(scene,tile,visible)=&gt;{const copyright=tile.cached.metadata.asset.copyright||"";if(visible)this._credits.addCredits(copyright);else this._credits.removeCredits(copyright)}}getCreditsString(){return this._credits.toString()}setLatLonToYUp(lat,lon){const{ellipsoid:ellipsoid,group:group}=this;$e41589f0d6e8ce27$var$_euler.set(Math.PI/2,Math.PI/2,0);$e41589f0d6e8ce27$var$_mat.makeRotationFromEuler($e41589f0d6e8ce27$var$_euler);ellipsoid.constructLatLonFrame(lat,lon,group.matrix).multiply($e41589f0d6e8ce27$var$_mat).invert().decompose(group.position,group.quaternion,group.scale)}};const $e41589f0d6e8ce27$var$GoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRendererMixin($06d26e8e9f5361d3$exports.TilesRenderer);$e41589f0d6e8ce27$exports.GoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRenderer;const $e41589f0d6e8ce27$var$DebugGoogleTilesRenderer=$e41589f0d6e8ce27$var$GoogleTilesRendererMixin($1909f04f34bd6630$exports.DebugTilesRenderer);$e41589f0d6e8ce27$exports.DebugGoogleTilesRenderer=$e41589f0d6e8ce27$var$DebugGoogleTilesRenderer;Object.keys($e41589f0d6e8ce27$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&amp;&amp;$cf838c15c8b009ba$exports[key]===$e41589f0d6e8ce27$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $e41589f0d6e8ce27$exports[key]}})});var $3b72713b91ab2ada$exports={};"use strict";Object.defineProperty($3b72713b91ab2ada$exports,"__esModule",{value:true});$3b72713b91ab2ada$exports.DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$exports.CesiumIonTilesRenderer=void 0;const $3b72713b91ab2ada$var$UNLOADED=0;const $3b72713b91ab2ada$var$LOADING=1;const $3b72713b91ab2ada$var$LOADED=2;const $3b72713b91ab2ada$var$FAILED=3;const $3b72713b91ab2ada$var$CesiumIonTilesRendererMixin=base=&gt;class extends base{constructor(ionAssetId,ionAccessToken){super();this._tokenState=$3b72713b91ab2ada$var$UNLOADED;this._ionAccessToken=ionAccessToken;this._ionAssetId=ionAssetId;this._tileSetVersion=-1;this.preprocessURL=uri=&gt;{uri=new URL(uri);if(/^http/.test(uri.protocol)&amp;&amp;this._tileSetVersion!=-1)uri.searchParams.append("v",this._tileSetVersion);return uri.toString()}}update(){const state=this._tokenState;if(state===$3b72713b91ab2ada$var$UNLOADED){this._tokenState=$3b72713b91ab2ada$var$LOADING;const url=new URL(`https://api.cesium.com/v1/assets/${this._ionAssetId}/endpoint`);url.searchParams.append("access_token",this._ionAccessToken);fetch(url,{mode:"cors"}).then(res=&gt;{if(res.ok)return res.json();else return Promise.reject(`${res.status} : ${res.statusText}`)}).then(json=&gt;{this._tokenState=$3b72713b91ab2ada$var$LOADED;const url=new URL(json.url);this._tileSetVersion=url.searchParams.get("v");this.rootURL=url;this.fetchOptions.headers=this.fetchOptions.headers||{};this.fetchOptions.headers.Authorization=`Bearer ${json.accessToken}`}).catch(()=&gt;{this._tokenState=$3b72713b91ab2ada$var$FAILED})}else if(state===$3b72713b91ab2ada$var$LOADED)super.update()}};const $3b72713b91ab2ada$var$CesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRendererMixin($06d26e8e9f5361d3$exports.TilesRenderer);$3b72713b91ab2ada$exports.CesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRenderer;const $3b72713b91ab2ada$var$DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$var$CesiumIonTilesRendererMixin($1909f04f34bd6630$exports.DebugTilesRenderer);$3b72713b91ab2ada$exports.DebugCesiumIonTilesRenderer=$3b72713b91ab2ada$var$DebugCesiumIonTilesRenderer;Object.keys($3b72713b91ab2ada$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&amp;&amp;$cf838c15c8b009ba$exports[key]===$3b72713b91ab2ada$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $3b72713b91ab2ada$exports[key]}})});Object.keys($002d29a772485791$exports).forEach(function(key){if(key==="default"||key==="__esModule")return;if(Object.prototype.hasOwnProperty.call($cf838c15c8b009ba$var$_exportNames,key))return;if(key in $cf838c15c8b009ba$exports&amp;&amp;$cf838c15c8b009ba$exports[key]===$002d29a772485791$exports[key])return;Object.defineProperty($cf838c15c8b009ba$exports,key,{enumerable:true,get:function(){return $002d29a772485791$exports[key]}})});function $cf838c15c8b009ba$var$_getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=="function")return null;var cacheBabelInterop=new WeakMap;var cacheNodeInterop=new WeakMap;return($cf838c15c8b009ba$var$_getRequireWildcardCache=function(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function $cf838c15c8b009ba$var$_interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&amp;&amp;obj&amp;&amp;obj.__esModule)return obj;if(obj===null||typeof obj!=="object"&amp;&amp;typeof obj!=="function")return{default:obj};var cache=$cf838c15c8b009ba$var$_getRequireWildcardCache(nodeInterop);if(cache&amp;&amp;cache.has(obj))return cache.get(obj);var newObj={};var hasPropertyDescriptor=Object.defineProperty&amp;&amp;Object.getOwnPropertyDescriptor;for(var key in obj)if(key!=="default"&amp;&amp;Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;if(desc&amp;&amp;(desc.get||desc.set))Object.defineProperty(newObj,key,desc);else newObj[key]=obj[key]}newObj.default=obj;if(cache)cache.set(obj,newObj);return newObj}THREE.TDTiles=$cf838c15c8b009ba$exports});(function(){const Constants={Handedness:Object.freeze({NONE:"none",LEFT:"left",RIGHT:"right"}),ComponentState:Object.freeze({DEFAULT:"default",TOUCHED:"touched",PRESSED:"pressed"}),ComponentProperty:Object.freeze({BUTTON:"button",X_AXIS:"xAxis",Y_AXIS:"yAxis",STATE:"state"}),ComponentType:Object.freeze({TRIGGER:"trigger",SQUEEZE:"squeeze",TOUCHPAD:"touchpad",THUMBSTICK:"thumbstick",BUTTON:"button"}),ButtonTouchThreshold:0.05,AxisTouchThreshold:0.1,VisualResponseProperty:Object.freeze({TRANSFORM:"transform",VISIBILITY:"visibility"})};async function fetchJsonFile(path){const response=await fetch(path);if(!response.ok){throw new Error(response.statusText)}else{return response.json()}}async function fetchProfilesList(basePath){if(!basePath){throw new Error("No basePath supplied")}const profileListFileName="profilesList.json";const profilesList=await fetchJsonFile(`${basePath}/${profileListFileName}`);return profilesList}async function fetchProfile(xrInputSource,basePath,defaultProfile=null,getAssetPath=true){if(!xrInputSource){throw new Error("No xrInputSource supplied")}if(!basePath){throw new Error("No basePath supplied")}const supportedProfilesList=await fetchProfilesList(basePath);let match;xrInputSource.profiles.some(profileId=&gt;{const supportedProfile=supportedProfilesList[profileId];if(supportedProfile){match={profileId,profilePath:`${basePath}/${supportedProfile.path}`,deprecated:!!supportedProfile.deprecated}}return!!match});if(!match){if(!defaultProfile){throw new Error("No matching profile name found")}const supportedProfile=supportedProfilesList[defaultProfile];if(!supportedProfile){throw new Error(`No matching profile name found and default profile "${defaultProfile}" missing.`)}match={profileId:defaultProfile,profilePath:`${basePath}/${supportedProfile.path}`,deprecated:!!supportedProfile.deprecated}}const profile=await fetchJsonFile(match.profilePath);let assetPath;if(getAssetPath){let layout;if(xrInputSource.handedness==="any"){layout=profile.layouts[Object.keys(profile.layouts)[0]]}else{layout=profile.layouts[xrInputSource.handedness]}if(!layout){throw new Error(`No matching handedness, ${xrInputSource.handedness}, in profile ${match.profileId}`)}if(layout.assetPath){assetPath=match.profilePath.replace("profile.json",layout.assetPath)}}return{profile,assetPath}}const defaultComponentValues={xAxis:0,yAxis:0,button:0,state:Constants.ComponentState.DEFAULT};function normalizeAxes(x=0,y=0){let xAxis=x;let yAxis=y;const hypotenuse=Math.sqrt(x*x+y*y);if(hypotenuse&gt;1){const theta=Math.atan2(y,x);xAxis=Math.cos(theta);yAxis=Math.sin(theta)}const result={normalizedXAxis:xAxis*0.5+0.5,normalizedYAxis:yAxis*0.5+0.5};return result}class VisualResponse{constructor(visualResponseDescription){this.componentProperty=visualResponseDescription.componentProperty;this.states=visualResponseDescription.states;this.valueNodeName=visualResponseDescription.valueNodeName;this.valueNodeProperty=visualResponseDescription.valueNodeProperty;if(this.valueNodeProperty===Constants.VisualResponseProperty.TRANSFORM){this.minNodeName=visualResponseDescription.minNodeName;this.maxNodeName=visualResponseDescription.maxNodeName}this.value=0;this.updateFromComponent(defaultComponentValues)}updateFromComponent({xAxis,yAxis,button,state}){const{normalizedXAxis,normalizedYAxis}=normalizeAxes(xAxis,yAxis);switch(this.componentProperty){case Constants.ComponentProperty.X_AXIS:this.value=this.states.includes(state)?normalizedXAxis:0.5;break;case Constants.ComponentProperty.Y_AXIS:this.value=this.states.includes(state)?normalizedYAxis:0.5;break;case Constants.ComponentProperty.BUTTON:this.value=this.states.includes(state)?button:0;break;case Constants.ComponentProperty.STATE:if(this.valueNodeProperty===Constants.VisualResponseProperty.VISIBILITY){this.value=this.states.includes(state)}else{this.value=this.states.includes(state)?1:0}break;default:throw new Error(`Unexpected visualResponse componentProperty ${this.componentProperty}`);}}}class Component{constructor(componentId,componentDescription){if(!componentId||!componentDescription||!componentDescription.visualResponses||!componentDescription.gamepadIndices||Object.keys(componentDescription.gamepadIndices).length===0){throw new Error("Invalid arguments supplied")}this.id=componentId;this.type=componentDescription.type;this.rootNodeName=componentDescription.rootNodeName;this.touchPointNodeName=componentDescription.touchPointNodeName;this.visualResponses={};Object.keys(componentDescription.visualResponses).forEach(responseName=&gt;{const visualResponse=new VisualResponse(componentDescription.visualResponses[responseName]);this.visualResponses[responseName]=visualResponse});this.gamepadIndices=Object.assign({},componentDescription.gamepadIndices);this.values={state:Constants.ComponentState.DEFAULT,button:this.gamepadIndices.button!==undefined?0:undefined,xAxis:this.gamepadIndices.xAxis!==undefined?0:undefined,yAxis:this.gamepadIndices.yAxis!==undefined?0:undefined}}get data(){const data={id:this.id,...this.values};return data}updateFromGamepad(gamepad){this.values.state=Constants.ComponentState.DEFAULT;if(this.gamepadIndices.button!==undefined&amp;&amp;gamepad.buttons.length&gt;this.gamepadIndices.button){const gamepadButton=gamepad.buttons[this.gamepadIndices.button];this.values.button=gamepadButton.value;this.values.button=this.values.button&lt;0?0:this.values.button;this.values.button=this.values.button&gt;1?1:this.values.button;if(gamepadButton.pressed||this.values.button===1){this.values.state=Constants.ComponentState.PRESSED}else if(gamepadButton.touched||this.values.button&gt;Constants.ButtonTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}if(this.gamepadIndices.xAxis!==undefined&amp;&amp;gamepad.axes.length&gt;this.gamepadIndices.xAxis){this.values.xAxis=gamepad.axes[this.gamepadIndices.xAxis];this.values.xAxis=this.values.xAxis&lt;-1?-1:this.values.xAxis;this.values.xAxis=this.values.xAxis&gt;1?1:this.values.xAxis;if(this.values.state===Constants.ComponentState.DEFAULT&amp;&amp;Math.abs(this.values.xAxis)&gt;Constants.AxisTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}if(this.gamepadIndices.yAxis!==undefined&amp;&amp;gamepad.axes.length&gt;this.gamepadIndices.yAxis){this.values.yAxis=gamepad.axes[this.gamepadIndices.yAxis];this.values.yAxis=this.values.yAxis&lt;-1?-1:this.values.yAxis;this.values.yAxis=this.values.yAxis&gt;1?1:this.values.yAxis;if(this.values.state===Constants.ComponentState.DEFAULT&amp;&amp;Math.abs(this.values.yAxis)&gt;Constants.AxisTouchThreshold){this.values.state=Constants.ComponentState.TOUCHED}}Object.values(this.visualResponses).forEach(visualResponse=&gt;{visualResponse.updateFromComponent(this.values)})}}class MotionController{constructor(xrInputSource,profile,assetUrl){if(!xrInputSource){throw new Error("No xrInputSource supplied")}if(!profile){throw new Error("No profile supplied")}this.xrInputSource=xrInputSource;this.assetUrl=assetUrl;this.id=profile.profileId;this.layoutDescription=profile.layouts[xrInputSource.handedness];this.components={};Object.keys(this.layoutDescription.components).forEach(componentId=&gt;{const componentDescription=this.layoutDescription.components[componentId];this.components[componentId]=new Component(componentId,componentDescription)});this.updateFromGamepad()}get gripSpace(){return this.xrInputSource.gripSpace}get targetRaySpace(){return this.xrInputSource.targetRaySpace}get data(){const data=[];Object.values(this.components).forEach(component=&gt;{data.push(component.data)});return data}updateFromGamepad(){Object.values(this.components).forEach(component=&gt;{component.updateFromGamepad(this.xrInputSource.gamepad)})}}THREE.MontionControllers={};THREE.MontionControllers.Constants=Constants;THREE.MontionControllers.MotionController=MotionController;THREE.MontionControllers.fetchProfile=fetchProfile;THREE.MontionControllers.fetchProfilesList=fetchProfilesList})();(function(){var Mesh=THREE.Mesh,MeshBasicMaterial=THREE.MeshBasicMaterial,Object3D=THREE.Object3D,SphereGeometry=THREE.SphereGeometry;var GLTFLoader=THREE.GLTFLoader;var MotionControllerConstants=THREE.MontionControllers.Constants,fetchProfile=THREE.MontionControllers.fetchProfile,MotionController=THREE.MontionControllers.MotionController;const DEFAULT_PROFILES_PATH="https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0/dist/profiles";const DEFAULT_PROFILE="generic-trigger";class XRControllerModel extends Object3D{constructor(){super();this.motionController=null;this.envMap=null}setEnvironmentMap(envMap){if(this.envMap==envMap){return this}this.envMap=envMap;this.traverse(child=&gt;{if(child.isMesh){child.material.envMap=this.envMap;child.material.needsUpdate=true}});return this}updateMatrixWorld(force){super.updateMatrixWorld(force);if(!this.motionController)return;this.motionController.updateFromGamepad();Object.values(this.motionController.components).forEach(component=&gt;{Object.values(component.visualResponses).forEach(visualResponse=&gt;{const{valueNode,minNode,maxNode,value,valueNodeProperty}=visualResponse;if(!valueNode)return;if(valueNodeProperty===MotionControllerConstants.VisualResponseProperty.VISIBILITY){valueNode.visible=value}else if(valueNodeProperty===MotionControllerConstants.VisualResponseProperty.TRANSFORM){valueNode.quaternion.slerpQuaternions(minNode.quaternion,maxNode.quaternion,value);valueNode.position.lerpVectors(minNode.position,maxNode.position,value)}})})}}function findNodes(motionController,scene){Object.values(motionController.components).forEach(component=&gt;{const{type,touchPointNodeName,visualResponses}=component;if(type===MotionControllerConstants.ComponentType.TOUCHPAD){component.touchPointNode=scene.getObjectByName(touchPointNodeName);if(component.touchPointNode){const sphereGeometry=new SphereGeometry(0.001);const material=new MeshBasicMaterial({color:255});const sphere=new Mesh(sphereGeometry,material);component.touchPointNode.add(sphere)}else{console.warn(`Could not find touch dot, ${component.touchPointNodeName}, in touchpad component ${component.id}`)}}Object.values(visualResponses).forEach(visualResponse=&gt;{const{valueNodeName,minNodeName,maxNodeName,valueNodeProperty}=visualResponse;if(valueNodeProperty===MotionControllerConstants.VisualResponseProperty.TRANSFORM){visualResponse.minNode=scene.getObjectByName(minNodeName);visualResponse.maxNode=scene.getObjectByName(maxNodeName);if(!visualResponse.minNode){console.warn(`Could not find ${minNodeName} in the model`);return}if(!visualResponse.maxNode){console.warn(`Could not find ${maxNodeName} in the model`);return}}visualResponse.valueNode=scene.getObjectByName(valueNodeName);if(!visualResponse.valueNode){console.warn(`Could not find ${valueNodeName} in the model`)}})})}function addAssetSceneToControllerModel(controllerModel,scene){findNodes(controllerModel.motionController,scene);if(controllerModel.envMap){scene.traverse(child=&gt;{if(child.isMesh){child.material.envMap=controllerModel.envMap;child.material.needsUpdate=true}})}controllerModel.add(scene)}class XRControllerModelFactory{constructor(gltfLoader=null){this.gltfLoader=gltfLoader;this.path=DEFAULT_PROFILES_PATH;this._assetCache={};if(!this.gltfLoader){this.gltfLoader=new GLTFLoader}this}createControllerModel(controller,profiles=null){const controllerModel=new XRControllerModel;let scene=null;controller.addEventListener("connected",event=&gt;{const xrInputSource=event.data;const profileInfo={profiles:profiles&amp;&amp;profiles(xrInputSource)||xrInputSource.profiles,handedness:xrInputSource.handedness};if(xrInputSource.targetRayMode!=="tracked-pointer"||!xrInputSource.gamepad)return;fetchProfile(profileInfo,this.path,DEFAULT_PROFILE).then(({profile,assetPath})=&gt;{controllerModel.motionController=new MotionController(xrInputSource,profile,assetPath);const cachedAsset=this._assetCache[controllerModel.motionController.assetUrl];if(cachedAsset){scene=cachedAsset.scene.clone();addAssetSceneToControllerModel(controllerModel,scene);setTimeout(function(){controllerModel.dispatchEvent({type:"loaded"})},0)}else{if(!this.gltfLoader){throw new Error("GLTFLoader not set.")}this.gltfLoader.setPath("");this.gltfLoader.load(controllerModel.motionController.assetUrl,asset=&gt;{this._assetCache[controllerModel.motionController.assetUrl]=asset;scene=asset.scene.clone();addAssetSceneToControllerModel(controllerModel,scene);controllerModel.dispatchEvent({type:"loaded"})},null,()=&gt;{throw new Error(`Asset ${controllerModel.motionController.assetUrl} missing or malformed.`)})}}).catch(err=&gt;{console.warn(err)})});controller.addEventListener("disconnected",()=&gt;{controllerModel.motionController=null;controllerModel.remove(scene);scene=null});return controllerModel}}THREE.XRControllerModelFactory=XRControllerModelFactory})();(function(){const DepthLimitedBlurShader={defines:{"KERNEL_RADIUS":4,"DEPTH_PACKING":1,"PERSPECTIVE_CAMERA":1},uniforms:{"tDiffuse":{value:null},"size":{value:new THREE.Vector2(512,512)},"sampleUvOffsets":{value:[new THREE.Vector2(0,0)]},"sampleWeights":{value:[1]},"tDepth":{value:null},"cameraNear":{value:10},"cameraFar":{value:1000},"depthCutoff":{value:10}},vertexShader:`

		#include &lt;common&gt;

		uniform vec2 size;

		varying vec2 vUv;
		varying vec2 vInvSize;

		void main() {
			vUv = uv;
			vInvSize = 1.0 / size;

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
		}`,fragmentShader:`

		#include &lt;common&gt;
		#include &lt;packing&gt;

		uniform sampler2D tDiffuse;
		uniform sampler2D tDepth;

		uniform float cameraNear;
		uniform float cameraFar;
		uniform float depthCutoff;

		uniform vec2 sampleUvOffsets[ KERNEL_RADIUS + 1 ];
		uniform float sampleWeights[ KERNEL_RADIUS + 1 ];

		varying vec2 vUv;
		varying vec2 vInvSize;

		float getDepth( const in vec2 screenPosition ) {
			#if DEPTH_PACKING == 1
			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
			#else
			return texture2D( tDepth, screenPosition ).x;
			#endif
		}

		float getViewZ( const in float depth ) {
			#if PERSPECTIVE_CAMERA == 1
			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
			#else
			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
			#endif
		}

		void main() {
			float depth = getDepth( vUv );
			if( depth &gt;= ( 1.0 - EPSILON ) ) {
				discard;
			}

			float centerViewZ = -getViewZ( depth );
			bool rBreak = false, lBreak = false;

			float weightSum = sampleWeights[0];
			vec4 diffuseSum = texture2D( tDiffuse, vUv ) * weightSum;

			for( int i = 1; i &lt;= KERNEL_RADIUS; i ++ ) {

				float sampleWeight = sampleWeights[i];
				vec2 sampleUvOffset = sampleUvOffsets[i] * vInvSize;

				vec2 sampleUv = vUv + sampleUvOffset;
				float viewZ = -getViewZ( getDepth( sampleUv ) );

				if( abs( viewZ - centerViewZ ) &gt; depthCutoff ) rBreak = true;

				if( ! rBreak ) {
					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
					weightSum += sampleWeight;
				}

				sampleUv = vUv - sampleUvOffset;
				viewZ = -getViewZ( getDepth( sampleUv ) );

				if( abs( viewZ - centerViewZ ) &gt; depthCutoff ) lBreak = true;

				if( ! lBreak ) {
					diffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;
					weightSum += sampleWeight;
				}

			}

			gl_FragColor = diffuseSum / weightSum;
		}`};const BlurShaderUtils={createSampleWeights:function(kernelRadius,stdDev){const weights=[];for(let i=0;i&lt;=kernelRadius;i++){weights.push(gaussian(i,stdDev))}return weights},createSampleOffsets:function(kernelRadius,uvIncrement){const offsets=[];for(let i=0;i&lt;=kernelRadius;i++){offsets.push(uvIncrement.clone().multiplyScalar(i))}return offsets},configure:function(material,kernelRadius,stdDev,uvIncrement){material.defines["KERNEL_RADIUS"]=kernelRadius;material.uniforms["sampleUvOffsets"].value=BlurShaderUtils.createSampleOffsets(kernelRadius,uvIncrement);material.uniforms["sampleWeights"].value=BlurShaderUtils.createSampleWeights(kernelRadius,stdDev);material.needsUpdate=true}};function gaussian(x,stdDev){return Math.exp(-(x*x)/(2*(stdDev*stdDev)))/(Math.sqrt(2*Math.PI)*stdDev)}THREE.BlurShaderUtils=BlurShaderUtils;THREE.DepthLimitedBlurShader=DepthLimitedBlurShader})();(function(){class EffectComposer{constructor(renderer,renderTarget){this.renderer=renderer;if(renderTarget===undefined){const size=renderer.getSize(new THREE.Vector2);this._pixelRatio=renderer.getPixelRatio();this._width=size.width;this._height=size.height;renderTarget=new THREE.WebGLRenderTarget(this._width*this._pixelRatio,this._height*this._pixelRatio);renderTarget.texture.name="EffectComposer.rt1"}else{this._pixelRatio=1;this._width=renderTarget.width;this._height=renderTarget.height}this.renderTarget1=renderTarget;this.renderTarget2=renderTarget.clone();this.renderTarget2.texture.name="EffectComposer.rt2";this.writeBuffer=this.renderTarget1;this.readBuffer=this.renderTarget2;this.renderToScreen=true;this.passes=[];if(THREE.CopyShader===undefined){console.error("THREE.EffectComposer relies on THREE.CopyShader")}if(THREE.ShaderPass===undefined){console.error("THREE.EffectComposer relies on THREE.ShaderPass")}this.copyPass=new THREE.ShaderPass(THREE.CopyShader);this.clock=new THREE.Clock}swapBuffers(){const tmp=this.readBuffer;this.readBuffer=this.writeBuffer;this.writeBuffer=tmp}addPass(pass){this.passes.push(pass);pass.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}insertPass(pass,index){this.passes.splice(index,0,pass);pass.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}removePass(pass){const index=this.passes.indexOf(pass);if(index!==-1){this.passes.splice(index,1)}}isLastEnabledPass(passIndex){for(let i=passIndex+1;i&lt;this.passes.length;i++){if(this.passes[i].enabled){return false}}return true}render(deltaTime){if(deltaTime===undefined){deltaTime=this.clock.getDelta()}const currentRenderTarget=this.renderer.getRenderTarget();let maskActive=false;for(let i=0,il=this.passes.length;i&lt;il;i++){const pass=this.passes[i];if(pass.enabled===false)continue;pass.renderToScreen=this.renderToScreen&amp;&amp;this.isLastEnabledPass(i);pass.render(this.renderer,this.writeBuffer,this.readBuffer,deltaTime,maskActive);if(pass.needsSwap){if(maskActive){const context=this.renderer.getContext();const stencil=this.renderer.state.buffers.stencil;stencil.setFunc(context.NOTEQUAL,1,4294967295);this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,deltaTime);stencil.setFunc(context.EQUAL,1,4294967295)}this.swapBuffers()}if(THREE.MaskPass!==undefined){if(pass instanceof THREE.MaskPass){maskActive=true}else if(pass instanceof THREE.ClearMaskPass){maskActive=false}}}this.renderer.setRenderTarget(currentRenderTarget)}reset(renderTarget){if(renderTarget===undefined){const size=this.renderer.getSize(new THREE.Vector2);this._pixelRatio=this.renderer.getPixelRatio();this._width=size.width;this._height=size.height;renderTarget=this.renderTarget1.clone();renderTarget.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}this.renderTarget1.dispose();this.renderTarget2.dispose();this.renderTarget1=renderTarget;this.renderTarget2=renderTarget.clone();this.writeBuffer=this.renderTarget1;this.readBuffer=this.renderTarget2}setSize(width,height){this._width=width;this._height=height;const effectiveWidth=this._width*this._pixelRatio;const effectiveHeight=this._height*this._pixelRatio;this.renderTarget1.setSize(effectiveWidth,effectiveHeight);this.renderTarget2.setSize(effectiveWidth,effectiveHeight);for(let i=0;i&lt;this.passes.length;i++){this.passes[i].setSize(effectiveWidth,effectiveHeight)}}setPixelRatio(pixelRatio){this._pixelRatio=pixelRatio;this.setSize(this._width,this._height)}}class Pass{constructor(){this.enabled=true;this.needsSwap=true;this.clear=false;this.renderToScreen=false}setSize(){}render(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}}const _camera=new THREE.OrthographicCamera(-1,1,1,-1,0,1);const _geometry=new THREE.BufferGeometry;_geometry.setAttribute("position",new THREE.Float32BufferAttribute([-1,3,0,-1,-1,0,3,-1,0],3));_geometry.setAttribute("uv",new THREE.Float32BufferAttribute([0,2,0,0,2,0],2));class FullScreenQuad{constructor(material){this._mesh=new THREE.Mesh(_geometry,material)}dispose(){this._mesh.geometry.dispose()}render(renderer){renderer.render(this._mesh,_camera)}get material(){return this._mesh.material}set material(value){this._mesh.material=value}}THREE.EffectComposer=EffectComposer;THREE.FullScreenQuad=FullScreenQuad;THREE.Pass=Pass})();(function(){const BlendShader={uniforms:{"tDiffuse1":{value:null},"tDiffuse2":{value:null},"mixRatio":{value:0.5},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;
		uniform float mixRatio;

		uniform sampler2D tDiffuse1;
		uniform sampler2D tDiffuse2;

		varying vec2 vUv;

		void main() {

			vec4 texel1 = texture2D( tDiffuse1, vUv );
			vec4 texel2 = texture2D( tDiffuse2, vUv );
			gl_FragColor = mix( texel1, texel2, mixRatio );
			gl_FragColor.a *= opacity;

		}`};THREE.BlendShader=BlendShader})();(function(){const CopyShader={uniforms:{"tDiffuse":{value:null},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		void main() {

			gl_FragColor = texture2D( tDiffuse, vUv );
			gl_FragColor.a *= opacity;


		}`};THREE.CopyShader=CopyShader})();(function(){const FXAAShader={uniforms:{"tDiffuse":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`
	precision highp float;

	uniform sampler2D tDiffuse;

	uniform vec2 resolution;

	varying vec2 vUv;

	// FXAA 3.11 implementation by NVIDIA, ported to WebGL by Agost Biro (biro@archilogic.com)

	//----------------------------------------------------------------------------------
	// File:        es3-kepler\FXAA\assets\shaders/FXAA_DefaultES.frag
	// SDK Version: v3.00
	// Email:       gameworks@nvidia.com
	// Site:        http://developer.nvidia.com/
	//
	// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
	//
	// Redistribution and use in source and binary forms, with or without
	// modification, are permitted provided that the following conditions
	// are met:
	//  * Redistributions of source code must retain the above copyright
	//    notice, this list of conditions and the following disclaimer.
	//  * Redistributions in binary form must reproduce the above copyright
	//    notice, this list of conditions and the following disclaimer in the
	//    documentation and/or other materials provided with the distribution.
	//  * Neither the name of NVIDIA CORPORATION nor the names of its
	//    contributors may be used to endorse or promote products derived
	//    from this software without specific prior written permission.
	//
	// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY
	// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
	// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
	// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
	// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
	// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
	// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
	// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
	// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
	// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
	// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
	//
	//----------------------------------------------------------------------------------

	#ifndef FXAA_DISCARD
			//
			// Only valid for PC OpenGL currently.
			// Probably will not work when FXAA_GREEN_AS_LUMA = 1.
			//
			// 1 = Use discard on pixels which don't need AA.
			//     For APIs which enable concurrent TEX+ROP from same surface.
			// 0 = Return unchanged color on pixels which don't need AA.
			//
			#define FXAA_DISCARD 0
	#endif

	/*--------------------------------------------------------------------------*/
	#define FxaaTexTop(t, p) texture2D(t, p, -100.0)
	#define FxaaTexOff(t, p, o, r) texture2D(t, p + (o * r), -100.0)
	/*--------------------------------------------------------------------------*/

	#define NUM_SAMPLES 5

	// assumes colors have premultipliedAlpha, so that the calculated color contrast is scaled by alpha
	float contrast( vec4 a, vec4 b ) {
			vec4 diff = abs( a - b );
			return max( max( max( diff.r, diff.g ), diff.b ), diff.a );
	}

	/*============================================================================

									FXAA3 QUALITY - PC

	============================================================================*/

	/*--------------------------------------------------------------------------*/
	vec4 FxaaPixelShader(
			vec2 posM,
			sampler2D tex,
			vec2 fxaaQualityRcpFrame,
			float fxaaQualityEdgeThreshold,
			float fxaaQualityinvEdgeThreshold
	) {
			vec4 rgbaM = FxaaTexTop(tex, posM);
			vec4 rgbaS = FxaaTexOff(tex, posM, vec2( 0.0, 1.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaE = FxaaTexOff(tex, posM, vec2( 1.0, 0.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaN = FxaaTexOff(tex, posM, vec2( 0.0,-1.0), fxaaQualityRcpFrame.xy);
			vec4 rgbaW = FxaaTexOff(tex, posM, vec2(-1.0, 0.0), fxaaQualityRcpFrame.xy);
			// . S .
			// W M E
			// . N .

			bool earlyExit = max( max( max(
					contrast( rgbaM, rgbaN ),
					contrast( rgbaM, rgbaS ) ),
					contrast( rgbaM, rgbaE ) ),
					contrast( rgbaM, rgbaW ) )
					&lt; fxaaQualityEdgeThreshold;
			// . 0 .
			// 0 0 0
			// . 0 .

			#if (FXAA_DISCARD == 1)
					if(earlyExit) FxaaDiscard;
			#else
					if(earlyExit) return rgbaM;
			#endif

			float contrastN = contrast( rgbaM, rgbaN );
			float contrastS = contrast( rgbaM, rgbaS );
			float contrastE = contrast( rgbaM, rgbaE );
			float contrastW = contrast( rgbaM, rgbaW );

			float relativeVContrast = ( contrastN + contrastS ) - ( contrastE + contrastW );
			relativeVContrast *= fxaaQualityinvEdgeThreshold;

			bool horzSpan = relativeVContrast &gt; 0.;
			// . 1 .
			// 0 0 0
			// . 1 .

			// 45 deg edge detection and corners of objects, aka V/H contrast is too similar
			if( abs( relativeVContrast ) &lt; .3 ) {
					// locate the edge
					vec2 dirToEdge;
					dirToEdge.x = contrastE &gt; contrastW ? 1. : -1.;
					dirToEdge.y = contrastS &gt; contrastN ? 1. : -1.;
					// . 2 .      . 1 .
					// 1 0 2  ~=  0 0 1
					// . 1 .      . 0 .

					// tap 2 pixels and see which ones are "outside" the edge, to
					// determine if the edge is vertical or horizontal

					vec4 rgbaAlongH = FxaaTexOff(tex, posM, vec2( dirToEdge.x, -dirToEdge.y ), fxaaQualityRcpFrame.xy);
					float matchAlongH = contrast( rgbaM, rgbaAlongH );
					// . 1 .
					// 0 0 1
					// . 0 H

					vec4 rgbaAlongV = FxaaTexOff(tex, posM, vec2( -dirToEdge.x, dirToEdge.y ), fxaaQualityRcpFrame.xy);
					float matchAlongV = contrast( rgbaM, rgbaAlongV );
					// V 1 .
					// 0 0 1
					// . 0 .

					relativeVContrast = matchAlongV - matchAlongH;
					relativeVContrast *= fxaaQualityinvEdgeThreshold;

					if( abs( relativeVContrast ) &lt; .3 ) { // 45 deg edge
							// 1 1 .
							// 0 0 1
							// . 0 1

							// do a simple blur
							return mix(
									rgbaM,
									(rgbaN + rgbaS + rgbaE + rgbaW) * .25,
									.4
							);
					}

					horzSpan = relativeVContrast &gt; 0.;
			}

			if(!horzSpan) rgbaN = rgbaW;
			if(!horzSpan) rgbaS = rgbaE;
			// . 0 .      1
			// 1 0 1  -&gt;  0
			// . 0 .      1

			bool pairN = contrast( rgbaM, rgbaN ) &gt; contrast( rgbaM, rgbaS );
			if(!pairN) rgbaN = rgbaS;

			vec2 offNP;
			offNP.x = (!horzSpan) ? 0.0 : fxaaQualityRcpFrame.x;
			offNP.y = ( horzSpan) ? 0.0 : fxaaQualityRcpFrame.y;

			bool doneN = false;
			bool doneP = false;

			float nDist = 0.;
			float pDist = 0.;

			vec2 posN = posM;
			vec2 posP = posM;

			int iterationsUsed = 0;
			int iterationsUsedN = 0;
			int iterationsUsedP = 0;
			for( int i = 0; i &lt; NUM_SAMPLES; i++ ) {
					iterationsUsed = i;

					float increment = float(i + 1);

					if(!doneN) {
							nDist += increment;
							posN = posM + offNP * nDist;
							vec4 rgbaEndN = FxaaTexTop(tex, posN.xy);
							doneN = contrast( rgbaEndN, rgbaM ) &gt; contrast( rgbaEndN, rgbaN );
							iterationsUsedN = i;
					}

					if(!doneP) {
							pDist += increment;
							posP = posM - offNP * pDist;
							vec4 rgbaEndP = FxaaTexTop(tex, posP.xy);
							doneP = contrast( rgbaEndP, rgbaM ) &gt; contrast( rgbaEndP, rgbaN );
							iterationsUsedP = i;
					}

					if(doneN || doneP) break;
			}


			if ( !doneP &amp;&amp; !doneN ) return rgbaM; // failed to find end of edge

			float dist = min(
					doneN ? float( iterationsUsedN ) / float( NUM_SAMPLES - 1 ) : 1.,
					doneP ? float( iterationsUsedP ) / float( NUM_SAMPLES - 1 ) : 1.
			);

			// hacky way of reduces blurriness of mostly diagonal edges
			// but reduces AA quality
			dist = pow(dist, .5);

			dist = 1. - dist;

			return mix(
					rgbaM,
					rgbaN,
					dist * .5
			);
	}

	void main() {
			const float edgeDetectionQuality = .2;
			const float invEdgeDetectionQuality = 1. / edgeDetectionQuality;

			gl_FragColor = FxaaPixelShader(
					vUv,
					tDiffuse,
					resolution,
					edgeDetectionQuality, // [0,1] contrast needed, otherwise early discard
					invEdgeDetectionQuality
			);

	}
	`};THREE.FXAAShader=FXAAShader})();(function(){const GammaCorrectionShader={uniforms:{"tDiffuse":{value:null}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		void main() {

			vec4 tex = texture2D( tDiffuse, vUv );

			gl_FragColor = LinearTosRGB( tex );

		}`};THREE.GammaCorrectionShader=GammaCorrectionShader})();(function(require){class CustomRenderPass extends THREE.Pass{constructor(renderCallback){super();this.renderCallback=renderCallback;this.scene=null;this.camera=null;this.clear=true;this.clearDepth=false;this.needsSwap=false}render(renderer,writeBuffer,readBuffer,delta,maskActive){var oldAutoClear=renderer.autoClear;renderer.autoClear=false;this.renderCallback(renderer,this.scene,this.camera,this.renderToScreen?null:readBuffer,this.clear);renderer.autoClear=oldAutoClear}}THREE.CustomRenderPass=CustomRenderPass})();(function(){class MaskPass extends THREE.Pass{constructor(scene,camera){super();this.scene=scene;this.camera=camera;this.clear=true;this.needsSwap=false;this.inverse=false}render(renderer,writeBuffer,readBuffer){const context=renderer.getContext();const state=renderer.state;state.buffers.color.setMask(false);state.buffers.depth.setMask(false);state.buffers.color.setLocked(true);state.buffers.depth.setLocked(true);let writeValue,clearValue;if(this.inverse){writeValue=0;clearValue=1}else{writeValue=1;clearValue=0}state.buffers.stencil.setTest(true);state.buffers.stencil.setOp(context.REPLACE,context.REPLACE,context.REPLACE);state.buffers.stencil.setFunc(context.ALWAYS,writeValue,4294967295);state.buffers.stencil.setClear(clearValue);state.buffers.stencil.setLocked(true);renderer.setRenderTarget(readBuffer);if(this.clear)renderer.clear();renderer.render(this.scene,this.camera);renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear();renderer.render(this.scene,this.camera);state.buffers.color.setLocked(false);state.buffers.depth.setLocked(false);state.buffers.stencil.setLocked(false);state.buffers.stencil.setFunc(context.EQUAL,1,4294967295);state.buffers.stencil.setOp(context.KEEP,context.KEEP,context.KEEP);state.buffers.stencil.setLocked(true)}}class ClearMaskPass extends THREE.Pass{constructor(){super();this.needsSwap=false}render(renderer){renderer.state.buffers.stencil.setLocked(false);renderer.state.buffers.stencil.setTest(false)}}THREE.ClearMaskPass=ClearMaskPass;THREE.MaskPass=MaskPass})();(function(){var vertexShader=["varying vec2 vUv;","void main() {","    gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","    vUv = uv;","}"].join("\n");var fragmentShader=["varying vec2 vUv;","uniform sampler2D tDepth;","uniform sampler2D tColor;","uniform mat4 inverseProjectionMatrix;","uniform float near;","uniform float far;","uniform float depthLimit;","uniform mat4 clipToWorldMatrix;","uniform mat4 previousWorldToClipMatrix;","uniform vec3 cameraMove;    ","uniform float velocityFactor;","uniform float delta;","void main() {","    float zOverW = texture2D(tDepth, vUv).x;","    vec4 clipPosition = vec4(vUv.x * 2. - 1., vUv.y * 2. - 1., zOverW * 2. - 1., 1.);","    vec4 cameraSpacePosition = inverseProjectionMatrix * clipPosition;","    cameraSpacePosition /= cameraSpacePosition.w;","    float depth = -(cameraSpacePosition.z - near) / (far - near);","    if (depth &gt; depthLimit)","    {","       gl_FragColor = texture2D(tColor, vUv);","       return;","    }","    vec4 worldPosition = clipToWorldMatrix * clipPosition;","    worldPosition /= worldPosition.w;","    vec4 previousClipPosition = worldPosition;","    previousClipPosition.xyz -= cameraMove * (","        1. - smoothstep(.3, 1., clamp(length(clipPosition.xy), 0., 1.))","    );","    previousClipPosition = previousWorldToClipMatrix * previousClipPosition;","    previousClipPosition /= previousClipPosition.w;","    vec2 velocity = velocityFactor * (clipPosition - previousClipPosition).xy / delta * 16.67;","    vec4 finalColor = vec4(0.);","    vec2 offset = vec2(0.);","    float weight = 0.;","    for(int i = 0; i &lt; SAMPLE_COUNT; i++) {","            offset = velocity * (float(i) / (float(SAMPLE_COUNT) - 1.) - .5);","            vec4 c = texture2D(tColor, vUv + offset);","        finalColor += c;","    }","    finalColor /= float(SAMPLE_COUNT);","    gl_FragColor = vec4(finalColor.rgb, 1.);","}"].join("\n");var uniforms={"tDepth":{type:"t",value:null},"tColor":{type:"t",value:null},"velocityFactor":{type:"f",value:1},"delta":{type:"f",value:16.67},"inverseProjectionMatrix":{type:"m4",value:new THREE.Matrix4},"clipToWorldMatrix":{type:"m4",value:new THREE.Matrix4},"previousWorldToClipMatrix":{type:"m4",value:new THREE.Matrix4},"cameraMove":{type:"v3",value:new THREE.Vector3},"near":{type:"f",value:1},"far":{type:"f",value:1000},"depthLimit":{type:"f",value:0.99}};class MotionBlurPass extends THREE.Pass{constructor(sampleCount){super();this._sampleCount=sampleCount;this.uniforms=THREE.UniformsUtils.clone(uniforms);this.material=new THREE.ShaderMaterial({defines:{},uniforms:this.uniforms,vertexShader:vertexShader,fragmentShader:"#define SAMPLE_COUNT "+sampleCount+"\n"+fragmentShader});this.fsQuad=new THREE.FullScreenQuad(this.material)}getSampleCount(){return this._sampleCount}render(renderer,writeBuffer,readBuffer,deltaTime,maskActive){this.uniforms["tColor"].value=readBuffer.texture;this.uniforms["tDepth"].value=readBuffer.depthTexture;this.fsQuad.material=this.material;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);this.fsQuad.render(renderer)}}dispose(){this.fsQuad.dispose();this.material.dispose()}};THREE.MotionBlurPass=MotionBlurPass})();(function(){class RenderPass extends THREE.Pass{constructor(scene,camera,overrideMaterial,clearColor,clearAlpha){super();this.scene=scene;this.camera=camera;this.overrideMaterial=overrideMaterial;this.clearColor=clearColor;this.clearAlpha=clearAlpha!==undefined?clearAlpha:0;this.clear=true;this.clearDepth=false;this.needsSwap=false;this._oldClearColor=new THREE.Color}render(renderer,writeBuffer,readBuffer){const oldAutoClear=renderer.autoClear;renderer.autoClear=false;let oldClearAlpha,oldOverrideMaterial;if(this.overrideMaterial!==undefined){oldOverrideMaterial=this.scene.overrideMaterial;this.scene.overrideMaterial=this.overrideMaterial}if(this.clearColor){renderer.getClearColor(this._oldClearColor);oldClearAlpha=renderer.getClearAlpha();renderer.setClearColor(this.clearColor,this.clearAlpha)}if(this.clearDepth){renderer.clearDepth()}renderer.setRenderTarget(this.renderToScreen?null:readBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);renderer.render(this.scene,this.camera);if(this.clearColor){renderer.setClearColor(this._oldClearColor,oldClearAlpha)}if(this.overrideMaterial!==undefined){this.scene.overrideMaterial=oldOverrideMaterial}renderer.autoClear=oldAutoClear}}THREE.RenderPass=RenderPass})();(function(){class SAOPass extends THREE.Pass{constructor(scene,camera,useDepthTexture=false,useNormals=false,resolution=new THREE.Vector2(256,256)){super();this.scene=scene;this.camera=camera;this.clear=true;this.needsSwap=false;this.supportsDepthTextureExtension=useDepthTexture;this.supportsNormalTexture=useNormals;this.originalClearColor=new THREE.Color;this._oldClearColor=new THREE.Color;this.oldClearAlpha=1;this.params={output:0,saoBias:0.5,saoIntensity:0.18,saoScale:1,saoKernelRadius:100,saoMinResolution:0,saoBlur:true,saoBlurRadius:8,saoBlurStdDev:4,saoBlurDepthCutoff:0.01};this.resolution=new THREE.Vector2(resolution.x,resolution.y);this.saoRenderTarget=new THREE.WebGLRenderTarget(this.resolution.x,this.resolution.y);this.blurIntermediateRenderTarget=this.saoRenderTarget.clone();this.beautyRenderTarget=this.saoRenderTarget.clone();this.normalRenderTarget=new THREE.WebGLRenderTarget(this.resolution.x,this.resolution.y,{minFilter:THREE.NearestFilter,magFilter:THREE.NearestFilter});this.depthRenderTarget=this.normalRenderTarget.clone();let depthTexture;if(this.supportsDepthTextureExtension){depthTexture=new THREE.DepthTexture;depthTexture.type=THREE.UnsignedShortType;this.beautyRenderTarget.depthTexture=depthTexture;this.beautyRenderTarget.depthBuffer=true}this.depthMaterial=new THREE.MeshDepthMaterial;this.depthMaterial.depthPacking=THREE.RGBADepthPacking;this.depthMaterial.blending=THREE.NoBlending;this.normalMaterial=new THREE.MeshNormalMaterial;this.normalMaterial.blending=THREE.NoBlending;if(THREE.SAOShader===undefined){console.error("THREE.SAOPass relies on THREE.SAOShader")}this.saoMaterial=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SAOShader.defines),fragmentShader:THREE.SAOShader.fragmentShader,vertexShader:THREE.SAOShader.vertexShader,uniforms:THREE.UniformsUtils.clone(THREE.SAOShader.uniforms)});this.saoMaterial.extensions.derivatives=true;this.saoMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.saoMaterial.defines["NORMAL_TEXTURE"]=this.supportsNormalTexture?1:0;this.saoMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.saoMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.saoMaterial.uniforms["tNormal"].value=this.normalRenderTarget.texture;this.saoMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.saoMaterial.uniforms["cameraInverseProjectionMatrix"].value.copy(this.camera.projectionMatrixInverse);this.saoMaterial.uniforms["cameraProjectionMatrix"].value=this.camera.projectionMatrix;this.saoMaterial.blending=THREE.NoBlending;if(THREE.DepthLimitedBlurShader===undefined){console.error("THREE.SAOPass relies on THREE.DepthLimitedBlurShader")}this.vBlurMaterial=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.DepthLimitedBlurShader.uniforms),defines:Object.assign({},THREE.DepthLimitedBlurShader.defines),vertexShader:THREE.DepthLimitedBlurShader.vertexShader,fragmentShader:THREE.DepthLimitedBlurShader.fragmentShader});this.vBlurMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.vBlurMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.vBlurMaterial.uniforms["tDiffuse"].value=this.saoRenderTarget.texture;this.vBlurMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.vBlurMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.vBlurMaterial.blending=THREE.NoBlending;this.hBlurMaterial=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.DepthLimitedBlurShader.uniforms),defines:Object.assign({},THREE.DepthLimitedBlurShader.defines),vertexShader:THREE.DepthLimitedBlurShader.vertexShader,fragmentShader:THREE.DepthLimitedBlurShader.fragmentShader});this.hBlurMaterial.defines["DEPTH_PACKING"]=this.supportsDepthTextureExtension?0:1;this.hBlurMaterial.defines["PERSPECTIVE_CAMERA"]=this.camera.isPerspectiveCamera?1:0;this.hBlurMaterial.uniforms["tDiffuse"].value=this.blurIntermediateRenderTarget.texture;this.hBlurMaterial.uniforms["tDepth"].value=this.supportsDepthTextureExtension?depthTexture:this.depthRenderTarget.texture;this.hBlurMaterial.uniforms["size"].value.set(this.resolution.x,this.resolution.y);this.hBlurMaterial.blending=THREE.NoBlending;if(THREE.CopyShader===undefined){console.error("THREE.SAOPass relies on THREE.CopyShader")}this.materialCopy=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.CopyShader.uniforms),vertexShader:THREE.CopyShader.vertexShader,fragmentShader:THREE.CopyShader.fragmentShader,blending:THREE.NoBlending});this.materialCopy.transparent=true;this.materialCopy.depthTest=false;this.materialCopy.depthWrite=false;this.materialCopy.blending=THREE.CustomBlending;this.materialCopy.blendSrc=THREE.DstColorFactor;this.materialCopy.blendDst=THREE.ZeroFactor;this.materialCopy.blendEquation=THREE.AddEquation;this.materialCopy.blendSrcAlpha=THREE.DstAlphaFactor;this.materialCopy.blendDstAlpha=THREE.ZeroFactor;this.materialCopy.blendEquationAlpha=THREE.AddEquation;if(THREE.UnpackDepthRGBAShader===undefined){console.error("THREE.SAOPass relies on THREE.UnpackDepthRGBAShader")}this.depthCopy=new THREE.ShaderMaterial({uniforms:THREE.UniformsUtils.clone(THREE.UnpackDepthRGBAShader.uniforms),vertexShader:THREE.UnpackDepthRGBAShader.vertexShader,fragmentShader:THREE.UnpackDepthRGBAShader.fragmentShader,blending:THREE.NoBlending});this.fsQuad=new THREE.FullScreenQuad(null)}render(renderer,writeBuffer,readBuffer){if(this.renderToScreen){this.materialCopy.blending=THREE.NoBlending;this.materialCopy.uniforms["tDiffuse"].value=readBuffer.texture;this.materialCopy.needsUpdate=true;this.renderPass(renderer,this.materialCopy,null)}if(this.params.output===1){return}renderer.getClearColor(this._oldClearColor);this.oldClearAlpha=renderer.getClearAlpha();const oldAutoClear=renderer.autoClear;renderer.autoClear=false;renderer.setRenderTarget(this.depthRenderTarget);renderer.clear();this.saoMaterial.uniforms["bias"].value=this.params.saoBias;this.saoMaterial.uniforms["intensity"].value=this.params.saoIntensity;this.saoMaterial.uniforms["scale"].value=this.params.saoScale;this.saoMaterial.uniforms["kernelRadius"].value=this.params.saoKernelRadius;this.saoMaterial.uniforms["minResolution"].value=this.params.saoMinResolution;this.saoMaterial.uniforms["cameraNear"].value=this.camera.near;this.saoMaterial.uniforms["cameraFar"].value=this.camera.far;const depthCutoff=this.params.saoBlurDepthCutoff*(this.camera.far-this.camera.near);this.vBlurMaterial.uniforms["depthCutoff"].value=depthCutoff;this.hBlurMaterial.uniforms["depthCutoff"].value=depthCutoff;this.vBlurMaterial.uniforms["cameraNear"].value=this.camera.near;this.vBlurMaterial.uniforms["cameraFar"].value=this.camera.far;this.hBlurMaterial.uniforms["cameraNear"].value=this.camera.near;this.hBlurMaterial.uniforms["cameraFar"].value=this.camera.far;this.params.saoBlurRadius=Math.floor(this.params.saoBlurRadius);if(this.prevStdDev!==this.params.saoBlurStdDev||this.prevNumSamples!==this.params.saoBlurRadius){THREE.BlurShaderUtils.configure(this.vBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new THREE.Vector2(0,1));THREE.BlurShaderUtils.configure(this.hBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new THREE.Vector2(1,0));this.prevStdDev=this.params.saoBlurStdDev;this.prevNumSamples=this.params.saoBlurRadius}renderer.setClearColor(0);renderer.setRenderTarget(this.beautyRenderTarget);renderer.clear();renderer.render(this.scene,this.camera);if(!this.supportsDepthTextureExtension){this.renderOverride(renderer,this.depthMaterial,this.depthRenderTarget,0,1)}if(this.supportsNormalTexture){this.renderOverride(renderer,this.normalMaterial,this.normalRenderTarget,7829503,1)}this.renderPass(renderer,this.saoMaterial,this.saoRenderTarget,16777215,1);if(this.params.saoBlur){this.renderPass(renderer,this.vBlurMaterial,this.blurIntermediateRenderTarget,16777215,1);this.renderPass(renderer,this.hBlurMaterial,this.saoRenderTarget,16777215,1)}let outputMaterial=this.materialCopy;if(this.params.output===3){if(this.supportsDepthTextureExtension){this.materialCopy.uniforms["tDiffuse"].value=this.beautyRenderTarget.depthTexture;this.materialCopy.needsUpdate=true}else{this.depthCopy.uniforms["tDiffuse"].value=this.depthRenderTarget.texture;this.depthCopy.needsUpdate=true;outputMaterial=this.depthCopy}}else if(this.params.output===4){this.materialCopy.uniforms["tDiffuse"].value=this.normalRenderTarget.texture;this.materialCopy.needsUpdate=true}else{this.materialCopy.uniforms["tDiffuse"].value=this.saoRenderTarget.texture;this.materialCopy.needsUpdate=true}if(this.params.output===0){outputMaterial.blending=THREE.CustomBlending}else{outputMaterial.blending=THREE.NoBlending}this.renderPass(renderer,outputMaterial,this.renderToScreen?null:readBuffer);renderer.setClearColor(this._oldClearColor,this.oldClearAlpha);renderer.autoClear=oldAutoClear}renderPass(renderer,passMaterial,renderTarget,clearColor,clearAlpha){renderer.getClearColor(this.originalClearColor);const originalClearAlpha=renderer.getClearAlpha();const originalAutoClear=renderer.autoClear;renderer.setRenderTarget(renderTarget);renderer.autoClear=false;if(clearColor!==undefined&amp;&amp;clearColor!==null){renderer.setClearColor(clearColor);renderer.setClearAlpha(clearAlpha||0);renderer.clear()}this.fsQuad.material=passMaterial;this.fsQuad.render(renderer);renderer.autoClear=originalAutoClear;renderer.setClearColor(this.originalClearColor);renderer.setClearAlpha(originalClearAlpha)}renderOverride(renderer,overrideMaterial,renderTarget,clearColor,clearAlpha){renderer.getClearColor(this.originalClearColor);const originalClearAlpha=renderer.getClearAlpha();const originalAutoClear=renderer.autoClear;renderer.setRenderTarget(renderTarget);renderer.autoClear=false;clearColor=overrideMaterial.clearColor||clearColor;clearAlpha=overrideMaterial.clearAlpha||clearAlpha;if(clearColor!==undefined&amp;&amp;clearColor!==null){renderer.setClearColor(clearColor);renderer.setClearAlpha(clearAlpha||0);renderer.clear()}this.scene.overrideMaterial=overrideMaterial;renderer.render(this.scene,this.camera);this.scene.overrideMaterial=null;renderer.autoClear=originalAutoClear;renderer.setClearColor(this.originalClearColor);renderer.setClearAlpha(originalClearAlpha)}setSize(width,height){this.beautyRenderTarget.setSize(width,height);this.saoRenderTarget.setSize(width,height);this.blurIntermediateRenderTarget.setSize(width,height);this.normalRenderTarget.setSize(width,height);this.depthRenderTarget.setSize(width,height);this.saoMaterial.uniforms["size"].value.set(width,height);this.saoMaterial.uniforms["cameraInverseProjectionMatrix"].value.copy(this.camera.projectionMatrixInverse);this.saoMaterial.uniforms["cameraProjectionMatrix"].value=this.camera.projectionMatrix;this.saoMaterial.needsUpdate=true;this.vBlurMaterial.uniforms["size"].value.set(width,height);this.vBlurMaterial.needsUpdate=true;this.hBlurMaterial.uniforms["size"].value.set(width,height);this.hBlurMaterial.needsUpdate=true}}SAOPass.OUTPUT={"Beauty":1,"Default":0,"SAO":2,"Depth":3,"Normal":4};THREE.SAOPass=SAOPass})();(function(){const SAOShader={defines:{"NUM_SAMPLES":7,"NUM_RINGS":4,"NORMAL_TEXTURE":0,"DIFFUSE_TEXTURE":0,"DEPTH_PACKING":1,"PERSPECTIVE_CAMERA":1},uniforms:{"tDepth":{value:null},"tDiffuse":{value:null},"tNormal":{value:null},"size":{value:new THREE.Vector2(512,512)},"cameraNear":{value:1},"cameraFar":{value:100},"cameraProjectionMatrix":{value:new THREE.Matrix4},"cameraInverseProjectionMatrix":{value:new THREE.Matrix4},"scale":{value:1},"intensity":{value:0.1},"bias":{value:0.5},"minResolution":{value:0},"kernelRadius":{value:100},"randomSeed":{value:0}},vertexShader:`

		varying vec2 vUv;

		void main() {
			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
		}`,fragmentShader:`

		#include &lt;common&gt;

		varying vec2 vUv;

		#if DIFFUSE_TEXTURE == 1
		uniform sampler2D tDiffuse;
		#endif

		uniform sampler2D tDepth;

		#if NORMAL_TEXTURE == 1
		uniform sampler2D tNormal;
		#endif

		uniform float cameraNear;
		uniform float cameraFar;
		uniform mat4 cameraProjectionMatrix;
		uniform mat4 cameraInverseProjectionMatrix;

		uniform float scale;
		uniform float intensity;
		uniform float bias;
		uniform float kernelRadius;
		uniform float minResolution;
		uniform vec2 size;
		uniform float randomSeed;

		// RGBA depth

		#include &lt;packing&gt;

		vec4 getDefaultColor( const in vec2 screenPosition ) {
			#if DIFFUSE_TEXTURE == 1
			return texture2D( tDiffuse, vUv );
			#else
			return vec4( 1.0 );
			#endif
		}

		float getDepth( const in vec2 screenPosition ) {
			#if DEPTH_PACKING == 1
			return unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );
			#else
			return texture2D( tDepth, screenPosition ).x;
			#endif
		}

		float getViewZ( const in float depth ) {
			#if PERSPECTIVE_CAMERA == 1
			return perspectiveDepthToViewZ( depth, cameraNear, cameraFar );
			#else
			return orthographicDepthToViewZ( depth, cameraNear, cameraFar );
			#endif
		}

		vec3 getViewPosition( const in vec2 screenPosition, const in float depth, const in float viewZ ) {
			float clipW = cameraProjectionMatrix[2][3] * viewZ + cameraProjectionMatrix[3][3];
			vec4 clipPosition = vec4( ( vec3( screenPosition, depth ) - 0.5 ) * 2.0, 1.0 );
			clipPosition *= clipW; // unprojection.

			return ( cameraInverseProjectionMatrix * clipPosition ).xyz;
		}

		vec3 getViewNormal( const in vec3 viewPosition, const in vec2 screenPosition ) {
			#if NORMAL_TEXTURE == 1
			return unpackRGBToNormal( texture2D( tNormal, screenPosition ).xyz );
			#else
			return normalize( cross( dFdx( viewPosition ), dFdy( viewPosition ) ) );
			#endif
		}

		float scaleDividedByCameraFar;
		float minResolutionMultipliedByCameraFar;

		float getOcclusion( const in vec3 centerViewPosition, const in vec3 centerViewNormal, const in vec3 sampleViewPosition ) {
			vec3 viewDelta = sampleViewPosition - centerViewPosition;
			float viewDistance = length( viewDelta );
			float scaledScreenDistance = scaleDividedByCameraFar * viewDistance;

			return max(0.0, (dot(centerViewNormal, viewDelta) - minResolutionMultipliedByCameraFar) / scaledScreenDistance - bias) / (1.0 + pow2( scaledScreenDistance ) );
		}

		// moving costly divides into consts
		const float ANGLE_STEP = PI2 * float( NUM_RINGS ) / float( NUM_SAMPLES );
		const float INV_NUM_SAMPLES = 1.0 / float( NUM_SAMPLES );

		float getAmbientOcclusion( const in vec3 centerViewPosition ) {
			// precompute some variables require in getOcclusion.
			scaleDividedByCameraFar = scale / cameraFar;
			minResolutionMultipliedByCameraFar = minResolution * cameraFar;
			vec3 centerViewNormal = getViewNormal( centerViewPosition, vUv );

			// jsfiddle that shows sample pattern: https://jsfiddle.net/a16ff1p7/
			float angle = rand( vUv + randomSeed ) * PI2;
			vec2 radius = vec2( kernelRadius * INV_NUM_SAMPLES ) / size;
			vec2 radiusStep = radius;

			float occlusionSum = 0.0;
			float weightSum = 0.0;

			for( int i = 0; i &lt; NUM_SAMPLES; i ++ ) {
				vec2 sampleUv = vUv + vec2( cos( angle ), sin( angle ) ) * radius;
				radius += radiusStep;
				angle += ANGLE_STEP;

				float sampleDepth = getDepth( sampleUv );
				if( sampleDepth &gt;= ( 1.0 - EPSILON ) ) {
					continue;
				}

				float sampleViewZ = getViewZ( sampleDepth );
				vec3 sampleViewPosition = getViewPosition( sampleUv, sampleDepth, sampleViewZ );
				occlusionSum += getOcclusion( centerViewPosition, centerViewNormal, sampleViewPosition );
				weightSum += 1.0;
			}

			if( weightSum == 0.0 ) discard;

			return occlusionSum * ( intensity / weightSum );
		}

		void main() {
			float centerDepth = getDepth( vUv );
			if( centerDepth &gt;= ( 1.0 - EPSILON ) ) {
				discard;
			}

			float centerViewZ = getViewZ( centerDepth );
			vec3 viewPosition = getViewPosition( vUv, centerDepth, centerViewZ );

			float ambientOcclusion = getAmbientOcclusion( viewPosition );

			gl_FragColor = getDefaultColor( vUv );
			gl_FragColor.xyz *=  1.0 - ambientOcclusion;
		}`};THREE.SAOShader=SAOShader})();(function(){class SavePass extends THREE.Pass{constructor(renderTarget){super();if(THREE.CopyShader===undefined)console.error("THREE.SavePass relies on THREE.CopyShader");const shader=THREE.CopyShader;this.textureID="tDiffuse";this.uniforms=THREE.UniformsUtils.clone(shader.uniforms);this.material=new THREE.ShaderMaterial({uniforms:this.uniforms,vertexShader:shader.vertexShader,fragmentShader:shader.fragmentShader});this.renderTarget=renderTarget;if(this.renderTarget===undefined){this.renderTarget=new THREE.WebGLRenderTarget(window.innerWidth,window.innerHeight);this.renderTarget.texture.name="SavePass.rt"}this.needsSwap=false;this.fsQuad=new THREE.FullScreenQuad(this.material)}render(renderer,writeBuffer,readBuffer){if(this.uniforms[this.textureID]){this.uniforms[this.textureID].value=readBuffer.texture}renderer.setRenderTarget(this.renderTarget);if(this.clear)renderer.clear();this.fsQuad.render(renderer)}}THREE.SavePass=SavePass})();(function(){class ShaderPass extends THREE.Pass{constructor(shader,textureID){super();this.textureID=textureID!==undefined?textureID:"tDiffuse";if(shader instanceof THREE.ShaderMaterial){this.uniforms=shader.uniforms;this.material=shader}else if(shader){this.uniforms=THREE.UniformsUtils.clone(shader.uniforms);this.material=new THREE.ShaderMaterial({defines:Object.assign({},shader.defines),uniforms:this.uniforms,vertexShader:shader.vertexShader,fragmentShader:shader.fragmentShader})}this.fsQuad=new THREE.FullScreenQuad(this.material)}render(renderer,writeBuffer,readBuffer){if(this.uniforms[this.textureID]){this.uniforms[this.textureID].value=readBuffer.texture}this.fsQuad.material=this.material;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear(renderer.autoClearColor,renderer.autoClearDepth,renderer.autoClearStencil);this.fsQuad.render(renderer)}}}THREE.ShaderPass=ShaderPass})();(function(){class SMAAPass extends THREE.Pass{constructor(width,height){super();this.edgesRT=new THREE.WebGLRenderTarget(width,height,{depthBuffer:false});this.edgesRT.texture.name="SMAAPass.edges";this.weightsRT=new THREE.WebGLRenderTarget(width,height,{depthBuffer:false});this.weightsRT.texture.name="SMAAPass.weights";const scope=this;const areaTextureImage=new Image;areaTextureImage.src=this.getAreaTexture();areaTextureImage.onload=function(){scope.areaTexture.needsUpdate=true};this.areaTexture=new THREE.Texture;this.areaTexture.name="SMAAPass.area";this.areaTexture.image=areaTextureImage;this.areaTexture.minFilter=THREE.LinearFilter;this.areaTexture.generateMipmaps=false;this.areaTexture.flipY=false;const searchTextureImage=new Image;searchTextureImage.src=this.getSearchTexture();searchTextureImage.onload=function(){scope.searchTexture.needsUpdate=true};this.searchTexture=new THREE.Texture;this.searchTexture.name="SMAAPass.search";this.searchTexture.image=searchTextureImage;this.searchTexture.magFilter=THREE.NearestFilter;this.searchTexture.minFilter=THREE.NearestFilter;this.searchTexture.generateMipmaps=false;this.searchTexture.flipY=false;if(THREE.SMAAEdgesShader===undefined){console.error("THREE.SMAAPass relies on SMAAShader")}this.uniformsEdges=THREE.UniformsUtils.clone(THREE.SMAAEdgesShader.uniforms);this.uniformsEdges["resolution"].value.set(1/width,1/height);this.materialEdges=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SMAAEdgesShader.defines),uniforms:this.uniformsEdges,vertexShader:THREE.SMAAEdgesShader.vertexShader,fragmentShader:THREE.SMAAEdgesShader.fragmentShader});this.uniformsWeights=THREE.UniformsUtils.clone(THREE.SMAAWeightsShader.uniforms);this.uniformsWeights["resolution"].value.set(1/width,1/height);this.uniformsWeights["tDiffuse"].value=this.edgesRT.texture;this.uniformsWeights["tArea"].value=this.areaTexture;this.uniformsWeights["tSearch"].value=this.searchTexture;this.materialWeights=new THREE.ShaderMaterial({defines:Object.assign({},THREE.SMAAWeightsShader.defines),uniforms:this.uniformsWeights,vertexShader:THREE.SMAAWeightsShader.vertexShader,fragmentShader:THREE.SMAAWeightsShader.fragmentShader});this.uniformsBlend=THREE.UniformsUtils.clone(THREE.SMAABlendShader.uniforms);this.uniformsBlend["resolution"].value.set(1/width,1/height);this.uniformsBlend["tDiffuse"].value=this.weightsRT.texture;this.materialBlend=new THREE.ShaderMaterial({uniforms:this.uniformsBlend,vertexShader:THREE.SMAABlendShader.vertexShader,fragmentShader:THREE.SMAABlendShader.fragmentShader});this.needsSwap=false;this.fsQuad=new THREE.FullScreenQuad(null)}render(renderer,writeBuffer,readBuffer){this.uniformsEdges["tDiffuse"].value=readBuffer.texture;this.fsQuad.material=this.materialEdges;renderer.setRenderTarget(this.edgesRT);if(this.clear)renderer.clear();this.fsQuad.render(renderer);this.fsQuad.material=this.materialWeights;renderer.setRenderTarget(this.weightsRT);if(this.clear)renderer.clear();this.fsQuad.render(renderer);this.uniformsBlend["tColor"].value=readBuffer.texture;this.fsQuad.material=this.materialBlend;if(this.renderToScreen){renderer.setRenderTarget(null);this.fsQuad.render(renderer)}else{renderer.setRenderTarget(writeBuffer);if(this.clear)renderer.clear();this.fsQuad.render(renderer)}}setSize(width,height){this.edgesRT.setSize(width,height);this.weightsRT.setSize(width,height);this.materialEdges.uniforms["resolution"].value.set(1/width,1/height);this.materialWeights.uniforms["resolution"].value.set(1/width,1/height);this.materialBlend.uniforms["resolution"].value.set(1/width,1/height)}getAreaTexture(){return"data:image/png;base64,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"}getSearchTexture(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAhCAAAAABIXyLAAAAAOElEQVRIx2NgGAWjYBSMglEwEICREYRgFBZBqDCSLA2MGPUIVQETE9iNUAqLR5gIeoQKRgwXjwAAGn4AtaFeYLEAAAAASUVORK5CYII="}}THREE.SMAAPass=SMAAPass})();(function(){const SMAAEdgesShader={defines:{"SMAA_THRESHOLD":"0.1"},uniforms:{"tDiffuse":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];

		void SMAAEdgeDetectionVS( vec2 texcoord ) {
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0,  1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4(  1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 2 ] = texcoord.xyxy + resolution.xyxy * vec4( -2.0, 0.0, 0.0,  2.0 ); // WebGL port note: Changed sign in W component
		}

		void main() {

			vUv = uv;

			SMAAEdgeDetectionVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];

		vec4 SMAAColorEdgeDetectionPS( vec2 texcoord, vec4 offset[3], sampler2D colorTex ) {
			vec2 threshold = vec2( SMAA_THRESHOLD, SMAA_THRESHOLD );

			// Calculate color deltas:
			vec4 delta;
			vec3 C = texture2D( colorTex, texcoord ).rgb;

			vec3 Cleft = texture2D( colorTex, offset[0].xy ).rgb;
			vec3 t = abs( C - Cleft );
			delta.x = max( max( t.r, t.g ), t.b );

			vec3 Ctop = texture2D( colorTex, offset[0].zw ).rgb;
			t = abs( C - Ctop );
			delta.y = max( max( t.r, t.g ), t.b );

			// We do the usual threshold:
			vec2 edges = step( threshold, delta.xy );

			// Then discard if there is no edge:
			if ( dot( edges, vec2( 1.0, 1.0 ) ) == 0.0 )
				discard;

			// Calculate right and bottom deltas:
			vec3 Cright = texture2D( colorTex, offset[1].xy ).rgb;
			t = abs( C - Cright );
			delta.z = max( max( t.r, t.g ), t.b );

			vec3 Cbottom  = texture2D( colorTex, offset[1].zw ).rgb;
			t = abs( C - Cbottom );
			delta.w = max( max( t.r, t.g ), t.b );

			// Calculate the maximum delta in the direct neighborhood:
			float maxDelta = max( max( max( delta.x, delta.y ), delta.z ), delta.w );

			// Calculate left-left and top-top deltas:
			vec3 Cleftleft  = texture2D( colorTex, offset[2].xy ).rgb;
			t = abs( C - Cleftleft );
			delta.z = max( max( t.r, t.g ), t.b );

			vec3 Ctoptop = texture2D( colorTex, offset[2].zw ).rgb;
			t = abs( C - Ctoptop );
			delta.w = max( max( t.r, t.g ), t.b );

			// Calculate the final maximum delta:
			maxDelta = max( max( maxDelta, delta.z ), delta.w );

			// Local contrast adaptation in action:
			edges.xy *= step( 0.5 * maxDelta, delta.xy );

			return vec4( edges, 0.0, 0.0 );
		}

		void main() {

			gl_FragColor = SMAAColorEdgeDetectionPS( vUv, vOffset, tDiffuse );

		}`};const SMAAWeightsShader={defines:{"SMAA_MAX_SEARCH_STEPS":"8","SMAA_AREATEX_MAX_DISTANCE":"16","SMAA_AREATEX_PIXEL_SIZE":"( 1.0 / vec2( 160.0, 560.0 ) )","SMAA_AREATEX_SUBTEX_SIZE":"( 1.0 / 7.0 )"},uniforms:{"tDiffuse":{value:null},"tArea":{value:null},"tSearch":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 3 ];
		varying vec2 vPixcoord;

		void SMAABlendingWeightCalculationVS( vec2 texcoord ) {
			vPixcoord = texcoord / resolution;

			// We will use these offsets for the searches later on (see @PSEUDO_GATHER4):
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.25, 0.125, 1.25, 0.125 ); // WebGL port note: Changed sign in Y and W components
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.125, 0.25, -0.125, -1.25 ); // WebGL port note: Changed sign in Y and W components

			// And these for the searches, they indicate the ends of the loops:
			vOffset[ 2 ] = vec4( vOffset[ 0 ].xz, vOffset[ 1 ].yw ) + vec4( -2.0, 2.0, -2.0, 2.0 ) * resolution.xxyy * float( SMAA_MAX_SEARCH_STEPS );

		}

		void main() {

			vUv = uv;

			SMAABlendingWeightCalculationVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		#define SMAASampleLevelZeroOffset( tex, coord, offset ) texture2D( tex, coord + float( offset ) * resolution, 0.0 )

		uniform sampler2D tDiffuse;
		uniform sampler2D tArea;
		uniform sampler2D tSearch;
		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[3];
		varying vec2 vPixcoord;

		#if __VERSION__ == 100
		vec2 round( vec2 x ) {
			return sign( x ) * floor( abs( x ) + 0.5 );
		}
		#endif

		float SMAASearchLength( sampler2D searchTex, vec2 e, float bias, float scale ) {
			// Not required if searchTex accesses are set to point:
			// float2 SEARCH_TEX_PIXEL_SIZE = 1.0 / float2(66.0, 33.0);
			// e = float2(bias, 0.0) + 0.5 * SEARCH_TEX_PIXEL_SIZE +
			//     e * float2(scale, 1.0) * float2(64.0, 32.0) * SEARCH_TEX_PIXEL_SIZE;
			e.r = bias + e.r * scale;
			return 255.0 * texture2D( searchTex, e, 0.0 ).r;
		}

		float SMAASearchXLeft( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			/**
				* @PSEUDO_GATHER4
				* This texcoord has been offset by (-0.25, -0.125) in the vertex shader to
				* sample between edge, thus fetching four edges in a row.
				* Sampling with different offsets in each direction allows to disambiguate
				* which edges are active from the four fetched ones.
				*/
			vec2 e = vec2( 0.0, 1.0 );

			for ( int i = 0; i &lt; SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord -= vec2( 2.0, 0.0 ) * resolution;
				if ( ! ( texcoord.x &gt; end &amp;&amp; e.g &gt; 0.8281 &amp;&amp; e.r == 0.0 ) ) break;
			}

			// We correct the previous (-0.25, -0.125) offset we applied:
			texcoord.x += 0.25 * resolution.x;

			// The searches are bias by 1, so adjust the coords accordingly:
			texcoord.x += resolution.x;

			// Disambiguate the length added by the last step:
			texcoord.x += 2.0 * resolution.x; // Undo last step
			texcoord.x -= resolution.x * SMAASearchLength(searchTex, e, 0.0, 0.5);

			return texcoord.x;
		}

		float SMAASearchXRight( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 0.0, 1.0 );

			for ( int i = 0; i &lt; SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord += vec2( 2.0, 0.0 ) * resolution;
				if ( ! ( texcoord.x &lt; end &amp;&amp; e.g &gt; 0.8281 &amp;&amp; e.r == 0.0 ) ) break;
			}

			texcoord.x -= 0.25 * resolution.x;
			texcoord.x -= resolution.x;
			texcoord.x -= 2.0 * resolution.x;
			texcoord.x += resolution.x * SMAASearchLength( searchTex, e, 0.5, 0.5 );

			return texcoord.x;
		}

		float SMAASearchYUp( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 1.0, 0.0 );

			for ( int i = 0; i &lt; SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord += vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
				if ( ! ( texcoord.y &gt; end &amp;&amp; e.r &gt; 0.8281 &amp;&amp; e.g == 0.0 ) ) break;
			}

			texcoord.y -= 0.25 * resolution.y; // WebGL port note: Changed sign
			texcoord.y -= resolution.y; // WebGL port note: Changed sign
			texcoord.y -= 2.0 * resolution.y; // WebGL port note: Changed sign
			texcoord.y += resolution.y * SMAASearchLength( searchTex, e.gr, 0.0, 0.5 ); // WebGL port note: Changed sign

			return texcoord.y;
		}

		float SMAASearchYDown( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {
			vec2 e = vec2( 1.0, 0.0 );

			for ( int i = 0; i &lt; SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for
				e = texture2D( edgesTex, texcoord, 0.0 ).rg;
				texcoord -= vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign
				if ( ! ( texcoord.y &lt; end &amp;&amp; e.r &gt; 0.8281 &amp;&amp; e.g == 0.0 ) ) break;
			}

			texcoord.y += 0.25 * resolution.y; // WebGL port note: Changed sign
			texcoord.y += resolution.y; // WebGL port note: Changed sign
			texcoord.y += 2.0 * resolution.y; // WebGL port note: Changed sign
			texcoord.y -= resolution.y * SMAASearchLength( searchTex, e.gr, 0.5, 0.5 ); // WebGL port note: Changed sign

			return texcoord.y;
		}

		vec2 SMAAArea( sampler2D areaTex, vec2 dist, float e1, float e2, float offset ) {
			// Rounding prevents precision errors of bilinear filtering:
			vec2 texcoord = float( SMAA_AREATEX_MAX_DISTANCE ) * round( 4.0 * vec2( e1, e2 ) ) + dist;

			// We do a scale and bias for mapping to texel space:
			texcoord = SMAA_AREATEX_PIXEL_SIZE * texcoord + ( 0.5 * SMAA_AREATEX_PIXEL_SIZE );

			// Move to proper place, according to the subpixel offset:
			texcoord.y += SMAA_AREATEX_SUBTEX_SIZE * offset;

			return texture2D( areaTex, texcoord, 0.0 ).rg;
		}

		vec4 SMAABlendingWeightCalculationPS( vec2 texcoord, vec2 pixcoord, vec4 offset[ 3 ], sampler2D edgesTex, sampler2D areaTex, sampler2D searchTex, ivec4 subsampleIndices ) {
			vec4 weights = vec4( 0.0, 0.0, 0.0, 0.0 );

			vec2 e = texture2D( edgesTex, texcoord ).rg;

			if ( e.g &gt; 0.0 ) { // Edge at north
				vec2 d;

				// Find the distance to the left:
				vec2 coords;
				coords.x = SMAASearchXLeft( edgesTex, searchTex, offset[ 0 ].xy, offset[ 2 ].x );
				coords.y = offset[ 1 ].y; // offset[1].y = texcoord.y - 0.25 * resolution.y (@CROSSING_OFFSET)
				d.x = coords.x;

				// Now fetch the left crossing edges, two at a time using bilinear
				// filtering. Sampling at -0.25 (see @CROSSING_OFFSET) enables to
				// discern what value each edge has:
				float e1 = texture2D( edgesTex, coords, 0.0 ).r;

				// Find the distance to the right:
				coords.x = SMAASearchXRight( edgesTex, searchTex, offset[ 0 ].zw, offset[ 2 ].y );
				d.y = coords.x;

				// We want the distances to be in pixel units (doing this here allow to
				// better interleave arithmetic and memory accesses):
				d = d / resolution.x - pixcoord.x;

				// SMAAArea below needs a sqrt, as the areas texture is compressed
				// quadratically:
				vec2 sqrt_d = sqrt( abs( d ) );

				// Fetch the right crossing edges:
				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 1, 0 ) ).r;

				// Ok, we know how this pattern looks like, now it is time for getting
				// the actual area:
				weights.rg = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.y ) );
			}

			if ( e.r &gt; 0.0 ) { // Edge at west
				vec2 d;

				// Find the distance to the top:
				vec2 coords;

				coords.y = SMAASearchYUp( edgesTex, searchTex, offset[ 1 ].xy, offset[ 2 ].z );
				coords.x = offset[ 0 ].x; // offset[1].x = texcoord.x - 0.25 * resolution.x;
				d.x = coords.y;

				// Fetch the top crossing edges:
				float e1 = texture2D( edgesTex, coords, 0.0 ).g;

				// Find the distance to the bottom:
				coords.y = SMAASearchYDown( edgesTex, searchTex, offset[ 1 ].zw, offset[ 2 ].w );
				d.y = coords.y;

				// We want the distances to be in pixel units:
				d = d / resolution.y - pixcoord.y;

				// SMAAArea below needs a sqrt, as the areas texture is compressed
				// quadratically:
				vec2 sqrt_d = sqrt( abs( d ) );

				// Fetch the bottom crossing edges:
				coords.y -= 1.0 * resolution.y; // WebGL port note: Added
				float e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 0, 1 ) ).g;

				// Get the area for this direction:
				weights.ba = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.x ) );
			}

			return weights;
		}

		void main() {

			gl_FragColor = SMAABlendingWeightCalculationPS( vUv, vPixcoord, vOffset, tDiffuse, tArea, tSearch, ivec4( 0.0 ) );

		}`};const SMAABlendShader={uniforms:{"tDiffuse":{value:null},"tColor":{value:null},"resolution":{value:new THREE.Vector2(1/1024,1/512)}},vertexShader:`

		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 2 ];

		void SMAANeighborhoodBlendingVS( vec2 texcoord ) {
			vOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0, 1.0 ); // WebGL port note: Changed sign in W component
			vOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( 1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component
		}

		void main() {

			vUv = uv;

			SMAANeighborhoodBlendingVS( vUv );

			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform sampler2D tDiffuse;
		uniform sampler2D tColor;
		uniform vec2 resolution;

		varying vec2 vUv;
		varying vec4 vOffset[ 2 ];

		vec4 SMAANeighborhoodBlendingPS( vec2 texcoord, vec4 offset[ 2 ], sampler2D colorTex, sampler2D blendTex ) {
			// Fetch the blending weights for current pixel:
			vec4 a;
			a.xz = texture2D( blendTex, texcoord ).xz;
			a.y = texture2D( blendTex, offset[ 1 ].zw ).g;
			a.w = texture2D( blendTex, offset[ 1 ].xy ).a;

			// Is there any blending weight with a value greater than 0.0?
			if ( dot(a, vec4( 1.0, 1.0, 1.0, 1.0 )) &lt; 1e-5 ) {
				return texture2D( colorTex, texcoord, 0.0 );
			} else {
				// Up to 4 lines can be crossing a pixel (one through each edge). We
				// favor blending by choosing the line with the maximum weight for each
				// direction:
				vec2 offset;
				offset.x = a.a &gt; a.b ? a.a : -a.b; // left vs. right
				offset.y = a.g &gt; a.r ? -a.g : a.r; // top vs. bottom // WebGL port note: Changed signs

				// Then we go in the direction that has the maximum weight:
				if ( abs( offset.x ) &gt; abs( offset.y )) { // horizontal vs. vertical
					offset.y = 0.0;
				} else {
					offset.x = 0.0;
				}

				// Fetch the opposite color and lerp by hand:
				vec4 C = texture2D( colorTex, texcoord, 0.0 );
				texcoord += sign( offset ) * resolution;
				vec4 Cop = texture2D( colorTex, texcoord, 0.0 );
				float s = abs( offset.x ) &gt; abs( offset.y ) ? abs( offset.x ) : abs( offset.y );

				// WebGL port note: Added gamma correction
				C.xyz = pow(C.xyz, vec3(2.2));
				Cop.xyz = pow(Cop.xyz, vec3(2.2));
				vec4 mixed = mix(C, Cop, s);
				mixed.xyz = pow(mixed.xyz, vec3(1.0 / 2.2));

				return mixed;
			}
		}

		void main() {

			gl_FragColor = SMAANeighborhoodBlendingPS( vUv, vOffset, tColor, tDiffuse );

		}`};THREE.SMAABlendShader=SMAABlendShader;THREE.SMAAEdgesShader=SMAAEdgesShader;THREE.SMAAWeightsShader=SMAAWeightsShader})();(function(){class SSAARenderPass extends THREE.Pass{constructor(scene,camera,clearColor,clearAlpha){super();this.scene=scene;this.camera=camera;this.sampleLevel=4;this.unbiased=true;this.clearColor=clearColor!==undefined?clearColor:0;this.clearAlpha=clearAlpha!==undefined?clearAlpha:0;this._oldClearColor=new THREE.Color;if(THREE.CopyShader===undefined)console.error("THREE.SSAARenderPass relies on THREE.CopyShader");const copyShader=THREE.CopyShader;this.copyUniforms=THREE.UniformsUtils.clone(copyShader.uniforms);this.copyMaterial=new THREE.ShaderMaterial({uniforms:this.copyUniforms,vertexShader:copyShader.vertexShader,fragmentShader:copyShader.fragmentShader,transparent:true,blending:THREE.AdditiveBlending,depthTest:false,depthWrite:false});this.fsQuad=new THREE.FullScreenQuad(this.copyMaterial)}dispose(){if(this.sampleRenderTarget){this.sampleRenderTarget.dispose();this.sampleRenderTarget=null}}setSize(width,height){if(this.sampleRenderTarget)this.sampleRenderTarget.setSize(width,height)}render(renderer,writeBuffer,readBuffer){if(!this.sampleRenderTarget){this.sampleRenderTarget=new THREE.WebGLRenderTarget(readBuffer.width,readBuffer.height);this.sampleRenderTarget.texture.name="SSAARenderPass.sample"}const jitterOffsets=_JitterVectors[Math.max(0,Math.min(this.sampleLevel,5))];const autoClear=renderer.autoClear;renderer.autoClear=false;renderer.getClearColor(this._oldClearColor);const oldClearAlpha=renderer.getClearAlpha();const baseSampleWeight=1/jitterOffsets.length;const roundingRange=1/32;this.copyUniforms["tDiffuse"].value=this.sampleRenderTarget.texture;const viewOffset={fullWidth:readBuffer.width,fullHeight:readBuffer.height,offsetX:0,offsetY:0,width:readBuffer.width,height:readBuffer.height};const originalViewOffset=Object.assign({},this.camera.view);if(originalViewOffset.enabled)Object.assign(viewOffset,originalViewOffset);for(let i=0;i&lt;jitterOffsets.length;i++){const jitterOffset=jitterOffsets[i];if(this.camera.setViewOffset){this.camera.setViewOffset(viewOffset.fullWidth,viewOffset.fullHeight,viewOffset.offsetX+jitterOffset[0]*0.0625,viewOffset.offsetY+jitterOffset[1]*0.0625,viewOffset.width,viewOffset.height)}let sampleWeight=baseSampleWeight;if(this.unbiased){const uniformCenteredDistribution=-0.5+(i+0.5)/jitterOffsets.length;sampleWeight+=roundingRange*uniformCenteredDistribution}this.copyUniforms["opacity"].value=sampleWeight;renderer.setClearColor(this.clearColor,this.clearAlpha);renderer.setRenderTarget(this.sampleRenderTarget);renderer.clear();renderer.render(this.scene,this.camera);renderer.setRenderTarget(this.renderToScreen?null:writeBuffer);if(i===0){renderer.setClearColor(0,0);renderer.clear()}this.fsQuad.render(renderer)}if(this.camera.setViewOffset&amp;&amp;originalViewOffset.enabled){this.camera.setViewOffset(originalViewOffset.fullWidth,originalViewOffset.fullHeight,originalViewOffset.offsetX,originalViewOffset.offsetY,originalViewOffset.width,originalViewOffset.height)}else if(this.camera.clearViewOffset){this.camera.clearViewOffset()}renderer.autoClear=autoClear;renderer.setClearColor(this._oldClearColor,oldClearAlpha)}}const _JitterVectors=[[[0,0]],[[4,4],[-4,-4]],[[-2,-6],[6,-2],[-6,2],[2,6]],[[1,-3],[-1,3],[5,1],[-3,-5],[-5,5],[-7,-1],[3,7],[7,-7]],[[1,1],[-1,-3],[-3,2],[4,-1],[-5,-2],[2,5],[5,3],[3,-5],[-2,6],[0,-7],[-4,-6],[-6,4],[-8,0],[7,-4],[6,7],[-7,-8]],[[-4,-7],[-7,-5],[-3,-5],[-5,-4],[-1,-4],[-2,-2],[-6,-1],[-4,0],[-7,1],[-1,2],[-6,3],[-3,3],[-7,6],[-3,6],[-5,7],[-1,7],[5,-7],[1,-6],[6,-5],[4,-4],[2,-3],[7,-2],[1,-1],[4,-1],[2,1],[6,2],[0,4],[4,4],[2,5],[7,5],[5,6],[3,7]]];THREE.SSAARenderPass=SSAARenderPass})();(function(){const UnpackDepthRGBAShader={uniforms:{"tDiffuse":{value:null},"opacity":{value:1}},vertexShader:`

		varying vec2 vUv;

		void main() {

			vUv = uv;
			gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );

		}`,fragmentShader:`

		uniform float opacity;

		uniform sampler2D tDiffuse;

		varying vec2 vUv;

		#include &lt;packing&gt;

		void main() {

			float depth = 1.0 - unpackRGBAToDepth( texture2D( tDiffuse, vUv ) );
			gl_FragColor = vec4( vec3( depth ), opacity );

		}`};THREE.UnpackDepthRGBAShader=UnpackDepthRGBAShader})();

})(); } catch (e) { console.log(e.message, e.stack); throw e; };</pre></body></html>